Home | History | Annotate | Line # | Download | only in dist
      1  1.1  riastrad #! /bin/sh
      2  1.1  riastrad # Guess values for system-dependent variables and create Makefiles.
      3  1.1  riastrad # Generated by GNU Autoconf 2.69 for libsodium 1.0.16.
      4  1.1  riastrad #
      5  1.1  riastrad # Report bugs to <https://github.com/jedisct1/libsodium/issues>.
      6  1.1  riastrad #
      7  1.1  riastrad #
      8  1.1  riastrad # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9  1.1  riastrad #
     10  1.1  riastrad #
     11  1.1  riastrad # This configure script is free software; the Free Software Foundation
     12  1.1  riastrad # gives unlimited permission to copy, distribute and modify it.
     13  1.1  riastrad ## -------------------- ##
     14  1.1  riastrad ## M4sh Initialization. ##
     15  1.1  riastrad ## -------------------- ##
     16  1.1  riastrad 
     17  1.1  riastrad # Be more Bourne compatible
     18  1.1  riastrad DUALCASE=1; export DUALCASE # for MKS sh
     19  1.1  riastrad if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20  1.1  riastrad   emulate sh
     21  1.1  riastrad   NULLCMD=:
     22  1.1  riastrad   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23  1.1  riastrad   # is contrary to our usage.  Disable this feature.
     24  1.1  riastrad   alias -g '${1+"$@"}'='"$@"'
     25  1.1  riastrad   setopt NO_GLOB_SUBST
     26  1.1  riastrad else
     27  1.1  riastrad   case `(set -o) 2>/dev/null` in #(
     28  1.1  riastrad   *posix*) :
     29  1.1  riastrad     set -o posix ;; #(
     30  1.1  riastrad   *) :
     31  1.1  riastrad      ;;
     32  1.1  riastrad esac
     33  1.1  riastrad fi
     34  1.1  riastrad 
     35  1.1  riastrad 
     36  1.1  riastrad as_nl='
     37  1.1  riastrad '
     38  1.1  riastrad export as_nl
     39  1.1  riastrad # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40  1.1  riastrad as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41  1.1  riastrad as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42  1.1  riastrad as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43  1.1  riastrad # Prefer a ksh shell builtin over an external printf program on Solaris,
     44  1.1  riastrad # but without wasting forks for bash or zsh.
     45  1.1  riastrad if test -z "$BASH_VERSION$ZSH_VERSION" \
     46  1.1  riastrad     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47  1.1  riastrad   as_echo='print -r --'
     48  1.1  riastrad   as_echo_n='print -rn --'
     49  1.1  riastrad elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50  1.1  riastrad   as_echo='printf %s\n'
     51  1.1  riastrad   as_echo_n='printf %s'
     52  1.1  riastrad else
     53  1.1  riastrad   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54  1.1  riastrad     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55  1.1  riastrad     as_echo_n='/usr/ucb/echo -n'
     56  1.1  riastrad   else
     57  1.1  riastrad     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58  1.1  riastrad     as_echo_n_body='eval
     59  1.1  riastrad       arg=$1;
     60  1.1  riastrad       case $arg in #(
     61  1.1  riastrad       *"$as_nl"*)
     62  1.1  riastrad 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63  1.1  riastrad 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64  1.1  riastrad       esac;
     65  1.1  riastrad       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66  1.1  riastrad     '
     67  1.1  riastrad     export as_echo_n_body
     68  1.1  riastrad     as_echo_n='sh -c $as_echo_n_body as_echo'
     69  1.1  riastrad   fi
     70  1.1  riastrad   export as_echo_body
     71  1.1  riastrad   as_echo='sh -c $as_echo_body as_echo'
     72  1.1  riastrad fi
     73  1.1  riastrad 
     74  1.1  riastrad # The user is always right.
     75  1.1  riastrad if test "${PATH_SEPARATOR+set}" != set; then
     76  1.1  riastrad   PATH_SEPARATOR=:
     77  1.1  riastrad   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78  1.1  riastrad     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79  1.1  riastrad       PATH_SEPARATOR=';'
     80  1.1  riastrad   }
     81  1.1  riastrad fi
     82  1.1  riastrad 
     83  1.1  riastrad 
     84  1.1  riastrad # IFS
     85  1.1  riastrad # We need space, tab and new line, in precisely that order.  Quoting is
     86  1.1  riastrad # there to prevent editors from complaining about space-tab.
     87  1.1  riastrad # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88  1.1  riastrad # splitting by setting IFS to empty value.)
     89  1.1  riastrad IFS=" ""	$as_nl"
     90  1.1  riastrad 
     91  1.1  riastrad # Find who we are.  Look in the path if we contain no directory separator.
     92  1.1  riastrad as_myself=
     93  1.1  riastrad case $0 in #((
     94  1.1  riastrad   *[\\/]* ) as_myself=$0 ;;
     95  1.1  riastrad   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96  1.1  riastrad for as_dir in $PATH
     97  1.1  riastrad do
     98  1.1  riastrad   IFS=$as_save_IFS
     99  1.1  riastrad   test -z "$as_dir" && as_dir=.
    100  1.1  riastrad     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101  1.1  riastrad   done
    102  1.1  riastrad IFS=$as_save_IFS
    103  1.1  riastrad 
    104  1.1  riastrad      ;;
    105  1.1  riastrad esac
    106  1.1  riastrad # We did not find ourselves, most probably we were run as `sh COMMAND'
    107  1.1  riastrad # in which case we are not to be found in the path.
    108  1.1  riastrad if test "x$as_myself" = x; then
    109  1.1  riastrad   as_myself=$0
    110  1.1  riastrad fi
    111  1.1  riastrad if test ! -f "$as_myself"; then
    112  1.1  riastrad   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113  1.1  riastrad   exit 1
    114  1.1  riastrad fi
    115  1.1  riastrad 
    116  1.1  riastrad # Unset variables that we do not need and which cause bugs (e.g. in
    117  1.1  riastrad # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118  1.1  riastrad # suppresses any "Segmentation fault" message there.  '((' could
    119  1.1  riastrad # trigger a bug in pdksh 5.2.14.
    120  1.1  riastrad for as_var in BASH_ENV ENV MAIL MAILPATH
    121  1.1  riastrad do eval test x\${$as_var+set} = xset \
    122  1.1  riastrad   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123  1.1  riastrad done
    124  1.1  riastrad PS1='$ '
    125  1.1  riastrad PS2='> '
    126  1.1  riastrad PS4='+ '
    127  1.1  riastrad 
    128  1.1  riastrad # NLS nuisances.
    129  1.1  riastrad LC_ALL=C
    130  1.1  riastrad export LC_ALL
    131  1.1  riastrad LANGUAGE=C
    132  1.1  riastrad export LANGUAGE
    133  1.1  riastrad 
    134  1.1  riastrad # CDPATH.
    135  1.1  riastrad (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136  1.1  riastrad 
    137  1.1  riastrad # Use a proper internal environment variable to ensure we don't fall
    138  1.1  riastrad   # into an infinite loop, continuously re-executing ourselves.
    139  1.1  riastrad   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140  1.1  riastrad     _as_can_reexec=no; export _as_can_reexec;
    141  1.1  riastrad     # We cannot yet assume a decent shell, so we have to provide a
    142  1.1  riastrad # neutralization value for shells without unset; and this also
    143  1.1  riastrad # works around shells that cannot unset nonexistent variables.
    144  1.1  riastrad # Preserve -v and -x to the replacement shell.
    145  1.1  riastrad BASH_ENV=/dev/null
    146  1.1  riastrad ENV=/dev/null
    147  1.1  riastrad (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148  1.1  riastrad case $- in # ((((
    149  1.1  riastrad   *v*x* | *x*v* ) as_opts=-vx ;;
    150  1.1  riastrad   *v* ) as_opts=-v ;;
    151  1.1  riastrad   *x* ) as_opts=-x ;;
    152  1.1  riastrad   * ) as_opts= ;;
    153  1.1  riastrad esac
    154  1.1  riastrad exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155  1.1  riastrad # Admittedly, this is quite paranoid, since all the known shells bail
    156  1.1  riastrad # out after a failed `exec'.
    157  1.1  riastrad $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158  1.1  riastrad as_fn_exit 255
    159  1.1  riastrad   fi
    160  1.1  riastrad   # We don't want this to propagate to other subprocesses.
    161  1.1  riastrad           { _as_can_reexec=; unset _as_can_reexec;}
    162  1.1  riastrad if test "x$CONFIG_SHELL" = x; then
    163  1.1  riastrad   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164  1.1  riastrad   emulate sh
    165  1.1  riastrad   NULLCMD=:
    166  1.1  riastrad   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167  1.1  riastrad   # is contrary to our usage.  Disable this feature.
    168  1.1  riastrad   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169  1.1  riastrad   setopt NO_GLOB_SUBST
    170  1.1  riastrad else
    171  1.1  riastrad   case \`(set -o) 2>/dev/null\` in #(
    172  1.1  riastrad   *posix*) :
    173  1.1  riastrad     set -o posix ;; #(
    174  1.1  riastrad   *) :
    175  1.1  riastrad      ;;
    176  1.1  riastrad esac
    177  1.1  riastrad fi
    178  1.1  riastrad "
    179  1.1  riastrad   as_required="as_fn_return () { (exit \$1); }
    180  1.1  riastrad as_fn_success () { as_fn_return 0; }
    181  1.1  riastrad as_fn_failure () { as_fn_return 1; }
    182  1.1  riastrad as_fn_ret_success () { return 0; }
    183  1.1  riastrad as_fn_ret_failure () { return 1; }
    184  1.1  riastrad 
    185  1.1  riastrad exitcode=0
    186  1.1  riastrad as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187  1.1  riastrad as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188  1.1  riastrad as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189  1.1  riastrad as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190  1.1  riastrad if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191  1.1  riastrad 
    192  1.1  riastrad else
    193  1.1  riastrad   exitcode=1; echo positional parameters were not saved.
    194  1.1  riastrad fi
    195  1.1  riastrad test x\$exitcode = x0 || exit 1
    196  1.1  riastrad test -x / || exit 1"
    197  1.1  riastrad   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198  1.1  riastrad   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199  1.1  riastrad   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200  1.1  riastrad   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201  1.1  riastrad test \$(( 1 + 1 )) = 2 || exit 1
    202  1.1  riastrad 
    203  1.1  riastrad   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    204  1.1  riastrad     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    205  1.1  riastrad     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206  1.1  riastrad     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    207  1.1  riastrad     PATH=/empty FPATH=/empty; export PATH FPATH
    208  1.1  riastrad     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    209  1.1  riastrad       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    210  1.1  riastrad   if (eval "$as_required") 2>/dev/null; then :
    211  1.1  riastrad   as_have_required=yes
    212  1.1  riastrad else
    213  1.1  riastrad   as_have_required=no
    214  1.1  riastrad fi
    215  1.1  riastrad   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216  1.1  riastrad 
    217  1.1  riastrad else
    218  1.1  riastrad   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219  1.1  riastrad as_found=false
    220  1.1  riastrad for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221  1.1  riastrad do
    222  1.1  riastrad   IFS=$as_save_IFS
    223  1.1  riastrad   test -z "$as_dir" && as_dir=.
    224  1.1  riastrad   as_found=:
    225  1.1  riastrad   case $as_dir in #(
    226  1.1  riastrad 	 /*)
    227  1.1  riastrad 	   for as_base in sh bash ksh sh5; do
    228  1.1  riastrad 	     # Try only shells that exist, to save several forks.
    229  1.1  riastrad 	     as_shell=$as_dir/$as_base
    230  1.1  riastrad 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231  1.1  riastrad 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232  1.1  riastrad   CONFIG_SHELL=$as_shell as_have_required=yes
    233  1.1  riastrad 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234  1.1  riastrad   break 2
    235  1.1  riastrad fi
    236  1.1  riastrad fi
    237  1.1  riastrad 	   done;;
    238  1.1  riastrad        esac
    239  1.1  riastrad   as_found=false
    240  1.1  riastrad done
    241  1.1  riastrad $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242  1.1  riastrad 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243  1.1  riastrad   CONFIG_SHELL=$SHELL as_have_required=yes
    244  1.1  riastrad fi; }
    245  1.1  riastrad IFS=$as_save_IFS
    246  1.1  riastrad 
    247  1.1  riastrad 
    248  1.1  riastrad       if test "x$CONFIG_SHELL" != x; then :
    249  1.1  riastrad   export CONFIG_SHELL
    250  1.1  riastrad              # We cannot yet assume a decent shell, so we have to provide a
    251  1.1  riastrad # neutralization value for shells without unset; and this also
    252  1.1  riastrad # works around shells that cannot unset nonexistent variables.
    253  1.1  riastrad # Preserve -v and -x to the replacement shell.
    254  1.1  riastrad BASH_ENV=/dev/null
    255  1.1  riastrad ENV=/dev/null
    256  1.1  riastrad (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257  1.1  riastrad case $- in # ((((
    258  1.1  riastrad   *v*x* | *x*v* ) as_opts=-vx ;;
    259  1.1  riastrad   *v* ) as_opts=-v ;;
    260  1.1  riastrad   *x* ) as_opts=-x ;;
    261  1.1  riastrad   * ) as_opts= ;;
    262  1.1  riastrad esac
    263  1.1  riastrad exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264  1.1  riastrad # Admittedly, this is quite paranoid, since all the known shells bail
    265  1.1  riastrad # out after a failed `exec'.
    266  1.1  riastrad $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267  1.1  riastrad exit 255
    268  1.1  riastrad fi
    269  1.1  riastrad 
    270  1.1  riastrad     if test x$as_have_required = xno; then :
    271  1.1  riastrad   $as_echo "$0: This script requires a shell more modern than all"
    272  1.1  riastrad   $as_echo "$0: the shells that I found on your system."
    273  1.1  riastrad   if test x${ZSH_VERSION+set} = xset ; then
    274  1.1  riastrad     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275  1.1  riastrad     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276  1.1  riastrad   else
    277  1.1  riastrad     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278  1.1  riastrad $0: https://github.com/jedisct1/libsodium/issues about your
    279  1.1  riastrad $0: system, including any error possibly output before this
    280  1.1  riastrad $0: message. Then install a modern shell, or manually run
    281  1.1  riastrad $0: the script under such a shell if you do have one."
    282  1.1  riastrad   fi
    283  1.1  riastrad   exit 1
    284  1.1  riastrad fi
    285  1.1  riastrad fi
    286  1.1  riastrad fi
    287  1.1  riastrad SHELL=${CONFIG_SHELL-/bin/sh}
    288  1.1  riastrad export SHELL
    289  1.1  riastrad # Unset more variables known to interfere with behavior of common tools.
    290  1.1  riastrad CLICOLOR_FORCE= GREP_OPTIONS=
    291  1.1  riastrad unset CLICOLOR_FORCE GREP_OPTIONS
    292  1.1  riastrad 
    293  1.1  riastrad ## --------------------- ##
    294  1.1  riastrad ## M4sh Shell Functions. ##
    295  1.1  riastrad ## --------------------- ##
    296  1.1  riastrad # as_fn_unset VAR
    297  1.1  riastrad # ---------------
    298  1.1  riastrad # Portably unset VAR.
    299  1.1  riastrad as_fn_unset ()
    300  1.1  riastrad {
    301  1.1  riastrad   { eval $1=; unset $1;}
    302  1.1  riastrad }
    303  1.1  riastrad as_unset=as_fn_unset
    304  1.1  riastrad 
    305  1.1  riastrad # as_fn_set_status STATUS
    306  1.1  riastrad # -----------------------
    307  1.1  riastrad # Set $? to STATUS, without forking.
    308  1.1  riastrad as_fn_set_status ()
    309  1.1  riastrad {
    310  1.1  riastrad   return $1
    311  1.1  riastrad } # as_fn_set_status
    312  1.1  riastrad 
    313  1.1  riastrad # as_fn_exit STATUS
    314  1.1  riastrad # -----------------
    315  1.1  riastrad # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    316  1.1  riastrad as_fn_exit ()
    317  1.1  riastrad {
    318  1.1  riastrad   set +e
    319  1.1  riastrad   as_fn_set_status $1
    320  1.1  riastrad   exit $1
    321  1.1  riastrad } # as_fn_exit
    322  1.1  riastrad 
    323  1.1  riastrad # as_fn_mkdir_p
    324  1.1  riastrad # -------------
    325  1.1  riastrad # Create "$as_dir" as a directory, including parents if necessary.
    326  1.1  riastrad as_fn_mkdir_p ()
    327  1.1  riastrad {
    328  1.1  riastrad 
    329  1.1  riastrad   case $as_dir in #(
    330  1.1  riastrad   -*) as_dir=./$as_dir;;
    331  1.1  riastrad   esac
    332  1.1  riastrad   test -d "$as_dir" || eval $as_mkdir_p || {
    333  1.1  riastrad     as_dirs=
    334  1.1  riastrad     while :; do
    335  1.1  riastrad       case $as_dir in #(
    336  1.1  riastrad       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    337  1.1  riastrad       *) as_qdir=$as_dir;;
    338  1.1  riastrad       esac
    339  1.1  riastrad       as_dirs="'$as_qdir' $as_dirs"
    340  1.1  riastrad       as_dir=`$as_dirname -- "$as_dir" ||
    341  1.1  riastrad $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    342  1.1  riastrad 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    343  1.1  riastrad 	 X"$as_dir" : 'X\(//\)$' \| \
    344  1.1  riastrad 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    345  1.1  riastrad $as_echo X"$as_dir" |
    346  1.1  riastrad     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    347  1.1  riastrad 	    s//\1/
    348  1.1  riastrad 	    q
    349  1.1  riastrad 	  }
    350  1.1  riastrad 	  /^X\(\/\/\)[^/].*/{
    351  1.1  riastrad 	    s//\1/
    352  1.1  riastrad 	    q
    353  1.1  riastrad 	  }
    354  1.1  riastrad 	  /^X\(\/\/\)$/{
    355  1.1  riastrad 	    s//\1/
    356  1.1  riastrad 	    q
    357  1.1  riastrad 	  }
    358  1.1  riastrad 	  /^X\(\/\).*/{
    359  1.1  riastrad 	    s//\1/
    360  1.1  riastrad 	    q
    361  1.1  riastrad 	  }
    362  1.1  riastrad 	  s/.*/./; q'`
    363  1.1  riastrad       test -d "$as_dir" && break
    364  1.1  riastrad     done
    365  1.1  riastrad     test -z "$as_dirs" || eval "mkdir $as_dirs"
    366  1.1  riastrad   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    367  1.1  riastrad 
    368  1.1  riastrad 
    369  1.1  riastrad } # as_fn_mkdir_p
    370  1.1  riastrad 
    371  1.1  riastrad # as_fn_executable_p FILE
    372  1.1  riastrad # -----------------------
    373  1.1  riastrad # Test if FILE is an executable regular file.
    374  1.1  riastrad as_fn_executable_p ()
    375  1.1  riastrad {
    376  1.1  riastrad   test -f "$1" && test -x "$1"
    377  1.1  riastrad } # as_fn_executable_p
    378  1.1  riastrad # as_fn_append VAR VALUE
    379  1.1  riastrad # ----------------------
    380  1.1  riastrad # Append the text in VALUE to the end of the definition contained in VAR. Take
    381  1.1  riastrad # advantage of any shell optimizations that allow amortized linear growth over
    382  1.1  riastrad # repeated appends, instead of the typical quadratic growth present in naive
    383  1.1  riastrad # implementations.
    384  1.1  riastrad if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    385  1.1  riastrad   eval 'as_fn_append ()
    386  1.1  riastrad   {
    387  1.1  riastrad     eval $1+=\$2
    388  1.1  riastrad   }'
    389  1.1  riastrad else
    390  1.1  riastrad   as_fn_append ()
    391  1.1  riastrad   {
    392  1.1  riastrad     eval $1=\$$1\$2
    393  1.1  riastrad   }
    394  1.1  riastrad fi # as_fn_append
    395  1.1  riastrad 
    396  1.1  riastrad # as_fn_arith ARG...
    397  1.1  riastrad # ------------------
    398  1.1  riastrad # Perform arithmetic evaluation on the ARGs, and store the result in the
    399  1.1  riastrad # global $as_val. Take advantage of shells that can avoid forks. The arguments
    400  1.1  riastrad # must be portable across $(()) and expr.
    401  1.1  riastrad if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    402  1.1  riastrad   eval 'as_fn_arith ()
    403  1.1  riastrad   {
    404  1.1  riastrad     as_val=$(( $* ))
    405  1.1  riastrad   }'
    406  1.1  riastrad else
    407  1.1  riastrad   as_fn_arith ()
    408  1.1  riastrad   {
    409  1.1  riastrad     as_val=`expr "$@" || test $? -eq 1`
    410  1.1  riastrad   }
    411  1.1  riastrad fi # as_fn_arith
    412  1.1  riastrad 
    413  1.1  riastrad 
    414  1.1  riastrad # as_fn_error STATUS ERROR [LINENO LOG_FD]
    415  1.1  riastrad # ----------------------------------------
    416  1.1  riastrad # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    417  1.1  riastrad # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    418  1.1  riastrad # script with STATUS, using 1 if that was 0.
    419  1.1  riastrad as_fn_error ()
    420  1.1  riastrad {
    421  1.1  riastrad   as_status=$1; test $as_status -eq 0 && as_status=1
    422  1.1  riastrad   if test "$4"; then
    423  1.1  riastrad     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    424  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    425  1.1  riastrad   fi
    426  1.1  riastrad   $as_echo "$as_me: error: $2" >&2
    427  1.1  riastrad   as_fn_exit $as_status
    428  1.1  riastrad } # as_fn_error
    429  1.1  riastrad 
    430  1.1  riastrad if expr a : '\(a\)' >/dev/null 2>&1 &&
    431  1.1  riastrad    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    432  1.1  riastrad   as_expr=expr
    433  1.1  riastrad else
    434  1.1  riastrad   as_expr=false
    435  1.1  riastrad fi
    436  1.1  riastrad 
    437  1.1  riastrad if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    438  1.1  riastrad   as_basename=basename
    439  1.1  riastrad else
    440  1.1  riastrad   as_basename=false
    441  1.1  riastrad fi
    442  1.1  riastrad 
    443  1.1  riastrad if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    444  1.1  riastrad   as_dirname=dirname
    445  1.1  riastrad else
    446  1.1  riastrad   as_dirname=false
    447  1.1  riastrad fi
    448  1.1  riastrad 
    449  1.1  riastrad as_me=`$as_basename -- "$0" ||
    450  1.1  riastrad $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    451  1.1  riastrad 	 X"$0" : 'X\(//\)$' \| \
    452  1.1  riastrad 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    453  1.1  riastrad $as_echo X/"$0" |
    454  1.1  riastrad     sed '/^.*\/\([^/][^/]*\)\/*$/{
    455  1.1  riastrad 	    s//\1/
    456  1.1  riastrad 	    q
    457  1.1  riastrad 	  }
    458  1.1  riastrad 	  /^X\/\(\/\/\)$/{
    459  1.1  riastrad 	    s//\1/
    460  1.1  riastrad 	    q
    461  1.1  riastrad 	  }
    462  1.1  riastrad 	  /^X\/\(\/\).*/{
    463  1.1  riastrad 	    s//\1/
    464  1.1  riastrad 	    q
    465  1.1  riastrad 	  }
    466  1.1  riastrad 	  s/.*/./; q'`
    467  1.1  riastrad 
    468  1.1  riastrad # Avoid depending upon Character Ranges.
    469  1.1  riastrad as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    470  1.1  riastrad as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    471  1.1  riastrad as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    472  1.1  riastrad as_cr_digits='0123456789'
    473  1.1  riastrad as_cr_alnum=$as_cr_Letters$as_cr_digits
    474  1.1  riastrad 
    475  1.1  riastrad 
    476  1.1  riastrad   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    477  1.1  riastrad   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    478  1.1  riastrad   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    479  1.1  riastrad   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    480  1.1  riastrad   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    481  1.1  riastrad   sed -n '
    482  1.1  riastrad     p
    483  1.1  riastrad     /[$]LINENO/=
    484  1.1  riastrad   ' <$as_myself |
    485  1.1  riastrad     sed '
    486  1.1  riastrad       s/[$]LINENO.*/&-/
    487  1.1  riastrad       t lineno
    488  1.1  riastrad       b
    489  1.1  riastrad       :lineno
    490  1.1  riastrad       N
    491  1.1  riastrad       :loop
    492  1.1  riastrad       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    493  1.1  riastrad       t loop
    494  1.1  riastrad       s/-\n.*//
    495  1.1  riastrad     ' >$as_me.lineno &&
    496  1.1  riastrad   chmod +x "$as_me.lineno" ||
    497  1.1  riastrad     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    498  1.1  riastrad 
    499  1.1  riastrad   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    500  1.1  riastrad   # already done that, so ensure we don't try to do so again and fall
    501  1.1  riastrad   # in an infinite loop.  This has already happened in practice.
    502  1.1  riastrad   _as_can_reexec=no; export _as_can_reexec
    503  1.1  riastrad   # Don't try to exec as it changes $[0], causing all sort of problems
    504  1.1  riastrad   # (the dirname of $[0] is not the place where we might find the
    505  1.1  riastrad   # original and so on.  Autoconf is especially sensitive to this).
    506  1.1  riastrad   . "./$as_me.lineno"
    507  1.1  riastrad   # Exit status is that of the last command.
    508  1.1  riastrad   exit
    509  1.1  riastrad }
    510  1.1  riastrad 
    511  1.1  riastrad ECHO_C= ECHO_N= ECHO_T=
    512  1.1  riastrad case `echo -n x` in #(((((
    513  1.1  riastrad -n*)
    514  1.1  riastrad   case `echo 'xy\c'` in
    515  1.1  riastrad   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    516  1.1  riastrad   xy)  ECHO_C='\c';;
    517  1.1  riastrad   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    518  1.1  riastrad        ECHO_T='	';;
    519  1.1  riastrad   esac;;
    520  1.1  riastrad *)
    521  1.1  riastrad   ECHO_N='-n';;
    522  1.1  riastrad esac
    523  1.1  riastrad 
    524  1.1  riastrad rm -f conf$$ conf$$.exe conf$$.file
    525  1.1  riastrad if test -d conf$$.dir; then
    526  1.1  riastrad   rm -f conf$$.dir/conf$$.file
    527  1.1  riastrad else
    528  1.1  riastrad   rm -f conf$$.dir
    529  1.1  riastrad   mkdir conf$$.dir 2>/dev/null
    530  1.1  riastrad fi
    531  1.1  riastrad if (echo >conf$$.file) 2>/dev/null; then
    532  1.1  riastrad   if ln -s conf$$.file conf$$ 2>/dev/null; then
    533  1.1  riastrad     as_ln_s='ln -s'
    534  1.1  riastrad     # ... but there are two gotchas:
    535  1.1  riastrad     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    536  1.1  riastrad     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    537  1.1  riastrad     # In both cases, we have to default to `cp -pR'.
    538  1.1  riastrad     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    539  1.1  riastrad       as_ln_s='cp -pR'
    540  1.1  riastrad   elif ln conf$$.file conf$$ 2>/dev/null; then
    541  1.1  riastrad     as_ln_s=ln
    542  1.1  riastrad   else
    543  1.1  riastrad     as_ln_s='cp -pR'
    544  1.1  riastrad   fi
    545  1.1  riastrad else
    546  1.1  riastrad   as_ln_s='cp -pR'
    547  1.1  riastrad fi
    548  1.1  riastrad rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    549  1.1  riastrad rmdir conf$$.dir 2>/dev/null
    550  1.1  riastrad 
    551  1.1  riastrad if mkdir -p . 2>/dev/null; then
    552  1.1  riastrad   as_mkdir_p='mkdir -p "$as_dir"'
    553  1.1  riastrad else
    554  1.1  riastrad   test -d ./-p && rmdir ./-p
    555  1.1  riastrad   as_mkdir_p=false
    556  1.1  riastrad fi
    557  1.1  riastrad 
    558  1.1  riastrad as_test_x='test -x'
    559  1.1  riastrad as_executable_p=as_fn_executable_p
    560  1.1  riastrad 
    561  1.1  riastrad # Sed expression to map a string onto a valid CPP name.
    562  1.1  riastrad as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    563  1.1  riastrad 
    564  1.1  riastrad # Sed expression to map a string onto a valid variable name.
    565  1.1  riastrad as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    566  1.1  riastrad 
    567  1.1  riastrad SHELL=${CONFIG_SHELL-/bin/sh}
    568  1.1  riastrad 
    569  1.1  riastrad 
    570  1.1  riastrad test -n "$DJDIR" || exec 7<&0 </dev/null
    571  1.1  riastrad exec 6>&1
    572  1.1  riastrad 
    573  1.1  riastrad # Name of the host.
    574  1.1  riastrad # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    575  1.1  riastrad # so uname gets run too.
    576  1.1  riastrad ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    577  1.1  riastrad 
    578  1.1  riastrad #
    579  1.1  riastrad # Initializations.
    580  1.1  riastrad #
    581  1.1  riastrad ac_default_prefix=/usr/local
    582  1.1  riastrad ac_clean_files=
    583  1.1  riastrad ac_config_libobj_dir=.
    584  1.1  riastrad LIBOBJS=
    585  1.1  riastrad cross_compiling=no
    586  1.1  riastrad subdirs=
    587  1.1  riastrad MFLAGS=
    588  1.1  riastrad MAKEFLAGS=
    589  1.1  riastrad 
    590  1.1  riastrad # Identity of this package.
    591  1.1  riastrad PACKAGE_NAME='libsodium'
    592  1.1  riastrad PACKAGE_TARNAME='libsodium'
    593  1.1  riastrad PACKAGE_VERSION='1.0.16'
    594  1.1  riastrad PACKAGE_STRING='libsodium 1.0.16'
    595  1.1  riastrad PACKAGE_BUGREPORT='https://github.com/jedisct1/libsodium/issues'
    596  1.1  riastrad PACKAGE_URL='https://github.com/jedisct1/libsodium'
    597  1.1  riastrad 
    598  1.1  riastrad ac_unique_file="src/libsodium/sodium/version.c"
    599  1.1  riastrad # Factoring default headers for most tests.
    600  1.1  riastrad ac_includes_default="\
    601  1.1  riastrad #include <stdio.h>
    602  1.1  riastrad #ifdef HAVE_SYS_TYPES_H
    603  1.1  riastrad # include <sys/types.h>
    604  1.1  riastrad #endif
    605  1.1  riastrad #ifdef HAVE_SYS_STAT_H
    606  1.1  riastrad # include <sys/stat.h>
    607  1.1  riastrad #endif
    608  1.1  riastrad #ifdef STDC_HEADERS
    609  1.1  riastrad # include <stdlib.h>
    610  1.1  riastrad # include <stddef.h>
    611  1.1  riastrad #else
    612  1.1  riastrad # ifdef HAVE_STDLIB_H
    613  1.1  riastrad #  include <stdlib.h>
    614  1.1  riastrad # endif
    615  1.1  riastrad #endif
    616  1.1  riastrad #ifdef HAVE_STRING_H
    617  1.1  riastrad # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    618  1.1  riastrad #  include <memory.h>
    619  1.1  riastrad # endif
    620  1.1  riastrad # include <string.h>
    621  1.1  riastrad #endif
    622  1.1  riastrad #ifdef HAVE_STRINGS_H
    623  1.1  riastrad # include <strings.h>
    624  1.1  riastrad #endif
    625  1.1  riastrad #ifdef HAVE_INTTYPES_H
    626  1.1  riastrad # include <inttypes.h>
    627  1.1  riastrad #endif
    628  1.1  riastrad #ifdef HAVE_STDINT_H
    629  1.1  riastrad # include <stdint.h>
    630  1.1  riastrad #endif
    631  1.1  riastrad #ifdef HAVE_UNISTD_H
    632  1.1  riastrad # include <unistd.h>
    633  1.1  riastrad #endif"
    634  1.1  riastrad 
    635  1.1  riastrad ac_subst_vars='am__EXEEXT_FALSE
    636  1.1  riastrad am__EXEEXT_TRUE
    637  1.1  riastrad LTLIBOBJS
    638  1.1  riastrad LIBOBJS
    639  1.1  riastrad HAVE_LD_OUTPUT_DEF_FALSE
    640  1.1  riastrad HAVE_LD_OUTPUT_DEF_TRUE
    641  1.1  riastrad AS
    642  1.1  riastrad NATIVECLIENT_FALSE
    643  1.1  riastrad NATIVECLIENT_TRUE
    644  1.1  riastrad EMSCRIPTEN_FALSE
    645  1.1  riastrad EMSCRIPTEN_TRUE
    646  1.1  riastrad TEST_LDFLAGS
    647  1.1  riastrad LIBTOOL_EXTRA_FLAGS
    648  1.1  riastrad ALLOCA
    649  1.1  riastrad HAVE_CPUID_V
    650  1.1  riastrad HAVE_TI_MODE_V
    651  1.1  riastrad HAVE_TI_MODE_FALSE
    652  1.1  riastrad HAVE_TI_MODE_TRUE
    653  1.1  riastrad HAVE_AVX_ASM_V
    654  1.1  riastrad HAVE_AVX_ASM_FALSE
    655  1.1  riastrad HAVE_AVX_ASM_TRUE
    656  1.1  riastrad HAVE_AMD64_ASM_V
    657  1.1  riastrad HAVE_AMD64_ASM_FALSE
    658  1.1  riastrad HAVE_AMD64_ASM_TRUE
    659  1.1  riastrad CFLAGS_RDRAND
    660  1.1  riastrad CFLAGS_PCLMUL
    661  1.1  riastrad CFLAGS_AESNI
    662  1.1  riastrad CFLAGS_AVX512F
    663  1.1  riastrad CFLAGS_AVX2
    664  1.1  riastrad CFLAGS_AVX
    665  1.1  riastrad CFLAGS_SSE41
    666  1.1  riastrad CFLAGS_SSSE3
    667  1.1  riastrad CFLAGS_SSE3
    668  1.1  riastrad CFLAGS_SSE2
    669  1.1  riastrad CFLAGS_MMX
    670  1.1  riastrad LIBTOOL_DEPS
    671  1.1  riastrad LT_SYS_LIBRARY_PATH
    672  1.1  riastrad OTOOL64
    673  1.1  riastrad OTOOL
    674  1.1  riastrad LIPO
    675  1.1  riastrad NMEDIT
    676  1.1  riastrad DSYMUTIL
    677  1.1  riastrad MANIFEST_TOOL
    678  1.1  riastrad RANLIB
    679  1.1  riastrad ac_ct_AR
    680  1.1  riastrad AR
    681  1.1  riastrad DLLTOOL
    682  1.1  riastrad OBJDUMP
    683  1.1  riastrad LN_S
    684  1.1  riastrad NM
    685  1.1  riastrad ac_ct_DUMPBIN
    686  1.1  riastrad DUMPBIN
    687  1.1  riastrad LD
    688  1.1  riastrad FGREP
    689  1.1  riastrad LIBTOOL
    690  1.1  riastrad CWFLAGS
    691  1.1  riastrad am__fastdepCCAS_FALSE
    692  1.1  riastrad am__fastdepCCAS_TRUE
    693  1.1  riastrad CCASDEPMODE
    694  1.1  riastrad CCASFLAGS
    695  1.1  riastrad CCAS
    696  1.1  riastrad VALGRIND_CHECK_RULES
    697  1.1  riastrad valgrind_enabled_tools
    698  1.1  riastrad valgrind_tools
    699  1.1  riastrad ENABLE_VALGRIND_sgcheck
    700  1.1  riastrad ENABLE_VALGRIND_drd
    701  1.1  riastrad ENABLE_VALGRIND_helgrind
    702  1.1  riastrad ENABLE_VALGRIND_memcheck
    703  1.1  riastrad VALGRIND_ENABLED
    704  1.1  riastrad VALGRIND_ENABLED_FALSE
    705  1.1  riastrad VALGRIND_ENABLED_TRUE
    706  1.1  riastrad VALGRIND
    707  1.1  riastrad SAFECODE_HOME
    708  1.1  riastrad PTHREAD_CFLAGS
    709  1.1  riastrad PTHREAD_LIBS
    710  1.1  riastrad PTHREAD_CC
    711  1.1  riastrad ax_pthread_config
    712  1.1  riastrad EGREP
    713  1.1  riastrad GREP
    714  1.1  riastrad CPP
    715  1.1  riastrad SED
    716  1.1  riastrad SODIUM_LIBRARY_MINIMAL_DEF
    717  1.1  riastrad MINIMAL_FALSE
    718  1.1  riastrad MINIMAL_TRUE
    719  1.1  riastrad am__fastdepCC_FALSE
    720  1.1  riastrad am__fastdepCC_TRUE
    721  1.1  riastrad CCDEPMODE
    722  1.1  riastrad am__quote
    723  1.1  riastrad am__include
    724  1.1  riastrad DEPDIR
    725  1.1  riastrad OBJEXT
    726  1.1  riastrad EXEEXT
    727  1.1  riastrad ac_ct_CC
    728  1.1  riastrad CPPFLAGS
    729  1.1  riastrad LDFLAGS
    730  1.1  riastrad CFLAGS
    731  1.1  riastrad CC
    732  1.1  riastrad DLL_VERSION
    733  1.1  riastrad SODIUM_LIBRARY_VERSION
    734  1.1  riastrad SODIUM_LIBRARY_VERSION_MINOR
    735  1.1  riastrad SODIUM_LIBRARY_VERSION_MAJOR
    736  1.1  riastrad ISODATE
    737  1.1  riastrad am__nodep
    738  1.1  riastrad AMDEPBACKSLASH
    739  1.1  riastrad AMDEP_FALSE
    740  1.1  riastrad AMDEP_TRUE
    741  1.1  riastrad MAINT
    742  1.1  riastrad MAINTAINER_MODE_FALSE
    743  1.1  riastrad MAINTAINER_MODE_TRUE
    744  1.1  riastrad AM_BACKSLASH
    745  1.1  riastrad AM_DEFAULT_VERBOSITY
    746  1.1  riastrad AM_DEFAULT_V
    747  1.1  riastrad AM_V
    748  1.1  riastrad am__untar
    749  1.1  riastrad am__tar
    750  1.1  riastrad AMTAR
    751  1.1  riastrad am__leading_dot
    752  1.1  riastrad SET_MAKE
    753  1.1  riastrad AWK
    754  1.1  riastrad mkdir_p
    755  1.1  riastrad MKDIR_P
    756  1.1  riastrad INSTALL_STRIP_PROGRAM
    757  1.1  riastrad STRIP
    758  1.1  riastrad install_sh
    759  1.1  riastrad MAKEINFO
    760  1.1  riastrad AUTOHEADER
    761  1.1  riastrad AUTOMAKE
    762  1.1  riastrad AUTOCONF
    763  1.1  riastrad ACLOCAL
    764  1.1  riastrad VERSION
    765  1.1  riastrad PACKAGE
    766  1.1  riastrad CYGPATH_W
    767  1.1  riastrad am__isrc
    768  1.1  riastrad INSTALL_DATA
    769  1.1  riastrad INSTALL_SCRIPT
    770  1.1  riastrad INSTALL_PROGRAM
    771  1.1  riastrad host_os
    772  1.1  riastrad host_vendor
    773  1.1  riastrad host_cpu
    774  1.1  riastrad host
    775  1.1  riastrad build_os
    776  1.1  riastrad build_vendor
    777  1.1  riastrad build_cpu
    778  1.1  riastrad build
    779  1.1  riastrad target_alias
    780  1.1  riastrad host_alias
    781  1.1  riastrad build_alias
    782  1.1  riastrad LIBS
    783  1.1  riastrad ECHO_T
    784  1.1  riastrad ECHO_N
    785  1.1  riastrad ECHO_C
    786  1.1  riastrad DEFS
    787  1.1  riastrad mandir
    788  1.1  riastrad localedir
    789  1.1  riastrad libdir
    790  1.1  riastrad psdir
    791  1.1  riastrad pdfdir
    792  1.1  riastrad dvidir
    793  1.1  riastrad htmldir
    794  1.1  riastrad infodir
    795  1.1  riastrad docdir
    796  1.1  riastrad oldincludedir
    797  1.1  riastrad includedir
    798  1.1  riastrad localstatedir
    799  1.1  riastrad sharedstatedir
    800  1.1  riastrad sysconfdir
    801  1.1  riastrad datadir
    802  1.1  riastrad datarootdir
    803  1.1  riastrad libexecdir
    804  1.1  riastrad sbindir
    805  1.1  riastrad bindir
    806  1.1  riastrad program_transform_name
    807  1.1  riastrad prefix
    808  1.1  riastrad exec_prefix
    809  1.1  riastrad PACKAGE_URL
    810  1.1  riastrad PACKAGE_BUGREPORT
    811  1.1  riastrad PACKAGE_STRING
    812  1.1  riastrad PACKAGE_VERSION
    813  1.1  riastrad PACKAGE_TARNAME
    814  1.1  riastrad PACKAGE_NAME
    815  1.1  riastrad PATH_SEPARATOR
    816  1.1  riastrad SHELL'
    817  1.1  riastrad ac_subst_files=''
    818  1.1  riastrad ac_user_opts='
    819  1.1  riastrad enable_option_checking
    820  1.1  riastrad enable_silent_rules
    821  1.1  riastrad enable_maintainer_mode
    822  1.1  riastrad enable_dependency_tracking
    823  1.1  riastrad enable_ssp
    824  1.1  riastrad enable_asm
    825  1.1  riastrad enable_pie
    826  1.1  riastrad enable_blocking_random
    827  1.1  riastrad enable_minimal
    828  1.1  riastrad with_pthreads
    829  1.1  riastrad with_safecode
    830  1.1  riastrad with_ctgrind
    831  1.1  riastrad enable_debug
    832  1.1  riastrad enable_opt
    833  1.1  riastrad enable_valgrind
    834  1.1  riastrad enable_valgrind_memcheck
    835  1.1  riastrad enable_valgrind_helgrind
    836  1.1  riastrad enable_valgrind_drd
    837  1.1  riastrad enable_valgrind_sgcheck
    838  1.1  riastrad enable_soname_versions
    839  1.1  riastrad enable_shared
    840  1.1  riastrad enable_static
    841  1.1  riastrad with_pic
    842  1.1  riastrad enable_fast_install
    843  1.1  riastrad with_aix_soname
    844  1.1  riastrad with_gnu_ld
    845  1.1  riastrad with_sysroot
    846  1.1  riastrad enable_libtool_lock
    847  1.1  riastrad '
    848  1.1  riastrad       ac_precious_vars='build_alias
    849  1.1  riastrad host_alias
    850  1.1  riastrad target_alias
    851  1.1  riastrad CC
    852  1.1  riastrad CFLAGS
    853  1.1  riastrad LDFLAGS
    854  1.1  riastrad LIBS
    855  1.1  riastrad CPPFLAGS
    856  1.1  riastrad CPP
    857  1.1  riastrad SAFECODE_HOME
    858  1.1  riastrad CCAS
    859  1.1  riastrad CCASFLAGS
    860  1.1  riastrad CWFLAGS
    861  1.1  riastrad LT_SYS_LIBRARY_PATH
    862  1.1  riastrad AR'
    863  1.1  riastrad 
    864  1.1  riastrad 
    865  1.1  riastrad # Initialize some variables set by options.
    866  1.1  riastrad ac_init_help=
    867  1.1  riastrad ac_init_version=false
    868  1.1  riastrad ac_unrecognized_opts=
    869  1.1  riastrad ac_unrecognized_sep=
    870  1.1  riastrad # The variables have the same names as the options, with
    871  1.1  riastrad # dashes changed to underlines.
    872  1.1  riastrad cache_file=/dev/null
    873  1.1  riastrad exec_prefix=NONE
    874  1.1  riastrad no_create=
    875  1.1  riastrad no_recursion=
    876  1.1  riastrad prefix=NONE
    877  1.1  riastrad program_prefix=NONE
    878  1.1  riastrad program_suffix=NONE
    879  1.1  riastrad program_transform_name=s,x,x,
    880  1.1  riastrad silent=
    881  1.1  riastrad site=
    882  1.1  riastrad srcdir=
    883  1.1  riastrad verbose=
    884  1.1  riastrad x_includes=NONE
    885  1.1  riastrad x_libraries=NONE
    886  1.1  riastrad 
    887  1.1  riastrad # Installation directory options.
    888  1.1  riastrad # These are left unexpanded so users can "make install exec_prefix=/foo"
    889  1.1  riastrad # and all the variables that are supposed to be based on exec_prefix
    890  1.1  riastrad # by default will actually change.
    891  1.1  riastrad # Use braces instead of parens because sh, perl, etc. also accept them.
    892  1.1  riastrad # (The list follows the same order as the GNU Coding Standards.)
    893  1.1  riastrad bindir='${exec_prefix}/bin'
    894  1.1  riastrad sbindir='${exec_prefix}/sbin'
    895  1.1  riastrad libexecdir='${exec_prefix}/libexec'
    896  1.1  riastrad datarootdir='${prefix}/share'
    897  1.1  riastrad datadir='${datarootdir}'
    898  1.1  riastrad sysconfdir='${prefix}/etc'
    899  1.1  riastrad sharedstatedir='${prefix}/com'
    900  1.1  riastrad localstatedir='${prefix}/var'
    901  1.1  riastrad includedir='${prefix}/include'
    902  1.1  riastrad oldincludedir='/usr/include'
    903  1.1  riastrad docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    904  1.1  riastrad infodir='${datarootdir}/info'
    905  1.1  riastrad htmldir='${docdir}'
    906  1.1  riastrad dvidir='${docdir}'
    907  1.1  riastrad pdfdir='${docdir}'
    908  1.1  riastrad psdir='${docdir}'
    909  1.1  riastrad libdir='${exec_prefix}/lib'
    910  1.1  riastrad localedir='${datarootdir}/locale'
    911  1.1  riastrad mandir='${datarootdir}/man'
    912  1.1  riastrad 
    913  1.1  riastrad ac_prev=
    914  1.1  riastrad ac_dashdash=
    915  1.1  riastrad for ac_option
    916  1.1  riastrad do
    917  1.1  riastrad   # If the previous option needs an argument, assign it.
    918  1.1  riastrad   if test -n "$ac_prev"; then
    919  1.1  riastrad     eval $ac_prev=\$ac_option
    920  1.1  riastrad     ac_prev=
    921  1.1  riastrad     continue
    922  1.1  riastrad   fi
    923  1.1  riastrad 
    924  1.1  riastrad   case $ac_option in
    925  1.1  riastrad   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    926  1.1  riastrad   *=)   ac_optarg= ;;
    927  1.1  riastrad   *)    ac_optarg=yes ;;
    928  1.1  riastrad   esac
    929  1.1  riastrad 
    930  1.1  riastrad   # Accept the important Cygnus configure options, so we can diagnose typos.
    931  1.1  riastrad 
    932  1.1  riastrad   case $ac_dashdash$ac_option in
    933  1.1  riastrad   --)
    934  1.1  riastrad     ac_dashdash=yes ;;
    935  1.1  riastrad 
    936  1.1  riastrad   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    937  1.1  riastrad     ac_prev=bindir ;;
    938  1.1  riastrad   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    939  1.1  riastrad     bindir=$ac_optarg ;;
    940  1.1  riastrad 
    941  1.1  riastrad   -build | --build | --buil | --bui | --bu)
    942  1.1  riastrad     ac_prev=build_alias ;;
    943  1.1  riastrad   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    944  1.1  riastrad     build_alias=$ac_optarg ;;
    945  1.1  riastrad 
    946  1.1  riastrad   -cache-file | --cache-file | --cache-fil | --cache-fi \
    947  1.1  riastrad   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    948  1.1  riastrad     ac_prev=cache_file ;;
    949  1.1  riastrad   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    950  1.1  riastrad   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    951  1.1  riastrad     cache_file=$ac_optarg ;;
    952  1.1  riastrad 
    953  1.1  riastrad   --config-cache | -C)
    954  1.1  riastrad     cache_file=config.cache ;;
    955  1.1  riastrad 
    956  1.1  riastrad   -datadir | --datadir | --datadi | --datad)
    957  1.1  riastrad     ac_prev=datadir ;;
    958  1.1  riastrad   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    959  1.1  riastrad     datadir=$ac_optarg ;;
    960  1.1  riastrad 
    961  1.1  riastrad   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    962  1.1  riastrad   | --dataroo | --dataro | --datar)
    963  1.1  riastrad     ac_prev=datarootdir ;;
    964  1.1  riastrad   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    965  1.1  riastrad   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    966  1.1  riastrad     datarootdir=$ac_optarg ;;
    967  1.1  riastrad 
    968  1.1  riastrad   -disable-* | --disable-*)
    969  1.1  riastrad     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    970  1.1  riastrad     # Reject names that are not valid shell variable names.
    971  1.1  riastrad     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    972  1.1  riastrad       as_fn_error $? "invalid feature name: $ac_useropt"
    973  1.1  riastrad     ac_useropt_orig=$ac_useropt
    974  1.1  riastrad     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    975  1.1  riastrad     case $ac_user_opts in
    976  1.1  riastrad       *"
    977  1.1  riastrad "enable_$ac_useropt"
    978  1.1  riastrad "*) ;;
    979  1.1  riastrad       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    980  1.1  riastrad 	 ac_unrecognized_sep=', ';;
    981  1.1  riastrad     esac
    982  1.1  riastrad     eval enable_$ac_useropt=no ;;
    983  1.1  riastrad 
    984  1.1  riastrad   -docdir | --docdir | --docdi | --doc | --do)
    985  1.1  riastrad     ac_prev=docdir ;;
    986  1.1  riastrad   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    987  1.1  riastrad     docdir=$ac_optarg ;;
    988  1.1  riastrad 
    989  1.1  riastrad   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    990  1.1  riastrad     ac_prev=dvidir ;;
    991  1.1  riastrad   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    992  1.1  riastrad     dvidir=$ac_optarg ;;
    993  1.1  riastrad 
    994  1.1  riastrad   -enable-* | --enable-*)
    995  1.1  riastrad     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    996  1.1  riastrad     # Reject names that are not valid shell variable names.
    997  1.1  riastrad     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    998  1.1  riastrad       as_fn_error $? "invalid feature name: $ac_useropt"
    999  1.1  riastrad     ac_useropt_orig=$ac_useropt
   1000  1.1  riastrad     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1001  1.1  riastrad     case $ac_user_opts in
   1002  1.1  riastrad       *"
   1003  1.1  riastrad "enable_$ac_useropt"
   1004  1.1  riastrad "*) ;;
   1005  1.1  riastrad       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1006  1.1  riastrad 	 ac_unrecognized_sep=', ';;
   1007  1.1  riastrad     esac
   1008  1.1  riastrad     eval enable_$ac_useropt=\$ac_optarg ;;
   1009  1.1  riastrad 
   1010  1.1  riastrad   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1011  1.1  riastrad   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1012  1.1  riastrad   | --exec | --exe | --ex)
   1013  1.1  riastrad     ac_prev=exec_prefix ;;
   1014  1.1  riastrad   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1015  1.1  riastrad   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1016  1.1  riastrad   | --exec=* | --exe=* | --ex=*)
   1017  1.1  riastrad     exec_prefix=$ac_optarg ;;
   1018  1.1  riastrad 
   1019  1.1  riastrad   -gas | --gas | --ga | --g)
   1020  1.1  riastrad     # Obsolete; use --with-gas.
   1021  1.1  riastrad     with_gas=yes ;;
   1022  1.1  riastrad 
   1023  1.1  riastrad   -help | --help | --hel | --he | -h)
   1024  1.1  riastrad     ac_init_help=long ;;
   1025  1.1  riastrad   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1026  1.1  riastrad     ac_init_help=recursive ;;
   1027  1.1  riastrad   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1028  1.1  riastrad     ac_init_help=short ;;
   1029  1.1  riastrad 
   1030  1.1  riastrad   -host | --host | --hos | --ho)
   1031  1.1  riastrad     ac_prev=host_alias ;;
   1032  1.1  riastrad   -host=* | --host=* | --hos=* | --ho=*)
   1033  1.1  riastrad     host_alias=$ac_optarg ;;
   1034  1.1  riastrad 
   1035  1.1  riastrad   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1036  1.1  riastrad     ac_prev=htmldir ;;
   1037  1.1  riastrad   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1038  1.1  riastrad   | --ht=*)
   1039  1.1  riastrad     htmldir=$ac_optarg ;;
   1040  1.1  riastrad 
   1041  1.1  riastrad   -includedir | --includedir | --includedi | --included | --include \
   1042  1.1  riastrad   | --includ | --inclu | --incl | --inc)
   1043  1.1  riastrad     ac_prev=includedir ;;
   1044  1.1  riastrad   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1045  1.1  riastrad   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1046  1.1  riastrad     includedir=$ac_optarg ;;
   1047  1.1  riastrad 
   1048  1.1  riastrad   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1049  1.1  riastrad     ac_prev=infodir ;;
   1050  1.1  riastrad   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1051  1.1  riastrad     infodir=$ac_optarg ;;
   1052  1.1  riastrad 
   1053  1.1  riastrad   -libdir | --libdir | --libdi | --libd)
   1054  1.1  riastrad     ac_prev=libdir ;;
   1055  1.1  riastrad   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1056  1.1  riastrad     libdir=$ac_optarg ;;
   1057  1.1  riastrad 
   1058  1.1  riastrad   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1059  1.1  riastrad   | --libexe | --libex | --libe)
   1060  1.1  riastrad     ac_prev=libexecdir ;;
   1061  1.1  riastrad   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1062  1.1  riastrad   | --libexe=* | --libex=* | --libe=*)
   1063  1.1  riastrad     libexecdir=$ac_optarg ;;
   1064  1.1  riastrad 
   1065  1.1  riastrad   -localedir | --localedir | --localedi | --localed | --locale)
   1066  1.1  riastrad     ac_prev=localedir ;;
   1067  1.1  riastrad   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1068  1.1  riastrad     localedir=$ac_optarg ;;
   1069  1.1  riastrad 
   1070  1.1  riastrad   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1071  1.1  riastrad   | --localstate | --localstat | --localsta | --localst | --locals)
   1072  1.1  riastrad     ac_prev=localstatedir ;;
   1073  1.1  riastrad   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1074  1.1  riastrad   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1075  1.1  riastrad     localstatedir=$ac_optarg ;;
   1076  1.1  riastrad 
   1077  1.1  riastrad   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1078  1.1  riastrad     ac_prev=mandir ;;
   1079  1.1  riastrad   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1080  1.1  riastrad     mandir=$ac_optarg ;;
   1081  1.1  riastrad 
   1082  1.1  riastrad   -nfp | --nfp | --nf)
   1083  1.1  riastrad     # Obsolete; use --without-fp.
   1084  1.1  riastrad     with_fp=no ;;
   1085  1.1  riastrad 
   1086  1.1  riastrad   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1087  1.1  riastrad   | --no-cr | --no-c | -n)
   1088  1.1  riastrad     no_create=yes ;;
   1089  1.1  riastrad 
   1090  1.1  riastrad   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1091  1.1  riastrad   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1092  1.1  riastrad     no_recursion=yes ;;
   1093  1.1  riastrad 
   1094  1.1  riastrad   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1095  1.1  riastrad   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1096  1.1  riastrad   | --oldin | --oldi | --old | --ol | --o)
   1097  1.1  riastrad     ac_prev=oldincludedir ;;
   1098  1.1  riastrad   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1099  1.1  riastrad   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1100  1.1  riastrad   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1101  1.1  riastrad     oldincludedir=$ac_optarg ;;
   1102  1.1  riastrad 
   1103  1.1  riastrad   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1104  1.1  riastrad     ac_prev=prefix ;;
   1105  1.1  riastrad   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1106  1.1  riastrad     prefix=$ac_optarg ;;
   1107  1.1  riastrad 
   1108  1.1  riastrad   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1109  1.1  riastrad   | --program-pre | --program-pr | --program-p)
   1110  1.1  riastrad     ac_prev=program_prefix ;;
   1111  1.1  riastrad   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1112  1.1  riastrad   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1113  1.1  riastrad     program_prefix=$ac_optarg ;;
   1114  1.1  riastrad 
   1115  1.1  riastrad   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1116  1.1  riastrad   | --program-suf | --program-su | --program-s)
   1117  1.1  riastrad     ac_prev=program_suffix ;;
   1118  1.1  riastrad   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1119  1.1  riastrad   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1120  1.1  riastrad     program_suffix=$ac_optarg ;;
   1121  1.1  riastrad 
   1122  1.1  riastrad   -program-transform-name | --program-transform-name \
   1123  1.1  riastrad   | --program-transform-nam | --program-transform-na \
   1124  1.1  riastrad   | --program-transform-n | --program-transform- \
   1125  1.1  riastrad   | --program-transform | --program-transfor \
   1126  1.1  riastrad   | --program-transfo | --program-transf \
   1127  1.1  riastrad   | --program-trans | --program-tran \
   1128  1.1  riastrad   | --progr-tra | --program-tr | --program-t)
   1129  1.1  riastrad     ac_prev=program_transform_name ;;
   1130  1.1  riastrad   -program-transform-name=* | --program-transform-name=* \
   1131  1.1  riastrad   | --program-transform-nam=* | --program-transform-na=* \
   1132  1.1  riastrad   | --program-transform-n=* | --program-transform-=* \
   1133  1.1  riastrad   | --program-transform=* | --program-transfor=* \
   1134  1.1  riastrad   | --program-transfo=* | --program-transf=* \
   1135  1.1  riastrad   | --program-trans=* | --program-tran=* \
   1136  1.1  riastrad   | --progr-tra=* | --program-tr=* | --program-t=*)
   1137  1.1  riastrad     program_transform_name=$ac_optarg ;;
   1138  1.1  riastrad 
   1139  1.1  riastrad   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1140  1.1  riastrad     ac_prev=pdfdir ;;
   1141  1.1  riastrad   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1142  1.1  riastrad     pdfdir=$ac_optarg ;;
   1143  1.1  riastrad 
   1144  1.1  riastrad   -psdir | --psdir | --psdi | --psd | --ps)
   1145  1.1  riastrad     ac_prev=psdir ;;
   1146  1.1  riastrad   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1147  1.1  riastrad     psdir=$ac_optarg ;;
   1148  1.1  riastrad 
   1149  1.1  riastrad   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1150  1.1  riastrad   | -silent | --silent | --silen | --sile | --sil)
   1151  1.1  riastrad     silent=yes ;;
   1152  1.1  riastrad 
   1153  1.1  riastrad   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1154  1.1  riastrad     ac_prev=sbindir ;;
   1155  1.1  riastrad   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1156  1.1  riastrad   | --sbi=* | --sb=*)
   1157  1.1  riastrad     sbindir=$ac_optarg ;;
   1158  1.1  riastrad 
   1159  1.1  riastrad   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1160  1.1  riastrad   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1161  1.1  riastrad   | --sharedst | --shareds | --shared | --share | --shar \
   1162  1.1  riastrad   | --sha | --sh)
   1163  1.1  riastrad     ac_prev=sharedstatedir ;;
   1164  1.1  riastrad   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1165  1.1  riastrad   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1166  1.1  riastrad   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1167  1.1  riastrad   | --sha=* | --sh=*)
   1168  1.1  riastrad     sharedstatedir=$ac_optarg ;;
   1169  1.1  riastrad 
   1170  1.1  riastrad   -site | --site | --sit)
   1171  1.1  riastrad     ac_prev=site ;;
   1172  1.1  riastrad   -site=* | --site=* | --sit=*)
   1173  1.1  riastrad     site=$ac_optarg ;;
   1174  1.1  riastrad 
   1175  1.1  riastrad   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1176  1.1  riastrad     ac_prev=srcdir ;;
   1177  1.1  riastrad   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1178  1.1  riastrad     srcdir=$ac_optarg ;;
   1179  1.1  riastrad 
   1180  1.1  riastrad   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1181  1.1  riastrad   | --syscon | --sysco | --sysc | --sys | --sy)
   1182  1.1  riastrad     ac_prev=sysconfdir ;;
   1183  1.1  riastrad   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1184  1.1  riastrad   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1185  1.1  riastrad     sysconfdir=$ac_optarg ;;
   1186  1.1  riastrad 
   1187  1.1  riastrad   -target | --target | --targe | --targ | --tar | --ta | --t)
   1188  1.1  riastrad     ac_prev=target_alias ;;
   1189  1.1  riastrad   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1190  1.1  riastrad     target_alias=$ac_optarg ;;
   1191  1.1  riastrad 
   1192  1.1  riastrad   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1193  1.1  riastrad     verbose=yes ;;
   1194  1.1  riastrad 
   1195  1.1  riastrad   -version | --version | --versio | --versi | --vers | -V)
   1196  1.1  riastrad     ac_init_version=: ;;
   1197  1.1  riastrad 
   1198  1.1  riastrad   -with-* | --with-*)
   1199  1.1  riastrad     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1200  1.1  riastrad     # Reject names that are not valid shell variable names.
   1201  1.1  riastrad     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1202  1.1  riastrad       as_fn_error $? "invalid package name: $ac_useropt"
   1203  1.1  riastrad     ac_useropt_orig=$ac_useropt
   1204  1.1  riastrad     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1205  1.1  riastrad     case $ac_user_opts in
   1206  1.1  riastrad       *"
   1207  1.1  riastrad "with_$ac_useropt"
   1208  1.1  riastrad "*) ;;
   1209  1.1  riastrad       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1210  1.1  riastrad 	 ac_unrecognized_sep=', ';;
   1211  1.1  riastrad     esac
   1212  1.1  riastrad     eval with_$ac_useropt=\$ac_optarg ;;
   1213  1.1  riastrad 
   1214  1.1  riastrad   -without-* | --without-*)
   1215  1.1  riastrad     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1216  1.1  riastrad     # Reject names that are not valid shell variable names.
   1217  1.1  riastrad     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1218  1.1  riastrad       as_fn_error $? "invalid package name: $ac_useropt"
   1219  1.1  riastrad     ac_useropt_orig=$ac_useropt
   1220  1.1  riastrad     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1221  1.1  riastrad     case $ac_user_opts in
   1222  1.1  riastrad       *"
   1223  1.1  riastrad "with_$ac_useropt"
   1224  1.1  riastrad "*) ;;
   1225  1.1  riastrad       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1226  1.1  riastrad 	 ac_unrecognized_sep=', ';;
   1227  1.1  riastrad     esac
   1228  1.1  riastrad     eval with_$ac_useropt=no ;;
   1229  1.1  riastrad 
   1230  1.1  riastrad   --x)
   1231  1.1  riastrad     # Obsolete; use --with-x.
   1232  1.1  riastrad     with_x=yes ;;
   1233  1.1  riastrad 
   1234  1.1  riastrad   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1235  1.1  riastrad   | --x-incl | --x-inc | --x-in | --x-i)
   1236  1.1  riastrad     ac_prev=x_includes ;;
   1237  1.1  riastrad   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1238  1.1  riastrad   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1239  1.1  riastrad     x_includes=$ac_optarg ;;
   1240  1.1  riastrad 
   1241  1.1  riastrad   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1242  1.1  riastrad   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1243  1.1  riastrad     ac_prev=x_libraries ;;
   1244  1.1  riastrad   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1245  1.1  riastrad   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1246  1.1  riastrad     x_libraries=$ac_optarg ;;
   1247  1.1  riastrad 
   1248  1.1  riastrad   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1249  1.1  riastrad Try \`$0 --help' for more information"
   1250  1.1  riastrad     ;;
   1251  1.1  riastrad 
   1252  1.1  riastrad   *=*)
   1253  1.1  riastrad     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1254  1.1  riastrad     # Reject names that are not valid shell variable names.
   1255  1.1  riastrad     case $ac_envvar in #(
   1256  1.1  riastrad       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1257  1.1  riastrad       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1258  1.1  riastrad     esac
   1259  1.1  riastrad     eval $ac_envvar=\$ac_optarg
   1260  1.1  riastrad     export $ac_envvar ;;
   1261  1.1  riastrad 
   1262  1.1  riastrad   *)
   1263  1.1  riastrad     # FIXME: should be removed in autoconf 3.0.
   1264  1.1  riastrad     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1265  1.1  riastrad     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1266  1.1  riastrad       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1267  1.1  riastrad     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1268  1.1  riastrad     ;;
   1269  1.1  riastrad 
   1270  1.1  riastrad   esac
   1271  1.1  riastrad done
   1272  1.1  riastrad 
   1273  1.1  riastrad if test -n "$ac_prev"; then
   1274  1.1  riastrad   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1275  1.1  riastrad   as_fn_error $? "missing argument to $ac_option"
   1276  1.1  riastrad fi
   1277  1.1  riastrad 
   1278  1.1  riastrad if test -n "$ac_unrecognized_opts"; then
   1279  1.1  riastrad   case $enable_option_checking in
   1280  1.1  riastrad     no) ;;
   1281  1.1  riastrad     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1282  1.1  riastrad     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1283  1.1  riastrad   esac
   1284  1.1  riastrad fi
   1285  1.1  riastrad 
   1286  1.1  riastrad # Check all directory arguments for consistency.
   1287  1.1  riastrad for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1288  1.1  riastrad 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1289  1.1  riastrad 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1290  1.1  riastrad 		libdir localedir mandir
   1291  1.1  riastrad do
   1292  1.1  riastrad   eval ac_val=\$$ac_var
   1293  1.1  riastrad   # Remove trailing slashes.
   1294  1.1  riastrad   case $ac_val in
   1295  1.1  riastrad     */ )
   1296  1.1  riastrad       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1297  1.1  riastrad       eval $ac_var=\$ac_val;;
   1298  1.1  riastrad   esac
   1299  1.1  riastrad   # Be sure to have absolute directory names.
   1300  1.1  riastrad   case $ac_val in
   1301  1.1  riastrad     [\\/$]* | ?:[\\/]* )  continue;;
   1302  1.1  riastrad     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1303  1.1  riastrad   esac
   1304  1.1  riastrad   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1305  1.1  riastrad done
   1306  1.1  riastrad 
   1307  1.1  riastrad # There might be people who depend on the old broken behavior: `$host'
   1308  1.1  riastrad # used to hold the argument of --host etc.
   1309  1.1  riastrad # FIXME: To remove some day.
   1310  1.1  riastrad build=$build_alias
   1311  1.1  riastrad host=$host_alias
   1312  1.1  riastrad target=$target_alias
   1313  1.1  riastrad 
   1314  1.1  riastrad # FIXME: To remove some day.
   1315  1.1  riastrad if test "x$host_alias" != x; then
   1316  1.1  riastrad   if test "x$build_alias" = x; then
   1317  1.1  riastrad     cross_compiling=maybe
   1318  1.1  riastrad   elif test "x$build_alias" != "x$host_alias"; then
   1319  1.1  riastrad     cross_compiling=yes
   1320  1.1  riastrad   fi
   1321  1.1  riastrad fi
   1322  1.1  riastrad 
   1323  1.1  riastrad ac_tool_prefix=
   1324  1.1  riastrad test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1325  1.1  riastrad 
   1326  1.1  riastrad test "$silent" = yes && exec 6>/dev/null
   1327  1.1  riastrad 
   1328  1.1  riastrad 
   1329  1.1  riastrad ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1330  1.1  riastrad ac_ls_di=`ls -di .` &&
   1331  1.1  riastrad ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1332  1.1  riastrad   as_fn_error $? "working directory cannot be determined"
   1333  1.1  riastrad test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1334  1.1  riastrad   as_fn_error $? "pwd does not report name of working directory"
   1335  1.1  riastrad 
   1336  1.1  riastrad 
   1337  1.1  riastrad # Find the source files, if location was not specified.
   1338  1.1  riastrad if test -z "$srcdir"; then
   1339  1.1  riastrad   ac_srcdir_defaulted=yes
   1340  1.1  riastrad   # Try the directory containing this script, then the parent directory.
   1341  1.1  riastrad   ac_confdir=`$as_dirname -- "$as_myself" ||
   1342  1.1  riastrad $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1343  1.1  riastrad 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1344  1.1  riastrad 	 X"$as_myself" : 'X\(//\)$' \| \
   1345  1.1  riastrad 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1346  1.1  riastrad $as_echo X"$as_myself" |
   1347  1.1  riastrad     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1348  1.1  riastrad 	    s//\1/
   1349  1.1  riastrad 	    q
   1350  1.1  riastrad 	  }
   1351  1.1  riastrad 	  /^X\(\/\/\)[^/].*/{
   1352  1.1  riastrad 	    s//\1/
   1353  1.1  riastrad 	    q
   1354  1.1  riastrad 	  }
   1355  1.1  riastrad 	  /^X\(\/\/\)$/{
   1356  1.1  riastrad 	    s//\1/
   1357  1.1  riastrad 	    q
   1358  1.1  riastrad 	  }
   1359  1.1  riastrad 	  /^X\(\/\).*/{
   1360  1.1  riastrad 	    s//\1/
   1361  1.1  riastrad 	    q
   1362  1.1  riastrad 	  }
   1363  1.1  riastrad 	  s/.*/./; q'`
   1364  1.1  riastrad   srcdir=$ac_confdir
   1365  1.1  riastrad   if test ! -r "$srcdir/$ac_unique_file"; then
   1366  1.1  riastrad     srcdir=..
   1367  1.1  riastrad   fi
   1368  1.1  riastrad else
   1369  1.1  riastrad   ac_srcdir_defaulted=no
   1370  1.1  riastrad fi
   1371  1.1  riastrad if test ! -r "$srcdir/$ac_unique_file"; then
   1372  1.1  riastrad   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1373  1.1  riastrad   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1374  1.1  riastrad fi
   1375  1.1  riastrad ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1376  1.1  riastrad ac_abs_confdir=`(
   1377  1.1  riastrad 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1378  1.1  riastrad 	pwd)`
   1379  1.1  riastrad # When building in place, set srcdir=.
   1380  1.1  riastrad if test "$ac_abs_confdir" = "$ac_pwd"; then
   1381  1.1  riastrad   srcdir=.
   1382  1.1  riastrad fi
   1383  1.1  riastrad # Remove unnecessary trailing slashes from srcdir.
   1384  1.1  riastrad # Double slashes in file names in object file debugging info
   1385  1.1  riastrad # mess up M-x gdb in Emacs.
   1386  1.1  riastrad case $srcdir in
   1387  1.1  riastrad */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1388  1.1  riastrad esac
   1389  1.1  riastrad for ac_var in $ac_precious_vars; do
   1390  1.1  riastrad   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1391  1.1  riastrad   eval ac_env_${ac_var}_value=\$${ac_var}
   1392  1.1  riastrad   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1393  1.1  riastrad   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1394  1.1  riastrad done
   1395  1.1  riastrad 
   1396  1.1  riastrad #
   1397  1.1  riastrad # Report the --help message.
   1398  1.1  riastrad #
   1399  1.1  riastrad if test "$ac_init_help" = "long"; then
   1400  1.1  riastrad   # Omit some internal or obsolete options to make the list less imposing.
   1401  1.1  riastrad   # This message is too long to be a string in the A/UX 3.1 sh.
   1402  1.1  riastrad   cat <<_ACEOF
   1403  1.1  riastrad \`configure' configures libsodium 1.0.16 to adapt to many kinds of systems.
   1404  1.1  riastrad 
   1405  1.1  riastrad Usage: $0 [OPTION]... [VAR=VALUE]...
   1406  1.1  riastrad 
   1407  1.1  riastrad To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1408  1.1  riastrad VAR=VALUE.  See below for descriptions of some of the useful variables.
   1409  1.1  riastrad 
   1410  1.1  riastrad Defaults for the options are specified in brackets.
   1411  1.1  riastrad 
   1412  1.1  riastrad Configuration:
   1413  1.1  riastrad   -h, --help              display this help and exit
   1414  1.1  riastrad       --help=short        display options specific to this package
   1415  1.1  riastrad       --help=recursive    display the short help of all the included packages
   1416  1.1  riastrad   -V, --version           display version information and exit
   1417  1.1  riastrad   -q, --quiet, --silent   do not print \`checking ...' messages
   1418  1.1  riastrad       --cache-file=FILE   cache test results in FILE [disabled]
   1419  1.1  riastrad   -C, --config-cache      alias for \`--cache-file=config.cache'
   1420  1.1  riastrad   -n, --no-create         do not create output files
   1421  1.1  riastrad       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1422  1.1  riastrad 
   1423  1.1  riastrad Installation directories:
   1424  1.1  riastrad   --prefix=PREFIX         install architecture-independent files in PREFIX
   1425  1.1  riastrad                           [$ac_default_prefix]
   1426  1.1  riastrad   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1427  1.1  riastrad                           [PREFIX]
   1428  1.1  riastrad 
   1429  1.1  riastrad By default, \`make install' will install all the files in
   1430  1.1  riastrad \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1431  1.1  riastrad an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1432  1.1  riastrad for instance \`--prefix=\$HOME'.
   1433  1.1  riastrad 
   1434  1.1  riastrad For better control, use the options below.
   1435  1.1  riastrad 
   1436  1.1  riastrad Fine tuning of the installation directories:
   1437  1.1  riastrad   --bindir=DIR            user executables [EPREFIX/bin]
   1438  1.1  riastrad   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1439  1.1  riastrad   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1440  1.1  riastrad   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1441  1.1  riastrad   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1442  1.1  riastrad   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1443  1.1  riastrad   --libdir=DIR            object code libraries [EPREFIX/lib]
   1444  1.1  riastrad   --includedir=DIR        C header files [PREFIX/include]
   1445  1.1  riastrad   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1446  1.1  riastrad   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1447  1.1  riastrad   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1448  1.1  riastrad   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1449  1.1  riastrad   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1450  1.1  riastrad   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1451  1.1  riastrad   --docdir=DIR            documentation root [DATAROOTDIR/doc/libsodium]
   1452  1.1  riastrad   --htmldir=DIR           html documentation [DOCDIR]
   1453  1.1  riastrad   --dvidir=DIR            dvi documentation [DOCDIR]
   1454  1.1  riastrad   --pdfdir=DIR            pdf documentation [DOCDIR]
   1455  1.1  riastrad   --psdir=DIR             ps documentation [DOCDIR]
   1456  1.1  riastrad _ACEOF
   1457  1.1  riastrad 
   1458  1.1  riastrad   cat <<\_ACEOF
   1459  1.1  riastrad 
   1460  1.1  riastrad Program names:
   1461  1.1  riastrad   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1462  1.1  riastrad   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1463  1.1  riastrad   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1464  1.1  riastrad 
   1465  1.1  riastrad System types:
   1466  1.1  riastrad   --build=BUILD     configure for building on BUILD [guessed]
   1467  1.1  riastrad   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1468  1.1  riastrad _ACEOF
   1469  1.1  riastrad fi
   1470  1.1  riastrad 
   1471  1.1  riastrad if test -n "$ac_init_help"; then
   1472  1.1  riastrad   case $ac_init_help in
   1473  1.1  riastrad      short | recursive ) echo "Configuration of libsodium 1.0.16:";;
   1474  1.1  riastrad    esac
   1475  1.1  riastrad   cat <<\_ACEOF
   1476  1.1  riastrad 
   1477  1.1  riastrad Optional Features:
   1478  1.1  riastrad   --disable-option-checking  ignore unrecognized --enable/--with options
   1479  1.1  riastrad   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1480  1.1  riastrad   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1481  1.1  riastrad   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1482  1.1  riastrad   --disable-silent-rules  verbose build output (undo: "make V=0")
   1483  1.1  riastrad   --enable-maintainer-mode
   1484  1.1  riastrad                           enable make rules and dependencies not useful (and
   1485  1.1  riastrad                           sometimes confusing) to the casual installer
   1486  1.1  riastrad   --enable-dependency-tracking
   1487  1.1  riastrad                           do not reject slow dependency extractors
   1488  1.1  riastrad   --disable-dependency-tracking
   1489  1.1  riastrad                           speeds up one-time build
   1490  1.1  riastrad   --disable-ssp           Do not compile with -fstack-protector
   1491  1.1  riastrad   --disable-asm           Do not compile assembly code -- This disables all
   1492  1.1  riastrad                           (including non-assembly) platform-specific
   1493  1.1  riastrad                           optimizations on Unix systems
   1494  1.1  riastrad   --disable-pie           Do not produce position independent executables
   1495  1.1  riastrad   --enable-blocking-random
   1496  1.1  riastrad                           Enable this switch only if /dev/urandom is totally
   1497  1.1  riastrad                           broken on the target platform
   1498  1.1  riastrad   --enable-minimal        Only compile the minimum set of functions required
   1499  1.1  riastrad                           for the high-level API
   1500  1.1  riastrad   --enable-debug          For maintainers only - please do not use
   1501  1.1  riastrad   --enable-opt            Optimize for the native CPU - The resulting library
   1502  1.1  riastrad                           will be faster but not portable
   1503  1.1  riastrad   --enable-valgrind       Whether to enable Valgrind on the unit tests
   1504  1.1  riastrad                           (requires GNU make)
   1505  1.1  riastrad   --disable-valgrind-memcheck
   1506  1.1  riastrad                           Whether to skip memcheck during the Valgrind tests
   1507  1.1  riastrad   --disable-valgrind-helgrind
   1508  1.1  riastrad                           Whether to skip helgrind during the Valgrind tests
   1509  1.1  riastrad   --disable-valgrind-drd  Whether to skip drd during the Valgrind tests
   1510  1.1  riastrad   --disable-valgrind-sgcheck
   1511  1.1  riastrad                           Whether to skip sgcheck during the Valgrind tests
   1512  1.1  riastrad   --enable-soname-versions
   1513  1.1  riastrad                           enable soname versions (must be disabled for
   1514  1.1  riastrad                           Android) (default: enabled)
   1515  1.1  riastrad   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1516  1.1  riastrad   --enable-static[=PKGS]  build static libraries [default=yes]
   1517  1.1  riastrad   --enable-fast-install[=PKGS]
   1518  1.1  riastrad                           optimize for fast installation [default=yes]
   1519  1.1  riastrad   --disable-libtool-lock  avoid locking (might break parallel builds)
   1520  1.1  riastrad 
   1521  1.1  riastrad Optional Packages:
   1522  1.1  riastrad   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1523  1.1  riastrad   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1524  1.1  riastrad   --with-pthreads         use pthreads library, or --without-pthreads to
   1525  1.1  riastrad                           disable threading support.
   1526  1.1  riastrad   --with-safecode         For maintainers only - please do not use
   1527  1.1  riastrad   --with-ctgrind          For maintainers only - please do not use
   1528  1.1  riastrad   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1529  1.1  riastrad                           both]
   1530  1.1  riastrad   --with-aix-soname=aix|svr4|both
   1531  1.1  riastrad                           shared library versioning (aka "SONAME") variant to
   1532  1.1  riastrad                           provide on AIX, [default=aix].
   1533  1.1  riastrad   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1534  1.1  riastrad   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1535  1.1  riastrad                           compiler's sysroot if not specified).
   1536  1.1  riastrad 
   1537  1.1  riastrad Some influential environment variables:
   1538  1.1  riastrad   CC          C compiler command
   1539  1.1  riastrad   CFLAGS      C compiler flags
   1540  1.1  riastrad   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1541  1.1  riastrad               nonstandard directory <lib dir>
   1542  1.1  riastrad   LIBS        libraries to pass to the linker, e.g. -l<library>
   1543  1.1  riastrad   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1544  1.1  riastrad               you have headers in a nonstandard directory <include dir>
   1545  1.1  riastrad   CPP         C preprocessor
   1546  1.1  riastrad   SAFECODE_HOME
   1547  1.1  riastrad               set to the safecode base directory
   1548  1.1  riastrad   CCAS        assembler compiler command (defaults to CC)
   1549  1.1  riastrad   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
   1550  1.1  riastrad   CWFLAGS     define to compilation flags for generating extra warnings
   1551  1.1  riastrad   LT_SYS_LIBRARY_PATH
   1552  1.1  riastrad               User-defined run-time library search path.
   1553  1.1  riastrad   AR          path to the ar utility
   1554  1.1  riastrad 
   1555  1.1  riastrad Use these variables to override the choices made by `configure' or to help
   1556  1.1  riastrad it to find libraries and programs with nonstandard names/locations.
   1557  1.1  riastrad 
   1558  1.1  riastrad Report bugs to <https://github.com/jedisct1/libsodium/issues>.
   1559  1.1  riastrad libsodium home page: <https://github.com/jedisct1/libsodium>.
   1560  1.1  riastrad _ACEOF
   1561  1.1  riastrad ac_status=$?
   1562  1.1  riastrad fi
   1563  1.1  riastrad 
   1564  1.1  riastrad if test "$ac_init_help" = "recursive"; then
   1565  1.1  riastrad   # If there are subdirs, report their specific --help.
   1566  1.1  riastrad   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1567  1.1  riastrad     test -d "$ac_dir" ||
   1568  1.1  riastrad       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1569  1.1  riastrad       continue
   1570  1.1  riastrad     ac_builddir=.
   1571  1.1  riastrad 
   1572  1.1  riastrad case "$ac_dir" in
   1573  1.1  riastrad .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1574  1.1  riastrad *)
   1575  1.1  riastrad   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1576  1.1  riastrad   # A ".." for each directory in $ac_dir_suffix.
   1577  1.1  riastrad   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1578  1.1  riastrad   case $ac_top_builddir_sub in
   1579  1.1  riastrad   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1580  1.1  riastrad   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1581  1.1  riastrad   esac ;;
   1582  1.1  riastrad esac
   1583  1.1  riastrad ac_abs_top_builddir=$ac_pwd
   1584  1.1  riastrad ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1585  1.1  riastrad # for backward compatibility:
   1586  1.1  riastrad ac_top_builddir=$ac_top_build_prefix
   1587  1.1  riastrad 
   1588  1.1  riastrad case $srcdir in
   1589  1.1  riastrad   .)  # We are building in place.
   1590  1.1  riastrad     ac_srcdir=.
   1591  1.1  riastrad     ac_top_srcdir=$ac_top_builddir_sub
   1592  1.1  riastrad     ac_abs_top_srcdir=$ac_pwd ;;
   1593  1.1  riastrad   [\\/]* | ?:[\\/]* )  # Absolute name.
   1594  1.1  riastrad     ac_srcdir=$srcdir$ac_dir_suffix;
   1595  1.1  riastrad     ac_top_srcdir=$srcdir
   1596  1.1  riastrad     ac_abs_top_srcdir=$srcdir ;;
   1597  1.1  riastrad   *) # Relative name.
   1598  1.1  riastrad     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1599  1.1  riastrad     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1600  1.1  riastrad     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1601  1.1  riastrad esac
   1602  1.1  riastrad ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1603  1.1  riastrad 
   1604  1.1  riastrad     cd "$ac_dir" || { ac_status=$?; continue; }
   1605  1.1  riastrad     # Check for guested configure.
   1606  1.1  riastrad     if test -f "$ac_srcdir/configure.gnu"; then
   1607  1.1  riastrad       echo &&
   1608  1.1  riastrad       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1609  1.1  riastrad     elif test -f "$ac_srcdir/configure"; then
   1610  1.1  riastrad       echo &&
   1611  1.1  riastrad       $SHELL "$ac_srcdir/configure" --help=recursive
   1612  1.1  riastrad     else
   1613  1.1  riastrad       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1614  1.1  riastrad     fi || ac_status=$?
   1615  1.1  riastrad     cd "$ac_pwd" || { ac_status=$?; break; }
   1616  1.1  riastrad   done
   1617  1.1  riastrad fi
   1618  1.1  riastrad 
   1619  1.1  riastrad test -n "$ac_init_help" && exit $ac_status
   1620  1.1  riastrad if $ac_init_version; then
   1621  1.1  riastrad   cat <<\_ACEOF
   1622  1.1  riastrad libsodium configure 1.0.16
   1623  1.1  riastrad generated by GNU Autoconf 2.69
   1624  1.1  riastrad 
   1625  1.1  riastrad Copyright (C) 2012 Free Software Foundation, Inc.
   1626  1.1  riastrad This configure script is free software; the Free Software Foundation
   1627  1.1  riastrad gives unlimited permission to copy, distribute and modify it.
   1628  1.1  riastrad _ACEOF
   1629  1.1  riastrad   exit
   1630  1.1  riastrad fi
   1631  1.1  riastrad 
   1632  1.1  riastrad ## ------------------------ ##
   1633  1.1  riastrad ## Autoconf initialization. ##
   1634  1.1  riastrad ## ------------------------ ##
   1635  1.1  riastrad 
   1636  1.1  riastrad # ac_fn_c_try_compile LINENO
   1637  1.1  riastrad # --------------------------
   1638  1.1  riastrad # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1639  1.1  riastrad ac_fn_c_try_compile ()
   1640  1.1  riastrad {
   1641  1.1  riastrad   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1642  1.1  riastrad   rm -f conftest.$ac_objext
   1643  1.1  riastrad   if { { ac_try="$ac_compile"
   1644  1.1  riastrad case "(($ac_try" in
   1645  1.1  riastrad   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1646  1.1  riastrad   *) ac_try_echo=$ac_try;;
   1647  1.1  riastrad esac
   1648  1.1  riastrad eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1649  1.1  riastrad $as_echo "$ac_try_echo"; } >&5
   1650  1.1  riastrad   (eval "$ac_compile") 2>conftest.err
   1651  1.1  riastrad   ac_status=$?
   1652  1.1  riastrad   if test -s conftest.err; then
   1653  1.1  riastrad     grep -v '^ *+' conftest.err >conftest.er1
   1654  1.1  riastrad     cat conftest.er1 >&5
   1655  1.1  riastrad     mv -f conftest.er1 conftest.err
   1656  1.1  riastrad   fi
   1657  1.1  riastrad   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1658  1.1  riastrad   test $ac_status = 0; } && {
   1659  1.1  riastrad 	 test -z "$ac_c_werror_flag" ||
   1660  1.1  riastrad 	 test ! -s conftest.err
   1661  1.1  riastrad        } && test -s conftest.$ac_objext; then :
   1662  1.1  riastrad   ac_retval=0
   1663  1.1  riastrad else
   1664  1.1  riastrad   $as_echo "$as_me: failed program was:" >&5
   1665  1.1  riastrad sed 's/^/| /' conftest.$ac_ext >&5
   1666  1.1  riastrad 
   1667  1.1  riastrad 	ac_retval=1
   1668  1.1  riastrad fi
   1669  1.1  riastrad   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1670  1.1  riastrad   as_fn_set_status $ac_retval
   1671  1.1  riastrad 
   1672  1.1  riastrad } # ac_fn_c_try_compile
   1673  1.1  riastrad 
   1674  1.1  riastrad # ac_fn_c_try_link LINENO
   1675  1.1  riastrad # -----------------------
   1676  1.1  riastrad # Try to link conftest.$ac_ext, and return whether this succeeded.
   1677  1.1  riastrad ac_fn_c_try_link ()
   1678  1.1  riastrad {
   1679  1.1  riastrad   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1680  1.1  riastrad   rm -f conftest.$ac_objext conftest$ac_exeext
   1681  1.1  riastrad   if { { ac_try="$ac_link"
   1682  1.1  riastrad case "(($ac_try" in
   1683  1.1  riastrad   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1684  1.1  riastrad   *) ac_try_echo=$ac_try;;
   1685  1.1  riastrad esac
   1686  1.1  riastrad eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1687  1.1  riastrad $as_echo "$ac_try_echo"; } >&5
   1688  1.1  riastrad   (eval "$ac_link") 2>conftest.err
   1689  1.1  riastrad   ac_status=$?
   1690  1.1  riastrad   if test -s conftest.err; then
   1691  1.1  riastrad     grep -v '^ *+' conftest.err >conftest.er1
   1692  1.1  riastrad     cat conftest.er1 >&5
   1693  1.1  riastrad     mv -f conftest.er1 conftest.err
   1694  1.1  riastrad   fi
   1695  1.1  riastrad   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1696  1.1  riastrad   test $ac_status = 0; } && {
   1697  1.1  riastrad 	 test -z "$ac_c_werror_flag" ||
   1698  1.1  riastrad 	 test ! -s conftest.err
   1699  1.1  riastrad        } && test -s conftest$ac_exeext && {
   1700  1.1  riastrad 	 test "$cross_compiling" = yes ||
   1701  1.1  riastrad 	 test -x conftest$ac_exeext
   1702  1.1  riastrad        }; then :
   1703  1.1  riastrad   ac_retval=0
   1704  1.1  riastrad else
   1705  1.1  riastrad   $as_echo "$as_me: failed program was:" >&5
   1706  1.1  riastrad sed 's/^/| /' conftest.$ac_ext >&5
   1707  1.1  riastrad 
   1708  1.1  riastrad 	ac_retval=1
   1709  1.1  riastrad fi
   1710  1.1  riastrad   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1711  1.1  riastrad   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1712  1.1  riastrad   # interfere with the next link command; also delete a directory that is
   1713  1.1  riastrad   # left behind by Apple's compiler.  We do this before executing the actions.
   1714  1.1  riastrad   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1715  1.1  riastrad   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1716  1.1  riastrad   as_fn_set_status $ac_retval
   1717  1.1  riastrad 
   1718  1.1  riastrad } # ac_fn_c_try_link
   1719  1.1  riastrad 
   1720  1.1  riastrad # ac_fn_c_try_cpp LINENO
   1721  1.1  riastrad # ----------------------
   1722  1.1  riastrad # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1723  1.1  riastrad ac_fn_c_try_cpp ()
   1724  1.1  riastrad {
   1725  1.1  riastrad   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1726  1.1  riastrad   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1727  1.1  riastrad case "(($ac_try" in
   1728  1.1  riastrad   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1729  1.1  riastrad   *) ac_try_echo=$ac_try;;
   1730  1.1  riastrad esac
   1731  1.1  riastrad eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1732  1.1  riastrad $as_echo "$ac_try_echo"; } >&5
   1733  1.1  riastrad   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1734  1.1  riastrad   ac_status=$?
   1735  1.1  riastrad   if test -s conftest.err; then
   1736  1.1  riastrad     grep -v '^ *+' conftest.err >conftest.er1
   1737  1.1  riastrad     cat conftest.er1 >&5
   1738  1.1  riastrad     mv -f conftest.er1 conftest.err
   1739  1.1  riastrad   fi
   1740  1.1  riastrad   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1741  1.1  riastrad   test $ac_status = 0; } > conftest.i && {
   1742  1.1  riastrad 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1743  1.1  riastrad 	 test ! -s conftest.err
   1744  1.1  riastrad        }; then :
   1745  1.1  riastrad   ac_retval=0
   1746  1.1  riastrad else
   1747  1.1  riastrad   $as_echo "$as_me: failed program was:" >&5
   1748  1.1  riastrad sed 's/^/| /' conftest.$ac_ext >&5
   1749  1.1  riastrad 
   1750  1.1  riastrad     ac_retval=1
   1751  1.1  riastrad fi
   1752  1.1  riastrad   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1753  1.1  riastrad   as_fn_set_status $ac_retval
   1754  1.1  riastrad 
   1755  1.1  riastrad } # ac_fn_c_try_cpp
   1756  1.1  riastrad 
   1757  1.1  riastrad # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1758  1.1  riastrad # -------------------------------------------------------
   1759  1.1  riastrad # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1760  1.1  riastrad # the include files in INCLUDES and setting the cache variable VAR
   1761  1.1  riastrad # accordingly.
   1762  1.1  riastrad ac_fn_c_check_header_mongrel ()
   1763  1.1  riastrad {
   1764  1.1  riastrad   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1765  1.1  riastrad   if eval \${$3+:} false; then :
   1766  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1767  1.1  riastrad $as_echo_n "checking for $2... " >&6; }
   1768  1.1  riastrad if eval \${$3+:} false; then :
   1769  1.1  riastrad   $as_echo_n "(cached) " >&6
   1770  1.1  riastrad fi
   1771  1.1  riastrad eval ac_res=\$$3
   1772  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1773  1.1  riastrad $as_echo "$ac_res" >&6; }
   1774  1.1  riastrad else
   1775  1.1  riastrad   # Is the header compilable?
   1776  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1777  1.1  riastrad $as_echo_n "checking $2 usability... " >&6; }
   1778  1.1  riastrad cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1779  1.1  riastrad /* end confdefs.h.  */
   1780  1.1  riastrad $4
   1781  1.1  riastrad #include <$2>
   1782  1.1  riastrad _ACEOF
   1783  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   1784  1.1  riastrad   ac_header_compiler=yes
   1785  1.1  riastrad else
   1786  1.1  riastrad   ac_header_compiler=no
   1787  1.1  riastrad fi
   1788  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1789  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1790  1.1  riastrad $as_echo "$ac_header_compiler" >&6; }
   1791  1.1  riastrad 
   1792  1.1  riastrad # Is the header present?
   1793  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1794  1.1  riastrad $as_echo_n "checking $2 presence... " >&6; }
   1795  1.1  riastrad cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1796  1.1  riastrad /* end confdefs.h.  */
   1797  1.1  riastrad #include <$2>
   1798  1.1  riastrad _ACEOF
   1799  1.1  riastrad if ac_fn_c_try_cpp "$LINENO"; then :
   1800  1.1  riastrad   ac_header_preproc=yes
   1801  1.1  riastrad else
   1802  1.1  riastrad   ac_header_preproc=no
   1803  1.1  riastrad fi
   1804  1.1  riastrad rm -f conftest.err conftest.i conftest.$ac_ext
   1805  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1806  1.1  riastrad $as_echo "$ac_header_preproc" >&6; }
   1807  1.1  riastrad 
   1808  1.1  riastrad # So?  What about this header?
   1809  1.1  riastrad case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1810  1.1  riastrad   yes:no: )
   1811  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1812  1.1  riastrad $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1813  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1814  1.1  riastrad $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1815  1.1  riastrad     ;;
   1816  1.1  riastrad   no:yes:* )
   1817  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1818  1.1  riastrad $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1819  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1820  1.1  riastrad $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1821  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1822  1.1  riastrad $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1823  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1824  1.1  riastrad $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1825  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1826  1.1  riastrad $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1827  1.1  riastrad ( $as_echo "## ----------------------------------------------------------- ##
   1828  1.1  riastrad ## Report this to https://github.com/jedisct1/libsodium/issues ##
   1829  1.1  riastrad ## ----------------------------------------------------------- ##"
   1830  1.1  riastrad      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1831  1.1  riastrad     ;;
   1832  1.1  riastrad esac
   1833  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1834  1.1  riastrad $as_echo_n "checking for $2... " >&6; }
   1835  1.1  riastrad if eval \${$3+:} false; then :
   1836  1.1  riastrad   $as_echo_n "(cached) " >&6
   1837  1.1  riastrad else
   1838  1.1  riastrad   eval "$3=\$ac_header_compiler"
   1839  1.1  riastrad fi
   1840  1.1  riastrad eval ac_res=\$$3
   1841  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1842  1.1  riastrad $as_echo "$ac_res" >&6; }
   1843  1.1  riastrad fi
   1844  1.1  riastrad   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1845  1.1  riastrad 
   1846  1.1  riastrad } # ac_fn_c_check_header_mongrel
   1847  1.1  riastrad 
   1848  1.1  riastrad # ac_fn_c_try_run LINENO
   1849  1.1  riastrad # ----------------------
   1850  1.1  riastrad # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1851  1.1  riastrad # that executables *can* be run.
   1852  1.1  riastrad ac_fn_c_try_run ()
   1853  1.1  riastrad {
   1854  1.1  riastrad   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1855  1.1  riastrad   if { { ac_try="$ac_link"
   1856  1.1  riastrad case "(($ac_try" in
   1857  1.1  riastrad   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1858  1.1  riastrad   *) ac_try_echo=$ac_try;;
   1859  1.1  riastrad esac
   1860  1.1  riastrad eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1861  1.1  riastrad $as_echo "$ac_try_echo"; } >&5
   1862  1.1  riastrad   (eval "$ac_link") 2>&5
   1863  1.1  riastrad   ac_status=$?
   1864  1.1  riastrad   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1865  1.1  riastrad   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1866  1.1  riastrad   { { case "(($ac_try" in
   1867  1.1  riastrad   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1868  1.1  riastrad   *) ac_try_echo=$ac_try;;
   1869  1.1  riastrad esac
   1870  1.1  riastrad eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1871  1.1  riastrad $as_echo "$ac_try_echo"; } >&5
   1872  1.1  riastrad   (eval "$ac_try") 2>&5
   1873  1.1  riastrad   ac_status=$?
   1874  1.1  riastrad   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1875  1.1  riastrad   test $ac_status = 0; }; }; then :
   1876  1.1  riastrad   ac_retval=0
   1877  1.1  riastrad else
   1878  1.1  riastrad   $as_echo "$as_me: program exited with status $ac_status" >&5
   1879  1.1  riastrad        $as_echo "$as_me: failed program was:" >&5
   1880  1.1  riastrad sed 's/^/| /' conftest.$ac_ext >&5
   1881  1.1  riastrad 
   1882  1.1  riastrad        ac_retval=$ac_status
   1883  1.1  riastrad fi
   1884  1.1  riastrad   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1885  1.1  riastrad   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1886  1.1  riastrad   as_fn_set_status $ac_retval
   1887  1.1  riastrad 
   1888  1.1  riastrad } # ac_fn_c_try_run
   1889  1.1  riastrad 
   1890  1.1  riastrad # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1891  1.1  riastrad # -------------------------------------------------------
   1892  1.1  riastrad # Tests whether HEADER exists and can be compiled using the include files in
   1893  1.1  riastrad # INCLUDES, setting the cache variable VAR accordingly.
   1894  1.1  riastrad ac_fn_c_check_header_compile ()
   1895  1.1  riastrad {
   1896  1.1  riastrad   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1897  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1898  1.1  riastrad $as_echo_n "checking for $2... " >&6; }
   1899  1.1  riastrad if eval \${$3+:} false; then :
   1900  1.1  riastrad   $as_echo_n "(cached) " >&6
   1901  1.1  riastrad else
   1902  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1903  1.1  riastrad /* end confdefs.h.  */
   1904  1.1  riastrad $4
   1905  1.1  riastrad #include <$2>
   1906  1.1  riastrad _ACEOF
   1907  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   1908  1.1  riastrad   eval "$3=yes"
   1909  1.1  riastrad else
   1910  1.1  riastrad   eval "$3=no"
   1911  1.1  riastrad fi
   1912  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1913  1.1  riastrad fi
   1914  1.1  riastrad eval ac_res=\$$3
   1915  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1916  1.1  riastrad $as_echo "$ac_res" >&6; }
   1917  1.1  riastrad   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1918  1.1  riastrad 
   1919  1.1  riastrad } # ac_fn_c_check_header_compile
   1920  1.1  riastrad 
   1921  1.1  riastrad # ac_fn_c_check_func LINENO FUNC VAR
   1922  1.1  riastrad # ----------------------------------
   1923  1.1  riastrad # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1924  1.1  riastrad ac_fn_c_check_func ()
   1925  1.1  riastrad {
   1926  1.1  riastrad   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1927  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1928  1.1  riastrad $as_echo_n "checking for $2... " >&6; }
   1929  1.1  riastrad if eval \${$3+:} false; then :
   1930  1.1  riastrad   $as_echo_n "(cached) " >&6
   1931  1.1  riastrad else
   1932  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1933  1.1  riastrad /* end confdefs.h.  */
   1934  1.1  riastrad /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1935  1.1  riastrad    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1936  1.1  riastrad #define $2 innocuous_$2
   1937  1.1  riastrad 
   1938  1.1  riastrad /* System header to define __stub macros and hopefully few prototypes,
   1939  1.1  riastrad     which can conflict with char $2 (); below.
   1940  1.1  riastrad     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1941  1.1  riastrad     <limits.h> exists even on freestanding compilers.  */
   1942  1.1  riastrad 
   1943  1.1  riastrad #ifdef __STDC__
   1944  1.1  riastrad # include <limits.h>
   1945  1.1  riastrad #else
   1946  1.1  riastrad # include <assert.h>
   1947  1.1  riastrad #endif
   1948  1.1  riastrad 
   1949  1.1  riastrad #undef $2
   1950  1.1  riastrad 
   1951  1.1  riastrad /* Override any GCC internal prototype to avoid an error.
   1952  1.1  riastrad    Use char because int might match the return type of a GCC
   1953  1.1  riastrad    builtin and then its argument prototype would still apply.  */
   1954  1.1  riastrad #ifdef __cplusplus
   1955  1.1  riastrad extern "C"
   1956  1.1  riastrad #endif
   1957  1.1  riastrad char $2 ();
   1958  1.1  riastrad /* The GNU C library defines this for functions which it implements
   1959  1.1  riastrad     to always fail with ENOSYS.  Some functions are actually named
   1960  1.1  riastrad     something starting with __ and the normal name is an alias.  */
   1961  1.1  riastrad #if defined __stub_$2 || defined __stub___$2
   1962  1.1  riastrad choke me
   1963  1.1  riastrad #endif
   1964  1.1  riastrad 
   1965  1.1  riastrad int
   1966  1.1  riastrad main ()
   1967  1.1  riastrad {
   1968  1.1  riastrad return $2 ();
   1969  1.1  riastrad   ;
   1970  1.1  riastrad   return 0;
   1971  1.1  riastrad }
   1972  1.1  riastrad _ACEOF
   1973  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   1974  1.1  riastrad   eval "$3=yes"
   1975  1.1  riastrad else
   1976  1.1  riastrad   eval "$3=no"
   1977  1.1  riastrad fi
   1978  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   1979  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   1980  1.1  riastrad fi
   1981  1.1  riastrad eval ac_res=\$$3
   1982  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1983  1.1  riastrad $as_echo "$ac_res" >&6; }
   1984  1.1  riastrad   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1985  1.1  riastrad 
   1986  1.1  riastrad } # ac_fn_c_check_func
   1987  1.1  riastrad 
   1988  1.1  riastrad # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1989  1.1  riastrad # -------------------------------------------
   1990  1.1  riastrad # Tests whether TYPE exists after having included INCLUDES, setting cache
   1991  1.1  riastrad # variable VAR accordingly.
   1992  1.1  riastrad ac_fn_c_check_type ()
   1993  1.1  riastrad {
   1994  1.1  riastrad   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1995  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1996  1.1  riastrad $as_echo_n "checking for $2... " >&6; }
   1997  1.1  riastrad if eval \${$3+:} false; then :
   1998  1.1  riastrad   $as_echo_n "(cached) " >&6
   1999  1.1  riastrad else
   2000  1.1  riastrad   eval "$3=no"
   2001  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2002  1.1  riastrad /* end confdefs.h.  */
   2003  1.1  riastrad $4
   2004  1.1  riastrad int
   2005  1.1  riastrad main ()
   2006  1.1  riastrad {
   2007  1.1  riastrad if (sizeof ($2))
   2008  1.1  riastrad 	 return 0;
   2009  1.1  riastrad   ;
   2010  1.1  riastrad   return 0;
   2011  1.1  riastrad }
   2012  1.1  riastrad _ACEOF
   2013  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   2014  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2015  1.1  riastrad /* end confdefs.h.  */
   2016  1.1  riastrad $4
   2017  1.1  riastrad int
   2018  1.1  riastrad main ()
   2019  1.1  riastrad {
   2020  1.1  riastrad if (sizeof (($2)))
   2021  1.1  riastrad 	    return 0;
   2022  1.1  riastrad   ;
   2023  1.1  riastrad   return 0;
   2024  1.1  riastrad }
   2025  1.1  riastrad _ACEOF
   2026  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   2027  1.1  riastrad 
   2028  1.1  riastrad else
   2029  1.1  riastrad   eval "$3=yes"
   2030  1.1  riastrad fi
   2031  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2032  1.1  riastrad fi
   2033  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2034  1.1  riastrad fi
   2035  1.1  riastrad eval ac_res=\$$3
   2036  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2037  1.1  riastrad $as_echo "$ac_res" >&6; }
   2038  1.1  riastrad   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2039  1.1  riastrad 
   2040  1.1  riastrad } # ac_fn_c_check_type
   2041  1.1  riastrad cat >config.log <<_ACEOF
   2042  1.1  riastrad This file contains any messages produced by compilers while
   2043  1.1  riastrad running configure, to aid debugging if configure makes a mistake.
   2044  1.1  riastrad 
   2045  1.1  riastrad It was created by libsodium $as_me 1.0.16, which was
   2046  1.1  riastrad generated by GNU Autoconf 2.69.  Invocation command line was
   2047  1.1  riastrad 
   2048  1.1  riastrad   $ $0 $@
   2049  1.1  riastrad 
   2050  1.1  riastrad _ACEOF
   2051  1.1  riastrad exec 5>>config.log
   2052  1.1  riastrad {
   2053  1.1  riastrad cat <<_ASUNAME
   2054  1.1  riastrad ## --------- ##
   2055  1.1  riastrad ## Platform. ##
   2056  1.1  riastrad ## --------- ##
   2057  1.1  riastrad 
   2058  1.1  riastrad hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2059  1.1  riastrad uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2060  1.1  riastrad uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2061  1.1  riastrad uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2062  1.1  riastrad uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2063  1.1  riastrad 
   2064  1.1  riastrad /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2065  1.1  riastrad /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2066  1.1  riastrad 
   2067  1.1  riastrad /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2068  1.1  riastrad /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2069  1.1  riastrad /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2070  1.1  riastrad /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2071  1.1  riastrad /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2072  1.1  riastrad /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2073  1.1  riastrad /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2074  1.1  riastrad 
   2075  1.1  riastrad _ASUNAME
   2076  1.1  riastrad 
   2077  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2078  1.1  riastrad for as_dir in $PATH
   2079  1.1  riastrad do
   2080  1.1  riastrad   IFS=$as_save_IFS
   2081  1.1  riastrad   test -z "$as_dir" && as_dir=.
   2082  1.1  riastrad     $as_echo "PATH: $as_dir"
   2083  1.1  riastrad   done
   2084  1.1  riastrad IFS=$as_save_IFS
   2085  1.1  riastrad 
   2086  1.1  riastrad } >&5
   2087  1.1  riastrad 
   2088  1.1  riastrad cat >&5 <<_ACEOF
   2089  1.1  riastrad 
   2090  1.1  riastrad 
   2091  1.1  riastrad ## ----------- ##
   2092  1.1  riastrad ## Core tests. ##
   2093  1.1  riastrad ## ----------- ##
   2094  1.1  riastrad 
   2095  1.1  riastrad _ACEOF
   2096  1.1  riastrad 
   2097  1.1  riastrad 
   2098  1.1  riastrad # Keep a trace of the command line.
   2099  1.1  riastrad # Strip out --no-create and --no-recursion so they do not pile up.
   2100  1.1  riastrad # Strip out --silent because we don't want to record it for future runs.
   2101  1.1  riastrad # Also quote any args containing shell meta-characters.
   2102  1.1  riastrad # Make two passes to allow for proper duplicate-argument suppression.
   2103  1.1  riastrad ac_configure_args=
   2104  1.1  riastrad ac_configure_args0=
   2105  1.1  riastrad ac_configure_args1=
   2106  1.1  riastrad ac_must_keep_next=false
   2107  1.1  riastrad for ac_pass in 1 2
   2108  1.1  riastrad do
   2109  1.1  riastrad   for ac_arg
   2110  1.1  riastrad   do
   2111  1.1  riastrad     case $ac_arg in
   2112  1.1  riastrad     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2113  1.1  riastrad     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2114  1.1  riastrad     | -silent | --silent | --silen | --sile | --sil)
   2115  1.1  riastrad       continue ;;
   2116  1.1  riastrad     *\'*)
   2117  1.1  riastrad       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2118  1.1  riastrad     esac
   2119  1.1  riastrad     case $ac_pass in
   2120  1.1  riastrad     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2121  1.1  riastrad     2)
   2122  1.1  riastrad       as_fn_append ac_configure_args1 " '$ac_arg'"
   2123  1.1  riastrad       if test $ac_must_keep_next = true; then
   2124  1.1  riastrad 	ac_must_keep_next=false # Got value, back to normal.
   2125  1.1  riastrad       else
   2126  1.1  riastrad 	case $ac_arg in
   2127  1.1  riastrad 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2128  1.1  riastrad 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2129  1.1  riastrad 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2130  1.1  riastrad 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2131  1.1  riastrad 	    case "$ac_configure_args0 " in
   2132  1.1  riastrad 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2133  1.1  riastrad 	    esac
   2134  1.1  riastrad 	    ;;
   2135  1.1  riastrad 	  -* ) ac_must_keep_next=true ;;
   2136  1.1  riastrad 	esac
   2137  1.1  riastrad       fi
   2138  1.1  riastrad       as_fn_append ac_configure_args " '$ac_arg'"
   2139  1.1  riastrad       ;;
   2140  1.1  riastrad     esac
   2141  1.1  riastrad   done
   2142  1.1  riastrad done
   2143  1.1  riastrad { ac_configure_args0=; unset ac_configure_args0;}
   2144  1.1  riastrad { ac_configure_args1=; unset ac_configure_args1;}
   2145  1.1  riastrad 
   2146  1.1  riastrad # When interrupted or exit'd, cleanup temporary files, and complete
   2147  1.1  riastrad # config.log.  We remove comments because anyway the quotes in there
   2148  1.1  riastrad # would cause problems or look ugly.
   2149  1.1  riastrad # WARNING: Use '\'' to represent an apostrophe within the trap.
   2150  1.1  riastrad # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2151  1.1  riastrad trap 'exit_status=$?
   2152  1.1  riastrad   # Save into config.log some information that might help in debugging.
   2153  1.1  riastrad   {
   2154  1.1  riastrad     echo
   2155  1.1  riastrad 
   2156  1.1  riastrad     $as_echo "## ---------------- ##
   2157  1.1  riastrad ## Cache variables. ##
   2158  1.1  riastrad ## ---------------- ##"
   2159  1.1  riastrad     echo
   2160  1.1  riastrad     # The following way of writing the cache mishandles newlines in values,
   2161  1.1  riastrad (
   2162  1.1  riastrad   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2163  1.1  riastrad     eval ac_val=\$$ac_var
   2164  1.1  riastrad     case $ac_val in #(
   2165  1.1  riastrad     *${as_nl}*)
   2166  1.1  riastrad       case $ac_var in #(
   2167  1.1  riastrad       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2168  1.1  riastrad $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2169  1.1  riastrad       esac
   2170  1.1  riastrad       case $ac_var in #(
   2171  1.1  riastrad       _ | IFS | as_nl) ;; #(
   2172  1.1  riastrad       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2173  1.1  riastrad       *) { eval $ac_var=; unset $ac_var;} ;;
   2174  1.1  riastrad       esac ;;
   2175  1.1  riastrad     esac
   2176  1.1  riastrad   done
   2177  1.1  riastrad   (set) 2>&1 |
   2178  1.1  riastrad     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2179  1.1  riastrad     *${as_nl}ac_space=\ *)
   2180  1.1  riastrad       sed -n \
   2181  1.1  riastrad 	"s/'\''/'\''\\\\'\'''\''/g;
   2182  1.1  riastrad 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2183  1.1  riastrad       ;; #(
   2184  1.1  riastrad     *)
   2185  1.1  riastrad       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2186  1.1  riastrad       ;;
   2187  1.1  riastrad     esac |
   2188  1.1  riastrad     sort
   2189  1.1  riastrad )
   2190  1.1  riastrad     echo
   2191  1.1  riastrad 
   2192  1.1  riastrad     $as_echo "## ----------------- ##
   2193  1.1  riastrad ## Output variables. ##
   2194  1.1  riastrad ## ----------------- ##"
   2195  1.1  riastrad     echo
   2196  1.1  riastrad     for ac_var in $ac_subst_vars
   2197  1.1  riastrad     do
   2198  1.1  riastrad       eval ac_val=\$$ac_var
   2199  1.1  riastrad       case $ac_val in
   2200  1.1  riastrad       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2201  1.1  riastrad       esac
   2202  1.1  riastrad       $as_echo "$ac_var='\''$ac_val'\''"
   2203  1.1  riastrad     done | sort
   2204  1.1  riastrad     echo
   2205  1.1  riastrad 
   2206  1.1  riastrad     if test -n "$ac_subst_files"; then
   2207  1.1  riastrad       $as_echo "## ------------------- ##
   2208  1.1  riastrad ## File substitutions. ##
   2209  1.1  riastrad ## ------------------- ##"
   2210  1.1  riastrad       echo
   2211  1.1  riastrad       for ac_var in $ac_subst_files
   2212  1.1  riastrad       do
   2213  1.1  riastrad 	eval ac_val=\$$ac_var
   2214  1.1  riastrad 	case $ac_val in
   2215  1.1  riastrad 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2216  1.1  riastrad 	esac
   2217  1.1  riastrad 	$as_echo "$ac_var='\''$ac_val'\''"
   2218  1.1  riastrad       done | sort
   2219  1.1  riastrad       echo
   2220  1.1  riastrad     fi
   2221  1.1  riastrad 
   2222  1.1  riastrad     if test -s confdefs.h; then
   2223  1.1  riastrad       $as_echo "## ----------- ##
   2224  1.1  riastrad ## confdefs.h. ##
   2225  1.1  riastrad ## ----------- ##"
   2226  1.1  riastrad       echo
   2227  1.1  riastrad       cat confdefs.h
   2228  1.1  riastrad       echo
   2229  1.1  riastrad     fi
   2230  1.1  riastrad     test "$ac_signal" != 0 &&
   2231  1.1  riastrad       $as_echo "$as_me: caught signal $ac_signal"
   2232  1.1  riastrad     $as_echo "$as_me: exit $exit_status"
   2233  1.1  riastrad   } >&5
   2234  1.1  riastrad   rm -f core *.core core.conftest.* &&
   2235  1.1  riastrad     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2236  1.1  riastrad     exit $exit_status
   2237  1.1  riastrad ' 0
   2238  1.1  riastrad for ac_signal in 1 2 13 15; do
   2239  1.1  riastrad   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2240  1.1  riastrad done
   2241  1.1  riastrad ac_signal=0
   2242  1.1  riastrad 
   2243  1.1  riastrad # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2244  1.1  riastrad rm -f -r conftest* confdefs.h
   2245  1.1  riastrad 
   2246  1.1  riastrad $as_echo "/* confdefs.h */" > confdefs.h
   2247  1.1  riastrad 
   2248  1.1  riastrad # Predefined preprocessor variables.
   2249  1.1  riastrad 
   2250  1.1  riastrad cat >>confdefs.h <<_ACEOF
   2251  1.1  riastrad #define PACKAGE_NAME "$PACKAGE_NAME"
   2252  1.1  riastrad _ACEOF
   2253  1.1  riastrad 
   2254  1.1  riastrad cat >>confdefs.h <<_ACEOF
   2255  1.1  riastrad #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2256  1.1  riastrad _ACEOF
   2257  1.1  riastrad 
   2258  1.1  riastrad cat >>confdefs.h <<_ACEOF
   2259  1.1  riastrad #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2260  1.1  riastrad _ACEOF
   2261  1.1  riastrad 
   2262  1.1  riastrad cat >>confdefs.h <<_ACEOF
   2263  1.1  riastrad #define PACKAGE_STRING "$PACKAGE_STRING"
   2264  1.1  riastrad _ACEOF
   2265  1.1  riastrad 
   2266  1.1  riastrad cat >>confdefs.h <<_ACEOF
   2267  1.1  riastrad #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2268  1.1  riastrad _ACEOF
   2269  1.1  riastrad 
   2270  1.1  riastrad cat >>confdefs.h <<_ACEOF
   2271  1.1  riastrad #define PACKAGE_URL "$PACKAGE_URL"
   2272  1.1  riastrad _ACEOF
   2273  1.1  riastrad 
   2274  1.1  riastrad 
   2275  1.1  riastrad # Let the site file select an alternate cache file if it wants to.
   2276  1.1  riastrad # Prefer an explicitly selected file to automatically selected ones.
   2277  1.1  riastrad ac_site_file1=NONE
   2278  1.1  riastrad ac_site_file2=NONE
   2279  1.1  riastrad if test -n "$CONFIG_SITE"; then
   2280  1.1  riastrad   # We do not want a PATH search for config.site.
   2281  1.1  riastrad   case $CONFIG_SITE in #((
   2282  1.1  riastrad     -*)  ac_site_file1=./$CONFIG_SITE;;
   2283  1.1  riastrad     */*) ac_site_file1=$CONFIG_SITE;;
   2284  1.1  riastrad     *)   ac_site_file1=./$CONFIG_SITE;;
   2285  1.1  riastrad   esac
   2286  1.1  riastrad elif test "x$prefix" != xNONE; then
   2287  1.1  riastrad   ac_site_file1=$prefix/share/config.site
   2288  1.1  riastrad   ac_site_file2=$prefix/etc/config.site
   2289  1.1  riastrad else
   2290  1.1  riastrad   ac_site_file1=$ac_default_prefix/share/config.site
   2291  1.1  riastrad   ac_site_file2=$ac_default_prefix/etc/config.site
   2292  1.1  riastrad fi
   2293  1.1  riastrad for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2294  1.1  riastrad do
   2295  1.1  riastrad   test "x$ac_site_file" = xNONE && continue
   2296  1.1  riastrad   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2297  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2298  1.1  riastrad $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2299  1.1  riastrad     sed 's/^/| /' "$ac_site_file" >&5
   2300  1.1  riastrad     . "$ac_site_file" \
   2301  1.1  riastrad       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2302  1.1  riastrad $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2303  1.1  riastrad as_fn_error $? "failed to load site script $ac_site_file
   2304  1.1  riastrad See \`config.log' for more details" "$LINENO" 5; }
   2305  1.1  riastrad   fi
   2306  1.1  riastrad done
   2307  1.1  riastrad 
   2308  1.1  riastrad if test -r "$cache_file"; then
   2309  1.1  riastrad   # Some versions of bash will fail to source /dev/null (special files
   2310  1.1  riastrad   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2311  1.1  riastrad   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2312  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2313  1.1  riastrad $as_echo "$as_me: loading cache $cache_file" >&6;}
   2314  1.1  riastrad     case $cache_file in
   2315  1.1  riastrad       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2316  1.1  riastrad       *)                      . "./$cache_file";;
   2317  1.1  riastrad     esac
   2318  1.1  riastrad   fi
   2319  1.1  riastrad else
   2320  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2321  1.1  riastrad $as_echo "$as_me: creating cache $cache_file" >&6;}
   2322  1.1  riastrad   >$cache_file
   2323  1.1  riastrad fi
   2324  1.1  riastrad 
   2325  1.1  riastrad # Check that the precious variables saved in the cache have kept the same
   2326  1.1  riastrad # value.
   2327  1.1  riastrad ac_cache_corrupted=false
   2328  1.1  riastrad for ac_var in $ac_precious_vars; do
   2329  1.1  riastrad   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2330  1.1  riastrad   eval ac_new_set=\$ac_env_${ac_var}_set
   2331  1.1  riastrad   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2332  1.1  riastrad   eval ac_new_val=\$ac_env_${ac_var}_value
   2333  1.1  riastrad   case $ac_old_set,$ac_new_set in
   2334  1.1  riastrad     set,)
   2335  1.1  riastrad       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2336  1.1  riastrad $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2337  1.1  riastrad       ac_cache_corrupted=: ;;
   2338  1.1  riastrad     ,set)
   2339  1.1  riastrad       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2340  1.1  riastrad $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2341  1.1  riastrad       ac_cache_corrupted=: ;;
   2342  1.1  riastrad     ,);;
   2343  1.1  riastrad     *)
   2344  1.1  riastrad       if test "x$ac_old_val" != "x$ac_new_val"; then
   2345  1.1  riastrad 	# differences in whitespace do not lead to failure.
   2346  1.1  riastrad 	ac_old_val_w=`echo x $ac_old_val`
   2347  1.1  riastrad 	ac_new_val_w=`echo x $ac_new_val`
   2348  1.1  riastrad 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2349  1.1  riastrad 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2350  1.1  riastrad $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2351  1.1  riastrad 	  ac_cache_corrupted=:
   2352  1.1  riastrad 	else
   2353  1.1  riastrad 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2354  1.1  riastrad $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2355  1.1  riastrad 	  eval $ac_var=\$ac_old_val
   2356  1.1  riastrad 	fi
   2357  1.1  riastrad 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2358  1.1  riastrad $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2359  1.1  riastrad 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2360  1.1  riastrad $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2361  1.1  riastrad       fi;;
   2362  1.1  riastrad   esac
   2363  1.1  riastrad   # Pass precious variables to config.status.
   2364  1.1  riastrad   if test "$ac_new_set" = set; then
   2365  1.1  riastrad     case $ac_new_val in
   2366  1.1  riastrad     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2367  1.1  riastrad     *) ac_arg=$ac_var=$ac_new_val ;;
   2368  1.1  riastrad     esac
   2369  1.1  riastrad     case " $ac_configure_args " in
   2370  1.1  riastrad       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2371  1.1  riastrad       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2372  1.1  riastrad     esac
   2373  1.1  riastrad   fi
   2374  1.1  riastrad done
   2375  1.1  riastrad if $ac_cache_corrupted; then
   2376  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2377  1.1  riastrad $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2378  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2379  1.1  riastrad $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2380  1.1  riastrad   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2381  1.1  riastrad fi
   2382  1.1  riastrad ## -------------------- ##
   2383  1.1  riastrad ## Main body of script. ##
   2384  1.1  riastrad ## -------------------- ##
   2385  1.1  riastrad 
   2386  1.1  riastrad ac_ext=c
   2387  1.1  riastrad ac_cpp='$CPP $CPPFLAGS'
   2388  1.1  riastrad ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2389  1.1  riastrad ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2390  1.1  riastrad ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2391  1.1  riastrad 
   2392  1.1  riastrad 
   2393  1.1  riastrad ac_aux_dir=
   2394  1.1  riastrad for ac_dir in build-aux "$srcdir"/build-aux; do
   2395  1.1  riastrad   if test -f "$ac_dir/install-sh"; then
   2396  1.1  riastrad     ac_aux_dir=$ac_dir
   2397  1.1  riastrad     ac_install_sh="$ac_aux_dir/install-sh -c"
   2398  1.1  riastrad     break
   2399  1.1  riastrad   elif test -f "$ac_dir/install.sh"; then
   2400  1.1  riastrad     ac_aux_dir=$ac_dir
   2401  1.1  riastrad     ac_install_sh="$ac_aux_dir/install.sh -c"
   2402  1.1  riastrad     break
   2403  1.1  riastrad   elif test -f "$ac_dir/shtool"; then
   2404  1.1  riastrad     ac_aux_dir=$ac_dir
   2405  1.1  riastrad     ac_install_sh="$ac_aux_dir/shtool install -c"
   2406  1.1  riastrad     break
   2407  1.1  riastrad   fi
   2408  1.1  riastrad done
   2409  1.1  riastrad if test -z "$ac_aux_dir"; then
   2410  1.1  riastrad   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
   2411  1.1  riastrad fi
   2412  1.1  riastrad 
   2413  1.1  riastrad # These three variables are undocumented and unsupported,
   2414  1.1  riastrad # and are intended to be withdrawn in a future Autoconf release.
   2415  1.1  riastrad # They can cause serious problems if a builder's source tree is in a directory
   2416  1.1  riastrad # whose full name contains unusual characters.
   2417  1.1  riastrad ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2418  1.1  riastrad ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2419  1.1  riastrad ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2420  1.1  riastrad 
   2421  1.1  riastrad 
   2422  1.1  riastrad 
   2423  1.1  riastrad 
   2424  1.1  riastrad # Make sure we can run config.sub.
   2425  1.1  riastrad $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2426  1.1  riastrad   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2427  1.1  riastrad 
   2428  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2429  1.1  riastrad $as_echo_n "checking build system type... " >&6; }
   2430  1.1  riastrad if ${ac_cv_build+:} false; then :
   2431  1.1  riastrad   $as_echo_n "(cached) " >&6
   2432  1.1  riastrad else
   2433  1.1  riastrad   ac_build_alias=$build_alias
   2434  1.1  riastrad test "x$ac_build_alias" = x &&
   2435  1.1  riastrad   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2436  1.1  riastrad test "x$ac_build_alias" = x &&
   2437  1.1  riastrad   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2438  1.1  riastrad ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2439  1.1  riastrad   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2440  1.1  riastrad 
   2441  1.1  riastrad fi
   2442  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2443  1.1  riastrad $as_echo "$ac_cv_build" >&6; }
   2444  1.1  riastrad case $ac_cv_build in
   2445  1.1  riastrad *-*-*) ;;
   2446  1.1  riastrad *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2447  1.1  riastrad esac
   2448  1.1  riastrad build=$ac_cv_build
   2449  1.1  riastrad ac_save_IFS=$IFS; IFS='-'
   2450  1.1  riastrad set x $ac_cv_build
   2451  1.1  riastrad shift
   2452  1.1  riastrad build_cpu=$1
   2453  1.1  riastrad build_vendor=$2
   2454  1.1  riastrad shift; shift
   2455  1.1  riastrad # Remember, the first character of IFS is used to create $*,
   2456  1.1  riastrad # except with old shells:
   2457  1.1  riastrad build_os=$*
   2458  1.1  riastrad IFS=$ac_save_IFS
   2459  1.1  riastrad case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2460  1.1  riastrad 
   2461  1.1  riastrad 
   2462  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2463  1.1  riastrad $as_echo_n "checking host system type... " >&6; }
   2464  1.1  riastrad if ${ac_cv_host+:} false; then :
   2465  1.1  riastrad   $as_echo_n "(cached) " >&6
   2466  1.1  riastrad else
   2467  1.1  riastrad   if test "x$host_alias" = x; then
   2468  1.1  riastrad   ac_cv_host=$ac_cv_build
   2469  1.1  riastrad else
   2470  1.1  riastrad   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2471  1.1  riastrad     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2472  1.1  riastrad fi
   2473  1.1  riastrad 
   2474  1.1  riastrad fi
   2475  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2476  1.1  riastrad $as_echo "$ac_cv_host" >&6; }
   2477  1.1  riastrad case $ac_cv_host in
   2478  1.1  riastrad *-*-*) ;;
   2479  1.1  riastrad *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2480  1.1  riastrad esac
   2481  1.1  riastrad host=$ac_cv_host
   2482  1.1  riastrad ac_save_IFS=$IFS; IFS='-'
   2483  1.1  riastrad set x $ac_cv_host
   2484  1.1  riastrad shift
   2485  1.1  riastrad host_cpu=$1
   2486  1.1  riastrad host_vendor=$2
   2487  1.1  riastrad shift; shift
   2488  1.1  riastrad # Remember, the first character of IFS is used to create $*,
   2489  1.1  riastrad # except with old shells:
   2490  1.1  riastrad host_os=$*
   2491  1.1  riastrad IFS=$ac_save_IFS
   2492  1.1  riastrad case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2493  1.1  riastrad 
   2494  1.1  riastrad 
   2495  1.1  riastrad am__api_version='1.15'
   2496  1.1  riastrad 
   2497  1.1  riastrad # Find a good install program.  We prefer a C program (faster),
   2498  1.1  riastrad # so one script is as good as another.  But avoid the broken or
   2499  1.1  riastrad # incompatible versions:
   2500  1.1  riastrad # SysV /etc/install, /usr/sbin/install
   2501  1.1  riastrad # SunOS /usr/etc/install
   2502  1.1  riastrad # IRIX /sbin/install
   2503  1.1  riastrad # AIX /bin/install
   2504  1.1  riastrad # AmigaOS /C/install, which installs bootblocks on floppy discs
   2505  1.1  riastrad # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2506  1.1  riastrad # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2507  1.1  riastrad # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2508  1.1  riastrad # OS/2's system install, which has a completely different semantic
   2509  1.1  riastrad # ./install, which can be erroneously created by make from ./install.sh.
   2510  1.1  riastrad # Reject install programs that cannot install multiple files.
   2511  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2512  1.1  riastrad $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2513  1.1  riastrad if test -z "$INSTALL"; then
   2514  1.1  riastrad if ${ac_cv_path_install+:} false; then :
   2515  1.1  riastrad   $as_echo_n "(cached) " >&6
   2516  1.1  riastrad else
   2517  1.1  riastrad   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2518  1.1  riastrad for as_dir in $PATH
   2519  1.1  riastrad do
   2520  1.1  riastrad   IFS=$as_save_IFS
   2521  1.1  riastrad   test -z "$as_dir" && as_dir=.
   2522  1.1  riastrad     # Account for people who put trailing slashes in PATH elements.
   2523  1.1  riastrad case $as_dir/ in #((
   2524  1.1  riastrad   ./ | .// | /[cC]/* | \
   2525  1.1  riastrad   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2526  1.1  riastrad   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2527  1.1  riastrad   /usr/ucb/* ) ;;
   2528  1.1  riastrad   *)
   2529  1.1  riastrad     # OSF1 and SCO ODT 3.0 have their own names for install.
   2530  1.1  riastrad     # Don't use installbsd from OSF since it installs stuff as root
   2531  1.1  riastrad     # by default.
   2532  1.1  riastrad     for ac_prog in ginstall scoinst install; do
   2533  1.1  riastrad       for ac_exec_ext in '' $ac_executable_extensions; do
   2534  1.1  riastrad 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2535  1.1  riastrad 	  if test $ac_prog = install &&
   2536  1.1  riastrad 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2537  1.1  riastrad 	    # AIX install.  It has an incompatible calling convention.
   2538  1.1  riastrad 	    :
   2539  1.1  riastrad 	  elif test $ac_prog = install &&
   2540  1.1  riastrad 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2541  1.1  riastrad 	    # program-specific install script used by HP pwplus--don't use.
   2542  1.1  riastrad 	    :
   2543  1.1  riastrad 	  else
   2544  1.1  riastrad 	    rm -rf conftest.one conftest.two conftest.dir
   2545  1.1  riastrad 	    echo one > conftest.one
   2546  1.1  riastrad 	    echo two > conftest.two
   2547  1.1  riastrad 	    mkdir conftest.dir
   2548  1.1  riastrad 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2549  1.1  riastrad 	      test -s conftest.one && test -s conftest.two &&
   2550  1.1  riastrad 	      test -s conftest.dir/conftest.one &&
   2551  1.1  riastrad 	      test -s conftest.dir/conftest.two
   2552  1.1  riastrad 	    then
   2553  1.1  riastrad 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2554  1.1  riastrad 	      break 3
   2555  1.1  riastrad 	    fi
   2556  1.1  riastrad 	  fi
   2557  1.1  riastrad 	fi
   2558  1.1  riastrad       done
   2559  1.1  riastrad     done
   2560  1.1  riastrad     ;;
   2561  1.1  riastrad esac
   2562  1.1  riastrad 
   2563  1.1  riastrad   done
   2564  1.1  riastrad IFS=$as_save_IFS
   2565  1.1  riastrad 
   2566  1.1  riastrad rm -rf conftest.one conftest.two conftest.dir
   2567  1.1  riastrad 
   2568  1.1  riastrad fi
   2569  1.1  riastrad   if test "${ac_cv_path_install+set}" = set; then
   2570  1.1  riastrad     INSTALL=$ac_cv_path_install
   2571  1.1  riastrad   else
   2572  1.1  riastrad     # As a last resort, use the slow shell script.  Don't cache a
   2573  1.1  riastrad     # value for INSTALL within a source directory, because that will
   2574  1.1  riastrad     # break other packages using the cache if that directory is
   2575  1.1  riastrad     # removed, or if the value is a relative name.
   2576  1.1  riastrad     INSTALL=$ac_install_sh
   2577  1.1  riastrad   fi
   2578  1.1  riastrad fi
   2579  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2580  1.1  riastrad $as_echo "$INSTALL" >&6; }
   2581  1.1  riastrad 
   2582  1.1  riastrad # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2583  1.1  riastrad # It thinks the first close brace ends the variable substitution.
   2584  1.1  riastrad test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2585  1.1  riastrad 
   2586  1.1  riastrad test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2587  1.1  riastrad 
   2588  1.1  riastrad test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2589  1.1  riastrad 
   2590  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2591  1.1  riastrad $as_echo_n "checking whether build environment is sane... " >&6; }
   2592  1.1  riastrad # Reject unsafe characters in $srcdir or the absolute working directory
   2593  1.1  riastrad # name.  Accept space and tab only in the latter.
   2594  1.1  riastrad am_lf='
   2595  1.1  riastrad '
   2596  1.1  riastrad case `pwd` in
   2597  1.1  riastrad   *[\\\"\#\$\&\'\`$am_lf]*)
   2598  1.1  riastrad     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2599  1.1  riastrad esac
   2600  1.1  riastrad case $srcdir in
   2601  1.1  riastrad   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2602  1.1  riastrad     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2603  1.1  riastrad esac
   2604  1.1  riastrad 
   2605  1.1  riastrad # Do 'set' in a subshell so we don't clobber the current shell's
   2606  1.1  riastrad # arguments.  Must try -L first in case configure is actually a
   2607  1.1  riastrad # symlink; some systems play weird games with the mod time of symlinks
   2608  1.1  riastrad # (eg FreeBSD returns the mod time of the symlink's containing
   2609  1.1  riastrad # directory).
   2610  1.1  riastrad if (
   2611  1.1  riastrad    am_has_slept=no
   2612  1.1  riastrad    for am_try in 1 2; do
   2613  1.1  riastrad      echo "timestamp, slept: $am_has_slept" > conftest.file
   2614  1.1  riastrad      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2615  1.1  riastrad      if test "$*" = "X"; then
   2616  1.1  riastrad 	# -L didn't work.
   2617  1.1  riastrad 	set X `ls -t "$srcdir/configure" conftest.file`
   2618  1.1  riastrad      fi
   2619  1.1  riastrad      if test "$*" != "X $srcdir/configure conftest.file" \
   2620  1.1  riastrad 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2621  1.1  riastrad 
   2622  1.1  riastrad 	# If neither matched, then we have a broken ls.  This can happen
   2623  1.1  riastrad 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2624  1.1  riastrad 	# broken ls alias from the environment.  This has actually
   2625  1.1  riastrad 	# happened.  Such a system could not be considered "sane".
   2626  1.1  riastrad 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2627  1.1  riastrad   alias in your environment" "$LINENO" 5
   2628  1.1  riastrad      fi
   2629  1.1  riastrad      if test "$2" = conftest.file || test $am_try -eq 2; then
   2630  1.1  riastrad        break
   2631  1.1  riastrad      fi
   2632  1.1  riastrad      # Just in case.
   2633  1.1  riastrad      sleep 1
   2634  1.1  riastrad      am_has_slept=yes
   2635  1.1  riastrad    done
   2636  1.1  riastrad    test "$2" = conftest.file
   2637  1.1  riastrad    )
   2638  1.1  riastrad then
   2639  1.1  riastrad    # Ok.
   2640  1.1  riastrad    :
   2641  1.1  riastrad else
   2642  1.1  riastrad    as_fn_error $? "newly created file is older than distributed files!
   2643  1.1  riastrad Check your system clock" "$LINENO" 5
   2644  1.1  riastrad fi
   2645  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2646  1.1  riastrad $as_echo "yes" >&6; }
   2647  1.1  riastrad # If we didn't sleep, we still need to ensure time stamps of config.status and
   2648  1.1  riastrad # generated files are strictly newer.
   2649  1.1  riastrad am_sleep_pid=
   2650  1.1  riastrad if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2651  1.1  riastrad   ( sleep 1 ) &
   2652  1.1  riastrad   am_sleep_pid=$!
   2653  1.1  riastrad fi
   2654  1.1  riastrad 
   2655  1.1  riastrad rm -f conftest.file
   2656  1.1  riastrad 
   2657  1.1  riastrad test "$program_prefix" != NONE &&
   2658  1.1  riastrad   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2659  1.1  riastrad # Use a double $ so make ignores it.
   2660  1.1  riastrad test "$program_suffix" != NONE &&
   2661  1.1  riastrad   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2662  1.1  riastrad # Double any \ or $.
   2663  1.1  riastrad # By default was `s,x,x', remove it if useless.
   2664  1.1  riastrad ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2665  1.1  riastrad program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2666  1.1  riastrad 
   2667  1.1  riastrad # Expand $ac_aux_dir to an absolute path.
   2668  1.1  riastrad am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2669  1.1  riastrad 
   2670  1.1  riastrad if test x"${MISSING+set}" != xset; then
   2671  1.1  riastrad   case $am_aux_dir in
   2672  1.1  riastrad   *\ * | *\	*)
   2673  1.1  riastrad     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2674  1.1  riastrad   *)
   2675  1.1  riastrad     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2676  1.1  riastrad   esac
   2677  1.1  riastrad fi
   2678  1.1  riastrad # Use eval to expand $SHELL
   2679  1.1  riastrad if eval "$MISSING --is-lightweight"; then
   2680  1.1  riastrad   am_missing_run="$MISSING "
   2681  1.1  riastrad else
   2682  1.1  riastrad   am_missing_run=
   2683  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2684  1.1  riastrad $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2685  1.1  riastrad fi
   2686  1.1  riastrad 
   2687  1.1  riastrad if test x"${install_sh+set}" != xset; then
   2688  1.1  riastrad   case $am_aux_dir in
   2689  1.1  riastrad   *\ * | *\	*)
   2690  1.1  riastrad     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2691  1.1  riastrad   *)
   2692  1.1  riastrad     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2693  1.1  riastrad   esac
   2694  1.1  riastrad fi
   2695  1.1  riastrad 
   2696  1.1  riastrad # Installed binaries are usually stripped using 'strip' when the user
   2697  1.1  riastrad # run "make install-strip".  However 'strip' might not be the right
   2698  1.1  riastrad # tool to use in cross-compilation environments, therefore Automake
   2699  1.1  riastrad # will honor the 'STRIP' environment variable to overrule this program.
   2700  1.1  riastrad if test "$cross_compiling" != no; then
   2701  1.1  riastrad   if test -n "$ac_tool_prefix"; then
   2702  1.1  riastrad   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2703  1.1  riastrad set dummy ${ac_tool_prefix}strip; ac_word=$2
   2704  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2705  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   2706  1.1  riastrad if ${ac_cv_prog_STRIP+:} false; then :
   2707  1.1  riastrad   $as_echo_n "(cached) " >&6
   2708  1.1  riastrad else
   2709  1.1  riastrad   if test -n "$STRIP"; then
   2710  1.1  riastrad   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2711  1.1  riastrad else
   2712  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2713  1.1  riastrad for as_dir in $PATH
   2714  1.1  riastrad do
   2715  1.1  riastrad   IFS=$as_save_IFS
   2716  1.1  riastrad   test -z "$as_dir" && as_dir=.
   2717  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   2718  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2719  1.1  riastrad     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2720  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2721  1.1  riastrad     break 2
   2722  1.1  riastrad   fi
   2723  1.1  riastrad done
   2724  1.1  riastrad   done
   2725  1.1  riastrad IFS=$as_save_IFS
   2726  1.1  riastrad 
   2727  1.1  riastrad fi
   2728  1.1  riastrad fi
   2729  1.1  riastrad STRIP=$ac_cv_prog_STRIP
   2730  1.1  riastrad if test -n "$STRIP"; then
   2731  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2732  1.1  riastrad $as_echo "$STRIP" >&6; }
   2733  1.1  riastrad else
   2734  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2735  1.1  riastrad $as_echo "no" >&6; }
   2736  1.1  riastrad fi
   2737  1.1  riastrad 
   2738  1.1  riastrad 
   2739  1.1  riastrad fi
   2740  1.1  riastrad if test -z "$ac_cv_prog_STRIP"; then
   2741  1.1  riastrad   ac_ct_STRIP=$STRIP
   2742  1.1  riastrad   # Extract the first word of "strip", so it can be a program name with args.
   2743  1.1  riastrad set dummy strip; ac_word=$2
   2744  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2745  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   2746  1.1  riastrad if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2747  1.1  riastrad   $as_echo_n "(cached) " >&6
   2748  1.1  riastrad else
   2749  1.1  riastrad   if test -n "$ac_ct_STRIP"; then
   2750  1.1  riastrad   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2751  1.1  riastrad else
   2752  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2753  1.1  riastrad for as_dir in $PATH
   2754  1.1  riastrad do
   2755  1.1  riastrad   IFS=$as_save_IFS
   2756  1.1  riastrad   test -z "$as_dir" && as_dir=.
   2757  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   2758  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2759  1.1  riastrad     ac_cv_prog_ac_ct_STRIP="strip"
   2760  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2761  1.1  riastrad     break 2
   2762  1.1  riastrad   fi
   2763  1.1  riastrad done
   2764  1.1  riastrad   done
   2765  1.1  riastrad IFS=$as_save_IFS
   2766  1.1  riastrad 
   2767  1.1  riastrad fi
   2768  1.1  riastrad fi
   2769  1.1  riastrad ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2770  1.1  riastrad if test -n "$ac_ct_STRIP"; then
   2771  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2772  1.1  riastrad $as_echo "$ac_ct_STRIP" >&6; }
   2773  1.1  riastrad else
   2774  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2775  1.1  riastrad $as_echo "no" >&6; }
   2776  1.1  riastrad fi
   2777  1.1  riastrad 
   2778  1.1  riastrad   if test "x$ac_ct_STRIP" = x; then
   2779  1.1  riastrad     STRIP=":"
   2780  1.1  riastrad   else
   2781  1.1  riastrad     case $cross_compiling:$ac_tool_warned in
   2782  1.1  riastrad yes:)
   2783  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2784  1.1  riastrad $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2785  1.1  riastrad ac_tool_warned=yes ;;
   2786  1.1  riastrad esac
   2787  1.1  riastrad     STRIP=$ac_ct_STRIP
   2788  1.1  riastrad   fi
   2789  1.1  riastrad else
   2790  1.1  riastrad   STRIP="$ac_cv_prog_STRIP"
   2791  1.1  riastrad fi
   2792  1.1  riastrad 
   2793  1.1  riastrad fi
   2794  1.1  riastrad INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2795  1.1  riastrad 
   2796  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2797  1.1  riastrad $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2798  1.1  riastrad if test -z "$MKDIR_P"; then
   2799  1.1  riastrad   if ${ac_cv_path_mkdir+:} false; then :
   2800  1.1  riastrad   $as_echo_n "(cached) " >&6
   2801  1.1  riastrad else
   2802  1.1  riastrad   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2803  1.1  riastrad for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2804  1.1  riastrad do
   2805  1.1  riastrad   IFS=$as_save_IFS
   2806  1.1  riastrad   test -z "$as_dir" && as_dir=.
   2807  1.1  riastrad     for ac_prog in mkdir gmkdir; do
   2808  1.1  riastrad 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2809  1.1  riastrad 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2810  1.1  riastrad 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2811  1.1  riastrad 	     'mkdir (GNU coreutils) '* | \
   2812  1.1  riastrad 	     'mkdir (coreutils) '* | \
   2813  1.1  riastrad 	     'mkdir (fileutils) '4.1*)
   2814  1.1  riastrad 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2815  1.1  riastrad 	       break 3;;
   2816  1.1  riastrad 	   esac
   2817  1.1  riastrad 	 done
   2818  1.1  riastrad        done
   2819  1.1  riastrad   done
   2820  1.1  riastrad IFS=$as_save_IFS
   2821  1.1  riastrad 
   2822  1.1  riastrad fi
   2823  1.1  riastrad 
   2824  1.1  riastrad   test -d ./--version && rmdir ./--version
   2825  1.1  riastrad   if test "${ac_cv_path_mkdir+set}" = set; then
   2826  1.1  riastrad     MKDIR_P="$ac_cv_path_mkdir -p"
   2827  1.1  riastrad   else
   2828  1.1  riastrad     # As a last resort, use the slow shell script.  Don't cache a
   2829  1.1  riastrad     # value for MKDIR_P within a source directory, because that will
   2830  1.1  riastrad     # break other packages using the cache if that directory is
   2831  1.1  riastrad     # removed, or if the value is a relative name.
   2832  1.1  riastrad     MKDIR_P="$ac_install_sh -d"
   2833  1.1  riastrad   fi
   2834  1.1  riastrad fi
   2835  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2836  1.1  riastrad $as_echo "$MKDIR_P" >&6; }
   2837  1.1  riastrad 
   2838  1.1  riastrad for ac_prog in gawk mawk nawk awk
   2839  1.1  riastrad do
   2840  1.1  riastrad   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2841  1.1  riastrad set dummy $ac_prog; ac_word=$2
   2842  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2843  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   2844  1.1  riastrad if ${ac_cv_prog_AWK+:} false; then :
   2845  1.1  riastrad   $as_echo_n "(cached) " >&6
   2846  1.1  riastrad else
   2847  1.1  riastrad   if test -n "$AWK"; then
   2848  1.1  riastrad   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2849  1.1  riastrad else
   2850  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2851  1.1  riastrad for as_dir in $PATH
   2852  1.1  riastrad do
   2853  1.1  riastrad   IFS=$as_save_IFS
   2854  1.1  riastrad   test -z "$as_dir" && as_dir=.
   2855  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   2856  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2857  1.1  riastrad     ac_cv_prog_AWK="$ac_prog"
   2858  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2859  1.1  riastrad     break 2
   2860  1.1  riastrad   fi
   2861  1.1  riastrad done
   2862  1.1  riastrad   done
   2863  1.1  riastrad IFS=$as_save_IFS
   2864  1.1  riastrad 
   2865  1.1  riastrad fi
   2866  1.1  riastrad fi
   2867  1.1  riastrad AWK=$ac_cv_prog_AWK
   2868  1.1  riastrad if test -n "$AWK"; then
   2869  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2870  1.1  riastrad $as_echo "$AWK" >&6; }
   2871  1.1  riastrad else
   2872  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2873  1.1  riastrad $as_echo "no" >&6; }
   2874  1.1  riastrad fi
   2875  1.1  riastrad 
   2876  1.1  riastrad 
   2877  1.1  riastrad   test -n "$AWK" && break
   2878  1.1  riastrad done
   2879  1.1  riastrad 
   2880  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2881  1.1  riastrad $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2882  1.1  riastrad set x ${MAKE-make}
   2883  1.1  riastrad ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2884  1.1  riastrad if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2885  1.1  riastrad   $as_echo_n "(cached) " >&6
   2886  1.1  riastrad else
   2887  1.1  riastrad   cat >conftest.make <<\_ACEOF
   2888  1.1  riastrad SHELL = /bin/sh
   2889  1.1  riastrad all:
   2890  1.1  riastrad 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2891  1.1  riastrad _ACEOF
   2892  1.1  riastrad # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2893  1.1  riastrad case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2894  1.1  riastrad   *@@@%%%=?*=@@@%%%*)
   2895  1.1  riastrad     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2896  1.1  riastrad   *)
   2897  1.1  riastrad     eval ac_cv_prog_make_${ac_make}_set=no;;
   2898  1.1  riastrad esac
   2899  1.1  riastrad rm -f conftest.make
   2900  1.1  riastrad fi
   2901  1.1  riastrad if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2902  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2903  1.1  riastrad $as_echo "yes" >&6; }
   2904  1.1  riastrad   SET_MAKE=
   2905  1.1  riastrad else
   2906  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2907  1.1  riastrad $as_echo "no" >&6; }
   2908  1.1  riastrad   SET_MAKE="MAKE=${MAKE-make}"
   2909  1.1  riastrad fi
   2910  1.1  riastrad 
   2911  1.1  riastrad rm -rf .tst 2>/dev/null
   2912  1.1  riastrad mkdir .tst 2>/dev/null
   2913  1.1  riastrad if test -d .tst; then
   2914  1.1  riastrad   am__leading_dot=.
   2915  1.1  riastrad else
   2916  1.1  riastrad   am__leading_dot=_
   2917  1.1  riastrad fi
   2918  1.1  riastrad rmdir .tst 2>/dev/null
   2919  1.1  riastrad 
   2920  1.1  riastrad # Check whether --enable-silent-rules was given.
   2921  1.1  riastrad if test "${enable_silent_rules+set}" = set; then :
   2922  1.1  riastrad   enableval=$enable_silent_rules;
   2923  1.1  riastrad fi
   2924  1.1  riastrad 
   2925  1.1  riastrad case $enable_silent_rules in # (((
   2926  1.1  riastrad   yes) AM_DEFAULT_VERBOSITY=0;;
   2927  1.1  riastrad    no) AM_DEFAULT_VERBOSITY=1;;
   2928  1.1  riastrad     *) AM_DEFAULT_VERBOSITY=1;;
   2929  1.1  riastrad esac
   2930  1.1  riastrad am_make=${MAKE-make}
   2931  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2932  1.1  riastrad $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2933  1.1  riastrad if ${am_cv_make_support_nested_variables+:} false; then :
   2934  1.1  riastrad   $as_echo_n "(cached) " >&6
   2935  1.1  riastrad else
   2936  1.1  riastrad   if $as_echo 'TRUE=$(BAR$(V))
   2937  1.1  riastrad BAR0=false
   2938  1.1  riastrad BAR1=true
   2939  1.1  riastrad V=1
   2940  1.1  riastrad am__doit:
   2941  1.1  riastrad 	@$(TRUE)
   2942  1.1  riastrad .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2943  1.1  riastrad   am_cv_make_support_nested_variables=yes
   2944  1.1  riastrad else
   2945  1.1  riastrad   am_cv_make_support_nested_variables=no
   2946  1.1  riastrad fi
   2947  1.1  riastrad fi
   2948  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2949  1.1  riastrad $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2950  1.1  riastrad if test $am_cv_make_support_nested_variables = yes; then
   2951  1.1  riastrad     AM_V='$(V)'
   2952  1.1  riastrad   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2953  1.1  riastrad else
   2954  1.1  riastrad   AM_V=$AM_DEFAULT_VERBOSITY
   2955  1.1  riastrad   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2956  1.1  riastrad fi
   2957  1.1  riastrad AM_BACKSLASH='\'
   2958  1.1  riastrad 
   2959  1.1  riastrad if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2960  1.1  riastrad   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2961  1.1  riastrad   # is not polluted with repeated "-I."
   2962  1.1  riastrad   am__isrc=' -I$(srcdir)'
   2963  1.1  riastrad   # test to see if srcdir already configured
   2964  1.1  riastrad   if test -f $srcdir/config.status; then
   2965  1.1  riastrad     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2966  1.1  riastrad   fi
   2967  1.1  riastrad fi
   2968  1.1  riastrad 
   2969  1.1  riastrad # test whether we have cygpath
   2970  1.1  riastrad if test -z "$CYGPATH_W"; then
   2971  1.1  riastrad   if (cygpath --version) >/dev/null 2>/dev/null; then
   2972  1.1  riastrad     CYGPATH_W='cygpath -w'
   2973  1.1  riastrad   else
   2974  1.1  riastrad     CYGPATH_W=echo
   2975  1.1  riastrad   fi
   2976  1.1  riastrad fi
   2977  1.1  riastrad 
   2978  1.1  riastrad 
   2979  1.1  riastrad # Define the identity of the package.
   2980  1.1  riastrad  PACKAGE='libsodium'
   2981  1.1  riastrad  VERSION='1.0.16'
   2982  1.1  riastrad 
   2983  1.1  riastrad 
   2984  1.1  riastrad cat >>confdefs.h <<_ACEOF
   2985  1.1  riastrad #define PACKAGE "$PACKAGE"
   2986  1.1  riastrad _ACEOF
   2987  1.1  riastrad 
   2988  1.1  riastrad 
   2989  1.1  riastrad cat >>confdefs.h <<_ACEOF
   2990  1.1  riastrad #define VERSION "$VERSION"
   2991  1.1  riastrad _ACEOF
   2992  1.1  riastrad 
   2993  1.1  riastrad # Some tools Automake needs.
   2994  1.1  riastrad 
   2995  1.1  riastrad ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2996  1.1  riastrad 
   2997  1.1  riastrad 
   2998  1.1  riastrad AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2999  1.1  riastrad 
   3000  1.1  riastrad 
   3001  1.1  riastrad AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3002  1.1  riastrad 
   3003  1.1  riastrad 
   3004  1.1  riastrad AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3005  1.1  riastrad 
   3006  1.1  riastrad 
   3007  1.1  riastrad MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3008  1.1  riastrad 
   3009  1.1  riastrad # For better backward compatibility.  To be removed once Automake 1.9.x
   3010  1.1  riastrad # dies out for good.  For more background, see:
   3011  1.1  riastrad # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3012  1.1  riastrad # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3013  1.1  riastrad mkdir_p='$(MKDIR_P)'
   3014  1.1  riastrad 
   3015  1.1  riastrad # We need awk for the "check" target (and possibly the TAP driver).  The
   3016  1.1  riastrad # system "awk" is bad on some platforms.
   3017  1.1  riastrad # Always define AMTAR for backward compatibility.  Yes, it's still used
   3018  1.1  riastrad # in the wild :-(  We should find a proper way to deprecate it ...
   3019  1.1  riastrad AMTAR='$${TAR-tar}'
   3020  1.1  riastrad 
   3021  1.1  riastrad 
   3022  1.1  riastrad # We'll loop over all known methods to create a tar archive until one works.
   3023  1.1  riastrad _am_tools='gnutar plaintar pax cpio none'
   3024  1.1  riastrad 
   3025  1.1  riastrad # The POSIX 1988 'ustar' format is defined with fixed-size fields.
   3026  1.1  riastrad       # There is notably a 21 bits limit for the UID and the GID.  In fact,
   3027  1.1  riastrad       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
   3028  1.1  riastrad       # and bug#13588).
   3029  1.1  riastrad       am_max_uid=2097151 # 2^21 - 1
   3030  1.1  riastrad       am_max_gid=$am_max_uid
   3031  1.1  riastrad       # The $UID and $GID variables are not portable, so we need to resort
   3032  1.1  riastrad       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
   3033  1.1  riastrad       # below are definitely unexpected, so allow the users to see them
   3034  1.1  riastrad       # (that is, avoid stderr redirection).
   3035  1.1  riastrad       am_uid=`id -u || echo unknown`
   3036  1.1  riastrad       am_gid=`id -g || echo unknown`
   3037  1.1  riastrad       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
   3038  1.1  riastrad $as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
   3039  1.1  riastrad       if test $am_uid -le $am_max_uid; then
   3040  1.1  riastrad          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3041  1.1  riastrad $as_echo "yes" >&6; }
   3042  1.1  riastrad       else
   3043  1.1  riastrad          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3044  1.1  riastrad $as_echo "no" >&6; }
   3045  1.1  riastrad          _am_tools=none
   3046  1.1  riastrad       fi
   3047  1.1  riastrad       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
   3048  1.1  riastrad $as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
   3049  1.1  riastrad       if test $am_gid -le $am_max_gid; then
   3050  1.1  riastrad          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3051  1.1  riastrad $as_echo "yes" >&6; }
   3052  1.1  riastrad       else
   3053  1.1  riastrad         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3054  1.1  riastrad $as_echo "no" >&6; }
   3055  1.1  riastrad         _am_tools=none
   3056  1.1  riastrad       fi
   3057  1.1  riastrad 
   3058  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
   3059  1.1  riastrad $as_echo_n "checking how to create a ustar tar archive... " >&6; }
   3060  1.1  riastrad 
   3061  1.1  riastrad   # Go ahead even if we have the value already cached.  We do so because we
   3062  1.1  riastrad   # need to set the values for the 'am__tar' and 'am__untar' variables.
   3063  1.1  riastrad   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
   3064  1.1  riastrad 
   3065  1.1  riastrad   for _am_tool in $_am_tools; do
   3066  1.1  riastrad     case $_am_tool in
   3067  1.1  riastrad     gnutar)
   3068  1.1  riastrad       for _am_tar in tar gnutar gtar; do
   3069  1.1  riastrad         { echo "$as_me:$LINENO: $_am_tar --version" >&5
   3070  1.1  riastrad    ($_am_tar --version) >&5 2>&5
   3071  1.1  riastrad    ac_status=$?
   3072  1.1  riastrad    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3073  1.1  riastrad    (exit $ac_status); } && break
   3074  1.1  riastrad       done
   3075  1.1  riastrad       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
   3076  1.1  riastrad       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
   3077  1.1  riastrad       am__untar="$_am_tar -xf -"
   3078  1.1  riastrad       ;;
   3079  1.1  riastrad     plaintar)
   3080  1.1  riastrad       # Must skip GNU tar: if it does not support --format= it doesn't create
   3081  1.1  riastrad       # ustar tarball either.
   3082  1.1  riastrad       (tar --version) >/dev/null 2>&1 && continue
   3083  1.1  riastrad       am__tar='tar chf - "$$tardir"'
   3084  1.1  riastrad       am__tar_='tar chf - "$tardir"'
   3085  1.1  riastrad       am__untar='tar xf -'
   3086  1.1  riastrad       ;;
   3087  1.1  riastrad     pax)
   3088  1.1  riastrad       am__tar='pax -L -x ustar -w "$$tardir"'
   3089  1.1  riastrad       am__tar_='pax -L -x ustar -w "$tardir"'
   3090  1.1  riastrad       am__untar='pax -r'
   3091  1.1  riastrad       ;;
   3092  1.1  riastrad     cpio)
   3093  1.1  riastrad       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
   3094  1.1  riastrad       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
   3095  1.1  riastrad       am__untar='cpio -i -H ustar -d'
   3096  1.1  riastrad       ;;
   3097  1.1  riastrad     none)
   3098  1.1  riastrad       am__tar=false
   3099  1.1  riastrad       am__tar_=false
   3100  1.1  riastrad       am__untar=false
   3101  1.1  riastrad       ;;
   3102  1.1  riastrad     esac
   3103  1.1  riastrad 
   3104  1.1  riastrad     # If the value was cached, stop now.  We just wanted to have am__tar
   3105  1.1  riastrad     # and am__untar set.
   3106  1.1  riastrad     test -n "${am_cv_prog_tar_ustar}" && break
   3107  1.1  riastrad 
   3108  1.1  riastrad     # tar/untar a dummy directory, and stop if the command works.
   3109  1.1  riastrad     rm -rf conftest.dir
   3110  1.1  riastrad     mkdir conftest.dir
   3111  1.1  riastrad     echo GrepMe > conftest.dir/file
   3112  1.1  riastrad     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   3113  1.1  riastrad    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   3114  1.1  riastrad    ac_status=$?
   3115  1.1  riastrad    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3116  1.1  riastrad    (exit $ac_status); }
   3117  1.1  riastrad     rm -rf conftest.dir
   3118  1.1  riastrad     if test -s conftest.tar; then
   3119  1.1  riastrad       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   3120  1.1  riastrad    ($am__untar <conftest.tar) >&5 2>&5
   3121  1.1  riastrad    ac_status=$?
   3122  1.1  riastrad    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3123  1.1  riastrad    (exit $ac_status); }
   3124  1.1  riastrad       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   3125  1.1  riastrad    (cat conftest.dir/file) >&5 2>&5
   3126  1.1  riastrad    ac_status=$?
   3127  1.1  riastrad    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3128  1.1  riastrad    (exit $ac_status); }
   3129  1.1  riastrad       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   3130  1.1  riastrad     fi
   3131  1.1  riastrad   done
   3132  1.1  riastrad   rm -rf conftest.dir
   3133  1.1  riastrad 
   3134  1.1  riastrad   if ${am_cv_prog_tar_ustar+:} false; then :
   3135  1.1  riastrad   $as_echo_n "(cached) " >&6
   3136  1.1  riastrad else
   3137  1.1  riastrad   am_cv_prog_tar_ustar=$_am_tool
   3138  1.1  riastrad fi
   3139  1.1  riastrad 
   3140  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
   3141  1.1  riastrad $as_echo "$am_cv_prog_tar_ustar" >&6; }
   3142  1.1  riastrad 
   3143  1.1  riastrad 
   3144  1.1  riastrad 
   3145  1.1  riastrad 
   3146  1.1  riastrad 
   3147  1.1  riastrad 
   3148  1.1  riastrad # POSIX will say in a future version that running "rm -f" with no argument
   3149  1.1  riastrad # is OK; and we want to be able to make that assumption in our Makefile
   3150  1.1  riastrad # recipes.  So use an aggressive probe to check that the usage we want is
   3151  1.1  riastrad # actually supported "in the wild" to an acceptable degree.
   3152  1.1  riastrad # See automake bug#10828.
   3153  1.1  riastrad # To make any issue more visible, cause the running configure to be aborted
   3154  1.1  riastrad # by default if the 'rm' program in use doesn't match our expectations; the
   3155  1.1  riastrad # user can still override this though.
   3156  1.1  riastrad if rm -f && rm -fr && rm -rf; then : OK; else
   3157  1.1  riastrad   cat >&2 <<'END'
   3158  1.1  riastrad Oops!
   3159  1.1  riastrad 
   3160  1.1  riastrad Your 'rm' program seems unable to run without file operands specified
   3161  1.1  riastrad on the command line, even when the '-f' option is present.  This is contrary
   3162  1.1  riastrad to the behaviour of most rm programs out there, and not conforming with
   3163  1.1  riastrad the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3164  1.1  riastrad 
   3165  1.1  riastrad Please tell bug-automake@gnu.org about your system, including the value
   3166  1.1  riastrad of your $PATH and any error possibly output before this message.  This
   3167  1.1  riastrad can help us improve future automake versions.
   3168  1.1  riastrad 
   3169  1.1  riastrad END
   3170  1.1  riastrad   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3171  1.1  riastrad     echo 'Configuration will proceed anyway, since you have set the' >&2
   3172  1.1  riastrad     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3173  1.1  riastrad     echo >&2
   3174  1.1  riastrad   else
   3175  1.1  riastrad     cat >&2 <<'END'
   3176  1.1  riastrad Aborting the configuration process, to ensure you take notice of the issue.
   3177  1.1  riastrad 
   3178  1.1  riastrad You can download and install GNU coreutils to get an 'rm' implementation
   3179  1.1  riastrad that behaves properly: <http://www.gnu.org/software/coreutils/>.
   3180  1.1  riastrad 
   3181  1.1  riastrad If you want to complete the configuration process using your problematic
   3182  1.1  riastrad 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3183  1.1  riastrad to "yes", and re-run configure.
   3184  1.1  riastrad 
   3185  1.1  riastrad END
   3186  1.1  riastrad     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3187  1.1  riastrad   fi
   3188  1.1  riastrad fi
   3189  1.1  riastrad 
   3190  1.1  riastrad # Check whether --enable-silent-rules was given.
   3191  1.1  riastrad if test "${enable_silent_rules+set}" = set; then :
   3192  1.1  riastrad   enableval=$enable_silent_rules;
   3193  1.1  riastrad fi
   3194  1.1  riastrad 
   3195  1.1  riastrad case $enable_silent_rules in # (((
   3196  1.1  riastrad   yes) AM_DEFAULT_VERBOSITY=0;;
   3197  1.1  riastrad    no) AM_DEFAULT_VERBOSITY=1;;
   3198  1.1  riastrad     *) AM_DEFAULT_VERBOSITY=0;;
   3199  1.1  riastrad esac
   3200  1.1  riastrad am_make=${MAKE-make}
   3201  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3202  1.1  riastrad $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3203  1.1  riastrad if ${am_cv_make_support_nested_variables+:} false; then :
   3204  1.1  riastrad   $as_echo_n "(cached) " >&6
   3205  1.1  riastrad else
   3206  1.1  riastrad   if $as_echo 'TRUE=$(BAR$(V))
   3207  1.1  riastrad BAR0=false
   3208  1.1  riastrad BAR1=true
   3209  1.1  riastrad V=1
   3210  1.1  riastrad am__doit:
   3211  1.1  riastrad 	@$(TRUE)
   3212  1.1  riastrad .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3213  1.1  riastrad   am_cv_make_support_nested_variables=yes
   3214  1.1  riastrad else
   3215  1.1  riastrad   am_cv_make_support_nested_variables=no
   3216  1.1  riastrad fi
   3217  1.1  riastrad fi
   3218  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3219  1.1  riastrad $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3220  1.1  riastrad if test $am_cv_make_support_nested_variables = yes; then
   3221  1.1  riastrad     AM_V='$(V)'
   3222  1.1  riastrad   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3223  1.1  riastrad else
   3224  1.1  riastrad   AM_V=$AM_DEFAULT_VERBOSITY
   3225  1.1  riastrad   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3226  1.1  riastrad fi
   3227  1.1  riastrad AM_BACKSLASH='\'
   3228  1.1  riastrad 
   3229  1.1  riastrad 
   3230  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   3231  1.1  riastrad $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   3232  1.1  riastrad     # Check whether --enable-maintainer-mode was given.
   3233  1.1  riastrad if test "${enable_maintainer_mode+set}" = set; then :
   3234  1.1  riastrad   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   3235  1.1  riastrad else
   3236  1.1  riastrad   USE_MAINTAINER_MODE=no
   3237  1.1  riastrad fi
   3238  1.1  riastrad 
   3239  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   3240  1.1  riastrad $as_echo "$USE_MAINTAINER_MODE" >&6; }
   3241  1.1  riastrad    if test $USE_MAINTAINER_MODE = yes; then
   3242  1.1  riastrad   MAINTAINER_MODE_TRUE=
   3243  1.1  riastrad   MAINTAINER_MODE_FALSE='#'
   3244  1.1  riastrad else
   3245  1.1  riastrad   MAINTAINER_MODE_TRUE='#'
   3246  1.1  riastrad   MAINTAINER_MODE_FALSE=
   3247  1.1  riastrad fi
   3248  1.1  riastrad 
   3249  1.1  riastrad   MAINT=$MAINTAINER_MODE_TRUE
   3250  1.1  riastrad 
   3251  1.1  riastrad 
   3252  1.1  riastrad # Check whether --enable-dependency-tracking was given.
   3253  1.1  riastrad if test "${enable_dependency_tracking+set}" = set; then :
   3254  1.1  riastrad   enableval=$enable_dependency_tracking;
   3255  1.1  riastrad fi
   3256  1.1  riastrad 
   3257  1.1  riastrad if test "x$enable_dependency_tracking" != xno; then
   3258  1.1  riastrad   am_depcomp="$ac_aux_dir/depcomp"
   3259  1.1  riastrad   AMDEPBACKSLASH='\'
   3260  1.1  riastrad   am__nodep='_no'
   3261  1.1  riastrad fi
   3262  1.1  riastrad  if test "x$enable_dependency_tracking" != xno; then
   3263  1.1  riastrad   AMDEP_TRUE=
   3264  1.1  riastrad   AMDEP_FALSE='#'
   3265  1.1  riastrad else
   3266  1.1  riastrad   AMDEP_TRUE='#'
   3267  1.1  riastrad   AMDEP_FALSE=
   3268  1.1  riastrad fi
   3269  1.1  riastrad 
   3270  1.1  riastrad 
   3271  1.1  riastrad 
   3272  1.1  riastrad 
   3273  1.1  riastrad ISODATE=`date +%Y-%m-%d`
   3274  1.1  riastrad 
   3275  1.1  riastrad 
   3276  1.1  riastrad SODIUM_LIBRARY_VERSION_MAJOR=10
   3277  1.1  riastrad SODIUM_LIBRARY_VERSION_MINOR=1
   3278  1.1  riastrad DLL_VERSION=8
   3279  1.1  riastrad SODIUM_LIBRARY_VERSION=24:0:1
   3280  1.1  riastrad #                       | | |
   3281  1.1  riastrad #                +------+ | +---+
   3282  1.1  riastrad #                |        |     |
   3283  1.1  riastrad #             current:revision:age
   3284  1.1  riastrad #                |        |     |
   3285  1.1  riastrad #                |        |     +- increment if interfaces have been added
   3286  1.1  riastrad #                |        |        set to zero if interfaces have been removed
   3287  1.1  riastrad #                |        |        or changed
   3288  1.1  riastrad #                |        +- increment if source code has changed
   3289  1.1  riastrad #                |           set to zero if current is incremented
   3290  1.1  riastrad #                +- increment if interfaces have been added, removed or changed
   3291  1.1  riastrad 
   3292  1.1  riastrad 
   3293  1.1  riastrad 
   3294  1.1  riastrad 
   3295  1.1  riastrad 
   3296  1.1  riastrad 
   3297  1.1  riastrad LX_CFLAGS=${CFLAGS-NONE}
   3298  1.1  riastrad 
   3299  1.1  riastrad 
   3300  1.1  riastrad if pwd | fgrep ' ' > /dev/null 2>&1; then :
   3301  1.1  riastrad   as_fn_error $? "The build directory contains whitespaces - This can cause tests/installation to fail due to limitations of some libtool versions" "$LINENO" 5
   3302  1.1  riastrad 
   3303  1.1  riastrad fi
   3304  1.1  riastrad 
   3305  1.1  riastrad 
   3306  1.1  riastrad # Check whether --enable-ssp was given.
   3307  1.1  riastrad if test "${enable_ssp+set}" = set; then :
   3308  1.1  riastrad   enableval=$enable_ssp;
   3309  1.1  riastrad   if test "x$enableval" = "xno"; then :
   3310  1.1  riastrad 
   3311  1.1  riastrad     enable_ssp="no"
   3312  1.1  riastrad 
   3313  1.1  riastrad else
   3314  1.1  riastrad 
   3315  1.1  riastrad     enable_ssp="yes"
   3316  1.1  riastrad 
   3317  1.1  riastrad fi
   3318  1.1  riastrad 
   3319  1.1  riastrad else
   3320  1.1  riastrad 
   3321  1.1  riastrad   enable_ssp="yes"
   3322  1.1  riastrad 
   3323  1.1  riastrad fi
   3324  1.1  riastrad 
   3325  1.1  riastrad 
   3326  1.1  riastrad # Check whether --enable-asm was given.
   3327  1.1  riastrad if test "${enable_asm+set}" = set; then :
   3328  1.1  riastrad   enableval=$enable_asm;
   3329  1.1  riastrad   if test "x$enableval" = "xno"; then :
   3330  1.1  riastrad 
   3331  1.1  riastrad     enable_asm="no"
   3332  1.1  riastrad 
   3333  1.1  riastrad else
   3334  1.1  riastrad 
   3335  1.1  riastrad     enable_asm="yes"
   3336  1.1  riastrad 
   3337  1.1  riastrad fi
   3338  1.1  riastrad 
   3339  1.1  riastrad else
   3340  1.1  riastrad 
   3341  1.1  riastrad   enable_asm="yes"
   3342  1.1  riastrad 
   3343  1.1  riastrad fi
   3344  1.1  riastrad 
   3345  1.1  riastrad 
   3346  1.1  riastrad DEPDIR="${am__leading_dot}deps"
   3347  1.1  riastrad 
   3348  1.1  riastrad ac_config_commands="$ac_config_commands depfiles"
   3349  1.1  riastrad 
   3350  1.1  riastrad 
   3351  1.1  riastrad am_make=${MAKE-make}
   3352  1.1  riastrad cat > confinc << 'END'
   3353  1.1  riastrad am__doit:
   3354  1.1  riastrad 	@echo this is the am__doit target
   3355  1.1  riastrad .PHONY: am__doit
   3356  1.1  riastrad END
   3357  1.1  riastrad # If we don't find an include directive, just comment out the code.
   3358  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3359  1.1  riastrad $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3360  1.1  riastrad am__include="#"
   3361  1.1  riastrad am__quote=
   3362  1.1  riastrad _am_result=none
   3363  1.1  riastrad # First try GNU make style include.
   3364  1.1  riastrad echo "include confinc" > confmf
   3365  1.1  riastrad # Ignore all kinds of additional output from 'make'.
   3366  1.1  riastrad case `$am_make -s -f confmf 2> /dev/null` in #(
   3367  1.1  riastrad *the\ am__doit\ target*)
   3368  1.1  riastrad   am__include=include
   3369  1.1  riastrad   am__quote=
   3370  1.1  riastrad   _am_result=GNU
   3371  1.1  riastrad   ;;
   3372  1.1  riastrad esac
   3373  1.1  riastrad # Now try BSD make style include.
   3374  1.1  riastrad if test "$am__include" = "#"; then
   3375  1.1  riastrad    echo '.include "confinc"' > confmf
   3376  1.1  riastrad    case `$am_make -s -f confmf 2> /dev/null` in #(
   3377  1.1  riastrad    *the\ am__doit\ target*)
   3378  1.1  riastrad      am__include=.include
   3379  1.1  riastrad      am__quote="\""
   3380  1.1  riastrad      _am_result=BSD
   3381  1.1  riastrad      ;;
   3382  1.1  riastrad    esac
   3383  1.1  riastrad fi
   3384  1.1  riastrad 
   3385  1.1  riastrad 
   3386  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3387  1.1  riastrad $as_echo "$_am_result" >&6; }
   3388  1.1  riastrad rm -f confinc confmf
   3389  1.1  riastrad 
   3390  1.1  riastrad ac_ext=c
   3391  1.1  riastrad ac_cpp='$CPP $CPPFLAGS'
   3392  1.1  riastrad ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3393  1.1  riastrad ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3394  1.1  riastrad ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3395  1.1  riastrad if test -n "$ac_tool_prefix"; then
   3396  1.1  riastrad   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3397  1.1  riastrad set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3398  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3399  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   3400  1.1  riastrad if ${ac_cv_prog_CC+:} false; then :
   3401  1.1  riastrad   $as_echo_n "(cached) " >&6
   3402  1.1  riastrad else
   3403  1.1  riastrad   if test -n "$CC"; then
   3404  1.1  riastrad   ac_cv_prog_CC="$CC" # Let the user override the test.
   3405  1.1  riastrad else
   3406  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3407  1.1  riastrad for as_dir in $PATH
   3408  1.1  riastrad do
   3409  1.1  riastrad   IFS=$as_save_IFS
   3410  1.1  riastrad   test -z "$as_dir" && as_dir=.
   3411  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   3412  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3413  1.1  riastrad     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3414  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3415  1.1  riastrad     break 2
   3416  1.1  riastrad   fi
   3417  1.1  riastrad done
   3418  1.1  riastrad   done
   3419  1.1  riastrad IFS=$as_save_IFS
   3420  1.1  riastrad 
   3421  1.1  riastrad fi
   3422  1.1  riastrad fi
   3423  1.1  riastrad CC=$ac_cv_prog_CC
   3424  1.1  riastrad if test -n "$CC"; then
   3425  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3426  1.1  riastrad $as_echo "$CC" >&6; }
   3427  1.1  riastrad else
   3428  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3429  1.1  riastrad $as_echo "no" >&6; }
   3430  1.1  riastrad fi
   3431  1.1  riastrad 
   3432  1.1  riastrad 
   3433  1.1  riastrad fi
   3434  1.1  riastrad if test -z "$ac_cv_prog_CC"; then
   3435  1.1  riastrad   ac_ct_CC=$CC
   3436  1.1  riastrad   # Extract the first word of "gcc", so it can be a program name with args.
   3437  1.1  riastrad set dummy gcc; ac_word=$2
   3438  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3439  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   3440  1.1  riastrad if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3441  1.1  riastrad   $as_echo_n "(cached) " >&6
   3442  1.1  riastrad else
   3443  1.1  riastrad   if test -n "$ac_ct_CC"; then
   3444  1.1  riastrad   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3445  1.1  riastrad else
   3446  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3447  1.1  riastrad for as_dir in $PATH
   3448  1.1  riastrad do
   3449  1.1  riastrad   IFS=$as_save_IFS
   3450  1.1  riastrad   test -z "$as_dir" && as_dir=.
   3451  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   3452  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3453  1.1  riastrad     ac_cv_prog_ac_ct_CC="gcc"
   3454  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3455  1.1  riastrad     break 2
   3456  1.1  riastrad   fi
   3457  1.1  riastrad done
   3458  1.1  riastrad   done
   3459  1.1  riastrad IFS=$as_save_IFS
   3460  1.1  riastrad 
   3461  1.1  riastrad fi
   3462  1.1  riastrad fi
   3463  1.1  riastrad ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3464  1.1  riastrad if test -n "$ac_ct_CC"; then
   3465  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3466  1.1  riastrad $as_echo "$ac_ct_CC" >&6; }
   3467  1.1  riastrad else
   3468  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3469  1.1  riastrad $as_echo "no" >&6; }
   3470  1.1  riastrad fi
   3471  1.1  riastrad 
   3472  1.1  riastrad   if test "x$ac_ct_CC" = x; then
   3473  1.1  riastrad     CC=""
   3474  1.1  riastrad   else
   3475  1.1  riastrad     case $cross_compiling:$ac_tool_warned in
   3476  1.1  riastrad yes:)
   3477  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3478  1.1  riastrad $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3479  1.1  riastrad ac_tool_warned=yes ;;
   3480  1.1  riastrad esac
   3481  1.1  riastrad     CC=$ac_ct_CC
   3482  1.1  riastrad   fi
   3483  1.1  riastrad else
   3484  1.1  riastrad   CC="$ac_cv_prog_CC"
   3485  1.1  riastrad fi
   3486  1.1  riastrad 
   3487  1.1  riastrad if test -z "$CC"; then
   3488  1.1  riastrad           if test -n "$ac_tool_prefix"; then
   3489  1.1  riastrad     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3490  1.1  riastrad set dummy ${ac_tool_prefix}cc; ac_word=$2
   3491  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3492  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   3493  1.1  riastrad if ${ac_cv_prog_CC+:} false; then :
   3494  1.1  riastrad   $as_echo_n "(cached) " >&6
   3495  1.1  riastrad else
   3496  1.1  riastrad   if test -n "$CC"; then
   3497  1.1  riastrad   ac_cv_prog_CC="$CC" # Let the user override the test.
   3498  1.1  riastrad else
   3499  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3500  1.1  riastrad for as_dir in $PATH
   3501  1.1  riastrad do
   3502  1.1  riastrad   IFS=$as_save_IFS
   3503  1.1  riastrad   test -z "$as_dir" && as_dir=.
   3504  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   3505  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3506  1.1  riastrad     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3507  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3508  1.1  riastrad     break 2
   3509  1.1  riastrad   fi
   3510  1.1  riastrad done
   3511  1.1  riastrad   done
   3512  1.1  riastrad IFS=$as_save_IFS
   3513  1.1  riastrad 
   3514  1.1  riastrad fi
   3515  1.1  riastrad fi
   3516  1.1  riastrad CC=$ac_cv_prog_CC
   3517  1.1  riastrad if test -n "$CC"; then
   3518  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3519  1.1  riastrad $as_echo "$CC" >&6; }
   3520  1.1  riastrad else
   3521  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3522  1.1  riastrad $as_echo "no" >&6; }
   3523  1.1  riastrad fi
   3524  1.1  riastrad 
   3525  1.1  riastrad 
   3526  1.1  riastrad   fi
   3527  1.1  riastrad fi
   3528  1.1  riastrad if test -z "$CC"; then
   3529  1.1  riastrad   # Extract the first word of "cc", so it can be a program name with args.
   3530  1.1  riastrad set dummy cc; ac_word=$2
   3531  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3532  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   3533  1.1  riastrad if ${ac_cv_prog_CC+:} false; then :
   3534  1.1  riastrad   $as_echo_n "(cached) " >&6
   3535  1.1  riastrad else
   3536  1.1  riastrad   if test -n "$CC"; then
   3537  1.1  riastrad   ac_cv_prog_CC="$CC" # Let the user override the test.
   3538  1.1  riastrad else
   3539  1.1  riastrad   ac_prog_rejected=no
   3540  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3541  1.1  riastrad for as_dir in $PATH
   3542  1.1  riastrad do
   3543  1.1  riastrad   IFS=$as_save_IFS
   3544  1.1  riastrad   test -z "$as_dir" && as_dir=.
   3545  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   3546  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3547  1.1  riastrad     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3548  1.1  riastrad        ac_prog_rejected=yes
   3549  1.1  riastrad        continue
   3550  1.1  riastrad      fi
   3551  1.1  riastrad     ac_cv_prog_CC="cc"
   3552  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3553  1.1  riastrad     break 2
   3554  1.1  riastrad   fi
   3555  1.1  riastrad done
   3556  1.1  riastrad   done
   3557  1.1  riastrad IFS=$as_save_IFS
   3558  1.1  riastrad 
   3559  1.1  riastrad if test $ac_prog_rejected = yes; then
   3560  1.1  riastrad   # We found a bogon in the path, so make sure we never use it.
   3561  1.1  riastrad   set dummy $ac_cv_prog_CC
   3562  1.1  riastrad   shift
   3563  1.1  riastrad   if test $# != 0; then
   3564  1.1  riastrad     # We chose a different compiler from the bogus one.
   3565  1.1  riastrad     # However, it has the same basename, so the bogon will be chosen
   3566  1.1  riastrad     # first if we set CC to just the basename; use the full file name.
   3567  1.1  riastrad     shift
   3568  1.1  riastrad     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3569  1.1  riastrad   fi
   3570  1.1  riastrad fi
   3571  1.1  riastrad fi
   3572  1.1  riastrad fi
   3573  1.1  riastrad CC=$ac_cv_prog_CC
   3574  1.1  riastrad if test -n "$CC"; then
   3575  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3576  1.1  riastrad $as_echo "$CC" >&6; }
   3577  1.1  riastrad else
   3578  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3579  1.1  riastrad $as_echo "no" >&6; }
   3580  1.1  riastrad fi
   3581  1.1  riastrad 
   3582  1.1  riastrad 
   3583  1.1  riastrad fi
   3584  1.1  riastrad if test -z "$CC"; then
   3585  1.1  riastrad   if test -n "$ac_tool_prefix"; then
   3586  1.1  riastrad   for ac_prog in cl.exe
   3587  1.1  riastrad   do
   3588  1.1  riastrad     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3589  1.1  riastrad set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3590  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3591  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   3592  1.1  riastrad if ${ac_cv_prog_CC+:} false; then :
   3593  1.1  riastrad   $as_echo_n "(cached) " >&6
   3594  1.1  riastrad else
   3595  1.1  riastrad   if test -n "$CC"; then
   3596  1.1  riastrad   ac_cv_prog_CC="$CC" # Let the user override the test.
   3597  1.1  riastrad else
   3598  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3599  1.1  riastrad for as_dir in $PATH
   3600  1.1  riastrad do
   3601  1.1  riastrad   IFS=$as_save_IFS
   3602  1.1  riastrad   test -z "$as_dir" && as_dir=.
   3603  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   3604  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3605  1.1  riastrad     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3606  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3607  1.1  riastrad     break 2
   3608  1.1  riastrad   fi
   3609  1.1  riastrad done
   3610  1.1  riastrad   done
   3611  1.1  riastrad IFS=$as_save_IFS
   3612  1.1  riastrad 
   3613  1.1  riastrad fi
   3614  1.1  riastrad fi
   3615  1.1  riastrad CC=$ac_cv_prog_CC
   3616  1.1  riastrad if test -n "$CC"; then
   3617  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3618  1.1  riastrad $as_echo "$CC" >&6; }
   3619  1.1  riastrad else
   3620  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3621  1.1  riastrad $as_echo "no" >&6; }
   3622  1.1  riastrad fi
   3623  1.1  riastrad 
   3624  1.1  riastrad 
   3625  1.1  riastrad     test -n "$CC" && break
   3626  1.1  riastrad   done
   3627  1.1  riastrad fi
   3628  1.1  riastrad if test -z "$CC"; then
   3629  1.1  riastrad   ac_ct_CC=$CC
   3630  1.1  riastrad   for ac_prog in cl.exe
   3631  1.1  riastrad do
   3632  1.1  riastrad   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3633  1.1  riastrad set dummy $ac_prog; ac_word=$2
   3634  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3635  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   3636  1.1  riastrad if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3637  1.1  riastrad   $as_echo_n "(cached) " >&6
   3638  1.1  riastrad else
   3639  1.1  riastrad   if test -n "$ac_ct_CC"; then
   3640  1.1  riastrad   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3641  1.1  riastrad else
   3642  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3643  1.1  riastrad for as_dir in $PATH
   3644  1.1  riastrad do
   3645  1.1  riastrad   IFS=$as_save_IFS
   3646  1.1  riastrad   test -z "$as_dir" && as_dir=.
   3647  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   3648  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3649  1.1  riastrad     ac_cv_prog_ac_ct_CC="$ac_prog"
   3650  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3651  1.1  riastrad     break 2
   3652  1.1  riastrad   fi
   3653  1.1  riastrad done
   3654  1.1  riastrad   done
   3655  1.1  riastrad IFS=$as_save_IFS
   3656  1.1  riastrad 
   3657  1.1  riastrad fi
   3658  1.1  riastrad fi
   3659  1.1  riastrad ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3660  1.1  riastrad if test -n "$ac_ct_CC"; then
   3661  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3662  1.1  riastrad $as_echo "$ac_ct_CC" >&6; }
   3663  1.1  riastrad else
   3664  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3665  1.1  riastrad $as_echo "no" >&6; }
   3666  1.1  riastrad fi
   3667  1.1  riastrad 
   3668  1.1  riastrad 
   3669  1.1  riastrad   test -n "$ac_ct_CC" && break
   3670  1.1  riastrad done
   3671  1.1  riastrad 
   3672  1.1  riastrad   if test "x$ac_ct_CC" = x; then
   3673  1.1  riastrad     CC=""
   3674  1.1  riastrad   else
   3675  1.1  riastrad     case $cross_compiling:$ac_tool_warned in
   3676  1.1  riastrad yes:)
   3677  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3678  1.1  riastrad $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3679  1.1  riastrad ac_tool_warned=yes ;;
   3680  1.1  riastrad esac
   3681  1.1  riastrad     CC=$ac_ct_CC
   3682  1.1  riastrad   fi
   3683  1.1  riastrad fi
   3684  1.1  riastrad 
   3685  1.1  riastrad fi
   3686  1.1  riastrad 
   3687  1.1  riastrad 
   3688  1.1  riastrad test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3689  1.1  riastrad $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3690  1.1  riastrad as_fn_error $? "no acceptable C compiler found in \$PATH
   3691  1.1  riastrad See \`config.log' for more details" "$LINENO" 5; }
   3692  1.1  riastrad 
   3693  1.1  riastrad # Provide some information about the compiler.
   3694  1.1  riastrad $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3695  1.1  riastrad set X $ac_compile
   3696  1.1  riastrad ac_compiler=$2
   3697  1.1  riastrad for ac_option in --version -v -V -qversion; do
   3698  1.1  riastrad   { { ac_try="$ac_compiler $ac_option >&5"
   3699  1.1  riastrad case "(($ac_try" in
   3700  1.1  riastrad   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3701  1.1  riastrad   *) ac_try_echo=$ac_try;;
   3702  1.1  riastrad esac
   3703  1.1  riastrad eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3704  1.1  riastrad $as_echo "$ac_try_echo"; } >&5
   3705  1.1  riastrad   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3706  1.1  riastrad   ac_status=$?
   3707  1.1  riastrad   if test -s conftest.err; then
   3708  1.1  riastrad     sed '10a\
   3709  1.1  riastrad ... rest of stderr output deleted ...
   3710  1.1  riastrad          10q' conftest.err >conftest.er1
   3711  1.1  riastrad     cat conftest.er1 >&5
   3712  1.1  riastrad   fi
   3713  1.1  riastrad   rm -f conftest.er1 conftest.err
   3714  1.1  riastrad   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3715  1.1  riastrad   test $ac_status = 0; }
   3716  1.1  riastrad done
   3717  1.1  riastrad 
   3718  1.1  riastrad cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3719  1.1  riastrad /* end confdefs.h.  */
   3720  1.1  riastrad 
   3721  1.1  riastrad int
   3722  1.1  riastrad main ()
   3723  1.1  riastrad {
   3724  1.1  riastrad 
   3725  1.1  riastrad   ;
   3726  1.1  riastrad   return 0;
   3727  1.1  riastrad }
   3728  1.1  riastrad _ACEOF
   3729  1.1  riastrad ac_clean_files_save=$ac_clean_files
   3730  1.1  riastrad ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3731  1.1  riastrad # Try to create an executable without -o first, disregard a.out.
   3732  1.1  riastrad # It will help us diagnose broken compilers, and finding out an intuition
   3733  1.1  riastrad # of exeext.
   3734  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3735  1.1  riastrad $as_echo_n "checking whether the C compiler works... " >&6; }
   3736  1.1  riastrad ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3737  1.1  riastrad 
   3738  1.1  riastrad # The possible output files:
   3739  1.1  riastrad ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3740  1.1  riastrad 
   3741  1.1  riastrad ac_rmfiles=
   3742  1.1  riastrad for ac_file in $ac_files
   3743  1.1  riastrad do
   3744  1.1  riastrad   case $ac_file in
   3745  1.1  riastrad     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3746  1.1  riastrad     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3747  1.1  riastrad   esac
   3748  1.1  riastrad done
   3749  1.1  riastrad rm -f $ac_rmfiles
   3750  1.1  riastrad 
   3751  1.1  riastrad if { { ac_try="$ac_link_default"
   3752  1.1  riastrad case "(($ac_try" in
   3753  1.1  riastrad   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3754  1.1  riastrad   *) ac_try_echo=$ac_try;;
   3755  1.1  riastrad esac
   3756  1.1  riastrad eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3757  1.1  riastrad $as_echo "$ac_try_echo"; } >&5
   3758  1.1  riastrad   (eval "$ac_link_default") 2>&5
   3759  1.1  riastrad   ac_status=$?
   3760  1.1  riastrad   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3761  1.1  riastrad   test $ac_status = 0; }; then :
   3762  1.1  riastrad   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3763  1.1  riastrad # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3764  1.1  riastrad # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3765  1.1  riastrad # so that the user can short-circuit this test for compilers unknown to
   3766  1.1  riastrad # Autoconf.
   3767  1.1  riastrad for ac_file in $ac_files ''
   3768  1.1  riastrad do
   3769  1.1  riastrad   test -f "$ac_file" || continue
   3770  1.1  riastrad   case $ac_file in
   3771  1.1  riastrad     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3772  1.1  riastrad 	;;
   3773  1.1  riastrad     [ab].out )
   3774  1.1  riastrad 	# We found the default executable, but exeext='' is most
   3775  1.1  riastrad 	# certainly right.
   3776  1.1  riastrad 	break;;
   3777  1.1  riastrad     *.* )
   3778  1.1  riastrad 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3779  1.1  riastrad 	then :; else
   3780  1.1  riastrad 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3781  1.1  riastrad 	fi
   3782  1.1  riastrad 	# We set ac_cv_exeext here because the later test for it is not
   3783  1.1  riastrad 	# safe: cross compilers may not add the suffix if given an `-o'
   3784  1.1  riastrad 	# argument, so we may need to know it at that point already.
   3785  1.1  riastrad 	# Even if this section looks crufty: it has the advantage of
   3786  1.1  riastrad 	# actually working.
   3787  1.1  riastrad 	break;;
   3788  1.1  riastrad     * )
   3789  1.1  riastrad 	break;;
   3790  1.1  riastrad   esac
   3791  1.1  riastrad done
   3792  1.1  riastrad test "$ac_cv_exeext" = no && ac_cv_exeext=
   3793  1.1  riastrad 
   3794  1.1  riastrad else
   3795  1.1  riastrad   ac_file=''
   3796  1.1  riastrad fi
   3797  1.1  riastrad if test -z "$ac_file"; then :
   3798  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3799  1.1  riastrad $as_echo "no" >&6; }
   3800  1.1  riastrad $as_echo "$as_me: failed program was:" >&5
   3801  1.1  riastrad sed 's/^/| /' conftest.$ac_ext >&5
   3802  1.1  riastrad 
   3803  1.1  riastrad { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3804  1.1  riastrad $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3805  1.1  riastrad as_fn_error 77 "C compiler cannot create executables
   3806  1.1  riastrad See \`config.log' for more details" "$LINENO" 5; }
   3807  1.1  riastrad else
   3808  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3809  1.1  riastrad $as_echo "yes" >&6; }
   3810  1.1  riastrad fi
   3811  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3812  1.1  riastrad $as_echo_n "checking for C compiler default output file name... " >&6; }
   3813  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3814  1.1  riastrad $as_echo "$ac_file" >&6; }
   3815  1.1  riastrad ac_exeext=$ac_cv_exeext
   3816  1.1  riastrad 
   3817  1.1  riastrad rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3818  1.1  riastrad ac_clean_files=$ac_clean_files_save
   3819  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3820  1.1  riastrad $as_echo_n "checking for suffix of executables... " >&6; }
   3821  1.1  riastrad if { { ac_try="$ac_link"
   3822  1.1  riastrad case "(($ac_try" in
   3823  1.1  riastrad   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3824  1.1  riastrad   *) ac_try_echo=$ac_try;;
   3825  1.1  riastrad esac
   3826  1.1  riastrad eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3827  1.1  riastrad $as_echo "$ac_try_echo"; } >&5
   3828  1.1  riastrad   (eval "$ac_link") 2>&5
   3829  1.1  riastrad   ac_status=$?
   3830  1.1  riastrad   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3831  1.1  riastrad   test $ac_status = 0; }; then :
   3832  1.1  riastrad   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3833  1.1  riastrad # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3834  1.1  riastrad # work properly (i.e., refer to `conftest.exe'), while it won't with
   3835  1.1  riastrad # `rm'.
   3836  1.1  riastrad for ac_file in conftest.exe conftest conftest.*; do
   3837  1.1  riastrad   test -f "$ac_file" || continue
   3838  1.1  riastrad   case $ac_file in
   3839  1.1  riastrad     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3840  1.1  riastrad     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3841  1.1  riastrad 	  break;;
   3842  1.1  riastrad     * ) break;;
   3843  1.1  riastrad   esac
   3844  1.1  riastrad done
   3845  1.1  riastrad else
   3846  1.1  riastrad   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3847  1.1  riastrad $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3848  1.1  riastrad as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3849  1.1  riastrad See \`config.log' for more details" "$LINENO" 5; }
   3850  1.1  riastrad fi
   3851  1.1  riastrad rm -f conftest conftest$ac_cv_exeext
   3852  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3853  1.1  riastrad $as_echo "$ac_cv_exeext" >&6; }
   3854  1.1  riastrad 
   3855  1.1  riastrad rm -f conftest.$ac_ext
   3856  1.1  riastrad EXEEXT=$ac_cv_exeext
   3857  1.1  riastrad ac_exeext=$EXEEXT
   3858  1.1  riastrad cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3859  1.1  riastrad /* end confdefs.h.  */
   3860  1.1  riastrad #include <stdio.h>
   3861  1.1  riastrad int
   3862  1.1  riastrad main ()
   3863  1.1  riastrad {
   3864  1.1  riastrad FILE *f = fopen ("conftest.out", "w");
   3865  1.1  riastrad  return ferror (f) || fclose (f) != 0;
   3866  1.1  riastrad 
   3867  1.1  riastrad   ;
   3868  1.1  riastrad   return 0;
   3869  1.1  riastrad }
   3870  1.1  riastrad _ACEOF
   3871  1.1  riastrad ac_clean_files="$ac_clean_files conftest.out"
   3872  1.1  riastrad # Check that the compiler produces executables we can run.  If not, either
   3873  1.1  riastrad # the compiler is broken, or we cross compile.
   3874  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3875  1.1  riastrad $as_echo_n "checking whether we are cross compiling... " >&6; }
   3876  1.1  riastrad if test "$cross_compiling" != yes; then
   3877  1.1  riastrad   { { ac_try="$ac_link"
   3878  1.1  riastrad case "(($ac_try" in
   3879  1.1  riastrad   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3880  1.1  riastrad   *) ac_try_echo=$ac_try;;
   3881  1.1  riastrad esac
   3882  1.1  riastrad eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3883  1.1  riastrad $as_echo "$ac_try_echo"; } >&5
   3884  1.1  riastrad   (eval "$ac_link") 2>&5
   3885  1.1  riastrad   ac_status=$?
   3886  1.1  riastrad   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3887  1.1  riastrad   test $ac_status = 0; }
   3888  1.1  riastrad   if { ac_try='./conftest$ac_cv_exeext'
   3889  1.1  riastrad   { { case "(($ac_try" in
   3890  1.1  riastrad   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3891  1.1  riastrad   *) ac_try_echo=$ac_try;;
   3892  1.1  riastrad esac
   3893  1.1  riastrad eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3894  1.1  riastrad $as_echo "$ac_try_echo"; } >&5
   3895  1.1  riastrad   (eval "$ac_try") 2>&5
   3896  1.1  riastrad   ac_status=$?
   3897  1.1  riastrad   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3898  1.1  riastrad   test $ac_status = 0; }; }; then
   3899  1.1  riastrad     cross_compiling=no
   3900  1.1  riastrad   else
   3901  1.1  riastrad     if test "$cross_compiling" = maybe; then
   3902  1.1  riastrad 	cross_compiling=yes
   3903  1.1  riastrad     else
   3904  1.1  riastrad 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3905  1.1  riastrad $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3906  1.1  riastrad as_fn_error $? "cannot run C compiled programs.
   3907  1.1  riastrad If you meant to cross compile, use \`--host'.
   3908  1.1  riastrad See \`config.log' for more details" "$LINENO" 5; }
   3909  1.1  riastrad     fi
   3910  1.1  riastrad   fi
   3911  1.1  riastrad fi
   3912  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3913  1.1  riastrad $as_echo "$cross_compiling" >&6; }
   3914  1.1  riastrad 
   3915  1.1  riastrad rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3916  1.1  riastrad ac_clean_files=$ac_clean_files_save
   3917  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3918  1.1  riastrad $as_echo_n "checking for suffix of object files... " >&6; }
   3919  1.1  riastrad if ${ac_cv_objext+:} false; then :
   3920  1.1  riastrad   $as_echo_n "(cached) " >&6
   3921  1.1  riastrad else
   3922  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3923  1.1  riastrad /* end confdefs.h.  */
   3924  1.1  riastrad 
   3925  1.1  riastrad int
   3926  1.1  riastrad main ()
   3927  1.1  riastrad {
   3928  1.1  riastrad 
   3929  1.1  riastrad   ;
   3930  1.1  riastrad   return 0;
   3931  1.1  riastrad }
   3932  1.1  riastrad _ACEOF
   3933  1.1  riastrad rm -f conftest.o conftest.obj
   3934  1.1  riastrad if { { ac_try="$ac_compile"
   3935  1.1  riastrad case "(($ac_try" in
   3936  1.1  riastrad   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3937  1.1  riastrad   *) ac_try_echo=$ac_try;;
   3938  1.1  riastrad esac
   3939  1.1  riastrad eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3940  1.1  riastrad $as_echo "$ac_try_echo"; } >&5
   3941  1.1  riastrad   (eval "$ac_compile") 2>&5
   3942  1.1  riastrad   ac_status=$?
   3943  1.1  riastrad   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3944  1.1  riastrad   test $ac_status = 0; }; then :
   3945  1.1  riastrad   for ac_file in conftest.o conftest.obj conftest.*; do
   3946  1.1  riastrad   test -f "$ac_file" || continue;
   3947  1.1  riastrad   case $ac_file in
   3948  1.1  riastrad     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3949  1.1  riastrad     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3950  1.1  riastrad        break;;
   3951  1.1  riastrad   esac
   3952  1.1  riastrad done
   3953  1.1  riastrad else
   3954  1.1  riastrad   $as_echo "$as_me: failed program was:" >&5
   3955  1.1  riastrad sed 's/^/| /' conftest.$ac_ext >&5
   3956  1.1  riastrad 
   3957  1.1  riastrad { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3958  1.1  riastrad $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3959  1.1  riastrad as_fn_error $? "cannot compute suffix of object files: cannot compile
   3960  1.1  riastrad See \`config.log' for more details" "$LINENO" 5; }
   3961  1.1  riastrad fi
   3962  1.1  riastrad rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3963  1.1  riastrad fi
   3964  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3965  1.1  riastrad $as_echo "$ac_cv_objext" >&6; }
   3966  1.1  riastrad OBJEXT=$ac_cv_objext
   3967  1.1  riastrad ac_objext=$OBJEXT
   3968  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3969  1.1  riastrad $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3970  1.1  riastrad if ${ac_cv_c_compiler_gnu+:} false; then :
   3971  1.1  riastrad   $as_echo_n "(cached) " >&6
   3972  1.1  riastrad else
   3973  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3974  1.1  riastrad /* end confdefs.h.  */
   3975  1.1  riastrad 
   3976  1.1  riastrad int
   3977  1.1  riastrad main ()
   3978  1.1  riastrad {
   3979  1.1  riastrad #ifndef __GNUC__
   3980  1.1  riastrad        choke me
   3981  1.1  riastrad #endif
   3982  1.1  riastrad 
   3983  1.1  riastrad   ;
   3984  1.1  riastrad   return 0;
   3985  1.1  riastrad }
   3986  1.1  riastrad _ACEOF
   3987  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   3988  1.1  riastrad   ac_compiler_gnu=yes
   3989  1.1  riastrad else
   3990  1.1  riastrad   ac_compiler_gnu=no
   3991  1.1  riastrad fi
   3992  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3993  1.1  riastrad ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3994  1.1  riastrad 
   3995  1.1  riastrad fi
   3996  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3997  1.1  riastrad $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3998  1.1  riastrad if test $ac_compiler_gnu = yes; then
   3999  1.1  riastrad   GCC=yes
   4000  1.1  riastrad else
   4001  1.1  riastrad   GCC=
   4002  1.1  riastrad fi
   4003  1.1  riastrad ac_test_CFLAGS=${CFLAGS+set}
   4004  1.1  riastrad ac_save_CFLAGS=$CFLAGS
   4005  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4006  1.1  riastrad $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4007  1.1  riastrad if ${ac_cv_prog_cc_g+:} false; then :
   4008  1.1  riastrad   $as_echo_n "(cached) " >&6
   4009  1.1  riastrad else
   4010  1.1  riastrad   ac_save_c_werror_flag=$ac_c_werror_flag
   4011  1.1  riastrad    ac_c_werror_flag=yes
   4012  1.1  riastrad    ac_cv_prog_cc_g=no
   4013  1.1  riastrad    CFLAGS="-g"
   4014  1.1  riastrad    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4015  1.1  riastrad /* end confdefs.h.  */
   4016  1.1  riastrad 
   4017  1.1  riastrad int
   4018  1.1  riastrad main ()
   4019  1.1  riastrad {
   4020  1.1  riastrad 
   4021  1.1  riastrad   ;
   4022  1.1  riastrad   return 0;
   4023  1.1  riastrad }
   4024  1.1  riastrad _ACEOF
   4025  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   4026  1.1  riastrad   ac_cv_prog_cc_g=yes
   4027  1.1  riastrad else
   4028  1.1  riastrad   CFLAGS=""
   4029  1.1  riastrad       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4030  1.1  riastrad /* end confdefs.h.  */
   4031  1.1  riastrad 
   4032  1.1  riastrad int
   4033  1.1  riastrad main ()
   4034  1.1  riastrad {
   4035  1.1  riastrad 
   4036  1.1  riastrad   ;
   4037  1.1  riastrad   return 0;
   4038  1.1  riastrad }
   4039  1.1  riastrad _ACEOF
   4040  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   4041  1.1  riastrad 
   4042  1.1  riastrad else
   4043  1.1  riastrad   ac_c_werror_flag=$ac_save_c_werror_flag
   4044  1.1  riastrad 	 CFLAGS="-g"
   4045  1.1  riastrad 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4046  1.1  riastrad /* end confdefs.h.  */
   4047  1.1  riastrad 
   4048  1.1  riastrad int
   4049  1.1  riastrad main ()
   4050  1.1  riastrad {
   4051  1.1  riastrad 
   4052  1.1  riastrad   ;
   4053  1.1  riastrad   return 0;
   4054  1.1  riastrad }
   4055  1.1  riastrad _ACEOF
   4056  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   4057  1.1  riastrad   ac_cv_prog_cc_g=yes
   4058  1.1  riastrad fi
   4059  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4060  1.1  riastrad fi
   4061  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4062  1.1  riastrad fi
   4063  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4064  1.1  riastrad    ac_c_werror_flag=$ac_save_c_werror_flag
   4065  1.1  riastrad fi
   4066  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4067  1.1  riastrad $as_echo "$ac_cv_prog_cc_g" >&6; }
   4068  1.1  riastrad if test "$ac_test_CFLAGS" = set; then
   4069  1.1  riastrad   CFLAGS=$ac_save_CFLAGS
   4070  1.1  riastrad elif test $ac_cv_prog_cc_g = yes; then
   4071  1.1  riastrad   if test "$GCC" = yes; then
   4072  1.1  riastrad     CFLAGS="-g -O2"
   4073  1.1  riastrad   else
   4074  1.1  riastrad     CFLAGS="-g"
   4075  1.1  riastrad   fi
   4076  1.1  riastrad else
   4077  1.1  riastrad   if test "$GCC" = yes; then
   4078  1.1  riastrad     CFLAGS="-O2"
   4079  1.1  riastrad   else
   4080  1.1  riastrad     CFLAGS=
   4081  1.1  riastrad   fi
   4082  1.1  riastrad fi
   4083  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4084  1.1  riastrad $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4085  1.1  riastrad if ${ac_cv_prog_cc_c89+:} false; then :
   4086  1.1  riastrad   $as_echo_n "(cached) " >&6
   4087  1.1  riastrad else
   4088  1.1  riastrad   ac_cv_prog_cc_c89=no
   4089  1.1  riastrad ac_save_CC=$CC
   4090  1.1  riastrad cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4091  1.1  riastrad /* end confdefs.h.  */
   4092  1.1  riastrad #include <stdarg.h>
   4093  1.1  riastrad #include <stdio.h>
   4094  1.1  riastrad struct stat;
   4095  1.1  riastrad /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4096  1.1  riastrad struct buf { int x; };
   4097  1.1  riastrad FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4098  1.1  riastrad static char *e (p, i)
   4099  1.1  riastrad      char **p;
   4100  1.1  riastrad      int i;
   4101  1.1  riastrad {
   4102  1.1  riastrad   return p[i];
   4103  1.1  riastrad }
   4104  1.1  riastrad static char *f (char * (*g) (char **, int), char **p, ...)
   4105  1.1  riastrad {
   4106  1.1  riastrad   char *s;
   4107  1.1  riastrad   va_list v;
   4108  1.1  riastrad   va_start (v,p);
   4109  1.1  riastrad   s = g (p, va_arg (v,int));
   4110  1.1  riastrad   va_end (v);
   4111  1.1  riastrad   return s;
   4112  1.1  riastrad }
   4113  1.1  riastrad 
   4114  1.1  riastrad /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4115  1.1  riastrad    function prototypes and stuff, but not '\xHH' hex character constants.
   4116  1.1  riastrad    These don't provoke an error unfortunately, instead are silently treated
   4117  1.1  riastrad    as 'x'.  The following induces an error, until -std is added to get
   4118  1.1  riastrad    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4119  1.1  riastrad    array size at least.  It's necessary to write '\x00'==0 to get something
   4120  1.1  riastrad    that's true only with -std.  */
   4121  1.1  riastrad int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4122  1.1  riastrad 
   4123  1.1  riastrad /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4124  1.1  riastrad    inside strings and character constants.  */
   4125  1.1  riastrad #define FOO(x) 'x'
   4126  1.1  riastrad int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4127  1.1  riastrad 
   4128  1.1  riastrad int test (int i, double x);
   4129  1.1  riastrad struct s1 {int (*f) (int a);};
   4130  1.1  riastrad struct s2 {int (*f) (double a);};
   4131  1.1  riastrad int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4132  1.1  riastrad int argc;
   4133  1.1  riastrad char **argv;
   4134  1.1  riastrad int
   4135  1.1  riastrad main ()
   4136  1.1  riastrad {
   4137  1.1  riastrad return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4138  1.1  riastrad   ;
   4139  1.1  riastrad   return 0;
   4140  1.1  riastrad }
   4141  1.1  riastrad _ACEOF
   4142  1.1  riastrad for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4143  1.1  riastrad 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4144  1.1  riastrad do
   4145  1.1  riastrad   CC="$ac_save_CC $ac_arg"
   4146  1.1  riastrad   if ac_fn_c_try_compile "$LINENO"; then :
   4147  1.1  riastrad   ac_cv_prog_cc_c89=$ac_arg
   4148  1.1  riastrad fi
   4149  1.1  riastrad rm -f core conftest.err conftest.$ac_objext
   4150  1.1  riastrad   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4151  1.1  riastrad done
   4152  1.1  riastrad rm -f conftest.$ac_ext
   4153  1.1  riastrad CC=$ac_save_CC
   4154  1.1  riastrad 
   4155  1.1  riastrad fi
   4156  1.1  riastrad # AC_CACHE_VAL
   4157  1.1  riastrad case "x$ac_cv_prog_cc_c89" in
   4158  1.1  riastrad   x)
   4159  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4160  1.1  riastrad $as_echo "none needed" >&6; } ;;
   4161  1.1  riastrad   xno)
   4162  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4163  1.1  riastrad $as_echo "unsupported" >&6; } ;;
   4164  1.1  riastrad   *)
   4165  1.1  riastrad     CC="$CC $ac_cv_prog_cc_c89"
   4166  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4167  1.1  riastrad $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4168  1.1  riastrad esac
   4169  1.1  riastrad if test "x$ac_cv_prog_cc_c89" != xno; then :
   4170  1.1  riastrad 
   4171  1.1  riastrad fi
   4172  1.1  riastrad 
   4173  1.1  riastrad ac_ext=c
   4174  1.1  riastrad ac_cpp='$CPP $CPPFLAGS'
   4175  1.1  riastrad ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4176  1.1  riastrad ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4177  1.1  riastrad ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4178  1.1  riastrad 
   4179  1.1  riastrad ac_ext=c
   4180  1.1  riastrad ac_cpp='$CPP $CPPFLAGS'
   4181  1.1  riastrad ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4182  1.1  riastrad ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4183  1.1  riastrad ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4184  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4185  1.1  riastrad $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4186  1.1  riastrad if ${am_cv_prog_cc_c_o+:} false; then :
   4187  1.1  riastrad   $as_echo_n "(cached) " >&6
   4188  1.1  riastrad else
   4189  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4190  1.1  riastrad /* end confdefs.h.  */
   4191  1.1  riastrad 
   4192  1.1  riastrad int
   4193  1.1  riastrad main ()
   4194  1.1  riastrad {
   4195  1.1  riastrad 
   4196  1.1  riastrad   ;
   4197  1.1  riastrad   return 0;
   4198  1.1  riastrad }
   4199  1.1  riastrad _ACEOF
   4200  1.1  riastrad   # Make sure it works both with $CC and with simple cc.
   4201  1.1  riastrad   # Following AC_PROG_CC_C_O, we do the test twice because some
   4202  1.1  riastrad   # compilers refuse to overwrite an existing .o file with -o,
   4203  1.1  riastrad   # though they will create one.
   4204  1.1  riastrad   am_cv_prog_cc_c_o=yes
   4205  1.1  riastrad   for am_i in 1 2; do
   4206  1.1  riastrad     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4207  1.1  riastrad    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4208  1.1  riastrad    ac_status=$?
   4209  1.1  riastrad    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4210  1.1  riastrad    (exit $ac_status); } \
   4211  1.1  riastrad          && test -f conftest2.$ac_objext; then
   4212  1.1  riastrad       : OK
   4213  1.1  riastrad     else
   4214  1.1  riastrad       am_cv_prog_cc_c_o=no
   4215  1.1  riastrad       break
   4216  1.1  riastrad     fi
   4217  1.1  riastrad   done
   4218  1.1  riastrad   rm -f core conftest*
   4219  1.1  riastrad   unset am_i
   4220  1.1  riastrad fi
   4221  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4222  1.1  riastrad $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4223  1.1  riastrad if test "$am_cv_prog_cc_c_o" != yes; then
   4224  1.1  riastrad    # Losing compiler, so override with the script.
   4225  1.1  riastrad    # FIXME: It is wrong to rewrite CC.
   4226  1.1  riastrad    # But if we don't then we get into trouble of one sort or another.
   4227  1.1  riastrad    # A longer-term fix would be to have automake use am__CC in this case,
   4228  1.1  riastrad    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4229  1.1  riastrad    CC="$am_aux_dir/compile $CC"
   4230  1.1  riastrad fi
   4231  1.1  riastrad ac_ext=c
   4232  1.1  riastrad ac_cpp='$CPP $CPPFLAGS'
   4233  1.1  riastrad ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4234  1.1  riastrad ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4235  1.1  riastrad ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4236  1.1  riastrad 
   4237  1.1  riastrad 
   4238  1.1  riastrad depcc="$CC"   am_compiler_list=
   4239  1.1  riastrad 
   4240  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4241  1.1  riastrad $as_echo_n "checking dependency style of $depcc... " >&6; }
   4242  1.1  riastrad if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4243  1.1  riastrad   $as_echo_n "(cached) " >&6
   4244  1.1  riastrad else
   4245  1.1  riastrad   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4246  1.1  riastrad   # We make a subdir and do the tests there.  Otherwise we can end up
   4247  1.1  riastrad   # making bogus files that we don't know about and never remove.  For
   4248  1.1  riastrad   # instance it was reported that on HP-UX the gcc test will end up
   4249  1.1  riastrad   # making a dummy file named 'D' -- because '-MD' means "put the output
   4250  1.1  riastrad   # in D".
   4251  1.1  riastrad   rm -rf conftest.dir
   4252  1.1  riastrad   mkdir conftest.dir
   4253  1.1  riastrad   # Copy depcomp to subdir because otherwise we won't find it if we're
   4254  1.1  riastrad   # using a relative directory.
   4255  1.1  riastrad   cp "$am_depcomp" conftest.dir
   4256  1.1  riastrad   cd conftest.dir
   4257  1.1  riastrad   # We will build objects and dependencies in a subdirectory because
   4258  1.1  riastrad   # it helps to detect inapplicable dependency modes.  For instance
   4259  1.1  riastrad   # both Tru64's cc and ICC support -MD to output dependencies as a
   4260  1.1  riastrad   # side effect of compilation, but ICC will put the dependencies in
   4261  1.1  riastrad   # the current directory while Tru64 will put them in the object
   4262  1.1  riastrad   # directory.
   4263  1.1  riastrad   mkdir sub
   4264  1.1  riastrad 
   4265  1.1  riastrad   am_cv_CC_dependencies_compiler_type=none
   4266  1.1  riastrad   if test "$am_compiler_list" = ""; then
   4267  1.1  riastrad      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4268  1.1  riastrad   fi
   4269  1.1  riastrad   am__universal=false
   4270  1.1  riastrad   case " $depcc " in #(
   4271  1.1  riastrad      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4272  1.1  riastrad      esac
   4273  1.1  riastrad 
   4274  1.1  riastrad   for depmode in $am_compiler_list; do
   4275  1.1  riastrad     # Setup a source with many dependencies, because some compilers
   4276  1.1  riastrad     # like to wrap large dependency lists on column 80 (with \), and
   4277  1.1  riastrad     # we should not choose a depcomp mode which is confused by this.
   4278  1.1  riastrad     #
   4279  1.1  riastrad     # We need to recreate these files for each test, as the compiler may
   4280  1.1  riastrad     # overwrite some of them when testing with obscure command lines.
   4281  1.1  riastrad     # This happens at least with the AIX C compiler.
   4282  1.1  riastrad     : > sub/conftest.c
   4283  1.1  riastrad     for i in 1 2 3 4 5 6; do
   4284  1.1  riastrad       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4285  1.1  riastrad       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4286  1.1  riastrad       # Solaris 10 /bin/sh.
   4287  1.1  riastrad       echo '/* dummy */' > sub/conftst$i.h
   4288  1.1  riastrad     done
   4289  1.1  riastrad     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4290  1.1  riastrad 
   4291  1.1  riastrad     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4292  1.1  riastrad     # mode.  It turns out that the SunPro C++ compiler does not properly
   4293  1.1  riastrad     # handle '-M -o', and we need to detect this.  Also, some Intel
   4294  1.1  riastrad     # versions had trouble with output in subdirs.
   4295  1.1  riastrad     am__obj=sub/conftest.${OBJEXT-o}
   4296  1.1  riastrad     am__minus_obj="-o $am__obj"
   4297  1.1  riastrad     case $depmode in
   4298  1.1  riastrad     gcc)
   4299  1.1  riastrad       # This depmode causes a compiler race in universal mode.
   4300  1.1  riastrad       test "$am__universal" = false || continue
   4301  1.1  riastrad       ;;
   4302  1.1  riastrad     nosideeffect)
   4303  1.1  riastrad       # After this tag, mechanisms are not by side-effect, so they'll
   4304  1.1  riastrad       # only be used when explicitly requested.
   4305  1.1  riastrad       if test "x$enable_dependency_tracking" = xyes; then
   4306  1.1  riastrad 	continue
   4307  1.1  riastrad       else
   4308  1.1  riastrad 	break
   4309  1.1  riastrad       fi
   4310  1.1  riastrad       ;;
   4311  1.1  riastrad     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4312  1.1  riastrad       # This compiler won't grok '-c -o', but also, the minuso test has
   4313  1.1  riastrad       # not run yet.  These depmodes are late enough in the game, and
   4314  1.1  riastrad       # so weak that their functioning should not be impacted.
   4315  1.1  riastrad       am__obj=conftest.${OBJEXT-o}
   4316  1.1  riastrad       am__minus_obj=
   4317  1.1  riastrad       ;;
   4318  1.1  riastrad     none) break ;;
   4319  1.1  riastrad     esac
   4320  1.1  riastrad     if depmode=$depmode \
   4321  1.1  riastrad        source=sub/conftest.c object=$am__obj \
   4322  1.1  riastrad        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4323  1.1  riastrad        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4324  1.1  riastrad          >/dev/null 2>conftest.err &&
   4325  1.1  riastrad        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4326  1.1  riastrad        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4327  1.1  riastrad        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4328  1.1  riastrad        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4329  1.1  riastrad       # icc doesn't choke on unknown options, it will just issue warnings
   4330  1.1  riastrad       # or remarks (even with -Werror).  So we grep stderr for any message
   4331  1.1  riastrad       # that says an option was ignored or not supported.
   4332  1.1  riastrad       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4333  1.1  riastrad       #   icc: Command line warning: ignoring option '-M'; no argument required
   4334  1.1  riastrad       # The diagnosis changed in icc 8.0:
   4335  1.1  riastrad       #   icc: Command line remark: option '-MP' not supported
   4336  1.1  riastrad       if (grep 'ignoring option' conftest.err ||
   4337  1.1  riastrad           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4338  1.1  riastrad         am_cv_CC_dependencies_compiler_type=$depmode
   4339  1.1  riastrad         break
   4340  1.1  riastrad       fi
   4341  1.1  riastrad     fi
   4342  1.1  riastrad   done
   4343  1.1  riastrad 
   4344  1.1  riastrad   cd ..
   4345  1.1  riastrad   rm -rf conftest.dir
   4346  1.1  riastrad else
   4347  1.1  riastrad   am_cv_CC_dependencies_compiler_type=none
   4348  1.1  riastrad fi
   4349  1.1  riastrad 
   4350  1.1  riastrad fi
   4351  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4352  1.1  riastrad $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4353  1.1  riastrad CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4354  1.1  riastrad 
   4355  1.1  riastrad  if
   4356  1.1  riastrad   test "x$enable_dependency_tracking" != xno \
   4357  1.1  riastrad   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4358  1.1  riastrad   am__fastdepCC_TRUE=
   4359  1.1  riastrad   am__fastdepCC_FALSE='#'
   4360  1.1  riastrad else
   4361  1.1  riastrad   am__fastdepCC_TRUE='#'
   4362  1.1  riastrad   am__fastdepCC_FALSE=
   4363  1.1  riastrad fi
   4364  1.1  riastrad 
   4365  1.1  riastrad 
   4366  1.1  riastrad 
   4367  1.1  riastrad if test "x$EMSCRIPTEN" != "x"; then :
   4368  1.1  riastrad 
   4369  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -s ASSERTIONS=0" >&5
   4370  1.1  riastrad $as_echo_n "checking whether C compiler accepts -s ASSERTIONS=0... " >&6; }
   4371  1.1  riastrad if ${ax_cv_check_cflags___s_ASSERTIONS_0+:} false; then :
   4372  1.1  riastrad   $as_echo_n "(cached) " >&6
   4373  1.1  riastrad else
   4374  1.1  riastrad 
   4375  1.1  riastrad   ax_check_save_flags=$CFLAGS
   4376  1.1  riastrad   CFLAGS="$CFLAGS  -s ASSERTIONS=0"
   4377  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4378  1.1  riastrad /* end confdefs.h.  */
   4379  1.1  riastrad #include <time.h>
   4380  1.1  riastrad int
   4381  1.1  riastrad main ()
   4382  1.1  riastrad {
   4383  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   4384  1.1  riastrad   ;
   4385  1.1  riastrad   return 0;
   4386  1.1  riastrad }
   4387  1.1  riastrad _ACEOF
   4388  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   4389  1.1  riastrad   ax_cv_check_cflags___s_ASSERTIONS_0=yes
   4390  1.1  riastrad else
   4391  1.1  riastrad   ax_cv_check_cflags___s_ASSERTIONS_0=no
   4392  1.1  riastrad fi
   4393  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   4394  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   4395  1.1  riastrad   CFLAGS=$ax_check_save_flags
   4396  1.1  riastrad fi
   4397  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___s_ASSERTIONS_0" >&5
   4398  1.1  riastrad $as_echo "$ax_cv_check_cflags___s_ASSERTIONS_0" >&6; }
   4399  1.1  riastrad if test "x$ax_cv_check_cflags___s_ASSERTIONS_0" = xyes; then :
   4400  1.1  riastrad 
   4401  1.1  riastrad     enable_asm="no"
   4402  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compiling to JavaScript - asm implementations disabled" >&5
   4403  1.1  riastrad $as_echo "$as_me: WARNING: compiling to JavaScript - asm implementations disabled" >&2;}
   4404  1.1  riastrad 
   4405  1.1  riastrad else
   4406  1.1  riastrad 
   4407  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: EMSCRIPTEN environment variable defined, but emcc doesn't appear to be used - Assuming compilation to native code" >&5
   4408  1.1  riastrad $as_echo "$as_me: WARNING: EMSCRIPTEN environment variable defined, but emcc doesn't appear to be used - Assuming compilation to native code" >&2;}
   4409  1.1  riastrad     CFLAGS="$CFLAGS -U__EMSCRIPTEN__"
   4410  1.1  riastrad     unset EMSCRIPTEN
   4411  1.1  riastrad 
   4412  1.1  riastrad fi
   4413  1.1  riastrad 
   4414  1.1  riastrad 
   4415  1.1  riastrad fi
   4416  1.1  riastrad if test "$host_os" = "nacl" -o "$host_os" = "pnacl"; then :
   4417  1.1  riastrad 
   4418  1.1  riastrad   enable_asm="no"
   4419  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compiling to Native Client - asm implementations disabled" >&5
   4420  1.1  riastrad $as_echo "$as_me: WARNING: compiling to Native Client - asm implementations disabled" >&2;}
   4421  1.1  riastrad 
   4422  1.1  riastrad fi
   4423  1.1  riastrad 
   4424  1.1  riastrad # Check whether --enable-pie was given.
   4425  1.1  riastrad if test "${enable_pie+set}" = set; then :
   4426  1.1  riastrad   enableval=$enable_pie; enable_pie=$enableval
   4427  1.1  riastrad else
   4428  1.1  riastrad   enable_pie="maybe"
   4429  1.1  riastrad fi
   4430  1.1  riastrad 
   4431  1.1  riastrad 
   4432  1.1  riastrad case $host_os in #(
   4433  1.1  riastrad   mingw*|cygwin*|msys) :
   4434  1.1  riastrad     enable_pie="no" ;; #(
   4435  1.1  riastrad   *) :
   4436  1.1  riastrad      ;;
   4437  1.1  riastrad esac
   4438  1.1  riastrad 
   4439  1.1  riastrad # Check whether --enable-blocking-random was given.
   4440  1.1  riastrad if test "${enable_blocking_random+set}" = set; then :
   4441  1.1  riastrad   enableval=$enable_blocking_random;
   4442  1.1  riastrad   if test "x$enableval" = "xyes"; then :
   4443  1.1  riastrad 
   4444  1.1  riastrad 
   4445  1.1  riastrad $as_echo "#define USE_BLOCKING_RANDOM 1" >>confdefs.h
   4446  1.1  riastrad 
   4447  1.1  riastrad 
   4448  1.1  riastrad fi
   4449  1.1  riastrad 
   4450  1.1  riastrad fi
   4451  1.1  riastrad 
   4452  1.1  riastrad 
   4453  1.1  riastrad # Check whether --enable-minimal was given.
   4454  1.1  riastrad if test "${enable_minimal+set}" = set; then :
   4455  1.1  riastrad   enableval=$enable_minimal;
   4456  1.1  riastrad   if test "x$enableval" = "xyes"; then :
   4457  1.1  riastrad 
   4458  1.1  riastrad     enable_minimal="yes"
   4459  1.1  riastrad     SODIUM_LIBRARY_MINIMAL_DEF="#define SODIUM_LIBRARY_MINIMAL 1"
   4460  1.1  riastrad 
   4461  1.1  riastrad $as_echo "#define MINIMAL 1" >>confdefs.h
   4462  1.1  riastrad 
   4463  1.1  riastrad 
   4464  1.1  riastrad else
   4465  1.1  riastrad 
   4466  1.1  riastrad     enable_minimal="no"
   4467  1.1  riastrad 
   4468  1.1  riastrad fi
   4469  1.1  riastrad 
   4470  1.1  riastrad else
   4471  1.1  riastrad 
   4472  1.1  riastrad   enable_minimal="no"
   4473  1.1  riastrad 
   4474  1.1  riastrad fi
   4475  1.1  riastrad 
   4476  1.1  riastrad  if test x$enable_minimal = xyes; then
   4477  1.1  riastrad   MINIMAL_TRUE=
   4478  1.1  riastrad   MINIMAL_FALSE='#'
   4479  1.1  riastrad else
   4480  1.1  riastrad   MINIMAL_TRUE='#'
   4481  1.1  riastrad   MINIMAL_FALSE=
   4482  1.1  riastrad fi
   4483  1.1  riastrad 
   4484  1.1  riastrad 
   4485  1.1  riastrad 
   4486  1.1  riastrad 
   4487  1.1  riastrad # Check whether --with-pthreads was given.
   4488  1.1  riastrad if test "${with_pthreads+set}" = set; then :
   4489  1.1  riastrad   withval=$with_pthreads;
   4490  1.1  riastrad else
   4491  1.1  riastrad   withval="yes"
   4492  1.1  riastrad fi
   4493  1.1  riastrad 
   4494  1.1  riastrad 
   4495  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4496  1.1  riastrad $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4497  1.1  riastrad if ${ac_cv_path_SED+:} false; then :
   4498  1.1  riastrad   $as_echo_n "(cached) " >&6
   4499  1.1  riastrad else
   4500  1.1  riastrad             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4501  1.1  riastrad      for ac_i in 1 2 3 4 5 6 7; do
   4502  1.1  riastrad        ac_script="$ac_script$as_nl$ac_script"
   4503  1.1  riastrad      done
   4504  1.1  riastrad      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4505  1.1  riastrad      { ac_script=; unset ac_script;}
   4506  1.1  riastrad      if test -z "$SED"; then
   4507  1.1  riastrad   ac_path_SED_found=false
   4508  1.1  riastrad   # Loop through the user's path and test for each of PROGNAME-LIST
   4509  1.1  riastrad   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4510  1.1  riastrad for as_dir in $PATH
   4511  1.1  riastrad do
   4512  1.1  riastrad   IFS=$as_save_IFS
   4513  1.1  riastrad   test -z "$as_dir" && as_dir=.
   4514  1.1  riastrad     for ac_prog in sed gsed; do
   4515  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   4516  1.1  riastrad       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4517  1.1  riastrad       as_fn_executable_p "$ac_path_SED" || continue
   4518  1.1  riastrad # Check for GNU ac_path_SED and select it if it is found.
   4519  1.1  riastrad   # Check for GNU $ac_path_SED
   4520  1.1  riastrad case `"$ac_path_SED" --version 2>&1` in
   4521  1.1  riastrad *GNU*)
   4522  1.1  riastrad   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4523  1.1  riastrad *)
   4524  1.1  riastrad   ac_count=0
   4525  1.1  riastrad   $as_echo_n 0123456789 >"conftest.in"
   4526  1.1  riastrad   while :
   4527  1.1  riastrad   do
   4528  1.1  riastrad     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4529  1.1  riastrad     mv "conftest.tmp" "conftest.in"
   4530  1.1  riastrad     cp "conftest.in" "conftest.nl"
   4531  1.1  riastrad     $as_echo '' >> "conftest.nl"
   4532  1.1  riastrad     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4533  1.1  riastrad     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4534  1.1  riastrad     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4535  1.1  riastrad     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4536  1.1  riastrad       # Best one so far, save it but keep looking for a better one
   4537  1.1  riastrad       ac_cv_path_SED="$ac_path_SED"
   4538  1.1  riastrad       ac_path_SED_max=$ac_count
   4539  1.1  riastrad     fi
   4540  1.1  riastrad     # 10*(2^10) chars as input seems more than enough
   4541  1.1  riastrad     test $ac_count -gt 10 && break
   4542  1.1  riastrad   done
   4543  1.1  riastrad   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4544  1.1  riastrad esac
   4545  1.1  riastrad 
   4546  1.1  riastrad       $ac_path_SED_found && break 3
   4547  1.1  riastrad     done
   4548  1.1  riastrad   done
   4549  1.1  riastrad   done
   4550  1.1  riastrad IFS=$as_save_IFS
   4551  1.1  riastrad   if test -z "$ac_cv_path_SED"; then
   4552  1.1  riastrad     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4553  1.1  riastrad   fi
   4554  1.1  riastrad else
   4555  1.1  riastrad   ac_cv_path_SED=$SED
   4556  1.1  riastrad fi
   4557  1.1  riastrad 
   4558  1.1  riastrad fi
   4559  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4560  1.1  riastrad $as_echo "$ac_cv_path_SED" >&6; }
   4561  1.1  riastrad  SED="$ac_cv_path_SED"
   4562  1.1  riastrad   rm -f conftest.sed
   4563  1.1  riastrad 
   4564  1.1  riastrad ac_ext=c
   4565  1.1  riastrad ac_cpp='$CPP $CPPFLAGS'
   4566  1.1  riastrad ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4567  1.1  riastrad ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4568  1.1  riastrad ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4569  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4570  1.1  riastrad $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4571  1.1  riastrad # On Suns, sometimes $CPP names a directory.
   4572  1.1  riastrad if test -n "$CPP" && test -d "$CPP"; then
   4573  1.1  riastrad   CPP=
   4574  1.1  riastrad fi
   4575  1.1  riastrad if test -z "$CPP"; then
   4576  1.1  riastrad   if ${ac_cv_prog_CPP+:} false; then :
   4577  1.1  riastrad   $as_echo_n "(cached) " >&6
   4578  1.1  riastrad else
   4579  1.1  riastrad       # Double quotes because CPP needs to be expanded
   4580  1.1  riastrad     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4581  1.1  riastrad     do
   4582  1.1  riastrad       ac_preproc_ok=false
   4583  1.1  riastrad for ac_c_preproc_warn_flag in '' yes
   4584  1.1  riastrad do
   4585  1.1  riastrad   # Use a header file that comes with gcc, so configuring glibc
   4586  1.1  riastrad   # with a fresh cross-compiler works.
   4587  1.1  riastrad   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4588  1.1  riastrad   # <limits.h> exists even on freestanding compilers.
   4589  1.1  riastrad   # On the NeXT, cc -E runs the code through the compiler's parser,
   4590  1.1  riastrad   # not just through cpp. "Syntax error" is here to catch this case.
   4591  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4592  1.1  riastrad /* end confdefs.h.  */
   4593  1.1  riastrad #ifdef __STDC__
   4594  1.1  riastrad # include <limits.h>
   4595  1.1  riastrad #else
   4596  1.1  riastrad # include <assert.h>
   4597  1.1  riastrad #endif
   4598  1.1  riastrad 		     Syntax error
   4599  1.1  riastrad _ACEOF
   4600  1.1  riastrad if ac_fn_c_try_cpp "$LINENO"; then :
   4601  1.1  riastrad 
   4602  1.1  riastrad else
   4603  1.1  riastrad   # Broken: fails on valid input.
   4604  1.1  riastrad continue
   4605  1.1  riastrad fi
   4606  1.1  riastrad rm -f conftest.err conftest.i conftest.$ac_ext
   4607  1.1  riastrad 
   4608  1.1  riastrad   # OK, works on sane cases.  Now check whether nonexistent headers
   4609  1.1  riastrad   # can be detected and how.
   4610  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4611  1.1  riastrad /* end confdefs.h.  */
   4612  1.1  riastrad #include <ac_nonexistent.h>
   4613  1.1  riastrad _ACEOF
   4614  1.1  riastrad if ac_fn_c_try_cpp "$LINENO"; then :
   4615  1.1  riastrad   # Broken: success on invalid input.
   4616  1.1  riastrad continue
   4617  1.1  riastrad else
   4618  1.1  riastrad   # Passes both tests.
   4619  1.1  riastrad ac_preproc_ok=:
   4620  1.1  riastrad break
   4621  1.1  riastrad fi
   4622  1.1  riastrad rm -f conftest.err conftest.i conftest.$ac_ext
   4623  1.1  riastrad 
   4624  1.1  riastrad done
   4625  1.1  riastrad # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4626  1.1  riastrad rm -f conftest.i conftest.err conftest.$ac_ext
   4627  1.1  riastrad if $ac_preproc_ok; then :
   4628  1.1  riastrad   break
   4629  1.1  riastrad fi
   4630  1.1  riastrad 
   4631  1.1  riastrad     done
   4632  1.1  riastrad     ac_cv_prog_CPP=$CPP
   4633  1.1  riastrad 
   4634  1.1  riastrad fi
   4635  1.1  riastrad   CPP=$ac_cv_prog_CPP
   4636  1.1  riastrad else
   4637  1.1  riastrad   ac_cv_prog_CPP=$CPP
   4638  1.1  riastrad fi
   4639  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4640  1.1  riastrad $as_echo "$CPP" >&6; }
   4641  1.1  riastrad ac_preproc_ok=false
   4642  1.1  riastrad for ac_c_preproc_warn_flag in '' yes
   4643  1.1  riastrad do
   4644  1.1  riastrad   # Use a header file that comes with gcc, so configuring glibc
   4645  1.1  riastrad   # with a fresh cross-compiler works.
   4646  1.1  riastrad   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4647  1.1  riastrad   # <limits.h> exists even on freestanding compilers.
   4648  1.1  riastrad   # On the NeXT, cc -E runs the code through the compiler's parser,
   4649  1.1  riastrad   # not just through cpp. "Syntax error" is here to catch this case.
   4650  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4651  1.1  riastrad /* end confdefs.h.  */
   4652  1.1  riastrad #ifdef __STDC__
   4653  1.1  riastrad # include <limits.h>
   4654  1.1  riastrad #else
   4655  1.1  riastrad # include <assert.h>
   4656  1.1  riastrad #endif
   4657  1.1  riastrad 		     Syntax error
   4658  1.1  riastrad _ACEOF
   4659  1.1  riastrad if ac_fn_c_try_cpp "$LINENO"; then :
   4660  1.1  riastrad 
   4661  1.1  riastrad else
   4662  1.1  riastrad   # Broken: fails on valid input.
   4663  1.1  riastrad continue
   4664  1.1  riastrad fi
   4665  1.1  riastrad rm -f conftest.err conftest.i conftest.$ac_ext
   4666  1.1  riastrad 
   4667  1.1  riastrad   # OK, works on sane cases.  Now check whether nonexistent headers
   4668  1.1  riastrad   # can be detected and how.
   4669  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4670  1.1  riastrad /* end confdefs.h.  */
   4671  1.1  riastrad #include <ac_nonexistent.h>
   4672  1.1  riastrad _ACEOF
   4673  1.1  riastrad if ac_fn_c_try_cpp "$LINENO"; then :
   4674  1.1  riastrad   # Broken: success on invalid input.
   4675  1.1  riastrad continue
   4676  1.1  riastrad else
   4677  1.1  riastrad   # Passes both tests.
   4678  1.1  riastrad ac_preproc_ok=:
   4679  1.1  riastrad break
   4680  1.1  riastrad fi
   4681  1.1  riastrad rm -f conftest.err conftest.i conftest.$ac_ext
   4682  1.1  riastrad 
   4683  1.1  riastrad done
   4684  1.1  riastrad # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4685  1.1  riastrad rm -f conftest.i conftest.err conftest.$ac_ext
   4686  1.1  riastrad if $ac_preproc_ok; then :
   4687  1.1  riastrad 
   4688  1.1  riastrad else
   4689  1.1  riastrad   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4690  1.1  riastrad $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4691  1.1  riastrad as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4692  1.1  riastrad See \`config.log' for more details" "$LINENO" 5; }
   4693  1.1  riastrad fi
   4694  1.1  riastrad 
   4695  1.1  riastrad ac_ext=c
   4696  1.1  riastrad ac_cpp='$CPP $CPPFLAGS'
   4697  1.1  riastrad ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4698  1.1  riastrad ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4699  1.1  riastrad ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4700  1.1  riastrad 
   4701  1.1  riastrad 
   4702  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4703  1.1  riastrad $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4704  1.1  riastrad if ${ac_cv_path_GREP+:} false; then :
   4705  1.1  riastrad   $as_echo_n "(cached) " >&6
   4706  1.1  riastrad else
   4707  1.1  riastrad   if test -z "$GREP"; then
   4708  1.1  riastrad   ac_path_GREP_found=false
   4709  1.1  riastrad   # Loop through the user's path and test for each of PROGNAME-LIST
   4710  1.1  riastrad   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4711  1.1  riastrad for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4712  1.1  riastrad do
   4713  1.1  riastrad   IFS=$as_save_IFS
   4714  1.1  riastrad   test -z "$as_dir" && as_dir=.
   4715  1.1  riastrad     for ac_prog in grep ggrep; do
   4716  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   4717  1.1  riastrad       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4718  1.1  riastrad       as_fn_executable_p "$ac_path_GREP" || continue
   4719  1.1  riastrad # Check for GNU ac_path_GREP and select it if it is found.
   4720  1.1  riastrad   # Check for GNU $ac_path_GREP
   4721  1.1  riastrad case `"$ac_path_GREP" --version 2>&1` in
   4722  1.1  riastrad *GNU*)
   4723  1.1  riastrad   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4724  1.1  riastrad *)
   4725  1.1  riastrad   ac_count=0
   4726  1.1  riastrad   $as_echo_n 0123456789 >"conftest.in"
   4727  1.1  riastrad   while :
   4728  1.1  riastrad   do
   4729  1.1  riastrad     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4730  1.1  riastrad     mv "conftest.tmp" "conftest.in"
   4731  1.1  riastrad     cp "conftest.in" "conftest.nl"
   4732  1.1  riastrad     $as_echo 'GREP' >> "conftest.nl"
   4733  1.1  riastrad     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4734  1.1  riastrad     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4735  1.1  riastrad     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4736  1.1  riastrad     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4737  1.1  riastrad       # Best one so far, save it but keep looking for a better one
   4738  1.1  riastrad       ac_cv_path_GREP="$ac_path_GREP"
   4739  1.1  riastrad       ac_path_GREP_max=$ac_count
   4740  1.1  riastrad     fi
   4741  1.1  riastrad     # 10*(2^10) chars as input seems more than enough
   4742  1.1  riastrad     test $ac_count -gt 10 && break
   4743  1.1  riastrad   done
   4744  1.1  riastrad   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4745  1.1  riastrad esac
   4746  1.1  riastrad 
   4747  1.1  riastrad       $ac_path_GREP_found && break 3
   4748  1.1  riastrad     done
   4749  1.1  riastrad   done
   4750  1.1  riastrad   done
   4751  1.1  riastrad IFS=$as_save_IFS
   4752  1.1  riastrad   if test -z "$ac_cv_path_GREP"; then
   4753  1.1  riastrad     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4754  1.1  riastrad   fi
   4755  1.1  riastrad else
   4756  1.1  riastrad   ac_cv_path_GREP=$GREP
   4757  1.1  riastrad fi
   4758  1.1  riastrad 
   4759  1.1  riastrad fi
   4760  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4761  1.1  riastrad $as_echo "$ac_cv_path_GREP" >&6; }
   4762  1.1  riastrad  GREP="$ac_cv_path_GREP"
   4763  1.1  riastrad 
   4764  1.1  riastrad 
   4765  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4766  1.1  riastrad $as_echo_n "checking for egrep... " >&6; }
   4767  1.1  riastrad if ${ac_cv_path_EGREP+:} false; then :
   4768  1.1  riastrad   $as_echo_n "(cached) " >&6
   4769  1.1  riastrad else
   4770  1.1  riastrad   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4771  1.1  riastrad    then ac_cv_path_EGREP="$GREP -E"
   4772  1.1  riastrad    else
   4773  1.1  riastrad      if test -z "$EGREP"; then
   4774  1.1  riastrad   ac_path_EGREP_found=false
   4775  1.1  riastrad   # Loop through the user's path and test for each of PROGNAME-LIST
   4776  1.1  riastrad   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4777  1.1  riastrad for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4778  1.1  riastrad do
   4779  1.1  riastrad   IFS=$as_save_IFS
   4780  1.1  riastrad   test -z "$as_dir" && as_dir=.
   4781  1.1  riastrad     for ac_prog in egrep; do
   4782  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   4783  1.1  riastrad       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4784  1.1  riastrad       as_fn_executable_p "$ac_path_EGREP" || continue
   4785  1.1  riastrad # Check for GNU ac_path_EGREP and select it if it is found.
   4786  1.1  riastrad   # Check for GNU $ac_path_EGREP
   4787  1.1  riastrad case `"$ac_path_EGREP" --version 2>&1` in
   4788  1.1  riastrad *GNU*)
   4789  1.1  riastrad   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4790  1.1  riastrad *)
   4791  1.1  riastrad   ac_count=0
   4792  1.1  riastrad   $as_echo_n 0123456789 >"conftest.in"
   4793  1.1  riastrad   while :
   4794  1.1  riastrad   do
   4795  1.1  riastrad     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4796  1.1  riastrad     mv "conftest.tmp" "conftest.in"
   4797  1.1  riastrad     cp "conftest.in" "conftest.nl"
   4798  1.1  riastrad     $as_echo 'EGREP' >> "conftest.nl"
   4799  1.1  riastrad     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4800  1.1  riastrad     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4801  1.1  riastrad     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4802  1.1  riastrad     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4803  1.1  riastrad       # Best one so far, save it but keep looking for a better one
   4804  1.1  riastrad       ac_cv_path_EGREP="$ac_path_EGREP"
   4805  1.1  riastrad       ac_path_EGREP_max=$ac_count
   4806  1.1  riastrad     fi
   4807  1.1  riastrad     # 10*(2^10) chars as input seems more than enough
   4808  1.1  riastrad     test $ac_count -gt 10 && break
   4809  1.1  riastrad   done
   4810  1.1  riastrad   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4811  1.1  riastrad esac
   4812  1.1  riastrad 
   4813  1.1  riastrad       $ac_path_EGREP_found && break 3
   4814  1.1  riastrad     done
   4815  1.1  riastrad   done
   4816  1.1  riastrad   done
   4817  1.1  riastrad IFS=$as_save_IFS
   4818  1.1  riastrad   if test -z "$ac_cv_path_EGREP"; then
   4819  1.1  riastrad     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4820  1.1  riastrad   fi
   4821  1.1  riastrad else
   4822  1.1  riastrad   ac_cv_path_EGREP=$EGREP
   4823  1.1  riastrad fi
   4824  1.1  riastrad 
   4825  1.1  riastrad    fi
   4826  1.1  riastrad fi
   4827  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4828  1.1  riastrad $as_echo "$ac_cv_path_EGREP" >&6; }
   4829  1.1  riastrad  EGREP="$ac_cv_path_EGREP"
   4830  1.1  riastrad 
   4831  1.1  riastrad 
   4832  1.1  riastrad if test "x$withval" = "xyes"; then :
   4833  1.1  riastrad 
   4834  1.1  riastrad 
   4835  1.1  riastrad 
   4836  1.1  riastrad 
   4837  1.1  riastrad 
   4838  1.1  riastrad ac_ext=c
   4839  1.1  riastrad ac_cpp='$CPP $CPPFLAGS'
   4840  1.1  riastrad ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4841  1.1  riastrad ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4842  1.1  riastrad ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4843  1.1  riastrad 
   4844  1.1  riastrad ax_pthread_ok=no
   4845  1.1  riastrad 
   4846  1.1  riastrad # We used to check for pthread.h first, but this fails if pthread.h
   4847  1.1  riastrad # requires special compiler flags (e.g. on Tru64 or Sequent).
   4848  1.1  riastrad # It gets checked for in the link test anyway.
   4849  1.1  riastrad 
   4850  1.1  riastrad # First of all, check if the user has set any of the PTHREAD_LIBS,
   4851  1.1  riastrad # etcetera environment variables, and if threads linking works using
   4852  1.1  riastrad # them:
   4853  1.1  riastrad if test "x$PTHREAD_CFLAGS$PTHREAD_LIBS" != "x"; then
   4854  1.1  riastrad         ax_pthread_save_CC="$CC"
   4855  1.1  riastrad         ax_pthread_save_CFLAGS="$CFLAGS"
   4856  1.1  riastrad         ax_pthread_save_LIBS="$LIBS"
   4857  1.1  riastrad         if test "x$PTHREAD_CC" != "x"; then :
   4858  1.1  riastrad   CC="$PTHREAD_CC"
   4859  1.1  riastrad fi
   4860  1.1  riastrad         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   4861  1.1  riastrad         LIBS="$PTHREAD_LIBS $LIBS"
   4862  1.1  riastrad         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
   4863  1.1  riastrad $as_echo_n "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
   4864  1.1  riastrad         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4865  1.1  riastrad /* end confdefs.h.  */
   4866  1.1  riastrad 
   4867  1.1  riastrad /* Override any GCC internal prototype to avoid an error.
   4868  1.1  riastrad    Use char because int might match the return type of a GCC
   4869  1.1  riastrad    builtin and then its argument prototype would still apply.  */
   4870  1.1  riastrad #ifdef __cplusplus
   4871  1.1  riastrad extern "C"
   4872  1.1  riastrad #endif
   4873  1.1  riastrad char pthread_join ();
   4874  1.1  riastrad int
   4875  1.1  riastrad main ()
   4876  1.1  riastrad {
   4877  1.1  riastrad return pthread_join ();
   4878  1.1  riastrad   ;
   4879  1.1  riastrad   return 0;
   4880  1.1  riastrad }
   4881  1.1  riastrad _ACEOF
   4882  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   4883  1.1  riastrad   ax_pthread_ok=yes
   4884  1.1  riastrad fi
   4885  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   4886  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   4887  1.1  riastrad         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
   4888  1.1  riastrad $as_echo "$ax_pthread_ok" >&6; }
   4889  1.1  riastrad         if test "x$ax_pthread_ok" = "xno"; then
   4890  1.1  riastrad                 PTHREAD_LIBS=""
   4891  1.1  riastrad                 PTHREAD_CFLAGS=""
   4892  1.1  riastrad         fi
   4893  1.1  riastrad         CC="$ax_pthread_save_CC"
   4894  1.1  riastrad         CFLAGS="$ax_pthread_save_CFLAGS"
   4895  1.1  riastrad         LIBS="$ax_pthread_save_LIBS"
   4896  1.1  riastrad fi
   4897  1.1  riastrad 
   4898  1.1  riastrad # We must check for the threads library under a number of different
   4899  1.1  riastrad # names; the ordering is very important because some systems
   4900  1.1  riastrad # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
   4901  1.1  riastrad # libraries is broken (non-POSIX).
   4902  1.1  riastrad 
   4903  1.1  riastrad # Create a list of thread flags to try.  Items starting with a "-" are
   4904  1.1  riastrad # C compiler flags, and other items are library names, except for "none"
   4905  1.1  riastrad # which indicates that we try without any flags at all, and "pthread-config"
   4906  1.1  riastrad # which is a program returning the flags for the Pth emulation library.
   4907  1.1  riastrad 
   4908  1.1  riastrad ax_pthread_flags="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
   4909  1.1  riastrad 
   4910  1.1  riastrad # The ordering *is* (sometimes) important.  Some notes on the
   4911  1.1  riastrad # individual items follow:
   4912  1.1  riastrad 
   4913  1.1  riastrad # pthreads: AIX (must check this before -lpthread)
   4914  1.1  riastrad # none: in case threads are in libc; should be tried before -Kthread and
   4915  1.1  riastrad #       other compiler flags to prevent continual compiler warnings
   4916  1.1  riastrad # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
   4917  1.1  riastrad # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
   4918  1.1  riastrad #           (Note: HP C rejects this with "bad form for `-t' option")
   4919  1.1  riastrad # -pthreads: Solaris/gcc (Note: HP C also rejects)
   4920  1.1  riastrad # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
   4921  1.1  riastrad #      doesn't hurt to check since this sometimes defines pthreads and
   4922  1.1  riastrad #      -D_REENTRANT too), HP C (must be checked before -lpthread, which
   4923  1.1  riastrad #      is present but should not be used directly; and before -mthreads,
   4924  1.1  riastrad #      because the compiler interprets this as "-mt" + "-hreads")
   4925  1.1  riastrad # -mthreads: Mingw32/gcc, Lynx/gcc
   4926  1.1  riastrad # pthread: Linux, etcetera
   4927  1.1  riastrad # --thread-safe: KAI C++
   4928  1.1  riastrad # pthread-config: use pthread-config program (for GNU Pth library)
   4929  1.1  riastrad 
   4930  1.1  riastrad case $host_os in
   4931  1.1  riastrad 
   4932  1.1  riastrad         freebsd*)
   4933  1.1  riastrad 
   4934  1.1  riastrad         # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
   4935  1.1  riastrad         # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
   4936  1.1  riastrad 
   4937  1.1  riastrad         ax_pthread_flags="-kthread lthread $ax_pthread_flags"
   4938  1.1  riastrad         ;;
   4939  1.1  riastrad 
   4940  1.1  riastrad         hpux*)
   4941  1.1  riastrad 
   4942  1.1  riastrad         # From the cc(1) man page: "[-mt] Sets various -D flags to enable
   4943  1.1  riastrad         # multi-threading and also sets -lpthread."
   4944  1.1  riastrad 
   4945  1.1  riastrad         ax_pthread_flags="-mt -pthread pthread $ax_pthread_flags"
   4946  1.1  riastrad         ;;
   4947  1.1  riastrad 
   4948  1.1  riastrad         openedition*)
   4949  1.1  riastrad 
   4950  1.1  riastrad         # IBM z/OS requires a feature-test macro to be defined in order to
   4951  1.1  riastrad         # enable POSIX threads at all, so give the user a hint if this is
   4952  1.1  riastrad         # not set. (We don't define these ourselves, as they can affect
   4953  1.1  riastrad         # other portions of the system API in unpredictable ways.)
   4954  1.1  riastrad 
   4955  1.1  riastrad         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4956  1.1  riastrad /* end confdefs.h.  */
   4957  1.1  riastrad 
   4958  1.1  riastrad #            if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
   4959  1.1  riastrad              AX_PTHREAD_ZOS_MISSING
   4960  1.1  riastrad #            endif
   4961  1.1  riastrad 
   4962  1.1  riastrad _ACEOF
   4963  1.1  riastrad if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4964  1.1  riastrad   $EGREP "AX_PTHREAD_ZOS_MISSING" >/dev/null 2>&1; then :
   4965  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5
   4966  1.1  riastrad $as_echo "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
   4967  1.1  riastrad fi
   4968  1.1  riastrad rm -f conftest*
   4969  1.1  riastrad 
   4970  1.1  riastrad         ;;
   4971  1.1  riastrad 
   4972  1.1  riastrad         solaris*)
   4973  1.1  riastrad 
   4974  1.1  riastrad         # On Solaris (at least, for some versions), libc contains stubbed
   4975  1.1  riastrad         # (non-functional) versions of the pthreads routines, so link-based
   4976  1.1  riastrad         # tests will erroneously succeed. (N.B.: The stubs are missing
   4977  1.1  riastrad         # pthread_cleanup_push, or rather a function called by this macro,
   4978  1.1  riastrad         # so we could check for that, but who knows whether they'll stub
   4979  1.1  riastrad         # that too in a future libc.)  So we'll check first for the
   4980  1.1  riastrad         # standard Solaris way of linking pthreads (-mt -lpthread).
   4981  1.1  riastrad 
   4982  1.1  riastrad         ax_pthread_flags="-mt,pthread pthread $ax_pthread_flags"
   4983  1.1  riastrad         ;;
   4984  1.1  riastrad esac
   4985  1.1  riastrad 
   4986  1.1  riastrad # GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC)
   4987  1.1  riastrad 
   4988  1.1  riastrad if test "x$GCC" = "xyes"; then :
   4989  1.1  riastrad   ax_pthread_flags="-pthread -pthreads $ax_pthread_flags"
   4990  1.1  riastrad fi
   4991  1.1  riastrad 
   4992  1.1  riastrad # The presence of a feature test macro requesting re-entrant function
   4993  1.1  riastrad # definitions is, on some systems, a strong hint that pthreads support is
   4994  1.1  riastrad # correctly enabled
   4995  1.1  riastrad 
   4996  1.1  riastrad case $host_os in
   4997  1.1  riastrad         darwin* | hpux* | linux* | osf* | solaris*)
   4998  1.1  riastrad         ax_pthread_check_macro="_REENTRANT"
   4999  1.1  riastrad         ;;
   5000  1.1  riastrad 
   5001  1.1  riastrad         aix*)
   5002  1.1  riastrad         ax_pthread_check_macro="_THREAD_SAFE"
   5003  1.1  riastrad         ;;
   5004  1.1  riastrad 
   5005  1.1  riastrad         *)
   5006  1.1  riastrad         ax_pthread_check_macro="--"
   5007  1.1  riastrad         ;;
   5008  1.1  riastrad esac
   5009  1.1  riastrad if test "x$ax_pthread_check_macro" = "x--"; then :
   5010  1.1  riastrad   ax_pthread_check_cond=0
   5011  1.1  riastrad else
   5012  1.1  riastrad   ax_pthread_check_cond="!defined($ax_pthread_check_macro)"
   5013  1.1  riastrad fi
   5014  1.1  riastrad 
   5015  1.1  riastrad # Are we compiling with Clang?
   5016  1.1  riastrad 
   5017  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC is Clang" >&5
   5018  1.1  riastrad $as_echo_n "checking whether $CC is Clang... " >&6; }
   5019  1.1  riastrad if ${ax_cv_PTHREAD_CLANG+:} false; then :
   5020  1.1  riastrad   $as_echo_n "(cached) " >&6
   5021  1.1  riastrad else
   5022  1.1  riastrad   ax_cv_PTHREAD_CLANG=no
   5023  1.1  riastrad      # Note that Autoconf sets GCC=yes for Clang as well as GCC
   5024  1.1  riastrad      if test "x$GCC" = "xyes"; then
   5025  1.1  riastrad         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5026  1.1  riastrad /* end confdefs.h.  */
   5027  1.1  riastrad /* Note: Clang 2.7 lacks __clang_[a-z]+__ */
   5028  1.1  riastrad #            if defined(__clang__) && defined(__llvm__)
   5029  1.1  riastrad              AX_PTHREAD_CC_IS_CLANG
   5030  1.1  riastrad #            endif
   5031  1.1  riastrad 
   5032  1.1  riastrad _ACEOF
   5033  1.1  riastrad if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5034  1.1  riastrad   $EGREP "AX_PTHREAD_CC_IS_CLANG" >/dev/null 2>&1; then :
   5035  1.1  riastrad   ax_cv_PTHREAD_CLANG=yes
   5036  1.1  riastrad fi
   5037  1.1  riastrad rm -f conftest*
   5038  1.1  riastrad 
   5039  1.1  riastrad      fi
   5040  1.1  riastrad 
   5041  1.1  riastrad fi
   5042  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG" >&5
   5043  1.1  riastrad $as_echo "$ax_cv_PTHREAD_CLANG" >&6; }
   5044  1.1  riastrad ax_pthread_clang="$ax_cv_PTHREAD_CLANG"
   5045  1.1  riastrad 
   5046  1.1  riastrad ax_pthread_clang_warning=no
   5047  1.1  riastrad 
   5048  1.1  riastrad # Clang needs special handling, because older versions handle the -pthread
   5049  1.1  riastrad # option in a rather... idiosyncratic way
   5050  1.1  riastrad 
   5051  1.1  riastrad if test "x$ax_pthread_clang" = "xyes"; then
   5052  1.1  riastrad 
   5053  1.1  riastrad         # Clang takes -pthread; it has never supported any other flag
   5054  1.1  riastrad 
   5055  1.1  riastrad         # (Note 1: This will need to be revisited if a system that Clang
   5056  1.1  riastrad         # supports has POSIX threads in a separate library.  This tends not
   5057  1.1  riastrad         # to be the way of modern systems, but it's conceivable.)
   5058  1.1  riastrad 
   5059  1.1  riastrad         # (Note 2: On some systems, notably Darwin, -pthread is not needed
   5060  1.1  riastrad         # to get POSIX threads support; the API is always present and
   5061  1.1  riastrad         # active.  We could reasonably leave PTHREAD_CFLAGS empty.  But
   5062  1.1  riastrad         # -pthread does define _REENTRANT, and while the Darwin headers
   5063  1.1  riastrad         # ignore this macro, third-party headers might not.)
   5064  1.1  riastrad 
   5065  1.1  riastrad         PTHREAD_CFLAGS="-pthread"
   5066  1.1  riastrad         PTHREAD_LIBS=
   5067  1.1  riastrad 
   5068  1.1  riastrad         ax_pthread_ok=yes
   5069  1.1  riastrad 
   5070  1.1  riastrad         # However, older versions of Clang make a point of warning the user
   5071  1.1  riastrad         # that, in an invocation where only linking and no compilation is
   5072  1.1  riastrad         # taking place, the -pthread option has no effect ("argument unused
   5073  1.1  riastrad         # during compilation").  They expect -pthread to be passed in only
   5074  1.1  riastrad         # when source code is being compiled.
   5075  1.1  riastrad         #
   5076  1.1  riastrad         # Problem is, this is at odds with the way Automake and most other
   5077  1.1  riastrad         # C build frameworks function, which is that the same flags used in
   5078  1.1  riastrad         # compilation (CFLAGS) are also used in linking.  Many systems
   5079  1.1  riastrad         # supported by AX_PTHREAD require exactly this for POSIX threads
   5080  1.1  riastrad         # support, and in fact it is often not straightforward to specify a
   5081  1.1  riastrad         # flag that is used only in the compilation phase and not in
   5082  1.1  riastrad         # linking.  Such a scenario is extremely rare in practice.
   5083  1.1  riastrad         #
   5084  1.1  riastrad         # Even though use of the -pthread flag in linking would only print
   5085  1.1  riastrad         # a warning, this can be a nuisance for well-run software projects
   5086  1.1  riastrad         # that build with -Werror.  So if the active version of Clang has
   5087  1.1  riastrad         # this misfeature, we search for an option to squash it.
   5088  1.1  riastrad 
   5089  1.1  riastrad         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread" >&5
   5090  1.1  riastrad $as_echo_n "checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread... " >&6; }
   5091  1.1  riastrad if ${ax_cv_PTHREAD_CLANG_NO_WARN_FLAG+:} false; then :
   5092  1.1  riastrad   $as_echo_n "(cached) " >&6
   5093  1.1  riastrad else
   5094  1.1  riastrad   ax_cv_PTHREAD_CLANG_NO_WARN_FLAG=unknown
   5095  1.1  riastrad              # Create an alternate version of $ac_link that compiles and
   5096  1.1  riastrad              # links in two steps (.c -> .o, .o -> exe) instead of one
   5097  1.1  riastrad              # (.c -> exe), because the warning occurs only in the second
   5098  1.1  riastrad              # step
   5099  1.1  riastrad              ax_pthread_save_ac_link="$ac_link"
   5100  1.1  riastrad              ax_pthread_sed='s/conftest\.\$ac_ext/conftest.$ac_objext/g'
   5101  1.1  riastrad              ax_pthread_link_step=`$as_echo "$ac_link" | sed "$ax_pthread_sed"`
   5102  1.1  riastrad              ax_pthread_2step_ac_link="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)"
   5103  1.1  riastrad              ax_pthread_save_CFLAGS="$CFLAGS"
   5104  1.1  riastrad              for ax_pthread_try in '' -Qunused-arguments -Wno-unused-command-line-argument unknown; do
   5105  1.1  riastrad                 if test "x$ax_pthread_try" = "xunknown"; then :
   5106  1.1  riastrad   break
   5107  1.1  riastrad fi
   5108  1.1  riastrad                 CFLAGS="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS"
   5109  1.1  riastrad                 ac_link="$ax_pthread_save_ac_link"
   5110  1.1  riastrad                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5111  1.1  riastrad /* end confdefs.h.  */
   5112  1.1  riastrad int main(void){return 0;}
   5113  1.1  riastrad _ACEOF
   5114  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   5115  1.1  riastrad   ac_link="$ax_pthread_2step_ac_link"
   5116  1.1  riastrad                      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5117  1.1  riastrad /* end confdefs.h.  */
   5118  1.1  riastrad int main(void){return 0;}
   5119  1.1  riastrad _ACEOF
   5120  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   5121  1.1  riastrad   break
   5122  1.1  riastrad fi
   5123  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   5124  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   5125  1.1  riastrad 
   5126  1.1  riastrad fi
   5127  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   5128  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   5129  1.1  riastrad              done
   5130  1.1  riastrad              ac_link="$ax_pthread_save_ac_link"
   5131  1.1  riastrad              CFLAGS="$ax_pthread_save_CFLAGS"
   5132  1.1  riastrad              if test "x$ax_pthread_try" = "x"; then :
   5133  1.1  riastrad   ax_pthread_try=no
   5134  1.1  riastrad fi
   5135  1.1  riastrad              ax_cv_PTHREAD_CLANG_NO_WARN_FLAG="$ax_pthread_try"
   5136  1.1  riastrad 
   5137  1.1  riastrad fi
   5138  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&5
   5139  1.1  riastrad $as_echo "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&6; }
   5140  1.1  riastrad 
   5141  1.1  riastrad         case "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" in
   5142  1.1  riastrad                 no | unknown) ;;
   5143  1.1  riastrad                 *) PTHREAD_CFLAGS="$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG $PTHREAD_CFLAGS" ;;
   5144  1.1  riastrad         esac
   5145  1.1  riastrad 
   5146  1.1  riastrad fi # $ax_pthread_clang = yes
   5147  1.1  riastrad 
   5148  1.1  riastrad if test "x$ax_pthread_ok" = "xno"; then
   5149  1.1  riastrad for ax_pthread_try_flag in $ax_pthread_flags; do
   5150  1.1  riastrad 
   5151  1.1  riastrad         case $ax_pthread_try_flag in
   5152  1.1  riastrad                 none)
   5153  1.1  riastrad                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
   5154  1.1  riastrad $as_echo_n "checking whether pthreads work without any flags... " >&6; }
   5155  1.1  riastrad                 ;;
   5156  1.1  riastrad 
   5157  1.1  riastrad                 -mt,pthread)
   5158  1.1  riastrad                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with -mt -lpthread" >&5
   5159  1.1  riastrad $as_echo_n "checking whether pthreads work with -mt -lpthread... " >&6; }
   5160  1.1  riastrad                 PTHREAD_CFLAGS="-mt"
   5161  1.1  riastrad                 PTHREAD_LIBS="-lpthread"
   5162  1.1  riastrad                 ;;
   5163  1.1  riastrad 
   5164  1.1  riastrad                 -*)
   5165  1.1  riastrad                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $ax_pthread_try_flag" >&5
   5166  1.1  riastrad $as_echo_n "checking whether pthreads work with $ax_pthread_try_flag... " >&6; }
   5167  1.1  riastrad                 PTHREAD_CFLAGS="$ax_pthread_try_flag"
   5168  1.1  riastrad                 ;;
   5169  1.1  riastrad 
   5170  1.1  riastrad                 pthread-config)
   5171  1.1  riastrad                 # Extract the first word of "pthread-config", so it can be a program name with args.
   5172  1.1  riastrad set dummy pthread-config; ac_word=$2
   5173  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5174  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   5175  1.1  riastrad if ${ac_cv_prog_ax_pthread_config+:} false; then :
   5176  1.1  riastrad   $as_echo_n "(cached) " >&6
   5177  1.1  riastrad else
   5178  1.1  riastrad   if test -n "$ax_pthread_config"; then
   5179  1.1  riastrad   ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
   5180  1.1  riastrad else
   5181  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5182  1.1  riastrad for as_dir in $PATH
   5183  1.1  riastrad do
   5184  1.1  riastrad   IFS=$as_save_IFS
   5185  1.1  riastrad   test -z "$as_dir" && as_dir=.
   5186  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   5187  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5188  1.1  riastrad     ac_cv_prog_ax_pthread_config="yes"
   5189  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5190  1.1  riastrad     break 2
   5191  1.1  riastrad   fi
   5192  1.1  riastrad done
   5193  1.1  riastrad   done
   5194  1.1  riastrad IFS=$as_save_IFS
   5195  1.1  riastrad 
   5196  1.1  riastrad   test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
   5197  1.1  riastrad fi
   5198  1.1  riastrad fi
   5199  1.1  riastrad ax_pthread_config=$ac_cv_prog_ax_pthread_config
   5200  1.1  riastrad if test -n "$ax_pthread_config"; then
   5201  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
   5202  1.1  riastrad $as_echo "$ax_pthread_config" >&6; }
   5203  1.1  riastrad else
   5204  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5205  1.1  riastrad $as_echo "no" >&6; }
   5206  1.1  riastrad fi
   5207  1.1  riastrad 
   5208  1.1  riastrad 
   5209  1.1  riastrad                 if test "x$ax_pthread_config" = "xno"; then :
   5210  1.1  riastrad   continue
   5211  1.1  riastrad fi
   5212  1.1  riastrad                 PTHREAD_CFLAGS="`pthread-config --cflags`"
   5213  1.1  riastrad                 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
   5214  1.1  riastrad                 ;;
   5215  1.1  riastrad 
   5216  1.1  riastrad                 *)
   5217  1.1  riastrad                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$ax_pthread_try_flag" >&5
   5218  1.1  riastrad $as_echo_n "checking for the pthreads library -l$ax_pthread_try_flag... " >&6; }
   5219  1.1  riastrad                 PTHREAD_LIBS="-l$ax_pthread_try_flag"
   5220  1.1  riastrad                 ;;
   5221  1.1  riastrad         esac
   5222  1.1  riastrad 
   5223  1.1  riastrad         ax_pthread_save_CFLAGS="$CFLAGS"
   5224  1.1  riastrad         ax_pthread_save_LIBS="$LIBS"
   5225  1.1  riastrad         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   5226  1.1  riastrad         LIBS="$PTHREAD_LIBS $LIBS"
   5227  1.1  riastrad 
   5228  1.1  riastrad         # Check for various functions.  We must include pthread.h,
   5229  1.1  riastrad         # since some functions may be macros.  (On the Sequent, we
   5230  1.1  riastrad         # need a special flag -Kthread to make this header compile.)
   5231  1.1  riastrad         # We check for pthread_join because it is in -lpthread on IRIX
   5232  1.1  riastrad         # while pthread_create is in libc.  We check for pthread_attr_init
   5233  1.1  riastrad         # due to DEC craziness with -lpthreads.  We check for
   5234  1.1  riastrad         # pthread_cleanup_push because it is one of the few pthread
   5235  1.1  riastrad         # functions on Solaris that doesn't have a non-functional libc stub.
   5236  1.1  riastrad         # We try pthread_create on general principles.
   5237  1.1  riastrad 
   5238  1.1  riastrad         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5239  1.1  riastrad /* end confdefs.h.  */
   5240  1.1  riastrad #include <pthread.h>
   5241  1.1  riastrad #                       if $ax_pthread_check_cond
   5242  1.1  riastrad #                        error "$ax_pthread_check_macro must be defined"
   5243  1.1  riastrad #                       endif
   5244  1.1  riastrad                         static void routine(void *a) { a = 0; }
   5245  1.1  riastrad                         static void *start_routine(void *a) { return a; }
   5246  1.1  riastrad int
   5247  1.1  riastrad main ()
   5248  1.1  riastrad {
   5249  1.1  riastrad pthread_t th; pthread_attr_t attr;
   5250  1.1  riastrad                         pthread_create(&th, 0, start_routine, 0);
   5251  1.1  riastrad                         pthread_join(th, 0);
   5252  1.1  riastrad                         pthread_attr_init(&attr);
   5253  1.1  riastrad                         pthread_cleanup_push(routine, 0);
   5254  1.1  riastrad                         pthread_cleanup_pop(0) /* ; */
   5255  1.1  riastrad   ;
   5256  1.1  riastrad   return 0;
   5257  1.1  riastrad }
   5258  1.1  riastrad _ACEOF
   5259  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   5260  1.1  riastrad   ax_pthread_ok=yes
   5261  1.1  riastrad fi
   5262  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   5263  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   5264  1.1  riastrad 
   5265  1.1  riastrad         CFLAGS="$ax_pthread_save_CFLAGS"
   5266  1.1  riastrad         LIBS="$ax_pthread_save_LIBS"
   5267  1.1  riastrad 
   5268  1.1  riastrad         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
   5269  1.1  riastrad $as_echo "$ax_pthread_ok" >&6; }
   5270  1.1  riastrad         if test "x$ax_pthread_ok" = "xyes"; then :
   5271  1.1  riastrad   break
   5272  1.1  riastrad fi
   5273  1.1  riastrad 
   5274  1.1  riastrad         PTHREAD_LIBS=""
   5275  1.1  riastrad         PTHREAD_CFLAGS=""
   5276  1.1  riastrad done
   5277  1.1  riastrad fi
   5278  1.1  riastrad 
   5279  1.1  riastrad # Various other checks:
   5280  1.1  riastrad if test "x$ax_pthread_ok" = "xyes"; then
   5281  1.1  riastrad         ax_pthread_save_CFLAGS="$CFLAGS"
   5282  1.1  riastrad         ax_pthread_save_LIBS="$LIBS"
   5283  1.1  riastrad         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   5284  1.1  riastrad         LIBS="$PTHREAD_LIBS $LIBS"
   5285  1.1  riastrad 
   5286  1.1  riastrad         # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
   5287  1.1  riastrad         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
   5288  1.1  riastrad $as_echo_n "checking for joinable pthread attribute... " >&6; }
   5289  1.1  riastrad if ${ax_cv_PTHREAD_JOINABLE_ATTR+:} false; then :
   5290  1.1  riastrad   $as_echo_n "(cached) " >&6
   5291  1.1  riastrad else
   5292  1.1  riastrad   ax_cv_PTHREAD_JOINABLE_ATTR=unknown
   5293  1.1  riastrad              for ax_pthread_attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
   5294  1.1  riastrad                  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5295  1.1  riastrad /* end confdefs.h.  */
   5296  1.1  riastrad #include <pthread.h>
   5297  1.1  riastrad int
   5298  1.1  riastrad main ()
   5299  1.1  riastrad {
   5300  1.1  riastrad int attr = $ax_pthread_attr; return attr /* ; */
   5301  1.1  riastrad   ;
   5302  1.1  riastrad   return 0;
   5303  1.1  riastrad }
   5304  1.1  riastrad _ACEOF
   5305  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   5306  1.1  riastrad   ax_cv_PTHREAD_JOINABLE_ATTR=$ax_pthread_attr; break
   5307  1.1  riastrad fi
   5308  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   5309  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   5310  1.1  riastrad              done
   5311  1.1  riastrad 
   5312  1.1  riastrad fi
   5313  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
   5314  1.1  riastrad $as_echo "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
   5315  1.1  riastrad         if test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xunknown" && \
   5316  1.1  riastrad                test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xPTHREAD_CREATE_JOINABLE" && \
   5317  1.1  riastrad                test "x$ax_pthread_joinable_attr_defined" != "xyes"; then :
   5318  1.1  riastrad 
   5319  1.1  riastrad cat >>confdefs.h <<_ACEOF
   5320  1.1  riastrad #define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR
   5321  1.1  riastrad _ACEOF
   5322  1.1  riastrad 
   5323  1.1  riastrad                ax_pthread_joinable_attr_defined=yes
   5324  1.1  riastrad 
   5325  1.1  riastrad fi
   5326  1.1  riastrad 
   5327  1.1  riastrad         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether more special flags are required for pthreads" >&5
   5328  1.1  riastrad $as_echo_n "checking whether more special flags are required for pthreads... " >&6; }
   5329  1.1  riastrad if ${ax_cv_PTHREAD_SPECIAL_FLAGS+:} false; then :
   5330  1.1  riastrad   $as_echo_n "(cached) " >&6
   5331  1.1  riastrad else
   5332  1.1  riastrad   ax_cv_PTHREAD_SPECIAL_FLAGS=no
   5333  1.1  riastrad              case $host_os in
   5334  1.1  riastrad              solaris*)
   5335  1.1  riastrad              ax_cv_PTHREAD_SPECIAL_FLAGS="-D_POSIX_PTHREAD_SEMANTICS"
   5336  1.1  riastrad              ;;
   5337  1.1  riastrad              esac
   5338  1.1  riastrad 
   5339  1.1  riastrad fi
   5340  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
   5341  1.1  riastrad $as_echo "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
   5342  1.1  riastrad         if test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
   5343  1.1  riastrad                test "x$ax_pthread_special_flags_added" != "xyes"; then :
   5344  1.1  riastrad   PTHREAD_CFLAGS="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
   5345  1.1  riastrad                ax_pthread_special_flags_added=yes
   5346  1.1  riastrad fi
   5347  1.1  riastrad 
   5348  1.1  riastrad         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
   5349  1.1  riastrad $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
   5350  1.1  riastrad if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false; then :
   5351  1.1  riastrad   $as_echo_n "(cached) " >&6
   5352  1.1  riastrad else
   5353  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5354  1.1  riastrad /* end confdefs.h.  */
   5355  1.1  riastrad #include <pthread.h>
   5356  1.1  riastrad int
   5357  1.1  riastrad main ()
   5358  1.1  riastrad {
   5359  1.1  riastrad int i = PTHREAD_PRIO_INHERIT;
   5360  1.1  riastrad   ;
   5361  1.1  riastrad   return 0;
   5362  1.1  riastrad }
   5363  1.1  riastrad _ACEOF
   5364  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   5365  1.1  riastrad   ax_cv_PTHREAD_PRIO_INHERIT=yes
   5366  1.1  riastrad else
   5367  1.1  riastrad   ax_cv_PTHREAD_PRIO_INHERIT=no
   5368  1.1  riastrad fi
   5369  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   5370  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   5371  1.1  riastrad 
   5372  1.1  riastrad fi
   5373  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
   5374  1.1  riastrad $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
   5375  1.1  riastrad         if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes" && \
   5376  1.1  riastrad                test "x$ax_pthread_prio_inherit_defined" != "xyes"; then :
   5377  1.1  riastrad 
   5378  1.1  riastrad $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
   5379  1.1  riastrad 
   5380  1.1  riastrad                ax_pthread_prio_inherit_defined=yes
   5381  1.1  riastrad 
   5382  1.1  riastrad fi
   5383  1.1  riastrad 
   5384  1.1  riastrad         CFLAGS="$ax_pthread_save_CFLAGS"
   5385  1.1  riastrad         LIBS="$ax_pthread_save_LIBS"
   5386  1.1  riastrad 
   5387  1.1  riastrad         # More AIX lossage: compile with *_r variant
   5388  1.1  riastrad         if test "x$GCC" != "xyes"; then
   5389  1.1  riastrad             case $host_os in
   5390  1.1  riastrad                 aix*)
   5391  1.1  riastrad                 case "x/$CC" in #(
   5392  1.1  riastrad   x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6) :
   5393  1.1  riastrad     #handle absolute path differently from PATH based program lookup
   5394  1.1  riastrad                      case "x$CC" in #(
   5395  1.1  riastrad   x/*) :
   5396  1.1  riastrad     if as_fn_executable_p ${CC}_r; then :
   5397  1.1  riastrad   PTHREAD_CC="${CC}_r"
   5398  1.1  riastrad fi ;; #(
   5399  1.1  riastrad   *) :
   5400  1.1  riastrad     for ac_prog in ${CC}_r
   5401  1.1  riastrad do
   5402  1.1  riastrad   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5403  1.1  riastrad set dummy $ac_prog; ac_word=$2
   5404  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5405  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   5406  1.1  riastrad if ${ac_cv_prog_PTHREAD_CC+:} false; then :
   5407  1.1  riastrad   $as_echo_n "(cached) " >&6
   5408  1.1  riastrad else
   5409  1.1  riastrad   if test -n "$PTHREAD_CC"; then
   5410  1.1  riastrad   ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
   5411  1.1  riastrad else
   5412  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5413  1.1  riastrad for as_dir in $PATH
   5414  1.1  riastrad do
   5415  1.1  riastrad   IFS=$as_save_IFS
   5416  1.1  riastrad   test -z "$as_dir" && as_dir=.
   5417  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   5418  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5419  1.1  riastrad     ac_cv_prog_PTHREAD_CC="$ac_prog"
   5420  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5421  1.1  riastrad     break 2
   5422  1.1  riastrad   fi
   5423  1.1  riastrad done
   5424  1.1  riastrad   done
   5425  1.1  riastrad IFS=$as_save_IFS
   5426  1.1  riastrad 
   5427  1.1  riastrad fi
   5428  1.1  riastrad fi
   5429  1.1  riastrad PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
   5430  1.1  riastrad if test -n "$PTHREAD_CC"; then
   5431  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
   5432  1.1  riastrad $as_echo "$PTHREAD_CC" >&6; }
   5433  1.1  riastrad else
   5434  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5435  1.1  riastrad $as_echo "no" >&6; }
   5436  1.1  riastrad fi
   5437  1.1  riastrad 
   5438  1.1  riastrad 
   5439  1.1  riastrad   test -n "$PTHREAD_CC" && break
   5440  1.1  riastrad done
   5441  1.1  riastrad test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
   5442  1.1  riastrad  ;;
   5443  1.1  riastrad esac ;; #(
   5444  1.1  riastrad   *) :
   5445  1.1  riastrad      ;;
   5446  1.1  riastrad esac
   5447  1.1  riastrad                 ;;
   5448  1.1  riastrad             esac
   5449  1.1  riastrad         fi
   5450  1.1  riastrad fi
   5451  1.1  riastrad 
   5452  1.1  riastrad test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
   5453  1.1  riastrad 
   5454  1.1  riastrad 
   5455  1.1  riastrad 
   5456  1.1  riastrad 
   5457  1.1  riastrad 
   5458  1.1  riastrad # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
   5459  1.1  riastrad if test "x$ax_pthread_ok" = "xyes"; then
   5460  1.1  riastrad 
   5461  1.1  riastrad 
   5462  1.1  riastrad $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
   5463  1.1  riastrad 
   5464  1.1  riastrad     with_threads="yes"
   5465  1.1  riastrad     LIBS="$PTHREAD_LIBS $LIBS"
   5466  1.1  riastrad     CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   5467  1.1  riastrad     CC="$PTHREAD_CC"
   5468  1.1  riastrad         :
   5469  1.1  riastrad else
   5470  1.1  riastrad         ax_pthread_ok=no
   5471  1.1  riastrad 
   5472  1.1  riastrad fi
   5473  1.1  riastrad ac_ext=c
   5474  1.1  riastrad ac_cpp='$CPP $CPPFLAGS'
   5475  1.1  riastrad ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5476  1.1  riastrad ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5477  1.1  riastrad ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5478  1.1  riastrad 
   5479  1.1  riastrad 
   5480  1.1  riastrad 
   5481  1.1  riastrad else
   5482  1.1  riastrad   with_threads="no"
   5483  1.1  riastrad fi
   5484  1.1  riastrad 
   5485  1.1  riastrad 
   5486  1.1  riastrad # Check whether --with-safecode was given.
   5487  1.1  riastrad if test "${with_safecode+set}" = set; then :
   5488  1.1  riastrad   withval=$with_safecode; if test "x$withval" = "xyes"; then :
   5489  1.1  riastrad 
   5490  1.1  riastrad 
   5491  1.1  riastrad     : ${SAFECODE_HOME:=/opt/safecode}
   5492  1.1  riastrad     LDFLAGS="$LDFLAGS -L${SAFECODE_HOME}/lib"
   5493  1.1  riastrad     LIBS="$LIBS -lsc_dbg_rt -lpoolalloc_bitmap -lstdc++"
   5494  1.1  riastrad     CFLAGS="$CFLAGS -fmemsafety"
   5495  1.1  riastrad 
   5496  1.1  riastrad fi
   5497  1.1  riastrad 
   5498  1.1  riastrad fi
   5499  1.1  riastrad 
   5500  1.1  riastrad 
   5501  1.1  riastrad 
   5502  1.1  riastrad # Check whether --with-ctgrind was given.
   5503  1.1  riastrad if test "${with_ctgrind+set}" = set; then :
   5504  1.1  riastrad   withval=$with_ctgrind; if test "x$withval" = "xyes"; then :
   5505  1.1  riastrad 
   5506  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ct_poison in -lctgrind" >&5
   5507  1.1  riastrad $as_echo_n "checking for ct_poison in -lctgrind... " >&6; }
   5508  1.1  riastrad if ${ac_cv_lib_ctgrind_ct_poison+:} false; then :
   5509  1.1  riastrad   $as_echo_n "(cached) " >&6
   5510  1.1  riastrad else
   5511  1.1  riastrad   ac_check_lib_save_LIBS=$LIBS
   5512  1.1  riastrad LIBS="-lctgrind  $LIBS"
   5513  1.1  riastrad cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5514  1.1  riastrad /* end confdefs.h.  */
   5515  1.1  riastrad 
   5516  1.1  riastrad /* Override any GCC internal prototype to avoid an error.
   5517  1.1  riastrad    Use char because int might match the return type of a GCC
   5518  1.1  riastrad    builtin and then its argument prototype would still apply.  */
   5519  1.1  riastrad #ifdef __cplusplus
   5520  1.1  riastrad extern "C"
   5521  1.1  riastrad #endif
   5522  1.1  riastrad char ct_poison ();
   5523  1.1  riastrad int
   5524  1.1  riastrad main ()
   5525  1.1  riastrad {
   5526  1.1  riastrad return ct_poison ();
   5527  1.1  riastrad   ;
   5528  1.1  riastrad   return 0;
   5529  1.1  riastrad }
   5530  1.1  riastrad _ACEOF
   5531  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   5532  1.1  riastrad   ac_cv_lib_ctgrind_ct_poison=yes
   5533  1.1  riastrad else
   5534  1.1  riastrad   ac_cv_lib_ctgrind_ct_poison=no
   5535  1.1  riastrad fi
   5536  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   5537  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   5538  1.1  riastrad LIBS=$ac_check_lib_save_LIBS
   5539  1.1  riastrad fi
   5540  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ctgrind_ct_poison" >&5
   5541  1.1  riastrad $as_echo "$ac_cv_lib_ctgrind_ct_poison" >&6; }
   5542  1.1  riastrad if test "x$ac_cv_lib_ctgrind_ct_poison" = xyes; then :
   5543  1.1  riastrad   cat >>confdefs.h <<_ACEOF
   5544  1.1  riastrad #define HAVE_LIBCTGRIND 1
   5545  1.1  riastrad _ACEOF
   5546  1.1  riastrad 
   5547  1.1  riastrad   LIBS="-lctgrind $LIBS"
   5548  1.1  riastrad 
   5549  1.1  riastrad fi
   5550  1.1  riastrad 
   5551  1.1  riastrad 
   5552  1.1  riastrad fi
   5553  1.1  riastrad 
   5554  1.1  riastrad fi
   5555  1.1  riastrad 
   5556  1.1  riastrad 
   5557  1.1  riastrad ENABLE_CWFLAGS=no
   5558  1.1  riastrad # Check whether --enable-debug was given.
   5559  1.1  riastrad if test "${enable_debug+set}" = set; then :
   5560  1.1  riastrad   enableval=$enable_debug;
   5561  1.1  riastrad   if test "x$enableval" = "xyes"; then :
   5562  1.1  riastrad 
   5563  1.1  riastrad     if test "x$LX_CFLAGS" = "xNONE"; then :
   5564  1.1  riastrad 
   5565  1.1  riastrad       nxflags=""
   5566  1.1  riastrad       for flag in `echo $CFLAGS`; do
   5567  1.1  riastrad         case $flag in #(
   5568  1.1  riastrad   -O*) :
   5569  1.1  riastrad       ;; #(
   5570  1.1  riastrad   -g*) :
   5571  1.1  riastrad       ;; #(
   5572  1.1  riastrad   *) :
   5573  1.1  riastrad     as_fn_append nxflags " $flag" ;; #(
   5574  1.1  riastrad   *) :
   5575  1.1  riastrad      ;;
   5576  1.1  riastrad esac
   5577  1.1  riastrad       done
   5578  1.1  riastrad       CFLAGS="$nxflags -O -g3"
   5579  1.1  riastrad 
   5580  1.1  riastrad fi
   5581  1.1  riastrad     ENABLE_CWFLAGS=yes
   5582  1.1  riastrad     CPPFLAGS="$CPPFLAGS -DDEBUG=1 -U_FORTIFY_SOURCE"
   5583  1.1  riastrad 
   5584  1.1  riastrad fi
   5585  1.1  riastrad 
   5586  1.1  riastrad fi
   5587  1.1  riastrad 
   5588  1.1  riastrad 
   5589  1.1  riastrad # Check whether --enable-opt was given.
   5590  1.1  riastrad if test "${enable_opt+set}" = set; then :
   5591  1.1  riastrad   enableval=$enable_opt;
   5592  1.1  riastrad   if test "x$enableval" = "xyes"; then :
   5593  1.1  riastrad 
   5594  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Ofast" >&5
   5595  1.1  riastrad $as_echo_n "checking whether C compiler accepts -Ofast... " >&6; }
   5596  1.1  riastrad if ${ax_cv_check_cflags___Ofast+:} false; then :
   5597  1.1  riastrad   $as_echo_n "(cached) " >&6
   5598  1.1  riastrad else
   5599  1.1  riastrad 
   5600  1.1  riastrad   ax_check_save_flags=$CFLAGS
   5601  1.1  riastrad   CFLAGS="$CFLAGS  -Ofast"
   5602  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5603  1.1  riastrad /* end confdefs.h.  */
   5604  1.1  riastrad #include <time.h>
   5605  1.1  riastrad int
   5606  1.1  riastrad main ()
   5607  1.1  riastrad {
   5608  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   5609  1.1  riastrad   ;
   5610  1.1  riastrad   return 0;
   5611  1.1  riastrad }
   5612  1.1  riastrad _ACEOF
   5613  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   5614  1.1  riastrad   ax_cv_check_cflags___Ofast=yes
   5615  1.1  riastrad else
   5616  1.1  riastrad   ax_cv_check_cflags___Ofast=no
   5617  1.1  riastrad fi
   5618  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   5619  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   5620  1.1  riastrad   CFLAGS=$ax_check_save_flags
   5621  1.1  riastrad fi
   5622  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Ofast" >&5
   5623  1.1  riastrad $as_echo "$ax_cv_check_cflags___Ofast" >&6; }
   5624  1.1  riastrad if test "x$ax_cv_check_cflags___Ofast" = xyes; then :
   5625  1.1  riastrad   CFLAGS="$CFLAGS -Ofast"
   5626  1.1  riastrad else
   5627  1.1  riastrad   :
   5628  1.1  riastrad fi
   5629  1.1  riastrad 
   5630  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fomit-frame-pointer" >&5
   5631  1.1  riastrad $as_echo_n "checking whether C compiler accepts -fomit-frame-pointer... " >&6; }
   5632  1.1  riastrad if ${ax_cv_check_cflags___fomit_frame_pointer+:} false; then :
   5633  1.1  riastrad   $as_echo_n "(cached) " >&6
   5634  1.1  riastrad else
   5635  1.1  riastrad 
   5636  1.1  riastrad   ax_check_save_flags=$CFLAGS
   5637  1.1  riastrad   CFLAGS="$CFLAGS  -fomit-frame-pointer"
   5638  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5639  1.1  riastrad /* end confdefs.h.  */
   5640  1.1  riastrad #include <time.h>
   5641  1.1  riastrad int
   5642  1.1  riastrad main ()
   5643  1.1  riastrad {
   5644  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   5645  1.1  riastrad   ;
   5646  1.1  riastrad   return 0;
   5647  1.1  riastrad }
   5648  1.1  riastrad _ACEOF
   5649  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   5650  1.1  riastrad   ax_cv_check_cflags___fomit_frame_pointer=yes
   5651  1.1  riastrad else
   5652  1.1  riastrad   ax_cv_check_cflags___fomit_frame_pointer=no
   5653  1.1  riastrad fi
   5654  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   5655  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   5656  1.1  riastrad   CFLAGS=$ax_check_save_flags
   5657  1.1  riastrad fi
   5658  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fomit_frame_pointer" >&5
   5659  1.1  riastrad $as_echo "$ax_cv_check_cflags___fomit_frame_pointer" >&6; }
   5660  1.1  riastrad if test "x$ax_cv_check_cflags___fomit_frame_pointer" = xyes; then :
   5661  1.1  riastrad   CFLAGS="$CFLAGS -fomit-frame-pointer"
   5662  1.1  riastrad else
   5663  1.1  riastrad   :
   5664  1.1  riastrad fi
   5665  1.1  riastrad 
   5666  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -march=native" >&5
   5667  1.1  riastrad $as_echo_n "checking whether C compiler accepts -march=native... " >&6; }
   5668  1.1  riastrad if ${ax_cv_check_cflags___march_native+:} false; then :
   5669  1.1  riastrad   $as_echo_n "(cached) " >&6
   5670  1.1  riastrad else
   5671  1.1  riastrad 
   5672  1.1  riastrad   ax_check_save_flags=$CFLAGS
   5673  1.1  riastrad   CFLAGS="$CFLAGS  -march=native"
   5674  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5675  1.1  riastrad /* end confdefs.h.  */
   5676  1.1  riastrad #include <time.h>
   5677  1.1  riastrad int
   5678  1.1  riastrad main ()
   5679  1.1  riastrad {
   5680  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   5681  1.1  riastrad   ;
   5682  1.1  riastrad   return 0;
   5683  1.1  riastrad }
   5684  1.1  riastrad _ACEOF
   5685  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   5686  1.1  riastrad   ax_cv_check_cflags___march_native=yes
   5687  1.1  riastrad else
   5688  1.1  riastrad   ax_cv_check_cflags___march_native=no
   5689  1.1  riastrad fi
   5690  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   5691  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   5692  1.1  riastrad   CFLAGS=$ax_check_save_flags
   5693  1.1  riastrad fi
   5694  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___march_native" >&5
   5695  1.1  riastrad $as_echo "$ax_cv_check_cflags___march_native" >&6; }
   5696  1.1  riastrad if test "x$ax_cv_check_cflags___march_native" = xyes; then :
   5697  1.1  riastrad   CFLAGS="$CFLAGS -march=native"
   5698  1.1  riastrad else
   5699  1.1  riastrad   :
   5700  1.1  riastrad fi
   5701  1.1  riastrad 
   5702  1.1  riastrad 
   5703  1.1  riastrad fi
   5704  1.1  riastrad 
   5705  1.1  riastrad fi
   5706  1.1  riastrad 
   5707  1.1  riastrad 
   5708  1.1  riastrad 
   5709  1.1  riastrad 
   5710  1.1  riastrad 
   5711  1.1  riastrad 		# Check whether --enable-valgrind was given.
   5712  1.1  riastrad if test "${enable_valgrind+set}" = set; then :
   5713  1.1  riastrad   enableval=$enable_valgrind; enable_valgrind=$enableval
   5714  1.1  riastrad else
   5715  1.1  riastrad   enable_valgrind=no
   5716  1.1  riastrad fi
   5717  1.1  riastrad 
   5718  1.1  riastrad 
   5719  1.1  riastrad 	if test "$enable_valgrind" != "no"; then :
   5720  1.1  riastrad 
   5721  1.1  riastrad 		# Check for Valgrind.
   5722  1.1  riastrad 		# Extract the first word of "valgrind", so it can be a program name with args.
   5723  1.1  riastrad set dummy valgrind; ac_word=$2
   5724  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5725  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   5726  1.1  riastrad if ${ac_cv_prog_VALGRIND+:} false; then :
   5727  1.1  riastrad   $as_echo_n "(cached) " >&6
   5728  1.1  riastrad else
   5729  1.1  riastrad   if test -n "$VALGRIND"; then
   5730  1.1  riastrad   ac_cv_prog_VALGRIND="$VALGRIND" # Let the user override the test.
   5731  1.1  riastrad else
   5732  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5733  1.1  riastrad for as_dir in $PATH
   5734  1.1  riastrad do
   5735  1.1  riastrad   IFS=$as_save_IFS
   5736  1.1  riastrad   test -z "$as_dir" && as_dir=.
   5737  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   5738  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5739  1.1  riastrad     ac_cv_prog_VALGRIND="valgrind"
   5740  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5741  1.1  riastrad     break 2
   5742  1.1  riastrad   fi
   5743  1.1  riastrad done
   5744  1.1  riastrad   done
   5745  1.1  riastrad IFS=$as_save_IFS
   5746  1.1  riastrad 
   5747  1.1  riastrad fi
   5748  1.1  riastrad fi
   5749  1.1  riastrad VALGRIND=$ac_cv_prog_VALGRIND
   5750  1.1  riastrad if test -n "$VALGRIND"; then
   5751  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND" >&5
   5752  1.1  riastrad $as_echo "$VALGRIND" >&6; }
   5753  1.1  riastrad else
   5754  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5755  1.1  riastrad $as_echo "no" >&6; }
   5756  1.1  riastrad fi
   5757  1.1  riastrad 
   5758  1.1  riastrad 
   5759  1.1  riastrad 		if test "$VALGRIND" = ""; then :
   5760  1.1  riastrad 
   5761  1.1  riastrad 			if test "$enable_valgrind" = "yes"; then :
   5762  1.1  riastrad 
   5763  1.1  riastrad 				as_fn_error $? "Could not find valgrind; either install it or reconfigure with --disable-valgrind" "$LINENO" 5
   5764  1.1  riastrad 
   5765  1.1  riastrad else
   5766  1.1  riastrad 
   5767  1.1  riastrad 				enable_valgrind=no
   5768  1.1  riastrad 
   5769  1.1  riastrad fi
   5770  1.1  riastrad 
   5771  1.1  riastrad else
   5772  1.1  riastrad 
   5773  1.1  riastrad 			enable_valgrind=yes
   5774  1.1  riastrad 
   5775  1.1  riastrad fi
   5776  1.1  riastrad 
   5777  1.1  riastrad fi
   5778  1.1  riastrad 
   5779  1.1  riastrad 	 if test "$enable_valgrind" = "yes"; then
   5780  1.1  riastrad   VALGRIND_ENABLED_TRUE=
   5781  1.1  riastrad   VALGRIND_ENABLED_FALSE='#'
   5782  1.1  riastrad else
   5783  1.1  riastrad   VALGRIND_ENABLED_TRUE='#'
   5784  1.1  riastrad   VALGRIND_ENABLED_FALSE=
   5785  1.1  riastrad fi
   5786  1.1  riastrad 
   5787  1.1  riastrad 	VALGRIND_ENABLED=$enable_valgrind
   5788  1.1  riastrad 
   5789  1.1  riastrad 
   5790  1.1  riastrad 	# Check for Valgrind tools we care about.
   5791  1.1  riastrad 	valgrind_enabled_tools=
   5792  1.1  riastrad 
   5793  1.1  riastrad 		# Check whether --enable-valgrind-memcheck was given.
   5794  1.1  riastrad if test "${enable_valgrind_memcheck+set}" = set; then :
   5795  1.1  riastrad   enableval=$enable_valgrind_memcheck; enable_valgrind_memcheck=$enableval
   5796  1.1  riastrad else
   5797  1.1  riastrad   enable_valgrind_memcheck=
   5798  1.1  riastrad fi
   5799  1.1  riastrad 
   5800  1.1  riastrad 		if test "$enable_valgrind" = "no"; then :
   5801  1.1  riastrad 
   5802  1.1  riastrad 			enable_valgrind_memcheck=no
   5803  1.1  riastrad elif test "$enable_valgrind_memcheck" != "no"; then :
   5804  1.1  riastrad 
   5805  1.1  riastrad 			{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Valgrind tool memcheck" >&5
   5806  1.1  riastrad $as_echo_n "checking for Valgrind tool memcheck... " >&6; }
   5807  1.1  riastrad if ${ax_cv_valgrind_tool_memcheck+:} false; then :
   5808  1.1  riastrad   $as_echo_n "(cached) " >&6
   5809  1.1  riastrad else
   5810  1.1  riastrad 
   5811  1.1  riastrad 				ax_cv_valgrind_tool_memcheck=no
   5812  1.1  riastrad 
   5813  1.1  riastrad 				if `$VALGRIND --tool=memcheck --help >/dev/null 2>&1`; then :
   5814  1.1  riastrad 
   5815  1.1  riastrad 					ax_cv_valgrind_tool_memcheck=yes
   5816  1.1  riastrad 
   5817  1.1  riastrad fi
   5818  1.1  riastrad 
   5819  1.1  riastrad fi
   5820  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_valgrind_tool_memcheck" >&5
   5821  1.1  riastrad $as_echo "$ax_cv_valgrind_tool_memcheck" >&6; }
   5822  1.1  riastrad 			if test "$ax_cv_valgrind_tool_memcheck" = "no"; then :
   5823  1.1  riastrad 
   5824  1.1  riastrad 				if test "$enable_valgrind_memcheck" = "yes"; then :
   5825  1.1  riastrad 
   5826  1.1  riastrad 					as_fn_error $? "Valgrind does not support memcheck; reconfigure with --disable-valgrind-memcheck" "$LINENO" 5
   5827  1.1  riastrad 
   5828  1.1  riastrad else
   5829  1.1  riastrad 
   5830  1.1  riastrad 					enable_valgrind_memcheck=no
   5831  1.1  riastrad 
   5832  1.1  riastrad fi
   5833  1.1  riastrad 
   5834  1.1  riastrad else
   5835  1.1  riastrad 
   5836  1.1  riastrad 				enable_valgrind_memcheck=yes
   5837  1.1  riastrad 
   5838  1.1  riastrad fi
   5839  1.1  riastrad 
   5840  1.1  riastrad fi
   5841  1.1  riastrad 		if test "$enable_valgrind_memcheck" = "yes"; then :
   5842  1.1  riastrad 
   5843  1.1  riastrad 			valgrind_enabled_tools="$valgrind_enabled_tools memcheck"
   5844  1.1  riastrad 
   5845  1.1  riastrad fi
   5846  1.1  riastrad 		ENABLE_VALGRIND_memcheck=$enable_valgrind_memcheck
   5847  1.1  riastrad 
   5848  1.1  riastrad 
   5849  1.1  riastrad 		# Check whether --enable-valgrind-helgrind was given.
   5850  1.1  riastrad if test "${enable_valgrind_helgrind+set}" = set; then :
   5851  1.1  riastrad   enableval=$enable_valgrind_helgrind; enable_valgrind_helgrind=$enableval
   5852  1.1  riastrad else
   5853  1.1  riastrad   enable_valgrind_helgrind=
   5854  1.1  riastrad fi
   5855  1.1  riastrad 
   5856  1.1  riastrad 		if test "$enable_valgrind" = "no"; then :
   5857  1.1  riastrad 
   5858  1.1  riastrad 			enable_valgrind_helgrind=no
   5859  1.1  riastrad elif test "$enable_valgrind_helgrind" != "no"; then :
   5860  1.1  riastrad 
   5861  1.1  riastrad 			{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Valgrind tool helgrind" >&5
   5862  1.1  riastrad $as_echo_n "checking for Valgrind tool helgrind... " >&6; }
   5863  1.1  riastrad if ${ax_cv_valgrind_tool_helgrind+:} false; then :
   5864  1.1  riastrad   $as_echo_n "(cached) " >&6
   5865  1.1  riastrad else
   5866  1.1  riastrad 
   5867  1.1  riastrad 				ax_cv_valgrind_tool_helgrind=no
   5868  1.1  riastrad 
   5869  1.1  riastrad 				if `$VALGRIND --tool=helgrind --help >/dev/null 2>&1`; then :
   5870  1.1  riastrad 
   5871  1.1  riastrad 					ax_cv_valgrind_tool_helgrind=yes
   5872  1.1  riastrad 
   5873  1.1  riastrad fi
   5874  1.1  riastrad 
   5875  1.1  riastrad fi
   5876  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_valgrind_tool_helgrind" >&5
   5877  1.1  riastrad $as_echo "$ax_cv_valgrind_tool_helgrind" >&6; }
   5878  1.1  riastrad 			if test "$ax_cv_valgrind_tool_helgrind" = "no"; then :
   5879  1.1  riastrad 
   5880  1.1  riastrad 				if test "$enable_valgrind_helgrind" = "yes"; then :
   5881  1.1  riastrad 
   5882  1.1  riastrad 					as_fn_error $? "Valgrind does not support helgrind; reconfigure with --disable-valgrind-helgrind" "$LINENO" 5
   5883  1.1  riastrad 
   5884  1.1  riastrad else
   5885  1.1  riastrad 
   5886  1.1  riastrad 					enable_valgrind_helgrind=no
   5887  1.1  riastrad 
   5888  1.1  riastrad fi
   5889  1.1  riastrad 
   5890  1.1  riastrad else
   5891  1.1  riastrad 
   5892  1.1  riastrad 				enable_valgrind_helgrind=yes
   5893  1.1  riastrad 
   5894  1.1  riastrad fi
   5895  1.1  riastrad 
   5896  1.1  riastrad fi
   5897  1.1  riastrad 		if test "$enable_valgrind_helgrind" = "yes"; then :
   5898  1.1  riastrad 
   5899  1.1  riastrad 			valgrind_enabled_tools="$valgrind_enabled_tools helgrind"
   5900  1.1  riastrad 
   5901  1.1  riastrad fi
   5902  1.1  riastrad 		ENABLE_VALGRIND_helgrind=$enable_valgrind_helgrind
   5903  1.1  riastrad 
   5904  1.1  riastrad 
   5905  1.1  riastrad 		# Check whether --enable-valgrind-drd was given.
   5906  1.1  riastrad if test "${enable_valgrind_drd+set}" = set; then :
   5907  1.1  riastrad   enableval=$enable_valgrind_drd; enable_valgrind_drd=$enableval
   5908  1.1  riastrad else
   5909  1.1  riastrad   enable_valgrind_drd=
   5910  1.1  riastrad fi
   5911  1.1  riastrad 
   5912  1.1  riastrad 		if test "$enable_valgrind" = "no"; then :
   5913  1.1  riastrad 
   5914  1.1  riastrad 			enable_valgrind_drd=no
   5915  1.1  riastrad elif test "$enable_valgrind_drd" != "no"; then :
   5916  1.1  riastrad 
   5917  1.1  riastrad 			{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Valgrind tool drd" >&5
   5918  1.1  riastrad $as_echo_n "checking for Valgrind tool drd... " >&6; }
   5919  1.1  riastrad if ${ax_cv_valgrind_tool_drd+:} false; then :
   5920  1.1  riastrad   $as_echo_n "(cached) " >&6
   5921  1.1  riastrad else
   5922  1.1  riastrad 
   5923  1.1  riastrad 				ax_cv_valgrind_tool_drd=no
   5924  1.1  riastrad 
   5925  1.1  riastrad 				if `$VALGRIND --tool=drd --help >/dev/null 2>&1`; then :
   5926  1.1  riastrad 
   5927  1.1  riastrad 					ax_cv_valgrind_tool_drd=yes
   5928  1.1  riastrad 
   5929  1.1  riastrad fi
   5930  1.1  riastrad 
   5931  1.1  riastrad fi
   5932  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_valgrind_tool_drd" >&5
   5933  1.1  riastrad $as_echo "$ax_cv_valgrind_tool_drd" >&6; }
   5934  1.1  riastrad 			if test "$ax_cv_valgrind_tool_drd" = "no"; then :
   5935  1.1  riastrad 
   5936  1.1  riastrad 				if test "$enable_valgrind_drd" = "yes"; then :
   5937  1.1  riastrad 
   5938  1.1  riastrad 					as_fn_error $? "Valgrind does not support drd; reconfigure with --disable-valgrind-drd" "$LINENO" 5
   5939  1.1  riastrad 
   5940  1.1  riastrad else
   5941  1.1  riastrad 
   5942  1.1  riastrad 					enable_valgrind_drd=no
   5943  1.1  riastrad 
   5944  1.1  riastrad fi
   5945  1.1  riastrad 
   5946  1.1  riastrad else
   5947  1.1  riastrad 
   5948  1.1  riastrad 				enable_valgrind_drd=yes
   5949  1.1  riastrad 
   5950  1.1  riastrad fi
   5951  1.1  riastrad 
   5952  1.1  riastrad fi
   5953  1.1  riastrad 		if test "$enable_valgrind_drd" = "yes"; then :
   5954  1.1  riastrad 
   5955  1.1  riastrad 			valgrind_enabled_tools="$valgrind_enabled_tools drd"
   5956  1.1  riastrad 
   5957  1.1  riastrad fi
   5958  1.1  riastrad 		ENABLE_VALGRIND_drd=$enable_valgrind_drd
   5959  1.1  riastrad 
   5960  1.1  riastrad 
   5961  1.1  riastrad 		# Check whether --enable-valgrind-sgcheck was given.
   5962  1.1  riastrad if test "${enable_valgrind_sgcheck+set}" = set; then :
   5963  1.1  riastrad   enableval=$enable_valgrind_sgcheck; enable_valgrind_sgcheck=$enableval
   5964  1.1  riastrad else
   5965  1.1  riastrad   enable_valgrind_sgcheck=
   5966  1.1  riastrad fi
   5967  1.1  riastrad 
   5968  1.1  riastrad 		if test "$enable_valgrind" = "no"; then :
   5969  1.1  riastrad 
   5970  1.1  riastrad 			enable_valgrind_sgcheck=no
   5971  1.1  riastrad elif test "$enable_valgrind_sgcheck" != "no"; then :
   5972  1.1  riastrad 
   5973  1.1  riastrad 			{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Valgrind tool sgcheck" >&5
   5974  1.1  riastrad $as_echo_n "checking for Valgrind tool sgcheck... " >&6; }
   5975  1.1  riastrad if ${ax_cv_valgrind_tool_sgcheck+:} false; then :
   5976  1.1  riastrad   $as_echo_n "(cached) " >&6
   5977  1.1  riastrad else
   5978  1.1  riastrad 
   5979  1.1  riastrad 				ax_cv_valgrind_tool_sgcheck=no
   5980  1.1  riastrad 
   5981  1.1  riastrad 				if `$VALGRIND --tool=exp-sgcheck --help >/dev/null 2>&1`; then :
   5982  1.1  riastrad 
   5983  1.1  riastrad 					ax_cv_valgrind_tool_sgcheck=yes
   5984  1.1  riastrad 
   5985  1.1  riastrad fi
   5986  1.1  riastrad 
   5987  1.1  riastrad fi
   5988  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_valgrind_tool_sgcheck" >&5
   5989  1.1  riastrad $as_echo "$ax_cv_valgrind_tool_sgcheck" >&6; }
   5990  1.1  riastrad 			if test "$ax_cv_valgrind_tool_sgcheck" = "no"; then :
   5991  1.1  riastrad 
   5992  1.1  riastrad 				if test "$enable_valgrind_sgcheck" = "yes"; then :
   5993  1.1  riastrad 
   5994  1.1  riastrad 					as_fn_error $? "Valgrind does not support sgcheck; reconfigure with --disable-valgrind-sgcheck" "$LINENO" 5
   5995  1.1  riastrad 
   5996  1.1  riastrad else
   5997  1.1  riastrad 
   5998  1.1  riastrad 					enable_valgrind_sgcheck=no
   5999  1.1  riastrad 
   6000  1.1  riastrad fi
   6001  1.1  riastrad 
   6002  1.1  riastrad else
   6003  1.1  riastrad 
   6004  1.1  riastrad 				enable_valgrind_sgcheck=yes
   6005  1.1  riastrad 
   6006  1.1  riastrad fi
   6007  1.1  riastrad 
   6008  1.1  riastrad fi
   6009  1.1  riastrad 		if test "$enable_valgrind_sgcheck" = "yes"; then :
   6010  1.1  riastrad 
   6011  1.1  riastrad 			valgrind_enabled_tools="$valgrind_enabled_tools sgcheck"
   6012  1.1  riastrad 
   6013  1.1  riastrad fi
   6014  1.1  riastrad 		ENABLE_VALGRIND_sgcheck=$enable_valgrind_sgcheck
   6015  1.1  riastrad 
   6016  1.1  riastrad 
   6017  1.1  riastrad 	valgrind_tools="memcheck helgrind drd sgcheck"
   6018  1.1  riastrad 
   6019  1.1  riastrad 	valgrind_enabled_tools=$valgrind_enabled_tools
   6020  1.1  riastrad 
   6021  1.1  riastrad 
   6022  1.1  riastrad VALGRIND_CHECK_RULES='
   6023  1.1  riastrad # Valgrind check
   6024  1.1  riastrad #
   6025  1.1  riastrad # Optional:
   6026  1.1  riastrad #  - VALGRIND_SUPPRESSIONS_FILES: Space-separated list of Valgrind suppressions
   6027  1.1  riastrad #    files to load. (Default: empty)
   6028  1.1  riastrad #  - VALGRIND_FLAGS: General flags to pass to all Valgrind tools.
   6029  1.1  riastrad #    (Default: --num-callers=30)
   6030  1.1  riastrad #  - VALGRIND_$toolname_FLAGS: Flags to pass to Valgrind $toolname (one of:
   6031  1.1  riastrad #    memcheck, helgrind, drd, sgcheck). (Default: various)
   6032  1.1  riastrad 
   6033  1.1  riastrad # Optional variables
   6034  1.1  riastrad VALGRIND_SUPPRESSIONS ?= $(addprefix --suppressions=,$(VALGRIND_SUPPRESSIONS_FILES))
   6035  1.1  riastrad VALGRIND_FLAGS ?= --num-callers=30
   6036  1.1  riastrad VALGRIND_memcheck_FLAGS ?= --leak-check=full --show-reachable=no
   6037  1.1  riastrad VALGRIND_helgrind_FLAGS ?= --history-level=approx
   6038  1.1  riastrad VALGRIND_drd_FLAGS ?=
   6039  1.1  riastrad VALGRIND_sgcheck_FLAGS ?=
   6040  1.1  riastrad 
   6041  1.1  riastrad # Internal use
   6042  1.1  riastrad valgrind_log_files = $(addprefix test-suite-,$(addsuffix .log,$(valgrind_tools)))
   6043  1.1  riastrad 
   6044  1.1  riastrad valgrind_memcheck_flags = --tool=memcheck $(VALGRIND_memcheck_FLAGS)
   6045  1.1  riastrad valgrind_helgrind_flags = --tool=helgrind $(VALGRIND_helgrind_FLAGS)
   6046  1.1  riastrad valgrind_drd_flags = --tool=drd $(VALGRIND_drd_FLAGS)
   6047  1.1  riastrad valgrind_sgcheck_flags = --tool=exp-sgcheck $(VALGRIND_sgcheck_FLAGS)
   6048  1.1  riastrad 
   6049  1.1  riastrad valgrind_quiet = $(valgrind_quiet_$(V))
   6050  1.1  riastrad valgrind_quiet_ = $(valgrind_quiet_$(AM_DEFAULT_VERBOSITY))
   6051  1.1  riastrad valgrind_quiet_0 = --quiet
   6052  1.1  riastrad valgrind_v_use   = $(valgrind_v_use_$(V))
   6053  1.1  riastrad valgrind_v_use_  = $(valgrind_v_use_$(AM_DEFAULT_VERBOSITY))
   6054  1.1  riastrad valgrind_v_use_0 = @echo "  USE   " $(patsubst check-valgrind-%,%,$''@):;
   6055  1.1  riastrad 
   6056  1.1  riastrad # Support running with and without libtool.
   6057  1.1  riastrad ifneq ($(LIBTOOL),)
   6058  1.1  riastrad valgrind_lt = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=execute
   6059  1.1  riastrad else
   6060  1.1  riastrad valgrind_lt =
   6061  1.1  riastrad endif
   6062  1.1  riastrad 
   6063  1.1  riastrad # Use recursive makes in order to ignore errors during check
   6064  1.1  riastrad check-valgrind:
   6065  1.1  riastrad ifeq ($(VALGRIND_ENABLED),yes)
   6066  1.1  riastrad 	$(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) -k \
   6067  1.1  riastrad 		$(foreach tool, $(valgrind_enabled_tools), check-valgrind-$(tool))
   6068  1.1  riastrad else
   6069  1.1  riastrad 	@echo "Need to use GNU make and reconfigure with --enable-valgrind"
   6070  1.1  riastrad endif
   6071  1.1  riastrad 
   6072  1.1  riastrad # Valgrind running
   6073  1.1  riastrad VALGRIND_TESTS_ENVIRONMENT = \
   6074  1.1  riastrad 	$(TESTS_ENVIRONMENT) \
   6075  1.1  riastrad 	env VALGRIND=$(VALGRIND) \
   6076  1.1  riastrad 	G_SLICE=always-malloc,debug-blocks \
   6077  1.1  riastrad 	G_DEBUG=fatal-warnings,fatal-criticals,gc-friendly
   6078  1.1  riastrad 
   6079  1.1  riastrad VALGRIND_LOG_COMPILER = \
   6080  1.1  riastrad 	$(valgrind_lt) \
   6081  1.1  riastrad 	$(VALGRIND) $(VALGRIND_SUPPRESSIONS) --error-exitcode=1 $(VALGRIND_FLAGS)
   6082  1.1  riastrad 
   6083  1.1  riastrad define valgrind_tool_rule =
   6084  1.1  riastrad check-valgrind-$(1):
   6085  1.1  riastrad ifeq ($$(VALGRIND_ENABLED)-$$(ENABLE_VALGRIND_$(1)),yes-yes)
   6086  1.1  riastrad 	$$(valgrind_v_use)$$(MAKE) check-TESTS \
   6087  1.1  riastrad 		TESTS_ENVIRONMENT="$$(VALGRIND_TESTS_ENVIRONMENT)" \
   6088  1.1  riastrad 		LOG_COMPILER="$$(VALGRIND_LOG_COMPILER)" \
   6089  1.1  riastrad 		LOG_FLAGS="$$(valgrind_$(1)_flags)" \
   6090  1.1  riastrad 		TEST_SUITE_LOG=test-suite-$(1).log
   6091  1.1  riastrad else ifeq ($$(VALGRIND_ENABLED),yes)
   6092  1.1  riastrad 	@echo "Need to reconfigure with --enable-valgrind-$(1)"
   6093  1.1  riastrad else
   6094  1.1  riastrad 	@echo "Need to reconfigure with --enable-valgrind"
   6095  1.1  riastrad endif
   6096  1.1  riastrad endef
   6097  1.1  riastrad 
   6098  1.1  riastrad $(foreach tool,$(valgrind_tools),$(eval $(call valgrind_tool_rule,$(tool))))
   6099  1.1  riastrad 
   6100  1.1  riastrad A''M_DISTCHECK_CONFIGURE_FLAGS ?=
   6101  1.1  riastrad A''M_DISTCHECK_CONFIGURE_FLAGS += --disable-valgrind
   6102  1.1  riastrad 
   6103  1.1  riastrad MOSTLYCLEANFILES ?=
   6104  1.1  riastrad MOSTLYCLEANFILES += $(valgrind_log_files)
   6105  1.1  riastrad 
   6106  1.1  riastrad .PHONY: check-valgrind $(add-prefix check-valgrind-,$(valgrind_tools))
   6107  1.1  riastrad '
   6108  1.1  riastrad 
   6109  1.1  riastrad 	if test "$enable_valgrind" != "yes"; then :
   6110  1.1  riastrad 
   6111  1.1  riastrad 		VALGRIND_CHECK_RULES='
   6112  1.1  riastrad check-valgrind:
   6113  1.1  riastrad 	@echo "Need to use GNU make and reconfigure with --enable-valgrind"'
   6114  1.1  riastrad 
   6115  1.1  riastrad fi
   6116  1.1  riastrad 
   6117  1.1  riastrad 
   6118  1.1  riastrad 
   6119  1.1  riastrad 
   6120  1.1  riastrad 
   6121  1.1  riastrad 
   6122  1.1  riastrad    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   6123  1.1  riastrad $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   6124  1.1  riastrad if ${ac_cv_prog_cc_c99+:} false; then :
   6125  1.1  riastrad   $as_echo_n "(cached) " >&6
   6126  1.1  riastrad else
   6127  1.1  riastrad   ac_cv_prog_cc_c99=no
   6128  1.1  riastrad ac_save_CC=$CC
   6129  1.1  riastrad cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6130  1.1  riastrad /* end confdefs.h.  */
   6131  1.1  riastrad #include <stdarg.h>
   6132  1.1  riastrad #include <stdbool.h>
   6133  1.1  riastrad #include <stdlib.h>
   6134  1.1  riastrad #include <wchar.h>
   6135  1.1  riastrad #include <stdio.h>
   6136  1.1  riastrad 
   6137  1.1  riastrad // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   6138  1.1  riastrad #define debug(...) fprintf (stderr, __VA_ARGS__)
   6139  1.1  riastrad #define showlist(...) puts (#__VA_ARGS__)
   6140  1.1  riastrad #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   6141  1.1  riastrad static void
   6142  1.1  riastrad test_varargs_macros (void)
   6143  1.1  riastrad {
   6144  1.1  riastrad   int x = 1234;
   6145  1.1  riastrad   int y = 5678;
   6146  1.1  riastrad   debug ("Flag");
   6147  1.1  riastrad   debug ("X = %d\n", x);
   6148  1.1  riastrad   showlist (The first, second, and third items.);
   6149  1.1  riastrad   report (x>y, "x is %d but y is %d", x, y);
   6150  1.1  riastrad }
   6151  1.1  riastrad 
   6152  1.1  riastrad // Check long long types.
   6153  1.1  riastrad #define BIG64 18446744073709551615ull
   6154  1.1  riastrad #define BIG32 4294967295ul
   6155  1.1  riastrad #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   6156  1.1  riastrad #if !BIG_OK
   6157  1.1  riastrad   your preprocessor is broken;
   6158  1.1  riastrad #endif
   6159  1.1  riastrad #if BIG_OK
   6160  1.1  riastrad #else
   6161  1.1  riastrad   your preprocessor is broken;
   6162  1.1  riastrad #endif
   6163  1.1  riastrad static long long int bignum = -9223372036854775807LL;
   6164  1.1  riastrad static unsigned long long int ubignum = BIG64;
   6165  1.1  riastrad 
   6166  1.1  riastrad struct incomplete_array
   6167  1.1  riastrad {
   6168  1.1  riastrad   int datasize;
   6169  1.1  riastrad   double data[];
   6170  1.1  riastrad };
   6171  1.1  riastrad 
   6172  1.1  riastrad struct named_init {
   6173  1.1  riastrad   int number;
   6174  1.1  riastrad   const wchar_t *name;
   6175  1.1  riastrad   double average;
   6176  1.1  riastrad };
   6177  1.1  riastrad 
   6178  1.1  riastrad typedef const char *ccp;
   6179  1.1  riastrad 
   6180  1.1  riastrad static inline int
   6181  1.1  riastrad test_restrict (ccp restrict text)
   6182  1.1  riastrad {
   6183  1.1  riastrad   // See if C++-style comments work.
   6184  1.1  riastrad   // Iterate through items via the restricted pointer.
   6185  1.1  riastrad   // Also check for declarations in for loops.
   6186  1.1  riastrad   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   6187  1.1  riastrad     continue;
   6188  1.1  riastrad   return 0;
   6189  1.1  riastrad }
   6190  1.1  riastrad 
   6191  1.1  riastrad // Check varargs and va_copy.
   6192  1.1  riastrad static void
   6193  1.1  riastrad test_varargs (const char *format, ...)
   6194  1.1  riastrad {
   6195  1.1  riastrad   va_list args;
   6196  1.1  riastrad   va_start (args, format);
   6197  1.1  riastrad   va_list args_copy;
   6198  1.1  riastrad   va_copy (args_copy, args);
   6199  1.1  riastrad 
   6200  1.1  riastrad   const char *str;
   6201  1.1  riastrad   int number;
   6202  1.1  riastrad   float fnumber;
   6203  1.1  riastrad 
   6204  1.1  riastrad   while (*format)
   6205  1.1  riastrad     {
   6206  1.1  riastrad       switch (*format++)
   6207  1.1  riastrad 	{
   6208  1.1  riastrad 	case 's': // string
   6209  1.1  riastrad 	  str = va_arg (args_copy, const char *);
   6210  1.1  riastrad 	  break;
   6211  1.1  riastrad 	case 'd': // int
   6212  1.1  riastrad 	  number = va_arg (args_copy, int);
   6213  1.1  riastrad 	  break;
   6214  1.1  riastrad 	case 'f': // float
   6215  1.1  riastrad 	  fnumber = va_arg (args_copy, double);
   6216  1.1  riastrad 	  break;
   6217  1.1  riastrad 	default:
   6218  1.1  riastrad 	  break;
   6219  1.1  riastrad 	}
   6220  1.1  riastrad     }
   6221  1.1  riastrad   va_end (args_copy);
   6222  1.1  riastrad   va_end (args);
   6223  1.1  riastrad }
   6224  1.1  riastrad 
   6225  1.1  riastrad int
   6226  1.1  riastrad main ()
   6227  1.1  riastrad {
   6228  1.1  riastrad 
   6229  1.1  riastrad   // Check bool.
   6230  1.1  riastrad   _Bool success = false;
   6231  1.1  riastrad 
   6232  1.1  riastrad   // Check restrict.
   6233  1.1  riastrad   if (test_restrict ("String literal") == 0)
   6234  1.1  riastrad     success = true;
   6235  1.1  riastrad   char *restrict newvar = "Another string";
   6236  1.1  riastrad 
   6237  1.1  riastrad   // Check varargs.
   6238  1.1  riastrad   test_varargs ("s, d' f .", "string", 65, 34.234);
   6239  1.1  riastrad   test_varargs_macros ();
   6240  1.1  riastrad 
   6241  1.1  riastrad   // Check flexible array members.
   6242  1.1  riastrad   struct incomplete_array *ia =
   6243  1.1  riastrad     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   6244  1.1  riastrad   ia->datasize = 10;
   6245  1.1  riastrad   for (int i = 0; i < ia->datasize; ++i)
   6246  1.1  riastrad     ia->data[i] = i * 1.234;
   6247  1.1  riastrad 
   6248  1.1  riastrad   // Check named initializers.
   6249  1.1  riastrad   struct named_init ni = {
   6250  1.1  riastrad     .number = 34,
   6251  1.1  riastrad     .name = L"Test wide string",
   6252  1.1  riastrad     .average = 543.34343,
   6253  1.1  riastrad   };
   6254  1.1  riastrad 
   6255  1.1  riastrad   ni.number = 58;
   6256  1.1  riastrad 
   6257  1.1  riastrad   int dynamic_array[ni.number];
   6258  1.1  riastrad   dynamic_array[ni.number - 1] = 543;
   6259  1.1  riastrad 
   6260  1.1  riastrad   // work around unused variable warnings
   6261  1.1  riastrad   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   6262  1.1  riastrad 	  || dynamic_array[ni.number - 1] != 543);
   6263  1.1  riastrad 
   6264  1.1  riastrad   ;
   6265  1.1  riastrad   return 0;
   6266  1.1  riastrad }
   6267  1.1  riastrad _ACEOF
   6268  1.1  riastrad for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   6269  1.1  riastrad do
   6270  1.1  riastrad   CC="$ac_save_CC $ac_arg"
   6271  1.1  riastrad   if ac_fn_c_try_compile "$LINENO"; then :
   6272  1.1  riastrad   ac_cv_prog_cc_c99=$ac_arg
   6273  1.1  riastrad fi
   6274  1.1  riastrad rm -f core conftest.err conftest.$ac_objext
   6275  1.1  riastrad   test "x$ac_cv_prog_cc_c99" != "xno" && break
   6276  1.1  riastrad done
   6277  1.1  riastrad rm -f conftest.$ac_ext
   6278  1.1  riastrad CC=$ac_save_CC
   6279  1.1  riastrad 
   6280  1.1  riastrad fi
   6281  1.1  riastrad # AC_CACHE_VAL
   6282  1.1  riastrad case "x$ac_cv_prog_cc_c99" in
   6283  1.1  riastrad   x)
   6284  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   6285  1.1  riastrad $as_echo "none needed" >&6; } ;;
   6286  1.1  riastrad   xno)
   6287  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   6288  1.1  riastrad $as_echo "unsupported" >&6; } ;;
   6289  1.1  riastrad   *)
   6290  1.1  riastrad     CC="$CC $ac_cv_prog_cc_c99"
   6291  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   6292  1.1  riastrad $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   6293  1.1  riastrad esac
   6294  1.1  riastrad if test "x$ac_cv_prog_cc_c99" != xno; then :
   6295  1.1  riastrad 
   6296  1.1  riastrad fi
   6297  1.1  riastrad 
   6298  1.1  riastrad 
   6299  1.1  riastrad # By default we simply use the C compiler to build assembly code.
   6300  1.1  riastrad 
   6301  1.1  riastrad test "${CCAS+set}" = set || CCAS=$CC
   6302  1.1  riastrad test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
   6303  1.1  riastrad 
   6304  1.1  riastrad 
   6305  1.1  riastrad 
   6306  1.1  riastrad depcc="$CCAS"   am_compiler_list=
   6307  1.1  riastrad 
   6308  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   6309  1.1  riastrad $as_echo_n "checking dependency style of $depcc... " >&6; }
   6310  1.1  riastrad if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
   6311  1.1  riastrad   $as_echo_n "(cached) " >&6
   6312  1.1  riastrad else
   6313  1.1  riastrad   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   6314  1.1  riastrad   # We make a subdir and do the tests there.  Otherwise we can end up
   6315  1.1  riastrad   # making bogus files that we don't know about and never remove.  For
   6316  1.1  riastrad   # instance it was reported that on HP-UX the gcc test will end up
   6317  1.1  riastrad   # making a dummy file named 'D' -- because '-MD' means "put the output
   6318  1.1  riastrad   # in D".
   6319  1.1  riastrad   rm -rf conftest.dir
   6320  1.1  riastrad   mkdir conftest.dir
   6321  1.1  riastrad   # Copy depcomp to subdir because otherwise we won't find it if we're
   6322  1.1  riastrad   # using a relative directory.
   6323  1.1  riastrad   cp "$am_depcomp" conftest.dir
   6324  1.1  riastrad   cd conftest.dir
   6325  1.1  riastrad   # We will build objects and dependencies in a subdirectory because
   6326  1.1  riastrad   # it helps to detect inapplicable dependency modes.  For instance
   6327  1.1  riastrad   # both Tru64's cc and ICC support -MD to output dependencies as a
   6328  1.1  riastrad   # side effect of compilation, but ICC will put the dependencies in
   6329  1.1  riastrad   # the current directory while Tru64 will put them in the object
   6330  1.1  riastrad   # directory.
   6331  1.1  riastrad   mkdir sub
   6332  1.1  riastrad 
   6333  1.1  riastrad   am_cv_CCAS_dependencies_compiler_type=none
   6334  1.1  riastrad   if test "$am_compiler_list" = ""; then
   6335  1.1  riastrad      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   6336  1.1  riastrad   fi
   6337  1.1  riastrad   am__universal=false
   6338  1.1  riastrad 
   6339  1.1  riastrad 
   6340  1.1  riastrad   for depmode in $am_compiler_list; do
   6341  1.1  riastrad     # Setup a source with many dependencies, because some compilers
   6342  1.1  riastrad     # like to wrap large dependency lists on column 80 (with \), and
   6343  1.1  riastrad     # we should not choose a depcomp mode which is confused by this.
   6344  1.1  riastrad     #
   6345  1.1  riastrad     # We need to recreate these files for each test, as the compiler may
   6346  1.1  riastrad     # overwrite some of them when testing with obscure command lines.
   6347  1.1  riastrad     # This happens at least with the AIX C compiler.
   6348  1.1  riastrad     : > sub/conftest.c
   6349  1.1  riastrad     for i in 1 2 3 4 5 6; do
   6350  1.1  riastrad       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   6351  1.1  riastrad       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   6352  1.1  riastrad       # Solaris 10 /bin/sh.
   6353  1.1  riastrad       echo '/* dummy */' > sub/conftst$i.h
   6354  1.1  riastrad     done
   6355  1.1  riastrad     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   6356  1.1  riastrad 
   6357  1.1  riastrad     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   6358  1.1  riastrad     # mode.  It turns out that the SunPro C++ compiler does not properly
   6359  1.1  riastrad     # handle '-M -o', and we need to detect this.  Also, some Intel
   6360  1.1  riastrad     # versions had trouble with output in subdirs.
   6361  1.1  riastrad     am__obj=sub/conftest.${OBJEXT-o}
   6362  1.1  riastrad     am__minus_obj="-o $am__obj"
   6363  1.1  riastrad     case $depmode in
   6364  1.1  riastrad     gcc)
   6365  1.1  riastrad       # This depmode causes a compiler race in universal mode.
   6366  1.1  riastrad       test "$am__universal" = false || continue
   6367  1.1  riastrad       ;;
   6368  1.1  riastrad     nosideeffect)
   6369  1.1  riastrad       # After this tag, mechanisms are not by side-effect, so they'll
   6370  1.1  riastrad       # only be used when explicitly requested.
   6371  1.1  riastrad       if test "x$enable_dependency_tracking" = xyes; then
   6372  1.1  riastrad 	continue
   6373  1.1  riastrad       else
   6374  1.1  riastrad 	break
   6375  1.1  riastrad       fi
   6376  1.1  riastrad       ;;
   6377  1.1  riastrad     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   6378  1.1  riastrad       # This compiler won't grok '-c -o', but also, the minuso test has
   6379  1.1  riastrad       # not run yet.  These depmodes are late enough in the game, and
   6380  1.1  riastrad       # so weak that their functioning should not be impacted.
   6381  1.1  riastrad       am__obj=conftest.${OBJEXT-o}
   6382  1.1  riastrad       am__minus_obj=
   6383  1.1  riastrad       ;;
   6384  1.1  riastrad     none) break ;;
   6385  1.1  riastrad     esac
   6386  1.1  riastrad     if depmode=$depmode \
   6387  1.1  riastrad        source=sub/conftest.c object=$am__obj \
   6388  1.1  riastrad        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   6389  1.1  riastrad        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   6390  1.1  riastrad          >/dev/null 2>conftest.err &&
   6391  1.1  riastrad        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   6392  1.1  riastrad        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   6393  1.1  riastrad        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   6394  1.1  riastrad        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   6395  1.1  riastrad       # icc doesn't choke on unknown options, it will just issue warnings
   6396  1.1  riastrad       # or remarks (even with -Werror).  So we grep stderr for any message
   6397  1.1  riastrad       # that says an option was ignored or not supported.
   6398  1.1  riastrad       # When given -MP, icc 7.0 and 7.1 complain thusly:
   6399  1.1  riastrad       #   icc: Command line warning: ignoring option '-M'; no argument required
   6400  1.1  riastrad       # The diagnosis changed in icc 8.0:
   6401  1.1  riastrad       #   icc: Command line remark: option '-MP' not supported
   6402  1.1  riastrad       if (grep 'ignoring option' conftest.err ||
   6403  1.1  riastrad           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   6404  1.1  riastrad         am_cv_CCAS_dependencies_compiler_type=$depmode
   6405  1.1  riastrad         break
   6406  1.1  riastrad       fi
   6407  1.1  riastrad     fi
   6408  1.1  riastrad   done
   6409  1.1  riastrad 
   6410  1.1  riastrad   cd ..
   6411  1.1  riastrad   rm -rf conftest.dir
   6412  1.1  riastrad else
   6413  1.1  riastrad   am_cv_CCAS_dependencies_compiler_type=none
   6414  1.1  riastrad fi
   6415  1.1  riastrad 
   6416  1.1  riastrad fi
   6417  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
   6418  1.1  riastrad $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
   6419  1.1  riastrad CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
   6420  1.1  riastrad 
   6421  1.1  riastrad  if
   6422  1.1  riastrad   test "x$enable_dependency_tracking" != xno \
   6423  1.1  riastrad   && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
   6424  1.1  riastrad   am__fastdepCCAS_TRUE=
   6425  1.1  riastrad   am__fastdepCCAS_FALSE='#'
   6426  1.1  riastrad else
   6427  1.1  riastrad   am__fastdepCCAS_TRUE='#'
   6428  1.1  riastrad   am__fastdepCCAS_FALSE=
   6429  1.1  riastrad fi
   6430  1.1  riastrad 
   6431  1.1  riastrad 
   6432  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   6433  1.1  riastrad $as_echo_n "checking for ANSI C header files... " >&6; }
   6434  1.1  riastrad if ${ac_cv_header_stdc+:} false; then :
   6435  1.1  riastrad   $as_echo_n "(cached) " >&6
   6436  1.1  riastrad else
   6437  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6438  1.1  riastrad /* end confdefs.h.  */
   6439  1.1  riastrad #include <stdlib.h>
   6440  1.1  riastrad #include <stdarg.h>
   6441  1.1  riastrad #include <string.h>
   6442  1.1  riastrad #include <float.h>
   6443  1.1  riastrad 
   6444  1.1  riastrad int
   6445  1.1  riastrad main ()
   6446  1.1  riastrad {
   6447  1.1  riastrad 
   6448  1.1  riastrad   ;
   6449  1.1  riastrad   return 0;
   6450  1.1  riastrad }
   6451  1.1  riastrad _ACEOF
   6452  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   6453  1.1  riastrad   ac_cv_header_stdc=yes
   6454  1.1  riastrad else
   6455  1.1  riastrad   ac_cv_header_stdc=no
   6456  1.1  riastrad fi
   6457  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6458  1.1  riastrad 
   6459  1.1  riastrad if test $ac_cv_header_stdc = yes; then
   6460  1.1  riastrad   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   6461  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6462  1.1  riastrad /* end confdefs.h.  */
   6463  1.1  riastrad #include <string.h>
   6464  1.1  riastrad 
   6465  1.1  riastrad _ACEOF
   6466  1.1  riastrad if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6467  1.1  riastrad   $EGREP "memchr" >/dev/null 2>&1; then :
   6468  1.1  riastrad 
   6469  1.1  riastrad else
   6470  1.1  riastrad   ac_cv_header_stdc=no
   6471  1.1  riastrad fi
   6472  1.1  riastrad rm -f conftest*
   6473  1.1  riastrad 
   6474  1.1  riastrad fi
   6475  1.1  riastrad 
   6476  1.1  riastrad if test $ac_cv_header_stdc = yes; then
   6477  1.1  riastrad   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   6478  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6479  1.1  riastrad /* end confdefs.h.  */
   6480  1.1  riastrad #include <stdlib.h>
   6481  1.1  riastrad 
   6482  1.1  riastrad _ACEOF
   6483  1.1  riastrad if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6484  1.1  riastrad   $EGREP "free" >/dev/null 2>&1; then :
   6485  1.1  riastrad 
   6486  1.1  riastrad else
   6487  1.1  riastrad   ac_cv_header_stdc=no
   6488  1.1  riastrad fi
   6489  1.1  riastrad rm -f conftest*
   6490  1.1  riastrad 
   6491  1.1  riastrad fi
   6492  1.1  riastrad 
   6493  1.1  riastrad if test $ac_cv_header_stdc = yes; then
   6494  1.1  riastrad   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   6495  1.1  riastrad   if test "$cross_compiling" = yes; then :
   6496  1.1  riastrad   :
   6497  1.1  riastrad else
   6498  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6499  1.1  riastrad /* end confdefs.h.  */
   6500  1.1  riastrad #include <ctype.h>
   6501  1.1  riastrad #include <stdlib.h>
   6502  1.1  riastrad #if ((' ' & 0x0FF) == 0x020)
   6503  1.1  riastrad # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   6504  1.1  riastrad # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   6505  1.1  riastrad #else
   6506  1.1  riastrad # define ISLOWER(c) \
   6507  1.1  riastrad 		   (('a' <= (c) && (c) <= 'i') \
   6508  1.1  riastrad 		     || ('j' <= (c) && (c) <= 'r') \
   6509  1.1  riastrad 		     || ('s' <= (c) && (c) <= 'z'))
   6510  1.1  riastrad # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   6511  1.1  riastrad #endif
   6512  1.1  riastrad 
   6513  1.1  riastrad #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   6514  1.1  riastrad int
   6515  1.1  riastrad main ()
   6516  1.1  riastrad {
   6517  1.1  riastrad   int i;
   6518  1.1  riastrad   for (i = 0; i < 256; i++)
   6519  1.1  riastrad     if (XOR (islower (i), ISLOWER (i))
   6520  1.1  riastrad 	|| toupper (i) != TOUPPER (i))
   6521  1.1  riastrad       return 2;
   6522  1.1  riastrad   return 0;
   6523  1.1  riastrad }
   6524  1.1  riastrad _ACEOF
   6525  1.1  riastrad if ac_fn_c_try_run "$LINENO"; then :
   6526  1.1  riastrad 
   6527  1.1  riastrad else
   6528  1.1  riastrad   ac_cv_header_stdc=no
   6529  1.1  riastrad fi
   6530  1.1  riastrad rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   6531  1.1  riastrad   conftest.$ac_objext conftest.beam conftest.$ac_ext
   6532  1.1  riastrad fi
   6533  1.1  riastrad 
   6534  1.1  riastrad fi
   6535  1.1  riastrad fi
   6536  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   6537  1.1  riastrad $as_echo "$ac_cv_header_stdc" >&6; }
   6538  1.1  riastrad if test $ac_cv_header_stdc = yes; then
   6539  1.1  riastrad 
   6540  1.1  riastrad $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   6541  1.1  riastrad 
   6542  1.1  riastrad fi
   6543  1.1  riastrad 
   6544  1.1  riastrad # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   6545  1.1  riastrad for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   6546  1.1  riastrad 		  inttypes.h stdint.h unistd.h
   6547  1.1  riastrad do :
   6548  1.1  riastrad   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6549  1.1  riastrad ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   6550  1.1  riastrad "
   6551  1.1  riastrad if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   6552  1.1  riastrad   cat >>confdefs.h <<_ACEOF
   6553  1.1  riastrad #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   6554  1.1  riastrad _ACEOF
   6555  1.1  riastrad 
   6556  1.1  riastrad fi
   6557  1.1  riastrad 
   6558  1.1  riastrad done
   6559  1.1  riastrad 
   6560  1.1  riastrad 
   6561  1.1  riastrad 
   6562  1.1  riastrad   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   6563  1.1  riastrad if test "x$ac_cv_header_minix_config_h" = xyes; then :
   6564  1.1  riastrad   MINIX=yes
   6565  1.1  riastrad else
   6566  1.1  riastrad   MINIX=
   6567  1.1  riastrad fi
   6568  1.1  riastrad 
   6569  1.1  riastrad 
   6570  1.1  riastrad   if test "$MINIX" = yes; then
   6571  1.1  riastrad 
   6572  1.1  riastrad $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   6573  1.1  riastrad 
   6574  1.1  riastrad 
   6575  1.1  riastrad $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   6576  1.1  riastrad 
   6577  1.1  riastrad 
   6578  1.1  riastrad $as_echo "#define _MINIX 1" >>confdefs.h
   6579  1.1  riastrad 
   6580  1.1  riastrad   fi
   6581  1.1  riastrad 
   6582  1.1  riastrad 
   6583  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   6584  1.1  riastrad $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   6585  1.1  riastrad if ${ac_cv_safe_to_define___extensions__+:} false; then :
   6586  1.1  riastrad   $as_echo_n "(cached) " >&6
   6587  1.1  riastrad else
   6588  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6589  1.1  riastrad /* end confdefs.h.  */
   6590  1.1  riastrad 
   6591  1.1  riastrad #         define __EXTENSIONS__ 1
   6592  1.1  riastrad           $ac_includes_default
   6593  1.1  riastrad int
   6594  1.1  riastrad main ()
   6595  1.1  riastrad {
   6596  1.1  riastrad 
   6597  1.1  riastrad   ;
   6598  1.1  riastrad   return 0;
   6599  1.1  riastrad }
   6600  1.1  riastrad _ACEOF
   6601  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   6602  1.1  riastrad   ac_cv_safe_to_define___extensions__=yes
   6603  1.1  riastrad else
   6604  1.1  riastrad   ac_cv_safe_to_define___extensions__=no
   6605  1.1  riastrad fi
   6606  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6607  1.1  riastrad fi
   6608  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   6609  1.1  riastrad $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   6610  1.1  riastrad   test $ac_cv_safe_to_define___extensions__ = yes &&
   6611  1.1  riastrad     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   6612  1.1  riastrad 
   6613  1.1  riastrad   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   6614  1.1  riastrad 
   6615  1.1  riastrad   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   6616  1.1  riastrad 
   6617  1.1  riastrad   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   6618  1.1  riastrad 
   6619  1.1  riastrad   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   6620  1.1  riastrad 
   6621  1.1  riastrad 
   6622  1.1  riastrad 
   6623  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for variable-length arrays" >&5
   6624  1.1  riastrad $as_echo_n "checking for variable-length arrays... " >&6; }
   6625  1.1  riastrad if ${ac_cv_c_vararrays+:} false; then :
   6626  1.1  riastrad   $as_echo_n "(cached) " >&6
   6627  1.1  riastrad else
   6628  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6629  1.1  riastrad /* end confdefs.h.  */
   6630  1.1  riastrad 
   6631  1.1  riastrad int
   6632  1.1  riastrad main ()
   6633  1.1  riastrad {
   6634  1.1  riastrad static int x; char a[++x]; a[sizeof a - 1] = 0; return a[0];
   6635  1.1  riastrad   ;
   6636  1.1  riastrad   return 0;
   6637  1.1  riastrad }
   6638  1.1  riastrad _ACEOF
   6639  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   6640  1.1  riastrad   ac_cv_c_vararrays=yes
   6641  1.1  riastrad else
   6642  1.1  riastrad   ac_cv_c_vararrays=no
   6643  1.1  riastrad fi
   6644  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6645  1.1  riastrad fi
   6646  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_vararrays" >&5
   6647  1.1  riastrad $as_echo "$ac_cv_c_vararrays" >&6; }
   6648  1.1  riastrad   if test $ac_cv_c_vararrays = yes; then
   6649  1.1  riastrad 
   6650  1.1  riastrad $as_echo "#define HAVE_C_VARARRAYS 1" >>confdefs.h
   6651  1.1  riastrad 
   6652  1.1  riastrad   fi
   6653  1.1  riastrad 
   6654  1.1  riastrad 
   6655  1.1  riastrad 
   6656  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __native_client__ defined" >&5
   6657  1.1  riastrad $as_echo_n "checking for __native_client__ defined... " >&6; }
   6658  1.1  riastrad if ${ac_cv_defined___native_client__+:} false; then :
   6659  1.1  riastrad   $as_echo_n "(cached) " >&6
   6660  1.1  riastrad else
   6661  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6662  1.1  riastrad /* end confdefs.h.  */
   6663  1.1  riastrad 
   6664  1.1  riastrad int
   6665  1.1  riastrad main ()
   6666  1.1  riastrad {
   6667  1.1  riastrad 
   6668  1.1  riastrad   #ifdef __native_client__
   6669  1.1  riastrad   int ok;
   6670  1.1  riastrad   #else
   6671  1.1  riastrad   choke me
   6672  1.1  riastrad   #endif
   6673  1.1  riastrad 
   6674  1.1  riastrad   ;
   6675  1.1  riastrad   return 0;
   6676  1.1  riastrad }
   6677  1.1  riastrad _ACEOF
   6678  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   6679  1.1  riastrad   ac_cv_defined___native_client__=yes
   6680  1.1  riastrad else
   6681  1.1  riastrad   ac_cv_defined___native_client__=no
   6682  1.1  riastrad fi
   6683  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6684  1.1  riastrad fi
   6685  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined___native_client__" >&5
   6686  1.1  riastrad $as_echo "$ac_cv_defined___native_client__" >&6; }
   6687  1.1  riastrad if test $ac_cv_defined___native_client__ != "no"; then :
   6688  1.1  riastrad   NATIVECLIENT="yes"
   6689  1.1  riastrad fi
   6690  1.1  riastrad 
   6691  1.1  riastrad 
   6692  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FORTIFY_SOURCE defined" >&5
   6693  1.1  riastrad $as_echo_n "checking for _FORTIFY_SOURCE defined... " >&6; }
   6694  1.1  riastrad if ${ac_cv_defined__FORTIFY_SOURCE+:} false; then :
   6695  1.1  riastrad   $as_echo_n "(cached) " >&6
   6696  1.1  riastrad else
   6697  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6698  1.1  riastrad /* end confdefs.h.  */
   6699  1.1  riastrad 
   6700  1.1  riastrad int
   6701  1.1  riastrad main ()
   6702  1.1  riastrad {
   6703  1.1  riastrad 
   6704  1.1  riastrad   #ifdef _FORTIFY_SOURCE
   6705  1.1  riastrad   int ok;
   6706  1.1  riastrad   #else
   6707  1.1  riastrad   choke me
   6708  1.1  riastrad   #endif
   6709  1.1  riastrad 
   6710  1.1  riastrad   ;
   6711  1.1  riastrad   return 0;
   6712  1.1  riastrad }
   6713  1.1  riastrad _ACEOF
   6714  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   6715  1.1  riastrad   ac_cv_defined__FORTIFY_SOURCE=yes
   6716  1.1  riastrad else
   6717  1.1  riastrad   ac_cv_defined__FORTIFY_SOURCE=no
   6718  1.1  riastrad fi
   6719  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6720  1.1  riastrad fi
   6721  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__FORTIFY_SOURCE" >&5
   6722  1.1  riastrad $as_echo "$ac_cv_defined__FORTIFY_SOURCE" >&6; }
   6723  1.1  riastrad if test $ac_cv_defined__FORTIFY_SOURCE != "no"; then :
   6724  1.1  riastrad 
   6725  1.1  riastrad else
   6726  1.1  riastrad 
   6727  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -D_FORTIFY_SOURCE=2" >&5
   6728  1.1  riastrad $as_echo_n "checking whether C compiler accepts -D_FORTIFY_SOURCE=2... " >&6; }
   6729  1.1  riastrad if ${ax_cv_check_cflags___D_FORTIFY_SOURCE_2+:} false; then :
   6730  1.1  riastrad   $as_echo_n "(cached) " >&6
   6731  1.1  riastrad else
   6732  1.1  riastrad 
   6733  1.1  riastrad   ax_check_save_flags=$CFLAGS
   6734  1.1  riastrad   CFLAGS="$CFLAGS  -D_FORTIFY_SOURCE=2"
   6735  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6736  1.1  riastrad /* end confdefs.h.  */
   6737  1.1  riastrad #include <time.h>
   6738  1.1  riastrad int
   6739  1.1  riastrad main ()
   6740  1.1  riastrad {
   6741  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   6742  1.1  riastrad   ;
   6743  1.1  riastrad   return 0;
   6744  1.1  riastrad }
   6745  1.1  riastrad _ACEOF
   6746  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   6747  1.1  riastrad   ax_cv_check_cflags___D_FORTIFY_SOURCE_2=yes
   6748  1.1  riastrad else
   6749  1.1  riastrad   ax_cv_check_cflags___D_FORTIFY_SOURCE_2=no
   6750  1.1  riastrad fi
   6751  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   6752  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   6753  1.1  riastrad   CFLAGS=$ax_check_save_flags
   6754  1.1  riastrad fi
   6755  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___D_FORTIFY_SOURCE_2" >&5
   6756  1.1  riastrad $as_echo "$ax_cv_check_cflags___D_FORTIFY_SOURCE_2" >&6; }
   6757  1.1  riastrad if test "x$ax_cv_check_cflags___D_FORTIFY_SOURCE_2" = xyes; then :
   6758  1.1  riastrad   CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
   6759  1.1  riastrad else
   6760  1.1  riastrad   :
   6761  1.1  riastrad fi
   6762  1.1  riastrad 
   6763  1.1  riastrad 
   6764  1.1  riastrad fi
   6765  1.1  riastrad 
   6766  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fvisibility=hidden" >&5
   6767  1.1  riastrad $as_echo_n "checking whether C compiler accepts -fvisibility=hidden... " >&6; }
   6768  1.1  riastrad if ${ax_cv_check_cflags___fvisibility_hidden+:} false; then :
   6769  1.1  riastrad   $as_echo_n "(cached) " >&6
   6770  1.1  riastrad else
   6771  1.1  riastrad 
   6772  1.1  riastrad   ax_check_save_flags=$CFLAGS
   6773  1.1  riastrad   CFLAGS="$CFLAGS  -fvisibility=hidden"
   6774  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6775  1.1  riastrad /* end confdefs.h.  */
   6776  1.1  riastrad #include <time.h>
   6777  1.1  riastrad int
   6778  1.1  riastrad main ()
   6779  1.1  riastrad {
   6780  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   6781  1.1  riastrad   ;
   6782  1.1  riastrad   return 0;
   6783  1.1  riastrad }
   6784  1.1  riastrad _ACEOF
   6785  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   6786  1.1  riastrad   ax_cv_check_cflags___fvisibility_hidden=yes
   6787  1.1  riastrad else
   6788  1.1  riastrad   ax_cv_check_cflags___fvisibility_hidden=no
   6789  1.1  riastrad fi
   6790  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   6791  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   6792  1.1  riastrad   CFLAGS=$ax_check_save_flags
   6793  1.1  riastrad fi
   6794  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fvisibility_hidden" >&5
   6795  1.1  riastrad $as_echo "$ax_cv_check_cflags___fvisibility_hidden" >&6; }
   6796  1.1  riastrad if test "x$ax_cv_check_cflags___fvisibility_hidden" = xyes; then :
   6797  1.1  riastrad   CFLAGS="$CFLAGS -fvisibility=hidden"
   6798  1.1  riastrad else
   6799  1.1  riastrad   :
   6800  1.1  riastrad fi
   6801  1.1  riastrad 
   6802  1.1  riastrad 
   6803  1.1  riastrad case $host_os in #(
   6804  1.1  riastrad   cygwin*|mingw*|msys|pw32*|cegcc*) :
   6805  1.1  riastrad       ;; #(
   6806  1.1  riastrad   *) :
   6807  1.1  riastrad 
   6808  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fPIC" >&5
   6809  1.1  riastrad $as_echo_n "checking whether C compiler accepts -fPIC... " >&6; }
   6810  1.1  riastrad if ${ax_cv_check_cflags___fPIC+:} false; then :
   6811  1.1  riastrad   $as_echo_n "(cached) " >&6
   6812  1.1  riastrad else
   6813  1.1  riastrad 
   6814  1.1  riastrad   ax_check_save_flags=$CFLAGS
   6815  1.1  riastrad   CFLAGS="$CFLAGS  -fPIC"
   6816  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6817  1.1  riastrad /* end confdefs.h.  */
   6818  1.1  riastrad #include <time.h>
   6819  1.1  riastrad int
   6820  1.1  riastrad main ()
   6821  1.1  riastrad {
   6822  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   6823  1.1  riastrad   ;
   6824  1.1  riastrad   return 0;
   6825  1.1  riastrad }
   6826  1.1  riastrad _ACEOF
   6827  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   6828  1.1  riastrad   ax_cv_check_cflags___fPIC=yes
   6829  1.1  riastrad else
   6830  1.1  riastrad   ax_cv_check_cflags___fPIC=no
   6831  1.1  riastrad fi
   6832  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   6833  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   6834  1.1  riastrad   CFLAGS=$ax_check_save_flags
   6835  1.1  riastrad fi
   6836  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fPIC" >&5
   6837  1.1  riastrad $as_echo "$ax_cv_check_cflags___fPIC" >&6; }
   6838  1.1  riastrad if test "x$ax_cv_check_cflags___fPIC" = xyes; then :
   6839  1.1  riastrad   CFLAGS="$CFLAGS -fPIC"
   6840  1.1  riastrad else
   6841  1.1  riastrad   :
   6842  1.1  riastrad fi
   6843  1.1  riastrad 
   6844  1.1  riastrad  ;;
   6845  1.1  riastrad esac
   6846  1.1  riastrad 
   6847  1.1  riastrad if test "$enable_pie" != "no"; then :
   6848  1.1  riastrad 
   6849  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fPIE" >&5
   6850  1.1  riastrad $as_echo_n "checking whether C compiler accepts -fPIE... " >&6; }
   6851  1.1  riastrad if ${ax_cv_check_cflags___fPIE+:} false; then :
   6852  1.1  riastrad   $as_echo_n "(cached) " >&6
   6853  1.1  riastrad else
   6854  1.1  riastrad 
   6855  1.1  riastrad   ax_check_save_flags=$CFLAGS
   6856  1.1  riastrad   CFLAGS="$CFLAGS  -fPIE"
   6857  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6858  1.1  riastrad /* end confdefs.h.  */
   6859  1.1  riastrad #include <time.h>
   6860  1.1  riastrad int
   6861  1.1  riastrad main ()
   6862  1.1  riastrad {
   6863  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   6864  1.1  riastrad   ;
   6865  1.1  riastrad   return 0;
   6866  1.1  riastrad }
   6867  1.1  riastrad _ACEOF
   6868  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   6869  1.1  riastrad   ax_cv_check_cflags___fPIE=yes
   6870  1.1  riastrad else
   6871  1.1  riastrad   ax_cv_check_cflags___fPIE=no
   6872  1.1  riastrad fi
   6873  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   6874  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   6875  1.1  riastrad   CFLAGS=$ax_check_save_flags
   6876  1.1  riastrad fi
   6877  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fPIE" >&5
   6878  1.1  riastrad $as_echo "$ax_cv_check_cflags___fPIE" >&6; }
   6879  1.1  riastrad if test "x$ax_cv_check_cflags___fPIE" = xyes; then :
   6880  1.1  riastrad 
   6881  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -pie" >&5
   6882  1.1  riastrad $as_echo_n "checking whether the linker accepts -pie... " >&6; }
   6883  1.1  riastrad if ${ax_cv_check_ldflags___pie+:} false; then :
   6884  1.1  riastrad   $as_echo_n "(cached) " >&6
   6885  1.1  riastrad else
   6886  1.1  riastrad 
   6887  1.1  riastrad   ax_check_save_flags=$LDFLAGS
   6888  1.1  riastrad   LDFLAGS="$LDFLAGS  -pie"
   6889  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6890  1.1  riastrad /* end confdefs.h.  */
   6891  1.1  riastrad #include <time.h>
   6892  1.1  riastrad int
   6893  1.1  riastrad main ()
   6894  1.1  riastrad {
   6895  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   6896  1.1  riastrad   ;
   6897  1.1  riastrad   return 0;
   6898  1.1  riastrad }
   6899  1.1  riastrad _ACEOF
   6900  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   6901  1.1  riastrad   ax_cv_check_ldflags___pie=yes
   6902  1.1  riastrad else
   6903  1.1  riastrad   ax_cv_check_ldflags___pie=no
   6904  1.1  riastrad fi
   6905  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   6906  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   6907  1.1  riastrad   LDFLAGS=$ax_check_save_flags
   6908  1.1  riastrad fi
   6909  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___pie" >&5
   6910  1.1  riastrad $as_echo "$ax_cv_check_ldflags___pie" >&6; }
   6911  1.1  riastrad if test "x$ax_cv_check_ldflags___pie" = xyes; then :
   6912  1.1  riastrad 
   6913  1.1  riastrad       CFLAGS="$CFLAGS -fPIE"
   6914  1.1  riastrad        LDFLAGS="$LDFLAGS -pie"
   6915  1.1  riastrad 
   6916  1.1  riastrad else
   6917  1.1  riastrad   :
   6918  1.1  riastrad fi
   6919  1.1  riastrad 
   6920  1.1  riastrad 
   6921  1.1  riastrad else
   6922  1.1  riastrad   :
   6923  1.1  riastrad fi
   6924  1.1  riastrad 
   6925  1.1  riastrad 
   6926  1.1  riastrad fi
   6927  1.1  riastrad 
   6928  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fno-strict-aliasing" >&5
   6929  1.1  riastrad $as_echo_n "checking whether C compiler accepts -fno-strict-aliasing... " >&6; }
   6930  1.1  riastrad if ${ax_cv_check_cflags___fno_strict_aliasing+:} false; then :
   6931  1.1  riastrad   $as_echo_n "(cached) " >&6
   6932  1.1  riastrad else
   6933  1.1  riastrad 
   6934  1.1  riastrad   ax_check_save_flags=$CFLAGS
   6935  1.1  riastrad   CFLAGS="$CFLAGS  -fno-strict-aliasing"
   6936  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6937  1.1  riastrad /* end confdefs.h.  */
   6938  1.1  riastrad #include <time.h>
   6939  1.1  riastrad int
   6940  1.1  riastrad main ()
   6941  1.1  riastrad {
   6942  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   6943  1.1  riastrad   ;
   6944  1.1  riastrad   return 0;
   6945  1.1  riastrad }
   6946  1.1  riastrad _ACEOF
   6947  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   6948  1.1  riastrad   ax_cv_check_cflags___fno_strict_aliasing=yes
   6949  1.1  riastrad else
   6950  1.1  riastrad   ax_cv_check_cflags___fno_strict_aliasing=no
   6951  1.1  riastrad fi
   6952  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   6953  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   6954  1.1  riastrad   CFLAGS=$ax_check_save_flags
   6955  1.1  riastrad fi
   6956  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fno_strict_aliasing" >&5
   6957  1.1  riastrad $as_echo "$ax_cv_check_cflags___fno_strict_aliasing" >&6; }
   6958  1.1  riastrad if test "x$ax_cv_check_cflags___fno_strict_aliasing" = xyes; then :
   6959  1.1  riastrad   CFLAGS="$CFLAGS -fno-strict-aliasing"
   6960  1.1  riastrad else
   6961  1.1  riastrad   :
   6962  1.1  riastrad fi
   6963  1.1  riastrad 
   6964  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fno-strict-overflow" >&5
   6965  1.1  riastrad $as_echo_n "checking whether C compiler accepts -fno-strict-overflow... " >&6; }
   6966  1.1  riastrad if ${ax_cv_check_cflags___fno_strict_overflow+:} false; then :
   6967  1.1  riastrad   $as_echo_n "(cached) " >&6
   6968  1.1  riastrad else
   6969  1.1  riastrad 
   6970  1.1  riastrad   ax_check_save_flags=$CFLAGS
   6971  1.1  riastrad   CFLAGS="$CFLAGS  -fno-strict-overflow"
   6972  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6973  1.1  riastrad /* end confdefs.h.  */
   6974  1.1  riastrad #include <time.h>
   6975  1.1  riastrad int
   6976  1.1  riastrad main ()
   6977  1.1  riastrad {
   6978  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   6979  1.1  riastrad   ;
   6980  1.1  riastrad   return 0;
   6981  1.1  riastrad }
   6982  1.1  riastrad _ACEOF
   6983  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   6984  1.1  riastrad   ax_cv_check_cflags___fno_strict_overflow=yes
   6985  1.1  riastrad else
   6986  1.1  riastrad   ax_cv_check_cflags___fno_strict_overflow=no
   6987  1.1  riastrad fi
   6988  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   6989  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   6990  1.1  riastrad   CFLAGS=$ax_check_save_flags
   6991  1.1  riastrad fi
   6992  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fno_strict_overflow" >&5
   6993  1.1  riastrad $as_echo "$ax_cv_check_cflags___fno_strict_overflow" >&6; }
   6994  1.1  riastrad if test "x$ax_cv_check_cflags___fno_strict_overflow" = xyes; then :
   6995  1.1  riastrad   CFLAGS="$CFLAGS -fno-strict-overflow"
   6996  1.1  riastrad else
   6997  1.1  riastrad 
   6998  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fwrapv" >&5
   6999  1.1  riastrad $as_echo_n "checking whether C compiler accepts -fwrapv... " >&6; }
   7000  1.1  riastrad if ${ax_cv_check_cflags___fwrapv+:} false; then :
   7001  1.1  riastrad   $as_echo_n "(cached) " >&6
   7002  1.1  riastrad else
   7003  1.1  riastrad 
   7004  1.1  riastrad   ax_check_save_flags=$CFLAGS
   7005  1.1  riastrad   CFLAGS="$CFLAGS  -fwrapv"
   7006  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7007  1.1  riastrad /* end confdefs.h.  */
   7008  1.1  riastrad #include <time.h>
   7009  1.1  riastrad int
   7010  1.1  riastrad main ()
   7011  1.1  riastrad {
   7012  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   7013  1.1  riastrad   ;
   7014  1.1  riastrad   return 0;
   7015  1.1  riastrad }
   7016  1.1  riastrad _ACEOF
   7017  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   7018  1.1  riastrad   ax_cv_check_cflags___fwrapv=yes
   7019  1.1  riastrad else
   7020  1.1  riastrad   ax_cv_check_cflags___fwrapv=no
   7021  1.1  riastrad fi
   7022  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   7023  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   7024  1.1  riastrad   CFLAGS=$ax_check_save_flags
   7025  1.1  riastrad fi
   7026  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fwrapv" >&5
   7027  1.1  riastrad $as_echo "$ax_cv_check_cflags___fwrapv" >&6; }
   7028  1.1  riastrad if test "x$ax_cv_check_cflags___fwrapv" = xyes; then :
   7029  1.1  riastrad   CFLAGS="$CFLAGS -fwrapv"
   7030  1.1  riastrad else
   7031  1.1  riastrad   :
   7032  1.1  riastrad fi
   7033  1.1  riastrad 
   7034  1.1  riastrad 
   7035  1.1  riastrad fi
   7036  1.1  riastrad 
   7037  1.1  riastrad 
   7038  1.1  riastrad if test "$GCC" = "yes" ; then :
   7039  1.1  riastrad 
   7040  1.1  riastrad   case $host_cpu in #(
   7041  1.1  riastrad   i?86|amd64|x86_64) :
   7042  1.1  riastrad 
   7043  1.1  riastrad       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7044  1.1  riastrad /* end confdefs.h.  */
   7045  1.1  riastrad 
   7046  1.1  riastrad #if !defined(__clang__) && defined(__GNUC__) && ((__GNUC__ << 8) | __GNUC_MINOR__) < 0x403
   7047  1.1  riastrad # error old gcc
   7048  1.1  riastrad #endif
   7049  1.1  riastrad int main(void) { return 0; }
   7050  1.1  riastrad 
   7051  1.1  riastrad _ACEOF
   7052  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   7053  1.1  riastrad 
   7054  1.1  riastrad else
   7055  1.1  riastrad 
   7056  1.1  riastrad           { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -flax-vector-conversions" >&5
   7057  1.1  riastrad $as_echo_n "checking whether C compiler accepts -flax-vector-conversions... " >&6; }
   7058  1.1  riastrad if ${ax_cv_check_cflags___flax_vector_conversions+:} false; then :
   7059  1.1  riastrad   $as_echo_n "(cached) " >&6
   7060  1.1  riastrad else
   7061  1.1  riastrad 
   7062  1.1  riastrad   ax_check_save_flags=$CFLAGS
   7063  1.1  riastrad   CFLAGS="$CFLAGS  -flax-vector-conversions"
   7064  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7065  1.1  riastrad /* end confdefs.h.  */
   7066  1.1  riastrad #include <time.h>
   7067  1.1  riastrad int
   7068  1.1  riastrad main ()
   7069  1.1  riastrad {
   7070  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   7071  1.1  riastrad   ;
   7072  1.1  riastrad   return 0;
   7073  1.1  riastrad }
   7074  1.1  riastrad _ACEOF
   7075  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   7076  1.1  riastrad   ax_cv_check_cflags___flax_vector_conversions=yes
   7077  1.1  riastrad else
   7078  1.1  riastrad   ax_cv_check_cflags___flax_vector_conversions=no
   7079  1.1  riastrad fi
   7080  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   7081  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   7082  1.1  riastrad   CFLAGS=$ax_check_save_flags
   7083  1.1  riastrad fi
   7084  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___flax_vector_conversions" >&5
   7085  1.1  riastrad $as_echo "$ax_cv_check_cflags___flax_vector_conversions" >&6; }
   7086  1.1  riastrad if test "x$ax_cv_check_cflags___flax_vector_conversions" = xyes; then :
   7087  1.1  riastrad   CFLAGS="$CFLAGS -flax-vector-conversions"
   7088  1.1  riastrad else
   7089  1.1  riastrad   :
   7090  1.1  riastrad fi
   7091  1.1  riastrad 
   7092  1.1  riastrad 
   7093  1.1  riastrad fi
   7094  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7095  1.1  riastrad 
   7096  1.1  riastrad      ;; #(
   7097  1.1  riastrad   *) :
   7098  1.1  riastrad      ;;
   7099  1.1  riastrad esac
   7100  1.1  riastrad 
   7101  1.1  riastrad fi
   7102  1.1  riastrad 
   7103  1.1  riastrad LIBTOOL_OLD_FLAGS="$LIBTOOL_EXTRA_FLAGS"
   7104  1.1  riastrad LIBTOOL_EXTRA_FLAGS="$LIBTOOL_EXTRA_FLAGS -version-info $SODIUM_LIBRARY_VERSION"
   7105  1.1  riastrad # Check whether --enable-soname-versions was given.
   7106  1.1  riastrad if test "${enable_soname_versions+set}" = set; then :
   7107  1.1  riastrad   enableval=$enable_soname_versions;
   7108  1.1  riastrad         if test "x$enableval" = "xno"; then :
   7109  1.1  riastrad 
   7110  1.1  riastrad           LIBTOOL_EXTRA_FLAGS="$LIBTOOL_OLD_FLAGS -avoid-version"
   7111  1.1  riastrad 
   7112  1.1  riastrad fi
   7113  1.1  riastrad 
   7114  1.1  riastrad 
   7115  1.1  riastrad fi
   7116  1.1  riastrad 
   7117  1.1  riastrad 
   7118  1.1  riastrad case $host_os in #(
   7119  1.1  riastrad   cygwin*|mingw*|msys|pw32*|cegcc*) :
   7120  1.1  riastrad 
   7121  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--dynamicbase" >&5
   7122  1.1  riastrad $as_echo_n "checking whether the linker accepts -Wl,--dynamicbase... " >&6; }
   7123  1.1  riastrad if ${ax_cv_check_ldflags___Wl___dynamicbase+:} false; then :
   7124  1.1  riastrad   $as_echo_n "(cached) " >&6
   7125  1.1  riastrad else
   7126  1.1  riastrad 
   7127  1.1  riastrad   ax_check_save_flags=$LDFLAGS
   7128  1.1  riastrad   LDFLAGS="$LDFLAGS  -Wl,--dynamicbase"
   7129  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7130  1.1  riastrad /* end confdefs.h.  */
   7131  1.1  riastrad #include <time.h>
   7132  1.1  riastrad int
   7133  1.1  riastrad main ()
   7134  1.1  riastrad {
   7135  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   7136  1.1  riastrad   ;
   7137  1.1  riastrad   return 0;
   7138  1.1  riastrad }
   7139  1.1  riastrad _ACEOF
   7140  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   7141  1.1  riastrad   ax_cv_check_ldflags___Wl___dynamicbase=yes
   7142  1.1  riastrad else
   7143  1.1  riastrad   ax_cv_check_ldflags___Wl___dynamicbase=no
   7144  1.1  riastrad fi
   7145  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   7146  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   7147  1.1  riastrad   LDFLAGS=$ax_check_save_flags
   7148  1.1  riastrad fi
   7149  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___dynamicbase" >&5
   7150  1.1  riastrad $as_echo "$ax_cv_check_ldflags___Wl___dynamicbase" >&6; }
   7151  1.1  riastrad if test "x$ax_cv_check_ldflags___Wl___dynamicbase" = xyes; then :
   7152  1.1  riastrad   LDFLAGS="$LDFLAGS -Wl,--dynamicbase"
   7153  1.1  riastrad else
   7154  1.1  riastrad   :
   7155  1.1  riastrad fi
   7156  1.1  riastrad 
   7157  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--high-entropy-va" >&5
   7158  1.1  riastrad $as_echo_n "checking whether the linker accepts -Wl,--high-entropy-va... " >&6; }
   7159  1.1  riastrad if ${ax_cv_check_ldflags___Wl___high_entropy_va+:} false; then :
   7160  1.1  riastrad   $as_echo_n "(cached) " >&6
   7161  1.1  riastrad else
   7162  1.1  riastrad 
   7163  1.1  riastrad   ax_check_save_flags=$LDFLAGS
   7164  1.1  riastrad   LDFLAGS="$LDFLAGS  -Wl,--high-entropy-va"
   7165  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7166  1.1  riastrad /* end confdefs.h.  */
   7167  1.1  riastrad #include <time.h>
   7168  1.1  riastrad int
   7169  1.1  riastrad main ()
   7170  1.1  riastrad {
   7171  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   7172  1.1  riastrad   ;
   7173  1.1  riastrad   return 0;
   7174  1.1  riastrad }
   7175  1.1  riastrad _ACEOF
   7176  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   7177  1.1  riastrad   ax_cv_check_ldflags___Wl___high_entropy_va=yes
   7178  1.1  riastrad else
   7179  1.1  riastrad   ax_cv_check_ldflags___Wl___high_entropy_va=no
   7180  1.1  riastrad fi
   7181  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   7182  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   7183  1.1  riastrad   LDFLAGS=$ax_check_save_flags
   7184  1.1  riastrad fi
   7185  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___high_entropy_va" >&5
   7186  1.1  riastrad $as_echo "$ax_cv_check_ldflags___Wl___high_entropy_va" >&6; }
   7187  1.1  riastrad if test "x$ax_cv_check_ldflags___Wl___high_entropy_va" = xyes; then :
   7188  1.1  riastrad   LDFLAGS="$LDFLAGS -Wl,--high-entropy-va"
   7189  1.1  riastrad else
   7190  1.1  riastrad   :
   7191  1.1  riastrad fi
   7192  1.1  riastrad 
   7193  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--nxcompat" >&5
   7194  1.1  riastrad $as_echo_n "checking whether the linker accepts -Wl,--nxcompat... " >&6; }
   7195  1.1  riastrad if ${ax_cv_check_ldflags___Wl___nxcompat+:} false; then :
   7196  1.1  riastrad   $as_echo_n "(cached) " >&6
   7197  1.1  riastrad else
   7198  1.1  riastrad 
   7199  1.1  riastrad   ax_check_save_flags=$LDFLAGS
   7200  1.1  riastrad   LDFLAGS="$LDFLAGS  -Wl,--nxcompat"
   7201  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7202  1.1  riastrad /* end confdefs.h.  */
   7203  1.1  riastrad #include <time.h>
   7204  1.1  riastrad int
   7205  1.1  riastrad main ()
   7206  1.1  riastrad {
   7207  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   7208  1.1  riastrad   ;
   7209  1.1  riastrad   return 0;
   7210  1.1  riastrad }
   7211  1.1  riastrad _ACEOF
   7212  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   7213  1.1  riastrad   ax_cv_check_ldflags___Wl___nxcompat=yes
   7214  1.1  riastrad else
   7215  1.1  riastrad   ax_cv_check_ldflags___Wl___nxcompat=no
   7216  1.1  riastrad fi
   7217  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   7218  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   7219  1.1  riastrad   LDFLAGS=$ax_check_save_flags
   7220  1.1  riastrad fi
   7221  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___nxcompat" >&5
   7222  1.1  riastrad $as_echo "$ax_cv_check_ldflags___Wl___nxcompat" >&6; }
   7223  1.1  riastrad if test "x$ax_cv_check_ldflags___Wl___nxcompat" = xyes; then :
   7224  1.1  riastrad   LDFLAGS="$LDFLAGS -Wl,--nxcompat"
   7225  1.1  riastrad else
   7226  1.1  riastrad   :
   7227  1.1  riastrad fi
   7228  1.1  riastrad 
   7229  1.1  riastrad    ;; #(
   7230  1.1  riastrad   *) :
   7231  1.1  riastrad      ;;
   7232  1.1  riastrad esac
   7233  1.1  riastrad 
   7234  1.1  riastrad case $host_os in #(
   7235  1.1  riastrad   cygwin*|mingw*|msys|pw32*|cegcc*) :
   7236  1.1  riastrad 
   7237  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fno-asynchronous-unwind-tables" >&5
   7238  1.1  riastrad $as_echo_n "checking whether C compiler accepts -fno-asynchronous-unwind-tables... " >&6; }
   7239  1.1  riastrad if ${ax_cv_check_cflags___fno_asynchronous_unwind_tables+:} false; then :
   7240  1.1  riastrad   $as_echo_n "(cached) " >&6
   7241  1.1  riastrad else
   7242  1.1  riastrad 
   7243  1.1  riastrad   ax_check_save_flags=$CFLAGS
   7244  1.1  riastrad   CFLAGS="$CFLAGS  -fno-asynchronous-unwind-tables"
   7245  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7246  1.1  riastrad /* end confdefs.h.  */
   7247  1.1  riastrad #include <time.h>
   7248  1.1  riastrad int
   7249  1.1  riastrad main ()
   7250  1.1  riastrad {
   7251  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   7252  1.1  riastrad   ;
   7253  1.1  riastrad   return 0;
   7254  1.1  riastrad }
   7255  1.1  riastrad _ACEOF
   7256  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   7257  1.1  riastrad   ax_cv_check_cflags___fno_asynchronous_unwind_tables=yes
   7258  1.1  riastrad else
   7259  1.1  riastrad   ax_cv_check_cflags___fno_asynchronous_unwind_tables=no
   7260  1.1  riastrad fi
   7261  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   7262  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   7263  1.1  riastrad   CFLAGS=$ax_check_save_flags
   7264  1.1  riastrad fi
   7265  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fno_asynchronous_unwind_tables" >&5
   7266  1.1  riastrad $as_echo "$ax_cv_check_cflags___fno_asynchronous_unwind_tables" >&6; }
   7267  1.1  riastrad if test "x$ax_cv_check_cflags___fno_asynchronous_unwind_tables" = xyes; then :
   7268  1.1  riastrad 
   7269  1.1  riastrad       CFLAGS="$CFLAGS -fno-asynchronous-unwind-tables"
   7270  1.1  riastrad 
   7271  1.1  riastrad else
   7272  1.1  riastrad   :
   7273  1.1  riastrad fi
   7274  1.1  riastrad 
   7275  1.1  riastrad  ;; #(
   7276  1.1  riastrad   *) :
   7277  1.1  riastrad      ;;
   7278  1.1  riastrad esac
   7279  1.1  riastrad 
   7280  1.1  riastrad if test "x$enable_ssp" != "xno"; then :
   7281  1.1  riastrad 
   7282  1.1  riastrad 
   7283  1.1  riastrad case $host_os in #(
   7284  1.1  riastrad   cygwin*|mingw*|msys|pw32*|cegcc*) :
   7285  1.1  riastrad       ;; #(
   7286  1.1  riastrad   *) :
   7287  1.1  riastrad 
   7288  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fstack-protector" >&5
   7289  1.1  riastrad $as_echo_n "checking whether C compiler accepts -fstack-protector... " >&6; }
   7290  1.1  riastrad if ${ax_cv_check_cflags___fstack_protector+:} false; then :
   7291  1.1  riastrad   $as_echo_n "(cached) " >&6
   7292  1.1  riastrad else
   7293  1.1  riastrad 
   7294  1.1  riastrad   ax_check_save_flags=$CFLAGS
   7295  1.1  riastrad   CFLAGS="$CFLAGS  -fstack-protector"
   7296  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7297  1.1  riastrad /* end confdefs.h.  */
   7298  1.1  riastrad #include <time.h>
   7299  1.1  riastrad int
   7300  1.1  riastrad main ()
   7301  1.1  riastrad {
   7302  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   7303  1.1  riastrad   ;
   7304  1.1  riastrad   return 0;
   7305  1.1  riastrad }
   7306  1.1  riastrad _ACEOF
   7307  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   7308  1.1  riastrad   ax_cv_check_cflags___fstack_protector=yes
   7309  1.1  riastrad else
   7310  1.1  riastrad   ax_cv_check_cflags___fstack_protector=no
   7311  1.1  riastrad fi
   7312  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   7313  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   7314  1.1  riastrad   CFLAGS=$ax_check_save_flags
   7315  1.1  riastrad fi
   7316  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fstack_protector" >&5
   7317  1.1  riastrad $as_echo "$ax_cv_check_cflags___fstack_protector" >&6; }
   7318  1.1  riastrad if test "x$ax_cv_check_cflags___fstack_protector" = xyes; then :
   7319  1.1  riastrad 
   7320  1.1  riastrad       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -fstack-protector" >&5
   7321  1.1  riastrad $as_echo_n "checking whether the linker accepts -fstack-protector... " >&6; }
   7322  1.1  riastrad if ${ax_cv_check_ldflags___fstack_protector+:} false; then :
   7323  1.1  riastrad   $as_echo_n "(cached) " >&6
   7324  1.1  riastrad else
   7325  1.1  riastrad 
   7326  1.1  riastrad   ax_check_save_flags=$LDFLAGS
   7327  1.1  riastrad   LDFLAGS="$LDFLAGS  -fstack-protector"
   7328  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7329  1.1  riastrad /* end confdefs.h.  */
   7330  1.1  riastrad #include <time.h>
   7331  1.1  riastrad int
   7332  1.1  riastrad main ()
   7333  1.1  riastrad {
   7334  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   7335  1.1  riastrad   ;
   7336  1.1  riastrad   return 0;
   7337  1.1  riastrad }
   7338  1.1  riastrad _ACEOF
   7339  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   7340  1.1  riastrad   ax_cv_check_ldflags___fstack_protector=yes
   7341  1.1  riastrad else
   7342  1.1  riastrad   ax_cv_check_ldflags___fstack_protector=no
   7343  1.1  riastrad fi
   7344  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   7345  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   7346  1.1  riastrad   LDFLAGS=$ax_check_save_flags
   7347  1.1  riastrad fi
   7348  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___fstack_protector" >&5
   7349  1.1  riastrad $as_echo "$ax_cv_check_ldflags___fstack_protector" >&6; }
   7350  1.1  riastrad if test "x$ax_cv_check_ldflags___fstack_protector" = xyes; then :
   7351  1.1  riastrad   CFLAGS="$CFLAGS -fstack-protector"
   7352  1.1  riastrad 
   7353  1.1  riastrad else
   7354  1.1  riastrad   :
   7355  1.1  riastrad fi
   7356  1.1  riastrad 
   7357  1.1  riastrad 
   7358  1.1  riastrad else
   7359  1.1  riastrad   :
   7360  1.1  riastrad fi
   7361  1.1  riastrad 
   7362  1.1  riastrad    ;; #(
   7363  1.1  riastrad   *) :
   7364  1.1  riastrad      ;;
   7365  1.1  riastrad esac
   7366  1.1  riastrad 
   7367  1.1  riastrad fi
   7368  1.1  riastrad 
   7369  1.1  riastrad 
   7370  1.1  riastrad 
   7371  1.1  riastrad as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CFLAGS -Wall" | $as_tr_sh`
   7372  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CFLAGS -Wall" >&5
   7373  1.1  riastrad $as_echo_n "checking whether C compiler accepts $CFLAGS -Wall... " >&6; }
   7374  1.1  riastrad if eval \${$as_CACHEVAR+:} false; then :
   7375  1.1  riastrad   $as_echo_n "(cached) " >&6
   7376  1.1  riastrad else
   7377  1.1  riastrad 
   7378  1.1  riastrad   ax_check_save_flags=$CFLAGS
   7379  1.1  riastrad   CFLAGS="$CFLAGS  $CFLAGS -Wall"
   7380  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7381  1.1  riastrad /* end confdefs.h.  */
   7382  1.1  riastrad #include <time.h>
   7383  1.1  riastrad int
   7384  1.1  riastrad main ()
   7385  1.1  riastrad {
   7386  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   7387  1.1  riastrad   ;
   7388  1.1  riastrad   return 0;
   7389  1.1  riastrad }
   7390  1.1  riastrad _ACEOF
   7391  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   7392  1.1  riastrad   eval "$as_CACHEVAR=yes"
   7393  1.1  riastrad else
   7394  1.1  riastrad   eval "$as_CACHEVAR=no"
   7395  1.1  riastrad fi
   7396  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   7397  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   7398  1.1  riastrad   CFLAGS=$ax_check_save_flags
   7399  1.1  riastrad fi
   7400  1.1  riastrad eval ac_res=\$$as_CACHEVAR
   7401  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   7402  1.1  riastrad $as_echo "$ac_res" >&6; }
   7403  1.1  riastrad if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   7404  1.1  riastrad   CWFLAGS="$CFLAGS -Wall"
   7405  1.1  riastrad else
   7406  1.1  riastrad   :
   7407  1.1  riastrad fi
   7408  1.1  riastrad 
   7409  1.1  riastrad as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CFLAGS -Wextra" | $as_tr_sh`
   7410  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CFLAGS -Wextra" >&5
   7411  1.1  riastrad $as_echo_n "checking whether C compiler accepts $CFLAGS -Wextra... " >&6; }
   7412  1.1  riastrad if eval \${$as_CACHEVAR+:} false; then :
   7413  1.1  riastrad   $as_echo_n "(cached) " >&6
   7414  1.1  riastrad else
   7415  1.1  riastrad 
   7416  1.1  riastrad   ax_check_save_flags=$CFLAGS
   7417  1.1  riastrad   CFLAGS="$CFLAGS  $CFLAGS -Wextra"
   7418  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7419  1.1  riastrad /* end confdefs.h.  */
   7420  1.1  riastrad #include <time.h>
   7421  1.1  riastrad int
   7422  1.1  riastrad main ()
   7423  1.1  riastrad {
   7424  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   7425  1.1  riastrad   ;
   7426  1.1  riastrad   return 0;
   7427  1.1  riastrad }
   7428  1.1  riastrad _ACEOF
   7429  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   7430  1.1  riastrad   eval "$as_CACHEVAR=yes"
   7431  1.1  riastrad else
   7432  1.1  riastrad   eval "$as_CACHEVAR=no"
   7433  1.1  riastrad fi
   7434  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   7435  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   7436  1.1  riastrad   CFLAGS=$ax_check_save_flags
   7437  1.1  riastrad fi
   7438  1.1  riastrad eval ac_res=\$$as_CACHEVAR
   7439  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   7440  1.1  riastrad $as_echo "$ac_res" >&6; }
   7441  1.1  riastrad if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   7442  1.1  riastrad   CWFLAGS="$CFLAGS -Wextra"
   7443  1.1  riastrad else
   7444  1.1  riastrad   :
   7445  1.1  riastrad fi
   7446  1.1  riastrad 
   7447  1.1  riastrad 
   7448  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clang" >&5
   7449  1.1  riastrad $as_echo_n "checking for clang... " >&6; }
   7450  1.1  riastrad cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7451  1.1  riastrad /* end confdefs.h.  */
   7452  1.1  riastrad 
   7453  1.1  riastrad int
   7454  1.1  riastrad main ()
   7455  1.1  riastrad {
   7456  1.1  riastrad 
   7457  1.1  riastrad #ifndef __clang__
   7458  1.1  riastrad #error Not clang
   7459  1.1  riastrad #endif
   7460  1.1  riastrad 
   7461  1.1  riastrad   ;
   7462  1.1  riastrad   return 0;
   7463  1.1  riastrad }
   7464  1.1  riastrad _ACEOF
   7465  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   7466  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   7467  1.1  riastrad $as_echo "yes" >&6; }
   7468  1.1  riastrad    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wno-unknown-warning-option" | $as_tr_sh`
   7469  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wno-unknown-warning-option" >&5
   7470  1.1  riastrad $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wno-unknown-warning-option... " >&6; }
   7471  1.1  riastrad if eval \${$as_CACHEVAR+:} false; then :
   7472  1.1  riastrad   $as_echo_n "(cached) " >&6
   7473  1.1  riastrad else
   7474  1.1  riastrad 
   7475  1.1  riastrad   ax_check_save_flags=$CFLAGS
   7476  1.1  riastrad   CFLAGS="$CFLAGS  $CWFLAGS -Wno-unknown-warning-option"
   7477  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7478  1.1  riastrad /* end confdefs.h.  */
   7479  1.1  riastrad #include <time.h>
   7480  1.1  riastrad int
   7481  1.1  riastrad main ()
   7482  1.1  riastrad {
   7483  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   7484  1.1  riastrad   ;
   7485  1.1  riastrad   return 0;
   7486  1.1  riastrad }
   7487  1.1  riastrad _ACEOF
   7488  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   7489  1.1  riastrad   eval "$as_CACHEVAR=yes"
   7490  1.1  riastrad else
   7491  1.1  riastrad   eval "$as_CACHEVAR=no"
   7492  1.1  riastrad fi
   7493  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   7494  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   7495  1.1  riastrad   CFLAGS=$ax_check_save_flags
   7496  1.1  riastrad fi
   7497  1.1  riastrad eval ac_res=\$$as_CACHEVAR
   7498  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   7499  1.1  riastrad $as_echo "$ac_res" >&6; }
   7500  1.1  riastrad if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   7501  1.1  riastrad   CWFLAGS="$CWFLAGS -Wno-unknown-warning-option"
   7502  1.1  riastrad else
   7503  1.1  riastrad   :
   7504  1.1  riastrad fi
   7505  1.1  riastrad 
   7506  1.1  riastrad 
   7507  1.1  riastrad else
   7508  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7509  1.1  riastrad $as_echo "no" >&6; }
   7510  1.1  riastrad 
   7511  1.1  riastrad fi
   7512  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7513  1.1  riastrad 
   7514  1.1  riastrad as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wbad-function-cast" | $as_tr_sh`
   7515  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wbad-function-cast" >&5
   7516  1.1  riastrad $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wbad-function-cast... " >&6; }
   7517  1.1  riastrad if eval \${$as_CACHEVAR+:} false; then :
   7518  1.1  riastrad   $as_echo_n "(cached) " >&6
   7519  1.1  riastrad else
   7520  1.1  riastrad 
   7521  1.1  riastrad   ax_check_save_flags=$CFLAGS
   7522  1.1  riastrad   CFLAGS="$CFLAGS  $CWFLAGS -Wbad-function-cast"
   7523  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7524  1.1  riastrad /* end confdefs.h.  */
   7525  1.1  riastrad #include <time.h>
   7526  1.1  riastrad int
   7527  1.1  riastrad main ()
   7528  1.1  riastrad {
   7529  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   7530  1.1  riastrad   ;
   7531  1.1  riastrad   return 0;
   7532  1.1  riastrad }
   7533  1.1  riastrad _ACEOF
   7534  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   7535  1.1  riastrad   eval "$as_CACHEVAR=yes"
   7536  1.1  riastrad else
   7537  1.1  riastrad   eval "$as_CACHEVAR=no"
   7538  1.1  riastrad fi
   7539  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   7540  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   7541  1.1  riastrad   CFLAGS=$ax_check_save_flags
   7542  1.1  riastrad fi
   7543  1.1  riastrad eval ac_res=\$$as_CACHEVAR
   7544  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   7545  1.1  riastrad $as_echo "$ac_res" >&6; }
   7546  1.1  riastrad if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   7547  1.1  riastrad   CWFLAGS="$CWFLAGS -Wbad-function-cast"
   7548  1.1  riastrad else
   7549  1.1  riastrad   :
   7550  1.1  riastrad fi
   7551  1.1  riastrad 
   7552  1.1  riastrad as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wcast-qual" | $as_tr_sh`
   7553  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wcast-qual" >&5
   7554  1.1  riastrad $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wcast-qual... " >&6; }
   7555  1.1  riastrad if eval \${$as_CACHEVAR+:} false; then :
   7556  1.1  riastrad   $as_echo_n "(cached) " >&6
   7557  1.1  riastrad else
   7558  1.1  riastrad 
   7559  1.1  riastrad   ax_check_save_flags=$CFLAGS
   7560  1.1  riastrad   CFLAGS="$CFLAGS  $CWFLAGS -Wcast-qual"
   7561  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7562  1.1  riastrad /* end confdefs.h.  */
   7563  1.1  riastrad #include <time.h>
   7564  1.1  riastrad int
   7565  1.1  riastrad main ()
   7566  1.1  riastrad {
   7567  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   7568  1.1  riastrad   ;
   7569  1.1  riastrad   return 0;
   7570  1.1  riastrad }
   7571  1.1  riastrad _ACEOF
   7572  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   7573  1.1  riastrad   eval "$as_CACHEVAR=yes"
   7574  1.1  riastrad else
   7575  1.1  riastrad   eval "$as_CACHEVAR=no"
   7576  1.1  riastrad fi
   7577  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   7578  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   7579  1.1  riastrad   CFLAGS=$ax_check_save_flags
   7580  1.1  riastrad fi
   7581  1.1  riastrad eval ac_res=\$$as_CACHEVAR
   7582  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   7583  1.1  riastrad $as_echo "$ac_res" >&6; }
   7584  1.1  riastrad if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   7585  1.1  riastrad   CWFLAGS="$CWFLAGS -Wcast-qual"
   7586  1.1  riastrad else
   7587  1.1  riastrad   :
   7588  1.1  riastrad fi
   7589  1.1  riastrad 
   7590  1.1  riastrad as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wdiv-by-zero" | $as_tr_sh`
   7591  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wdiv-by-zero" >&5
   7592  1.1  riastrad $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wdiv-by-zero... " >&6; }
   7593  1.1  riastrad if eval \${$as_CACHEVAR+:} false; then :
   7594  1.1  riastrad   $as_echo_n "(cached) " >&6
   7595  1.1  riastrad else
   7596  1.1  riastrad 
   7597  1.1  riastrad   ax_check_save_flags=$CFLAGS
   7598  1.1  riastrad   CFLAGS="$CFLAGS  $CWFLAGS -Wdiv-by-zero"
   7599  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7600  1.1  riastrad /* end confdefs.h.  */
   7601  1.1  riastrad #include <time.h>
   7602  1.1  riastrad int
   7603  1.1  riastrad main ()
   7604  1.1  riastrad {
   7605  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   7606  1.1  riastrad   ;
   7607  1.1  riastrad   return 0;
   7608  1.1  riastrad }
   7609  1.1  riastrad _ACEOF
   7610  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   7611  1.1  riastrad   eval "$as_CACHEVAR=yes"
   7612  1.1  riastrad else
   7613  1.1  riastrad   eval "$as_CACHEVAR=no"
   7614  1.1  riastrad fi
   7615  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   7616  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   7617  1.1  riastrad   CFLAGS=$ax_check_save_flags
   7618  1.1  riastrad fi
   7619  1.1  riastrad eval ac_res=\$$as_CACHEVAR
   7620  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   7621  1.1  riastrad $as_echo "$ac_res" >&6; }
   7622  1.1  riastrad if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   7623  1.1  riastrad   CWFLAGS="$CWFLAGS -Wdiv-by-zero"
   7624  1.1  riastrad else
   7625  1.1  riastrad   :
   7626  1.1  riastrad fi
   7627  1.1  riastrad 
   7628  1.1  riastrad as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wduplicated-branches" | $as_tr_sh`
   7629  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wduplicated-branches" >&5
   7630  1.1  riastrad $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wduplicated-branches... " >&6; }
   7631  1.1  riastrad if eval \${$as_CACHEVAR+:} false; then :
   7632  1.1  riastrad   $as_echo_n "(cached) " >&6
   7633  1.1  riastrad else
   7634  1.1  riastrad 
   7635  1.1  riastrad   ax_check_save_flags=$CFLAGS
   7636  1.1  riastrad   CFLAGS="$CFLAGS  $CWFLAGS -Wduplicated-branches"
   7637  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7638  1.1  riastrad /* end confdefs.h.  */
   7639  1.1  riastrad #include <time.h>
   7640  1.1  riastrad int
   7641  1.1  riastrad main ()
   7642  1.1  riastrad {
   7643  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   7644  1.1  riastrad   ;
   7645  1.1  riastrad   return 0;
   7646  1.1  riastrad }
   7647  1.1  riastrad _ACEOF
   7648  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   7649  1.1  riastrad   eval "$as_CACHEVAR=yes"
   7650  1.1  riastrad else
   7651  1.1  riastrad   eval "$as_CACHEVAR=no"
   7652  1.1  riastrad fi
   7653  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   7654  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   7655  1.1  riastrad   CFLAGS=$ax_check_save_flags
   7656  1.1  riastrad fi
   7657  1.1  riastrad eval ac_res=\$$as_CACHEVAR
   7658  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   7659  1.1  riastrad $as_echo "$ac_res" >&6; }
   7660  1.1  riastrad if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   7661  1.1  riastrad   CWFLAGS="$CWFLAGS -Wduplicated-branches"
   7662  1.1  riastrad else
   7663  1.1  riastrad   :
   7664  1.1  riastrad fi
   7665  1.1  riastrad 
   7666  1.1  riastrad as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wduplicated-cond" | $as_tr_sh`
   7667  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wduplicated-cond" >&5
   7668  1.1  riastrad $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wduplicated-cond... " >&6; }
   7669  1.1  riastrad if eval \${$as_CACHEVAR+:} false; then :
   7670  1.1  riastrad   $as_echo_n "(cached) " >&6
   7671  1.1  riastrad else
   7672  1.1  riastrad 
   7673  1.1  riastrad   ax_check_save_flags=$CFLAGS
   7674  1.1  riastrad   CFLAGS="$CFLAGS  $CWFLAGS -Wduplicated-cond"
   7675  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7676  1.1  riastrad /* end confdefs.h.  */
   7677  1.1  riastrad #include <time.h>
   7678  1.1  riastrad int
   7679  1.1  riastrad main ()
   7680  1.1  riastrad {
   7681  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   7682  1.1  riastrad   ;
   7683  1.1  riastrad   return 0;
   7684  1.1  riastrad }
   7685  1.1  riastrad _ACEOF
   7686  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   7687  1.1  riastrad   eval "$as_CACHEVAR=yes"
   7688  1.1  riastrad else
   7689  1.1  riastrad   eval "$as_CACHEVAR=no"
   7690  1.1  riastrad fi
   7691  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   7692  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   7693  1.1  riastrad   CFLAGS=$ax_check_save_flags
   7694  1.1  riastrad fi
   7695  1.1  riastrad eval ac_res=\$$as_CACHEVAR
   7696  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   7697  1.1  riastrad $as_echo "$ac_res" >&6; }
   7698  1.1  riastrad if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   7699  1.1  riastrad   CWFLAGS="$CWFLAGS -Wduplicated-cond"
   7700  1.1  riastrad else
   7701  1.1  riastrad   :
   7702  1.1  riastrad fi
   7703  1.1  riastrad 
   7704  1.1  riastrad as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wfloat-equal" | $as_tr_sh`
   7705  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wfloat-equal" >&5
   7706  1.1  riastrad $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wfloat-equal... " >&6; }
   7707  1.1  riastrad if eval \${$as_CACHEVAR+:} false; then :
   7708  1.1  riastrad   $as_echo_n "(cached) " >&6
   7709  1.1  riastrad else
   7710  1.1  riastrad 
   7711  1.1  riastrad   ax_check_save_flags=$CFLAGS
   7712  1.1  riastrad   CFLAGS="$CFLAGS  $CWFLAGS -Wfloat-equal"
   7713  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7714  1.1  riastrad /* end confdefs.h.  */
   7715  1.1  riastrad #include <time.h>
   7716  1.1  riastrad int
   7717  1.1  riastrad main ()
   7718  1.1  riastrad {
   7719  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   7720  1.1  riastrad   ;
   7721  1.1  riastrad   return 0;
   7722  1.1  riastrad }
   7723  1.1  riastrad _ACEOF
   7724  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   7725  1.1  riastrad   eval "$as_CACHEVAR=yes"
   7726  1.1  riastrad else
   7727  1.1  riastrad   eval "$as_CACHEVAR=no"
   7728  1.1  riastrad fi
   7729  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   7730  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   7731  1.1  riastrad   CFLAGS=$ax_check_save_flags
   7732  1.1  riastrad fi
   7733  1.1  riastrad eval ac_res=\$$as_CACHEVAR
   7734  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   7735  1.1  riastrad $as_echo "$ac_res" >&6; }
   7736  1.1  riastrad if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   7737  1.1  riastrad   CWFLAGS="$CWFLAGS -Wfloat-equal"
   7738  1.1  riastrad else
   7739  1.1  riastrad   :
   7740  1.1  riastrad fi
   7741  1.1  riastrad 
   7742  1.1  riastrad as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wformat=2" | $as_tr_sh`
   7743  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wformat=2" >&5
   7744  1.1  riastrad $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wformat=2... " >&6; }
   7745  1.1  riastrad if eval \${$as_CACHEVAR+:} false; then :
   7746  1.1  riastrad   $as_echo_n "(cached) " >&6
   7747  1.1  riastrad else
   7748  1.1  riastrad 
   7749  1.1  riastrad   ax_check_save_flags=$CFLAGS
   7750  1.1  riastrad   CFLAGS="$CFLAGS  $CWFLAGS -Wformat=2"
   7751  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7752  1.1  riastrad /* end confdefs.h.  */
   7753  1.1  riastrad #include <time.h>
   7754  1.1  riastrad int
   7755  1.1  riastrad main ()
   7756  1.1  riastrad {
   7757  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   7758  1.1  riastrad   ;
   7759  1.1  riastrad   return 0;
   7760  1.1  riastrad }
   7761  1.1  riastrad _ACEOF
   7762  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   7763  1.1  riastrad   eval "$as_CACHEVAR=yes"
   7764  1.1  riastrad else
   7765  1.1  riastrad   eval "$as_CACHEVAR=no"
   7766  1.1  riastrad fi
   7767  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   7768  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   7769  1.1  riastrad   CFLAGS=$ax_check_save_flags
   7770  1.1  riastrad fi
   7771  1.1  riastrad eval ac_res=\$$as_CACHEVAR
   7772  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   7773  1.1  riastrad $as_echo "$ac_res" >&6; }
   7774  1.1  riastrad if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   7775  1.1  riastrad   CWFLAGS="$CWFLAGS -Wformat=2"
   7776  1.1  riastrad else
   7777  1.1  riastrad   :
   7778  1.1  riastrad fi
   7779  1.1  riastrad 
   7780  1.1  riastrad as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wlogical-op" | $as_tr_sh`
   7781  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wlogical-op" >&5
   7782  1.1  riastrad $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wlogical-op... " >&6; }
   7783  1.1  riastrad if eval \${$as_CACHEVAR+:} false; then :
   7784  1.1  riastrad   $as_echo_n "(cached) " >&6
   7785  1.1  riastrad else
   7786  1.1  riastrad 
   7787  1.1  riastrad   ax_check_save_flags=$CFLAGS
   7788  1.1  riastrad   CFLAGS="$CFLAGS  $CWFLAGS -Wlogical-op"
   7789  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7790  1.1  riastrad /* end confdefs.h.  */
   7791  1.1  riastrad #include <time.h>
   7792  1.1  riastrad int
   7793  1.1  riastrad main ()
   7794  1.1  riastrad {
   7795  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   7796  1.1  riastrad   ;
   7797  1.1  riastrad   return 0;
   7798  1.1  riastrad }
   7799  1.1  riastrad _ACEOF
   7800  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   7801  1.1  riastrad   eval "$as_CACHEVAR=yes"
   7802  1.1  riastrad else
   7803  1.1  riastrad   eval "$as_CACHEVAR=no"
   7804  1.1  riastrad fi
   7805  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   7806  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   7807  1.1  riastrad   CFLAGS=$ax_check_save_flags
   7808  1.1  riastrad fi
   7809  1.1  riastrad eval ac_res=\$$as_CACHEVAR
   7810  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   7811  1.1  riastrad $as_echo "$ac_res" >&6; }
   7812  1.1  riastrad if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   7813  1.1  riastrad   CWFLAGS="$CWFLAGS -Wlogical-op"
   7814  1.1  riastrad else
   7815  1.1  riastrad   :
   7816  1.1  riastrad fi
   7817  1.1  riastrad 
   7818  1.1  riastrad as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wmaybe-uninitialized" | $as_tr_sh`
   7819  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wmaybe-uninitialized" >&5
   7820  1.1  riastrad $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wmaybe-uninitialized... " >&6; }
   7821  1.1  riastrad if eval \${$as_CACHEVAR+:} false; then :
   7822  1.1  riastrad   $as_echo_n "(cached) " >&6
   7823  1.1  riastrad else
   7824  1.1  riastrad 
   7825  1.1  riastrad   ax_check_save_flags=$CFLAGS
   7826  1.1  riastrad   CFLAGS="$CFLAGS  $CWFLAGS -Wmaybe-uninitialized"
   7827  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7828  1.1  riastrad /* end confdefs.h.  */
   7829  1.1  riastrad #include <time.h>
   7830  1.1  riastrad int
   7831  1.1  riastrad main ()
   7832  1.1  riastrad {
   7833  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   7834  1.1  riastrad   ;
   7835  1.1  riastrad   return 0;
   7836  1.1  riastrad }
   7837  1.1  riastrad _ACEOF
   7838  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   7839  1.1  riastrad   eval "$as_CACHEVAR=yes"
   7840  1.1  riastrad else
   7841  1.1  riastrad   eval "$as_CACHEVAR=no"
   7842  1.1  riastrad fi
   7843  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   7844  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   7845  1.1  riastrad   CFLAGS=$ax_check_save_flags
   7846  1.1  riastrad fi
   7847  1.1  riastrad eval ac_res=\$$as_CACHEVAR
   7848  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   7849  1.1  riastrad $as_echo "$ac_res" >&6; }
   7850  1.1  riastrad if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   7851  1.1  riastrad   CWFLAGS="$CWFLAGS -Wmaybe-uninitialized"
   7852  1.1  riastrad else
   7853  1.1  riastrad   :
   7854  1.1  riastrad fi
   7855  1.1  riastrad 
   7856  1.1  riastrad as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wmisleading-indentation" | $as_tr_sh`
   7857  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wmisleading-indentation" >&5
   7858  1.1  riastrad $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wmisleading-indentation... " >&6; }
   7859  1.1  riastrad if eval \${$as_CACHEVAR+:} false; then :
   7860  1.1  riastrad   $as_echo_n "(cached) " >&6
   7861  1.1  riastrad else
   7862  1.1  riastrad 
   7863  1.1  riastrad   ax_check_save_flags=$CFLAGS
   7864  1.1  riastrad   CFLAGS="$CFLAGS  $CWFLAGS -Wmisleading-indentation"
   7865  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7866  1.1  riastrad /* end confdefs.h.  */
   7867  1.1  riastrad #include <time.h>
   7868  1.1  riastrad int
   7869  1.1  riastrad main ()
   7870  1.1  riastrad {
   7871  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   7872  1.1  riastrad   ;
   7873  1.1  riastrad   return 0;
   7874  1.1  riastrad }
   7875  1.1  riastrad _ACEOF
   7876  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   7877  1.1  riastrad   eval "$as_CACHEVAR=yes"
   7878  1.1  riastrad else
   7879  1.1  riastrad   eval "$as_CACHEVAR=no"
   7880  1.1  riastrad fi
   7881  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   7882  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   7883  1.1  riastrad   CFLAGS=$ax_check_save_flags
   7884  1.1  riastrad fi
   7885  1.1  riastrad eval ac_res=\$$as_CACHEVAR
   7886  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   7887  1.1  riastrad $as_echo "$ac_res" >&6; }
   7888  1.1  riastrad if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   7889  1.1  riastrad   CWFLAGS="$CWFLAGS -Wmisleading-indentation"
   7890  1.1  riastrad else
   7891  1.1  riastrad   :
   7892  1.1  riastrad fi
   7893  1.1  riastrad 
   7894  1.1  riastrad as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wmissing-declarations" | $as_tr_sh`
   7895  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wmissing-declarations" >&5
   7896  1.1  riastrad $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wmissing-declarations... " >&6; }
   7897  1.1  riastrad if eval \${$as_CACHEVAR+:} false; then :
   7898  1.1  riastrad   $as_echo_n "(cached) " >&6
   7899  1.1  riastrad else
   7900  1.1  riastrad 
   7901  1.1  riastrad   ax_check_save_flags=$CFLAGS
   7902  1.1  riastrad   CFLAGS="$CFLAGS  $CWFLAGS -Wmissing-declarations"
   7903  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7904  1.1  riastrad /* end confdefs.h.  */
   7905  1.1  riastrad #include <time.h>
   7906  1.1  riastrad int
   7907  1.1  riastrad main ()
   7908  1.1  riastrad {
   7909  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   7910  1.1  riastrad   ;
   7911  1.1  riastrad   return 0;
   7912  1.1  riastrad }
   7913  1.1  riastrad _ACEOF
   7914  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   7915  1.1  riastrad   eval "$as_CACHEVAR=yes"
   7916  1.1  riastrad else
   7917  1.1  riastrad   eval "$as_CACHEVAR=no"
   7918  1.1  riastrad fi
   7919  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   7920  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   7921  1.1  riastrad   CFLAGS=$ax_check_save_flags
   7922  1.1  riastrad fi
   7923  1.1  riastrad eval ac_res=\$$as_CACHEVAR
   7924  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   7925  1.1  riastrad $as_echo "$ac_res" >&6; }
   7926  1.1  riastrad if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   7927  1.1  riastrad   CWFLAGS="$CWFLAGS -Wmissing-declarations"
   7928  1.1  riastrad else
   7929  1.1  riastrad   :
   7930  1.1  riastrad fi
   7931  1.1  riastrad 
   7932  1.1  riastrad as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wmissing-prototypes" | $as_tr_sh`
   7933  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wmissing-prototypes" >&5
   7934  1.1  riastrad $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wmissing-prototypes... " >&6; }
   7935  1.1  riastrad if eval \${$as_CACHEVAR+:} false; then :
   7936  1.1  riastrad   $as_echo_n "(cached) " >&6
   7937  1.1  riastrad else
   7938  1.1  riastrad 
   7939  1.1  riastrad   ax_check_save_flags=$CFLAGS
   7940  1.1  riastrad   CFLAGS="$CFLAGS  $CWFLAGS -Wmissing-prototypes"
   7941  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7942  1.1  riastrad /* end confdefs.h.  */
   7943  1.1  riastrad #include <time.h>
   7944  1.1  riastrad int
   7945  1.1  riastrad main ()
   7946  1.1  riastrad {
   7947  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   7948  1.1  riastrad   ;
   7949  1.1  riastrad   return 0;
   7950  1.1  riastrad }
   7951  1.1  riastrad _ACEOF
   7952  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   7953  1.1  riastrad   eval "$as_CACHEVAR=yes"
   7954  1.1  riastrad else
   7955  1.1  riastrad   eval "$as_CACHEVAR=no"
   7956  1.1  riastrad fi
   7957  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   7958  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   7959  1.1  riastrad   CFLAGS=$ax_check_save_flags
   7960  1.1  riastrad fi
   7961  1.1  riastrad eval ac_res=\$$as_CACHEVAR
   7962  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   7963  1.1  riastrad $as_echo "$ac_res" >&6; }
   7964  1.1  riastrad if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   7965  1.1  riastrad   CWFLAGS="$CWFLAGS -Wmissing-prototypes"
   7966  1.1  riastrad else
   7967  1.1  riastrad   :
   7968  1.1  riastrad fi
   7969  1.1  riastrad 
   7970  1.1  riastrad as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wnested-externs" | $as_tr_sh`
   7971  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wnested-externs" >&5
   7972  1.1  riastrad $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wnested-externs... " >&6; }
   7973  1.1  riastrad if eval \${$as_CACHEVAR+:} false; then :
   7974  1.1  riastrad   $as_echo_n "(cached) " >&6
   7975  1.1  riastrad else
   7976  1.1  riastrad 
   7977  1.1  riastrad   ax_check_save_flags=$CFLAGS
   7978  1.1  riastrad   CFLAGS="$CFLAGS  $CWFLAGS -Wnested-externs"
   7979  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7980  1.1  riastrad /* end confdefs.h.  */
   7981  1.1  riastrad #include <time.h>
   7982  1.1  riastrad int
   7983  1.1  riastrad main ()
   7984  1.1  riastrad {
   7985  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   7986  1.1  riastrad   ;
   7987  1.1  riastrad   return 0;
   7988  1.1  riastrad }
   7989  1.1  riastrad _ACEOF
   7990  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   7991  1.1  riastrad   eval "$as_CACHEVAR=yes"
   7992  1.1  riastrad else
   7993  1.1  riastrad   eval "$as_CACHEVAR=no"
   7994  1.1  riastrad fi
   7995  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   7996  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   7997  1.1  riastrad   CFLAGS=$ax_check_save_flags
   7998  1.1  riastrad fi
   7999  1.1  riastrad eval ac_res=\$$as_CACHEVAR
   8000  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   8001  1.1  riastrad $as_echo "$ac_res" >&6; }
   8002  1.1  riastrad if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   8003  1.1  riastrad   CWFLAGS="$CWFLAGS -Wnested-externs"
   8004  1.1  riastrad else
   8005  1.1  riastrad   :
   8006  1.1  riastrad fi
   8007  1.1  riastrad 
   8008  1.1  riastrad as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wno-type-limits" | $as_tr_sh`
   8009  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wno-type-limits" >&5
   8010  1.1  riastrad $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wno-type-limits... " >&6; }
   8011  1.1  riastrad if eval \${$as_CACHEVAR+:} false; then :
   8012  1.1  riastrad   $as_echo_n "(cached) " >&6
   8013  1.1  riastrad else
   8014  1.1  riastrad 
   8015  1.1  riastrad   ax_check_save_flags=$CFLAGS
   8016  1.1  riastrad   CFLAGS="$CFLAGS  $CWFLAGS -Wno-type-limits"
   8017  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8018  1.1  riastrad /* end confdefs.h.  */
   8019  1.1  riastrad #include <time.h>
   8020  1.1  riastrad int
   8021  1.1  riastrad main ()
   8022  1.1  riastrad {
   8023  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8024  1.1  riastrad   ;
   8025  1.1  riastrad   return 0;
   8026  1.1  riastrad }
   8027  1.1  riastrad _ACEOF
   8028  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   8029  1.1  riastrad   eval "$as_CACHEVAR=yes"
   8030  1.1  riastrad else
   8031  1.1  riastrad   eval "$as_CACHEVAR=no"
   8032  1.1  riastrad fi
   8033  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   8034  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   8035  1.1  riastrad   CFLAGS=$ax_check_save_flags
   8036  1.1  riastrad fi
   8037  1.1  riastrad eval ac_res=\$$as_CACHEVAR
   8038  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   8039  1.1  riastrad $as_echo "$ac_res" >&6; }
   8040  1.1  riastrad if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   8041  1.1  riastrad   CWFLAGS="$CWFLAGS -Wno-type-limits"
   8042  1.1  riastrad else
   8043  1.1  riastrad   :
   8044  1.1  riastrad fi
   8045  1.1  riastrad 
   8046  1.1  riastrad as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wno-unknown-pragmas" | $as_tr_sh`
   8047  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wno-unknown-pragmas" >&5
   8048  1.1  riastrad $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wno-unknown-pragmas... " >&6; }
   8049  1.1  riastrad if eval \${$as_CACHEVAR+:} false; then :
   8050  1.1  riastrad   $as_echo_n "(cached) " >&6
   8051  1.1  riastrad else
   8052  1.1  riastrad 
   8053  1.1  riastrad   ax_check_save_flags=$CFLAGS
   8054  1.1  riastrad   CFLAGS="$CFLAGS  $CWFLAGS -Wno-unknown-pragmas"
   8055  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8056  1.1  riastrad /* end confdefs.h.  */
   8057  1.1  riastrad #include <time.h>
   8058  1.1  riastrad int
   8059  1.1  riastrad main ()
   8060  1.1  riastrad {
   8061  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8062  1.1  riastrad   ;
   8063  1.1  riastrad   return 0;
   8064  1.1  riastrad }
   8065  1.1  riastrad _ACEOF
   8066  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   8067  1.1  riastrad   eval "$as_CACHEVAR=yes"
   8068  1.1  riastrad else
   8069  1.1  riastrad   eval "$as_CACHEVAR=no"
   8070  1.1  riastrad fi
   8071  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   8072  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   8073  1.1  riastrad   CFLAGS=$ax_check_save_flags
   8074  1.1  riastrad fi
   8075  1.1  riastrad eval ac_res=\$$as_CACHEVAR
   8076  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   8077  1.1  riastrad $as_echo "$ac_res" >&6; }
   8078  1.1  riastrad if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   8079  1.1  riastrad   CWFLAGS="$CWFLAGS -Wno-unknown-pragmas"
   8080  1.1  riastrad else
   8081  1.1  riastrad   :
   8082  1.1  riastrad fi
   8083  1.1  riastrad 
   8084  1.1  riastrad as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wnormalized=id" | $as_tr_sh`
   8085  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wnormalized=id" >&5
   8086  1.1  riastrad $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wnormalized=id... " >&6; }
   8087  1.1  riastrad if eval \${$as_CACHEVAR+:} false; then :
   8088  1.1  riastrad   $as_echo_n "(cached) " >&6
   8089  1.1  riastrad else
   8090  1.1  riastrad 
   8091  1.1  riastrad   ax_check_save_flags=$CFLAGS
   8092  1.1  riastrad   CFLAGS="$CFLAGS  $CWFLAGS -Wnormalized=id"
   8093  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8094  1.1  riastrad /* end confdefs.h.  */
   8095  1.1  riastrad #include <time.h>
   8096  1.1  riastrad int
   8097  1.1  riastrad main ()
   8098  1.1  riastrad {
   8099  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8100  1.1  riastrad   ;
   8101  1.1  riastrad   return 0;
   8102  1.1  riastrad }
   8103  1.1  riastrad _ACEOF
   8104  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   8105  1.1  riastrad   eval "$as_CACHEVAR=yes"
   8106  1.1  riastrad else
   8107  1.1  riastrad   eval "$as_CACHEVAR=no"
   8108  1.1  riastrad fi
   8109  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   8110  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   8111  1.1  riastrad   CFLAGS=$ax_check_save_flags
   8112  1.1  riastrad fi
   8113  1.1  riastrad eval ac_res=\$$as_CACHEVAR
   8114  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   8115  1.1  riastrad $as_echo "$ac_res" >&6; }
   8116  1.1  riastrad if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   8117  1.1  riastrad   CWFLAGS="$CWFLAGS -Wnormalized=id"
   8118  1.1  riastrad else
   8119  1.1  riastrad   :
   8120  1.1  riastrad fi
   8121  1.1  riastrad 
   8122  1.1  riastrad as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wnull-dereference" | $as_tr_sh`
   8123  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wnull-dereference" >&5
   8124  1.1  riastrad $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wnull-dereference... " >&6; }
   8125  1.1  riastrad if eval \${$as_CACHEVAR+:} false; then :
   8126  1.1  riastrad   $as_echo_n "(cached) " >&6
   8127  1.1  riastrad else
   8128  1.1  riastrad 
   8129  1.1  riastrad   ax_check_save_flags=$CFLAGS
   8130  1.1  riastrad   CFLAGS="$CFLAGS  $CWFLAGS -Wnull-dereference"
   8131  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8132  1.1  riastrad /* end confdefs.h.  */
   8133  1.1  riastrad #include <time.h>
   8134  1.1  riastrad int
   8135  1.1  riastrad main ()
   8136  1.1  riastrad {
   8137  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8138  1.1  riastrad   ;
   8139  1.1  riastrad   return 0;
   8140  1.1  riastrad }
   8141  1.1  riastrad _ACEOF
   8142  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   8143  1.1  riastrad   eval "$as_CACHEVAR=yes"
   8144  1.1  riastrad else
   8145  1.1  riastrad   eval "$as_CACHEVAR=no"
   8146  1.1  riastrad fi
   8147  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   8148  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   8149  1.1  riastrad   CFLAGS=$ax_check_save_flags
   8150  1.1  riastrad fi
   8151  1.1  riastrad eval ac_res=\$$as_CACHEVAR
   8152  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   8153  1.1  riastrad $as_echo "$ac_res" >&6; }
   8154  1.1  riastrad if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   8155  1.1  riastrad   CWFLAGS="$CWFLAGS -Wnull-dereference"
   8156  1.1  riastrad else
   8157  1.1  riastrad   :
   8158  1.1  riastrad fi
   8159  1.1  riastrad 
   8160  1.1  riastrad as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wold-style-declaration" | $as_tr_sh`
   8161  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wold-style-declaration" >&5
   8162  1.1  riastrad $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wold-style-declaration... " >&6; }
   8163  1.1  riastrad if eval \${$as_CACHEVAR+:} false; then :
   8164  1.1  riastrad   $as_echo_n "(cached) " >&6
   8165  1.1  riastrad else
   8166  1.1  riastrad 
   8167  1.1  riastrad   ax_check_save_flags=$CFLAGS
   8168  1.1  riastrad   CFLAGS="$CFLAGS  $CWFLAGS -Wold-style-declaration"
   8169  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8170  1.1  riastrad /* end confdefs.h.  */
   8171  1.1  riastrad #include <time.h>
   8172  1.1  riastrad int
   8173  1.1  riastrad main ()
   8174  1.1  riastrad {
   8175  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8176  1.1  riastrad   ;
   8177  1.1  riastrad   return 0;
   8178  1.1  riastrad }
   8179  1.1  riastrad _ACEOF
   8180  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   8181  1.1  riastrad   eval "$as_CACHEVAR=yes"
   8182  1.1  riastrad else
   8183  1.1  riastrad   eval "$as_CACHEVAR=no"
   8184  1.1  riastrad fi
   8185  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   8186  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   8187  1.1  riastrad   CFLAGS=$ax_check_save_flags
   8188  1.1  riastrad fi
   8189  1.1  riastrad eval ac_res=\$$as_CACHEVAR
   8190  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   8191  1.1  riastrad $as_echo "$ac_res" >&6; }
   8192  1.1  riastrad if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   8193  1.1  riastrad   CWFLAGS="$CWFLAGS -Wold-style-declaration"
   8194  1.1  riastrad else
   8195  1.1  riastrad   :
   8196  1.1  riastrad fi
   8197  1.1  riastrad 
   8198  1.1  riastrad as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wpointer-arith" | $as_tr_sh`
   8199  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wpointer-arith" >&5
   8200  1.1  riastrad $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wpointer-arith... " >&6; }
   8201  1.1  riastrad if eval \${$as_CACHEVAR+:} false; then :
   8202  1.1  riastrad   $as_echo_n "(cached) " >&6
   8203  1.1  riastrad else
   8204  1.1  riastrad 
   8205  1.1  riastrad   ax_check_save_flags=$CFLAGS
   8206  1.1  riastrad   CFLAGS="$CFLAGS  $CWFLAGS -Wpointer-arith"
   8207  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8208  1.1  riastrad /* end confdefs.h.  */
   8209  1.1  riastrad #include <time.h>
   8210  1.1  riastrad int
   8211  1.1  riastrad main ()
   8212  1.1  riastrad {
   8213  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8214  1.1  riastrad   ;
   8215  1.1  riastrad   return 0;
   8216  1.1  riastrad }
   8217  1.1  riastrad _ACEOF
   8218  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   8219  1.1  riastrad   eval "$as_CACHEVAR=yes"
   8220  1.1  riastrad else
   8221  1.1  riastrad   eval "$as_CACHEVAR=no"
   8222  1.1  riastrad fi
   8223  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   8224  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   8225  1.1  riastrad   CFLAGS=$ax_check_save_flags
   8226  1.1  riastrad fi
   8227  1.1  riastrad eval ac_res=\$$as_CACHEVAR
   8228  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   8229  1.1  riastrad $as_echo "$ac_res" >&6; }
   8230  1.1  riastrad if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   8231  1.1  riastrad   CWFLAGS="$CWFLAGS -Wpointer-arith"
   8232  1.1  riastrad else
   8233  1.1  riastrad   :
   8234  1.1  riastrad fi
   8235  1.1  riastrad 
   8236  1.1  riastrad as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wredundant-decls" | $as_tr_sh`
   8237  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wredundant-decls" >&5
   8238  1.1  riastrad $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wredundant-decls... " >&6; }
   8239  1.1  riastrad if eval \${$as_CACHEVAR+:} false; then :
   8240  1.1  riastrad   $as_echo_n "(cached) " >&6
   8241  1.1  riastrad else
   8242  1.1  riastrad 
   8243  1.1  riastrad   ax_check_save_flags=$CFLAGS
   8244  1.1  riastrad   CFLAGS="$CFLAGS  $CWFLAGS -Wredundant-decls"
   8245  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8246  1.1  riastrad /* end confdefs.h.  */
   8247  1.1  riastrad #include <time.h>
   8248  1.1  riastrad int
   8249  1.1  riastrad main ()
   8250  1.1  riastrad {
   8251  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8252  1.1  riastrad   ;
   8253  1.1  riastrad   return 0;
   8254  1.1  riastrad }
   8255  1.1  riastrad _ACEOF
   8256  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   8257  1.1  riastrad   eval "$as_CACHEVAR=yes"
   8258  1.1  riastrad else
   8259  1.1  riastrad   eval "$as_CACHEVAR=no"
   8260  1.1  riastrad fi
   8261  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   8262  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   8263  1.1  riastrad   CFLAGS=$ax_check_save_flags
   8264  1.1  riastrad fi
   8265  1.1  riastrad eval ac_res=\$$as_CACHEVAR
   8266  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   8267  1.1  riastrad $as_echo "$ac_res" >&6; }
   8268  1.1  riastrad if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   8269  1.1  riastrad   CWFLAGS="$CWFLAGS -Wredundant-decls"
   8270  1.1  riastrad else
   8271  1.1  riastrad   :
   8272  1.1  riastrad fi
   8273  1.1  riastrad 
   8274  1.1  riastrad as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wrestrict" | $as_tr_sh`
   8275  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wrestrict" >&5
   8276  1.1  riastrad $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wrestrict... " >&6; }
   8277  1.1  riastrad if eval \${$as_CACHEVAR+:} false; then :
   8278  1.1  riastrad   $as_echo_n "(cached) " >&6
   8279  1.1  riastrad else
   8280  1.1  riastrad 
   8281  1.1  riastrad   ax_check_save_flags=$CFLAGS
   8282  1.1  riastrad   CFLAGS="$CFLAGS  $CWFLAGS -Wrestrict"
   8283  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8284  1.1  riastrad /* end confdefs.h.  */
   8285  1.1  riastrad #include <time.h>
   8286  1.1  riastrad int
   8287  1.1  riastrad main ()
   8288  1.1  riastrad {
   8289  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8290  1.1  riastrad   ;
   8291  1.1  riastrad   return 0;
   8292  1.1  riastrad }
   8293  1.1  riastrad _ACEOF
   8294  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   8295  1.1  riastrad   eval "$as_CACHEVAR=yes"
   8296  1.1  riastrad else
   8297  1.1  riastrad   eval "$as_CACHEVAR=no"
   8298  1.1  riastrad fi
   8299  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   8300  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   8301  1.1  riastrad   CFLAGS=$ax_check_save_flags
   8302  1.1  riastrad fi
   8303  1.1  riastrad eval ac_res=\$$as_CACHEVAR
   8304  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   8305  1.1  riastrad $as_echo "$ac_res" >&6; }
   8306  1.1  riastrad if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   8307  1.1  riastrad   CWFLAGS="$CWFLAGS -Wrestrict"
   8308  1.1  riastrad else
   8309  1.1  riastrad   :
   8310  1.1  riastrad fi
   8311  1.1  riastrad 
   8312  1.1  riastrad as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wshorten-64-to-32" | $as_tr_sh`
   8313  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wshorten-64-to-32" >&5
   8314  1.1  riastrad $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wshorten-64-to-32... " >&6; }
   8315  1.1  riastrad if eval \${$as_CACHEVAR+:} false; then :
   8316  1.1  riastrad   $as_echo_n "(cached) " >&6
   8317  1.1  riastrad else
   8318  1.1  riastrad 
   8319  1.1  riastrad   ax_check_save_flags=$CFLAGS
   8320  1.1  riastrad   CFLAGS="$CFLAGS  $CWFLAGS -Wshorten-64-to-32"
   8321  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8322  1.1  riastrad /* end confdefs.h.  */
   8323  1.1  riastrad #include <time.h>
   8324  1.1  riastrad int
   8325  1.1  riastrad main ()
   8326  1.1  riastrad {
   8327  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8328  1.1  riastrad   ;
   8329  1.1  riastrad   return 0;
   8330  1.1  riastrad }
   8331  1.1  riastrad _ACEOF
   8332  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   8333  1.1  riastrad   eval "$as_CACHEVAR=yes"
   8334  1.1  riastrad else
   8335  1.1  riastrad   eval "$as_CACHEVAR=no"
   8336  1.1  riastrad fi
   8337  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   8338  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   8339  1.1  riastrad   CFLAGS=$ax_check_save_flags
   8340  1.1  riastrad fi
   8341  1.1  riastrad eval ac_res=\$$as_CACHEVAR
   8342  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   8343  1.1  riastrad $as_echo "$ac_res" >&6; }
   8344  1.1  riastrad if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   8345  1.1  riastrad   CWFLAGS="$CWFLAGS -Wshorten-64-to-32"
   8346  1.1  riastrad else
   8347  1.1  riastrad   :
   8348  1.1  riastrad fi
   8349  1.1  riastrad 
   8350  1.1  riastrad as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wsometimes-uninitialized" | $as_tr_sh`
   8351  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wsometimes-uninitialized" >&5
   8352  1.1  riastrad $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wsometimes-uninitialized... " >&6; }
   8353  1.1  riastrad if eval \${$as_CACHEVAR+:} false; then :
   8354  1.1  riastrad   $as_echo_n "(cached) " >&6
   8355  1.1  riastrad else
   8356  1.1  riastrad 
   8357  1.1  riastrad   ax_check_save_flags=$CFLAGS
   8358  1.1  riastrad   CFLAGS="$CFLAGS  $CWFLAGS -Wsometimes-uninitialized"
   8359  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8360  1.1  riastrad /* end confdefs.h.  */
   8361  1.1  riastrad #include <time.h>
   8362  1.1  riastrad int
   8363  1.1  riastrad main ()
   8364  1.1  riastrad {
   8365  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8366  1.1  riastrad   ;
   8367  1.1  riastrad   return 0;
   8368  1.1  riastrad }
   8369  1.1  riastrad _ACEOF
   8370  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   8371  1.1  riastrad   eval "$as_CACHEVAR=yes"
   8372  1.1  riastrad else
   8373  1.1  riastrad   eval "$as_CACHEVAR=no"
   8374  1.1  riastrad fi
   8375  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   8376  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   8377  1.1  riastrad   CFLAGS=$ax_check_save_flags
   8378  1.1  riastrad fi
   8379  1.1  riastrad eval ac_res=\$$as_CACHEVAR
   8380  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   8381  1.1  riastrad $as_echo "$ac_res" >&6; }
   8382  1.1  riastrad if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   8383  1.1  riastrad   CWFLAGS="$CWFLAGS -Wsometimes-uninitialized"
   8384  1.1  riastrad else
   8385  1.1  riastrad   :
   8386  1.1  riastrad fi
   8387  1.1  riastrad 
   8388  1.1  riastrad as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wstrict-prototypes" | $as_tr_sh`
   8389  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wstrict-prototypes" >&5
   8390  1.1  riastrad $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wstrict-prototypes... " >&6; }
   8391  1.1  riastrad if eval \${$as_CACHEVAR+:} false; then :
   8392  1.1  riastrad   $as_echo_n "(cached) " >&6
   8393  1.1  riastrad else
   8394  1.1  riastrad 
   8395  1.1  riastrad   ax_check_save_flags=$CFLAGS
   8396  1.1  riastrad   CFLAGS="$CFLAGS  $CWFLAGS -Wstrict-prototypes"
   8397  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8398  1.1  riastrad /* end confdefs.h.  */
   8399  1.1  riastrad #include <time.h>
   8400  1.1  riastrad int
   8401  1.1  riastrad main ()
   8402  1.1  riastrad {
   8403  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8404  1.1  riastrad   ;
   8405  1.1  riastrad   return 0;
   8406  1.1  riastrad }
   8407  1.1  riastrad _ACEOF
   8408  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   8409  1.1  riastrad   eval "$as_CACHEVAR=yes"
   8410  1.1  riastrad else
   8411  1.1  riastrad   eval "$as_CACHEVAR=no"
   8412  1.1  riastrad fi
   8413  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   8414  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   8415  1.1  riastrad   CFLAGS=$ax_check_save_flags
   8416  1.1  riastrad fi
   8417  1.1  riastrad eval ac_res=\$$as_CACHEVAR
   8418  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   8419  1.1  riastrad $as_echo "$ac_res" >&6; }
   8420  1.1  riastrad if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   8421  1.1  riastrad   CWFLAGS="$CWFLAGS -Wstrict-prototypes"
   8422  1.1  riastrad else
   8423  1.1  riastrad   :
   8424  1.1  riastrad fi
   8425  1.1  riastrad 
   8426  1.1  riastrad as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wswitch-enum" | $as_tr_sh`
   8427  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wswitch-enum" >&5
   8428  1.1  riastrad $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wswitch-enum... " >&6; }
   8429  1.1  riastrad if eval \${$as_CACHEVAR+:} false; then :
   8430  1.1  riastrad   $as_echo_n "(cached) " >&6
   8431  1.1  riastrad else
   8432  1.1  riastrad 
   8433  1.1  riastrad   ax_check_save_flags=$CFLAGS
   8434  1.1  riastrad   CFLAGS="$CFLAGS  $CWFLAGS -Wswitch-enum"
   8435  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8436  1.1  riastrad /* end confdefs.h.  */
   8437  1.1  riastrad #include <time.h>
   8438  1.1  riastrad int
   8439  1.1  riastrad main ()
   8440  1.1  riastrad {
   8441  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8442  1.1  riastrad   ;
   8443  1.1  riastrad   return 0;
   8444  1.1  riastrad }
   8445  1.1  riastrad _ACEOF
   8446  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   8447  1.1  riastrad   eval "$as_CACHEVAR=yes"
   8448  1.1  riastrad else
   8449  1.1  riastrad   eval "$as_CACHEVAR=no"
   8450  1.1  riastrad fi
   8451  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   8452  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   8453  1.1  riastrad   CFLAGS=$ax_check_save_flags
   8454  1.1  riastrad fi
   8455  1.1  riastrad eval ac_res=\$$as_CACHEVAR
   8456  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   8457  1.1  riastrad $as_echo "$ac_res" >&6; }
   8458  1.1  riastrad if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   8459  1.1  riastrad   CWFLAGS="$CWFLAGS -Wswitch-enum"
   8460  1.1  riastrad else
   8461  1.1  riastrad   :
   8462  1.1  riastrad fi
   8463  1.1  riastrad 
   8464  1.1  riastrad as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wvariable-decl" | $as_tr_sh`
   8465  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wvariable-decl" >&5
   8466  1.1  riastrad $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wvariable-decl... " >&6; }
   8467  1.1  riastrad if eval \${$as_CACHEVAR+:} false; then :
   8468  1.1  riastrad   $as_echo_n "(cached) " >&6
   8469  1.1  riastrad else
   8470  1.1  riastrad 
   8471  1.1  riastrad   ax_check_save_flags=$CFLAGS
   8472  1.1  riastrad   CFLAGS="$CFLAGS  $CWFLAGS -Wvariable-decl"
   8473  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8474  1.1  riastrad /* end confdefs.h.  */
   8475  1.1  riastrad #include <time.h>
   8476  1.1  riastrad int
   8477  1.1  riastrad main ()
   8478  1.1  riastrad {
   8479  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8480  1.1  riastrad   ;
   8481  1.1  riastrad   return 0;
   8482  1.1  riastrad }
   8483  1.1  riastrad _ACEOF
   8484  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   8485  1.1  riastrad   eval "$as_CACHEVAR=yes"
   8486  1.1  riastrad else
   8487  1.1  riastrad   eval "$as_CACHEVAR=no"
   8488  1.1  riastrad fi
   8489  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   8490  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   8491  1.1  riastrad   CFLAGS=$ax_check_save_flags
   8492  1.1  riastrad fi
   8493  1.1  riastrad eval ac_res=\$$as_CACHEVAR
   8494  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   8495  1.1  riastrad $as_echo "$ac_res" >&6; }
   8496  1.1  riastrad if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   8497  1.1  riastrad   CWFLAGS="$CWFLAGS -Wvariable-decl"
   8498  1.1  riastrad else
   8499  1.1  riastrad   :
   8500  1.1  riastrad fi
   8501  1.1  riastrad 
   8502  1.1  riastrad as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wwrite-strings" | $as_tr_sh`
   8503  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wwrite-strings" >&5
   8504  1.1  riastrad $as_echo_n "checking whether C compiler accepts $CWFLAGS -Wwrite-strings... " >&6; }
   8505  1.1  riastrad if eval \${$as_CACHEVAR+:} false; then :
   8506  1.1  riastrad   $as_echo_n "(cached) " >&6
   8507  1.1  riastrad else
   8508  1.1  riastrad 
   8509  1.1  riastrad   ax_check_save_flags=$CFLAGS
   8510  1.1  riastrad   CFLAGS="$CFLAGS  $CWFLAGS -Wwrite-strings"
   8511  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8512  1.1  riastrad /* end confdefs.h.  */
   8513  1.1  riastrad #include <time.h>
   8514  1.1  riastrad int
   8515  1.1  riastrad main ()
   8516  1.1  riastrad {
   8517  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8518  1.1  riastrad   ;
   8519  1.1  riastrad   return 0;
   8520  1.1  riastrad }
   8521  1.1  riastrad _ACEOF
   8522  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   8523  1.1  riastrad   eval "$as_CACHEVAR=yes"
   8524  1.1  riastrad else
   8525  1.1  riastrad   eval "$as_CACHEVAR=no"
   8526  1.1  riastrad fi
   8527  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   8528  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   8529  1.1  riastrad   CFLAGS=$ax_check_save_flags
   8530  1.1  riastrad fi
   8531  1.1  riastrad eval ac_res=\$$as_CACHEVAR
   8532  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   8533  1.1  riastrad $as_echo "$ac_res" >&6; }
   8534  1.1  riastrad if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   8535  1.1  riastrad   CWFLAGS="$CWFLAGS -Wwrite-strings"
   8536  1.1  riastrad else
   8537  1.1  riastrad   :
   8538  1.1  riastrad fi
   8539  1.1  riastrad 
   8540  1.1  riastrad 
   8541  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,relro" >&5
   8542  1.1  riastrad $as_echo_n "checking whether the linker accepts -Wl,-z,relro... " >&6; }
   8543  1.1  riastrad if ${ax_cv_check_ldflags___Wl__z_relro+:} false; then :
   8544  1.1  riastrad   $as_echo_n "(cached) " >&6
   8545  1.1  riastrad else
   8546  1.1  riastrad 
   8547  1.1  riastrad   ax_check_save_flags=$LDFLAGS
   8548  1.1  riastrad   LDFLAGS="$LDFLAGS  -Wl,-z,relro"
   8549  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8550  1.1  riastrad /* end confdefs.h.  */
   8551  1.1  riastrad #include <time.h>
   8552  1.1  riastrad int
   8553  1.1  riastrad main ()
   8554  1.1  riastrad {
   8555  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8556  1.1  riastrad   ;
   8557  1.1  riastrad   return 0;
   8558  1.1  riastrad }
   8559  1.1  riastrad _ACEOF
   8560  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   8561  1.1  riastrad   ax_cv_check_ldflags___Wl__z_relro=yes
   8562  1.1  riastrad else
   8563  1.1  riastrad   ax_cv_check_ldflags___Wl__z_relro=no
   8564  1.1  riastrad fi
   8565  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   8566  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   8567  1.1  riastrad   LDFLAGS=$ax_check_save_flags
   8568  1.1  riastrad fi
   8569  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_relro" >&5
   8570  1.1  riastrad $as_echo "$ax_cv_check_ldflags___Wl__z_relro" >&6; }
   8571  1.1  riastrad if test "x$ax_cv_check_ldflags___Wl__z_relro" = xyes; then :
   8572  1.1  riastrad   LDFLAGS="$LDFLAGS -Wl,-z,relro"
   8573  1.1  riastrad else
   8574  1.1  riastrad   :
   8575  1.1  riastrad fi
   8576  1.1  riastrad 
   8577  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,now" >&5
   8578  1.1  riastrad $as_echo_n "checking whether the linker accepts -Wl,-z,now... " >&6; }
   8579  1.1  riastrad if ${ax_cv_check_ldflags___Wl__z_now+:} false; then :
   8580  1.1  riastrad   $as_echo_n "(cached) " >&6
   8581  1.1  riastrad else
   8582  1.1  riastrad 
   8583  1.1  riastrad   ax_check_save_flags=$LDFLAGS
   8584  1.1  riastrad   LDFLAGS="$LDFLAGS  -Wl,-z,now"
   8585  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8586  1.1  riastrad /* end confdefs.h.  */
   8587  1.1  riastrad #include <time.h>
   8588  1.1  riastrad int
   8589  1.1  riastrad main ()
   8590  1.1  riastrad {
   8591  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8592  1.1  riastrad   ;
   8593  1.1  riastrad   return 0;
   8594  1.1  riastrad }
   8595  1.1  riastrad _ACEOF
   8596  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   8597  1.1  riastrad   ax_cv_check_ldflags___Wl__z_now=yes
   8598  1.1  riastrad else
   8599  1.1  riastrad   ax_cv_check_ldflags___Wl__z_now=no
   8600  1.1  riastrad fi
   8601  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   8602  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   8603  1.1  riastrad   LDFLAGS=$ax_check_save_flags
   8604  1.1  riastrad fi
   8605  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_now" >&5
   8606  1.1  riastrad $as_echo "$ax_cv_check_ldflags___Wl__z_now" >&6; }
   8607  1.1  riastrad if test "x$ax_cv_check_ldflags___Wl__z_now" = xyes; then :
   8608  1.1  riastrad   LDFLAGS="$LDFLAGS -Wl,-z,now"
   8609  1.1  riastrad else
   8610  1.1  riastrad   :
   8611  1.1  riastrad fi
   8612  1.1  riastrad 
   8613  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,noexecstack" >&5
   8614  1.1  riastrad $as_echo_n "checking whether the linker accepts -Wl,-z,noexecstack... " >&6; }
   8615  1.1  riastrad if ${ax_cv_check_ldflags___Wl__z_noexecstack+:} false; then :
   8616  1.1  riastrad   $as_echo_n "(cached) " >&6
   8617  1.1  riastrad else
   8618  1.1  riastrad 
   8619  1.1  riastrad   ax_check_save_flags=$LDFLAGS
   8620  1.1  riastrad   LDFLAGS="$LDFLAGS  -Wl,-z,noexecstack"
   8621  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8622  1.1  riastrad /* end confdefs.h.  */
   8623  1.1  riastrad #include <time.h>
   8624  1.1  riastrad int
   8625  1.1  riastrad main ()
   8626  1.1  riastrad {
   8627  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8628  1.1  riastrad   ;
   8629  1.1  riastrad   return 0;
   8630  1.1  riastrad }
   8631  1.1  riastrad _ACEOF
   8632  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   8633  1.1  riastrad   ax_cv_check_ldflags___Wl__z_noexecstack=yes
   8634  1.1  riastrad else
   8635  1.1  riastrad   ax_cv_check_ldflags___Wl__z_noexecstack=no
   8636  1.1  riastrad fi
   8637  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   8638  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   8639  1.1  riastrad   LDFLAGS=$ax_check_save_flags
   8640  1.1  riastrad fi
   8641  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_noexecstack" >&5
   8642  1.1  riastrad $as_echo "$ax_cv_check_ldflags___Wl__z_noexecstack" >&6; }
   8643  1.1  riastrad if test "x$ax_cv_check_ldflags___Wl__z_noexecstack" = xyes; then :
   8644  1.1  riastrad   LDFLAGS="$LDFLAGS -Wl,-z,noexecstack"
   8645  1.1  riastrad else
   8646  1.1  riastrad   :
   8647  1.1  riastrad fi
   8648  1.1  riastrad 
   8649  1.1  riastrad 
   8650  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a broken clang + AVX512 combination" >&5
   8651  1.1  riastrad $as_echo_n "checking for a broken clang + AVX512 combination... " >&6; }
   8652  1.1  riastrad cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8653  1.1  riastrad /* end confdefs.h.  */
   8654  1.1  riastrad 
   8655  1.1  riastrad int
   8656  1.1  riastrad main ()
   8657  1.1  riastrad {
   8658  1.1  riastrad 
   8659  1.1  riastrad #if !(defined(__AVX512F__) && defined(__clang__) && __clang_major__ < 4)
   8660  1.1  riastrad #error Not a broken clang + AVX512 combination
   8661  1.1  riastrad #endif
   8662  1.1  riastrad 
   8663  1.1  riastrad   ;
   8664  1.1  riastrad   return 0;
   8665  1.1  riastrad }
   8666  1.1  riastrad _ACEOF
   8667  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   8668  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes - disabling AVX512 optimizations" >&5
   8669  1.1  riastrad $as_echo "yes - disabling AVX512 optimizations" >&6; }
   8670  1.1  riastrad    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CFLAGS -mno-avx512f" | $as_tr_sh`
   8671  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CFLAGS -mno-avx512f" >&5
   8672  1.1  riastrad $as_echo_n "checking whether C compiler accepts $CFLAGS -mno-avx512f... " >&6; }
   8673  1.1  riastrad if eval \${$as_CACHEVAR+:} false; then :
   8674  1.1  riastrad   $as_echo_n "(cached) " >&6
   8675  1.1  riastrad else
   8676  1.1  riastrad 
   8677  1.1  riastrad   ax_check_save_flags=$CFLAGS
   8678  1.1  riastrad   CFLAGS="$CFLAGS  $CFLAGS -mno-avx512f"
   8679  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8680  1.1  riastrad /* end confdefs.h.  */
   8681  1.1  riastrad #include <time.h>
   8682  1.1  riastrad int
   8683  1.1  riastrad main ()
   8684  1.1  riastrad {
   8685  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   8686  1.1  riastrad   ;
   8687  1.1  riastrad   return 0;
   8688  1.1  riastrad }
   8689  1.1  riastrad _ACEOF
   8690  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   8691  1.1  riastrad   eval "$as_CACHEVAR=yes"
   8692  1.1  riastrad else
   8693  1.1  riastrad   eval "$as_CACHEVAR=no"
   8694  1.1  riastrad fi
   8695  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   8696  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   8697  1.1  riastrad   CFLAGS=$ax_check_save_flags
   8698  1.1  riastrad fi
   8699  1.1  riastrad eval ac_res=\$$as_CACHEVAR
   8700  1.1  riastrad 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   8701  1.1  riastrad $as_echo "$ac_res" >&6; }
   8702  1.1  riastrad if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   8703  1.1  riastrad   CFLAGS="$CFLAGS -mno-avx512f"
   8704  1.1  riastrad else
   8705  1.1  riastrad   :
   8706  1.1  riastrad fi
   8707  1.1  riastrad 
   8708  1.1  riastrad 
   8709  1.1  riastrad else
   8710  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8711  1.1  riastrad $as_echo "no" >&6; }
   8712  1.1  riastrad 
   8713  1.1  riastrad fi
   8714  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8715  1.1  riastrad 
   8716  1.1  riastrad 
   8717  1.1  riastrad         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether segmentation violations can be caught when using the C compiler" >&5
   8718  1.1  riastrad $as_echo_n "checking whether segmentation violations can be caught when using the C compiler... " >&6; }
   8719  1.1  riastrad if ${ax_cv_check_cCATCHABLE_SEGV+:} false; then :
   8720  1.1  riastrad   $as_echo_n "(cached) " >&6
   8721  1.1  riastrad else
   8722  1.1  riastrad 
   8723  1.1  riastrad         if test "$cross_compiling" = yes; then :
   8724  1.1  riastrad   ax_cv_check_cCATCHABLE_SEGV=unknown
   8725  1.1  riastrad 
   8726  1.1  riastrad else
   8727  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8728  1.1  riastrad /* end confdefs.h.  */
   8729  1.1  riastrad 
   8730  1.1  riastrad 
   8731  1.1  riastrad #include <signal.h>
   8732  1.1  riastrad #include <stdlib.h>
   8733  1.1  riastrad static void sig(int _) { exit(0); }
   8734  1.1  riastrad 
   8735  1.1  riastrad int
   8736  1.1  riastrad main ()
   8737  1.1  riastrad {
   8738  1.1  riastrad 
   8739  1.1  riastrad volatile unsigned char * volatile x = (volatile unsigned char *) malloc(8);
   8740  1.1  riastrad size_t i;
   8741  1.1  riastrad 
   8742  1.1  riastrad signal(SIGSEGV, sig);
   8743  1.1  riastrad signal(SIGBUS, sig);
   8744  1.1  riastrad #if !defined(__SANITIZE_ADDRESS__) && !defined(__EMSCRIPTEN__)
   8745  1.1  riastrad for (i = 0; i < 10000000; i += 1024) { x[-i] = x[i] = (unsigned char) i; }
   8746  1.1  riastrad #endif
   8747  1.1  riastrad free((void *) x);
   8748  1.1  riastrad exit(1)
   8749  1.1  riastrad 
   8750  1.1  riastrad   ;
   8751  1.1  riastrad   return 0;
   8752  1.1  riastrad }
   8753  1.1  riastrad _ACEOF
   8754  1.1  riastrad if ac_fn_c_try_run "$LINENO"; then :
   8755  1.1  riastrad   ax_cv_check_cCATCHABLE_SEGV=yes
   8756  1.1  riastrad else
   8757  1.1  riastrad   ax_cv_check_cCATCHABLE_SEGV=no
   8758  1.1  riastrad fi
   8759  1.1  riastrad rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   8760  1.1  riastrad   conftest.$ac_objext conftest.beam conftest.$ac_ext
   8761  1.1  riastrad fi
   8762  1.1  riastrad 
   8763  1.1  riastrad 
   8764  1.1  riastrad fi
   8765  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cCATCHABLE_SEGV" >&5
   8766  1.1  riastrad $as_echo "$ax_cv_check_cCATCHABLE_SEGV" >&6; }
   8767  1.1  riastrad     if test "x$ax_cv_check_cCATCHABLE_SEGV" = xyes; then :
   8768  1.1  riastrad 
   8769  1.1  riastrad $as_echo "#define HAVE_CATCHABLE_SEGV 1" >>confdefs.h
   8770  1.1  riastrad 
   8771  1.1  riastrad else
   8772  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: On this platform, segmentation violations cannot be caught using signal handlers. This is expected if you enabled a tool such as Address Sanitizer (-fsanitize=address), but be aware that using Address Sanitizer may also significantly reduce performance." >&5
   8773  1.1  riastrad $as_echo "$as_me: WARNING: On this platform, segmentation violations cannot be caught using signal handlers. This is expected if you enabled a tool such as Address Sanitizer (-fsanitize=address), but be aware that using Address Sanitizer may also significantly reduce performance." >&2;}
   8774  1.1  riastrad 
   8775  1.1  riastrad fi
   8776  1.1  riastrad 
   8777  1.1  riastrad 
   8778  1.1  riastrad         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether SIGABRT can be caught when using the C compiler" >&5
   8779  1.1  riastrad $as_echo_n "checking whether SIGABRT can be caught when using the C compiler... " >&6; }
   8780  1.1  riastrad if ${ax_cv_check_cCATCHABLE_ABRT+:} false; then :
   8781  1.1  riastrad   $as_echo_n "(cached) " >&6
   8782  1.1  riastrad else
   8783  1.1  riastrad 
   8784  1.1  riastrad         if test "$cross_compiling" = yes; then :
   8785  1.1  riastrad   ax_cv_check_cCATCHABLE_ABRT=unknown
   8786  1.1  riastrad 
   8787  1.1  riastrad else
   8788  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8789  1.1  riastrad /* end confdefs.h.  */
   8790  1.1  riastrad 
   8791  1.1  riastrad 
   8792  1.1  riastrad #include <signal.h>
   8793  1.1  riastrad #include <stdlib.h>
   8794  1.1  riastrad 
   8795  1.1  riastrad #ifndef SIGABRT
   8796  1.1  riastrad # error SIGABRT is not defined
   8797  1.1  riastrad #endif
   8798  1.1  riastrad 
   8799  1.1  riastrad static void sigabrt_handler_3(int _)
   8800  1.1  riastrad {
   8801  1.1  riastrad     exit(0);
   8802  1.1  riastrad }
   8803  1.1  riastrad 
   8804  1.1  riastrad static void sigabrt_handler_2(int _)
   8805  1.1  riastrad {
   8806  1.1  riastrad     signal(SIGABRT, sigabrt_handler_3);
   8807  1.1  riastrad     abort();
   8808  1.1  riastrad     exit(1);
   8809  1.1  riastrad }
   8810  1.1  riastrad 
   8811  1.1  riastrad static void sigabrt_handler_1(int _)
   8812  1.1  riastrad {
   8813  1.1  riastrad     signal(SIGABRT, sigabrt_handler_2);
   8814  1.1  riastrad     abort();
   8815  1.1  riastrad     exit(1);
   8816  1.1  riastrad }
   8817  1.1  riastrad 
   8818  1.1  riastrad int
   8819  1.1  riastrad main ()
   8820  1.1  riastrad {
   8821  1.1  riastrad 
   8822  1.1  riastrad signal(SIGABRT, sigabrt_handler_1);
   8823  1.1  riastrad abort();
   8824  1.1  riastrad exit(1);
   8825  1.1  riastrad 
   8826  1.1  riastrad   ;
   8827  1.1  riastrad   return 0;
   8828  1.1  riastrad }
   8829  1.1  riastrad _ACEOF
   8830  1.1  riastrad if ac_fn_c_try_run "$LINENO"; then :
   8831  1.1  riastrad   ax_cv_check_cCATCHABLE_ABRT=yes
   8832  1.1  riastrad else
   8833  1.1  riastrad   ax_cv_check_cCATCHABLE_ABRT=no
   8834  1.1  riastrad fi
   8835  1.1  riastrad rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   8836  1.1  riastrad   conftest.$ac_objext conftest.beam conftest.$ac_ext
   8837  1.1  riastrad fi
   8838  1.1  riastrad 
   8839  1.1  riastrad 
   8840  1.1  riastrad fi
   8841  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cCATCHABLE_ABRT" >&5
   8842  1.1  riastrad $as_echo "$ax_cv_check_cCATCHABLE_ABRT" >&6; }
   8843  1.1  riastrad     if test "x$ax_cv_check_cCATCHABLE_ABRT" = xyes; then :
   8844  1.1  riastrad 
   8845  1.1  riastrad $as_echo "#define HAVE_CATCHABLE_ABRT 1" >>confdefs.h
   8846  1.1  riastrad 
   8847  1.1  riastrad else
   8848  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: On this platform, SIGABRT cannot be caught using signal handlers." >&5
   8849  1.1  riastrad $as_echo "$as_me: WARNING: On this platform, SIGABRT cannot be caught using signal handlers." >&2;}
   8850  1.1  riastrad 
   8851  1.1  riastrad fi
   8852  1.1  riastrad 
   8853  1.1  riastrad 
   8854  1.1  riastrad if test "x$with_threads" = "xyes"; then :
   8855  1.1  riastrad 
   8856  1.1  riastrad 
   8857  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread local storage (TLS) class" >&5
   8858  1.1  riastrad $as_echo_n "checking for thread local storage (TLS) class... " >&6; }
   8859  1.1  riastrad   if ${ac_cv_tls+:} false; then :
   8860  1.1  riastrad   $as_echo_n "(cached) " >&6
   8861  1.1  riastrad else
   8862  1.1  riastrad   for ax_tls_keyword in thread_local _Thread_local __thread '__declspec(thread)' none; do
   8863  1.1  riastrad        case $ax_tls_keyword in #(
   8864  1.1  riastrad   none) :
   8865  1.1  riastrad     ac_cv_tls=none ; break ;; #(
   8866  1.1  riastrad   *) :
   8867  1.1  riastrad     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8868  1.1  riastrad /* end confdefs.h.  */
   8869  1.1  riastrad #include <stdlib.h>
   8870  1.1  riastrad                static void
   8871  1.1  riastrad                foo(void) {
   8872  1.1  riastrad                static  $ax_tls_keyword  int bar;
   8873  1.1  riastrad                exit(1);
   8874  1.1  riastrad                }
   8875  1.1  riastrad int
   8876  1.1  riastrad main ()
   8877  1.1  riastrad {
   8878  1.1  riastrad 
   8879  1.1  riastrad   ;
   8880  1.1  riastrad   return 0;
   8881  1.1  riastrad }
   8882  1.1  riastrad _ACEOF
   8883  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   8884  1.1  riastrad   ac_cv_tls=$ax_tls_keyword ; break
   8885  1.1  riastrad else
   8886  1.1  riastrad   ac_cv_tls=none
   8887  1.1  riastrad 
   8888  1.1  riastrad fi
   8889  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;;
   8890  1.1  riastrad esac
   8891  1.1  riastrad     done
   8892  1.1  riastrad 
   8893  1.1  riastrad fi
   8894  1.1  riastrad 
   8895  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tls" >&5
   8896  1.1  riastrad $as_echo "$ac_cv_tls" >&6; }
   8897  1.1  riastrad 
   8898  1.1  riastrad   if test "$ac_cv_tls" != "none"; then :
   8899  1.1  riastrad 
   8900  1.1  riastrad cat >>confdefs.h <<_ACEOF
   8901  1.1  riastrad #define TLS $ac_cv_tls
   8902  1.1  riastrad _ACEOF
   8903  1.1  riastrad 
   8904  1.1  riastrad      { $as_echo "$as_me:${as_lineno-$LINENO}: result: thread local storage is supported" >&5
   8905  1.1  riastrad $as_echo "thread local storage is supported" >&6; }
   8906  1.1  riastrad else
   8907  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: thread local storage is not supported" >&5
   8908  1.1  riastrad $as_echo "thread local storage is not supported" >&6; }
   8909  1.1  riastrad fi
   8910  1.1  riastrad 
   8911  1.1  riastrad fi
   8912  1.1  riastrad 
   8913  1.1  riastrad case `pwd` in
   8914  1.1  riastrad   *\ * | *\	*)
   8915  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   8916  1.1  riastrad $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   8917  1.1  riastrad esac
   8918  1.1  riastrad 
   8919  1.1  riastrad 
   8920  1.1  riastrad 
   8921  1.1  riastrad macro_version='2.4.6'
   8922  1.1  riastrad macro_revision='2.4.6'
   8923  1.1  riastrad 
   8924  1.1  riastrad 
   8925  1.1  riastrad 
   8926  1.1  riastrad 
   8927  1.1  riastrad 
   8928  1.1  riastrad 
   8929  1.1  riastrad 
   8930  1.1  riastrad 
   8931  1.1  riastrad 
   8932  1.1  riastrad 
   8933  1.1  riastrad 
   8934  1.1  riastrad 
   8935  1.1  riastrad 
   8936  1.1  riastrad ltmain=$ac_aux_dir/ltmain.sh
   8937  1.1  riastrad 
   8938  1.1  riastrad # Backslashify metacharacters that are still active within
   8939  1.1  riastrad # double-quoted strings.
   8940  1.1  riastrad sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   8941  1.1  riastrad 
   8942  1.1  riastrad # Same as above, but do not quote variable references.
   8943  1.1  riastrad double_quote_subst='s/\(["`\\]\)/\\\1/g'
   8944  1.1  riastrad 
   8945  1.1  riastrad # Sed substitution to delay expansion of an escaped shell variable in a
   8946  1.1  riastrad # double_quote_subst'ed string.
   8947  1.1  riastrad delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   8948  1.1  riastrad 
   8949  1.1  riastrad # Sed substitution to delay expansion of an escaped single quote.
   8950  1.1  riastrad delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   8951  1.1  riastrad 
   8952  1.1  riastrad # Sed substitution to avoid accidental globbing in evaled expressions
   8953  1.1  riastrad no_glob_subst='s/\*/\\\*/g'
   8954  1.1  riastrad 
   8955  1.1  riastrad ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   8956  1.1  riastrad ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   8957  1.1  riastrad ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   8958  1.1  riastrad 
   8959  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   8960  1.1  riastrad $as_echo_n "checking how to print strings... " >&6; }
   8961  1.1  riastrad # Test print first, because it will be a builtin if present.
   8962  1.1  riastrad if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   8963  1.1  riastrad    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   8964  1.1  riastrad   ECHO='print -r --'
   8965  1.1  riastrad elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   8966  1.1  riastrad   ECHO='printf %s\n'
   8967  1.1  riastrad else
   8968  1.1  riastrad   # Use this function as a fallback that always works.
   8969  1.1  riastrad   func_fallback_echo ()
   8970  1.1  riastrad   {
   8971  1.1  riastrad     eval 'cat <<_LTECHO_EOF
   8972  1.1  riastrad $1
   8973  1.1  riastrad _LTECHO_EOF'
   8974  1.1  riastrad   }
   8975  1.1  riastrad   ECHO='func_fallback_echo'
   8976  1.1  riastrad fi
   8977  1.1  riastrad 
   8978  1.1  riastrad # func_echo_all arg...
   8979  1.1  riastrad # Invoke $ECHO with all args, space-separated.
   8980  1.1  riastrad func_echo_all ()
   8981  1.1  riastrad {
   8982  1.1  riastrad     $ECHO ""
   8983  1.1  riastrad }
   8984  1.1  riastrad 
   8985  1.1  riastrad case $ECHO in
   8986  1.1  riastrad   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   8987  1.1  riastrad $as_echo "printf" >&6; } ;;
   8988  1.1  riastrad   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   8989  1.1  riastrad $as_echo "print -r" >&6; } ;;
   8990  1.1  riastrad   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   8991  1.1  riastrad $as_echo "cat" >&6; } ;;
   8992  1.1  riastrad esac
   8993  1.1  riastrad 
   8994  1.1  riastrad 
   8995  1.1  riastrad 
   8996  1.1  riastrad 
   8997  1.1  riastrad 
   8998  1.1  riastrad 
   8999  1.1  riastrad 
   9000  1.1  riastrad 
   9001  1.1  riastrad 
   9002  1.1  riastrad 
   9003  1.1  riastrad 
   9004  1.1  riastrad 
   9005  1.1  riastrad 
   9006  1.1  riastrad 
   9007  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   9008  1.1  riastrad $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   9009  1.1  riastrad if ${ac_cv_path_SED+:} false; then :
   9010  1.1  riastrad   $as_echo_n "(cached) " >&6
   9011  1.1  riastrad else
   9012  1.1  riastrad             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   9013  1.1  riastrad      for ac_i in 1 2 3 4 5 6 7; do
   9014  1.1  riastrad        ac_script="$ac_script$as_nl$ac_script"
   9015  1.1  riastrad      done
   9016  1.1  riastrad      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   9017  1.1  riastrad      { ac_script=; unset ac_script;}
   9018  1.1  riastrad      if test -z "$SED"; then
   9019  1.1  riastrad   ac_path_SED_found=false
   9020  1.1  riastrad   # Loop through the user's path and test for each of PROGNAME-LIST
   9021  1.1  riastrad   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9022  1.1  riastrad for as_dir in $PATH
   9023  1.1  riastrad do
   9024  1.1  riastrad   IFS=$as_save_IFS
   9025  1.1  riastrad   test -z "$as_dir" && as_dir=.
   9026  1.1  riastrad     for ac_prog in sed gsed; do
   9027  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   9028  1.1  riastrad       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   9029  1.1  riastrad       as_fn_executable_p "$ac_path_SED" || continue
   9030  1.1  riastrad # Check for GNU ac_path_SED and select it if it is found.
   9031  1.1  riastrad   # Check for GNU $ac_path_SED
   9032  1.1  riastrad case `"$ac_path_SED" --version 2>&1` in
   9033  1.1  riastrad *GNU*)
   9034  1.1  riastrad   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   9035  1.1  riastrad *)
   9036  1.1  riastrad   ac_count=0
   9037  1.1  riastrad   $as_echo_n 0123456789 >"conftest.in"
   9038  1.1  riastrad   while :
   9039  1.1  riastrad   do
   9040  1.1  riastrad     cat "conftest.in" "conftest.in" >"conftest.tmp"
   9041  1.1  riastrad     mv "conftest.tmp" "conftest.in"
   9042  1.1  riastrad     cp "conftest.in" "conftest.nl"
   9043  1.1  riastrad     $as_echo '' >> "conftest.nl"
   9044  1.1  riastrad     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   9045  1.1  riastrad     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   9046  1.1  riastrad     as_fn_arith $ac_count + 1 && ac_count=$as_val
   9047  1.1  riastrad     if test $ac_count -gt ${ac_path_SED_max-0}; then
   9048  1.1  riastrad       # Best one so far, save it but keep looking for a better one
   9049  1.1  riastrad       ac_cv_path_SED="$ac_path_SED"
   9050  1.1  riastrad       ac_path_SED_max=$ac_count
   9051  1.1  riastrad     fi
   9052  1.1  riastrad     # 10*(2^10) chars as input seems more than enough
   9053  1.1  riastrad     test $ac_count -gt 10 && break
   9054  1.1  riastrad   done
   9055  1.1  riastrad   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   9056  1.1  riastrad esac
   9057  1.1  riastrad 
   9058  1.1  riastrad       $ac_path_SED_found && break 3
   9059  1.1  riastrad     done
   9060  1.1  riastrad   done
   9061  1.1  riastrad   done
   9062  1.1  riastrad IFS=$as_save_IFS
   9063  1.1  riastrad   if test -z "$ac_cv_path_SED"; then
   9064  1.1  riastrad     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   9065  1.1  riastrad   fi
   9066  1.1  riastrad else
   9067  1.1  riastrad   ac_cv_path_SED=$SED
   9068  1.1  riastrad fi
   9069  1.1  riastrad 
   9070  1.1  riastrad fi
   9071  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   9072  1.1  riastrad $as_echo "$ac_cv_path_SED" >&6; }
   9073  1.1  riastrad  SED="$ac_cv_path_SED"
   9074  1.1  riastrad   rm -f conftest.sed
   9075  1.1  riastrad 
   9076  1.1  riastrad test -z "$SED" && SED=sed
   9077  1.1  riastrad Xsed="$SED -e 1s/^X//"
   9078  1.1  riastrad 
   9079  1.1  riastrad 
   9080  1.1  riastrad 
   9081  1.1  riastrad 
   9082  1.1  riastrad 
   9083  1.1  riastrad 
   9084  1.1  riastrad 
   9085  1.1  riastrad 
   9086  1.1  riastrad 
   9087  1.1  riastrad 
   9088  1.1  riastrad 
   9089  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   9090  1.1  riastrad $as_echo_n "checking for fgrep... " >&6; }
   9091  1.1  riastrad if ${ac_cv_path_FGREP+:} false; then :
   9092  1.1  riastrad   $as_echo_n "(cached) " >&6
   9093  1.1  riastrad else
   9094  1.1  riastrad   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   9095  1.1  riastrad    then ac_cv_path_FGREP="$GREP -F"
   9096  1.1  riastrad    else
   9097  1.1  riastrad      if test -z "$FGREP"; then
   9098  1.1  riastrad   ac_path_FGREP_found=false
   9099  1.1  riastrad   # Loop through the user's path and test for each of PROGNAME-LIST
   9100  1.1  riastrad   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9101  1.1  riastrad for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   9102  1.1  riastrad do
   9103  1.1  riastrad   IFS=$as_save_IFS
   9104  1.1  riastrad   test -z "$as_dir" && as_dir=.
   9105  1.1  riastrad     for ac_prog in fgrep; do
   9106  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   9107  1.1  riastrad       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   9108  1.1  riastrad       as_fn_executable_p "$ac_path_FGREP" || continue
   9109  1.1  riastrad # Check for GNU ac_path_FGREP and select it if it is found.
   9110  1.1  riastrad   # Check for GNU $ac_path_FGREP
   9111  1.1  riastrad case `"$ac_path_FGREP" --version 2>&1` in
   9112  1.1  riastrad *GNU*)
   9113  1.1  riastrad   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   9114  1.1  riastrad *)
   9115  1.1  riastrad   ac_count=0
   9116  1.1  riastrad   $as_echo_n 0123456789 >"conftest.in"
   9117  1.1  riastrad   while :
   9118  1.1  riastrad   do
   9119  1.1  riastrad     cat "conftest.in" "conftest.in" >"conftest.tmp"
   9120  1.1  riastrad     mv "conftest.tmp" "conftest.in"
   9121  1.1  riastrad     cp "conftest.in" "conftest.nl"
   9122  1.1  riastrad     $as_echo 'FGREP' >> "conftest.nl"
   9123  1.1  riastrad     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   9124  1.1  riastrad     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   9125  1.1  riastrad     as_fn_arith $ac_count + 1 && ac_count=$as_val
   9126  1.1  riastrad     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   9127  1.1  riastrad       # Best one so far, save it but keep looking for a better one
   9128  1.1  riastrad       ac_cv_path_FGREP="$ac_path_FGREP"
   9129  1.1  riastrad       ac_path_FGREP_max=$ac_count
   9130  1.1  riastrad     fi
   9131  1.1  riastrad     # 10*(2^10) chars as input seems more than enough
   9132  1.1  riastrad     test $ac_count -gt 10 && break
   9133  1.1  riastrad   done
   9134  1.1  riastrad   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   9135  1.1  riastrad esac
   9136  1.1  riastrad 
   9137  1.1  riastrad       $ac_path_FGREP_found && break 3
   9138  1.1  riastrad     done
   9139  1.1  riastrad   done
   9140  1.1  riastrad   done
   9141  1.1  riastrad IFS=$as_save_IFS
   9142  1.1  riastrad   if test -z "$ac_cv_path_FGREP"; then
   9143  1.1  riastrad     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   9144  1.1  riastrad   fi
   9145  1.1  riastrad else
   9146  1.1  riastrad   ac_cv_path_FGREP=$FGREP
   9147  1.1  riastrad fi
   9148  1.1  riastrad 
   9149  1.1  riastrad    fi
   9150  1.1  riastrad fi
   9151  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   9152  1.1  riastrad $as_echo "$ac_cv_path_FGREP" >&6; }
   9153  1.1  riastrad  FGREP="$ac_cv_path_FGREP"
   9154  1.1  riastrad 
   9155  1.1  riastrad 
   9156  1.1  riastrad test -z "$GREP" && GREP=grep
   9157  1.1  riastrad 
   9158  1.1  riastrad 
   9159  1.1  riastrad 
   9160  1.1  riastrad 
   9161  1.1  riastrad 
   9162  1.1  riastrad 
   9163  1.1  riastrad 
   9164  1.1  riastrad 
   9165  1.1  riastrad 
   9166  1.1  riastrad 
   9167  1.1  riastrad 
   9168  1.1  riastrad 
   9169  1.1  riastrad 
   9170  1.1  riastrad 
   9171  1.1  riastrad 
   9172  1.1  riastrad 
   9173  1.1  riastrad 
   9174  1.1  riastrad 
   9175  1.1  riastrad 
   9176  1.1  riastrad # Check whether --with-gnu-ld was given.
   9177  1.1  riastrad if test "${with_gnu_ld+set}" = set; then :
   9178  1.1  riastrad   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   9179  1.1  riastrad else
   9180  1.1  riastrad   with_gnu_ld=no
   9181  1.1  riastrad fi
   9182  1.1  riastrad 
   9183  1.1  riastrad ac_prog=ld
   9184  1.1  riastrad if test yes = "$GCC"; then
   9185  1.1  riastrad   # Check if gcc -print-prog-name=ld gives a path.
   9186  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   9187  1.1  riastrad $as_echo_n "checking for ld used by $CC... " >&6; }
   9188  1.1  riastrad   case $host in
   9189  1.1  riastrad   *-*-mingw*)
   9190  1.1  riastrad     # gcc leaves a trailing carriage return, which upsets mingw
   9191  1.1  riastrad     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   9192  1.1  riastrad   *)
   9193  1.1  riastrad     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   9194  1.1  riastrad   esac
   9195  1.1  riastrad   case $ac_prog in
   9196  1.1  riastrad     # Accept absolute paths.
   9197  1.1  riastrad     [\\/]* | ?:[\\/]*)
   9198  1.1  riastrad       re_direlt='/[^/][^/]*/\.\./'
   9199  1.1  riastrad       # Canonicalize the pathname of ld
   9200  1.1  riastrad       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   9201  1.1  riastrad       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   9202  1.1  riastrad 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   9203  1.1  riastrad       done
   9204  1.1  riastrad       test -z "$LD" && LD=$ac_prog
   9205  1.1  riastrad       ;;
   9206  1.1  riastrad   "")
   9207  1.1  riastrad     # If it fails, then pretend we aren't using GCC.
   9208  1.1  riastrad     ac_prog=ld
   9209  1.1  riastrad     ;;
   9210  1.1  riastrad   *)
   9211  1.1  riastrad     # If it is relative, then search for the first ld in PATH.
   9212  1.1  riastrad     with_gnu_ld=unknown
   9213  1.1  riastrad     ;;
   9214  1.1  riastrad   esac
   9215  1.1  riastrad elif test yes = "$with_gnu_ld"; then
   9216  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   9217  1.1  riastrad $as_echo_n "checking for GNU ld... " >&6; }
   9218  1.1  riastrad else
   9219  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   9220  1.1  riastrad $as_echo_n "checking for non-GNU ld... " >&6; }
   9221  1.1  riastrad fi
   9222  1.1  riastrad if ${lt_cv_path_LD+:} false; then :
   9223  1.1  riastrad   $as_echo_n "(cached) " >&6
   9224  1.1  riastrad else
   9225  1.1  riastrad   if test -z "$LD"; then
   9226  1.1  riastrad   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9227  1.1  riastrad   for ac_dir in $PATH; do
   9228  1.1  riastrad     IFS=$lt_save_ifs
   9229  1.1  riastrad     test -z "$ac_dir" && ac_dir=.
   9230  1.1  riastrad     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   9231  1.1  riastrad       lt_cv_path_LD=$ac_dir/$ac_prog
   9232  1.1  riastrad       # Check to see if the program is GNU ld.  I'd rather use --version,
   9233  1.1  riastrad       # but apparently some variants of GNU ld only accept -v.
   9234  1.1  riastrad       # Break only if it was the GNU/non-GNU ld that we prefer.
   9235  1.1  riastrad       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   9236  1.1  riastrad       *GNU* | *'with BFD'*)
   9237  1.1  riastrad 	test no != "$with_gnu_ld" && break
   9238  1.1  riastrad 	;;
   9239  1.1  riastrad       *)
   9240  1.1  riastrad 	test yes != "$with_gnu_ld" && break
   9241  1.1  riastrad 	;;
   9242  1.1  riastrad       esac
   9243  1.1  riastrad     fi
   9244  1.1  riastrad   done
   9245  1.1  riastrad   IFS=$lt_save_ifs
   9246  1.1  riastrad else
   9247  1.1  riastrad   lt_cv_path_LD=$LD # Let the user override the test with a path.
   9248  1.1  riastrad fi
   9249  1.1  riastrad fi
   9250  1.1  riastrad 
   9251  1.1  riastrad LD=$lt_cv_path_LD
   9252  1.1  riastrad if test -n "$LD"; then
   9253  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   9254  1.1  riastrad $as_echo "$LD" >&6; }
   9255  1.1  riastrad else
   9256  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9257  1.1  riastrad $as_echo "no" >&6; }
   9258  1.1  riastrad fi
   9259  1.1  riastrad test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   9260  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   9261  1.1  riastrad $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   9262  1.1  riastrad if ${lt_cv_prog_gnu_ld+:} false; then :
   9263  1.1  riastrad   $as_echo_n "(cached) " >&6
   9264  1.1  riastrad else
   9265  1.1  riastrad   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   9266  1.1  riastrad case `$LD -v 2>&1 </dev/null` in
   9267  1.1  riastrad *GNU* | *'with BFD'*)
   9268  1.1  riastrad   lt_cv_prog_gnu_ld=yes
   9269  1.1  riastrad   ;;
   9270  1.1  riastrad *)
   9271  1.1  riastrad   lt_cv_prog_gnu_ld=no
   9272  1.1  riastrad   ;;
   9273  1.1  riastrad esac
   9274  1.1  riastrad fi
   9275  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   9276  1.1  riastrad $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   9277  1.1  riastrad with_gnu_ld=$lt_cv_prog_gnu_ld
   9278  1.1  riastrad 
   9279  1.1  riastrad 
   9280  1.1  riastrad 
   9281  1.1  riastrad 
   9282  1.1  riastrad 
   9283  1.1  riastrad 
   9284  1.1  riastrad 
   9285  1.1  riastrad 
   9286  1.1  riastrad 
   9287  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   9288  1.1  riastrad $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   9289  1.1  riastrad if ${lt_cv_path_NM+:} false; then :
   9290  1.1  riastrad   $as_echo_n "(cached) " >&6
   9291  1.1  riastrad else
   9292  1.1  riastrad   if test -n "$NM"; then
   9293  1.1  riastrad   # Let the user override the test.
   9294  1.1  riastrad   lt_cv_path_NM=$NM
   9295  1.1  riastrad else
   9296  1.1  riastrad   lt_nm_to_check=${ac_tool_prefix}nm
   9297  1.1  riastrad   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   9298  1.1  riastrad     lt_nm_to_check="$lt_nm_to_check nm"
   9299  1.1  riastrad   fi
   9300  1.1  riastrad   for lt_tmp_nm in $lt_nm_to_check; do
   9301  1.1  riastrad     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9302  1.1  riastrad     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   9303  1.1  riastrad       IFS=$lt_save_ifs
   9304  1.1  riastrad       test -z "$ac_dir" && ac_dir=.
   9305  1.1  riastrad       tmp_nm=$ac_dir/$lt_tmp_nm
   9306  1.1  riastrad       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   9307  1.1  riastrad 	# Check to see if the nm accepts a BSD-compat flag.
   9308  1.1  riastrad 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   9309  1.1  riastrad 	#   nm: unknown option "B" ignored
   9310  1.1  riastrad 	# Tru64's nm complains that /dev/null is an invalid object file
   9311  1.1  riastrad 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   9312  1.1  riastrad 	case $build_os in
   9313  1.1  riastrad 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   9314  1.1  riastrad 	*) lt_bad_file=/dev/null ;;
   9315  1.1  riastrad 	esac
   9316  1.1  riastrad 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   9317  1.1  riastrad 	*$lt_bad_file* | *'Invalid file or object type'*)
   9318  1.1  riastrad 	  lt_cv_path_NM="$tmp_nm -B"
   9319  1.1  riastrad 	  break 2
   9320  1.1  riastrad 	  ;;
   9321  1.1  riastrad 	*)
   9322  1.1  riastrad 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   9323  1.1  riastrad 	  */dev/null*)
   9324  1.1  riastrad 	    lt_cv_path_NM="$tmp_nm -p"
   9325  1.1  riastrad 	    break 2
   9326  1.1  riastrad 	    ;;
   9327  1.1  riastrad 	  *)
   9328  1.1  riastrad 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   9329  1.1  riastrad 	    continue # so that we can try to find one that supports BSD flags
   9330  1.1  riastrad 	    ;;
   9331  1.1  riastrad 	  esac
   9332  1.1  riastrad 	  ;;
   9333  1.1  riastrad 	esac
   9334  1.1  riastrad       fi
   9335  1.1  riastrad     done
   9336  1.1  riastrad     IFS=$lt_save_ifs
   9337  1.1  riastrad   done
   9338  1.1  riastrad   : ${lt_cv_path_NM=no}
   9339  1.1  riastrad fi
   9340  1.1  riastrad fi
   9341  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   9342  1.1  riastrad $as_echo "$lt_cv_path_NM" >&6; }
   9343  1.1  riastrad if test no != "$lt_cv_path_NM"; then
   9344  1.1  riastrad   NM=$lt_cv_path_NM
   9345  1.1  riastrad else
   9346  1.1  riastrad   # Didn't find any BSD compatible name lister, look for dumpbin.
   9347  1.1  riastrad   if test -n "$DUMPBIN"; then :
   9348  1.1  riastrad     # Let the user override the test.
   9349  1.1  riastrad   else
   9350  1.1  riastrad     if test -n "$ac_tool_prefix"; then
   9351  1.1  riastrad   for ac_prog in dumpbin "link -dump"
   9352  1.1  riastrad   do
   9353  1.1  riastrad     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   9354  1.1  riastrad set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   9355  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9356  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   9357  1.1  riastrad if ${ac_cv_prog_DUMPBIN+:} false; then :
   9358  1.1  riastrad   $as_echo_n "(cached) " >&6
   9359  1.1  riastrad else
   9360  1.1  riastrad   if test -n "$DUMPBIN"; then
   9361  1.1  riastrad   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   9362  1.1  riastrad else
   9363  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9364  1.1  riastrad for as_dir in $PATH
   9365  1.1  riastrad do
   9366  1.1  riastrad   IFS=$as_save_IFS
   9367  1.1  riastrad   test -z "$as_dir" && as_dir=.
   9368  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   9369  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9370  1.1  riastrad     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   9371  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9372  1.1  riastrad     break 2
   9373  1.1  riastrad   fi
   9374  1.1  riastrad done
   9375  1.1  riastrad   done
   9376  1.1  riastrad IFS=$as_save_IFS
   9377  1.1  riastrad 
   9378  1.1  riastrad fi
   9379  1.1  riastrad fi
   9380  1.1  riastrad DUMPBIN=$ac_cv_prog_DUMPBIN
   9381  1.1  riastrad if test -n "$DUMPBIN"; then
   9382  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   9383  1.1  riastrad $as_echo "$DUMPBIN" >&6; }
   9384  1.1  riastrad else
   9385  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9386  1.1  riastrad $as_echo "no" >&6; }
   9387  1.1  riastrad fi
   9388  1.1  riastrad 
   9389  1.1  riastrad 
   9390  1.1  riastrad     test -n "$DUMPBIN" && break
   9391  1.1  riastrad   done
   9392  1.1  riastrad fi
   9393  1.1  riastrad if test -z "$DUMPBIN"; then
   9394  1.1  riastrad   ac_ct_DUMPBIN=$DUMPBIN
   9395  1.1  riastrad   for ac_prog in dumpbin "link -dump"
   9396  1.1  riastrad do
   9397  1.1  riastrad   # Extract the first word of "$ac_prog", so it can be a program name with args.
   9398  1.1  riastrad set dummy $ac_prog; ac_word=$2
   9399  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9400  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   9401  1.1  riastrad if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   9402  1.1  riastrad   $as_echo_n "(cached) " >&6
   9403  1.1  riastrad else
   9404  1.1  riastrad   if test -n "$ac_ct_DUMPBIN"; then
   9405  1.1  riastrad   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   9406  1.1  riastrad else
   9407  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9408  1.1  riastrad for as_dir in $PATH
   9409  1.1  riastrad do
   9410  1.1  riastrad   IFS=$as_save_IFS
   9411  1.1  riastrad   test -z "$as_dir" && as_dir=.
   9412  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   9413  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9414  1.1  riastrad     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   9415  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9416  1.1  riastrad     break 2
   9417  1.1  riastrad   fi
   9418  1.1  riastrad done
   9419  1.1  riastrad   done
   9420  1.1  riastrad IFS=$as_save_IFS
   9421  1.1  riastrad 
   9422  1.1  riastrad fi
   9423  1.1  riastrad fi
   9424  1.1  riastrad ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   9425  1.1  riastrad if test -n "$ac_ct_DUMPBIN"; then
   9426  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   9427  1.1  riastrad $as_echo "$ac_ct_DUMPBIN" >&6; }
   9428  1.1  riastrad else
   9429  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9430  1.1  riastrad $as_echo "no" >&6; }
   9431  1.1  riastrad fi
   9432  1.1  riastrad 
   9433  1.1  riastrad 
   9434  1.1  riastrad   test -n "$ac_ct_DUMPBIN" && break
   9435  1.1  riastrad done
   9436  1.1  riastrad 
   9437  1.1  riastrad   if test "x$ac_ct_DUMPBIN" = x; then
   9438  1.1  riastrad     DUMPBIN=":"
   9439  1.1  riastrad   else
   9440  1.1  riastrad     case $cross_compiling:$ac_tool_warned in
   9441  1.1  riastrad yes:)
   9442  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9443  1.1  riastrad $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9444  1.1  riastrad ac_tool_warned=yes ;;
   9445  1.1  riastrad esac
   9446  1.1  riastrad     DUMPBIN=$ac_ct_DUMPBIN
   9447  1.1  riastrad   fi
   9448  1.1  riastrad fi
   9449  1.1  riastrad 
   9450  1.1  riastrad     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   9451  1.1  riastrad     *COFF*)
   9452  1.1  riastrad       DUMPBIN="$DUMPBIN -symbols -headers"
   9453  1.1  riastrad       ;;
   9454  1.1  riastrad     *)
   9455  1.1  riastrad       DUMPBIN=:
   9456  1.1  riastrad       ;;
   9457  1.1  riastrad     esac
   9458  1.1  riastrad   fi
   9459  1.1  riastrad 
   9460  1.1  riastrad   if test : != "$DUMPBIN"; then
   9461  1.1  riastrad     NM=$DUMPBIN
   9462  1.1  riastrad   fi
   9463  1.1  riastrad fi
   9464  1.1  riastrad test -z "$NM" && NM=nm
   9465  1.1  riastrad 
   9466  1.1  riastrad 
   9467  1.1  riastrad 
   9468  1.1  riastrad 
   9469  1.1  riastrad 
   9470  1.1  riastrad 
   9471  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   9472  1.1  riastrad $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   9473  1.1  riastrad if ${lt_cv_nm_interface+:} false; then :
   9474  1.1  riastrad   $as_echo_n "(cached) " >&6
   9475  1.1  riastrad else
   9476  1.1  riastrad   lt_cv_nm_interface="BSD nm"
   9477  1.1  riastrad   echo "int some_variable = 0;" > conftest.$ac_ext
   9478  1.1  riastrad   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   9479  1.1  riastrad   (eval "$ac_compile" 2>conftest.err)
   9480  1.1  riastrad   cat conftest.err >&5
   9481  1.1  riastrad   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   9482  1.1  riastrad   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   9483  1.1  riastrad   cat conftest.err >&5
   9484  1.1  riastrad   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   9485  1.1  riastrad   cat conftest.out >&5
   9486  1.1  riastrad   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   9487  1.1  riastrad     lt_cv_nm_interface="MS dumpbin"
   9488  1.1  riastrad   fi
   9489  1.1  riastrad   rm -f conftest*
   9490  1.1  riastrad fi
   9491  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   9492  1.1  riastrad $as_echo "$lt_cv_nm_interface" >&6; }
   9493  1.1  riastrad 
   9494  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   9495  1.1  riastrad $as_echo_n "checking whether ln -s works... " >&6; }
   9496  1.1  riastrad LN_S=$as_ln_s
   9497  1.1  riastrad if test "$LN_S" = "ln -s"; then
   9498  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   9499  1.1  riastrad $as_echo "yes" >&6; }
   9500  1.1  riastrad else
   9501  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   9502  1.1  riastrad $as_echo "no, using $LN_S" >&6; }
   9503  1.1  riastrad fi
   9504  1.1  riastrad 
   9505  1.1  riastrad # find the maximum length of command line arguments
   9506  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   9507  1.1  riastrad $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   9508  1.1  riastrad if ${lt_cv_sys_max_cmd_len+:} false; then :
   9509  1.1  riastrad   $as_echo_n "(cached) " >&6
   9510  1.1  riastrad else
   9511  1.1  riastrad     i=0
   9512  1.1  riastrad   teststring=ABCD
   9513  1.1  riastrad 
   9514  1.1  riastrad   case $build_os in
   9515  1.1  riastrad   msdosdjgpp*)
   9516  1.1  riastrad     # On DJGPP, this test can blow up pretty badly due to problems in libc
   9517  1.1  riastrad     # (any single argument exceeding 2000 bytes causes a buffer overrun
   9518  1.1  riastrad     # during glob expansion).  Even if it were fixed, the result of this
   9519  1.1  riastrad     # check would be larger than it should be.
   9520  1.1  riastrad     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   9521  1.1  riastrad     ;;
   9522  1.1  riastrad 
   9523  1.1  riastrad   gnu*)
   9524  1.1  riastrad     # Under GNU Hurd, this test is not required because there is
   9525  1.1  riastrad     # no limit to the length of command line arguments.
   9526  1.1  riastrad     # Libtool will interpret -1 as no limit whatsoever
   9527  1.1  riastrad     lt_cv_sys_max_cmd_len=-1;
   9528  1.1  riastrad     ;;
   9529  1.1  riastrad 
   9530  1.1  riastrad   cygwin* | mingw* | cegcc*)
   9531  1.1  riastrad     # On Win9x/ME, this test blows up -- it succeeds, but takes
   9532  1.1  riastrad     # about 5 minutes as the teststring grows exponentially.
   9533  1.1  riastrad     # Worse, since 9x/ME are not pre-emptively multitasking,
   9534  1.1  riastrad     # you end up with a "frozen" computer, even though with patience
   9535  1.1  riastrad     # the test eventually succeeds (with a max line length of 256k).
   9536  1.1  riastrad     # Instead, let's just punt: use the minimum linelength reported by
   9537  1.1  riastrad     # all of the supported platforms: 8192 (on NT/2K/XP).
   9538  1.1  riastrad     lt_cv_sys_max_cmd_len=8192;
   9539  1.1  riastrad     ;;
   9540  1.1  riastrad 
   9541  1.1  riastrad   mint*)
   9542  1.1  riastrad     # On MiNT this can take a long time and run out of memory.
   9543  1.1  riastrad     lt_cv_sys_max_cmd_len=8192;
   9544  1.1  riastrad     ;;
   9545  1.1  riastrad 
   9546  1.1  riastrad   amigaos*)
   9547  1.1  riastrad     # On AmigaOS with pdksh, this test takes hours, literally.
   9548  1.1  riastrad     # So we just punt and use a minimum line length of 8192.
   9549  1.1  riastrad     lt_cv_sys_max_cmd_len=8192;
   9550  1.1  riastrad     ;;
   9551  1.1  riastrad 
   9552  1.1  riastrad   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   9553  1.1  riastrad     # This has been around since 386BSD, at least.  Likely further.
   9554  1.1  riastrad     if test -x /sbin/sysctl; then
   9555  1.1  riastrad       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   9556  1.1  riastrad     elif test -x /usr/sbin/sysctl; then
   9557  1.1  riastrad       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   9558  1.1  riastrad     else
   9559  1.1  riastrad       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   9560  1.1  riastrad     fi
   9561  1.1  riastrad     # And add a safety zone
   9562  1.1  riastrad     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   9563  1.1  riastrad     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   9564  1.1  riastrad     ;;
   9565  1.1  riastrad 
   9566  1.1  riastrad   interix*)
   9567  1.1  riastrad     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   9568  1.1  riastrad     lt_cv_sys_max_cmd_len=196608
   9569  1.1  riastrad     ;;
   9570  1.1  riastrad 
   9571  1.1  riastrad   os2*)
   9572  1.1  riastrad     # The test takes a long time on OS/2.
   9573  1.1  riastrad     lt_cv_sys_max_cmd_len=8192
   9574  1.1  riastrad     ;;
   9575  1.1  riastrad 
   9576  1.1  riastrad   osf*)
   9577  1.1  riastrad     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   9578  1.1  riastrad     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   9579  1.1  riastrad     # nice to cause kernel panics so lets avoid the loop below.
   9580  1.1  riastrad     # First set a reasonable default.
   9581  1.1  riastrad     lt_cv_sys_max_cmd_len=16384
   9582  1.1  riastrad     #
   9583  1.1  riastrad     if test -x /sbin/sysconfig; then
   9584  1.1  riastrad       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   9585  1.1  riastrad         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   9586  1.1  riastrad       esac
   9587  1.1  riastrad     fi
   9588  1.1  riastrad     ;;
   9589  1.1  riastrad   sco3.2v5*)
   9590  1.1  riastrad     lt_cv_sys_max_cmd_len=102400
   9591  1.1  riastrad     ;;
   9592  1.1  riastrad   sysv5* | sco5v6* | sysv4.2uw2*)
   9593  1.1  riastrad     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   9594  1.1  riastrad     if test -n "$kargmax"; then
   9595  1.1  riastrad       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   9596  1.1  riastrad     else
   9597  1.1  riastrad       lt_cv_sys_max_cmd_len=32768
   9598  1.1  riastrad     fi
   9599  1.1  riastrad     ;;
   9600  1.1  riastrad   *)
   9601  1.1  riastrad     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   9602  1.1  riastrad     if test -n "$lt_cv_sys_max_cmd_len" && \
   9603  1.1  riastrad        test undefined != "$lt_cv_sys_max_cmd_len"; then
   9604  1.1  riastrad       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   9605  1.1  riastrad       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   9606  1.1  riastrad     else
   9607  1.1  riastrad       # Make teststring a little bigger before we do anything with it.
   9608  1.1  riastrad       # a 1K string should be a reasonable start.
   9609  1.1  riastrad       for i in 1 2 3 4 5 6 7 8; do
   9610  1.1  riastrad         teststring=$teststring$teststring
   9611  1.1  riastrad       done
   9612  1.1  riastrad       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   9613  1.1  riastrad       # If test is not a shell built-in, we'll probably end up computing a
   9614  1.1  riastrad       # maximum length that is only half of the actual maximum length, but
   9615  1.1  riastrad       # we can't tell.
   9616  1.1  riastrad       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   9617  1.1  riastrad 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   9618  1.1  riastrad 	      test 17 != "$i" # 1/2 MB should be enough
   9619  1.1  riastrad       do
   9620  1.1  riastrad         i=`expr $i + 1`
   9621  1.1  riastrad         teststring=$teststring$teststring
   9622  1.1  riastrad       done
   9623  1.1  riastrad       # Only check the string length outside the loop.
   9624  1.1  riastrad       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   9625  1.1  riastrad       teststring=
   9626  1.1  riastrad       # Add a significant safety factor because C++ compilers can tack on
   9627  1.1  riastrad       # massive amounts of additional arguments before passing them to the
   9628  1.1  riastrad       # linker.  It appears as though 1/2 is a usable value.
   9629  1.1  riastrad       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   9630  1.1  riastrad     fi
   9631  1.1  riastrad     ;;
   9632  1.1  riastrad   esac
   9633  1.1  riastrad 
   9634  1.1  riastrad fi
   9635  1.1  riastrad 
   9636  1.1  riastrad if test -n "$lt_cv_sys_max_cmd_len"; then
   9637  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   9638  1.1  riastrad $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   9639  1.1  riastrad else
   9640  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   9641  1.1  riastrad $as_echo "none" >&6; }
   9642  1.1  riastrad fi
   9643  1.1  riastrad max_cmd_len=$lt_cv_sys_max_cmd_len
   9644  1.1  riastrad 
   9645  1.1  riastrad 
   9646  1.1  riastrad 
   9647  1.1  riastrad 
   9648  1.1  riastrad 
   9649  1.1  riastrad 
   9650  1.1  riastrad : ${CP="cp -f"}
   9651  1.1  riastrad : ${MV="mv -f"}
   9652  1.1  riastrad : ${RM="rm -f"}
   9653  1.1  riastrad 
   9654  1.1  riastrad if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   9655  1.1  riastrad   lt_unset=unset
   9656  1.1  riastrad else
   9657  1.1  riastrad   lt_unset=false
   9658  1.1  riastrad fi
   9659  1.1  riastrad 
   9660  1.1  riastrad 
   9661  1.1  riastrad 
   9662  1.1  riastrad 
   9663  1.1  riastrad 
   9664  1.1  riastrad # test EBCDIC or ASCII
   9665  1.1  riastrad case `echo X|tr X '\101'` in
   9666  1.1  riastrad  A) # ASCII based system
   9667  1.1  riastrad     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   9668  1.1  riastrad   lt_SP2NL='tr \040 \012'
   9669  1.1  riastrad   lt_NL2SP='tr \015\012 \040\040'
   9670  1.1  riastrad   ;;
   9671  1.1  riastrad  *) # EBCDIC based system
   9672  1.1  riastrad   lt_SP2NL='tr \100 \n'
   9673  1.1  riastrad   lt_NL2SP='tr \r\n \100\100'
   9674  1.1  riastrad   ;;
   9675  1.1  riastrad esac
   9676  1.1  riastrad 
   9677  1.1  riastrad 
   9678  1.1  riastrad 
   9679  1.1  riastrad 
   9680  1.1  riastrad 
   9681  1.1  riastrad 
   9682  1.1  riastrad 
   9683  1.1  riastrad 
   9684  1.1  riastrad 
   9685  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   9686  1.1  riastrad $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   9687  1.1  riastrad if ${lt_cv_to_host_file_cmd+:} false; then :
   9688  1.1  riastrad   $as_echo_n "(cached) " >&6
   9689  1.1  riastrad else
   9690  1.1  riastrad   case $host in
   9691  1.1  riastrad   *-*-mingw* )
   9692  1.1  riastrad     case $build in
   9693  1.1  riastrad       *-*-mingw* ) # actually msys
   9694  1.1  riastrad         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   9695  1.1  riastrad         ;;
   9696  1.1  riastrad       *-*-cygwin* )
   9697  1.1  riastrad         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   9698  1.1  riastrad         ;;
   9699  1.1  riastrad       * ) # otherwise, assume *nix
   9700  1.1  riastrad         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   9701  1.1  riastrad         ;;
   9702  1.1  riastrad     esac
   9703  1.1  riastrad     ;;
   9704  1.1  riastrad   *-*-cygwin* )
   9705  1.1  riastrad     case $build in
   9706  1.1  riastrad       *-*-mingw* ) # actually msys
   9707  1.1  riastrad         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   9708  1.1  riastrad         ;;
   9709  1.1  riastrad       *-*-cygwin* )
   9710  1.1  riastrad         lt_cv_to_host_file_cmd=func_convert_file_noop
   9711  1.1  riastrad         ;;
   9712  1.1  riastrad       * ) # otherwise, assume *nix
   9713  1.1  riastrad         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   9714  1.1  riastrad         ;;
   9715  1.1  riastrad     esac
   9716  1.1  riastrad     ;;
   9717  1.1  riastrad   * ) # unhandled hosts (and "normal" native builds)
   9718  1.1  riastrad     lt_cv_to_host_file_cmd=func_convert_file_noop
   9719  1.1  riastrad     ;;
   9720  1.1  riastrad esac
   9721  1.1  riastrad 
   9722  1.1  riastrad fi
   9723  1.1  riastrad 
   9724  1.1  riastrad to_host_file_cmd=$lt_cv_to_host_file_cmd
   9725  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   9726  1.1  riastrad $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   9727  1.1  riastrad 
   9728  1.1  riastrad 
   9729  1.1  riastrad 
   9730  1.1  riastrad 
   9731  1.1  riastrad 
   9732  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   9733  1.1  riastrad $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   9734  1.1  riastrad if ${lt_cv_to_tool_file_cmd+:} false; then :
   9735  1.1  riastrad   $as_echo_n "(cached) " >&6
   9736  1.1  riastrad else
   9737  1.1  riastrad   #assume ordinary cross tools, or native build.
   9738  1.1  riastrad lt_cv_to_tool_file_cmd=func_convert_file_noop
   9739  1.1  riastrad case $host in
   9740  1.1  riastrad   *-*-mingw* )
   9741  1.1  riastrad     case $build in
   9742  1.1  riastrad       *-*-mingw* ) # actually msys
   9743  1.1  riastrad         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   9744  1.1  riastrad         ;;
   9745  1.1  riastrad     esac
   9746  1.1  riastrad     ;;
   9747  1.1  riastrad esac
   9748  1.1  riastrad 
   9749  1.1  riastrad fi
   9750  1.1  riastrad 
   9751  1.1  riastrad to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   9752  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   9753  1.1  riastrad $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   9754  1.1  riastrad 
   9755  1.1  riastrad 
   9756  1.1  riastrad 
   9757  1.1  riastrad 
   9758  1.1  riastrad 
   9759  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   9760  1.1  riastrad $as_echo_n "checking for $LD option to reload object files... " >&6; }
   9761  1.1  riastrad if ${lt_cv_ld_reload_flag+:} false; then :
   9762  1.1  riastrad   $as_echo_n "(cached) " >&6
   9763  1.1  riastrad else
   9764  1.1  riastrad   lt_cv_ld_reload_flag='-r'
   9765  1.1  riastrad fi
   9766  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   9767  1.1  riastrad $as_echo "$lt_cv_ld_reload_flag" >&6; }
   9768  1.1  riastrad reload_flag=$lt_cv_ld_reload_flag
   9769  1.1  riastrad case $reload_flag in
   9770  1.1  riastrad "" | " "*) ;;
   9771  1.1  riastrad *) reload_flag=" $reload_flag" ;;
   9772  1.1  riastrad esac
   9773  1.1  riastrad reload_cmds='$LD$reload_flag -o $output$reload_objs'
   9774  1.1  riastrad case $host_os in
   9775  1.1  riastrad   cygwin* | mingw* | pw32* | cegcc*)
   9776  1.1  riastrad     if test yes != "$GCC"; then
   9777  1.1  riastrad       reload_cmds=false
   9778  1.1  riastrad     fi
   9779  1.1  riastrad     ;;
   9780  1.1  riastrad   darwin*)
   9781  1.1  riastrad     if test yes = "$GCC"; then
   9782  1.1  riastrad       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   9783  1.1  riastrad     else
   9784  1.1  riastrad       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   9785  1.1  riastrad     fi
   9786  1.1  riastrad     ;;
   9787  1.1  riastrad esac
   9788  1.1  riastrad 
   9789  1.1  riastrad 
   9790  1.1  riastrad 
   9791  1.1  riastrad 
   9792  1.1  riastrad 
   9793  1.1  riastrad 
   9794  1.1  riastrad 
   9795  1.1  riastrad 
   9796  1.1  riastrad 
   9797  1.1  riastrad if test -n "$ac_tool_prefix"; then
   9798  1.1  riastrad   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   9799  1.1  riastrad set dummy ${ac_tool_prefix}objdump; ac_word=$2
   9800  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9801  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   9802  1.1  riastrad if ${ac_cv_prog_OBJDUMP+:} false; then :
   9803  1.1  riastrad   $as_echo_n "(cached) " >&6
   9804  1.1  riastrad else
   9805  1.1  riastrad   if test -n "$OBJDUMP"; then
   9806  1.1  riastrad   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   9807  1.1  riastrad else
   9808  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9809  1.1  riastrad for as_dir in $PATH
   9810  1.1  riastrad do
   9811  1.1  riastrad   IFS=$as_save_IFS
   9812  1.1  riastrad   test -z "$as_dir" && as_dir=.
   9813  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   9814  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9815  1.1  riastrad     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   9816  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9817  1.1  riastrad     break 2
   9818  1.1  riastrad   fi
   9819  1.1  riastrad done
   9820  1.1  riastrad   done
   9821  1.1  riastrad IFS=$as_save_IFS
   9822  1.1  riastrad 
   9823  1.1  riastrad fi
   9824  1.1  riastrad fi
   9825  1.1  riastrad OBJDUMP=$ac_cv_prog_OBJDUMP
   9826  1.1  riastrad if test -n "$OBJDUMP"; then
   9827  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   9828  1.1  riastrad $as_echo "$OBJDUMP" >&6; }
   9829  1.1  riastrad else
   9830  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9831  1.1  riastrad $as_echo "no" >&6; }
   9832  1.1  riastrad fi
   9833  1.1  riastrad 
   9834  1.1  riastrad 
   9835  1.1  riastrad fi
   9836  1.1  riastrad if test -z "$ac_cv_prog_OBJDUMP"; then
   9837  1.1  riastrad   ac_ct_OBJDUMP=$OBJDUMP
   9838  1.1  riastrad   # Extract the first word of "objdump", so it can be a program name with args.
   9839  1.1  riastrad set dummy objdump; ac_word=$2
   9840  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9841  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   9842  1.1  riastrad if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   9843  1.1  riastrad   $as_echo_n "(cached) " >&6
   9844  1.1  riastrad else
   9845  1.1  riastrad   if test -n "$ac_ct_OBJDUMP"; then
   9846  1.1  riastrad   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   9847  1.1  riastrad else
   9848  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9849  1.1  riastrad for as_dir in $PATH
   9850  1.1  riastrad do
   9851  1.1  riastrad   IFS=$as_save_IFS
   9852  1.1  riastrad   test -z "$as_dir" && as_dir=.
   9853  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   9854  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9855  1.1  riastrad     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   9856  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9857  1.1  riastrad     break 2
   9858  1.1  riastrad   fi
   9859  1.1  riastrad done
   9860  1.1  riastrad   done
   9861  1.1  riastrad IFS=$as_save_IFS
   9862  1.1  riastrad 
   9863  1.1  riastrad fi
   9864  1.1  riastrad fi
   9865  1.1  riastrad ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   9866  1.1  riastrad if test -n "$ac_ct_OBJDUMP"; then
   9867  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   9868  1.1  riastrad $as_echo "$ac_ct_OBJDUMP" >&6; }
   9869  1.1  riastrad else
   9870  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9871  1.1  riastrad $as_echo "no" >&6; }
   9872  1.1  riastrad fi
   9873  1.1  riastrad 
   9874  1.1  riastrad   if test "x$ac_ct_OBJDUMP" = x; then
   9875  1.1  riastrad     OBJDUMP="false"
   9876  1.1  riastrad   else
   9877  1.1  riastrad     case $cross_compiling:$ac_tool_warned in
   9878  1.1  riastrad yes:)
   9879  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9880  1.1  riastrad $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9881  1.1  riastrad ac_tool_warned=yes ;;
   9882  1.1  riastrad esac
   9883  1.1  riastrad     OBJDUMP=$ac_ct_OBJDUMP
   9884  1.1  riastrad   fi
   9885  1.1  riastrad else
   9886  1.1  riastrad   OBJDUMP="$ac_cv_prog_OBJDUMP"
   9887  1.1  riastrad fi
   9888  1.1  riastrad 
   9889  1.1  riastrad test -z "$OBJDUMP" && OBJDUMP=objdump
   9890  1.1  riastrad 
   9891  1.1  riastrad 
   9892  1.1  riastrad 
   9893  1.1  riastrad 
   9894  1.1  riastrad 
   9895  1.1  riastrad 
   9896  1.1  riastrad 
   9897  1.1  riastrad 
   9898  1.1  riastrad 
   9899  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   9900  1.1  riastrad $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   9901  1.1  riastrad if ${lt_cv_deplibs_check_method+:} false; then :
   9902  1.1  riastrad   $as_echo_n "(cached) " >&6
   9903  1.1  riastrad else
   9904  1.1  riastrad   lt_cv_file_magic_cmd='$MAGIC_CMD'
   9905  1.1  riastrad lt_cv_file_magic_test_file=
   9906  1.1  riastrad lt_cv_deplibs_check_method='unknown'
   9907  1.1  riastrad # Need to set the preceding variable on all platforms that support
   9908  1.1  riastrad # interlibrary dependencies.
   9909  1.1  riastrad # 'none' -- dependencies not supported.
   9910  1.1  riastrad # 'unknown' -- same as none, but documents that we really don't know.
   9911  1.1  riastrad # 'pass_all' -- all dependencies passed with no checks.
   9912  1.1  riastrad # 'test_compile' -- check by making test program.
   9913  1.1  riastrad # 'file_magic [[regex]]' -- check by looking for files in library path
   9914  1.1  riastrad # that responds to the $file_magic_cmd with a given extended regex.
   9915  1.1  riastrad # If you have 'file' or equivalent on your system and you're not sure
   9916  1.1  riastrad # whether 'pass_all' will *always* work, you probably want this one.
   9917  1.1  riastrad 
   9918  1.1  riastrad case $host_os in
   9919  1.1  riastrad aix[4-9]*)
   9920  1.1  riastrad   lt_cv_deplibs_check_method=pass_all
   9921  1.1  riastrad   ;;
   9922  1.1  riastrad 
   9923  1.1  riastrad beos*)
   9924  1.1  riastrad   lt_cv_deplibs_check_method=pass_all
   9925  1.1  riastrad   ;;
   9926  1.1  riastrad 
   9927  1.1  riastrad bsdi[45]*)
   9928  1.1  riastrad   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   9929  1.1  riastrad   lt_cv_file_magic_cmd='/usr/bin/file -L'
   9930  1.1  riastrad   lt_cv_file_magic_test_file=/shlib/libc.so
   9931  1.1  riastrad   ;;
   9932  1.1  riastrad 
   9933  1.1  riastrad cygwin*)
   9934  1.1  riastrad   # func_win32_libid is a shell function defined in ltmain.sh
   9935  1.1  riastrad   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   9936  1.1  riastrad   lt_cv_file_magic_cmd='func_win32_libid'
   9937  1.1  riastrad   ;;
   9938  1.1  riastrad 
   9939  1.1  riastrad mingw* | pw32*)
   9940  1.1  riastrad   # Base MSYS/MinGW do not provide the 'file' command needed by
   9941  1.1  riastrad   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   9942  1.1  riastrad   # unless we find 'file', for example because we are cross-compiling.
   9943  1.1  riastrad   if ( file / ) >/dev/null 2>&1; then
   9944  1.1  riastrad     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   9945  1.1  riastrad     lt_cv_file_magic_cmd='func_win32_libid'
   9946  1.1  riastrad   else
   9947  1.1  riastrad     # Keep this pattern in sync with the one in func_win32_libid.
   9948  1.1  riastrad     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   9949  1.1  riastrad     lt_cv_file_magic_cmd='$OBJDUMP -f'
   9950  1.1  riastrad   fi
   9951  1.1  riastrad   ;;
   9952  1.1  riastrad 
   9953  1.1  riastrad cegcc*)
   9954  1.1  riastrad   # use the weaker test based on 'objdump'. See mingw*.
   9955  1.1  riastrad   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   9956  1.1  riastrad   lt_cv_file_magic_cmd='$OBJDUMP -f'
   9957  1.1  riastrad   ;;
   9958  1.1  riastrad 
   9959  1.1  riastrad darwin* | rhapsody*)
   9960  1.1  riastrad   lt_cv_deplibs_check_method=pass_all
   9961  1.1  riastrad   ;;
   9962  1.1  riastrad 
   9963  1.1  riastrad freebsd* | dragonfly*)
   9964  1.1  riastrad   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   9965  1.1  riastrad     case $host_cpu in
   9966  1.1  riastrad     i*86 )
   9967  1.1  riastrad       # Not sure whether the presence of OpenBSD here was a mistake.
   9968  1.1  riastrad       # Let's accept both of them until this is cleared up.
   9969  1.1  riastrad       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   9970  1.1  riastrad       lt_cv_file_magic_cmd=/usr/bin/file
   9971  1.1  riastrad       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   9972  1.1  riastrad       ;;
   9973  1.1  riastrad     esac
   9974  1.1  riastrad   else
   9975  1.1  riastrad     lt_cv_deplibs_check_method=pass_all
   9976  1.1  riastrad   fi
   9977  1.1  riastrad   ;;
   9978  1.1  riastrad 
   9979  1.1  riastrad haiku*)
   9980  1.1  riastrad   lt_cv_deplibs_check_method=pass_all
   9981  1.1  riastrad   ;;
   9982  1.1  riastrad 
   9983  1.1  riastrad hpux10.20* | hpux11*)
   9984  1.1  riastrad   lt_cv_file_magic_cmd=/usr/bin/file
   9985  1.1  riastrad   case $host_cpu in
   9986  1.1  riastrad   ia64*)
   9987  1.1  riastrad     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   9988  1.1  riastrad     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   9989  1.1  riastrad     ;;
   9990  1.1  riastrad   hppa*64*)
   9991  1.1  riastrad     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
   9992  1.1  riastrad     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   9993  1.1  riastrad     ;;
   9994  1.1  riastrad   *)
   9995  1.1  riastrad     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   9996  1.1  riastrad     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   9997  1.1  riastrad     ;;
   9998  1.1  riastrad   esac
   9999  1.1  riastrad   ;;
   10000  1.1  riastrad 
   10001  1.1  riastrad interix[3-9]*)
   10002  1.1  riastrad   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   10003  1.1  riastrad   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   10004  1.1  riastrad   ;;
   10005  1.1  riastrad 
   10006  1.1  riastrad irix5* | irix6* | nonstopux*)
   10007  1.1  riastrad   case $LD in
   10008  1.1  riastrad   *-32|*"-32 ") libmagic=32-bit;;
   10009  1.1  riastrad   *-n32|*"-n32 ") libmagic=N32;;
   10010  1.1  riastrad   *-64|*"-64 ") libmagic=64-bit;;
   10011  1.1  riastrad   *) libmagic=never-match;;
   10012  1.1  riastrad   esac
   10013  1.1  riastrad   lt_cv_deplibs_check_method=pass_all
   10014  1.1  riastrad   ;;
   10015  1.1  riastrad 
   10016  1.1  riastrad # This must be glibc/ELF.
   10017  1.1  riastrad linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   10018  1.1  riastrad   lt_cv_deplibs_check_method=pass_all
   10019  1.1  riastrad   ;;
   10020  1.1  riastrad 
   10021  1.1  riastrad netbsd*)
   10022  1.1  riastrad   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   10023  1.1  riastrad     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   10024  1.1  riastrad   else
   10025  1.1  riastrad     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   10026  1.1  riastrad   fi
   10027  1.1  riastrad   ;;
   10028  1.1  riastrad 
   10029  1.1  riastrad newos6*)
   10030  1.1  riastrad   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   10031  1.1  riastrad   lt_cv_file_magic_cmd=/usr/bin/file
   10032  1.1  riastrad   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   10033  1.1  riastrad   ;;
   10034  1.1  riastrad 
   10035  1.1  riastrad *nto* | *qnx*)
   10036  1.1  riastrad   lt_cv_deplibs_check_method=pass_all
   10037  1.1  riastrad   ;;
   10038  1.1  riastrad 
   10039  1.1  riastrad openbsd* | bitrig*)
   10040  1.1  riastrad   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10041  1.1  riastrad     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   10042  1.1  riastrad   else
   10043  1.1  riastrad     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   10044  1.1  riastrad   fi
   10045  1.1  riastrad   ;;
   10046  1.1  riastrad 
   10047  1.1  riastrad osf3* | osf4* | osf5*)
   10048  1.1  riastrad   lt_cv_deplibs_check_method=pass_all
   10049  1.1  riastrad   ;;
   10050  1.1  riastrad 
   10051  1.1  riastrad rdos*)
   10052  1.1  riastrad   lt_cv_deplibs_check_method=pass_all
   10053  1.1  riastrad   ;;
   10054  1.1  riastrad 
   10055  1.1  riastrad solaris*)
   10056  1.1  riastrad   lt_cv_deplibs_check_method=pass_all
   10057  1.1  riastrad   ;;
   10058  1.1  riastrad 
   10059  1.1  riastrad sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10060  1.1  riastrad   lt_cv_deplibs_check_method=pass_all
   10061  1.1  riastrad   ;;
   10062  1.1  riastrad 
   10063  1.1  riastrad sysv4 | sysv4.3*)
   10064  1.1  riastrad   case $host_vendor in
   10065  1.1  riastrad   motorola)
   10066  1.1  riastrad     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
   10067  1.1  riastrad     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   10068  1.1  riastrad     ;;
   10069  1.1  riastrad   ncr)
   10070  1.1  riastrad     lt_cv_deplibs_check_method=pass_all
   10071  1.1  riastrad     ;;
   10072  1.1  riastrad   sequent)
   10073  1.1  riastrad     lt_cv_file_magic_cmd='/bin/file'
   10074  1.1  riastrad     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   10075  1.1  riastrad     ;;
   10076  1.1  riastrad   sni)
   10077  1.1  riastrad     lt_cv_file_magic_cmd='/bin/file'
   10078  1.1  riastrad     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   10079  1.1  riastrad     lt_cv_file_magic_test_file=/lib/libc.so
   10080  1.1  riastrad     ;;
   10081  1.1  riastrad   siemens)
   10082  1.1  riastrad     lt_cv_deplibs_check_method=pass_all
   10083  1.1  riastrad     ;;
   10084  1.1  riastrad   pc)
   10085  1.1  riastrad     lt_cv_deplibs_check_method=pass_all
   10086  1.1  riastrad     ;;
   10087  1.1  riastrad   esac
   10088  1.1  riastrad   ;;
   10089  1.1  riastrad 
   10090  1.1  riastrad tpf*)
   10091  1.1  riastrad   lt_cv_deplibs_check_method=pass_all
   10092  1.1  riastrad   ;;
   10093  1.1  riastrad os2*)
   10094  1.1  riastrad   lt_cv_deplibs_check_method=pass_all
   10095  1.1  riastrad   ;;
   10096  1.1  riastrad esac
   10097  1.1  riastrad 
   10098  1.1  riastrad fi
   10099  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   10100  1.1  riastrad $as_echo "$lt_cv_deplibs_check_method" >&6; }
   10101  1.1  riastrad 
   10102  1.1  riastrad file_magic_glob=
   10103  1.1  riastrad want_nocaseglob=no
   10104  1.1  riastrad if test "$build" = "$host"; then
   10105  1.1  riastrad   case $host_os in
   10106  1.1  riastrad   mingw* | pw32*)
   10107  1.1  riastrad     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   10108  1.1  riastrad       want_nocaseglob=yes
   10109  1.1  riastrad     else
   10110  1.1  riastrad       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   10111  1.1  riastrad     fi
   10112  1.1  riastrad     ;;
   10113  1.1  riastrad   esac
   10114  1.1  riastrad fi
   10115  1.1  riastrad 
   10116  1.1  riastrad file_magic_cmd=$lt_cv_file_magic_cmd
   10117  1.1  riastrad deplibs_check_method=$lt_cv_deplibs_check_method
   10118  1.1  riastrad test -z "$deplibs_check_method" && deplibs_check_method=unknown
   10119  1.1  riastrad 
   10120  1.1  riastrad 
   10121  1.1  riastrad 
   10122  1.1  riastrad 
   10123  1.1  riastrad 
   10124  1.1  riastrad 
   10125  1.1  riastrad 
   10126  1.1  riastrad 
   10127  1.1  riastrad 
   10128  1.1  riastrad 
   10129  1.1  riastrad 
   10130  1.1  riastrad 
   10131  1.1  riastrad 
   10132  1.1  riastrad 
   10133  1.1  riastrad 
   10134  1.1  riastrad 
   10135  1.1  riastrad 
   10136  1.1  riastrad 
   10137  1.1  riastrad 
   10138  1.1  riastrad 
   10139  1.1  riastrad 
   10140  1.1  riastrad 
   10141  1.1  riastrad if test -n "$ac_tool_prefix"; then
   10142  1.1  riastrad   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   10143  1.1  riastrad set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   10144  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10145  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   10146  1.1  riastrad if ${ac_cv_prog_DLLTOOL+:} false; then :
   10147  1.1  riastrad   $as_echo_n "(cached) " >&6
   10148  1.1  riastrad else
   10149  1.1  riastrad   if test -n "$DLLTOOL"; then
   10150  1.1  riastrad   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   10151  1.1  riastrad else
   10152  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10153  1.1  riastrad for as_dir in $PATH
   10154  1.1  riastrad do
   10155  1.1  riastrad   IFS=$as_save_IFS
   10156  1.1  riastrad   test -z "$as_dir" && as_dir=.
   10157  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   10158  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10159  1.1  riastrad     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   10160  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10161  1.1  riastrad     break 2
   10162  1.1  riastrad   fi
   10163  1.1  riastrad done
   10164  1.1  riastrad   done
   10165  1.1  riastrad IFS=$as_save_IFS
   10166  1.1  riastrad 
   10167  1.1  riastrad fi
   10168  1.1  riastrad fi
   10169  1.1  riastrad DLLTOOL=$ac_cv_prog_DLLTOOL
   10170  1.1  riastrad if test -n "$DLLTOOL"; then
   10171  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   10172  1.1  riastrad $as_echo "$DLLTOOL" >&6; }
   10173  1.1  riastrad else
   10174  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10175  1.1  riastrad $as_echo "no" >&6; }
   10176  1.1  riastrad fi
   10177  1.1  riastrad 
   10178  1.1  riastrad 
   10179  1.1  riastrad fi
   10180  1.1  riastrad if test -z "$ac_cv_prog_DLLTOOL"; then
   10181  1.1  riastrad   ac_ct_DLLTOOL=$DLLTOOL
   10182  1.1  riastrad   # Extract the first word of "dlltool", so it can be a program name with args.
   10183  1.1  riastrad set dummy dlltool; ac_word=$2
   10184  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10185  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   10186  1.1  riastrad if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   10187  1.1  riastrad   $as_echo_n "(cached) " >&6
   10188  1.1  riastrad else
   10189  1.1  riastrad   if test -n "$ac_ct_DLLTOOL"; then
   10190  1.1  riastrad   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   10191  1.1  riastrad else
   10192  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10193  1.1  riastrad for as_dir in $PATH
   10194  1.1  riastrad do
   10195  1.1  riastrad   IFS=$as_save_IFS
   10196  1.1  riastrad   test -z "$as_dir" && as_dir=.
   10197  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   10198  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10199  1.1  riastrad     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   10200  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10201  1.1  riastrad     break 2
   10202  1.1  riastrad   fi
   10203  1.1  riastrad done
   10204  1.1  riastrad   done
   10205  1.1  riastrad IFS=$as_save_IFS
   10206  1.1  riastrad 
   10207  1.1  riastrad fi
   10208  1.1  riastrad fi
   10209  1.1  riastrad ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   10210  1.1  riastrad if test -n "$ac_ct_DLLTOOL"; then
   10211  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   10212  1.1  riastrad $as_echo "$ac_ct_DLLTOOL" >&6; }
   10213  1.1  riastrad else
   10214  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10215  1.1  riastrad $as_echo "no" >&6; }
   10216  1.1  riastrad fi
   10217  1.1  riastrad 
   10218  1.1  riastrad   if test "x$ac_ct_DLLTOOL" = x; then
   10219  1.1  riastrad     DLLTOOL="false"
   10220  1.1  riastrad   else
   10221  1.1  riastrad     case $cross_compiling:$ac_tool_warned in
   10222  1.1  riastrad yes:)
   10223  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10224  1.1  riastrad $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10225  1.1  riastrad ac_tool_warned=yes ;;
   10226  1.1  riastrad esac
   10227  1.1  riastrad     DLLTOOL=$ac_ct_DLLTOOL
   10228  1.1  riastrad   fi
   10229  1.1  riastrad else
   10230  1.1  riastrad   DLLTOOL="$ac_cv_prog_DLLTOOL"
   10231  1.1  riastrad fi
   10232  1.1  riastrad 
   10233  1.1  riastrad test -z "$DLLTOOL" && DLLTOOL=dlltool
   10234  1.1  riastrad 
   10235  1.1  riastrad 
   10236  1.1  riastrad 
   10237  1.1  riastrad 
   10238  1.1  riastrad 
   10239  1.1  riastrad 
   10240  1.1  riastrad 
   10241  1.1  riastrad 
   10242  1.1  riastrad 
   10243  1.1  riastrad 
   10244  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   10245  1.1  riastrad $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   10246  1.1  riastrad if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   10247  1.1  riastrad   $as_echo_n "(cached) " >&6
   10248  1.1  riastrad else
   10249  1.1  riastrad   lt_cv_sharedlib_from_linklib_cmd='unknown'
   10250  1.1  riastrad 
   10251  1.1  riastrad case $host_os in
   10252  1.1  riastrad cygwin* | mingw* | pw32* | cegcc*)
   10253  1.1  riastrad   # two different shell functions defined in ltmain.sh;
   10254  1.1  riastrad   # decide which one to use based on capabilities of $DLLTOOL
   10255  1.1  riastrad   case `$DLLTOOL --help 2>&1` in
   10256  1.1  riastrad   *--identify-strict*)
   10257  1.1  riastrad     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   10258  1.1  riastrad     ;;
   10259  1.1  riastrad   *)
   10260  1.1  riastrad     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   10261  1.1  riastrad     ;;
   10262  1.1  riastrad   esac
   10263  1.1  riastrad   ;;
   10264  1.1  riastrad *)
   10265  1.1  riastrad   # fallback: assume linklib IS sharedlib
   10266  1.1  riastrad   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   10267  1.1  riastrad   ;;
   10268  1.1  riastrad esac
   10269  1.1  riastrad 
   10270  1.1  riastrad fi
   10271  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   10272  1.1  riastrad $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   10273  1.1  riastrad sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   10274  1.1  riastrad test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   10275  1.1  riastrad 
   10276  1.1  riastrad 
   10277  1.1  riastrad 
   10278  1.1  riastrad 
   10279  1.1  riastrad 
   10280  1.1  riastrad 
   10281  1.1  riastrad 
   10282  1.1  riastrad if test -n "$ac_tool_prefix"; then
   10283  1.1  riastrad   for ac_prog in ar
   10284  1.1  riastrad   do
   10285  1.1  riastrad     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   10286  1.1  riastrad set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   10287  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10288  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   10289  1.1  riastrad if ${ac_cv_prog_AR+:} false; then :
   10290  1.1  riastrad   $as_echo_n "(cached) " >&6
   10291  1.1  riastrad else
   10292  1.1  riastrad   if test -n "$AR"; then
   10293  1.1  riastrad   ac_cv_prog_AR="$AR" # Let the user override the test.
   10294  1.1  riastrad else
   10295  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10296  1.1  riastrad for as_dir in $PATH
   10297  1.1  riastrad do
   10298  1.1  riastrad   IFS=$as_save_IFS
   10299  1.1  riastrad   test -z "$as_dir" && as_dir=.
   10300  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   10301  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10302  1.1  riastrad     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   10303  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10304  1.1  riastrad     break 2
   10305  1.1  riastrad   fi
   10306  1.1  riastrad done
   10307  1.1  riastrad   done
   10308  1.1  riastrad IFS=$as_save_IFS
   10309  1.1  riastrad 
   10310  1.1  riastrad fi
   10311  1.1  riastrad fi
   10312  1.1  riastrad AR=$ac_cv_prog_AR
   10313  1.1  riastrad if test -n "$AR"; then
   10314  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   10315  1.1  riastrad $as_echo "$AR" >&6; }
   10316  1.1  riastrad else
   10317  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10318  1.1  riastrad $as_echo "no" >&6; }
   10319  1.1  riastrad fi
   10320  1.1  riastrad 
   10321  1.1  riastrad 
   10322  1.1  riastrad     test -n "$AR" && break
   10323  1.1  riastrad   done
   10324  1.1  riastrad fi
   10325  1.1  riastrad if test -z "$AR"; then
   10326  1.1  riastrad   ac_ct_AR=$AR
   10327  1.1  riastrad   for ac_prog in ar
   10328  1.1  riastrad do
   10329  1.1  riastrad   # Extract the first word of "$ac_prog", so it can be a program name with args.
   10330  1.1  riastrad set dummy $ac_prog; ac_word=$2
   10331  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10332  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   10333  1.1  riastrad if ${ac_cv_prog_ac_ct_AR+:} false; then :
   10334  1.1  riastrad   $as_echo_n "(cached) " >&6
   10335  1.1  riastrad else
   10336  1.1  riastrad   if test -n "$ac_ct_AR"; then
   10337  1.1  riastrad   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   10338  1.1  riastrad else
   10339  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10340  1.1  riastrad for as_dir in $PATH
   10341  1.1  riastrad do
   10342  1.1  riastrad   IFS=$as_save_IFS
   10343  1.1  riastrad   test -z "$as_dir" && as_dir=.
   10344  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   10345  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10346  1.1  riastrad     ac_cv_prog_ac_ct_AR="$ac_prog"
   10347  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10348  1.1  riastrad     break 2
   10349  1.1  riastrad   fi
   10350  1.1  riastrad done
   10351  1.1  riastrad   done
   10352  1.1  riastrad IFS=$as_save_IFS
   10353  1.1  riastrad 
   10354  1.1  riastrad fi
   10355  1.1  riastrad fi
   10356  1.1  riastrad ac_ct_AR=$ac_cv_prog_ac_ct_AR
   10357  1.1  riastrad if test -n "$ac_ct_AR"; then
   10358  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   10359  1.1  riastrad $as_echo "$ac_ct_AR" >&6; }
   10360  1.1  riastrad else
   10361  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10362  1.1  riastrad $as_echo "no" >&6; }
   10363  1.1  riastrad fi
   10364  1.1  riastrad 
   10365  1.1  riastrad 
   10366  1.1  riastrad   test -n "$ac_ct_AR" && break
   10367  1.1  riastrad done
   10368  1.1  riastrad 
   10369  1.1  riastrad   if test "x$ac_ct_AR" = x; then
   10370  1.1  riastrad     AR="false"
   10371  1.1  riastrad   else
   10372  1.1  riastrad     case $cross_compiling:$ac_tool_warned in
   10373  1.1  riastrad yes:)
   10374  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10375  1.1  riastrad $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10376  1.1  riastrad ac_tool_warned=yes ;;
   10377  1.1  riastrad esac
   10378  1.1  riastrad     AR=$ac_ct_AR
   10379  1.1  riastrad   fi
   10380  1.1  riastrad fi
   10381  1.1  riastrad 
   10382  1.1  riastrad : ${AR=ar}
   10383  1.1  riastrad : ${AR_FLAGS=cru}
   10384  1.1  riastrad 
   10385  1.1  riastrad 
   10386  1.1  riastrad 
   10387  1.1  riastrad 
   10388  1.1  riastrad 
   10389  1.1  riastrad 
   10390  1.1  riastrad 
   10391  1.1  riastrad 
   10392  1.1  riastrad 
   10393  1.1  riastrad 
   10394  1.1  riastrad 
   10395  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   10396  1.1  riastrad $as_echo_n "checking for archiver @FILE support... " >&6; }
   10397  1.1  riastrad if ${lt_cv_ar_at_file+:} false; then :
   10398  1.1  riastrad   $as_echo_n "(cached) " >&6
   10399  1.1  riastrad else
   10400  1.1  riastrad   lt_cv_ar_at_file=no
   10401  1.1  riastrad    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10402  1.1  riastrad /* end confdefs.h.  */
   10403  1.1  riastrad 
   10404  1.1  riastrad int
   10405  1.1  riastrad main ()
   10406  1.1  riastrad {
   10407  1.1  riastrad 
   10408  1.1  riastrad   ;
   10409  1.1  riastrad   return 0;
   10410  1.1  riastrad }
   10411  1.1  riastrad _ACEOF
   10412  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   10413  1.1  riastrad   echo conftest.$ac_objext > conftest.lst
   10414  1.1  riastrad       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   10415  1.1  riastrad       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   10416  1.1  riastrad   (eval $lt_ar_try) 2>&5
   10417  1.1  riastrad   ac_status=$?
   10418  1.1  riastrad   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10419  1.1  riastrad   test $ac_status = 0; }
   10420  1.1  riastrad       if test 0 -eq "$ac_status"; then
   10421  1.1  riastrad 	# Ensure the archiver fails upon bogus file names.
   10422  1.1  riastrad 	rm -f conftest.$ac_objext libconftest.a
   10423  1.1  riastrad 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   10424  1.1  riastrad   (eval $lt_ar_try) 2>&5
   10425  1.1  riastrad   ac_status=$?
   10426  1.1  riastrad   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10427  1.1  riastrad   test $ac_status = 0; }
   10428  1.1  riastrad 	if test 0 -ne "$ac_status"; then
   10429  1.1  riastrad           lt_cv_ar_at_file=@
   10430  1.1  riastrad         fi
   10431  1.1  riastrad       fi
   10432  1.1  riastrad       rm -f conftest.* libconftest.a
   10433  1.1  riastrad 
   10434  1.1  riastrad fi
   10435  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10436  1.1  riastrad 
   10437  1.1  riastrad fi
   10438  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   10439  1.1  riastrad $as_echo "$lt_cv_ar_at_file" >&6; }
   10440  1.1  riastrad 
   10441  1.1  riastrad if test no = "$lt_cv_ar_at_file"; then
   10442  1.1  riastrad   archiver_list_spec=
   10443  1.1  riastrad else
   10444  1.1  riastrad   archiver_list_spec=$lt_cv_ar_at_file
   10445  1.1  riastrad fi
   10446  1.1  riastrad 
   10447  1.1  riastrad 
   10448  1.1  riastrad 
   10449  1.1  riastrad 
   10450  1.1  riastrad 
   10451  1.1  riastrad 
   10452  1.1  riastrad 
   10453  1.1  riastrad if test -n "$ac_tool_prefix"; then
   10454  1.1  riastrad   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   10455  1.1  riastrad set dummy ${ac_tool_prefix}strip; ac_word=$2
   10456  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10457  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   10458  1.1  riastrad if ${ac_cv_prog_STRIP+:} false; then :
   10459  1.1  riastrad   $as_echo_n "(cached) " >&6
   10460  1.1  riastrad else
   10461  1.1  riastrad   if test -n "$STRIP"; then
   10462  1.1  riastrad   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   10463  1.1  riastrad else
   10464  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10465  1.1  riastrad for as_dir in $PATH
   10466  1.1  riastrad do
   10467  1.1  riastrad   IFS=$as_save_IFS
   10468  1.1  riastrad   test -z "$as_dir" && as_dir=.
   10469  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   10470  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10471  1.1  riastrad     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   10472  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10473  1.1  riastrad     break 2
   10474  1.1  riastrad   fi
   10475  1.1  riastrad done
   10476  1.1  riastrad   done
   10477  1.1  riastrad IFS=$as_save_IFS
   10478  1.1  riastrad 
   10479  1.1  riastrad fi
   10480  1.1  riastrad fi
   10481  1.1  riastrad STRIP=$ac_cv_prog_STRIP
   10482  1.1  riastrad if test -n "$STRIP"; then
   10483  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   10484  1.1  riastrad $as_echo "$STRIP" >&6; }
   10485  1.1  riastrad else
   10486  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10487  1.1  riastrad $as_echo "no" >&6; }
   10488  1.1  riastrad fi
   10489  1.1  riastrad 
   10490  1.1  riastrad 
   10491  1.1  riastrad fi
   10492  1.1  riastrad if test -z "$ac_cv_prog_STRIP"; then
   10493  1.1  riastrad   ac_ct_STRIP=$STRIP
   10494  1.1  riastrad   # Extract the first word of "strip", so it can be a program name with args.
   10495  1.1  riastrad set dummy strip; ac_word=$2
   10496  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10497  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   10498  1.1  riastrad if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   10499  1.1  riastrad   $as_echo_n "(cached) " >&6
   10500  1.1  riastrad else
   10501  1.1  riastrad   if test -n "$ac_ct_STRIP"; then
   10502  1.1  riastrad   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   10503  1.1  riastrad else
   10504  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10505  1.1  riastrad for as_dir in $PATH
   10506  1.1  riastrad do
   10507  1.1  riastrad   IFS=$as_save_IFS
   10508  1.1  riastrad   test -z "$as_dir" && as_dir=.
   10509  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   10510  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10511  1.1  riastrad     ac_cv_prog_ac_ct_STRIP="strip"
   10512  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10513  1.1  riastrad     break 2
   10514  1.1  riastrad   fi
   10515  1.1  riastrad done
   10516  1.1  riastrad   done
   10517  1.1  riastrad IFS=$as_save_IFS
   10518  1.1  riastrad 
   10519  1.1  riastrad fi
   10520  1.1  riastrad fi
   10521  1.1  riastrad ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   10522  1.1  riastrad if test -n "$ac_ct_STRIP"; then
   10523  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   10524  1.1  riastrad $as_echo "$ac_ct_STRIP" >&6; }
   10525  1.1  riastrad else
   10526  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10527  1.1  riastrad $as_echo "no" >&6; }
   10528  1.1  riastrad fi
   10529  1.1  riastrad 
   10530  1.1  riastrad   if test "x$ac_ct_STRIP" = x; then
   10531  1.1  riastrad     STRIP=":"
   10532  1.1  riastrad   else
   10533  1.1  riastrad     case $cross_compiling:$ac_tool_warned in
   10534  1.1  riastrad yes:)
   10535  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10536  1.1  riastrad $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10537  1.1  riastrad ac_tool_warned=yes ;;
   10538  1.1  riastrad esac
   10539  1.1  riastrad     STRIP=$ac_ct_STRIP
   10540  1.1  riastrad   fi
   10541  1.1  riastrad else
   10542  1.1  riastrad   STRIP="$ac_cv_prog_STRIP"
   10543  1.1  riastrad fi
   10544  1.1  riastrad 
   10545  1.1  riastrad test -z "$STRIP" && STRIP=:
   10546  1.1  riastrad 
   10547  1.1  riastrad 
   10548  1.1  riastrad 
   10549  1.1  riastrad 
   10550  1.1  riastrad 
   10551  1.1  riastrad 
   10552  1.1  riastrad if test -n "$ac_tool_prefix"; then
   10553  1.1  riastrad   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   10554  1.1  riastrad set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   10555  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10556  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   10557  1.1  riastrad if ${ac_cv_prog_RANLIB+:} false; then :
   10558  1.1  riastrad   $as_echo_n "(cached) " >&6
   10559  1.1  riastrad else
   10560  1.1  riastrad   if test -n "$RANLIB"; then
   10561  1.1  riastrad   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   10562  1.1  riastrad else
   10563  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10564  1.1  riastrad for as_dir in $PATH
   10565  1.1  riastrad do
   10566  1.1  riastrad   IFS=$as_save_IFS
   10567  1.1  riastrad   test -z "$as_dir" && as_dir=.
   10568  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   10569  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10570  1.1  riastrad     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   10571  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10572  1.1  riastrad     break 2
   10573  1.1  riastrad   fi
   10574  1.1  riastrad done
   10575  1.1  riastrad   done
   10576  1.1  riastrad IFS=$as_save_IFS
   10577  1.1  riastrad 
   10578  1.1  riastrad fi
   10579  1.1  riastrad fi
   10580  1.1  riastrad RANLIB=$ac_cv_prog_RANLIB
   10581  1.1  riastrad if test -n "$RANLIB"; then
   10582  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   10583  1.1  riastrad $as_echo "$RANLIB" >&6; }
   10584  1.1  riastrad else
   10585  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10586  1.1  riastrad $as_echo "no" >&6; }
   10587  1.1  riastrad fi
   10588  1.1  riastrad 
   10589  1.1  riastrad 
   10590  1.1  riastrad fi
   10591  1.1  riastrad if test -z "$ac_cv_prog_RANLIB"; then
   10592  1.1  riastrad   ac_ct_RANLIB=$RANLIB
   10593  1.1  riastrad   # Extract the first word of "ranlib", so it can be a program name with args.
   10594  1.1  riastrad set dummy ranlib; ac_word=$2
   10595  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10596  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   10597  1.1  riastrad if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   10598  1.1  riastrad   $as_echo_n "(cached) " >&6
   10599  1.1  riastrad else
   10600  1.1  riastrad   if test -n "$ac_ct_RANLIB"; then
   10601  1.1  riastrad   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   10602  1.1  riastrad else
   10603  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10604  1.1  riastrad for as_dir in $PATH
   10605  1.1  riastrad do
   10606  1.1  riastrad   IFS=$as_save_IFS
   10607  1.1  riastrad   test -z "$as_dir" && as_dir=.
   10608  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   10609  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10610  1.1  riastrad     ac_cv_prog_ac_ct_RANLIB="ranlib"
   10611  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10612  1.1  riastrad     break 2
   10613  1.1  riastrad   fi
   10614  1.1  riastrad done
   10615  1.1  riastrad   done
   10616  1.1  riastrad IFS=$as_save_IFS
   10617  1.1  riastrad 
   10618  1.1  riastrad fi
   10619  1.1  riastrad fi
   10620  1.1  riastrad ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   10621  1.1  riastrad if test -n "$ac_ct_RANLIB"; then
   10622  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   10623  1.1  riastrad $as_echo "$ac_ct_RANLIB" >&6; }
   10624  1.1  riastrad else
   10625  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10626  1.1  riastrad $as_echo "no" >&6; }
   10627  1.1  riastrad fi
   10628  1.1  riastrad 
   10629  1.1  riastrad   if test "x$ac_ct_RANLIB" = x; then
   10630  1.1  riastrad     RANLIB=":"
   10631  1.1  riastrad   else
   10632  1.1  riastrad     case $cross_compiling:$ac_tool_warned in
   10633  1.1  riastrad yes:)
   10634  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10635  1.1  riastrad $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10636  1.1  riastrad ac_tool_warned=yes ;;
   10637  1.1  riastrad esac
   10638  1.1  riastrad     RANLIB=$ac_ct_RANLIB
   10639  1.1  riastrad   fi
   10640  1.1  riastrad else
   10641  1.1  riastrad   RANLIB="$ac_cv_prog_RANLIB"
   10642  1.1  riastrad fi
   10643  1.1  riastrad 
   10644  1.1  riastrad test -z "$RANLIB" && RANLIB=:
   10645  1.1  riastrad 
   10646  1.1  riastrad 
   10647  1.1  riastrad 
   10648  1.1  riastrad 
   10649  1.1  riastrad 
   10650  1.1  riastrad 
   10651  1.1  riastrad # Determine commands to create old-style static archives.
   10652  1.1  riastrad old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   10653  1.1  riastrad old_postinstall_cmds='chmod 644 $oldlib'
   10654  1.1  riastrad old_postuninstall_cmds=
   10655  1.1  riastrad 
   10656  1.1  riastrad if test -n "$RANLIB"; then
   10657  1.1  riastrad   case $host_os in
   10658  1.1  riastrad   bitrig* | openbsd*)
   10659  1.1  riastrad     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   10660  1.1  riastrad     ;;
   10661  1.1  riastrad   *)
   10662  1.1  riastrad     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   10663  1.1  riastrad     ;;
   10664  1.1  riastrad   esac
   10665  1.1  riastrad   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   10666  1.1  riastrad fi
   10667  1.1  riastrad 
   10668  1.1  riastrad case $host_os in
   10669  1.1  riastrad   darwin*)
   10670  1.1  riastrad     lock_old_archive_extraction=yes ;;
   10671  1.1  riastrad   *)
   10672  1.1  riastrad     lock_old_archive_extraction=no ;;
   10673  1.1  riastrad esac
   10674  1.1  riastrad 
   10675  1.1  riastrad 
   10676  1.1  riastrad 
   10677  1.1  riastrad 
   10678  1.1  riastrad 
   10679  1.1  riastrad 
   10680  1.1  riastrad 
   10681  1.1  riastrad 
   10682  1.1  riastrad 
   10683  1.1  riastrad 
   10684  1.1  riastrad 
   10685  1.1  riastrad 
   10686  1.1  riastrad 
   10687  1.1  riastrad 
   10688  1.1  riastrad 
   10689  1.1  riastrad 
   10690  1.1  riastrad 
   10691  1.1  riastrad 
   10692  1.1  riastrad 
   10693  1.1  riastrad 
   10694  1.1  riastrad 
   10695  1.1  riastrad 
   10696  1.1  riastrad 
   10697  1.1  riastrad 
   10698  1.1  riastrad 
   10699  1.1  riastrad 
   10700  1.1  riastrad 
   10701  1.1  riastrad 
   10702  1.1  riastrad 
   10703  1.1  riastrad 
   10704  1.1  riastrad 
   10705  1.1  riastrad 
   10706  1.1  riastrad 
   10707  1.1  riastrad 
   10708  1.1  riastrad 
   10709  1.1  riastrad 
   10710  1.1  riastrad 
   10711  1.1  riastrad 
   10712  1.1  riastrad 
   10713  1.1  riastrad # If no C compiler was specified, use CC.
   10714  1.1  riastrad LTCC=${LTCC-"$CC"}
   10715  1.1  riastrad 
   10716  1.1  riastrad # If no C compiler flags were specified, use CFLAGS.
   10717  1.1  riastrad LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   10718  1.1  riastrad 
   10719  1.1  riastrad # Allow CC to be a program name with arguments.
   10720  1.1  riastrad compiler=$CC
   10721  1.1  riastrad 
   10722  1.1  riastrad 
   10723  1.1  riastrad # Check for command to grab the raw symbol name followed by C symbol from nm.
   10724  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   10725  1.1  riastrad $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   10726  1.1  riastrad if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   10727  1.1  riastrad   $as_echo_n "(cached) " >&6
   10728  1.1  riastrad else
   10729  1.1  riastrad 
   10730  1.1  riastrad # These are sane defaults that work on at least a few old systems.
   10731  1.1  riastrad # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   10732  1.1  riastrad 
   10733  1.1  riastrad # Character class describing NM global symbol codes.
   10734  1.1  riastrad symcode='[BCDEGRST]'
   10735  1.1  riastrad 
   10736  1.1  riastrad # Regexp to match symbols that can be accessed directly from C.
   10737  1.1  riastrad sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   10738  1.1  riastrad 
   10739  1.1  riastrad # Define system-specific variables.
   10740  1.1  riastrad case $host_os in
   10741  1.1  riastrad aix*)
   10742  1.1  riastrad   symcode='[BCDT]'
   10743  1.1  riastrad   ;;
   10744  1.1  riastrad cygwin* | mingw* | pw32* | cegcc*)
   10745  1.1  riastrad   symcode='[ABCDGISTW]'
   10746  1.1  riastrad   ;;
   10747  1.1  riastrad hpux*)
   10748  1.1  riastrad   if test ia64 = "$host_cpu"; then
   10749  1.1  riastrad     symcode='[ABCDEGRST]'
   10750  1.1  riastrad   fi
   10751  1.1  riastrad   ;;
   10752  1.1  riastrad irix* | nonstopux*)
   10753  1.1  riastrad   symcode='[BCDEGRST]'
   10754  1.1  riastrad   ;;
   10755  1.1  riastrad osf*)
   10756  1.1  riastrad   symcode='[BCDEGQRST]'
   10757  1.1  riastrad   ;;
   10758  1.1  riastrad solaris*)
   10759  1.1  riastrad   symcode='[BDRT]'
   10760  1.1  riastrad   ;;
   10761  1.1  riastrad sco3.2v5*)
   10762  1.1  riastrad   symcode='[DT]'
   10763  1.1  riastrad   ;;
   10764  1.1  riastrad sysv4.2uw2*)
   10765  1.1  riastrad   symcode='[DT]'
   10766  1.1  riastrad   ;;
   10767  1.1  riastrad sysv5* | sco5v6* | unixware* | OpenUNIX*)
   10768  1.1  riastrad   symcode='[ABDT]'
   10769  1.1  riastrad   ;;
   10770  1.1  riastrad sysv4)
   10771  1.1  riastrad   symcode='[DFNSTU]'
   10772  1.1  riastrad   ;;
   10773  1.1  riastrad esac
   10774  1.1  riastrad 
   10775  1.1  riastrad # If we're using GNU nm, then use its standard symbol codes.
   10776  1.1  riastrad case `$NM -V 2>&1` in
   10777  1.1  riastrad *GNU* | *'with BFD'*)
   10778  1.1  riastrad   symcode='[ABCDGIRSTW]' ;;
   10779  1.1  riastrad esac
   10780  1.1  riastrad 
   10781  1.1  riastrad if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   10782  1.1  riastrad   # Gets list of data symbols to import.
   10783  1.1  riastrad   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   10784  1.1  riastrad   # Adjust the below global symbol transforms to fixup imported variables.
   10785  1.1  riastrad   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   10786  1.1  riastrad   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   10787  1.1  riastrad   lt_c_name_lib_hook="\
   10788  1.1  riastrad   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   10789  1.1  riastrad   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   10790  1.1  riastrad else
   10791  1.1  riastrad   # Disable hooks by default.
   10792  1.1  riastrad   lt_cv_sys_global_symbol_to_import=
   10793  1.1  riastrad   lt_cdecl_hook=
   10794  1.1  riastrad   lt_c_name_hook=
   10795  1.1  riastrad   lt_c_name_lib_hook=
   10796  1.1  riastrad fi
   10797  1.1  riastrad 
   10798  1.1  riastrad # Transform an extracted symbol line into a proper C declaration.
   10799  1.1  riastrad # Some systems (esp. on ia64) link data and code symbols differently,
   10800  1.1  riastrad # so use this general approach.
   10801  1.1  riastrad lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   10802  1.1  riastrad $lt_cdecl_hook\
   10803  1.1  riastrad " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   10804  1.1  riastrad " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   10805  1.1  riastrad 
   10806  1.1  riastrad # Transform an extracted symbol line into symbol name and symbol address
   10807  1.1  riastrad lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   10808  1.1  riastrad $lt_c_name_hook\
   10809  1.1  riastrad " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   10810  1.1  riastrad " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   10811  1.1  riastrad 
   10812  1.1  riastrad # Transform an extracted symbol line into symbol name with lib prefix and
   10813  1.1  riastrad # symbol address.
   10814  1.1  riastrad lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   10815  1.1  riastrad $lt_c_name_lib_hook\
   10816  1.1  riastrad " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   10817  1.1  riastrad " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   10818  1.1  riastrad " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   10819  1.1  riastrad 
   10820  1.1  riastrad # Handle CRLF in mingw tool chain
   10821  1.1  riastrad opt_cr=
   10822  1.1  riastrad case $build_os in
   10823  1.1  riastrad mingw*)
   10824  1.1  riastrad   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   10825  1.1  riastrad   ;;
   10826  1.1  riastrad esac
   10827  1.1  riastrad 
   10828  1.1  riastrad # Try without a prefix underscore, then with it.
   10829  1.1  riastrad for ac_symprfx in "" "_"; do
   10830  1.1  riastrad 
   10831  1.1  riastrad   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   10832  1.1  riastrad   symxfrm="\\1 $ac_symprfx\\2 \\2"
   10833  1.1  riastrad 
   10834  1.1  riastrad   # Write the raw and C identifiers.
   10835  1.1  riastrad   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   10836  1.1  riastrad     # Fake it for dumpbin and say T for any non-static function,
   10837  1.1  riastrad     # D for any global variable and I for any imported variable.
   10838  1.1  riastrad     # Also find C++ and __fastcall symbols from MSVC++,
   10839  1.1  riastrad     # which start with @ or ?.
   10840  1.1  riastrad     lt_cv_sys_global_symbol_pipe="$AWK '"\
   10841  1.1  riastrad "     {last_section=section; section=\$ 3};"\
   10842  1.1  riastrad "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   10843  1.1  riastrad "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   10844  1.1  riastrad "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   10845  1.1  riastrad "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   10846  1.1  riastrad "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   10847  1.1  riastrad "     \$ 0!~/External *\|/{next};"\
   10848  1.1  riastrad "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   10849  1.1  riastrad "     {if(hide[section]) next};"\
   10850  1.1  riastrad "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   10851  1.1  riastrad "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   10852  1.1  riastrad "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   10853  1.1  riastrad "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   10854  1.1  riastrad "     ' prfx=^$ac_symprfx"
   10855  1.1  riastrad   else
   10856  1.1  riastrad     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   10857  1.1  riastrad   fi
   10858  1.1  riastrad   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   10859  1.1  riastrad 
   10860  1.1  riastrad   # Check to see that the pipe works correctly.
   10861  1.1  riastrad   pipe_works=no
   10862  1.1  riastrad 
   10863  1.1  riastrad   rm -f conftest*
   10864  1.1  riastrad   cat > conftest.$ac_ext <<_LT_EOF
   10865  1.1  riastrad #ifdef __cplusplus
   10866  1.1  riastrad extern "C" {
   10867  1.1  riastrad #endif
   10868  1.1  riastrad char nm_test_var;
   10869  1.1  riastrad void nm_test_func(void);
   10870  1.1  riastrad void nm_test_func(void){}
   10871  1.1  riastrad #ifdef __cplusplus
   10872  1.1  riastrad }
   10873  1.1  riastrad #endif
   10874  1.1  riastrad int main(){nm_test_var='a';nm_test_func();return(0);}
   10875  1.1  riastrad _LT_EOF
   10876  1.1  riastrad 
   10877  1.1  riastrad   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10878  1.1  riastrad   (eval $ac_compile) 2>&5
   10879  1.1  riastrad   ac_status=$?
   10880  1.1  riastrad   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10881  1.1  riastrad   test $ac_status = 0; }; then
   10882  1.1  riastrad     # Now try to grab the symbols.
   10883  1.1  riastrad     nlist=conftest.nm
   10884  1.1  riastrad     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   10885  1.1  riastrad   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   10886  1.1  riastrad   ac_status=$?
   10887  1.1  riastrad   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10888  1.1  riastrad   test $ac_status = 0; } && test -s "$nlist"; then
   10889  1.1  riastrad       # Try sorting and uniquifying the output.
   10890  1.1  riastrad       if sort "$nlist" | uniq > "$nlist"T; then
   10891  1.1  riastrad 	mv -f "$nlist"T "$nlist"
   10892  1.1  riastrad       else
   10893  1.1  riastrad 	rm -f "$nlist"T
   10894  1.1  riastrad       fi
   10895  1.1  riastrad 
   10896  1.1  riastrad       # Make sure that we snagged all the symbols we need.
   10897  1.1  riastrad       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   10898  1.1  riastrad 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   10899  1.1  riastrad 	  cat <<_LT_EOF > conftest.$ac_ext
   10900  1.1  riastrad /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   10901  1.1  riastrad #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   10902  1.1  riastrad /* DATA imports from DLLs on WIN32 can't be const, because runtime
   10903  1.1  riastrad    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   10904  1.1  riastrad # define LT_DLSYM_CONST
   10905  1.1  riastrad #elif defined __osf__
   10906  1.1  riastrad /* This system does not cope well with relocations in const data.  */
   10907  1.1  riastrad # define LT_DLSYM_CONST
   10908  1.1  riastrad #else
   10909  1.1  riastrad # define LT_DLSYM_CONST const
   10910  1.1  riastrad #endif
   10911  1.1  riastrad 
   10912  1.1  riastrad #ifdef __cplusplus
   10913  1.1  riastrad extern "C" {
   10914  1.1  riastrad #endif
   10915  1.1  riastrad 
   10916  1.1  riastrad _LT_EOF
   10917  1.1  riastrad 	  # Now generate the symbol file.
   10918  1.1  riastrad 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   10919  1.1  riastrad 
   10920  1.1  riastrad 	  cat <<_LT_EOF >> conftest.$ac_ext
   10921  1.1  riastrad 
   10922  1.1  riastrad /* The mapping between symbol names and symbols.  */
   10923  1.1  riastrad LT_DLSYM_CONST struct {
   10924  1.1  riastrad   const char *name;
   10925  1.1  riastrad   void       *address;
   10926  1.1  riastrad }
   10927  1.1  riastrad lt__PROGRAM__LTX_preloaded_symbols[] =
   10928  1.1  riastrad {
   10929  1.1  riastrad   { "@PROGRAM@", (void *) 0 },
   10930  1.1  riastrad _LT_EOF
   10931  1.1  riastrad 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   10932  1.1  riastrad 	  cat <<\_LT_EOF >> conftest.$ac_ext
   10933  1.1  riastrad   {0, (void *) 0}
   10934  1.1  riastrad };
   10935  1.1  riastrad 
   10936  1.1  riastrad /* This works around a problem in FreeBSD linker */
   10937  1.1  riastrad #ifdef FREEBSD_WORKAROUND
   10938  1.1  riastrad static const void *lt_preloaded_setup() {
   10939  1.1  riastrad   return lt__PROGRAM__LTX_preloaded_symbols;
   10940  1.1  riastrad }
   10941  1.1  riastrad #endif
   10942  1.1  riastrad 
   10943  1.1  riastrad #ifdef __cplusplus
   10944  1.1  riastrad }
   10945  1.1  riastrad #endif
   10946  1.1  riastrad _LT_EOF
   10947  1.1  riastrad 	  # Now try linking the two files.
   10948  1.1  riastrad 	  mv conftest.$ac_objext conftstm.$ac_objext
   10949  1.1  riastrad 	  lt_globsym_save_LIBS=$LIBS
   10950  1.1  riastrad 	  lt_globsym_save_CFLAGS=$CFLAGS
   10951  1.1  riastrad 	  LIBS=conftstm.$ac_objext
   10952  1.1  riastrad 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   10953  1.1  riastrad 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   10954  1.1  riastrad   (eval $ac_link) 2>&5
   10955  1.1  riastrad   ac_status=$?
   10956  1.1  riastrad   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10957  1.1  riastrad   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   10958  1.1  riastrad 	    pipe_works=yes
   10959  1.1  riastrad 	  fi
   10960  1.1  riastrad 	  LIBS=$lt_globsym_save_LIBS
   10961  1.1  riastrad 	  CFLAGS=$lt_globsym_save_CFLAGS
   10962  1.1  riastrad 	else
   10963  1.1  riastrad 	  echo "cannot find nm_test_func in $nlist" >&5
   10964  1.1  riastrad 	fi
   10965  1.1  riastrad       else
   10966  1.1  riastrad 	echo "cannot find nm_test_var in $nlist" >&5
   10967  1.1  riastrad       fi
   10968  1.1  riastrad     else
   10969  1.1  riastrad       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   10970  1.1  riastrad     fi
   10971  1.1  riastrad   else
   10972  1.1  riastrad     echo "$progname: failed program was:" >&5
   10973  1.1  riastrad     cat conftest.$ac_ext >&5
   10974  1.1  riastrad   fi
   10975  1.1  riastrad   rm -rf conftest* conftst*
   10976  1.1  riastrad 
   10977  1.1  riastrad   # Do not use the global_symbol_pipe unless it works.
   10978  1.1  riastrad   if test yes = "$pipe_works"; then
   10979  1.1  riastrad     break
   10980  1.1  riastrad   else
   10981  1.1  riastrad     lt_cv_sys_global_symbol_pipe=
   10982  1.1  riastrad   fi
   10983  1.1  riastrad done
   10984  1.1  riastrad 
   10985  1.1  riastrad fi
   10986  1.1  riastrad 
   10987  1.1  riastrad if test -z "$lt_cv_sys_global_symbol_pipe"; then
   10988  1.1  riastrad   lt_cv_sys_global_symbol_to_cdecl=
   10989  1.1  riastrad fi
   10990  1.1  riastrad if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   10991  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   10992  1.1  riastrad $as_echo "failed" >&6; }
   10993  1.1  riastrad else
   10994  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   10995  1.1  riastrad $as_echo "ok" >&6; }
   10996  1.1  riastrad fi
   10997  1.1  riastrad 
   10998  1.1  riastrad # Response file support.
   10999  1.1  riastrad if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   11000  1.1  riastrad   nm_file_list_spec='@'
   11001  1.1  riastrad elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   11002  1.1  riastrad   nm_file_list_spec='@'
   11003  1.1  riastrad fi
   11004  1.1  riastrad 
   11005  1.1  riastrad 
   11006  1.1  riastrad 
   11007  1.1  riastrad 
   11008  1.1  riastrad 
   11009  1.1  riastrad 
   11010  1.1  riastrad 
   11011  1.1  riastrad 
   11012  1.1  riastrad 
   11013  1.1  riastrad 
   11014  1.1  riastrad 
   11015  1.1  riastrad 
   11016  1.1  riastrad 
   11017  1.1  riastrad 
   11018  1.1  riastrad 
   11019  1.1  riastrad 
   11020  1.1  riastrad 
   11021  1.1  riastrad 
   11022  1.1  riastrad 
   11023  1.1  riastrad 
   11024  1.1  riastrad 
   11025  1.1  riastrad 
   11026  1.1  riastrad 
   11027  1.1  riastrad 
   11028  1.1  riastrad 
   11029  1.1  riastrad 
   11030  1.1  riastrad 
   11031  1.1  riastrad 
   11032  1.1  riastrad 
   11033  1.1  riastrad 
   11034  1.1  riastrad 
   11035  1.1  riastrad 
   11036  1.1  riastrad 
   11037  1.1  riastrad 
   11038  1.1  riastrad 
   11039  1.1  riastrad 
   11040  1.1  riastrad 
   11041  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   11042  1.1  riastrad $as_echo_n "checking for sysroot... " >&6; }
   11043  1.1  riastrad 
   11044  1.1  riastrad # Check whether --with-sysroot was given.
   11045  1.1  riastrad if test "${with_sysroot+set}" = set; then :
   11046  1.1  riastrad   withval=$with_sysroot;
   11047  1.1  riastrad else
   11048  1.1  riastrad   with_sysroot=no
   11049  1.1  riastrad fi
   11050  1.1  riastrad 
   11051  1.1  riastrad 
   11052  1.1  riastrad lt_sysroot=
   11053  1.1  riastrad case $with_sysroot in #(
   11054  1.1  riastrad  yes)
   11055  1.1  riastrad    if test yes = "$GCC"; then
   11056  1.1  riastrad      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   11057  1.1  riastrad    fi
   11058  1.1  riastrad    ;; #(
   11059  1.1  riastrad  /*)
   11060  1.1  riastrad    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   11061  1.1  riastrad    ;; #(
   11062  1.1  riastrad  no|'')
   11063  1.1  riastrad    ;; #(
   11064  1.1  riastrad  *)
   11065  1.1  riastrad    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   11066  1.1  riastrad $as_echo "$with_sysroot" >&6; }
   11067  1.1  riastrad    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   11068  1.1  riastrad    ;;
   11069  1.1  riastrad esac
   11070  1.1  riastrad 
   11071  1.1  riastrad  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   11072  1.1  riastrad $as_echo "${lt_sysroot:-no}" >&6; }
   11073  1.1  riastrad 
   11074  1.1  riastrad 
   11075  1.1  riastrad 
   11076  1.1  riastrad 
   11077  1.1  riastrad 
   11078  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   11079  1.1  riastrad $as_echo_n "checking for a working dd... " >&6; }
   11080  1.1  riastrad if ${ac_cv_path_lt_DD+:} false; then :
   11081  1.1  riastrad   $as_echo_n "(cached) " >&6
   11082  1.1  riastrad else
   11083  1.1  riastrad   printf 0123456789abcdef0123456789abcdef >conftest.i
   11084  1.1  riastrad cat conftest.i conftest.i >conftest2.i
   11085  1.1  riastrad : ${lt_DD:=$DD}
   11086  1.1  riastrad if test -z "$lt_DD"; then
   11087  1.1  riastrad   ac_path_lt_DD_found=false
   11088  1.1  riastrad   # Loop through the user's path and test for each of PROGNAME-LIST
   11089  1.1  riastrad   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11090  1.1  riastrad for as_dir in $PATH
   11091  1.1  riastrad do
   11092  1.1  riastrad   IFS=$as_save_IFS
   11093  1.1  riastrad   test -z "$as_dir" && as_dir=.
   11094  1.1  riastrad     for ac_prog in dd; do
   11095  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   11096  1.1  riastrad       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   11097  1.1  riastrad       as_fn_executable_p "$ac_path_lt_DD" || continue
   11098  1.1  riastrad if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   11099  1.1  riastrad   cmp -s conftest.i conftest.out \
   11100  1.1  riastrad   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   11101  1.1  riastrad fi
   11102  1.1  riastrad       $ac_path_lt_DD_found && break 3
   11103  1.1  riastrad     done
   11104  1.1  riastrad   done
   11105  1.1  riastrad   done
   11106  1.1  riastrad IFS=$as_save_IFS
   11107  1.1  riastrad   if test -z "$ac_cv_path_lt_DD"; then
   11108  1.1  riastrad     :
   11109  1.1  riastrad   fi
   11110  1.1  riastrad else
   11111  1.1  riastrad   ac_cv_path_lt_DD=$lt_DD
   11112  1.1  riastrad fi
   11113  1.1  riastrad 
   11114  1.1  riastrad rm -f conftest.i conftest2.i conftest.out
   11115  1.1  riastrad fi
   11116  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   11117  1.1  riastrad $as_echo "$ac_cv_path_lt_DD" >&6; }
   11118  1.1  riastrad 
   11119  1.1  riastrad 
   11120  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   11121  1.1  riastrad $as_echo_n "checking how to truncate binary pipes... " >&6; }
   11122  1.1  riastrad if ${lt_cv_truncate_bin+:} false; then :
   11123  1.1  riastrad   $as_echo_n "(cached) " >&6
   11124  1.1  riastrad else
   11125  1.1  riastrad   printf 0123456789abcdef0123456789abcdef >conftest.i
   11126  1.1  riastrad cat conftest.i conftest.i >conftest2.i
   11127  1.1  riastrad lt_cv_truncate_bin=
   11128  1.1  riastrad if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   11129  1.1  riastrad   cmp -s conftest.i conftest.out \
   11130  1.1  riastrad   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   11131  1.1  riastrad fi
   11132  1.1  riastrad rm -f conftest.i conftest2.i conftest.out
   11133  1.1  riastrad test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   11134  1.1  riastrad fi
   11135  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   11136  1.1  riastrad $as_echo "$lt_cv_truncate_bin" >&6; }
   11137  1.1  riastrad 
   11138  1.1  riastrad 
   11139  1.1  riastrad 
   11140  1.1  riastrad 
   11141  1.1  riastrad 
   11142  1.1  riastrad 
   11143  1.1  riastrad 
   11144  1.1  riastrad # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   11145  1.1  riastrad func_cc_basename ()
   11146  1.1  riastrad {
   11147  1.1  riastrad     for cc_temp in $*""; do
   11148  1.1  riastrad       case $cc_temp in
   11149  1.1  riastrad         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11150  1.1  riastrad         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11151  1.1  riastrad         \-*) ;;
   11152  1.1  riastrad         *) break;;
   11153  1.1  riastrad       esac
   11154  1.1  riastrad     done
   11155  1.1  riastrad     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   11156  1.1  riastrad }
   11157  1.1  riastrad 
   11158  1.1  riastrad # Check whether --enable-libtool-lock was given.
   11159  1.1  riastrad if test "${enable_libtool_lock+set}" = set; then :
   11160  1.1  riastrad   enableval=$enable_libtool_lock;
   11161  1.1  riastrad fi
   11162  1.1  riastrad 
   11163  1.1  riastrad test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   11164  1.1  riastrad 
   11165  1.1  riastrad # Some flags need to be propagated to the compiler or linker for good
   11166  1.1  riastrad # libtool support.
   11167  1.1  riastrad case $host in
   11168  1.1  riastrad ia64-*-hpux*)
   11169  1.1  riastrad   # Find out what ABI is being produced by ac_compile, and set mode
   11170  1.1  riastrad   # options accordingly.
   11171  1.1  riastrad   echo 'int i;' > conftest.$ac_ext
   11172  1.1  riastrad   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11173  1.1  riastrad   (eval $ac_compile) 2>&5
   11174  1.1  riastrad   ac_status=$?
   11175  1.1  riastrad   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11176  1.1  riastrad   test $ac_status = 0; }; then
   11177  1.1  riastrad     case `/usr/bin/file conftest.$ac_objext` in
   11178  1.1  riastrad       *ELF-32*)
   11179  1.1  riastrad 	HPUX_IA64_MODE=32
   11180  1.1  riastrad 	;;
   11181  1.1  riastrad       *ELF-64*)
   11182  1.1  riastrad 	HPUX_IA64_MODE=64
   11183  1.1  riastrad 	;;
   11184  1.1  riastrad     esac
   11185  1.1  riastrad   fi
   11186  1.1  riastrad   rm -rf conftest*
   11187  1.1  riastrad   ;;
   11188  1.1  riastrad *-*-irix6*)
   11189  1.1  riastrad   # Find out what ABI is being produced by ac_compile, and set linker
   11190  1.1  riastrad   # options accordingly.
   11191  1.1  riastrad   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   11192  1.1  riastrad   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11193  1.1  riastrad   (eval $ac_compile) 2>&5
   11194  1.1  riastrad   ac_status=$?
   11195  1.1  riastrad   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11196  1.1  riastrad   test $ac_status = 0; }; then
   11197  1.1  riastrad     if test yes = "$lt_cv_prog_gnu_ld"; then
   11198  1.1  riastrad       case `/usr/bin/file conftest.$ac_objext` in
   11199  1.1  riastrad 	*32-bit*)
   11200  1.1  riastrad 	  LD="${LD-ld} -melf32bsmip"
   11201  1.1  riastrad 	  ;;
   11202  1.1  riastrad 	*N32*)
   11203  1.1  riastrad 	  LD="${LD-ld} -melf32bmipn32"
   11204  1.1  riastrad 	  ;;
   11205  1.1  riastrad 	*64-bit*)
   11206  1.1  riastrad 	  LD="${LD-ld} -melf64bmip"
   11207  1.1  riastrad 	;;
   11208  1.1  riastrad       esac
   11209  1.1  riastrad     else
   11210  1.1  riastrad       case `/usr/bin/file conftest.$ac_objext` in
   11211  1.1  riastrad 	*32-bit*)
   11212  1.1  riastrad 	  LD="${LD-ld} -32"
   11213  1.1  riastrad 	  ;;
   11214  1.1  riastrad 	*N32*)
   11215  1.1  riastrad 	  LD="${LD-ld} -n32"
   11216  1.1  riastrad 	  ;;
   11217  1.1  riastrad 	*64-bit*)
   11218  1.1  riastrad 	  LD="${LD-ld} -64"
   11219  1.1  riastrad 	  ;;
   11220  1.1  riastrad       esac
   11221  1.1  riastrad     fi
   11222  1.1  riastrad   fi
   11223  1.1  riastrad   rm -rf conftest*
   11224  1.1  riastrad   ;;
   11225  1.1  riastrad 
   11226  1.1  riastrad mips64*-*linux*)
   11227  1.1  riastrad   # Find out what ABI is being produced by ac_compile, and set linker
   11228  1.1  riastrad   # options accordingly.
   11229  1.1  riastrad   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   11230  1.1  riastrad   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11231  1.1  riastrad   (eval $ac_compile) 2>&5
   11232  1.1  riastrad   ac_status=$?
   11233  1.1  riastrad   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11234  1.1  riastrad   test $ac_status = 0; }; then
   11235  1.1  riastrad     emul=elf
   11236  1.1  riastrad     case `/usr/bin/file conftest.$ac_objext` in
   11237  1.1  riastrad       *32-bit*)
   11238  1.1  riastrad 	emul="${emul}32"
   11239  1.1  riastrad 	;;
   11240  1.1  riastrad       *64-bit*)
   11241  1.1  riastrad 	emul="${emul}64"
   11242  1.1  riastrad 	;;
   11243  1.1  riastrad     esac
   11244  1.1  riastrad     case `/usr/bin/file conftest.$ac_objext` in
   11245  1.1  riastrad       *MSB*)
   11246  1.1  riastrad 	emul="${emul}btsmip"
   11247  1.1  riastrad 	;;
   11248  1.1  riastrad       *LSB*)
   11249  1.1  riastrad 	emul="${emul}ltsmip"
   11250  1.1  riastrad 	;;
   11251  1.1  riastrad     esac
   11252  1.1  riastrad     case `/usr/bin/file conftest.$ac_objext` in
   11253  1.1  riastrad       *N32*)
   11254  1.1  riastrad 	emul="${emul}n32"
   11255  1.1  riastrad 	;;
   11256  1.1  riastrad     esac
   11257  1.1  riastrad     LD="${LD-ld} -m $emul"
   11258  1.1  riastrad   fi
   11259  1.1  riastrad   rm -rf conftest*
   11260  1.1  riastrad   ;;
   11261  1.1  riastrad 
   11262  1.1  riastrad x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   11263  1.1  riastrad s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   11264  1.1  riastrad   # Find out what ABI is being produced by ac_compile, and set linker
   11265  1.1  riastrad   # options accordingly.  Note that the listed cases only cover the
   11266  1.1  riastrad   # situations where additional linker options are needed (such as when
   11267  1.1  riastrad   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   11268  1.1  riastrad   # vice versa); the common cases where no linker options are needed do
   11269  1.1  riastrad   # not appear in the list.
   11270  1.1  riastrad   echo 'int i;' > conftest.$ac_ext
   11271  1.1  riastrad   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11272  1.1  riastrad   (eval $ac_compile) 2>&5
   11273  1.1  riastrad   ac_status=$?
   11274  1.1  riastrad   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11275  1.1  riastrad   test $ac_status = 0; }; then
   11276  1.1  riastrad     case `/usr/bin/file conftest.o` in
   11277  1.1  riastrad       *32-bit*)
   11278  1.1  riastrad 	case $host in
   11279  1.1  riastrad 	  x86_64-*kfreebsd*-gnu)
   11280  1.1  riastrad 	    LD="${LD-ld} -m elf_i386_fbsd"
   11281  1.1  riastrad 	    ;;
   11282  1.1  riastrad 	  x86_64-*linux*)
   11283  1.1  riastrad 	    case `/usr/bin/file conftest.o` in
   11284  1.1  riastrad 	      *x86-64*)
   11285  1.1  riastrad 		LD="${LD-ld} -m elf32_x86_64"
   11286  1.1  riastrad 		;;
   11287  1.1  riastrad 	      *)
   11288  1.1  riastrad 		LD="${LD-ld} -m elf_i386"
   11289  1.1  riastrad 		;;
   11290  1.1  riastrad 	    esac
   11291  1.1  riastrad 	    ;;
   11292  1.1  riastrad 	  powerpc64le-*linux*)
   11293  1.1  riastrad 	    LD="${LD-ld} -m elf32lppclinux"
   11294  1.1  riastrad 	    ;;
   11295  1.1  riastrad 	  powerpc64-*linux*)
   11296  1.1  riastrad 	    LD="${LD-ld} -m elf32ppclinux"
   11297  1.1  riastrad 	    ;;
   11298  1.1  riastrad 	  s390x-*linux*)
   11299  1.1  riastrad 	    LD="${LD-ld} -m elf_s390"
   11300  1.1  riastrad 	    ;;
   11301  1.1  riastrad 	  sparc64-*linux*)
   11302  1.1  riastrad 	    LD="${LD-ld} -m elf32_sparc"
   11303  1.1  riastrad 	    ;;
   11304  1.1  riastrad 	esac
   11305  1.1  riastrad 	;;
   11306  1.1  riastrad       *64-bit*)
   11307  1.1  riastrad 	case $host in
   11308  1.1  riastrad 	  x86_64-*kfreebsd*-gnu)
   11309  1.1  riastrad 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   11310  1.1  riastrad 	    ;;
   11311  1.1  riastrad 	  x86_64-*linux*)
   11312  1.1  riastrad 	    LD="${LD-ld} -m elf_x86_64"
   11313  1.1  riastrad 	    ;;
   11314  1.1  riastrad 	  powerpcle-*linux*)
   11315  1.1  riastrad 	    LD="${LD-ld} -m elf64lppc"
   11316  1.1  riastrad 	    ;;
   11317  1.1  riastrad 	  powerpc-*linux*)
   11318  1.1  riastrad 	    LD="${LD-ld} -m elf64ppc"
   11319  1.1  riastrad 	    ;;
   11320  1.1  riastrad 	  s390*-*linux*|s390*-*tpf*)
   11321  1.1  riastrad 	    LD="${LD-ld} -m elf64_s390"
   11322  1.1  riastrad 	    ;;
   11323  1.1  riastrad 	  sparc*-*linux*)
   11324  1.1  riastrad 	    LD="${LD-ld} -m elf64_sparc"
   11325  1.1  riastrad 	    ;;
   11326  1.1  riastrad 	esac
   11327  1.1  riastrad 	;;
   11328  1.1  riastrad     esac
   11329  1.1  riastrad   fi
   11330  1.1  riastrad   rm -rf conftest*
   11331  1.1  riastrad   ;;
   11332  1.1  riastrad 
   11333  1.1  riastrad *-*-sco3.2v5*)
   11334  1.1  riastrad   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   11335  1.1  riastrad   SAVE_CFLAGS=$CFLAGS
   11336  1.1  riastrad   CFLAGS="$CFLAGS -belf"
   11337  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   11338  1.1  riastrad $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   11339  1.1  riastrad if ${lt_cv_cc_needs_belf+:} false; then :
   11340  1.1  riastrad   $as_echo_n "(cached) " >&6
   11341  1.1  riastrad else
   11342  1.1  riastrad   ac_ext=c
   11343  1.1  riastrad ac_cpp='$CPP $CPPFLAGS'
   11344  1.1  riastrad ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11345  1.1  riastrad ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11346  1.1  riastrad ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11347  1.1  riastrad 
   11348  1.1  riastrad      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11349  1.1  riastrad /* end confdefs.h.  */
   11350  1.1  riastrad 
   11351  1.1  riastrad int
   11352  1.1  riastrad main ()
   11353  1.1  riastrad {
   11354  1.1  riastrad 
   11355  1.1  riastrad   ;
   11356  1.1  riastrad   return 0;
   11357  1.1  riastrad }
   11358  1.1  riastrad _ACEOF
   11359  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   11360  1.1  riastrad   lt_cv_cc_needs_belf=yes
   11361  1.1  riastrad else
   11362  1.1  riastrad   lt_cv_cc_needs_belf=no
   11363  1.1  riastrad fi
   11364  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   11365  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   11366  1.1  riastrad      ac_ext=c
   11367  1.1  riastrad ac_cpp='$CPP $CPPFLAGS'
   11368  1.1  riastrad ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11369  1.1  riastrad ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11370  1.1  riastrad ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11371  1.1  riastrad 
   11372  1.1  riastrad fi
   11373  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   11374  1.1  riastrad $as_echo "$lt_cv_cc_needs_belf" >&6; }
   11375  1.1  riastrad   if test yes != "$lt_cv_cc_needs_belf"; then
   11376  1.1  riastrad     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   11377  1.1  riastrad     CFLAGS=$SAVE_CFLAGS
   11378  1.1  riastrad   fi
   11379  1.1  riastrad   ;;
   11380  1.1  riastrad *-*solaris*)
   11381  1.1  riastrad   # Find out what ABI is being produced by ac_compile, and set linker
   11382  1.1  riastrad   # options accordingly.
   11383  1.1  riastrad   echo 'int i;' > conftest.$ac_ext
   11384  1.1  riastrad   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11385  1.1  riastrad   (eval $ac_compile) 2>&5
   11386  1.1  riastrad   ac_status=$?
   11387  1.1  riastrad   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11388  1.1  riastrad   test $ac_status = 0; }; then
   11389  1.1  riastrad     case `/usr/bin/file conftest.o` in
   11390  1.1  riastrad     *64-bit*)
   11391  1.1  riastrad       case $lt_cv_prog_gnu_ld in
   11392  1.1  riastrad       yes*)
   11393  1.1  riastrad         case $host in
   11394  1.1  riastrad         i?86-*-solaris*|x86_64-*-solaris*)
   11395  1.1  riastrad           LD="${LD-ld} -m elf_x86_64"
   11396  1.1  riastrad           ;;
   11397  1.1  riastrad         sparc*-*-solaris*)
   11398  1.1  riastrad           LD="${LD-ld} -m elf64_sparc"
   11399  1.1  riastrad           ;;
   11400  1.1  riastrad         esac
   11401  1.1  riastrad         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   11402  1.1  riastrad         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   11403  1.1  riastrad           LD=${LD-ld}_sol2
   11404  1.1  riastrad         fi
   11405  1.1  riastrad         ;;
   11406  1.1  riastrad       *)
   11407  1.1  riastrad 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   11408  1.1  riastrad 	  LD="${LD-ld} -64"
   11409  1.1  riastrad 	fi
   11410  1.1  riastrad 	;;
   11411  1.1  riastrad       esac
   11412  1.1  riastrad       ;;
   11413  1.1  riastrad     esac
   11414  1.1  riastrad   fi
   11415  1.1  riastrad   rm -rf conftest*
   11416  1.1  riastrad   ;;
   11417  1.1  riastrad esac
   11418  1.1  riastrad 
   11419  1.1  riastrad need_locks=$enable_libtool_lock
   11420  1.1  riastrad 
   11421  1.1  riastrad if test -n "$ac_tool_prefix"; then
   11422  1.1  riastrad   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   11423  1.1  riastrad set dummy ${ac_tool_prefix}mt; ac_word=$2
   11424  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11425  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   11426  1.1  riastrad if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   11427  1.1  riastrad   $as_echo_n "(cached) " >&6
   11428  1.1  riastrad else
   11429  1.1  riastrad   if test -n "$MANIFEST_TOOL"; then
   11430  1.1  riastrad   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   11431  1.1  riastrad else
   11432  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11433  1.1  riastrad for as_dir in $PATH
   11434  1.1  riastrad do
   11435  1.1  riastrad   IFS=$as_save_IFS
   11436  1.1  riastrad   test -z "$as_dir" && as_dir=.
   11437  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   11438  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11439  1.1  riastrad     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   11440  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11441  1.1  riastrad     break 2
   11442  1.1  riastrad   fi
   11443  1.1  riastrad done
   11444  1.1  riastrad   done
   11445  1.1  riastrad IFS=$as_save_IFS
   11446  1.1  riastrad 
   11447  1.1  riastrad fi
   11448  1.1  riastrad fi
   11449  1.1  riastrad MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   11450  1.1  riastrad if test -n "$MANIFEST_TOOL"; then
   11451  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   11452  1.1  riastrad $as_echo "$MANIFEST_TOOL" >&6; }
   11453  1.1  riastrad else
   11454  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11455  1.1  riastrad $as_echo "no" >&6; }
   11456  1.1  riastrad fi
   11457  1.1  riastrad 
   11458  1.1  riastrad 
   11459  1.1  riastrad fi
   11460  1.1  riastrad if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   11461  1.1  riastrad   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   11462  1.1  riastrad   # Extract the first word of "mt", so it can be a program name with args.
   11463  1.1  riastrad set dummy mt; ac_word=$2
   11464  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11465  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   11466  1.1  riastrad if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   11467  1.1  riastrad   $as_echo_n "(cached) " >&6
   11468  1.1  riastrad else
   11469  1.1  riastrad   if test -n "$ac_ct_MANIFEST_TOOL"; then
   11470  1.1  riastrad   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   11471  1.1  riastrad else
   11472  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11473  1.1  riastrad for as_dir in $PATH
   11474  1.1  riastrad do
   11475  1.1  riastrad   IFS=$as_save_IFS
   11476  1.1  riastrad   test -z "$as_dir" && as_dir=.
   11477  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   11478  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11479  1.1  riastrad     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   11480  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11481  1.1  riastrad     break 2
   11482  1.1  riastrad   fi
   11483  1.1  riastrad done
   11484  1.1  riastrad   done
   11485  1.1  riastrad IFS=$as_save_IFS
   11486  1.1  riastrad 
   11487  1.1  riastrad fi
   11488  1.1  riastrad fi
   11489  1.1  riastrad ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   11490  1.1  riastrad if test -n "$ac_ct_MANIFEST_TOOL"; then
   11491  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   11492  1.1  riastrad $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   11493  1.1  riastrad else
   11494  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11495  1.1  riastrad $as_echo "no" >&6; }
   11496  1.1  riastrad fi
   11497  1.1  riastrad 
   11498  1.1  riastrad   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   11499  1.1  riastrad     MANIFEST_TOOL=":"
   11500  1.1  riastrad   else
   11501  1.1  riastrad     case $cross_compiling:$ac_tool_warned in
   11502  1.1  riastrad yes:)
   11503  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11504  1.1  riastrad $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11505  1.1  riastrad ac_tool_warned=yes ;;
   11506  1.1  riastrad esac
   11507  1.1  riastrad     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   11508  1.1  riastrad   fi
   11509  1.1  riastrad else
   11510  1.1  riastrad   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   11511  1.1  riastrad fi
   11512  1.1  riastrad 
   11513  1.1  riastrad test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   11514  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   11515  1.1  riastrad $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   11516  1.1  riastrad if ${lt_cv_path_mainfest_tool+:} false; then :
   11517  1.1  riastrad   $as_echo_n "(cached) " >&6
   11518  1.1  riastrad else
   11519  1.1  riastrad   lt_cv_path_mainfest_tool=no
   11520  1.1  riastrad   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   11521  1.1  riastrad   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   11522  1.1  riastrad   cat conftest.err >&5
   11523  1.1  riastrad   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   11524  1.1  riastrad     lt_cv_path_mainfest_tool=yes
   11525  1.1  riastrad   fi
   11526  1.1  riastrad   rm -f conftest*
   11527  1.1  riastrad fi
   11528  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   11529  1.1  riastrad $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   11530  1.1  riastrad if test yes != "$lt_cv_path_mainfest_tool"; then
   11531  1.1  riastrad   MANIFEST_TOOL=:
   11532  1.1  riastrad fi
   11533  1.1  riastrad 
   11534  1.1  riastrad 
   11535  1.1  riastrad 
   11536  1.1  riastrad 
   11537  1.1  riastrad 
   11538  1.1  riastrad 
   11539  1.1  riastrad   case $host_os in
   11540  1.1  riastrad     rhapsody* | darwin*)
   11541  1.1  riastrad     if test -n "$ac_tool_prefix"; then
   11542  1.1  riastrad   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   11543  1.1  riastrad set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   11544  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11545  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   11546  1.1  riastrad if ${ac_cv_prog_DSYMUTIL+:} false; then :
   11547  1.1  riastrad   $as_echo_n "(cached) " >&6
   11548  1.1  riastrad else
   11549  1.1  riastrad   if test -n "$DSYMUTIL"; then
   11550  1.1  riastrad   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   11551  1.1  riastrad else
   11552  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11553  1.1  riastrad for as_dir in $PATH
   11554  1.1  riastrad do
   11555  1.1  riastrad   IFS=$as_save_IFS
   11556  1.1  riastrad   test -z "$as_dir" && as_dir=.
   11557  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   11558  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11559  1.1  riastrad     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   11560  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11561  1.1  riastrad     break 2
   11562  1.1  riastrad   fi
   11563  1.1  riastrad done
   11564  1.1  riastrad   done
   11565  1.1  riastrad IFS=$as_save_IFS
   11566  1.1  riastrad 
   11567  1.1  riastrad fi
   11568  1.1  riastrad fi
   11569  1.1  riastrad DSYMUTIL=$ac_cv_prog_DSYMUTIL
   11570  1.1  riastrad if test -n "$DSYMUTIL"; then
   11571  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   11572  1.1  riastrad $as_echo "$DSYMUTIL" >&6; }
   11573  1.1  riastrad else
   11574  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11575  1.1  riastrad $as_echo "no" >&6; }
   11576  1.1  riastrad fi
   11577  1.1  riastrad 
   11578  1.1  riastrad 
   11579  1.1  riastrad fi
   11580  1.1  riastrad if test -z "$ac_cv_prog_DSYMUTIL"; then
   11581  1.1  riastrad   ac_ct_DSYMUTIL=$DSYMUTIL
   11582  1.1  riastrad   # Extract the first word of "dsymutil", so it can be a program name with args.
   11583  1.1  riastrad set dummy dsymutil; ac_word=$2
   11584  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11585  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   11586  1.1  riastrad if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   11587  1.1  riastrad   $as_echo_n "(cached) " >&6
   11588  1.1  riastrad else
   11589  1.1  riastrad   if test -n "$ac_ct_DSYMUTIL"; then
   11590  1.1  riastrad   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   11591  1.1  riastrad else
   11592  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11593  1.1  riastrad for as_dir in $PATH
   11594  1.1  riastrad do
   11595  1.1  riastrad   IFS=$as_save_IFS
   11596  1.1  riastrad   test -z "$as_dir" && as_dir=.
   11597  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   11598  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11599  1.1  riastrad     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   11600  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11601  1.1  riastrad     break 2
   11602  1.1  riastrad   fi
   11603  1.1  riastrad done
   11604  1.1  riastrad   done
   11605  1.1  riastrad IFS=$as_save_IFS
   11606  1.1  riastrad 
   11607  1.1  riastrad fi
   11608  1.1  riastrad fi
   11609  1.1  riastrad ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   11610  1.1  riastrad if test -n "$ac_ct_DSYMUTIL"; then
   11611  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   11612  1.1  riastrad $as_echo "$ac_ct_DSYMUTIL" >&6; }
   11613  1.1  riastrad else
   11614  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11615  1.1  riastrad $as_echo "no" >&6; }
   11616  1.1  riastrad fi
   11617  1.1  riastrad 
   11618  1.1  riastrad   if test "x$ac_ct_DSYMUTIL" = x; then
   11619  1.1  riastrad     DSYMUTIL=":"
   11620  1.1  riastrad   else
   11621  1.1  riastrad     case $cross_compiling:$ac_tool_warned in
   11622  1.1  riastrad yes:)
   11623  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11624  1.1  riastrad $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11625  1.1  riastrad ac_tool_warned=yes ;;
   11626  1.1  riastrad esac
   11627  1.1  riastrad     DSYMUTIL=$ac_ct_DSYMUTIL
   11628  1.1  riastrad   fi
   11629  1.1  riastrad else
   11630  1.1  riastrad   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   11631  1.1  riastrad fi
   11632  1.1  riastrad 
   11633  1.1  riastrad     if test -n "$ac_tool_prefix"; then
   11634  1.1  riastrad   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   11635  1.1  riastrad set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   11636  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11637  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   11638  1.1  riastrad if ${ac_cv_prog_NMEDIT+:} false; then :
   11639  1.1  riastrad   $as_echo_n "(cached) " >&6
   11640  1.1  riastrad else
   11641  1.1  riastrad   if test -n "$NMEDIT"; then
   11642  1.1  riastrad   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   11643  1.1  riastrad else
   11644  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11645  1.1  riastrad for as_dir in $PATH
   11646  1.1  riastrad do
   11647  1.1  riastrad   IFS=$as_save_IFS
   11648  1.1  riastrad   test -z "$as_dir" && as_dir=.
   11649  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   11650  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11651  1.1  riastrad     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   11652  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11653  1.1  riastrad     break 2
   11654  1.1  riastrad   fi
   11655  1.1  riastrad done
   11656  1.1  riastrad   done
   11657  1.1  riastrad IFS=$as_save_IFS
   11658  1.1  riastrad 
   11659  1.1  riastrad fi
   11660  1.1  riastrad fi
   11661  1.1  riastrad NMEDIT=$ac_cv_prog_NMEDIT
   11662  1.1  riastrad if test -n "$NMEDIT"; then
   11663  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   11664  1.1  riastrad $as_echo "$NMEDIT" >&6; }
   11665  1.1  riastrad else
   11666  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11667  1.1  riastrad $as_echo "no" >&6; }
   11668  1.1  riastrad fi
   11669  1.1  riastrad 
   11670  1.1  riastrad 
   11671  1.1  riastrad fi
   11672  1.1  riastrad if test -z "$ac_cv_prog_NMEDIT"; then
   11673  1.1  riastrad   ac_ct_NMEDIT=$NMEDIT
   11674  1.1  riastrad   # Extract the first word of "nmedit", so it can be a program name with args.
   11675  1.1  riastrad set dummy nmedit; ac_word=$2
   11676  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11677  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   11678  1.1  riastrad if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   11679  1.1  riastrad   $as_echo_n "(cached) " >&6
   11680  1.1  riastrad else
   11681  1.1  riastrad   if test -n "$ac_ct_NMEDIT"; then
   11682  1.1  riastrad   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   11683  1.1  riastrad else
   11684  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11685  1.1  riastrad for as_dir in $PATH
   11686  1.1  riastrad do
   11687  1.1  riastrad   IFS=$as_save_IFS
   11688  1.1  riastrad   test -z "$as_dir" && as_dir=.
   11689  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   11690  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11691  1.1  riastrad     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   11692  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11693  1.1  riastrad     break 2
   11694  1.1  riastrad   fi
   11695  1.1  riastrad done
   11696  1.1  riastrad   done
   11697  1.1  riastrad IFS=$as_save_IFS
   11698  1.1  riastrad 
   11699  1.1  riastrad fi
   11700  1.1  riastrad fi
   11701  1.1  riastrad ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   11702  1.1  riastrad if test -n "$ac_ct_NMEDIT"; then
   11703  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   11704  1.1  riastrad $as_echo "$ac_ct_NMEDIT" >&6; }
   11705  1.1  riastrad else
   11706  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11707  1.1  riastrad $as_echo "no" >&6; }
   11708  1.1  riastrad fi
   11709  1.1  riastrad 
   11710  1.1  riastrad   if test "x$ac_ct_NMEDIT" = x; then
   11711  1.1  riastrad     NMEDIT=":"
   11712  1.1  riastrad   else
   11713  1.1  riastrad     case $cross_compiling:$ac_tool_warned in
   11714  1.1  riastrad yes:)
   11715  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11716  1.1  riastrad $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11717  1.1  riastrad ac_tool_warned=yes ;;
   11718  1.1  riastrad esac
   11719  1.1  riastrad     NMEDIT=$ac_ct_NMEDIT
   11720  1.1  riastrad   fi
   11721  1.1  riastrad else
   11722  1.1  riastrad   NMEDIT="$ac_cv_prog_NMEDIT"
   11723  1.1  riastrad fi
   11724  1.1  riastrad 
   11725  1.1  riastrad     if test -n "$ac_tool_prefix"; then
   11726  1.1  riastrad   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   11727  1.1  riastrad set dummy ${ac_tool_prefix}lipo; ac_word=$2
   11728  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11729  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   11730  1.1  riastrad if ${ac_cv_prog_LIPO+:} false; then :
   11731  1.1  riastrad   $as_echo_n "(cached) " >&6
   11732  1.1  riastrad else
   11733  1.1  riastrad   if test -n "$LIPO"; then
   11734  1.1  riastrad   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   11735  1.1  riastrad else
   11736  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11737  1.1  riastrad for as_dir in $PATH
   11738  1.1  riastrad do
   11739  1.1  riastrad   IFS=$as_save_IFS
   11740  1.1  riastrad   test -z "$as_dir" && as_dir=.
   11741  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   11742  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11743  1.1  riastrad     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   11744  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11745  1.1  riastrad     break 2
   11746  1.1  riastrad   fi
   11747  1.1  riastrad done
   11748  1.1  riastrad   done
   11749  1.1  riastrad IFS=$as_save_IFS
   11750  1.1  riastrad 
   11751  1.1  riastrad fi
   11752  1.1  riastrad fi
   11753  1.1  riastrad LIPO=$ac_cv_prog_LIPO
   11754  1.1  riastrad if test -n "$LIPO"; then
   11755  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   11756  1.1  riastrad $as_echo "$LIPO" >&6; }
   11757  1.1  riastrad else
   11758  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11759  1.1  riastrad $as_echo "no" >&6; }
   11760  1.1  riastrad fi
   11761  1.1  riastrad 
   11762  1.1  riastrad 
   11763  1.1  riastrad fi
   11764  1.1  riastrad if test -z "$ac_cv_prog_LIPO"; then
   11765  1.1  riastrad   ac_ct_LIPO=$LIPO
   11766  1.1  riastrad   # Extract the first word of "lipo", so it can be a program name with args.
   11767  1.1  riastrad set dummy lipo; ac_word=$2
   11768  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11769  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   11770  1.1  riastrad if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   11771  1.1  riastrad   $as_echo_n "(cached) " >&6
   11772  1.1  riastrad else
   11773  1.1  riastrad   if test -n "$ac_ct_LIPO"; then
   11774  1.1  riastrad   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   11775  1.1  riastrad else
   11776  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11777  1.1  riastrad for as_dir in $PATH
   11778  1.1  riastrad do
   11779  1.1  riastrad   IFS=$as_save_IFS
   11780  1.1  riastrad   test -z "$as_dir" && as_dir=.
   11781  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   11782  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11783  1.1  riastrad     ac_cv_prog_ac_ct_LIPO="lipo"
   11784  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11785  1.1  riastrad     break 2
   11786  1.1  riastrad   fi
   11787  1.1  riastrad done
   11788  1.1  riastrad   done
   11789  1.1  riastrad IFS=$as_save_IFS
   11790  1.1  riastrad 
   11791  1.1  riastrad fi
   11792  1.1  riastrad fi
   11793  1.1  riastrad ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   11794  1.1  riastrad if test -n "$ac_ct_LIPO"; then
   11795  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   11796  1.1  riastrad $as_echo "$ac_ct_LIPO" >&6; }
   11797  1.1  riastrad else
   11798  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11799  1.1  riastrad $as_echo "no" >&6; }
   11800  1.1  riastrad fi
   11801  1.1  riastrad 
   11802  1.1  riastrad   if test "x$ac_ct_LIPO" = x; then
   11803  1.1  riastrad     LIPO=":"
   11804  1.1  riastrad   else
   11805  1.1  riastrad     case $cross_compiling:$ac_tool_warned in
   11806  1.1  riastrad yes:)
   11807  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11808  1.1  riastrad $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11809  1.1  riastrad ac_tool_warned=yes ;;
   11810  1.1  riastrad esac
   11811  1.1  riastrad     LIPO=$ac_ct_LIPO
   11812  1.1  riastrad   fi
   11813  1.1  riastrad else
   11814  1.1  riastrad   LIPO="$ac_cv_prog_LIPO"
   11815  1.1  riastrad fi
   11816  1.1  riastrad 
   11817  1.1  riastrad     if test -n "$ac_tool_prefix"; then
   11818  1.1  riastrad   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   11819  1.1  riastrad set dummy ${ac_tool_prefix}otool; ac_word=$2
   11820  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11821  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   11822  1.1  riastrad if ${ac_cv_prog_OTOOL+:} false; then :
   11823  1.1  riastrad   $as_echo_n "(cached) " >&6
   11824  1.1  riastrad else
   11825  1.1  riastrad   if test -n "$OTOOL"; then
   11826  1.1  riastrad   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   11827  1.1  riastrad else
   11828  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11829  1.1  riastrad for as_dir in $PATH
   11830  1.1  riastrad do
   11831  1.1  riastrad   IFS=$as_save_IFS
   11832  1.1  riastrad   test -z "$as_dir" && as_dir=.
   11833  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   11834  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11835  1.1  riastrad     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   11836  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11837  1.1  riastrad     break 2
   11838  1.1  riastrad   fi
   11839  1.1  riastrad done
   11840  1.1  riastrad   done
   11841  1.1  riastrad IFS=$as_save_IFS
   11842  1.1  riastrad 
   11843  1.1  riastrad fi
   11844  1.1  riastrad fi
   11845  1.1  riastrad OTOOL=$ac_cv_prog_OTOOL
   11846  1.1  riastrad if test -n "$OTOOL"; then
   11847  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   11848  1.1  riastrad $as_echo "$OTOOL" >&6; }
   11849  1.1  riastrad else
   11850  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11851  1.1  riastrad $as_echo "no" >&6; }
   11852  1.1  riastrad fi
   11853  1.1  riastrad 
   11854  1.1  riastrad 
   11855  1.1  riastrad fi
   11856  1.1  riastrad if test -z "$ac_cv_prog_OTOOL"; then
   11857  1.1  riastrad   ac_ct_OTOOL=$OTOOL
   11858  1.1  riastrad   # Extract the first word of "otool", so it can be a program name with args.
   11859  1.1  riastrad set dummy otool; ac_word=$2
   11860  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11861  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   11862  1.1  riastrad if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   11863  1.1  riastrad   $as_echo_n "(cached) " >&6
   11864  1.1  riastrad else
   11865  1.1  riastrad   if test -n "$ac_ct_OTOOL"; then
   11866  1.1  riastrad   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   11867  1.1  riastrad else
   11868  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11869  1.1  riastrad for as_dir in $PATH
   11870  1.1  riastrad do
   11871  1.1  riastrad   IFS=$as_save_IFS
   11872  1.1  riastrad   test -z "$as_dir" && as_dir=.
   11873  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   11874  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11875  1.1  riastrad     ac_cv_prog_ac_ct_OTOOL="otool"
   11876  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11877  1.1  riastrad     break 2
   11878  1.1  riastrad   fi
   11879  1.1  riastrad done
   11880  1.1  riastrad   done
   11881  1.1  riastrad IFS=$as_save_IFS
   11882  1.1  riastrad 
   11883  1.1  riastrad fi
   11884  1.1  riastrad fi
   11885  1.1  riastrad ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   11886  1.1  riastrad if test -n "$ac_ct_OTOOL"; then
   11887  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   11888  1.1  riastrad $as_echo "$ac_ct_OTOOL" >&6; }
   11889  1.1  riastrad else
   11890  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11891  1.1  riastrad $as_echo "no" >&6; }
   11892  1.1  riastrad fi
   11893  1.1  riastrad 
   11894  1.1  riastrad   if test "x$ac_ct_OTOOL" = x; then
   11895  1.1  riastrad     OTOOL=":"
   11896  1.1  riastrad   else
   11897  1.1  riastrad     case $cross_compiling:$ac_tool_warned in
   11898  1.1  riastrad yes:)
   11899  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11900  1.1  riastrad $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11901  1.1  riastrad ac_tool_warned=yes ;;
   11902  1.1  riastrad esac
   11903  1.1  riastrad     OTOOL=$ac_ct_OTOOL
   11904  1.1  riastrad   fi
   11905  1.1  riastrad else
   11906  1.1  riastrad   OTOOL="$ac_cv_prog_OTOOL"
   11907  1.1  riastrad fi
   11908  1.1  riastrad 
   11909  1.1  riastrad     if test -n "$ac_tool_prefix"; then
   11910  1.1  riastrad   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   11911  1.1  riastrad set dummy ${ac_tool_prefix}otool64; ac_word=$2
   11912  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11913  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   11914  1.1  riastrad if ${ac_cv_prog_OTOOL64+:} false; then :
   11915  1.1  riastrad   $as_echo_n "(cached) " >&6
   11916  1.1  riastrad else
   11917  1.1  riastrad   if test -n "$OTOOL64"; then
   11918  1.1  riastrad   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   11919  1.1  riastrad else
   11920  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11921  1.1  riastrad for as_dir in $PATH
   11922  1.1  riastrad do
   11923  1.1  riastrad   IFS=$as_save_IFS
   11924  1.1  riastrad   test -z "$as_dir" && as_dir=.
   11925  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   11926  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11927  1.1  riastrad     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   11928  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11929  1.1  riastrad     break 2
   11930  1.1  riastrad   fi
   11931  1.1  riastrad done
   11932  1.1  riastrad   done
   11933  1.1  riastrad IFS=$as_save_IFS
   11934  1.1  riastrad 
   11935  1.1  riastrad fi
   11936  1.1  riastrad fi
   11937  1.1  riastrad OTOOL64=$ac_cv_prog_OTOOL64
   11938  1.1  riastrad if test -n "$OTOOL64"; then
   11939  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   11940  1.1  riastrad $as_echo "$OTOOL64" >&6; }
   11941  1.1  riastrad else
   11942  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11943  1.1  riastrad $as_echo "no" >&6; }
   11944  1.1  riastrad fi
   11945  1.1  riastrad 
   11946  1.1  riastrad 
   11947  1.1  riastrad fi
   11948  1.1  riastrad if test -z "$ac_cv_prog_OTOOL64"; then
   11949  1.1  riastrad   ac_ct_OTOOL64=$OTOOL64
   11950  1.1  riastrad   # Extract the first word of "otool64", so it can be a program name with args.
   11951  1.1  riastrad set dummy otool64; ac_word=$2
   11952  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11953  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   11954  1.1  riastrad if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   11955  1.1  riastrad   $as_echo_n "(cached) " >&6
   11956  1.1  riastrad else
   11957  1.1  riastrad   if test -n "$ac_ct_OTOOL64"; then
   11958  1.1  riastrad   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   11959  1.1  riastrad else
   11960  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11961  1.1  riastrad for as_dir in $PATH
   11962  1.1  riastrad do
   11963  1.1  riastrad   IFS=$as_save_IFS
   11964  1.1  riastrad   test -z "$as_dir" && as_dir=.
   11965  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   11966  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11967  1.1  riastrad     ac_cv_prog_ac_ct_OTOOL64="otool64"
   11968  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11969  1.1  riastrad     break 2
   11970  1.1  riastrad   fi
   11971  1.1  riastrad done
   11972  1.1  riastrad   done
   11973  1.1  riastrad IFS=$as_save_IFS
   11974  1.1  riastrad 
   11975  1.1  riastrad fi
   11976  1.1  riastrad fi
   11977  1.1  riastrad ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   11978  1.1  riastrad if test -n "$ac_ct_OTOOL64"; then
   11979  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   11980  1.1  riastrad $as_echo "$ac_ct_OTOOL64" >&6; }
   11981  1.1  riastrad else
   11982  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11983  1.1  riastrad $as_echo "no" >&6; }
   11984  1.1  riastrad fi
   11985  1.1  riastrad 
   11986  1.1  riastrad   if test "x$ac_ct_OTOOL64" = x; then
   11987  1.1  riastrad     OTOOL64=":"
   11988  1.1  riastrad   else
   11989  1.1  riastrad     case $cross_compiling:$ac_tool_warned in
   11990  1.1  riastrad yes:)
   11991  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11992  1.1  riastrad $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11993  1.1  riastrad ac_tool_warned=yes ;;
   11994  1.1  riastrad esac
   11995  1.1  riastrad     OTOOL64=$ac_ct_OTOOL64
   11996  1.1  riastrad   fi
   11997  1.1  riastrad else
   11998  1.1  riastrad   OTOOL64="$ac_cv_prog_OTOOL64"
   11999  1.1  riastrad fi
   12000  1.1  riastrad 
   12001  1.1  riastrad 
   12002  1.1  riastrad 
   12003  1.1  riastrad 
   12004  1.1  riastrad 
   12005  1.1  riastrad 
   12006  1.1  riastrad 
   12007  1.1  riastrad 
   12008  1.1  riastrad 
   12009  1.1  riastrad 
   12010  1.1  riastrad 
   12011  1.1  riastrad 
   12012  1.1  riastrad 
   12013  1.1  riastrad 
   12014  1.1  riastrad 
   12015  1.1  riastrad 
   12016  1.1  riastrad 
   12017  1.1  riastrad 
   12018  1.1  riastrad 
   12019  1.1  riastrad 
   12020  1.1  riastrad 
   12021  1.1  riastrad 
   12022  1.1  riastrad 
   12023  1.1  riastrad 
   12024  1.1  riastrad 
   12025  1.1  riastrad 
   12026  1.1  riastrad 
   12027  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   12028  1.1  riastrad $as_echo_n "checking for -single_module linker flag... " >&6; }
   12029  1.1  riastrad if ${lt_cv_apple_cc_single_mod+:} false; then :
   12030  1.1  riastrad   $as_echo_n "(cached) " >&6
   12031  1.1  riastrad else
   12032  1.1  riastrad   lt_cv_apple_cc_single_mod=no
   12033  1.1  riastrad       if test -z "$LT_MULTI_MODULE"; then
   12034  1.1  riastrad 	# By default we will add the -single_module flag. You can override
   12035  1.1  riastrad 	# by either setting the environment variable LT_MULTI_MODULE
   12036  1.1  riastrad 	# non-empty at configure time, or by adding -multi_module to the
   12037  1.1  riastrad 	# link flags.
   12038  1.1  riastrad 	rm -rf libconftest.dylib*
   12039  1.1  riastrad 	echo "int foo(void){return 1;}" > conftest.c
   12040  1.1  riastrad 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   12041  1.1  riastrad -dynamiclib -Wl,-single_module conftest.c" >&5
   12042  1.1  riastrad 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   12043  1.1  riastrad 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   12044  1.1  riastrad         _lt_result=$?
   12045  1.1  riastrad 	# If there is a non-empty error log, and "single_module"
   12046  1.1  riastrad 	# appears in it, assume the flag caused a linker warning
   12047  1.1  riastrad         if test -s conftest.err && $GREP single_module conftest.err; then
   12048  1.1  riastrad 	  cat conftest.err >&5
   12049  1.1  riastrad 	# Otherwise, if the output was created with a 0 exit code from
   12050  1.1  riastrad 	# the compiler, it worked.
   12051  1.1  riastrad 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   12052  1.1  riastrad 	  lt_cv_apple_cc_single_mod=yes
   12053  1.1  riastrad 	else
   12054  1.1  riastrad 	  cat conftest.err >&5
   12055  1.1  riastrad 	fi
   12056  1.1  riastrad 	rm -rf libconftest.dylib*
   12057  1.1  riastrad 	rm -f conftest.*
   12058  1.1  riastrad       fi
   12059  1.1  riastrad fi
   12060  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   12061  1.1  riastrad $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   12062  1.1  riastrad 
   12063  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   12064  1.1  riastrad $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   12065  1.1  riastrad if ${lt_cv_ld_exported_symbols_list+:} false; then :
   12066  1.1  riastrad   $as_echo_n "(cached) " >&6
   12067  1.1  riastrad else
   12068  1.1  riastrad   lt_cv_ld_exported_symbols_list=no
   12069  1.1  riastrad       save_LDFLAGS=$LDFLAGS
   12070  1.1  riastrad       echo "_main" > conftest.sym
   12071  1.1  riastrad       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   12072  1.1  riastrad       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12073  1.1  riastrad /* end confdefs.h.  */
   12074  1.1  riastrad 
   12075  1.1  riastrad int
   12076  1.1  riastrad main ()
   12077  1.1  riastrad {
   12078  1.1  riastrad 
   12079  1.1  riastrad   ;
   12080  1.1  riastrad   return 0;
   12081  1.1  riastrad }
   12082  1.1  riastrad _ACEOF
   12083  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   12084  1.1  riastrad   lt_cv_ld_exported_symbols_list=yes
   12085  1.1  riastrad else
   12086  1.1  riastrad   lt_cv_ld_exported_symbols_list=no
   12087  1.1  riastrad fi
   12088  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   12089  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   12090  1.1  riastrad 	LDFLAGS=$save_LDFLAGS
   12091  1.1  riastrad 
   12092  1.1  riastrad fi
   12093  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   12094  1.1  riastrad $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   12095  1.1  riastrad 
   12096  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   12097  1.1  riastrad $as_echo_n "checking for -force_load linker flag... " >&6; }
   12098  1.1  riastrad if ${lt_cv_ld_force_load+:} false; then :
   12099  1.1  riastrad   $as_echo_n "(cached) " >&6
   12100  1.1  riastrad else
   12101  1.1  riastrad   lt_cv_ld_force_load=no
   12102  1.1  riastrad       cat > conftest.c << _LT_EOF
   12103  1.1  riastrad int forced_loaded() { return 2;}
   12104  1.1  riastrad _LT_EOF
   12105  1.1  riastrad       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   12106  1.1  riastrad       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   12107  1.1  riastrad       echo "$AR cru libconftest.a conftest.o" >&5
   12108  1.1  riastrad       $AR cru libconftest.a conftest.o 2>&5
   12109  1.1  riastrad       echo "$RANLIB libconftest.a" >&5
   12110  1.1  riastrad       $RANLIB libconftest.a 2>&5
   12111  1.1  riastrad       cat > conftest.c << _LT_EOF
   12112  1.1  riastrad int main() { return 0;}
   12113  1.1  riastrad _LT_EOF
   12114  1.1  riastrad       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   12115  1.1  riastrad       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   12116  1.1  riastrad       _lt_result=$?
   12117  1.1  riastrad       if test -s conftest.err && $GREP force_load conftest.err; then
   12118  1.1  riastrad 	cat conftest.err >&5
   12119  1.1  riastrad       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   12120  1.1  riastrad 	lt_cv_ld_force_load=yes
   12121  1.1  riastrad       else
   12122  1.1  riastrad 	cat conftest.err >&5
   12123  1.1  riastrad       fi
   12124  1.1  riastrad         rm -f conftest.err libconftest.a conftest conftest.c
   12125  1.1  riastrad         rm -rf conftest.dSYM
   12126  1.1  riastrad 
   12127  1.1  riastrad fi
   12128  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   12129  1.1  riastrad $as_echo "$lt_cv_ld_force_load" >&6; }
   12130  1.1  riastrad     case $host_os in
   12131  1.1  riastrad     rhapsody* | darwin1.[012])
   12132  1.1  riastrad       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   12133  1.1  riastrad     darwin1.*)
   12134  1.1  riastrad       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   12135  1.1  riastrad     darwin*) # darwin 5.x on
   12136  1.1  riastrad       # if running on 10.5 or later, the deployment target defaults
   12137  1.1  riastrad       # to the OS version, if on x86, and 10.4, the deployment
   12138  1.1  riastrad       # target defaults to 10.4. Don't you love it?
   12139  1.1  riastrad       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   12140  1.1  riastrad 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   12141  1.1  riastrad 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   12142  1.1  riastrad 	10.[012][,.]*)
   12143  1.1  riastrad 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   12144  1.1  riastrad 	10.*)
   12145  1.1  riastrad 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   12146  1.1  riastrad       esac
   12147  1.1  riastrad     ;;
   12148  1.1  riastrad   esac
   12149  1.1  riastrad     if test yes = "$lt_cv_apple_cc_single_mod"; then
   12150  1.1  riastrad       _lt_dar_single_mod='$single_module'
   12151  1.1  riastrad     fi
   12152  1.1  riastrad     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   12153  1.1  riastrad       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   12154  1.1  riastrad     else
   12155  1.1  riastrad       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   12156  1.1  riastrad     fi
   12157  1.1  riastrad     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   12158  1.1  riastrad       _lt_dsymutil='~$DSYMUTIL $lib || :'
   12159  1.1  riastrad     else
   12160  1.1  riastrad       _lt_dsymutil=
   12161  1.1  riastrad     fi
   12162  1.1  riastrad     ;;
   12163  1.1  riastrad   esac
   12164  1.1  riastrad 
   12165  1.1  riastrad # func_munge_path_list VARIABLE PATH
   12166  1.1  riastrad # -----------------------------------
   12167  1.1  riastrad # VARIABLE is name of variable containing _space_ separated list of
   12168  1.1  riastrad # directories to be munged by the contents of PATH, which is string
   12169  1.1  riastrad # having a format:
   12170  1.1  riastrad # "DIR[:DIR]:"
   12171  1.1  riastrad #       string "DIR[ DIR]" will be prepended to VARIABLE
   12172  1.1  riastrad # ":DIR[:DIR]"
   12173  1.1  riastrad #       string "DIR[ DIR]" will be appended to VARIABLE
   12174  1.1  riastrad # "DIRP[:DIRP]::[DIRA:]DIRA"
   12175  1.1  riastrad #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   12176  1.1  riastrad #       "DIRA[ DIRA]" will be appended to VARIABLE
   12177  1.1  riastrad # "DIR[:DIR]"
   12178  1.1  riastrad #       VARIABLE will be replaced by "DIR[ DIR]"
   12179  1.1  riastrad func_munge_path_list ()
   12180  1.1  riastrad {
   12181  1.1  riastrad     case x$2 in
   12182  1.1  riastrad     x)
   12183  1.1  riastrad         ;;
   12184  1.1  riastrad     *:)
   12185  1.1  riastrad         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   12186  1.1  riastrad         ;;
   12187  1.1  riastrad     x:*)
   12188  1.1  riastrad         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   12189  1.1  riastrad         ;;
   12190  1.1  riastrad     *::*)
   12191  1.1  riastrad         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   12192  1.1  riastrad         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   12193  1.1  riastrad         ;;
   12194  1.1  riastrad     *)
   12195  1.1  riastrad         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   12196  1.1  riastrad         ;;
   12197  1.1  riastrad     esac
   12198  1.1  riastrad }
   12199  1.1  riastrad 
   12200  1.1  riastrad for ac_header in dlfcn.h
   12201  1.1  riastrad do :
   12202  1.1  riastrad   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   12203  1.1  riastrad "
   12204  1.1  riastrad if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   12205  1.1  riastrad   cat >>confdefs.h <<_ACEOF
   12206  1.1  riastrad #define HAVE_DLFCN_H 1
   12207  1.1  riastrad _ACEOF
   12208  1.1  riastrad 
   12209  1.1  riastrad fi
   12210  1.1  riastrad 
   12211  1.1  riastrad done
   12212  1.1  riastrad 
   12213  1.1  riastrad 
   12214  1.1  riastrad 
   12215  1.1  riastrad 
   12216  1.1  riastrad 
   12217  1.1  riastrad # Set options
   12218  1.1  riastrad 
   12219  1.1  riastrad 
   12220  1.1  riastrad 
   12221  1.1  riastrad         enable_dlopen=no
   12222  1.1  riastrad 
   12223  1.1  riastrad 
   12224  1.1  riastrad   enable_win32_dll=no
   12225  1.1  riastrad 
   12226  1.1  riastrad 
   12227  1.1  riastrad             # Check whether --enable-shared was given.
   12228  1.1  riastrad if test "${enable_shared+set}" = set; then :
   12229  1.1  riastrad   enableval=$enable_shared; p=${PACKAGE-default}
   12230  1.1  riastrad     case $enableval in
   12231  1.1  riastrad     yes) enable_shared=yes ;;
   12232  1.1  riastrad     no) enable_shared=no ;;
   12233  1.1  riastrad     *)
   12234  1.1  riastrad       enable_shared=no
   12235  1.1  riastrad       # Look at the argument we got.  We use all the common list separators.
   12236  1.1  riastrad       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   12237  1.1  riastrad       for pkg in $enableval; do
   12238  1.1  riastrad 	IFS=$lt_save_ifs
   12239  1.1  riastrad 	if test "X$pkg" = "X$p"; then
   12240  1.1  riastrad 	  enable_shared=yes
   12241  1.1  riastrad 	fi
   12242  1.1  riastrad       done
   12243  1.1  riastrad       IFS=$lt_save_ifs
   12244  1.1  riastrad       ;;
   12245  1.1  riastrad     esac
   12246  1.1  riastrad else
   12247  1.1  riastrad   enable_shared=yes
   12248  1.1  riastrad fi
   12249  1.1  riastrad 
   12250  1.1  riastrad 
   12251  1.1  riastrad 
   12252  1.1  riastrad 
   12253  1.1  riastrad 
   12254  1.1  riastrad 
   12255  1.1  riastrad 
   12256  1.1  riastrad 
   12257  1.1  riastrad 
   12258  1.1  riastrad   # Check whether --enable-static was given.
   12259  1.1  riastrad if test "${enable_static+set}" = set; then :
   12260  1.1  riastrad   enableval=$enable_static; p=${PACKAGE-default}
   12261  1.1  riastrad     case $enableval in
   12262  1.1  riastrad     yes) enable_static=yes ;;
   12263  1.1  riastrad     no) enable_static=no ;;
   12264  1.1  riastrad     *)
   12265  1.1  riastrad      enable_static=no
   12266  1.1  riastrad       # Look at the argument we got.  We use all the common list separators.
   12267  1.1  riastrad       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   12268  1.1  riastrad       for pkg in $enableval; do
   12269  1.1  riastrad 	IFS=$lt_save_ifs
   12270  1.1  riastrad 	if test "X$pkg" = "X$p"; then
   12271  1.1  riastrad 	  enable_static=yes
   12272  1.1  riastrad 	fi
   12273  1.1  riastrad       done
   12274  1.1  riastrad       IFS=$lt_save_ifs
   12275  1.1  riastrad       ;;
   12276  1.1  riastrad     esac
   12277  1.1  riastrad else
   12278  1.1  riastrad   enable_static=yes
   12279  1.1  riastrad fi
   12280  1.1  riastrad 
   12281  1.1  riastrad 
   12282  1.1  riastrad 
   12283  1.1  riastrad 
   12284  1.1  riastrad 
   12285  1.1  riastrad 
   12286  1.1  riastrad 
   12287  1.1  riastrad 
   12288  1.1  riastrad 
   12289  1.1  riastrad 
   12290  1.1  riastrad # Check whether --with-pic was given.
   12291  1.1  riastrad if test "${with_pic+set}" = set; then :
   12292  1.1  riastrad   withval=$with_pic; lt_p=${PACKAGE-default}
   12293  1.1  riastrad     case $withval in
   12294  1.1  riastrad     yes|no) pic_mode=$withval ;;
   12295  1.1  riastrad     *)
   12296  1.1  riastrad       pic_mode=default
   12297  1.1  riastrad       # Look at the argument we got.  We use all the common list separators.
   12298  1.1  riastrad       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   12299  1.1  riastrad       for lt_pkg in $withval; do
   12300  1.1  riastrad 	IFS=$lt_save_ifs
   12301  1.1  riastrad 	if test "X$lt_pkg" = "X$lt_p"; then
   12302  1.1  riastrad 	  pic_mode=yes
   12303  1.1  riastrad 	fi
   12304  1.1  riastrad       done
   12305  1.1  riastrad       IFS=$lt_save_ifs
   12306  1.1  riastrad       ;;
   12307  1.1  riastrad     esac
   12308  1.1  riastrad else
   12309  1.1  riastrad   pic_mode=default
   12310  1.1  riastrad fi
   12311  1.1  riastrad 
   12312  1.1  riastrad 
   12313  1.1  riastrad 
   12314  1.1  riastrad 
   12315  1.1  riastrad 
   12316  1.1  riastrad 
   12317  1.1  riastrad 
   12318  1.1  riastrad 
   12319  1.1  riastrad   # Check whether --enable-fast-install was given.
   12320  1.1  riastrad if test "${enable_fast_install+set}" = set; then :
   12321  1.1  riastrad   enableval=$enable_fast_install; p=${PACKAGE-default}
   12322  1.1  riastrad     case $enableval in
   12323  1.1  riastrad     yes) enable_fast_install=yes ;;
   12324  1.1  riastrad     no) enable_fast_install=no ;;
   12325  1.1  riastrad     *)
   12326  1.1  riastrad       enable_fast_install=no
   12327  1.1  riastrad       # Look at the argument we got.  We use all the common list separators.
   12328  1.1  riastrad       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   12329  1.1  riastrad       for pkg in $enableval; do
   12330  1.1  riastrad 	IFS=$lt_save_ifs
   12331  1.1  riastrad 	if test "X$pkg" = "X$p"; then
   12332  1.1  riastrad 	  enable_fast_install=yes
   12333  1.1  riastrad 	fi
   12334  1.1  riastrad       done
   12335  1.1  riastrad       IFS=$lt_save_ifs
   12336  1.1  riastrad       ;;
   12337  1.1  riastrad     esac
   12338  1.1  riastrad else
   12339  1.1  riastrad   enable_fast_install=yes
   12340  1.1  riastrad fi
   12341  1.1  riastrad 
   12342  1.1  riastrad 
   12343  1.1  riastrad 
   12344  1.1  riastrad 
   12345  1.1  riastrad 
   12346  1.1  riastrad 
   12347  1.1  riastrad 
   12348  1.1  riastrad 
   12349  1.1  riastrad   shared_archive_member_spec=
   12350  1.1  riastrad case $host,$enable_shared in
   12351  1.1  riastrad power*-*-aix[5-9]*,yes)
   12352  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   12353  1.1  riastrad $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   12354  1.1  riastrad 
   12355  1.1  riastrad # Check whether --with-aix-soname was given.
   12356  1.1  riastrad if test "${with_aix_soname+set}" = set; then :
   12357  1.1  riastrad   withval=$with_aix_soname; case $withval in
   12358  1.1  riastrad     aix|svr4|both)
   12359  1.1  riastrad       ;;
   12360  1.1  riastrad     *)
   12361  1.1  riastrad       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   12362  1.1  riastrad       ;;
   12363  1.1  riastrad     esac
   12364  1.1  riastrad     lt_cv_with_aix_soname=$with_aix_soname
   12365  1.1  riastrad else
   12366  1.1  riastrad   if ${lt_cv_with_aix_soname+:} false; then :
   12367  1.1  riastrad   $as_echo_n "(cached) " >&6
   12368  1.1  riastrad else
   12369  1.1  riastrad   lt_cv_with_aix_soname=aix
   12370  1.1  riastrad fi
   12371  1.1  riastrad 
   12372  1.1  riastrad     with_aix_soname=$lt_cv_with_aix_soname
   12373  1.1  riastrad fi
   12374  1.1  riastrad 
   12375  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   12376  1.1  riastrad $as_echo "$with_aix_soname" >&6; }
   12377  1.1  riastrad   if test aix != "$with_aix_soname"; then
   12378  1.1  riastrad     # For the AIX way of multilib, we name the shared archive member
   12379  1.1  riastrad     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   12380  1.1  riastrad     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   12381  1.1  riastrad     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   12382  1.1  riastrad     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   12383  1.1  riastrad     if test 64 = "${OBJECT_MODE-32}"; then
   12384  1.1  riastrad       shared_archive_member_spec=shr_64
   12385  1.1  riastrad     else
   12386  1.1  riastrad       shared_archive_member_spec=shr
   12387  1.1  riastrad     fi
   12388  1.1  riastrad   fi
   12389  1.1  riastrad   ;;
   12390  1.1  riastrad *)
   12391  1.1  riastrad   with_aix_soname=aix
   12392  1.1  riastrad   ;;
   12393  1.1  riastrad esac
   12394  1.1  riastrad 
   12395  1.1  riastrad 
   12396  1.1  riastrad 
   12397  1.1  riastrad 
   12398  1.1  riastrad 
   12399  1.1  riastrad 
   12400  1.1  riastrad 
   12401  1.1  riastrad 
   12402  1.1  riastrad 
   12403  1.1  riastrad 
   12404  1.1  riastrad # This can be used to rebuild libtool when needed
   12405  1.1  riastrad LIBTOOL_DEPS=$ltmain
   12406  1.1  riastrad 
   12407  1.1  riastrad # Always use our own libtool.
   12408  1.1  riastrad LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   12409  1.1  riastrad 
   12410  1.1  riastrad 
   12411  1.1  riastrad 
   12412  1.1  riastrad 
   12413  1.1  riastrad 
   12414  1.1  riastrad 
   12415  1.1  riastrad 
   12416  1.1  riastrad 
   12417  1.1  riastrad 
   12418  1.1  riastrad 
   12419  1.1  riastrad 
   12420  1.1  riastrad 
   12421  1.1  riastrad 
   12422  1.1  riastrad 
   12423  1.1  riastrad 
   12424  1.1  riastrad 
   12425  1.1  riastrad 
   12426  1.1  riastrad 
   12427  1.1  riastrad 
   12428  1.1  riastrad 
   12429  1.1  riastrad 
   12430  1.1  riastrad 
   12431  1.1  riastrad 
   12432  1.1  riastrad 
   12433  1.1  riastrad 
   12434  1.1  riastrad 
   12435  1.1  riastrad 
   12436  1.1  riastrad 
   12437  1.1  riastrad 
   12438  1.1  riastrad 
   12439  1.1  riastrad test -z "$LN_S" && LN_S="ln -s"
   12440  1.1  riastrad 
   12441  1.1  riastrad 
   12442  1.1  riastrad 
   12443  1.1  riastrad 
   12444  1.1  riastrad 
   12445  1.1  riastrad 
   12446  1.1  riastrad 
   12447  1.1  riastrad 
   12448  1.1  riastrad 
   12449  1.1  riastrad 
   12450  1.1  riastrad 
   12451  1.1  riastrad 
   12452  1.1  riastrad 
   12453  1.1  riastrad 
   12454  1.1  riastrad if test -n "${ZSH_VERSION+set}"; then
   12455  1.1  riastrad    setopt NO_GLOB_SUBST
   12456  1.1  riastrad fi
   12457  1.1  riastrad 
   12458  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   12459  1.1  riastrad $as_echo_n "checking for objdir... " >&6; }
   12460  1.1  riastrad if ${lt_cv_objdir+:} false; then :
   12461  1.1  riastrad   $as_echo_n "(cached) " >&6
   12462  1.1  riastrad else
   12463  1.1  riastrad   rm -f .libs 2>/dev/null
   12464  1.1  riastrad mkdir .libs 2>/dev/null
   12465  1.1  riastrad if test -d .libs; then
   12466  1.1  riastrad   lt_cv_objdir=.libs
   12467  1.1  riastrad else
   12468  1.1  riastrad   # MS-DOS does not allow filenames that begin with a dot.
   12469  1.1  riastrad   lt_cv_objdir=_libs
   12470  1.1  riastrad fi
   12471  1.1  riastrad rmdir .libs 2>/dev/null
   12472  1.1  riastrad fi
   12473  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   12474  1.1  riastrad $as_echo "$lt_cv_objdir" >&6; }
   12475  1.1  riastrad objdir=$lt_cv_objdir
   12476  1.1  riastrad 
   12477  1.1  riastrad 
   12478  1.1  riastrad 
   12479  1.1  riastrad 
   12480  1.1  riastrad 
   12481  1.1  riastrad cat >>confdefs.h <<_ACEOF
   12482  1.1  riastrad #define LT_OBJDIR "$lt_cv_objdir/"
   12483  1.1  riastrad _ACEOF
   12484  1.1  riastrad 
   12485  1.1  riastrad 
   12486  1.1  riastrad 
   12487  1.1  riastrad 
   12488  1.1  riastrad case $host_os in
   12489  1.1  riastrad aix3*)
   12490  1.1  riastrad   # AIX sometimes has problems with the GCC collect2 program.  For some
   12491  1.1  riastrad   # reason, if we set the COLLECT_NAMES environment variable, the problems
   12492  1.1  riastrad   # vanish in a puff of smoke.
   12493  1.1  riastrad   if test set != "${COLLECT_NAMES+set}"; then
   12494  1.1  riastrad     COLLECT_NAMES=
   12495  1.1  riastrad     export COLLECT_NAMES
   12496  1.1  riastrad   fi
   12497  1.1  riastrad   ;;
   12498  1.1  riastrad esac
   12499  1.1  riastrad 
   12500  1.1  riastrad # Global variables:
   12501  1.1  riastrad ofile=libtool
   12502  1.1  riastrad can_build_shared=yes
   12503  1.1  riastrad 
   12504  1.1  riastrad # All known linkers require a '.a' archive for static linking (except MSVC,
   12505  1.1  riastrad # which needs '.lib').
   12506  1.1  riastrad libext=a
   12507  1.1  riastrad 
   12508  1.1  riastrad with_gnu_ld=$lt_cv_prog_gnu_ld
   12509  1.1  riastrad 
   12510  1.1  riastrad old_CC=$CC
   12511  1.1  riastrad old_CFLAGS=$CFLAGS
   12512  1.1  riastrad 
   12513  1.1  riastrad # Set sane defaults for various variables
   12514  1.1  riastrad test -z "$CC" && CC=cc
   12515  1.1  riastrad test -z "$LTCC" && LTCC=$CC
   12516  1.1  riastrad test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   12517  1.1  riastrad test -z "$LD" && LD=ld
   12518  1.1  riastrad test -z "$ac_objext" && ac_objext=o
   12519  1.1  riastrad 
   12520  1.1  riastrad func_cc_basename $compiler
   12521  1.1  riastrad cc_basename=$func_cc_basename_result
   12522  1.1  riastrad 
   12523  1.1  riastrad 
   12524  1.1  riastrad # Only perform the check for file, if the check method requires it
   12525  1.1  riastrad test -z "$MAGIC_CMD" && MAGIC_CMD=file
   12526  1.1  riastrad case $deplibs_check_method in
   12527  1.1  riastrad file_magic*)
   12528  1.1  riastrad   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   12529  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   12530  1.1  riastrad $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   12531  1.1  riastrad if ${lt_cv_path_MAGIC_CMD+:} false; then :
   12532  1.1  riastrad   $as_echo_n "(cached) " >&6
   12533  1.1  riastrad else
   12534  1.1  riastrad   case $MAGIC_CMD in
   12535  1.1  riastrad [\\/*] |  ?:[\\/]*)
   12536  1.1  riastrad   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   12537  1.1  riastrad   ;;
   12538  1.1  riastrad *)
   12539  1.1  riastrad   lt_save_MAGIC_CMD=$MAGIC_CMD
   12540  1.1  riastrad   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   12541  1.1  riastrad   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   12542  1.1  riastrad   for ac_dir in $ac_dummy; do
   12543  1.1  riastrad     IFS=$lt_save_ifs
   12544  1.1  riastrad     test -z "$ac_dir" && ac_dir=.
   12545  1.1  riastrad     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   12546  1.1  riastrad       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   12547  1.1  riastrad       if test -n "$file_magic_test_file"; then
   12548  1.1  riastrad 	case $deplibs_check_method in
   12549  1.1  riastrad 	"file_magic "*)
   12550  1.1  riastrad 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   12551  1.1  riastrad 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   12552  1.1  riastrad 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   12553  1.1  riastrad 	    $EGREP "$file_magic_regex" > /dev/null; then
   12554  1.1  riastrad 	    :
   12555  1.1  riastrad 	  else
   12556  1.1  riastrad 	    cat <<_LT_EOF 1>&2
   12557  1.1  riastrad 
   12558  1.1  riastrad *** Warning: the command libtool uses to detect shared libraries,
   12559  1.1  riastrad *** $file_magic_cmd, produces output that libtool cannot recognize.
   12560  1.1  riastrad *** The result is that libtool may fail to recognize shared libraries
   12561  1.1  riastrad *** as such.  This will affect the creation of libtool libraries that
   12562  1.1  riastrad *** depend on shared libraries, but programs linked with such libtool
   12563  1.1  riastrad *** libraries will work regardless of this problem.  Nevertheless, you
   12564  1.1  riastrad *** may want to report the problem to your system manager and/or to
   12565  1.1  riastrad *** bug-libtool (at] gnu.org
   12566  1.1  riastrad 
   12567  1.1  riastrad _LT_EOF
   12568  1.1  riastrad 	  fi ;;
   12569  1.1  riastrad 	esac
   12570  1.1  riastrad       fi
   12571  1.1  riastrad       break
   12572  1.1  riastrad     fi
   12573  1.1  riastrad   done
   12574  1.1  riastrad   IFS=$lt_save_ifs
   12575  1.1  riastrad   MAGIC_CMD=$lt_save_MAGIC_CMD
   12576  1.1  riastrad   ;;
   12577  1.1  riastrad esac
   12578  1.1  riastrad fi
   12579  1.1  riastrad 
   12580  1.1  riastrad MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   12581  1.1  riastrad if test -n "$MAGIC_CMD"; then
   12582  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   12583  1.1  riastrad $as_echo "$MAGIC_CMD" >&6; }
   12584  1.1  riastrad else
   12585  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12586  1.1  riastrad $as_echo "no" >&6; }
   12587  1.1  riastrad fi
   12588  1.1  riastrad 
   12589  1.1  riastrad 
   12590  1.1  riastrad 
   12591  1.1  riastrad 
   12592  1.1  riastrad 
   12593  1.1  riastrad if test -z "$lt_cv_path_MAGIC_CMD"; then
   12594  1.1  riastrad   if test -n "$ac_tool_prefix"; then
   12595  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   12596  1.1  riastrad $as_echo_n "checking for file... " >&6; }
   12597  1.1  riastrad if ${lt_cv_path_MAGIC_CMD+:} false; then :
   12598  1.1  riastrad   $as_echo_n "(cached) " >&6
   12599  1.1  riastrad else
   12600  1.1  riastrad   case $MAGIC_CMD in
   12601  1.1  riastrad [\\/*] |  ?:[\\/]*)
   12602  1.1  riastrad   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   12603  1.1  riastrad   ;;
   12604  1.1  riastrad *)
   12605  1.1  riastrad   lt_save_MAGIC_CMD=$MAGIC_CMD
   12606  1.1  riastrad   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   12607  1.1  riastrad   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   12608  1.1  riastrad   for ac_dir in $ac_dummy; do
   12609  1.1  riastrad     IFS=$lt_save_ifs
   12610  1.1  riastrad     test -z "$ac_dir" && ac_dir=.
   12611  1.1  riastrad     if test -f "$ac_dir/file"; then
   12612  1.1  riastrad       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   12613  1.1  riastrad       if test -n "$file_magic_test_file"; then
   12614  1.1  riastrad 	case $deplibs_check_method in
   12615  1.1  riastrad 	"file_magic "*)
   12616  1.1  riastrad 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   12617  1.1  riastrad 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   12618  1.1  riastrad 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   12619  1.1  riastrad 	    $EGREP "$file_magic_regex" > /dev/null; then
   12620  1.1  riastrad 	    :
   12621  1.1  riastrad 	  else
   12622  1.1  riastrad 	    cat <<_LT_EOF 1>&2
   12623  1.1  riastrad 
   12624  1.1  riastrad *** Warning: the command libtool uses to detect shared libraries,
   12625  1.1  riastrad *** $file_magic_cmd, produces output that libtool cannot recognize.
   12626  1.1  riastrad *** The result is that libtool may fail to recognize shared libraries
   12627  1.1  riastrad *** as such.  This will affect the creation of libtool libraries that
   12628  1.1  riastrad *** depend on shared libraries, but programs linked with such libtool
   12629  1.1  riastrad *** libraries will work regardless of this problem.  Nevertheless, you
   12630  1.1  riastrad *** may want to report the problem to your system manager and/or to
   12631  1.1  riastrad *** bug-libtool (at] gnu.org
   12632  1.1  riastrad 
   12633  1.1  riastrad _LT_EOF
   12634  1.1  riastrad 	  fi ;;
   12635  1.1  riastrad 	esac
   12636  1.1  riastrad       fi
   12637  1.1  riastrad       break
   12638  1.1  riastrad     fi
   12639  1.1  riastrad   done
   12640  1.1  riastrad   IFS=$lt_save_ifs
   12641  1.1  riastrad   MAGIC_CMD=$lt_save_MAGIC_CMD
   12642  1.1  riastrad   ;;
   12643  1.1  riastrad esac
   12644  1.1  riastrad fi
   12645  1.1  riastrad 
   12646  1.1  riastrad MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   12647  1.1  riastrad if test -n "$MAGIC_CMD"; then
   12648  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   12649  1.1  riastrad $as_echo "$MAGIC_CMD" >&6; }
   12650  1.1  riastrad else
   12651  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12652  1.1  riastrad $as_echo "no" >&6; }
   12653  1.1  riastrad fi
   12654  1.1  riastrad 
   12655  1.1  riastrad 
   12656  1.1  riastrad   else
   12657  1.1  riastrad     MAGIC_CMD=:
   12658  1.1  riastrad   fi
   12659  1.1  riastrad fi
   12660  1.1  riastrad 
   12661  1.1  riastrad   fi
   12662  1.1  riastrad   ;;
   12663  1.1  riastrad esac
   12664  1.1  riastrad 
   12665  1.1  riastrad # Use C for the default configuration in the libtool script
   12666  1.1  riastrad 
   12667  1.1  riastrad lt_save_CC=$CC
   12668  1.1  riastrad ac_ext=c
   12669  1.1  riastrad ac_cpp='$CPP $CPPFLAGS'
   12670  1.1  riastrad ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12671  1.1  riastrad ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12672  1.1  riastrad ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12673  1.1  riastrad 
   12674  1.1  riastrad 
   12675  1.1  riastrad # Source file extension for C test sources.
   12676  1.1  riastrad ac_ext=c
   12677  1.1  riastrad 
   12678  1.1  riastrad # Object file extension for compiled C test sources.
   12679  1.1  riastrad objext=o
   12680  1.1  riastrad objext=$objext
   12681  1.1  riastrad 
   12682  1.1  riastrad # Code to be used in simple compile tests
   12683  1.1  riastrad lt_simple_compile_test_code="int some_variable = 0;"
   12684  1.1  riastrad 
   12685  1.1  riastrad # Code to be used in simple link tests
   12686  1.1  riastrad lt_simple_link_test_code='int main(){return(0);}'
   12687  1.1  riastrad 
   12688  1.1  riastrad 
   12689  1.1  riastrad 
   12690  1.1  riastrad 
   12691  1.1  riastrad 
   12692  1.1  riastrad 
   12693  1.1  riastrad 
   12694  1.1  riastrad # If no C compiler was specified, use CC.
   12695  1.1  riastrad LTCC=${LTCC-"$CC"}
   12696  1.1  riastrad 
   12697  1.1  riastrad # If no C compiler flags were specified, use CFLAGS.
   12698  1.1  riastrad LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12699  1.1  riastrad 
   12700  1.1  riastrad # Allow CC to be a program name with arguments.
   12701  1.1  riastrad compiler=$CC
   12702  1.1  riastrad 
   12703  1.1  riastrad # Save the default compiler, since it gets overwritten when the other
   12704  1.1  riastrad # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   12705  1.1  riastrad compiler_DEFAULT=$CC
   12706  1.1  riastrad 
   12707  1.1  riastrad # save warnings/boilerplate of simple test code
   12708  1.1  riastrad ac_outfile=conftest.$ac_objext
   12709  1.1  riastrad echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   12710  1.1  riastrad eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   12711  1.1  riastrad _lt_compiler_boilerplate=`cat conftest.err`
   12712  1.1  riastrad $RM conftest*
   12713  1.1  riastrad 
   12714  1.1  riastrad ac_outfile=conftest.$ac_objext
   12715  1.1  riastrad echo "$lt_simple_link_test_code" >conftest.$ac_ext
   12716  1.1  riastrad eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   12717  1.1  riastrad _lt_linker_boilerplate=`cat conftest.err`
   12718  1.1  riastrad $RM -r conftest*
   12719  1.1  riastrad 
   12720  1.1  riastrad 
   12721  1.1  riastrad ## CAVEAT EMPTOR:
   12722  1.1  riastrad ## There is no encapsulation within the following macros, do not change
   12723  1.1  riastrad ## the running order or otherwise move them around unless you know exactly
   12724  1.1  riastrad ## what you are doing...
   12725  1.1  riastrad if test -n "$compiler"; then
   12726  1.1  riastrad 
   12727  1.1  riastrad lt_prog_compiler_no_builtin_flag=
   12728  1.1  riastrad 
   12729  1.1  riastrad if test yes = "$GCC"; then
   12730  1.1  riastrad   case $cc_basename in
   12731  1.1  riastrad   nvcc*)
   12732  1.1  riastrad     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   12733  1.1  riastrad   *)
   12734  1.1  riastrad     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   12735  1.1  riastrad   esac
   12736  1.1  riastrad 
   12737  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   12738  1.1  riastrad $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   12739  1.1  riastrad if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   12740  1.1  riastrad   $as_echo_n "(cached) " >&6
   12741  1.1  riastrad else
   12742  1.1  riastrad   lt_cv_prog_compiler_rtti_exceptions=no
   12743  1.1  riastrad    ac_outfile=conftest.$ac_objext
   12744  1.1  riastrad    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12745  1.1  riastrad    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   12746  1.1  riastrad    # Insert the option either (1) after the last *FLAGS variable, or
   12747  1.1  riastrad    # (2) before a word containing "conftest.", or (3) at the end.
   12748  1.1  riastrad    # Note that $ac_compile itself does not contain backslashes and begins
   12749  1.1  riastrad    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12750  1.1  riastrad    # The option is referenced via a variable to avoid confusing sed.
   12751  1.1  riastrad    lt_compile=`echo "$ac_compile" | $SED \
   12752  1.1  riastrad    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12753  1.1  riastrad    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12754  1.1  riastrad    -e 's:$: $lt_compiler_flag:'`
   12755  1.1  riastrad    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   12756  1.1  riastrad    (eval "$lt_compile" 2>conftest.err)
   12757  1.1  riastrad    ac_status=$?
   12758  1.1  riastrad    cat conftest.err >&5
   12759  1.1  riastrad    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12760  1.1  riastrad    if (exit $ac_status) && test -s "$ac_outfile"; then
   12761  1.1  riastrad      # The compiler can only warn and ignore the option if not recognized
   12762  1.1  riastrad      # So say no if there are warnings other than the usual output.
   12763  1.1  riastrad      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   12764  1.1  riastrad      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12765  1.1  riastrad      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12766  1.1  riastrad        lt_cv_prog_compiler_rtti_exceptions=yes
   12767  1.1  riastrad      fi
   12768  1.1  riastrad    fi
   12769  1.1  riastrad    $RM conftest*
   12770  1.1  riastrad 
   12771  1.1  riastrad fi
   12772  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   12773  1.1  riastrad $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   12774  1.1  riastrad 
   12775  1.1  riastrad if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   12776  1.1  riastrad     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   12777  1.1  riastrad else
   12778  1.1  riastrad     :
   12779  1.1  riastrad fi
   12780  1.1  riastrad 
   12781  1.1  riastrad fi
   12782  1.1  riastrad 
   12783  1.1  riastrad 
   12784  1.1  riastrad 
   12785  1.1  riastrad 
   12786  1.1  riastrad 
   12787  1.1  riastrad 
   12788  1.1  riastrad   lt_prog_compiler_wl=
   12789  1.1  riastrad lt_prog_compiler_pic=
   12790  1.1  riastrad lt_prog_compiler_static=
   12791  1.1  riastrad 
   12792  1.1  riastrad 
   12793  1.1  riastrad   if test yes = "$GCC"; then
   12794  1.1  riastrad     lt_prog_compiler_wl='-Wl,'
   12795  1.1  riastrad     lt_prog_compiler_static='-static'
   12796  1.1  riastrad 
   12797  1.1  riastrad     case $host_os in
   12798  1.1  riastrad       aix*)
   12799  1.1  riastrad       # All AIX code is PIC.
   12800  1.1  riastrad       if test ia64 = "$host_cpu"; then
   12801  1.1  riastrad 	# AIX 5 now supports IA64 processor
   12802  1.1  riastrad 	lt_prog_compiler_static='-Bstatic'
   12803  1.1  riastrad       fi
   12804  1.1  riastrad       lt_prog_compiler_pic='-fPIC'
   12805  1.1  riastrad       ;;
   12806  1.1  riastrad 
   12807  1.1  riastrad     amigaos*)
   12808  1.1  riastrad       case $host_cpu in
   12809  1.1  riastrad       powerpc)
   12810  1.1  riastrad             # see comment about AmigaOS4 .so support
   12811  1.1  riastrad             lt_prog_compiler_pic='-fPIC'
   12812  1.1  riastrad         ;;
   12813  1.1  riastrad       m68k)
   12814  1.1  riastrad             # FIXME: we need at least 68020 code to build shared libraries, but
   12815  1.1  riastrad             # adding the '-m68020' flag to GCC prevents building anything better,
   12816  1.1  riastrad             # like '-m68040'.
   12817  1.1  riastrad             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   12818  1.1  riastrad         ;;
   12819  1.1  riastrad       esac
   12820  1.1  riastrad       ;;
   12821  1.1  riastrad 
   12822  1.1  riastrad     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12823  1.1  riastrad       # PIC is the default for these OSes.
   12824  1.1  riastrad       ;;
   12825  1.1  riastrad 
   12826  1.1  riastrad     mingw* | cygwin* | pw32* | os2* | cegcc*)
   12827  1.1  riastrad       # This hack is so that the source file can tell whether it is being
   12828  1.1  riastrad       # built for inclusion in a dll (and should export symbols for example).
   12829  1.1  riastrad       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12830  1.1  riastrad       # (--disable-auto-import) libraries
   12831  1.1  riastrad       lt_prog_compiler_pic='-DDLL_EXPORT'
   12832  1.1  riastrad       case $host_os in
   12833  1.1  riastrad       os2*)
   12834  1.1  riastrad 	lt_prog_compiler_static='$wl-static'
   12835  1.1  riastrad 	;;
   12836  1.1  riastrad       esac
   12837  1.1  riastrad       ;;
   12838  1.1  riastrad 
   12839  1.1  riastrad     darwin* | rhapsody*)
   12840  1.1  riastrad       # PIC is the default on this platform
   12841  1.1  riastrad       # Common symbols not allowed in MH_DYLIB files
   12842  1.1  riastrad       lt_prog_compiler_pic='-fno-common'
   12843  1.1  riastrad       ;;
   12844  1.1  riastrad 
   12845  1.1  riastrad     haiku*)
   12846  1.1  riastrad       # PIC is the default for Haiku.
   12847  1.1  riastrad       # The "-static" flag exists, but is broken.
   12848  1.1  riastrad       lt_prog_compiler_static=
   12849  1.1  riastrad       ;;
   12850  1.1  riastrad 
   12851  1.1  riastrad     hpux*)
   12852  1.1  riastrad       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   12853  1.1  riastrad       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   12854  1.1  riastrad       # sets the default TLS model and affects inlining.
   12855  1.1  riastrad       case $host_cpu in
   12856  1.1  riastrad       hppa*64*)
   12857  1.1  riastrad 	# +Z the default
   12858  1.1  riastrad 	;;
   12859  1.1  riastrad       *)
   12860  1.1  riastrad 	lt_prog_compiler_pic='-fPIC'
   12861  1.1  riastrad 	;;
   12862  1.1  riastrad       esac
   12863  1.1  riastrad       ;;
   12864  1.1  riastrad 
   12865  1.1  riastrad     interix[3-9]*)
   12866  1.1  riastrad       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12867  1.1  riastrad       # Instead, we relocate shared libraries at runtime.
   12868  1.1  riastrad       ;;
   12869  1.1  riastrad 
   12870  1.1  riastrad     msdosdjgpp*)
   12871  1.1  riastrad       # Just because we use GCC doesn't mean we suddenly get shared libraries
   12872  1.1  riastrad       # on systems that don't support them.
   12873  1.1  riastrad       lt_prog_compiler_can_build_shared=no
   12874  1.1  riastrad       enable_shared=no
   12875  1.1  riastrad       ;;
   12876  1.1  riastrad 
   12877  1.1  riastrad     *nto* | *qnx*)
   12878  1.1  riastrad       # QNX uses GNU C++, but need to define -shared option too, otherwise
   12879  1.1  riastrad       # it will coredump.
   12880  1.1  riastrad       lt_prog_compiler_pic='-fPIC -shared'
   12881  1.1  riastrad       ;;
   12882  1.1  riastrad 
   12883  1.1  riastrad     sysv4*MP*)
   12884  1.1  riastrad       if test -d /usr/nec; then
   12885  1.1  riastrad 	lt_prog_compiler_pic=-Kconform_pic
   12886  1.1  riastrad       fi
   12887  1.1  riastrad       ;;
   12888  1.1  riastrad 
   12889  1.1  riastrad     *)
   12890  1.1  riastrad       lt_prog_compiler_pic='-fPIC'
   12891  1.1  riastrad       ;;
   12892  1.1  riastrad     esac
   12893  1.1  riastrad 
   12894  1.1  riastrad     case $cc_basename in
   12895  1.1  riastrad     nvcc*) # Cuda Compiler Driver 2.2
   12896  1.1  riastrad       lt_prog_compiler_wl='-Xlinker '
   12897  1.1  riastrad       if test -n "$lt_prog_compiler_pic"; then
   12898  1.1  riastrad         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   12899  1.1  riastrad       fi
   12900  1.1  riastrad       ;;
   12901  1.1  riastrad     esac
   12902  1.1  riastrad   else
   12903  1.1  riastrad     # PORTME Check for flag to pass linker flags through the system compiler.
   12904  1.1  riastrad     case $host_os in
   12905  1.1  riastrad     aix*)
   12906  1.1  riastrad       lt_prog_compiler_wl='-Wl,'
   12907  1.1  riastrad       if test ia64 = "$host_cpu"; then
   12908  1.1  riastrad 	# AIX 5 now supports IA64 processor
   12909  1.1  riastrad 	lt_prog_compiler_static='-Bstatic'
   12910  1.1  riastrad       else
   12911  1.1  riastrad 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   12912  1.1  riastrad       fi
   12913  1.1  riastrad       ;;
   12914  1.1  riastrad 
   12915  1.1  riastrad     darwin* | rhapsody*)
   12916  1.1  riastrad       # PIC is the default on this platform
   12917  1.1  riastrad       # Common symbols not allowed in MH_DYLIB files
   12918  1.1  riastrad       lt_prog_compiler_pic='-fno-common'
   12919  1.1  riastrad       case $cc_basename in
   12920  1.1  riastrad       nagfor*)
   12921  1.1  riastrad         # NAG Fortran compiler
   12922  1.1  riastrad         lt_prog_compiler_wl='-Wl,-Wl,,'
   12923  1.1  riastrad         lt_prog_compiler_pic='-PIC'
   12924  1.1  riastrad         lt_prog_compiler_static='-Bstatic'
   12925  1.1  riastrad         ;;
   12926  1.1  riastrad       esac
   12927  1.1  riastrad       ;;
   12928  1.1  riastrad 
   12929  1.1  riastrad     mingw* | cygwin* | pw32* | os2* | cegcc*)
   12930  1.1  riastrad       # This hack is so that the source file can tell whether it is being
   12931  1.1  riastrad       # built for inclusion in a dll (and should export symbols for example).
   12932  1.1  riastrad       lt_prog_compiler_pic='-DDLL_EXPORT'
   12933  1.1  riastrad       case $host_os in
   12934  1.1  riastrad       os2*)
   12935  1.1  riastrad 	lt_prog_compiler_static='$wl-static'
   12936  1.1  riastrad 	;;
   12937  1.1  riastrad       esac
   12938  1.1  riastrad       ;;
   12939  1.1  riastrad 
   12940  1.1  riastrad     hpux9* | hpux10* | hpux11*)
   12941  1.1  riastrad       lt_prog_compiler_wl='-Wl,'
   12942  1.1  riastrad       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12943  1.1  riastrad       # not for PA HP-UX.
   12944  1.1  riastrad       case $host_cpu in
   12945  1.1  riastrad       hppa*64*|ia64*)
   12946  1.1  riastrad 	# +Z the default
   12947  1.1  riastrad 	;;
   12948  1.1  riastrad       *)
   12949  1.1  riastrad 	lt_prog_compiler_pic='+Z'
   12950  1.1  riastrad 	;;
   12951  1.1  riastrad       esac
   12952  1.1  riastrad       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   12953  1.1  riastrad       lt_prog_compiler_static='$wl-a ${wl}archive'
   12954  1.1  riastrad       ;;
   12955  1.1  riastrad 
   12956  1.1  riastrad     irix5* | irix6* | nonstopux*)
   12957  1.1  riastrad       lt_prog_compiler_wl='-Wl,'
   12958  1.1  riastrad       # PIC (with -KPIC) is the default.
   12959  1.1  riastrad       lt_prog_compiler_static='-non_shared'
   12960  1.1  riastrad       ;;
   12961  1.1  riastrad 
   12962  1.1  riastrad     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12963  1.1  riastrad       case $cc_basename in
   12964  1.1  riastrad       # old Intel for x86_64, which still supported -KPIC.
   12965  1.1  riastrad       ecc*)
   12966  1.1  riastrad 	lt_prog_compiler_wl='-Wl,'
   12967  1.1  riastrad 	lt_prog_compiler_pic='-KPIC'
   12968  1.1  riastrad 	lt_prog_compiler_static='-static'
   12969  1.1  riastrad         ;;
   12970  1.1  riastrad       # icc used to be incompatible with GCC.
   12971  1.1  riastrad       # ICC 10 doesn't accept -KPIC any more.
   12972  1.1  riastrad       icc* | ifort*)
   12973  1.1  riastrad 	lt_prog_compiler_wl='-Wl,'
   12974  1.1  riastrad 	lt_prog_compiler_pic='-fPIC'
   12975  1.1  riastrad 	lt_prog_compiler_static='-static'
   12976  1.1  riastrad         ;;
   12977  1.1  riastrad       # Lahey Fortran 8.1.
   12978  1.1  riastrad       lf95*)
   12979  1.1  riastrad 	lt_prog_compiler_wl='-Wl,'
   12980  1.1  riastrad 	lt_prog_compiler_pic='--shared'
   12981  1.1  riastrad 	lt_prog_compiler_static='--static'
   12982  1.1  riastrad 	;;
   12983  1.1  riastrad       nagfor*)
   12984  1.1  riastrad 	# NAG Fortran compiler
   12985  1.1  riastrad 	lt_prog_compiler_wl='-Wl,-Wl,,'
   12986  1.1  riastrad 	lt_prog_compiler_pic='-PIC'
   12987  1.1  riastrad 	lt_prog_compiler_static='-Bstatic'
   12988  1.1  riastrad 	;;
   12989  1.1  riastrad       tcc*)
   12990  1.1  riastrad 	# Fabrice Bellard et al's Tiny C Compiler
   12991  1.1  riastrad 	lt_prog_compiler_wl='-Wl,'
   12992  1.1  riastrad 	lt_prog_compiler_pic='-fPIC'
   12993  1.1  riastrad 	lt_prog_compiler_static='-static'
   12994  1.1  riastrad 	;;
   12995  1.1  riastrad       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   12996  1.1  riastrad         # Portland Group compilers (*not* the Pentium gcc compiler,
   12997  1.1  riastrad 	# which looks to be a dead project)
   12998  1.1  riastrad 	lt_prog_compiler_wl='-Wl,'
   12999  1.1  riastrad 	lt_prog_compiler_pic='-fpic'
   13000  1.1  riastrad 	lt_prog_compiler_static='-Bstatic'
   13001  1.1  riastrad         ;;
   13002  1.1  riastrad       ccc*)
   13003  1.1  riastrad         lt_prog_compiler_wl='-Wl,'
   13004  1.1  riastrad         # All Alpha code is PIC.
   13005  1.1  riastrad         lt_prog_compiler_static='-non_shared'
   13006  1.1  riastrad         ;;
   13007  1.1  riastrad       xl* | bgxl* | bgf* | mpixl*)
   13008  1.1  riastrad 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   13009  1.1  riastrad 	lt_prog_compiler_wl='-Wl,'
   13010  1.1  riastrad 	lt_prog_compiler_pic='-qpic'
   13011  1.1  riastrad 	lt_prog_compiler_static='-qstaticlink'
   13012  1.1  riastrad 	;;
   13013  1.1  riastrad       *)
   13014  1.1  riastrad 	case `$CC -V 2>&1 | sed 5q` in
   13015  1.1  riastrad 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   13016  1.1  riastrad 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   13017  1.1  riastrad 	  lt_prog_compiler_pic='-KPIC'
   13018  1.1  riastrad 	  lt_prog_compiler_static='-Bstatic'
   13019  1.1  riastrad 	  lt_prog_compiler_wl=''
   13020  1.1  riastrad 	  ;;
   13021  1.1  riastrad 	*Sun\ F* | *Sun*Fortran*)
   13022  1.1  riastrad 	  lt_prog_compiler_pic='-KPIC'
   13023  1.1  riastrad 	  lt_prog_compiler_static='-Bstatic'
   13024  1.1  riastrad 	  lt_prog_compiler_wl='-Qoption ld '
   13025  1.1  riastrad 	  ;;
   13026  1.1  riastrad 	*Sun\ C*)
   13027  1.1  riastrad 	  # Sun C 5.9
   13028  1.1  riastrad 	  lt_prog_compiler_pic='-KPIC'
   13029  1.1  riastrad 	  lt_prog_compiler_static='-Bstatic'
   13030  1.1  riastrad 	  lt_prog_compiler_wl='-Wl,'
   13031  1.1  riastrad 	  ;;
   13032  1.1  riastrad         *Intel*\ [CF]*Compiler*)
   13033  1.1  riastrad 	  lt_prog_compiler_wl='-Wl,'
   13034  1.1  riastrad 	  lt_prog_compiler_pic='-fPIC'
   13035  1.1  riastrad 	  lt_prog_compiler_static='-static'
   13036  1.1  riastrad 	  ;;
   13037  1.1  riastrad 	*Portland\ Group*)
   13038  1.1  riastrad 	  lt_prog_compiler_wl='-Wl,'
   13039  1.1  riastrad 	  lt_prog_compiler_pic='-fpic'
   13040  1.1  riastrad 	  lt_prog_compiler_static='-Bstatic'
   13041  1.1  riastrad 	  ;;
   13042  1.1  riastrad 	esac
   13043  1.1  riastrad 	;;
   13044  1.1  riastrad       esac
   13045  1.1  riastrad       ;;
   13046  1.1  riastrad 
   13047  1.1  riastrad     newsos6)
   13048  1.1  riastrad       lt_prog_compiler_pic='-KPIC'
   13049  1.1  riastrad       lt_prog_compiler_static='-Bstatic'
   13050  1.1  riastrad       ;;
   13051  1.1  riastrad 
   13052  1.1  riastrad     *nto* | *qnx*)
   13053  1.1  riastrad       # QNX uses GNU C++, but need to define -shared option too, otherwise
   13054  1.1  riastrad       # it will coredump.
   13055  1.1  riastrad       lt_prog_compiler_pic='-fPIC -shared'
   13056  1.1  riastrad       ;;
   13057  1.1  riastrad 
   13058  1.1  riastrad     osf3* | osf4* | osf5*)
   13059  1.1  riastrad       lt_prog_compiler_wl='-Wl,'
   13060  1.1  riastrad       # All OSF/1 code is PIC.
   13061  1.1  riastrad       lt_prog_compiler_static='-non_shared'
   13062  1.1  riastrad       ;;
   13063  1.1  riastrad 
   13064  1.1  riastrad     rdos*)
   13065  1.1  riastrad       lt_prog_compiler_static='-non_shared'
   13066  1.1  riastrad       ;;
   13067  1.1  riastrad 
   13068  1.1  riastrad     solaris*)
   13069  1.1  riastrad       lt_prog_compiler_pic='-KPIC'
   13070  1.1  riastrad       lt_prog_compiler_static='-Bstatic'
   13071  1.1  riastrad       case $cc_basename in
   13072  1.1  riastrad       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   13073  1.1  riastrad 	lt_prog_compiler_wl='-Qoption ld ';;
   13074  1.1  riastrad       *)
   13075  1.1  riastrad 	lt_prog_compiler_wl='-Wl,';;
   13076  1.1  riastrad       esac
   13077  1.1  riastrad       ;;
   13078  1.1  riastrad 
   13079  1.1  riastrad     sunos4*)
   13080  1.1  riastrad       lt_prog_compiler_wl='-Qoption ld '
   13081  1.1  riastrad       lt_prog_compiler_pic='-PIC'
   13082  1.1  riastrad       lt_prog_compiler_static='-Bstatic'
   13083  1.1  riastrad       ;;
   13084  1.1  riastrad 
   13085  1.1  riastrad     sysv4 | sysv4.2uw2* | sysv4.3*)
   13086  1.1  riastrad       lt_prog_compiler_wl='-Wl,'
   13087  1.1  riastrad       lt_prog_compiler_pic='-KPIC'
   13088  1.1  riastrad       lt_prog_compiler_static='-Bstatic'
   13089  1.1  riastrad       ;;
   13090  1.1  riastrad 
   13091  1.1  riastrad     sysv4*MP*)
   13092  1.1  riastrad       if test -d /usr/nec; then
   13093  1.1  riastrad 	lt_prog_compiler_pic='-Kconform_pic'
   13094  1.1  riastrad 	lt_prog_compiler_static='-Bstatic'
   13095  1.1  riastrad       fi
   13096  1.1  riastrad       ;;
   13097  1.1  riastrad 
   13098  1.1  riastrad     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   13099  1.1  riastrad       lt_prog_compiler_wl='-Wl,'
   13100  1.1  riastrad       lt_prog_compiler_pic='-KPIC'
   13101  1.1  riastrad       lt_prog_compiler_static='-Bstatic'
   13102  1.1  riastrad       ;;
   13103  1.1  riastrad 
   13104  1.1  riastrad     unicos*)
   13105  1.1  riastrad       lt_prog_compiler_wl='-Wl,'
   13106  1.1  riastrad       lt_prog_compiler_can_build_shared=no
   13107  1.1  riastrad       ;;
   13108  1.1  riastrad 
   13109  1.1  riastrad     uts4*)
   13110  1.1  riastrad       lt_prog_compiler_pic='-pic'
   13111  1.1  riastrad       lt_prog_compiler_static='-Bstatic'
   13112  1.1  riastrad       ;;
   13113  1.1  riastrad 
   13114  1.1  riastrad     *)
   13115  1.1  riastrad       lt_prog_compiler_can_build_shared=no
   13116  1.1  riastrad       ;;
   13117  1.1  riastrad     esac
   13118  1.1  riastrad   fi
   13119  1.1  riastrad 
   13120  1.1  riastrad case $host_os in
   13121  1.1  riastrad   # For platforms that do not support PIC, -DPIC is meaningless:
   13122  1.1  riastrad   *djgpp*)
   13123  1.1  riastrad     lt_prog_compiler_pic=
   13124  1.1  riastrad     ;;
   13125  1.1  riastrad   *)
   13126  1.1  riastrad     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   13127  1.1  riastrad     ;;
   13128  1.1  riastrad esac
   13129  1.1  riastrad 
   13130  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   13131  1.1  riastrad $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   13132  1.1  riastrad if ${lt_cv_prog_compiler_pic+:} false; then :
   13133  1.1  riastrad   $as_echo_n "(cached) " >&6
   13134  1.1  riastrad else
   13135  1.1  riastrad   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   13136  1.1  riastrad fi
   13137  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   13138  1.1  riastrad $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   13139  1.1  riastrad lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   13140  1.1  riastrad 
   13141  1.1  riastrad #
   13142  1.1  riastrad # Check to make sure the PIC flag actually works.
   13143  1.1  riastrad #
   13144  1.1  riastrad if test -n "$lt_prog_compiler_pic"; then
   13145  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   13146  1.1  riastrad $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   13147  1.1  riastrad if ${lt_cv_prog_compiler_pic_works+:} false; then :
   13148  1.1  riastrad   $as_echo_n "(cached) " >&6
   13149  1.1  riastrad else
   13150  1.1  riastrad   lt_cv_prog_compiler_pic_works=no
   13151  1.1  riastrad    ac_outfile=conftest.$ac_objext
   13152  1.1  riastrad    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13153  1.1  riastrad    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   13154  1.1  riastrad    # Insert the option either (1) after the last *FLAGS variable, or
   13155  1.1  riastrad    # (2) before a word containing "conftest.", or (3) at the end.
   13156  1.1  riastrad    # Note that $ac_compile itself does not contain backslashes and begins
   13157  1.1  riastrad    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13158  1.1  riastrad    # The option is referenced via a variable to avoid confusing sed.
   13159  1.1  riastrad    lt_compile=`echo "$ac_compile" | $SED \
   13160  1.1  riastrad    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13161  1.1  riastrad    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13162  1.1  riastrad    -e 's:$: $lt_compiler_flag:'`
   13163  1.1  riastrad    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13164  1.1  riastrad    (eval "$lt_compile" 2>conftest.err)
   13165  1.1  riastrad    ac_status=$?
   13166  1.1  riastrad    cat conftest.err >&5
   13167  1.1  riastrad    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13168  1.1  riastrad    if (exit $ac_status) && test -s "$ac_outfile"; then
   13169  1.1  riastrad      # The compiler can only warn and ignore the option if not recognized
   13170  1.1  riastrad      # So say no if there are warnings other than the usual output.
   13171  1.1  riastrad      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   13172  1.1  riastrad      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13173  1.1  riastrad      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   13174  1.1  riastrad        lt_cv_prog_compiler_pic_works=yes
   13175  1.1  riastrad      fi
   13176  1.1  riastrad    fi
   13177  1.1  riastrad    $RM conftest*
   13178  1.1  riastrad 
   13179  1.1  riastrad fi
   13180  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   13181  1.1  riastrad $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   13182  1.1  riastrad 
   13183  1.1  riastrad if test yes = "$lt_cv_prog_compiler_pic_works"; then
   13184  1.1  riastrad     case $lt_prog_compiler_pic in
   13185  1.1  riastrad      "" | " "*) ;;
   13186  1.1  riastrad      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   13187  1.1  riastrad      esac
   13188  1.1  riastrad else
   13189  1.1  riastrad     lt_prog_compiler_pic=
   13190  1.1  riastrad      lt_prog_compiler_can_build_shared=no
   13191  1.1  riastrad fi
   13192  1.1  riastrad 
   13193  1.1  riastrad fi
   13194  1.1  riastrad 
   13195  1.1  riastrad 
   13196  1.1  riastrad 
   13197  1.1  riastrad 
   13198  1.1  riastrad 
   13199  1.1  riastrad 
   13200  1.1  riastrad 
   13201  1.1  riastrad 
   13202  1.1  riastrad 
   13203  1.1  riastrad 
   13204  1.1  riastrad 
   13205  1.1  riastrad #
   13206  1.1  riastrad # Check to make sure the static flag actually works.
   13207  1.1  riastrad #
   13208  1.1  riastrad wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   13209  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13210  1.1  riastrad $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   13211  1.1  riastrad if ${lt_cv_prog_compiler_static_works+:} false; then :
   13212  1.1  riastrad   $as_echo_n "(cached) " >&6
   13213  1.1  riastrad else
   13214  1.1  riastrad   lt_cv_prog_compiler_static_works=no
   13215  1.1  riastrad    save_LDFLAGS=$LDFLAGS
   13216  1.1  riastrad    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13217  1.1  riastrad    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13218  1.1  riastrad    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13219  1.1  riastrad      # The linker can only warn and ignore the option if not recognized
   13220  1.1  riastrad      # So say no if there are warnings
   13221  1.1  riastrad      if test -s conftest.err; then
   13222  1.1  riastrad        # Append any errors to the config.log.
   13223  1.1  riastrad        cat conftest.err 1>&5
   13224  1.1  riastrad        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   13225  1.1  riastrad        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13226  1.1  riastrad        if diff conftest.exp conftest.er2 >/dev/null; then
   13227  1.1  riastrad          lt_cv_prog_compiler_static_works=yes
   13228  1.1  riastrad        fi
   13229  1.1  riastrad      else
   13230  1.1  riastrad        lt_cv_prog_compiler_static_works=yes
   13231  1.1  riastrad      fi
   13232  1.1  riastrad    fi
   13233  1.1  riastrad    $RM -r conftest*
   13234  1.1  riastrad    LDFLAGS=$save_LDFLAGS
   13235  1.1  riastrad 
   13236  1.1  riastrad fi
   13237  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   13238  1.1  riastrad $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   13239  1.1  riastrad 
   13240  1.1  riastrad if test yes = "$lt_cv_prog_compiler_static_works"; then
   13241  1.1  riastrad     :
   13242  1.1  riastrad else
   13243  1.1  riastrad     lt_prog_compiler_static=
   13244  1.1  riastrad fi
   13245  1.1  riastrad 
   13246  1.1  riastrad 
   13247  1.1  riastrad 
   13248  1.1  riastrad 
   13249  1.1  riastrad 
   13250  1.1  riastrad 
   13251  1.1  riastrad 
   13252  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   13253  1.1  riastrad $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13254  1.1  riastrad if ${lt_cv_prog_compiler_c_o+:} false; then :
   13255  1.1  riastrad   $as_echo_n "(cached) " >&6
   13256  1.1  riastrad else
   13257  1.1  riastrad   lt_cv_prog_compiler_c_o=no
   13258  1.1  riastrad    $RM -r conftest 2>/dev/null
   13259  1.1  riastrad    mkdir conftest
   13260  1.1  riastrad    cd conftest
   13261  1.1  riastrad    mkdir out
   13262  1.1  riastrad    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13263  1.1  riastrad 
   13264  1.1  riastrad    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13265  1.1  riastrad    # Insert the option either (1) after the last *FLAGS variable, or
   13266  1.1  riastrad    # (2) before a word containing "conftest.", or (3) at the end.
   13267  1.1  riastrad    # Note that $ac_compile itself does not contain backslashes and begins
   13268  1.1  riastrad    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13269  1.1  riastrad    lt_compile=`echo "$ac_compile" | $SED \
   13270  1.1  riastrad    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13271  1.1  riastrad    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13272  1.1  riastrad    -e 's:$: $lt_compiler_flag:'`
   13273  1.1  riastrad    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13274  1.1  riastrad    (eval "$lt_compile" 2>out/conftest.err)
   13275  1.1  riastrad    ac_status=$?
   13276  1.1  riastrad    cat out/conftest.err >&5
   13277  1.1  riastrad    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13278  1.1  riastrad    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13279  1.1  riastrad    then
   13280  1.1  riastrad      # The compiler can only warn and ignore the option if not recognized
   13281  1.1  riastrad      # So say no if there are warnings
   13282  1.1  riastrad      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   13283  1.1  riastrad      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13284  1.1  riastrad      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13285  1.1  riastrad        lt_cv_prog_compiler_c_o=yes
   13286  1.1  riastrad      fi
   13287  1.1  riastrad    fi
   13288  1.1  riastrad    chmod u+w . 2>&5
   13289  1.1  riastrad    $RM conftest*
   13290  1.1  riastrad    # SGI C++ compiler will create directory out/ii_files/ for
   13291  1.1  riastrad    # template instantiation
   13292  1.1  riastrad    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   13293  1.1  riastrad    $RM out/* && rmdir out
   13294  1.1  riastrad    cd ..
   13295  1.1  riastrad    $RM -r conftest
   13296  1.1  riastrad    $RM conftest*
   13297  1.1  riastrad 
   13298  1.1  riastrad fi
   13299  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   13300  1.1  riastrad $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   13301  1.1  riastrad 
   13302  1.1  riastrad 
   13303  1.1  riastrad 
   13304  1.1  riastrad 
   13305  1.1  riastrad 
   13306  1.1  riastrad 
   13307  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   13308  1.1  riastrad $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13309  1.1  riastrad if ${lt_cv_prog_compiler_c_o+:} false; then :
   13310  1.1  riastrad   $as_echo_n "(cached) " >&6
   13311  1.1  riastrad else
   13312  1.1  riastrad   lt_cv_prog_compiler_c_o=no
   13313  1.1  riastrad    $RM -r conftest 2>/dev/null
   13314  1.1  riastrad    mkdir conftest
   13315  1.1  riastrad    cd conftest
   13316  1.1  riastrad    mkdir out
   13317  1.1  riastrad    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13318  1.1  riastrad 
   13319  1.1  riastrad    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13320  1.1  riastrad    # Insert the option either (1) after the last *FLAGS variable, or
   13321  1.1  riastrad    # (2) before a word containing "conftest.", or (3) at the end.
   13322  1.1  riastrad    # Note that $ac_compile itself does not contain backslashes and begins
   13323  1.1  riastrad    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13324  1.1  riastrad    lt_compile=`echo "$ac_compile" | $SED \
   13325  1.1  riastrad    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13326  1.1  riastrad    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13327  1.1  riastrad    -e 's:$: $lt_compiler_flag:'`
   13328  1.1  riastrad    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13329  1.1  riastrad    (eval "$lt_compile" 2>out/conftest.err)
   13330  1.1  riastrad    ac_status=$?
   13331  1.1  riastrad    cat out/conftest.err >&5
   13332  1.1  riastrad    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13333  1.1  riastrad    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13334  1.1  riastrad    then
   13335  1.1  riastrad      # The compiler can only warn and ignore the option if not recognized
   13336  1.1  riastrad      # So say no if there are warnings
   13337  1.1  riastrad      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   13338  1.1  riastrad      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13339  1.1  riastrad      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13340  1.1  riastrad        lt_cv_prog_compiler_c_o=yes
   13341  1.1  riastrad      fi
   13342  1.1  riastrad    fi
   13343  1.1  riastrad    chmod u+w . 2>&5
   13344  1.1  riastrad    $RM conftest*
   13345  1.1  riastrad    # SGI C++ compiler will create directory out/ii_files/ for
   13346  1.1  riastrad    # template instantiation
   13347  1.1  riastrad    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   13348  1.1  riastrad    $RM out/* && rmdir out
   13349  1.1  riastrad    cd ..
   13350  1.1  riastrad    $RM -r conftest
   13351  1.1  riastrad    $RM conftest*
   13352  1.1  riastrad 
   13353  1.1  riastrad fi
   13354  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   13355  1.1  riastrad $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   13356  1.1  riastrad 
   13357  1.1  riastrad 
   13358  1.1  riastrad 
   13359  1.1  riastrad 
   13360  1.1  riastrad hard_links=nottested
   13361  1.1  riastrad if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   13362  1.1  riastrad   # do not overwrite the value of need_locks provided by the user
   13363  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   13364  1.1  riastrad $as_echo_n "checking if we can lock with hard links... " >&6; }
   13365  1.1  riastrad   hard_links=yes
   13366  1.1  riastrad   $RM conftest*
   13367  1.1  riastrad   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13368  1.1  riastrad   touch conftest.a
   13369  1.1  riastrad   ln conftest.a conftest.b 2>&5 || hard_links=no
   13370  1.1  riastrad   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13371  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   13372  1.1  riastrad $as_echo "$hard_links" >&6; }
   13373  1.1  riastrad   if test no = "$hard_links"; then
   13374  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   13375  1.1  riastrad $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   13376  1.1  riastrad     need_locks=warn
   13377  1.1  riastrad   fi
   13378  1.1  riastrad else
   13379  1.1  riastrad   need_locks=no
   13380  1.1  riastrad fi
   13381  1.1  riastrad 
   13382  1.1  riastrad 
   13383  1.1  riastrad 
   13384  1.1  riastrad 
   13385  1.1  riastrad 
   13386  1.1  riastrad 
   13387  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13388  1.1  riastrad $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13389  1.1  riastrad 
   13390  1.1  riastrad   runpath_var=
   13391  1.1  riastrad   allow_undefined_flag=
   13392  1.1  riastrad   always_export_symbols=no
   13393  1.1  riastrad   archive_cmds=
   13394  1.1  riastrad   archive_expsym_cmds=
   13395  1.1  riastrad   compiler_needs_object=no
   13396  1.1  riastrad   enable_shared_with_static_runtimes=no
   13397  1.1  riastrad   export_dynamic_flag_spec=
   13398  1.1  riastrad   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13399  1.1  riastrad   hardcode_automatic=no
   13400  1.1  riastrad   hardcode_direct=no
   13401  1.1  riastrad   hardcode_direct_absolute=no
   13402  1.1  riastrad   hardcode_libdir_flag_spec=
   13403  1.1  riastrad   hardcode_libdir_separator=
   13404  1.1  riastrad   hardcode_minus_L=no
   13405  1.1  riastrad   hardcode_shlibpath_var=unsupported
   13406  1.1  riastrad   inherit_rpath=no
   13407  1.1  riastrad   link_all_deplibs=unknown
   13408  1.1  riastrad   module_cmds=
   13409  1.1  riastrad   module_expsym_cmds=
   13410  1.1  riastrad   old_archive_from_new_cmds=
   13411  1.1  riastrad   old_archive_from_expsyms_cmds=
   13412  1.1  riastrad   thread_safe_flag_spec=
   13413  1.1  riastrad   whole_archive_flag_spec=
   13414  1.1  riastrad   # include_expsyms should be a list of space-separated symbols to be *always*
   13415  1.1  riastrad   # included in the symbol list
   13416  1.1  riastrad   include_expsyms=
   13417  1.1  riastrad   # exclude_expsyms can be an extended regexp of symbols to exclude
   13418  1.1  riastrad   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   13419  1.1  riastrad   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   13420  1.1  riastrad   # as well as any symbol that contains 'd'.
   13421  1.1  riastrad   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   13422  1.1  riastrad   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   13423  1.1  riastrad   # platforms (ab)use it in PIC code, but their linkers get confused if
   13424  1.1  riastrad   # the symbol is explicitly referenced.  Since portable code cannot
   13425  1.1  riastrad   # rely on this symbol name, it's probably fine to never include it in
   13426  1.1  riastrad   # preloaded symbol tables.
   13427  1.1  riastrad   # Exclude shared library initialization/finalization symbols.
   13428  1.1  riastrad   extract_expsyms_cmds=
   13429  1.1  riastrad 
   13430  1.1  riastrad   case $host_os in
   13431  1.1  riastrad   cygwin* | mingw* | pw32* | cegcc*)
   13432  1.1  riastrad     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   13433  1.1  riastrad     # When not using gcc, we currently assume that we are using
   13434  1.1  riastrad     # Microsoft Visual C++.
   13435  1.1  riastrad     if test yes != "$GCC"; then
   13436  1.1  riastrad       with_gnu_ld=no
   13437  1.1  riastrad     fi
   13438  1.1  riastrad     ;;
   13439  1.1  riastrad   interix*)
   13440  1.1  riastrad     # we just hope/assume this is gcc and not c89 (= MSVC++)
   13441  1.1  riastrad     with_gnu_ld=yes
   13442  1.1  riastrad     ;;
   13443  1.1  riastrad   openbsd* | bitrig*)
   13444  1.1  riastrad     with_gnu_ld=no
   13445  1.1  riastrad     ;;
   13446  1.1  riastrad   esac
   13447  1.1  riastrad 
   13448  1.1  riastrad   ld_shlibs=yes
   13449  1.1  riastrad 
   13450  1.1  riastrad   # On some targets, GNU ld is compatible enough with the native linker
   13451  1.1  riastrad   # that we're better off using the native interface for both.
   13452  1.1  riastrad   lt_use_gnu_ld_interface=no
   13453  1.1  riastrad   if test yes = "$with_gnu_ld"; then
   13454  1.1  riastrad     case $host_os in
   13455  1.1  riastrad       aix*)
   13456  1.1  riastrad 	# The AIX port of GNU ld has always aspired to compatibility
   13457  1.1  riastrad 	# with the native linker.  However, as the warning in the GNU ld
   13458  1.1  riastrad 	# block says, versions before 2.19.5* couldn't really create working
   13459  1.1  riastrad 	# shared libraries, regardless of the interface used.
   13460  1.1  riastrad 	case `$LD -v 2>&1` in
   13461  1.1  riastrad 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   13462  1.1  riastrad 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   13463  1.1  riastrad 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   13464  1.1  riastrad 	  *)
   13465  1.1  riastrad 	    lt_use_gnu_ld_interface=yes
   13466  1.1  riastrad 	    ;;
   13467  1.1  riastrad 	esac
   13468  1.1  riastrad 	;;
   13469  1.1  riastrad       *)
   13470  1.1  riastrad 	lt_use_gnu_ld_interface=yes
   13471  1.1  riastrad 	;;
   13472  1.1  riastrad     esac
   13473  1.1  riastrad   fi
   13474  1.1  riastrad 
   13475  1.1  riastrad   if test yes = "$lt_use_gnu_ld_interface"; then
   13476  1.1  riastrad     # If archive_cmds runs LD, not CC, wlarc should be empty
   13477  1.1  riastrad     wlarc='$wl'
   13478  1.1  riastrad 
   13479  1.1  riastrad     # Set some defaults for GNU ld with shared library support. These
   13480  1.1  riastrad     # are reset later if shared libraries are not supported. Putting them
   13481  1.1  riastrad     # here allows them to be overridden if necessary.
   13482  1.1  riastrad     runpath_var=LD_RUN_PATH
   13483  1.1  riastrad     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   13484  1.1  riastrad     export_dynamic_flag_spec='$wl--export-dynamic'
   13485  1.1  riastrad     # ancient GNU ld didn't support --whole-archive et. al.
   13486  1.1  riastrad     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   13487  1.1  riastrad       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   13488  1.1  riastrad     else
   13489  1.1  riastrad       whole_archive_flag_spec=
   13490  1.1  riastrad     fi
   13491  1.1  riastrad     supports_anon_versioning=no
   13492  1.1  riastrad     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   13493  1.1  riastrad       *GNU\ gold*) supports_anon_versioning=yes ;;
   13494  1.1  riastrad       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   13495  1.1  riastrad       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   13496  1.1  riastrad       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   13497  1.1  riastrad       *\ 2.11.*) ;; # other 2.11 versions
   13498  1.1  riastrad       *) supports_anon_versioning=yes ;;
   13499  1.1  riastrad     esac
   13500  1.1  riastrad 
   13501  1.1  riastrad     # See if GNU ld supports shared libraries.
   13502  1.1  riastrad     case $host_os in
   13503  1.1  riastrad     aix[3-9]*)
   13504  1.1  riastrad       # On AIX/PPC, the GNU linker is very broken
   13505  1.1  riastrad       if test ia64 != "$host_cpu"; then
   13506  1.1  riastrad 	ld_shlibs=no
   13507  1.1  riastrad 	cat <<_LT_EOF 1>&2
   13508  1.1  riastrad 
   13509  1.1  riastrad *** Warning: the GNU linker, at least up to release 2.19, is reported
   13510  1.1  riastrad *** to be unable to reliably create shared libraries on AIX.
   13511  1.1  riastrad *** Therefore, libtool is disabling shared libraries support.  If you
   13512  1.1  riastrad *** really care for shared libraries, you may want to install binutils
   13513  1.1  riastrad *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   13514  1.1  riastrad *** You will then need to restart the configuration process.
   13515  1.1  riastrad 
   13516  1.1  riastrad _LT_EOF
   13517  1.1  riastrad       fi
   13518  1.1  riastrad       ;;
   13519  1.1  riastrad 
   13520  1.1  riastrad     amigaos*)
   13521  1.1  riastrad       case $host_cpu in
   13522  1.1  riastrad       powerpc)
   13523  1.1  riastrad             # see comment about AmigaOS4 .so support
   13524  1.1  riastrad             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   13525  1.1  riastrad             archive_expsym_cmds=''
   13526  1.1  riastrad         ;;
   13527  1.1  riastrad       m68k)
   13528  1.1  riastrad             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   13529  1.1  riastrad             hardcode_libdir_flag_spec='-L$libdir'
   13530  1.1  riastrad             hardcode_minus_L=yes
   13531  1.1  riastrad         ;;
   13532  1.1  riastrad       esac
   13533  1.1  riastrad       ;;
   13534  1.1  riastrad 
   13535  1.1  riastrad     beos*)
   13536  1.1  riastrad       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   13537  1.1  riastrad 	allow_undefined_flag=unsupported
   13538  1.1  riastrad 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   13539  1.1  riastrad 	# support --undefined.  This deserves some investigation.  FIXME
   13540  1.1  riastrad 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   13541  1.1  riastrad       else
   13542  1.1  riastrad 	ld_shlibs=no
   13543  1.1  riastrad       fi
   13544  1.1  riastrad       ;;
   13545  1.1  riastrad 
   13546  1.1  riastrad     cygwin* | mingw* | pw32* | cegcc*)
   13547  1.1  riastrad       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   13548  1.1  riastrad       # as there is no search path for DLLs.
   13549  1.1  riastrad       hardcode_libdir_flag_spec='-L$libdir'
   13550  1.1  riastrad       export_dynamic_flag_spec='$wl--export-all-symbols'
   13551  1.1  riastrad       allow_undefined_flag=unsupported
   13552  1.1  riastrad       always_export_symbols=no
   13553  1.1  riastrad       enable_shared_with_static_runtimes=yes
   13554  1.1  riastrad       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
   13555  1.1  riastrad       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   13556  1.1  riastrad 
   13557  1.1  riastrad       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   13558  1.1  riastrad         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   13559  1.1  riastrad 	# If the export-symbols file already is a .def file, use it as
   13560  1.1  riastrad 	# is; otherwise, prepend EXPORTS...
   13561  1.1  riastrad 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   13562  1.1  riastrad           cp $export_symbols $output_objdir/$soname.def;
   13563  1.1  riastrad         else
   13564  1.1  riastrad           echo EXPORTS > $output_objdir/$soname.def;
   13565  1.1  riastrad           cat $export_symbols >> $output_objdir/$soname.def;
   13566  1.1  riastrad         fi~
   13567  1.1  riastrad         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   13568  1.1  riastrad       else
   13569  1.1  riastrad 	ld_shlibs=no
   13570  1.1  riastrad       fi
   13571  1.1  riastrad       ;;
   13572  1.1  riastrad 
   13573  1.1  riastrad     haiku*)
   13574  1.1  riastrad       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   13575  1.1  riastrad       link_all_deplibs=yes
   13576  1.1  riastrad       ;;
   13577  1.1  riastrad 
   13578  1.1  riastrad     os2*)
   13579  1.1  riastrad       hardcode_libdir_flag_spec='-L$libdir'
   13580  1.1  riastrad       hardcode_minus_L=yes
   13581  1.1  riastrad       allow_undefined_flag=unsupported
   13582  1.1  riastrad       shrext_cmds=.dll
   13583  1.1  riastrad       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   13584  1.1  riastrad 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   13585  1.1  riastrad 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   13586  1.1  riastrad 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   13587  1.1  riastrad 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   13588  1.1  riastrad 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   13589  1.1  riastrad 	emximp -o $lib $output_objdir/$libname.def'
   13590  1.1  riastrad       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   13591  1.1  riastrad 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   13592  1.1  riastrad 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   13593  1.1  riastrad 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   13594  1.1  riastrad 	prefix_cmds="$SED"~
   13595  1.1  riastrad 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   13596  1.1  riastrad 	  prefix_cmds="$prefix_cmds -e 1d";
   13597  1.1  riastrad 	fi~
   13598  1.1  riastrad 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   13599  1.1  riastrad 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   13600  1.1  riastrad 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   13601  1.1  riastrad 	emximp -o $lib $output_objdir/$libname.def'
   13602  1.1  riastrad       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   13603  1.1  riastrad       enable_shared_with_static_runtimes=yes
   13604  1.1  riastrad       ;;
   13605  1.1  riastrad 
   13606  1.1  riastrad     interix[3-9]*)
   13607  1.1  riastrad       hardcode_direct=no
   13608  1.1  riastrad       hardcode_shlibpath_var=no
   13609  1.1  riastrad       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   13610  1.1  riastrad       export_dynamic_flag_spec='$wl-E'
   13611  1.1  riastrad       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   13612  1.1  riastrad       # Instead, shared libraries are loaded at an image base (0x10000000 by
   13613  1.1  riastrad       # default) and relocated if they conflict, which is a slow very memory
   13614  1.1  riastrad       # consuming and fragmenting process.  To avoid this, we pick a random,
   13615  1.1  riastrad       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   13616  1.1  riastrad       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   13617  1.1  riastrad       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   13618  1.1  riastrad       archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   13619  1.1  riastrad       ;;
   13620  1.1  riastrad 
   13621  1.1  riastrad     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   13622  1.1  riastrad       tmp_diet=no
   13623  1.1  riastrad       if test linux-dietlibc = "$host_os"; then
   13624  1.1  riastrad 	case $cc_basename in
   13625  1.1  riastrad 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   13626  1.1  riastrad 	esac
   13627  1.1  riastrad       fi
   13628  1.1  riastrad       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   13629  1.1  riastrad 	 && test no = "$tmp_diet"
   13630  1.1  riastrad       then
   13631  1.1  riastrad 	tmp_addflag=' $pic_flag'
   13632  1.1  riastrad 	tmp_sharedflag='-shared'
   13633  1.1  riastrad 	case $cc_basename,$host_cpu in
   13634  1.1  riastrad         pgcc*)				# Portland Group C compiler
   13635  1.1  riastrad 	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
   13636  1.1  riastrad 	  tmp_addflag=' $pic_flag'
   13637  1.1  riastrad 	  ;;
   13638  1.1  riastrad 	pgf77* | pgf90* | pgf95* | pgfortran*)
   13639  1.1  riastrad 					# Portland Group f77 and f90 compilers
   13640  1.1  riastrad 	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
   13641  1.1  riastrad 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   13642  1.1  riastrad 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   13643  1.1  riastrad 	  tmp_addflag=' -i_dynamic' ;;
   13644  1.1  riastrad 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   13645  1.1  riastrad 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   13646  1.1  riastrad 	ifc* | ifort*)			# Intel Fortran compiler
   13647  1.1  riastrad 	  tmp_addflag=' -nofor_main' ;;
   13648  1.1  riastrad 	lf95*)				# Lahey Fortran 8.1
   13649  1.1  riastrad 	  whole_archive_flag_spec=
   13650  1.1  riastrad 	  tmp_sharedflag='--shared' ;;
   13651  1.1  riastrad         nagfor*)                        # NAGFOR 5.3
   13652  1.1  riastrad           tmp_sharedflag='-Wl,-shared' ;;
   13653  1.1  riastrad 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   13654  1.1  riastrad 	  tmp_sharedflag='-qmkshrobj'
   13655  1.1  riastrad 	  tmp_addflag= ;;
   13656  1.1  riastrad 	nvcc*)	# Cuda Compiler Driver 2.2
   13657  1.1  riastrad 	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
   13658  1.1  riastrad 	  compiler_needs_object=yes
   13659  1.1  riastrad 	  ;;
   13660  1.1  riastrad 	esac
   13661  1.1  riastrad 	case `$CC -V 2>&1 | sed 5q` in
   13662  1.1  riastrad 	*Sun\ C*)			# Sun C 5.9
   13663  1.1  riastrad 	  whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
   13664  1.1  riastrad 	  compiler_needs_object=yes
   13665  1.1  riastrad 	  tmp_sharedflag='-G' ;;
   13666  1.1  riastrad 	*Sun\ F*)			# Sun Fortran 8.3
   13667  1.1  riastrad 	  tmp_sharedflag='-G' ;;
   13668  1.1  riastrad 	esac
   13669  1.1  riastrad 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   13670  1.1  riastrad 
   13671  1.1  riastrad         if test yes = "$supports_anon_versioning"; then
   13672  1.1  riastrad           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   13673  1.1  riastrad             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   13674  1.1  riastrad             echo "local: *; };" >> $output_objdir/$libname.ver~
   13675  1.1  riastrad             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   13676  1.1  riastrad         fi
   13677  1.1  riastrad 
   13678  1.1  riastrad 	case $cc_basename in
   13679  1.1  riastrad 	tcc*)
   13680  1.1  riastrad 	  export_dynamic_flag_spec='-rdynamic'
   13681  1.1  riastrad 	  ;;
   13682  1.1  riastrad 	xlf* | bgf* | bgxlf* | mpixlf*)
   13683  1.1  riastrad 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   13684  1.1  riastrad 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   13685  1.1  riastrad 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   13686  1.1  riastrad 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   13687  1.1  riastrad 	  if test yes = "$supports_anon_versioning"; then
   13688  1.1  riastrad 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   13689  1.1  riastrad               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   13690  1.1  riastrad               echo "local: *; };" >> $output_objdir/$libname.ver~
   13691  1.1  riastrad               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   13692  1.1  riastrad 	  fi
   13693  1.1  riastrad 	  ;;
   13694  1.1  riastrad 	esac
   13695  1.1  riastrad       else
   13696  1.1  riastrad         ld_shlibs=no
   13697  1.1  riastrad       fi
   13698  1.1  riastrad       ;;
   13699  1.1  riastrad 
   13700  1.1  riastrad     netbsd*)
   13701  1.1  riastrad       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   13702  1.1  riastrad 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   13703  1.1  riastrad 	wlarc=
   13704  1.1  riastrad       else
   13705  1.1  riastrad 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   13706  1.1  riastrad 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   13707  1.1  riastrad       fi
   13708  1.1  riastrad       ;;
   13709  1.1  riastrad 
   13710  1.1  riastrad     solaris*)
   13711  1.1  riastrad       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   13712  1.1  riastrad 	ld_shlibs=no
   13713  1.1  riastrad 	cat <<_LT_EOF 1>&2
   13714  1.1  riastrad 
   13715  1.1  riastrad *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   13716  1.1  riastrad *** create shared libraries on Solaris systems.  Therefore, libtool
   13717  1.1  riastrad *** is disabling shared libraries support.  We urge you to upgrade GNU
   13718  1.1  riastrad *** binutils to release 2.9.1 or newer.  Another option is to modify
   13719  1.1  riastrad *** your PATH or compiler configuration so that the native linker is
   13720  1.1  riastrad *** used, and then restart.
   13721  1.1  riastrad 
   13722  1.1  riastrad _LT_EOF
   13723  1.1  riastrad       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   13724  1.1  riastrad 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   13725  1.1  riastrad 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   13726  1.1  riastrad       else
   13727  1.1  riastrad 	ld_shlibs=no
   13728  1.1  riastrad       fi
   13729  1.1  riastrad       ;;
   13730  1.1  riastrad 
   13731  1.1  riastrad     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   13732  1.1  riastrad       case `$LD -v 2>&1` in
   13733  1.1  riastrad         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   13734  1.1  riastrad 	ld_shlibs=no
   13735  1.1  riastrad 	cat <<_LT_EOF 1>&2
   13736  1.1  riastrad 
   13737  1.1  riastrad *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   13738  1.1  riastrad *** reliably create shared libraries on SCO systems.  Therefore, libtool
   13739  1.1  riastrad *** is disabling shared libraries support.  We urge you to upgrade GNU
   13740  1.1  riastrad *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   13741  1.1  riastrad *** your PATH or compiler configuration so that the native linker is
   13742  1.1  riastrad *** used, and then restart.
   13743  1.1  riastrad 
   13744  1.1  riastrad _LT_EOF
   13745  1.1  riastrad 	;;
   13746  1.1  riastrad 	*)
   13747  1.1  riastrad 	  # For security reasons, it is highly recommended that you always
   13748  1.1  riastrad 	  # use absolute paths for naming shared libraries, and exclude the
   13749  1.1  riastrad 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   13750  1.1  riastrad 	  # requires that you compile everything twice, which is a pain.
   13751  1.1  riastrad 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   13752  1.1  riastrad 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   13753  1.1  riastrad 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   13754  1.1  riastrad 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   13755  1.1  riastrad 	  else
   13756  1.1  riastrad 	    ld_shlibs=no
   13757  1.1  riastrad 	  fi
   13758  1.1  riastrad 	;;
   13759  1.1  riastrad       esac
   13760  1.1  riastrad       ;;
   13761  1.1  riastrad 
   13762  1.1  riastrad     sunos4*)
   13763  1.1  riastrad       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   13764  1.1  riastrad       wlarc=
   13765  1.1  riastrad       hardcode_direct=yes
   13766  1.1  riastrad       hardcode_shlibpath_var=no
   13767  1.1  riastrad       ;;
   13768  1.1  riastrad 
   13769  1.1  riastrad     *)
   13770  1.1  riastrad       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   13771  1.1  riastrad 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   13772  1.1  riastrad 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   13773  1.1  riastrad       else
   13774  1.1  riastrad 	ld_shlibs=no
   13775  1.1  riastrad       fi
   13776  1.1  riastrad       ;;
   13777  1.1  riastrad     esac
   13778  1.1  riastrad 
   13779  1.1  riastrad     if test no = "$ld_shlibs"; then
   13780  1.1  riastrad       runpath_var=
   13781  1.1  riastrad       hardcode_libdir_flag_spec=
   13782  1.1  riastrad       export_dynamic_flag_spec=
   13783  1.1  riastrad       whole_archive_flag_spec=
   13784  1.1  riastrad     fi
   13785  1.1  riastrad   else
   13786  1.1  riastrad     # PORTME fill in a description of your system's linker (not GNU ld)
   13787  1.1  riastrad     case $host_os in
   13788  1.1  riastrad     aix3*)
   13789  1.1  riastrad       allow_undefined_flag=unsupported
   13790  1.1  riastrad       always_export_symbols=yes
   13791  1.1  riastrad       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
   13792  1.1  riastrad       # Note: this linker hardcodes the directories in LIBPATH if there
   13793  1.1  riastrad       # are no directories specified by -L.
   13794  1.1  riastrad       hardcode_minus_L=yes
   13795  1.1  riastrad       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   13796  1.1  riastrad 	# Neither direct hardcoding nor static linking is supported with a
   13797  1.1  riastrad 	# broken collect2.
   13798  1.1  riastrad 	hardcode_direct=unsupported
   13799  1.1  riastrad       fi
   13800  1.1  riastrad       ;;
   13801  1.1  riastrad 
   13802  1.1  riastrad     aix[4-9]*)
   13803  1.1  riastrad       if test ia64 = "$host_cpu"; then
   13804  1.1  riastrad 	# On IA64, the linker does run time linking by default, so we don't
   13805  1.1  riastrad 	# have to do anything special.
   13806  1.1  riastrad 	aix_use_runtimelinking=no
   13807  1.1  riastrad 	exp_sym_flag='-Bexport'
   13808  1.1  riastrad 	no_entry_flag=
   13809  1.1  riastrad       else
   13810  1.1  riastrad 	# If we're using GNU nm, then we don't want the "-C" option.
   13811  1.1  riastrad 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   13812  1.1  riastrad 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   13813  1.1  riastrad 	# weak defined symbols like other global defined symbols, whereas
   13814  1.1  riastrad 	# GNU nm marks them as "W".
   13815  1.1  riastrad 	# While the 'weak' keyword is ignored in the Export File, we need
   13816  1.1  riastrad 	# it in the Import File for the 'aix-soname' feature, so we have
   13817  1.1  riastrad 	# to replace the "-B" option with "-P" for AIX nm.
   13818  1.1  riastrad 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   13819  1.1  riastrad 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
   13820  1.1  riastrad 	else
   13821  1.1  riastrad 	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
   13822  1.1  riastrad 	fi
   13823  1.1  riastrad 	aix_use_runtimelinking=no
   13824  1.1  riastrad 
   13825  1.1  riastrad 	# Test if we are trying to use run time linking or normal
   13826  1.1  riastrad 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   13827  1.1  riastrad 	# have runtime linking enabled, and use it for executables.
   13828  1.1  riastrad 	# For shared libraries, we enable/disable runtime linking
   13829  1.1  riastrad 	# depending on the kind of the shared library created -
   13830  1.1  riastrad 	# when "with_aix_soname,aix_use_runtimelinking" is:
   13831  1.1  riastrad 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   13832  1.1  riastrad 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   13833  1.1  riastrad 	#            lib.a           static archive
   13834  1.1  riastrad 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   13835  1.1  riastrad 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   13836  1.1  riastrad 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   13837  1.1  riastrad 	#            lib.a(lib.so.V) shared, rtl:no
   13838  1.1  riastrad 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   13839  1.1  riastrad 	#            lib.a           static archive
   13840  1.1  riastrad 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   13841  1.1  riastrad 	  for ld_flag in $LDFLAGS; do
   13842  1.1  riastrad 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   13843  1.1  riastrad 	    aix_use_runtimelinking=yes
   13844  1.1  riastrad 	    break
   13845  1.1  riastrad 	  fi
   13846  1.1  riastrad 	  done
   13847  1.1  riastrad 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   13848  1.1  riastrad 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   13849  1.1  riastrad 	    # so we don't have lib.a shared libs to link our executables.
   13850  1.1  riastrad 	    # We have to force runtime linking in this case.
   13851  1.1  riastrad 	    aix_use_runtimelinking=yes
   13852  1.1  riastrad 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   13853  1.1  riastrad 	  fi
   13854  1.1  riastrad 	  ;;
   13855  1.1  riastrad 	esac
   13856  1.1  riastrad 
   13857  1.1  riastrad 	exp_sym_flag='-bexport'
   13858  1.1  riastrad 	no_entry_flag='-bnoentry'
   13859  1.1  riastrad       fi
   13860  1.1  riastrad 
   13861  1.1  riastrad       # When large executables or shared objects are built, AIX ld can
   13862  1.1  riastrad       # have problems creating the table of contents.  If linking a library
   13863  1.1  riastrad       # or program results in "error TOC overflow" add -mminimal-toc to
   13864  1.1  riastrad       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   13865  1.1  riastrad       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   13866  1.1  riastrad 
   13867  1.1  riastrad       archive_cmds=''
   13868  1.1  riastrad       hardcode_direct=yes
   13869  1.1  riastrad       hardcode_direct_absolute=yes
   13870  1.1  riastrad       hardcode_libdir_separator=':'
   13871  1.1  riastrad       link_all_deplibs=yes
   13872  1.1  riastrad       file_list_spec='$wl-f,'
   13873  1.1  riastrad       case $with_aix_soname,$aix_use_runtimelinking in
   13874  1.1  riastrad       aix,*) ;; # traditional, no import file
   13875  1.1  riastrad       svr4,* | *,yes) # use import file
   13876  1.1  riastrad 	# The Import File defines what to hardcode.
   13877  1.1  riastrad 	hardcode_direct=no
   13878  1.1  riastrad 	hardcode_direct_absolute=no
   13879  1.1  riastrad 	;;
   13880  1.1  riastrad       esac
   13881  1.1  riastrad 
   13882  1.1  riastrad       if test yes = "$GCC"; then
   13883  1.1  riastrad 	case $host_os in aix4.[012]|aix4.[012].*)
   13884  1.1  riastrad 	# We only want to do this on AIX 4.2 and lower, the check
   13885  1.1  riastrad 	# below for broken collect2 doesn't work under 4.3+
   13886  1.1  riastrad 	  collect2name=`$CC -print-prog-name=collect2`
   13887  1.1  riastrad 	  if test -f "$collect2name" &&
   13888  1.1  riastrad 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   13889  1.1  riastrad 	  then
   13890  1.1  riastrad 	  # We have reworked collect2
   13891  1.1  riastrad 	  :
   13892  1.1  riastrad 	  else
   13893  1.1  riastrad 	  # We have old collect2
   13894  1.1  riastrad 	  hardcode_direct=unsupported
   13895  1.1  riastrad 	  # It fails to find uninstalled libraries when the uninstalled
   13896  1.1  riastrad 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   13897  1.1  riastrad 	  # to unsupported forces relinking
   13898  1.1  riastrad 	  hardcode_minus_L=yes
   13899  1.1  riastrad 	  hardcode_libdir_flag_spec='-L$libdir'
   13900  1.1  riastrad 	  hardcode_libdir_separator=
   13901  1.1  riastrad 	  fi
   13902  1.1  riastrad 	  ;;
   13903  1.1  riastrad 	esac
   13904  1.1  riastrad 	shared_flag='-shared'
   13905  1.1  riastrad 	if test yes = "$aix_use_runtimelinking"; then
   13906  1.1  riastrad 	  shared_flag="$shared_flag "'$wl-G'
   13907  1.1  riastrad 	fi
   13908  1.1  riastrad 	# Need to ensure runtime linking is disabled for the traditional
   13909  1.1  riastrad 	# shared library, or the linker may eventually find shared libraries
   13910  1.1  riastrad 	# /with/ Import File - we do not want to mix them.
   13911  1.1  riastrad 	shared_flag_aix='-shared'
   13912  1.1  riastrad 	shared_flag_svr4='-shared $wl-G'
   13913  1.1  riastrad       else
   13914  1.1  riastrad 	# not using gcc
   13915  1.1  riastrad 	if test ia64 = "$host_cpu"; then
   13916  1.1  riastrad 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   13917  1.1  riastrad 	# chokes on -Wl,-G. The following line is correct:
   13918  1.1  riastrad 	  shared_flag='-G'
   13919  1.1  riastrad 	else
   13920  1.1  riastrad 	  if test yes = "$aix_use_runtimelinking"; then
   13921  1.1  riastrad 	    shared_flag='$wl-G'
   13922  1.1  riastrad 	  else
   13923  1.1  riastrad 	    shared_flag='$wl-bM:SRE'
   13924  1.1  riastrad 	  fi
   13925  1.1  riastrad 	  shared_flag_aix='$wl-bM:SRE'
   13926  1.1  riastrad 	  shared_flag_svr4='$wl-G'
   13927  1.1  riastrad 	fi
   13928  1.1  riastrad       fi
   13929  1.1  riastrad 
   13930  1.1  riastrad       export_dynamic_flag_spec='$wl-bexpall'
   13931  1.1  riastrad       # It seems that -bexpall does not export symbols beginning with
   13932  1.1  riastrad       # underscore (_), so it is better to generate a list of symbols to export.
   13933  1.1  riastrad       always_export_symbols=yes
   13934  1.1  riastrad       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   13935  1.1  riastrad 	# Warning - without using the other runtime loading flags (-brtl),
   13936  1.1  riastrad 	# -berok will link without error, but may produce a broken library.
   13937  1.1  riastrad 	allow_undefined_flag='-berok'
   13938  1.1  riastrad         # Determine the default libpath from the value encoded in an
   13939  1.1  riastrad         # empty executable.
   13940  1.1  riastrad         if test set = "${lt_cv_aix_libpath+set}"; then
   13941  1.1  riastrad   aix_libpath=$lt_cv_aix_libpath
   13942  1.1  riastrad else
   13943  1.1  riastrad   if ${lt_cv_aix_libpath_+:} false; then :
   13944  1.1  riastrad   $as_echo_n "(cached) " >&6
   13945  1.1  riastrad else
   13946  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13947  1.1  riastrad /* end confdefs.h.  */
   13948  1.1  riastrad 
   13949  1.1  riastrad int
   13950  1.1  riastrad main ()
   13951  1.1  riastrad {
   13952  1.1  riastrad 
   13953  1.1  riastrad   ;
   13954  1.1  riastrad   return 0;
   13955  1.1  riastrad }
   13956  1.1  riastrad _ACEOF
   13957  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   13958  1.1  riastrad 
   13959  1.1  riastrad   lt_aix_libpath_sed='
   13960  1.1  riastrad       /Import File Strings/,/^$/ {
   13961  1.1  riastrad 	  /^0/ {
   13962  1.1  riastrad 	      s/^0  *\([^ ]*\) *$/\1/
   13963  1.1  riastrad 	      p
   13964  1.1  riastrad 	  }
   13965  1.1  riastrad       }'
   13966  1.1  riastrad   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13967  1.1  riastrad   # Check for a 64-bit object if we didn't find anything.
   13968  1.1  riastrad   if test -z "$lt_cv_aix_libpath_"; then
   13969  1.1  riastrad     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13970  1.1  riastrad   fi
   13971  1.1  riastrad fi
   13972  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   13973  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   13974  1.1  riastrad   if test -z "$lt_cv_aix_libpath_"; then
   13975  1.1  riastrad     lt_cv_aix_libpath_=/usr/lib:/lib
   13976  1.1  riastrad   fi
   13977  1.1  riastrad 
   13978  1.1  riastrad fi
   13979  1.1  riastrad 
   13980  1.1  riastrad   aix_libpath=$lt_cv_aix_libpath_
   13981  1.1  riastrad fi
   13982  1.1  riastrad 
   13983  1.1  riastrad         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   13984  1.1  riastrad         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
   13985  1.1  riastrad       else
   13986  1.1  riastrad 	if test ia64 = "$host_cpu"; then
   13987  1.1  riastrad 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   13988  1.1  riastrad 	  allow_undefined_flag="-z nodefs"
   13989  1.1  riastrad 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
   13990  1.1  riastrad 	else
   13991  1.1  riastrad 	 # Determine the default libpath from the value encoded in an
   13992  1.1  riastrad 	 # empty executable.
   13993  1.1  riastrad 	 if test set = "${lt_cv_aix_libpath+set}"; then
   13994  1.1  riastrad   aix_libpath=$lt_cv_aix_libpath
   13995  1.1  riastrad else
   13996  1.1  riastrad   if ${lt_cv_aix_libpath_+:} false; then :
   13997  1.1  riastrad   $as_echo_n "(cached) " >&6
   13998  1.1  riastrad else
   13999  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14000  1.1  riastrad /* end confdefs.h.  */
   14001  1.1  riastrad 
   14002  1.1  riastrad int
   14003  1.1  riastrad main ()
   14004  1.1  riastrad {
   14005  1.1  riastrad 
   14006  1.1  riastrad   ;
   14007  1.1  riastrad   return 0;
   14008  1.1  riastrad }
   14009  1.1  riastrad _ACEOF
   14010  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   14011  1.1  riastrad 
   14012  1.1  riastrad   lt_aix_libpath_sed='
   14013  1.1  riastrad       /Import File Strings/,/^$/ {
   14014  1.1  riastrad 	  /^0/ {
   14015  1.1  riastrad 	      s/^0  *\([^ ]*\) *$/\1/
   14016  1.1  riastrad 	      p
   14017  1.1  riastrad 	  }
   14018  1.1  riastrad       }'
   14019  1.1  riastrad   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14020  1.1  riastrad   # Check for a 64-bit object if we didn't find anything.
   14021  1.1  riastrad   if test -z "$lt_cv_aix_libpath_"; then
   14022  1.1  riastrad     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14023  1.1  riastrad   fi
   14024  1.1  riastrad fi
   14025  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   14026  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   14027  1.1  riastrad   if test -z "$lt_cv_aix_libpath_"; then
   14028  1.1  riastrad     lt_cv_aix_libpath_=/usr/lib:/lib
   14029  1.1  riastrad   fi
   14030  1.1  riastrad 
   14031  1.1  riastrad fi
   14032  1.1  riastrad 
   14033  1.1  riastrad   aix_libpath=$lt_cv_aix_libpath_
   14034  1.1  riastrad fi
   14035  1.1  riastrad 
   14036  1.1  riastrad 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   14037  1.1  riastrad 	  # Warning - without using the other run time loading flags,
   14038  1.1  riastrad 	  # -berok will link without error, but may produce a broken library.
   14039  1.1  riastrad 	  no_undefined_flag=' $wl-bernotok'
   14040  1.1  riastrad 	  allow_undefined_flag=' $wl-berok'
   14041  1.1  riastrad 	  if test yes = "$with_gnu_ld"; then
   14042  1.1  riastrad 	    # We only use this code for GNU lds that support --whole-archive.
   14043  1.1  riastrad 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   14044  1.1  riastrad 	  else
   14045  1.1  riastrad 	    # Exported symbols can be pulled into shared objects from archives
   14046  1.1  riastrad 	    whole_archive_flag_spec='$convenience'
   14047  1.1  riastrad 	  fi
   14048  1.1  riastrad 	  archive_cmds_need_lc=yes
   14049  1.1  riastrad 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   14050  1.1  riastrad 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   14051  1.1  riastrad 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   14052  1.1  riastrad 	  if test svr4 != "$with_aix_soname"; then
   14053  1.1  riastrad 	    # This is similar to how AIX traditionally builds its shared libraries.
   14054  1.1  riastrad 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
   14055  1.1  riastrad 	  fi
   14056  1.1  riastrad 	  if test aix != "$with_aix_soname"; then
   14057  1.1  riastrad 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
   14058  1.1  riastrad 	  else
   14059  1.1  riastrad 	    # used by -dlpreopen to get the symbols
   14060  1.1  riastrad 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   14061  1.1  riastrad 	  fi
   14062  1.1  riastrad 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   14063  1.1  riastrad 	fi
   14064  1.1  riastrad       fi
   14065  1.1  riastrad       ;;
   14066  1.1  riastrad 
   14067  1.1  riastrad     amigaos*)
   14068  1.1  riastrad       case $host_cpu in
   14069  1.1  riastrad       powerpc)
   14070  1.1  riastrad             # see comment about AmigaOS4 .so support
   14071  1.1  riastrad             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   14072  1.1  riastrad             archive_expsym_cmds=''
   14073  1.1  riastrad         ;;
   14074  1.1  riastrad       m68k)
   14075  1.1  riastrad             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   14076  1.1  riastrad             hardcode_libdir_flag_spec='-L$libdir'
   14077  1.1  riastrad             hardcode_minus_L=yes
   14078  1.1  riastrad         ;;
   14079  1.1  riastrad       esac
   14080  1.1  riastrad       ;;
   14081  1.1  riastrad 
   14082  1.1  riastrad     bsdi[45]*)
   14083  1.1  riastrad       export_dynamic_flag_spec=-rdynamic
   14084  1.1  riastrad       ;;
   14085  1.1  riastrad 
   14086  1.1  riastrad     cygwin* | mingw* | pw32* | cegcc*)
   14087  1.1  riastrad       # When not using gcc, we currently assume that we are using
   14088  1.1  riastrad       # Microsoft Visual C++.
   14089  1.1  riastrad       # hardcode_libdir_flag_spec is actually meaningless, as there is
   14090  1.1  riastrad       # no search path for DLLs.
   14091  1.1  riastrad       case $cc_basename in
   14092  1.1  riastrad       cl*)
   14093  1.1  riastrad 	# Native MSVC
   14094  1.1  riastrad 	hardcode_libdir_flag_spec=' '
   14095  1.1  riastrad 	allow_undefined_flag=unsupported
   14096  1.1  riastrad 	always_export_symbols=yes
   14097  1.1  riastrad 	file_list_spec='@'
   14098  1.1  riastrad 	# Tell ltmain to make .lib files, not .a files.
   14099  1.1  riastrad 	libext=lib
   14100  1.1  riastrad 	# Tell ltmain to make .dll files, not .so files.
   14101  1.1  riastrad 	shrext_cmds=.dll
   14102  1.1  riastrad 	# FIXME: Setting linknames here is a bad hack.
   14103  1.1  riastrad 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   14104  1.1  riastrad 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   14105  1.1  riastrad             cp "$export_symbols" "$output_objdir/$soname.def";
   14106  1.1  riastrad             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   14107  1.1  riastrad           else
   14108  1.1  riastrad             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   14109  1.1  riastrad           fi~
   14110  1.1  riastrad           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   14111  1.1  riastrad           linknames='
   14112  1.1  riastrad 	# The linker will not automatically build a static lib if we build a DLL.
   14113  1.1  riastrad 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   14114  1.1  riastrad 	enable_shared_with_static_runtimes=yes
   14115  1.1  riastrad 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   14116  1.1  riastrad 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14117  1.1  riastrad 	# Don't use ranlib
   14118  1.1  riastrad 	old_postinstall_cmds='chmod 644 $oldlib'
   14119  1.1  riastrad 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   14120  1.1  riastrad           lt_tool_outputfile="@TOOL_OUTPUT@"~
   14121  1.1  riastrad           case $lt_outputfile in
   14122  1.1  riastrad             *.exe|*.EXE) ;;
   14123  1.1  riastrad             *)
   14124  1.1  riastrad               lt_outputfile=$lt_outputfile.exe
   14125  1.1  riastrad               lt_tool_outputfile=$lt_tool_outputfile.exe
   14126  1.1  riastrad               ;;
   14127  1.1  riastrad           esac~
   14128  1.1  riastrad           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   14129  1.1  riastrad             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   14130  1.1  riastrad             $RM "$lt_outputfile.manifest";
   14131  1.1  riastrad           fi'
   14132  1.1  riastrad 	;;
   14133  1.1  riastrad       *)
   14134  1.1  riastrad 	# Assume MSVC wrapper
   14135  1.1  riastrad 	hardcode_libdir_flag_spec=' '
   14136  1.1  riastrad 	allow_undefined_flag=unsupported
   14137  1.1  riastrad 	# Tell ltmain to make .lib files, not .a files.
   14138  1.1  riastrad 	libext=lib
   14139  1.1  riastrad 	# Tell ltmain to make .dll files, not .so files.
   14140  1.1  riastrad 	shrext_cmds=.dll
   14141  1.1  riastrad 	# FIXME: Setting linknames here is a bad hack.
   14142  1.1  riastrad 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   14143  1.1  riastrad 	# The linker will automatically build a .lib file if we build a DLL.
   14144  1.1  riastrad 	old_archive_from_new_cmds='true'
   14145  1.1  riastrad 	# FIXME: Should let the user specify the lib program.
   14146  1.1  riastrad 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   14147  1.1  riastrad 	enable_shared_with_static_runtimes=yes
   14148  1.1  riastrad 	;;
   14149  1.1  riastrad       esac
   14150  1.1  riastrad       ;;
   14151  1.1  riastrad 
   14152  1.1  riastrad     darwin* | rhapsody*)
   14153  1.1  riastrad 
   14154  1.1  riastrad 
   14155  1.1  riastrad   archive_cmds_need_lc=no
   14156  1.1  riastrad   hardcode_direct=no
   14157  1.1  riastrad   hardcode_automatic=yes
   14158  1.1  riastrad   hardcode_shlibpath_var=unsupported
   14159  1.1  riastrad   if test yes = "$lt_cv_ld_force_load"; then
   14160  1.1  riastrad     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
   14161  1.1  riastrad 
   14162  1.1  riastrad   else
   14163  1.1  riastrad     whole_archive_flag_spec=''
   14164  1.1  riastrad   fi
   14165  1.1  riastrad   link_all_deplibs=yes
   14166  1.1  riastrad   allow_undefined_flag=$_lt_dar_allow_undefined
   14167  1.1  riastrad   case $cc_basename in
   14168  1.1  riastrad      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   14169  1.1  riastrad      *) _lt_dar_can_shared=$GCC ;;
   14170  1.1  riastrad   esac
   14171  1.1  riastrad   if test yes = "$_lt_dar_can_shared"; then
   14172  1.1  riastrad     output_verbose_link_cmd=func_echo_all
   14173  1.1  riastrad     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   14174  1.1  riastrad     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   14175  1.1  riastrad     archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
   14176  1.1  riastrad     module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
   14177  1.1  riastrad 
   14178  1.1  riastrad   else
   14179  1.1  riastrad   ld_shlibs=no
   14180  1.1  riastrad   fi
   14181  1.1  riastrad 
   14182  1.1  riastrad       ;;
   14183  1.1  riastrad 
   14184  1.1  riastrad     dgux*)
   14185  1.1  riastrad       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14186  1.1  riastrad       hardcode_libdir_flag_spec='-L$libdir'
   14187  1.1  riastrad       hardcode_shlibpath_var=no
   14188  1.1  riastrad       ;;
   14189  1.1  riastrad 
   14190  1.1  riastrad     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   14191  1.1  riastrad     # support.  Future versions do this automatically, but an explicit c++rt0.o
   14192  1.1  riastrad     # does not break anything, and helps significantly (at the cost of a little
   14193  1.1  riastrad     # extra space).
   14194  1.1  riastrad     freebsd2.2*)
   14195  1.1  riastrad       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   14196  1.1  riastrad       hardcode_libdir_flag_spec='-R$libdir'
   14197  1.1  riastrad       hardcode_direct=yes
   14198  1.1  riastrad       hardcode_shlibpath_var=no
   14199  1.1  riastrad       ;;
   14200  1.1  riastrad 
   14201  1.1  riastrad     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   14202  1.1  riastrad     freebsd2.*)
   14203  1.1  riastrad       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14204  1.1  riastrad       hardcode_direct=yes
   14205  1.1  riastrad       hardcode_minus_L=yes
   14206  1.1  riastrad       hardcode_shlibpath_var=no
   14207  1.1  riastrad       ;;
   14208  1.1  riastrad 
   14209  1.1  riastrad     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   14210  1.1  riastrad     freebsd* | dragonfly*)
   14211  1.1  riastrad       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14212  1.1  riastrad       hardcode_libdir_flag_spec='-R$libdir'
   14213  1.1  riastrad       hardcode_direct=yes
   14214  1.1  riastrad       hardcode_shlibpath_var=no
   14215  1.1  riastrad       ;;
   14216  1.1  riastrad 
   14217  1.1  riastrad     hpux9*)
   14218  1.1  riastrad       if test yes = "$GCC"; then
   14219  1.1  riastrad 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   14220  1.1  riastrad       else
   14221  1.1  riastrad 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   14222  1.1  riastrad       fi
   14223  1.1  riastrad       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   14224  1.1  riastrad       hardcode_libdir_separator=:
   14225  1.1  riastrad       hardcode_direct=yes
   14226  1.1  riastrad 
   14227  1.1  riastrad       # hardcode_minus_L: Not really in the search PATH,
   14228  1.1  riastrad       # but as the default location of the library.
   14229  1.1  riastrad       hardcode_minus_L=yes
   14230  1.1  riastrad       export_dynamic_flag_spec='$wl-E'
   14231  1.1  riastrad       ;;
   14232  1.1  riastrad 
   14233  1.1  riastrad     hpux10*)
   14234  1.1  riastrad       if test yes,no = "$GCC,$with_gnu_ld"; then
   14235  1.1  riastrad 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14236  1.1  riastrad       else
   14237  1.1  riastrad 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   14238  1.1  riastrad       fi
   14239  1.1  riastrad       if test no = "$with_gnu_ld"; then
   14240  1.1  riastrad 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   14241  1.1  riastrad 	hardcode_libdir_separator=:
   14242  1.1  riastrad 	hardcode_direct=yes
   14243  1.1  riastrad 	hardcode_direct_absolute=yes
   14244  1.1  riastrad 	export_dynamic_flag_spec='$wl-E'
   14245  1.1  riastrad 	# hardcode_minus_L: Not really in the search PATH,
   14246  1.1  riastrad 	# but as the default location of the library.
   14247  1.1  riastrad 	hardcode_minus_L=yes
   14248  1.1  riastrad       fi
   14249  1.1  riastrad       ;;
   14250  1.1  riastrad 
   14251  1.1  riastrad     hpux11*)
   14252  1.1  riastrad       if test yes,no = "$GCC,$with_gnu_ld"; then
   14253  1.1  riastrad 	case $host_cpu in
   14254  1.1  riastrad 	hppa*64*)
   14255  1.1  riastrad 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   14256  1.1  riastrad 	  ;;
   14257  1.1  riastrad 	ia64*)
   14258  1.1  riastrad 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14259  1.1  riastrad 	  ;;
   14260  1.1  riastrad 	*)
   14261  1.1  riastrad 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14262  1.1  riastrad 	  ;;
   14263  1.1  riastrad 	esac
   14264  1.1  riastrad       else
   14265  1.1  riastrad 	case $host_cpu in
   14266  1.1  riastrad 	hppa*64*)
   14267  1.1  riastrad 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   14268  1.1  riastrad 	  ;;
   14269  1.1  riastrad 	ia64*)
   14270  1.1  riastrad 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14271  1.1  riastrad 	  ;;
   14272  1.1  riastrad 	*)
   14273  1.1  riastrad 
   14274  1.1  riastrad 	  # Older versions of the 11.00 compiler do not understand -b yet
   14275  1.1  riastrad 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   14276  1.1  riastrad 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   14277  1.1  riastrad $as_echo_n "checking if $CC understands -b... " >&6; }
   14278  1.1  riastrad if ${lt_cv_prog_compiler__b+:} false; then :
   14279  1.1  riastrad   $as_echo_n "(cached) " >&6
   14280  1.1  riastrad else
   14281  1.1  riastrad   lt_cv_prog_compiler__b=no
   14282  1.1  riastrad    save_LDFLAGS=$LDFLAGS
   14283  1.1  riastrad    LDFLAGS="$LDFLAGS -b"
   14284  1.1  riastrad    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14285  1.1  riastrad    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14286  1.1  riastrad      # The linker can only warn and ignore the option if not recognized
   14287  1.1  riastrad      # So say no if there are warnings
   14288  1.1  riastrad      if test -s conftest.err; then
   14289  1.1  riastrad        # Append any errors to the config.log.
   14290  1.1  riastrad        cat conftest.err 1>&5
   14291  1.1  riastrad        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   14292  1.1  riastrad        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14293  1.1  riastrad        if diff conftest.exp conftest.er2 >/dev/null; then
   14294  1.1  riastrad          lt_cv_prog_compiler__b=yes
   14295  1.1  riastrad        fi
   14296  1.1  riastrad      else
   14297  1.1  riastrad        lt_cv_prog_compiler__b=yes
   14298  1.1  riastrad      fi
   14299  1.1  riastrad    fi
   14300  1.1  riastrad    $RM -r conftest*
   14301  1.1  riastrad    LDFLAGS=$save_LDFLAGS
   14302  1.1  riastrad 
   14303  1.1  riastrad fi
   14304  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   14305  1.1  riastrad $as_echo "$lt_cv_prog_compiler__b" >&6; }
   14306  1.1  riastrad 
   14307  1.1  riastrad if test yes = "$lt_cv_prog_compiler__b"; then
   14308  1.1  riastrad     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14309  1.1  riastrad else
   14310  1.1  riastrad     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   14311  1.1  riastrad fi
   14312  1.1  riastrad 
   14313  1.1  riastrad 	  ;;
   14314  1.1  riastrad 	esac
   14315  1.1  riastrad       fi
   14316  1.1  riastrad       if test no = "$with_gnu_ld"; then
   14317  1.1  riastrad 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   14318  1.1  riastrad 	hardcode_libdir_separator=:
   14319  1.1  riastrad 
   14320  1.1  riastrad 	case $host_cpu in
   14321  1.1  riastrad 	hppa*64*|ia64*)
   14322  1.1  riastrad 	  hardcode_direct=no
   14323  1.1  riastrad 	  hardcode_shlibpath_var=no
   14324  1.1  riastrad 	  ;;
   14325  1.1  riastrad 	*)
   14326  1.1  riastrad 	  hardcode_direct=yes
   14327  1.1  riastrad 	  hardcode_direct_absolute=yes
   14328  1.1  riastrad 	  export_dynamic_flag_spec='$wl-E'
   14329  1.1  riastrad 
   14330  1.1  riastrad 	  # hardcode_minus_L: Not really in the search PATH,
   14331  1.1  riastrad 	  # but as the default location of the library.
   14332  1.1  riastrad 	  hardcode_minus_L=yes
   14333  1.1  riastrad 	  ;;
   14334  1.1  riastrad 	esac
   14335  1.1  riastrad       fi
   14336  1.1  riastrad       ;;
   14337  1.1  riastrad 
   14338  1.1  riastrad     irix5* | irix6* | nonstopux*)
   14339  1.1  riastrad       if test yes = "$GCC"; then
   14340  1.1  riastrad 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
   14341  1.1  riastrad 	# Try to use the -exported_symbol ld option, if it does not
   14342  1.1  riastrad 	# work, assume that -exports_file does not work either and
   14343  1.1  riastrad 	# implicitly export all symbols.
   14344  1.1  riastrad 	# This should be the same for all languages, so no per-tag cache variable.
   14345  1.1  riastrad 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   14346  1.1  riastrad $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   14347  1.1  riastrad if ${lt_cv_irix_exported_symbol+:} false; then :
   14348  1.1  riastrad   $as_echo_n "(cached) " >&6
   14349  1.1  riastrad else
   14350  1.1  riastrad   save_LDFLAGS=$LDFLAGS
   14351  1.1  riastrad 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   14352  1.1  riastrad 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14353  1.1  riastrad /* end confdefs.h.  */
   14354  1.1  riastrad int foo (void) { return 0; }
   14355  1.1  riastrad _ACEOF
   14356  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   14357  1.1  riastrad   lt_cv_irix_exported_symbol=yes
   14358  1.1  riastrad else
   14359  1.1  riastrad   lt_cv_irix_exported_symbol=no
   14360  1.1  riastrad fi
   14361  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   14362  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   14363  1.1  riastrad            LDFLAGS=$save_LDFLAGS
   14364  1.1  riastrad fi
   14365  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   14366  1.1  riastrad $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   14367  1.1  riastrad 	if test yes = "$lt_cv_irix_exported_symbol"; then
   14368  1.1  riastrad           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
   14369  1.1  riastrad 	fi
   14370  1.1  riastrad       else
   14371  1.1  riastrad 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
   14372  1.1  riastrad 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
   14373  1.1  riastrad       fi
   14374  1.1  riastrad       archive_cmds_need_lc='no'
   14375  1.1  riastrad       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   14376  1.1  riastrad       hardcode_libdir_separator=:
   14377  1.1  riastrad       inherit_rpath=yes
   14378  1.1  riastrad       link_all_deplibs=yes
   14379  1.1  riastrad       ;;
   14380  1.1  riastrad 
   14381  1.1  riastrad     linux*)
   14382  1.1  riastrad       case $cc_basename in
   14383  1.1  riastrad       tcc*)
   14384  1.1  riastrad 	# Fabrice Bellard et al's Tiny C Compiler
   14385  1.1  riastrad 	ld_shlibs=yes
   14386  1.1  riastrad 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14387  1.1  riastrad 	;;
   14388  1.1  riastrad       esac
   14389  1.1  riastrad       ;;
   14390  1.1  riastrad 
   14391  1.1  riastrad     netbsd*)
   14392  1.1  riastrad       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   14393  1.1  riastrad 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   14394  1.1  riastrad       else
   14395  1.1  riastrad 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   14396  1.1  riastrad       fi
   14397  1.1  riastrad       hardcode_libdir_flag_spec='-R$libdir'
   14398  1.1  riastrad       hardcode_direct=yes
   14399  1.1  riastrad       hardcode_shlibpath_var=no
   14400  1.1  riastrad       ;;
   14401  1.1  riastrad 
   14402  1.1  riastrad     newsos6)
   14403  1.1  riastrad       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14404  1.1  riastrad       hardcode_direct=yes
   14405  1.1  riastrad       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   14406  1.1  riastrad       hardcode_libdir_separator=:
   14407  1.1  riastrad       hardcode_shlibpath_var=no
   14408  1.1  riastrad       ;;
   14409  1.1  riastrad 
   14410  1.1  riastrad     *nto* | *qnx*)
   14411  1.1  riastrad       ;;
   14412  1.1  riastrad 
   14413  1.1  riastrad     openbsd* | bitrig*)
   14414  1.1  riastrad       if test -f /usr/libexec/ld.so; then
   14415  1.1  riastrad 	hardcode_direct=yes
   14416  1.1  riastrad 	hardcode_shlibpath_var=no
   14417  1.1  riastrad 	hardcode_direct_absolute=yes
   14418  1.1  riastrad 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   14419  1.1  riastrad 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14420  1.1  riastrad 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   14421  1.1  riastrad 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   14422  1.1  riastrad 	  export_dynamic_flag_spec='$wl-E'
   14423  1.1  riastrad 	else
   14424  1.1  riastrad 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14425  1.1  riastrad 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   14426  1.1  riastrad 	fi
   14427  1.1  riastrad       else
   14428  1.1  riastrad 	ld_shlibs=no
   14429  1.1  riastrad       fi
   14430  1.1  riastrad       ;;
   14431  1.1  riastrad 
   14432  1.1  riastrad     os2*)
   14433  1.1  riastrad       hardcode_libdir_flag_spec='-L$libdir'
   14434  1.1  riastrad       hardcode_minus_L=yes
   14435  1.1  riastrad       allow_undefined_flag=unsupported
   14436  1.1  riastrad       shrext_cmds=.dll
   14437  1.1  riastrad       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   14438  1.1  riastrad 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   14439  1.1  riastrad 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   14440  1.1  riastrad 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   14441  1.1  riastrad 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   14442  1.1  riastrad 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   14443  1.1  riastrad 	emximp -o $lib $output_objdir/$libname.def'
   14444  1.1  riastrad       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   14445  1.1  riastrad 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   14446  1.1  riastrad 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   14447  1.1  riastrad 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   14448  1.1  riastrad 	prefix_cmds="$SED"~
   14449  1.1  riastrad 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   14450  1.1  riastrad 	  prefix_cmds="$prefix_cmds -e 1d";
   14451  1.1  riastrad 	fi~
   14452  1.1  riastrad 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   14453  1.1  riastrad 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   14454  1.1  riastrad 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   14455  1.1  riastrad 	emximp -o $lib $output_objdir/$libname.def'
   14456  1.1  riastrad       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   14457  1.1  riastrad       enable_shared_with_static_runtimes=yes
   14458  1.1  riastrad       ;;
   14459  1.1  riastrad 
   14460  1.1  riastrad     osf3*)
   14461  1.1  riastrad       if test yes = "$GCC"; then
   14462  1.1  riastrad 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   14463  1.1  riastrad 	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
   14464  1.1  riastrad       else
   14465  1.1  riastrad 	allow_undefined_flag=' -expect_unresolved \*'
   14466  1.1  riastrad 	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
   14467  1.1  riastrad       fi
   14468  1.1  riastrad       archive_cmds_need_lc='no'
   14469  1.1  riastrad       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   14470  1.1  riastrad       hardcode_libdir_separator=:
   14471  1.1  riastrad       ;;
   14472  1.1  riastrad 
   14473  1.1  riastrad     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   14474  1.1  riastrad       if test yes = "$GCC"; then
   14475  1.1  riastrad 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   14476  1.1  riastrad 	archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
   14477  1.1  riastrad 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   14478  1.1  riastrad       else
   14479  1.1  riastrad 	allow_undefined_flag=' -expect_unresolved \*'
   14480  1.1  riastrad 	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
   14481  1.1  riastrad 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
   14482  1.1  riastrad           $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
   14483  1.1  riastrad 
   14484  1.1  riastrad 	# Both c and cxx compiler support -rpath directly
   14485  1.1  riastrad 	hardcode_libdir_flag_spec='-rpath $libdir'
   14486  1.1  riastrad       fi
   14487  1.1  riastrad       archive_cmds_need_lc='no'
   14488  1.1  riastrad       hardcode_libdir_separator=:
   14489  1.1  riastrad       ;;
   14490  1.1  riastrad 
   14491  1.1  riastrad     solaris*)
   14492  1.1  riastrad       no_undefined_flag=' -z defs'
   14493  1.1  riastrad       if test yes = "$GCC"; then
   14494  1.1  riastrad 	wlarc='$wl'
   14495  1.1  riastrad 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   14496  1.1  riastrad 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   14497  1.1  riastrad           $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   14498  1.1  riastrad       else
   14499  1.1  riastrad 	case `$CC -V 2>&1` in
   14500  1.1  riastrad 	*"Compilers 5.0"*)
   14501  1.1  riastrad 	  wlarc=''
   14502  1.1  riastrad 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14503  1.1  riastrad 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   14504  1.1  riastrad             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   14505  1.1  riastrad 	  ;;
   14506  1.1  riastrad 	*)
   14507  1.1  riastrad 	  wlarc='$wl'
   14508  1.1  riastrad 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   14509  1.1  riastrad 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   14510  1.1  riastrad             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   14511  1.1  riastrad 	  ;;
   14512  1.1  riastrad 	esac
   14513  1.1  riastrad       fi
   14514  1.1  riastrad       hardcode_libdir_flag_spec='-R$libdir'
   14515  1.1  riastrad       hardcode_shlibpath_var=no
   14516  1.1  riastrad       case $host_os in
   14517  1.1  riastrad       solaris2.[0-5] | solaris2.[0-5].*) ;;
   14518  1.1  riastrad       *)
   14519  1.1  riastrad 	# The compiler driver will combine and reorder linker options,
   14520  1.1  riastrad 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   14521  1.1  riastrad 	# but is careful enough not to reorder.
   14522  1.1  riastrad 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   14523  1.1  riastrad 	if test yes = "$GCC"; then
   14524  1.1  riastrad 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   14525  1.1  riastrad 	else
   14526  1.1  riastrad 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   14527  1.1  riastrad 	fi
   14528  1.1  riastrad 	;;
   14529  1.1  riastrad       esac
   14530  1.1  riastrad       link_all_deplibs=yes
   14531  1.1  riastrad       ;;
   14532  1.1  riastrad 
   14533  1.1  riastrad     sunos4*)
   14534  1.1  riastrad       if test sequent = "$host_vendor"; then
   14535  1.1  riastrad 	# Use $CC to link under sequent, because it throws in some extra .o
   14536  1.1  riastrad 	# files that make .init and .fini sections work.
   14537  1.1  riastrad 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   14538  1.1  riastrad       else
   14539  1.1  riastrad 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   14540  1.1  riastrad       fi
   14541  1.1  riastrad       hardcode_libdir_flag_spec='-L$libdir'
   14542  1.1  riastrad       hardcode_direct=yes
   14543  1.1  riastrad       hardcode_minus_L=yes
   14544  1.1  riastrad       hardcode_shlibpath_var=no
   14545  1.1  riastrad       ;;
   14546  1.1  riastrad 
   14547  1.1  riastrad     sysv4)
   14548  1.1  riastrad       case $host_vendor in
   14549  1.1  riastrad 	sni)
   14550  1.1  riastrad 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14551  1.1  riastrad 	  hardcode_direct=yes # is this really true???
   14552  1.1  riastrad 	;;
   14553  1.1  riastrad 	siemens)
   14554  1.1  riastrad 	  ## LD is ld it makes a PLAMLIB
   14555  1.1  riastrad 	  ## CC just makes a GrossModule.
   14556  1.1  riastrad 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   14557  1.1  riastrad 	  reload_cmds='$CC -r -o $output$reload_objs'
   14558  1.1  riastrad 	  hardcode_direct=no
   14559  1.1  riastrad         ;;
   14560  1.1  riastrad 	motorola)
   14561  1.1  riastrad 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14562  1.1  riastrad 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   14563  1.1  riastrad 	;;
   14564  1.1  riastrad       esac
   14565  1.1  riastrad       runpath_var='LD_RUN_PATH'
   14566  1.1  riastrad       hardcode_shlibpath_var=no
   14567  1.1  riastrad       ;;
   14568  1.1  riastrad 
   14569  1.1  riastrad     sysv4.3*)
   14570  1.1  riastrad       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14571  1.1  riastrad       hardcode_shlibpath_var=no
   14572  1.1  riastrad       export_dynamic_flag_spec='-Bexport'
   14573  1.1  riastrad       ;;
   14574  1.1  riastrad 
   14575  1.1  riastrad     sysv4*MP*)
   14576  1.1  riastrad       if test -d /usr/nec; then
   14577  1.1  riastrad 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14578  1.1  riastrad 	hardcode_shlibpath_var=no
   14579  1.1  riastrad 	runpath_var=LD_RUN_PATH
   14580  1.1  riastrad 	hardcode_runpath_var=yes
   14581  1.1  riastrad 	ld_shlibs=yes
   14582  1.1  riastrad       fi
   14583  1.1  riastrad       ;;
   14584  1.1  riastrad 
   14585  1.1  riastrad     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   14586  1.1  riastrad       no_undefined_flag='$wl-z,text'
   14587  1.1  riastrad       archive_cmds_need_lc=no
   14588  1.1  riastrad       hardcode_shlibpath_var=no
   14589  1.1  riastrad       runpath_var='LD_RUN_PATH'
   14590  1.1  riastrad 
   14591  1.1  riastrad       if test yes = "$GCC"; then
   14592  1.1  riastrad 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14593  1.1  riastrad 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14594  1.1  riastrad       else
   14595  1.1  riastrad 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14596  1.1  riastrad 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14597  1.1  riastrad       fi
   14598  1.1  riastrad       ;;
   14599  1.1  riastrad 
   14600  1.1  riastrad     sysv5* | sco3.2v5* | sco5v6*)
   14601  1.1  riastrad       # Note: We CANNOT use -z defs as we might desire, because we do not
   14602  1.1  riastrad       # link with -lc, and that would cause any symbols used from libc to
   14603  1.1  riastrad       # always be unresolved, which means just about no library would
   14604  1.1  riastrad       # ever link correctly.  If we're not using GNU ld we use -z text
   14605  1.1  riastrad       # though, which does catch some bad symbols but isn't as heavy-handed
   14606  1.1  riastrad       # as -z defs.
   14607  1.1  riastrad       no_undefined_flag='$wl-z,text'
   14608  1.1  riastrad       allow_undefined_flag='$wl-z,nodefs'
   14609  1.1  riastrad       archive_cmds_need_lc=no
   14610  1.1  riastrad       hardcode_shlibpath_var=no
   14611  1.1  riastrad       hardcode_libdir_flag_spec='$wl-R,$libdir'
   14612  1.1  riastrad       hardcode_libdir_separator=':'
   14613  1.1  riastrad       link_all_deplibs=yes
   14614  1.1  riastrad       export_dynamic_flag_spec='$wl-Bexport'
   14615  1.1  riastrad       runpath_var='LD_RUN_PATH'
   14616  1.1  riastrad 
   14617  1.1  riastrad       if test yes = "$GCC"; then
   14618  1.1  riastrad 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14619  1.1  riastrad 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14620  1.1  riastrad       else
   14621  1.1  riastrad 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14622  1.1  riastrad 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14623  1.1  riastrad       fi
   14624  1.1  riastrad       ;;
   14625  1.1  riastrad 
   14626  1.1  riastrad     uts4*)
   14627  1.1  riastrad       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14628  1.1  riastrad       hardcode_libdir_flag_spec='-L$libdir'
   14629  1.1  riastrad       hardcode_shlibpath_var=no
   14630  1.1  riastrad       ;;
   14631  1.1  riastrad 
   14632  1.1  riastrad     *)
   14633  1.1  riastrad       ld_shlibs=no
   14634  1.1  riastrad       ;;
   14635  1.1  riastrad     esac
   14636  1.1  riastrad 
   14637  1.1  riastrad     if test sni = "$host_vendor"; then
   14638  1.1  riastrad       case $host in
   14639  1.1  riastrad       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   14640  1.1  riastrad 	export_dynamic_flag_spec='$wl-Blargedynsym'
   14641  1.1  riastrad 	;;
   14642  1.1  riastrad       esac
   14643  1.1  riastrad     fi
   14644  1.1  riastrad   fi
   14645  1.1  riastrad 
   14646  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   14647  1.1  riastrad $as_echo "$ld_shlibs" >&6; }
   14648  1.1  riastrad test no = "$ld_shlibs" && can_build_shared=no
   14649  1.1  riastrad 
   14650  1.1  riastrad with_gnu_ld=$with_gnu_ld
   14651  1.1  riastrad 
   14652  1.1  riastrad 
   14653  1.1  riastrad 
   14654  1.1  riastrad 
   14655  1.1  riastrad 
   14656  1.1  riastrad 
   14657  1.1  riastrad 
   14658  1.1  riastrad 
   14659  1.1  riastrad 
   14660  1.1  riastrad 
   14661  1.1  riastrad 
   14662  1.1  riastrad 
   14663  1.1  riastrad 
   14664  1.1  riastrad 
   14665  1.1  riastrad 
   14666  1.1  riastrad #
   14667  1.1  riastrad # Do we need to explicitly link libc?
   14668  1.1  riastrad #
   14669  1.1  riastrad case "x$archive_cmds_need_lc" in
   14670  1.1  riastrad x|xyes)
   14671  1.1  riastrad   # Assume -lc should be added
   14672  1.1  riastrad   archive_cmds_need_lc=yes
   14673  1.1  riastrad 
   14674  1.1  riastrad   if test yes,yes = "$GCC,$enable_shared"; then
   14675  1.1  riastrad     case $archive_cmds in
   14676  1.1  riastrad     *'~'*)
   14677  1.1  riastrad       # FIXME: we may have to deal with multi-command sequences.
   14678  1.1  riastrad       ;;
   14679  1.1  riastrad     '$CC '*)
   14680  1.1  riastrad       # Test whether the compiler implicitly links with -lc since on some
   14681  1.1  riastrad       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   14682  1.1  riastrad       # to ld, don't add -lc before -lgcc.
   14683  1.1  riastrad       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   14684  1.1  riastrad $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   14685  1.1  riastrad if ${lt_cv_archive_cmds_need_lc+:} false; then :
   14686  1.1  riastrad   $as_echo_n "(cached) " >&6
   14687  1.1  riastrad else
   14688  1.1  riastrad   $RM conftest*
   14689  1.1  riastrad 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14690  1.1  riastrad 
   14691  1.1  riastrad 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14692  1.1  riastrad   (eval $ac_compile) 2>&5
   14693  1.1  riastrad   ac_status=$?
   14694  1.1  riastrad   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14695  1.1  riastrad   test $ac_status = 0; } 2>conftest.err; then
   14696  1.1  riastrad 	  soname=conftest
   14697  1.1  riastrad 	  lib=conftest
   14698  1.1  riastrad 	  libobjs=conftest.$ac_objext
   14699  1.1  riastrad 	  deplibs=
   14700  1.1  riastrad 	  wl=$lt_prog_compiler_wl
   14701  1.1  riastrad 	  pic_flag=$lt_prog_compiler_pic
   14702  1.1  riastrad 	  compiler_flags=-v
   14703  1.1  riastrad 	  linker_flags=-v
   14704  1.1  riastrad 	  verstring=
   14705  1.1  riastrad 	  output_objdir=.
   14706  1.1  riastrad 	  libname=conftest
   14707  1.1  riastrad 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   14708  1.1  riastrad 	  allow_undefined_flag=
   14709  1.1  riastrad 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   14710  1.1  riastrad   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   14711  1.1  riastrad   ac_status=$?
   14712  1.1  riastrad   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14713  1.1  riastrad   test $ac_status = 0; }
   14714  1.1  riastrad 	  then
   14715  1.1  riastrad 	    lt_cv_archive_cmds_need_lc=no
   14716  1.1  riastrad 	  else
   14717  1.1  riastrad 	    lt_cv_archive_cmds_need_lc=yes
   14718  1.1  riastrad 	  fi
   14719  1.1  riastrad 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   14720  1.1  riastrad 	else
   14721  1.1  riastrad 	  cat conftest.err 1>&5
   14722  1.1  riastrad 	fi
   14723  1.1  riastrad 	$RM conftest*
   14724  1.1  riastrad 
   14725  1.1  riastrad fi
   14726  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   14727  1.1  riastrad $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   14728  1.1  riastrad       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   14729  1.1  riastrad       ;;
   14730  1.1  riastrad     esac
   14731  1.1  riastrad   fi
   14732  1.1  riastrad   ;;
   14733  1.1  riastrad esac
   14734  1.1  riastrad 
   14735  1.1  riastrad 
   14736  1.1  riastrad 
   14737  1.1  riastrad 
   14738  1.1  riastrad 
   14739  1.1  riastrad 
   14740  1.1  riastrad 
   14741  1.1  riastrad 
   14742  1.1  riastrad 
   14743  1.1  riastrad 
   14744  1.1  riastrad 
   14745  1.1  riastrad 
   14746  1.1  riastrad 
   14747  1.1  riastrad 
   14748  1.1  riastrad 
   14749  1.1  riastrad 
   14750  1.1  riastrad 
   14751  1.1  riastrad 
   14752  1.1  riastrad 
   14753  1.1  riastrad 
   14754  1.1  riastrad 
   14755  1.1  riastrad 
   14756  1.1  riastrad 
   14757  1.1  riastrad 
   14758  1.1  riastrad 
   14759  1.1  riastrad 
   14760  1.1  riastrad 
   14761  1.1  riastrad 
   14762  1.1  riastrad 
   14763  1.1  riastrad 
   14764  1.1  riastrad 
   14765  1.1  riastrad 
   14766  1.1  riastrad 
   14767  1.1  riastrad 
   14768  1.1  riastrad 
   14769  1.1  riastrad 
   14770  1.1  riastrad 
   14771  1.1  riastrad 
   14772  1.1  riastrad 
   14773  1.1  riastrad 
   14774  1.1  riastrad 
   14775  1.1  riastrad 
   14776  1.1  riastrad 
   14777  1.1  riastrad 
   14778  1.1  riastrad 
   14779  1.1  riastrad 
   14780  1.1  riastrad 
   14781  1.1  riastrad 
   14782  1.1  riastrad 
   14783  1.1  riastrad 
   14784  1.1  riastrad 
   14785  1.1  riastrad 
   14786  1.1  riastrad 
   14787  1.1  riastrad 
   14788  1.1  riastrad 
   14789  1.1  riastrad 
   14790  1.1  riastrad 
   14791  1.1  riastrad 
   14792  1.1  riastrad 
   14793  1.1  riastrad 
   14794  1.1  riastrad 
   14795  1.1  riastrad 
   14796  1.1  riastrad 
   14797  1.1  riastrad 
   14798  1.1  riastrad 
   14799  1.1  riastrad 
   14800  1.1  riastrad 
   14801  1.1  riastrad 
   14802  1.1  riastrad 
   14803  1.1  riastrad 
   14804  1.1  riastrad 
   14805  1.1  riastrad 
   14806  1.1  riastrad 
   14807  1.1  riastrad 
   14808  1.1  riastrad 
   14809  1.1  riastrad 
   14810  1.1  riastrad 
   14811  1.1  riastrad 
   14812  1.1  riastrad 
   14813  1.1  riastrad 
   14814  1.1  riastrad 
   14815  1.1  riastrad 
   14816  1.1  riastrad 
   14817  1.1  riastrad 
   14818  1.1  riastrad 
   14819  1.1  riastrad 
   14820  1.1  riastrad 
   14821  1.1  riastrad 
   14822  1.1  riastrad 
   14823  1.1  riastrad 
   14824  1.1  riastrad 
   14825  1.1  riastrad 
   14826  1.1  riastrad 
   14827  1.1  riastrad 
   14828  1.1  riastrad 
   14829  1.1  riastrad 
   14830  1.1  riastrad 
   14831  1.1  riastrad 
   14832  1.1  riastrad 
   14833  1.1  riastrad 
   14834  1.1  riastrad 
   14835  1.1  riastrad 
   14836  1.1  riastrad 
   14837  1.1  riastrad 
   14838  1.1  riastrad 
   14839  1.1  riastrad 
   14840  1.1  riastrad 
   14841  1.1  riastrad 
   14842  1.1  riastrad 
   14843  1.1  riastrad 
   14844  1.1  riastrad 
   14845  1.1  riastrad 
   14846  1.1  riastrad 
   14847  1.1  riastrad 
   14848  1.1  riastrad 
   14849  1.1  riastrad 
   14850  1.1  riastrad 
   14851  1.1  riastrad 
   14852  1.1  riastrad 
   14853  1.1  riastrad 
   14854  1.1  riastrad 
   14855  1.1  riastrad 
   14856  1.1  riastrad 
   14857  1.1  riastrad 
   14858  1.1  riastrad 
   14859  1.1  riastrad 
   14860  1.1  riastrad 
   14861  1.1  riastrad 
   14862  1.1  riastrad 
   14863  1.1  riastrad 
   14864  1.1  riastrad 
   14865  1.1  riastrad 
   14866  1.1  riastrad 
   14867  1.1  riastrad 
   14868  1.1  riastrad 
   14869  1.1  riastrad 
   14870  1.1  riastrad 
   14871  1.1  riastrad 
   14872  1.1  riastrad 
   14873  1.1  riastrad 
   14874  1.1  riastrad 
   14875  1.1  riastrad 
   14876  1.1  riastrad 
   14877  1.1  riastrad 
   14878  1.1  riastrad 
   14879  1.1  riastrad 
   14880  1.1  riastrad 
   14881  1.1  riastrad 
   14882  1.1  riastrad 
   14883  1.1  riastrad 
   14884  1.1  riastrad 
   14885  1.1  riastrad 
   14886  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   14887  1.1  riastrad $as_echo_n "checking dynamic linker characteristics... " >&6; }
   14888  1.1  riastrad 
   14889  1.1  riastrad if test yes = "$GCC"; then
   14890  1.1  riastrad   case $host_os in
   14891  1.1  riastrad     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   14892  1.1  riastrad     *) lt_awk_arg='/^libraries:/' ;;
   14893  1.1  riastrad   esac
   14894  1.1  riastrad   case $host_os in
   14895  1.1  riastrad     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   14896  1.1  riastrad     *) lt_sed_strip_eq='s|=/|/|g' ;;
   14897  1.1  riastrad   esac
   14898  1.1  riastrad   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   14899  1.1  riastrad   case $lt_search_path_spec in
   14900  1.1  riastrad   *\;*)
   14901  1.1  riastrad     # if the path contains ";" then we assume it to be the separator
   14902  1.1  riastrad     # otherwise default to the standard path separator (i.e. ":") - it is
   14903  1.1  riastrad     # assumed that no part of a normal pathname contains ";" but that should
   14904  1.1  riastrad     # okay in the real world where ";" in dirpaths is itself problematic.
   14905  1.1  riastrad     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   14906  1.1  riastrad     ;;
   14907  1.1  riastrad   *)
   14908  1.1  riastrad     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   14909  1.1  riastrad     ;;
   14910  1.1  riastrad   esac
   14911  1.1  riastrad   # Ok, now we have the path, separated by spaces, we can step through it
   14912  1.1  riastrad   # and add multilib dir if necessary...
   14913  1.1  riastrad   lt_tmp_lt_search_path_spec=
   14914  1.1  riastrad   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   14915  1.1  riastrad   # ...but if some path component already ends with the multilib dir we assume
   14916  1.1  riastrad   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   14917  1.1  riastrad   case "$lt_multi_os_dir; $lt_search_path_spec " in
   14918  1.1  riastrad   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   14919  1.1  riastrad     lt_multi_os_dir=
   14920  1.1  riastrad     ;;
   14921  1.1  riastrad   esac
   14922  1.1  riastrad   for lt_sys_path in $lt_search_path_spec; do
   14923  1.1  riastrad     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   14924  1.1  riastrad       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   14925  1.1  riastrad     elif test -n "$lt_multi_os_dir"; then
   14926  1.1  riastrad       test -d "$lt_sys_path" && \
   14927  1.1  riastrad 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   14928  1.1  riastrad     fi
   14929  1.1  riastrad   done
   14930  1.1  riastrad   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   14931  1.1  riastrad BEGIN {RS = " "; FS = "/|\n";} {
   14932  1.1  riastrad   lt_foo = "";
   14933  1.1  riastrad   lt_count = 0;
   14934  1.1  riastrad   for (lt_i = NF; lt_i > 0; lt_i--) {
   14935  1.1  riastrad     if ($lt_i != "" && $lt_i != ".") {
   14936  1.1  riastrad       if ($lt_i == "..") {
   14937  1.1  riastrad         lt_count++;
   14938  1.1  riastrad       } else {
   14939  1.1  riastrad         if (lt_count == 0) {
   14940  1.1  riastrad           lt_foo = "/" $lt_i lt_foo;
   14941  1.1  riastrad         } else {
   14942  1.1  riastrad           lt_count--;
   14943  1.1  riastrad         }
   14944  1.1  riastrad       }
   14945  1.1  riastrad     }
   14946  1.1  riastrad   }
   14947  1.1  riastrad   if (lt_foo != "") { lt_freq[lt_foo]++; }
   14948  1.1  riastrad   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   14949  1.1  riastrad }'`
   14950  1.1  riastrad   # AWK program above erroneously prepends '/' to C:/dos/paths
   14951  1.1  riastrad   # for these hosts.
   14952  1.1  riastrad   case $host_os in
   14953  1.1  riastrad     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   14954  1.1  riastrad       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   14955  1.1  riastrad   esac
   14956  1.1  riastrad   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   14957  1.1  riastrad else
   14958  1.1  riastrad   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   14959  1.1  riastrad fi
   14960  1.1  riastrad library_names_spec=
   14961  1.1  riastrad libname_spec='lib$name'
   14962  1.1  riastrad soname_spec=
   14963  1.1  riastrad shrext_cmds=.so
   14964  1.1  riastrad postinstall_cmds=
   14965  1.1  riastrad postuninstall_cmds=
   14966  1.1  riastrad finish_cmds=
   14967  1.1  riastrad finish_eval=
   14968  1.1  riastrad shlibpath_var=
   14969  1.1  riastrad shlibpath_overrides_runpath=unknown
   14970  1.1  riastrad version_type=none
   14971  1.1  riastrad dynamic_linker="$host_os ld.so"
   14972  1.1  riastrad sys_lib_dlsearch_path_spec="/lib /usr/lib"
   14973  1.1  riastrad need_lib_prefix=unknown
   14974  1.1  riastrad hardcode_into_libs=no
   14975  1.1  riastrad 
   14976  1.1  riastrad # when you set need_version to no, make sure it does not cause -set_version
   14977  1.1  riastrad # flags to be left without arguments
   14978  1.1  riastrad need_version=unknown
   14979  1.1  riastrad 
   14980  1.1  riastrad 
   14981  1.1  riastrad 
   14982  1.1  riastrad case $host_os in
   14983  1.1  riastrad aix3*)
   14984  1.1  riastrad   version_type=linux # correct to gnu/linux during the next big refactor
   14985  1.1  riastrad   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   14986  1.1  riastrad   shlibpath_var=LIBPATH
   14987  1.1  riastrad 
   14988  1.1  riastrad   # AIX 3 has no versioning support, so we append a major version to the name.
   14989  1.1  riastrad   soname_spec='$libname$release$shared_ext$major'
   14990  1.1  riastrad   ;;
   14991  1.1  riastrad 
   14992  1.1  riastrad aix[4-9]*)
   14993  1.1  riastrad   version_type=linux # correct to gnu/linux during the next big refactor
   14994  1.1  riastrad   need_lib_prefix=no
   14995  1.1  riastrad   need_version=no
   14996  1.1  riastrad   hardcode_into_libs=yes
   14997  1.1  riastrad   if test ia64 = "$host_cpu"; then
   14998  1.1  riastrad     # AIX 5 supports IA64
   14999  1.1  riastrad     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   15000  1.1  riastrad     shlibpath_var=LD_LIBRARY_PATH
   15001  1.1  riastrad   else
   15002  1.1  riastrad     # With GCC up to 2.95.x, collect2 would create an import file
   15003  1.1  riastrad     # for dependence libraries.  The import file would start with
   15004  1.1  riastrad     # the line '#! .'.  This would cause the generated library to
   15005  1.1  riastrad     # depend on '.', always an invalid library.  This was fixed in
   15006  1.1  riastrad     # development snapshots of GCC prior to 3.0.
   15007  1.1  riastrad     case $host_os in
   15008  1.1  riastrad       aix4 | aix4.[01] | aix4.[01].*)
   15009  1.1  riastrad       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15010  1.1  riastrad 	   echo ' yes '
   15011  1.1  riastrad 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   15012  1.1  riastrad 	:
   15013  1.1  riastrad       else
   15014  1.1  riastrad 	can_build_shared=no
   15015  1.1  riastrad       fi
   15016  1.1  riastrad       ;;
   15017  1.1  riastrad     esac
   15018  1.1  riastrad     # Using Import Files as archive members, it is possible to support
   15019  1.1  riastrad     # filename-based versioning of shared library archives on AIX. While
   15020  1.1  riastrad     # this would work for both with and without runtime linking, it will
   15021  1.1  riastrad     # prevent static linking of such archives. So we do filename-based
   15022  1.1  riastrad     # shared library versioning with .so extension only, which is used
   15023  1.1  riastrad     # when both runtime linking and shared linking is enabled.
   15024  1.1  riastrad     # Unfortunately, runtime linking may impact performance, so we do
   15025  1.1  riastrad     # not want this to be the default eventually. Also, we use the
   15026  1.1  riastrad     # versioned .so libs for executables only if there is the -brtl
   15027  1.1  riastrad     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   15028  1.1  riastrad     # To allow for filename-based versioning support, we need to create
   15029  1.1  riastrad     # libNAME.so.V as an archive file, containing:
   15030  1.1  riastrad     # *) an Import File, referring to the versioned filename of the
   15031  1.1  riastrad     #    archive as well as the shared archive member, telling the
   15032  1.1  riastrad     #    bitwidth (32 or 64) of that shared object, and providing the
   15033  1.1  riastrad     #    list of exported symbols of that shared object, eventually
   15034  1.1  riastrad     #    decorated with the 'weak' keyword
   15035  1.1  riastrad     # *) the shared object with the F_LOADONLY flag set, to really avoid
   15036  1.1  riastrad     #    it being seen by the linker.
   15037  1.1  riastrad     # At run time we better use the real file rather than another symlink,
   15038  1.1  riastrad     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   15039  1.1  riastrad 
   15040  1.1  riastrad     case $with_aix_soname,$aix_use_runtimelinking in
   15041  1.1  riastrad     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   15042  1.1  riastrad     # soname into executable. Probably we can add versioning support to
   15043  1.1  riastrad     # collect2, so additional links can be useful in future.
   15044  1.1  riastrad     aix,yes) # traditional libtool
   15045  1.1  riastrad       dynamic_linker='AIX unversionable lib.so'
   15046  1.1  riastrad       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15047  1.1  riastrad       # instead of lib<name>.a to let people know that these are not
   15048  1.1  riastrad       # typical AIX shared libraries.
   15049  1.1  riastrad       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15050  1.1  riastrad       ;;
   15051  1.1  riastrad     aix,no) # traditional AIX only
   15052  1.1  riastrad       dynamic_linker='AIX lib.a(lib.so.V)'
   15053  1.1  riastrad       # We preserve .a as extension for shared libraries through AIX4.2
   15054  1.1  riastrad       # and later when we are not doing run time linking.
   15055  1.1  riastrad       library_names_spec='$libname$release.a $libname.a'
   15056  1.1  riastrad       soname_spec='$libname$release$shared_ext$major'
   15057  1.1  riastrad       ;;
   15058  1.1  riastrad     svr4,*) # full svr4 only
   15059  1.1  riastrad       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   15060  1.1  riastrad       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   15061  1.1  riastrad       # We do not specify a path in Import Files, so LIBPATH fires.
   15062  1.1  riastrad       shlibpath_overrides_runpath=yes
   15063  1.1  riastrad       ;;
   15064  1.1  riastrad     *,yes) # both, prefer svr4
   15065  1.1  riastrad       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   15066  1.1  riastrad       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   15067  1.1  riastrad       # unpreferred sharedlib libNAME.a needs extra handling
   15068  1.1  riastrad       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
   15069  1.1  riastrad       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
   15070  1.1  riastrad       # We do not specify a path in Import Files, so LIBPATH fires.
   15071  1.1  riastrad       shlibpath_overrides_runpath=yes
   15072  1.1  riastrad       ;;
   15073  1.1  riastrad     *,no) # both, prefer aix
   15074  1.1  riastrad       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   15075  1.1  riastrad       library_names_spec='$libname$release.a $libname.a'
   15076  1.1  riastrad       soname_spec='$libname$release$shared_ext$major'
   15077  1.1  riastrad       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   15078  1.1  riastrad       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
   15079  1.1  riastrad       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
   15080  1.1  riastrad       ;;
   15081  1.1  riastrad     esac
   15082  1.1  riastrad     shlibpath_var=LIBPATH
   15083  1.1  riastrad   fi
   15084  1.1  riastrad   ;;
   15085  1.1  riastrad 
   15086  1.1  riastrad amigaos*)
   15087  1.1  riastrad   case $host_cpu in
   15088  1.1  riastrad   powerpc)
   15089  1.1  riastrad     # Since July 2007 AmigaOS4 officially supports .so libraries.
   15090  1.1  riastrad     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   15091  1.1  riastrad     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15092  1.1  riastrad     ;;
   15093  1.1  riastrad   m68k)
   15094  1.1  riastrad     library_names_spec='$libname.ixlibrary $libname.a'
   15095  1.1  riastrad     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15096  1.1  riastrad     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   15097  1.1  riastrad     ;;
   15098  1.1  riastrad   esac
   15099  1.1  riastrad   ;;
   15100  1.1  riastrad 
   15101  1.1  riastrad beos*)
   15102  1.1  riastrad   library_names_spec='$libname$shared_ext'
   15103  1.1  riastrad   dynamic_linker="$host_os ld.so"
   15104  1.1  riastrad   shlibpath_var=LIBRARY_PATH
   15105  1.1  riastrad   ;;
   15106  1.1  riastrad 
   15107  1.1  riastrad bsdi[45]*)
   15108  1.1  riastrad   version_type=linux # correct to gnu/linux during the next big refactor
   15109  1.1  riastrad   need_version=no
   15110  1.1  riastrad   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15111  1.1  riastrad   soname_spec='$libname$release$shared_ext$major'
   15112  1.1  riastrad   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15113  1.1  riastrad   shlibpath_var=LD_LIBRARY_PATH
   15114  1.1  riastrad   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15115  1.1  riastrad   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15116  1.1  riastrad   # the default ld.so.conf also contains /usr/contrib/lib and
   15117  1.1  riastrad   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15118  1.1  riastrad   # libtool to hard-code these into programs
   15119  1.1  riastrad   ;;
   15120  1.1  riastrad 
   15121  1.1  riastrad cygwin* | mingw* | pw32* | cegcc*)
   15122  1.1  riastrad   version_type=windows
   15123  1.1  riastrad   shrext_cmds=.dll
   15124  1.1  riastrad   need_version=no
   15125  1.1  riastrad   need_lib_prefix=no
   15126  1.1  riastrad 
   15127  1.1  riastrad   case $GCC,$cc_basename in
   15128  1.1  riastrad   yes,*)
   15129  1.1  riastrad     # gcc
   15130  1.1  riastrad     library_names_spec='$libname.dll.a'
   15131  1.1  riastrad     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15132  1.1  riastrad     postinstall_cmds='base_file=`basename \$file`~
   15133  1.1  riastrad       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   15134  1.1  riastrad       dldir=$destdir/`dirname \$dlpath`~
   15135  1.1  riastrad       test -d \$dldir || mkdir -p \$dldir~
   15136  1.1  riastrad       $install_prog $dir/$dlname \$dldir/$dlname~
   15137  1.1  riastrad       chmod a+x \$dldir/$dlname~
   15138  1.1  riastrad       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   15139  1.1  riastrad         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   15140  1.1  riastrad       fi'
   15141  1.1  riastrad     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15142  1.1  riastrad       dlpath=$dir/\$dldll~
   15143  1.1  riastrad        $RM \$dlpath'
   15144  1.1  riastrad     shlibpath_overrides_runpath=yes
   15145  1.1  riastrad 
   15146  1.1  riastrad     case $host_os in
   15147  1.1  riastrad     cygwin*)
   15148  1.1  riastrad       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15149  1.1  riastrad       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   15150  1.1  riastrad 
   15151  1.1  riastrad       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   15152  1.1  riastrad       ;;
   15153  1.1  riastrad     mingw* | cegcc*)
   15154  1.1  riastrad       # MinGW DLLs use traditional 'lib' prefix
   15155  1.1  riastrad       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   15156  1.1  riastrad       ;;
   15157  1.1  riastrad     pw32*)
   15158  1.1  riastrad       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15159  1.1  riastrad       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   15160  1.1  riastrad       ;;
   15161  1.1  riastrad     esac
   15162  1.1  riastrad     dynamic_linker='Win32 ld.exe'
   15163  1.1  riastrad     ;;
   15164  1.1  riastrad 
   15165  1.1  riastrad   *,cl*)
   15166  1.1  riastrad     # Native MSVC
   15167  1.1  riastrad     libname_spec='$name'
   15168  1.1  riastrad     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   15169  1.1  riastrad     library_names_spec='$libname.dll.lib'
   15170  1.1  riastrad 
   15171  1.1  riastrad     case $build_os in
   15172  1.1  riastrad     mingw*)
   15173  1.1  riastrad       sys_lib_search_path_spec=
   15174  1.1  riastrad       lt_save_ifs=$IFS
   15175  1.1  riastrad       IFS=';'
   15176  1.1  riastrad       for lt_path in $LIB
   15177  1.1  riastrad       do
   15178  1.1  riastrad         IFS=$lt_save_ifs
   15179  1.1  riastrad         # Let DOS variable expansion print the short 8.3 style file name.
   15180  1.1  riastrad         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   15181  1.1  riastrad         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   15182  1.1  riastrad       done
   15183  1.1  riastrad       IFS=$lt_save_ifs
   15184  1.1  riastrad       # Convert to MSYS style.
   15185  1.1  riastrad       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   15186  1.1  riastrad       ;;
   15187  1.1  riastrad     cygwin*)
   15188  1.1  riastrad       # Convert to unix form, then to dos form, then back to unix form
   15189  1.1  riastrad       # but this time dos style (no spaces!) so that the unix form looks
   15190  1.1  riastrad       # like /cygdrive/c/PROGRA~1:/cygdr...
   15191  1.1  riastrad       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   15192  1.1  riastrad       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   15193  1.1  riastrad       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   15194  1.1  riastrad       ;;
   15195  1.1  riastrad     *)
   15196  1.1  riastrad       sys_lib_search_path_spec=$LIB
   15197  1.1  riastrad       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   15198  1.1  riastrad         # It is most probably a Windows format PATH.
   15199  1.1  riastrad         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15200  1.1  riastrad       else
   15201  1.1  riastrad         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   15202  1.1  riastrad       fi
   15203  1.1  riastrad       # FIXME: find the short name or the path components, as spaces are
   15204  1.1  riastrad       # common. (e.g. "Program Files" -> "PROGRA~1")
   15205  1.1  riastrad       ;;
   15206  1.1  riastrad     esac
   15207  1.1  riastrad 
   15208  1.1  riastrad     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15209  1.1  riastrad     postinstall_cmds='base_file=`basename \$file`~
   15210  1.1  riastrad       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   15211  1.1  riastrad       dldir=$destdir/`dirname \$dlpath`~
   15212  1.1  riastrad       test -d \$dldir || mkdir -p \$dldir~
   15213  1.1  riastrad       $install_prog $dir/$dlname \$dldir/$dlname'
   15214  1.1  riastrad     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15215  1.1  riastrad       dlpath=$dir/\$dldll~
   15216  1.1  riastrad        $RM \$dlpath'
   15217  1.1  riastrad     shlibpath_overrides_runpath=yes
   15218  1.1  riastrad     dynamic_linker='Win32 link.exe'
   15219  1.1  riastrad     ;;
   15220  1.1  riastrad 
   15221  1.1  riastrad   *)
   15222  1.1  riastrad     # Assume MSVC wrapper
   15223  1.1  riastrad     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   15224  1.1  riastrad     dynamic_linker='Win32 ld.exe'
   15225  1.1  riastrad     ;;
   15226  1.1  riastrad   esac
   15227  1.1  riastrad   # FIXME: first we should search . and the directory the executable is in
   15228  1.1  riastrad   shlibpath_var=PATH
   15229  1.1  riastrad   ;;
   15230  1.1  riastrad 
   15231  1.1  riastrad darwin* | rhapsody*)
   15232  1.1  riastrad   dynamic_linker="$host_os dyld"
   15233  1.1  riastrad   version_type=darwin
   15234  1.1  riastrad   need_lib_prefix=no
   15235  1.1  riastrad   need_version=no
   15236  1.1  riastrad   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   15237  1.1  riastrad   soname_spec='$libname$release$major$shared_ext'
   15238  1.1  riastrad   shlibpath_overrides_runpath=yes
   15239  1.1  riastrad   shlibpath_var=DYLD_LIBRARY_PATH
   15240  1.1  riastrad   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15241  1.1  riastrad 
   15242  1.1  riastrad   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   15243  1.1  riastrad   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15244  1.1  riastrad   ;;
   15245  1.1  riastrad 
   15246  1.1  riastrad dgux*)
   15247  1.1  riastrad   version_type=linux # correct to gnu/linux during the next big refactor
   15248  1.1  riastrad   need_lib_prefix=no
   15249  1.1  riastrad   need_version=no
   15250  1.1  riastrad   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15251  1.1  riastrad   soname_spec='$libname$release$shared_ext$major'
   15252  1.1  riastrad   shlibpath_var=LD_LIBRARY_PATH
   15253  1.1  riastrad   ;;
   15254  1.1  riastrad 
   15255  1.1  riastrad freebsd* | dragonfly*)
   15256  1.1  riastrad   # DragonFly does not have aout.  When/if they implement a new
   15257  1.1  riastrad   # versioning mechanism, adjust this.
   15258  1.1  riastrad   if test -x /usr/bin/objformat; then
   15259  1.1  riastrad     objformat=`/usr/bin/objformat`
   15260  1.1  riastrad   else
   15261  1.1  riastrad     case $host_os in
   15262  1.1  riastrad     freebsd[23].*) objformat=aout ;;
   15263  1.1  riastrad     *) objformat=elf ;;
   15264  1.1  riastrad     esac
   15265  1.1  riastrad   fi
   15266  1.1  riastrad   version_type=freebsd-$objformat
   15267  1.1  riastrad   case $version_type in
   15268  1.1  riastrad     freebsd-elf*)
   15269  1.1  riastrad       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15270  1.1  riastrad       soname_spec='$libname$release$shared_ext$major'
   15271  1.1  riastrad       need_version=no
   15272  1.1  riastrad       need_lib_prefix=no
   15273  1.1  riastrad       ;;
   15274  1.1  riastrad     freebsd-*)
   15275  1.1  riastrad       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   15276  1.1  riastrad       need_version=yes
   15277  1.1  riastrad       ;;
   15278  1.1  riastrad   esac
   15279  1.1  riastrad   shlibpath_var=LD_LIBRARY_PATH
   15280  1.1  riastrad   case $host_os in
   15281  1.1  riastrad   freebsd2.*)
   15282  1.1  riastrad     shlibpath_overrides_runpath=yes
   15283  1.1  riastrad     ;;
   15284  1.1  riastrad   freebsd3.[01]* | freebsdelf3.[01]*)
   15285  1.1  riastrad     shlibpath_overrides_runpath=yes
   15286  1.1  riastrad     hardcode_into_libs=yes
   15287  1.1  riastrad     ;;
   15288  1.1  riastrad   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15289  1.1  riastrad   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15290  1.1  riastrad     shlibpath_overrides_runpath=no
   15291  1.1  riastrad     hardcode_into_libs=yes
   15292  1.1  riastrad     ;;
   15293  1.1  riastrad   *) # from 4.6 on, and DragonFly
   15294  1.1  riastrad     shlibpath_overrides_runpath=yes
   15295  1.1  riastrad     hardcode_into_libs=yes
   15296  1.1  riastrad     ;;
   15297  1.1  riastrad   esac
   15298  1.1  riastrad   ;;
   15299  1.1  riastrad 
   15300  1.1  riastrad haiku*)
   15301  1.1  riastrad   version_type=linux # correct to gnu/linux during the next big refactor
   15302  1.1  riastrad   need_lib_prefix=no
   15303  1.1  riastrad   need_version=no
   15304  1.1  riastrad   dynamic_linker="$host_os runtime_loader"
   15305  1.1  riastrad   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15306  1.1  riastrad   soname_spec='$libname$release$shared_ext$major'
   15307  1.1  riastrad   shlibpath_var=LIBRARY_PATH
   15308  1.1  riastrad   shlibpath_overrides_runpath=no
   15309  1.1  riastrad   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   15310  1.1  riastrad   hardcode_into_libs=yes
   15311  1.1  riastrad   ;;
   15312  1.1  riastrad 
   15313  1.1  riastrad hpux9* | hpux10* | hpux11*)
   15314  1.1  riastrad   # Give a soname corresponding to the major version so that dld.sl refuses to
   15315  1.1  riastrad   # link against other versions.
   15316  1.1  riastrad   version_type=sunos
   15317  1.1  riastrad   need_lib_prefix=no
   15318  1.1  riastrad   need_version=no
   15319  1.1  riastrad   case $host_cpu in
   15320  1.1  riastrad   ia64*)
   15321  1.1  riastrad     shrext_cmds='.so'
   15322  1.1  riastrad     hardcode_into_libs=yes
   15323  1.1  riastrad     dynamic_linker="$host_os dld.so"
   15324  1.1  riastrad     shlibpath_var=LD_LIBRARY_PATH
   15325  1.1  riastrad     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15326  1.1  riastrad     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15327  1.1  riastrad     soname_spec='$libname$release$shared_ext$major'
   15328  1.1  riastrad     if test 32 = "$HPUX_IA64_MODE"; then
   15329  1.1  riastrad       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   15330  1.1  riastrad       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   15331  1.1  riastrad     else
   15332  1.1  riastrad       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   15333  1.1  riastrad       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   15334  1.1  riastrad     fi
   15335  1.1  riastrad     ;;
   15336  1.1  riastrad   hppa*64*)
   15337  1.1  riastrad     shrext_cmds='.sl'
   15338  1.1  riastrad     hardcode_into_libs=yes
   15339  1.1  riastrad     dynamic_linker="$host_os dld.sl"
   15340  1.1  riastrad     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   15341  1.1  riastrad     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15342  1.1  riastrad     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15343  1.1  riastrad     soname_spec='$libname$release$shared_ext$major'
   15344  1.1  riastrad     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   15345  1.1  riastrad     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15346  1.1  riastrad     ;;
   15347  1.1  riastrad   *)
   15348  1.1  riastrad     shrext_cmds='.sl'
   15349  1.1  riastrad     dynamic_linker="$host_os dld.sl"
   15350  1.1  riastrad     shlibpath_var=SHLIB_PATH
   15351  1.1  riastrad     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   15352  1.1  riastrad     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15353  1.1  riastrad     soname_spec='$libname$release$shared_ext$major'
   15354  1.1  riastrad     ;;
   15355  1.1  riastrad   esac
   15356  1.1  riastrad   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   15357  1.1  riastrad   postinstall_cmds='chmod 555 $lib'
   15358  1.1  riastrad   # or fails outright, so override atomically:
   15359  1.1  riastrad   install_override_mode=555
   15360  1.1  riastrad   ;;
   15361  1.1  riastrad 
   15362  1.1  riastrad interix[3-9]*)
   15363  1.1  riastrad   version_type=linux # correct to gnu/linux during the next big refactor
   15364  1.1  riastrad   need_lib_prefix=no
   15365  1.1  riastrad   need_version=no
   15366  1.1  riastrad   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15367  1.1  riastrad   soname_spec='$libname$release$shared_ext$major'
   15368  1.1  riastrad   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   15369  1.1  riastrad   shlibpath_var=LD_LIBRARY_PATH
   15370  1.1  riastrad   shlibpath_overrides_runpath=no
   15371  1.1  riastrad   hardcode_into_libs=yes
   15372  1.1  riastrad   ;;
   15373  1.1  riastrad 
   15374  1.1  riastrad irix5* | irix6* | nonstopux*)
   15375  1.1  riastrad   case $host_os in
   15376  1.1  riastrad     nonstopux*) version_type=nonstopux ;;
   15377  1.1  riastrad     *)
   15378  1.1  riastrad 	if test yes = "$lt_cv_prog_gnu_ld"; then
   15379  1.1  riastrad 		version_type=linux # correct to gnu/linux during the next big refactor
   15380  1.1  riastrad 	else
   15381  1.1  riastrad 		version_type=irix
   15382  1.1  riastrad 	fi ;;
   15383  1.1  riastrad   esac
   15384  1.1  riastrad   need_lib_prefix=no
   15385  1.1  riastrad   need_version=no
   15386  1.1  riastrad   soname_spec='$libname$release$shared_ext$major'
   15387  1.1  riastrad   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   15388  1.1  riastrad   case $host_os in
   15389  1.1  riastrad   irix5* | nonstopux*)
   15390  1.1  riastrad     libsuff= shlibsuff=
   15391  1.1  riastrad     ;;
   15392  1.1  riastrad   *)
   15393  1.1  riastrad     case $LD in # libtool.m4 will add one of these switches to LD
   15394  1.1  riastrad     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   15395  1.1  riastrad       libsuff= shlibsuff= libmagic=32-bit;;
   15396  1.1  riastrad     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   15397  1.1  riastrad       libsuff=32 shlibsuff=N32 libmagic=N32;;
   15398  1.1  riastrad     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   15399  1.1  riastrad       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   15400  1.1  riastrad     *) libsuff= shlibsuff= libmagic=never-match;;
   15401  1.1  riastrad     esac
   15402  1.1  riastrad     ;;
   15403  1.1  riastrad   esac
   15404  1.1  riastrad   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   15405  1.1  riastrad   shlibpath_overrides_runpath=no
   15406  1.1  riastrad   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   15407  1.1  riastrad   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   15408  1.1  riastrad   hardcode_into_libs=yes
   15409  1.1  riastrad   ;;
   15410  1.1  riastrad 
   15411  1.1  riastrad # No shared lib support for Linux oldld, aout, or coff.
   15412  1.1  riastrad linux*oldld* | linux*aout* | linux*coff*)
   15413  1.1  riastrad   dynamic_linker=no
   15414  1.1  riastrad   ;;
   15415  1.1  riastrad 
   15416  1.1  riastrad linux*android*)
   15417  1.1  riastrad   version_type=none # Android doesn't support versioned libraries.
   15418  1.1  riastrad   need_lib_prefix=no
   15419  1.1  riastrad   need_version=no
   15420  1.1  riastrad   library_names_spec='$libname$release$shared_ext'
   15421  1.1  riastrad   soname_spec='$libname$release$shared_ext'
   15422  1.1  riastrad   finish_cmds=
   15423  1.1  riastrad   shlibpath_var=LD_LIBRARY_PATH
   15424  1.1  riastrad   shlibpath_overrides_runpath=yes
   15425  1.1  riastrad 
   15426  1.1  riastrad   # This implies no fast_install, which is unacceptable.
   15427  1.1  riastrad   # Some rework will be needed to allow for fast_install
   15428  1.1  riastrad   # before this can be enabled.
   15429  1.1  riastrad   hardcode_into_libs=yes
   15430  1.1  riastrad 
   15431  1.1  riastrad   dynamic_linker='Android linker'
   15432  1.1  riastrad   # Don't embed -rpath directories since the linker doesn't support them.
   15433  1.1  riastrad   hardcode_libdir_flag_spec='-L$libdir'
   15434  1.1  riastrad   ;;
   15435  1.1  riastrad 
   15436  1.1  riastrad # This must be glibc/ELF.
   15437  1.1  riastrad linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   15438  1.1  riastrad   version_type=linux # correct to gnu/linux during the next big refactor
   15439  1.1  riastrad   need_lib_prefix=no
   15440  1.1  riastrad   need_version=no
   15441  1.1  riastrad   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15442  1.1  riastrad   soname_spec='$libname$release$shared_ext$major'
   15443  1.1  riastrad   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   15444  1.1  riastrad   shlibpath_var=LD_LIBRARY_PATH
   15445  1.1  riastrad   shlibpath_overrides_runpath=no
   15446  1.1  riastrad 
   15447  1.1  riastrad   # Some binutils ld are patched to set DT_RUNPATH
   15448  1.1  riastrad   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   15449  1.1  riastrad   $as_echo_n "(cached) " >&6
   15450  1.1  riastrad else
   15451  1.1  riastrad   lt_cv_shlibpath_overrides_runpath=no
   15452  1.1  riastrad     save_LDFLAGS=$LDFLAGS
   15453  1.1  riastrad     save_libdir=$libdir
   15454  1.1  riastrad     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   15455  1.1  riastrad 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   15456  1.1  riastrad     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15457  1.1  riastrad /* end confdefs.h.  */
   15458  1.1  riastrad 
   15459  1.1  riastrad int
   15460  1.1  riastrad main ()
   15461  1.1  riastrad {
   15462  1.1  riastrad 
   15463  1.1  riastrad   ;
   15464  1.1  riastrad   return 0;
   15465  1.1  riastrad }
   15466  1.1  riastrad _ACEOF
   15467  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   15468  1.1  riastrad   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   15469  1.1  riastrad   lt_cv_shlibpath_overrides_runpath=yes
   15470  1.1  riastrad fi
   15471  1.1  riastrad fi
   15472  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   15473  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   15474  1.1  riastrad     LDFLAGS=$save_LDFLAGS
   15475  1.1  riastrad     libdir=$save_libdir
   15476  1.1  riastrad 
   15477  1.1  riastrad fi
   15478  1.1  riastrad 
   15479  1.1  riastrad   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   15480  1.1  riastrad 
   15481  1.1  riastrad   # This implies no fast_install, which is unacceptable.
   15482  1.1  riastrad   # Some rework will be needed to allow for fast_install
   15483  1.1  riastrad   # before this can be enabled.
   15484  1.1  riastrad   hardcode_into_libs=yes
   15485  1.1  riastrad 
   15486  1.1  riastrad   # Ideally, we could use ldconfig to report *all* directores which are
   15487  1.1  riastrad   # searched for libraries, however this is still not possible.  Aside from not
   15488  1.1  riastrad   # being certain /sbin/ldconfig is available, command
   15489  1.1  riastrad   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   15490  1.1  riastrad   # even though it is searched at run-time.  Try to do the best guess by
   15491  1.1  riastrad   # appending ld.so.conf contents (and includes) to the search path.
   15492  1.1  riastrad   if test -f /etc/ld.so.conf; then
   15493  1.1  riastrad     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
   15494  1.1  riastrad     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   15495  1.1  riastrad   fi
   15496  1.1  riastrad 
   15497  1.1  riastrad   # We used to test for /lib/ld.so.1 and disable shared libraries on
   15498  1.1  riastrad   # powerpc, because MkLinux only supported shared libraries with the
   15499  1.1  riastrad   # GNU dynamic linker.  Since this was broken with cross compilers,
   15500  1.1  riastrad   # most powerpc-linux boxes support dynamic linking these days and
   15501  1.1  riastrad   # people can always --disable-shared, the test was removed, and we
   15502  1.1  riastrad   # assume the GNU/Linux dynamic linker is in use.
   15503  1.1  riastrad   dynamic_linker='GNU/Linux ld.so'
   15504  1.1  riastrad   ;;
   15505  1.1  riastrad 
   15506  1.1  riastrad netbsd*)
   15507  1.1  riastrad   version_type=sunos
   15508  1.1  riastrad   need_lib_prefix=no
   15509  1.1  riastrad   need_version=no
   15510  1.1  riastrad   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15511  1.1  riastrad     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   15512  1.1  riastrad     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15513  1.1  riastrad     dynamic_linker='NetBSD (a.out) ld.so'
   15514  1.1  riastrad   else
   15515  1.1  riastrad     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15516  1.1  riastrad     soname_spec='$libname$release$shared_ext$major'
   15517  1.1  riastrad     dynamic_linker='NetBSD ld.elf_so'
   15518  1.1  riastrad   fi
   15519  1.1  riastrad   shlibpath_var=LD_LIBRARY_PATH
   15520  1.1  riastrad   shlibpath_overrides_runpath=yes
   15521  1.1  riastrad   hardcode_into_libs=yes
   15522  1.1  riastrad   ;;
   15523  1.1  riastrad 
   15524  1.1  riastrad newsos6)
   15525  1.1  riastrad   version_type=linux # correct to gnu/linux during the next big refactor
   15526  1.1  riastrad   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15527  1.1  riastrad   shlibpath_var=LD_LIBRARY_PATH
   15528  1.1  riastrad   shlibpath_overrides_runpath=yes
   15529  1.1  riastrad   ;;
   15530  1.1  riastrad 
   15531  1.1  riastrad *nto* | *qnx*)
   15532  1.1  riastrad   version_type=qnx
   15533  1.1  riastrad   need_lib_prefix=no
   15534  1.1  riastrad   need_version=no
   15535  1.1  riastrad   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15536  1.1  riastrad   soname_spec='$libname$release$shared_ext$major'
   15537  1.1  riastrad   shlibpath_var=LD_LIBRARY_PATH
   15538  1.1  riastrad   shlibpath_overrides_runpath=no
   15539  1.1  riastrad   hardcode_into_libs=yes
   15540  1.1  riastrad   dynamic_linker='ldqnx.so'
   15541  1.1  riastrad   ;;
   15542  1.1  riastrad 
   15543  1.1  riastrad openbsd* | bitrig*)
   15544  1.1  riastrad   version_type=sunos
   15545  1.1  riastrad   sys_lib_dlsearch_path_spec=/usr/lib
   15546  1.1  riastrad   need_lib_prefix=no
   15547  1.1  riastrad   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   15548  1.1  riastrad     need_version=no
   15549  1.1  riastrad   else
   15550  1.1  riastrad     need_version=yes
   15551  1.1  riastrad   fi
   15552  1.1  riastrad   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   15553  1.1  riastrad   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15554  1.1  riastrad   shlibpath_var=LD_LIBRARY_PATH
   15555  1.1  riastrad   shlibpath_overrides_runpath=yes
   15556  1.1  riastrad   ;;
   15557  1.1  riastrad 
   15558  1.1  riastrad os2*)
   15559  1.1  riastrad   libname_spec='$name'
   15560  1.1  riastrad   version_type=windows
   15561  1.1  riastrad   shrext_cmds=.dll
   15562  1.1  riastrad   need_version=no
   15563  1.1  riastrad   need_lib_prefix=no
   15564  1.1  riastrad   # OS/2 can only load a DLL with a base name of 8 characters or less.
   15565  1.1  riastrad   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   15566  1.1  riastrad     v=$($ECHO $release$versuffix | tr -d .-);
   15567  1.1  riastrad     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   15568  1.1  riastrad     $ECHO $n$v`$shared_ext'
   15569  1.1  riastrad   library_names_spec='${libname}_dll.$libext'
   15570  1.1  riastrad   dynamic_linker='OS/2 ld.exe'
   15571  1.1  riastrad   shlibpath_var=BEGINLIBPATH
   15572  1.1  riastrad   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   15573  1.1  riastrad   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15574  1.1  riastrad   postinstall_cmds='base_file=`basename \$file`~
   15575  1.1  riastrad     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   15576  1.1  riastrad     dldir=$destdir/`dirname \$dlpath`~
   15577  1.1  riastrad     test -d \$dldir || mkdir -p \$dldir~
   15578  1.1  riastrad     $install_prog $dir/$dlname \$dldir/$dlname~
   15579  1.1  riastrad     chmod a+x \$dldir/$dlname~
   15580  1.1  riastrad     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   15581  1.1  riastrad       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   15582  1.1  riastrad     fi'
   15583  1.1  riastrad   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   15584  1.1  riastrad     dlpath=$dir/\$dldll~
   15585  1.1  riastrad     $RM \$dlpath'
   15586  1.1  riastrad   ;;
   15587  1.1  riastrad 
   15588  1.1  riastrad osf3* | osf4* | osf5*)
   15589  1.1  riastrad   version_type=osf
   15590  1.1  riastrad   need_lib_prefix=no
   15591  1.1  riastrad   need_version=no
   15592  1.1  riastrad   soname_spec='$libname$release$shared_ext$major'
   15593  1.1  riastrad   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15594  1.1  riastrad   shlibpath_var=LD_LIBRARY_PATH
   15595  1.1  riastrad   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   15596  1.1  riastrad   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15597  1.1  riastrad   ;;
   15598  1.1  riastrad 
   15599  1.1  riastrad rdos*)
   15600  1.1  riastrad   dynamic_linker=no
   15601  1.1  riastrad   ;;
   15602  1.1  riastrad 
   15603  1.1  riastrad solaris*)
   15604  1.1  riastrad   version_type=linux # correct to gnu/linux during the next big refactor
   15605  1.1  riastrad   need_lib_prefix=no
   15606  1.1  riastrad   need_version=no
   15607  1.1  riastrad   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15608  1.1  riastrad   soname_spec='$libname$release$shared_ext$major'
   15609  1.1  riastrad   shlibpath_var=LD_LIBRARY_PATH
   15610  1.1  riastrad   shlibpath_overrides_runpath=yes
   15611  1.1  riastrad   hardcode_into_libs=yes
   15612  1.1  riastrad   # ldd complains unless libraries are executable
   15613  1.1  riastrad   postinstall_cmds='chmod +x $lib'
   15614  1.1  riastrad   ;;
   15615  1.1  riastrad 
   15616  1.1  riastrad sunos4*)
   15617  1.1  riastrad   version_type=sunos
   15618  1.1  riastrad   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   15619  1.1  riastrad   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   15620  1.1  riastrad   shlibpath_var=LD_LIBRARY_PATH
   15621  1.1  riastrad   shlibpath_overrides_runpath=yes
   15622  1.1  riastrad   if test yes = "$with_gnu_ld"; then
   15623  1.1  riastrad     need_lib_prefix=no
   15624  1.1  riastrad   fi
   15625  1.1  riastrad   need_version=yes
   15626  1.1  riastrad   ;;
   15627  1.1  riastrad 
   15628  1.1  riastrad sysv4 | sysv4.3*)
   15629  1.1  riastrad   version_type=linux # correct to gnu/linux during the next big refactor
   15630  1.1  riastrad   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15631  1.1  riastrad   soname_spec='$libname$release$shared_ext$major'
   15632  1.1  riastrad   shlibpath_var=LD_LIBRARY_PATH
   15633  1.1  riastrad   case $host_vendor in
   15634  1.1  riastrad     sni)
   15635  1.1  riastrad       shlibpath_overrides_runpath=no
   15636  1.1  riastrad       need_lib_prefix=no
   15637  1.1  riastrad       runpath_var=LD_RUN_PATH
   15638  1.1  riastrad       ;;
   15639  1.1  riastrad     siemens)
   15640  1.1  riastrad       need_lib_prefix=no
   15641  1.1  riastrad       ;;
   15642  1.1  riastrad     motorola)
   15643  1.1  riastrad       need_lib_prefix=no
   15644  1.1  riastrad       need_version=no
   15645  1.1  riastrad       shlibpath_overrides_runpath=no
   15646  1.1  riastrad       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   15647  1.1  riastrad       ;;
   15648  1.1  riastrad   esac
   15649  1.1  riastrad   ;;
   15650  1.1  riastrad 
   15651  1.1  riastrad sysv4*MP*)
   15652  1.1  riastrad   if test -d /usr/nec; then
   15653  1.1  riastrad     version_type=linux # correct to gnu/linux during the next big refactor
   15654  1.1  riastrad     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   15655  1.1  riastrad     soname_spec='$libname$shared_ext.$major'
   15656  1.1  riastrad     shlibpath_var=LD_LIBRARY_PATH
   15657  1.1  riastrad   fi
   15658  1.1  riastrad   ;;
   15659  1.1  riastrad 
   15660  1.1  riastrad sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   15661  1.1  riastrad   version_type=sco
   15662  1.1  riastrad   need_lib_prefix=no
   15663  1.1  riastrad   need_version=no
   15664  1.1  riastrad   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   15665  1.1  riastrad   soname_spec='$libname$release$shared_ext$major'
   15666  1.1  riastrad   shlibpath_var=LD_LIBRARY_PATH
   15667  1.1  riastrad   shlibpath_overrides_runpath=yes
   15668  1.1  riastrad   hardcode_into_libs=yes
   15669  1.1  riastrad   if test yes = "$with_gnu_ld"; then
   15670  1.1  riastrad     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   15671  1.1  riastrad   else
   15672  1.1  riastrad     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   15673  1.1  riastrad     case $host_os in
   15674  1.1  riastrad       sco3.2v5*)
   15675  1.1  riastrad         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   15676  1.1  riastrad 	;;
   15677  1.1  riastrad     esac
   15678  1.1  riastrad   fi
   15679  1.1  riastrad   sys_lib_dlsearch_path_spec='/usr/lib'
   15680  1.1  riastrad   ;;
   15681  1.1  riastrad 
   15682  1.1  riastrad tpf*)
   15683  1.1  riastrad   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   15684  1.1  riastrad   version_type=linux # correct to gnu/linux during the next big refactor
   15685  1.1  riastrad   need_lib_prefix=no
   15686  1.1  riastrad   need_version=no
   15687  1.1  riastrad   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15688  1.1  riastrad   shlibpath_var=LD_LIBRARY_PATH
   15689  1.1  riastrad   shlibpath_overrides_runpath=no
   15690  1.1  riastrad   hardcode_into_libs=yes
   15691  1.1  riastrad   ;;
   15692  1.1  riastrad 
   15693  1.1  riastrad uts4*)
   15694  1.1  riastrad   version_type=linux # correct to gnu/linux during the next big refactor
   15695  1.1  riastrad   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15696  1.1  riastrad   soname_spec='$libname$release$shared_ext$major'
   15697  1.1  riastrad   shlibpath_var=LD_LIBRARY_PATH
   15698  1.1  riastrad   ;;
   15699  1.1  riastrad 
   15700  1.1  riastrad *)
   15701  1.1  riastrad   dynamic_linker=no
   15702  1.1  riastrad   ;;
   15703  1.1  riastrad esac
   15704  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   15705  1.1  riastrad $as_echo "$dynamic_linker" >&6; }
   15706  1.1  riastrad test no = "$dynamic_linker" && can_build_shared=no
   15707  1.1  riastrad 
   15708  1.1  riastrad variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   15709  1.1  riastrad if test yes = "$GCC"; then
   15710  1.1  riastrad   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   15711  1.1  riastrad fi
   15712  1.1  riastrad 
   15713  1.1  riastrad if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   15714  1.1  riastrad   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   15715  1.1  riastrad fi
   15716  1.1  riastrad 
   15717  1.1  riastrad if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   15718  1.1  riastrad   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   15719  1.1  riastrad fi
   15720  1.1  riastrad 
   15721  1.1  riastrad # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   15722  1.1  riastrad configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   15723  1.1  riastrad 
   15724  1.1  riastrad # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   15725  1.1  riastrad func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   15726  1.1  riastrad 
   15727  1.1  riastrad # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   15728  1.1  riastrad configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   15729  1.1  riastrad 
   15730  1.1  riastrad 
   15731  1.1  riastrad 
   15732  1.1  riastrad 
   15733  1.1  riastrad 
   15734  1.1  riastrad 
   15735  1.1  riastrad 
   15736  1.1  riastrad 
   15737  1.1  riastrad 
   15738  1.1  riastrad 
   15739  1.1  riastrad 
   15740  1.1  riastrad 
   15741  1.1  riastrad 
   15742  1.1  riastrad 
   15743  1.1  riastrad 
   15744  1.1  riastrad 
   15745  1.1  riastrad 
   15746  1.1  riastrad 
   15747  1.1  riastrad 
   15748  1.1  riastrad 
   15749  1.1  riastrad 
   15750  1.1  riastrad 
   15751  1.1  riastrad 
   15752  1.1  riastrad 
   15753  1.1  riastrad 
   15754  1.1  riastrad 
   15755  1.1  riastrad 
   15756  1.1  riastrad 
   15757  1.1  riastrad 
   15758  1.1  riastrad 
   15759  1.1  riastrad 
   15760  1.1  riastrad 
   15761  1.1  riastrad 
   15762  1.1  riastrad 
   15763  1.1  riastrad 
   15764  1.1  riastrad 
   15765  1.1  riastrad 
   15766  1.1  riastrad 
   15767  1.1  riastrad 
   15768  1.1  riastrad 
   15769  1.1  riastrad 
   15770  1.1  riastrad 
   15771  1.1  riastrad 
   15772  1.1  riastrad 
   15773  1.1  riastrad 
   15774  1.1  riastrad 
   15775  1.1  riastrad 
   15776  1.1  riastrad 
   15777  1.1  riastrad 
   15778  1.1  riastrad 
   15779  1.1  riastrad 
   15780  1.1  riastrad 
   15781  1.1  riastrad 
   15782  1.1  riastrad 
   15783  1.1  riastrad 
   15784  1.1  riastrad 
   15785  1.1  riastrad 
   15786  1.1  riastrad 
   15787  1.1  riastrad 
   15788  1.1  riastrad 
   15789  1.1  riastrad 
   15790  1.1  riastrad 
   15791  1.1  riastrad 
   15792  1.1  riastrad 
   15793  1.1  riastrad 
   15794  1.1  riastrad 
   15795  1.1  riastrad 
   15796  1.1  riastrad 
   15797  1.1  riastrad 
   15798  1.1  riastrad 
   15799  1.1  riastrad 
   15800  1.1  riastrad 
   15801  1.1  riastrad 
   15802  1.1  riastrad 
   15803  1.1  riastrad 
   15804  1.1  riastrad 
   15805  1.1  riastrad 
   15806  1.1  riastrad 
   15807  1.1  riastrad 
   15808  1.1  riastrad 
   15809  1.1  riastrad 
   15810  1.1  riastrad 
   15811  1.1  riastrad 
   15812  1.1  riastrad 
   15813  1.1  riastrad 
   15814  1.1  riastrad 
   15815  1.1  riastrad 
   15816  1.1  riastrad 
   15817  1.1  riastrad 
   15818  1.1  riastrad 
   15819  1.1  riastrad 
   15820  1.1  riastrad 
   15821  1.1  riastrad 
   15822  1.1  riastrad 
   15823  1.1  riastrad 
   15824  1.1  riastrad 
   15825  1.1  riastrad 
   15826  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   15827  1.1  riastrad $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   15828  1.1  riastrad hardcode_action=
   15829  1.1  riastrad if test -n "$hardcode_libdir_flag_spec" ||
   15830  1.1  riastrad    test -n "$runpath_var" ||
   15831  1.1  riastrad    test yes = "$hardcode_automatic"; then
   15832  1.1  riastrad 
   15833  1.1  riastrad   # We can hardcode non-existent directories.
   15834  1.1  riastrad   if test no != "$hardcode_direct" &&
   15835  1.1  riastrad      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   15836  1.1  riastrad      # have to relink, otherwise we might link with an installed library
   15837  1.1  riastrad      # when we should be linking with a yet-to-be-installed one
   15838  1.1  riastrad      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   15839  1.1  riastrad      test no != "$hardcode_minus_L"; then
   15840  1.1  riastrad     # Linking always hardcodes the temporary library directory.
   15841  1.1  riastrad     hardcode_action=relink
   15842  1.1  riastrad   else
   15843  1.1  riastrad     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   15844  1.1  riastrad     hardcode_action=immediate
   15845  1.1  riastrad   fi
   15846  1.1  riastrad else
   15847  1.1  riastrad   # We cannot hardcode anything, or else we can only hardcode existing
   15848  1.1  riastrad   # directories.
   15849  1.1  riastrad   hardcode_action=unsupported
   15850  1.1  riastrad fi
   15851  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   15852  1.1  riastrad $as_echo "$hardcode_action" >&6; }
   15853  1.1  riastrad 
   15854  1.1  riastrad if test relink = "$hardcode_action" ||
   15855  1.1  riastrad    test yes = "$inherit_rpath"; then
   15856  1.1  riastrad   # Fast installation is not supported
   15857  1.1  riastrad   enable_fast_install=no
   15858  1.1  riastrad elif test yes = "$shlibpath_overrides_runpath" ||
   15859  1.1  riastrad      test no = "$enable_shared"; then
   15860  1.1  riastrad   # Fast installation is not necessary
   15861  1.1  riastrad   enable_fast_install=needless
   15862  1.1  riastrad fi
   15863  1.1  riastrad 
   15864  1.1  riastrad 
   15865  1.1  riastrad 
   15866  1.1  riastrad 
   15867  1.1  riastrad 
   15868  1.1  riastrad 
   15869  1.1  riastrad   if test yes != "$enable_dlopen"; then
   15870  1.1  riastrad   enable_dlopen=unknown
   15871  1.1  riastrad   enable_dlopen_self=unknown
   15872  1.1  riastrad   enable_dlopen_self_static=unknown
   15873  1.1  riastrad else
   15874  1.1  riastrad   lt_cv_dlopen=no
   15875  1.1  riastrad   lt_cv_dlopen_libs=
   15876  1.1  riastrad 
   15877  1.1  riastrad   case $host_os in
   15878  1.1  riastrad   beos*)
   15879  1.1  riastrad     lt_cv_dlopen=load_add_on
   15880  1.1  riastrad     lt_cv_dlopen_libs=
   15881  1.1  riastrad     lt_cv_dlopen_self=yes
   15882  1.1  riastrad     ;;
   15883  1.1  riastrad 
   15884  1.1  riastrad   mingw* | pw32* | cegcc*)
   15885  1.1  riastrad     lt_cv_dlopen=LoadLibrary
   15886  1.1  riastrad     lt_cv_dlopen_libs=
   15887  1.1  riastrad     ;;
   15888  1.1  riastrad 
   15889  1.1  riastrad   cygwin*)
   15890  1.1  riastrad     lt_cv_dlopen=dlopen
   15891  1.1  riastrad     lt_cv_dlopen_libs=
   15892  1.1  riastrad     ;;
   15893  1.1  riastrad 
   15894  1.1  riastrad   darwin*)
   15895  1.1  riastrad     # if libdl is installed we need to link against it
   15896  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   15897  1.1  riastrad $as_echo_n "checking for dlopen in -ldl... " >&6; }
   15898  1.1  riastrad if ${ac_cv_lib_dl_dlopen+:} false; then :
   15899  1.1  riastrad   $as_echo_n "(cached) " >&6
   15900  1.1  riastrad else
   15901  1.1  riastrad   ac_check_lib_save_LIBS=$LIBS
   15902  1.1  riastrad LIBS="-ldl  $LIBS"
   15903  1.1  riastrad cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15904  1.1  riastrad /* end confdefs.h.  */
   15905  1.1  riastrad 
   15906  1.1  riastrad /* Override any GCC internal prototype to avoid an error.
   15907  1.1  riastrad    Use char because int might match the return type of a GCC
   15908  1.1  riastrad    builtin and then its argument prototype would still apply.  */
   15909  1.1  riastrad #ifdef __cplusplus
   15910  1.1  riastrad extern "C"
   15911  1.1  riastrad #endif
   15912  1.1  riastrad char dlopen ();
   15913  1.1  riastrad int
   15914  1.1  riastrad main ()
   15915  1.1  riastrad {
   15916  1.1  riastrad return dlopen ();
   15917  1.1  riastrad   ;
   15918  1.1  riastrad   return 0;
   15919  1.1  riastrad }
   15920  1.1  riastrad _ACEOF
   15921  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   15922  1.1  riastrad   ac_cv_lib_dl_dlopen=yes
   15923  1.1  riastrad else
   15924  1.1  riastrad   ac_cv_lib_dl_dlopen=no
   15925  1.1  riastrad fi
   15926  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   15927  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   15928  1.1  riastrad LIBS=$ac_check_lib_save_LIBS
   15929  1.1  riastrad fi
   15930  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   15931  1.1  riastrad $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   15932  1.1  riastrad if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   15933  1.1  riastrad   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   15934  1.1  riastrad else
   15935  1.1  riastrad 
   15936  1.1  riastrad     lt_cv_dlopen=dyld
   15937  1.1  riastrad     lt_cv_dlopen_libs=
   15938  1.1  riastrad     lt_cv_dlopen_self=yes
   15939  1.1  riastrad 
   15940  1.1  riastrad fi
   15941  1.1  riastrad 
   15942  1.1  riastrad     ;;
   15943  1.1  riastrad 
   15944  1.1  riastrad   tpf*)
   15945  1.1  riastrad     # Don't try to run any link tests for TPF.  We know it's impossible
   15946  1.1  riastrad     # because TPF is a cross-compiler, and we know how we open DSOs.
   15947  1.1  riastrad     lt_cv_dlopen=dlopen
   15948  1.1  riastrad     lt_cv_dlopen_libs=
   15949  1.1  riastrad     lt_cv_dlopen_self=no
   15950  1.1  riastrad     ;;
   15951  1.1  riastrad 
   15952  1.1  riastrad   *)
   15953  1.1  riastrad     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   15954  1.1  riastrad if test "x$ac_cv_func_shl_load" = xyes; then :
   15955  1.1  riastrad   lt_cv_dlopen=shl_load
   15956  1.1  riastrad else
   15957  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   15958  1.1  riastrad $as_echo_n "checking for shl_load in -ldld... " >&6; }
   15959  1.1  riastrad if ${ac_cv_lib_dld_shl_load+:} false; then :
   15960  1.1  riastrad   $as_echo_n "(cached) " >&6
   15961  1.1  riastrad else
   15962  1.1  riastrad   ac_check_lib_save_LIBS=$LIBS
   15963  1.1  riastrad LIBS="-ldld  $LIBS"
   15964  1.1  riastrad cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15965  1.1  riastrad /* end confdefs.h.  */
   15966  1.1  riastrad 
   15967  1.1  riastrad /* Override any GCC internal prototype to avoid an error.
   15968  1.1  riastrad    Use char because int might match the return type of a GCC
   15969  1.1  riastrad    builtin and then its argument prototype would still apply.  */
   15970  1.1  riastrad #ifdef __cplusplus
   15971  1.1  riastrad extern "C"
   15972  1.1  riastrad #endif
   15973  1.1  riastrad char shl_load ();
   15974  1.1  riastrad int
   15975  1.1  riastrad main ()
   15976  1.1  riastrad {
   15977  1.1  riastrad return shl_load ();
   15978  1.1  riastrad   ;
   15979  1.1  riastrad   return 0;
   15980  1.1  riastrad }
   15981  1.1  riastrad _ACEOF
   15982  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   15983  1.1  riastrad   ac_cv_lib_dld_shl_load=yes
   15984  1.1  riastrad else
   15985  1.1  riastrad   ac_cv_lib_dld_shl_load=no
   15986  1.1  riastrad fi
   15987  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   15988  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   15989  1.1  riastrad LIBS=$ac_check_lib_save_LIBS
   15990  1.1  riastrad fi
   15991  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   15992  1.1  riastrad $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   15993  1.1  riastrad if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   15994  1.1  riastrad   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   15995  1.1  riastrad else
   15996  1.1  riastrad   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   15997  1.1  riastrad if test "x$ac_cv_func_dlopen" = xyes; then :
   15998  1.1  riastrad   lt_cv_dlopen=dlopen
   15999  1.1  riastrad else
   16000  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   16001  1.1  riastrad $as_echo_n "checking for dlopen in -ldl... " >&6; }
   16002  1.1  riastrad if ${ac_cv_lib_dl_dlopen+:} false; then :
   16003  1.1  riastrad   $as_echo_n "(cached) " >&6
   16004  1.1  riastrad else
   16005  1.1  riastrad   ac_check_lib_save_LIBS=$LIBS
   16006  1.1  riastrad LIBS="-ldl  $LIBS"
   16007  1.1  riastrad cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16008  1.1  riastrad /* end confdefs.h.  */
   16009  1.1  riastrad 
   16010  1.1  riastrad /* Override any GCC internal prototype to avoid an error.
   16011  1.1  riastrad    Use char because int might match the return type of a GCC
   16012  1.1  riastrad    builtin and then its argument prototype would still apply.  */
   16013  1.1  riastrad #ifdef __cplusplus
   16014  1.1  riastrad extern "C"
   16015  1.1  riastrad #endif
   16016  1.1  riastrad char dlopen ();
   16017  1.1  riastrad int
   16018  1.1  riastrad main ()
   16019  1.1  riastrad {
   16020  1.1  riastrad return dlopen ();
   16021  1.1  riastrad   ;
   16022  1.1  riastrad   return 0;
   16023  1.1  riastrad }
   16024  1.1  riastrad _ACEOF
   16025  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   16026  1.1  riastrad   ac_cv_lib_dl_dlopen=yes
   16027  1.1  riastrad else
   16028  1.1  riastrad   ac_cv_lib_dl_dlopen=no
   16029  1.1  riastrad fi
   16030  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   16031  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   16032  1.1  riastrad LIBS=$ac_check_lib_save_LIBS
   16033  1.1  riastrad fi
   16034  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   16035  1.1  riastrad $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   16036  1.1  riastrad if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   16037  1.1  riastrad   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   16038  1.1  riastrad else
   16039  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   16040  1.1  riastrad $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   16041  1.1  riastrad if ${ac_cv_lib_svld_dlopen+:} false; then :
   16042  1.1  riastrad   $as_echo_n "(cached) " >&6
   16043  1.1  riastrad else
   16044  1.1  riastrad   ac_check_lib_save_LIBS=$LIBS
   16045  1.1  riastrad LIBS="-lsvld  $LIBS"
   16046  1.1  riastrad cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16047  1.1  riastrad /* end confdefs.h.  */
   16048  1.1  riastrad 
   16049  1.1  riastrad /* Override any GCC internal prototype to avoid an error.
   16050  1.1  riastrad    Use char because int might match the return type of a GCC
   16051  1.1  riastrad    builtin and then its argument prototype would still apply.  */
   16052  1.1  riastrad #ifdef __cplusplus
   16053  1.1  riastrad extern "C"
   16054  1.1  riastrad #endif
   16055  1.1  riastrad char dlopen ();
   16056  1.1  riastrad int
   16057  1.1  riastrad main ()
   16058  1.1  riastrad {
   16059  1.1  riastrad return dlopen ();
   16060  1.1  riastrad   ;
   16061  1.1  riastrad   return 0;
   16062  1.1  riastrad }
   16063  1.1  riastrad _ACEOF
   16064  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   16065  1.1  riastrad   ac_cv_lib_svld_dlopen=yes
   16066  1.1  riastrad else
   16067  1.1  riastrad   ac_cv_lib_svld_dlopen=no
   16068  1.1  riastrad fi
   16069  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   16070  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   16071  1.1  riastrad LIBS=$ac_check_lib_save_LIBS
   16072  1.1  riastrad fi
   16073  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   16074  1.1  riastrad $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   16075  1.1  riastrad if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   16076  1.1  riastrad   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   16077  1.1  riastrad else
   16078  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   16079  1.1  riastrad $as_echo_n "checking for dld_link in -ldld... " >&6; }
   16080  1.1  riastrad if ${ac_cv_lib_dld_dld_link+:} false; then :
   16081  1.1  riastrad   $as_echo_n "(cached) " >&6
   16082  1.1  riastrad else
   16083  1.1  riastrad   ac_check_lib_save_LIBS=$LIBS
   16084  1.1  riastrad LIBS="-ldld  $LIBS"
   16085  1.1  riastrad cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16086  1.1  riastrad /* end confdefs.h.  */
   16087  1.1  riastrad 
   16088  1.1  riastrad /* Override any GCC internal prototype to avoid an error.
   16089  1.1  riastrad    Use char because int might match the return type of a GCC
   16090  1.1  riastrad    builtin and then its argument prototype would still apply.  */
   16091  1.1  riastrad #ifdef __cplusplus
   16092  1.1  riastrad extern "C"
   16093  1.1  riastrad #endif
   16094  1.1  riastrad char dld_link ();
   16095  1.1  riastrad int
   16096  1.1  riastrad main ()
   16097  1.1  riastrad {
   16098  1.1  riastrad return dld_link ();
   16099  1.1  riastrad   ;
   16100  1.1  riastrad   return 0;
   16101  1.1  riastrad }
   16102  1.1  riastrad _ACEOF
   16103  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   16104  1.1  riastrad   ac_cv_lib_dld_dld_link=yes
   16105  1.1  riastrad else
   16106  1.1  riastrad   ac_cv_lib_dld_dld_link=no
   16107  1.1  riastrad fi
   16108  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   16109  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   16110  1.1  riastrad LIBS=$ac_check_lib_save_LIBS
   16111  1.1  riastrad fi
   16112  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   16113  1.1  riastrad $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   16114  1.1  riastrad if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   16115  1.1  riastrad   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   16116  1.1  riastrad fi
   16117  1.1  riastrad 
   16118  1.1  riastrad 
   16119  1.1  riastrad fi
   16120  1.1  riastrad 
   16121  1.1  riastrad 
   16122  1.1  riastrad fi
   16123  1.1  riastrad 
   16124  1.1  riastrad 
   16125  1.1  riastrad fi
   16126  1.1  riastrad 
   16127  1.1  riastrad 
   16128  1.1  riastrad fi
   16129  1.1  riastrad 
   16130  1.1  riastrad 
   16131  1.1  riastrad fi
   16132  1.1  riastrad 
   16133  1.1  riastrad     ;;
   16134  1.1  riastrad   esac
   16135  1.1  riastrad 
   16136  1.1  riastrad   if test no = "$lt_cv_dlopen"; then
   16137  1.1  riastrad     enable_dlopen=no
   16138  1.1  riastrad   else
   16139  1.1  riastrad     enable_dlopen=yes
   16140  1.1  riastrad   fi
   16141  1.1  riastrad 
   16142  1.1  riastrad   case $lt_cv_dlopen in
   16143  1.1  riastrad   dlopen)
   16144  1.1  riastrad     save_CPPFLAGS=$CPPFLAGS
   16145  1.1  riastrad     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   16146  1.1  riastrad 
   16147  1.1  riastrad     save_LDFLAGS=$LDFLAGS
   16148  1.1  riastrad     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   16149  1.1  riastrad 
   16150  1.1  riastrad     save_LIBS=$LIBS
   16151  1.1  riastrad     LIBS="$lt_cv_dlopen_libs $LIBS"
   16152  1.1  riastrad 
   16153  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   16154  1.1  riastrad $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   16155  1.1  riastrad if ${lt_cv_dlopen_self+:} false; then :
   16156  1.1  riastrad   $as_echo_n "(cached) " >&6
   16157  1.1  riastrad else
   16158  1.1  riastrad   	  if test yes = "$cross_compiling"; then :
   16159  1.1  riastrad   lt_cv_dlopen_self=cross
   16160  1.1  riastrad else
   16161  1.1  riastrad   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   16162  1.1  riastrad   lt_status=$lt_dlunknown
   16163  1.1  riastrad   cat > conftest.$ac_ext <<_LT_EOF
   16164  1.1  riastrad #line $LINENO "configure"
   16165  1.1  riastrad #include "confdefs.h"
   16166  1.1  riastrad 
   16167  1.1  riastrad #if HAVE_DLFCN_H
   16168  1.1  riastrad #include <dlfcn.h>
   16169  1.1  riastrad #endif
   16170  1.1  riastrad 
   16171  1.1  riastrad #include <stdio.h>
   16172  1.1  riastrad 
   16173  1.1  riastrad #ifdef RTLD_GLOBAL
   16174  1.1  riastrad #  define LT_DLGLOBAL		RTLD_GLOBAL
   16175  1.1  riastrad #else
   16176  1.1  riastrad #  ifdef DL_GLOBAL
   16177  1.1  riastrad #    define LT_DLGLOBAL		DL_GLOBAL
   16178  1.1  riastrad #  else
   16179  1.1  riastrad #    define LT_DLGLOBAL		0
   16180  1.1  riastrad #  endif
   16181  1.1  riastrad #endif
   16182  1.1  riastrad 
   16183  1.1  riastrad /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   16184  1.1  riastrad    find out it does not work in some platform. */
   16185  1.1  riastrad #ifndef LT_DLLAZY_OR_NOW
   16186  1.1  riastrad #  ifdef RTLD_LAZY
   16187  1.1  riastrad #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   16188  1.1  riastrad #  else
   16189  1.1  riastrad #    ifdef DL_LAZY
   16190  1.1  riastrad #      define LT_DLLAZY_OR_NOW		DL_LAZY
   16191  1.1  riastrad #    else
   16192  1.1  riastrad #      ifdef RTLD_NOW
   16193  1.1  riastrad #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   16194  1.1  riastrad #      else
   16195  1.1  riastrad #        ifdef DL_NOW
   16196  1.1  riastrad #          define LT_DLLAZY_OR_NOW	DL_NOW
   16197  1.1  riastrad #        else
   16198  1.1  riastrad #          define LT_DLLAZY_OR_NOW	0
   16199  1.1  riastrad #        endif
   16200  1.1  riastrad #      endif
   16201  1.1  riastrad #    endif
   16202  1.1  riastrad #  endif
   16203  1.1  riastrad #endif
   16204  1.1  riastrad 
   16205  1.1  riastrad /* When -fvisibility=hidden is used, assume the code has been annotated
   16206  1.1  riastrad    correspondingly for the symbols needed.  */
   16207  1.1  riastrad #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   16208  1.1  riastrad int fnord () __attribute__((visibility("default")));
   16209  1.1  riastrad #endif
   16210  1.1  riastrad 
   16211  1.1  riastrad int fnord () { return 42; }
   16212  1.1  riastrad int main ()
   16213  1.1  riastrad {
   16214  1.1  riastrad   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   16215  1.1  riastrad   int status = $lt_dlunknown;
   16216  1.1  riastrad 
   16217  1.1  riastrad   if (self)
   16218  1.1  riastrad     {
   16219  1.1  riastrad       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   16220  1.1  riastrad       else
   16221  1.1  riastrad         {
   16222  1.1  riastrad 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   16223  1.1  riastrad           else puts (dlerror ());
   16224  1.1  riastrad 	}
   16225  1.1  riastrad       /* dlclose (self); */
   16226  1.1  riastrad     }
   16227  1.1  riastrad   else
   16228  1.1  riastrad     puts (dlerror ());
   16229  1.1  riastrad 
   16230  1.1  riastrad   return status;
   16231  1.1  riastrad }
   16232  1.1  riastrad _LT_EOF
   16233  1.1  riastrad   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   16234  1.1  riastrad   (eval $ac_link) 2>&5
   16235  1.1  riastrad   ac_status=$?
   16236  1.1  riastrad   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16237  1.1  riastrad   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   16238  1.1  riastrad     (./conftest; exit; ) >&5 2>/dev/null
   16239  1.1  riastrad     lt_status=$?
   16240  1.1  riastrad     case x$lt_status in
   16241  1.1  riastrad       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   16242  1.1  riastrad       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   16243  1.1  riastrad       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   16244  1.1  riastrad     esac
   16245  1.1  riastrad   else :
   16246  1.1  riastrad     # compilation failed
   16247  1.1  riastrad     lt_cv_dlopen_self=no
   16248  1.1  riastrad   fi
   16249  1.1  riastrad fi
   16250  1.1  riastrad rm -fr conftest*
   16251  1.1  riastrad 
   16252  1.1  riastrad 
   16253  1.1  riastrad fi
   16254  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   16255  1.1  riastrad $as_echo "$lt_cv_dlopen_self" >&6; }
   16256  1.1  riastrad 
   16257  1.1  riastrad     if test yes = "$lt_cv_dlopen_self"; then
   16258  1.1  riastrad       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   16259  1.1  riastrad       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   16260  1.1  riastrad $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   16261  1.1  riastrad if ${lt_cv_dlopen_self_static+:} false; then :
   16262  1.1  riastrad   $as_echo_n "(cached) " >&6
   16263  1.1  riastrad else
   16264  1.1  riastrad   	  if test yes = "$cross_compiling"; then :
   16265  1.1  riastrad   lt_cv_dlopen_self_static=cross
   16266  1.1  riastrad else
   16267  1.1  riastrad   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   16268  1.1  riastrad   lt_status=$lt_dlunknown
   16269  1.1  riastrad   cat > conftest.$ac_ext <<_LT_EOF
   16270  1.1  riastrad #line $LINENO "configure"
   16271  1.1  riastrad #include "confdefs.h"
   16272  1.1  riastrad 
   16273  1.1  riastrad #if HAVE_DLFCN_H
   16274  1.1  riastrad #include <dlfcn.h>
   16275  1.1  riastrad #endif
   16276  1.1  riastrad 
   16277  1.1  riastrad #include <stdio.h>
   16278  1.1  riastrad 
   16279  1.1  riastrad #ifdef RTLD_GLOBAL
   16280  1.1  riastrad #  define LT_DLGLOBAL		RTLD_GLOBAL
   16281  1.1  riastrad #else
   16282  1.1  riastrad #  ifdef DL_GLOBAL
   16283  1.1  riastrad #    define LT_DLGLOBAL		DL_GLOBAL
   16284  1.1  riastrad #  else
   16285  1.1  riastrad #    define LT_DLGLOBAL		0
   16286  1.1  riastrad #  endif
   16287  1.1  riastrad #endif
   16288  1.1  riastrad 
   16289  1.1  riastrad /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   16290  1.1  riastrad    find out it does not work in some platform. */
   16291  1.1  riastrad #ifndef LT_DLLAZY_OR_NOW
   16292  1.1  riastrad #  ifdef RTLD_LAZY
   16293  1.1  riastrad #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   16294  1.1  riastrad #  else
   16295  1.1  riastrad #    ifdef DL_LAZY
   16296  1.1  riastrad #      define LT_DLLAZY_OR_NOW		DL_LAZY
   16297  1.1  riastrad #    else
   16298  1.1  riastrad #      ifdef RTLD_NOW
   16299  1.1  riastrad #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   16300  1.1  riastrad #      else
   16301  1.1  riastrad #        ifdef DL_NOW
   16302  1.1  riastrad #          define LT_DLLAZY_OR_NOW	DL_NOW
   16303  1.1  riastrad #        else
   16304  1.1  riastrad #          define LT_DLLAZY_OR_NOW	0
   16305  1.1  riastrad #        endif
   16306  1.1  riastrad #      endif
   16307  1.1  riastrad #    endif
   16308  1.1  riastrad #  endif
   16309  1.1  riastrad #endif
   16310  1.1  riastrad 
   16311  1.1  riastrad /* When -fvisibility=hidden is used, assume the code has been annotated
   16312  1.1  riastrad    correspondingly for the symbols needed.  */
   16313  1.1  riastrad #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   16314  1.1  riastrad int fnord () __attribute__((visibility("default")));
   16315  1.1  riastrad #endif
   16316  1.1  riastrad 
   16317  1.1  riastrad int fnord () { return 42; }
   16318  1.1  riastrad int main ()
   16319  1.1  riastrad {
   16320  1.1  riastrad   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   16321  1.1  riastrad   int status = $lt_dlunknown;
   16322  1.1  riastrad 
   16323  1.1  riastrad   if (self)
   16324  1.1  riastrad     {
   16325  1.1  riastrad       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   16326  1.1  riastrad       else
   16327  1.1  riastrad         {
   16328  1.1  riastrad 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   16329  1.1  riastrad           else puts (dlerror ());
   16330  1.1  riastrad 	}
   16331  1.1  riastrad       /* dlclose (self); */
   16332  1.1  riastrad     }
   16333  1.1  riastrad   else
   16334  1.1  riastrad     puts (dlerror ());
   16335  1.1  riastrad 
   16336  1.1  riastrad   return status;
   16337  1.1  riastrad }
   16338  1.1  riastrad _LT_EOF
   16339  1.1  riastrad   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   16340  1.1  riastrad   (eval $ac_link) 2>&5
   16341  1.1  riastrad   ac_status=$?
   16342  1.1  riastrad   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16343  1.1  riastrad   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   16344  1.1  riastrad     (./conftest; exit; ) >&5 2>/dev/null
   16345  1.1  riastrad     lt_status=$?
   16346  1.1  riastrad     case x$lt_status in
   16347  1.1  riastrad       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   16348  1.1  riastrad       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   16349  1.1  riastrad       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   16350  1.1  riastrad     esac
   16351  1.1  riastrad   else :
   16352  1.1  riastrad     # compilation failed
   16353  1.1  riastrad     lt_cv_dlopen_self_static=no
   16354  1.1  riastrad   fi
   16355  1.1  riastrad fi
   16356  1.1  riastrad rm -fr conftest*
   16357  1.1  riastrad 
   16358  1.1  riastrad 
   16359  1.1  riastrad fi
   16360  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   16361  1.1  riastrad $as_echo "$lt_cv_dlopen_self_static" >&6; }
   16362  1.1  riastrad     fi
   16363  1.1  riastrad 
   16364  1.1  riastrad     CPPFLAGS=$save_CPPFLAGS
   16365  1.1  riastrad     LDFLAGS=$save_LDFLAGS
   16366  1.1  riastrad     LIBS=$save_LIBS
   16367  1.1  riastrad     ;;
   16368  1.1  riastrad   esac
   16369  1.1  riastrad 
   16370  1.1  riastrad   case $lt_cv_dlopen_self in
   16371  1.1  riastrad   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   16372  1.1  riastrad   *) enable_dlopen_self=unknown ;;
   16373  1.1  riastrad   esac
   16374  1.1  riastrad 
   16375  1.1  riastrad   case $lt_cv_dlopen_self_static in
   16376  1.1  riastrad   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   16377  1.1  riastrad   *) enable_dlopen_self_static=unknown ;;
   16378  1.1  riastrad   esac
   16379  1.1  riastrad fi
   16380  1.1  riastrad 
   16381  1.1  riastrad 
   16382  1.1  riastrad 
   16383  1.1  riastrad 
   16384  1.1  riastrad 
   16385  1.1  riastrad 
   16386  1.1  riastrad 
   16387  1.1  riastrad 
   16388  1.1  riastrad 
   16389  1.1  riastrad 
   16390  1.1  riastrad 
   16391  1.1  riastrad 
   16392  1.1  riastrad 
   16393  1.1  riastrad 
   16394  1.1  riastrad 
   16395  1.1  riastrad 
   16396  1.1  riastrad 
   16397  1.1  riastrad striplib=
   16398  1.1  riastrad old_striplib=
   16399  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   16400  1.1  riastrad $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   16401  1.1  riastrad if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   16402  1.1  riastrad   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   16403  1.1  riastrad   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   16404  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16405  1.1  riastrad $as_echo "yes" >&6; }
   16406  1.1  riastrad else
   16407  1.1  riastrad # FIXME - insert some real tests, host_os isn't really good enough
   16408  1.1  riastrad   case $host_os in
   16409  1.1  riastrad   darwin*)
   16410  1.1  riastrad     if test -n "$STRIP"; then
   16411  1.1  riastrad       striplib="$STRIP -x"
   16412  1.1  riastrad       old_striplib="$STRIP -S"
   16413  1.1  riastrad       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16414  1.1  riastrad $as_echo "yes" >&6; }
   16415  1.1  riastrad     else
   16416  1.1  riastrad       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16417  1.1  riastrad $as_echo "no" >&6; }
   16418  1.1  riastrad     fi
   16419  1.1  riastrad     ;;
   16420  1.1  riastrad   *)
   16421  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16422  1.1  riastrad $as_echo "no" >&6; }
   16423  1.1  riastrad     ;;
   16424  1.1  riastrad   esac
   16425  1.1  riastrad fi
   16426  1.1  riastrad 
   16427  1.1  riastrad 
   16428  1.1  riastrad 
   16429  1.1  riastrad 
   16430  1.1  riastrad 
   16431  1.1  riastrad 
   16432  1.1  riastrad 
   16433  1.1  riastrad 
   16434  1.1  riastrad 
   16435  1.1  riastrad 
   16436  1.1  riastrad 
   16437  1.1  riastrad 
   16438  1.1  riastrad   # Report what library types will actually be built
   16439  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   16440  1.1  riastrad $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   16441  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   16442  1.1  riastrad $as_echo "$can_build_shared" >&6; }
   16443  1.1  riastrad 
   16444  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   16445  1.1  riastrad $as_echo_n "checking whether to build shared libraries... " >&6; }
   16446  1.1  riastrad   test no = "$can_build_shared" && enable_shared=no
   16447  1.1  riastrad 
   16448  1.1  riastrad   # On AIX, shared libraries and static libraries use the same namespace, and
   16449  1.1  riastrad   # are all built from PIC.
   16450  1.1  riastrad   case $host_os in
   16451  1.1  riastrad   aix3*)
   16452  1.1  riastrad     test yes = "$enable_shared" && enable_static=no
   16453  1.1  riastrad     if test -n "$RANLIB"; then
   16454  1.1  riastrad       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   16455  1.1  riastrad       postinstall_cmds='$RANLIB $lib'
   16456  1.1  riastrad     fi
   16457  1.1  riastrad     ;;
   16458  1.1  riastrad 
   16459  1.1  riastrad   aix[4-9]*)
   16460  1.1  riastrad     if test ia64 != "$host_cpu"; then
   16461  1.1  riastrad       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   16462  1.1  riastrad       yes,aix,yes) ;;			# shared object as lib.so file only
   16463  1.1  riastrad       yes,svr4,*) ;;			# shared object as lib.so archive member only
   16464  1.1  riastrad       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   16465  1.1  riastrad       esac
   16466  1.1  riastrad     fi
   16467  1.1  riastrad     ;;
   16468  1.1  riastrad   esac
   16469  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   16470  1.1  riastrad $as_echo "$enable_shared" >&6; }
   16471  1.1  riastrad 
   16472  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   16473  1.1  riastrad $as_echo_n "checking whether to build static libraries... " >&6; }
   16474  1.1  riastrad   # Make sure either enable_shared or enable_static is yes.
   16475  1.1  riastrad   test yes = "$enable_shared" || enable_static=yes
   16476  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   16477  1.1  riastrad $as_echo "$enable_static" >&6; }
   16478  1.1  riastrad 
   16479  1.1  riastrad 
   16480  1.1  riastrad 
   16481  1.1  riastrad 
   16482  1.1  riastrad fi
   16483  1.1  riastrad ac_ext=c
   16484  1.1  riastrad ac_cpp='$CPP $CPPFLAGS'
   16485  1.1  riastrad ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16486  1.1  riastrad ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16487  1.1  riastrad ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16488  1.1  riastrad 
   16489  1.1  riastrad CC=$lt_save_CC
   16490  1.1  riastrad 
   16491  1.1  riastrad 
   16492  1.1  riastrad 
   16493  1.1  riastrad 
   16494  1.1  riastrad 
   16495  1.1  riastrad 
   16496  1.1  riastrad 
   16497  1.1  riastrad 
   16498  1.1  riastrad 
   16499  1.1  riastrad 
   16500  1.1  riastrad 
   16501  1.1  riastrad 
   16502  1.1  riastrad 
   16503  1.1  riastrad 
   16504  1.1  riastrad 
   16505  1.1  riastrad         ac_config_commands="$ac_config_commands libtool"
   16506  1.1  riastrad 
   16507  1.1  riastrad 
   16508  1.1  riastrad 
   16509  1.1  riastrad 
   16510  1.1  riastrad # Only expand once:
   16511  1.1  riastrad 
   16512  1.1  riastrad 
   16513  1.1  riastrad 
   16514  1.1  riastrad 
   16515  1.1  riastrad 
   16516  1.1  riastrad if test -n "$ac_tool_prefix"; then
   16517  1.1  riastrad   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   16518  1.1  riastrad set dummy ${ac_tool_prefix}ar; ac_word=$2
   16519  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16520  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   16521  1.1  riastrad if ${ac_cv_prog_AR+:} false; then :
   16522  1.1  riastrad   $as_echo_n "(cached) " >&6
   16523  1.1  riastrad else
   16524  1.1  riastrad   if test -n "$AR"; then
   16525  1.1  riastrad   ac_cv_prog_AR="$AR" # Let the user override the test.
   16526  1.1  riastrad else
   16527  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16528  1.1  riastrad for as_dir in $PATH
   16529  1.1  riastrad do
   16530  1.1  riastrad   IFS=$as_save_IFS
   16531  1.1  riastrad   test -z "$as_dir" && as_dir=.
   16532  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   16533  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16534  1.1  riastrad     ac_cv_prog_AR="${ac_tool_prefix}ar"
   16535  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16536  1.1  riastrad     break 2
   16537  1.1  riastrad   fi
   16538  1.1  riastrad done
   16539  1.1  riastrad   done
   16540  1.1  riastrad IFS=$as_save_IFS
   16541  1.1  riastrad 
   16542  1.1  riastrad fi
   16543  1.1  riastrad fi
   16544  1.1  riastrad AR=$ac_cv_prog_AR
   16545  1.1  riastrad if test -n "$AR"; then
   16546  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   16547  1.1  riastrad $as_echo "$AR" >&6; }
   16548  1.1  riastrad else
   16549  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16550  1.1  riastrad $as_echo "no" >&6; }
   16551  1.1  riastrad fi
   16552  1.1  riastrad 
   16553  1.1  riastrad 
   16554  1.1  riastrad fi
   16555  1.1  riastrad if test -z "$ac_cv_prog_AR"; then
   16556  1.1  riastrad   ac_ct_AR=$AR
   16557  1.1  riastrad   # Extract the first word of "ar", so it can be a program name with args.
   16558  1.1  riastrad set dummy ar; ac_word=$2
   16559  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16560  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   16561  1.1  riastrad if ${ac_cv_prog_ac_ct_AR+:} false; then :
   16562  1.1  riastrad   $as_echo_n "(cached) " >&6
   16563  1.1  riastrad else
   16564  1.1  riastrad   if test -n "$ac_ct_AR"; then
   16565  1.1  riastrad   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   16566  1.1  riastrad else
   16567  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16568  1.1  riastrad for as_dir in $PATH
   16569  1.1  riastrad do
   16570  1.1  riastrad   IFS=$as_save_IFS
   16571  1.1  riastrad   test -z "$as_dir" && as_dir=.
   16572  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   16573  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16574  1.1  riastrad     ac_cv_prog_ac_ct_AR="ar"
   16575  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16576  1.1  riastrad     break 2
   16577  1.1  riastrad   fi
   16578  1.1  riastrad done
   16579  1.1  riastrad   done
   16580  1.1  riastrad IFS=$as_save_IFS
   16581  1.1  riastrad 
   16582  1.1  riastrad fi
   16583  1.1  riastrad fi
   16584  1.1  riastrad ac_ct_AR=$ac_cv_prog_ac_ct_AR
   16585  1.1  riastrad if test -n "$ac_ct_AR"; then
   16586  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   16587  1.1  riastrad $as_echo "$ac_ct_AR" >&6; }
   16588  1.1  riastrad else
   16589  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16590  1.1  riastrad $as_echo "no" >&6; }
   16591  1.1  riastrad fi
   16592  1.1  riastrad 
   16593  1.1  riastrad   if test "x$ac_ct_AR" = x; then
   16594  1.1  riastrad     AR="ar"
   16595  1.1  riastrad   else
   16596  1.1  riastrad     case $cross_compiling:$ac_tool_warned in
   16597  1.1  riastrad yes:)
   16598  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   16599  1.1  riastrad $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   16600  1.1  riastrad ac_tool_warned=yes ;;
   16601  1.1  riastrad esac
   16602  1.1  riastrad     AR=$ac_ct_AR
   16603  1.1  riastrad   fi
   16604  1.1  riastrad else
   16605  1.1  riastrad   AR="$ac_cv_prog_AR"
   16606  1.1  riastrad fi
   16607  1.1  riastrad 
   16608  1.1  riastrad 
   16609  1.1  riastrad 
   16610  1.1  riastrad if test "x$EMSCRIPTEN" = "x" -a "$host_os" != "pnacl"; then :
   16611  1.1  riastrad 
   16612  1.1  riastrad 
   16613  1.1  riastrad   oldcflags="$CFLAGS"
   16614  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mmmx" >&5
   16615  1.1  riastrad $as_echo_n "checking whether C compiler accepts -mmmx... " >&6; }
   16616  1.1  riastrad if ${ax_cv_check_cflags___mmmx+:} false; then :
   16617  1.1  riastrad   $as_echo_n "(cached) " >&6
   16618  1.1  riastrad else
   16619  1.1  riastrad 
   16620  1.1  riastrad   ax_check_save_flags=$CFLAGS
   16621  1.1  riastrad   CFLAGS="$CFLAGS  -mmmx"
   16622  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16623  1.1  riastrad /* end confdefs.h.  */
   16624  1.1  riastrad #include <time.h>
   16625  1.1  riastrad int
   16626  1.1  riastrad main ()
   16627  1.1  riastrad {
   16628  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   16629  1.1  riastrad   ;
   16630  1.1  riastrad   return 0;
   16631  1.1  riastrad }
   16632  1.1  riastrad _ACEOF
   16633  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   16634  1.1  riastrad   ax_cv_check_cflags___mmmx=yes
   16635  1.1  riastrad else
   16636  1.1  riastrad   ax_cv_check_cflags___mmmx=no
   16637  1.1  riastrad fi
   16638  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   16639  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   16640  1.1  riastrad   CFLAGS=$ax_check_save_flags
   16641  1.1  riastrad fi
   16642  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mmmx" >&5
   16643  1.1  riastrad $as_echo "$ax_cv_check_cflags___mmmx" >&6; }
   16644  1.1  riastrad if test "x$ax_cv_check_cflags___mmmx" = xyes; then :
   16645  1.1  riastrad   CFLAGS="$CFLAGS -mmmx"
   16646  1.1  riastrad else
   16647  1.1  riastrad   :
   16648  1.1  riastrad fi
   16649  1.1  riastrad 
   16650  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MMX instructions set" >&5
   16651  1.1  riastrad $as_echo_n "checking for MMX instructions set... " >&6; }
   16652  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16653  1.1  riastrad /* end confdefs.h.  */
   16654  1.1  riastrad 
   16655  1.1  riastrad #pragma GCC target("mmx")
   16656  1.1  riastrad #include <mmintrin.h>
   16657  1.1  riastrad 
   16658  1.1  riastrad int
   16659  1.1  riastrad main ()
   16660  1.1  riastrad {
   16661  1.1  riastrad  __m64 x = _mm_setzero_si64();
   16662  1.1  riastrad   ;
   16663  1.1  riastrad   return 0;
   16664  1.1  riastrad }
   16665  1.1  riastrad _ACEOF
   16666  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   16667  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16668  1.1  riastrad $as_echo "yes" >&6; }
   16669  1.1  riastrad 
   16670  1.1  riastrad $as_echo "#define HAVE_MMINTRIN_H 1" >>confdefs.h
   16671  1.1  riastrad 
   16672  1.1  riastrad      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mmmx" >&5
   16673  1.1  riastrad $as_echo_n "checking whether C compiler accepts -mmmx... " >&6; }
   16674  1.1  riastrad if ${ax_cv_check_cflags___mmmx+:} false; then :
   16675  1.1  riastrad   $as_echo_n "(cached) " >&6
   16676  1.1  riastrad else
   16677  1.1  riastrad 
   16678  1.1  riastrad   ax_check_save_flags=$CFLAGS
   16679  1.1  riastrad   CFLAGS="$CFLAGS  -mmmx"
   16680  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16681  1.1  riastrad /* end confdefs.h.  */
   16682  1.1  riastrad #include <time.h>
   16683  1.1  riastrad int
   16684  1.1  riastrad main ()
   16685  1.1  riastrad {
   16686  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   16687  1.1  riastrad   ;
   16688  1.1  riastrad   return 0;
   16689  1.1  riastrad }
   16690  1.1  riastrad _ACEOF
   16691  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   16692  1.1  riastrad   ax_cv_check_cflags___mmmx=yes
   16693  1.1  riastrad else
   16694  1.1  riastrad   ax_cv_check_cflags___mmmx=no
   16695  1.1  riastrad fi
   16696  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   16697  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   16698  1.1  riastrad   CFLAGS=$ax_check_save_flags
   16699  1.1  riastrad fi
   16700  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mmmx" >&5
   16701  1.1  riastrad $as_echo "$ax_cv_check_cflags___mmmx" >&6; }
   16702  1.1  riastrad if test "x$ax_cv_check_cflags___mmmx" = xyes; then :
   16703  1.1  riastrad   CFLAGS_MMX="-mmmx"
   16704  1.1  riastrad else
   16705  1.1  riastrad   :
   16706  1.1  riastrad fi
   16707  1.1  riastrad 
   16708  1.1  riastrad else
   16709  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16710  1.1  riastrad $as_echo "no" >&6; }
   16711  1.1  riastrad fi
   16712  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16713  1.1  riastrad   CFLAGS="$oldcflags"
   16714  1.1  riastrad 
   16715  1.1  riastrad   oldcflags="$CFLAGS"
   16716  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -msse2" >&5
   16717  1.1  riastrad $as_echo_n "checking whether C compiler accepts -msse2... " >&6; }
   16718  1.1  riastrad if ${ax_cv_check_cflags___msse2+:} false; then :
   16719  1.1  riastrad   $as_echo_n "(cached) " >&6
   16720  1.1  riastrad else
   16721  1.1  riastrad 
   16722  1.1  riastrad   ax_check_save_flags=$CFLAGS
   16723  1.1  riastrad   CFLAGS="$CFLAGS  -msse2"
   16724  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16725  1.1  riastrad /* end confdefs.h.  */
   16726  1.1  riastrad #include <time.h>
   16727  1.1  riastrad int
   16728  1.1  riastrad main ()
   16729  1.1  riastrad {
   16730  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   16731  1.1  riastrad   ;
   16732  1.1  riastrad   return 0;
   16733  1.1  riastrad }
   16734  1.1  riastrad _ACEOF
   16735  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   16736  1.1  riastrad   ax_cv_check_cflags___msse2=yes
   16737  1.1  riastrad else
   16738  1.1  riastrad   ax_cv_check_cflags___msse2=no
   16739  1.1  riastrad fi
   16740  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   16741  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   16742  1.1  riastrad   CFLAGS=$ax_check_save_flags
   16743  1.1  riastrad fi
   16744  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___msse2" >&5
   16745  1.1  riastrad $as_echo "$ax_cv_check_cflags___msse2" >&6; }
   16746  1.1  riastrad if test "x$ax_cv_check_cflags___msse2" = xyes; then :
   16747  1.1  riastrad   CFLAGS="$CFLAGS -msse2"
   16748  1.1  riastrad else
   16749  1.1  riastrad   :
   16750  1.1  riastrad fi
   16751  1.1  riastrad 
   16752  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSE2 instructions set" >&5
   16753  1.1  riastrad $as_echo_n "checking for SSE2 instructions set... " >&6; }
   16754  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16755  1.1  riastrad /* end confdefs.h.  */
   16756  1.1  riastrad 
   16757  1.1  riastrad #pragma GCC target("sse2")
   16758  1.1  riastrad #ifndef __SSE2__
   16759  1.1  riastrad # define __SSE2__
   16760  1.1  riastrad #endif
   16761  1.1  riastrad #include <emmintrin.h>
   16762  1.1  riastrad 
   16763  1.1  riastrad int
   16764  1.1  riastrad main ()
   16765  1.1  riastrad {
   16766  1.1  riastrad  __m128d x = _mm_setzero_pd();
   16767  1.1  riastrad        __m128i z = _mm_srli_epi64(_mm_setzero_si128(), 26);
   16768  1.1  riastrad   ;
   16769  1.1  riastrad   return 0;
   16770  1.1  riastrad }
   16771  1.1  riastrad _ACEOF
   16772  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   16773  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16774  1.1  riastrad $as_echo "yes" >&6; }
   16775  1.1  riastrad 
   16776  1.1  riastrad $as_echo "#define HAVE_EMMINTRIN_H 1" >>confdefs.h
   16777  1.1  riastrad 
   16778  1.1  riastrad      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -msse2" >&5
   16779  1.1  riastrad $as_echo_n "checking whether C compiler accepts -msse2... " >&6; }
   16780  1.1  riastrad if ${ax_cv_check_cflags___msse2+:} false; then :
   16781  1.1  riastrad   $as_echo_n "(cached) " >&6
   16782  1.1  riastrad else
   16783  1.1  riastrad 
   16784  1.1  riastrad   ax_check_save_flags=$CFLAGS
   16785  1.1  riastrad   CFLAGS="$CFLAGS  -msse2"
   16786  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16787  1.1  riastrad /* end confdefs.h.  */
   16788  1.1  riastrad #include <time.h>
   16789  1.1  riastrad int
   16790  1.1  riastrad main ()
   16791  1.1  riastrad {
   16792  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   16793  1.1  riastrad   ;
   16794  1.1  riastrad   return 0;
   16795  1.1  riastrad }
   16796  1.1  riastrad _ACEOF
   16797  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   16798  1.1  riastrad   ax_cv_check_cflags___msse2=yes
   16799  1.1  riastrad else
   16800  1.1  riastrad   ax_cv_check_cflags___msse2=no
   16801  1.1  riastrad fi
   16802  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   16803  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   16804  1.1  riastrad   CFLAGS=$ax_check_save_flags
   16805  1.1  riastrad fi
   16806  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___msse2" >&5
   16807  1.1  riastrad $as_echo "$ax_cv_check_cflags___msse2" >&6; }
   16808  1.1  riastrad if test "x$ax_cv_check_cflags___msse2" = xyes; then :
   16809  1.1  riastrad   CFLAGS_SSE2="-msse2"
   16810  1.1  riastrad else
   16811  1.1  riastrad   :
   16812  1.1  riastrad fi
   16813  1.1  riastrad 
   16814  1.1  riastrad else
   16815  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16816  1.1  riastrad $as_echo "no" >&6; }
   16817  1.1  riastrad fi
   16818  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16819  1.1  riastrad   CFLAGS="$oldcflags"
   16820  1.1  riastrad 
   16821  1.1  riastrad   oldcflags="$CFLAGS"
   16822  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -msse3" >&5
   16823  1.1  riastrad $as_echo_n "checking whether C compiler accepts -msse3... " >&6; }
   16824  1.1  riastrad if ${ax_cv_check_cflags___msse3+:} false; then :
   16825  1.1  riastrad   $as_echo_n "(cached) " >&6
   16826  1.1  riastrad else
   16827  1.1  riastrad 
   16828  1.1  riastrad   ax_check_save_flags=$CFLAGS
   16829  1.1  riastrad   CFLAGS="$CFLAGS  -msse3"
   16830  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16831  1.1  riastrad /* end confdefs.h.  */
   16832  1.1  riastrad #include <time.h>
   16833  1.1  riastrad int
   16834  1.1  riastrad main ()
   16835  1.1  riastrad {
   16836  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   16837  1.1  riastrad   ;
   16838  1.1  riastrad   return 0;
   16839  1.1  riastrad }
   16840  1.1  riastrad _ACEOF
   16841  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   16842  1.1  riastrad   ax_cv_check_cflags___msse3=yes
   16843  1.1  riastrad else
   16844  1.1  riastrad   ax_cv_check_cflags___msse3=no
   16845  1.1  riastrad fi
   16846  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   16847  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   16848  1.1  riastrad   CFLAGS=$ax_check_save_flags
   16849  1.1  riastrad fi
   16850  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___msse3" >&5
   16851  1.1  riastrad $as_echo "$ax_cv_check_cflags___msse3" >&6; }
   16852  1.1  riastrad if test "x$ax_cv_check_cflags___msse3" = xyes; then :
   16853  1.1  riastrad   CFLAGS="$CFLAGS -msse3"
   16854  1.1  riastrad else
   16855  1.1  riastrad   :
   16856  1.1  riastrad fi
   16857  1.1  riastrad 
   16858  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSE3 instructions set" >&5
   16859  1.1  riastrad $as_echo_n "checking for SSE3 instructions set... " >&6; }
   16860  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16861  1.1  riastrad /* end confdefs.h.  */
   16862  1.1  riastrad 
   16863  1.1  riastrad #pragma GCC target("sse3")
   16864  1.1  riastrad #include <pmmintrin.h>
   16865  1.1  riastrad 
   16866  1.1  riastrad int
   16867  1.1  riastrad main ()
   16868  1.1  riastrad {
   16869  1.1  riastrad  __m128 x = _mm_addsub_ps(_mm_cvtpd_ps(_mm_setzero_pd()),
   16870  1.1  riastrad                                 _mm_cvtpd_ps(_mm_setzero_pd()));
   16871  1.1  riastrad   ;
   16872  1.1  riastrad   return 0;
   16873  1.1  riastrad }
   16874  1.1  riastrad _ACEOF
   16875  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   16876  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16877  1.1  riastrad $as_echo "yes" >&6; }
   16878  1.1  riastrad 
   16879  1.1  riastrad $as_echo "#define HAVE_PMMINTRIN_H 1" >>confdefs.h
   16880  1.1  riastrad 
   16881  1.1  riastrad      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -msse3" >&5
   16882  1.1  riastrad $as_echo_n "checking whether C compiler accepts -msse3... " >&6; }
   16883  1.1  riastrad if ${ax_cv_check_cflags___msse3+:} false; then :
   16884  1.1  riastrad   $as_echo_n "(cached) " >&6
   16885  1.1  riastrad else
   16886  1.1  riastrad 
   16887  1.1  riastrad   ax_check_save_flags=$CFLAGS
   16888  1.1  riastrad   CFLAGS="$CFLAGS  -msse3"
   16889  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16890  1.1  riastrad /* end confdefs.h.  */
   16891  1.1  riastrad #include <time.h>
   16892  1.1  riastrad int
   16893  1.1  riastrad main ()
   16894  1.1  riastrad {
   16895  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   16896  1.1  riastrad   ;
   16897  1.1  riastrad   return 0;
   16898  1.1  riastrad }
   16899  1.1  riastrad _ACEOF
   16900  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   16901  1.1  riastrad   ax_cv_check_cflags___msse3=yes
   16902  1.1  riastrad else
   16903  1.1  riastrad   ax_cv_check_cflags___msse3=no
   16904  1.1  riastrad fi
   16905  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   16906  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   16907  1.1  riastrad   CFLAGS=$ax_check_save_flags
   16908  1.1  riastrad fi
   16909  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___msse3" >&5
   16910  1.1  riastrad $as_echo "$ax_cv_check_cflags___msse3" >&6; }
   16911  1.1  riastrad if test "x$ax_cv_check_cflags___msse3" = xyes; then :
   16912  1.1  riastrad   CFLAGS_SSE3="-msse3"
   16913  1.1  riastrad else
   16914  1.1  riastrad   :
   16915  1.1  riastrad fi
   16916  1.1  riastrad 
   16917  1.1  riastrad else
   16918  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16919  1.1  riastrad $as_echo "no" >&6; }
   16920  1.1  riastrad fi
   16921  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16922  1.1  riastrad   CFLAGS="$oldcflags"
   16923  1.1  riastrad 
   16924  1.1  riastrad   oldcflags="$CFLAGS"
   16925  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mssse3" >&5
   16926  1.1  riastrad $as_echo_n "checking whether C compiler accepts -mssse3... " >&6; }
   16927  1.1  riastrad if ${ax_cv_check_cflags___mssse3+:} false; then :
   16928  1.1  riastrad   $as_echo_n "(cached) " >&6
   16929  1.1  riastrad else
   16930  1.1  riastrad 
   16931  1.1  riastrad   ax_check_save_flags=$CFLAGS
   16932  1.1  riastrad   CFLAGS="$CFLAGS  -mssse3"
   16933  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16934  1.1  riastrad /* end confdefs.h.  */
   16935  1.1  riastrad #include <time.h>
   16936  1.1  riastrad int
   16937  1.1  riastrad main ()
   16938  1.1  riastrad {
   16939  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   16940  1.1  riastrad   ;
   16941  1.1  riastrad   return 0;
   16942  1.1  riastrad }
   16943  1.1  riastrad _ACEOF
   16944  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   16945  1.1  riastrad   ax_cv_check_cflags___mssse3=yes
   16946  1.1  riastrad else
   16947  1.1  riastrad   ax_cv_check_cflags___mssse3=no
   16948  1.1  riastrad fi
   16949  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   16950  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   16951  1.1  riastrad   CFLAGS=$ax_check_save_flags
   16952  1.1  riastrad fi
   16953  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mssse3" >&5
   16954  1.1  riastrad $as_echo "$ax_cv_check_cflags___mssse3" >&6; }
   16955  1.1  riastrad if test "x$ax_cv_check_cflags___mssse3" = xyes; then :
   16956  1.1  riastrad   CFLAGS="$CFLAGS -mssse3"
   16957  1.1  riastrad else
   16958  1.1  riastrad   :
   16959  1.1  riastrad fi
   16960  1.1  riastrad 
   16961  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSSE3 instructions set" >&5
   16962  1.1  riastrad $as_echo_n "checking for SSSE3 instructions set... " >&6; }
   16963  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16964  1.1  riastrad /* end confdefs.h.  */
   16965  1.1  riastrad 
   16966  1.1  riastrad #pragma GCC target("ssse3")
   16967  1.1  riastrad #include <tmmintrin.h>
   16968  1.1  riastrad 
   16969  1.1  riastrad int
   16970  1.1  riastrad main ()
   16971  1.1  riastrad {
   16972  1.1  riastrad  __m64 x = _mm_abs_pi32(_m_from_int(0));
   16973  1.1  riastrad   ;
   16974  1.1  riastrad   return 0;
   16975  1.1  riastrad }
   16976  1.1  riastrad _ACEOF
   16977  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   16978  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16979  1.1  riastrad $as_echo "yes" >&6; }
   16980  1.1  riastrad 
   16981  1.1  riastrad $as_echo "#define HAVE_TMMINTRIN_H 1" >>confdefs.h
   16982  1.1  riastrad 
   16983  1.1  riastrad      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mssse3" >&5
   16984  1.1  riastrad $as_echo_n "checking whether C compiler accepts -mssse3... " >&6; }
   16985  1.1  riastrad if ${ax_cv_check_cflags___mssse3+:} false; then :
   16986  1.1  riastrad   $as_echo_n "(cached) " >&6
   16987  1.1  riastrad else
   16988  1.1  riastrad 
   16989  1.1  riastrad   ax_check_save_flags=$CFLAGS
   16990  1.1  riastrad   CFLAGS="$CFLAGS  -mssse3"
   16991  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16992  1.1  riastrad /* end confdefs.h.  */
   16993  1.1  riastrad #include <time.h>
   16994  1.1  riastrad int
   16995  1.1  riastrad main ()
   16996  1.1  riastrad {
   16997  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   16998  1.1  riastrad   ;
   16999  1.1  riastrad   return 0;
   17000  1.1  riastrad }
   17001  1.1  riastrad _ACEOF
   17002  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   17003  1.1  riastrad   ax_cv_check_cflags___mssse3=yes
   17004  1.1  riastrad else
   17005  1.1  riastrad   ax_cv_check_cflags___mssse3=no
   17006  1.1  riastrad fi
   17007  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   17008  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   17009  1.1  riastrad   CFLAGS=$ax_check_save_flags
   17010  1.1  riastrad fi
   17011  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mssse3" >&5
   17012  1.1  riastrad $as_echo "$ax_cv_check_cflags___mssse3" >&6; }
   17013  1.1  riastrad if test "x$ax_cv_check_cflags___mssse3" = xyes; then :
   17014  1.1  riastrad   CFLAGS_SSSE3="-mssse3"
   17015  1.1  riastrad else
   17016  1.1  riastrad   :
   17017  1.1  riastrad fi
   17018  1.1  riastrad 
   17019  1.1  riastrad else
   17020  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17021  1.1  riastrad $as_echo "no" >&6; }
   17022  1.1  riastrad fi
   17023  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17024  1.1  riastrad   CFLAGS="$oldcflags"
   17025  1.1  riastrad 
   17026  1.1  riastrad   oldcflags="$CFLAGS"
   17027  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -msse4.1" >&5
   17028  1.1  riastrad $as_echo_n "checking whether C compiler accepts -msse4.1... " >&6; }
   17029  1.1  riastrad if ${ax_cv_check_cflags___msse4_1+:} false; then :
   17030  1.1  riastrad   $as_echo_n "(cached) " >&6
   17031  1.1  riastrad else
   17032  1.1  riastrad 
   17033  1.1  riastrad   ax_check_save_flags=$CFLAGS
   17034  1.1  riastrad   CFLAGS="$CFLAGS  -msse4.1"
   17035  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17036  1.1  riastrad /* end confdefs.h.  */
   17037  1.1  riastrad #include <time.h>
   17038  1.1  riastrad int
   17039  1.1  riastrad main ()
   17040  1.1  riastrad {
   17041  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   17042  1.1  riastrad   ;
   17043  1.1  riastrad   return 0;
   17044  1.1  riastrad }
   17045  1.1  riastrad _ACEOF
   17046  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   17047  1.1  riastrad   ax_cv_check_cflags___msse4_1=yes
   17048  1.1  riastrad else
   17049  1.1  riastrad   ax_cv_check_cflags___msse4_1=no
   17050  1.1  riastrad fi
   17051  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   17052  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   17053  1.1  riastrad   CFLAGS=$ax_check_save_flags
   17054  1.1  riastrad fi
   17055  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___msse4_1" >&5
   17056  1.1  riastrad $as_echo "$ax_cv_check_cflags___msse4_1" >&6; }
   17057  1.1  riastrad if test "x$ax_cv_check_cflags___msse4_1" = xyes; then :
   17058  1.1  riastrad   CFLAGS="$CFLAGS -msse4.1"
   17059  1.1  riastrad else
   17060  1.1  riastrad   :
   17061  1.1  riastrad fi
   17062  1.1  riastrad 
   17063  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSE4.1 instructions set" >&5
   17064  1.1  riastrad $as_echo_n "checking for SSE4.1 instructions set... " >&6; }
   17065  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17066  1.1  riastrad /* end confdefs.h.  */
   17067  1.1  riastrad 
   17068  1.1  riastrad #pragma GCC target("sse4.1")
   17069  1.1  riastrad #include <smmintrin.h>
   17070  1.1  riastrad 
   17071  1.1  riastrad int
   17072  1.1  riastrad main ()
   17073  1.1  riastrad {
   17074  1.1  riastrad  __m128i x = _mm_minpos_epu16(_mm_setzero_si128());
   17075  1.1  riastrad   ;
   17076  1.1  riastrad   return 0;
   17077  1.1  riastrad }
   17078  1.1  riastrad _ACEOF
   17079  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   17080  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17081  1.1  riastrad $as_echo "yes" >&6; }
   17082  1.1  riastrad 
   17083  1.1  riastrad $as_echo "#define HAVE_SMMINTRIN_H 1" >>confdefs.h
   17084  1.1  riastrad 
   17085  1.1  riastrad      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -msse4.1" >&5
   17086  1.1  riastrad $as_echo_n "checking whether C compiler accepts -msse4.1... " >&6; }
   17087  1.1  riastrad if ${ax_cv_check_cflags___msse4_1+:} false; then :
   17088  1.1  riastrad   $as_echo_n "(cached) " >&6
   17089  1.1  riastrad else
   17090  1.1  riastrad 
   17091  1.1  riastrad   ax_check_save_flags=$CFLAGS
   17092  1.1  riastrad   CFLAGS="$CFLAGS  -msse4.1"
   17093  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17094  1.1  riastrad /* end confdefs.h.  */
   17095  1.1  riastrad #include <time.h>
   17096  1.1  riastrad int
   17097  1.1  riastrad main ()
   17098  1.1  riastrad {
   17099  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   17100  1.1  riastrad   ;
   17101  1.1  riastrad   return 0;
   17102  1.1  riastrad }
   17103  1.1  riastrad _ACEOF
   17104  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   17105  1.1  riastrad   ax_cv_check_cflags___msse4_1=yes
   17106  1.1  riastrad else
   17107  1.1  riastrad   ax_cv_check_cflags___msse4_1=no
   17108  1.1  riastrad fi
   17109  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   17110  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   17111  1.1  riastrad   CFLAGS=$ax_check_save_flags
   17112  1.1  riastrad fi
   17113  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___msse4_1" >&5
   17114  1.1  riastrad $as_echo "$ax_cv_check_cflags___msse4_1" >&6; }
   17115  1.1  riastrad if test "x$ax_cv_check_cflags___msse4_1" = xyes; then :
   17116  1.1  riastrad   CFLAGS_SSE41="-msse4.1"
   17117  1.1  riastrad else
   17118  1.1  riastrad   :
   17119  1.1  riastrad fi
   17120  1.1  riastrad 
   17121  1.1  riastrad else
   17122  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17123  1.1  riastrad $as_echo "no" >&6; }
   17124  1.1  riastrad fi
   17125  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17126  1.1  riastrad   CFLAGS="$oldcflags"
   17127  1.1  riastrad 
   17128  1.1  riastrad   oldcflags="$CFLAGS"
   17129  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mavx" >&5
   17130  1.1  riastrad $as_echo_n "checking whether C compiler accepts -mavx... " >&6; }
   17131  1.1  riastrad if ${ax_cv_check_cflags___mavx+:} false; then :
   17132  1.1  riastrad   $as_echo_n "(cached) " >&6
   17133  1.1  riastrad else
   17134  1.1  riastrad 
   17135  1.1  riastrad   ax_check_save_flags=$CFLAGS
   17136  1.1  riastrad   CFLAGS="$CFLAGS  -mavx"
   17137  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17138  1.1  riastrad /* end confdefs.h.  */
   17139  1.1  riastrad #include <time.h>
   17140  1.1  riastrad int
   17141  1.1  riastrad main ()
   17142  1.1  riastrad {
   17143  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   17144  1.1  riastrad   ;
   17145  1.1  riastrad   return 0;
   17146  1.1  riastrad }
   17147  1.1  riastrad _ACEOF
   17148  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   17149  1.1  riastrad   ax_cv_check_cflags___mavx=yes
   17150  1.1  riastrad else
   17151  1.1  riastrad   ax_cv_check_cflags___mavx=no
   17152  1.1  riastrad fi
   17153  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   17154  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   17155  1.1  riastrad   CFLAGS=$ax_check_save_flags
   17156  1.1  riastrad fi
   17157  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mavx" >&5
   17158  1.1  riastrad $as_echo "$ax_cv_check_cflags___mavx" >&6; }
   17159  1.1  riastrad if test "x$ax_cv_check_cflags___mavx" = xyes; then :
   17160  1.1  riastrad   CFLAGS="$CFLAGS -mavx"
   17161  1.1  riastrad else
   17162  1.1  riastrad   :
   17163  1.1  riastrad fi
   17164  1.1  riastrad 
   17165  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AVX instructions set" >&5
   17166  1.1  riastrad $as_echo_n "checking for AVX instructions set... " >&6; }
   17167  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17168  1.1  riastrad /* end confdefs.h.  */
   17169  1.1  riastrad 
   17170  1.1  riastrad #ifdef __native_client__
   17171  1.1  riastrad # error NativeClient detected - Avoiding AVX opcodes
   17172  1.1  riastrad #endif
   17173  1.1  riastrad #pragma GCC target("avx")
   17174  1.1  riastrad #include <immintrin.h>
   17175  1.1  riastrad 
   17176  1.1  riastrad int
   17177  1.1  riastrad main ()
   17178  1.1  riastrad {
   17179  1.1  riastrad  _mm256_zeroall();
   17180  1.1  riastrad   ;
   17181  1.1  riastrad   return 0;
   17182  1.1  riastrad }
   17183  1.1  riastrad _ACEOF
   17184  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   17185  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17186  1.1  riastrad $as_echo "yes" >&6; }
   17187  1.1  riastrad 
   17188  1.1  riastrad $as_echo "#define HAVE_AVXINTRIN_H 1" >>confdefs.h
   17189  1.1  riastrad 
   17190  1.1  riastrad      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mavx" >&5
   17191  1.1  riastrad $as_echo_n "checking whether C compiler accepts -mavx... " >&6; }
   17192  1.1  riastrad if ${ax_cv_check_cflags___mavx+:} false; then :
   17193  1.1  riastrad   $as_echo_n "(cached) " >&6
   17194  1.1  riastrad else
   17195  1.1  riastrad 
   17196  1.1  riastrad   ax_check_save_flags=$CFLAGS
   17197  1.1  riastrad   CFLAGS="$CFLAGS  -mavx"
   17198  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17199  1.1  riastrad /* end confdefs.h.  */
   17200  1.1  riastrad #include <time.h>
   17201  1.1  riastrad int
   17202  1.1  riastrad main ()
   17203  1.1  riastrad {
   17204  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   17205  1.1  riastrad   ;
   17206  1.1  riastrad   return 0;
   17207  1.1  riastrad }
   17208  1.1  riastrad _ACEOF
   17209  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   17210  1.1  riastrad   ax_cv_check_cflags___mavx=yes
   17211  1.1  riastrad else
   17212  1.1  riastrad   ax_cv_check_cflags___mavx=no
   17213  1.1  riastrad fi
   17214  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   17215  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   17216  1.1  riastrad   CFLAGS=$ax_check_save_flags
   17217  1.1  riastrad fi
   17218  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mavx" >&5
   17219  1.1  riastrad $as_echo "$ax_cv_check_cflags___mavx" >&6; }
   17220  1.1  riastrad if test "x$ax_cv_check_cflags___mavx" = xyes; then :
   17221  1.1  riastrad   CFLAGS_AVX="-mavx"
   17222  1.1  riastrad else
   17223  1.1  riastrad   :
   17224  1.1  riastrad fi
   17225  1.1  riastrad 
   17226  1.1  riastrad else
   17227  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17228  1.1  riastrad $as_echo "no" >&6; }
   17229  1.1  riastrad fi
   17230  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17231  1.1  riastrad   CFLAGS="$oldcflags"
   17232  1.1  riastrad 
   17233  1.1  riastrad   oldcflags="$CFLAGS"
   17234  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mavx2" >&5
   17235  1.1  riastrad $as_echo_n "checking whether C compiler accepts -mavx2... " >&6; }
   17236  1.1  riastrad if ${ax_cv_check_cflags___mavx2+:} false; then :
   17237  1.1  riastrad   $as_echo_n "(cached) " >&6
   17238  1.1  riastrad else
   17239  1.1  riastrad 
   17240  1.1  riastrad   ax_check_save_flags=$CFLAGS
   17241  1.1  riastrad   CFLAGS="$CFLAGS  -mavx2"
   17242  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17243  1.1  riastrad /* end confdefs.h.  */
   17244  1.1  riastrad #include <time.h>
   17245  1.1  riastrad int
   17246  1.1  riastrad main ()
   17247  1.1  riastrad {
   17248  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   17249  1.1  riastrad   ;
   17250  1.1  riastrad   return 0;
   17251  1.1  riastrad }
   17252  1.1  riastrad _ACEOF
   17253  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   17254  1.1  riastrad   ax_cv_check_cflags___mavx2=yes
   17255  1.1  riastrad else
   17256  1.1  riastrad   ax_cv_check_cflags___mavx2=no
   17257  1.1  riastrad fi
   17258  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   17259  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   17260  1.1  riastrad   CFLAGS=$ax_check_save_flags
   17261  1.1  riastrad fi
   17262  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mavx2" >&5
   17263  1.1  riastrad $as_echo "$ax_cv_check_cflags___mavx2" >&6; }
   17264  1.1  riastrad if test "x$ax_cv_check_cflags___mavx2" = xyes; then :
   17265  1.1  riastrad   CFLAGS="$CFLAGS -mavx2"
   17266  1.1  riastrad else
   17267  1.1  riastrad   :
   17268  1.1  riastrad fi
   17269  1.1  riastrad 
   17270  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AVX2 instructions set" >&5
   17271  1.1  riastrad $as_echo_n "checking for AVX2 instructions set... " >&6; }
   17272  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17273  1.1  riastrad /* end confdefs.h.  */
   17274  1.1  riastrad 
   17275  1.1  riastrad #ifdef __native_client__
   17276  1.1  riastrad # error NativeClient detected - Avoiding AVX2 opcodes
   17277  1.1  riastrad #endif
   17278  1.1  riastrad #pragma GCC target("avx2")
   17279  1.1  riastrad #include <immintrin.h>
   17280  1.1  riastrad 
   17281  1.1  riastrad int
   17282  1.1  riastrad main ()
   17283  1.1  riastrad {
   17284  1.1  riastrad 
   17285  1.1  riastrad __m256 x = _mm256_set1_ps(3.14);
   17286  1.1  riastrad __m256 y = _mm256_permutevar8x32_ps(x, _mm256_set1_epi32(42));
   17287  1.1  riastrad return _mm256_movemask_ps(_mm256_cmp_ps(x, y, _CMP_NEQ_OQ));
   17288  1.1  riastrad 
   17289  1.1  riastrad   ;
   17290  1.1  riastrad   return 0;
   17291  1.1  riastrad }
   17292  1.1  riastrad _ACEOF
   17293  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   17294  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17295  1.1  riastrad $as_echo "yes" >&6; }
   17296  1.1  riastrad 
   17297  1.1  riastrad $as_echo "#define HAVE_AVX2INTRIN_H 1" >>confdefs.h
   17298  1.1  riastrad 
   17299  1.1  riastrad      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mavx2" >&5
   17300  1.1  riastrad $as_echo_n "checking whether C compiler accepts -mavx2... " >&6; }
   17301  1.1  riastrad if ${ax_cv_check_cflags___mavx2+:} false; then :
   17302  1.1  riastrad   $as_echo_n "(cached) " >&6
   17303  1.1  riastrad else
   17304  1.1  riastrad 
   17305  1.1  riastrad   ax_check_save_flags=$CFLAGS
   17306  1.1  riastrad   CFLAGS="$CFLAGS  -mavx2"
   17307  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17308  1.1  riastrad /* end confdefs.h.  */
   17309  1.1  riastrad #include <time.h>
   17310  1.1  riastrad int
   17311  1.1  riastrad main ()
   17312  1.1  riastrad {
   17313  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   17314  1.1  riastrad   ;
   17315  1.1  riastrad   return 0;
   17316  1.1  riastrad }
   17317  1.1  riastrad _ACEOF
   17318  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   17319  1.1  riastrad   ax_cv_check_cflags___mavx2=yes
   17320  1.1  riastrad else
   17321  1.1  riastrad   ax_cv_check_cflags___mavx2=no
   17322  1.1  riastrad fi
   17323  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   17324  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   17325  1.1  riastrad   CFLAGS=$ax_check_save_flags
   17326  1.1  riastrad fi
   17327  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mavx2" >&5
   17328  1.1  riastrad $as_echo "$ax_cv_check_cflags___mavx2" >&6; }
   17329  1.1  riastrad if test "x$ax_cv_check_cflags___mavx2" = xyes; then :
   17330  1.1  riastrad   CFLAGS_AVX2="-mavx2"
   17331  1.1  riastrad else
   17332  1.1  riastrad   :
   17333  1.1  riastrad fi
   17334  1.1  riastrad 
   17335  1.1  riastrad      { $as_echo "$as_me:${as_lineno-$LINENO}: checking if _mm256_broadcastsi128_si256 is correctly defined" >&5
   17336  1.1  riastrad $as_echo_n "checking if _mm256_broadcastsi128_si256 is correctly defined... " >&6; }
   17337  1.1  riastrad      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17338  1.1  riastrad /* end confdefs.h.  */
   17339  1.1  riastrad 
   17340  1.1  riastrad #ifdef __native_client__
   17341  1.1  riastrad # error NativeClient detected - Avoiding AVX2 opcodes
   17342  1.1  riastrad #endif
   17343  1.1  riastrad #pragma GCC target("avx2")
   17344  1.1  riastrad #include <immintrin.h>
   17345  1.1  riastrad 
   17346  1.1  riastrad int
   17347  1.1  riastrad main ()
   17348  1.1  riastrad {
   17349  1.1  riastrad  __m256i y = _mm256_broadcastsi128_si256(_mm_setzero_si128());
   17350  1.1  riastrad   ;
   17351  1.1  riastrad   return 0;
   17352  1.1  riastrad }
   17353  1.1  riastrad _ACEOF
   17354  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   17355  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17356  1.1  riastrad $as_echo "yes" >&6; }
   17357  1.1  riastrad else
   17358  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17359  1.1  riastrad $as_echo "no" >&6; }
   17360  1.1  riastrad 
   17361  1.1  riastrad $as_echo "#define _mm256_broadcastsi128_si256 _mm_broadcastsi128_si256" >>confdefs.h
   17362  1.1  riastrad 
   17363  1.1  riastrad fi
   17364  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17365  1.1  riastrad 
   17366  1.1  riastrad else
   17367  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17368  1.1  riastrad $as_echo "no" >&6; }
   17369  1.1  riastrad fi
   17370  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17371  1.1  riastrad   CFLAGS="$oldcflags"
   17372  1.1  riastrad 
   17373  1.1  riastrad   oldcflags="$CFLAGS"
   17374  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mavx512f" >&5
   17375  1.1  riastrad $as_echo_n "checking whether C compiler accepts -mavx512f... " >&6; }
   17376  1.1  riastrad if ${ax_cv_check_cflags___mavx512f+:} false; then :
   17377  1.1  riastrad   $as_echo_n "(cached) " >&6
   17378  1.1  riastrad else
   17379  1.1  riastrad 
   17380  1.1  riastrad   ax_check_save_flags=$CFLAGS
   17381  1.1  riastrad   CFLAGS="$CFLAGS  -mavx512f"
   17382  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17383  1.1  riastrad /* end confdefs.h.  */
   17384  1.1  riastrad #include <time.h>
   17385  1.1  riastrad int
   17386  1.1  riastrad main ()
   17387  1.1  riastrad {
   17388  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   17389  1.1  riastrad   ;
   17390  1.1  riastrad   return 0;
   17391  1.1  riastrad }
   17392  1.1  riastrad _ACEOF
   17393  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   17394  1.1  riastrad   ax_cv_check_cflags___mavx512f=yes
   17395  1.1  riastrad else
   17396  1.1  riastrad   ax_cv_check_cflags___mavx512f=no
   17397  1.1  riastrad fi
   17398  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   17399  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   17400  1.1  riastrad   CFLAGS=$ax_check_save_flags
   17401  1.1  riastrad fi
   17402  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mavx512f" >&5
   17403  1.1  riastrad $as_echo "$ax_cv_check_cflags___mavx512f" >&6; }
   17404  1.1  riastrad if test "x$ax_cv_check_cflags___mavx512f" = xyes; then :
   17405  1.1  riastrad   CFLAGS="$CFLAGS -mavx512f"
   17406  1.1  riastrad else
   17407  1.1  riastrad   :
   17408  1.1  riastrad fi
   17409  1.1  riastrad 
   17410  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AVX512F instructions set" >&5
   17411  1.1  riastrad $as_echo_n "checking for AVX512F instructions set... " >&6; }
   17412  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17413  1.1  riastrad /* end confdefs.h.  */
   17414  1.1  riastrad 
   17415  1.1  riastrad #ifdef __native_client__
   17416  1.1  riastrad # error NativeClient detected - Avoiding AVX512F opcodes
   17417  1.1  riastrad #endif
   17418  1.1  riastrad #pragma GCC target("avx512f")
   17419  1.1  riastrad #include <immintrin.h>
   17420  1.1  riastrad 
   17421  1.1  riastrad int
   17422  1.1  riastrad main ()
   17423  1.1  riastrad {
   17424  1.1  riastrad 
   17425  1.1  riastrad __m512i x = _mm512_setzero_epi32();
   17426  1.1  riastrad __m512i y = _mm512_permutexvar_epi64(_mm512_setr_epi64(0, 1, 4, 5, 2, 3, 6, 7), x);
   17427  1.1  riastrad 
   17428  1.1  riastrad   ;
   17429  1.1  riastrad   return 0;
   17430  1.1  riastrad }
   17431  1.1  riastrad _ACEOF
   17432  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   17433  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17434  1.1  riastrad $as_echo "yes" >&6; }
   17435  1.1  riastrad 
   17436  1.1  riastrad $as_echo "#define HAVE_AVX512FINTRIN_H 1" >>confdefs.h
   17437  1.1  riastrad 
   17438  1.1  riastrad      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mavx512f" >&5
   17439  1.1  riastrad $as_echo_n "checking whether C compiler accepts -mavx512f... " >&6; }
   17440  1.1  riastrad if ${ax_cv_check_cflags___mavx512f+:} false; then :
   17441  1.1  riastrad   $as_echo_n "(cached) " >&6
   17442  1.1  riastrad else
   17443  1.1  riastrad 
   17444  1.1  riastrad   ax_check_save_flags=$CFLAGS
   17445  1.1  riastrad   CFLAGS="$CFLAGS  -mavx512f"
   17446  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17447  1.1  riastrad /* end confdefs.h.  */
   17448  1.1  riastrad #include <time.h>
   17449  1.1  riastrad int
   17450  1.1  riastrad main ()
   17451  1.1  riastrad {
   17452  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   17453  1.1  riastrad   ;
   17454  1.1  riastrad   return 0;
   17455  1.1  riastrad }
   17456  1.1  riastrad _ACEOF
   17457  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   17458  1.1  riastrad   ax_cv_check_cflags___mavx512f=yes
   17459  1.1  riastrad else
   17460  1.1  riastrad   ax_cv_check_cflags___mavx512f=no
   17461  1.1  riastrad fi
   17462  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   17463  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   17464  1.1  riastrad   CFLAGS=$ax_check_save_flags
   17465  1.1  riastrad fi
   17466  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mavx512f" >&5
   17467  1.1  riastrad $as_echo "$ax_cv_check_cflags___mavx512f" >&6; }
   17468  1.1  riastrad if test "x$ax_cv_check_cflags___mavx512f" = xyes; then :
   17469  1.1  riastrad   CFLAGS_AVX512F="-mavx512f"
   17470  1.1  riastrad else
   17471  1.1  riastrad   :
   17472  1.1  riastrad fi
   17473  1.1  riastrad 
   17474  1.1  riastrad else
   17475  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17476  1.1  riastrad $as_echo "no" >&6; }
   17477  1.1  riastrad fi
   17478  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17479  1.1  riastrad   CFLAGS="$oldcflags"
   17480  1.1  riastrad 
   17481  1.1  riastrad   oldcflags="$CFLAGS"
   17482  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -maes" >&5
   17483  1.1  riastrad $as_echo_n "checking whether C compiler accepts -maes... " >&6; }
   17484  1.1  riastrad if ${ax_cv_check_cflags___maes+:} false; then :
   17485  1.1  riastrad   $as_echo_n "(cached) " >&6
   17486  1.1  riastrad else
   17487  1.1  riastrad 
   17488  1.1  riastrad   ax_check_save_flags=$CFLAGS
   17489  1.1  riastrad   CFLAGS="$CFLAGS  -maes"
   17490  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17491  1.1  riastrad /* end confdefs.h.  */
   17492  1.1  riastrad #include <time.h>
   17493  1.1  riastrad int
   17494  1.1  riastrad main ()
   17495  1.1  riastrad {
   17496  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   17497  1.1  riastrad   ;
   17498  1.1  riastrad   return 0;
   17499  1.1  riastrad }
   17500  1.1  riastrad _ACEOF
   17501  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   17502  1.1  riastrad   ax_cv_check_cflags___maes=yes
   17503  1.1  riastrad else
   17504  1.1  riastrad   ax_cv_check_cflags___maes=no
   17505  1.1  riastrad fi
   17506  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   17507  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   17508  1.1  riastrad   CFLAGS=$ax_check_save_flags
   17509  1.1  riastrad fi
   17510  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___maes" >&5
   17511  1.1  riastrad $as_echo "$ax_cv_check_cflags___maes" >&6; }
   17512  1.1  riastrad if test "x$ax_cv_check_cflags___maes" = xyes; then :
   17513  1.1  riastrad   CFLAGS="$CFLAGS -maes"
   17514  1.1  riastrad else
   17515  1.1  riastrad   :
   17516  1.1  riastrad fi
   17517  1.1  riastrad 
   17518  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mpclmul" >&5
   17519  1.1  riastrad $as_echo_n "checking whether C compiler accepts -mpclmul... " >&6; }
   17520  1.1  riastrad if ${ax_cv_check_cflags___mpclmul+:} false; then :
   17521  1.1  riastrad   $as_echo_n "(cached) " >&6
   17522  1.1  riastrad else
   17523  1.1  riastrad 
   17524  1.1  riastrad   ax_check_save_flags=$CFLAGS
   17525  1.1  riastrad   CFLAGS="$CFLAGS  -mpclmul"
   17526  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17527  1.1  riastrad /* end confdefs.h.  */
   17528  1.1  riastrad #include <time.h>
   17529  1.1  riastrad int
   17530  1.1  riastrad main ()
   17531  1.1  riastrad {
   17532  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   17533  1.1  riastrad   ;
   17534  1.1  riastrad   return 0;
   17535  1.1  riastrad }
   17536  1.1  riastrad _ACEOF
   17537  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   17538  1.1  riastrad   ax_cv_check_cflags___mpclmul=yes
   17539  1.1  riastrad else
   17540  1.1  riastrad   ax_cv_check_cflags___mpclmul=no
   17541  1.1  riastrad fi
   17542  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   17543  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   17544  1.1  riastrad   CFLAGS=$ax_check_save_flags
   17545  1.1  riastrad fi
   17546  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mpclmul" >&5
   17547  1.1  riastrad $as_echo "$ax_cv_check_cflags___mpclmul" >&6; }
   17548  1.1  riastrad if test "x$ax_cv_check_cflags___mpclmul" = xyes; then :
   17549  1.1  riastrad   CFLAGS="$CFLAGS -mpclmul"
   17550  1.1  riastrad else
   17551  1.1  riastrad   :
   17552  1.1  riastrad fi
   17553  1.1  riastrad 
   17554  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AESNI instructions set and PCLMULQDQ" >&5
   17555  1.1  riastrad $as_echo_n "checking for AESNI instructions set and PCLMULQDQ... " >&6; }
   17556  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17557  1.1  riastrad /* end confdefs.h.  */
   17558  1.1  riastrad 
   17559  1.1  riastrad #ifdef __native_client__
   17560  1.1  riastrad # error NativeClient detected - Avoiding AESNI opcodes
   17561  1.1  riastrad #endif
   17562  1.1  riastrad #pragma GCC target("aes")
   17563  1.1  riastrad #pragma GCC target("pclmul")
   17564  1.1  riastrad #include <wmmintrin.h>
   17565  1.1  riastrad 
   17566  1.1  riastrad int
   17567  1.1  riastrad main ()
   17568  1.1  riastrad {
   17569  1.1  riastrad  __m128i x = _mm_aesimc_si128(_mm_setzero_si128());
   17570  1.1  riastrad        __m128i y = _mm_clmulepi64_si128(_mm_setzero_si128(), _mm_setzero_si128(), 0);
   17571  1.1  riastrad   ;
   17572  1.1  riastrad   return 0;
   17573  1.1  riastrad }
   17574  1.1  riastrad _ACEOF
   17575  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   17576  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17577  1.1  riastrad $as_echo "yes" >&6; }
   17578  1.1  riastrad 
   17579  1.1  riastrad $as_echo "#define HAVE_WMMINTRIN_H 1" >>confdefs.h
   17580  1.1  riastrad 
   17581  1.1  riastrad      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -maes" >&5
   17582  1.1  riastrad $as_echo_n "checking whether C compiler accepts -maes... " >&6; }
   17583  1.1  riastrad if ${ax_cv_check_cflags___maes+:} false; then :
   17584  1.1  riastrad   $as_echo_n "(cached) " >&6
   17585  1.1  riastrad else
   17586  1.1  riastrad 
   17587  1.1  riastrad   ax_check_save_flags=$CFLAGS
   17588  1.1  riastrad   CFLAGS="$CFLAGS  -maes"
   17589  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17590  1.1  riastrad /* end confdefs.h.  */
   17591  1.1  riastrad #include <time.h>
   17592  1.1  riastrad int
   17593  1.1  riastrad main ()
   17594  1.1  riastrad {
   17595  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   17596  1.1  riastrad   ;
   17597  1.1  riastrad   return 0;
   17598  1.1  riastrad }
   17599  1.1  riastrad _ACEOF
   17600  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   17601  1.1  riastrad   ax_cv_check_cflags___maes=yes
   17602  1.1  riastrad else
   17603  1.1  riastrad   ax_cv_check_cflags___maes=no
   17604  1.1  riastrad fi
   17605  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   17606  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   17607  1.1  riastrad   CFLAGS=$ax_check_save_flags
   17608  1.1  riastrad fi
   17609  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___maes" >&5
   17610  1.1  riastrad $as_echo "$ax_cv_check_cflags___maes" >&6; }
   17611  1.1  riastrad if test "x$ax_cv_check_cflags___maes" = xyes; then :
   17612  1.1  riastrad   CFLAGS_AESNI="-maes"
   17613  1.1  riastrad else
   17614  1.1  riastrad   :
   17615  1.1  riastrad fi
   17616  1.1  riastrad 
   17617  1.1  riastrad      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mpclmul" >&5
   17618  1.1  riastrad $as_echo_n "checking whether C compiler accepts -mpclmul... " >&6; }
   17619  1.1  riastrad if ${ax_cv_check_cflags___mpclmul+:} false; then :
   17620  1.1  riastrad   $as_echo_n "(cached) " >&6
   17621  1.1  riastrad else
   17622  1.1  riastrad 
   17623  1.1  riastrad   ax_check_save_flags=$CFLAGS
   17624  1.1  riastrad   CFLAGS="$CFLAGS  -mpclmul"
   17625  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17626  1.1  riastrad /* end confdefs.h.  */
   17627  1.1  riastrad #include <time.h>
   17628  1.1  riastrad int
   17629  1.1  riastrad main ()
   17630  1.1  riastrad {
   17631  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   17632  1.1  riastrad   ;
   17633  1.1  riastrad   return 0;
   17634  1.1  riastrad }
   17635  1.1  riastrad _ACEOF
   17636  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   17637  1.1  riastrad   ax_cv_check_cflags___mpclmul=yes
   17638  1.1  riastrad else
   17639  1.1  riastrad   ax_cv_check_cflags___mpclmul=no
   17640  1.1  riastrad fi
   17641  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   17642  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   17643  1.1  riastrad   CFLAGS=$ax_check_save_flags
   17644  1.1  riastrad fi
   17645  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mpclmul" >&5
   17646  1.1  riastrad $as_echo "$ax_cv_check_cflags___mpclmul" >&6; }
   17647  1.1  riastrad if test "x$ax_cv_check_cflags___mpclmul" = xyes; then :
   17648  1.1  riastrad   CFLAGS_PCLMUL="-mpclmul"
   17649  1.1  riastrad else
   17650  1.1  riastrad   :
   17651  1.1  riastrad fi
   17652  1.1  riastrad 
   17653  1.1  riastrad 
   17654  1.1  riastrad else
   17655  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17656  1.1  riastrad $as_echo "no" >&6; }
   17657  1.1  riastrad fi
   17658  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17659  1.1  riastrad   CFLAGS="$oldcflags"
   17660  1.1  riastrad 
   17661  1.1  riastrad   oldcflags="$CFLAGS"
   17662  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mrdrnd" >&5
   17663  1.1  riastrad $as_echo_n "checking whether C compiler accepts -mrdrnd... " >&6; }
   17664  1.1  riastrad if ${ax_cv_check_cflags___mrdrnd+:} false; then :
   17665  1.1  riastrad   $as_echo_n "(cached) " >&6
   17666  1.1  riastrad else
   17667  1.1  riastrad 
   17668  1.1  riastrad   ax_check_save_flags=$CFLAGS
   17669  1.1  riastrad   CFLAGS="$CFLAGS  -mrdrnd"
   17670  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17671  1.1  riastrad /* end confdefs.h.  */
   17672  1.1  riastrad #include <time.h>
   17673  1.1  riastrad int
   17674  1.1  riastrad main ()
   17675  1.1  riastrad {
   17676  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   17677  1.1  riastrad   ;
   17678  1.1  riastrad   return 0;
   17679  1.1  riastrad }
   17680  1.1  riastrad _ACEOF
   17681  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   17682  1.1  riastrad   ax_cv_check_cflags___mrdrnd=yes
   17683  1.1  riastrad else
   17684  1.1  riastrad   ax_cv_check_cflags___mrdrnd=no
   17685  1.1  riastrad fi
   17686  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   17687  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   17688  1.1  riastrad   CFLAGS=$ax_check_save_flags
   17689  1.1  riastrad fi
   17690  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mrdrnd" >&5
   17691  1.1  riastrad $as_echo "$ax_cv_check_cflags___mrdrnd" >&6; }
   17692  1.1  riastrad if test "x$ax_cv_check_cflags___mrdrnd" = xyes; then :
   17693  1.1  riastrad   CFLAGS="$CFLAGS -mrdrnd"
   17694  1.1  riastrad else
   17695  1.1  riastrad   :
   17696  1.1  riastrad fi
   17697  1.1  riastrad 
   17698  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RDRAND" >&5
   17699  1.1  riastrad $as_echo_n "checking for RDRAND... " >&6; }
   17700  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17701  1.1  riastrad /* end confdefs.h.  */
   17702  1.1  riastrad 
   17703  1.1  riastrad #ifdef __native_client__
   17704  1.1  riastrad # error NativeClient detected - Avoiding RDRAND opcodes
   17705  1.1  riastrad #endif
   17706  1.1  riastrad #pragma GCC target("rdrnd")
   17707  1.1  riastrad #include <immintrin.h>
   17708  1.1  riastrad 
   17709  1.1  riastrad int
   17710  1.1  riastrad main ()
   17711  1.1  riastrad {
   17712  1.1  riastrad  unsigned long long x; _rdrand64_step(&x);
   17713  1.1  riastrad   ;
   17714  1.1  riastrad   return 0;
   17715  1.1  riastrad }
   17716  1.1  riastrad _ACEOF
   17717  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   17718  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17719  1.1  riastrad $as_echo "yes" >&6; }
   17720  1.1  riastrad 
   17721  1.1  riastrad $as_echo "#define HAVE_RDRAND 1" >>confdefs.h
   17722  1.1  riastrad 
   17723  1.1  riastrad      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mrdrnd" >&5
   17724  1.1  riastrad $as_echo_n "checking whether C compiler accepts -mrdrnd... " >&6; }
   17725  1.1  riastrad if ${ax_cv_check_cflags___mrdrnd+:} false; then :
   17726  1.1  riastrad   $as_echo_n "(cached) " >&6
   17727  1.1  riastrad else
   17728  1.1  riastrad 
   17729  1.1  riastrad   ax_check_save_flags=$CFLAGS
   17730  1.1  riastrad   CFLAGS="$CFLAGS  -mrdrnd"
   17731  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17732  1.1  riastrad /* end confdefs.h.  */
   17733  1.1  riastrad #include <time.h>
   17734  1.1  riastrad int
   17735  1.1  riastrad main ()
   17736  1.1  riastrad {
   17737  1.1  riastrad time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
   17738  1.1  riastrad   ;
   17739  1.1  riastrad   return 0;
   17740  1.1  riastrad }
   17741  1.1  riastrad _ACEOF
   17742  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   17743  1.1  riastrad   ax_cv_check_cflags___mrdrnd=yes
   17744  1.1  riastrad else
   17745  1.1  riastrad   ax_cv_check_cflags___mrdrnd=no
   17746  1.1  riastrad fi
   17747  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   17748  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   17749  1.1  riastrad   CFLAGS=$ax_check_save_flags
   17750  1.1  riastrad fi
   17751  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mrdrnd" >&5
   17752  1.1  riastrad $as_echo "$ax_cv_check_cflags___mrdrnd" >&6; }
   17753  1.1  riastrad if test "x$ax_cv_check_cflags___mrdrnd" = xyes; then :
   17754  1.1  riastrad   CFLAGS_RDRAND="-mrdrnd"
   17755  1.1  riastrad else
   17756  1.1  riastrad   :
   17757  1.1  riastrad fi
   17758  1.1  riastrad 
   17759  1.1  riastrad 
   17760  1.1  riastrad else
   17761  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17762  1.1  riastrad $as_echo "no" >&6; }
   17763  1.1  riastrad fi
   17764  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17765  1.1  riastrad   CFLAGS="$oldcflags"
   17766  1.1  riastrad 
   17767  1.1  riastrad 
   17768  1.1  riastrad fi
   17769  1.1  riastrad 
   17770  1.1  riastrad 
   17771  1.1  riastrad 
   17772  1.1  riastrad 
   17773  1.1  riastrad 
   17774  1.1  riastrad 
   17775  1.1  riastrad 
   17776  1.1  riastrad 
   17777  1.1  riastrad 
   17778  1.1  riastrad 
   17779  1.1  riastrad 
   17780  1.1  riastrad 
   17781  1.1  riastrad 
   17782  1.1  riastrad for ac_header in sys/mman.h intrin.h
   17783  1.1  riastrad do :
   17784  1.1  riastrad   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   17785  1.1  riastrad ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   17786  1.1  riastrad if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   17787  1.1  riastrad   cat >>confdefs.h <<_ACEOF
   17788  1.1  riastrad #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   17789  1.1  riastrad _ACEOF
   17790  1.1  riastrad 
   17791  1.1  riastrad fi
   17792  1.1  riastrad 
   17793  1.1  riastrad done
   17794  1.1  riastrad 
   17795  1.1  riastrad 
   17796  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking if _xgetbv() is available" >&5
   17797  1.1  riastrad $as_echo_n "checking if _xgetbv() is available... " >&6; }
   17798  1.1  riastrad cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17799  1.1  riastrad /* end confdefs.h.  */
   17800  1.1  riastrad  #include <intrin.h>
   17801  1.1  riastrad int
   17802  1.1  riastrad main ()
   17803  1.1  riastrad {
   17804  1.1  riastrad  (void) _xgetbv(0)
   17805  1.1  riastrad   ;
   17806  1.1  riastrad   return 0;
   17807  1.1  riastrad }
   17808  1.1  riastrad _ACEOF
   17809  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   17810  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17811  1.1  riastrad $as_echo "yes" >&6; }
   17812  1.1  riastrad 
   17813  1.1  riastrad $as_echo "#define HAVE__XGETBV 1" >>confdefs.h
   17814  1.1  riastrad 
   17815  1.1  riastrad else
   17816  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17817  1.1  riastrad $as_echo "no" >&6; }
   17818  1.1  riastrad fi
   17819  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   17820  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   17821  1.1  riastrad 
   17822  1.1  riastrad 
   17823  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
   17824  1.1  riastrad $as_echo_n "checking for inline... " >&6; }
   17825  1.1  riastrad if ${ac_cv_c_inline+:} false; then :
   17826  1.1  riastrad   $as_echo_n "(cached) " >&6
   17827  1.1  riastrad else
   17828  1.1  riastrad   ac_cv_c_inline=no
   17829  1.1  riastrad for ac_kw in inline __inline__ __inline; do
   17830  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17831  1.1  riastrad /* end confdefs.h.  */
   17832  1.1  riastrad #ifndef __cplusplus
   17833  1.1  riastrad typedef int foo_t;
   17834  1.1  riastrad static $ac_kw foo_t static_foo () {return 0; }
   17835  1.1  riastrad $ac_kw foo_t foo () {return 0; }
   17836  1.1  riastrad #endif
   17837  1.1  riastrad 
   17838  1.1  riastrad _ACEOF
   17839  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   17840  1.1  riastrad   ac_cv_c_inline=$ac_kw
   17841  1.1  riastrad fi
   17842  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17843  1.1  riastrad   test "$ac_cv_c_inline" != no && break
   17844  1.1  riastrad done
   17845  1.1  riastrad 
   17846  1.1  riastrad fi
   17847  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
   17848  1.1  riastrad $as_echo "$ac_cv_c_inline" >&6; }
   17849  1.1  riastrad 
   17850  1.1  riastrad case $ac_cv_c_inline in
   17851  1.1  riastrad   inline | yes) ;;
   17852  1.1  riastrad   *)
   17853  1.1  riastrad     case $ac_cv_c_inline in
   17854  1.1  riastrad       no) ac_val=;;
   17855  1.1  riastrad       *) ac_val=$ac_cv_c_inline;;
   17856  1.1  riastrad     esac
   17857  1.1  riastrad     cat >>confdefs.h <<_ACEOF
   17858  1.1  riastrad #ifndef __cplusplus
   17859  1.1  riastrad #define inline $ac_val
   17860  1.1  riastrad #endif
   17861  1.1  riastrad _ACEOF
   17862  1.1  riastrad     ;;
   17863  1.1  riastrad esac
   17864  1.1  riastrad 
   17865  1.1  riastrad case $host_cpu in #(
   17866  1.1  riastrad   i?86|amd64|x86_64) :
   17867  1.1  riastrad     ac_cv_c_bigendian=no
   17868  1.1  riastrad  ;; #(
   17869  1.1  riastrad   *) :
   17870  1.1  riastrad      ;;
   17871  1.1  riastrad esac
   17872  1.1  riastrad  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
   17873  1.1  riastrad $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
   17874  1.1  riastrad if ${ac_cv_c_bigendian+:} false; then :
   17875  1.1  riastrad   $as_echo_n "(cached) " >&6
   17876  1.1  riastrad else
   17877  1.1  riastrad   ac_cv_c_bigendian=unknown
   17878  1.1  riastrad     # See if we're dealing with a universal compiler.
   17879  1.1  riastrad     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17880  1.1  riastrad /* end confdefs.h.  */
   17881  1.1  riastrad #ifndef __APPLE_CC__
   17882  1.1  riastrad 	       not a universal capable compiler
   17883  1.1  riastrad 	     #endif
   17884  1.1  riastrad 	     typedef int dummy;
   17885  1.1  riastrad 
   17886  1.1  riastrad _ACEOF
   17887  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   17888  1.1  riastrad 
   17889  1.1  riastrad 	# Check for potential -arch flags.  It is not universal unless
   17890  1.1  riastrad 	# there are at least two -arch flags with different values.
   17891  1.1  riastrad 	ac_arch=
   17892  1.1  riastrad 	ac_prev=
   17893  1.1  riastrad 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
   17894  1.1  riastrad 	 if test -n "$ac_prev"; then
   17895  1.1  riastrad 	   case $ac_word in
   17896  1.1  riastrad 	     i?86 | x86_64 | ppc | ppc64)
   17897  1.1  riastrad 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
   17898  1.1  riastrad 		 ac_arch=$ac_word
   17899  1.1  riastrad 	       else
   17900  1.1  riastrad 		 ac_cv_c_bigendian=universal
   17901  1.1  riastrad 		 break
   17902  1.1  riastrad 	       fi
   17903  1.1  riastrad 	       ;;
   17904  1.1  riastrad 	   esac
   17905  1.1  riastrad 	   ac_prev=
   17906  1.1  riastrad 	 elif test "x$ac_word" = "x-arch"; then
   17907  1.1  riastrad 	   ac_prev=arch
   17908  1.1  riastrad 	 fi
   17909  1.1  riastrad        done
   17910  1.1  riastrad fi
   17911  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17912  1.1  riastrad     if test $ac_cv_c_bigendian = unknown; then
   17913  1.1  riastrad       # See if sys/param.h defines the BYTE_ORDER macro.
   17914  1.1  riastrad       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17915  1.1  riastrad /* end confdefs.h.  */
   17916  1.1  riastrad #include <sys/types.h>
   17917  1.1  riastrad 	     #include <sys/param.h>
   17918  1.1  riastrad 
   17919  1.1  riastrad int
   17920  1.1  riastrad main ()
   17921  1.1  riastrad {
   17922  1.1  riastrad #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
   17923  1.1  riastrad 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
   17924  1.1  riastrad 		     && LITTLE_ENDIAN)
   17925  1.1  riastrad 	      bogus endian macros
   17926  1.1  riastrad 	     #endif
   17927  1.1  riastrad 
   17928  1.1  riastrad   ;
   17929  1.1  riastrad   return 0;
   17930  1.1  riastrad }
   17931  1.1  riastrad _ACEOF
   17932  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   17933  1.1  riastrad   # It does; now see whether it defined to BIG_ENDIAN or not.
   17934  1.1  riastrad 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17935  1.1  riastrad /* end confdefs.h.  */
   17936  1.1  riastrad #include <sys/types.h>
   17937  1.1  riastrad 		#include <sys/param.h>
   17938  1.1  riastrad 
   17939  1.1  riastrad int
   17940  1.1  riastrad main ()
   17941  1.1  riastrad {
   17942  1.1  riastrad #if BYTE_ORDER != BIG_ENDIAN
   17943  1.1  riastrad 		 not big endian
   17944  1.1  riastrad 		#endif
   17945  1.1  riastrad 
   17946  1.1  riastrad   ;
   17947  1.1  riastrad   return 0;
   17948  1.1  riastrad }
   17949  1.1  riastrad _ACEOF
   17950  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   17951  1.1  riastrad   ac_cv_c_bigendian=yes
   17952  1.1  riastrad else
   17953  1.1  riastrad   ac_cv_c_bigendian=no
   17954  1.1  riastrad fi
   17955  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17956  1.1  riastrad fi
   17957  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17958  1.1  riastrad     fi
   17959  1.1  riastrad     if test $ac_cv_c_bigendian = unknown; then
   17960  1.1  riastrad       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
   17961  1.1  riastrad       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17962  1.1  riastrad /* end confdefs.h.  */
   17963  1.1  riastrad #include <limits.h>
   17964  1.1  riastrad 
   17965  1.1  riastrad int
   17966  1.1  riastrad main ()
   17967  1.1  riastrad {
   17968  1.1  riastrad #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
   17969  1.1  riastrad 	      bogus endian macros
   17970  1.1  riastrad 	     #endif
   17971  1.1  riastrad 
   17972  1.1  riastrad   ;
   17973  1.1  riastrad   return 0;
   17974  1.1  riastrad }
   17975  1.1  riastrad _ACEOF
   17976  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   17977  1.1  riastrad   # It does; now see whether it defined to _BIG_ENDIAN or not.
   17978  1.1  riastrad 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17979  1.1  riastrad /* end confdefs.h.  */
   17980  1.1  riastrad #include <limits.h>
   17981  1.1  riastrad 
   17982  1.1  riastrad int
   17983  1.1  riastrad main ()
   17984  1.1  riastrad {
   17985  1.1  riastrad #ifndef _BIG_ENDIAN
   17986  1.1  riastrad 		 not big endian
   17987  1.1  riastrad 		#endif
   17988  1.1  riastrad 
   17989  1.1  riastrad   ;
   17990  1.1  riastrad   return 0;
   17991  1.1  riastrad }
   17992  1.1  riastrad _ACEOF
   17993  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   17994  1.1  riastrad   ac_cv_c_bigendian=yes
   17995  1.1  riastrad else
   17996  1.1  riastrad   ac_cv_c_bigendian=no
   17997  1.1  riastrad fi
   17998  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17999  1.1  riastrad fi
   18000  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18001  1.1  riastrad     fi
   18002  1.1  riastrad     if test $ac_cv_c_bigendian = unknown; then
   18003  1.1  riastrad       # Compile a test program.
   18004  1.1  riastrad       if test "$cross_compiling" = yes; then :
   18005  1.1  riastrad   # Try to guess by grepping values from an object file.
   18006  1.1  riastrad 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18007  1.1  riastrad /* end confdefs.h.  */
   18008  1.1  riastrad short int ascii_mm[] =
   18009  1.1  riastrad 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   18010  1.1  riastrad 		short int ascii_ii[] =
   18011  1.1  riastrad 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   18012  1.1  riastrad 		int use_ascii (int i) {
   18013  1.1  riastrad 		  return ascii_mm[i] + ascii_ii[i];
   18014  1.1  riastrad 		}
   18015  1.1  riastrad 		short int ebcdic_ii[] =
   18016  1.1  riastrad 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   18017  1.1  riastrad 		short int ebcdic_mm[] =
   18018  1.1  riastrad 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   18019  1.1  riastrad 		int use_ebcdic (int i) {
   18020  1.1  riastrad 		  return ebcdic_mm[i] + ebcdic_ii[i];
   18021  1.1  riastrad 		}
   18022  1.1  riastrad 		extern int foo;
   18023  1.1  riastrad 
   18024  1.1  riastrad int
   18025  1.1  riastrad main ()
   18026  1.1  riastrad {
   18027  1.1  riastrad return use_ascii (foo) == use_ebcdic (foo);
   18028  1.1  riastrad   ;
   18029  1.1  riastrad   return 0;
   18030  1.1  riastrad }
   18031  1.1  riastrad _ACEOF
   18032  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   18033  1.1  riastrad   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
   18034  1.1  riastrad 	      ac_cv_c_bigendian=yes
   18035  1.1  riastrad 	    fi
   18036  1.1  riastrad 	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
   18037  1.1  riastrad 	      if test "$ac_cv_c_bigendian" = unknown; then
   18038  1.1  riastrad 		ac_cv_c_bigendian=no
   18039  1.1  riastrad 	      else
   18040  1.1  riastrad 		# finding both strings is unlikely to happen, but who knows?
   18041  1.1  riastrad 		ac_cv_c_bigendian=unknown
   18042  1.1  riastrad 	      fi
   18043  1.1  riastrad 	    fi
   18044  1.1  riastrad fi
   18045  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18046  1.1  riastrad else
   18047  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18048  1.1  riastrad /* end confdefs.h.  */
   18049  1.1  riastrad $ac_includes_default
   18050  1.1  riastrad int
   18051  1.1  riastrad main ()
   18052  1.1  riastrad {
   18053  1.1  riastrad 
   18054  1.1  riastrad 	     /* Are we little or big endian?  From Harbison&Steele.  */
   18055  1.1  riastrad 	     union
   18056  1.1  riastrad 	     {
   18057  1.1  riastrad 	       long int l;
   18058  1.1  riastrad 	       char c[sizeof (long int)];
   18059  1.1  riastrad 	     } u;
   18060  1.1  riastrad 	     u.l = 1;
   18061  1.1  riastrad 	     return u.c[sizeof (long int) - 1] == 1;
   18062  1.1  riastrad 
   18063  1.1  riastrad   ;
   18064  1.1  riastrad   return 0;
   18065  1.1  riastrad }
   18066  1.1  riastrad _ACEOF
   18067  1.1  riastrad if ac_fn_c_try_run "$LINENO"; then :
   18068  1.1  riastrad   ac_cv_c_bigendian=no
   18069  1.1  riastrad else
   18070  1.1  riastrad   ac_cv_c_bigendian=yes
   18071  1.1  riastrad fi
   18072  1.1  riastrad rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   18073  1.1  riastrad   conftest.$ac_objext conftest.beam conftest.$ac_ext
   18074  1.1  riastrad fi
   18075  1.1  riastrad 
   18076  1.1  riastrad     fi
   18077  1.1  riastrad fi
   18078  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
   18079  1.1  riastrad $as_echo "$ac_cv_c_bigendian" >&6; }
   18080  1.1  riastrad  case $ac_cv_c_bigendian in #(
   18081  1.1  riastrad    yes)
   18082  1.1  riastrad 
   18083  1.1  riastrad $as_echo "#define NATIVE_BIG_ENDIAN 1" >>confdefs.h
   18084  1.1  riastrad ;; #(
   18085  1.1  riastrad    no)
   18086  1.1  riastrad 
   18087  1.1  riastrad $as_echo "#define NATIVE_LITTLE_ENDIAN 1" >>confdefs.h
   18088  1.1  riastrad  ;; #(
   18089  1.1  riastrad    universal)
   18090  1.1  riastrad      as_fn_error $? "universal endianness is not supported - compile separately and use lipo(1)" "$LINENO" 5
   18091  1.1  riastrad 
   18092  1.1  riastrad      ;; #(
   18093  1.1  riastrad    *)
   18094  1.1  riastrad      as_fn_error $? "unknown endianness" "$LINENO" 5 ;;
   18095  1.1  riastrad  esac
   18096  1.1  riastrad 
   18097  1.1  riastrad 
   18098  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __STDC_LIMIT_MACROS is required" >&5
   18099  1.1  riastrad $as_echo_n "checking whether __STDC_LIMIT_MACROS is required... " >&6; }
   18100  1.1  riastrad cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18101  1.1  riastrad /* end confdefs.h.  */
   18102  1.1  riastrad 
   18103  1.1  riastrad #include <limits.h>
   18104  1.1  riastrad #include <stdint.h>
   18105  1.1  riastrad 
   18106  1.1  riastrad int
   18107  1.1  riastrad main ()
   18108  1.1  riastrad {
   18109  1.1  riastrad 
   18110  1.1  riastrad (void) SIZE_MAX;
   18111  1.1  riastrad (void) UINT64_MAX;
   18112  1.1  riastrad 
   18113  1.1  riastrad   ;
   18114  1.1  riastrad   return 0;
   18115  1.1  riastrad }
   18116  1.1  riastrad _ACEOF
   18117  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   18118  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18119  1.1  riastrad $as_echo "no" >&6; }
   18120  1.1  riastrad else
   18121  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18122  1.1  riastrad $as_echo "yes" >&6; }
   18123  1.1  riastrad    CPPFLAGS="$CPPFLAGS -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS"
   18124  1.1  riastrad 
   18125  1.1  riastrad fi
   18126  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18127  1.1  riastrad 
   18128  1.1  riastrad HAVE_AMD64_ASM_V=0
   18129  1.1  riastrad if test "$enable_asm" != "no"; then :
   18130  1.1  riastrad 
   18131  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use x86_64 asm code" >&5
   18132  1.1  riastrad $as_echo_n "checking whether we can use x86_64 asm code... " >&6; }
   18133  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18134  1.1  riastrad /* end confdefs.h.  */
   18135  1.1  riastrad 
   18136  1.1  riastrad 
   18137  1.1  riastrad int
   18138  1.1  riastrad main ()
   18139  1.1  riastrad {
   18140  1.1  riastrad 
   18141  1.1  riastrad #if defined(__amd64) || defined(__amd64__) || defined(__x86_64__)
   18142  1.1  riastrad # if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__MINGW64__) || defined(_WIN32) || defined(_WIN64)
   18143  1.1  riastrad #  error Windows x86_64 calling conventions are not supported yet
   18144  1.1  riastrad # endif
   18145  1.1  riastrad /* neat */
   18146  1.1  riastrad #else
   18147  1.1  riastrad # error !x86_64
   18148  1.1  riastrad #endif
   18149  1.1  riastrad unsigned char i = 0, o = 0, t;
   18150  1.1  riastrad __asm__ __volatile__ ("pxor %%xmm12, %%xmm6 \n"
   18151  1.1  riastrad                       "movb (%[i]), %[t] \n"
   18152  1.1  riastrad                       "addb %[t], (%[o]) \n"
   18153  1.1  riastrad                       : [t] "=&r"(t)
   18154  1.1  riastrad                       : [o] "D"(&o), [i] "S"(&i)
   18155  1.1  riastrad                       : "memory", "flags", "cc");
   18156  1.1  riastrad 
   18157  1.1  riastrad   ;
   18158  1.1  riastrad   return 0;
   18159  1.1  riastrad }
   18160  1.1  riastrad _ACEOF
   18161  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   18162  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18163  1.1  riastrad $as_echo "yes" >&6; }
   18164  1.1  riastrad 
   18165  1.1  riastrad $as_echo "#define HAVE_AMD64_ASM 1" >>confdefs.h
   18166  1.1  riastrad 
   18167  1.1  riastrad    HAVE_AMD64_ASM_V=1
   18168  1.1  riastrad else
   18169  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18170  1.1  riastrad $as_echo "no" >&6; }
   18171  1.1  riastrad fi
   18172  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18173  1.1  riastrad 
   18174  1.1  riastrad fi
   18175  1.1  riastrad  if test $HAVE_AMD64_ASM_V = 1; then
   18176  1.1  riastrad   HAVE_AMD64_ASM_TRUE=
   18177  1.1  riastrad   HAVE_AMD64_ASM_FALSE='#'
   18178  1.1  riastrad else
   18179  1.1  riastrad   HAVE_AMD64_ASM_TRUE='#'
   18180  1.1  riastrad   HAVE_AMD64_ASM_FALSE=
   18181  1.1  riastrad fi
   18182  1.1  riastrad 
   18183  1.1  riastrad 
   18184  1.1  riastrad 
   18185  1.1  riastrad HAVE_AVX_ASM_V=0
   18186  1.1  riastrad if test "$enable_asm" != "no"; then :
   18187  1.1  riastrad 
   18188  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can assemble AVX opcodes" >&5
   18189  1.1  riastrad $as_echo_n "checking whether we can assemble AVX opcodes... " >&6; }
   18190  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18191  1.1  riastrad /* end confdefs.h.  */
   18192  1.1  riastrad 
   18193  1.1  riastrad 
   18194  1.1  riastrad int
   18195  1.1  riastrad main ()
   18196  1.1  riastrad {
   18197  1.1  riastrad 
   18198  1.1  riastrad #if defined(__amd64) || defined(__amd64__) || defined(__x86_64__)
   18199  1.1  riastrad # if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__MINGW64__) || defined(_WIN32) || defined(_WIN64)
   18200  1.1  riastrad #  error Windows x86_64 calling conventions are not supported yet
   18201  1.1  riastrad # endif
   18202  1.1  riastrad /* neat */
   18203  1.1  riastrad #else
   18204  1.1  riastrad # error !x86_64
   18205  1.1  riastrad #endif
   18206  1.1  riastrad __asm__ __volatile__ ("vpunpcklqdq %xmm0,%xmm13,%xmm0");
   18207  1.1  riastrad 
   18208  1.1  riastrad   ;
   18209  1.1  riastrad   return 0;
   18210  1.1  riastrad }
   18211  1.1  riastrad _ACEOF
   18212  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   18213  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18214  1.1  riastrad $as_echo "yes" >&6; }
   18215  1.1  riastrad 
   18216  1.1  riastrad $as_echo "#define HAVE_AVX_ASM 1" >>confdefs.h
   18217  1.1  riastrad 
   18218  1.1  riastrad    HAVE_AVX_ASM_V=1
   18219  1.1  riastrad else
   18220  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18221  1.1  riastrad $as_echo "no" >&6; }
   18222  1.1  riastrad fi
   18223  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18224  1.1  riastrad 
   18225  1.1  riastrad fi
   18226  1.1  riastrad  if test $HAVE_AVX_ASM_V = 1; then
   18227  1.1  riastrad   HAVE_AVX_ASM_TRUE=
   18228  1.1  riastrad   HAVE_AVX_ASM_FALSE='#'
   18229  1.1  riastrad else
   18230  1.1  riastrad   HAVE_AVX_ASM_TRUE='#'
   18231  1.1  riastrad   HAVE_AVX_ASM_FALSE=
   18232  1.1  riastrad fi
   18233  1.1  riastrad 
   18234  1.1  riastrad 
   18235  1.1  riastrad 
   18236  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 128-bit arithmetic" >&5
   18237  1.1  riastrad $as_echo_n "checking for 128-bit arithmetic... " >&6; }
   18238  1.1  riastrad HAVE_TI_MODE_V=0
   18239  1.1  riastrad cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18240  1.1  riastrad /* end confdefs.h.  */
   18241  1.1  riastrad 
   18242  1.1  riastrad #if !defined(__GNUC__) && !defined(__SIZEOF_INT128__)
   18243  1.1  riastrad # error mode(TI) is a gcc extension, and __int128 is not available
   18244  1.1  riastrad #endif
   18245  1.1  riastrad #if defined(__clang__) && !defined(__x86_64__)
   18246  1.1  riastrad # error clang does not properly handle the 128-bit type on 32-bit systems
   18247  1.1  riastrad #endif
   18248  1.1  riastrad #ifndef NATIVE_LITTLE_ENDIAN
   18249  1.1  riastrad # error libsodium currently expects a little endian CPU for the 128-bit type
   18250  1.1  riastrad #endif
   18251  1.1  riastrad #ifdef __EMSCRIPTEN__
   18252  1.1  riastrad # error emscripten currently supports only shift operations on integers \
   18253  1.1  riastrad #       larger than 64 bits
   18254  1.1  riastrad #endif
   18255  1.1  riastrad #include <stddef.h>
   18256  1.1  riastrad #include <stdint.h>
   18257  1.1  riastrad #if defined(__SIZEOF_INT128__)
   18258  1.1  riastrad typedef unsigned __int128 uint128_t;
   18259  1.1  riastrad #else
   18260  1.1  riastrad typedef unsigned uint128_t __attribute__((mode(TI)));
   18261  1.1  riastrad #endif
   18262  1.1  riastrad void fcontract(uint128_t *t) {
   18263  1.1  riastrad   *t += 0x8000000000000 - 1;
   18264  1.1  riastrad }
   18265  1.1  riastrad 
   18266  1.1  riastrad int
   18267  1.1  riastrad main ()
   18268  1.1  riastrad {
   18269  1.1  riastrad 
   18270  1.1  riastrad (void) fcontract;
   18271  1.1  riastrad 
   18272  1.1  riastrad   ;
   18273  1.1  riastrad   return 0;
   18274  1.1  riastrad }
   18275  1.1  riastrad _ACEOF
   18276  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   18277  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18278  1.1  riastrad $as_echo "yes" >&6; }
   18279  1.1  riastrad 
   18280  1.1  riastrad $as_echo "#define HAVE_TI_MODE 1" >>confdefs.h
   18281  1.1  riastrad 
   18282  1.1  riastrad  HAVE_TI_MODE_V=1
   18283  1.1  riastrad else
   18284  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18285  1.1  riastrad $as_echo "no" >&6; }
   18286  1.1  riastrad fi
   18287  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18288  1.1  riastrad  if test $HAVE_TI_MODE_V = 1; then
   18289  1.1  riastrad   HAVE_TI_MODE_TRUE=
   18290  1.1  riastrad   HAVE_TI_MODE_FALSE='#'
   18291  1.1  riastrad else
   18292  1.1  riastrad   HAVE_TI_MODE_TRUE='#'
   18293  1.1  riastrad   HAVE_TI_MODE_FALSE=
   18294  1.1  riastrad fi
   18295  1.1  riastrad 
   18296  1.1  riastrad 
   18297  1.1  riastrad 
   18298  1.1  riastrad HAVE_CPUID_V=0
   18299  1.1  riastrad if test "$enable_asm" != "no" -o "$host_alias" = "x86_64-nacl"; then :
   18300  1.1  riastrad 
   18301  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpuid instruction" >&5
   18302  1.1  riastrad $as_echo_n "checking for cpuid instruction... " >&6; }
   18303  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18304  1.1  riastrad /* end confdefs.h.  */
   18305  1.1  riastrad 
   18306  1.1  riastrad int
   18307  1.1  riastrad main ()
   18308  1.1  riastrad {
   18309  1.1  riastrad 
   18310  1.1  riastrad unsigned int cpu_info[4];
   18311  1.1  riastrad __asm__ __volatile__ ("xchgl %%ebx, %k1; cpuid; xchgl %%ebx, %k1" :
   18312  1.1  riastrad                       "=a" (cpu_info[0]), "=&r" (cpu_info[1]),
   18313  1.1  riastrad                       "=c" (cpu_info[2]), "=d" (cpu_info[3]) :
   18314  1.1  riastrad                       "0" (0U), "2" (0U));
   18315  1.1  riastrad 
   18316  1.1  riastrad   ;
   18317  1.1  riastrad   return 0;
   18318  1.1  riastrad }
   18319  1.1  riastrad _ACEOF
   18320  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   18321  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18322  1.1  riastrad $as_echo "yes" >&6; }
   18323  1.1  riastrad 
   18324  1.1  riastrad $as_echo "#define HAVE_CPUID 1" >>confdefs.h
   18325  1.1  riastrad 
   18326  1.1  riastrad    HAVE_CPUID_V=1
   18327  1.1  riastrad else
   18328  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18329  1.1  riastrad $as_echo "no" >&6; }
   18330  1.1  riastrad fi
   18331  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18332  1.1  riastrad 
   18333  1.1  riastrad fi
   18334  1.1  riastrad 
   18335  1.1  riastrad 
   18336  1.1  riastrad asm_hide_symbol="unsupported"
   18337  1.1  riastrad if test "$enable_asm" != "no" -o "$host_os" = "nacl"; then :
   18338  1.1  riastrad 
   18339  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the .private_extern asm directive is supported" >&5
   18340  1.1  riastrad $as_echo_n "checking if the .private_extern asm directive is supported... " >&6; }
   18341  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18342  1.1  riastrad /* end confdefs.h.  */
   18343  1.1  riastrad 
   18344  1.1  riastrad int
   18345  1.1  riastrad main ()
   18346  1.1  riastrad {
   18347  1.1  riastrad 
   18348  1.1  riastrad __asm__ __volatile__ (".private_extern dummy_symbol \n"
   18349  1.1  riastrad                       ".private_extern _dummy_symbol \n"
   18350  1.1  riastrad                       ".globl dummy_symbol \n"
   18351  1.1  riastrad                       ".globl _dummy_symbol \n"
   18352  1.1  riastrad                       "dummy_symbol: \n"
   18353  1.1  riastrad                       "_dummy_symbol: \n"
   18354  1.1  riastrad                       "    nop \n"
   18355  1.1  riastrad );
   18356  1.1  riastrad 
   18357  1.1  riastrad   ;
   18358  1.1  riastrad   return 0;
   18359  1.1  riastrad }
   18360  1.1  riastrad _ACEOF
   18361  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   18362  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18363  1.1  riastrad $as_echo "yes" >&6; }
   18364  1.1  riastrad    asm_hide_symbol=".private_extern"
   18365  1.1  riastrad else
   18366  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18367  1.1  riastrad $as_echo "no" >&6; }
   18368  1.1  riastrad fi
   18369  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   18370  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   18371  1.1  riastrad 
   18372  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the .hidden asm directive is supported" >&5
   18373  1.1  riastrad $as_echo_n "checking if the .hidden asm directive is supported... " >&6; }
   18374  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18375  1.1  riastrad /* end confdefs.h.  */
   18376  1.1  riastrad 
   18377  1.1  riastrad int
   18378  1.1  riastrad main ()
   18379  1.1  riastrad {
   18380  1.1  riastrad 
   18381  1.1  riastrad __asm__ __volatile__ (".hidden dummy_symbol \n"
   18382  1.1  riastrad                       ".hidden _dummy_symbol \n"
   18383  1.1  riastrad                       ".globl dummy_symbol \n"
   18384  1.1  riastrad                       ".globl _dummy_symbol \n"
   18385  1.1  riastrad                       "dummy_symbol: \n"
   18386  1.1  riastrad                       "_dummy_symbol: \n"
   18387  1.1  riastrad                       "    nop \n"
   18388  1.1  riastrad );
   18389  1.1  riastrad 
   18390  1.1  riastrad   ;
   18391  1.1  riastrad   return 0;
   18392  1.1  riastrad }
   18393  1.1  riastrad _ACEOF
   18394  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   18395  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18396  1.1  riastrad $as_echo "yes" >&6; }
   18397  1.1  riastrad    if test "$asm_hide_symbol" = "unsupported"; then :
   18398  1.1  riastrad   asm_hide_symbol=".hidden"
   18399  1.1  riastrad else
   18400  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: unable to reliably tag symbols as private" >&5
   18401  1.1  riastrad $as_echo "$as_me: unable to reliably tag symbols as private" >&6;}
   18402  1.1  riastrad            asm_hide_symbol="unsupported"
   18403  1.1  riastrad fi
   18404  1.1  riastrad 
   18405  1.1  riastrad else
   18406  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18407  1.1  riastrad $as_echo "no" >&6; }
   18408  1.1  riastrad fi
   18409  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   18410  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   18411  1.1  riastrad 
   18412  1.1  riastrad   if test "$asm_hide_symbol" != "unsupported"; then :
   18413  1.1  riastrad 
   18414  1.1  riastrad 
   18415  1.1  riastrad cat >>confdefs.h <<_ACEOF
   18416  1.1  riastrad #define ASM_HIDE_SYMBOL $asm_hide_symbol
   18417  1.1  riastrad _ACEOF
   18418  1.1  riastrad 
   18419  1.1  riastrad 
   18420  1.1  riastrad fi
   18421  1.1  riastrad 
   18422  1.1  riastrad fi
   18423  1.1  riastrad 
   18424  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking if weak symbols are supported" >&5
   18425  1.1  riastrad $as_echo_n "checking if weak symbols are supported... " >&6; }
   18426  1.1  riastrad cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18427  1.1  riastrad /* end confdefs.h.  */
   18428  1.1  riastrad 
   18429  1.1  riastrad #if !defined(__ELF__) && !defined(__APPLE_CC__)
   18430  1.1  riastrad # error Support for weak symbols may not be available
   18431  1.1  riastrad #endif
   18432  1.1  riastrad __attribute__((weak)) void __dummy(void *x) { }
   18433  1.1  riastrad void f(void *x) { __dummy(x); }
   18434  1.1  riastrad 
   18435  1.1  riastrad int
   18436  1.1  riastrad main ()
   18437  1.1  riastrad {
   18438  1.1  riastrad 
   18439  1.1  riastrad 
   18440  1.1  riastrad   ;
   18441  1.1  riastrad   return 0;
   18442  1.1  riastrad }
   18443  1.1  riastrad _ACEOF
   18444  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   18445  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18446  1.1  riastrad $as_echo "yes" >&6; }
   18447  1.1  riastrad 
   18448  1.1  riastrad $as_echo "#define HAVE_WEAK_SYMBOLS 1" >>confdefs.h
   18449  1.1  riastrad 
   18450  1.1  riastrad else
   18451  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18452  1.1  riastrad $as_echo "no" >&6; }
   18453  1.1  riastrad fi
   18454  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   18455  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   18456  1.1  riastrad 
   18457  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking if data alignment is required" >&5
   18458  1.1  riastrad $as_echo_n "checking if data alignment is required... " >&6; }
   18459  1.1  riastrad aligned_access_required=yes
   18460  1.1  riastrad case $host_cpu in #(
   18461  1.1  riastrad   i?86|amd64|x86_64|powerpc*|s390*) :
   18462  1.1  riastrad     aligned_access_required=no ;; #(
   18463  1.1  riastrad   arm*) :
   18464  1.1  riastrad     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18465  1.1  riastrad /* end confdefs.h.  */
   18466  1.1  riastrad 
   18467  1.1  riastrad #ifndef __ARM_FEATURE_UNALIGNED
   18468  1.1  riastrad # error data alignment is required
   18469  1.1  riastrad #endif
   18470  1.1  riastrad 
   18471  1.1  riastrad int
   18472  1.1  riastrad main ()
   18473  1.1  riastrad {
   18474  1.1  riastrad 
   18475  1.1  riastrad   ;
   18476  1.1  riastrad   return 0;
   18477  1.1  riastrad }
   18478  1.1  riastrad _ACEOF
   18479  1.1  riastrad if ac_fn_c_try_compile "$LINENO"; then :
   18480  1.1  riastrad   aligned_access_required=no
   18481  1.1  riastrad fi
   18482  1.1  riastrad rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18483  1.1  riastrad  ;; #(
   18484  1.1  riastrad   *) :
   18485  1.1  riastrad      ;;
   18486  1.1  riastrad esac
   18487  1.1  riastrad if test "x$aligned_access_required" = "xyes"; then :
   18488  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18489  1.1  riastrad $as_echo "yes" >&6; }
   18490  1.1  riastrad else
   18491  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18492  1.1  riastrad $as_echo "no" >&6; }
   18493  1.1  riastrad 
   18494  1.1  riastrad $as_echo "#define CPU_UNALIGNED_ACCESS 1" >>confdefs.h
   18495  1.1  riastrad 
   18496  1.1  riastrad fi
   18497  1.1  riastrad 
   18498  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking if atomic operations are supported" >&5
   18499  1.1  riastrad $as_echo_n "checking if atomic operations are supported... " >&6; }
   18500  1.1  riastrad cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18501  1.1  riastrad /* end confdefs.h.  */
   18502  1.1  riastrad 
   18503  1.1  riastrad int
   18504  1.1  riastrad main ()
   18505  1.1  riastrad {
   18506  1.1  riastrad 
   18507  1.1  riastrad static volatile int _sodium_lock;
   18508  1.1  riastrad __sync_lock_test_and_set(&_sodium_lock, 1);
   18509  1.1  riastrad __sync_lock_release(&_sodium_lock);
   18510  1.1  riastrad 
   18511  1.1  riastrad 
   18512  1.1  riastrad   ;
   18513  1.1  riastrad   return 0;
   18514  1.1  riastrad }
   18515  1.1  riastrad _ACEOF
   18516  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   18517  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18518  1.1  riastrad $as_echo "yes" >&6; }
   18519  1.1  riastrad 
   18520  1.1  riastrad $as_echo "#define HAVE_ATOMIC_OPS 1" >>confdefs.h
   18521  1.1  riastrad 
   18522  1.1  riastrad else
   18523  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18524  1.1  riastrad $as_echo "no" >&6; }
   18525  1.1  riastrad fi
   18526  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   18527  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   18528  1.1  riastrad 
   18529  1.1  riastrad 
   18530  1.1  riastrad ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
   18531  1.1  riastrad if test "x$ac_cv_type_size_t" = xyes; then :
   18532  1.1  riastrad 
   18533  1.1  riastrad else
   18534  1.1  riastrad 
   18535  1.1  riastrad cat >>confdefs.h <<_ACEOF
   18536  1.1  riastrad #define size_t unsigned int
   18537  1.1  riastrad _ACEOF
   18538  1.1  riastrad 
   18539  1.1  riastrad fi
   18540  1.1  riastrad 
   18541  1.1  riastrad # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
   18542  1.1  riastrad # for constant arguments.  Useless!
   18543  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
   18544  1.1  riastrad $as_echo_n "checking for working alloca.h... " >&6; }
   18545  1.1  riastrad if ${ac_cv_working_alloca_h+:} false; then :
   18546  1.1  riastrad   $as_echo_n "(cached) " >&6
   18547  1.1  riastrad else
   18548  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18549  1.1  riastrad /* end confdefs.h.  */
   18550  1.1  riastrad #include <alloca.h>
   18551  1.1  riastrad int
   18552  1.1  riastrad main ()
   18553  1.1  riastrad {
   18554  1.1  riastrad char *p = (char *) alloca (2 * sizeof (int));
   18555  1.1  riastrad 			  if (p) return 0;
   18556  1.1  riastrad   ;
   18557  1.1  riastrad   return 0;
   18558  1.1  riastrad }
   18559  1.1  riastrad _ACEOF
   18560  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   18561  1.1  riastrad   ac_cv_working_alloca_h=yes
   18562  1.1  riastrad else
   18563  1.1  riastrad   ac_cv_working_alloca_h=no
   18564  1.1  riastrad fi
   18565  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   18566  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   18567  1.1  riastrad fi
   18568  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
   18569  1.1  riastrad $as_echo "$ac_cv_working_alloca_h" >&6; }
   18570  1.1  riastrad if test $ac_cv_working_alloca_h = yes; then
   18571  1.1  riastrad 
   18572  1.1  riastrad $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
   18573  1.1  riastrad 
   18574  1.1  riastrad fi
   18575  1.1  riastrad 
   18576  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
   18577  1.1  riastrad $as_echo_n "checking for alloca... " >&6; }
   18578  1.1  riastrad if ${ac_cv_func_alloca_works+:} false; then :
   18579  1.1  riastrad   $as_echo_n "(cached) " >&6
   18580  1.1  riastrad else
   18581  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18582  1.1  riastrad /* end confdefs.h.  */
   18583  1.1  riastrad #ifdef __GNUC__
   18584  1.1  riastrad # define alloca __builtin_alloca
   18585  1.1  riastrad #else
   18586  1.1  riastrad # ifdef _MSC_VER
   18587  1.1  riastrad #  include <malloc.h>
   18588  1.1  riastrad #  define alloca _alloca
   18589  1.1  riastrad # else
   18590  1.1  riastrad #  ifdef HAVE_ALLOCA_H
   18591  1.1  riastrad #   include <alloca.h>
   18592  1.1  riastrad #  else
   18593  1.1  riastrad #   ifdef _AIX
   18594  1.1  riastrad  #pragma alloca
   18595  1.1  riastrad #   else
   18596  1.1  riastrad #    ifndef alloca /* predefined by HP cc +Olibcalls */
   18597  1.1  riastrad void *alloca (size_t);
   18598  1.1  riastrad #    endif
   18599  1.1  riastrad #   endif
   18600  1.1  riastrad #  endif
   18601  1.1  riastrad # endif
   18602  1.1  riastrad #endif
   18603  1.1  riastrad 
   18604  1.1  riastrad int
   18605  1.1  riastrad main ()
   18606  1.1  riastrad {
   18607  1.1  riastrad char *p = (char *) alloca (1);
   18608  1.1  riastrad 				    if (p) return 0;
   18609  1.1  riastrad   ;
   18610  1.1  riastrad   return 0;
   18611  1.1  riastrad }
   18612  1.1  riastrad _ACEOF
   18613  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   18614  1.1  riastrad   ac_cv_func_alloca_works=yes
   18615  1.1  riastrad else
   18616  1.1  riastrad   ac_cv_func_alloca_works=no
   18617  1.1  riastrad fi
   18618  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   18619  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   18620  1.1  riastrad fi
   18621  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
   18622  1.1  riastrad $as_echo "$ac_cv_func_alloca_works" >&6; }
   18623  1.1  riastrad 
   18624  1.1  riastrad if test $ac_cv_func_alloca_works = yes; then
   18625  1.1  riastrad 
   18626  1.1  riastrad $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
   18627  1.1  riastrad 
   18628  1.1  riastrad else
   18629  1.1  riastrad   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
   18630  1.1  riastrad # that cause trouble.  Some versions do not even contain alloca or
   18631  1.1  riastrad # contain a buggy version.  If you still want to use their alloca,
   18632  1.1  riastrad # use ar to extract alloca.o from them instead of compiling alloca.c.
   18633  1.1  riastrad 
   18634  1.1  riastrad ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
   18635  1.1  riastrad 
   18636  1.1  riastrad $as_echo "#define C_ALLOCA 1" >>confdefs.h
   18637  1.1  riastrad 
   18638  1.1  riastrad 
   18639  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
   18640  1.1  riastrad $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
   18641  1.1  riastrad if ${ac_cv_os_cray+:} false; then :
   18642  1.1  riastrad   $as_echo_n "(cached) " >&6
   18643  1.1  riastrad else
   18644  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18645  1.1  riastrad /* end confdefs.h.  */
   18646  1.1  riastrad #if defined CRAY && ! defined CRAY2
   18647  1.1  riastrad webecray
   18648  1.1  riastrad #else
   18649  1.1  riastrad wenotbecray
   18650  1.1  riastrad #endif
   18651  1.1  riastrad 
   18652  1.1  riastrad _ACEOF
   18653  1.1  riastrad if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   18654  1.1  riastrad   $EGREP "webecray" >/dev/null 2>&1; then :
   18655  1.1  riastrad   ac_cv_os_cray=yes
   18656  1.1  riastrad else
   18657  1.1  riastrad   ac_cv_os_cray=no
   18658  1.1  riastrad fi
   18659  1.1  riastrad rm -f conftest*
   18660  1.1  riastrad 
   18661  1.1  riastrad fi
   18662  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
   18663  1.1  riastrad $as_echo "$ac_cv_os_cray" >&6; }
   18664  1.1  riastrad if test $ac_cv_os_cray = yes; then
   18665  1.1  riastrad   for ac_func in _getb67 GETB67 getb67; do
   18666  1.1  riastrad     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   18667  1.1  riastrad ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   18668  1.1  riastrad if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   18669  1.1  riastrad 
   18670  1.1  riastrad cat >>confdefs.h <<_ACEOF
   18671  1.1  riastrad #define CRAY_STACKSEG_END $ac_func
   18672  1.1  riastrad _ACEOF
   18673  1.1  riastrad 
   18674  1.1  riastrad     break
   18675  1.1  riastrad fi
   18676  1.1  riastrad 
   18677  1.1  riastrad   done
   18678  1.1  riastrad fi
   18679  1.1  riastrad 
   18680  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
   18681  1.1  riastrad $as_echo_n "checking stack direction for C alloca... " >&6; }
   18682  1.1  riastrad if ${ac_cv_c_stack_direction+:} false; then :
   18683  1.1  riastrad   $as_echo_n "(cached) " >&6
   18684  1.1  riastrad else
   18685  1.1  riastrad   if test "$cross_compiling" = yes; then :
   18686  1.1  riastrad   ac_cv_c_stack_direction=0
   18687  1.1  riastrad else
   18688  1.1  riastrad   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18689  1.1  riastrad /* end confdefs.h.  */
   18690  1.1  riastrad $ac_includes_default
   18691  1.1  riastrad int
   18692  1.1  riastrad find_stack_direction (int *addr, int depth)
   18693  1.1  riastrad {
   18694  1.1  riastrad   int dir, dummy = 0;
   18695  1.1  riastrad   if (! addr)
   18696  1.1  riastrad     addr = &dummy;
   18697  1.1  riastrad   *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
   18698  1.1  riastrad   dir = depth ? find_stack_direction (addr, depth - 1) : 0;
   18699  1.1  riastrad   return dir + dummy;
   18700  1.1  riastrad }
   18701  1.1  riastrad 
   18702  1.1  riastrad int
   18703  1.1  riastrad main (int argc, char **argv)
   18704  1.1  riastrad {
   18705  1.1  riastrad   return find_stack_direction (0, argc + !argv + 20) < 0;
   18706  1.1  riastrad }
   18707  1.1  riastrad _ACEOF
   18708  1.1  riastrad if ac_fn_c_try_run "$LINENO"; then :
   18709  1.1  riastrad   ac_cv_c_stack_direction=1
   18710  1.1  riastrad else
   18711  1.1  riastrad   ac_cv_c_stack_direction=-1
   18712  1.1  riastrad fi
   18713  1.1  riastrad rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   18714  1.1  riastrad   conftest.$ac_objext conftest.beam conftest.$ac_ext
   18715  1.1  riastrad fi
   18716  1.1  riastrad 
   18717  1.1  riastrad fi
   18718  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
   18719  1.1  riastrad $as_echo "$ac_cv_c_stack_direction" >&6; }
   18720  1.1  riastrad cat >>confdefs.h <<_ACEOF
   18721  1.1  riastrad #define STACK_DIRECTION $ac_cv_c_stack_direction
   18722  1.1  riastrad _ACEOF
   18723  1.1  riastrad 
   18724  1.1  riastrad 
   18725  1.1  riastrad fi
   18726  1.1  riastrad 
   18727  1.1  riastrad if test "x$EMSCRIPTEN" = "x"; then :
   18728  1.1  riastrad 
   18729  1.1  riastrad   for ac_func in arc4random arc4random_buf
   18730  1.1  riastrad do :
   18731  1.1  riastrad   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   18732  1.1  riastrad ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   18733  1.1  riastrad if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   18734  1.1  riastrad   cat >>confdefs.h <<_ACEOF
   18735  1.1  riastrad #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   18736  1.1  riastrad _ACEOF
   18737  1.1  riastrad 
   18738  1.1  riastrad fi
   18739  1.1  riastrad done
   18740  1.1  riastrad 
   18741  1.1  riastrad   for ac_func in mmap mlock madvise mprotect memset_s explicit_bzero nanosleep
   18742  1.1  riastrad do :
   18743  1.1  riastrad   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   18744  1.1  riastrad ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   18745  1.1  riastrad if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   18746  1.1  riastrad   cat >>confdefs.h <<_ACEOF
   18747  1.1  riastrad #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   18748  1.1  riastrad _ACEOF
   18749  1.1  riastrad 
   18750  1.1  riastrad fi
   18751  1.1  riastrad done
   18752  1.1  riastrad 
   18753  1.1  riastrad 
   18754  1.1  riastrad fi
   18755  1.1  riastrad for ac_func in posix_memalign getpid
   18756  1.1  riastrad do :
   18757  1.1  riastrad   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   18758  1.1  riastrad ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   18759  1.1  riastrad if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   18760  1.1  riastrad   cat >>confdefs.h <<_ACEOF
   18761  1.1  riastrad #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   18762  1.1  riastrad _ACEOF
   18763  1.1  riastrad 
   18764  1.1  riastrad fi
   18765  1.1  riastrad done
   18766  1.1  riastrad 
   18767  1.1  riastrad 
   18768  1.1  riastrad 
   18769  1.1  riastrad 
   18770  1.1  riastrad TEST_LDFLAGS=''
   18771  1.1  riastrad if test "x$EMSCRIPTEN" != "x"; then :
   18772  1.1  riastrad 
   18773  1.1  riastrad   EXEEXT=.js
   18774  1.1  riastrad   TEST_LDFLAGS='--memory-init-file 0 --pre-js pre.js.inc -s RESERVED_FUNCTION_POINTERS=8'
   18775  1.1  riastrad 
   18776  1.1  riastrad fi
   18777  1.1  riastrad 
   18778  1.1  riastrad  if test "x$EMSCRIPTEN" != "x"; then
   18779  1.1  riastrad   EMSCRIPTEN_TRUE=
   18780  1.1  riastrad   EMSCRIPTEN_FALSE='#'
   18781  1.1  riastrad else
   18782  1.1  riastrad   EMSCRIPTEN_TRUE='#'
   18783  1.1  riastrad   EMSCRIPTEN_FALSE=
   18784  1.1  riastrad fi
   18785  1.1  riastrad 
   18786  1.1  riastrad 
   18787  1.1  riastrad  if test "x$NATIVECLIENT" != "x"; then
   18788  1.1  riastrad   NATIVECLIENT_TRUE=
   18789  1.1  riastrad   NATIVECLIENT_FALSE='#'
   18790  1.1  riastrad else
   18791  1.1  riastrad   NATIVECLIENT_TRUE='#'
   18792  1.1  riastrad   NATIVECLIENT_FALSE=
   18793  1.1  riastrad fi
   18794  1.1  riastrad 
   18795  1.1  riastrad 
   18796  1.1  riastrad 
   18797  1.1  riastrad $as_echo "#define CONFIGURED 1" >>confdefs.h
   18798  1.1  riastrad 
   18799  1.1  riastrad 
   18800  1.1  riastrad 
   18801  1.1  riastrad 
   18802  1.1  riastrad enable_win32_dll=yes
   18803  1.1  riastrad 
   18804  1.1  riastrad case $host in
   18805  1.1  riastrad *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
   18806  1.1  riastrad   if test -n "$ac_tool_prefix"; then
   18807  1.1  riastrad   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   18808  1.1  riastrad set dummy ${ac_tool_prefix}as; ac_word=$2
   18809  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18810  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   18811  1.1  riastrad if ${ac_cv_prog_AS+:} false; then :
   18812  1.1  riastrad   $as_echo_n "(cached) " >&6
   18813  1.1  riastrad else
   18814  1.1  riastrad   if test -n "$AS"; then
   18815  1.1  riastrad   ac_cv_prog_AS="$AS" # Let the user override the test.
   18816  1.1  riastrad else
   18817  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18818  1.1  riastrad for as_dir in $PATH
   18819  1.1  riastrad do
   18820  1.1  riastrad   IFS=$as_save_IFS
   18821  1.1  riastrad   test -z "$as_dir" && as_dir=.
   18822  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   18823  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18824  1.1  riastrad     ac_cv_prog_AS="${ac_tool_prefix}as"
   18825  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18826  1.1  riastrad     break 2
   18827  1.1  riastrad   fi
   18828  1.1  riastrad done
   18829  1.1  riastrad   done
   18830  1.1  riastrad IFS=$as_save_IFS
   18831  1.1  riastrad 
   18832  1.1  riastrad fi
   18833  1.1  riastrad fi
   18834  1.1  riastrad AS=$ac_cv_prog_AS
   18835  1.1  riastrad if test -n "$AS"; then
   18836  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   18837  1.1  riastrad $as_echo "$AS" >&6; }
   18838  1.1  riastrad else
   18839  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18840  1.1  riastrad $as_echo "no" >&6; }
   18841  1.1  riastrad fi
   18842  1.1  riastrad 
   18843  1.1  riastrad 
   18844  1.1  riastrad fi
   18845  1.1  riastrad if test -z "$ac_cv_prog_AS"; then
   18846  1.1  riastrad   ac_ct_AS=$AS
   18847  1.1  riastrad   # Extract the first word of "as", so it can be a program name with args.
   18848  1.1  riastrad set dummy as; ac_word=$2
   18849  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18850  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   18851  1.1  riastrad if ${ac_cv_prog_ac_ct_AS+:} false; then :
   18852  1.1  riastrad   $as_echo_n "(cached) " >&6
   18853  1.1  riastrad else
   18854  1.1  riastrad   if test -n "$ac_ct_AS"; then
   18855  1.1  riastrad   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   18856  1.1  riastrad else
   18857  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18858  1.1  riastrad for as_dir in $PATH
   18859  1.1  riastrad do
   18860  1.1  riastrad   IFS=$as_save_IFS
   18861  1.1  riastrad   test -z "$as_dir" && as_dir=.
   18862  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   18863  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18864  1.1  riastrad     ac_cv_prog_ac_ct_AS="as"
   18865  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18866  1.1  riastrad     break 2
   18867  1.1  riastrad   fi
   18868  1.1  riastrad done
   18869  1.1  riastrad   done
   18870  1.1  riastrad IFS=$as_save_IFS
   18871  1.1  riastrad 
   18872  1.1  riastrad fi
   18873  1.1  riastrad fi
   18874  1.1  riastrad ac_ct_AS=$ac_cv_prog_ac_ct_AS
   18875  1.1  riastrad if test -n "$ac_ct_AS"; then
   18876  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
   18877  1.1  riastrad $as_echo "$ac_ct_AS" >&6; }
   18878  1.1  riastrad else
   18879  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18880  1.1  riastrad $as_echo "no" >&6; }
   18881  1.1  riastrad fi
   18882  1.1  riastrad 
   18883  1.1  riastrad   if test "x$ac_ct_AS" = x; then
   18884  1.1  riastrad     AS="false"
   18885  1.1  riastrad   else
   18886  1.1  riastrad     case $cross_compiling:$ac_tool_warned in
   18887  1.1  riastrad yes:)
   18888  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   18889  1.1  riastrad $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   18890  1.1  riastrad ac_tool_warned=yes ;;
   18891  1.1  riastrad esac
   18892  1.1  riastrad     AS=$ac_ct_AS
   18893  1.1  riastrad   fi
   18894  1.1  riastrad else
   18895  1.1  riastrad   AS="$ac_cv_prog_AS"
   18896  1.1  riastrad fi
   18897  1.1  riastrad 
   18898  1.1  riastrad   if test -n "$ac_tool_prefix"; then
   18899  1.1  riastrad   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   18900  1.1  riastrad set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   18901  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18902  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   18903  1.1  riastrad if ${ac_cv_prog_DLLTOOL+:} false; then :
   18904  1.1  riastrad   $as_echo_n "(cached) " >&6
   18905  1.1  riastrad else
   18906  1.1  riastrad   if test -n "$DLLTOOL"; then
   18907  1.1  riastrad   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   18908  1.1  riastrad else
   18909  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18910  1.1  riastrad for as_dir in $PATH
   18911  1.1  riastrad do
   18912  1.1  riastrad   IFS=$as_save_IFS
   18913  1.1  riastrad   test -z "$as_dir" && as_dir=.
   18914  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   18915  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18916  1.1  riastrad     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   18917  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18918  1.1  riastrad     break 2
   18919  1.1  riastrad   fi
   18920  1.1  riastrad done
   18921  1.1  riastrad   done
   18922  1.1  riastrad IFS=$as_save_IFS
   18923  1.1  riastrad 
   18924  1.1  riastrad fi
   18925  1.1  riastrad fi
   18926  1.1  riastrad DLLTOOL=$ac_cv_prog_DLLTOOL
   18927  1.1  riastrad if test -n "$DLLTOOL"; then
   18928  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   18929  1.1  riastrad $as_echo "$DLLTOOL" >&6; }
   18930  1.1  riastrad else
   18931  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18932  1.1  riastrad $as_echo "no" >&6; }
   18933  1.1  riastrad fi
   18934  1.1  riastrad 
   18935  1.1  riastrad 
   18936  1.1  riastrad fi
   18937  1.1  riastrad if test -z "$ac_cv_prog_DLLTOOL"; then
   18938  1.1  riastrad   ac_ct_DLLTOOL=$DLLTOOL
   18939  1.1  riastrad   # Extract the first word of "dlltool", so it can be a program name with args.
   18940  1.1  riastrad set dummy dlltool; ac_word=$2
   18941  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18942  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   18943  1.1  riastrad if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   18944  1.1  riastrad   $as_echo_n "(cached) " >&6
   18945  1.1  riastrad else
   18946  1.1  riastrad   if test -n "$ac_ct_DLLTOOL"; then
   18947  1.1  riastrad   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   18948  1.1  riastrad else
   18949  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18950  1.1  riastrad for as_dir in $PATH
   18951  1.1  riastrad do
   18952  1.1  riastrad   IFS=$as_save_IFS
   18953  1.1  riastrad   test -z "$as_dir" && as_dir=.
   18954  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   18955  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18956  1.1  riastrad     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   18957  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18958  1.1  riastrad     break 2
   18959  1.1  riastrad   fi
   18960  1.1  riastrad done
   18961  1.1  riastrad   done
   18962  1.1  riastrad IFS=$as_save_IFS
   18963  1.1  riastrad 
   18964  1.1  riastrad fi
   18965  1.1  riastrad fi
   18966  1.1  riastrad ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   18967  1.1  riastrad if test -n "$ac_ct_DLLTOOL"; then
   18968  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   18969  1.1  riastrad $as_echo "$ac_ct_DLLTOOL" >&6; }
   18970  1.1  riastrad else
   18971  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18972  1.1  riastrad $as_echo "no" >&6; }
   18973  1.1  riastrad fi
   18974  1.1  riastrad 
   18975  1.1  riastrad   if test "x$ac_ct_DLLTOOL" = x; then
   18976  1.1  riastrad     DLLTOOL="false"
   18977  1.1  riastrad   else
   18978  1.1  riastrad     case $cross_compiling:$ac_tool_warned in
   18979  1.1  riastrad yes:)
   18980  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   18981  1.1  riastrad $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   18982  1.1  riastrad ac_tool_warned=yes ;;
   18983  1.1  riastrad esac
   18984  1.1  riastrad     DLLTOOL=$ac_ct_DLLTOOL
   18985  1.1  riastrad   fi
   18986  1.1  riastrad else
   18987  1.1  riastrad   DLLTOOL="$ac_cv_prog_DLLTOOL"
   18988  1.1  riastrad fi
   18989  1.1  riastrad 
   18990  1.1  riastrad   if test -n "$ac_tool_prefix"; then
   18991  1.1  riastrad   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   18992  1.1  riastrad set dummy ${ac_tool_prefix}objdump; ac_word=$2
   18993  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18994  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   18995  1.1  riastrad if ${ac_cv_prog_OBJDUMP+:} false; then :
   18996  1.1  riastrad   $as_echo_n "(cached) " >&6
   18997  1.1  riastrad else
   18998  1.1  riastrad   if test -n "$OBJDUMP"; then
   18999  1.1  riastrad   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   19000  1.1  riastrad else
   19001  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19002  1.1  riastrad for as_dir in $PATH
   19003  1.1  riastrad do
   19004  1.1  riastrad   IFS=$as_save_IFS
   19005  1.1  riastrad   test -z "$as_dir" && as_dir=.
   19006  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   19007  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19008  1.1  riastrad     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   19009  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19010  1.1  riastrad     break 2
   19011  1.1  riastrad   fi
   19012  1.1  riastrad done
   19013  1.1  riastrad   done
   19014  1.1  riastrad IFS=$as_save_IFS
   19015  1.1  riastrad 
   19016  1.1  riastrad fi
   19017  1.1  riastrad fi
   19018  1.1  riastrad OBJDUMP=$ac_cv_prog_OBJDUMP
   19019  1.1  riastrad if test -n "$OBJDUMP"; then
   19020  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   19021  1.1  riastrad $as_echo "$OBJDUMP" >&6; }
   19022  1.1  riastrad else
   19023  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19024  1.1  riastrad $as_echo "no" >&6; }
   19025  1.1  riastrad fi
   19026  1.1  riastrad 
   19027  1.1  riastrad 
   19028  1.1  riastrad fi
   19029  1.1  riastrad if test -z "$ac_cv_prog_OBJDUMP"; then
   19030  1.1  riastrad   ac_ct_OBJDUMP=$OBJDUMP
   19031  1.1  riastrad   # Extract the first word of "objdump", so it can be a program name with args.
   19032  1.1  riastrad set dummy objdump; ac_word=$2
   19033  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19034  1.1  riastrad $as_echo_n "checking for $ac_word... " >&6; }
   19035  1.1  riastrad if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   19036  1.1  riastrad   $as_echo_n "(cached) " >&6
   19037  1.1  riastrad else
   19038  1.1  riastrad   if test -n "$ac_ct_OBJDUMP"; then
   19039  1.1  riastrad   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   19040  1.1  riastrad else
   19041  1.1  riastrad as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19042  1.1  riastrad for as_dir in $PATH
   19043  1.1  riastrad do
   19044  1.1  riastrad   IFS=$as_save_IFS
   19045  1.1  riastrad   test -z "$as_dir" && as_dir=.
   19046  1.1  riastrad     for ac_exec_ext in '' $ac_executable_extensions; do
   19047  1.1  riastrad   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19048  1.1  riastrad     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   19049  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19050  1.1  riastrad     break 2
   19051  1.1  riastrad   fi
   19052  1.1  riastrad done
   19053  1.1  riastrad   done
   19054  1.1  riastrad IFS=$as_save_IFS
   19055  1.1  riastrad 
   19056  1.1  riastrad fi
   19057  1.1  riastrad fi
   19058  1.1  riastrad ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   19059  1.1  riastrad if test -n "$ac_ct_OBJDUMP"; then
   19060  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   19061  1.1  riastrad $as_echo "$ac_ct_OBJDUMP" >&6; }
   19062  1.1  riastrad else
   19063  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19064  1.1  riastrad $as_echo "no" >&6; }
   19065  1.1  riastrad fi
   19066  1.1  riastrad 
   19067  1.1  riastrad   if test "x$ac_ct_OBJDUMP" = x; then
   19068  1.1  riastrad     OBJDUMP="false"
   19069  1.1  riastrad   else
   19070  1.1  riastrad     case $cross_compiling:$ac_tool_warned in
   19071  1.1  riastrad yes:)
   19072  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   19073  1.1  riastrad $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   19074  1.1  riastrad ac_tool_warned=yes ;;
   19075  1.1  riastrad esac
   19076  1.1  riastrad     OBJDUMP=$ac_ct_OBJDUMP
   19077  1.1  riastrad   fi
   19078  1.1  riastrad else
   19079  1.1  riastrad   OBJDUMP="$ac_cv_prog_OBJDUMP"
   19080  1.1  riastrad fi
   19081  1.1  riastrad 
   19082  1.1  riastrad   ;;
   19083  1.1  riastrad esac
   19084  1.1  riastrad 
   19085  1.1  riastrad test -z "$AS" && AS=as
   19086  1.1  riastrad 
   19087  1.1  riastrad 
   19088  1.1  riastrad 
   19089  1.1  riastrad 
   19090  1.1  riastrad 
   19091  1.1  riastrad test -z "$DLLTOOL" && DLLTOOL=dlltool
   19092  1.1  riastrad 
   19093  1.1  riastrad 
   19094  1.1  riastrad test -z "$OBJDUMP" && OBJDUMP=objdump
   19095  1.1  riastrad 
   19096  1.1  riastrad 
   19097  1.1  riastrad 
   19098  1.1  riastrad 
   19099  1.1  riastrad 
   19100  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc/ld supports -Wl,--output-def" >&5
   19101  1.1  riastrad $as_echo_n "checking if gcc/ld supports -Wl,--output-def... " >&6; }
   19102  1.1  riastrad if ${gl_cv_ld_output_def+:} false; then :
   19103  1.1  riastrad   $as_echo_n "(cached) " >&6
   19104  1.1  riastrad else
   19105  1.1  riastrad   if test "$enable_shared" = no; then
   19106  1.1  riastrad        gl_cv_ld_output_def="not needed, shared libraries are disabled"
   19107  1.1  riastrad      else
   19108  1.1  riastrad        gl_ldflags_save=$LDFLAGS
   19109  1.1  riastrad        LDFLAGS="-Wl,--output-def,conftest.def"
   19110  1.1  riastrad        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19111  1.1  riastrad /* end confdefs.h.  */
   19112  1.1  riastrad 
   19113  1.1  riastrad int
   19114  1.1  riastrad main ()
   19115  1.1  riastrad {
   19116  1.1  riastrad 
   19117  1.1  riastrad   ;
   19118  1.1  riastrad   return 0;
   19119  1.1  riastrad }
   19120  1.1  riastrad _ACEOF
   19121  1.1  riastrad if ac_fn_c_try_link "$LINENO"; then :
   19122  1.1  riastrad   gl_cv_ld_output_def=yes
   19123  1.1  riastrad else
   19124  1.1  riastrad   gl_cv_ld_output_def=no
   19125  1.1  riastrad fi
   19126  1.1  riastrad rm -f core conftest.err conftest.$ac_objext \
   19127  1.1  riastrad     conftest$ac_exeext conftest.$ac_ext
   19128  1.1  riastrad        rm -f conftest.def
   19129  1.1  riastrad        LDFLAGS="$gl_ldflags_save"
   19130  1.1  riastrad      fi
   19131  1.1  riastrad fi
   19132  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_ld_output_def" >&5
   19133  1.1  riastrad $as_echo "$gl_cv_ld_output_def" >&6; }
   19134  1.1  riastrad    if test "x$gl_cv_ld_output_def" = "xyes"; then
   19135  1.1  riastrad   HAVE_LD_OUTPUT_DEF_TRUE=
   19136  1.1  riastrad   HAVE_LD_OUTPUT_DEF_FALSE='#'
   19137  1.1  riastrad else
   19138  1.1  riastrad   HAVE_LD_OUTPUT_DEF_TRUE='#'
   19139  1.1  riastrad   HAVE_LD_OUTPUT_DEF_FALSE=
   19140  1.1  riastrad fi
   19141  1.1  riastrad 
   19142  1.1  riastrad 
   19143  1.1  riastrad 
   19144  1.1  riastrad 
   19145  1.1  riastrad 
   19146  1.1  riastrad 
   19147  1.1  riastrad if test "x$ENABLE_CWFLAGS" = "xyes"; then :
   19148  1.1  riastrad 
   19149  1.1  riastrad   CFLAGS="$CFLAGS $CWFLAGS"
   19150  1.1  riastrad 
   19151  1.1  riastrad fi
   19152  1.1  riastrad 
   19153  1.1  riastrad ac_config_files="$ac_config_files Makefile builds/Makefile contrib/Makefile dist-build/Makefile libsodium.pc libsodium-uninstalled.pc msvc-scripts/Makefile src/Makefile src/libsodium/Makefile src/libsodium/include/Makefile src/libsodium/include/sodium/version.h test/default/Makefile test/Makefile"
   19154  1.1  riastrad 
   19155  1.1  riastrad cat >confcache <<\_ACEOF
   19156  1.1  riastrad # This file is a shell script that caches the results of configure
   19157  1.1  riastrad # tests run on this system so they can be shared between configure
   19158  1.1  riastrad # scripts and configure runs, see configure's option --config-cache.
   19159  1.1  riastrad # It is not useful on other systems.  If it contains results you don't
   19160  1.1  riastrad # want to keep, you may remove or edit it.
   19161  1.1  riastrad #
   19162  1.1  riastrad # config.status only pays attention to the cache file if you give it
   19163  1.1  riastrad # the --recheck option to rerun configure.
   19164  1.1  riastrad #
   19165  1.1  riastrad # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19166  1.1  riastrad # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19167  1.1  riastrad # following values.
   19168  1.1  riastrad 
   19169  1.1  riastrad _ACEOF
   19170  1.1  riastrad 
   19171  1.1  riastrad # The following way of writing the cache mishandles newlines in values,
   19172  1.1  riastrad # but we know of no workaround that is simple, portable, and efficient.
   19173  1.1  riastrad # So, we kill variables containing newlines.
   19174  1.1  riastrad # Ultrix sh set writes to stderr and can't be redirected directly,
   19175  1.1  riastrad # and sets the high bit in the cache file unless we assign to the vars.
   19176  1.1  riastrad (
   19177  1.1  riastrad   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19178  1.1  riastrad     eval ac_val=\$$ac_var
   19179  1.1  riastrad     case $ac_val in #(
   19180  1.1  riastrad     *${as_nl}*)
   19181  1.1  riastrad       case $ac_var in #(
   19182  1.1  riastrad       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   19183  1.1  riastrad $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   19184  1.1  riastrad       esac
   19185  1.1  riastrad       case $ac_var in #(
   19186  1.1  riastrad       _ | IFS | as_nl) ;; #(
   19187  1.1  riastrad       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   19188  1.1  riastrad       *) { eval $ac_var=; unset $ac_var;} ;;
   19189  1.1  riastrad       esac ;;
   19190  1.1  riastrad     esac
   19191  1.1  riastrad   done
   19192  1.1  riastrad 
   19193  1.1  riastrad   (set) 2>&1 |
   19194  1.1  riastrad     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19195  1.1  riastrad     *${as_nl}ac_space=\ *)
   19196  1.1  riastrad       # `set' does not quote correctly, so add quotes: double-quote
   19197  1.1  riastrad       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19198  1.1  riastrad       sed -n \
   19199  1.1  riastrad 	"s/'/'\\\\''/g;
   19200  1.1  riastrad 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19201  1.1  riastrad       ;; #(
   19202  1.1  riastrad     *)
   19203  1.1  riastrad       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19204  1.1  riastrad       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19205  1.1  riastrad       ;;
   19206  1.1  riastrad     esac |
   19207  1.1  riastrad     sort
   19208  1.1  riastrad ) |
   19209  1.1  riastrad   sed '
   19210  1.1  riastrad      /^ac_cv_env_/b end
   19211  1.1  riastrad      t clear
   19212  1.1  riastrad      :clear
   19213  1.1  riastrad      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   19214  1.1  riastrad      t end
   19215  1.1  riastrad      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19216  1.1  riastrad      :end' >>confcache
   19217  1.1  riastrad if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19218  1.1  riastrad   if test -w "$cache_file"; then
   19219  1.1  riastrad     if test "x$cache_file" != "x/dev/null"; then
   19220  1.1  riastrad       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19221  1.1  riastrad $as_echo "$as_me: updating cache $cache_file" >&6;}
   19222  1.1  riastrad       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19223  1.1  riastrad 	cat confcache >"$cache_file"
   19224  1.1  riastrad       else
   19225  1.1  riastrad         case $cache_file in #(
   19226  1.1  riastrad         */* | ?:*)
   19227  1.1  riastrad 	  mv -f confcache "$cache_file"$$ &&
   19228  1.1  riastrad 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19229  1.1  riastrad         *)
   19230  1.1  riastrad 	  mv -f confcache "$cache_file" ;;
   19231  1.1  riastrad 	esac
   19232  1.1  riastrad       fi
   19233  1.1  riastrad     fi
   19234  1.1  riastrad   else
   19235  1.1  riastrad     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19236  1.1  riastrad $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   19237  1.1  riastrad   fi
   19238  1.1  riastrad fi
   19239  1.1  riastrad rm -f confcache
   19240  1.1  riastrad 
   19241  1.1  riastrad test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19242  1.1  riastrad # Let make expand exec_prefix.
   19243  1.1  riastrad test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19244  1.1  riastrad 
   19245  1.1  riastrad # Transform confdefs.h into DEFS.
   19246  1.1  riastrad # Protect against shell expansion while executing Makefile rules.
   19247  1.1  riastrad # Protect against Makefile macro expansion.
   19248  1.1  riastrad #
   19249  1.1  riastrad # If the first sed substitution is executed (which looks for macros that
   19250  1.1  riastrad # take arguments), then branch to the quote section.  Otherwise,
   19251  1.1  riastrad # look for a macro that doesn't take arguments.
   19252  1.1  riastrad ac_script='
   19253  1.1  riastrad :mline
   19254  1.1  riastrad /\\$/{
   19255  1.1  riastrad  N
   19256  1.1  riastrad  s,\\\n,,
   19257  1.1  riastrad  b mline
   19258  1.1  riastrad }
   19259  1.1  riastrad t clear
   19260  1.1  riastrad :clear
   19261  1.1  riastrad s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
   19262  1.1  riastrad t quote
   19263  1.1  riastrad s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
   19264  1.1  riastrad t quote
   19265  1.1  riastrad b any
   19266  1.1  riastrad :quote
   19267  1.1  riastrad s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
   19268  1.1  riastrad s/\[/\\&/g
   19269  1.1  riastrad s/\]/\\&/g
   19270  1.1  riastrad s/\$/$$/g
   19271  1.1  riastrad H
   19272  1.1  riastrad :any
   19273  1.1  riastrad ${
   19274  1.1  riastrad 	g
   19275  1.1  riastrad 	s/^\n//
   19276  1.1  riastrad 	s/\n/ /g
   19277  1.1  riastrad 	p
   19278  1.1  riastrad }
   19279  1.1  riastrad '
   19280  1.1  riastrad DEFS=`sed -n "$ac_script" confdefs.h`
   19281  1.1  riastrad 
   19282  1.1  riastrad 
   19283  1.1  riastrad ac_libobjs=
   19284  1.1  riastrad ac_ltlibobjs=
   19285  1.1  riastrad U=
   19286  1.1  riastrad for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19287  1.1  riastrad   # 1. Remove the extension, and $U if already installed.
   19288  1.1  riastrad   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19289  1.1  riastrad   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   19290  1.1  riastrad   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19291  1.1  riastrad   #    will be set to the directory where LIBOBJS objects are built.
   19292  1.1  riastrad   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19293  1.1  riastrad   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19294  1.1  riastrad done
   19295  1.1  riastrad LIBOBJS=$ac_libobjs
   19296  1.1  riastrad 
   19297  1.1  riastrad LTLIBOBJS=$ac_ltlibobjs
   19298  1.1  riastrad 
   19299  1.1  riastrad 
   19300  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19301  1.1  riastrad $as_echo_n "checking that generated files are newer than configure... " >&6; }
   19302  1.1  riastrad    if test -n "$am_sleep_pid"; then
   19303  1.1  riastrad      # Hide warnings about reused PIDs.
   19304  1.1  riastrad      wait $am_sleep_pid 2>/dev/null
   19305  1.1  riastrad    fi
   19306  1.1  riastrad    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19307  1.1  riastrad $as_echo "done" >&6; }
   19308  1.1  riastrad  if test -n "$EXEEXT"; then
   19309  1.1  riastrad   am__EXEEXT_TRUE=
   19310  1.1  riastrad   am__EXEEXT_FALSE='#'
   19311  1.1  riastrad else
   19312  1.1  riastrad   am__EXEEXT_TRUE='#'
   19313  1.1  riastrad   am__EXEEXT_FALSE=
   19314  1.1  riastrad fi
   19315  1.1  riastrad 
   19316  1.1  riastrad if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   19317  1.1  riastrad   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   19318  1.1  riastrad Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19319  1.1  riastrad fi
   19320  1.1  riastrad if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19321  1.1  riastrad   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19322  1.1  riastrad Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19323  1.1  riastrad fi
   19324  1.1  riastrad if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19325  1.1  riastrad   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19326  1.1  riastrad Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19327  1.1  riastrad fi
   19328  1.1  riastrad if test -z "${MINIMAL_TRUE}" && test -z "${MINIMAL_FALSE}"; then
   19329  1.1  riastrad   as_fn_error $? "conditional \"MINIMAL\" was never defined.
   19330  1.1  riastrad Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19331  1.1  riastrad fi
   19332  1.1  riastrad if test -z "${VALGRIND_ENABLED_TRUE}" && test -z "${VALGRIND_ENABLED_FALSE}"; then
   19333  1.1  riastrad   as_fn_error $? "conditional \"VALGRIND_ENABLED\" was never defined.
   19334  1.1  riastrad Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19335  1.1  riastrad fi
   19336  1.1  riastrad if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
   19337  1.1  riastrad   as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
   19338  1.1  riastrad Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19339  1.1  riastrad fi
   19340  1.1  riastrad if test -z "${HAVE_AMD64_ASM_TRUE}" && test -z "${HAVE_AMD64_ASM_FALSE}"; then
   19341  1.1  riastrad   as_fn_error $? "conditional \"HAVE_AMD64_ASM\" was never defined.
   19342  1.1  riastrad Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19343  1.1  riastrad fi
   19344  1.1  riastrad if test -z "${HAVE_AVX_ASM_TRUE}" && test -z "${HAVE_AVX_ASM_FALSE}"; then
   19345  1.1  riastrad   as_fn_error $? "conditional \"HAVE_AVX_ASM\" was never defined.
   19346  1.1  riastrad Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19347  1.1  riastrad fi
   19348  1.1  riastrad if test -z "${HAVE_TI_MODE_TRUE}" && test -z "${HAVE_TI_MODE_FALSE}"; then
   19349  1.1  riastrad   as_fn_error $? "conditional \"HAVE_TI_MODE\" was never defined.
   19350  1.1  riastrad Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19351  1.1  riastrad fi
   19352  1.1  riastrad if test -z "${EMSCRIPTEN_TRUE}" && test -z "${EMSCRIPTEN_FALSE}"; then
   19353  1.1  riastrad   as_fn_error $? "conditional \"EMSCRIPTEN\" was never defined.
   19354  1.1  riastrad Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19355  1.1  riastrad fi
   19356  1.1  riastrad if test -z "${NATIVECLIENT_TRUE}" && test -z "${NATIVECLIENT_FALSE}"; then
   19357  1.1  riastrad   as_fn_error $? "conditional \"NATIVECLIENT\" was never defined.
   19358  1.1  riastrad Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19359  1.1  riastrad fi
   19360  1.1  riastrad if test -z "${HAVE_LD_OUTPUT_DEF_TRUE}" && test -z "${HAVE_LD_OUTPUT_DEF_FALSE}"; then
   19361  1.1  riastrad   as_fn_error $? "conditional \"HAVE_LD_OUTPUT_DEF\" was never defined.
   19362  1.1  riastrad Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19363  1.1  riastrad fi
   19364  1.1  riastrad 
   19365  1.1  riastrad : "${CONFIG_STATUS=./config.status}"
   19366  1.1  riastrad ac_write_fail=0
   19367  1.1  riastrad ac_clean_files_save=$ac_clean_files
   19368  1.1  riastrad ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19369  1.1  riastrad { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19370  1.1  riastrad $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   19371  1.1  riastrad as_write_fail=0
   19372  1.1  riastrad cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19373  1.1  riastrad #! $SHELL
   19374  1.1  riastrad # Generated by $as_me.
   19375  1.1  riastrad # Run this file to recreate the current configuration.
   19376  1.1  riastrad # Compiler output produced by configure, useful for debugging
   19377  1.1  riastrad # configure, is in config.log if it exists.
   19378  1.1  riastrad 
   19379  1.1  riastrad debug=false
   19380  1.1  riastrad ac_cs_recheck=false
   19381  1.1  riastrad ac_cs_silent=false
   19382  1.1  riastrad 
   19383  1.1  riastrad SHELL=\${CONFIG_SHELL-$SHELL}
   19384  1.1  riastrad export SHELL
   19385  1.1  riastrad _ASEOF
   19386  1.1  riastrad cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19387  1.1  riastrad ## -------------------- ##
   19388  1.1  riastrad ## M4sh Initialization. ##
   19389  1.1  riastrad ## -------------------- ##
   19390  1.1  riastrad 
   19391  1.1  riastrad # Be more Bourne compatible
   19392  1.1  riastrad DUALCASE=1; export DUALCASE # for MKS sh
   19393  1.1  riastrad if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   19394  1.1  riastrad   emulate sh
   19395  1.1  riastrad   NULLCMD=:
   19396  1.1  riastrad   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19397  1.1  riastrad   # is contrary to our usage.  Disable this feature.
   19398  1.1  riastrad   alias -g '${1+"$@"}'='"$@"'
   19399  1.1  riastrad   setopt NO_GLOB_SUBST
   19400  1.1  riastrad else
   19401  1.1  riastrad   case `(set -o) 2>/dev/null` in #(
   19402  1.1  riastrad   *posix*) :
   19403  1.1  riastrad     set -o posix ;; #(
   19404  1.1  riastrad   *) :
   19405  1.1  riastrad      ;;
   19406  1.1  riastrad esac
   19407  1.1  riastrad fi
   19408  1.1  riastrad 
   19409  1.1  riastrad 
   19410  1.1  riastrad as_nl='
   19411  1.1  riastrad '
   19412  1.1  riastrad export as_nl
   19413  1.1  riastrad # Printing a long string crashes Solaris 7 /usr/bin/printf.
   19414  1.1  riastrad as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   19415  1.1  riastrad as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   19416  1.1  riastrad as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   19417  1.1  riastrad # Prefer a ksh shell builtin over an external printf program on Solaris,
   19418  1.1  riastrad # but without wasting forks for bash or zsh.
   19419  1.1  riastrad if test -z "$BASH_VERSION$ZSH_VERSION" \
   19420  1.1  riastrad     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   19421  1.1  riastrad   as_echo='print -r --'
   19422  1.1  riastrad   as_echo_n='print -rn --'
   19423  1.1  riastrad elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   19424  1.1  riastrad   as_echo='printf %s\n'
   19425  1.1  riastrad   as_echo_n='printf %s'
   19426  1.1  riastrad else
   19427  1.1  riastrad   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   19428  1.1  riastrad     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   19429  1.1  riastrad     as_echo_n='/usr/ucb/echo -n'
   19430  1.1  riastrad   else
   19431  1.1  riastrad     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   19432  1.1  riastrad     as_echo_n_body='eval
   19433  1.1  riastrad       arg=$1;
   19434  1.1  riastrad       case $arg in #(
   19435  1.1  riastrad       *"$as_nl"*)
   19436  1.1  riastrad 	expr "X$arg" : "X\\(.*\\)$as_nl";
   19437  1.1  riastrad 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   19438  1.1  riastrad       esac;
   19439  1.1  riastrad       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   19440  1.1  riastrad     '
   19441  1.1  riastrad     export as_echo_n_body
   19442  1.1  riastrad     as_echo_n='sh -c $as_echo_n_body as_echo'
   19443  1.1  riastrad   fi
   19444  1.1  riastrad   export as_echo_body
   19445  1.1  riastrad   as_echo='sh -c $as_echo_body as_echo'
   19446  1.1  riastrad fi
   19447  1.1  riastrad 
   19448  1.1  riastrad # The user is always right.
   19449  1.1  riastrad if test "${PATH_SEPARATOR+set}" != set; then
   19450  1.1  riastrad   PATH_SEPARATOR=:
   19451  1.1  riastrad   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   19452  1.1  riastrad     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   19453  1.1  riastrad       PATH_SEPARATOR=';'
   19454  1.1  riastrad   }
   19455  1.1  riastrad fi
   19456  1.1  riastrad 
   19457  1.1  riastrad 
   19458  1.1  riastrad # IFS
   19459  1.1  riastrad # We need space, tab and new line, in precisely that order.  Quoting is
   19460  1.1  riastrad # there to prevent editors from complaining about space-tab.
   19461  1.1  riastrad # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   19462  1.1  riastrad # splitting by setting IFS to empty value.)
   19463  1.1  riastrad IFS=" ""	$as_nl"
   19464  1.1  riastrad 
   19465  1.1  riastrad # Find who we are.  Look in the path if we contain no directory separator.
   19466  1.1  riastrad as_myself=
   19467  1.1  riastrad case $0 in #((
   19468  1.1  riastrad   *[\\/]* ) as_myself=$0 ;;
   19469  1.1  riastrad   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19470  1.1  riastrad for as_dir in $PATH
   19471  1.1  riastrad do
   19472  1.1  riastrad   IFS=$as_save_IFS
   19473  1.1  riastrad   test -z "$as_dir" && as_dir=.
   19474  1.1  riastrad     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   19475  1.1  riastrad   done
   19476  1.1  riastrad IFS=$as_save_IFS
   19477  1.1  riastrad 
   19478  1.1  riastrad      ;;
   19479  1.1  riastrad esac
   19480  1.1  riastrad # We did not find ourselves, most probably we were run as `sh COMMAND'
   19481  1.1  riastrad # in which case we are not to be found in the path.
   19482  1.1  riastrad if test "x$as_myself" = x; then
   19483  1.1  riastrad   as_myself=$0
   19484  1.1  riastrad fi
   19485  1.1  riastrad if test ! -f "$as_myself"; then
   19486  1.1  riastrad   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19487  1.1  riastrad   exit 1
   19488  1.1  riastrad fi
   19489  1.1  riastrad 
   19490  1.1  riastrad # Unset variables that we do not need and which cause bugs (e.g. in
   19491  1.1  riastrad # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   19492  1.1  riastrad # suppresses any "Segmentation fault" message there.  '((' could
   19493  1.1  riastrad # trigger a bug in pdksh 5.2.14.
   19494  1.1  riastrad for as_var in BASH_ENV ENV MAIL MAILPATH
   19495  1.1  riastrad do eval test x\${$as_var+set} = xset \
   19496  1.1  riastrad   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19497  1.1  riastrad done
   19498  1.1  riastrad PS1='$ '
   19499  1.1  riastrad PS2='> '
   19500  1.1  riastrad PS4='+ '
   19501  1.1  riastrad 
   19502  1.1  riastrad # NLS nuisances.
   19503  1.1  riastrad LC_ALL=C
   19504  1.1  riastrad export LC_ALL
   19505  1.1  riastrad LANGUAGE=C
   19506  1.1  riastrad export LANGUAGE
   19507  1.1  riastrad 
   19508  1.1  riastrad # CDPATH.
   19509  1.1  riastrad (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19510  1.1  riastrad 
   19511  1.1  riastrad 
   19512  1.1  riastrad # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19513  1.1  riastrad # ----------------------------------------
   19514  1.1  riastrad # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19515  1.1  riastrad # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19516  1.1  riastrad # script with STATUS, using 1 if that was 0.
   19517  1.1  riastrad as_fn_error ()
   19518  1.1  riastrad {
   19519  1.1  riastrad   as_status=$1; test $as_status -eq 0 && as_status=1
   19520  1.1  riastrad   if test "$4"; then
   19521  1.1  riastrad     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19522  1.1  riastrad     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19523  1.1  riastrad   fi
   19524  1.1  riastrad   $as_echo "$as_me: error: $2" >&2
   19525  1.1  riastrad   as_fn_exit $as_status
   19526  1.1  riastrad } # as_fn_error
   19527  1.1  riastrad 
   19528  1.1  riastrad 
   19529  1.1  riastrad # as_fn_set_status STATUS
   19530  1.1  riastrad # -----------------------
   19531  1.1  riastrad # Set $? to STATUS, without forking.
   19532  1.1  riastrad as_fn_set_status ()
   19533  1.1  riastrad {
   19534  1.1  riastrad   return $1
   19535  1.1  riastrad } # as_fn_set_status
   19536  1.1  riastrad 
   19537  1.1  riastrad # as_fn_exit STATUS
   19538  1.1  riastrad # -----------------
   19539  1.1  riastrad # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19540  1.1  riastrad as_fn_exit ()
   19541  1.1  riastrad {
   19542  1.1  riastrad   set +e
   19543  1.1  riastrad   as_fn_set_status $1
   19544  1.1  riastrad   exit $1
   19545  1.1  riastrad } # as_fn_exit
   19546  1.1  riastrad 
   19547  1.1  riastrad # as_fn_unset VAR
   19548  1.1  riastrad # ---------------
   19549  1.1  riastrad # Portably unset VAR.
   19550  1.1  riastrad as_fn_unset ()
   19551  1.1  riastrad {
   19552  1.1  riastrad   { eval $1=; unset $1;}
   19553  1.1  riastrad }
   19554  1.1  riastrad as_unset=as_fn_unset
   19555  1.1  riastrad # as_fn_append VAR VALUE
   19556  1.1  riastrad # ----------------------
   19557  1.1  riastrad # Append the text in VALUE to the end of the definition contained in VAR. Take
   19558  1.1  riastrad # advantage of any shell optimizations that allow amortized linear growth over
   19559  1.1  riastrad # repeated appends, instead of the typical quadratic growth present in naive
   19560  1.1  riastrad # implementations.
   19561  1.1  riastrad if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   19562  1.1  riastrad   eval 'as_fn_append ()
   19563  1.1  riastrad   {
   19564  1.1  riastrad     eval $1+=\$2
   19565  1.1  riastrad   }'
   19566  1.1  riastrad else
   19567  1.1  riastrad   as_fn_append ()
   19568  1.1  riastrad   {
   19569  1.1  riastrad     eval $1=\$$1\$2
   19570  1.1  riastrad   }
   19571  1.1  riastrad fi # as_fn_append
   19572  1.1  riastrad 
   19573  1.1  riastrad # as_fn_arith ARG...
   19574  1.1  riastrad # ------------------
   19575  1.1  riastrad # Perform arithmetic evaluation on the ARGs, and store the result in the
   19576  1.1  riastrad # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19577  1.1  riastrad # must be portable across $(()) and expr.
   19578  1.1  riastrad if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   19579  1.1  riastrad   eval 'as_fn_arith ()
   19580  1.1  riastrad   {
   19581  1.1  riastrad     as_val=$(( $* ))
   19582  1.1  riastrad   }'
   19583  1.1  riastrad else
   19584  1.1  riastrad   as_fn_arith ()
   19585  1.1  riastrad   {
   19586  1.1  riastrad     as_val=`expr "$@" || test $? -eq 1`
   19587  1.1  riastrad   }
   19588  1.1  riastrad fi # as_fn_arith
   19589  1.1  riastrad 
   19590  1.1  riastrad 
   19591  1.1  riastrad if expr a : '\(a\)' >/dev/null 2>&1 &&
   19592  1.1  riastrad    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19593  1.1  riastrad   as_expr=expr
   19594  1.1  riastrad else
   19595  1.1  riastrad   as_expr=false
   19596  1.1  riastrad fi
   19597  1.1  riastrad 
   19598  1.1  riastrad if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19599  1.1  riastrad   as_basename=basename
   19600  1.1  riastrad else
   19601  1.1  riastrad   as_basename=false
   19602  1.1  riastrad fi
   19603  1.1  riastrad 
   19604  1.1  riastrad if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19605  1.1  riastrad   as_dirname=dirname
   19606  1.1  riastrad else
   19607  1.1  riastrad   as_dirname=false
   19608  1.1  riastrad fi
   19609  1.1  riastrad 
   19610  1.1  riastrad as_me=`$as_basename -- "$0" ||
   19611  1.1  riastrad $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19612  1.1  riastrad 	 X"$0" : 'X\(//\)$' \| \
   19613  1.1  riastrad 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19614  1.1  riastrad $as_echo X/"$0" |
   19615  1.1  riastrad     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19616  1.1  riastrad 	    s//\1/
   19617  1.1  riastrad 	    q
   19618  1.1  riastrad 	  }
   19619  1.1  riastrad 	  /^X\/\(\/\/\)$/{
   19620  1.1  riastrad 	    s//\1/
   19621  1.1  riastrad 	    q
   19622  1.1  riastrad 	  }
   19623  1.1  riastrad 	  /^X\/\(\/\).*/{
   19624  1.1  riastrad 	    s//\1/
   19625  1.1  riastrad 	    q
   19626  1.1  riastrad 	  }
   19627  1.1  riastrad 	  s/.*/./; q'`
   19628  1.1  riastrad 
   19629  1.1  riastrad # Avoid depending upon Character Ranges.
   19630  1.1  riastrad as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19631  1.1  riastrad as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19632  1.1  riastrad as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19633  1.1  riastrad as_cr_digits='0123456789'
   19634  1.1  riastrad as_cr_alnum=$as_cr_Letters$as_cr_digits
   19635  1.1  riastrad 
   19636  1.1  riastrad ECHO_C= ECHO_N= ECHO_T=
   19637  1.1  riastrad case `echo -n x` in #(((((
   19638  1.1  riastrad -n*)
   19639  1.1  riastrad   case `echo 'xy\c'` in
   19640  1.1  riastrad   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19641  1.1  riastrad   xy)  ECHO_C='\c';;
   19642  1.1  riastrad   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   19643  1.1  riastrad        ECHO_T='	';;
   19644  1.1  riastrad   esac;;
   19645  1.1  riastrad *)
   19646  1.1  riastrad   ECHO_N='-n';;
   19647  1.1  riastrad esac
   19648  1.1  riastrad 
   19649  1.1  riastrad rm -f conf$$ conf$$.exe conf$$.file
   19650  1.1  riastrad if test -d conf$$.dir; then
   19651  1.1  riastrad   rm -f conf$$.dir/conf$$.file
   19652  1.1  riastrad else
   19653  1.1  riastrad   rm -f conf$$.dir
   19654  1.1  riastrad   mkdir conf$$.dir 2>/dev/null
   19655  1.1  riastrad fi
   19656  1.1  riastrad if (echo >conf$$.file) 2>/dev/null; then
   19657  1.1  riastrad   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19658  1.1  riastrad     as_ln_s='ln -s'
   19659  1.1  riastrad     # ... but there are two gotchas:
   19660  1.1  riastrad     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19661  1.1  riastrad     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19662  1.1  riastrad     # In both cases, we have to default to `cp -pR'.
   19663  1.1  riastrad     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19664  1.1  riastrad       as_ln_s='cp -pR'
   19665  1.1  riastrad   elif ln conf$$.file conf$$ 2>/dev/null; then
   19666  1.1  riastrad     as_ln_s=ln
   19667  1.1  riastrad   else
   19668  1.1  riastrad     as_ln_s='cp -pR'
   19669  1.1  riastrad   fi
   19670  1.1  riastrad else
   19671  1.1  riastrad   as_ln_s='cp -pR'
   19672  1.1  riastrad fi
   19673  1.1  riastrad rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19674  1.1  riastrad rmdir conf$$.dir 2>/dev/null
   19675  1.1  riastrad 
   19676  1.1  riastrad 
   19677  1.1  riastrad # as_fn_mkdir_p
   19678  1.1  riastrad # -------------
   19679  1.1  riastrad # Create "$as_dir" as a directory, including parents if necessary.
   19680  1.1  riastrad as_fn_mkdir_p ()
   19681  1.1  riastrad {
   19682  1.1  riastrad 
   19683  1.1  riastrad   case $as_dir in #(
   19684  1.1  riastrad   -*) as_dir=./$as_dir;;
   19685  1.1  riastrad   esac
   19686  1.1  riastrad   test -d "$as_dir" || eval $as_mkdir_p || {
   19687  1.1  riastrad     as_dirs=
   19688  1.1  riastrad     while :; do
   19689  1.1  riastrad       case $as_dir in #(
   19690  1.1  riastrad       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19691  1.1  riastrad       *) as_qdir=$as_dir;;
   19692  1.1  riastrad       esac
   19693  1.1  riastrad       as_dirs="'$as_qdir' $as_dirs"
   19694  1.1  riastrad       as_dir=`$as_dirname -- "$as_dir" ||
   19695  1.1  riastrad $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19696  1.1  riastrad 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19697  1.1  riastrad 	 X"$as_dir" : 'X\(//\)$' \| \
   19698  1.1  riastrad 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19699  1.1  riastrad $as_echo X"$as_dir" |
   19700  1.1  riastrad     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19701  1.1  riastrad 	    s//\1/
   19702  1.1  riastrad 	    q
   19703  1.1  riastrad 	  }
   19704  1.1  riastrad 	  /^X\(\/\/\)[^/].*/{
   19705  1.1  riastrad 	    s//\1/
   19706  1.1  riastrad 	    q
   19707  1.1  riastrad 	  }
   19708  1.1  riastrad 	  /^X\(\/\/\)$/{
   19709  1.1  riastrad 	    s//\1/
   19710  1.1  riastrad 	    q
   19711  1.1  riastrad 	  }
   19712  1.1  riastrad 	  /^X\(\/\).*/{
   19713  1.1  riastrad 	    s//\1/
   19714  1.1  riastrad 	    q
   19715  1.1  riastrad 	  }
   19716  1.1  riastrad 	  s/.*/./; q'`
   19717  1.1  riastrad       test -d "$as_dir" && break
   19718  1.1  riastrad     done
   19719  1.1  riastrad     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19720  1.1  riastrad   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19721  1.1  riastrad 
   19722  1.1  riastrad 
   19723  1.1  riastrad } # as_fn_mkdir_p
   19724  1.1  riastrad if mkdir -p . 2>/dev/null; then
   19725  1.1  riastrad   as_mkdir_p='mkdir -p "$as_dir"'
   19726  1.1  riastrad else
   19727  1.1  riastrad   test -d ./-p && rmdir ./-p
   19728  1.1  riastrad   as_mkdir_p=false
   19729  1.1  riastrad fi
   19730  1.1  riastrad 
   19731  1.1  riastrad 
   19732  1.1  riastrad # as_fn_executable_p FILE
   19733  1.1  riastrad # -----------------------
   19734  1.1  riastrad # Test if FILE is an executable regular file.
   19735  1.1  riastrad as_fn_executable_p ()
   19736  1.1  riastrad {
   19737  1.1  riastrad   test -f "$1" && test -x "$1"
   19738  1.1  riastrad } # as_fn_executable_p
   19739  1.1  riastrad as_test_x='test -x'
   19740  1.1  riastrad as_executable_p=as_fn_executable_p
   19741  1.1  riastrad 
   19742  1.1  riastrad # Sed expression to map a string onto a valid CPP name.
   19743  1.1  riastrad as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19744  1.1  riastrad 
   19745  1.1  riastrad # Sed expression to map a string onto a valid variable name.
   19746  1.1  riastrad as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19747  1.1  riastrad 
   19748  1.1  riastrad 
   19749  1.1  riastrad exec 6>&1
   19750  1.1  riastrad ## ----------------------------------- ##
   19751  1.1  riastrad ## Main body of $CONFIG_STATUS script. ##
   19752  1.1  riastrad ## ----------------------------------- ##
   19753  1.1  riastrad _ASEOF
   19754  1.1  riastrad test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19755  1.1  riastrad 
   19756  1.1  riastrad cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19757  1.1  riastrad # Save the log message, to keep $0 and so on meaningful, and to
   19758  1.1  riastrad # report actual input values of CONFIG_FILES etc. instead of their
   19759  1.1  riastrad # values after options handling.
   19760  1.1  riastrad ac_log="
   19761  1.1  riastrad This file was extended by libsodium $as_me 1.0.16, which was
   19762  1.1  riastrad generated by GNU Autoconf 2.69.  Invocation command line was
   19763  1.1  riastrad 
   19764  1.1  riastrad   CONFIG_FILES    = $CONFIG_FILES
   19765  1.1  riastrad   CONFIG_HEADERS  = $CONFIG_HEADERS
   19766  1.1  riastrad   CONFIG_LINKS    = $CONFIG_LINKS
   19767  1.1  riastrad   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19768  1.1  riastrad   $ $0 $@
   19769  1.1  riastrad 
   19770  1.1  riastrad on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19771  1.1  riastrad "
   19772  1.1  riastrad 
   19773  1.1  riastrad _ACEOF
   19774  1.1  riastrad 
   19775  1.1  riastrad case $ac_config_files in *"
   19776  1.1  riastrad "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19777  1.1  riastrad esac
   19778  1.1  riastrad 
   19779  1.1  riastrad 
   19780  1.1  riastrad 
   19781  1.1  riastrad cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19782  1.1  riastrad # Files that config.status was made for.
   19783  1.1  riastrad config_files="$ac_config_files"
   19784  1.1  riastrad config_commands="$ac_config_commands"
   19785  1.1  riastrad 
   19786  1.1  riastrad _ACEOF
   19787  1.1  riastrad 
   19788  1.1  riastrad cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19789  1.1  riastrad ac_cs_usage="\
   19790  1.1  riastrad \`$as_me' instantiates files and other configuration actions
   19791  1.1  riastrad from templates according to the current configuration.  Unless the files
   19792  1.1  riastrad and actions are specified as TAGs, all are instantiated by default.
   19793  1.1  riastrad 
   19794  1.1  riastrad Usage: $0 [OPTION]... [TAG]...
   19795  1.1  riastrad 
   19796  1.1  riastrad   -h, --help       print this help, then exit
   19797  1.1  riastrad   -V, --version    print version number and configuration settings, then exit
   19798  1.1  riastrad       --config     print configuration, then exit
   19799  1.1  riastrad   -q, --quiet, --silent
   19800  1.1  riastrad                    do not print progress messages
   19801  1.1  riastrad   -d, --debug      don't remove temporary files
   19802  1.1  riastrad       --recheck    update $as_me by reconfiguring in the same conditions
   19803  1.1  riastrad       --file=FILE[:TEMPLATE]
   19804  1.1  riastrad                    instantiate the configuration file FILE
   19805  1.1  riastrad 
   19806  1.1  riastrad Configuration files:
   19807  1.1  riastrad $config_files
   19808  1.1  riastrad 
   19809  1.1  riastrad Configuration commands:
   19810  1.1  riastrad $config_commands
   19811  1.1  riastrad 
   19812  1.1  riastrad Report bugs to <https://github.com/jedisct1/libsodium/issues>.
   19813  1.1  riastrad libsodium home page: <https://github.com/jedisct1/libsodium>."
   19814  1.1  riastrad 
   19815  1.1  riastrad _ACEOF
   19816  1.1  riastrad cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19817  1.1  riastrad ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   19818  1.1  riastrad ac_cs_version="\\
   19819  1.1  riastrad libsodium config.status 1.0.16
   19820  1.1  riastrad configured by $0, generated by GNU Autoconf 2.69,
   19821  1.1  riastrad   with options \\"\$ac_cs_config\\"
   19822  1.1  riastrad 
   19823  1.1  riastrad Copyright (C) 2012 Free Software Foundation, Inc.
   19824  1.1  riastrad This config.status script is free software; the Free Software Foundation
   19825  1.1  riastrad gives unlimited permission to copy, distribute and modify it."
   19826  1.1  riastrad 
   19827  1.1  riastrad ac_pwd='$ac_pwd'
   19828  1.1  riastrad srcdir='$srcdir'
   19829  1.1  riastrad INSTALL='$INSTALL'
   19830  1.1  riastrad MKDIR_P='$MKDIR_P'
   19831  1.1  riastrad AWK='$AWK'
   19832  1.1  riastrad test -n "\$AWK" || AWK=awk
   19833  1.1  riastrad _ACEOF
   19834  1.1  riastrad 
   19835  1.1  riastrad cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19836  1.1  riastrad # The default lists apply if the user does not specify any file.
   19837  1.1  riastrad ac_need_defaults=:
   19838  1.1  riastrad while test $# != 0
   19839  1.1  riastrad do
   19840  1.1  riastrad   case $1 in
   19841  1.1  riastrad   --*=?*)
   19842  1.1  riastrad     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19843  1.1  riastrad     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   19844  1.1  riastrad     ac_shift=:
   19845  1.1  riastrad     ;;
   19846  1.1  riastrad   --*=)
   19847  1.1  riastrad     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19848  1.1  riastrad     ac_optarg=
   19849  1.1  riastrad     ac_shift=:
   19850  1.1  riastrad     ;;
   19851  1.1  riastrad   *)
   19852  1.1  riastrad     ac_option=$1
   19853  1.1  riastrad     ac_optarg=$2
   19854  1.1  riastrad     ac_shift=shift
   19855  1.1  riastrad     ;;
   19856  1.1  riastrad   esac
   19857  1.1  riastrad 
   19858  1.1  riastrad   case $ac_option in
   19859  1.1  riastrad   # Handling of the options.
   19860  1.1  riastrad   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19861  1.1  riastrad     ac_cs_recheck=: ;;
   19862  1.1  riastrad   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19863  1.1  riastrad     $as_echo "$ac_cs_version"; exit ;;
   19864  1.1  riastrad   --config | --confi | --conf | --con | --co | --c )
   19865  1.1  riastrad     $as_echo "$ac_cs_config"; exit ;;
   19866  1.1  riastrad   --debug | --debu | --deb | --de | --d | -d )
   19867  1.1  riastrad     debug=: ;;
   19868  1.1  riastrad   --file | --fil | --fi | --f )
   19869  1.1  riastrad     $ac_shift
   19870  1.1  riastrad     case $ac_optarg in
   19871  1.1  riastrad     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19872  1.1  riastrad     '') as_fn_error $? "missing file argument" ;;
   19873  1.1  riastrad     esac
   19874  1.1  riastrad     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19875  1.1  riastrad     ac_need_defaults=false;;
   19876  1.1  riastrad   --he | --h |  --help | --hel | -h )
   19877  1.1  riastrad     $as_echo "$ac_cs_usage"; exit ;;
   19878  1.1  riastrad   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19879  1.1  riastrad   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19880  1.1  riastrad     ac_cs_silent=: ;;
   19881  1.1  riastrad 
   19882  1.1  riastrad   # This is an error.
   19883  1.1  riastrad   -*) as_fn_error $? "unrecognized option: \`$1'
   19884  1.1  riastrad Try \`$0 --help' for more information." ;;
   19885  1.1  riastrad 
   19886  1.1  riastrad   *) as_fn_append ac_config_targets " $1"
   19887  1.1  riastrad      ac_need_defaults=false ;;
   19888  1.1  riastrad 
   19889  1.1  riastrad   esac
   19890  1.1  riastrad   shift
   19891  1.1  riastrad done
   19892  1.1  riastrad 
   19893  1.1  riastrad ac_configure_extra_args=
   19894  1.1  riastrad 
   19895  1.1  riastrad if $ac_cs_silent; then
   19896  1.1  riastrad   exec 6>/dev/null
   19897  1.1  riastrad   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19898  1.1  riastrad fi
   19899  1.1  riastrad 
   19900  1.1  riastrad _ACEOF
   19901  1.1  riastrad cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19902  1.1  riastrad if \$ac_cs_recheck; then
   19903  1.1  riastrad   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19904  1.1  riastrad   shift
   19905  1.1  riastrad   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19906  1.1  riastrad   CONFIG_SHELL='$SHELL'
   19907  1.1  riastrad   export CONFIG_SHELL
   19908  1.1  riastrad   exec "\$@"
   19909  1.1  riastrad fi
   19910  1.1  riastrad 
   19911  1.1  riastrad _ACEOF
   19912  1.1  riastrad cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19913  1.1  riastrad exec 5>>config.log
   19914  1.1  riastrad {
   19915  1.1  riastrad   echo
   19916  1.1  riastrad   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19917  1.1  riastrad ## Running $as_me. ##
   19918  1.1  riastrad _ASBOX
   19919  1.1  riastrad   $as_echo "$ac_log"
   19920  1.1  riastrad } >&5
   19921  1.1  riastrad 
   19922  1.1  riastrad _ACEOF
   19923  1.1  riastrad cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19924  1.1  riastrad #
   19925  1.1  riastrad # INIT-COMMANDS
   19926  1.1  riastrad #
   19927  1.1  riastrad AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   19928  1.1  riastrad 
   19929  1.1  riastrad 
   19930  1.1  riastrad # The HP-UX ksh and POSIX shell print the target directory to stdout
   19931  1.1  riastrad # if CDPATH is set.
   19932  1.1  riastrad (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19933  1.1  riastrad 
   19934  1.1  riastrad sed_quote_subst='$sed_quote_subst'
   19935  1.1  riastrad double_quote_subst='$double_quote_subst'
   19936  1.1  riastrad delay_variable_subst='$delay_variable_subst'
   19937  1.1  riastrad macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19938  1.1  riastrad macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19939  1.1  riastrad enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19940  1.1  riastrad enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19941  1.1  riastrad pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19942  1.1  riastrad enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19943  1.1  riastrad shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   19944  1.1  riastrad SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19945  1.1  riastrad ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19946  1.1  riastrad PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   19947  1.1  riastrad host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19948  1.1  riastrad host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19949  1.1  riastrad host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19950  1.1  riastrad build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19951  1.1  riastrad build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19952  1.1  riastrad build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19953  1.1  riastrad SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19954  1.1  riastrad Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19955  1.1  riastrad GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19956  1.1  riastrad EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19957  1.1  riastrad FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19958  1.1  riastrad LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19959  1.1  riastrad NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19960  1.1  riastrad LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19961  1.1  riastrad max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19962  1.1  riastrad ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19963  1.1  riastrad exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19964  1.1  riastrad lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19965  1.1  riastrad lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19966  1.1  riastrad lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19967  1.1  riastrad lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19968  1.1  riastrad lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19969  1.1  riastrad reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19970  1.1  riastrad reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19971  1.1  riastrad OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19972  1.1  riastrad deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19973  1.1  riastrad file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19974  1.1  riastrad file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   19975  1.1  riastrad want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   19976  1.1  riastrad DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   19977  1.1  riastrad sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   19978  1.1  riastrad AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19979  1.1  riastrad AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   19980  1.1  riastrad archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   19981  1.1  riastrad STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   19982  1.1  riastrad RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   19983  1.1  riastrad old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19984  1.1  riastrad old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19985  1.1  riastrad old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   19986  1.1  riastrad lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   19987  1.1  riastrad CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   19988  1.1  riastrad CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   19989  1.1  riastrad compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   19990  1.1  riastrad GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   19991  1.1  riastrad lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   19992  1.1  riastrad lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   19993  1.1  riastrad lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   19994  1.1  riastrad lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   19995  1.1  riastrad lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19996  1.1  riastrad lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   19997  1.1  riastrad nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   19998  1.1  riastrad lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   19999  1.1  riastrad lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20000  1.1  riastrad objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20001  1.1  riastrad MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20002  1.1  riastrad lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20003  1.1  riastrad lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20004  1.1  riastrad lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20005  1.1  riastrad lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20006  1.1  riastrad lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20007  1.1  riastrad need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20008  1.1  riastrad MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20009  1.1  riastrad DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20010  1.1  riastrad NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20011  1.1  riastrad LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20012  1.1  riastrad OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20013  1.1  riastrad OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20014  1.1  riastrad libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20015  1.1  riastrad shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20016  1.1  riastrad extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20017  1.1  riastrad archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20018  1.1  riastrad enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20019  1.1  riastrad export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20020  1.1  riastrad whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20021  1.1  riastrad compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20022  1.1  riastrad old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20023  1.1  riastrad old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20024  1.1  riastrad archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20025  1.1  riastrad archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20026  1.1  riastrad module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20027  1.1  riastrad module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20028  1.1  riastrad with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20029  1.1  riastrad allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20030  1.1  riastrad no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20031  1.1  riastrad hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20032  1.1  riastrad hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20033  1.1  riastrad hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20034  1.1  riastrad hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20035  1.1  riastrad hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20036  1.1  riastrad hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20037  1.1  riastrad hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20038  1.1  riastrad inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20039  1.1  riastrad link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20040  1.1  riastrad always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20041  1.1  riastrad export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20042  1.1  riastrad exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20043  1.1  riastrad include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20044  1.1  riastrad prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20045  1.1  riastrad postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20046  1.1  riastrad file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20047  1.1  riastrad variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20048  1.1  riastrad need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20049  1.1  riastrad need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20050  1.1  riastrad version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20051  1.1  riastrad runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20052  1.1  riastrad shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20053  1.1  riastrad shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20054  1.1  riastrad libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20055  1.1  riastrad library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20056  1.1  riastrad soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20057  1.1  riastrad install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20058  1.1  riastrad postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20059  1.1  riastrad postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20060  1.1  riastrad finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20061  1.1  riastrad finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20062  1.1  riastrad hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20063  1.1  riastrad sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20064  1.1  riastrad configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   20065  1.1  riastrad configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   20066  1.1  riastrad hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20067  1.1  riastrad enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20068  1.1  riastrad enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20069  1.1  riastrad enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20070  1.1  riastrad old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20071  1.1  riastrad striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20072  1.1  riastrad AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
   20073  1.1  riastrad 
   20074  1.1  riastrad LTCC='$LTCC'
   20075  1.1  riastrad LTCFLAGS='$LTCFLAGS'
   20076  1.1  riastrad compiler='$compiler_DEFAULT'
   20077  1.1  riastrad 
   20078  1.1  riastrad # A function that is used when there is no print builtin or printf.
   20079  1.1  riastrad func_fallback_echo ()
   20080  1.1  riastrad {
   20081  1.1  riastrad   eval 'cat <<_LTECHO_EOF
   20082  1.1  riastrad \$1
   20083  1.1  riastrad _LTECHO_EOF'
   20084  1.1  riastrad }
   20085  1.1  riastrad 
   20086  1.1  riastrad # Quote evaled strings.
   20087  1.1  riastrad for var in SHELL \
   20088  1.1  riastrad ECHO \
   20089  1.1  riastrad PATH_SEPARATOR \
   20090  1.1  riastrad SED \
   20091  1.1  riastrad GREP \
   20092  1.1  riastrad EGREP \
   20093  1.1  riastrad FGREP \
   20094  1.1  riastrad LD \
   20095  1.1  riastrad NM \
   20096  1.1  riastrad LN_S \
   20097  1.1  riastrad lt_SP2NL \
   20098  1.1  riastrad lt_NL2SP \
   20099  1.1  riastrad reload_flag \
   20100  1.1  riastrad OBJDUMP \
   20101  1.1  riastrad deplibs_check_method \
   20102  1.1  riastrad file_magic_cmd \
   20103  1.1  riastrad file_magic_glob \
   20104  1.1  riastrad want_nocaseglob \
   20105  1.1  riastrad DLLTOOL \
   20106  1.1  riastrad sharedlib_from_linklib_cmd \
   20107  1.1  riastrad AR \
   20108  1.1  riastrad AR_FLAGS \
   20109  1.1  riastrad archiver_list_spec \
   20110  1.1  riastrad STRIP \
   20111  1.1  riastrad RANLIB \
   20112  1.1  riastrad CC \
   20113  1.1  riastrad CFLAGS \
   20114  1.1  riastrad compiler \
   20115  1.1  riastrad lt_cv_sys_global_symbol_pipe \
   20116  1.1  riastrad lt_cv_sys_global_symbol_to_cdecl \
   20117  1.1  riastrad lt_cv_sys_global_symbol_to_import \
   20118  1.1  riastrad lt_cv_sys_global_symbol_to_c_name_address \
   20119  1.1  riastrad lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20120  1.1  riastrad lt_cv_nm_interface \
   20121  1.1  riastrad nm_file_list_spec \
   20122  1.1  riastrad lt_cv_truncate_bin \
   20123  1.1  riastrad lt_prog_compiler_no_builtin_flag \
   20124  1.1  riastrad lt_prog_compiler_pic \
   20125  1.1  riastrad lt_prog_compiler_wl \
   20126  1.1  riastrad lt_prog_compiler_static \
   20127  1.1  riastrad lt_cv_prog_compiler_c_o \
   20128  1.1  riastrad need_locks \
   20129  1.1  riastrad MANIFEST_TOOL \
   20130  1.1  riastrad DSYMUTIL \
   20131  1.1  riastrad NMEDIT \
   20132  1.1  riastrad LIPO \
   20133  1.1  riastrad OTOOL \
   20134  1.1  riastrad OTOOL64 \
   20135  1.1  riastrad shrext_cmds \
   20136  1.1  riastrad export_dynamic_flag_spec \
   20137  1.1  riastrad whole_archive_flag_spec \
   20138  1.1  riastrad compiler_needs_object \
   20139  1.1  riastrad with_gnu_ld \
   20140  1.1  riastrad allow_undefined_flag \
   20141  1.1  riastrad no_undefined_flag \
   20142  1.1  riastrad hardcode_libdir_flag_spec \
   20143  1.1  riastrad hardcode_libdir_separator \
   20144  1.1  riastrad exclude_expsyms \
   20145  1.1  riastrad include_expsyms \
   20146  1.1  riastrad file_list_spec \
   20147  1.1  riastrad variables_saved_for_relink \
   20148  1.1  riastrad libname_spec \
   20149  1.1  riastrad library_names_spec \
   20150  1.1  riastrad soname_spec \
   20151  1.1  riastrad install_override_mode \
   20152  1.1  riastrad finish_eval \
   20153  1.1  riastrad old_striplib \
   20154  1.1  riastrad striplib \
   20155  1.1  riastrad AS; do
   20156  1.1  riastrad     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20157  1.1  riastrad     *[\\\\\\\`\\"\\\$]*)
   20158  1.1  riastrad       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20159  1.1  riastrad       ;;
   20160  1.1  riastrad     *)
   20161  1.1  riastrad       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20162  1.1  riastrad       ;;
   20163  1.1  riastrad     esac
   20164  1.1  riastrad done
   20165  1.1  riastrad 
   20166  1.1  riastrad # Double-quote double-evaled strings.
   20167  1.1  riastrad for var in reload_cmds \
   20168  1.1  riastrad old_postinstall_cmds \
   20169  1.1  riastrad old_postuninstall_cmds \
   20170  1.1  riastrad old_archive_cmds \
   20171  1.1  riastrad extract_expsyms_cmds \
   20172  1.1  riastrad old_archive_from_new_cmds \
   20173  1.1  riastrad old_archive_from_expsyms_cmds \
   20174  1.1  riastrad archive_cmds \
   20175  1.1  riastrad archive_expsym_cmds \
   20176  1.1  riastrad module_cmds \
   20177  1.1  riastrad module_expsym_cmds \
   20178  1.1  riastrad export_symbols_cmds \
   20179  1.1  riastrad prelink_cmds \
   20180  1.1  riastrad postlink_cmds \
   20181  1.1  riastrad postinstall_cmds \
   20182  1.1  riastrad postuninstall_cmds \
   20183  1.1  riastrad finish_cmds \
   20184  1.1  riastrad sys_lib_search_path_spec \
   20185  1.1  riastrad configure_time_dlsearch_path \
   20186  1.1  riastrad configure_time_lt_sys_library_path; do
   20187  1.1  riastrad     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20188  1.1  riastrad     *[\\\\\\\`\\"\\\$]*)
   20189  1.1  riastrad       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20190  1.1  riastrad       ;;
   20191  1.1  riastrad     *)
   20192  1.1  riastrad       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20193  1.1  riastrad       ;;
   20194  1.1  riastrad     esac
   20195  1.1  riastrad done
   20196  1.1  riastrad 
   20197  1.1  riastrad ac_aux_dir='$ac_aux_dir'
   20198  1.1  riastrad 
   20199  1.1  riastrad # See if we are running on zsh, and set the options that allow our
   20200  1.1  riastrad # commands through without removal of \ escapes INIT.
   20201  1.1  riastrad if test -n "\${ZSH_VERSION+set}"; then
   20202  1.1  riastrad    setopt NO_GLOB_SUBST
   20203  1.1  riastrad fi
   20204  1.1  riastrad 
   20205  1.1  riastrad 
   20206  1.1  riastrad     PACKAGE='$PACKAGE'
   20207  1.1  riastrad     VERSION='$VERSION'
   20208  1.1  riastrad     RM='$RM'
   20209  1.1  riastrad     ofile='$ofile'
   20210  1.1  riastrad 
   20211  1.1  riastrad 
   20212  1.1  riastrad 
   20213  1.1  riastrad 
   20214  1.1  riastrad _ACEOF
   20215  1.1  riastrad 
   20216  1.1  riastrad cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20217  1.1  riastrad 
   20218  1.1  riastrad # Handling of arguments.
   20219  1.1  riastrad for ac_config_target in $ac_config_targets
   20220  1.1  riastrad do
   20221  1.1  riastrad   case $ac_config_target in
   20222  1.1  riastrad     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20223  1.1  riastrad     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   20224  1.1  riastrad     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20225  1.1  riastrad     "builds/Makefile") CONFIG_FILES="$CONFIG_FILES builds/Makefile" ;;
   20226  1.1  riastrad     "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
   20227  1.1  riastrad     "dist-build/Makefile") CONFIG_FILES="$CONFIG_FILES dist-build/Makefile" ;;
   20228  1.1  riastrad     "libsodium.pc") CONFIG_FILES="$CONFIG_FILES libsodium.pc" ;;
   20229  1.1  riastrad     "libsodium-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES libsodium-uninstalled.pc" ;;
   20230  1.1  riastrad     "msvc-scripts/Makefile") CONFIG_FILES="$CONFIG_FILES msvc-scripts/Makefile" ;;
   20231  1.1  riastrad     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20232  1.1  riastrad     "src/libsodium/Makefile") CONFIG_FILES="$CONFIG_FILES src/libsodium/Makefile" ;;
   20233  1.1  riastrad     "src/libsodium/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/libsodium/include/Makefile" ;;
   20234  1.1  riastrad     "src/libsodium/include/sodium/version.h") CONFIG_FILES="$CONFIG_FILES src/libsodium/include/sodium/version.h" ;;
   20235  1.1  riastrad     "test/default/Makefile") CONFIG_FILES="$CONFIG_FILES test/default/Makefile" ;;
   20236  1.1  riastrad     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
   20237  1.1  riastrad 
   20238  1.1  riastrad   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   20239  1.1  riastrad   esac
   20240  1.1  riastrad done
   20241  1.1  riastrad 
   20242  1.1  riastrad 
   20243  1.1  riastrad # If the user did not use the arguments to specify the items to instantiate,
   20244  1.1  riastrad # then the envvar interface is used.  Set only those that are not.
   20245  1.1  riastrad # We use the long form for the default assignment because of an extremely
   20246  1.1  riastrad # bizarre bug on SunOS 4.1.3.
   20247  1.1  riastrad if $ac_need_defaults; then
   20248  1.1  riastrad   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   20249  1.1  riastrad   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   20250  1.1  riastrad fi
   20251  1.1  riastrad 
   20252  1.1  riastrad # Have a temporary directory for convenience.  Make it in the build tree
   20253  1.1  riastrad # simply because there is no reason against having it here, and in addition,
   20254  1.1  riastrad # creating and moving files from /tmp can sometimes cause problems.
   20255  1.1  riastrad # Hook for its removal unless debugging.
   20256  1.1  riastrad # Note that there is a small window in which the directory will not be cleaned:
   20257  1.1  riastrad # after its creation but before its name has been assigned to `$tmp'.
   20258  1.1  riastrad $debug ||
   20259  1.1  riastrad {
   20260  1.1  riastrad   tmp= ac_tmp=
   20261  1.1  riastrad   trap 'exit_status=$?
   20262  1.1  riastrad   : "${ac_tmp:=$tmp}"
   20263  1.1  riastrad   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20264  1.1  riastrad ' 0
   20265  1.1  riastrad   trap 'as_fn_exit 1' 1 2 13 15
   20266  1.1  riastrad }
   20267  1.1  riastrad # Create a (secure) tmp directory for tmp files.
   20268  1.1  riastrad 
   20269  1.1  riastrad {
   20270  1.1  riastrad   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20271  1.1  riastrad   test -d "$tmp"
   20272  1.1  riastrad }  ||
   20273  1.1  riastrad {
   20274  1.1  riastrad   tmp=./conf$$-$RANDOM
   20275  1.1  riastrad   (umask 077 && mkdir "$tmp")
   20276  1.1  riastrad } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20277  1.1  riastrad ac_tmp=$tmp
   20278  1.1  riastrad 
   20279  1.1  riastrad # Set up the scripts for CONFIG_FILES section.
   20280  1.1  riastrad # No need to generate them if there are no CONFIG_FILES.
   20281  1.1  riastrad # This happens for instance with `./config.status config.h'.
   20282  1.1  riastrad if test -n "$CONFIG_FILES"; then
   20283  1.1  riastrad 
   20284  1.1  riastrad 
   20285  1.1  riastrad ac_cr=`echo X | tr X '\015'`
   20286  1.1  riastrad # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20287  1.1  riastrad # But we know of no other shell where ac_cr would be empty at this
   20288  1.1  riastrad # point, so we can use a bashism as a fallback.
   20289  1.1  riastrad if test "x$ac_cr" = x; then
   20290  1.1  riastrad   eval ac_cr=\$\'\\r\'
   20291  1.1  riastrad fi
   20292  1.1  riastrad ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20293  1.1  riastrad if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20294  1.1  riastrad   ac_cs_awk_cr='\\r'
   20295  1.1  riastrad else
   20296  1.1  riastrad   ac_cs_awk_cr=$ac_cr
   20297  1.1  riastrad fi
   20298  1.1  riastrad 
   20299  1.1  riastrad echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20300  1.1  riastrad _ACEOF
   20301  1.1  riastrad 
   20302  1.1  riastrad 
   20303  1.1  riastrad {
   20304  1.1  riastrad   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20305  1.1  riastrad   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20306  1.1  riastrad   echo "_ACEOF"
   20307  1.1  riastrad } >conf$$subs.sh ||
   20308  1.1  riastrad   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20309  1.1  riastrad ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20310  1.1  riastrad ac_delim='%!_!# '
   20311  1.1  riastrad for ac_last_try in false false false false false :; do
   20312  1.1  riastrad   . ./conf$$subs.sh ||
   20313  1.1  riastrad     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20314  1.1  riastrad 
   20315  1.1  riastrad   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20316  1.1  riastrad   if test $ac_delim_n = $ac_delim_num; then
   20317  1.1  riastrad     break
   20318  1.1  riastrad   elif $ac_last_try; then
   20319  1.1  riastrad     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20320  1.1  riastrad   else
   20321  1.1  riastrad     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20322  1.1  riastrad   fi
   20323  1.1  riastrad done
   20324  1.1  riastrad rm -f conf$$subs.sh
   20325  1.1  riastrad 
   20326  1.1  riastrad cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20327  1.1  riastrad cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20328  1.1  riastrad _ACEOF
   20329  1.1  riastrad sed -n '
   20330  1.1  riastrad h
   20331  1.1  riastrad s/^/S["/; s/!.*/"]=/
   20332  1.1  riastrad p
   20333  1.1  riastrad g
   20334  1.1  riastrad s/^[^!]*!//
   20335  1.1  riastrad :repl
   20336  1.1  riastrad t repl
   20337  1.1  riastrad s/'"$ac_delim"'$//
   20338  1.1  riastrad t delim
   20339  1.1  riastrad :nl
   20340  1.1  riastrad h
   20341  1.1  riastrad s/\(.\{148\}\)..*/\1/
   20342  1.1  riastrad t more1
   20343  1.1  riastrad s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20344  1.1  riastrad p
   20345  1.1  riastrad n
   20346  1.1  riastrad b repl
   20347  1.1  riastrad :more1
   20348  1.1  riastrad s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20349  1.1  riastrad p
   20350  1.1  riastrad g
   20351  1.1  riastrad s/.\{148\}//
   20352  1.1  riastrad t nl
   20353  1.1  riastrad :delim
   20354  1.1  riastrad h
   20355  1.1  riastrad s/\(.\{148\}\)..*/\1/
   20356  1.1  riastrad t more2
   20357  1.1  riastrad s/["\\]/\\&/g; s/^/"/; s/$/"/
   20358  1.1  riastrad p
   20359  1.1  riastrad b
   20360  1.1  riastrad :more2
   20361  1.1  riastrad s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20362  1.1  riastrad p
   20363  1.1  riastrad g
   20364  1.1  riastrad s/.\{148\}//
   20365  1.1  riastrad t delim
   20366  1.1  riastrad ' <conf$$subs.awk | sed '
   20367  1.1  riastrad /^[^""]/{
   20368  1.1  riastrad   N
   20369  1.1  riastrad   s/\n//
   20370  1.1  riastrad }
   20371  1.1  riastrad ' >>$CONFIG_STATUS || ac_write_fail=1
   20372  1.1  riastrad rm -f conf$$subs.awk
   20373  1.1  riastrad cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20374  1.1  riastrad _ACAWK
   20375  1.1  riastrad cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   20376  1.1  riastrad   for (key in S) S_is_set[key] = 1
   20377  1.1  riastrad   FS = ""
   20378  1.1  riastrad 
   20379  1.1  riastrad }
   20380  1.1  riastrad {
   20381  1.1  riastrad   line = $ 0
   20382  1.1  riastrad   nfields = split(line, field, "@")
   20383  1.1  riastrad   substed = 0
   20384  1.1  riastrad   len = length(field[1])
   20385  1.1  riastrad   for (i = 2; i < nfields; i++) {
   20386  1.1  riastrad     key = field[i]
   20387  1.1  riastrad     keylen = length(key)
   20388  1.1  riastrad     if (S_is_set[key]) {
   20389  1.1  riastrad       value = S[key]
   20390  1.1  riastrad       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   20391  1.1  riastrad       len += length(value) + length(field[++i])
   20392  1.1  riastrad       substed = 1
   20393  1.1  riastrad     } else
   20394  1.1  riastrad       len += 1 + keylen
   20395  1.1  riastrad   }
   20396  1.1  riastrad 
   20397  1.1  riastrad   print line
   20398  1.1  riastrad }
   20399  1.1  riastrad 
   20400  1.1  riastrad _ACAWK
   20401  1.1  riastrad _ACEOF
   20402  1.1  riastrad cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20403  1.1  riastrad if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   20404  1.1  riastrad   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   20405  1.1  riastrad else
   20406  1.1  riastrad   cat
   20407  1.1  riastrad fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   20408  1.1  riastrad   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   20409  1.1  riastrad _ACEOF
   20410  1.1  riastrad 
   20411  1.1  riastrad # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   20412  1.1  riastrad # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   20413  1.1  riastrad # trailing colons and then remove the whole line if VPATH becomes empty
   20414  1.1  riastrad # (actually we leave an empty line to preserve line numbers).
   20415  1.1  riastrad if test "x$srcdir" = x.; then
   20416  1.1  riastrad   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   20417  1.1  riastrad h
   20418  1.1  riastrad s///
   20419  1.1  riastrad s/^/:/
   20420  1.1  riastrad s/[	 ]*$/:/
   20421  1.1  riastrad s/:\$(srcdir):/:/g
   20422  1.1  riastrad s/:\${srcdir}:/:/g
   20423  1.1  riastrad s/:@srcdir@:/:/g
   20424  1.1  riastrad s/^:*//
   20425  1.1  riastrad s/:*$//
   20426  1.1  riastrad x
   20427  1.1  riastrad s/\(=[	 ]*\).*/\1/
   20428  1.1  riastrad G
   20429  1.1  riastrad s/\n//
   20430  1.1  riastrad s/^[^=]*=[	 ]*$//
   20431  1.1  riastrad }'
   20432  1.1  riastrad fi
   20433  1.1  riastrad 
   20434  1.1  riastrad cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20435  1.1  riastrad fi # test -n "$CONFIG_FILES"
   20436  1.1  riastrad 
   20437  1.1  riastrad 
   20438  1.1  riastrad eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
   20439  1.1  riastrad shift
   20440  1.1  riastrad for ac_tag
   20441  1.1  riastrad do
   20442  1.1  riastrad   case $ac_tag in
   20443  1.1  riastrad   :[FHLC]) ac_mode=$ac_tag; continue;;
   20444  1.1  riastrad   esac
   20445  1.1  riastrad   case $ac_mode$ac_tag in
   20446  1.1  riastrad   :[FHL]*:*);;
   20447  1.1  riastrad   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   20448  1.1  riastrad   :[FH]-) ac_tag=-:-;;
   20449  1.1  riastrad   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20450  1.1  riastrad   esac
   20451  1.1  riastrad   ac_save_IFS=$IFS
   20452  1.1  riastrad   IFS=:
   20453  1.1  riastrad   set x $ac_tag
   20454  1.1  riastrad   IFS=$ac_save_IFS
   20455  1.1  riastrad   shift
   20456  1.1  riastrad   ac_file=$1
   20457  1.1  riastrad   shift
   20458  1.1  riastrad 
   20459  1.1  riastrad   case $ac_mode in
   20460  1.1  riastrad   :L) ac_source=$1;;
   20461  1.1  riastrad   :[FH])
   20462  1.1  riastrad     ac_file_inputs=
   20463  1.1  riastrad     for ac_f
   20464  1.1  riastrad     do
   20465  1.1  riastrad       case $ac_f in
   20466  1.1  riastrad       -) ac_f="$ac_tmp/stdin";;
   20467  1.1  riastrad       *) # Look for the file first in the build tree, then in the source tree
   20468  1.1  riastrad 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20469  1.1  riastrad 	 # because $ac_f cannot contain `:'.
   20470  1.1  riastrad 	 test -f "$ac_f" ||
   20471  1.1  riastrad 	   case $ac_f in
   20472  1.1  riastrad 	   [\\/$]*) false;;
   20473  1.1  riastrad 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20474  1.1  riastrad 	   esac ||
   20475  1.1  riastrad 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   20476  1.1  riastrad       esac
   20477  1.1  riastrad       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   20478  1.1  riastrad       as_fn_append ac_file_inputs " '$ac_f'"
   20479  1.1  riastrad     done
   20480  1.1  riastrad 
   20481  1.1  riastrad     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20482  1.1  riastrad     # use $as_me), people would be surprised to read:
   20483  1.1  riastrad     #    /* config.h.  Generated by config.status.  */
   20484  1.1  riastrad     configure_input='Generated from '`
   20485  1.1  riastrad 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   20486  1.1  riastrad 	`' by configure.'
   20487  1.1  riastrad     if test x"$ac_file" != x-; then
   20488  1.1  riastrad       configure_input="$ac_file.  $configure_input"
   20489  1.1  riastrad       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   20490  1.1  riastrad $as_echo "$as_me: creating $ac_file" >&6;}
   20491  1.1  riastrad     fi
   20492  1.1  riastrad     # Neutralize special characters interpreted by sed in replacement strings.
   20493  1.1  riastrad     case $configure_input in #(
   20494  1.1  riastrad     *\&* | *\|* | *\\* )
   20495  1.1  riastrad        ac_sed_conf_input=`$as_echo "$configure_input" |
   20496  1.1  riastrad        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   20497  1.1  riastrad     *) ac_sed_conf_input=$configure_input;;
   20498  1.1  riastrad     esac
   20499  1.1  riastrad 
   20500  1.1  riastrad     case $ac_tag in
   20501  1.1  riastrad     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   20502  1.1  riastrad       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   20503  1.1  riastrad     esac
   20504  1.1  riastrad     ;;
   20505  1.1  riastrad   esac
   20506  1.1  riastrad 
   20507  1.1  riastrad   ac_dir=`$as_dirname -- "$ac_file" ||
   20508  1.1  riastrad $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20509  1.1  riastrad 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20510  1.1  riastrad 	 X"$ac_file" : 'X\(//\)$' \| \
   20511  1.1  riastrad 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20512  1.1  riastrad $as_echo X"$ac_file" |
   20513  1.1  riastrad     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20514  1.1  riastrad 	    s//\1/
   20515  1.1  riastrad 	    q
   20516  1.1  riastrad 	  }
   20517  1.1  riastrad 	  /^X\(\/\/\)[^/].*/{
   20518  1.1  riastrad 	    s//\1/
   20519  1.1  riastrad 	    q
   20520  1.1  riastrad 	  }
   20521  1.1  riastrad 	  /^X\(\/\/\)$/{
   20522  1.1  riastrad 	    s//\1/
   20523  1.1  riastrad 	    q
   20524  1.1  riastrad 	  }
   20525  1.1  riastrad 	  /^X\(\/\).*/{
   20526  1.1  riastrad 	    s//\1/
   20527  1.1  riastrad 	    q
   20528  1.1  riastrad 	  }
   20529  1.1  riastrad 	  s/.*/./; q'`
   20530  1.1  riastrad   as_dir="$ac_dir"; as_fn_mkdir_p
   20531  1.1  riastrad   ac_builddir=.
   20532  1.1  riastrad 
   20533  1.1  riastrad case "$ac_dir" in
   20534  1.1  riastrad .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20535  1.1  riastrad *)
   20536  1.1  riastrad   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   20537  1.1  riastrad   # A ".." for each directory in $ac_dir_suffix.
   20538  1.1  riastrad   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20539  1.1  riastrad   case $ac_top_builddir_sub in
   20540  1.1  riastrad   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20541  1.1  riastrad   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20542  1.1  riastrad   esac ;;
   20543  1.1  riastrad esac
   20544  1.1  riastrad ac_abs_top_builddir=$ac_pwd
   20545  1.1  riastrad ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20546  1.1  riastrad # for backward compatibility:
   20547  1.1  riastrad ac_top_builddir=$ac_top_build_prefix
   20548  1.1  riastrad 
   20549  1.1  riastrad case $srcdir in
   20550  1.1  riastrad   .)  # We are building in place.
   20551  1.1  riastrad     ac_srcdir=.
   20552  1.1  riastrad     ac_top_srcdir=$ac_top_builddir_sub
   20553  1.1  riastrad     ac_abs_top_srcdir=$ac_pwd ;;
   20554  1.1  riastrad   [\\/]* | ?:[\\/]* )  # Absolute name.
   20555  1.1  riastrad     ac_srcdir=$srcdir$ac_dir_suffix;
   20556  1.1  riastrad     ac_top_srcdir=$srcdir
   20557  1.1  riastrad     ac_abs_top_srcdir=$srcdir ;;
   20558  1.1  riastrad   *) # Relative name.
   20559  1.1  riastrad     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20560  1.1  riastrad     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20561  1.1  riastrad     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20562  1.1  riastrad esac
   20563  1.1  riastrad ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20564  1.1  riastrad 
   20565  1.1  riastrad 
   20566  1.1  riastrad   case $ac_mode in
   20567  1.1  riastrad   :F)
   20568  1.1  riastrad   #
   20569  1.1  riastrad   # CONFIG_FILE
   20570  1.1  riastrad   #
   20571  1.1  riastrad 
   20572  1.1  riastrad   case $INSTALL in
   20573  1.1  riastrad   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20574  1.1  riastrad   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20575  1.1  riastrad   esac
   20576  1.1  riastrad   ac_MKDIR_P=$MKDIR_P
   20577  1.1  riastrad   case $MKDIR_P in
   20578  1.1  riastrad   [\\/$]* | ?:[\\/]* ) ;;
   20579  1.1  riastrad   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20580  1.1  riastrad   esac
   20581  1.1  riastrad _ACEOF
   20582  1.1  riastrad 
   20583  1.1  riastrad cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20584  1.1  riastrad # If the template does not know about datarootdir, expand it.
   20585  1.1  riastrad # FIXME: This hack should be removed a few years after 2.60.
   20586  1.1  riastrad ac_datarootdir_hack=; ac_datarootdir_seen=
   20587  1.1  riastrad ac_sed_dataroot='
   20588  1.1  riastrad /datarootdir/ {
   20589  1.1  riastrad   p
   20590  1.1  riastrad   q
   20591  1.1  riastrad }
   20592  1.1  riastrad /@datadir@/p
   20593  1.1  riastrad /@docdir@/p
   20594  1.1  riastrad /@infodir@/p
   20595  1.1  riastrad /@localedir@/p
   20596  1.1  riastrad /@mandir@/p'
   20597  1.1  riastrad case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20598  1.1  riastrad *datarootdir*) ac_datarootdir_seen=yes;;
   20599  1.1  riastrad *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20600  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20601  1.1  riastrad $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20602  1.1  riastrad _ACEOF
   20603  1.1  riastrad cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20604  1.1  riastrad   ac_datarootdir_hack='
   20605  1.1  riastrad   s&@datadir@&$datadir&g
   20606  1.1  riastrad   s&@docdir@&$docdir&g
   20607  1.1  riastrad   s&@infodir@&$infodir&g
   20608  1.1  riastrad   s&@localedir@&$localedir&g
   20609  1.1  riastrad   s&@mandir@&$mandir&g
   20610  1.1  riastrad   s&\\\${datarootdir}&$datarootdir&g' ;;
   20611  1.1  riastrad esac
   20612  1.1  riastrad _ACEOF
   20613  1.1  riastrad 
   20614  1.1  riastrad # Neutralize VPATH when `$srcdir' = `.'.
   20615  1.1  riastrad # Shell code in configure.ac might set extrasub.
   20616  1.1  riastrad # FIXME: do we really want to maintain this feature?
   20617  1.1  riastrad cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20618  1.1  riastrad ac_sed_extra="$ac_vpsub
   20619  1.1  riastrad $extrasub
   20620  1.1  riastrad _ACEOF
   20621  1.1  riastrad cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20622  1.1  riastrad :t
   20623  1.1  riastrad /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20624  1.1  riastrad s|@configure_input@|$ac_sed_conf_input|;t t
   20625  1.1  riastrad s&@top_builddir@&$ac_top_builddir_sub&;t t
   20626  1.1  riastrad s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20627  1.1  riastrad s&@srcdir@&$ac_srcdir&;t t
   20628  1.1  riastrad s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20629  1.1  riastrad s&@top_srcdir@&$ac_top_srcdir&;t t
   20630  1.1  riastrad s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20631  1.1  riastrad s&@builddir@&$ac_builddir&;t t
   20632  1.1  riastrad s&@abs_builddir@&$ac_abs_builddir&;t t
   20633  1.1  riastrad s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20634  1.1  riastrad s&@INSTALL@&$ac_INSTALL&;t t
   20635  1.1  riastrad s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20636  1.1  riastrad $ac_datarootdir_hack
   20637  1.1  riastrad "
   20638  1.1  riastrad eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20639  1.1  riastrad   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20640  1.1  riastrad 
   20641  1.1  riastrad test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20642  1.1  riastrad   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20643  1.1  riastrad   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20644  1.1  riastrad       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20645  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20646  1.1  riastrad which seems to be undefined.  Please make sure it is defined" >&5
   20647  1.1  riastrad $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20648  1.1  riastrad which seems to be undefined.  Please make sure it is defined" >&2;}
   20649  1.1  riastrad 
   20650  1.1  riastrad   rm -f "$ac_tmp/stdin"
   20651  1.1  riastrad   case $ac_file in
   20652  1.1  riastrad   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20653  1.1  riastrad   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20654  1.1  riastrad   esac \
   20655  1.1  riastrad   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20656  1.1  riastrad  ;;
   20657  1.1  riastrad 
   20658  1.1  riastrad 
   20659  1.1  riastrad   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   20660  1.1  riastrad $as_echo "$as_me: executing $ac_file commands" >&6;}
   20661  1.1  riastrad  ;;
   20662  1.1  riastrad   esac
   20663  1.1  riastrad 
   20664  1.1  riastrad 
   20665  1.1  riastrad   case $ac_file$ac_mode in
   20666  1.1  riastrad     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   20667  1.1  riastrad   # Older Autoconf quotes --file arguments for eval, but not when files
   20668  1.1  riastrad   # are listed without --file.  Let's play safe and only enable the eval
   20669  1.1  riastrad   # if we detect the quoting.
   20670  1.1  riastrad   case $CONFIG_FILES in
   20671  1.1  riastrad   *\'*) eval set x "$CONFIG_FILES" ;;
   20672  1.1  riastrad   *)   set x $CONFIG_FILES ;;
   20673  1.1  riastrad   esac
   20674  1.1  riastrad   shift
   20675  1.1  riastrad   for mf
   20676  1.1  riastrad   do
   20677  1.1  riastrad     # Strip MF so we end up with the name of the file.
   20678  1.1  riastrad     mf=`echo "$mf" | sed -e 's/:.*$//'`
   20679  1.1  riastrad     # Check whether this is an Automake generated Makefile or not.
   20680  1.1  riastrad     # We used to match only the files named 'Makefile.in', but
   20681  1.1  riastrad     # some people rename them; so instead we look at the file content.
   20682  1.1  riastrad     # Grep'ing the first line is not enough: some people post-process
   20683  1.1  riastrad     # each Makefile.in and add a new line on top of each file to say so.
   20684  1.1  riastrad     # Grep'ing the whole file is not good either: AIX grep has a line
   20685  1.1  riastrad     # limit of 2048, but all sed's we know have understand at least 4000.
   20686  1.1  riastrad     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   20687  1.1  riastrad       dirpart=`$as_dirname -- "$mf" ||
   20688  1.1  riastrad $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20689  1.1  riastrad 	 X"$mf" : 'X\(//\)[^/]' \| \
   20690  1.1  riastrad 	 X"$mf" : 'X\(//\)$' \| \
   20691  1.1  riastrad 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   20692  1.1  riastrad $as_echo X"$mf" |
   20693  1.1  riastrad     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20694  1.1  riastrad 	    s//\1/
   20695  1.1  riastrad 	    q
   20696  1.1  riastrad 	  }
   20697  1.1  riastrad 	  /^X\(\/\/\)[^/].*/{
   20698  1.1  riastrad 	    s//\1/
   20699  1.1  riastrad 	    q
   20700  1.1  riastrad 	  }
   20701  1.1  riastrad 	  /^X\(\/\/\)$/{
   20702  1.1  riastrad 	    s//\1/
   20703  1.1  riastrad 	    q
   20704  1.1  riastrad 	  }
   20705  1.1  riastrad 	  /^X\(\/\).*/{
   20706  1.1  riastrad 	    s//\1/
   20707  1.1  riastrad 	    q
   20708  1.1  riastrad 	  }
   20709  1.1  riastrad 	  s/.*/./; q'`
   20710  1.1  riastrad     else
   20711  1.1  riastrad       continue
   20712  1.1  riastrad     fi
   20713  1.1  riastrad     # Extract the definition of DEPDIR, am__include, and am__quote
   20714  1.1  riastrad     # from the Makefile without running 'make'.
   20715  1.1  riastrad     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20716  1.1  riastrad     test -z "$DEPDIR" && continue
   20717  1.1  riastrad     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20718  1.1  riastrad     test -z "$am__include" && continue
   20719  1.1  riastrad     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20720  1.1  riastrad     # Find all dependency output files, they are included files with
   20721  1.1  riastrad     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20722  1.1  riastrad     # simplest approach to changing $(DEPDIR) to its actual value in the
   20723  1.1  riastrad     # expansion.
   20724  1.1  riastrad     for file in `sed -n "
   20725  1.1  riastrad       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20726  1.1  riastrad 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   20727  1.1  riastrad       # Make sure the directory exists.
   20728  1.1  riastrad       test -f "$dirpart/$file" && continue
   20729  1.1  riastrad       fdir=`$as_dirname -- "$file" ||
   20730  1.1  riastrad $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20731  1.1  riastrad 	 X"$file" : 'X\(//\)[^/]' \| \
   20732  1.1  riastrad 	 X"$file" : 'X\(//\)$' \| \
   20733  1.1  riastrad 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   20734  1.1  riastrad $as_echo X"$file" |
   20735  1.1  riastrad     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20736  1.1  riastrad 	    s//\1/
   20737  1.1  riastrad 	    q
   20738  1.1  riastrad 	  }
   20739  1.1  riastrad 	  /^X\(\/\/\)[^/].*/{
   20740  1.1  riastrad 	    s//\1/
   20741  1.1  riastrad 	    q
   20742  1.1  riastrad 	  }
   20743  1.1  riastrad 	  /^X\(\/\/\)$/{
   20744  1.1  riastrad 	    s//\1/
   20745  1.1  riastrad 	    q
   20746  1.1  riastrad 	  }
   20747  1.1  riastrad 	  /^X\(\/\).*/{
   20748  1.1  riastrad 	    s//\1/
   20749  1.1  riastrad 	    q
   20750  1.1  riastrad 	  }
   20751  1.1  riastrad 	  s/.*/./; q'`
   20752  1.1  riastrad       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   20753  1.1  riastrad       # echo "creating $dirpart/$file"
   20754  1.1  riastrad       echo '# dummy' > "$dirpart/$file"
   20755  1.1  riastrad     done
   20756  1.1  riastrad   done
   20757  1.1  riastrad }
   20758  1.1  riastrad  ;;
   20759  1.1  riastrad     "libtool":C)
   20760  1.1  riastrad 
   20761  1.1  riastrad     # See if we are running on zsh, and set the options that allow our
   20762  1.1  riastrad     # commands through without removal of \ escapes.
   20763  1.1  riastrad     if test -n "${ZSH_VERSION+set}"; then
   20764  1.1  riastrad       setopt NO_GLOB_SUBST
   20765  1.1  riastrad     fi
   20766  1.1  riastrad 
   20767  1.1  riastrad     cfgfile=${ofile}T
   20768  1.1  riastrad     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20769  1.1  riastrad     $RM "$cfgfile"
   20770  1.1  riastrad 
   20771  1.1  riastrad     cat <<_LT_EOF >> "$cfgfile"
   20772  1.1  riastrad #! $SHELL
   20773  1.1  riastrad # Generated automatically by $as_me ($PACKAGE) $VERSION
   20774  1.1  riastrad # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   20775  1.1  riastrad # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20776  1.1  riastrad 
   20777  1.1  riastrad # Provide generalized library-building support services.
   20778  1.1  riastrad # Written by Gordon Matzigkeit, 1996
   20779  1.1  riastrad 
   20780  1.1  riastrad # Copyright (C) 2014 Free Software Foundation, Inc.
   20781  1.1  riastrad # This is free software; see the source for copying conditions.  There is NO
   20782  1.1  riastrad # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   20783  1.1  riastrad 
   20784  1.1  riastrad # GNU Libtool is free software; you can redistribute it and/or modify
   20785  1.1  riastrad # it under the terms of the GNU General Public License as published by
   20786  1.1  riastrad # the Free Software Foundation; either version 2 of of the License, or
   20787  1.1  riastrad # (at your option) any later version.
   20788  1.1  riastrad #
   20789  1.1  riastrad # As a special exception to the GNU General Public License, if you
   20790  1.1  riastrad # distribute this file as part of a program or library that is built
   20791  1.1  riastrad # using GNU Libtool, you may include this file under the  same
   20792  1.1  riastrad # distribution terms that you use for the rest of that program.
   20793  1.1  riastrad #
   20794  1.1  riastrad # GNU Libtool is distributed in the hope that it will be useful, but
   20795  1.1  riastrad # WITHOUT ANY WARRANTY; without even the implied warranty of
   20796  1.1  riastrad # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20797  1.1  riastrad # GNU General Public License for more details.
   20798  1.1  riastrad #
   20799  1.1  riastrad # You should have received a copy of the GNU General Public License
   20800  1.1  riastrad # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   20801  1.1  riastrad 
   20802  1.1  riastrad 
   20803  1.1  riastrad # The names of the tagged configurations supported by this script.
   20804  1.1  riastrad available_tags=''
   20805  1.1  riastrad 
   20806  1.1  riastrad # Configured defaults for sys_lib_dlsearch_path munging.
   20807  1.1  riastrad : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   20808  1.1  riastrad 
   20809  1.1  riastrad # ### BEGIN LIBTOOL CONFIG
   20810  1.1  riastrad 
   20811  1.1  riastrad # Which release of libtool.m4 was used?
   20812  1.1  riastrad macro_version=$macro_version
   20813  1.1  riastrad macro_revision=$macro_revision
   20814  1.1  riastrad 
   20815  1.1  riastrad # Whether or not to build shared libraries.
   20816  1.1  riastrad build_libtool_libs=$enable_shared
   20817  1.1  riastrad 
   20818  1.1  riastrad # Whether or not to build static libraries.
   20819  1.1  riastrad build_old_libs=$enable_static
   20820  1.1  riastrad 
   20821  1.1  riastrad # What type of objects to build.
   20822  1.1  riastrad pic_mode=$pic_mode
   20823  1.1  riastrad 
   20824  1.1  riastrad # Whether or not to optimize for fast installation.
   20825  1.1  riastrad fast_install=$enable_fast_install
   20826  1.1  riastrad 
   20827  1.1  riastrad # Shared archive member basename,for filename based shared library versioning on AIX.
   20828  1.1  riastrad shared_archive_member_spec=$shared_archive_member_spec
   20829  1.1  riastrad 
   20830  1.1  riastrad # Shell to use when invoking shell scripts.
   20831  1.1  riastrad SHELL=$lt_SHELL
   20832  1.1  riastrad 
   20833  1.1  riastrad # An echo program that protects backslashes.
   20834  1.1  riastrad ECHO=$lt_ECHO
   20835  1.1  riastrad 
   20836  1.1  riastrad # The PATH separator for the build system.
   20837  1.1  riastrad PATH_SEPARATOR=$lt_PATH_SEPARATOR
   20838  1.1  riastrad 
   20839  1.1  riastrad # The host system.
   20840  1.1  riastrad host_alias=$host_alias
   20841  1.1  riastrad host=$host
   20842  1.1  riastrad host_os=$host_os
   20843  1.1  riastrad 
   20844  1.1  riastrad # The build system.
   20845  1.1  riastrad build_alias=$build_alias
   20846  1.1  riastrad build=$build
   20847  1.1  riastrad build_os=$build_os
   20848  1.1  riastrad 
   20849  1.1  riastrad # A sed program that does not truncate output.
   20850  1.1  riastrad SED=$lt_SED
   20851  1.1  riastrad 
   20852  1.1  riastrad # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   20853  1.1  riastrad Xsed="\$SED -e 1s/^X//"
   20854  1.1  riastrad 
   20855  1.1  riastrad # A grep program that handles long lines.
   20856  1.1  riastrad GREP=$lt_GREP
   20857  1.1  riastrad 
   20858  1.1  riastrad # An ERE matcher.
   20859  1.1  riastrad EGREP=$lt_EGREP
   20860  1.1  riastrad 
   20861  1.1  riastrad # A literal string matcher.
   20862  1.1  riastrad FGREP=$lt_FGREP
   20863  1.1  riastrad 
   20864  1.1  riastrad # A BSD- or MS-compatible name lister.
   20865  1.1  riastrad NM=$lt_NM
   20866  1.1  riastrad 
   20867  1.1  riastrad # Whether we need soft or hard links.
   20868  1.1  riastrad LN_S=$lt_LN_S
   20869  1.1  riastrad 
   20870  1.1  riastrad # What is the maximum length of a command?
   20871  1.1  riastrad max_cmd_len=$max_cmd_len
   20872  1.1  riastrad 
   20873  1.1  riastrad # Object file suffix (normally "o").
   20874  1.1  riastrad objext=$ac_objext
   20875  1.1  riastrad 
   20876  1.1  riastrad # Executable file suffix (normally "").
   20877  1.1  riastrad exeext=$exeext
   20878  1.1  riastrad 
   20879  1.1  riastrad # whether the shell understands "unset".
   20880  1.1  riastrad lt_unset=$lt_unset
   20881  1.1  riastrad 
   20882  1.1  riastrad # turn spaces into newlines.
   20883  1.1  riastrad SP2NL=$lt_lt_SP2NL
   20884  1.1  riastrad 
   20885  1.1  riastrad # turn newlines into spaces.
   20886  1.1  riastrad NL2SP=$lt_lt_NL2SP
   20887  1.1  riastrad 
   20888  1.1  riastrad # convert \$build file names to \$host format.
   20889  1.1  riastrad to_host_file_cmd=$lt_cv_to_host_file_cmd
   20890  1.1  riastrad 
   20891  1.1  riastrad # convert \$build files to toolchain format.
   20892  1.1  riastrad to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   20893  1.1  riastrad 
   20894  1.1  riastrad # An object symbol dumper.
   20895  1.1  riastrad OBJDUMP=$lt_OBJDUMP
   20896  1.1  riastrad 
   20897  1.1  riastrad # Method to check whether dependent libraries are shared objects.
   20898  1.1  riastrad deplibs_check_method=$lt_deplibs_check_method
   20899  1.1  riastrad 
   20900  1.1  riastrad # Command to use when deplibs_check_method = "file_magic".
   20901  1.1  riastrad file_magic_cmd=$lt_file_magic_cmd
   20902  1.1  riastrad 
   20903  1.1  riastrad # How to find potential files when deplibs_check_method = "file_magic".
   20904  1.1  riastrad file_magic_glob=$lt_file_magic_glob
   20905  1.1  riastrad 
   20906  1.1  riastrad # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   20907  1.1  riastrad want_nocaseglob=$lt_want_nocaseglob
   20908  1.1  riastrad 
   20909  1.1  riastrad # DLL creation program.
   20910  1.1  riastrad DLLTOOL=$lt_DLLTOOL
   20911  1.1  riastrad 
   20912  1.1  riastrad # Command to associate shared and link libraries.
   20913  1.1  riastrad sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   20914  1.1  riastrad 
   20915  1.1  riastrad # The archiver.
   20916  1.1  riastrad AR=$lt_AR
   20917  1.1  riastrad 
   20918  1.1  riastrad # Flags to create an archive.
   20919  1.1  riastrad AR_FLAGS=$lt_AR_FLAGS
   20920  1.1  riastrad 
   20921  1.1  riastrad # How to feed a file listing to the archiver.
   20922  1.1  riastrad archiver_list_spec=$lt_archiver_list_spec
   20923  1.1  riastrad 
   20924  1.1  riastrad # A symbol stripping program.
   20925  1.1  riastrad STRIP=$lt_STRIP
   20926  1.1  riastrad 
   20927  1.1  riastrad # Commands used to install an old-style archive.
   20928  1.1  riastrad RANLIB=$lt_RANLIB
   20929  1.1  riastrad old_postinstall_cmds=$lt_old_postinstall_cmds
   20930  1.1  riastrad old_postuninstall_cmds=$lt_old_postuninstall_cmds
   20931  1.1  riastrad 
   20932  1.1  riastrad # Whether to use a lock for old archive extraction.
   20933  1.1  riastrad lock_old_archive_extraction=$lock_old_archive_extraction
   20934  1.1  riastrad 
   20935  1.1  riastrad # A C compiler.
   20936  1.1  riastrad LTCC=$lt_CC
   20937  1.1  riastrad 
   20938  1.1  riastrad # LTCC compiler flags.
   20939  1.1  riastrad LTCFLAGS=$lt_CFLAGS
   20940  1.1  riastrad 
   20941  1.1  riastrad # Take the output of nm and produce a listing of raw symbols and C names.
   20942  1.1  riastrad global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   20943  1.1  riastrad 
   20944  1.1  riastrad # Transform the output of nm in a proper C declaration.
   20945  1.1  riastrad global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   20946  1.1  riastrad 
   20947  1.1  riastrad # Transform the output of nm into a list of symbols to manually relocate.
   20948  1.1  riastrad global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   20949  1.1  riastrad 
   20950  1.1  riastrad # Transform the output of nm in a C name address pair.
   20951  1.1  riastrad global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   20952  1.1  riastrad 
   20953  1.1  riastrad # Transform the output of nm in a C name address pair when lib prefix is needed.
   20954  1.1  riastrad global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   20955  1.1  riastrad 
   20956  1.1  riastrad # The name lister interface.
   20957  1.1  riastrad nm_interface=$lt_lt_cv_nm_interface
   20958  1.1  riastrad 
   20959  1.1  riastrad # Specify filename containing input files for \$NM.
   20960  1.1  riastrad nm_file_list_spec=$lt_nm_file_list_spec
   20961  1.1  riastrad 
   20962  1.1  riastrad # The root where to search for dependent libraries,and where our libraries should be installed.
   20963  1.1  riastrad lt_sysroot=$lt_sysroot
   20964  1.1  riastrad 
   20965  1.1  riastrad # Command to truncate a binary pipe.
   20966  1.1  riastrad lt_truncate_bin=$lt_lt_cv_truncate_bin
   20967  1.1  riastrad 
   20968  1.1  riastrad # The name of the directory that contains temporary libtool files.
   20969  1.1  riastrad objdir=$objdir
   20970  1.1  riastrad 
   20971  1.1  riastrad # Used to examine libraries when file_magic_cmd begins with "file".
   20972  1.1  riastrad MAGIC_CMD=$MAGIC_CMD
   20973  1.1  riastrad 
   20974  1.1  riastrad # Must we lock files when doing compilation?
   20975  1.1  riastrad need_locks=$lt_need_locks
   20976  1.1  riastrad 
   20977  1.1  riastrad # Manifest tool.
   20978  1.1  riastrad MANIFEST_TOOL=$lt_MANIFEST_TOOL
   20979  1.1  riastrad 
   20980  1.1  riastrad # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   20981  1.1  riastrad DSYMUTIL=$lt_DSYMUTIL
   20982  1.1  riastrad 
   20983  1.1  riastrad # Tool to change global to local symbols on Mac OS X.
   20984  1.1  riastrad NMEDIT=$lt_NMEDIT
   20985  1.1  riastrad 
   20986  1.1  riastrad # Tool to manipulate fat objects and archives on Mac OS X.
   20987  1.1  riastrad LIPO=$lt_LIPO
   20988  1.1  riastrad 
   20989  1.1  riastrad # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   20990  1.1  riastrad OTOOL=$lt_OTOOL
   20991  1.1  riastrad 
   20992  1.1  riastrad # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   20993  1.1  riastrad OTOOL64=$lt_OTOOL64
   20994  1.1  riastrad 
   20995  1.1  riastrad # Old archive suffix (normally "a").
   20996  1.1  riastrad libext=$libext
   20997  1.1  riastrad 
   20998  1.1  riastrad # Shared library suffix (normally ".so").
   20999  1.1  riastrad shrext_cmds=$lt_shrext_cmds
   21000  1.1  riastrad 
   21001  1.1  riastrad # The commands to extract the exported symbol list from a shared archive.
   21002  1.1  riastrad extract_expsyms_cmds=$lt_extract_expsyms_cmds
   21003  1.1  riastrad 
   21004  1.1  riastrad # Variables whose values should be saved in libtool wrapper scripts and
   21005  1.1  riastrad # restored at link time.
   21006  1.1  riastrad variables_saved_for_relink=$lt_variables_saved_for_relink
   21007  1.1  riastrad 
   21008  1.1  riastrad # Do we need the "lib" prefix for modules?
   21009  1.1  riastrad need_lib_prefix=$need_lib_prefix
   21010  1.1  riastrad 
   21011  1.1  riastrad # Do we need a version for libraries?
   21012  1.1  riastrad need_version=$need_version
   21013  1.1  riastrad 
   21014  1.1  riastrad # Library versioning type.
   21015  1.1  riastrad version_type=$version_type
   21016  1.1  riastrad 
   21017  1.1  riastrad # Shared library runtime path variable.
   21018  1.1  riastrad runpath_var=$runpath_var
   21019  1.1  riastrad 
   21020  1.1  riastrad # Shared library path variable.
   21021  1.1  riastrad shlibpath_var=$shlibpath_var
   21022  1.1  riastrad 
   21023  1.1  riastrad # Is shlibpath searched before the hard-coded library search path?
   21024  1.1  riastrad shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   21025  1.1  riastrad 
   21026  1.1  riastrad # Format of library name prefix.
   21027  1.1  riastrad libname_spec=$lt_libname_spec
   21028  1.1  riastrad 
   21029  1.1  riastrad # List of archive names.  First name is the real one, the rest are links.
   21030  1.1  riastrad # The last name is the one that the linker finds with -lNAME
   21031  1.1  riastrad library_names_spec=$lt_library_names_spec
   21032  1.1  riastrad 
   21033  1.1  riastrad # The coded name of the library, if different from the real name.
   21034  1.1  riastrad soname_spec=$lt_soname_spec
   21035  1.1  riastrad 
   21036  1.1  riastrad # Permission mode override for installation of shared libraries.
   21037  1.1  riastrad install_override_mode=$lt_install_override_mode
   21038  1.1  riastrad 
   21039  1.1  riastrad # Command to use after installation of a shared archive.
   21040  1.1  riastrad postinstall_cmds=$lt_postinstall_cmds
   21041  1.1  riastrad 
   21042  1.1  riastrad # Command to use after uninstallation of a shared archive.
   21043  1.1  riastrad postuninstall_cmds=$lt_postuninstall_cmds
   21044  1.1  riastrad 
   21045  1.1  riastrad # Commands used to finish a libtool library installation in a directory.
   21046  1.1  riastrad finish_cmds=$lt_finish_cmds
   21047  1.1  riastrad 
   21048  1.1  riastrad # As "finish_cmds", except a single script fragment to be evaled but
   21049  1.1  riastrad # not shown.
   21050  1.1  riastrad finish_eval=$lt_finish_eval
   21051  1.1  riastrad 
   21052  1.1  riastrad # Whether we should hardcode library paths into libraries.
   21053  1.1  riastrad hardcode_into_libs=$hardcode_into_libs
   21054  1.1  riastrad 
   21055  1.1  riastrad # Compile-time system search path for libraries.
   21056  1.1  riastrad sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   21057  1.1  riastrad 
   21058  1.1  riastrad # Detected run-time system search path for libraries.
   21059  1.1  riastrad sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   21060  1.1  riastrad 
   21061  1.1  riastrad # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   21062  1.1  riastrad configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   21063  1.1  riastrad 
   21064  1.1  riastrad # Whether dlopen is supported.
   21065  1.1  riastrad dlopen_support=$enable_dlopen
   21066  1.1  riastrad 
   21067  1.1  riastrad # Whether dlopen of programs is supported.
   21068  1.1  riastrad dlopen_self=$enable_dlopen_self
   21069  1.1  riastrad 
   21070  1.1  riastrad # Whether dlopen of statically linked programs is supported.
   21071  1.1  riastrad dlopen_self_static=$enable_dlopen_self_static
   21072  1.1  riastrad 
   21073  1.1  riastrad # Commands to strip libraries.
   21074  1.1  riastrad old_striplib=$lt_old_striplib
   21075  1.1  riastrad striplib=$lt_striplib
   21076  1.1  riastrad 
   21077  1.1  riastrad # Assembler program.
   21078  1.1  riastrad AS=$lt_AS
   21079  1.1  riastrad 
   21080  1.1  riastrad 
   21081  1.1  riastrad # The linker used to build libraries.
   21082  1.1  riastrad LD=$lt_LD
   21083  1.1  riastrad 
   21084  1.1  riastrad # How to create reloadable object files.
   21085  1.1  riastrad reload_flag=$lt_reload_flag
   21086  1.1  riastrad reload_cmds=$lt_reload_cmds
   21087  1.1  riastrad 
   21088  1.1  riastrad # Commands used to build an old-style archive.
   21089  1.1  riastrad old_archive_cmds=$lt_old_archive_cmds
   21090  1.1  riastrad 
   21091  1.1  riastrad # A language specific compiler.
   21092  1.1  riastrad CC=$lt_compiler
   21093  1.1  riastrad 
   21094  1.1  riastrad # Is the compiler the GNU compiler?
   21095  1.1  riastrad with_gcc=$GCC
   21096  1.1  riastrad 
   21097  1.1  riastrad # Compiler flag to turn off builtin functions.
   21098  1.1  riastrad no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21099  1.1  riastrad 
   21100  1.1  riastrad # Additional compiler flags for building library objects.
   21101  1.1  riastrad pic_flag=$lt_lt_prog_compiler_pic
   21102  1.1  riastrad 
   21103  1.1  riastrad # How to pass a linker flag through the compiler.
   21104  1.1  riastrad wl=$lt_lt_prog_compiler_wl
   21105  1.1  riastrad 
   21106  1.1  riastrad # Compiler flag to prevent dynamic linking.
   21107  1.1  riastrad link_static_flag=$lt_lt_prog_compiler_static
   21108  1.1  riastrad 
   21109  1.1  riastrad # Does compiler simultaneously support -c and -o options?
   21110  1.1  riastrad compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21111  1.1  riastrad 
   21112  1.1  riastrad # Whether or not to add -lc for building shared libraries.
   21113  1.1  riastrad build_libtool_need_lc=$archive_cmds_need_lc
   21114  1.1  riastrad 
   21115  1.1  riastrad # Whether or not to disallow shared libs when runtime libs are static.
   21116  1.1  riastrad allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21117  1.1  riastrad 
   21118  1.1  riastrad # Compiler flag to allow reflexive dlopens.
   21119  1.1  riastrad export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21120  1.1  riastrad 
   21121  1.1  riastrad # Compiler flag to generate shared objects directly from archives.
   21122  1.1  riastrad whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21123  1.1  riastrad 
   21124  1.1  riastrad # Whether the compiler copes with passing no objects directly.
   21125  1.1  riastrad compiler_needs_object=$lt_compiler_needs_object
   21126  1.1  riastrad 
   21127  1.1  riastrad # Create an old-style archive from a shared archive.
   21128  1.1  riastrad old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21129  1.1  riastrad 
   21130  1.1  riastrad # Create a temporary old-style archive to link instead of a shared archive.
   21131  1.1  riastrad old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21132  1.1  riastrad 
   21133  1.1  riastrad # Commands used to build a shared archive.
   21134  1.1  riastrad archive_cmds=$lt_archive_cmds
   21135  1.1  riastrad archive_expsym_cmds=$lt_archive_expsym_cmds
   21136  1.1  riastrad 
   21137  1.1  riastrad # Commands used to build a loadable module if different from building
   21138  1.1  riastrad # a shared archive.
   21139  1.1  riastrad module_cmds=$lt_module_cmds
   21140  1.1  riastrad module_expsym_cmds=$lt_module_expsym_cmds
   21141  1.1  riastrad 
   21142  1.1  riastrad # Whether we are building with GNU ld or not.
   21143  1.1  riastrad with_gnu_ld=$lt_with_gnu_ld
   21144  1.1  riastrad 
   21145  1.1  riastrad # Flag that allows shared libraries with undefined symbols to be built.
   21146  1.1  riastrad allow_undefined_flag=$lt_allow_undefined_flag
   21147  1.1  riastrad 
   21148  1.1  riastrad # Flag that enforces no undefined symbols.
   21149  1.1  riastrad no_undefined_flag=$lt_no_undefined_flag
   21150  1.1  riastrad 
   21151  1.1  riastrad # Flag to hardcode \$libdir into a binary during linking.
   21152  1.1  riastrad # This must work even if \$libdir does not exist
   21153  1.1  riastrad hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21154  1.1  riastrad 
   21155  1.1  riastrad # Whether we need a single "-rpath" flag with a separated argument.
   21156  1.1  riastrad hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21157  1.1  riastrad 
   21158  1.1  riastrad # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21159  1.1  riastrad # DIR into the resulting binary.
   21160  1.1  riastrad hardcode_direct=$hardcode_direct
   21161  1.1  riastrad 
   21162  1.1  riastrad # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21163  1.1  riastrad # DIR into the resulting binary and the resulting library dependency is
   21164  1.1  riastrad # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   21165  1.1  riastrad # library is relocated.
   21166  1.1  riastrad hardcode_direct_absolute=$hardcode_direct_absolute
   21167  1.1  riastrad 
   21168  1.1  riastrad # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21169  1.1  riastrad # into the resulting binary.
   21170  1.1  riastrad hardcode_minus_L=$hardcode_minus_L
   21171  1.1  riastrad 
   21172  1.1  riastrad # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21173  1.1  riastrad # into the resulting binary.
   21174  1.1  riastrad hardcode_shlibpath_var=$hardcode_shlibpath_var
   21175  1.1  riastrad 
   21176  1.1  riastrad # Set to "yes" if building a shared library automatically hardcodes DIR
   21177  1.1  riastrad # into the library and all subsequent libraries and executables linked
   21178  1.1  riastrad # against it.
   21179  1.1  riastrad hardcode_automatic=$hardcode_automatic
   21180  1.1  riastrad 
   21181  1.1  riastrad # Set to yes if linker adds runtime paths of dependent libraries
   21182  1.1  riastrad # to runtime path list.
   21183  1.1  riastrad inherit_rpath=$inherit_rpath
   21184  1.1  riastrad 
   21185  1.1  riastrad # Whether libtool must link a program against all its dependency libraries.
   21186  1.1  riastrad link_all_deplibs=$link_all_deplibs
   21187  1.1  riastrad 
   21188  1.1  riastrad # Set to "yes" if exported symbols are required.
   21189  1.1  riastrad always_export_symbols=$always_export_symbols
   21190  1.1  riastrad 
   21191  1.1  riastrad # The commands to list exported symbols.
   21192  1.1  riastrad export_symbols_cmds=$lt_export_symbols_cmds
   21193  1.1  riastrad 
   21194  1.1  riastrad # Symbols that should not be listed in the preloaded symbols.
   21195  1.1  riastrad exclude_expsyms=$lt_exclude_expsyms
   21196  1.1  riastrad 
   21197  1.1  riastrad # Symbols that must always be exported.
   21198  1.1  riastrad include_expsyms=$lt_include_expsyms
   21199  1.1  riastrad 
   21200  1.1  riastrad # Commands necessary for linking programs (against libraries) with templates.
   21201  1.1  riastrad prelink_cmds=$lt_prelink_cmds
   21202  1.1  riastrad 
   21203  1.1  riastrad # Commands necessary for finishing linking programs.
   21204  1.1  riastrad postlink_cmds=$lt_postlink_cmds
   21205  1.1  riastrad 
   21206  1.1  riastrad # Specify filename containing input files.
   21207  1.1  riastrad file_list_spec=$lt_file_list_spec
   21208  1.1  riastrad 
   21209  1.1  riastrad # How to hardcode a shared library path into an executable.
   21210  1.1  riastrad hardcode_action=$hardcode_action
   21211  1.1  riastrad 
   21212  1.1  riastrad # ### END LIBTOOL CONFIG
   21213  1.1  riastrad 
   21214  1.1  riastrad _LT_EOF
   21215  1.1  riastrad 
   21216  1.1  riastrad     cat <<'_LT_EOF' >> "$cfgfile"
   21217  1.1  riastrad 
   21218  1.1  riastrad # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   21219  1.1  riastrad 
   21220  1.1  riastrad # func_munge_path_list VARIABLE PATH
   21221  1.1  riastrad # -----------------------------------
   21222  1.1  riastrad # VARIABLE is name of variable containing _space_ separated list of
   21223  1.1  riastrad # directories to be munged by the contents of PATH, which is string
   21224  1.1  riastrad # having a format:
   21225  1.1  riastrad # "DIR[:DIR]:"
   21226  1.1  riastrad #       string "DIR[ DIR]" will be prepended to VARIABLE
   21227  1.1  riastrad # ":DIR[:DIR]"
   21228  1.1  riastrad #       string "DIR[ DIR]" will be appended to VARIABLE
   21229  1.1  riastrad # "DIRP[:DIRP]::[DIRA:]DIRA"
   21230  1.1  riastrad #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   21231  1.1  riastrad #       "DIRA[ DIRA]" will be appended to VARIABLE
   21232  1.1  riastrad # "DIR[:DIR]"
   21233  1.1  riastrad #       VARIABLE will be replaced by "DIR[ DIR]"
   21234  1.1  riastrad func_munge_path_list ()
   21235  1.1  riastrad {
   21236  1.1  riastrad     case x$2 in
   21237  1.1  riastrad     x)
   21238  1.1  riastrad         ;;
   21239  1.1  riastrad     *:)
   21240  1.1  riastrad         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   21241  1.1  riastrad         ;;
   21242  1.1  riastrad     x:*)
   21243  1.1  riastrad         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   21244  1.1  riastrad         ;;
   21245  1.1  riastrad     *::*)
   21246  1.1  riastrad         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   21247  1.1  riastrad         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   21248  1.1  riastrad         ;;
   21249  1.1  riastrad     *)
   21250  1.1  riastrad         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   21251  1.1  riastrad         ;;
   21252  1.1  riastrad     esac
   21253  1.1  riastrad }
   21254  1.1  riastrad 
   21255  1.1  riastrad 
   21256  1.1  riastrad # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   21257  1.1  riastrad func_cc_basename ()
   21258  1.1  riastrad {
   21259  1.1  riastrad     for cc_temp in $*""; do
   21260  1.1  riastrad       case $cc_temp in
   21261  1.1  riastrad         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   21262  1.1  riastrad         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   21263  1.1  riastrad         \-*) ;;
   21264  1.1  riastrad         *) break;;
   21265  1.1  riastrad       esac
   21266  1.1  riastrad     done
   21267  1.1  riastrad     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   21268  1.1  riastrad }
   21269  1.1  riastrad 
   21270  1.1  riastrad 
   21271  1.1  riastrad # ### END FUNCTIONS SHARED WITH CONFIGURE
   21272  1.1  riastrad 
   21273  1.1  riastrad _LT_EOF
   21274  1.1  riastrad 
   21275  1.1  riastrad   case $host_os in
   21276  1.1  riastrad   aix3*)
   21277  1.1  riastrad     cat <<\_LT_EOF >> "$cfgfile"
   21278  1.1  riastrad # AIX sometimes has problems with the GCC collect2 program.  For some
   21279  1.1  riastrad # reason, if we set the COLLECT_NAMES environment variable, the problems
   21280  1.1  riastrad # vanish in a puff of smoke.
   21281  1.1  riastrad if test set != "${COLLECT_NAMES+set}"; then
   21282  1.1  riastrad   COLLECT_NAMES=
   21283  1.1  riastrad   export COLLECT_NAMES
   21284  1.1  riastrad fi
   21285  1.1  riastrad _LT_EOF
   21286  1.1  riastrad     ;;
   21287  1.1  riastrad   esac
   21288  1.1  riastrad 
   21289  1.1  riastrad 
   21290  1.1  riastrad ltmain=$ac_aux_dir/ltmain.sh
   21291  1.1  riastrad 
   21292  1.1  riastrad 
   21293  1.1  riastrad   # We use sed instead of cat because bash on DJGPP gets confused if
   21294  1.1  riastrad   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   21295  1.1  riastrad   # text mode, it properly converts lines to CR/LF.  This bash problem
   21296  1.1  riastrad   # is reportedly fixed, but why not run on old versions too?
   21297  1.1  riastrad   sed '$q' "$ltmain" >> "$cfgfile" \
   21298  1.1  riastrad      || (rm -f "$cfgfile"; exit 1)
   21299  1.1  riastrad 
   21300  1.1  riastrad    mv -f "$cfgfile" "$ofile" ||
   21301  1.1  riastrad     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   21302  1.1  riastrad   chmod +x "$ofile"
   21303  1.1  riastrad 
   21304  1.1  riastrad  ;;
   21305  1.1  riastrad 
   21306  1.1  riastrad   esac
   21307  1.1  riastrad done # for ac_tag
   21308  1.1  riastrad 
   21309  1.1  riastrad 
   21310  1.1  riastrad as_fn_exit 0
   21311  1.1  riastrad _ACEOF
   21312  1.1  riastrad ac_clean_files=$ac_clean_files_save
   21313  1.1  riastrad 
   21314  1.1  riastrad test $ac_write_fail = 0 ||
   21315  1.1  riastrad   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   21316  1.1  riastrad 
   21317  1.1  riastrad 
   21318  1.1  riastrad # configure is writing to config.log, and then calls config.status.
   21319  1.1  riastrad # config.status does its own redirection, appending to config.log.
   21320  1.1  riastrad # Unfortunately, on DOS this fails, as config.log is still kept open
   21321  1.1  riastrad # by configure, so config.status won't be able to write to it; its
   21322  1.1  riastrad # output is simply discarded.  So we exec the FD to /dev/null,
   21323  1.1  riastrad # effectively closing config.log, so it can be properly (re)opened and
   21324  1.1  riastrad # appended to by config.status.  When coming back to configure, we
   21325  1.1  riastrad # need to make the FD available again.
   21326  1.1  riastrad if test "$no_create" != yes; then
   21327  1.1  riastrad   ac_cs_success=:
   21328  1.1  riastrad   ac_config_status_args=
   21329  1.1  riastrad   test "$silent" = yes &&
   21330  1.1  riastrad     ac_config_status_args="$ac_config_status_args --quiet"
   21331  1.1  riastrad   exec 5>/dev/null
   21332  1.1  riastrad   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21333  1.1  riastrad   exec 5>>config.log
   21334  1.1  riastrad   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21335  1.1  riastrad   # would make configure fail if this is the last instruction.
   21336  1.1  riastrad   $ac_cs_success || as_fn_exit 1
   21337  1.1  riastrad fi
   21338  1.1  riastrad if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   21339  1.1  riastrad   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   21340  1.1  riastrad $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   21341  1.1  riastrad fi
   21342  1.1  riastrad 
   21343