github.com/golang/gofrontend@v0.0.0-20240429183944-60f985a78526/libgo/configure (about)

     1  #! /bin/sh
     2  # Guess values for system-dependent variables and create Makefiles.
     3  # Generated by GNU Autoconf 2.69 for package-unused version-unused.
     4  #
     5  #
     6  # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
     7  #
     8  #
     9  # This configure script is free software; the Free Software Foundation
    10  # gives unlimited permission to copy, distribute and modify it.
    11  ## -------------------- ##
    12  ## M4sh Initialization. ##
    13  ## -------------------- ##
    14  
    15  # Be more Bourne compatible
    16  DUALCASE=1; export DUALCASE # for MKS sh
    17  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    18    emulate sh
    19    NULLCMD=:
    20    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    21    # is contrary to our usage.  Disable this feature.
    22    alias -g '${1+"$@"}'='"$@"'
    23    setopt NO_GLOB_SUBST
    24  else
    25    case `(set -o) 2>/dev/null` in #(
    26    *posix*) :
    27      set -o posix ;; #(
    28    *) :
    29       ;;
    30  esac
    31  fi
    32  
    33  
    34  as_nl='
    35  '
    36  export as_nl
    37  # Printing a long string crashes Solaris 7 /usr/bin/printf.
    38  as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    39  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    40  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    41  # Prefer a ksh shell builtin over an external printf program on Solaris,
    42  # but without wasting forks for bash or zsh.
    43  if test -z "$BASH_VERSION$ZSH_VERSION" \
    44      && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
    45    as_echo='print -r --'
    46    as_echo_n='print -rn --'
    47  elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    48    as_echo='printf %s\n'
    49    as_echo_n='printf %s'
    50  else
    51    if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
    52      as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
    53      as_echo_n='/usr/ucb/echo -n'
    54    else
    55      as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
    56      as_echo_n_body='eval
    57        arg=$1;
    58        case $arg in #(
    59        *"$as_nl"*)
    60  	expr "X$arg" : "X\\(.*\\)$as_nl";
    61  	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
    62        esac;
    63        expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
    64      '
    65      export as_echo_n_body
    66      as_echo_n='sh -c $as_echo_n_body as_echo'
    67    fi
    68    export as_echo_body
    69    as_echo='sh -c $as_echo_body as_echo'
    70  fi
    71  
    72  # The user is always right.
    73  if test "${PATH_SEPARATOR+set}" != set; then
    74    PATH_SEPARATOR=:
    75    (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
    76      (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
    77        PATH_SEPARATOR=';'
    78    }
    79  fi
    80  
    81  
    82  # IFS
    83  # We need space, tab and new line, in precisely that order.  Quoting is
    84  # there to prevent editors from complaining about space-tab.
    85  # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    86  # splitting by setting IFS to empty value.)
    87  IFS=" ""	$as_nl"
    88  
    89  # Find who we are.  Look in the path if we contain no directory separator.
    90  as_myself=
    91  case $0 in #((
    92    *[\\/]* ) as_myself=$0 ;;
    93    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    94  for as_dir in $PATH
    95  do
    96    IFS=$as_save_IFS
    97    test -z "$as_dir" && as_dir=.
    98      test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    99    done
   100  IFS=$as_save_IFS
   101  
   102       ;;
   103  esac
   104  # We did not find ourselves, most probably we were run as `sh COMMAND'
   105  # in which case we are not to be found in the path.
   106  if test "x$as_myself" = x; then
   107    as_myself=$0
   108  fi
   109  if test ! -f "$as_myself"; then
   110    $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   111    exit 1
   112  fi
   113  
   114  # Unset variables that we do not need and which cause bugs (e.g. in
   115  # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   116  # suppresses any "Segmentation fault" message there.  '((' could
   117  # trigger a bug in pdksh 5.2.14.
   118  for as_var in BASH_ENV ENV MAIL MAILPATH
   119  do eval test x\${$as_var+set} = xset \
   120    && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   121  done
   122  PS1='$ '
   123  PS2='> '
   124  PS4='+ '
   125  
   126  # NLS nuisances.
   127  LC_ALL=C
   128  export LC_ALL
   129  LANGUAGE=C
   130  export LANGUAGE
   131  
   132  # CDPATH.
   133  (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   134  
   135  # Use a proper internal environment variable to ensure we don't fall
   136    # into an infinite loop, continuously re-executing ourselves.
   137    if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
   138      _as_can_reexec=no; export _as_can_reexec;
   139      # We cannot yet assume a decent shell, so we have to provide a
   140  # neutralization value for shells without unset; and this also
   141  # works around shells that cannot unset nonexistent variables.
   142  # Preserve -v and -x to the replacement shell.
   143  BASH_ENV=/dev/null
   144  ENV=/dev/null
   145  (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
   146  case $- in # ((((
   147    *v*x* | *x*v* ) as_opts=-vx ;;
   148    *v* ) as_opts=-v ;;
   149    *x* ) as_opts=-x ;;
   150    * ) as_opts= ;;
   151  esac
   152  exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
   153  # Admittedly, this is quite paranoid, since all the known shells bail
   154  # out after a failed `exec'.
   155  $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
   156  as_fn_exit 255
   157    fi
   158    # We don't want this to propagate to other subprocesses.
   159            { _as_can_reexec=; unset _as_can_reexec;}
   160  if test "x$CONFIG_SHELL" = x; then
   161    as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
   162    emulate sh
   163    NULLCMD=:
   164    # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
   165    # is contrary to our usage.  Disable this feature.
   166    alias -g '\${1+\"\$@\"}'='\"\$@\"'
   167    setopt NO_GLOB_SUBST
   168  else
   169    case \`(set -o) 2>/dev/null\` in #(
   170    *posix*) :
   171      set -o posix ;; #(
   172    *) :
   173       ;;
   174  esac
   175  fi
   176  "
   177    as_required="as_fn_return () { (exit \$1); }
   178  as_fn_success () { as_fn_return 0; }
   179  as_fn_failure () { as_fn_return 1; }
   180  as_fn_ret_success () { return 0; }
   181  as_fn_ret_failure () { return 1; }
   182  
   183  exitcode=0
   184  as_fn_success || { exitcode=1; echo as_fn_success failed.; }
   185  as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
   186  as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
   187  as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
   188  if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
   189  
   190  else
   191    exitcode=1; echo positional parameters were not saved.
   192  fi
   193  test x\$exitcode = x0 || exit 1
   194  test -x / || exit 1"
   195    as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
   196    as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
   197    eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
   198    test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
   199  test \$(( 1 + 1 )) = 2 || exit 1
   200  
   201    test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
   202      ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   203      ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
   204      ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
   205      PATH=/empty FPATH=/empty; export PATH FPATH
   206      test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
   207        || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
   208    if (eval "$as_required") 2>/dev/null; then :
   209    as_have_required=yes
   210  else
   211    as_have_required=no
   212  fi
   213    if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
   214  
   215  else
   216    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   217  as_found=false
   218  for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   219  do
   220    IFS=$as_save_IFS
   221    test -z "$as_dir" && as_dir=.
   222    as_found=:
   223    case $as_dir in #(
   224  	 /*)
   225  	   for as_base in sh bash ksh sh5; do
   226  	     # Try only shells that exist, to save several forks.
   227  	     as_shell=$as_dir/$as_base
   228  	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
   229  		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
   230    CONFIG_SHELL=$as_shell as_have_required=yes
   231  		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
   232    break 2
   233  fi
   234  fi
   235  	   done;;
   236         esac
   237    as_found=false
   238  done
   239  $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
   240  	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
   241    CONFIG_SHELL=$SHELL as_have_required=yes
   242  fi; }
   243  IFS=$as_save_IFS
   244  
   245  
   246        if test "x$CONFIG_SHELL" != x; then :
   247    export CONFIG_SHELL
   248               # We cannot yet assume a decent shell, so we have to provide a
   249  # neutralization value for shells without unset; and this also
   250  # works around shells that cannot unset nonexistent variables.
   251  # Preserve -v and -x to the replacement shell.
   252  BASH_ENV=/dev/null
   253  ENV=/dev/null
   254  (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
   255  case $- in # ((((
   256    *v*x* | *x*v* ) as_opts=-vx ;;
   257    *v* ) as_opts=-v ;;
   258    *x* ) as_opts=-x ;;
   259    * ) as_opts= ;;
   260  esac
   261  exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
   262  # Admittedly, this is quite paranoid, since all the known shells bail
   263  # out after a failed `exec'.
   264  $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
   265  exit 255
   266  fi
   267  
   268      if test x$as_have_required = xno; then :
   269    $as_echo "$0: This script requires a shell more modern than all"
   270    $as_echo "$0: the shells that I found on your system."
   271    if test x${ZSH_VERSION+set} = xset ; then
   272      $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
   273      $as_echo "$0: be upgraded to zsh 4.3.4 or later."
   274    else
   275      $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
   276  $0: including any error possibly output before this
   277  $0: message. Then install a modern shell, or manually run
   278  $0: the script under such a shell if you do have one."
   279    fi
   280    exit 1
   281  fi
   282  fi
   283  fi
   284  SHELL=${CONFIG_SHELL-/bin/sh}
   285  export SHELL
   286  # Unset more variables known to interfere with behavior of common tools.
   287  CLICOLOR_FORCE= GREP_OPTIONS=
   288  unset CLICOLOR_FORCE GREP_OPTIONS
   289  
   290  ## --------------------- ##
   291  ## M4sh Shell Functions. ##
   292  ## --------------------- ##
   293  # as_fn_unset VAR
   294  # ---------------
   295  # Portably unset VAR.
   296  as_fn_unset ()
   297  {
   298    { eval $1=; unset $1;}
   299  }
   300  as_unset=as_fn_unset
   301  
   302  # as_fn_set_status STATUS
   303  # -----------------------
   304  # Set $? to STATUS, without forking.
   305  as_fn_set_status ()
   306  {
   307    return $1
   308  } # as_fn_set_status
   309  
   310  # as_fn_exit STATUS
   311  # -----------------
   312  # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   313  as_fn_exit ()
   314  {
   315    set +e
   316    as_fn_set_status $1
   317    exit $1
   318  } # as_fn_exit
   319  
   320  # as_fn_mkdir_p
   321  # -------------
   322  # Create "$as_dir" as a directory, including parents if necessary.
   323  as_fn_mkdir_p ()
   324  {
   325  
   326    case $as_dir in #(
   327    -*) as_dir=./$as_dir;;
   328    esac
   329    test -d "$as_dir" || eval $as_mkdir_p || {
   330      as_dirs=
   331      while :; do
   332        case $as_dir in #(
   333        *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   334        *) as_qdir=$as_dir;;
   335        esac
   336        as_dirs="'$as_qdir' $as_dirs"
   337        as_dir=`$as_dirname -- "$as_dir" ||
   338  $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   339  	 X"$as_dir" : 'X\(//\)[^/]' \| \
   340  	 X"$as_dir" : 'X\(//\)$' \| \
   341  	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   342  $as_echo X"$as_dir" |
   343      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   344  	    s//\1/
   345  	    q
   346  	  }
   347  	  /^X\(\/\/\)[^/].*/{
   348  	    s//\1/
   349  	    q
   350  	  }
   351  	  /^X\(\/\/\)$/{
   352  	    s//\1/
   353  	    q
   354  	  }
   355  	  /^X\(\/\).*/{
   356  	    s//\1/
   357  	    q
   358  	  }
   359  	  s/.*/./; q'`
   360        test -d "$as_dir" && break
   361      done
   362      test -z "$as_dirs" || eval "mkdir $as_dirs"
   363    } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   364  
   365  
   366  } # as_fn_mkdir_p
   367  
   368  # as_fn_executable_p FILE
   369  # -----------------------
   370  # Test if FILE is an executable regular file.
   371  as_fn_executable_p ()
   372  {
   373    test -f "$1" && test -x "$1"
   374  } # as_fn_executable_p
   375  # as_fn_append VAR VALUE
   376  # ----------------------
   377  # Append the text in VALUE to the end of the definition contained in VAR. Take
   378  # advantage of any shell optimizations that allow amortized linear growth over
   379  # repeated appends, instead of the typical quadratic growth present in naive
   380  # implementations.
   381  if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   382    eval 'as_fn_append ()
   383    {
   384      eval $1+=\$2
   385    }'
   386  else
   387    as_fn_append ()
   388    {
   389      eval $1=\$$1\$2
   390    }
   391  fi # as_fn_append
   392  
   393  # as_fn_arith ARG...
   394  # ------------------
   395  # Perform arithmetic evaluation on the ARGs, and store the result in the
   396  # global $as_val. Take advantage of shells that can avoid forks. The arguments
   397  # must be portable across $(()) and expr.
   398  if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   399    eval 'as_fn_arith ()
   400    {
   401      as_val=$(( $* ))
   402    }'
   403  else
   404    as_fn_arith ()
   405    {
   406      as_val=`expr "$@" || test $? -eq 1`
   407    }
   408  fi # as_fn_arith
   409  
   410  
   411  # as_fn_error STATUS ERROR [LINENO LOG_FD]
   412  # ----------------------------------------
   413  # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   414  # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   415  # script with STATUS, using 1 if that was 0.
   416  as_fn_error ()
   417  {
   418    as_status=$1; test $as_status -eq 0 && as_status=1
   419    if test "$4"; then
   420      as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   421      $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   422    fi
   423    $as_echo "$as_me: error: $2" >&2
   424    as_fn_exit $as_status
   425  } # as_fn_error
   426  
   427  if expr a : '\(a\)' >/dev/null 2>&1 &&
   428     test "X`expr 00001 : '.*\(...\)'`" = X001; then
   429    as_expr=expr
   430  else
   431    as_expr=false
   432  fi
   433  
   434  if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   435    as_basename=basename
   436  else
   437    as_basename=false
   438  fi
   439  
   440  if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   441    as_dirname=dirname
   442  else
   443    as_dirname=false
   444  fi
   445  
   446  as_me=`$as_basename -- "$0" ||
   447  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   448  	 X"$0" : 'X\(//\)$' \| \
   449  	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   450  $as_echo X/"$0" |
   451      sed '/^.*\/\([^/][^/]*\)\/*$/{
   452  	    s//\1/
   453  	    q
   454  	  }
   455  	  /^X\/\(\/\/\)$/{
   456  	    s//\1/
   457  	    q
   458  	  }
   459  	  /^X\/\(\/\).*/{
   460  	    s//\1/
   461  	    q
   462  	  }
   463  	  s/.*/./; q'`
   464  
   465  # Avoid depending upon Character Ranges.
   466  as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   467  as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   468  as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   469  as_cr_digits='0123456789'
   470  as_cr_alnum=$as_cr_Letters$as_cr_digits
   471  
   472  
   473    as_lineno_1=$LINENO as_lineno_1a=$LINENO
   474    as_lineno_2=$LINENO as_lineno_2a=$LINENO
   475    eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
   476    test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
   477    # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
   478    sed -n '
   479      p
   480      /[$]LINENO/=
   481    ' <$as_myself |
   482      sed '
   483        s/[$]LINENO.*/&-/
   484        t lineno
   485        b
   486        :lineno
   487        N
   488        :loop
   489        s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   490        t loop
   491        s/-\n.*//
   492      ' >$as_me.lineno &&
   493    chmod +x "$as_me.lineno" ||
   494      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
   495  
   496    # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
   497    # already done that, so ensure we don't try to do so again and fall
   498    # in an infinite loop.  This has already happened in practice.
   499    _as_can_reexec=no; export _as_can_reexec
   500    # Don't try to exec as it changes $[0], causing all sort of problems
   501    # (the dirname of $[0] is not the place where we might find the
   502    # original and so on.  Autoconf is especially sensitive to this).
   503    . "./$as_me.lineno"
   504    # Exit status is that of the last command.
   505    exit
   506  }
   507  
   508  ECHO_C= ECHO_N= ECHO_T=
   509  case `echo -n x` in #(((((
   510  -n*)
   511    case `echo 'xy\c'` in
   512    *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   513    xy)  ECHO_C='\c';;
   514    *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   515         ECHO_T='	';;
   516    esac;;
   517  *)
   518    ECHO_N='-n';;
   519  esac
   520  
   521  rm -f conf$$ conf$$.exe conf$$.file
   522  if test -d conf$$.dir; then
   523    rm -f conf$$.dir/conf$$.file
   524  else
   525    rm -f conf$$.dir
   526    mkdir conf$$.dir 2>/dev/null
   527  fi
   528  if (echo >conf$$.file) 2>/dev/null; then
   529    if ln -s conf$$.file conf$$ 2>/dev/null; then
   530      as_ln_s='ln -s'
   531      # ... but there are two gotchas:
   532      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   533      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   534      # In both cases, we have to default to `cp -pR'.
   535      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   536        as_ln_s='cp -pR'
   537    elif ln conf$$.file conf$$ 2>/dev/null; then
   538      as_ln_s=ln
   539    else
   540      as_ln_s='cp -pR'
   541    fi
   542  else
   543    as_ln_s='cp -pR'
   544  fi
   545  rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   546  rmdir conf$$.dir 2>/dev/null
   547  
   548  if mkdir -p . 2>/dev/null; then
   549    as_mkdir_p='mkdir -p "$as_dir"'
   550  else
   551    test -d ./-p && rmdir ./-p
   552    as_mkdir_p=false
   553  fi
   554  
   555  as_test_x='test -x'
   556  as_executable_p=as_fn_executable_p
   557  
   558  # Sed expression to map a string onto a valid CPP name.
   559  as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   560  
   561  # Sed expression to map a string onto a valid variable name.
   562  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   563  
   564  SHELL=${CONFIG_SHELL-/bin/sh}
   565  
   566  
   567  test -n "$DJDIR" || exec 7<&0 </dev/null
   568  exec 6>&1
   569  
   570  # Name of the host.
   571  # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
   572  # so uname gets run too.
   573  ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   574  
   575  #
   576  # Initializations.
   577  #
   578  ac_default_prefix=/usr/local
   579  ac_clean_files=
   580  ac_config_libobj_dir=.
   581  LIBOBJS=
   582  cross_compiling=no
   583  subdirs=
   584  MFLAGS=
   585  MAKEFLAGS=
   586  
   587  # Identity of this package.
   588  PACKAGE_NAME='package-unused'
   589  PACKAGE_TARNAME='libgo'
   590  PACKAGE_VERSION='version-unused'
   591  PACKAGE_STRING='package-unused version-unused'
   592  PACKAGE_BUGREPORT=''
   593  PACKAGE_URL=''
   594  
   595  ac_unique_file="Makefile.am"
   596  # Factoring default headers for most tests.
   597  ac_includes_default="\
   598  #include <stdio.h>
   599  #ifdef HAVE_SYS_TYPES_H
   600  # include <sys/types.h>
   601  #endif
   602  #ifdef HAVE_SYS_STAT_H
   603  # include <sys/stat.h>
   604  #endif
   605  #ifdef STDC_HEADERS
   606  # include <stdlib.h>
   607  # include <stddef.h>
   608  #else
   609  # ifdef HAVE_STDLIB_H
   610  #  include <stdlib.h>
   611  # endif
   612  #endif
   613  #ifdef HAVE_STRING_H
   614  # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
   615  #  include <memory.h>
   616  # endif
   617  # include <string.h>
   618  #endif
   619  #ifdef HAVE_STRINGS_H
   620  # include <strings.h>
   621  #endif
   622  #ifdef HAVE_INTTYPES_H
   623  # include <inttypes.h>
   624  #endif
   625  #ifdef HAVE_STDINT_H
   626  # include <stdint.h>
   627  #endif
   628  #ifdef HAVE_UNISTD_H
   629  # include <unistd.h>
   630  #endif"
   631  
   632  ac_subst_vars='am__EXEEXT_FALSE
   633  am__EXEEXT_TRUE
   634  LTLIBOBJS
   635  LIBOBJS
   636  SYSROOT_CFLAGS_FOR_TARGET
   637  HAVE_STATIC_LINK_FALSE
   638  HAVE_STATIC_LINK_TRUE
   639  HAVE_STAT_TIMESPEC_FALSE
   640  HAVE_STAT_TIMESPEC_TRUE
   641  STRUCT_EPOLL_EVENT_FD_OFFSET
   642  SIZEOF_STRUCT_EPOLL_EVENT
   643  MATH_FLAG
   644  STRINGOPS_FLAG
   645  HAVE_WAIT4_FALSE
   646  HAVE_WAIT4_TRUE
   647  HAVE_STRERROR_R_FALSE
   648  HAVE_STRERROR_R_TRUE
   649  HAVE_SYS_MMAN_H_FALSE
   650  HAVE_SYS_MMAN_H_TRUE
   651  PTHREAD_LIBS
   652  PTHREAD_CFLAGS
   653  NET_LIBS
   654  MATH_LIBS
   655  GOC_IS_LLGO_FALSE
   656  GOC_IS_LLGO_TRUE
   657  GO_SPLIT_STACK
   658  USING_SPLIT_STACK_FALSE
   659  USING_SPLIT_STACK_TRUE
   660  SPLIT_STACK
   661  HWCAP_CFLAGS
   662  OSCFLAGS
   663  GO_SYSCALL_OS_ARCH_FILE
   664  GO_SYSCALL_OS_FILE
   665  GO_LIBCALL_OS_ARCH_FILE
   666  GO_LIBCALL_OS_FILE
   667  FUNCTION_DESCRIPTORS
   668  LIBGO_IS_X86_FALSE
   669  LIBGO_IS_X86_TRUE
   670  ALLGOARCHFAMILY
   671  ALLGOARCH
   672  GOARCH
   673  USE_DEJAGNU
   674  ALLGOOS
   675  GOOS
   676  LIBGO_IS_BSD_FALSE
   677  LIBGO_IS_BSD_TRUE
   678  LIBGO_IS_HURD_FALSE
   679  LIBGO_IS_HURD_TRUE
   680  LIBGO_IS_AIX_FALSE
   681  LIBGO_IS_AIX_TRUE
   682  LIBGO_IS_SOLARIS_FALSE
   683  LIBGO_IS_SOLARIS_TRUE
   684  LIBGO_IS_RTEMS_FALSE
   685  LIBGO_IS_RTEMS_TRUE
   686  LIBGO_IS_DRAGONFLY_FALSE
   687  LIBGO_IS_DRAGONFLY_TRUE
   688  LIBGO_IS_OPENBSD_FALSE
   689  LIBGO_IS_OPENBSD_TRUE
   690  LIBGO_IS_NETBSD_FALSE
   691  LIBGO_IS_NETBSD_TRUE
   692  LIBGO_IS_LINUX_FALSE
   693  LIBGO_IS_LINUX_TRUE
   694  LIBGO_IS_IRIX_FALSE
   695  LIBGO_IS_IRIX_TRUE
   696  LIBGO_IS_FREEBSD_FALSE
   697  LIBGO_IS_FREEBSD_TRUE
   698  LIBGO_IS_DARWIN_FALSE
   699  LIBGO_IS_DARWIN_TRUE
   700  go_include
   701  LIBATOMIC
   702  USE_LIBFFI_FALSE
   703  USE_LIBFFI_TRUE
   704  LIBFFIINCS
   705  LIBFFI
   706  nover_glibgo_toolexeclibdir
   707  glibgo_toolexeclibdir
   708  glibgo_toolexecdir
   709  WERROR
   710  WARN_FLAGS
   711  CC_FOR_BUILD
   712  ENABLE_DARWIN_AT_RPATH_FALSE
   713  ENABLE_DARWIN_AT_RPATH_TRUE
   714  enable_static
   715  enable_shared
   716  CPP
   717  OTOOL64
   718  OTOOL
   719  LIPO
   720  NMEDIT
   721  DSYMUTIL
   722  AR
   723  OBJDUMP
   724  LN_S
   725  NM
   726  ac_ct_DUMPBIN
   727  DUMPBIN
   728  LIBTOOL
   729  OBJCOPY
   730  RANLIB
   731  LD
   732  FGREP
   733  EGREP
   734  GREP
   735  SED
   736  MAINT
   737  MAINTAINER_MODE_FALSE
   738  MAINTAINER_MODE_TRUE
   739  AIX_EXTRA_ARCH
   740  am__fastdepCCAS_FALSE
   741  am__fastdepCCAS_TRUE
   742  CCASDEPMODE
   743  CCASFLAGS
   744  CCAS
   745  GOFLAGS
   746  GOC
   747  am__fastdepCC_FALSE
   748  am__fastdepCC_TRUE
   749  CCDEPMODE
   750  am__nodep
   751  AMDEPBACKSLASH
   752  AMDEP_FALSE
   753  AMDEP_TRUE
   754  am__quote
   755  am__include
   756  DEPDIR
   757  OBJEXT
   758  EXEEXT
   759  ac_ct_CC
   760  CPPFLAGS
   761  LDFLAGS
   762  CFLAGS
   763  CC
   764  AM_BACKSLASH
   765  AM_DEFAULT_VERBOSITY
   766  AM_DEFAULT_V
   767  AM_V
   768  am__untar
   769  am__tar
   770  AMTAR
   771  am__leading_dot
   772  SET_MAKE
   773  AWK
   774  mkdir_p
   775  MKDIR_P
   776  INSTALL_STRIP_PROGRAM
   777  STRIP
   778  install_sh
   779  MAKEINFO
   780  AUTOHEADER
   781  AUTOMAKE
   782  AUTOCONF
   783  ACLOCAL
   784  VERSION
   785  PACKAGE
   786  CYGPATH_W
   787  am__isrc
   788  INSTALL_DATA
   789  INSTALL_SCRIPT
   790  INSTALL_PROGRAM
   791  target_os
   792  target_vendor
   793  target_cpu
   794  target
   795  host_os
   796  host_vendor
   797  host_cpu
   798  host
   799  build_os
   800  build_vendor
   801  build_cpu
   802  build
   803  multi_basedir
   804  libtool_VERSION
   805  target_alias
   806  host_alias
   807  build_alias
   808  LIBS
   809  ECHO_T
   810  ECHO_N
   811  ECHO_C
   812  DEFS
   813  mandir
   814  localedir
   815  libdir
   816  psdir
   817  pdfdir
   818  dvidir
   819  htmldir
   820  infodir
   821  docdir
   822  oldincludedir
   823  includedir
   824  localstatedir
   825  sharedstatedir
   826  sysconfdir
   827  datadir
   828  datarootdir
   829  libexecdir
   830  sbindir
   831  bindir
   832  program_transform_name
   833  prefix
   834  exec_prefix
   835  PACKAGE_URL
   836  PACKAGE_BUGREPORT
   837  PACKAGE_STRING
   838  PACKAGE_VERSION
   839  PACKAGE_TARNAME
   840  PACKAGE_NAME
   841  PATH_SEPARATOR
   842  SHELL'
   843  ac_subst_files=''
   844  ac_user_opts='
   845  enable_option_checking
   846  enable_multilib
   847  enable_silent_rules
   848  enable_dependency_tracking
   849  enable_maintainer_mode
   850  with_gnu_ld
   851  enable_shared
   852  enable_static
   853  with_pic
   854  enable_fast_install
   855  enable_libtool_lock
   856  enable_werror
   857  enable_version_specific_runtime_libs
   858  with_toolexeclibdir
   859  with_libffi
   860  with_libatomic
   861  with_system_libunwind
   862  '
   863        ac_precious_vars='build_alias
   864  host_alias
   865  target_alias
   866  CPP
   867  CPPFLAGS'
   868  
   869  
   870  # Initialize some variables set by options.
   871  ac_init_help=
   872  ac_init_version=false
   873  ac_unrecognized_opts=
   874  ac_unrecognized_sep=
   875  # The variables have the same names as the options, with
   876  # dashes changed to underlines.
   877  cache_file=/dev/null
   878  exec_prefix=NONE
   879  no_create=
   880  no_recursion=
   881  prefix=NONE
   882  program_prefix=NONE
   883  program_suffix=NONE
   884  program_transform_name=s,x,x,
   885  silent=
   886  site=
   887  srcdir=
   888  verbose=
   889  x_includes=NONE
   890  x_libraries=NONE
   891  
   892  # Installation directory options.
   893  # These are left unexpanded so users can "make install exec_prefix=/foo"
   894  # and all the variables that are supposed to be based on exec_prefix
   895  # by default will actually change.
   896  # Use braces instead of parens because sh, perl, etc. also accept them.
   897  # (The list follows the same order as the GNU Coding Standards.)
   898  bindir='${exec_prefix}/bin'
   899  sbindir='${exec_prefix}/sbin'
   900  libexecdir='${exec_prefix}/libexec'
   901  datarootdir='${prefix}/share'
   902  datadir='${datarootdir}'
   903  sysconfdir='${prefix}/etc'
   904  sharedstatedir='${prefix}/com'
   905  localstatedir='${prefix}/var'
   906  includedir='${prefix}/include'
   907  oldincludedir='/usr/include'
   908  docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   909  infodir='${datarootdir}/info'
   910  htmldir='${docdir}'
   911  dvidir='${docdir}'
   912  pdfdir='${docdir}'
   913  psdir='${docdir}'
   914  libdir='${exec_prefix}/lib'
   915  localedir='${datarootdir}/locale'
   916  mandir='${datarootdir}/man'
   917  
   918  ac_prev=
   919  ac_dashdash=
   920  for ac_option
   921  do
   922    # If the previous option needs an argument, assign it.
   923    if test -n "$ac_prev"; then
   924      eval $ac_prev=\$ac_option
   925      ac_prev=
   926      continue
   927    fi
   928  
   929    case $ac_option in
   930    *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   931    *=)   ac_optarg= ;;
   932    *)    ac_optarg=yes ;;
   933    esac
   934  
   935    # Accept the important Cygnus configure options, so we can diagnose typos.
   936  
   937    case $ac_dashdash$ac_option in
   938    --)
   939      ac_dashdash=yes ;;
   940  
   941    -bindir | --bindir | --bindi | --bind | --bin | --bi)
   942      ac_prev=bindir ;;
   943    -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   944      bindir=$ac_optarg ;;
   945  
   946    -build | --build | --buil | --bui | --bu)
   947      ac_prev=build_alias ;;
   948    -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   949      build_alias=$ac_optarg ;;
   950  
   951    -cache-file | --cache-file | --cache-fil | --cache-fi \
   952    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   953      ac_prev=cache_file ;;
   954    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   955    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   956      cache_file=$ac_optarg ;;
   957  
   958    --config-cache | -C)
   959      cache_file=config.cache ;;
   960  
   961    -datadir | --datadir | --datadi | --datad)
   962      ac_prev=datadir ;;
   963    -datadir=* | --datadir=* | --datadi=* | --datad=*)
   964      datadir=$ac_optarg ;;
   965  
   966    -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   967    | --dataroo | --dataro | --datar)
   968      ac_prev=datarootdir ;;
   969    -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   970    | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   971      datarootdir=$ac_optarg ;;
   972  
   973    -disable-* | --disable-*)
   974      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   975      # Reject names that are not valid shell variable names.
   976      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   977        as_fn_error $? "invalid feature name: $ac_useropt"
   978      ac_useropt_orig=$ac_useropt
   979      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   980      case $ac_user_opts in
   981        *"
   982  "enable_$ac_useropt"
   983  "*) ;;
   984        *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   985  	 ac_unrecognized_sep=', ';;
   986      esac
   987      eval enable_$ac_useropt=no ;;
   988  
   989    -docdir | --docdir | --docdi | --doc | --do)
   990      ac_prev=docdir ;;
   991    -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   992      docdir=$ac_optarg ;;
   993  
   994    -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   995      ac_prev=dvidir ;;
   996    -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   997      dvidir=$ac_optarg ;;
   998  
   999    -enable-* | --enable-*)
  1000      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  1001      # Reject names that are not valid shell variable names.
  1002      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1003        as_fn_error $? "invalid feature name: $ac_useropt"
  1004      ac_useropt_orig=$ac_useropt
  1005      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1006      case $ac_user_opts in
  1007        *"
  1008  "enable_$ac_useropt"
  1009  "*) ;;
  1010        *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  1011  	 ac_unrecognized_sep=', ';;
  1012      esac
  1013      eval enable_$ac_useropt=\$ac_optarg ;;
  1014  
  1015    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  1016    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  1017    | --exec | --exe | --ex)
  1018      ac_prev=exec_prefix ;;
  1019    -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  1020    | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  1021    | --exec=* | --exe=* | --ex=*)
  1022      exec_prefix=$ac_optarg ;;
  1023  
  1024    -gas | --gas | --ga | --g)
  1025      # Obsolete; use --with-gas.
  1026      with_gas=yes ;;
  1027  
  1028    -help | --help | --hel | --he | -h)
  1029      ac_init_help=long ;;
  1030    -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  1031      ac_init_help=recursive ;;
  1032    -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  1033      ac_init_help=short ;;
  1034  
  1035    -host | --host | --hos | --ho)
  1036      ac_prev=host_alias ;;
  1037    -host=* | --host=* | --hos=* | --ho=*)
  1038      host_alias=$ac_optarg ;;
  1039  
  1040    -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  1041      ac_prev=htmldir ;;
  1042    -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  1043    | --ht=*)
  1044      htmldir=$ac_optarg ;;
  1045  
  1046    -includedir | --includedir | --includedi | --included | --include \
  1047    | --includ | --inclu | --incl | --inc)
  1048      ac_prev=includedir ;;
  1049    -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1050    | --includ=* | --inclu=* | --incl=* | --inc=*)
  1051      includedir=$ac_optarg ;;
  1052  
  1053    -infodir | --infodir | --infodi | --infod | --info | --inf)
  1054      ac_prev=infodir ;;
  1055    -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1056      infodir=$ac_optarg ;;
  1057  
  1058    -libdir | --libdir | --libdi | --libd)
  1059      ac_prev=libdir ;;
  1060    -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1061      libdir=$ac_optarg ;;
  1062  
  1063    -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1064    | --libexe | --libex | --libe)
  1065      ac_prev=libexecdir ;;
  1066    -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1067    | --libexe=* | --libex=* | --libe=*)
  1068      libexecdir=$ac_optarg ;;
  1069  
  1070    -localedir | --localedir | --localedi | --localed | --locale)
  1071      ac_prev=localedir ;;
  1072    -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1073      localedir=$ac_optarg ;;
  1074  
  1075    -localstatedir | --localstatedir | --localstatedi | --localstated \
  1076    | --localstate | --localstat | --localsta | --localst | --locals)
  1077      ac_prev=localstatedir ;;
  1078    -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1079    | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1080      localstatedir=$ac_optarg ;;
  1081  
  1082    -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1083      ac_prev=mandir ;;
  1084    -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1085      mandir=$ac_optarg ;;
  1086  
  1087    -nfp | --nfp | --nf)
  1088      # Obsolete; use --without-fp.
  1089      with_fp=no ;;
  1090  
  1091    -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1092    | --no-cr | --no-c | -n)
  1093      no_create=yes ;;
  1094  
  1095    -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1096    | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1097      no_recursion=yes ;;
  1098  
  1099    -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1100    | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1101    | --oldin | --oldi | --old | --ol | --o)
  1102      ac_prev=oldincludedir ;;
  1103    -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1104    | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1105    | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1106      oldincludedir=$ac_optarg ;;
  1107  
  1108    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1109      ac_prev=prefix ;;
  1110    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1111      prefix=$ac_optarg ;;
  1112  
  1113    -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1114    | --program-pre | --program-pr | --program-p)
  1115      ac_prev=program_prefix ;;
  1116    -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1117    | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1118      program_prefix=$ac_optarg ;;
  1119  
  1120    -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1121    | --program-suf | --program-su | --program-s)
  1122      ac_prev=program_suffix ;;
  1123    -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1124    | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1125      program_suffix=$ac_optarg ;;
  1126  
  1127    -program-transform-name | --program-transform-name \
  1128    | --program-transform-nam | --program-transform-na \
  1129    | --program-transform-n | --program-transform- \
  1130    | --program-transform | --program-transfor \
  1131    | --program-transfo | --program-transf \
  1132    | --program-trans | --program-tran \
  1133    | --progr-tra | --program-tr | --program-t)
  1134      ac_prev=program_transform_name ;;
  1135    -program-transform-name=* | --program-transform-name=* \
  1136    | --program-transform-nam=* | --program-transform-na=* \
  1137    | --program-transform-n=* | --program-transform-=* \
  1138    | --program-transform=* | --program-transfor=* \
  1139    | --program-transfo=* | --program-transf=* \
  1140    | --program-trans=* | --program-tran=* \
  1141    | --progr-tra=* | --program-tr=* | --program-t=*)
  1142      program_transform_name=$ac_optarg ;;
  1143  
  1144    -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1145      ac_prev=pdfdir ;;
  1146    -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1147      pdfdir=$ac_optarg ;;
  1148  
  1149    -psdir | --psdir | --psdi | --psd | --ps)
  1150      ac_prev=psdir ;;
  1151    -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1152      psdir=$ac_optarg ;;
  1153  
  1154    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1155    | -silent | --silent | --silen | --sile | --sil)
  1156      silent=yes ;;
  1157  
  1158    -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1159      ac_prev=sbindir ;;
  1160    -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1161    | --sbi=* | --sb=*)
  1162      sbindir=$ac_optarg ;;
  1163  
  1164    -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1165    | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1166    | --sharedst | --shareds | --shared | --share | --shar \
  1167    | --sha | --sh)
  1168      ac_prev=sharedstatedir ;;
  1169    -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1170    | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1171    | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1172    | --sha=* | --sh=*)
  1173      sharedstatedir=$ac_optarg ;;
  1174  
  1175    -site | --site | --sit)
  1176      ac_prev=site ;;
  1177    -site=* | --site=* | --sit=*)
  1178      site=$ac_optarg ;;
  1179  
  1180    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1181      ac_prev=srcdir ;;
  1182    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1183      srcdir=$ac_optarg ;;
  1184  
  1185    -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1186    | --syscon | --sysco | --sysc | --sys | --sy)
  1187      ac_prev=sysconfdir ;;
  1188    -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1189    | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1190      sysconfdir=$ac_optarg ;;
  1191  
  1192    -target | --target | --targe | --targ | --tar | --ta | --t)
  1193      ac_prev=target_alias ;;
  1194    -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1195      target_alias=$ac_optarg ;;
  1196  
  1197    -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1198      verbose=yes ;;
  1199  
  1200    -version | --version | --versio | --versi | --vers | -V)
  1201      ac_init_version=: ;;
  1202  
  1203    -with-* | --with-*)
  1204      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1205      # Reject names that are not valid shell variable names.
  1206      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1207        as_fn_error $? "invalid package name: $ac_useropt"
  1208      ac_useropt_orig=$ac_useropt
  1209      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1210      case $ac_user_opts in
  1211        *"
  1212  "with_$ac_useropt"
  1213  "*) ;;
  1214        *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1215  	 ac_unrecognized_sep=', ';;
  1216      esac
  1217      eval with_$ac_useropt=\$ac_optarg ;;
  1218  
  1219    -without-* | --without-*)
  1220      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1221      # Reject names that are not valid shell variable names.
  1222      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1223        as_fn_error $? "invalid package name: $ac_useropt"
  1224      ac_useropt_orig=$ac_useropt
  1225      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1226      case $ac_user_opts in
  1227        *"
  1228  "with_$ac_useropt"
  1229  "*) ;;
  1230        *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1231  	 ac_unrecognized_sep=', ';;
  1232      esac
  1233      eval with_$ac_useropt=no ;;
  1234  
  1235    --x)
  1236      # Obsolete; use --with-x.
  1237      with_x=yes ;;
  1238  
  1239    -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1240    | --x-incl | --x-inc | --x-in | --x-i)
  1241      ac_prev=x_includes ;;
  1242    -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1243    | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1244      x_includes=$ac_optarg ;;
  1245  
  1246    -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1247    | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1248      ac_prev=x_libraries ;;
  1249    -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1250    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1251      x_libraries=$ac_optarg ;;
  1252  
  1253    -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1254  Try \`$0 --help' for more information"
  1255      ;;
  1256  
  1257    *=*)
  1258      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1259      # Reject names that are not valid shell variable names.
  1260      case $ac_envvar in #(
  1261        '' | [0-9]* | *[!_$as_cr_alnum]* )
  1262        as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1263      esac
  1264      eval $ac_envvar=\$ac_optarg
  1265      export $ac_envvar ;;
  1266  
  1267    *)
  1268      # FIXME: should be removed in autoconf 3.0.
  1269      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1270      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1271        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1272      : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1273      ;;
  1274  
  1275    esac
  1276  done
  1277  
  1278  if test -n "$ac_prev"; then
  1279    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1280    as_fn_error $? "missing argument to $ac_option"
  1281  fi
  1282  
  1283  if test -n "$ac_unrecognized_opts"; then
  1284    case $enable_option_checking in
  1285      no) ;;
  1286      fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1287      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1288    esac
  1289  fi
  1290  
  1291  # Check all directory arguments for consistency.
  1292  for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1293  		datadir sysconfdir sharedstatedir localstatedir includedir \
  1294  		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1295  		libdir localedir mandir
  1296  do
  1297    eval ac_val=\$$ac_var
  1298    # Remove trailing slashes.
  1299    case $ac_val in
  1300      */ )
  1301        ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1302        eval $ac_var=\$ac_val;;
  1303    esac
  1304    # Be sure to have absolute directory names.
  1305    case $ac_val in
  1306      [\\/$]* | ?:[\\/]* )  continue;;
  1307      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1308    esac
  1309    as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1310  done
  1311  
  1312  # There might be people who depend on the old broken behavior: `$host'
  1313  # used to hold the argument of --host etc.
  1314  # FIXME: To remove some day.
  1315  build=$build_alias
  1316  host=$host_alias
  1317  target=$target_alias
  1318  
  1319  # FIXME: To remove some day.
  1320  if test "x$host_alias" != x; then
  1321    if test "x$build_alias" = x; then
  1322      cross_compiling=maybe
  1323    elif test "x$build_alias" != "x$host_alias"; then
  1324      cross_compiling=yes
  1325    fi
  1326  fi
  1327  
  1328  ac_tool_prefix=
  1329  test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1330  
  1331  test "$silent" = yes && exec 6>/dev/null
  1332  
  1333  
  1334  ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1335  ac_ls_di=`ls -di .` &&
  1336  ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1337    as_fn_error $? "working directory cannot be determined"
  1338  test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1339    as_fn_error $? "pwd does not report name of working directory"
  1340  
  1341  
  1342  # Find the source files, if location was not specified.
  1343  if test -z "$srcdir"; then
  1344    ac_srcdir_defaulted=yes
  1345    # Try the directory containing this script, then the parent directory.
  1346    ac_confdir=`$as_dirname -- "$as_myself" ||
  1347  $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1348  	 X"$as_myself" : 'X\(//\)[^/]' \| \
  1349  	 X"$as_myself" : 'X\(//\)$' \| \
  1350  	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1351  $as_echo X"$as_myself" |
  1352      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1353  	    s//\1/
  1354  	    q
  1355  	  }
  1356  	  /^X\(\/\/\)[^/].*/{
  1357  	    s//\1/
  1358  	    q
  1359  	  }
  1360  	  /^X\(\/\/\)$/{
  1361  	    s//\1/
  1362  	    q
  1363  	  }
  1364  	  /^X\(\/\).*/{
  1365  	    s//\1/
  1366  	    q
  1367  	  }
  1368  	  s/.*/./; q'`
  1369    srcdir=$ac_confdir
  1370    if test ! -r "$srcdir/$ac_unique_file"; then
  1371      srcdir=..
  1372    fi
  1373  else
  1374    ac_srcdir_defaulted=no
  1375  fi
  1376  if test ! -r "$srcdir/$ac_unique_file"; then
  1377    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1378    as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1379  fi
  1380  ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1381  ac_abs_confdir=`(
  1382  	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1383  	pwd)`
  1384  # When building in place, set srcdir=.
  1385  if test "$ac_abs_confdir" = "$ac_pwd"; then
  1386    srcdir=.
  1387  fi
  1388  # Remove unnecessary trailing slashes from srcdir.
  1389  # Double slashes in file names in object file debugging info
  1390  # mess up M-x gdb in Emacs.
  1391  case $srcdir in
  1392  */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1393  esac
  1394  for ac_var in $ac_precious_vars; do
  1395    eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1396    eval ac_env_${ac_var}_value=\$${ac_var}
  1397    eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1398    eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1399  done
  1400  
  1401  #
  1402  # Report the --help message.
  1403  #
  1404  if test "$ac_init_help" = "long"; then
  1405    # Omit some internal or obsolete options to make the list less imposing.
  1406    # This message is too long to be a string in the A/UX 3.1 sh.
  1407    cat <<_ACEOF
  1408  \`configure' configures package-unused version-unused to adapt to many kinds of systems.
  1409  
  1410  Usage: $0 [OPTION]... [VAR=VALUE]...
  1411  
  1412  To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1413  VAR=VALUE.  See below for descriptions of some of the useful variables.
  1414  
  1415  Defaults for the options are specified in brackets.
  1416  
  1417  Configuration:
  1418    -h, --help              display this help and exit
  1419        --help=short        display options specific to this package
  1420        --help=recursive    display the short help of all the included packages
  1421    -V, --version           display version information and exit
  1422    -q, --quiet, --silent   do not print \`checking ...' messages
  1423        --cache-file=FILE   cache test results in FILE [disabled]
  1424    -C, --config-cache      alias for \`--cache-file=config.cache'
  1425    -n, --no-create         do not create output files
  1426        --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1427  
  1428  Installation directories:
  1429    --prefix=PREFIX         install architecture-independent files in PREFIX
  1430                            [$ac_default_prefix]
  1431    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1432                            [PREFIX]
  1433  
  1434  By default, \`make install' will install all the files in
  1435  \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1436  an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1437  for instance \`--prefix=\$HOME'.
  1438  
  1439  For better control, use the options below.
  1440  
  1441  Fine tuning of the installation directories:
  1442    --bindir=DIR            user executables [EPREFIX/bin]
  1443    --sbindir=DIR           system admin executables [EPREFIX/sbin]
  1444    --libexecdir=DIR        program executables [EPREFIX/libexec]
  1445    --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  1446    --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  1447    --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  1448    --libdir=DIR            object code libraries [EPREFIX/lib]
  1449    --includedir=DIR        C header files [PREFIX/include]
  1450    --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  1451    --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  1452    --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  1453    --infodir=DIR           info documentation [DATAROOTDIR/info]
  1454    --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  1455    --mandir=DIR            man documentation [DATAROOTDIR/man]
  1456    --docdir=DIR            documentation root [DATAROOTDIR/doc/libgo]
  1457    --htmldir=DIR           html documentation [DOCDIR]
  1458    --dvidir=DIR            dvi documentation [DOCDIR]
  1459    --pdfdir=DIR            pdf documentation [DOCDIR]
  1460    --psdir=DIR             ps documentation [DOCDIR]
  1461  _ACEOF
  1462  
  1463    cat <<\_ACEOF
  1464  
  1465  Program names:
  1466    --program-prefix=PREFIX            prepend PREFIX to installed program names
  1467    --program-suffix=SUFFIX            append SUFFIX to installed program names
  1468    --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  1469  
  1470  System types:
  1471    --build=BUILD     configure for building on BUILD [guessed]
  1472    --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1473    --target=TARGET   configure for building compilers for TARGET [HOST]
  1474  _ACEOF
  1475  fi
  1476  
  1477  if test -n "$ac_init_help"; then
  1478    case $ac_init_help in
  1479       short | recursive ) echo "Configuration of package-unused version-unused:";;
  1480     esac
  1481    cat <<\_ACEOF
  1482  
  1483  Optional Features:
  1484    --disable-option-checking  ignore unrecognized --enable/--with options
  1485    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1486    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1487    --enable-multilib       build many library versions (default)
  1488    --enable-silent-rules   less verbose build output (undo: "make V=1")
  1489    --disable-silent-rules  verbose build output (undo: "make V=0")
  1490    --enable-dependency-tracking
  1491                            do not reject slow dependency extractors
  1492    --disable-dependency-tracking
  1493                            speeds up one-time build
  1494    --enable-maintainer-mode
  1495                            enable make rules and dependencies not useful (and
  1496                            sometimes confusing) to the casual installer
  1497    --enable-shared[=PKGS]  build shared libraries [default=yes]
  1498    --enable-static[=PKGS]  build static libraries [default=yes]
  1499    --enable-fast-install[=PKGS]
  1500                            optimize for fast installation [default=yes]
  1501    --disable-libtool-lock  avoid locking (might break parallel builds)
  1502    --disable-werror        disable building with -Werror
  1503    --enable-version-specific-runtime-libs
  1504                            Specify that runtime libraries should be installed
  1505                            in a compiler-specific directory
  1506  
  1507  Optional Packages:
  1508    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1509    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1510    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  1511    --with-pic              try to use only PIC/non-PIC objects [default=use
  1512                            both]
  1513    --with-toolexeclibdir=DIR
  1514                            install libraries built with a cross compiler within
  1515                            DIR
  1516    --without-libffi        don't use libffi
  1517    --without-libatomic     don't use libatomic
  1518    --with-system-libunwind use installed libunwind
  1519  
  1520  Some influential environment variables:
  1521    CC          C compiler command
  1522    CFLAGS      C compiler flags
  1523    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1524                nonstandard directory <lib dir>
  1525    LIBS        libraries to pass to the linker, e.g. -l<library>
  1526    CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1527                you have headers in a nonstandard directory <include dir>
  1528    GOC         Go compiler command
  1529    GOFLAGS     Go compiler flags
  1530    CCAS        assembler compiler command (defaults to CC)
  1531    CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
  1532    CPP         C preprocessor
  1533  
  1534  Use these variables to override the choices made by `configure' or to help
  1535  it to find libraries and programs with nonstandard names/locations.
  1536  
  1537  Report bugs to the package provider.
  1538  _ACEOF
  1539  ac_status=$?
  1540  fi
  1541  
  1542  if test "$ac_init_help" = "recursive"; then
  1543    # If there are subdirs, report their specific --help.
  1544    for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1545      test -d "$ac_dir" ||
  1546        { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1547        continue
  1548      ac_builddir=.
  1549  
  1550  case "$ac_dir" in
  1551  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1552  *)
  1553    ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1554    # A ".." for each directory in $ac_dir_suffix.
  1555    ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1556    case $ac_top_builddir_sub in
  1557    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1558    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1559    esac ;;
  1560  esac
  1561  ac_abs_top_builddir=$ac_pwd
  1562  ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1563  # for backward compatibility:
  1564  ac_top_builddir=$ac_top_build_prefix
  1565  
  1566  case $srcdir in
  1567    .)  # We are building in place.
  1568      ac_srcdir=.
  1569      ac_top_srcdir=$ac_top_builddir_sub
  1570      ac_abs_top_srcdir=$ac_pwd ;;
  1571    [\\/]* | ?:[\\/]* )  # Absolute name.
  1572      ac_srcdir=$srcdir$ac_dir_suffix;
  1573      ac_top_srcdir=$srcdir
  1574      ac_abs_top_srcdir=$srcdir ;;
  1575    *) # Relative name.
  1576      ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1577      ac_top_srcdir=$ac_top_build_prefix$srcdir
  1578      ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1579  esac
  1580  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1581  
  1582      cd "$ac_dir" || { ac_status=$?; continue; }
  1583      # Check for guested configure.
  1584      if test -f "$ac_srcdir/configure.gnu"; then
  1585        echo &&
  1586        $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1587      elif test -f "$ac_srcdir/configure"; then
  1588        echo &&
  1589        $SHELL "$ac_srcdir/configure" --help=recursive
  1590      else
  1591        $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1592      fi || ac_status=$?
  1593      cd "$ac_pwd" || { ac_status=$?; break; }
  1594    done
  1595  fi
  1596  
  1597  test -n "$ac_init_help" && exit $ac_status
  1598  if $ac_init_version; then
  1599    cat <<\_ACEOF
  1600  package-unused configure version-unused
  1601  generated by GNU Autoconf 2.69
  1602  
  1603  Copyright (C) 2012 Free Software Foundation, Inc.
  1604  This configure script is free software; the Free Software Foundation
  1605  gives unlimited permission to copy, distribute and modify it.
  1606  _ACEOF
  1607    exit
  1608  fi
  1609  
  1610  ## ------------------------ ##
  1611  ## Autoconf initialization. ##
  1612  ## ------------------------ ##
  1613  
  1614  # ac_fn_c_try_compile LINENO
  1615  # --------------------------
  1616  # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1617  ac_fn_c_try_compile ()
  1618  {
  1619    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1620    rm -f conftest.$ac_objext
  1621    if { { ac_try="$ac_compile"
  1622  case "(($ac_try" in
  1623    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1624    *) ac_try_echo=$ac_try;;
  1625  esac
  1626  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1627  $as_echo "$ac_try_echo"; } >&5
  1628    (eval "$ac_compile") 2>conftest.err
  1629    ac_status=$?
  1630    if test -s conftest.err; then
  1631      grep -v '^ *+' conftest.err >conftest.er1
  1632      cat conftest.er1 >&5
  1633      mv -f conftest.er1 conftest.err
  1634    fi
  1635    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1636    test $ac_status = 0; } && {
  1637  	 test -z "$ac_c_werror_flag" ||
  1638  	 test ! -s conftest.err
  1639         } && test -s conftest.$ac_objext; then :
  1640    ac_retval=0
  1641  else
  1642    $as_echo "$as_me: failed program was:" >&5
  1643  sed 's/^/| /' conftest.$ac_ext >&5
  1644  
  1645  	ac_retval=1
  1646  fi
  1647    eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1648    as_fn_set_status $ac_retval
  1649  
  1650  } # ac_fn_c_try_compile
  1651  
  1652  # ac_fn_c_try_link LINENO
  1653  # -----------------------
  1654  # Try to link conftest.$ac_ext, and return whether this succeeded.
  1655  ac_fn_c_try_link ()
  1656  {
  1657    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1658    rm -f conftest.$ac_objext conftest$ac_exeext
  1659    if { { ac_try="$ac_link"
  1660  case "(($ac_try" in
  1661    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1662    *) ac_try_echo=$ac_try;;
  1663  esac
  1664  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1665  $as_echo "$ac_try_echo"; } >&5
  1666    (eval "$ac_link") 2>conftest.err
  1667    ac_status=$?
  1668    if test -s conftest.err; then
  1669      grep -v '^ *+' conftest.err >conftest.er1
  1670      cat conftest.er1 >&5
  1671      mv -f conftest.er1 conftest.err
  1672    fi
  1673    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1674    test $ac_status = 0; } && {
  1675  	 test -z "$ac_c_werror_flag" ||
  1676  	 test ! -s conftest.err
  1677         } && test -s conftest$ac_exeext && {
  1678  	 test "$cross_compiling" = yes ||
  1679  	 test -x conftest$ac_exeext
  1680         }; then :
  1681    ac_retval=0
  1682  else
  1683    $as_echo "$as_me: failed program was:" >&5
  1684  sed 's/^/| /' conftest.$ac_ext >&5
  1685  
  1686  	ac_retval=1
  1687  fi
  1688    # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1689    # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1690    # interfere with the next link command; also delete a directory that is
  1691    # left behind by Apple's compiler.  We do this before executing the actions.
  1692    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1693    eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1694    as_fn_set_status $ac_retval
  1695  
  1696  } # ac_fn_c_try_link
  1697  
  1698  # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1699  # -------------------------------------------------------
  1700  # Tests whether HEADER exists and can be compiled using the include files in
  1701  # INCLUDES, setting the cache variable VAR accordingly.
  1702  ac_fn_c_check_header_compile ()
  1703  {
  1704    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1705    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1706  $as_echo_n "checking for $2... " >&6; }
  1707  if eval \${$3+:} false; then :
  1708    $as_echo_n "(cached) " >&6
  1709  else
  1710    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1711  /* end confdefs.h.  */
  1712  $4
  1713  #include <$2>
  1714  _ACEOF
  1715  if ac_fn_c_try_compile "$LINENO"; then :
  1716    eval "$3=yes"
  1717  else
  1718    eval "$3=no"
  1719  fi
  1720  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1721  fi
  1722  eval ac_res=\$$3
  1723  	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1724  $as_echo "$ac_res" >&6; }
  1725    eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1726  
  1727  } # ac_fn_c_check_header_compile
  1728  
  1729  # ac_fn_c_try_cpp LINENO
  1730  # ----------------------
  1731  # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1732  ac_fn_c_try_cpp ()
  1733  {
  1734    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1735    if { { ac_try="$ac_cpp conftest.$ac_ext"
  1736  case "(($ac_try" in
  1737    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1738    *) ac_try_echo=$ac_try;;
  1739  esac
  1740  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1741  $as_echo "$ac_try_echo"; } >&5
  1742    (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1743    ac_status=$?
  1744    if test -s conftest.err; then
  1745      grep -v '^ *+' conftest.err >conftest.er1
  1746      cat conftest.er1 >&5
  1747      mv -f conftest.er1 conftest.err
  1748    fi
  1749    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1750    test $ac_status = 0; } > conftest.i && {
  1751  	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1752  	 test ! -s conftest.err
  1753         }; then :
  1754    ac_retval=0
  1755  else
  1756    $as_echo "$as_me: failed program was:" >&5
  1757  sed 's/^/| /' conftest.$ac_ext >&5
  1758  
  1759      ac_retval=1
  1760  fi
  1761    eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1762    as_fn_set_status $ac_retval
  1763  
  1764  } # ac_fn_c_try_cpp
  1765  
  1766  # ac_fn_c_try_run LINENO
  1767  # ----------------------
  1768  # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1769  # that executables *can* be run.
  1770  ac_fn_c_try_run ()
  1771  {
  1772    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1773    if { { ac_try="$ac_link"
  1774  case "(($ac_try" in
  1775    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1776    *) ac_try_echo=$ac_try;;
  1777  esac
  1778  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1779  $as_echo "$ac_try_echo"; } >&5
  1780    (eval "$ac_link") 2>&5
  1781    ac_status=$?
  1782    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1783    test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1784    { { case "(($ac_try" in
  1785    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1786    *) ac_try_echo=$ac_try;;
  1787  esac
  1788  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1789  $as_echo "$ac_try_echo"; } >&5
  1790    (eval "$ac_try") 2>&5
  1791    ac_status=$?
  1792    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1793    test $ac_status = 0; }; }; then :
  1794    ac_retval=0
  1795  else
  1796    $as_echo "$as_me: program exited with status $ac_status" >&5
  1797         $as_echo "$as_me: failed program was:" >&5
  1798  sed 's/^/| /' conftest.$ac_ext >&5
  1799  
  1800         ac_retval=$ac_status
  1801  fi
  1802    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1803    eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1804    as_fn_set_status $ac_retval
  1805  
  1806  } # ac_fn_c_try_run
  1807  
  1808  # ac_fn_c_check_func LINENO FUNC VAR
  1809  # ----------------------------------
  1810  # Tests whether FUNC exists, setting the cache variable VAR accordingly
  1811  ac_fn_c_check_func ()
  1812  {
  1813    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1814    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1815  $as_echo_n "checking for $2... " >&6; }
  1816  if eval \${$3+:} false; then :
  1817    $as_echo_n "(cached) " >&6
  1818  else
  1819    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1820  /* end confdefs.h.  */
  1821  /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1822     For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  1823  #define $2 innocuous_$2
  1824  
  1825  /* System header to define __stub macros and hopefully few prototypes,
  1826      which can conflict with char $2 (); below.
  1827      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1828      <limits.h> exists even on freestanding compilers.  */
  1829  
  1830  #ifdef __STDC__
  1831  # include <limits.h>
  1832  #else
  1833  # include <assert.h>
  1834  #endif
  1835  
  1836  #undef $2
  1837  
  1838  /* Override any GCC internal prototype to avoid an error.
  1839     Use char because int might match the return type of a GCC
  1840     builtin and then its argument prototype would still apply.  */
  1841  #ifdef __cplusplus
  1842  extern "C"
  1843  #endif
  1844  char $2 ();
  1845  /* The GNU C library defines this for functions which it implements
  1846      to always fail with ENOSYS.  Some functions are actually named
  1847      something starting with __ and the normal name is an alias.  */
  1848  #if defined __stub_$2 || defined __stub___$2
  1849  choke me
  1850  #endif
  1851  
  1852  int
  1853  main ()
  1854  {
  1855  return $2 ();
  1856    ;
  1857    return 0;
  1858  }
  1859  _ACEOF
  1860  if ac_fn_c_try_link "$LINENO"; then :
  1861    eval "$3=yes"
  1862  else
  1863    eval "$3=no"
  1864  fi
  1865  rm -f core conftest.err conftest.$ac_objext \
  1866      conftest$ac_exeext conftest.$ac_ext
  1867  fi
  1868  eval ac_res=\$$3
  1869  	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1870  $as_echo "$ac_res" >&6; }
  1871    eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1872  
  1873  } # ac_fn_c_check_func
  1874  
  1875  # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  1876  # -------------------------------------------------------
  1877  # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  1878  # the include files in INCLUDES and setting the cache variable VAR
  1879  # accordingly.
  1880  ac_fn_c_check_header_mongrel ()
  1881  {
  1882    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1883    if eval \${$3+:} false; then :
  1884    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1885  $as_echo_n "checking for $2... " >&6; }
  1886  if eval \${$3+:} false; then :
  1887    $as_echo_n "(cached) " >&6
  1888  fi
  1889  eval ac_res=\$$3
  1890  	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1891  $as_echo "$ac_res" >&6; }
  1892  else
  1893    # Is the header compilable?
  1894  { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  1895  $as_echo_n "checking $2 usability... " >&6; }
  1896  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1897  /* end confdefs.h.  */
  1898  $4
  1899  #include <$2>
  1900  _ACEOF
  1901  if ac_fn_c_try_compile "$LINENO"; then :
  1902    ac_header_compiler=yes
  1903  else
  1904    ac_header_compiler=no
  1905  fi
  1906  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1907  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  1908  $as_echo "$ac_header_compiler" >&6; }
  1909  
  1910  # Is the header present?
  1911  { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  1912  $as_echo_n "checking $2 presence... " >&6; }
  1913  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1914  /* end confdefs.h.  */
  1915  #include <$2>
  1916  _ACEOF
  1917  if ac_fn_c_try_cpp "$LINENO"; then :
  1918    ac_header_preproc=yes
  1919  else
  1920    ac_header_preproc=no
  1921  fi
  1922  rm -f conftest.err conftest.i conftest.$ac_ext
  1923  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  1924  $as_echo "$ac_header_preproc" >&6; }
  1925  
  1926  # So?  What about this header?
  1927  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  1928    yes:no: )
  1929      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  1930  $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  1931      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1932  $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1933      ;;
  1934    no:yes:* )
  1935      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  1936  $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  1937      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
  1938  $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
  1939      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  1940  $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  1941      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
  1942  $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
  1943      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1944  $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1945      ;;
  1946  esac
  1947    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1948  $as_echo_n "checking for $2... " >&6; }
  1949  if eval \${$3+:} false; then :
  1950    $as_echo_n "(cached) " >&6
  1951  else
  1952    eval "$3=\$ac_header_compiler"
  1953  fi
  1954  eval ac_res=\$$3
  1955  	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1956  $as_echo "$ac_res" >&6; }
  1957  fi
  1958    eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1959  
  1960  } # ac_fn_c_check_header_mongrel
  1961  
  1962  # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
  1963  # ----------------------------------------------------
  1964  # Tries to find if the field MEMBER exists in type AGGR, after including
  1965  # INCLUDES, setting cache variable VAR accordingly.
  1966  ac_fn_c_check_member ()
  1967  {
  1968    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1969    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
  1970  $as_echo_n "checking for $2.$3... " >&6; }
  1971  if eval \${$4+:} false; then :
  1972    $as_echo_n "(cached) " >&6
  1973  else
  1974    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1975  /* end confdefs.h.  */
  1976  $5
  1977  int
  1978  main ()
  1979  {
  1980  static $2 ac_aggr;
  1981  if (ac_aggr.$3)
  1982  return 0;
  1983    ;
  1984    return 0;
  1985  }
  1986  _ACEOF
  1987  if ac_fn_c_try_compile "$LINENO"; then :
  1988    eval "$4=yes"
  1989  else
  1990    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1991  /* end confdefs.h.  */
  1992  $5
  1993  int
  1994  main ()
  1995  {
  1996  static $2 ac_aggr;
  1997  if (sizeof ac_aggr.$3)
  1998  return 0;
  1999    ;
  2000    return 0;
  2001  }
  2002  _ACEOF
  2003  if ac_fn_c_try_compile "$LINENO"; then :
  2004    eval "$4=yes"
  2005  else
  2006    eval "$4=no"
  2007  fi
  2008  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2009  fi
  2010  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2011  fi
  2012  eval ac_res=\$$4
  2013  	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2014  $as_echo "$ac_res" >&6; }
  2015    eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2016  
  2017  } # ac_fn_c_check_member
  2018  
  2019  # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  2020  # -------------------------------------------
  2021  # Tests whether TYPE exists after having included INCLUDES, setting cache
  2022  # variable VAR accordingly.
  2023  ac_fn_c_check_type ()
  2024  {
  2025    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2026    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2027  $as_echo_n "checking for $2... " >&6; }
  2028  if eval \${$3+:} false; then :
  2029    $as_echo_n "(cached) " >&6
  2030  else
  2031    eval "$3=no"
  2032    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2033  /* end confdefs.h.  */
  2034  $4
  2035  int
  2036  main ()
  2037  {
  2038  if (sizeof ($2))
  2039  	 return 0;
  2040    ;
  2041    return 0;
  2042  }
  2043  _ACEOF
  2044  if ac_fn_c_try_compile "$LINENO"; then :
  2045    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2046  /* end confdefs.h.  */
  2047  $4
  2048  int
  2049  main ()
  2050  {
  2051  if (sizeof (($2)))
  2052  	    return 0;
  2053    ;
  2054    return 0;
  2055  }
  2056  _ACEOF
  2057  if ac_fn_c_try_compile "$LINENO"; then :
  2058  
  2059  else
  2060    eval "$3=yes"
  2061  fi
  2062  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2063  fi
  2064  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2065  fi
  2066  eval ac_res=\$$3
  2067  	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2068  $as_echo "$ac_res" >&6; }
  2069    eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2070  
  2071  } # ac_fn_c_check_type
  2072  
  2073  # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
  2074  # --------------------------------------------
  2075  # Tries to find the compile-time value of EXPR in a program that includes
  2076  # INCLUDES, setting VAR accordingly. Returns whether the value could be
  2077  # computed
  2078  ac_fn_c_compute_int ()
  2079  {
  2080    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2081    if test "$cross_compiling" = yes; then
  2082      # Depending upon the size, compute the lo and hi bounds.
  2083  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2084  /* end confdefs.h.  */
  2085  $4
  2086  int
  2087  main ()
  2088  {
  2089  static int test_array [1 - 2 * !(($2) >= 0)];
  2090  test_array [0] = 0;
  2091  return test_array [0];
  2092  
  2093    ;
  2094    return 0;
  2095  }
  2096  _ACEOF
  2097  if ac_fn_c_try_compile "$LINENO"; then :
  2098    ac_lo=0 ac_mid=0
  2099    while :; do
  2100      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2101  /* end confdefs.h.  */
  2102  $4
  2103  int
  2104  main ()
  2105  {
  2106  static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  2107  test_array [0] = 0;
  2108  return test_array [0];
  2109  
  2110    ;
  2111    return 0;
  2112  }
  2113  _ACEOF
  2114  if ac_fn_c_try_compile "$LINENO"; then :
  2115    ac_hi=$ac_mid; break
  2116  else
  2117    as_fn_arith $ac_mid + 1 && ac_lo=$as_val
  2118  			if test $ac_lo -le $ac_mid; then
  2119  			  ac_lo= ac_hi=
  2120  			  break
  2121  			fi
  2122  			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
  2123  fi
  2124  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2125    done
  2126  else
  2127    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2128  /* end confdefs.h.  */
  2129  $4
  2130  int
  2131  main ()
  2132  {
  2133  static int test_array [1 - 2 * !(($2) < 0)];
  2134  test_array [0] = 0;
  2135  return test_array [0];
  2136  
  2137    ;
  2138    return 0;
  2139  }
  2140  _ACEOF
  2141  if ac_fn_c_try_compile "$LINENO"; then :
  2142    ac_hi=-1 ac_mid=-1
  2143    while :; do
  2144      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2145  /* end confdefs.h.  */
  2146  $4
  2147  int
  2148  main ()
  2149  {
  2150  static int test_array [1 - 2 * !(($2) >= $ac_mid)];
  2151  test_array [0] = 0;
  2152  return test_array [0];
  2153  
  2154    ;
  2155    return 0;
  2156  }
  2157  _ACEOF
  2158  if ac_fn_c_try_compile "$LINENO"; then :
  2159    ac_lo=$ac_mid; break
  2160  else
  2161    as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
  2162  			if test $ac_mid -le $ac_hi; then
  2163  			  ac_lo= ac_hi=
  2164  			  break
  2165  			fi
  2166  			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
  2167  fi
  2168  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2169    done
  2170  else
  2171    ac_lo= ac_hi=
  2172  fi
  2173  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2174  fi
  2175  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2176  # Binary search between lo and hi bounds.
  2177  while test "x$ac_lo" != "x$ac_hi"; do
  2178    as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
  2179    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2180  /* end confdefs.h.  */
  2181  $4
  2182  int
  2183  main ()
  2184  {
  2185  static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  2186  test_array [0] = 0;
  2187  return test_array [0];
  2188  
  2189    ;
  2190    return 0;
  2191  }
  2192  _ACEOF
  2193  if ac_fn_c_try_compile "$LINENO"; then :
  2194    ac_hi=$ac_mid
  2195  else
  2196    as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
  2197  fi
  2198  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2199  done
  2200  case $ac_lo in #((
  2201  ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
  2202  '') ac_retval=1 ;;
  2203  esac
  2204    else
  2205      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2206  /* end confdefs.h.  */
  2207  $4
  2208  static long int longval () { return $2; }
  2209  static unsigned long int ulongval () { return $2; }
  2210  #include <stdio.h>
  2211  #include <stdlib.h>
  2212  int
  2213  main ()
  2214  {
  2215  
  2216    FILE *f = fopen ("conftest.val", "w");
  2217    if (! f)
  2218      return 1;
  2219    if (($2) < 0)
  2220      {
  2221        long int i = longval ();
  2222        if (i != ($2))
  2223  	return 1;
  2224        fprintf (f, "%ld", i);
  2225      }
  2226    else
  2227      {
  2228        unsigned long int i = ulongval ();
  2229        if (i != ($2))
  2230  	return 1;
  2231        fprintf (f, "%lu", i);
  2232      }
  2233    /* Do not output a trailing newline, as this causes \r\n confusion
  2234       on some platforms.  */
  2235    return ferror (f) || fclose (f) != 0;
  2236  
  2237    ;
  2238    return 0;
  2239  }
  2240  _ACEOF
  2241  if ac_fn_c_try_run "$LINENO"; then :
  2242    echo >>conftest.val; read $3 <conftest.val; ac_retval=0
  2243  else
  2244    ac_retval=1
  2245  fi
  2246  rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  2247    conftest.$ac_objext conftest.beam conftest.$ac_ext
  2248  rm -f conftest.val
  2249  
  2250    fi
  2251    eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2252    as_fn_set_status $ac_retval
  2253  
  2254  } # ac_fn_c_compute_int
  2255  cat >config.log <<_ACEOF
  2256  This file contains any messages produced by compilers while
  2257  running configure, to aid debugging if configure makes a mistake.
  2258  
  2259  It was created by package-unused $as_me version-unused, which was
  2260  generated by GNU Autoconf 2.69.  Invocation command line was
  2261  
  2262    $ $0 $@
  2263  
  2264  _ACEOF
  2265  exec 5>>config.log
  2266  {
  2267  cat <<_ASUNAME
  2268  ## --------- ##
  2269  ## Platform. ##
  2270  ## --------- ##
  2271  
  2272  hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  2273  uname -m = `(uname -m) 2>/dev/null || echo unknown`
  2274  uname -r = `(uname -r) 2>/dev/null || echo unknown`
  2275  uname -s = `(uname -s) 2>/dev/null || echo unknown`
  2276  uname -v = `(uname -v) 2>/dev/null || echo unknown`
  2277  
  2278  /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  2279  /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  2280  
  2281  /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  2282  /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  2283  /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  2284  /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  2285  /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  2286  /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  2287  /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  2288  
  2289  _ASUNAME
  2290  
  2291  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2292  for as_dir in $PATH
  2293  do
  2294    IFS=$as_save_IFS
  2295    test -z "$as_dir" && as_dir=.
  2296      $as_echo "PATH: $as_dir"
  2297    done
  2298  IFS=$as_save_IFS
  2299  
  2300  } >&5
  2301  
  2302  cat >&5 <<_ACEOF
  2303  
  2304  
  2305  ## ----------- ##
  2306  ## Core tests. ##
  2307  ## ----------- ##
  2308  
  2309  _ACEOF
  2310  
  2311  
  2312  # Keep a trace of the command line.
  2313  # Strip out --no-create and --no-recursion so they do not pile up.
  2314  # Strip out --silent because we don't want to record it for future runs.
  2315  # Also quote any args containing shell meta-characters.
  2316  # Make two passes to allow for proper duplicate-argument suppression.
  2317  ac_configure_args=
  2318  ac_configure_args0=
  2319  ac_configure_args1=
  2320  ac_must_keep_next=false
  2321  for ac_pass in 1 2
  2322  do
  2323    for ac_arg
  2324    do
  2325      case $ac_arg in
  2326      -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  2327      -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  2328      | -silent | --silent | --silen | --sile | --sil)
  2329        continue ;;
  2330      *\'*)
  2331        ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  2332      esac
  2333      case $ac_pass in
  2334      1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  2335      2)
  2336        as_fn_append ac_configure_args1 " '$ac_arg'"
  2337        if test $ac_must_keep_next = true; then
  2338  	ac_must_keep_next=false # Got value, back to normal.
  2339        else
  2340  	case $ac_arg in
  2341  	  *=* | --config-cache | -C | -disable-* | --disable-* \
  2342  	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  2343  	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  2344  	  | -with-* | --with-* | -without-* | --without-* | --x)
  2345  	    case "$ac_configure_args0 " in
  2346  	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  2347  	    esac
  2348  	    ;;
  2349  	  -* ) ac_must_keep_next=true ;;
  2350  	esac
  2351        fi
  2352        as_fn_append ac_configure_args " '$ac_arg'"
  2353        ;;
  2354      esac
  2355    done
  2356  done
  2357  { ac_configure_args0=; unset ac_configure_args0;}
  2358  { ac_configure_args1=; unset ac_configure_args1;}
  2359  
  2360  # When interrupted or exit'd, cleanup temporary files, and complete
  2361  # config.log.  We remove comments because anyway the quotes in there
  2362  # would cause problems or look ugly.
  2363  # WARNING: Use '\'' to represent an apostrophe within the trap.
  2364  # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  2365  trap 'exit_status=$?
  2366    # Save into config.log some information that might help in debugging.
  2367    {
  2368      echo
  2369  
  2370      $as_echo "## ---------------- ##
  2371  ## Cache variables. ##
  2372  ## ---------------- ##"
  2373      echo
  2374      # The following way of writing the cache mishandles newlines in values,
  2375  (
  2376    for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  2377      eval ac_val=\$$ac_var
  2378      case $ac_val in #(
  2379      *${as_nl}*)
  2380        case $ac_var in #(
  2381        *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  2382  $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  2383        esac
  2384        case $ac_var in #(
  2385        _ | IFS | as_nl) ;; #(
  2386        BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  2387        *) { eval $ac_var=; unset $ac_var;} ;;
  2388        esac ;;
  2389      esac
  2390    done
  2391    (set) 2>&1 |
  2392      case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  2393      *${as_nl}ac_space=\ *)
  2394        sed -n \
  2395  	"s/'\''/'\''\\\\'\'''\''/g;
  2396  	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  2397        ;; #(
  2398      *)
  2399        sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  2400        ;;
  2401      esac |
  2402      sort
  2403  )
  2404      echo
  2405  
  2406      $as_echo "## ----------------- ##
  2407  ## Output variables. ##
  2408  ## ----------------- ##"
  2409      echo
  2410      for ac_var in $ac_subst_vars
  2411      do
  2412        eval ac_val=\$$ac_var
  2413        case $ac_val in
  2414        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2415        esac
  2416        $as_echo "$ac_var='\''$ac_val'\''"
  2417      done | sort
  2418      echo
  2419  
  2420      if test -n "$ac_subst_files"; then
  2421        $as_echo "## ------------------- ##
  2422  ## File substitutions. ##
  2423  ## ------------------- ##"
  2424        echo
  2425        for ac_var in $ac_subst_files
  2426        do
  2427  	eval ac_val=\$$ac_var
  2428  	case $ac_val in
  2429  	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2430  	esac
  2431  	$as_echo "$ac_var='\''$ac_val'\''"
  2432        done | sort
  2433        echo
  2434      fi
  2435  
  2436      if test -s confdefs.h; then
  2437        $as_echo "## ----------- ##
  2438  ## confdefs.h. ##
  2439  ## ----------- ##"
  2440        echo
  2441        cat confdefs.h
  2442        echo
  2443      fi
  2444      test "$ac_signal" != 0 &&
  2445        $as_echo "$as_me: caught signal $ac_signal"
  2446      $as_echo "$as_me: exit $exit_status"
  2447    } >&5
  2448    rm -f core *.core core.conftest.* &&
  2449      rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  2450      exit $exit_status
  2451  ' 0
  2452  for ac_signal in 1 2 13 15; do
  2453    trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  2454  done
  2455  ac_signal=0
  2456  
  2457  # confdefs.h avoids OS command line length limits that DEFS can exceed.
  2458  rm -f -r conftest* confdefs.h
  2459  
  2460  $as_echo "/* confdefs.h */" > confdefs.h
  2461  
  2462  # Predefined preprocessor variables.
  2463  
  2464  cat >>confdefs.h <<_ACEOF
  2465  #define PACKAGE_NAME "$PACKAGE_NAME"
  2466  _ACEOF
  2467  
  2468  cat >>confdefs.h <<_ACEOF
  2469  #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  2470  _ACEOF
  2471  
  2472  cat >>confdefs.h <<_ACEOF
  2473  #define PACKAGE_VERSION "$PACKAGE_VERSION"
  2474  _ACEOF
  2475  
  2476  cat >>confdefs.h <<_ACEOF
  2477  #define PACKAGE_STRING "$PACKAGE_STRING"
  2478  _ACEOF
  2479  
  2480  cat >>confdefs.h <<_ACEOF
  2481  #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  2482  _ACEOF
  2483  
  2484  cat >>confdefs.h <<_ACEOF
  2485  #define PACKAGE_URL "$PACKAGE_URL"
  2486  _ACEOF
  2487  
  2488  
  2489  # Let the site file select an alternate cache file if it wants to.
  2490  # Prefer an explicitly selected file to automatically selected ones.
  2491  ac_site_file1=NONE
  2492  ac_site_file2=NONE
  2493  if test -n "$CONFIG_SITE"; then
  2494    # We do not want a PATH search for config.site.
  2495    case $CONFIG_SITE in #((
  2496      -*)  ac_site_file1=./$CONFIG_SITE;;
  2497      */*) ac_site_file1=$CONFIG_SITE;;
  2498      *)   ac_site_file1=./$CONFIG_SITE;;
  2499    esac
  2500  elif test "x$prefix" != xNONE; then
  2501    ac_site_file1=$prefix/share/config.site
  2502    ac_site_file2=$prefix/etc/config.site
  2503  else
  2504    ac_site_file1=$ac_default_prefix/share/config.site
  2505    ac_site_file2=$ac_default_prefix/etc/config.site
  2506  fi
  2507  for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  2508  do
  2509    test "x$ac_site_file" = xNONE && continue
  2510    if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  2511      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  2512  $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  2513      sed 's/^/| /' "$ac_site_file" >&5
  2514      . "$ac_site_file" \
  2515        || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2516  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2517  as_fn_error $? "failed to load site script $ac_site_file
  2518  See \`config.log' for more details" "$LINENO" 5; }
  2519    fi
  2520  done
  2521  
  2522  if test -r "$cache_file"; then
  2523    # Some versions of bash will fail to source /dev/null (special files
  2524    # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
  2525    if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  2526      { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  2527  $as_echo "$as_me: loading cache $cache_file" >&6;}
  2528      case $cache_file in
  2529        [\\/]* | ?:[\\/]* ) . "$cache_file";;
  2530        *)                      . "./$cache_file";;
  2531      esac
  2532    fi
  2533  else
  2534    { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  2535  $as_echo "$as_me: creating cache $cache_file" >&6;}
  2536    >$cache_file
  2537  fi
  2538  
  2539  # Check that the precious variables saved in the cache have kept the same
  2540  # value.
  2541  ac_cache_corrupted=false
  2542  for ac_var in $ac_precious_vars; do
  2543    eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2544    eval ac_new_set=\$ac_env_${ac_var}_set
  2545    eval ac_old_val=\$ac_cv_env_${ac_var}_value
  2546    eval ac_new_val=\$ac_env_${ac_var}_value
  2547    case $ac_old_set,$ac_new_set in
  2548      set,)
  2549        { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2550  $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2551        ac_cache_corrupted=: ;;
  2552      ,set)
  2553        { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  2554  $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2555        ac_cache_corrupted=: ;;
  2556      ,);;
  2557      *)
  2558        if test "x$ac_old_val" != "x$ac_new_val"; then
  2559  	# differences in whitespace do not lead to failure.
  2560  	ac_old_val_w=`echo x $ac_old_val`
  2561  	ac_new_val_w=`echo x $ac_new_val`
  2562  	if test "$ac_old_val_w" != "$ac_new_val_w"; then
  2563  	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  2564  $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2565  	  ac_cache_corrupted=:
  2566  	else
  2567  	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  2568  $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  2569  	  eval $ac_var=\$ac_old_val
  2570  	fi
  2571  	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
  2572  $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
  2573  	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
  2574  $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
  2575        fi;;
  2576    esac
  2577    # Pass precious variables to config.status.
  2578    if test "$ac_new_set" = set; then
  2579      case $ac_new_val in
  2580      *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2581      *) ac_arg=$ac_var=$ac_new_val ;;
  2582      esac
  2583      case " $ac_configure_args " in
  2584        *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  2585        *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  2586      esac
  2587    fi
  2588  done
  2589  if $ac_cache_corrupted; then
  2590    { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2591  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2592    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  2593  $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2594    as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  2595  fi
  2596  ## -------------------- ##
  2597  ## Main body of script. ##
  2598  ## -------------------- ##
  2599  
  2600  ac_ext=c
  2601  ac_cpp='$CPP $CPPFLAGS'
  2602  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2603  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2604  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2605  
  2606  
  2607  
  2608  
  2609  
  2610  
  2611  ac_config_headers="$ac_config_headers config.h"
  2612  
  2613  
  2614  libtool_VERSION=23:0:0
  2615  
  2616  
  2617  # Default to --enable-multilib
  2618  # Check whether --enable-multilib was given.
  2619  if test "${enable_multilib+set}" = set; then :
  2620    enableval=$enable_multilib; case "$enableval" in
  2621    yes) multilib=yes ;;
  2622    no)  multilib=no ;;
  2623    *)   as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
  2624   esac
  2625  else
  2626    multilib=yes
  2627  fi
  2628  
  2629  
  2630  # We may get other options which we leave undocumented:
  2631  # --with-target-subdir, --with-multisrctop, --with-multisubdir
  2632  # See config-ml.in if you want the gory details.
  2633  
  2634  if test "$srcdir" = "."; then
  2635    if test "$with_target_subdir" != "."; then
  2636      multi_basedir="$srcdir/$with_multisrctop../.."
  2637    else
  2638      multi_basedir="$srcdir/$with_multisrctop.."
  2639    fi
  2640  else
  2641    multi_basedir="$srcdir/.."
  2642  fi
  2643  
  2644  
  2645  # Even if the default multilib is not a cross compilation,
  2646  # it may be that some of the other multilibs are.
  2647  if test $cross_compiling = no && test $multilib = yes \
  2648     && test "x${with_multisubdir}" != x ; then
  2649     cross_compiling=maybe
  2650  fi
  2651  
  2652  ac_config_commands="$ac_config_commands default-1"
  2653  
  2654  
  2655  ac_aux_dir=
  2656  for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  2657    if test -f "$ac_dir/install-sh"; then
  2658      ac_aux_dir=$ac_dir
  2659      ac_install_sh="$ac_aux_dir/install-sh -c"
  2660      break
  2661    elif test -f "$ac_dir/install.sh"; then
  2662      ac_aux_dir=$ac_dir
  2663      ac_install_sh="$ac_aux_dir/install.sh -c"
  2664      break
  2665    elif test -f "$ac_dir/shtool"; then
  2666      ac_aux_dir=$ac_dir
  2667      ac_install_sh="$ac_aux_dir/shtool install -c"
  2668      break
  2669    fi
  2670  done
  2671  if test -z "$ac_aux_dir"; then
  2672    as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  2673  fi
  2674  
  2675  # These three variables are undocumented and unsupported,
  2676  # and are intended to be withdrawn in a future Autoconf release.
  2677  # They can cause serious problems if a builder's source tree is in a directory
  2678  # whose full name contains unusual characters.
  2679  ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  2680  ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  2681  ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  2682  
  2683  
  2684  # Make sure we can run config.sub.
  2685  $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  2686    as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  2687  
  2688  { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  2689  $as_echo_n "checking build system type... " >&6; }
  2690  if ${ac_cv_build+:} false; then :
  2691    $as_echo_n "(cached) " >&6
  2692  else
  2693    ac_build_alias=$build_alias
  2694  test "x$ac_build_alias" = x &&
  2695    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  2696  test "x$ac_build_alias" = x &&
  2697    as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  2698  ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  2699    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  2700  
  2701  fi
  2702  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  2703  $as_echo "$ac_cv_build" >&6; }
  2704  case $ac_cv_build in
  2705  *-*-*) ;;
  2706  *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  2707  esac
  2708  build=$ac_cv_build
  2709  ac_save_IFS=$IFS; IFS='-'
  2710  set x $ac_cv_build
  2711  shift
  2712  build_cpu=$1
  2713  build_vendor=$2
  2714  shift; shift
  2715  # Remember, the first character of IFS is used to create $*,
  2716  # except with old shells:
  2717  build_os=$*
  2718  IFS=$ac_save_IFS
  2719  case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  2720  
  2721  
  2722  { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  2723  $as_echo_n "checking host system type... " >&6; }
  2724  if ${ac_cv_host+:} false; then :
  2725    $as_echo_n "(cached) " >&6
  2726  else
  2727    if test "x$host_alias" = x; then
  2728    ac_cv_host=$ac_cv_build
  2729  else
  2730    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  2731      as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  2732  fi
  2733  
  2734  fi
  2735  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  2736  $as_echo "$ac_cv_host" >&6; }
  2737  case $ac_cv_host in
  2738  *-*-*) ;;
  2739  *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  2740  esac
  2741  host=$ac_cv_host
  2742  ac_save_IFS=$IFS; IFS='-'
  2743  set x $ac_cv_host
  2744  shift
  2745  host_cpu=$1
  2746  host_vendor=$2
  2747  shift; shift
  2748  # Remember, the first character of IFS is used to create $*,
  2749  # except with old shells:
  2750  host_os=$*
  2751  IFS=$ac_save_IFS
  2752  case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  2753  
  2754  
  2755  { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
  2756  $as_echo_n "checking target system type... " >&6; }
  2757  if ${ac_cv_target+:} false; then :
  2758    $as_echo_n "(cached) " >&6
  2759  else
  2760    if test "x$target_alias" = x; then
  2761    ac_cv_target=$ac_cv_host
  2762  else
  2763    ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
  2764      as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
  2765  fi
  2766  
  2767  fi
  2768  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
  2769  $as_echo "$ac_cv_target" >&6; }
  2770  case $ac_cv_target in
  2771  *-*-*) ;;
  2772  *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
  2773  esac
  2774  target=$ac_cv_target
  2775  ac_save_IFS=$IFS; IFS='-'
  2776  set x $ac_cv_target
  2777  shift
  2778  target_cpu=$1
  2779  target_vendor=$2
  2780  shift; shift
  2781  # Remember, the first character of IFS is used to create $*,
  2782  # except with old shells:
  2783  target_os=$*
  2784  IFS=$ac_save_IFS
  2785  case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
  2786  
  2787  
  2788  # The aliases save the names the user supplied, while $host etc.
  2789  # will get canonicalized.
  2790  test -n "$target_alias" &&
  2791    test "$program_prefix$program_suffix$program_transform_name" = \
  2792      NONENONEs,x,x, &&
  2793    program_prefix=${target_alias}-
  2794  
  2795  target_alias=${target_alias-$host_alias}
  2796  
  2797  am__api_version='1.15'
  2798  
  2799  # Find a good install program.  We prefer a C program (faster),
  2800  # so one script is as good as another.  But avoid the broken or
  2801  # incompatible versions:
  2802  # SysV /etc/install, /usr/sbin/install
  2803  # SunOS /usr/etc/install
  2804  # IRIX /sbin/install
  2805  # AIX /bin/install
  2806  # AmigaOS /C/install, which installs bootblocks on floppy discs
  2807  # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2808  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2809  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2810  # OS/2's system install, which has a completely different semantic
  2811  # ./install, which can be erroneously created by make from ./install.sh.
  2812  # Reject install programs that cannot install multiple files.
  2813  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  2814  $as_echo_n "checking for a BSD-compatible install... " >&6; }
  2815  if test -z "$INSTALL"; then
  2816  if ${ac_cv_path_install+:} false; then :
  2817    $as_echo_n "(cached) " >&6
  2818  else
  2819    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2820  for as_dir in $PATH
  2821  do
  2822    IFS=$as_save_IFS
  2823    test -z "$as_dir" && as_dir=.
  2824      # Account for people who put trailing slashes in PATH elements.
  2825  case $as_dir/ in #((
  2826    ./ | .// | /[cC]/* | \
  2827    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2828    ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  2829    /usr/ucb/* ) ;;
  2830    *)
  2831      # OSF1 and SCO ODT 3.0 have their own names for install.
  2832      # Don't use installbsd from OSF since it installs stuff as root
  2833      # by default.
  2834      for ac_prog in ginstall scoinst install; do
  2835        for ac_exec_ext in '' $ac_executable_extensions; do
  2836  	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  2837  	  if test $ac_prog = install &&
  2838  	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2839  	    # AIX install.  It has an incompatible calling convention.
  2840  	    :
  2841  	  elif test $ac_prog = install &&
  2842  	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2843  	    # program-specific install script used by HP pwplus--don't use.
  2844  	    :
  2845  	  else
  2846  	    rm -rf conftest.one conftest.two conftest.dir
  2847  	    echo one > conftest.one
  2848  	    echo two > conftest.two
  2849  	    mkdir conftest.dir
  2850  	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2851  	      test -s conftest.one && test -s conftest.two &&
  2852  	      test -s conftest.dir/conftest.one &&
  2853  	      test -s conftest.dir/conftest.two
  2854  	    then
  2855  	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2856  	      break 3
  2857  	    fi
  2858  	  fi
  2859  	fi
  2860        done
  2861      done
  2862      ;;
  2863  esac
  2864  
  2865    done
  2866  IFS=$as_save_IFS
  2867  
  2868  rm -rf conftest.one conftest.two conftest.dir
  2869  
  2870  fi
  2871    if test "${ac_cv_path_install+set}" = set; then
  2872      INSTALL=$ac_cv_path_install
  2873    else
  2874      # As a last resort, use the slow shell script.  Don't cache a
  2875      # value for INSTALL within a source directory, because that will
  2876      # break other packages using the cache if that directory is
  2877      # removed, or if the value is a relative name.
  2878      INSTALL=$ac_install_sh
  2879    fi
  2880  fi
  2881  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  2882  $as_echo "$INSTALL" >&6; }
  2883  
  2884  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2885  # It thinks the first close brace ends the variable substitution.
  2886  test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2887  
  2888  test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2889  
  2890  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2891  
  2892  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  2893  $as_echo_n "checking whether build environment is sane... " >&6; }
  2894  # Reject unsafe characters in $srcdir or the absolute working directory
  2895  # name.  Accept space and tab only in the latter.
  2896  am_lf='
  2897  '
  2898  case `pwd` in
  2899    *[\\\"\#\$\&\'\`$am_lf]*)
  2900      as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  2901  esac
  2902  case $srcdir in
  2903    *[\\\"\#\$\&\'\`$am_lf\ \	]*)
  2904      as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  2905  esac
  2906  
  2907  # Do 'set' in a subshell so we don't clobber the current shell's
  2908  # arguments.  Must try -L first in case configure is actually a
  2909  # symlink; some systems play weird games with the mod time of symlinks
  2910  # (eg FreeBSD returns the mod time of the symlink's containing
  2911  # directory).
  2912  if (
  2913     am_has_slept=no
  2914     for am_try in 1 2; do
  2915       echo "timestamp, slept: $am_has_slept" > conftest.file
  2916       set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  2917       if test "$*" = "X"; then
  2918  	# -L didn't work.
  2919  	set X `ls -t "$srcdir/configure" conftest.file`
  2920       fi
  2921       if test "$*" != "X $srcdir/configure conftest.file" \
  2922  	&& test "$*" != "X conftest.file $srcdir/configure"; then
  2923  
  2924  	# If neither matched, then we have a broken ls.  This can happen
  2925  	# if, for instance, CONFIG_SHELL is bash and it inherits a
  2926  	# broken ls alias from the environment.  This has actually
  2927  	# happened.  Such a system could not be considered "sane".
  2928  	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
  2929    alias in your environment" "$LINENO" 5
  2930       fi
  2931       if test "$2" = conftest.file || test $am_try -eq 2; then
  2932         break
  2933       fi
  2934       # Just in case.
  2935       sleep 1
  2936       am_has_slept=yes
  2937     done
  2938     test "$2" = conftest.file
  2939     )
  2940  then
  2941     # Ok.
  2942     :
  2943  else
  2944     as_fn_error $? "newly created file is older than distributed files!
  2945  Check your system clock" "$LINENO" 5
  2946  fi
  2947  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2948  $as_echo "yes" >&6; }
  2949  # If we didn't sleep, we still need to ensure time stamps of config.status and
  2950  # generated files are strictly newer.
  2951  am_sleep_pid=
  2952  if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  2953    ( sleep 1 ) &
  2954    am_sleep_pid=$!
  2955  fi
  2956  
  2957  rm -f conftest.file
  2958  
  2959  test "$program_prefix" != NONE &&
  2960    program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2961  # Use a double $ so make ignores it.
  2962  test "$program_suffix" != NONE &&
  2963    program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2964  # Double any \ or $.
  2965  # By default was `s,x,x', remove it if useless.
  2966  ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2967  program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2968  
  2969  # Expand $ac_aux_dir to an absolute path.
  2970  am_aux_dir=`cd "$ac_aux_dir" && pwd`
  2971  
  2972  if test x"${MISSING+set}" != xset; then
  2973    case $am_aux_dir in
  2974    *\ * | *\	*)
  2975      MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  2976    *)
  2977      MISSING="\${SHELL} $am_aux_dir/missing" ;;
  2978    esac
  2979  fi
  2980  # Use eval to expand $SHELL
  2981  if eval "$MISSING --is-lightweight"; then
  2982    am_missing_run="$MISSING "
  2983  else
  2984    am_missing_run=
  2985    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  2986  $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  2987  fi
  2988  
  2989  if test x"${install_sh+set}" != xset; then
  2990    case $am_aux_dir in
  2991    *\ * | *\	*)
  2992      install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  2993    *)
  2994      install_sh="\${SHELL} $am_aux_dir/install-sh"
  2995    esac
  2996  fi
  2997  
  2998  # Installed binaries are usually stripped using 'strip' when the user
  2999  # run "make install-strip".  However 'strip' might not be the right
  3000  # tool to use in cross-compilation environments, therefore Automake
  3001  # will honor the 'STRIP' environment variable to overrule this program.
  3002  if test "$cross_compiling" != no; then
  3003    if test -n "$ac_tool_prefix"; then
  3004    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  3005  set dummy ${ac_tool_prefix}strip; ac_word=$2
  3006  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3007  $as_echo_n "checking for $ac_word... " >&6; }
  3008  if ${ac_cv_prog_STRIP+:} false; then :
  3009    $as_echo_n "(cached) " >&6
  3010  else
  3011    if test -n "$STRIP"; then
  3012    ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  3013  else
  3014  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3015  for as_dir in $PATH
  3016  do
  3017    IFS=$as_save_IFS
  3018    test -z "$as_dir" && as_dir=.
  3019      for ac_exec_ext in '' $ac_executable_extensions; do
  3020    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3021      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  3022      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3023      break 2
  3024    fi
  3025  done
  3026    done
  3027  IFS=$as_save_IFS
  3028  
  3029  fi
  3030  fi
  3031  STRIP=$ac_cv_prog_STRIP
  3032  if test -n "$STRIP"; then
  3033    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  3034  $as_echo "$STRIP" >&6; }
  3035  else
  3036    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3037  $as_echo "no" >&6; }
  3038  fi
  3039  
  3040  
  3041  fi
  3042  if test -z "$ac_cv_prog_STRIP"; then
  3043    ac_ct_STRIP=$STRIP
  3044    # Extract the first word of "strip", so it can be a program name with args.
  3045  set dummy strip; ac_word=$2
  3046  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3047  $as_echo_n "checking for $ac_word... " >&6; }
  3048  if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  3049    $as_echo_n "(cached) " >&6
  3050  else
  3051    if test -n "$ac_ct_STRIP"; then
  3052    ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  3053  else
  3054  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3055  for as_dir in $PATH
  3056  do
  3057    IFS=$as_save_IFS
  3058    test -z "$as_dir" && as_dir=.
  3059      for ac_exec_ext in '' $ac_executable_extensions; do
  3060    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3061      ac_cv_prog_ac_ct_STRIP="strip"
  3062      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3063      break 2
  3064    fi
  3065  done
  3066    done
  3067  IFS=$as_save_IFS
  3068  
  3069  fi
  3070  fi
  3071  ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  3072  if test -n "$ac_ct_STRIP"; then
  3073    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  3074  $as_echo "$ac_ct_STRIP" >&6; }
  3075  else
  3076    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3077  $as_echo "no" >&6; }
  3078  fi
  3079  
  3080    if test "x$ac_ct_STRIP" = x; then
  3081      STRIP=":"
  3082    else
  3083      case $cross_compiling:$ac_tool_warned in
  3084  yes:)
  3085  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3086  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3087  ac_tool_warned=yes ;;
  3088  esac
  3089      STRIP=$ac_ct_STRIP
  3090    fi
  3091  else
  3092    STRIP="$ac_cv_prog_STRIP"
  3093  fi
  3094  
  3095  fi
  3096  INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  3097  
  3098  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  3099  $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  3100  if test -z "$MKDIR_P"; then
  3101    if ${ac_cv_path_mkdir+:} false; then :
  3102    $as_echo_n "(cached) " >&6
  3103  else
  3104    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3105  for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  3106  do
  3107    IFS=$as_save_IFS
  3108    test -z "$as_dir" && as_dir=.
  3109      for ac_prog in mkdir gmkdir; do
  3110  	 for ac_exec_ext in '' $ac_executable_extensions; do
  3111  	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
  3112  	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  3113  	     'mkdir (GNU coreutils) '* | \
  3114  	     'mkdir (coreutils) '* | \
  3115  	     'mkdir (fileutils) '4.1*)
  3116  	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  3117  	       break 3;;
  3118  	   esac
  3119  	 done
  3120         done
  3121    done
  3122  IFS=$as_save_IFS
  3123  
  3124  fi
  3125  
  3126    test -d ./--version && rmdir ./--version
  3127    if test "${ac_cv_path_mkdir+set}" = set; then
  3128      MKDIR_P="$ac_cv_path_mkdir -p"
  3129    else
  3130      # As a last resort, use the slow shell script.  Don't cache a
  3131      # value for MKDIR_P within a source directory, because that will
  3132      # break other packages using the cache if that directory is
  3133      # removed, or if the value is a relative name.
  3134      MKDIR_P="$ac_install_sh -d"
  3135    fi
  3136  fi
  3137  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  3138  $as_echo "$MKDIR_P" >&6; }
  3139  
  3140  for ac_prog in gawk mawk nawk awk
  3141  do
  3142    # Extract the first word of "$ac_prog", so it can be a program name with args.
  3143  set dummy $ac_prog; ac_word=$2
  3144  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3145  $as_echo_n "checking for $ac_word... " >&6; }
  3146  if ${ac_cv_prog_AWK+:} false; then :
  3147    $as_echo_n "(cached) " >&6
  3148  else
  3149    if test -n "$AWK"; then
  3150    ac_cv_prog_AWK="$AWK" # Let the user override the test.
  3151  else
  3152  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3153  for as_dir in $PATH
  3154  do
  3155    IFS=$as_save_IFS
  3156    test -z "$as_dir" && as_dir=.
  3157      for ac_exec_ext in '' $ac_executable_extensions; do
  3158    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3159      ac_cv_prog_AWK="$ac_prog"
  3160      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3161      break 2
  3162    fi
  3163  done
  3164    done
  3165  IFS=$as_save_IFS
  3166  
  3167  fi
  3168  fi
  3169  AWK=$ac_cv_prog_AWK
  3170  if test -n "$AWK"; then
  3171    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  3172  $as_echo "$AWK" >&6; }
  3173  else
  3174    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3175  $as_echo "no" >&6; }
  3176  fi
  3177  
  3178  
  3179    test -n "$AWK" && break
  3180  done
  3181  
  3182  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  3183  $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  3184  set x ${MAKE-make}
  3185  ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  3186  if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  3187    $as_echo_n "(cached) " >&6
  3188  else
  3189    cat >conftest.make <<\_ACEOF
  3190  SHELL = /bin/sh
  3191  all:
  3192  	@echo '@@@%%%=$(MAKE)=@@@%%%'
  3193  _ACEOF
  3194  # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  3195  case `${MAKE-make} -f conftest.make 2>/dev/null` in
  3196    *@@@%%%=?*=@@@%%%*)
  3197      eval ac_cv_prog_make_${ac_make}_set=yes;;
  3198    *)
  3199      eval ac_cv_prog_make_${ac_make}_set=no;;
  3200  esac
  3201  rm -f conftest.make
  3202  fi
  3203  if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  3204    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3205  $as_echo "yes" >&6; }
  3206    SET_MAKE=
  3207  else
  3208    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3209  $as_echo "no" >&6; }
  3210    SET_MAKE="MAKE=${MAKE-make}"
  3211  fi
  3212  
  3213  rm -rf .tst 2>/dev/null
  3214  mkdir .tst 2>/dev/null
  3215  if test -d .tst; then
  3216    am__leading_dot=.
  3217  else
  3218    am__leading_dot=_
  3219  fi
  3220  rmdir .tst 2>/dev/null
  3221  
  3222  # Check whether --enable-silent-rules was given.
  3223  if test "${enable_silent_rules+set}" = set; then :
  3224    enableval=$enable_silent_rules;
  3225  fi
  3226  
  3227  case $enable_silent_rules in # (((
  3228    yes) AM_DEFAULT_VERBOSITY=0;;
  3229     no) AM_DEFAULT_VERBOSITY=1;;
  3230      *) AM_DEFAULT_VERBOSITY=1;;
  3231  esac
  3232  am_make=${MAKE-make}
  3233  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  3234  $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  3235  if ${am_cv_make_support_nested_variables+:} false; then :
  3236    $as_echo_n "(cached) " >&6
  3237  else
  3238    if $as_echo 'TRUE=$(BAR$(V))
  3239  BAR0=false
  3240  BAR1=true
  3241  V=1
  3242  am__doit:
  3243  	@$(TRUE)
  3244  .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  3245    am_cv_make_support_nested_variables=yes
  3246  else
  3247    am_cv_make_support_nested_variables=no
  3248  fi
  3249  fi
  3250  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  3251  $as_echo "$am_cv_make_support_nested_variables" >&6; }
  3252  if test $am_cv_make_support_nested_variables = yes; then
  3253      AM_V='$(V)'
  3254    AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  3255  else
  3256    AM_V=$AM_DEFAULT_VERBOSITY
  3257    AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  3258  fi
  3259  AM_BACKSLASH='\'
  3260  
  3261  if test "`cd $srcdir && pwd`" != "`pwd`"; then
  3262    # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  3263    # is not polluted with repeated "-I."
  3264    am__isrc=' -I$(srcdir)'
  3265    # test to see if srcdir already configured
  3266    if test -f $srcdir/config.status; then
  3267      as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  3268    fi
  3269  fi
  3270  
  3271  # test whether we have cygpath
  3272  if test -z "$CYGPATH_W"; then
  3273    if (cygpath --version) >/dev/null 2>/dev/null; then
  3274      CYGPATH_W='cygpath -w'
  3275    else
  3276      CYGPATH_W=echo
  3277    fi
  3278  fi
  3279  
  3280  
  3281  # Define the identity of the package.
  3282   PACKAGE='libgo'
  3283   VERSION='version-unused'
  3284  
  3285  
  3286  # Some tools Automake needs.
  3287  
  3288  ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  3289  
  3290  
  3291  AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  3292  
  3293  
  3294  AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  3295  
  3296  
  3297  AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  3298  
  3299  
  3300  MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  3301  
  3302  # For better backward compatibility.  To be removed once Automake 1.9.x
  3303  # dies out for good.  For more background, see:
  3304  # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  3305  # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  3306  mkdir_p='$(MKDIR_P)'
  3307  
  3308  # We need awk for the "check" target (and possibly the TAP driver).  The
  3309  # system "awk" is bad on some platforms.
  3310  # Always define AMTAR for backward compatibility.  Yes, it's still used
  3311  # in the wild :-(  We should find a proper way to deprecate it ...
  3312  AMTAR='$${TAR-tar}'
  3313  
  3314  
  3315  # We'll loop over all known methods to create a tar archive until one works.
  3316  _am_tools='gnutar  pax cpio none'
  3317  
  3318  am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  3319  
  3320  
  3321  
  3322  
  3323  
  3324  
  3325  # POSIX will say in a future version that running "rm -f" with no argument
  3326  # is OK; and we want to be able to make that assumption in our Makefile
  3327  # recipes.  So use an aggressive probe to check that the usage we want is
  3328  # actually supported "in the wild" to an acceptable degree.
  3329  # See automake bug#10828.
  3330  # To make any issue more visible, cause the running configure to be aborted
  3331  # by default if the 'rm' program in use doesn't match our expectations; the
  3332  # user can still override this though.
  3333  if rm -f && rm -fr && rm -rf; then : OK; else
  3334    cat >&2 <<'END'
  3335  Oops!
  3336  
  3337  Your 'rm' program seems unable to run without file operands specified
  3338  on the command line, even when the '-f' option is present.  This is contrary
  3339  to the behaviour of most rm programs out there, and not conforming with
  3340  the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  3341  
  3342  Please tell bug-automake@gnu.org about your system, including the value
  3343  of your $PATH and any error possibly output before this message.  This
  3344  can help us improve future automake versions.
  3345  
  3346  END
  3347    if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  3348      echo 'Configuration will proceed anyway, since you have set the' >&2
  3349      echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  3350      echo >&2
  3351    else
  3352      cat >&2 <<'END'
  3353  Aborting the configuration process, to ensure you take notice of the issue.
  3354  
  3355  You can download and install GNU coreutils to get an 'rm' implementation
  3356  that behaves properly: <http://www.gnu.org/software/coreutils/>.
  3357  
  3358  If you want to complete the configuration process using your problematic
  3359  'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  3360  to "yes", and re-run configure.
  3361  
  3362  END
  3363      as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
  3364    fi
  3365  fi
  3366  
  3367  
  3368  
  3369  
  3370  
  3371  
  3372  ac_ext=c
  3373  ac_cpp='$CPP $CPPFLAGS'
  3374  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3375  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3376  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3377  if test -n "$ac_tool_prefix"; then
  3378    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3379  set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3380  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3381  $as_echo_n "checking for $ac_word... " >&6; }
  3382  if ${ac_cv_prog_CC+:} false; then :
  3383    $as_echo_n "(cached) " >&6
  3384  else
  3385    if test -n "$CC"; then
  3386    ac_cv_prog_CC="$CC" # Let the user override the test.
  3387  else
  3388  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3389  for as_dir in $PATH
  3390  do
  3391    IFS=$as_save_IFS
  3392    test -z "$as_dir" && as_dir=.
  3393      for ac_exec_ext in '' $ac_executable_extensions; do
  3394    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3395      ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3396      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3397      break 2
  3398    fi
  3399  done
  3400    done
  3401  IFS=$as_save_IFS
  3402  
  3403  fi
  3404  fi
  3405  CC=$ac_cv_prog_CC
  3406  if test -n "$CC"; then
  3407    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3408  $as_echo "$CC" >&6; }
  3409  else
  3410    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3411  $as_echo "no" >&6; }
  3412  fi
  3413  
  3414  
  3415  fi
  3416  if test -z "$ac_cv_prog_CC"; then
  3417    ac_ct_CC=$CC
  3418    # Extract the first word of "gcc", so it can be a program name with args.
  3419  set dummy gcc; ac_word=$2
  3420  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3421  $as_echo_n "checking for $ac_word... " >&6; }
  3422  if ${ac_cv_prog_ac_ct_CC+:} false; then :
  3423    $as_echo_n "(cached) " >&6
  3424  else
  3425    if test -n "$ac_ct_CC"; then
  3426    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3427  else
  3428  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3429  for as_dir in $PATH
  3430  do
  3431    IFS=$as_save_IFS
  3432    test -z "$as_dir" && as_dir=.
  3433      for ac_exec_ext in '' $ac_executable_extensions; do
  3434    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3435      ac_cv_prog_ac_ct_CC="gcc"
  3436      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3437      break 2
  3438    fi
  3439  done
  3440    done
  3441  IFS=$as_save_IFS
  3442  
  3443  fi
  3444  fi
  3445  ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3446  if test -n "$ac_ct_CC"; then
  3447    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3448  $as_echo "$ac_ct_CC" >&6; }
  3449  else
  3450    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3451  $as_echo "no" >&6; }
  3452  fi
  3453  
  3454    if test "x$ac_ct_CC" = x; then
  3455      CC=""
  3456    else
  3457      case $cross_compiling:$ac_tool_warned in
  3458  yes:)
  3459  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3460  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3461  ac_tool_warned=yes ;;
  3462  esac
  3463      CC=$ac_ct_CC
  3464    fi
  3465  else
  3466    CC="$ac_cv_prog_CC"
  3467  fi
  3468  
  3469  if test -z "$CC"; then
  3470            if test -n "$ac_tool_prefix"; then
  3471      # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3472  set dummy ${ac_tool_prefix}cc; ac_word=$2
  3473  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3474  $as_echo_n "checking for $ac_word... " >&6; }
  3475  if ${ac_cv_prog_CC+:} false; then :
  3476    $as_echo_n "(cached) " >&6
  3477  else
  3478    if test -n "$CC"; then
  3479    ac_cv_prog_CC="$CC" # Let the user override the test.
  3480  else
  3481  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3482  for as_dir in $PATH
  3483  do
  3484    IFS=$as_save_IFS
  3485    test -z "$as_dir" && as_dir=.
  3486      for ac_exec_ext in '' $ac_executable_extensions; do
  3487    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3488      ac_cv_prog_CC="${ac_tool_prefix}cc"
  3489      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3490      break 2
  3491    fi
  3492  done
  3493    done
  3494  IFS=$as_save_IFS
  3495  
  3496  fi
  3497  fi
  3498  CC=$ac_cv_prog_CC
  3499  if test -n "$CC"; then
  3500    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3501  $as_echo "$CC" >&6; }
  3502  else
  3503    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3504  $as_echo "no" >&6; }
  3505  fi
  3506  
  3507  
  3508    fi
  3509  fi
  3510  if test -z "$CC"; then
  3511    # Extract the first word of "cc", so it can be a program name with args.
  3512  set dummy cc; ac_word=$2
  3513  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3514  $as_echo_n "checking for $ac_word... " >&6; }
  3515  if ${ac_cv_prog_CC+:} false; then :
  3516    $as_echo_n "(cached) " >&6
  3517  else
  3518    if test -n "$CC"; then
  3519    ac_cv_prog_CC="$CC" # Let the user override the test.
  3520  else
  3521    ac_prog_rejected=no
  3522  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3523  for as_dir in $PATH
  3524  do
  3525    IFS=$as_save_IFS
  3526    test -z "$as_dir" && as_dir=.
  3527      for ac_exec_ext in '' $ac_executable_extensions; do
  3528    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3529      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3530         ac_prog_rejected=yes
  3531         continue
  3532       fi
  3533      ac_cv_prog_CC="cc"
  3534      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3535      break 2
  3536    fi
  3537  done
  3538    done
  3539  IFS=$as_save_IFS
  3540  
  3541  if test $ac_prog_rejected = yes; then
  3542    # We found a bogon in the path, so make sure we never use it.
  3543    set dummy $ac_cv_prog_CC
  3544    shift
  3545    if test $# != 0; then
  3546      # We chose a different compiler from the bogus one.
  3547      # However, it has the same basename, so the bogon will be chosen
  3548      # first if we set CC to just the basename; use the full file name.
  3549      shift
  3550      ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3551    fi
  3552  fi
  3553  fi
  3554  fi
  3555  CC=$ac_cv_prog_CC
  3556  if test -n "$CC"; then
  3557    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3558  $as_echo "$CC" >&6; }
  3559  else
  3560    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3561  $as_echo "no" >&6; }
  3562  fi
  3563  
  3564  
  3565  fi
  3566  if test -z "$CC"; then
  3567    if test -n "$ac_tool_prefix"; then
  3568    for ac_prog in cl.exe
  3569    do
  3570      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3571  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3572  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3573  $as_echo_n "checking for $ac_word... " >&6; }
  3574  if ${ac_cv_prog_CC+:} false; then :
  3575    $as_echo_n "(cached) " >&6
  3576  else
  3577    if test -n "$CC"; then
  3578    ac_cv_prog_CC="$CC" # Let the user override the test.
  3579  else
  3580  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3581  for as_dir in $PATH
  3582  do
  3583    IFS=$as_save_IFS
  3584    test -z "$as_dir" && as_dir=.
  3585      for ac_exec_ext in '' $ac_executable_extensions; do
  3586    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3587      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3588      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3589      break 2
  3590    fi
  3591  done
  3592    done
  3593  IFS=$as_save_IFS
  3594  
  3595  fi
  3596  fi
  3597  CC=$ac_cv_prog_CC
  3598  if test -n "$CC"; then
  3599    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3600  $as_echo "$CC" >&6; }
  3601  else
  3602    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3603  $as_echo "no" >&6; }
  3604  fi
  3605  
  3606  
  3607      test -n "$CC" && break
  3608    done
  3609  fi
  3610  if test -z "$CC"; then
  3611    ac_ct_CC=$CC
  3612    for ac_prog in cl.exe
  3613  do
  3614    # Extract the first word of "$ac_prog", so it can be a program name with args.
  3615  set dummy $ac_prog; ac_word=$2
  3616  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3617  $as_echo_n "checking for $ac_word... " >&6; }
  3618  if ${ac_cv_prog_ac_ct_CC+:} false; then :
  3619    $as_echo_n "(cached) " >&6
  3620  else
  3621    if test -n "$ac_ct_CC"; then
  3622    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3623  else
  3624  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3625  for as_dir in $PATH
  3626  do
  3627    IFS=$as_save_IFS
  3628    test -z "$as_dir" && as_dir=.
  3629      for ac_exec_ext in '' $ac_executable_extensions; do
  3630    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3631      ac_cv_prog_ac_ct_CC="$ac_prog"
  3632      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3633      break 2
  3634    fi
  3635  done
  3636    done
  3637  IFS=$as_save_IFS
  3638  
  3639  fi
  3640  fi
  3641  ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3642  if test -n "$ac_ct_CC"; then
  3643    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3644  $as_echo "$ac_ct_CC" >&6; }
  3645  else
  3646    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3647  $as_echo "no" >&6; }
  3648  fi
  3649  
  3650  
  3651    test -n "$ac_ct_CC" && break
  3652  done
  3653  
  3654    if test "x$ac_ct_CC" = x; then
  3655      CC=""
  3656    else
  3657      case $cross_compiling:$ac_tool_warned in
  3658  yes:)
  3659  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3660  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3661  ac_tool_warned=yes ;;
  3662  esac
  3663      CC=$ac_ct_CC
  3664    fi
  3665  fi
  3666  
  3667  fi
  3668  
  3669  
  3670  test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3671  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3672  as_fn_error $? "no acceptable C compiler found in \$PATH
  3673  See \`config.log' for more details" "$LINENO" 5; }
  3674  
  3675  # Provide some information about the compiler.
  3676  $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  3677  set X $ac_compile
  3678  ac_compiler=$2
  3679  for ac_option in --version -v -V -qversion; do
  3680    { { ac_try="$ac_compiler $ac_option >&5"
  3681  case "(($ac_try" in
  3682    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3683    *) ac_try_echo=$ac_try;;
  3684  esac
  3685  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3686  $as_echo "$ac_try_echo"; } >&5
  3687    (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  3688    ac_status=$?
  3689    if test -s conftest.err; then
  3690      sed '10a\
  3691  ... rest of stderr output deleted ...
  3692           10q' conftest.err >conftest.er1
  3693      cat conftest.er1 >&5
  3694    fi
  3695    rm -f conftest.er1 conftest.err
  3696    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3697    test $ac_status = 0; }
  3698  done
  3699  
  3700  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3701  /* end confdefs.h.  */
  3702  
  3703  int
  3704  main ()
  3705  {
  3706  
  3707    ;
  3708    return 0;
  3709  }
  3710  _ACEOF
  3711  ac_clean_files_save=$ac_clean_files
  3712  ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  3713  # Try to create an executable without -o first, disregard a.out.
  3714  # It will help us diagnose broken compilers, and finding out an intuition
  3715  # of exeext.
  3716  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  3717  $as_echo_n "checking whether the C compiler works... " >&6; }
  3718  ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  3719  
  3720  # The possible output files:
  3721  ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  3722  
  3723  ac_rmfiles=
  3724  for ac_file in $ac_files
  3725  do
  3726    case $ac_file in
  3727      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3728      * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  3729    esac
  3730  done
  3731  rm -f $ac_rmfiles
  3732  
  3733  if { { ac_try="$ac_link_default"
  3734  case "(($ac_try" in
  3735    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3736    *) ac_try_echo=$ac_try;;
  3737  esac
  3738  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3739  $as_echo "$ac_try_echo"; } >&5
  3740    (eval "$ac_link_default") 2>&5
  3741    ac_status=$?
  3742    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3743    test $ac_status = 0; }; then :
  3744    # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  3745  # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  3746  # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  3747  # so that the user can short-circuit this test for compilers unknown to
  3748  # Autoconf.
  3749  for ac_file in $ac_files ''
  3750  do
  3751    test -f "$ac_file" || continue
  3752    case $ac_file in
  3753      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  3754  	;;
  3755      [ab].out )
  3756  	# We found the default executable, but exeext='' is most
  3757  	# certainly right.
  3758  	break;;
  3759      *.* )
  3760  	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  3761  	then :; else
  3762  	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3763  	fi
  3764  	# We set ac_cv_exeext here because the later test for it is not
  3765  	# safe: cross compilers may not add the suffix if given an `-o'
  3766  	# argument, so we may need to know it at that point already.
  3767  	# Even if this section looks crufty: it has the advantage of
  3768  	# actually working.
  3769  	break;;
  3770      * )
  3771  	break;;
  3772    esac
  3773  done
  3774  test "$ac_cv_exeext" = no && ac_cv_exeext=
  3775  
  3776  else
  3777    ac_file=''
  3778  fi
  3779  if test -z "$ac_file"; then :
  3780    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3781  $as_echo "no" >&6; }
  3782  $as_echo "$as_me: failed program was:" >&5
  3783  sed 's/^/| /' conftest.$ac_ext >&5
  3784  
  3785  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3786  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3787  as_fn_error 77 "C compiler cannot create executables
  3788  See \`config.log' for more details" "$LINENO" 5; }
  3789  else
  3790    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3791  $as_echo "yes" >&6; }
  3792  fi
  3793  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  3794  $as_echo_n "checking for C compiler default output file name... " >&6; }
  3795  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  3796  $as_echo "$ac_file" >&6; }
  3797  ac_exeext=$ac_cv_exeext
  3798  
  3799  rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  3800  ac_clean_files=$ac_clean_files_save
  3801  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  3802  $as_echo_n "checking for suffix of executables... " >&6; }
  3803  if { { ac_try="$ac_link"
  3804  case "(($ac_try" in
  3805    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3806    *) ac_try_echo=$ac_try;;
  3807  esac
  3808  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3809  $as_echo "$ac_try_echo"; } >&5
  3810    (eval "$ac_link") 2>&5
  3811    ac_status=$?
  3812    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3813    test $ac_status = 0; }; then :
  3814    # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3815  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  3816  # work properly (i.e., refer to `conftest.exe'), while it won't with
  3817  # `rm'.
  3818  for ac_file in conftest.exe conftest conftest.*; do
  3819    test -f "$ac_file" || continue
  3820    case $ac_file in
  3821      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3822      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3823  	  break;;
  3824      * ) break;;
  3825    esac
  3826  done
  3827  else
  3828    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3829  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3830  as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  3831  See \`config.log' for more details" "$LINENO" 5; }
  3832  fi
  3833  rm -f conftest conftest$ac_cv_exeext
  3834  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  3835  $as_echo "$ac_cv_exeext" >&6; }
  3836  
  3837  rm -f conftest.$ac_ext
  3838  EXEEXT=$ac_cv_exeext
  3839  ac_exeext=$EXEEXT
  3840  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3841  /* end confdefs.h.  */
  3842  #include <stdio.h>
  3843  int
  3844  main ()
  3845  {
  3846  FILE *f = fopen ("conftest.out", "w");
  3847   return ferror (f) || fclose (f) != 0;
  3848  
  3849    ;
  3850    return 0;
  3851  }
  3852  _ACEOF
  3853  ac_clean_files="$ac_clean_files conftest.out"
  3854  # Check that the compiler produces executables we can run.  If not, either
  3855  # the compiler is broken, or we cross compile.
  3856  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  3857  $as_echo_n "checking whether we are cross compiling... " >&6; }
  3858  if test "$cross_compiling" != yes; then
  3859    { { ac_try="$ac_link"
  3860  case "(($ac_try" in
  3861    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3862    *) ac_try_echo=$ac_try;;
  3863  esac
  3864  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3865  $as_echo "$ac_try_echo"; } >&5
  3866    (eval "$ac_link") 2>&5
  3867    ac_status=$?
  3868    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3869    test $ac_status = 0; }
  3870    if { ac_try='./conftest$ac_cv_exeext'
  3871    { { case "(($ac_try" in
  3872    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3873    *) ac_try_echo=$ac_try;;
  3874  esac
  3875  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3876  $as_echo "$ac_try_echo"; } >&5
  3877    (eval "$ac_try") 2>&5
  3878    ac_status=$?
  3879    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3880    test $ac_status = 0; }; }; then
  3881      cross_compiling=no
  3882    else
  3883      if test "$cross_compiling" = maybe; then
  3884  	cross_compiling=yes
  3885      else
  3886  	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3887  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3888  as_fn_error $? "cannot run C compiled programs.
  3889  If you meant to cross compile, use \`--host'.
  3890  See \`config.log' for more details" "$LINENO" 5; }
  3891      fi
  3892    fi
  3893  fi
  3894  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  3895  $as_echo "$cross_compiling" >&6; }
  3896  
  3897  rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  3898  ac_clean_files=$ac_clean_files_save
  3899  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  3900  $as_echo_n "checking for suffix of object files... " >&6; }
  3901  if ${ac_cv_objext+:} false; then :
  3902    $as_echo_n "(cached) " >&6
  3903  else
  3904    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3905  /* end confdefs.h.  */
  3906  
  3907  int
  3908  main ()
  3909  {
  3910  
  3911    ;
  3912    return 0;
  3913  }
  3914  _ACEOF
  3915  rm -f conftest.o conftest.obj
  3916  if { { ac_try="$ac_compile"
  3917  case "(($ac_try" in
  3918    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3919    *) ac_try_echo=$ac_try;;
  3920  esac
  3921  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3922  $as_echo "$ac_try_echo"; } >&5
  3923    (eval "$ac_compile") 2>&5
  3924    ac_status=$?
  3925    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3926    test $ac_status = 0; }; then :
  3927    for ac_file in conftest.o conftest.obj conftest.*; do
  3928    test -f "$ac_file" || continue;
  3929    case $ac_file in
  3930      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3931      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3932         break;;
  3933    esac
  3934  done
  3935  else
  3936    $as_echo "$as_me: failed program was:" >&5
  3937  sed 's/^/| /' conftest.$ac_ext >&5
  3938  
  3939  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3940  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3941  as_fn_error $? "cannot compute suffix of object files: cannot compile
  3942  See \`config.log' for more details" "$LINENO" 5; }
  3943  fi
  3944  rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3945  fi
  3946  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  3947  $as_echo "$ac_cv_objext" >&6; }
  3948  OBJEXT=$ac_cv_objext
  3949  ac_objext=$OBJEXT
  3950  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  3951  $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3952  if ${ac_cv_c_compiler_gnu+:} false; then :
  3953    $as_echo_n "(cached) " >&6
  3954  else
  3955    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3956  /* end confdefs.h.  */
  3957  
  3958  int
  3959  main ()
  3960  {
  3961  #ifndef __GNUC__
  3962         choke me
  3963  #endif
  3964  
  3965    ;
  3966    return 0;
  3967  }
  3968  _ACEOF
  3969  if ac_fn_c_try_compile "$LINENO"; then :
  3970    ac_compiler_gnu=yes
  3971  else
  3972    ac_compiler_gnu=no
  3973  fi
  3974  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3975  ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3976  
  3977  fi
  3978  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  3979  $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3980  if test $ac_compiler_gnu = yes; then
  3981    GCC=yes
  3982  else
  3983    GCC=
  3984  fi
  3985  ac_test_CFLAGS=${CFLAGS+set}
  3986  ac_save_CFLAGS=$CFLAGS
  3987  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  3988  $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3989  if ${ac_cv_prog_cc_g+:} false; then :
  3990    $as_echo_n "(cached) " >&6
  3991  else
  3992    ac_save_c_werror_flag=$ac_c_werror_flag
  3993     ac_c_werror_flag=yes
  3994     ac_cv_prog_cc_g=no
  3995     CFLAGS="-g"
  3996     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3997  /* end confdefs.h.  */
  3998  
  3999  int
  4000  main ()
  4001  {
  4002  
  4003    ;
  4004    return 0;
  4005  }
  4006  _ACEOF
  4007  if ac_fn_c_try_compile "$LINENO"; then :
  4008    ac_cv_prog_cc_g=yes
  4009  else
  4010    CFLAGS=""
  4011        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4012  /* end confdefs.h.  */
  4013  
  4014  int
  4015  main ()
  4016  {
  4017  
  4018    ;
  4019    return 0;
  4020  }
  4021  _ACEOF
  4022  if ac_fn_c_try_compile "$LINENO"; then :
  4023  
  4024  else
  4025    ac_c_werror_flag=$ac_save_c_werror_flag
  4026  	 CFLAGS="-g"
  4027  	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4028  /* end confdefs.h.  */
  4029  
  4030  int
  4031  main ()
  4032  {
  4033  
  4034    ;
  4035    return 0;
  4036  }
  4037  _ACEOF
  4038  if ac_fn_c_try_compile "$LINENO"; then :
  4039    ac_cv_prog_cc_g=yes
  4040  fi
  4041  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4042  fi
  4043  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4044  fi
  4045  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4046     ac_c_werror_flag=$ac_save_c_werror_flag
  4047  fi
  4048  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  4049  $as_echo "$ac_cv_prog_cc_g" >&6; }
  4050  if test "$ac_test_CFLAGS" = set; then
  4051    CFLAGS=$ac_save_CFLAGS
  4052  elif test $ac_cv_prog_cc_g = yes; then
  4053    if test "$GCC" = yes; then
  4054      CFLAGS="-g -O2"
  4055    else
  4056      CFLAGS="-g"
  4057    fi
  4058  else
  4059    if test "$GCC" = yes; then
  4060      CFLAGS="-O2"
  4061    else
  4062      CFLAGS=
  4063    fi
  4064  fi
  4065  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  4066  $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  4067  if ${ac_cv_prog_cc_c89+:} false; then :
  4068    $as_echo_n "(cached) " >&6
  4069  else
  4070    ac_cv_prog_cc_c89=no
  4071  ac_save_CC=$CC
  4072  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4073  /* end confdefs.h.  */
  4074  #include <stdarg.h>
  4075  #include <stdio.h>
  4076  struct stat;
  4077  /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  4078  struct buf { int x; };
  4079  FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4080  static char *e (p, i)
  4081       char **p;
  4082       int i;
  4083  {
  4084    return p[i];
  4085  }
  4086  static char *f (char * (*g) (char **, int), char **p, ...)
  4087  {
  4088    char *s;
  4089    va_list v;
  4090    va_start (v,p);
  4091    s = g (p, va_arg (v,int));
  4092    va_end (v);
  4093    return s;
  4094  }
  4095  
  4096  /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  4097     function prototypes and stuff, but not '\xHH' hex character constants.
  4098     These don't provoke an error unfortunately, instead are silently treated
  4099     as 'x'.  The following induces an error, until -std is added to get
  4100     proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  4101     array size at least.  It's necessary to write '\x00'==0 to get something
  4102     that's true only with -std.  */
  4103  int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4104  
  4105  /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4106     inside strings and character constants.  */
  4107  #define FOO(x) 'x'
  4108  int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4109  
  4110  int test (int i, double x);
  4111  struct s1 {int (*f) (int a);};
  4112  struct s2 {int (*f) (double a);};
  4113  int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4114  int argc;
  4115  char **argv;
  4116  int
  4117  main ()
  4118  {
  4119  return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  4120    ;
  4121    return 0;
  4122  }
  4123  _ACEOF
  4124  for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4125  	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4126  do
  4127    CC="$ac_save_CC $ac_arg"
  4128    if ac_fn_c_try_compile "$LINENO"; then :
  4129    ac_cv_prog_cc_c89=$ac_arg
  4130  fi
  4131  rm -f core conftest.err conftest.$ac_objext
  4132    test "x$ac_cv_prog_cc_c89" != "xno" && break
  4133  done
  4134  rm -f conftest.$ac_ext
  4135  CC=$ac_save_CC
  4136  
  4137  fi
  4138  # AC_CACHE_VAL
  4139  case "x$ac_cv_prog_cc_c89" in
  4140    x)
  4141      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  4142  $as_echo "none needed" >&6; } ;;
  4143    xno)
  4144      { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  4145  $as_echo "unsupported" >&6; } ;;
  4146    *)
  4147      CC="$CC $ac_cv_prog_cc_c89"
  4148      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  4149  $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  4150  esac
  4151  if test "x$ac_cv_prog_cc_c89" != xno; then :
  4152  
  4153  fi
  4154  
  4155  ac_ext=c
  4156  ac_cpp='$CPP $CPPFLAGS'
  4157  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4158  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4159  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4160  
  4161  ac_ext=c
  4162  ac_cpp='$CPP $CPPFLAGS'
  4163  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4164  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4165  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4166  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  4167  $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
  4168  if ${am_cv_prog_cc_c_o+:} false; then :
  4169    $as_echo_n "(cached) " >&6
  4170  else
  4171    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4172  /* end confdefs.h.  */
  4173  
  4174  int
  4175  main ()
  4176  {
  4177  
  4178    ;
  4179    return 0;
  4180  }
  4181  _ACEOF
  4182    # Make sure it works both with $CC and with simple cc.
  4183    # Following AC_PROG_CC_C_O, we do the test twice because some
  4184    # compilers refuse to overwrite an existing .o file with -o,
  4185    # though they will create one.
  4186    am_cv_prog_cc_c_o=yes
  4187    for am_i in 1 2; do
  4188      if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  4189     ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  4190     ac_status=$?
  4191     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4192     (exit $ac_status); } \
  4193           && test -f conftest2.$ac_objext; then
  4194        : OK
  4195      else
  4196        am_cv_prog_cc_c_o=no
  4197        break
  4198      fi
  4199    done
  4200    rm -f core conftest*
  4201    unset am_i
  4202  fi
  4203  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  4204  $as_echo "$am_cv_prog_cc_c_o" >&6; }
  4205  if test "$am_cv_prog_cc_c_o" != yes; then
  4206     # Losing compiler, so override with the script.
  4207     # FIXME: It is wrong to rewrite CC.
  4208     # But if we don't then we get into trouble of one sort or another.
  4209     # A longer-term fix would be to have automake use am__CC in this case,
  4210     # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  4211     CC="$am_aux_dir/compile $CC"
  4212  fi
  4213  ac_ext=c
  4214  ac_cpp='$CPP $CPPFLAGS'
  4215  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4216  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4217  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4218  
  4219  DEPDIR="${am__leading_dot}deps"
  4220  
  4221  ac_config_commands="$ac_config_commands depfiles"
  4222  
  4223  
  4224  am_make=${MAKE-make}
  4225  cat > confinc << 'END'
  4226  am__doit:
  4227  	@echo this is the am__doit target
  4228  .PHONY: am__doit
  4229  END
  4230  # If we don't find an include directive, just comment out the code.
  4231  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  4232  $as_echo_n "checking for style of include used by $am_make... " >&6; }
  4233  am__include="#"
  4234  am__quote=
  4235  _am_result=none
  4236  # First try GNU make style include.
  4237  echo "include confinc" > confmf
  4238  # Ignore all kinds of additional output from 'make'.
  4239  case `$am_make -s -f confmf 2> /dev/null` in #(
  4240  *the\ am__doit\ target*)
  4241    am__include=include
  4242    am__quote=
  4243    _am_result=GNU
  4244    ;;
  4245  esac
  4246  # Now try BSD make style include.
  4247  if test "$am__include" = "#"; then
  4248     echo '.include "confinc"' > confmf
  4249     case `$am_make -s -f confmf 2> /dev/null` in #(
  4250     *the\ am__doit\ target*)
  4251       am__include=.include
  4252       am__quote="\""
  4253       _am_result=BSD
  4254       ;;
  4255     esac
  4256  fi
  4257  
  4258  
  4259  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  4260  $as_echo "$_am_result" >&6; }
  4261  rm -f confinc confmf
  4262  
  4263  # Check whether --enable-dependency-tracking was given.
  4264  if test "${enable_dependency_tracking+set}" = set; then :
  4265    enableval=$enable_dependency_tracking;
  4266  fi
  4267  
  4268  if test "x$enable_dependency_tracking" != xno; then
  4269    am_depcomp="$ac_aux_dir/depcomp"
  4270    AMDEPBACKSLASH='\'
  4271    am__nodep='_no'
  4272  fi
  4273   if test "x$enable_dependency_tracking" != xno; then
  4274    AMDEP_TRUE=
  4275    AMDEP_FALSE='#'
  4276  else
  4277    AMDEP_TRUE='#'
  4278    AMDEP_FALSE=
  4279  fi
  4280  
  4281  
  4282  
  4283  depcc="$CC"   am_compiler_list=
  4284  
  4285  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  4286  $as_echo_n "checking dependency style of $depcc... " >&6; }
  4287  if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  4288    $as_echo_n "(cached) " >&6
  4289  else
  4290    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4291    # We make a subdir and do the tests there.  Otherwise we can end up
  4292    # making bogus files that we don't know about and never remove.  For
  4293    # instance it was reported that on HP-UX the gcc test will end up
  4294    # making a dummy file named 'D' -- because '-MD' means "put the output
  4295    # in D".
  4296    rm -rf conftest.dir
  4297    mkdir conftest.dir
  4298    # Copy depcomp to subdir because otherwise we won't find it if we're
  4299    # using a relative directory.
  4300    cp "$am_depcomp" conftest.dir
  4301    cd conftest.dir
  4302    # We will build objects and dependencies in a subdirectory because
  4303    # it helps to detect inapplicable dependency modes.  For instance
  4304    # both Tru64's cc and ICC support -MD to output dependencies as a
  4305    # side effect of compilation, but ICC will put the dependencies in
  4306    # the current directory while Tru64 will put them in the object
  4307    # directory.
  4308    mkdir sub
  4309  
  4310    am_cv_CC_dependencies_compiler_type=none
  4311    if test "$am_compiler_list" = ""; then
  4312       am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4313    fi
  4314    am__universal=false
  4315    case " $depcc " in #(
  4316       *\ -arch\ *\ -arch\ *) am__universal=true ;;
  4317       esac
  4318  
  4319    for depmode in $am_compiler_list; do
  4320      # Setup a source with many dependencies, because some compilers
  4321      # like to wrap large dependency lists on column 80 (with \), and
  4322      # we should not choose a depcomp mode which is confused by this.
  4323      #
  4324      # We need to recreate these files for each test, as the compiler may
  4325      # overwrite some of them when testing with obscure command lines.
  4326      # This happens at least with the AIX C compiler.
  4327      : > sub/conftest.c
  4328      for i in 1 2 3 4 5 6; do
  4329        echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4330        # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  4331        # Solaris 10 /bin/sh.
  4332        echo '/* dummy */' > sub/conftst$i.h
  4333      done
  4334      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4335  
  4336      # We check with '-c' and '-o' for the sake of the "dashmstdout"
  4337      # mode.  It turns out that the SunPro C++ compiler does not properly
  4338      # handle '-M -o', and we need to detect this.  Also, some Intel
  4339      # versions had trouble with output in subdirs.
  4340      am__obj=sub/conftest.${OBJEXT-o}
  4341      am__minus_obj="-o $am__obj"
  4342      case $depmode in
  4343      gcc)
  4344        # This depmode causes a compiler race in universal mode.
  4345        test "$am__universal" = false || continue
  4346        ;;
  4347      nosideeffect)
  4348        # After this tag, mechanisms are not by side-effect, so they'll
  4349        # only be used when explicitly requested.
  4350        if test "x$enable_dependency_tracking" = xyes; then
  4351  	continue
  4352        else
  4353  	break
  4354        fi
  4355        ;;
  4356      msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  4357        # This compiler won't grok '-c -o', but also, the minuso test has
  4358        # not run yet.  These depmodes are late enough in the game, and
  4359        # so weak that their functioning should not be impacted.
  4360        am__obj=conftest.${OBJEXT-o}
  4361        am__minus_obj=
  4362        ;;
  4363      none) break ;;
  4364      esac
  4365      if depmode=$depmode \
  4366         source=sub/conftest.c object=$am__obj \
  4367         depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4368         $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  4369           >/dev/null 2>conftest.err &&
  4370         grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  4371         grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4372         grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  4373         ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4374        # icc doesn't choke on unknown options, it will just issue warnings
  4375        # or remarks (even with -Werror).  So we grep stderr for any message
  4376        # that says an option was ignored or not supported.
  4377        # When given -MP, icc 7.0 and 7.1 complain thusly:
  4378        #   icc: Command line warning: ignoring option '-M'; no argument required
  4379        # The diagnosis changed in icc 8.0:
  4380        #   icc: Command line remark: option '-MP' not supported
  4381        if (grep 'ignoring option' conftest.err ||
  4382            grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  4383          am_cv_CC_dependencies_compiler_type=$depmode
  4384          break
  4385        fi
  4386      fi
  4387    done
  4388  
  4389    cd ..
  4390    rm -rf conftest.dir
  4391  else
  4392    am_cv_CC_dependencies_compiler_type=none
  4393  fi
  4394  
  4395  fi
  4396  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  4397  $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  4398  CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  4399  
  4400   if
  4401    test "x$enable_dependency_tracking" != xno \
  4402    && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  4403    am__fastdepCC_TRUE=
  4404    am__fastdepCC_FALSE='#'
  4405  else
  4406    am__fastdepCC_TRUE='#'
  4407    am__fastdepCC_FALSE=
  4408  fi
  4409  
  4410  
  4411  ac_ext=go
  4412  ac_compile='$GOC -c $GOFLAGS conftest.$ac_ext >&5'
  4413  ac_link='$GOC -o conftest$ac_exeext $GOFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4414  ac_compiler_gnu=yes
  4415  if test -n "$ac_tool_prefix"; then
  4416    # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
  4417  set dummy ${ac_tool_prefix}gccgo; ac_word=$2
  4418  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4419  $as_echo_n "checking for $ac_word... " >&6; }
  4420  if ${ac_cv_prog_GOC+:} false; then :
  4421    $as_echo_n "(cached) " >&6
  4422  else
  4423    if test -n "$GOC"; then
  4424    ac_cv_prog_GOC="$GOC" # Let the user override the test.
  4425  else
  4426  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4427  for as_dir in $PATH
  4428  do
  4429    IFS=$as_save_IFS
  4430    test -z "$as_dir" && as_dir=.
  4431      for ac_exec_ext in '' $ac_executable_extensions; do
  4432    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4433      ac_cv_prog_GOC="${ac_tool_prefix}gccgo"
  4434      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4435      break 2
  4436    fi
  4437  done
  4438    done
  4439  IFS=$as_save_IFS
  4440  
  4441  fi
  4442  fi
  4443  GOC=$ac_cv_prog_GOC
  4444  if test -n "$GOC"; then
  4445    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
  4446  $as_echo "$GOC" >&6; }
  4447  else
  4448    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4449  $as_echo "no" >&6; }
  4450  fi
  4451  
  4452  
  4453  fi
  4454  if test -z "$ac_cv_prog_GOC"; then
  4455    ac_ct_GOC=$GOC
  4456    # Extract the first word of "gccgo", so it can be a program name with args.
  4457  set dummy gccgo; ac_word=$2
  4458  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4459  $as_echo_n "checking for $ac_word... " >&6; }
  4460  if ${ac_cv_prog_ac_ct_GOC+:} false; then :
  4461    $as_echo_n "(cached) " >&6
  4462  else
  4463    if test -n "$ac_ct_GOC"; then
  4464    ac_cv_prog_ac_ct_GOC="$ac_ct_GOC" # Let the user override the test.
  4465  else
  4466  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4467  for as_dir in $PATH
  4468  do
  4469    IFS=$as_save_IFS
  4470    test -z "$as_dir" && as_dir=.
  4471      for ac_exec_ext in '' $ac_executable_extensions; do
  4472    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4473      ac_cv_prog_ac_ct_GOC="gccgo"
  4474      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4475      break 2
  4476    fi
  4477  done
  4478    done
  4479  IFS=$as_save_IFS
  4480  
  4481  fi
  4482  fi
  4483  ac_ct_GOC=$ac_cv_prog_ac_ct_GOC
  4484  if test -n "$ac_ct_GOC"; then
  4485    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
  4486  $as_echo "$ac_ct_GOC" >&6; }
  4487  else
  4488    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4489  $as_echo "no" >&6; }
  4490  fi
  4491  
  4492    if test "x$ac_ct_GOC" = x; then
  4493      GOC=""
  4494    else
  4495      case $cross_compiling:$ac_tool_warned in
  4496  yes:)
  4497  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4498  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4499  ac_tool_warned=yes ;;
  4500  esac
  4501      GOC=$ac_ct_GOC
  4502    fi
  4503  else
  4504    GOC="$ac_cv_prog_GOC"
  4505  fi
  4506  
  4507  if test -z "$GOC"; then
  4508    if test -n "$ac_tool_prefix"; then
  4509      # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
  4510  set dummy ${ac_tool_prefix}gccgo; ac_word=$2
  4511  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4512  $as_echo_n "checking for $ac_word... " >&6; }
  4513  if ${ac_cv_prog_GOC+:} false; then :
  4514    $as_echo_n "(cached) " >&6
  4515  else
  4516    if test -n "$GOC"; then
  4517    ac_cv_prog_GOC="$GOC" # Let the user override the test.
  4518  else
  4519  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4520  for as_dir in $PATH
  4521  do
  4522    IFS=$as_save_IFS
  4523    test -z "$as_dir" && as_dir=.
  4524      for ac_exec_ext in '' $ac_executable_extensions; do
  4525    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4526      ac_cv_prog_GOC="$ac_tool_prefix}gccgo"
  4527      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4528      break 2
  4529    fi
  4530  done
  4531    done
  4532  IFS=$as_save_IFS
  4533  
  4534  fi
  4535  fi
  4536  GOC=$ac_cv_prog_GOC
  4537  if test -n "$GOC"; then
  4538    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
  4539  $as_echo "$GOC" >&6; }
  4540  else
  4541    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4542  $as_echo "no" >&6; }
  4543  fi
  4544  
  4545  
  4546    fi
  4547  fi
  4548  if test -z "$GOC"; then
  4549    # Extract the first word of "gccgo", so it can be a program name with args.
  4550  set dummy gccgo; ac_word=$2
  4551  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4552  $as_echo_n "checking for $ac_word... " >&6; }
  4553  if ${ac_cv_prog_GOC+:} false; then :
  4554    $as_echo_n "(cached) " >&6
  4555  else
  4556    if test -n "$GOC"; then
  4557    ac_cv_prog_GOC="$GOC" # Let the user override the test.
  4558  else
  4559    ac_prog_rejected=no
  4560  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4561  for as_dir in $PATH
  4562  do
  4563    IFS=$as_save_IFS
  4564    test -z "$as_dir" && as_dir=.
  4565      for ac_exec_ext in '' $ac_executable_extensions; do
  4566    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4567      if test "$as_dir/$ac_word$ac_exec_ext" = "false"; then
  4568         ac_prog_rejected=yes
  4569         continue
  4570       fi
  4571      ac_cv_prog_GOC="gccgo"
  4572      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4573      break 2
  4574    fi
  4575  done
  4576    done
  4577  IFS=$as_save_IFS
  4578  
  4579  if test $ac_prog_rejected = yes; then
  4580    # We found a bogon in the path, so make sure we never use it.
  4581    set dummy $ac_cv_prog_GOC
  4582    shift
  4583    if test $# != 0; then
  4584      # We chose a different compiler from the bogus one.
  4585      # However, it has the same basename, so the bogon will be chosen
  4586      # first if we set GOC to just the basename; use the full file name.
  4587      shift
  4588      ac_cv_prog_GOC="$as_dir/$ac_word${1+' '}$@"
  4589    fi
  4590  fi
  4591  fi
  4592  fi
  4593  GOC=$ac_cv_prog_GOC
  4594  if test -n "$GOC"; then
  4595    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
  4596  $as_echo "$GOC" >&6; }
  4597  else
  4598    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4599  $as_echo "no" >&6; }
  4600  fi
  4601  
  4602  
  4603  fi
  4604  
  4605  
  4606  # Provide some information about the compiler.
  4607  $as_echo "$as_me:${as_lineno-$LINENO}: checking for Go compiler version" >&5
  4608  set X $ac_compile
  4609  ac_compiler=$2
  4610  { { ac_try="$ac_compiler --version >&5"
  4611  case "(($ac_try" in
  4612    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4613    *) ac_try_echo=$ac_try;;
  4614  esac
  4615  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4616  $as_echo "$ac_try_echo"; } >&5
  4617    (eval "$ac_compiler --version >&5") 2>conftest.err
  4618    ac_status=$?
  4619    if test -s conftest.err; then
  4620      sed '10a\
  4621  ... rest of stderr output deleted ...
  4622           10q' conftest.err >conftest.er1
  4623      cat conftest.er1 >&5
  4624    fi
  4625    rm -f conftest.er1 conftest.err
  4626    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4627    test $ac_status = 0; }
  4628  GOFLAGS="-g -O2"
  4629  ac_ext=c
  4630  ac_cpp='$CPP $CPPFLAGS'
  4631  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4632  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4633  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4634  
  4635  # By default we simply use the C compiler to build assembly code.
  4636  
  4637  test "${CCAS+set}" = set || CCAS=$CC
  4638  test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
  4639  
  4640  
  4641  
  4642  depcc="$CCAS"   am_compiler_list=
  4643  
  4644  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  4645  $as_echo_n "checking dependency style of $depcc... " >&6; }
  4646  if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
  4647    $as_echo_n "(cached) " >&6
  4648  else
  4649    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4650    # We make a subdir and do the tests there.  Otherwise we can end up
  4651    # making bogus files that we don't know about and never remove.  For
  4652    # instance it was reported that on HP-UX the gcc test will end up
  4653    # making a dummy file named 'D' -- because '-MD' means "put the output
  4654    # in D".
  4655    rm -rf conftest.dir
  4656    mkdir conftest.dir
  4657    # Copy depcomp to subdir because otherwise we won't find it if we're
  4658    # using a relative directory.
  4659    cp "$am_depcomp" conftest.dir
  4660    cd conftest.dir
  4661    # We will build objects and dependencies in a subdirectory because
  4662    # it helps to detect inapplicable dependency modes.  For instance
  4663    # both Tru64's cc and ICC support -MD to output dependencies as a
  4664    # side effect of compilation, but ICC will put the dependencies in
  4665    # the current directory while Tru64 will put them in the object
  4666    # directory.
  4667    mkdir sub
  4668  
  4669    am_cv_CCAS_dependencies_compiler_type=none
  4670    if test "$am_compiler_list" = ""; then
  4671       am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4672    fi
  4673    am__universal=false
  4674  
  4675  
  4676    for depmode in $am_compiler_list; do
  4677      # Setup a source with many dependencies, because some compilers
  4678      # like to wrap large dependency lists on column 80 (with \), and
  4679      # we should not choose a depcomp mode which is confused by this.
  4680      #
  4681      # We need to recreate these files for each test, as the compiler may
  4682      # overwrite some of them when testing with obscure command lines.
  4683      # This happens at least with the AIX C compiler.
  4684      : > sub/conftest.c
  4685      for i in 1 2 3 4 5 6; do
  4686        echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4687        # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  4688        # Solaris 10 /bin/sh.
  4689        echo '/* dummy */' > sub/conftst$i.h
  4690      done
  4691      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4692  
  4693      # We check with '-c' and '-o' for the sake of the "dashmstdout"
  4694      # mode.  It turns out that the SunPro C++ compiler does not properly
  4695      # handle '-M -o', and we need to detect this.  Also, some Intel
  4696      # versions had trouble with output in subdirs.
  4697      am__obj=sub/conftest.${OBJEXT-o}
  4698      am__minus_obj="-o $am__obj"
  4699      case $depmode in
  4700      gcc)
  4701        # This depmode causes a compiler race in universal mode.
  4702        test "$am__universal" = false || continue
  4703        ;;
  4704      nosideeffect)
  4705        # After this tag, mechanisms are not by side-effect, so they'll
  4706        # only be used when explicitly requested.
  4707        if test "x$enable_dependency_tracking" = xyes; then
  4708  	continue
  4709        else
  4710  	break
  4711        fi
  4712        ;;
  4713      msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  4714        # This compiler won't grok '-c -o', but also, the minuso test has
  4715        # not run yet.  These depmodes are late enough in the game, and
  4716        # so weak that their functioning should not be impacted.
  4717        am__obj=conftest.${OBJEXT-o}
  4718        am__minus_obj=
  4719        ;;
  4720      none) break ;;
  4721      esac
  4722      if depmode=$depmode \
  4723         source=sub/conftest.c object=$am__obj \
  4724         depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4725         $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  4726           >/dev/null 2>conftest.err &&
  4727         grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  4728         grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4729         grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  4730         ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4731        # icc doesn't choke on unknown options, it will just issue warnings
  4732        # or remarks (even with -Werror).  So we grep stderr for any message
  4733        # that says an option was ignored or not supported.
  4734        # When given -MP, icc 7.0 and 7.1 complain thusly:
  4735        #   icc: Command line warning: ignoring option '-M'; no argument required
  4736        # The diagnosis changed in icc 8.0:
  4737        #   icc: Command line remark: option '-MP' not supported
  4738        if (grep 'ignoring option' conftest.err ||
  4739            grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  4740          am_cv_CCAS_dependencies_compiler_type=$depmode
  4741          break
  4742        fi
  4743      fi
  4744    done
  4745  
  4746    cd ..
  4747    rm -rf conftest.dir
  4748  else
  4749    am_cv_CCAS_dependencies_compiler_type=none
  4750  fi
  4751  
  4752  fi
  4753  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
  4754  $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
  4755  CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
  4756  
  4757   if
  4758    test "x$enable_dependency_tracking" != xno \
  4759    && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
  4760    am__fastdepCCAS_TRUE=
  4761    am__fastdepCCAS_FALSE='#'
  4762  else
  4763    am__fastdepCCAS_TRUE='#'
  4764    am__fastdepCCAS_FALSE=
  4765  fi
  4766  
  4767  
  4768  
  4769  
  4770  
  4771  
  4772  case ${host} in
  4773    *-*-aix*)
  4774      # Check default architecture for FAT library creation
  4775      if test -z "`$CC -x c -E /dev/null -g3 -o - | grep 64BIT`" ; then
  4776          AIX_EXTRA_ARCH='64'
  4777      else
  4778          AIX_EXTRA_ARCH='32'
  4779      fi
  4780  
  4781      ;;
  4782  esac
  4783  
  4784  
  4785  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
  4786  $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
  4787      # Check whether --enable-maintainer-mode was given.
  4788  if test "${enable_maintainer_mode+set}" = set; then :
  4789    enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  4790  else
  4791    USE_MAINTAINER_MODE=no
  4792  fi
  4793  
  4794    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
  4795  $as_echo "$USE_MAINTAINER_MODE" >&6; }
  4796     if test $USE_MAINTAINER_MODE = yes; then
  4797    MAINTAINER_MODE_TRUE=
  4798    MAINTAINER_MODE_FALSE='#'
  4799  else
  4800    MAINTAINER_MODE_TRUE='#'
  4801    MAINTAINER_MODE_FALSE=
  4802  fi
  4803  
  4804    MAINT=$MAINTAINER_MODE_TRUE
  4805  
  4806  
  4807  
  4808  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  4809  $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  4810  if ${ac_cv_path_SED+:} false; then :
  4811    $as_echo_n "(cached) " >&6
  4812  else
  4813              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  4814       for ac_i in 1 2 3 4 5 6 7; do
  4815         ac_script="$ac_script$as_nl$ac_script"
  4816       done
  4817       echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  4818       { ac_script=; unset ac_script;}
  4819       if test -z "$SED"; then
  4820    ac_path_SED_found=false
  4821    # Loop through the user's path and test for each of PROGNAME-LIST
  4822    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4823  for as_dir in $PATH
  4824  do
  4825    IFS=$as_save_IFS
  4826    test -z "$as_dir" && as_dir=.
  4827      for ac_prog in sed gsed; do
  4828      for ac_exec_ext in '' $ac_executable_extensions; do
  4829        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  4830        as_fn_executable_p "$ac_path_SED" || continue
  4831  # Check for GNU ac_path_SED and select it if it is found.
  4832    # Check for GNU $ac_path_SED
  4833  case `"$ac_path_SED" --version 2>&1` in
  4834  *GNU*)
  4835    ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  4836  *)
  4837    ac_count=0
  4838    $as_echo_n 0123456789 >"conftest.in"
  4839    while :
  4840    do
  4841      cat "conftest.in" "conftest.in" >"conftest.tmp"
  4842      mv "conftest.tmp" "conftest.in"
  4843      cp "conftest.in" "conftest.nl"
  4844      $as_echo '' >> "conftest.nl"
  4845      "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4846      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4847      as_fn_arith $ac_count + 1 && ac_count=$as_val
  4848      if test $ac_count -gt ${ac_path_SED_max-0}; then
  4849        # Best one so far, save it but keep looking for a better one
  4850        ac_cv_path_SED="$ac_path_SED"
  4851        ac_path_SED_max=$ac_count
  4852      fi
  4853      # 10*(2^10) chars as input seems more than enough
  4854      test $ac_count -gt 10 && break
  4855    done
  4856    rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4857  esac
  4858  
  4859        $ac_path_SED_found && break 3
  4860      done
  4861    done
  4862    done
  4863  IFS=$as_save_IFS
  4864    if test -z "$ac_cv_path_SED"; then
  4865      as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  4866    fi
  4867  else
  4868    ac_cv_path_SED=$SED
  4869  fi
  4870  
  4871  fi
  4872  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  4873  $as_echo "$ac_cv_path_SED" >&6; }
  4874   SED="$ac_cv_path_SED"
  4875    rm -f conftest.sed
  4876  
  4877  test -z "$SED" && SED=sed
  4878  Xsed="$SED -e 1s/^X//"
  4879  
  4880  
  4881  
  4882  
  4883  
  4884  
  4885  
  4886  
  4887  
  4888  
  4889  
  4890  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  4891  $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  4892  if ${ac_cv_path_GREP+:} false; then :
  4893    $as_echo_n "(cached) " >&6
  4894  else
  4895    if test -z "$GREP"; then
  4896    ac_path_GREP_found=false
  4897    # Loop through the user's path and test for each of PROGNAME-LIST
  4898    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4899  for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4900  do
  4901    IFS=$as_save_IFS
  4902    test -z "$as_dir" && as_dir=.
  4903      for ac_prog in grep ggrep; do
  4904      for ac_exec_ext in '' $ac_executable_extensions; do
  4905        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  4906        as_fn_executable_p "$ac_path_GREP" || continue
  4907  # Check for GNU ac_path_GREP and select it if it is found.
  4908    # Check for GNU $ac_path_GREP
  4909  case `"$ac_path_GREP" --version 2>&1` in
  4910  *GNU*)
  4911    ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  4912  *)
  4913    ac_count=0
  4914    $as_echo_n 0123456789 >"conftest.in"
  4915    while :
  4916    do
  4917      cat "conftest.in" "conftest.in" >"conftest.tmp"
  4918      mv "conftest.tmp" "conftest.in"
  4919      cp "conftest.in" "conftest.nl"
  4920      $as_echo 'GREP' >> "conftest.nl"
  4921      "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4922      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4923      as_fn_arith $ac_count + 1 && ac_count=$as_val
  4924      if test $ac_count -gt ${ac_path_GREP_max-0}; then
  4925        # Best one so far, save it but keep looking for a better one
  4926        ac_cv_path_GREP="$ac_path_GREP"
  4927        ac_path_GREP_max=$ac_count
  4928      fi
  4929      # 10*(2^10) chars as input seems more than enough
  4930      test $ac_count -gt 10 && break
  4931    done
  4932    rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4933  esac
  4934  
  4935        $ac_path_GREP_found && break 3
  4936      done
  4937    done
  4938    done
  4939  IFS=$as_save_IFS
  4940    if test -z "$ac_cv_path_GREP"; then
  4941      as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4942    fi
  4943  else
  4944    ac_cv_path_GREP=$GREP
  4945  fi
  4946  
  4947  fi
  4948  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  4949  $as_echo "$ac_cv_path_GREP" >&6; }
  4950   GREP="$ac_cv_path_GREP"
  4951  
  4952  
  4953  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  4954  $as_echo_n "checking for egrep... " >&6; }
  4955  if ${ac_cv_path_EGREP+:} false; then :
  4956    $as_echo_n "(cached) " >&6
  4957  else
  4958    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  4959     then ac_cv_path_EGREP="$GREP -E"
  4960     else
  4961       if test -z "$EGREP"; then
  4962    ac_path_EGREP_found=false
  4963    # Loop through the user's path and test for each of PROGNAME-LIST
  4964    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4965  for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4966  do
  4967    IFS=$as_save_IFS
  4968    test -z "$as_dir" && as_dir=.
  4969      for ac_prog in egrep; do
  4970      for ac_exec_ext in '' $ac_executable_extensions; do
  4971        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  4972        as_fn_executable_p "$ac_path_EGREP" || continue
  4973  # Check for GNU ac_path_EGREP and select it if it is found.
  4974    # Check for GNU $ac_path_EGREP
  4975  case `"$ac_path_EGREP" --version 2>&1` in
  4976  *GNU*)
  4977    ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  4978  *)
  4979    ac_count=0
  4980    $as_echo_n 0123456789 >"conftest.in"
  4981    while :
  4982    do
  4983      cat "conftest.in" "conftest.in" >"conftest.tmp"
  4984      mv "conftest.tmp" "conftest.in"
  4985      cp "conftest.in" "conftest.nl"
  4986      $as_echo 'EGREP' >> "conftest.nl"
  4987      "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4988      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4989      as_fn_arith $ac_count + 1 && ac_count=$as_val
  4990      if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  4991        # Best one so far, save it but keep looking for a better one
  4992        ac_cv_path_EGREP="$ac_path_EGREP"
  4993        ac_path_EGREP_max=$ac_count
  4994      fi
  4995      # 10*(2^10) chars as input seems more than enough
  4996      test $ac_count -gt 10 && break
  4997    done
  4998    rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4999  esac
  5000  
  5001        $ac_path_EGREP_found && break 3
  5002      done
  5003    done
  5004    done
  5005  IFS=$as_save_IFS
  5006    if test -z "$ac_cv_path_EGREP"; then
  5007      as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  5008    fi
  5009  else
  5010    ac_cv_path_EGREP=$EGREP
  5011  fi
  5012  
  5013     fi
  5014  fi
  5015  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  5016  $as_echo "$ac_cv_path_EGREP" >&6; }
  5017   EGREP="$ac_cv_path_EGREP"
  5018  
  5019  
  5020  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  5021  $as_echo_n "checking for fgrep... " >&6; }
  5022  if ${ac_cv_path_FGREP+:} false; then :
  5023    $as_echo_n "(cached) " >&6
  5024  else
  5025    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  5026     then ac_cv_path_FGREP="$GREP -F"
  5027     else
  5028       if test -z "$FGREP"; then
  5029    ac_path_FGREP_found=false
  5030    # Loop through the user's path and test for each of PROGNAME-LIST
  5031    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5032  for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  5033  do
  5034    IFS=$as_save_IFS
  5035    test -z "$as_dir" && as_dir=.
  5036      for ac_prog in fgrep; do
  5037      for ac_exec_ext in '' $ac_executable_extensions; do
  5038        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  5039        as_fn_executable_p "$ac_path_FGREP" || continue
  5040  # Check for GNU ac_path_FGREP and select it if it is found.
  5041    # Check for GNU $ac_path_FGREP
  5042  case `"$ac_path_FGREP" --version 2>&1` in
  5043  *GNU*)
  5044    ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  5045  *)
  5046    ac_count=0
  5047    $as_echo_n 0123456789 >"conftest.in"
  5048    while :
  5049    do
  5050      cat "conftest.in" "conftest.in" >"conftest.tmp"
  5051      mv "conftest.tmp" "conftest.in"
  5052      cp "conftest.in" "conftest.nl"
  5053      $as_echo 'FGREP' >> "conftest.nl"
  5054      "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5055      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5056      as_fn_arith $ac_count + 1 && ac_count=$as_val
  5057      if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  5058        # Best one so far, save it but keep looking for a better one
  5059        ac_cv_path_FGREP="$ac_path_FGREP"
  5060        ac_path_FGREP_max=$ac_count
  5061      fi
  5062      # 10*(2^10) chars as input seems more than enough
  5063      test $ac_count -gt 10 && break
  5064    done
  5065    rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5066  esac
  5067  
  5068        $ac_path_FGREP_found && break 3
  5069      done
  5070    done
  5071    done
  5072  IFS=$as_save_IFS
  5073    if test -z "$ac_cv_path_FGREP"; then
  5074      as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  5075    fi
  5076  else
  5077    ac_cv_path_FGREP=$FGREP
  5078  fi
  5079  
  5080     fi
  5081  fi
  5082  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  5083  $as_echo "$ac_cv_path_FGREP" >&6; }
  5084   FGREP="$ac_cv_path_FGREP"
  5085  
  5086  
  5087  test -z "$GREP" && GREP=grep
  5088  
  5089  
  5090  
  5091  
  5092  
  5093  
  5094  
  5095  
  5096  
  5097  
  5098  
  5099  
  5100  
  5101  
  5102  
  5103  
  5104  
  5105  ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  5106  ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  5107  ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  5108  
  5109  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  5110  $as_echo_n "checking how to print strings... " >&6; }
  5111  # Test print first, because it will be a builtin if present.
  5112  if test "X`print -r -- -n 2>/dev/null`" = X-n && \
  5113     test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  5114    ECHO='print -r --'
  5115  elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  5116    ECHO='printf %s\n'
  5117  else
  5118    # Use this function as a fallback that always works.
  5119    func_fallback_echo ()
  5120    {
  5121      eval 'cat <<_LTECHO_EOF
  5122  $1
  5123  _LTECHO_EOF'
  5124    }
  5125    ECHO='func_fallback_echo'
  5126  fi
  5127  
  5128  # func_echo_all arg...
  5129  # Invoke $ECHO with all args, space-separated.
  5130  func_echo_all ()
  5131  {
  5132      $ECHO ""
  5133  }
  5134  
  5135  case "$ECHO" in
  5136    printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  5137  $as_echo "printf" >&6; } ;;
  5138    print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  5139  $as_echo "print -r" >&6; } ;;
  5140    *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  5141  $as_echo "cat" >&6; } ;;
  5142  esac
  5143  
  5144  
  5145  
  5146  
  5147  
  5148  
  5149  
  5150  
  5151  
  5152  
  5153  
  5154  
  5155  
  5156  
  5157  
  5158  
  5159  # Check whether --with-gnu-ld was given.
  5160  if test "${with_gnu_ld+set}" = set; then :
  5161    withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  5162  else
  5163    with_gnu_ld=no
  5164  fi
  5165  
  5166  ac_prog=ld
  5167  if test "$GCC" = yes; then
  5168    # Check if gcc -print-prog-name=ld gives a path.
  5169    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  5170  $as_echo_n "checking for ld used by $CC... " >&6; }
  5171    case $host in
  5172    *-*-mingw*)
  5173      # gcc leaves a trailing carriage return which upsets mingw
  5174      ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  5175    *)
  5176      ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  5177    esac
  5178    case $ac_prog in
  5179      # Accept absolute paths.
  5180      [\\/]* | ?:[\\/]*)
  5181        re_direlt='/[^/][^/]*/\.\./'
  5182        # Canonicalize the pathname of ld
  5183        ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  5184        while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  5185  	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  5186        done
  5187        test -z "$LD" && LD="$ac_prog"
  5188        ;;
  5189    "")
  5190      # If it fails, then pretend we aren't using GCC.
  5191      ac_prog=ld
  5192      ;;
  5193    *)
  5194      # If it is relative, then search for the first ld in PATH.
  5195      with_gnu_ld=unknown
  5196      ;;
  5197    esac
  5198  elif test "$with_gnu_ld" = yes; then
  5199    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  5200  $as_echo_n "checking for GNU ld... " >&6; }
  5201  else
  5202    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  5203  $as_echo_n "checking for non-GNU ld... " >&6; }
  5204  fi
  5205  if ${lt_cv_path_LD+:} false; then :
  5206    $as_echo_n "(cached) " >&6
  5207  else
  5208    if test -z "$LD"; then
  5209    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  5210    for ac_dir in $PATH; do
  5211      IFS="$lt_save_ifs"
  5212      test -z "$ac_dir" && ac_dir=.
  5213      if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  5214        lt_cv_path_LD="$ac_dir/$ac_prog"
  5215        # Check to see if the program is GNU ld.  I'd rather use --version,
  5216        # but apparently some variants of GNU ld only accept -v.
  5217        # Break only if it was the GNU/non-GNU ld that we prefer.
  5218        case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  5219        *GNU* | *'with BFD'*)
  5220  	test "$with_gnu_ld" != no && break
  5221  	;;
  5222        *)
  5223  	test "$with_gnu_ld" != yes && break
  5224  	;;
  5225        esac
  5226      fi
  5227    done
  5228    IFS="$lt_save_ifs"
  5229  else
  5230    lt_cv_path_LD="$LD" # Let the user override the test with a path.
  5231  fi
  5232  fi
  5233  
  5234  LD="$lt_cv_path_LD"
  5235  if test -n "$LD"; then
  5236    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  5237  $as_echo "$LD" >&6; }
  5238  else
  5239    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5240  $as_echo "no" >&6; }
  5241  fi
  5242  test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  5243  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  5244  $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  5245  if ${lt_cv_prog_gnu_ld+:} false; then :
  5246    $as_echo_n "(cached) " >&6
  5247  else
  5248    # I'd rather use --version here, but apparently some GNU lds only accept -v.
  5249  case `$LD -v 2>&1 </dev/null` in
  5250  *GNU* | *'with BFD'*)
  5251    lt_cv_prog_gnu_ld=yes
  5252    ;;
  5253  *)
  5254    lt_cv_prog_gnu_ld=no
  5255    ;;
  5256  esac
  5257  fi
  5258  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  5259  $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  5260  with_gnu_ld=$lt_cv_prog_gnu_ld
  5261  
  5262  
  5263  
  5264  
  5265  
  5266  
  5267  
  5268  
  5269  
  5270  if test -n "$ac_tool_prefix"; then
  5271    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  5272  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  5273  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5274  $as_echo_n "checking for $ac_word... " >&6; }
  5275  if ${ac_cv_prog_RANLIB+:} false; then :
  5276    $as_echo_n "(cached) " >&6
  5277  else
  5278    if test -n "$RANLIB"; then
  5279    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  5280  else
  5281  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5282  for as_dir in $PATH
  5283  do
  5284    IFS=$as_save_IFS
  5285    test -z "$as_dir" && as_dir=.
  5286      for ac_exec_ext in '' $ac_executable_extensions; do
  5287    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5288      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  5289      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5290      break 2
  5291    fi
  5292  done
  5293    done
  5294  IFS=$as_save_IFS
  5295  
  5296  fi
  5297  fi
  5298  RANLIB=$ac_cv_prog_RANLIB
  5299  if test -n "$RANLIB"; then
  5300    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  5301  $as_echo "$RANLIB" >&6; }
  5302  else
  5303    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5304  $as_echo "no" >&6; }
  5305  fi
  5306  
  5307  
  5308  fi
  5309  if test -z "$ac_cv_prog_RANLIB"; then
  5310    ac_ct_RANLIB=$RANLIB
  5311    # Extract the first word of "ranlib", so it can be a program name with args.
  5312  set dummy ranlib; ac_word=$2
  5313  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5314  $as_echo_n "checking for $ac_word... " >&6; }
  5315  if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  5316    $as_echo_n "(cached) " >&6
  5317  else
  5318    if test -n "$ac_ct_RANLIB"; then
  5319    ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  5320  else
  5321  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5322  for as_dir in $PATH
  5323  do
  5324    IFS=$as_save_IFS
  5325    test -z "$as_dir" && as_dir=.
  5326      for ac_exec_ext in '' $ac_executable_extensions; do
  5327    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5328      ac_cv_prog_ac_ct_RANLIB="ranlib"
  5329      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5330      break 2
  5331    fi
  5332  done
  5333    done
  5334  IFS=$as_save_IFS
  5335  
  5336  fi
  5337  fi
  5338  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  5339  if test -n "$ac_ct_RANLIB"; then
  5340    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  5341  $as_echo "$ac_ct_RANLIB" >&6; }
  5342  else
  5343    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5344  $as_echo "no" >&6; }
  5345  fi
  5346  
  5347    if test "x$ac_ct_RANLIB" = x; then
  5348      RANLIB=":"
  5349    else
  5350      case $cross_compiling:$ac_tool_warned in
  5351  yes:)
  5352  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5353  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5354  ac_tool_warned=yes ;;
  5355  esac
  5356      RANLIB=$ac_ct_RANLIB
  5357    fi
  5358  else
  5359    RANLIB="$ac_cv_prog_RANLIB"
  5360  fi
  5361  
  5362  if test -n "$ac_tool_prefix"; then
  5363    # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
  5364  set dummy ${ac_tool_prefix}objcopy; ac_word=$2
  5365  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5366  $as_echo_n "checking for $ac_word... " >&6; }
  5367  if ${ac_cv_prog_OBJCOPY+:} false; then :
  5368    $as_echo_n "(cached) " >&6
  5369  else
  5370    if test -n "$OBJCOPY"; then
  5371    ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
  5372  else
  5373  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5374  for as_dir in $PATH
  5375  do
  5376    IFS=$as_save_IFS
  5377    test -z "$as_dir" && as_dir=.
  5378      for ac_exec_ext in '' $ac_executable_extensions; do
  5379    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5380      ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
  5381      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5382      break 2
  5383    fi
  5384  done
  5385    done
  5386  IFS=$as_save_IFS
  5387  
  5388  fi
  5389  fi
  5390  OBJCOPY=$ac_cv_prog_OBJCOPY
  5391  if test -n "$OBJCOPY"; then
  5392    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
  5393  $as_echo "$OBJCOPY" >&6; }
  5394  else
  5395    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5396  $as_echo "no" >&6; }
  5397  fi
  5398  
  5399  
  5400  fi
  5401  if test -z "$ac_cv_prog_OBJCOPY"; then
  5402    ac_ct_OBJCOPY=$OBJCOPY
  5403    # Extract the first word of "objcopy", so it can be a program name with args.
  5404  set dummy objcopy; ac_word=$2
  5405  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5406  $as_echo_n "checking for $ac_word... " >&6; }
  5407  if ${ac_cv_prog_ac_ct_OBJCOPY+:} false; then :
  5408    $as_echo_n "(cached) " >&6
  5409  else
  5410    if test -n "$ac_ct_OBJCOPY"; then
  5411    ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
  5412  else
  5413  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5414  for as_dir in $PATH
  5415  do
  5416    IFS=$as_save_IFS
  5417    test -z "$as_dir" && as_dir=.
  5418      for ac_exec_ext in '' $ac_executable_extensions; do
  5419    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5420      ac_cv_prog_ac_ct_OBJCOPY="objcopy"
  5421      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5422      break 2
  5423    fi
  5424  done
  5425    done
  5426  IFS=$as_save_IFS
  5427  
  5428  fi
  5429  fi
  5430  ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
  5431  if test -n "$ac_ct_OBJCOPY"; then
  5432    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
  5433  $as_echo "$ac_ct_OBJCOPY" >&6; }
  5434  else
  5435    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5436  $as_echo "no" >&6; }
  5437  fi
  5438  
  5439    if test "x$ac_ct_OBJCOPY" = x; then
  5440      OBJCOPY="missing-objcopy"
  5441    else
  5442      case $cross_compiling:$ac_tool_warned in
  5443  yes:)
  5444  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5445  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5446  ac_tool_warned=yes ;;
  5447  esac
  5448      OBJCOPY=$ac_ct_OBJCOPY
  5449    fi
  5450  else
  5451    OBJCOPY="$ac_cv_prog_OBJCOPY"
  5452  fi
  5453  
  5454  
  5455  enable_dlopen=yes
  5456  
  5457  
  5458  
  5459  case `pwd` in
  5460    *\ * | *\	*)
  5461      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  5462  $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  5463  esac
  5464  
  5465  
  5466  
  5467  macro_version='2.2.7a'
  5468  macro_revision='1.3134'
  5469  
  5470  
  5471  
  5472  
  5473  
  5474  
  5475  
  5476  
  5477  
  5478  
  5479  
  5480  
  5481  
  5482  ltmain="$ac_aux_dir/ltmain.sh"
  5483  
  5484  # Backslashify metacharacters that are still active within
  5485  # double-quoted strings.
  5486  sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  5487  
  5488  # Same as above, but do not quote variable references.
  5489  double_quote_subst='s/\(["`\\]\)/\\\1/g'
  5490  
  5491  # Sed substitution to delay expansion of an escaped shell variable in a
  5492  # double_quote_subst'ed string.
  5493  delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  5494  
  5495  # Sed substitution to delay expansion of an escaped single quote.
  5496  delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  5497  
  5498  # Sed substitution to avoid accidental globbing in evaled expressions
  5499  no_glob_subst='s/\*/\\\*/g'
  5500  
  5501  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  5502  $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  5503  if ${lt_cv_path_NM+:} false; then :
  5504    $as_echo_n "(cached) " >&6
  5505  else
  5506    if test -n "$NM"; then
  5507    # Let the user override the test.
  5508    lt_cv_path_NM="$NM"
  5509  else
  5510    lt_nm_to_check="${ac_tool_prefix}nm"
  5511    if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  5512      lt_nm_to_check="$lt_nm_to_check nm"
  5513    fi
  5514    for lt_tmp_nm in $lt_nm_to_check; do
  5515      lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  5516      for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  5517        IFS="$lt_save_ifs"
  5518        test -z "$ac_dir" && ac_dir=.
  5519        tmp_nm="$ac_dir/$lt_tmp_nm"
  5520        if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  5521  	# Check to see if the nm accepts a BSD-compat flag.
  5522  	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
  5523  	#   nm: unknown option "B" ignored
  5524  	# Tru64's nm complains that /dev/null is an invalid object file
  5525  	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  5526  	*/dev/null* | *'Invalid file or object type'*)
  5527  	  lt_cv_path_NM="$tmp_nm -B"
  5528  	  break
  5529  	  ;;
  5530  	*)
  5531  	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  5532  	  */dev/null*)
  5533  	    lt_cv_path_NM="$tmp_nm -p"
  5534  	    break
  5535  	    ;;
  5536  	  *)
  5537  	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  5538  	    continue # so that we can try to find one that supports BSD flags
  5539  	    ;;
  5540  	  esac
  5541  	  ;;
  5542  	esac
  5543        fi
  5544      done
  5545      IFS="$lt_save_ifs"
  5546    done
  5547    : ${lt_cv_path_NM=no}
  5548  fi
  5549  fi
  5550  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  5551  $as_echo "$lt_cv_path_NM" >&6; }
  5552  if test "$lt_cv_path_NM" != "no"; then
  5553    NM="$lt_cv_path_NM"
  5554  else
  5555    # Didn't find any BSD compatible name lister, look for dumpbin.
  5556    if test -n "$DUMPBIN"; then :
  5557      # Let the user override the test.
  5558    else
  5559      if test -n "$ac_tool_prefix"; then
  5560    for ac_prog in dumpbin "link -dump"
  5561    do
  5562      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5563  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  5564  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5565  $as_echo_n "checking for $ac_word... " >&6; }
  5566  if ${ac_cv_prog_DUMPBIN+:} false; then :
  5567    $as_echo_n "(cached) " >&6
  5568  else
  5569    if test -n "$DUMPBIN"; then
  5570    ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  5571  else
  5572  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5573  for as_dir in $PATH
  5574  do
  5575    IFS=$as_save_IFS
  5576    test -z "$as_dir" && as_dir=.
  5577      for ac_exec_ext in '' $ac_executable_extensions; do
  5578    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5579      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  5580      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5581      break 2
  5582    fi
  5583  done
  5584    done
  5585  IFS=$as_save_IFS
  5586  
  5587  fi
  5588  fi
  5589  DUMPBIN=$ac_cv_prog_DUMPBIN
  5590  if test -n "$DUMPBIN"; then
  5591    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  5592  $as_echo "$DUMPBIN" >&6; }
  5593  else
  5594    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5595  $as_echo "no" >&6; }
  5596  fi
  5597  
  5598  
  5599      test -n "$DUMPBIN" && break
  5600    done
  5601  fi
  5602  if test -z "$DUMPBIN"; then
  5603    ac_ct_DUMPBIN=$DUMPBIN
  5604    for ac_prog in dumpbin "link -dump"
  5605  do
  5606    # Extract the first word of "$ac_prog", so it can be a program name with args.
  5607  set dummy $ac_prog; ac_word=$2
  5608  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5609  $as_echo_n "checking for $ac_word... " >&6; }
  5610  if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
  5611    $as_echo_n "(cached) " >&6
  5612  else
  5613    if test -n "$ac_ct_DUMPBIN"; then
  5614    ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  5615  else
  5616  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5617  for as_dir in $PATH
  5618  do
  5619    IFS=$as_save_IFS
  5620    test -z "$as_dir" && as_dir=.
  5621      for ac_exec_ext in '' $ac_executable_extensions; do
  5622    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5623      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  5624      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5625      break 2
  5626    fi
  5627  done
  5628    done
  5629  IFS=$as_save_IFS
  5630  
  5631  fi
  5632  fi
  5633  ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  5634  if test -n "$ac_ct_DUMPBIN"; then
  5635    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  5636  $as_echo "$ac_ct_DUMPBIN" >&6; }
  5637  else
  5638    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5639  $as_echo "no" >&6; }
  5640  fi
  5641  
  5642  
  5643    test -n "$ac_ct_DUMPBIN" && break
  5644  done
  5645  
  5646    if test "x$ac_ct_DUMPBIN" = x; then
  5647      DUMPBIN=":"
  5648    else
  5649      case $cross_compiling:$ac_tool_warned in
  5650  yes:)
  5651  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5652  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5653  ac_tool_warned=yes ;;
  5654  esac
  5655      DUMPBIN=$ac_ct_DUMPBIN
  5656    fi
  5657  fi
  5658  
  5659      case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
  5660      *COFF*)
  5661        DUMPBIN="$DUMPBIN -symbols"
  5662        ;;
  5663      *)
  5664        DUMPBIN=:
  5665        ;;
  5666      esac
  5667    fi
  5668  
  5669    if test "$DUMPBIN" != ":"; then
  5670      NM="$DUMPBIN"
  5671    fi
  5672  fi
  5673  test -z "$NM" && NM=nm
  5674  
  5675  
  5676  
  5677  
  5678  
  5679  
  5680  { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  5681  $as_echo_n "checking the name lister ($NM) interface... " >&6; }
  5682  if ${lt_cv_nm_interface+:} false; then :
  5683    $as_echo_n "(cached) " >&6
  5684  else
  5685    lt_cv_nm_interface="BSD nm"
  5686    echo "int some_variable = 0;" > conftest.$ac_ext
  5687    (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  5688    (eval "$ac_compile" 2>conftest.err)
  5689    cat conftest.err >&5
  5690    (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  5691    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  5692    cat conftest.err >&5
  5693    (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  5694    cat conftest.out >&5
  5695    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  5696      lt_cv_nm_interface="MS dumpbin"
  5697    fi
  5698    rm -f conftest*
  5699  fi
  5700  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  5701  $as_echo "$lt_cv_nm_interface" >&6; }
  5702  
  5703  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  5704  $as_echo_n "checking whether ln -s works... " >&6; }
  5705  LN_S=$as_ln_s
  5706  if test "$LN_S" = "ln -s"; then
  5707    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  5708  $as_echo "yes" >&6; }
  5709  else
  5710    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  5711  $as_echo "no, using $LN_S" >&6; }
  5712  fi
  5713  
  5714  # find the maximum length of command line arguments
  5715  { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  5716  $as_echo_n "checking the maximum length of command line arguments... " >&6; }
  5717  if ${lt_cv_sys_max_cmd_len+:} false; then :
  5718    $as_echo_n "(cached) " >&6
  5719  else
  5720      i=0
  5721    teststring="ABCD"
  5722  
  5723    case $build_os in
  5724    msdosdjgpp*)
  5725      # On DJGPP, this test can blow up pretty badly due to problems in libc
  5726      # (any single argument exceeding 2000 bytes causes a buffer overrun
  5727      # during glob expansion).  Even if it were fixed, the result of this
  5728      # check would be larger than it should be.
  5729      lt_cv_sys_max_cmd_len=12288;    # 12K is about right
  5730      ;;
  5731  
  5732    gnu*)
  5733      # Under GNU Hurd, this test is not required because there is
  5734      # no limit to the length of command line arguments.
  5735      # Libtool will interpret -1 as no limit whatsoever
  5736      lt_cv_sys_max_cmd_len=-1;
  5737      ;;
  5738  
  5739    cygwin* | mingw* | cegcc*)
  5740      # On Win9x/ME, this test blows up -- it succeeds, but takes
  5741      # about 5 minutes as the teststring grows exponentially.
  5742      # Worse, since 9x/ME are not pre-emptively multitasking,
  5743      # you end up with a "frozen" computer, even though with patience
  5744      # the test eventually succeeds (with a max line length of 256k).
  5745      # Instead, let's just punt: use the minimum linelength reported by
  5746      # all of the supported platforms: 8192 (on NT/2K/XP).
  5747      lt_cv_sys_max_cmd_len=8192;
  5748      ;;
  5749  
  5750    mint*)
  5751      # On MiNT this can take a long time and run out of memory.
  5752      lt_cv_sys_max_cmd_len=8192;
  5753      ;;
  5754  
  5755    amigaos*)
  5756      # On AmigaOS with pdksh, this test takes hours, literally.
  5757      # So we just punt and use a minimum line length of 8192.
  5758      lt_cv_sys_max_cmd_len=8192;
  5759      ;;
  5760  
  5761    netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  5762      # This has been around since 386BSD, at least.  Likely further.
  5763      if test -x /sbin/sysctl; then
  5764        lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  5765      elif test -x /usr/sbin/sysctl; then
  5766        lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  5767      else
  5768        lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
  5769      fi
  5770      # And add a safety zone
  5771      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  5772      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  5773      ;;
  5774  
  5775    interix*)
  5776      # We know the value 262144 and hardcode it with a safety zone (like BSD)
  5777      lt_cv_sys_max_cmd_len=196608
  5778      ;;
  5779  
  5780    osf*)
  5781      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  5782      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  5783      # nice to cause kernel panics so lets avoid the loop below.
  5784      # First set a reasonable default.
  5785      lt_cv_sys_max_cmd_len=16384
  5786      #
  5787      if test -x /sbin/sysconfig; then
  5788        case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  5789          *1*) lt_cv_sys_max_cmd_len=-1 ;;
  5790        esac
  5791      fi
  5792      ;;
  5793    sco3.2v5*)
  5794      lt_cv_sys_max_cmd_len=102400
  5795      ;;
  5796    sysv5* | sco5v6* | sysv4.2uw2*)
  5797      kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  5798      if test -n "$kargmax"; then
  5799        lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
  5800      else
  5801        lt_cv_sys_max_cmd_len=32768
  5802      fi
  5803      ;;
  5804    *)
  5805      lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  5806      if test -n "$lt_cv_sys_max_cmd_len"; then
  5807        lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  5808        lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  5809      else
  5810        # Make teststring a little bigger before we do anything with it.
  5811        # a 1K string should be a reasonable start.
  5812        for i in 1 2 3 4 5 6 7 8 ; do
  5813          teststring=$teststring$teststring
  5814        done
  5815        SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  5816        # If test is not a shell built-in, we'll probably end up computing a
  5817        # maximum length that is only half of the actual maximum length, but
  5818        # we can't tell.
  5819        while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
  5820  	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  5821  	      test $i != 17 # 1/2 MB should be enough
  5822        do
  5823          i=`expr $i + 1`
  5824          teststring=$teststring$teststring
  5825        done
  5826        # Only check the string length outside the loop.
  5827        lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  5828        teststring=
  5829        # Add a significant safety factor because C++ compilers can tack on
  5830        # massive amounts of additional arguments before passing them to the
  5831        # linker.  It appears as though 1/2 is a usable value.
  5832        lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  5833      fi
  5834      ;;
  5835    esac
  5836  
  5837  fi
  5838  
  5839  if test -n $lt_cv_sys_max_cmd_len ; then
  5840    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  5841  $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  5842  else
  5843    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  5844  $as_echo "none" >&6; }
  5845  fi
  5846  max_cmd_len=$lt_cv_sys_max_cmd_len
  5847  
  5848  
  5849  
  5850  
  5851  
  5852  
  5853  : ${CP="cp -f"}
  5854  : ${MV="mv -f"}
  5855  : ${RM="rm -f"}
  5856  
  5857  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
  5858  $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  5859  # Try some XSI features
  5860  xsi_shell=no
  5861  ( _lt_dummy="a/b/c"
  5862    test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  5863        = c,a/b,, \
  5864      && eval 'test $(( 1 + 1 )) -eq 2 \
  5865      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  5866    && xsi_shell=yes
  5867  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
  5868  $as_echo "$xsi_shell" >&6; }
  5869  
  5870  
  5871  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
  5872  $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  5873  lt_shell_append=no
  5874  ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  5875      >/dev/null 2>&1 \
  5876    && lt_shell_append=yes
  5877  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
  5878  $as_echo "$lt_shell_append" >&6; }
  5879  
  5880  
  5881  if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  5882    lt_unset=unset
  5883  else
  5884    lt_unset=false
  5885  fi
  5886  
  5887  
  5888  
  5889  
  5890  
  5891  # test EBCDIC or ASCII
  5892  case `echo X|tr X '\101'` in
  5893   A) # ASCII based system
  5894      # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  5895    lt_SP2NL='tr \040 \012'
  5896    lt_NL2SP='tr \015\012 \040\040'
  5897    ;;
  5898   *) # EBCDIC based system
  5899    lt_SP2NL='tr \100 \n'
  5900    lt_NL2SP='tr \r\n \100\100'
  5901    ;;
  5902  esac
  5903  
  5904  
  5905  
  5906  
  5907  
  5908  
  5909  
  5910  
  5911  
  5912  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  5913  $as_echo_n "checking for $LD option to reload object files... " >&6; }
  5914  if ${lt_cv_ld_reload_flag+:} false; then :
  5915    $as_echo_n "(cached) " >&6
  5916  else
  5917    lt_cv_ld_reload_flag='-r'
  5918  fi
  5919  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  5920  $as_echo "$lt_cv_ld_reload_flag" >&6; }
  5921  reload_flag=$lt_cv_ld_reload_flag
  5922  case $reload_flag in
  5923  "" | " "*) ;;
  5924  *) reload_flag=" $reload_flag" ;;
  5925  esac
  5926  reload_cmds='$LD$reload_flag -o $output$reload_objs'
  5927  case $host_os in
  5928    darwin*)
  5929      if test "$GCC" = yes; then
  5930        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  5931      else
  5932        reload_cmds='$LD$reload_flag -o $output$reload_objs'
  5933      fi
  5934      ;;
  5935  esac
  5936  
  5937  
  5938  
  5939  
  5940  
  5941  
  5942  
  5943  
  5944  
  5945  if test -n "$ac_tool_prefix"; then
  5946    # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  5947  set dummy ${ac_tool_prefix}objdump; ac_word=$2
  5948  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5949  $as_echo_n "checking for $ac_word... " >&6; }
  5950  if ${ac_cv_prog_OBJDUMP+:} false; then :
  5951    $as_echo_n "(cached) " >&6
  5952  else
  5953    if test -n "$OBJDUMP"; then
  5954    ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  5955  else
  5956  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5957  for as_dir in $PATH
  5958  do
  5959    IFS=$as_save_IFS
  5960    test -z "$as_dir" && as_dir=.
  5961      for ac_exec_ext in '' $ac_executable_extensions; do
  5962    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5963      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  5964      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5965      break 2
  5966    fi
  5967  done
  5968    done
  5969  IFS=$as_save_IFS
  5970  
  5971  fi
  5972  fi
  5973  OBJDUMP=$ac_cv_prog_OBJDUMP
  5974  if test -n "$OBJDUMP"; then
  5975    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  5976  $as_echo "$OBJDUMP" >&6; }
  5977  else
  5978    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5979  $as_echo "no" >&6; }
  5980  fi
  5981  
  5982  
  5983  fi
  5984  if test -z "$ac_cv_prog_OBJDUMP"; then
  5985    ac_ct_OBJDUMP=$OBJDUMP
  5986    # Extract the first word of "objdump", so it can be a program name with args.
  5987  set dummy objdump; ac_word=$2
  5988  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5989  $as_echo_n "checking for $ac_word... " >&6; }
  5990  if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
  5991    $as_echo_n "(cached) " >&6
  5992  else
  5993    if test -n "$ac_ct_OBJDUMP"; then
  5994    ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  5995  else
  5996  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5997  for as_dir in $PATH
  5998  do
  5999    IFS=$as_save_IFS
  6000    test -z "$as_dir" && as_dir=.
  6001      for ac_exec_ext in '' $ac_executable_extensions; do
  6002    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6003      ac_cv_prog_ac_ct_OBJDUMP="objdump"
  6004      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6005      break 2
  6006    fi
  6007  done
  6008    done
  6009  IFS=$as_save_IFS
  6010  
  6011  fi
  6012  fi
  6013  ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  6014  if test -n "$ac_ct_OBJDUMP"; then
  6015    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  6016  $as_echo "$ac_ct_OBJDUMP" >&6; }
  6017  else
  6018    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6019  $as_echo "no" >&6; }
  6020  fi
  6021  
  6022    if test "x$ac_ct_OBJDUMP" = x; then
  6023      OBJDUMP="false"
  6024    else
  6025      case $cross_compiling:$ac_tool_warned in
  6026  yes:)
  6027  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6028  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6029  ac_tool_warned=yes ;;
  6030  esac
  6031      OBJDUMP=$ac_ct_OBJDUMP
  6032    fi
  6033  else
  6034    OBJDUMP="$ac_cv_prog_OBJDUMP"
  6035  fi
  6036  
  6037  test -z "$OBJDUMP" && OBJDUMP=objdump
  6038  
  6039  
  6040  
  6041  
  6042  
  6043  
  6044  
  6045  
  6046  
  6047  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  6048  $as_echo_n "checking how to recognize dependent libraries... " >&6; }
  6049  if ${lt_cv_deplibs_check_method+:} false; then :
  6050    $as_echo_n "(cached) " >&6
  6051  else
  6052    lt_cv_file_magic_cmd='$MAGIC_CMD'
  6053  lt_cv_file_magic_test_file=
  6054  lt_cv_deplibs_check_method='unknown'
  6055  # Need to set the preceding variable on all platforms that support
  6056  # interlibrary dependencies.
  6057  # 'none' -- dependencies not supported.
  6058  # `unknown' -- same as none, but documents that we really don't know.
  6059  # 'pass_all' -- all dependencies passed with no checks.
  6060  # 'test_compile' -- check by making test program.
  6061  # 'file_magic [[regex]]' -- check by looking for files in library path
  6062  # which responds to the $file_magic_cmd with a given extended regex.
  6063  # If you have `file' or equivalent on your system and you're not sure
  6064  # whether `pass_all' will *always* work, you probably want this one.
  6065  
  6066  case $host_os in
  6067  aix[4-9]*)
  6068    lt_cv_deplibs_check_method=pass_all
  6069    ;;
  6070  
  6071  beos*)
  6072    lt_cv_deplibs_check_method=pass_all
  6073    ;;
  6074  
  6075  bsdi[45]*)
  6076    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  6077    lt_cv_file_magic_cmd='/usr/bin/file -L'
  6078    lt_cv_file_magic_test_file=/shlib/libc.so
  6079    ;;
  6080  
  6081  cygwin*)
  6082    # func_win32_libid is a shell function defined in ltmain.sh
  6083    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  6084    lt_cv_file_magic_cmd='func_win32_libid'
  6085    ;;
  6086  
  6087  mingw* | pw32*)
  6088    # Base MSYS/MinGW do not provide the 'file' command needed by
  6089    # func_win32_libid shell function, so use a weaker test based on 'objdump',
  6090    # unless we find 'file', for example because we are cross-compiling.
  6091    # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
  6092    if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
  6093      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  6094      lt_cv_file_magic_cmd='func_win32_libid'
  6095    else
  6096      lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  6097      lt_cv_file_magic_cmd='$OBJDUMP -f'
  6098    fi
  6099    ;;
  6100  
  6101  cegcc*)
  6102    # use the weaker test based on 'objdump'. See mingw*.
  6103    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  6104    lt_cv_file_magic_cmd='$OBJDUMP -f'
  6105    ;;
  6106  
  6107  darwin* | rhapsody*)
  6108    lt_cv_deplibs_check_method=pass_all
  6109    ;;
  6110  
  6111  freebsd* | dragonfly*)
  6112    if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  6113      case $host_cpu in
  6114      i*86 )
  6115        # Not sure whether the presence of OpenBSD here was a mistake.
  6116        # Let's accept both of them until this is cleared up.
  6117        lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  6118        lt_cv_file_magic_cmd=/usr/bin/file
  6119        lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  6120        ;;
  6121      esac
  6122    else
  6123      lt_cv_deplibs_check_method=pass_all
  6124    fi
  6125    ;;
  6126  
  6127  gnu*)
  6128    lt_cv_deplibs_check_method=pass_all
  6129    ;;
  6130  
  6131  haiku*)
  6132    lt_cv_deplibs_check_method=pass_all
  6133    ;;
  6134  
  6135  hpux10.20* | hpux11*)
  6136    lt_cv_file_magic_cmd=/usr/bin/file
  6137    case $host_cpu in
  6138    ia64*)
  6139      lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  6140      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  6141      ;;
  6142    hppa*64*)
  6143      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]'
  6144      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  6145      ;;
  6146    *)
  6147      lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  6148      lt_cv_file_magic_test_file=/usr/lib/libc.sl
  6149      ;;
  6150    esac
  6151    ;;
  6152  
  6153  interix[3-9]*)
  6154    # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  6155    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  6156    ;;
  6157  
  6158  irix5* | irix6* | nonstopux*)
  6159    case $LD in
  6160    *-32|*"-32 ") libmagic=32-bit;;
  6161    *-n32|*"-n32 ") libmagic=N32;;
  6162    *-64|*"-64 ") libmagic=64-bit;;
  6163    *) libmagic=never-match;;
  6164    esac
  6165    lt_cv_deplibs_check_method=pass_all
  6166    ;;
  6167  
  6168  # This must be Linux ELF.
  6169  linux* | k*bsd*-gnu | kopensolaris*-gnu)
  6170    lt_cv_deplibs_check_method=pass_all
  6171    ;;
  6172  
  6173  netbsd*)
  6174    if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  6175      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  6176    else
  6177      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  6178    fi
  6179    ;;
  6180  
  6181  newos6*)
  6182    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  6183    lt_cv_file_magic_cmd=/usr/bin/file
  6184    lt_cv_file_magic_test_file=/usr/lib/libnls.so
  6185    ;;
  6186  
  6187  *nto* | *qnx*)
  6188    lt_cv_deplibs_check_method=pass_all
  6189    ;;
  6190  
  6191  openbsd*)
  6192    if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  6193      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  6194    else
  6195      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  6196    fi
  6197    ;;
  6198  
  6199  osf3* | osf4* | osf5*)
  6200    lt_cv_deplibs_check_method=pass_all
  6201    ;;
  6202  
  6203  rdos*)
  6204    lt_cv_deplibs_check_method=pass_all
  6205    ;;
  6206  
  6207  solaris*)
  6208    lt_cv_deplibs_check_method=pass_all
  6209    ;;
  6210  
  6211  sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  6212    lt_cv_deplibs_check_method=pass_all
  6213    ;;
  6214  
  6215  sysv4 | sysv4.3*)
  6216    case $host_vendor in
  6217    motorola)
  6218      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]'
  6219      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  6220      ;;
  6221    ncr)
  6222      lt_cv_deplibs_check_method=pass_all
  6223      ;;
  6224    sequent)
  6225      lt_cv_file_magic_cmd='/bin/file'
  6226      lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  6227      ;;
  6228    sni)
  6229      lt_cv_file_magic_cmd='/bin/file'
  6230      lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  6231      lt_cv_file_magic_test_file=/lib/libc.so
  6232      ;;
  6233    siemens)
  6234      lt_cv_deplibs_check_method=pass_all
  6235      ;;
  6236    pc)
  6237      lt_cv_deplibs_check_method=pass_all
  6238      ;;
  6239    esac
  6240    ;;
  6241  
  6242  tpf*)
  6243    lt_cv_deplibs_check_method=pass_all
  6244    ;;
  6245  esac
  6246  
  6247  fi
  6248  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  6249  $as_echo "$lt_cv_deplibs_check_method" >&6; }
  6250  file_magic_cmd=$lt_cv_file_magic_cmd
  6251  deplibs_check_method=$lt_cv_deplibs_check_method
  6252  test -z "$deplibs_check_method" && deplibs_check_method=unknown
  6253  
  6254  
  6255  
  6256  
  6257  
  6258  
  6259  
  6260  
  6261  
  6262  
  6263  
  6264  
  6265  if test -n "$ac_tool_prefix"; then
  6266    # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  6267  set dummy ${ac_tool_prefix}ar; ac_word=$2
  6268  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6269  $as_echo_n "checking for $ac_word... " >&6; }
  6270  if ${ac_cv_prog_AR+:} false; then :
  6271    $as_echo_n "(cached) " >&6
  6272  else
  6273    if test -n "$AR"; then
  6274    ac_cv_prog_AR="$AR" # Let the user override the test.
  6275  else
  6276  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6277  for as_dir in $PATH
  6278  do
  6279    IFS=$as_save_IFS
  6280    test -z "$as_dir" && as_dir=.
  6281      for ac_exec_ext in '' $ac_executable_extensions; do
  6282    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6283      ac_cv_prog_AR="${ac_tool_prefix}ar"
  6284      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6285      break 2
  6286    fi
  6287  done
  6288    done
  6289  IFS=$as_save_IFS
  6290  
  6291  fi
  6292  fi
  6293  AR=$ac_cv_prog_AR
  6294  if test -n "$AR"; then
  6295    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  6296  $as_echo "$AR" >&6; }
  6297  else
  6298    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6299  $as_echo "no" >&6; }
  6300  fi
  6301  
  6302  
  6303  fi
  6304  if test -z "$ac_cv_prog_AR"; then
  6305    ac_ct_AR=$AR
  6306    # Extract the first word of "ar", so it can be a program name with args.
  6307  set dummy ar; ac_word=$2
  6308  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6309  $as_echo_n "checking for $ac_word... " >&6; }
  6310  if ${ac_cv_prog_ac_ct_AR+:} false; then :
  6311    $as_echo_n "(cached) " >&6
  6312  else
  6313    if test -n "$ac_ct_AR"; then
  6314    ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  6315  else
  6316  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6317  for as_dir in $PATH
  6318  do
  6319    IFS=$as_save_IFS
  6320    test -z "$as_dir" && as_dir=.
  6321      for ac_exec_ext in '' $ac_executable_extensions; do
  6322    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6323      ac_cv_prog_ac_ct_AR="ar"
  6324      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6325      break 2
  6326    fi
  6327  done
  6328    done
  6329  IFS=$as_save_IFS
  6330  
  6331  fi
  6332  fi
  6333  ac_ct_AR=$ac_cv_prog_ac_ct_AR
  6334  if test -n "$ac_ct_AR"; then
  6335    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  6336  $as_echo "$ac_ct_AR" >&6; }
  6337  else
  6338    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6339  $as_echo "no" >&6; }
  6340  fi
  6341  
  6342    if test "x$ac_ct_AR" = x; then
  6343      AR="false"
  6344    else
  6345      case $cross_compiling:$ac_tool_warned in
  6346  yes:)
  6347  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6348  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6349  ac_tool_warned=yes ;;
  6350  esac
  6351      AR=$ac_ct_AR
  6352    fi
  6353  else
  6354    AR="$ac_cv_prog_AR"
  6355  fi
  6356  
  6357  test -z "$AR" && AR=ar
  6358  test -z "$AR_FLAGS" && AR_FLAGS=cru
  6359  
  6360  
  6361  
  6362  
  6363  
  6364  
  6365  
  6366  
  6367  
  6368  
  6369  
  6370  if test -n "$ac_tool_prefix"; then
  6371    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  6372  set dummy ${ac_tool_prefix}strip; ac_word=$2
  6373  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6374  $as_echo_n "checking for $ac_word... " >&6; }
  6375  if ${ac_cv_prog_STRIP+:} false; then :
  6376    $as_echo_n "(cached) " >&6
  6377  else
  6378    if test -n "$STRIP"; then
  6379    ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  6380  else
  6381  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6382  for as_dir in $PATH
  6383  do
  6384    IFS=$as_save_IFS
  6385    test -z "$as_dir" && as_dir=.
  6386      for ac_exec_ext in '' $ac_executable_extensions; do
  6387    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6388      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  6389      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6390      break 2
  6391    fi
  6392  done
  6393    done
  6394  IFS=$as_save_IFS
  6395  
  6396  fi
  6397  fi
  6398  STRIP=$ac_cv_prog_STRIP
  6399  if test -n "$STRIP"; then
  6400    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  6401  $as_echo "$STRIP" >&6; }
  6402  else
  6403    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6404  $as_echo "no" >&6; }
  6405  fi
  6406  
  6407  
  6408  fi
  6409  if test -z "$ac_cv_prog_STRIP"; then
  6410    ac_ct_STRIP=$STRIP
  6411    # Extract the first word of "strip", so it can be a program name with args.
  6412  set dummy strip; ac_word=$2
  6413  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6414  $as_echo_n "checking for $ac_word... " >&6; }
  6415  if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  6416    $as_echo_n "(cached) " >&6
  6417  else
  6418    if test -n "$ac_ct_STRIP"; then
  6419    ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  6420  else
  6421  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6422  for as_dir in $PATH
  6423  do
  6424    IFS=$as_save_IFS
  6425    test -z "$as_dir" && as_dir=.
  6426      for ac_exec_ext in '' $ac_executable_extensions; do
  6427    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6428      ac_cv_prog_ac_ct_STRIP="strip"
  6429      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6430      break 2
  6431    fi
  6432  done
  6433    done
  6434  IFS=$as_save_IFS
  6435  
  6436  fi
  6437  fi
  6438  ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  6439  if test -n "$ac_ct_STRIP"; then
  6440    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  6441  $as_echo "$ac_ct_STRIP" >&6; }
  6442  else
  6443    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6444  $as_echo "no" >&6; }
  6445  fi
  6446  
  6447    if test "x$ac_ct_STRIP" = x; then
  6448      STRIP=":"
  6449    else
  6450      case $cross_compiling:$ac_tool_warned in
  6451  yes:)
  6452  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6453  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6454  ac_tool_warned=yes ;;
  6455  esac
  6456      STRIP=$ac_ct_STRIP
  6457    fi
  6458  else
  6459    STRIP="$ac_cv_prog_STRIP"
  6460  fi
  6461  
  6462  test -z "$STRIP" && STRIP=:
  6463  
  6464  
  6465  
  6466  
  6467  
  6468  
  6469  if test -n "$ac_tool_prefix"; then
  6470    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  6471  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  6472  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6473  $as_echo_n "checking for $ac_word... " >&6; }
  6474  if ${ac_cv_prog_RANLIB+:} false; then :
  6475    $as_echo_n "(cached) " >&6
  6476  else
  6477    if test -n "$RANLIB"; then
  6478    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  6479  else
  6480  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6481  for as_dir in $PATH
  6482  do
  6483    IFS=$as_save_IFS
  6484    test -z "$as_dir" && as_dir=.
  6485      for ac_exec_ext in '' $ac_executable_extensions; do
  6486    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6487      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  6488      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6489      break 2
  6490    fi
  6491  done
  6492    done
  6493  IFS=$as_save_IFS
  6494  
  6495  fi
  6496  fi
  6497  RANLIB=$ac_cv_prog_RANLIB
  6498  if test -n "$RANLIB"; then
  6499    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  6500  $as_echo "$RANLIB" >&6; }
  6501  else
  6502    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6503  $as_echo "no" >&6; }
  6504  fi
  6505  
  6506  
  6507  fi
  6508  if test -z "$ac_cv_prog_RANLIB"; then
  6509    ac_ct_RANLIB=$RANLIB
  6510    # Extract the first word of "ranlib", so it can be a program name with args.
  6511  set dummy ranlib; ac_word=$2
  6512  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6513  $as_echo_n "checking for $ac_word... " >&6; }
  6514  if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  6515    $as_echo_n "(cached) " >&6
  6516  else
  6517    if test -n "$ac_ct_RANLIB"; then
  6518    ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  6519  else
  6520  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6521  for as_dir in $PATH
  6522  do
  6523    IFS=$as_save_IFS
  6524    test -z "$as_dir" && as_dir=.
  6525      for ac_exec_ext in '' $ac_executable_extensions; do
  6526    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6527      ac_cv_prog_ac_ct_RANLIB="ranlib"
  6528      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6529      break 2
  6530    fi
  6531  done
  6532    done
  6533  IFS=$as_save_IFS
  6534  
  6535  fi
  6536  fi
  6537  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  6538  if test -n "$ac_ct_RANLIB"; then
  6539    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  6540  $as_echo "$ac_ct_RANLIB" >&6; }
  6541  else
  6542    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6543  $as_echo "no" >&6; }
  6544  fi
  6545  
  6546    if test "x$ac_ct_RANLIB" = x; then
  6547      RANLIB=":"
  6548    else
  6549      case $cross_compiling:$ac_tool_warned in
  6550  yes:)
  6551  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6552  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6553  ac_tool_warned=yes ;;
  6554  esac
  6555      RANLIB=$ac_ct_RANLIB
  6556    fi
  6557  else
  6558    RANLIB="$ac_cv_prog_RANLIB"
  6559  fi
  6560  
  6561  test -z "$RANLIB" && RANLIB=:
  6562  
  6563  
  6564  
  6565  
  6566  
  6567  
  6568  # Determine commands to create old-style static archives.
  6569  old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  6570  old_postinstall_cmds='chmod 644 $oldlib'
  6571  old_postuninstall_cmds=
  6572  
  6573  if test -n "$RANLIB"; then
  6574    case $host_os in
  6575    openbsd*)
  6576      old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  6577      ;;
  6578    *)
  6579      old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  6580      ;;
  6581    esac
  6582    old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  6583  fi
  6584  
  6585  case $host_os in
  6586    darwin*)
  6587      lock_old_archive_extraction=yes ;;
  6588    *)
  6589      lock_old_archive_extraction=no ;;
  6590  esac
  6591  
  6592  
  6593  
  6594  
  6595  
  6596  
  6597  
  6598  
  6599  
  6600  
  6601  
  6602  
  6603  
  6604  
  6605  
  6606  
  6607  
  6608  
  6609  
  6610  
  6611  
  6612  
  6613  
  6614  
  6615  
  6616  
  6617  
  6618  
  6619  
  6620  
  6621  
  6622  
  6623  
  6624  
  6625  
  6626  
  6627  
  6628  
  6629  
  6630  # If no C compiler was specified, use CC.
  6631  LTCC=${LTCC-"$CC"}
  6632  
  6633  # If no C compiler flags were specified, use CFLAGS.
  6634  LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  6635  
  6636  # Allow CC to be a program name with arguments.
  6637  compiler=$CC
  6638  
  6639  
  6640  # Check for command to grab the raw symbol name followed by C symbol from nm.
  6641  { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  6642  $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  6643  if ${lt_cv_sys_global_symbol_pipe+:} false; then :
  6644    $as_echo_n "(cached) " >&6
  6645  else
  6646  
  6647  # These are sane defaults that work on at least a few old systems.
  6648  # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
  6649  
  6650  # Character class describing NM global symbol codes.
  6651  symcode='[BCDEGRST]'
  6652  
  6653  # Regexp to match symbols that can be accessed directly from C.
  6654  sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  6655  
  6656  # Define system-specific variables.
  6657  case $host_os in
  6658  aix*)
  6659    symcode='[BCDT]'
  6660    ;;
  6661  cygwin* | mingw* | pw32* | cegcc*)
  6662    symcode='[ABCDGISTW]'
  6663    ;;
  6664  hpux*)
  6665    if test "$host_cpu" = ia64; then
  6666      symcode='[ABCDEGRST]'
  6667    fi
  6668    ;;
  6669  irix* | nonstopux*)
  6670    symcode='[BCDEGRST]'
  6671    ;;
  6672  osf*)
  6673    symcode='[BCDEGQRST]'
  6674    ;;
  6675  solaris*)
  6676    symcode='[BDRT]'
  6677    ;;
  6678  sco3.2v5*)
  6679    symcode='[DT]'
  6680    ;;
  6681  sysv4.2uw2*)
  6682    symcode='[DT]'
  6683    ;;
  6684  sysv5* | sco5v6* | unixware* | OpenUNIX*)
  6685    symcode='[ABDT]'
  6686    ;;
  6687  sysv4)
  6688    symcode='[DFNSTU]'
  6689    ;;
  6690  esac
  6691  
  6692  # If we're using GNU nm, then use its standard symbol codes.
  6693  case `$NM -V 2>&1` in
  6694  *GNU* | *'with BFD'*)
  6695    symcode='[ABCDGIRSTW]' ;;
  6696  esac
  6697  
  6698  # Transform an extracted symbol line into a proper C declaration.
  6699  # Some systems (esp. on ia64) link data and code symbols differently,
  6700  # so use this general approach.
  6701  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  6702  
  6703  # Transform an extracted symbol line into symbol name and symbol address
  6704  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
  6705  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
  6706  
  6707  # Handle CRLF in mingw tool chain
  6708  opt_cr=
  6709  case $build_os in
  6710  mingw*)
  6711    opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  6712    ;;
  6713  esac
  6714  
  6715  # Try without a prefix underscore, then with it.
  6716  for ac_symprfx in "" "_"; do
  6717  
  6718    # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  6719    symxfrm="\\1 $ac_symprfx\\2 \\2"
  6720  
  6721    # Write the raw and C identifiers.
  6722    if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  6723      # Fake it for dumpbin and say T for any non-static function
  6724      # and D for any global variable.
  6725      # Also find C++ and __fastcall symbols from MSVC++,
  6726      # which start with @ or ?.
  6727      lt_cv_sys_global_symbol_pipe="$AWK '"\
  6728  "     {last_section=section; section=\$ 3};"\
  6729  "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  6730  "     \$ 0!~/External *\|/{next};"\
  6731  "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  6732  "     {if(hide[section]) next};"\
  6733  "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  6734  "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  6735  "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
  6736  "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  6737  "     ' prfx=^$ac_symprfx"
  6738    else
  6739      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  6740    fi
  6741  
  6742    # Check to see that the pipe works correctly.
  6743    pipe_works=no
  6744  
  6745    rm -f conftest*
  6746    cat > conftest.$ac_ext <<_LT_EOF
  6747  #ifdef __cplusplus
  6748  extern "C" {
  6749  #endif
  6750  char nm_test_var;
  6751  void nm_test_func(void);
  6752  void nm_test_func(void){}
  6753  #ifdef __cplusplus
  6754  }
  6755  #endif
  6756  int main(){nm_test_var='a';nm_test_func();return(0);}
  6757  _LT_EOF
  6758  
  6759    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6760    (eval $ac_compile) 2>&5
  6761    ac_status=$?
  6762    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6763    test $ac_status = 0; }; then
  6764      # Now try to grab the symbols.
  6765      nlist=conftest.nm
  6766      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  6767    (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  6768    ac_status=$?
  6769    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6770    test $ac_status = 0; } && test -s "$nlist"; then
  6771        # Try sorting and uniquifying the output.
  6772        if sort "$nlist" | uniq > "$nlist"T; then
  6773  	mv -f "$nlist"T "$nlist"
  6774        else
  6775  	rm -f "$nlist"T
  6776        fi
  6777  
  6778        # Make sure that we snagged all the symbols we need.
  6779        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  6780  	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  6781  	  cat <<_LT_EOF > conftest.$ac_ext
  6782  #ifdef __cplusplus
  6783  extern "C" {
  6784  #endif
  6785  
  6786  _LT_EOF
  6787  	  # Now generate the symbol file.
  6788  	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  6789  
  6790  	  cat <<_LT_EOF >> conftest.$ac_ext
  6791  
  6792  /* The mapping between symbol names and symbols.  */
  6793  const struct {
  6794    const char *name;
  6795    void       *address;
  6796  }
  6797  lt__PROGRAM__LTX_preloaded_symbols[] =
  6798  {
  6799    { "@PROGRAM@", (void *) 0 },
  6800  _LT_EOF
  6801  	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  6802  	  cat <<\_LT_EOF >> conftest.$ac_ext
  6803    {0, (void *) 0}
  6804  };
  6805  
  6806  /* This works around a problem in FreeBSD linker */
  6807  #ifdef FREEBSD_WORKAROUND
  6808  static const void *lt_preloaded_setup() {
  6809    return lt__PROGRAM__LTX_preloaded_symbols;
  6810  }
  6811  #endif
  6812  
  6813  #ifdef __cplusplus
  6814  }
  6815  #endif
  6816  _LT_EOF
  6817  	  # Now try linking the two files.
  6818  	  mv conftest.$ac_objext conftstm.$ac_objext
  6819  	  lt_save_LIBS="$LIBS"
  6820  	  lt_save_CFLAGS="$CFLAGS"
  6821  	  LIBS="conftstm.$ac_objext"
  6822  	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  6823  	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  6824    (eval $ac_link) 2>&5
  6825    ac_status=$?
  6826    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6827    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
  6828  	    pipe_works=yes
  6829  	  fi
  6830  	  LIBS="$lt_save_LIBS"
  6831  	  CFLAGS="$lt_save_CFLAGS"
  6832  	else
  6833  	  echo "cannot find nm_test_func in $nlist" >&5
  6834  	fi
  6835        else
  6836  	echo "cannot find nm_test_var in $nlist" >&5
  6837        fi
  6838      else
  6839        echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  6840      fi
  6841    else
  6842      echo "$progname: failed program was:" >&5
  6843      cat conftest.$ac_ext >&5
  6844    fi
  6845    rm -rf conftest* conftst*
  6846  
  6847    # Do not use the global_symbol_pipe unless it works.
  6848    if test "$pipe_works" = yes; then
  6849      break
  6850    else
  6851      lt_cv_sys_global_symbol_pipe=
  6852    fi
  6853  done
  6854  
  6855  fi
  6856  
  6857  if test -z "$lt_cv_sys_global_symbol_pipe"; then
  6858    lt_cv_sys_global_symbol_to_cdecl=
  6859  fi
  6860  if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  6861    { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  6862  $as_echo "failed" >&6; }
  6863  else
  6864    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  6865  $as_echo "ok" >&6; }
  6866  fi
  6867  
  6868  
  6869  
  6870  
  6871  
  6872  
  6873  
  6874  
  6875  
  6876  
  6877  
  6878  
  6879  
  6880  
  6881  
  6882  
  6883  
  6884  
  6885  
  6886  
  6887  
  6888  
  6889  
  6890  # Check whether --enable-libtool-lock was given.
  6891  if test "${enable_libtool_lock+set}" = set; then :
  6892    enableval=$enable_libtool_lock;
  6893  fi
  6894  
  6895  test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  6896  
  6897  # Some flags need to be propagated to the compiler or linker for good
  6898  # libtool support.
  6899  case $host in
  6900  ia64-*-hpux*)
  6901    # Find out which ABI we are using.
  6902    echo 'int i;' > conftest.$ac_ext
  6903    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6904    (eval $ac_compile) 2>&5
  6905    ac_status=$?
  6906    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6907    test $ac_status = 0; }; then
  6908      case `/usr/bin/file conftest.$ac_objext` in
  6909        *ELF-32*)
  6910  	HPUX_IA64_MODE="32"
  6911  	;;
  6912        *ELF-64*)
  6913  	HPUX_IA64_MODE="64"
  6914  	;;
  6915      esac
  6916    fi
  6917    rm -rf conftest*
  6918    ;;
  6919  *-*-irix6*)
  6920    # Find out which ABI we are using.
  6921    echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  6922    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6923    (eval $ac_compile) 2>&5
  6924    ac_status=$?
  6925    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6926    test $ac_status = 0; }; then
  6927      if test "$lt_cv_prog_gnu_ld" = yes; then
  6928        case `/usr/bin/file conftest.$ac_objext` in
  6929  	*32-bit*)
  6930  	  LD="${LD-ld} -melf32bsmip"
  6931  	  ;;
  6932  	*N32*)
  6933  	  LD="${LD-ld} -melf32bmipn32"
  6934  	  ;;
  6935  	*64-bit*)
  6936  	  LD="${LD-ld} -melf64bmip"
  6937  	;;
  6938        esac
  6939      else
  6940        case `/usr/bin/file conftest.$ac_objext` in
  6941  	*32-bit*)
  6942  	  LD="${LD-ld} -32"
  6943  	  ;;
  6944  	*N32*)
  6945  	  LD="${LD-ld} -n32"
  6946  	  ;;
  6947  	*64-bit*)
  6948  	  LD="${LD-ld} -64"
  6949  	  ;;
  6950        esac
  6951      fi
  6952    fi
  6953    rm -rf conftest*
  6954    ;;
  6955  
  6956  x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
  6957  s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  6958    # Find out which ABI we are using.
  6959    echo 'int i;' > conftest.$ac_ext
  6960    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6961    (eval $ac_compile) 2>&5
  6962    ac_status=$?
  6963    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6964    test $ac_status = 0; }; then
  6965      case `/usr/bin/file conftest.o` in
  6966        *32-bit*)
  6967  	case $host in
  6968  	  x86_64-*kfreebsd*-gnu)
  6969  	    LD="${LD-ld} -m elf_i386_fbsd"
  6970  	    ;;
  6971  	  x86_64-*linux*)
  6972  	    case `/usr/bin/file conftest.o` in
  6973  	      *x86-64*)
  6974  		LD="${LD-ld} -m elf32_x86_64"
  6975  		;;
  6976  	      *)
  6977  		LD="${LD-ld} -m elf_i386"
  6978  		;;
  6979  	    esac
  6980  	    ;;
  6981  	  powerpc64le-*linux*)
  6982  	    LD="${LD-ld} -m elf32lppclinux"
  6983  	    ;;
  6984  	  powerpc64-*linux*)
  6985  	    LD="${LD-ld} -m elf32ppclinux"
  6986  	    ;;
  6987  	  s390x-*linux*)
  6988  	    LD="${LD-ld} -m elf_s390"
  6989  	    ;;
  6990  	  sparc64-*linux*)
  6991  	    LD="${LD-ld} -m elf32_sparc"
  6992  	    ;;
  6993  	esac
  6994  	;;
  6995        *64-bit*)
  6996  	case $host in
  6997  	  x86_64-*kfreebsd*-gnu)
  6998  	    LD="${LD-ld} -m elf_x86_64_fbsd"
  6999  	    ;;
  7000  	  x86_64-*linux*)
  7001  	    LD="${LD-ld} -m elf_x86_64"
  7002  	    ;;
  7003  	  powerpcle-*linux*)
  7004  	    LD="${LD-ld} -m elf64lppc"
  7005  	    ;;
  7006  	  powerpc-*linux*)
  7007  	    LD="${LD-ld} -m elf64ppc"
  7008  	    ;;
  7009  	  s390*-*linux*|s390*-*tpf*)
  7010  	    LD="${LD-ld} -m elf64_s390"
  7011  	    ;;
  7012  	  sparc*-*linux*)
  7013  	    LD="${LD-ld} -m elf64_sparc"
  7014  	    ;;
  7015  	esac
  7016  	;;
  7017      esac
  7018    fi
  7019    rm -rf conftest*
  7020    ;;
  7021  
  7022  *-*-sco3.2v5*)
  7023    # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  7024    SAVE_CFLAGS="$CFLAGS"
  7025    CFLAGS="$CFLAGS -belf"
  7026    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  7027  $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  7028  if ${lt_cv_cc_needs_belf+:} false; then :
  7029    $as_echo_n "(cached) " >&6
  7030  else
  7031    ac_ext=c
  7032  ac_cpp='$CPP $CPPFLAGS'
  7033  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7034  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7035  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7036  
  7037       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7038  /* end confdefs.h.  */
  7039  
  7040  int
  7041  main ()
  7042  {
  7043  
  7044    ;
  7045    return 0;
  7046  }
  7047  _ACEOF
  7048  if ac_fn_c_try_link "$LINENO"; then :
  7049    lt_cv_cc_needs_belf=yes
  7050  else
  7051    lt_cv_cc_needs_belf=no
  7052  fi
  7053  rm -f core conftest.err conftest.$ac_objext \
  7054      conftest$ac_exeext conftest.$ac_ext
  7055       ac_ext=c
  7056  ac_cpp='$CPP $CPPFLAGS'
  7057  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7058  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7059  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7060  
  7061  fi
  7062  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  7063  $as_echo "$lt_cv_cc_needs_belf" >&6; }
  7064    if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  7065      # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  7066      CFLAGS="$SAVE_CFLAGS"
  7067    fi
  7068    ;;
  7069  sparc*-*solaris*)
  7070    # Find out which ABI we are using.
  7071    echo 'int i;' > conftest.$ac_ext
  7072    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  7073    (eval $ac_compile) 2>&5
  7074    ac_status=$?
  7075    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7076    test $ac_status = 0; }; then
  7077      case `/usr/bin/file conftest.o` in
  7078      *64-bit*)
  7079        case $lt_cv_prog_gnu_ld in
  7080        yes*) LD="${LD-ld} -m elf64_sparc" ;;
  7081        *)
  7082  	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  7083  	  LD="${LD-ld} -64"
  7084  	fi
  7085  	;;
  7086        esac
  7087        ;;
  7088      esac
  7089    fi
  7090    rm -rf conftest*
  7091    ;;
  7092  esac
  7093  
  7094  need_locks="$enable_libtool_lock"
  7095  
  7096  
  7097    case $host_os in
  7098      rhapsody* | darwin*)
  7099      if test -n "$ac_tool_prefix"; then
  7100    # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  7101  set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  7102  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7103  $as_echo_n "checking for $ac_word... " >&6; }
  7104  if ${ac_cv_prog_DSYMUTIL+:} false; then :
  7105    $as_echo_n "(cached) " >&6
  7106  else
  7107    if test -n "$DSYMUTIL"; then
  7108    ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  7109  else
  7110  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7111  for as_dir in $PATH
  7112  do
  7113    IFS=$as_save_IFS
  7114    test -z "$as_dir" && as_dir=.
  7115      for ac_exec_ext in '' $ac_executable_extensions; do
  7116    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7117      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  7118      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7119      break 2
  7120    fi
  7121  done
  7122    done
  7123  IFS=$as_save_IFS
  7124  
  7125  fi
  7126  fi
  7127  DSYMUTIL=$ac_cv_prog_DSYMUTIL
  7128  if test -n "$DSYMUTIL"; then
  7129    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  7130  $as_echo "$DSYMUTIL" >&6; }
  7131  else
  7132    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7133  $as_echo "no" >&6; }
  7134  fi
  7135  
  7136  
  7137  fi
  7138  if test -z "$ac_cv_prog_DSYMUTIL"; then
  7139    ac_ct_DSYMUTIL=$DSYMUTIL
  7140    # Extract the first word of "dsymutil", so it can be a program name with args.
  7141  set dummy dsymutil; ac_word=$2
  7142  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7143  $as_echo_n "checking for $ac_word... " >&6; }
  7144  if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
  7145    $as_echo_n "(cached) " >&6
  7146  else
  7147    if test -n "$ac_ct_DSYMUTIL"; then
  7148    ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  7149  else
  7150  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7151  for as_dir in $PATH
  7152  do
  7153    IFS=$as_save_IFS
  7154    test -z "$as_dir" && as_dir=.
  7155      for ac_exec_ext in '' $ac_executable_extensions; do
  7156    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7157      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  7158      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7159      break 2
  7160    fi
  7161  done
  7162    done
  7163  IFS=$as_save_IFS
  7164  
  7165  fi
  7166  fi
  7167  ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  7168  if test -n "$ac_ct_DSYMUTIL"; then
  7169    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  7170  $as_echo "$ac_ct_DSYMUTIL" >&6; }
  7171  else
  7172    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7173  $as_echo "no" >&6; }
  7174  fi
  7175  
  7176    if test "x$ac_ct_DSYMUTIL" = x; then
  7177      DSYMUTIL=":"
  7178    else
  7179      case $cross_compiling:$ac_tool_warned in
  7180  yes:)
  7181  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7182  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7183  ac_tool_warned=yes ;;
  7184  esac
  7185      DSYMUTIL=$ac_ct_DSYMUTIL
  7186    fi
  7187  else
  7188    DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  7189  fi
  7190  
  7191      if test -n "$ac_tool_prefix"; then
  7192    # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  7193  set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  7194  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7195  $as_echo_n "checking for $ac_word... " >&6; }
  7196  if ${ac_cv_prog_NMEDIT+:} false; then :
  7197    $as_echo_n "(cached) " >&6
  7198  else
  7199    if test -n "$NMEDIT"; then
  7200    ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  7201  else
  7202  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7203  for as_dir in $PATH
  7204  do
  7205    IFS=$as_save_IFS
  7206    test -z "$as_dir" && as_dir=.
  7207      for ac_exec_ext in '' $ac_executable_extensions; do
  7208    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7209      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  7210      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7211      break 2
  7212    fi
  7213  done
  7214    done
  7215  IFS=$as_save_IFS
  7216  
  7217  fi
  7218  fi
  7219  NMEDIT=$ac_cv_prog_NMEDIT
  7220  if test -n "$NMEDIT"; then
  7221    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  7222  $as_echo "$NMEDIT" >&6; }
  7223  else
  7224    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7225  $as_echo "no" >&6; }
  7226  fi
  7227  
  7228  
  7229  fi
  7230  if test -z "$ac_cv_prog_NMEDIT"; then
  7231    ac_ct_NMEDIT=$NMEDIT
  7232    # Extract the first word of "nmedit", so it can be a program name with args.
  7233  set dummy nmedit; ac_word=$2
  7234  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7235  $as_echo_n "checking for $ac_word... " >&6; }
  7236  if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
  7237    $as_echo_n "(cached) " >&6
  7238  else
  7239    if test -n "$ac_ct_NMEDIT"; then
  7240    ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  7241  else
  7242  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7243  for as_dir in $PATH
  7244  do
  7245    IFS=$as_save_IFS
  7246    test -z "$as_dir" && as_dir=.
  7247      for ac_exec_ext in '' $ac_executable_extensions; do
  7248    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7249      ac_cv_prog_ac_ct_NMEDIT="nmedit"
  7250      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7251      break 2
  7252    fi
  7253  done
  7254    done
  7255  IFS=$as_save_IFS
  7256  
  7257  fi
  7258  fi
  7259  ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  7260  if test -n "$ac_ct_NMEDIT"; then
  7261    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  7262  $as_echo "$ac_ct_NMEDIT" >&6; }
  7263  else
  7264    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7265  $as_echo "no" >&6; }
  7266  fi
  7267  
  7268    if test "x$ac_ct_NMEDIT" = x; then
  7269      NMEDIT=":"
  7270    else
  7271      case $cross_compiling:$ac_tool_warned in
  7272  yes:)
  7273  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7274  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7275  ac_tool_warned=yes ;;
  7276  esac
  7277      NMEDIT=$ac_ct_NMEDIT
  7278    fi
  7279  else
  7280    NMEDIT="$ac_cv_prog_NMEDIT"
  7281  fi
  7282  
  7283      if test -n "$ac_tool_prefix"; then
  7284    # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  7285  set dummy ${ac_tool_prefix}lipo; ac_word=$2
  7286  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7287  $as_echo_n "checking for $ac_word... " >&6; }
  7288  if ${ac_cv_prog_LIPO+:} false; then :
  7289    $as_echo_n "(cached) " >&6
  7290  else
  7291    if test -n "$LIPO"; then
  7292    ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  7293  else
  7294  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7295  for as_dir in $PATH
  7296  do
  7297    IFS=$as_save_IFS
  7298    test -z "$as_dir" && as_dir=.
  7299      for ac_exec_ext in '' $ac_executable_extensions; do
  7300    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7301      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  7302      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7303      break 2
  7304    fi
  7305  done
  7306    done
  7307  IFS=$as_save_IFS
  7308  
  7309  fi
  7310  fi
  7311  LIPO=$ac_cv_prog_LIPO
  7312  if test -n "$LIPO"; then
  7313    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  7314  $as_echo "$LIPO" >&6; }
  7315  else
  7316    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7317  $as_echo "no" >&6; }
  7318  fi
  7319  
  7320  
  7321  fi
  7322  if test -z "$ac_cv_prog_LIPO"; then
  7323    ac_ct_LIPO=$LIPO
  7324    # Extract the first word of "lipo", so it can be a program name with args.
  7325  set dummy lipo; ac_word=$2
  7326  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7327  $as_echo_n "checking for $ac_word... " >&6; }
  7328  if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
  7329    $as_echo_n "(cached) " >&6
  7330  else
  7331    if test -n "$ac_ct_LIPO"; then
  7332    ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  7333  else
  7334  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7335  for as_dir in $PATH
  7336  do
  7337    IFS=$as_save_IFS
  7338    test -z "$as_dir" && as_dir=.
  7339      for ac_exec_ext in '' $ac_executable_extensions; do
  7340    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7341      ac_cv_prog_ac_ct_LIPO="lipo"
  7342      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7343      break 2
  7344    fi
  7345  done
  7346    done
  7347  IFS=$as_save_IFS
  7348  
  7349  fi
  7350  fi
  7351  ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  7352  if test -n "$ac_ct_LIPO"; then
  7353    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  7354  $as_echo "$ac_ct_LIPO" >&6; }
  7355  else
  7356    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7357  $as_echo "no" >&6; }
  7358  fi
  7359  
  7360    if test "x$ac_ct_LIPO" = x; then
  7361      LIPO=":"
  7362    else
  7363      case $cross_compiling:$ac_tool_warned in
  7364  yes:)
  7365  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7366  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7367  ac_tool_warned=yes ;;
  7368  esac
  7369      LIPO=$ac_ct_LIPO
  7370    fi
  7371  else
  7372    LIPO="$ac_cv_prog_LIPO"
  7373  fi
  7374  
  7375      if test -n "$ac_tool_prefix"; then
  7376    # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  7377  set dummy ${ac_tool_prefix}otool; ac_word=$2
  7378  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7379  $as_echo_n "checking for $ac_word... " >&6; }
  7380  if ${ac_cv_prog_OTOOL+:} false; then :
  7381    $as_echo_n "(cached) " >&6
  7382  else
  7383    if test -n "$OTOOL"; then
  7384    ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  7385  else
  7386  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7387  for as_dir in $PATH
  7388  do
  7389    IFS=$as_save_IFS
  7390    test -z "$as_dir" && as_dir=.
  7391      for ac_exec_ext in '' $ac_executable_extensions; do
  7392    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7393      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  7394      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7395      break 2
  7396    fi
  7397  done
  7398    done
  7399  IFS=$as_save_IFS
  7400  
  7401  fi
  7402  fi
  7403  OTOOL=$ac_cv_prog_OTOOL
  7404  if test -n "$OTOOL"; then
  7405    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  7406  $as_echo "$OTOOL" >&6; }
  7407  else
  7408    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7409  $as_echo "no" >&6; }
  7410  fi
  7411  
  7412  
  7413  fi
  7414  if test -z "$ac_cv_prog_OTOOL"; then
  7415    ac_ct_OTOOL=$OTOOL
  7416    # Extract the first word of "otool", so it can be a program name with args.
  7417  set dummy otool; ac_word=$2
  7418  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7419  $as_echo_n "checking for $ac_word... " >&6; }
  7420  if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
  7421    $as_echo_n "(cached) " >&6
  7422  else
  7423    if test -n "$ac_ct_OTOOL"; then
  7424    ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  7425  else
  7426  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7427  for as_dir in $PATH
  7428  do
  7429    IFS=$as_save_IFS
  7430    test -z "$as_dir" && as_dir=.
  7431      for ac_exec_ext in '' $ac_executable_extensions; do
  7432    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7433      ac_cv_prog_ac_ct_OTOOL="otool"
  7434      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7435      break 2
  7436    fi
  7437  done
  7438    done
  7439  IFS=$as_save_IFS
  7440  
  7441  fi
  7442  fi
  7443  ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  7444  if test -n "$ac_ct_OTOOL"; then
  7445    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  7446  $as_echo "$ac_ct_OTOOL" >&6; }
  7447  else
  7448    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7449  $as_echo "no" >&6; }
  7450  fi
  7451  
  7452    if test "x$ac_ct_OTOOL" = x; then
  7453      OTOOL=":"
  7454    else
  7455      case $cross_compiling:$ac_tool_warned in
  7456  yes:)
  7457  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7458  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7459  ac_tool_warned=yes ;;
  7460  esac
  7461      OTOOL=$ac_ct_OTOOL
  7462    fi
  7463  else
  7464    OTOOL="$ac_cv_prog_OTOOL"
  7465  fi
  7466  
  7467      if test -n "$ac_tool_prefix"; then
  7468    # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  7469  set dummy ${ac_tool_prefix}otool64; ac_word=$2
  7470  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7471  $as_echo_n "checking for $ac_word... " >&6; }
  7472  if ${ac_cv_prog_OTOOL64+:} false; then :
  7473    $as_echo_n "(cached) " >&6
  7474  else
  7475    if test -n "$OTOOL64"; then
  7476    ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  7477  else
  7478  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7479  for as_dir in $PATH
  7480  do
  7481    IFS=$as_save_IFS
  7482    test -z "$as_dir" && as_dir=.
  7483      for ac_exec_ext in '' $ac_executable_extensions; do
  7484    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7485      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  7486      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7487      break 2
  7488    fi
  7489  done
  7490    done
  7491  IFS=$as_save_IFS
  7492  
  7493  fi
  7494  fi
  7495  OTOOL64=$ac_cv_prog_OTOOL64
  7496  if test -n "$OTOOL64"; then
  7497    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  7498  $as_echo "$OTOOL64" >&6; }
  7499  else
  7500    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7501  $as_echo "no" >&6; }
  7502  fi
  7503  
  7504  
  7505  fi
  7506  if test -z "$ac_cv_prog_OTOOL64"; then
  7507    ac_ct_OTOOL64=$OTOOL64
  7508    # Extract the first word of "otool64", so it can be a program name with args.
  7509  set dummy otool64; ac_word=$2
  7510  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7511  $as_echo_n "checking for $ac_word... " >&6; }
  7512  if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
  7513    $as_echo_n "(cached) " >&6
  7514  else
  7515    if test -n "$ac_ct_OTOOL64"; then
  7516    ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  7517  else
  7518  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7519  for as_dir in $PATH
  7520  do
  7521    IFS=$as_save_IFS
  7522    test -z "$as_dir" && as_dir=.
  7523      for ac_exec_ext in '' $ac_executable_extensions; do
  7524    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7525      ac_cv_prog_ac_ct_OTOOL64="otool64"
  7526      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7527      break 2
  7528    fi
  7529  done
  7530    done
  7531  IFS=$as_save_IFS
  7532  
  7533  fi
  7534  fi
  7535  ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  7536  if test -n "$ac_ct_OTOOL64"; then
  7537    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  7538  $as_echo "$ac_ct_OTOOL64" >&6; }
  7539  else
  7540    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7541  $as_echo "no" >&6; }
  7542  fi
  7543  
  7544    if test "x$ac_ct_OTOOL64" = x; then
  7545      OTOOL64=":"
  7546    else
  7547      case $cross_compiling:$ac_tool_warned in
  7548  yes:)
  7549  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7550  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7551  ac_tool_warned=yes ;;
  7552  esac
  7553      OTOOL64=$ac_ct_OTOOL64
  7554    fi
  7555  else
  7556    OTOOL64="$ac_cv_prog_OTOOL64"
  7557  fi
  7558  
  7559  
  7560  
  7561  
  7562  
  7563  
  7564  
  7565  
  7566  
  7567  
  7568  
  7569  
  7570  
  7571  
  7572  
  7573  
  7574  
  7575  
  7576  
  7577  
  7578  
  7579  
  7580  
  7581  
  7582  
  7583  
  7584  
  7585      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  7586  $as_echo_n "checking for -single_module linker flag... " >&6; }
  7587  if ${lt_cv_apple_cc_single_mod+:} false; then :
  7588    $as_echo_n "(cached) " >&6
  7589  else
  7590    lt_cv_apple_cc_single_mod=no
  7591        if test -z "${LT_MULTI_MODULE}"; then
  7592  	# By default we will add the -single_module flag. You can override
  7593  	# by either setting the environment variable LT_MULTI_MODULE
  7594  	# non-empty at configure time, or by adding -multi_module to the
  7595  	# link flags.
  7596  	rm -rf libconftest.dylib*
  7597  	echo "int foo(void){return 1;}" > conftest.c
  7598  	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  7599  -dynamiclib -Wl,-single_module conftest.c" >&5
  7600  	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  7601  	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  7602          _lt_result=$?
  7603  	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  7604  	  lt_cv_apple_cc_single_mod=yes
  7605  	else
  7606  	  cat conftest.err >&5
  7607  	fi
  7608  	rm -rf libconftest.dylib*
  7609  	rm -f conftest.*
  7610        fi
  7611  fi
  7612  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  7613  $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  7614      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  7615  $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  7616  if ${lt_cv_ld_exported_symbols_list+:} false; then :
  7617    $as_echo_n "(cached) " >&6
  7618  else
  7619    lt_cv_ld_exported_symbols_list=no
  7620        save_LDFLAGS=$LDFLAGS
  7621        echo "_main" > conftest.sym
  7622        LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  7623        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7624  /* end confdefs.h.  */
  7625  
  7626  int
  7627  main ()
  7628  {
  7629  
  7630    ;
  7631    return 0;
  7632  }
  7633  _ACEOF
  7634  if ac_fn_c_try_link "$LINENO"; then :
  7635    lt_cv_ld_exported_symbols_list=yes
  7636  else
  7637    lt_cv_ld_exported_symbols_list=no
  7638  fi
  7639  rm -f core conftest.err conftest.$ac_objext \
  7640      conftest$ac_exeext conftest.$ac_ext
  7641  	LDFLAGS="$save_LDFLAGS"
  7642  
  7643  fi
  7644  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  7645  $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  7646      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
  7647  $as_echo_n "checking for -force_load linker flag... " >&6; }
  7648  if ${lt_cv_ld_force_load+:} false; then :
  7649    $as_echo_n "(cached) " >&6
  7650  else
  7651    lt_cv_ld_force_load=no
  7652        cat > conftest.c << _LT_EOF
  7653  int forced_loaded() { return 2;}
  7654  _LT_EOF
  7655        echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
  7656        $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
  7657        echo "$AR cru libconftest.a conftest.o" >&5
  7658        $AR cru libconftest.a conftest.o 2>&5
  7659        cat > conftest.c << _LT_EOF
  7660  int main() { return 0;}
  7661  _LT_EOF
  7662        echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
  7663        $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  7664        _lt_result=$?
  7665        if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
  7666  	lt_cv_ld_force_load=yes
  7667        else
  7668  	cat conftest.err >&5
  7669        fi
  7670          rm -f conftest.err libconftest.a conftest conftest.c
  7671          rm -rf conftest.dSYM
  7672  
  7673  fi
  7674  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
  7675  $as_echo "$lt_cv_ld_force_load" >&6; }
  7676      case $host_os in
  7677      rhapsody* | darwin1.[012])
  7678        _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  7679      darwin1.*)
  7680        _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  7681      darwin*) # darwin 5.x on
  7682        # if running on 10.5 or later, the deployment target defaults
  7683        # to the OS version, if on x86, and 10.4, the deployment
  7684        # target defaults to 10.4. Don't you love it?
  7685        case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  7686  	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  7687  	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  7688  	10.[012][,.]*)
  7689  	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  7690  	10.*)
  7691  	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  7692        esac
  7693      ;;
  7694    esac
  7695      if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  7696        _lt_dar_single_mod='$single_module'
  7697      fi
  7698      if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  7699        _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  7700      else
  7701        _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  7702      fi
  7703      if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
  7704        _lt_dsymutil='~$DSYMUTIL $lib || :'
  7705      else
  7706        _lt_dsymutil=
  7707      fi
  7708      ;;
  7709    esac
  7710  
  7711  ac_ext=c
  7712  ac_cpp='$CPP $CPPFLAGS'
  7713  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7714  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7715  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7716  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  7717  $as_echo_n "checking how to run the C preprocessor... " >&6; }
  7718  # On Suns, sometimes $CPP names a directory.
  7719  if test -n "$CPP" && test -d "$CPP"; then
  7720    CPP=
  7721  fi
  7722  if test -z "$CPP"; then
  7723    if ${ac_cv_prog_CPP+:} false; then :
  7724    $as_echo_n "(cached) " >&6
  7725  else
  7726        # Double quotes because CPP needs to be expanded
  7727      for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  7728      do
  7729        ac_preproc_ok=false
  7730  for ac_c_preproc_warn_flag in '' yes
  7731  do
  7732    # Use a header file that comes with gcc, so configuring glibc
  7733    # with a fresh cross-compiler works.
  7734    # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7735    # <limits.h> exists even on freestanding compilers.
  7736    # On the NeXT, cc -E runs the code through the compiler's parser,
  7737    # not just through cpp. "Syntax error" is here to catch this case.
  7738    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7739  /* end confdefs.h.  */
  7740  #ifdef __STDC__
  7741  # include <limits.h>
  7742  #else
  7743  # include <assert.h>
  7744  #endif
  7745  		     Syntax error
  7746  _ACEOF
  7747  if ac_fn_c_try_cpp "$LINENO"; then :
  7748  
  7749  else
  7750    # Broken: fails on valid input.
  7751  continue
  7752  fi
  7753  rm -f conftest.err conftest.i conftest.$ac_ext
  7754  
  7755    # OK, works on sane cases.  Now check whether nonexistent headers
  7756    # can be detected and how.
  7757    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7758  /* end confdefs.h.  */
  7759  #include <ac_nonexistent.h>
  7760  _ACEOF
  7761  if ac_fn_c_try_cpp "$LINENO"; then :
  7762    # Broken: success on invalid input.
  7763  continue
  7764  else
  7765    # Passes both tests.
  7766  ac_preproc_ok=:
  7767  break
  7768  fi
  7769  rm -f conftest.err conftest.i conftest.$ac_ext
  7770  
  7771  done
  7772  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  7773  rm -f conftest.i conftest.err conftest.$ac_ext
  7774  if $ac_preproc_ok; then :
  7775    break
  7776  fi
  7777  
  7778      done
  7779      ac_cv_prog_CPP=$CPP
  7780  
  7781  fi
  7782    CPP=$ac_cv_prog_CPP
  7783  else
  7784    ac_cv_prog_CPP=$CPP
  7785  fi
  7786  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  7787  $as_echo "$CPP" >&6; }
  7788  ac_preproc_ok=false
  7789  for ac_c_preproc_warn_flag in '' yes
  7790  do
  7791    # Use a header file that comes with gcc, so configuring glibc
  7792    # with a fresh cross-compiler works.
  7793    # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7794    # <limits.h> exists even on freestanding compilers.
  7795    # On the NeXT, cc -E runs the code through the compiler's parser,
  7796    # not just through cpp. "Syntax error" is here to catch this case.
  7797    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7798  /* end confdefs.h.  */
  7799  #ifdef __STDC__
  7800  # include <limits.h>
  7801  #else
  7802  # include <assert.h>
  7803  #endif
  7804  		     Syntax error
  7805  _ACEOF
  7806  if ac_fn_c_try_cpp "$LINENO"; then :
  7807  
  7808  else
  7809    # Broken: fails on valid input.
  7810  continue
  7811  fi
  7812  rm -f conftest.err conftest.i conftest.$ac_ext
  7813  
  7814    # OK, works on sane cases.  Now check whether nonexistent headers
  7815    # can be detected and how.
  7816    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7817  /* end confdefs.h.  */
  7818  #include <ac_nonexistent.h>
  7819  _ACEOF
  7820  if ac_fn_c_try_cpp "$LINENO"; then :
  7821    # Broken: success on invalid input.
  7822  continue
  7823  else
  7824    # Passes both tests.
  7825  ac_preproc_ok=:
  7826  break
  7827  fi
  7828  rm -f conftest.err conftest.i conftest.$ac_ext
  7829  
  7830  done
  7831  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  7832  rm -f conftest.i conftest.err conftest.$ac_ext
  7833  if $ac_preproc_ok; then :
  7834  
  7835  else
  7836    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  7837  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  7838  as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  7839  See \`config.log' for more details" "$LINENO" 5; }
  7840  fi
  7841  
  7842  ac_ext=c
  7843  ac_cpp='$CPP $CPPFLAGS'
  7844  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7845  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7846  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7847  
  7848  
  7849  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  7850  $as_echo_n "checking for ANSI C header files... " >&6; }
  7851  if ${ac_cv_header_stdc+:} false; then :
  7852    $as_echo_n "(cached) " >&6
  7853  else
  7854    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7855  /* end confdefs.h.  */
  7856  #include <stdlib.h>
  7857  #include <stdarg.h>
  7858  #include <string.h>
  7859  #include <float.h>
  7860  
  7861  int
  7862  main ()
  7863  {
  7864  
  7865    ;
  7866    return 0;
  7867  }
  7868  _ACEOF
  7869  if ac_fn_c_try_compile "$LINENO"; then :
  7870    ac_cv_header_stdc=yes
  7871  else
  7872    ac_cv_header_stdc=no
  7873  fi
  7874  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7875  
  7876  if test $ac_cv_header_stdc = yes; then
  7877    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  7878    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7879  /* end confdefs.h.  */
  7880  #include <string.h>
  7881  
  7882  _ACEOF
  7883  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  7884    $EGREP "memchr" >/dev/null 2>&1; then :
  7885  
  7886  else
  7887    ac_cv_header_stdc=no
  7888  fi
  7889  rm -f conftest*
  7890  
  7891  fi
  7892  
  7893  if test $ac_cv_header_stdc = yes; then
  7894    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  7895    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7896  /* end confdefs.h.  */
  7897  #include <stdlib.h>
  7898  
  7899  _ACEOF
  7900  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  7901    $EGREP "free" >/dev/null 2>&1; then :
  7902  
  7903  else
  7904    ac_cv_header_stdc=no
  7905  fi
  7906  rm -f conftest*
  7907  
  7908  fi
  7909  
  7910  if test $ac_cv_header_stdc = yes; then
  7911    # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  7912    if test "$cross_compiling" = yes; then :
  7913    :
  7914  else
  7915    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7916  /* end confdefs.h.  */
  7917  #include <ctype.h>
  7918  #include <stdlib.h>
  7919  #if ((' ' & 0x0FF) == 0x020)
  7920  # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  7921  # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  7922  #else
  7923  # define ISLOWER(c) \
  7924  		   (('a' <= (c) && (c) <= 'i') \
  7925  		     || ('j' <= (c) && (c) <= 'r') \
  7926  		     || ('s' <= (c) && (c) <= 'z'))
  7927  # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  7928  #endif
  7929  
  7930  #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  7931  int
  7932  main ()
  7933  {
  7934    int i;
  7935    for (i = 0; i < 256; i++)
  7936      if (XOR (islower (i), ISLOWER (i))
  7937  	|| toupper (i) != TOUPPER (i))
  7938        return 2;
  7939    return 0;
  7940  }
  7941  _ACEOF
  7942  if ac_fn_c_try_run "$LINENO"; then :
  7943  
  7944  else
  7945    ac_cv_header_stdc=no
  7946  fi
  7947  rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  7948    conftest.$ac_objext conftest.beam conftest.$ac_ext
  7949  fi
  7950  
  7951  fi
  7952  fi
  7953  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  7954  $as_echo "$ac_cv_header_stdc" >&6; }
  7955  if test $ac_cv_header_stdc = yes; then
  7956  
  7957  $as_echo "#define STDC_HEADERS 1" >>confdefs.h
  7958  
  7959  fi
  7960  
  7961  # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  7962  for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  7963  		  inttypes.h stdint.h unistd.h
  7964  do :
  7965    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  7966  ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  7967  "
  7968  if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  7969    cat >>confdefs.h <<_ACEOF
  7970  #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  7971  _ACEOF
  7972  
  7973  fi
  7974  
  7975  done
  7976  
  7977  
  7978  for ac_header in dlfcn.h
  7979  do :
  7980    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  7981  "
  7982  if test "x$ac_cv_header_dlfcn_h" = xyes; then :
  7983    cat >>confdefs.h <<_ACEOF
  7984  #define HAVE_DLFCN_H 1
  7985  _ACEOF
  7986  
  7987  fi
  7988  
  7989  done
  7990  
  7991  if test -n "$ac_tool_prefix"; then
  7992    # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
  7993  set dummy ${ac_tool_prefix}gccgo; ac_word=$2
  7994  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7995  $as_echo_n "checking for $ac_word... " >&6; }
  7996  if ${ac_cv_prog_GOC+:} false; then :
  7997    $as_echo_n "(cached) " >&6
  7998  else
  7999    if test -n "$GOC"; then
  8000    ac_cv_prog_GOC="$GOC" # Let the user override the test.
  8001  else
  8002  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8003  for as_dir in $PATH
  8004  do
  8005    IFS=$as_save_IFS
  8006    test -z "$as_dir" && as_dir=.
  8007      for ac_exec_ext in '' $ac_executable_extensions; do
  8008    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8009      ac_cv_prog_GOC="${ac_tool_prefix}gccgo"
  8010      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8011      break 2
  8012    fi
  8013  done
  8014    done
  8015  IFS=$as_save_IFS
  8016  
  8017  fi
  8018  fi
  8019  GOC=$ac_cv_prog_GOC
  8020  if test -n "$GOC"; then
  8021    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
  8022  $as_echo "$GOC" >&6; }
  8023  else
  8024    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8025  $as_echo "no" >&6; }
  8026  fi
  8027  
  8028  
  8029  fi
  8030  if test -z "$ac_cv_prog_GOC"; then
  8031    ac_ct_GOC=$GOC
  8032    # Extract the first word of "gccgo", so it can be a program name with args.
  8033  set dummy gccgo; ac_word=$2
  8034  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8035  $as_echo_n "checking for $ac_word... " >&6; }
  8036  if ${ac_cv_prog_ac_ct_GOC+:} false; then :
  8037    $as_echo_n "(cached) " >&6
  8038  else
  8039    if test -n "$ac_ct_GOC"; then
  8040    ac_cv_prog_ac_ct_GOC="$ac_ct_GOC" # Let the user override the test.
  8041  else
  8042  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8043  for as_dir in $PATH
  8044  do
  8045    IFS=$as_save_IFS
  8046    test -z "$as_dir" && as_dir=.
  8047      for ac_exec_ext in '' $ac_executable_extensions; do
  8048    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8049      ac_cv_prog_ac_ct_GOC="gccgo"
  8050      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8051      break 2
  8052    fi
  8053  done
  8054    done
  8055  IFS=$as_save_IFS
  8056  
  8057  fi
  8058  fi
  8059  ac_ct_GOC=$ac_cv_prog_ac_ct_GOC
  8060  if test -n "$ac_ct_GOC"; then
  8061    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
  8062  $as_echo "$ac_ct_GOC" >&6; }
  8063  else
  8064    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8065  $as_echo "no" >&6; }
  8066  fi
  8067  
  8068    if test "x$ac_ct_GOC" = x; then
  8069      GOC=""
  8070    else
  8071      case $cross_compiling:$ac_tool_warned in
  8072  yes:)
  8073  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  8074  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  8075  ac_tool_warned=yes ;;
  8076  esac
  8077      GOC=$ac_ct_GOC
  8078    fi
  8079  else
  8080    GOC="$ac_cv_prog_GOC"
  8081  fi
  8082  
  8083  
  8084  
  8085  
  8086  
  8087  
  8088  # Set options
  8089  
  8090  
  8091  
  8092  
  8093    enable_win32_dll=no
  8094  
  8095  
  8096              # Check whether --enable-shared was given.
  8097  if test "${enable_shared+set}" = set; then :
  8098    enableval=$enable_shared; p=${PACKAGE-default}
  8099      case $enableval in
  8100      yes) enable_shared=yes ;;
  8101      no) enable_shared=no ;;
  8102      *)
  8103        enable_shared=no
  8104        # Look at the argument we got.  We use all the common list separators.
  8105        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  8106        for pkg in $enableval; do
  8107  	IFS="$lt_save_ifs"
  8108  	if test "X$pkg" = "X$p"; then
  8109  	  enable_shared=yes
  8110  	fi
  8111        done
  8112        IFS="$lt_save_ifs"
  8113        ;;
  8114      esac
  8115  else
  8116    enable_shared=yes
  8117  fi
  8118  
  8119  
  8120  
  8121  
  8122  
  8123  
  8124  
  8125  
  8126  
  8127    # Check whether --enable-static was given.
  8128  if test "${enable_static+set}" = set; then :
  8129    enableval=$enable_static; p=${PACKAGE-default}
  8130      case $enableval in
  8131      yes) enable_static=yes ;;
  8132      no) enable_static=no ;;
  8133      *)
  8134       enable_static=no
  8135        # Look at the argument we got.  We use all the common list separators.
  8136        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  8137        for pkg in $enableval; do
  8138  	IFS="$lt_save_ifs"
  8139  	if test "X$pkg" = "X$p"; then
  8140  	  enable_static=yes
  8141  	fi
  8142        done
  8143        IFS="$lt_save_ifs"
  8144        ;;
  8145      esac
  8146  else
  8147    enable_static=yes
  8148  fi
  8149  
  8150  
  8151  
  8152  
  8153  
  8154  
  8155  
  8156  
  8157  
  8158  
  8159  # Check whether --with-pic was given.
  8160  if test "${with_pic+set}" = set; then :
  8161    withval=$with_pic; pic_mode="$withval"
  8162  else
  8163    pic_mode=default
  8164  fi
  8165  
  8166  
  8167  test -z "$pic_mode" && pic_mode=default
  8168  
  8169  
  8170  
  8171  
  8172  
  8173  
  8174  
  8175    # Check whether --enable-fast-install was given.
  8176  if test "${enable_fast_install+set}" = set; then :
  8177    enableval=$enable_fast_install; p=${PACKAGE-default}
  8178      case $enableval in
  8179      yes) enable_fast_install=yes ;;
  8180      no) enable_fast_install=no ;;
  8181      *)
  8182        enable_fast_install=no
  8183        # Look at the argument we got.  We use all the common list separators.
  8184        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  8185        for pkg in $enableval; do
  8186  	IFS="$lt_save_ifs"
  8187  	if test "X$pkg" = "X$p"; then
  8188  	  enable_fast_install=yes
  8189  	fi
  8190        done
  8191        IFS="$lt_save_ifs"
  8192        ;;
  8193      esac
  8194  else
  8195    enable_fast_install=yes
  8196  fi
  8197  
  8198  
  8199  
  8200  
  8201  
  8202  
  8203  
  8204  
  8205  
  8206  
  8207  
  8208  # This can be used to rebuild libtool when needed
  8209  LIBTOOL_DEPS="$ltmain"
  8210  
  8211  # Always use our own libtool.
  8212  LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  8213  
  8214  
  8215  
  8216  
  8217  
  8218  
  8219  
  8220  
  8221  
  8222  
  8223  
  8224  
  8225  
  8226  
  8227  
  8228  
  8229  
  8230  
  8231  
  8232  
  8233  
  8234  
  8235  
  8236  
  8237  
  8238  
  8239  test -z "$LN_S" && LN_S="ln -s"
  8240  
  8241  
  8242  
  8243  
  8244  
  8245  
  8246  
  8247  
  8248  
  8249  
  8250  
  8251  
  8252  
  8253  
  8254  if test -n "${ZSH_VERSION+set}" ; then
  8255     setopt NO_GLOB_SUBST
  8256  fi
  8257  
  8258  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  8259  $as_echo_n "checking for objdir... " >&6; }
  8260  if ${lt_cv_objdir+:} false; then :
  8261    $as_echo_n "(cached) " >&6
  8262  else
  8263    rm -f .libs 2>/dev/null
  8264  mkdir .libs 2>/dev/null
  8265  if test -d .libs; then
  8266    lt_cv_objdir=.libs
  8267  else
  8268    # MS-DOS does not allow filenames that begin with a dot.
  8269    lt_cv_objdir=_libs
  8270  fi
  8271  rmdir .libs 2>/dev/null
  8272  fi
  8273  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  8274  $as_echo "$lt_cv_objdir" >&6; }
  8275  objdir=$lt_cv_objdir
  8276  
  8277  
  8278  
  8279  
  8280  
  8281  cat >>confdefs.h <<_ACEOF
  8282  #define LT_OBJDIR "$lt_cv_objdir/"
  8283  _ACEOF
  8284  
  8285  
  8286  
  8287  
  8288  case $host_os in
  8289  aix3*)
  8290    # AIX sometimes has problems with the GCC collect2 program.  For some
  8291    # reason, if we set the COLLECT_NAMES environment variable, the problems
  8292    # vanish in a puff of smoke.
  8293    if test "X${COLLECT_NAMES+set}" != Xset; then
  8294      COLLECT_NAMES=
  8295      export COLLECT_NAMES
  8296    fi
  8297    ;;
  8298  esac
  8299  
  8300  # Global variables:
  8301  ofile=libtool
  8302  can_build_shared=yes
  8303  
  8304  # All known linkers require a `.a' archive for static linking (except MSVC,
  8305  # which needs '.lib').
  8306  libext=a
  8307  
  8308  with_gnu_ld="$lt_cv_prog_gnu_ld"
  8309  
  8310  old_CC="$CC"
  8311  old_CFLAGS="$CFLAGS"
  8312  
  8313  # Set sane defaults for various variables
  8314  test -z "$CC" && CC=cc
  8315  test -z "$LTCC" && LTCC=$CC
  8316  test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  8317  test -z "$LD" && LD=ld
  8318  test -z "$ac_objext" && ac_objext=o
  8319  
  8320  for cc_temp in $compiler""; do
  8321    case $cc_temp in
  8322      compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  8323      distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  8324      \-*) ;;
  8325      *) break;;
  8326    esac
  8327  done
  8328  cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  8329  
  8330  
  8331  # Only perform the check for file, if the check method requires it
  8332  test -z "$MAGIC_CMD" && MAGIC_CMD=file
  8333  case $deplibs_check_method in
  8334  file_magic*)
  8335    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  8336      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  8337  $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  8338  if ${lt_cv_path_MAGIC_CMD+:} false; then :
  8339    $as_echo_n "(cached) " >&6
  8340  else
  8341    case $MAGIC_CMD in
  8342  [\\/*] |  ?:[\\/]*)
  8343    lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  8344    ;;
  8345  *)
  8346    lt_save_MAGIC_CMD="$MAGIC_CMD"
  8347    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  8348    ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  8349    for ac_dir in $ac_dummy; do
  8350      IFS="$lt_save_ifs"
  8351      test -z "$ac_dir" && ac_dir=.
  8352      if test -f $ac_dir/${ac_tool_prefix}file; then
  8353        lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  8354        if test -n "$file_magic_test_file"; then
  8355  	case $deplibs_check_method in
  8356  	"file_magic "*)
  8357  	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  8358  	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  8359  	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  8360  	    $EGREP "$file_magic_regex" > /dev/null; then
  8361  	    :
  8362  	  else
  8363  	    cat <<_LT_EOF 1>&2
  8364  
  8365  *** Warning: the command libtool uses to detect shared libraries,
  8366  *** $file_magic_cmd, produces output that libtool cannot recognize.
  8367  *** The result is that libtool may fail to recognize shared libraries
  8368  *** as such.  This will affect the creation of libtool libraries that
  8369  *** depend on shared libraries, but programs linked with such libtool
  8370  *** libraries will work regardless of this problem.  Nevertheless, you
  8371  *** may want to report the problem to your system manager and/or to
  8372  *** bug-libtool@gnu.org
  8373  
  8374  _LT_EOF
  8375  	  fi ;;
  8376  	esac
  8377        fi
  8378        break
  8379      fi
  8380    done
  8381    IFS="$lt_save_ifs"
  8382    MAGIC_CMD="$lt_save_MAGIC_CMD"
  8383    ;;
  8384  esac
  8385  fi
  8386  
  8387  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  8388  if test -n "$MAGIC_CMD"; then
  8389    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  8390  $as_echo "$MAGIC_CMD" >&6; }
  8391  else
  8392    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8393  $as_echo "no" >&6; }
  8394  fi
  8395  
  8396  
  8397  
  8398  
  8399  
  8400  if test -z "$lt_cv_path_MAGIC_CMD"; then
  8401    if test -n "$ac_tool_prefix"; then
  8402      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  8403  $as_echo_n "checking for file... " >&6; }
  8404  if ${lt_cv_path_MAGIC_CMD+:} false; then :
  8405    $as_echo_n "(cached) " >&6
  8406  else
  8407    case $MAGIC_CMD in
  8408  [\\/*] |  ?:[\\/]*)
  8409    lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  8410    ;;
  8411  *)
  8412    lt_save_MAGIC_CMD="$MAGIC_CMD"
  8413    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  8414    ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  8415    for ac_dir in $ac_dummy; do
  8416      IFS="$lt_save_ifs"
  8417      test -z "$ac_dir" && ac_dir=.
  8418      if test -f $ac_dir/file; then
  8419        lt_cv_path_MAGIC_CMD="$ac_dir/file"
  8420        if test -n "$file_magic_test_file"; then
  8421  	case $deplibs_check_method in
  8422  	"file_magic "*)
  8423  	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  8424  	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  8425  	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  8426  	    $EGREP "$file_magic_regex" > /dev/null; then
  8427  	    :
  8428  	  else
  8429  	    cat <<_LT_EOF 1>&2
  8430  
  8431  *** Warning: the command libtool uses to detect shared libraries,
  8432  *** $file_magic_cmd, produces output that libtool cannot recognize.
  8433  *** The result is that libtool may fail to recognize shared libraries
  8434  *** as such.  This will affect the creation of libtool libraries that
  8435  *** depend on shared libraries, but programs linked with such libtool
  8436  *** libraries will work regardless of this problem.  Nevertheless, you
  8437  *** may want to report the problem to your system manager and/or to
  8438  *** bug-libtool@gnu.org
  8439  
  8440  _LT_EOF
  8441  	  fi ;;
  8442  	esac
  8443        fi
  8444        break
  8445      fi
  8446    done
  8447    IFS="$lt_save_ifs"
  8448    MAGIC_CMD="$lt_save_MAGIC_CMD"
  8449    ;;
  8450  esac
  8451  fi
  8452  
  8453  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  8454  if test -n "$MAGIC_CMD"; then
  8455    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  8456  $as_echo "$MAGIC_CMD" >&6; }
  8457  else
  8458    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8459  $as_echo "no" >&6; }
  8460  fi
  8461  
  8462  
  8463    else
  8464      MAGIC_CMD=:
  8465    fi
  8466  fi
  8467  
  8468    fi
  8469    ;;
  8470  esac
  8471  
  8472  # Use C for the default configuration in the libtool script
  8473  
  8474  lt_save_CC="$CC"
  8475  ac_ext=c
  8476  ac_cpp='$CPP $CPPFLAGS'
  8477  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8478  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8479  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  8480  
  8481  
  8482  # Source file extension for C test sources.
  8483  ac_ext=c
  8484  
  8485  # Object file extension for compiled C test sources.
  8486  objext=o
  8487  objext=$objext
  8488  
  8489  # Code to be used in simple compile tests
  8490  lt_simple_compile_test_code="int some_variable = 0;"
  8491  
  8492  # Code to be used in simple link tests
  8493  lt_simple_link_test_code='int main(){return(0);}'
  8494  
  8495  
  8496  
  8497  
  8498  
  8499  
  8500  
  8501  # If no C compiler was specified, use CC.
  8502  LTCC=${LTCC-"$CC"}
  8503  
  8504  # If no C compiler flags were specified, use CFLAGS.
  8505  LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  8506  
  8507  # Allow CC to be a program name with arguments.
  8508  compiler=$CC
  8509  
  8510  # Save the default compiler, since it gets overwritten when the other
  8511  # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  8512  compiler_DEFAULT=$CC
  8513  
  8514  # save warnings/boilerplate of simple test code
  8515  ac_outfile=conftest.$ac_objext
  8516  echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  8517  eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  8518  _lt_compiler_boilerplate=`cat conftest.err`
  8519  $RM conftest*
  8520  
  8521  ac_outfile=conftest.$ac_objext
  8522  echo "$lt_simple_link_test_code" >conftest.$ac_ext
  8523  eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  8524  _lt_linker_boilerplate=`cat conftest.err`
  8525  $RM -r conftest*
  8526  
  8527  
  8528  ## CAVEAT EMPTOR:
  8529  ## There is no encapsulation within the following macros, do not change
  8530  ## the running order or otherwise move them around unless you know exactly
  8531  ## what you are doing...
  8532  if test -n "$compiler"; then
  8533  
  8534  lt_prog_compiler_no_builtin_flag=
  8535  
  8536  if test "$GCC" = yes; then
  8537    case $cc_basename in
  8538    nvcc*)
  8539      lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
  8540    *)
  8541      lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
  8542    esac
  8543  
  8544    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  8545  $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  8546  if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
  8547    $as_echo_n "(cached) " >&6
  8548  else
  8549    lt_cv_prog_compiler_rtti_exceptions=no
  8550     ac_outfile=conftest.$ac_objext
  8551     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8552     lt_compiler_flag="-fno-rtti -fno-exceptions"
  8553     # Insert the option either (1) after the last *FLAGS variable, or
  8554     # (2) before a word containing "conftest.", or (3) at the end.
  8555     # Note that $ac_compile itself does not contain backslashes and begins
  8556     # with a dollar sign (not a hyphen), so the echo should work correctly.
  8557     # The option is referenced via a variable to avoid confusing sed.
  8558     lt_compile=`echo "$ac_compile" | $SED \
  8559     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8560     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8561     -e 's:$: $lt_compiler_flag:'`
  8562     (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  8563     (eval "$lt_compile" 2>conftest.err)
  8564     ac_status=$?
  8565     cat conftest.err >&5
  8566     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8567     if (exit $ac_status) && test -s "$ac_outfile"; then
  8568       # The compiler can only warn and ignore the option if not recognized
  8569       # So say no if there are warnings other than the usual output.
  8570       $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  8571       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8572       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  8573         lt_cv_prog_compiler_rtti_exceptions=yes
  8574       fi
  8575     fi
  8576     $RM conftest*
  8577  
  8578  fi
  8579  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  8580  $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  8581  
  8582  if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  8583      lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  8584  else
  8585      :
  8586  fi
  8587  
  8588  fi
  8589  
  8590  
  8591  
  8592  
  8593  
  8594  
  8595    lt_prog_compiler_wl=
  8596  lt_prog_compiler_pic=
  8597  lt_prog_compiler_static=
  8598  
  8599  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  8600  $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  8601  
  8602    if test "$GCC" = yes; then
  8603      lt_prog_compiler_wl='-Wl,'
  8604      lt_prog_compiler_static='-static'
  8605  
  8606      case $host_os in
  8607        aix*)
  8608        # All AIX code is PIC.
  8609        if test "$host_cpu" = ia64; then
  8610  	# AIX 5 now supports IA64 processor
  8611  	lt_prog_compiler_static='-Bstatic'
  8612        fi
  8613        lt_prog_compiler_pic='-fPIC'
  8614        ;;
  8615  
  8616      amigaos*)
  8617        case $host_cpu in
  8618        powerpc)
  8619              # see comment about AmigaOS4 .so support
  8620              lt_prog_compiler_pic='-fPIC'
  8621          ;;
  8622        m68k)
  8623              # FIXME: we need at least 68020 code to build shared libraries, but
  8624              # adding the `-m68020' flag to GCC prevents building anything better,
  8625              # like `-m68040'.
  8626              lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  8627          ;;
  8628        esac
  8629        ;;
  8630  
  8631      beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  8632        # PIC is the default for these OSes.
  8633        ;;
  8634  
  8635      mingw* | cygwin* | pw32* | os2* | cegcc*)
  8636        # This hack is so that the source file can tell whether it is being
  8637        # built for inclusion in a dll (and should export symbols for example).
  8638        # Although the cygwin gcc ignores -fPIC, still need this for old-style
  8639        # (--disable-auto-import) libraries
  8640        lt_prog_compiler_pic='-DDLL_EXPORT'
  8641        ;;
  8642  
  8643      darwin* | rhapsody*)
  8644        # PIC is the default on this platform
  8645        # Common symbols not allowed in MH_DYLIB files
  8646        lt_prog_compiler_pic='-fno-common'
  8647        ;;
  8648  
  8649      haiku*)
  8650        # PIC is the default for Haiku.
  8651        # The "-static" flag exists, but is broken.
  8652        lt_prog_compiler_static=
  8653        ;;
  8654  
  8655      hpux*)
  8656        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  8657        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
  8658        # sets the default TLS model and affects inlining.
  8659        case $host_cpu in
  8660        hppa*64*)
  8661  	# +Z the default
  8662  	;;
  8663        *)
  8664  	lt_prog_compiler_pic='-fPIC'
  8665  	;;
  8666        esac
  8667        ;;
  8668  
  8669      interix[3-9]*)
  8670        # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  8671        # Instead, we relocate shared libraries at runtime.
  8672        ;;
  8673  
  8674      msdosdjgpp*)
  8675        # Just because we use GCC doesn't mean we suddenly get shared libraries
  8676        # on systems that don't support them.
  8677        lt_prog_compiler_can_build_shared=no
  8678        enable_shared=no
  8679        ;;
  8680  
  8681      *nto* | *qnx*)
  8682        # QNX uses GNU C++, but need to define -shared option too, otherwise
  8683        # it will coredump.
  8684        lt_prog_compiler_pic='-fPIC -shared'
  8685        ;;
  8686  
  8687      sysv4*MP*)
  8688        if test -d /usr/nec; then
  8689  	lt_prog_compiler_pic=-Kconform_pic
  8690        fi
  8691        ;;
  8692  
  8693      *)
  8694        lt_prog_compiler_pic='-fPIC'
  8695        ;;
  8696      esac
  8697  
  8698      case $cc_basename in
  8699      nvcc*) # Cuda Compiler Driver 2.2
  8700        lt_prog_compiler_wl='-Xlinker '
  8701        lt_prog_compiler_pic='-Xcompiler -fPIC'
  8702        ;;
  8703      esac
  8704    else
  8705      # PORTME Check for flag to pass linker flags through the system compiler.
  8706      case $host_os in
  8707      aix*)
  8708        lt_prog_compiler_wl='-Wl,'
  8709        if test "$host_cpu" = ia64; then
  8710  	# AIX 5 now supports IA64 processor
  8711  	lt_prog_compiler_static='-Bstatic'
  8712        else
  8713  	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  8714        fi
  8715        ;;
  8716  
  8717      mingw* | cygwin* | pw32* | os2* | cegcc*)
  8718        # This hack is so that the source file can tell whether it is being
  8719        # built for inclusion in a dll (and should export symbols for example).
  8720        lt_prog_compiler_pic='-DDLL_EXPORT'
  8721        ;;
  8722  
  8723      hpux9* | hpux10* | hpux11*)
  8724        lt_prog_compiler_wl='-Wl,'
  8725        # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  8726        # not for PA HP-UX.
  8727        case $host_cpu in
  8728        hppa*64*|ia64*)
  8729  	# +Z the default
  8730  	;;
  8731        *)
  8732  	lt_prog_compiler_pic='+Z'
  8733  	;;
  8734        esac
  8735        # Is there a better lt_prog_compiler_static that works with the bundled CC?
  8736        lt_prog_compiler_static='${wl}-a ${wl}archive'
  8737        ;;
  8738  
  8739      irix5* | irix6* | nonstopux*)
  8740        lt_prog_compiler_wl='-Wl,'
  8741        # PIC (with -KPIC) is the default.
  8742        lt_prog_compiler_static='-non_shared'
  8743        ;;
  8744  
  8745      linux* | k*bsd*-gnu | kopensolaris*-gnu)
  8746        case $cc_basename in
  8747        # old Intel for x86_64 which still supported -KPIC.
  8748        ecc*)
  8749  	lt_prog_compiler_wl='-Wl,'
  8750  	lt_prog_compiler_pic='-KPIC'
  8751  	lt_prog_compiler_static='-static'
  8752          ;;
  8753        # icc used to be incompatible with GCC.
  8754        # ICC 10 doesn't accept -KPIC any more.
  8755        icc* | ifort*)
  8756  	lt_prog_compiler_wl='-Wl,'
  8757  	lt_prog_compiler_pic='-fPIC'
  8758  	lt_prog_compiler_static='-static'
  8759          ;;
  8760        # Lahey Fortran 8.1.
  8761        lf95*)
  8762  	lt_prog_compiler_wl='-Wl,'
  8763  	lt_prog_compiler_pic='--shared'
  8764  	lt_prog_compiler_static='--static'
  8765  	;;
  8766        pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  8767          # Portland Group compilers (*not* the Pentium gcc compiler,
  8768  	# which looks to be a dead project)
  8769  	lt_prog_compiler_wl='-Wl,'
  8770  	lt_prog_compiler_pic='-fpic'
  8771  	lt_prog_compiler_static='-Bstatic'
  8772          ;;
  8773        ccc*)
  8774          lt_prog_compiler_wl='-Wl,'
  8775          # All Alpha code is PIC.
  8776          lt_prog_compiler_static='-non_shared'
  8777          ;;
  8778        xl* | bgxl* | bgf* | mpixl*)
  8779  	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  8780  	lt_prog_compiler_wl='-Wl,'
  8781  	lt_prog_compiler_pic='-qpic'
  8782  	lt_prog_compiler_static='-qstaticlink'
  8783  	;;
  8784        *)
  8785  	case `$CC -V 2>&1 | sed 5q` in
  8786  	*Sun\ F* | *Sun*Fortran*)
  8787  	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
  8788  	  lt_prog_compiler_pic='-KPIC'
  8789  	  lt_prog_compiler_static='-Bstatic'
  8790  	  lt_prog_compiler_wl=''
  8791  	  ;;
  8792  	*Sun\ C*)
  8793  	  # Sun C 5.9
  8794  	  lt_prog_compiler_pic='-KPIC'
  8795  	  lt_prog_compiler_static='-Bstatic'
  8796  	  lt_prog_compiler_wl='-Wl,'
  8797  	  ;;
  8798  	esac
  8799  	;;
  8800        esac
  8801        ;;
  8802  
  8803      newsos6)
  8804        lt_prog_compiler_pic='-KPIC'
  8805        lt_prog_compiler_static='-Bstatic'
  8806        ;;
  8807  
  8808      *nto* | *qnx*)
  8809        # QNX uses GNU C++, but need to define -shared option too, otherwise
  8810        # it will coredump.
  8811        lt_prog_compiler_pic='-fPIC -shared'
  8812        ;;
  8813  
  8814      osf3* | osf4* | osf5*)
  8815        lt_prog_compiler_wl='-Wl,'
  8816        # All OSF/1 code is PIC.
  8817        lt_prog_compiler_static='-non_shared'
  8818        ;;
  8819  
  8820      rdos*)
  8821        lt_prog_compiler_static='-non_shared'
  8822        ;;
  8823  
  8824      solaris*)
  8825        lt_prog_compiler_pic='-KPIC'
  8826        lt_prog_compiler_static='-Bstatic'
  8827        case $cc_basename in
  8828        f77* | f90* | f95*)
  8829  	lt_prog_compiler_wl='-Qoption ld ';;
  8830        *)
  8831  	lt_prog_compiler_wl='-Wl,';;
  8832        esac
  8833        ;;
  8834  
  8835      sunos4*)
  8836        lt_prog_compiler_wl='-Qoption ld '
  8837        lt_prog_compiler_pic='-PIC'
  8838        lt_prog_compiler_static='-Bstatic'
  8839        ;;
  8840  
  8841      sysv4 | sysv4.2uw2* | sysv4.3*)
  8842        lt_prog_compiler_wl='-Wl,'
  8843        lt_prog_compiler_pic='-KPIC'
  8844        lt_prog_compiler_static='-Bstatic'
  8845        ;;
  8846  
  8847      sysv4*MP*)
  8848        if test -d /usr/nec ;then
  8849  	lt_prog_compiler_pic='-Kconform_pic'
  8850  	lt_prog_compiler_static='-Bstatic'
  8851        fi
  8852        ;;
  8853  
  8854      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  8855        lt_prog_compiler_wl='-Wl,'
  8856        lt_prog_compiler_pic='-KPIC'
  8857        lt_prog_compiler_static='-Bstatic'
  8858        ;;
  8859  
  8860      unicos*)
  8861        lt_prog_compiler_wl='-Wl,'
  8862        lt_prog_compiler_can_build_shared=no
  8863        ;;
  8864  
  8865      uts4*)
  8866        lt_prog_compiler_pic='-pic'
  8867        lt_prog_compiler_static='-Bstatic'
  8868        ;;
  8869  
  8870      *)
  8871        lt_prog_compiler_can_build_shared=no
  8872        ;;
  8873      esac
  8874    fi
  8875  
  8876  case $host_os in
  8877    # For platforms which do not support PIC, -DPIC is meaningless:
  8878    *djgpp*)
  8879      lt_prog_compiler_pic=
  8880      ;;
  8881    *)
  8882      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  8883      ;;
  8884  esac
  8885  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
  8886  $as_echo "$lt_prog_compiler_pic" >&6; }
  8887  
  8888  
  8889  
  8890  
  8891  
  8892  
  8893  #
  8894  # Check to make sure the PIC flag actually works.
  8895  #
  8896  if test -n "$lt_prog_compiler_pic"; then
  8897    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  8898  $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  8899  if ${lt_cv_prog_compiler_pic_works+:} false; then :
  8900    $as_echo_n "(cached) " >&6
  8901  else
  8902    lt_cv_prog_compiler_pic_works=no
  8903     ac_outfile=conftest.$ac_objext
  8904     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8905     lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
  8906     # Insert the option either (1) after the last *FLAGS variable, or
  8907     # (2) before a word containing "conftest.", or (3) at the end.
  8908     # Note that $ac_compile itself does not contain backslashes and begins
  8909     # with a dollar sign (not a hyphen), so the echo should work correctly.
  8910     # The option is referenced via a variable to avoid confusing sed.
  8911     lt_compile=`echo "$ac_compile" | $SED \
  8912     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8913     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8914     -e 's:$: $lt_compiler_flag:'`
  8915     (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  8916     (eval "$lt_compile" 2>conftest.err)
  8917     ac_status=$?
  8918     cat conftest.err >&5
  8919     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8920     if (exit $ac_status) && test -s "$ac_outfile"; then
  8921       # The compiler can only warn and ignore the option if not recognized
  8922       # So say no if there are warnings other than the usual output.
  8923       $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  8924       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8925       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  8926         lt_cv_prog_compiler_pic_works=yes
  8927       fi
  8928     fi
  8929     $RM conftest*
  8930  
  8931  fi
  8932  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  8933  $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  8934  
  8935  if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  8936      case $lt_prog_compiler_pic in
  8937       "" | " "*) ;;
  8938       *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  8939       esac
  8940  else
  8941      lt_prog_compiler_pic=
  8942       lt_prog_compiler_can_build_shared=no
  8943  fi
  8944  
  8945  fi
  8946  
  8947  
  8948  
  8949  
  8950  
  8951  
  8952  #
  8953  # Check to make sure the static flag actually works.
  8954  #
  8955  wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  8956  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  8957  $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  8958  if ${lt_cv_prog_compiler_static_works+:} false; then :
  8959    $as_echo_n "(cached) " >&6
  8960  else
  8961    lt_cv_prog_compiler_static_works=no
  8962     save_LDFLAGS="$LDFLAGS"
  8963     LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  8964     echo "$lt_simple_link_test_code" > conftest.$ac_ext
  8965     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  8966       # The linker can only warn and ignore the option if not recognized
  8967       # So say no if there are warnings
  8968       if test -s conftest.err; then
  8969         # Append any errors to the config.log.
  8970         cat conftest.err 1>&5
  8971         $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  8972         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8973         if diff conftest.exp conftest.er2 >/dev/null; then
  8974           lt_cv_prog_compiler_static_works=yes
  8975         fi
  8976       else
  8977         lt_cv_prog_compiler_static_works=yes
  8978       fi
  8979     fi
  8980     $RM -r conftest*
  8981     LDFLAGS="$save_LDFLAGS"
  8982  
  8983  fi
  8984  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  8985  $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  8986  
  8987  if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  8988      :
  8989  else
  8990      lt_prog_compiler_static=
  8991  fi
  8992  
  8993  
  8994  
  8995  
  8996  
  8997  
  8998  
  8999    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  9000  $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  9001  if ${lt_cv_prog_compiler_c_o+:} false; then :
  9002    $as_echo_n "(cached) " >&6
  9003  else
  9004    lt_cv_prog_compiler_c_o=no
  9005     $RM -r conftest 2>/dev/null
  9006     mkdir conftest
  9007     cd conftest
  9008     mkdir out
  9009     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  9010  
  9011     lt_compiler_flag="-o out/conftest2.$ac_objext"
  9012     # Insert the option either (1) after the last *FLAGS variable, or
  9013     # (2) before a word containing "conftest.", or (3) at the end.
  9014     # Note that $ac_compile itself does not contain backslashes and begins
  9015     # with a dollar sign (not a hyphen), so the echo should work correctly.
  9016     lt_compile=`echo "$ac_compile" | $SED \
  9017     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  9018     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  9019     -e 's:$: $lt_compiler_flag:'`
  9020     (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  9021     (eval "$lt_compile" 2>out/conftest.err)
  9022     ac_status=$?
  9023     cat out/conftest.err >&5
  9024     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9025     if (exit $ac_status) && test -s out/conftest2.$ac_objext
  9026     then
  9027       # The compiler can only warn and ignore the option if not recognized
  9028       # So say no if there are warnings
  9029       $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  9030       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  9031       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  9032         lt_cv_prog_compiler_c_o=yes
  9033       fi
  9034     fi
  9035     chmod u+w . 2>&5
  9036     $RM conftest*
  9037     # SGI C++ compiler will create directory out/ii_files/ for
  9038     # template instantiation
  9039     test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  9040     $RM out/* && rmdir out
  9041     cd ..
  9042     $RM -r conftest
  9043     $RM conftest*
  9044  
  9045  fi
  9046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  9047  $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  9048  
  9049  
  9050  
  9051  
  9052  
  9053  
  9054    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  9055  $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  9056  if ${lt_cv_prog_compiler_c_o+:} false; then :
  9057    $as_echo_n "(cached) " >&6
  9058  else
  9059    lt_cv_prog_compiler_c_o=no
  9060     $RM -r conftest 2>/dev/null
  9061     mkdir conftest
  9062     cd conftest
  9063     mkdir out
  9064     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  9065  
  9066     lt_compiler_flag="-o out/conftest2.$ac_objext"
  9067     # Insert the option either (1) after the last *FLAGS variable, or
  9068     # (2) before a word containing "conftest.", or (3) at the end.
  9069     # Note that $ac_compile itself does not contain backslashes and begins
  9070     # with a dollar sign (not a hyphen), so the echo should work correctly.
  9071     lt_compile=`echo "$ac_compile" | $SED \
  9072     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  9073     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  9074     -e 's:$: $lt_compiler_flag:'`
  9075     (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  9076     (eval "$lt_compile" 2>out/conftest.err)
  9077     ac_status=$?
  9078     cat out/conftest.err >&5
  9079     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9080     if (exit $ac_status) && test -s out/conftest2.$ac_objext
  9081     then
  9082       # The compiler can only warn and ignore the option if not recognized
  9083       # So say no if there are warnings
  9084       $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  9085       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  9086       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  9087         lt_cv_prog_compiler_c_o=yes
  9088       fi
  9089     fi
  9090     chmod u+w . 2>&5
  9091     $RM conftest*
  9092     # SGI C++ compiler will create directory out/ii_files/ for
  9093     # template instantiation
  9094     test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  9095     $RM out/* && rmdir out
  9096     cd ..
  9097     $RM -r conftest
  9098     $RM conftest*
  9099  
  9100  fi
  9101  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  9102  $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  9103  
  9104  
  9105  
  9106  
  9107  hard_links="nottested"
  9108  if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  9109    # do not overwrite the value of need_locks provided by the user
  9110    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  9111  $as_echo_n "checking if we can lock with hard links... " >&6; }
  9112    hard_links=yes
  9113    $RM conftest*
  9114    ln conftest.a conftest.b 2>/dev/null && hard_links=no
  9115    touch conftest.a
  9116    ln conftest.a conftest.b 2>&5 || hard_links=no
  9117    ln conftest.a conftest.b 2>/dev/null && hard_links=no
  9118    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  9119  $as_echo "$hard_links" >&6; }
  9120    if test "$hard_links" = no; then
  9121      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  9122  $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  9123      need_locks=warn
  9124    fi
  9125  else
  9126    need_locks=no
  9127  fi
  9128  
  9129  
  9130  
  9131  
  9132  
  9133  
  9134    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  9135  $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  9136  
  9137    runpath_var=
  9138    allow_undefined_flag=
  9139    always_export_symbols=no
  9140    archive_cmds=
  9141    archive_expsym_cmds=
  9142    compiler_needs_object=no
  9143    enable_shared_with_static_runtimes=no
  9144    export_dynamic_flag_spec=
  9145    export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  9146    hardcode_automatic=no
  9147    hardcode_direct=no
  9148    hardcode_direct_absolute=no
  9149    hardcode_libdir_flag_spec=
  9150    hardcode_libdir_flag_spec_ld=
  9151    hardcode_libdir_separator=
  9152    hardcode_minus_L=no
  9153    hardcode_shlibpath_var=unsupported
  9154    inherit_rpath=no
  9155    link_all_deplibs=unknown
  9156    module_cmds=
  9157    module_expsym_cmds=
  9158    old_archive_from_new_cmds=
  9159    old_archive_from_expsyms_cmds=
  9160    thread_safe_flag_spec=
  9161    whole_archive_flag_spec=
  9162    # include_expsyms should be a list of space-separated symbols to be *always*
  9163    # included in the symbol list
  9164    include_expsyms=
  9165    # exclude_expsyms can be an extended regexp of symbols to exclude
  9166    # it will be wrapped by ` (' and `)$', so one must not match beginning or
  9167    # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  9168    # as well as any symbol that contains `d'.
  9169    exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  9170    # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  9171    # platforms (ab)use it in PIC code, but their linkers get confused if
  9172    # the symbol is explicitly referenced.  Since portable code cannot
  9173    # rely on this symbol name, it's probably fine to never include it in
  9174    # preloaded symbol tables.
  9175    # Exclude shared library initialization/finalization symbols.
  9176    extract_expsyms_cmds=
  9177  
  9178    case $host_os in
  9179    cygwin* | mingw* | pw32* | cegcc*)
  9180      # FIXME: the MSVC++ port hasn't been tested in a loooong time
  9181      # When not using gcc, we currently assume that we are using
  9182      # Microsoft Visual C++.
  9183      if test "$GCC" != yes; then
  9184        with_gnu_ld=no
  9185      fi
  9186      ;;
  9187    interix*)
  9188      # we just hope/assume this is gcc and not c89 (= MSVC++)
  9189      with_gnu_ld=yes
  9190      ;;
  9191    openbsd*)
  9192      with_gnu_ld=no
  9193      ;;
  9194    esac
  9195  
  9196    ld_shlibs=yes
  9197  
  9198    # On some targets, GNU ld is compatible enough with the native linker
  9199    # that we're better off using the native interface for both.
  9200    lt_use_gnu_ld_interface=no
  9201    if test "$with_gnu_ld" = yes; then
  9202      case $host_os in
  9203        aix*)
  9204  	# The AIX port of GNU ld has always aspired to compatibility
  9205  	# with the native linker.  However, as the warning in the GNU ld
  9206  	# block says, versions before 2.19.5* couldn't really create working
  9207  	# shared libraries, regardless of the interface used.
  9208  	case `$LD -v 2>&1` in
  9209  	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  9210  	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  9211  	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  9212  	  *)
  9213  	    lt_use_gnu_ld_interface=yes
  9214  	    ;;
  9215  	esac
  9216  	;;
  9217        *)
  9218  	lt_use_gnu_ld_interface=yes
  9219  	;;
  9220      esac
  9221    fi
  9222  
  9223    if test "$lt_use_gnu_ld_interface" = yes; then
  9224      # If archive_cmds runs LD, not CC, wlarc should be empty
  9225      wlarc='${wl}'
  9226  
  9227      # Set some defaults for GNU ld with shared library support. These
  9228      # are reset later if shared libraries are not supported. Putting them
  9229      # here allows them to be overridden if necessary.
  9230      runpath_var=LD_RUN_PATH
  9231      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9232      export_dynamic_flag_spec='${wl}--export-dynamic'
  9233      # ancient GNU ld didn't support --whole-archive et. al.
  9234      if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  9235        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  9236      else
  9237        whole_archive_flag_spec=
  9238      fi
  9239      supports_anon_versioning=no
  9240      case `$LD -v 2>&1` in
  9241        *GNU\ gold*) supports_anon_versioning=yes ;;
  9242        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  9243        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  9244        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  9245        *\ 2.11.*) ;; # other 2.11 versions
  9246        *) supports_anon_versioning=yes ;;
  9247      esac
  9248  
  9249      # See if GNU ld supports shared libraries.
  9250      case $host_os in
  9251      aix[3-9]*)
  9252        # On AIX/PPC, the GNU linker is very broken
  9253        if test "$host_cpu" != ia64; then
  9254  	ld_shlibs=no
  9255  	cat <<_LT_EOF 1>&2
  9256  
  9257  *** Warning: the GNU linker, at least up to release 2.19, is reported
  9258  *** to be unable to reliably create shared libraries on AIX.
  9259  *** Therefore, libtool is disabling shared libraries support.  If you
  9260  *** really care for shared libraries, you may want to install binutils
  9261  *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  9262  *** You will then need to restart the configuration process.
  9263  
  9264  _LT_EOF
  9265        fi
  9266        ;;
  9267  
  9268      amigaos*)
  9269        case $host_cpu in
  9270        powerpc)
  9271              # see comment about AmigaOS4 .so support
  9272              archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9273              archive_expsym_cmds=''
  9274          ;;
  9275        m68k)
  9276              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)'
  9277              hardcode_libdir_flag_spec='-L$libdir'
  9278              hardcode_minus_L=yes
  9279          ;;
  9280        esac
  9281        ;;
  9282  
  9283      beos*)
  9284        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9285  	allow_undefined_flag=unsupported
  9286  	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  9287  	# support --undefined.  This deserves some investigation.  FIXME
  9288  	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9289        else
  9290  	ld_shlibs=no
  9291        fi
  9292        ;;
  9293  
  9294      cygwin* | mingw* | pw32* | cegcc*)
  9295        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  9296        # as there is no search path for DLLs.
  9297        hardcode_libdir_flag_spec='-L$libdir'
  9298        export_dynamic_flag_spec='${wl}--export-all-symbols'
  9299        allow_undefined_flag=unsupported
  9300        always_export_symbols=no
  9301        enable_shared_with_static_runtimes=yes
  9302        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  9303  
  9304        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  9305          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  9306  	# If the export-symbols file already is a .def file (1st line
  9307  	# is EXPORTS), use it as is; otherwise, prepend...
  9308  	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  9309  	  cp $export_symbols $output_objdir/$soname.def;
  9310  	else
  9311  	  echo EXPORTS > $output_objdir/$soname.def;
  9312  	  cat $export_symbols >> $output_objdir/$soname.def;
  9313  	fi~
  9314  	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  9315        else
  9316  	ld_shlibs=no
  9317        fi
  9318        ;;
  9319  
  9320      haiku*)
  9321        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9322        link_all_deplibs=yes
  9323        ;;
  9324  
  9325      interix[3-9]*)
  9326        hardcode_direct=no
  9327        hardcode_shlibpath_var=no
  9328        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  9329        export_dynamic_flag_spec='${wl}-E'
  9330        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  9331        # Instead, shared libraries are loaded at an image base (0x10000000 by
  9332        # default) and relocated if they conflict, which is a slow very memory
  9333        # consuming and fragmenting process.  To avoid this, we pick a random,
  9334        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  9335        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
  9336        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  9337        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'
  9338        ;;
  9339  
  9340      gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  9341        tmp_diet=no
  9342        if test "$host_os" = linux-dietlibc; then
  9343  	case $cc_basename in
  9344  	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
  9345  	esac
  9346        fi
  9347        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  9348  	 && test "$tmp_diet" = no
  9349        then
  9350  	tmp_addflag=
  9351  	tmp_sharedflag='-shared'
  9352  	case $cc_basename,$host_cpu in
  9353          pgcc*)				# Portland Group C compiler
  9354  	  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'
  9355  	  tmp_addflag=' $pic_flag'
  9356  	  ;;
  9357  	pgf77* | pgf90* | pgf95* | pgfortran*)
  9358  					# Portland Group f77 and f90 compilers
  9359  	  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'
  9360  	  tmp_addflag=' $pic_flag -Mnomain' ;;
  9361  	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
  9362  	  tmp_addflag=' -i_dynamic' ;;
  9363  	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
  9364  	  tmp_addflag=' -i_dynamic -nofor_main' ;;
  9365  	ifc* | ifort*)			# Intel Fortran compiler
  9366  	  tmp_addflag=' -nofor_main' ;;
  9367  	lf95*)				# Lahey Fortran 8.1
  9368  	  whole_archive_flag_spec=
  9369  	  tmp_sharedflag='--shared' ;;
  9370  	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  9371  	  tmp_sharedflag='-qmkshrobj'
  9372  	  tmp_addflag= ;;
  9373  	nvcc*)	# Cuda Compiler Driver 2.2
  9374  	  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'
  9375  	  compiler_needs_object=yes
  9376  	  ;;
  9377  	esac
  9378  	case `$CC -V 2>&1 | sed 5q` in
  9379  	*Sun\ C*)			# Sun C 5.9
  9380  	  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'
  9381  	  compiler_needs_object=yes
  9382  	  tmp_sharedflag='-G' ;;
  9383  	*Sun\ F*)			# Sun Fortran 8.3
  9384  	  tmp_sharedflag='-G' ;;
  9385  	esac
  9386  	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9387  
  9388          if test "x$supports_anon_versioning" = xyes; then
  9389            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  9390  	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  9391  	    echo "local: *; };" >> $output_objdir/$libname.ver~
  9392  	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  9393          fi
  9394  
  9395  	case $cc_basename in
  9396  	xlf* | bgf* | bgxlf* | mpixlf*)
  9397  	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  9398  	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  9399  	  hardcode_libdir_flag_spec=
  9400  	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
  9401  	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  9402  	  if test "x$supports_anon_versioning" = xyes; then
  9403  	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  9404  	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  9405  	      echo "local: *; };" >> $output_objdir/$libname.ver~
  9406  	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  9407  	  fi
  9408  	  ;;
  9409  	esac
  9410        else
  9411          ld_shlibs=no
  9412        fi
  9413        ;;
  9414  
  9415      netbsd*)
  9416        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  9417  	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  9418  	wlarc=
  9419        else
  9420  	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9421  	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9422        fi
  9423        ;;
  9424  
  9425      solaris*)
  9426        if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  9427  	ld_shlibs=no
  9428  	cat <<_LT_EOF 1>&2
  9429  
  9430  *** Warning: The releases 2.8.* of the GNU linker cannot reliably
  9431  *** create shared libraries on Solaris systems.  Therefore, libtool
  9432  *** is disabling shared libraries support.  We urge you to upgrade GNU
  9433  *** binutils to release 2.9.1 or newer.  Another option is to modify
  9434  *** your PATH or compiler configuration so that the native linker is
  9435  *** used, and then restart.
  9436  
  9437  _LT_EOF
  9438        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9439  	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9440  	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9441        else
  9442  	ld_shlibs=no
  9443        fi
  9444        ;;
  9445  
  9446      sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  9447        case `$LD -v 2>&1` in
  9448          *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  9449  	ld_shlibs=no
  9450  	cat <<_LT_EOF 1>&2
  9451  
  9452  *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  9453  *** reliably create shared libraries on SCO systems.  Therefore, libtool
  9454  *** is disabling shared libraries support.  We urge you to upgrade GNU
  9455  *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
  9456  *** your PATH or compiler configuration so that the native linker is
  9457  *** used, and then restart.
  9458  
  9459  _LT_EOF
  9460  	;;
  9461  	*)
  9462  	  # For security reasons, it is highly recommended that you always
  9463  	  # use absolute paths for naming shared libraries, and exclude the
  9464  	  # DT_RUNPATH tag from executables and libraries.  But doing so
  9465  	  # requires that you compile everything twice, which is a pain.
  9466  	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9467  	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9468  	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9469  	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9470  	  else
  9471  	    ld_shlibs=no
  9472  	  fi
  9473  	;;
  9474        esac
  9475        ;;
  9476  
  9477      sunos4*)
  9478        archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9479        wlarc=
  9480        hardcode_direct=yes
  9481        hardcode_shlibpath_var=no
  9482        ;;
  9483  
  9484      *)
  9485        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9486  	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9487  	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9488        else
  9489  	ld_shlibs=no
  9490        fi
  9491        ;;
  9492      esac
  9493  
  9494      if test "$ld_shlibs" = no; then
  9495        runpath_var=
  9496        hardcode_libdir_flag_spec=
  9497        export_dynamic_flag_spec=
  9498        whole_archive_flag_spec=
  9499      fi
  9500    else
  9501      # PORTME fill in a description of your system's linker (not GNU ld)
  9502      case $host_os in
  9503      aix3*)
  9504        allow_undefined_flag=unsupported
  9505        always_export_symbols=yes
  9506        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'
  9507        # Note: this linker hardcodes the directories in LIBPATH if there
  9508        # are no directories specified by -L.
  9509        hardcode_minus_L=yes
  9510        if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  9511  	# Neither direct hardcoding nor static linking is supported with a
  9512  	# broken collect2.
  9513  	hardcode_direct=unsupported
  9514        fi
  9515        ;;
  9516  
  9517      aix[4-9]*)
  9518        if test "$host_cpu" = ia64; then
  9519  	# On IA64, the linker does run time linking by default, so we don't
  9520  	# have to do anything special.
  9521  	aix_use_runtimelinking=no
  9522  	exp_sym_flag='-Bexport'
  9523  	no_entry_flag=""
  9524        else
  9525  	# If we're using GNU nm, then we don't want the "-C" option.
  9526  	# -C means demangle to AIX nm, but means don't demangle with GNU nm
  9527  	# Also, AIX nm treats weak defined symbols like other global
  9528  	# defined symbols, whereas GNU nm marks them as "W".
  9529  	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  9530  	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  9531  	else
  9532  	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  9533  	fi
  9534  	aix_use_runtimelinking=no
  9535  
  9536  	# Test if we are trying to use run time linking or normal
  9537  	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
  9538  	# need to do runtime linking.
  9539  	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  9540  	  for ld_flag in $LDFLAGS; do
  9541  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  9542  	    aix_use_runtimelinking=yes
  9543  	    break
  9544  	  fi
  9545  	  done
  9546  	  ;;
  9547  	esac
  9548  
  9549  	exp_sym_flag='-bexport'
  9550  	no_entry_flag='-bnoentry'
  9551        fi
  9552  
  9553        # When large executables or shared objects are built, AIX ld can
  9554        # have problems creating the table of contents.  If linking a library
  9555        # or program results in "error TOC overflow" add -mminimal-toc to
  9556        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
  9557        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  9558  
  9559        archive_cmds=''
  9560        hardcode_direct=yes
  9561        hardcode_direct_absolute=yes
  9562        hardcode_libdir_separator=':'
  9563        link_all_deplibs=yes
  9564        file_list_spec='${wl}-f,'
  9565  
  9566        if test "$GCC" = yes; then
  9567  	case $host_os in aix4.[012]|aix4.[012].*)
  9568  	# We only want to do this on AIX 4.2 and lower, the check
  9569  	# below for broken collect2 doesn't work under 4.3+
  9570  	  collect2name=`${CC} -print-prog-name=collect2`
  9571  	  if test -f "$collect2name" &&
  9572  	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  9573  	  then
  9574  	  # We have reworked collect2
  9575  	  :
  9576  	  else
  9577  	  # We have old collect2
  9578  	  hardcode_direct=unsupported
  9579  	  # It fails to find uninstalled libraries when the uninstalled
  9580  	  # path is not listed in the libpath.  Setting hardcode_minus_L
  9581  	  # to unsupported forces relinking
  9582  	  hardcode_minus_L=yes
  9583  	  hardcode_libdir_flag_spec='-L$libdir'
  9584  	  hardcode_libdir_separator=
  9585  	  fi
  9586  	  ;;
  9587  	esac
  9588  	shared_flag='-shared'
  9589  	if test "$aix_use_runtimelinking" = yes; then
  9590  	  shared_flag="$shared_flag "'${wl}-G'
  9591  	fi
  9592        else
  9593  	# not using gcc
  9594  	if test "$host_cpu" = ia64; then
  9595  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  9596  	# chokes on -Wl,-G. The following line is correct:
  9597  	  shared_flag='-G'
  9598  	else
  9599  	  if test "$aix_use_runtimelinking" = yes; then
  9600  	    shared_flag='${wl}-G'
  9601  	  else
  9602  	    shared_flag='${wl}-bM:SRE'
  9603  	  fi
  9604  	fi
  9605        fi
  9606  
  9607        export_dynamic_flag_spec='${wl}-bexpall'
  9608        # It seems that -bexpall does not export symbols beginning with
  9609        # underscore (_), so it is better to generate a list of symbols to export.
  9610        always_export_symbols=yes
  9611        if test "$aix_use_runtimelinking" = yes; then
  9612  	# Warning - without using the other runtime loading flags (-brtl),
  9613  	# -berok will link without error, but may produce a broken library.
  9614  	allow_undefined_flag='-berok'
  9615          # Determine the default libpath from the value encoded in an
  9616          # empty executable.
  9617          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9618  /* end confdefs.h.  */
  9619  
  9620  int
  9621  main ()
  9622  {
  9623  
  9624    ;
  9625    return 0;
  9626  }
  9627  _ACEOF
  9628  if ac_fn_c_try_link "$LINENO"; then :
  9629  
  9630  lt_aix_libpath_sed='
  9631      /Import File Strings/,/^$/ {
  9632  	/^0/ {
  9633  	    s/^0  *\(.*\)$/\1/
  9634  	    p
  9635  	}
  9636      }'
  9637  aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9638  # Check for a 64-bit object if we didn't find anything.
  9639  if test -z "$aix_libpath"; then
  9640    aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9641  fi
  9642  fi
  9643  rm -f core conftest.err conftest.$ac_objext \
  9644      conftest$ac_exeext conftest.$ac_ext
  9645  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  9646  
  9647          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  9648          archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  9649        else
  9650  	if test "$host_cpu" = ia64; then
  9651  	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  9652  	  allow_undefined_flag="-z nodefs"
  9653  	  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"
  9654  	else
  9655  	 # Determine the default libpath from the value encoded in an
  9656  	 # empty executable.
  9657  	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9658  /* end confdefs.h.  */
  9659  
  9660  int
  9661  main ()
  9662  {
  9663  
  9664    ;
  9665    return 0;
  9666  }
  9667  _ACEOF
  9668  if ac_fn_c_try_link "$LINENO"; then :
  9669  
  9670  lt_aix_libpath_sed='
  9671      /Import File Strings/,/^$/ {
  9672  	/^0/ {
  9673  	    s/^0  *\(.*\)$/\1/
  9674  	    p
  9675  	}
  9676      }'
  9677  aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9678  # Check for a 64-bit object if we didn't find anything.
  9679  if test -z "$aix_libpath"; then
  9680    aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9681  fi
  9682  fi
  9683  rm -f core conftest.err conftest.$ac_objext \
  9684      conftest$ac_exeext conftest.$ac_ext
  9685  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  9686  
  9687  	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  9688  	  # Warning - without using the other run time loading flags,
  9689  	  # -berok will link without error, but may produce a broken library.
  9690  	  no_undefined_flag=' ${wl}-bernotok'
  9691  	  allow_undefined_flag=' ${wl}-berok'
  9692  	  if test "$with_gnu_ld" = yes; then
  9693  	    # We only use this code for GNU lds that support --whole-archive.
  9694  	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  9695  	  else
  9696  	    # Exported symbols can be pulled into shared objects from archives
  9697  	    whole_archive_flag_spec='$convenience'
  9698  	  fi
  9699  	  archive_cmds_need_lc=yes
  9700  	  # This is similar to how AIX traditionally builds its shared libraries.
  9701  	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  9702  	fi
  9703        fi
  9704        ;;
  9705  
  9706      amigaos*)
  9707        case $host_cpu in
  9708        powerpc)
  9709              # see comment about AmigaOS4 .so support
  9710              archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9711              archive_expsym_cmds=''
  9712          ;;
  9713        m68k)
  9714              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)'
  9715              hardcode_libdir_flag_spec='-L$libdir'
  9716              hardcode_minus_L=yes
  9717          ;;
  9718        esac
  9719        ;;
  9720  
  9721      bsdi[45]*)
  9722        export_dynamic_flag_spec=-rdynamic
  9723        ;;
  9724  
  9725      cygwin* | mingw* | pw32* | cegcc*)
  9726        # When not using gcc, we currently assume that we are using
  9727        # Microsoft Visual C++.
  9728        # hardcode_libdir_flag_spec is actually meaningless, as there is
  9729        # no search path for DLLs.
  9730        hardcode_libdir_flag_spec=' '
  9731        allow_undefined_flag=unsupported
  9732        # Tell ltmain to make .lib files, not .a files.
  9733        libext=lib
  9734        # Tell ltmain to make .dll files, not .so files.
  9735        shrext_cmds=".dll"
  9736        # FIXME: Setting linknames here is a bad hack.
  9737        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  9738        # The linker will automatically build a .lib file if we build a DLL.
  9739        old_archive_from_new_cmds='true'
  9740        # FIXME: Should let the user specify the lib program.
  9741        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  9742        fix_srcfile_path='`cygpath -w "$srcfile"`'
  9743        enable_shared_with_static_runtimes=yes
  9744        ;;
  9745  
  9746      darwin* | rhapsody*)
  9747  
  9748  
  9749    archive_cmds_need_lc=no
  9750    hardcode_direct=no
  9751    hardcode_automatic=yes
  9752    hardcode_shlibpath_var=unsupported
  9753    if test "$lt_cv_ld_force_load" = "yes"; then
  9754      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\"`'
  9755    else
  9756      whole_archive_flag_spec=''
  9757    fi
  9758    link_all_deplibs=yes
  9759    allow_undefined_flag="$_lt_dar_allow_undefined"
  9760    case $cc_basename in
  9761       ifort*) _lt_dar_can_shared=yes ;;
  9762       *) _lt_dar_can_shared=$GCC ;;
  9763    esac
  9764    if test "$_lt_dar_can_shared" = "yes"; then
  9765      output_verbose_link_cmd=func_echo_all
  9766      archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  9767      module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  9768      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}"
  9769      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}"
  9770  
  9771    else
  9772    ld_shlibs=no
  9773    fi
  9774  
  9775        ;;
  9776  
  9777      dgux*)
  9778        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9779        hardcode_libdir_flag_spec='-L$libdir'
  9780        hardcode_shlibpath_var=no
  9781        ;;
  9782  
  9783      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  9784      # support.  Future versions do this automatically, but an explicit c++rt0.o
  9785      # does not break anything, and helps significantly (at the cost of a little
  9786      # extra space).
  9787      freebsd2.2*)
  9788        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  9789        hardcode_libdir_flag_spec='-R$libdir'
  9790        hardcode_direct=yes
  9791        hardcode_shlibpath_var=no
  9792        ;;
  9793  
  9794      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  9795      freebsd2.*)
  9796        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9797        hardcode_direct=yes
  9798        hardcode_minus_L=yes
  9799        hardcode_shlibpath_var=no
  9800        ;;
  9801  
  9802      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  9803      freebsd* | dragonfly*)
  9804        archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  9805        hardcode_libdir_flag_spec='-R$libdir'
  9806        hardcode_direct=yes
  9807        hardcode_shlibpath_var=no
  9808        ;;
  9809  
  9810      hpux9*)
  9811        if test "$GCC" = yes; then
  9812  	archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  9813        else
  9814  	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  9815        fi
  9816        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  9817        hardcode_libdir_separator=:
  9818        hardcode_direct=yes
  9819  
  9820        # hardcode_minus_L: Not really in the search PATH,
  9821        # but as the default location of the library.
  9822        hardcode_minus_L=yes
  9823        export_dynamic_flag_spec='${wl}-E'
  9824        ;;
  9825  
  9826      hpux10*)
  9827        if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  9828  	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9829        else
  9830  	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  9831        fi
  9832        if test "$with_gnu_ld" = no; then
  9833  	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  9834  	hardcode_libdir_flag_spec_ld='+b $libdir'
  9835  	hardcode_libdir_separator=:
  9836  	hardcode_direct=yes
  9837  	hardcode_direct_absolute=yes
  9838  	export_dynamic_flag_spec='${wl}-E'
  9839  	# hardcode_minus_L: Not really in the search PATH,
  9840  	# but as the default location of the library.
  9841  	hardcode_minus_L=yes
  9842        fi
  9843        ;;
  9844  
  9845      hpux11*)
  9846        if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  9847  	case $host_cpu in
  9848  	hppa*64*)
  9849  	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9850  	  ;;
  9851  	ia64*)
  9852  	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  9853  	  ;;
  9854  	*)
  9855  	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9856  	  ;;
  9857  	esac
  9858        else
  9859  	case $host_cpu in
  9860  	hppa*64*)
  9861  	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9862  	  ;;
  9863  	ia64*)
  9864  	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  9865  	  ;;
  9866  	*)
  9867  
  9868  	  # Older versions of the 11.00 compiler do not understand -b yet
  9869  	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  9870  	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
  9871  $as_echo_n "checking if $CC understands -b... " >&6; }
  9872  if ${lt_cv_prog_compiler__b+:} false; then :
  9873    $as_echo_n "(cached) " >&6
  9874  else
  9875    lt_cv_prog_compiler__b=no
  9876     save_LDFLAGS="$LDFLAGS"
  9877     LDFLAGS="$LDFLAGS -b"
  9878     echo "$lt_simple_link_test_code" > conftest.$ac_ext
  9879     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  9880       # The linker can only warn and ignore the option if not recognized
  9881       # So say no if there are warnings
  9882       if test -s conftest.err; then
  9883         # Append any errors to the config.log.
  9884         cat conftest.err 1>&5
  9885         $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  9886         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  9887         if diff conftest.exp conftest.er2 >/dev/null; then
  9888           lt_cv_prog_compiler__b=yes
  9889         fi
  9890       else
  9891         lt_cv_prog_compiler__b=yes
  9892       fi
  9893     fi
  9894     $RM -r conftest*
  9895     LDFLAGS="$save_LDFLAGS"
  9896  
  9897  fi
  9898  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
  9899  $as_echo "$lt_cv_prog_compiler__b" >&6; }
  9900  
  9901  if test x"$lt_cv_prog_compiler__b" = xyes; then
  9902      archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9903  else
  9904      archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  9905  fi
  9906  
  9907  	  ;;
  9908  	esac
  9909        fi
  9910        if test "$with_gnu_ld" = no; then
  9911  	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  9912  	hardcode_libdir_separator=:
  9913  
  9914  	case $host_cpu in
  9915  	hppa*64*|ia64*)
  9916  	  hardcode_direct=no
  9917  	  hardcode_shlibpath_var=no
  9918  	  ;;
  9919  	*)
  9920  	  hardcode_direct=yes
  9921  	  hardcode_direct_absolute=yes
  9922  	  export_dynamic_flag_spec='${wl}-E'
  9923  
  9924  	  # hardcode_minus_L: Not really in the search PATH,
  9925  	  # but as the default location of the library.
  9926  	  hardcode_minus_L=yes
  9927  	  ;;
  9928  	esac
  9929        fi
  9930        ;;
  9931  
  9932      irix5* | irix6* | nonstopux*)
  9933        if test "$GCC" = yes; then
  9934  	archive_cmds='$CC -shared $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'
  9935  	# Try to use the -exported_symbol ld option, if it does not
  9936  	# work, assume that -exports_file does not work either and
  9937  	# implicitly export all symbols.
  9938          save_LDFLAGS="$LDFLAGS"
  9939          LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  9940          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9941  /* end confdefs.h.  */
  9942  int foo(void) {}
  9943  _ACEOF
  9944  if ac_fn_c_try_link "$LINENO"; then :
  9945    archive_expsym_cmds='$CC -shared $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'
  9946  
  9947  fi
  9948  rm -f core conftest.err conftest.$ac_objext \
  9949      conftest$ac_exeext conftest.$ac_ext
  9950          LDFLAGS="$save_LDFLAGS"
  9951        else
  9952  	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'
  9953  	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'
  9954        fi
  9955        archive_cmds_need_lc='no'
  9956        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9957        hardcode_libdir_separator=:
  9958        inherit_rpath=yes
  9959        link_all_deplibs=yes
  9960        ;;
  9961  
  9962      netbsd*)
  9963        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  9964  	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
  9965        else
  9966  	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
  9967        fi
  9968        hardcode_libdir_flag_spec='-R$libdir'
  9969        hardcode_direct=yes
  9970        hardcode_shlibpath_var=no
  9971        ;;
  9972  
  9973      newsos6)
  9974        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9975        hardcode_direct=yes
  9976        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9977        hardcode_libdir_separator=:
  9978        hardcode_shlibpath_var=no
  9979        ;;
  9980  
  9981      *nto* | *qnx*)
  9982        ;;
  9983  
  9984      openbsd*)
  9985        if test -f /usr/libexec/ld.so; then
  9986  	hardcode_direct=yes
  9987  	hardcode_shlibpath_var=no
  9988  	hardcode_direct_absolute=yes
  9989  	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  9990  	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  9991  	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  9992  	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  9993  	  export_dynamic_flag_spec='${wl}-E'
  9994  	else
  9995  	  case $host_os in
  9996  	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  9997  	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9998  	     hardcode_libdir_flag_spec='-R$libdir'
  9999  	     ;;
 10000  	   *)
 10001  	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 10002  	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 10003  	     ;;
 10004  	  esac
 10005  	fi
 10006        else
 10007  	ld_shlibs=no
 10008        fi
 10009        ;;
 10010  
 10011      os2*)
 10012        hardcode_libdir_flag_spec='-L$libdir'
 10013        hardcode_minus_L=yes
 10014        allow_undefined_flag=unsupported
 10015        archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
 10016        old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 10017        ;;
 10018  
 10019      osf3*)
 10020        if test "$GCC" = yes; then
 10021  	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 10022  	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'
 10023        else
 10024  	allow_undefined_flag=' -expect_unresolved \*'
 10025  	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'
 10026        fi
 10027        archive_cmds_need_lc='no'
 10028        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 10029        hardcode_libdir_separator=:
 10030        ;;
 10031  
 10032      osf4* | osf5*)	# as osf3* with the addition of -msym flag
 10033        if test "$GCC" = yes; then
 10034  	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 10035  	archive_cmds='$CC -shared${allow_undefined_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'
 10036  	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 10037        else
 10038  	allow_undefined_flag=' -expect_unresolved \*'
 10039  	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'
 10040  	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~
 10041  	$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'
 10042  
 10043  	# Both c and cxx compiler support -rpath directly
 10044  	hardcode_libdir_flag_spec='-rpath $libdir'
 10045        fi
 10046        archive_cmds_need_lc='no'
 10047        hardcode_libdir_separator=:
 10048        ;;
 10049  
 10050      solaris*)
 10051        no_undefined_flag=' -z defs'
 10052        if test "$GCC" = yes; then
 10053  	wlarc='${wl}'
 10054  	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 10055  	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 10056  	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 10057        else
 10058  	case `$CC -V 2>&1` in
 10059  	*"Compilers 5.0"*)
 10060  	  wlarc=''
 10061  	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 10062  	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 10063  	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 10064  	  ;;
 10065  	*)
 10066  	  wlarc='${wl}'
 10067  	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 10068  	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 10069  	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 10070  	  ;;
 10071  	esac
 10072        fi
 10073        hardcode_libdir_flag_spec='-R$libdir'
 10074        hardcode_shlibpath_var=no
 10075        case $host_os in
 10076        solaris2.[0-5] | solaris2.[0-5].*) ;;
 10077        *)
 10078  	# The compiler driver will combine and reorder linker options,
 10079  	# but understands `-z linker_flag'.  GCC discards it without `$wl',
 10080  	# but is careful enough not to reorder.
 10081  	# Supported since Solaris 2.6 (maybe 2.5.1?)
 10082  	if test "$GCC" = yes; then
 10083  	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 10084  	else
 10085  	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 10086  	fi
 10087  	;;
 10088        esac
 10089        link_all_deplibs=yes
 10090        ;;
 10091  
 10092      sunos4*)
 10093        if test "x$host_vendor" = xsequent; then
 10094  	# Use $CC to link under sequent, because it throws in some extra .o
 10095  	# files that make .init and .fini sections work.
 10096  	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 10097        else
 10098  	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 10099        fi
 10100        hardcode_libdir_flag_spec='-L$libdir'
 10101        hardcode_direct=yes
 10102        hardcode_minus_L=yes
 10103        hardcode_shlibpath_var=no
 10104        ;;
 10105  
 10106      sysv4)
 10107        case $host_vendor in
 10108  	sni)
 10109  	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 10110  	  hardcode_direct=yes # is this really true???
 10111  	;;
 10112  	siemens)
 10113  	  ## LD is ld it makes a PLAMLIB
 10114  	  ## CC just makes a GrossModule.
 10115  	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 10116  	  reload_cmds='$CC -r -o $output$reload_objs'
 10117  	  hardcode_direct=no
 10118          ;;
 10119  	motorola)
 10120  	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 10121  	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 10122  	;;
 10123        esac
 10124        runpath_var='LD_RUN_PATH'
 10125        hardcode_shlibpath_var=no
 10126        ;;
 10127  
 10128      sysv4.3*)
 10129        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 10130        hardcode_shlibpath_var=no
 10131        export_dynamic_flag_spec='-Bexport'
 10132        ;;
 10133  
 10134      sysv4*MP*)
 10135        if test -d /usr/nec; then
 10136  	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 10137  	hardcode_shlibpath_var=no
 10138  	runpath_var=LD_RUN_PATH
 10139  	hardcode_runpath_var=yes
 10140  	ld_shlibs=yes
 10141        fi
 10142        ;;
 10143  
 10144      sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 10145        no_undefined_flag='${wl}-z,text'
 10146        archive_cmds_need_lc=no
 10147        hardcode_shlibpath_var=no
 10148        runpath_var='LD_RUN_PATH'
 10149  
 10150        if test "$GCC" = yes; then
 10151  	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 10152  	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 10153        else
 10154  	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 10155  	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 10156        fi
 10157        ;;
 10158  
 10159      sysv5* | sco3.2v5* | sco5v6*)
 10160        # Note: We can NOT use -z defs as we might desire, because we do not
 10161        # link with -lc, and that would cause any symbols used from libc to
 10162        # always be unresolved, which means just about no library would
 10163        # ever link correctly.  If we're not using GNU ld we use -z text
 10164        # though, which does catch some bad symbols but isn't as heavy-handed
 10165        # as -z defs.
 10166        no_undefined_flag='${wl}-z,text'
 10167        allow_undefined_flag='${wl}-z,nodefs'
 10168        archive_cmds_need_lc=no
 10169        hardcode_shlibpath_var=no
 10170        hardcode_libdir_flag_spec='${wl}-R,$libdir'
 10171        hardcode_libdir_separator=':'
 10172        link_all_deplibs=yes
 10173        export_dynamic_flag_spec='${wl}-Bexport'
 10174        runpath_var='LD_RUN_PATH'
 10175  
 10176        if test "$GCC" = yes; then
 10177  	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 10178  	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 10179        else
 10180  	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 10181  	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 10182        fi
 10183        ;;
 10184  
 10185      uts4*)
 10186        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 10187        hardcode_libdir_flag_spec='-L$libdir'
 10188        hardcode_shlibpath_var=no
 10189        ;;
 10190  
 10191      *)
 10192        ld_shlibs=no
 10193        ;;
 10194      esac
 10195  
 10196      if test x$host_vendor = xsni; then
 10197        case $host in
 10198        sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 10199  	export_dynamic_flag_spec='${wl}-Blargedynsym'
 10200  	;;
 10201        esac
 10202      fi
 10203    fi
 10204  
 10205  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 10206  $as_echo "$ld_shlibs" >&6; }
 10207  test "$ld_shlibs" = no && can_build_shared=no
 10208  
 10209  with_gnu_ld=$with_gnu_ld
 10210  
 10211  
 10212  
 10213  
 10214  
 10215  
 10216  
 10217  
 10218  
 10219  
 10220  
 10221  
 10222  
 10223  
 10224  
 10225  #
 10226  # Do we need to explicitly link libc?
 10227  #
 10228  case "x$archive_cmds_need_lc" in
 10229  x|xyes)
 10230    # Assume -lc should be added
 10231    archive_cmds_need_lc=yes
 10232  
 10233    if test "$enable_shared" = yes && test "$GCC" = yes; then
 10234      case $archive_cmds in
 10235      *'~'*)
 10236        # FIXME: we may have to deal with multi-command sequences.
 10237        ;;
 10238      '$CC '*)
 10239        # Test whether the compiler implicitly links with -lc since on some
 10240        # systems, -lgcc has to come before -lc. If gcc already passes -lc
 10241        # to ld, don't add -lc before -lgcc.
 10242        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 10243  $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 10244  if ${lt_cv_archive_cmds_need_lc+:} false; then :
 10245    $as_echo_n "(cached) " >&6
 10246  else
 10247    $RM conftest*
 10248  	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 10249  
 10250  	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 10251    (eval $ac_compile) 2>&5
 10252    ac_status=$?
 10253    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 10254    test $ac_status = 0; } 2>conftest.err; then
 10255  	  soname=conftest
 10256  	  lib=conftest
 10257  	  libobjs=conftest.$ac_objext
 10258  	  deplibs=
 10259  	  wl=$lt_prog_compiler_wl
 10260  	  pic_flag=$lt_prog_compiler_pic
 10261  	  compiler_flags=-v
 10262  	  linker_flags=-v
 10263  	  verstring=
 10264  	  output_objdir=.
 10265  	  libname=conftest
 10266  	  lt_save_allow_undefined_flag=$allow_undefined_flag
 10267  	  allow_undefined_flag=
 10268  	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 10269    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 10270    ac_status=$?
 10271    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 10272    test $ac_status = 0; }
 10273  	  then
 10274  	    lt_cv_archive_cmds_need_lc=no
 10275  	  else
 10276  	    lt_cv_archive_cmds_need_lc=yes
 10277  	  fi
 10278  	  allow_undefined_flag=$lt_save_allow_undefined_flag
 10279  	else
 10280  	  cat conftest.err 1>&5
 10281  	fi
 10282  	$RM conftest*
 10283  
 10284  fi
 10285  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 10286  $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 10287        archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
 10288        ;;
 10289      esac
 10290    fi
 10291    ;;
 10292  esac
 10293  
 10294  
 10295  
 10296  
 10297  
 10298  
 10299  
 10300  
 10301  
 10302  
 10303  
 10304  
 10305  
 10306  
 10307  
 10308  
 10309  
 10310  
 10311  
 10312  
 10313  
 10314  
 10315  
 10316  
 10317  
 10318  
 10319  
 10320  
 10321  
 10322  
 10323  
 10324  
 10325  
 10326  
 10327  
 10328  
 10329  
 10330  
 10331  
 10332  
 10333  
 10334  
 10335  
 10336  
 10337  
 10338  
 10339  
 10340  
 10341  
 10342  
 10343  
 10344  
 10345  
 10346  
 10347  
 10348  
 10349  
 10350  
 10351  
 10352  
 10353  
 10354  
 10355  
 10356  
 10357  
 10358  
 10359  
 10360  
 10361  
 10362  
 10363  
 10364  
 10365  
 10366  
 10367  
 10368  
 10369  
 10370  
 10371  
 10372  
 10373  
 10374  
 10375  
 10376  
 10377  
 10378  
 10379  
 10380  
 10381  
 10382  
 10383  
 10384  
 10385  
 10386  
 10387  
 10388  
 10389  
 10390  
 10391  
 10392  
 10393  
 10394  
 10395  
 10396  
 10397  
 10398  
 10399  
 10400  
 10401  
 10402  
 10403  
 10404  
 10405  
 10406  
 10407  
 10408  
 10409  
 10410  
 10411  
 10412  
 10413  
 10414  
 10415  
 10416  
 10417  
 10418  
 10419  
 10420  
 10421  
 10422  
 10423  
 10424  
 10425  
 10426  
 10427  
 10428  
 10429  
 10430  
 10431  
 10432  
 10433  
 10434  
 10435  
 10436  
 10437  
 10438  
 10439  
 10440  
 10441  
 10442  
 10443  
 10444  
 10445  
 10446  
 10447  
 10448  
 10449  
 10450    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 10451  $as_echo_n "checking dynamic linker characteristics... " >&6; }
 10452  
 10453  if test "$GCC" = yes; then
 10454    case $host_os in
 10455      darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 10456      *) lt_awk_arg="/^libraries:/" ;;
 10457    esac
 10458    case $host_os in
 10459      mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 10460      *) lt_sed_strip_eq="s,=/,/,g" ;;
 10461    esac
 10462    lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 10463    case $lt_search_path_spec in
 10464    *\;*)
 10465      # if the path contains ";" then we assume it to be the separator
 10466      # otherwise default to the standard path separator (i.e. ":") - it is
 10467      # assumed that no part of a normal pathname contains ";" but that should
 10468      # okay in the real world where ";" in dirpaths is itself problematic.
 10469      lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 10470      ;;
 10471    *)
 10472      lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 10473      ;;
 10474    esac
 10475    # Ok, now we have the path, separated by spaces, we can step through it
 10476    # and add multilib dir if necessary.
 10477    lt_tmp_lt_search_path_spec=
 10478    lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 10479    for lt_sys_path in $lt_search_path_spec; do
 10480      if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 10481        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 10482      else
 10483        test -d "$lt_sys_path" && \
 10484  	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 10485      fi
 10486    done
 10487    lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
 10488  BEGIN {RS=" "; FS="/|\n";} {
 10489    lt_foo="";
 10490    lt_count=0;
 10491    for (lt_i = NF; lt_i > 0; lt_i--) {
 10492      if ($lt_i != "" && $lt_i != ".") {
 10493        if ($lt_i == "..") {
 10494          lt_count++;
 10495        } else {
 10496          if (lt_count == 0) {
 10497            lt_foo="/" $lt_i lt_foo;
 10498          } else {
 10499            lt_count--;
 10500          }
 10501        }
 10502      }
 10503    }
 10504    if (lt_foo != "") { lt_freq[lt_foo]++; }
 10505    if (lt_freq[lt_foo] == 1) { print lt_foo; }
 10506  }'`
 10507    # AWK program above erroneously prepends '/' to C:/dos/paths
 10508    # for these hosts.
 10509    case $host_os in
 10510      mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 10511        $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 10512    esac
 10513    sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
 10514  else
 10515    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 10516  fi
 10517  library_names_spec=
 10518  libname_spec='lib$name'
 10519  soname_spec=
 10520  shrext_cmds=".so"
 10521  postinstall_cmds=
 10522  postuninstall_cmds=
 10523  finish_cmds=
 10524  finish_eval=
 10525  shlibpath_var=
 10526  shlibpath_overrides_runpath=unknown
 10527  version_type=none
 10528  dynamic_linker="$host_os ld.so"
 10529  sys_lib_dlsearch_path_spec="/lib /usr/lib"
 10530  need_lib_prefix=unknown
 10531  hardcode_into_libs=no
 10532  
 10533  # when you set need_version to no, make sure it does not cause -set_version
 10534  # flags to be left without arguments
 10535  need_version=unknown
 10536  
 10537  case $host_os in
 10538  aix3*)
 10539    version_type=linux
 10540    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 10541    shlibpath_var=LIBPATH
 10542  
 10543    # AIX 3 has no versioning support, so we append a major version to the name.
 10544    soname_spec='${libname}${release}${shared_ext}$major'
 10545    ;;
 10546  
 10547  aix[4-9]*)
 10548    version_type=linux
 10549    need_lib_prefix=no
 10550    need_version=no
 10551    hardcode_into_libs=yes
 10552    if test "$host_cpu" = ia64; then
 10553      # AIX 5 supports IA64
 10554      library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 10555      shlibpath_var=LD_LIBRARY_PATH
 10556    else
 10557      # With GCC up to 2.95.x, collect2 would create an import file
 10558      # for dependence libraries.  The import file would start with
 10559      # the line `#! .'.  This would cause the generated library to
 10560      # depend on `.', always an invalid library.  This was fixed in
 10561      # development snapshots of GCC prior to 3.0.
 10562      case $host_os in
 10563        aix4 | aix4.[01] | aix4.[01].*)
 10564        if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 10565  	   echo ' yes '
 10566  	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 10567  	:
 10568        else
 10569  	can_build_shared=no
 10570        fi
 10571        ;;
 10572      esac
 10573      # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 10574      # soname into executable. Probably we can add versioning support to
 10575      # collect2, so additional links can be useful in future.
 10576      if test "$aix_use_runtimelinking" = yes; then
 10577        # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 10578        # instead of lib<name>.a to let people know that these are not
 10579        # typical AIX shared libraries.
 10580        library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10581      else
 10582        # We preserve .a as extension for shared libraries through AIX4.2
 10583        # and later when we are not doing run time linking.
 10584        library_names_spec='${libname}${release}.a $libname.a'
 10585        soname_spec='${libname}${release}${shared_ext}$major'
 10586      fi
 10587      shlibpath_var=LIBPATH
 10588    fi
 10589    ;;
 10590  
 10591  amigaos*)
 10592    case $host_cpu in
 10593    powerpc)
 10594      # Since July 2007 AmigaOS4 officially supports .so libraries.
 10595      # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 10596      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10597      ;;
 10598    m68k)
 10599      library_names_spec='$libname.ixlibrary $libname.a'
 10600      # Create ${libname}_ixlibrary.a entries in /sys/libs.
 10601      finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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'
 10602      ;;
 10603    esac
 10604    ;;
 10605  
 10606  beos*)
 10607    library_names_spec='${libname}${shared_ext}'
 10608    dynamic_linker="$host_os ld.so"
 10609    shlibpath_var=LIBRARY_PATH
 10610    ;;
 10611  
 10612  bsdi[45]*)
 10613    version_type=linux
 10614    need_version=no
 10615    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10616    soname_spec='${libname}${release}${shared_ext}$major'
 10617    finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 10618    shlibpath_var=LD_LIBRARY_PATH
 10619    sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 10620    sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 10621    # the default ld.so.conf also contains /usr/contrib/lib and
 10622    # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 10623    # libtool to hard-code these into programs
 10624    ;;
 10625  
 10626  cygwin* | mingw* | pw32* | cegcc*)
 10627    version_type=windows
 10628    shrext_cmds=".dll"
 10629    need_version=no
 10630    need_lib_prefix=no
 10631  
 10632    case $GCC,$host_os in
 10633    yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 10634      library_names_spec='$libname.dll.a'
 10635      # DLL is installed to $(libdir)/../bin by postinstall_cmds
 10636      postinstall_cmds='base_file=`basename \${file}`~
 10637        dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 10638        dldir=$destdir/`dirname \$dlpath`~
 10639        test -d \$dldir || mkdir -p \$dldir~
 10640        $install_prog $dir/$dlname \$dldir/$dlname~
 10641        chmod a+x \$dldir/$dlname~
 10642        if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 10643          eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 10644        fi'
 10645      postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 10646        dlpath=$dir/\$dldll~
 10647         $RM \$dlpath'
 10648      shlibpath_overrides_runpath=yes
 10649  
 10650      case $host_os in
 10651      cygwin*)
 10652        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 10653        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 10654  
 10655        sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
 10656        ;;
 10657      mingw* | cegcc*)
 10658        # MinGW DLLs use traditional 'lib' prefix
 10659        soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 10660        ;;
 10661      pw32*)
 10662        # pw32 DLLs use 'pw' prefix rather than 'lib'
 10663        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 10664        ;;
 10665      esac
 10666      ;;
 10667  
 10668    *)
 10669      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 10670      ;;
 10671    esac
 10672    dynamic_linker='Win32 ld.exe'
 10673    # FIXME: first we should search . and the directory the executable is in
 10674    shlibpath_var=PATH
 10675    ;;
 10676  
 10677  darwin* | rhapsody*)
 10678    dynamic_linker="$host_os dyld"
 10679    version_type=darwin
 10680    need_lib_prefix=no
 10681    need_version=no
 10682    library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 10683    soname_spec='${libname}${release}${major}$shared_ext'
 10684    shlibpath_overrides_runpath=yes
 10685    shlibpath_var=DYLD_LIBRARY_PATH
 10686    shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 10687  
 10688    sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 10689    sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 10690    ;;
 10691  
 10692  dgux*)
 10693    version_type=linux
 10694    need_lib_prefix=no
 10695    need_version=no
 10696    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 10697    soname_spec='${libname}${release}${shared_ext}$major'
 10698    shlibpath_var=LD_LIBRARY_PATH
 10699    ;;
 10700  
 10701  freebsd* | dragonfly*)
 10702    # DragonFly does not have aout.  When/if they implement a new
 10703    # versioning mechanism, adjust this.
 10704    if test -x /usr/bin/objformat; then
 10705      objformat=`/usr/bin/objformat`
 10706    else
 10707      case $host_os in
 10708      freebsd[23].*) objformat=aout ;;
 10709      *) objformat=elf ;;
 10710      esac
 10711    fi
 10712    version_type=freebsd-$objformat
 10713    case $version_type in
 10714      freebsd-elf*)
 10715        library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 10716        need_version=no
 10717        need_lib_prefix=no
 10718        ;;
 10719      freebsd-*)
 10720        library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 10721        need_version=yes
 10722        ;;
 10723    esac
 10724    shlibpath_var=LD_LIBRARY_PATH
 10725    case $host_os in
 10726    freebsd2.*)
 10727      shlibpath_overrides_runpath=yes
 10728      ;;
 10729    freebsd3.[01]* | freebsdelf3.[01]*)
 10730      shlibpath_overrides_runpath=yes
 10731      hardcode_into_libs=yes
 10732      ;;
 10733    freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 10734    freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 10735      shlibpath_overrides_runpath=no
 10736      hardcode_into_libs=yes
 10737      ;;
 10738    *) # from 4.6 on, and DragonFly
 10739      shlibpath_overrides_runpath=yes
 10740      hardcode_into_libs=yes
 10741      ;;
 10742    esac
 10743    ;;
 10744  
 10745  haiku*)
 10746    version_type=linux
 10747    need_lib_prefix=no
 10748    need_version=no
 10749    dynamic_linker="$host_os runtime_loader"
 10750    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 10751    soname_spec='${libname}${release}${shared_ext}$major'
 10752    shlibpath_var=LIBRARY_PATH
 10753    shlibpath_overrides_runpath=yes
 10754    sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
 10755    hardcode_into_libs=yes
 10756    ;;
 10757  
 10758  hpux9* | hpux10* | hpux11*)
 10759    # Give a soname corresponding to the major version so that dld.sl refuses to
 10760    # link against other versions.
 10761    version_type=sunos
 10762    need_lib_prefix=no
 10763    need_version=no
 10764    case $host_cpu in
 10765    ia64*)
 10766      shrext_cmds='.so'
 10767      hardcode_into_libs=yes
 10768      dynamic_linker="$host_os dld.so"
 10769      shlibpath_var=LD_LIBRARY_PATH
 10770      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 10771      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10772      soname_spec='${libname}${release}${shared_ext}$major'
 10773      if test "X$HPUX_IA64_MODE" = X32; then
 10774        sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 10775      else
 10776        sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 10777      fi
 10778      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 10779      ;;
 10780    hppa*64*)
 10781      shrext_cmds='.sl'
 10782      hardcode_into_libs=yes
 10783      dynamic_linker="$host_os dld.sl"
 10784      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 10785      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 10786      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10787      soname_spec='${libname}${release}${shared_ext}$major'
 10788      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 10789      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 10790      ;;
 10791    *)
 10792      shrext_cmds='.sl'
 10793      dynamic_linker="$host_os dld.sl"
 10794      shlibpath_var=SHLIB_PATH
 10795      shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 10796      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10797      soname_spec='${libname}${release}${shared_ext}$major'
 10798      ;;
 10799    esac
 10800    # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
 10801    postinstall_cmds='chmod 555 $lib'
 10802    # or fails outright, so override atomically:
 10803    install_override_mode=555
 10804    ;;
 10805  
 10806  interix[3-9]*)
 10807    version_type=linux
 10808    need_lib_prefix=no
 10809    need_version=no
 10810    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 10811    soname_spec='${libname}${release}${shared_ext}$major'
 10812    dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 10813    shlibpath_var=LD_LIBRARY_PATH
 10814    shlibpath_overrides_runpath=no
 10815    hardcode_into_libs=yes
 10816    ;;
 10817  
 10818  irix5* | irix6* | nonstopux*)
 10819    case $host_os in
 10820      nonstopux*) version_type=nonstopux ;;
 10821      *)
 10822  	if test "$lt_cv_prog_gnu_ld" = yes; then
 10823  		version_type=linux
 10824  	else
 10825  		version_type=irix
 10826  	fi ;;
 10827    esac
 10828    need_lib_prefix=no
 10829    need_version=no
 10830    soname_spec='${libname}${release}${shared_ext}$major'
 10831    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 10832    case $host_os in
 10833    irix5* | nonstopux*)
 10834      libsuff= shlibsuff=
 10835      ;;
 10836    *)
 10837      case $LD in # libtool.m4 will add one of these switches to LD
 10838      *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 10839        libsuff= shlibsuff= libmagic=32-bit;;
 10840      *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 10841        libsuff=32 shlibsuff=N32 libmagic=N32;;
 10842      *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 10843        libsuff=64 shlibsuff=64 libmagic=64-bit;;
 10844      *) libsuff= shlibsuff= libmagic=never-match;;
 10845      esac
 10846      ;;
 10847    esac
 10848    shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 10849    shlibpath_overrides_runpath=no
 10850    sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 10851    sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 10852    hardcode_into_libs=yes
 10853    ;;
 10854  
 10855  # No shared lib support for Linux oldld, aout, or coff.
 10856  linux*oldld* | linux*aout* | linux*coff*)
 10857    dynamic_linker=no
 10858    ;;
 10859  
 10860  # This must be Linux ELF.
 10861  linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
 10862    version_type=linux
 10863    need_lib_prefix=no
 10864    need_version=no
 10865    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10866    soname_spec='${libname}${release}${shared_ext}$major'
 10867    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 10868    shlibpath_var=LD_LIBRARY_PATH
 10869    shlibpath_overrides_runpath=no
 10870  
 10871    # Some binutils ld are patched to set DT_RUNPATH
 10872    if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 10873    $as_echo_n "(cached) " >&6
 10874  else
 10875    lt_cv_shlibpath_overrides_runpath=no
 10876      save_LDFLAGS=$LDFLAGS
 10877      save_libdir=$libdir
 10878      eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 10879  	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 10880      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 10881  /* end confdefs.h.  */
 10882  
 10883  int
 10884  main ()
 10885  {
 10886  
 10887    ;
 10888    return 0;
 10889  }
 10890  _ACEOF
 10891  if ac_fn_c_try_link "$LINENO"; then :
 10892    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 10893    lt_cv_shlibpath_overrides_runpath=yes
 10894  fi
 10895  fi
 10896  rm -f core conftest.err conftest.$ac_objext \
 10897      conftest$ac_exeext conftest.$ac_ext
 10898      LDFLAGS=$save_LDFLAGS
 10899      libdir=$save_libdir
 10900  
 10901  fi
 10902  
 10903    shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 10904  
 10905    # This implies no fast_install, which is unacceptable.
 10906    # Some rework will be needed to allow for fast_install
 10907    # before this can be enabled.
 10908    hardcode_into_libs=yes
 10909  
 10910    # Append ld.so.conf contents to the search path
 10911    if test -f /etc/ld.so.conf; then
 10912      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' ' '`
 10913      sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 10914    fi
 10915  
 10916    # We used to test for /lib/ld.so.1 and disable shared libraries on
 10917    # powerpc, because MkLinux only supported shared libraries with the
 10918    # GNU dynamic linker.  Since this was broken with cross compilers,
 10919    # most powerpc-linux boxes support dynamic linking these days and
 10920    # people can always --disable-shared, the test was removed, and we
 10921    # assume the GNU/Linux dynamic linker is in use.
 10922    dynamic_linker='GNU/Linux ld.so'
 10923    ;;
 10924  
 10925  netbsd*)
 10926    version_type=sunos
 10927    need_lib_prefix=no
 10928    need_version=no
 10929    if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 10930      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 10931      finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 10932      dynamic_linker='NetBSD (a.out) ld.so'
 10933    else
 10934      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 10935      soname_spec='${libname}${release}${shared_ext}$major'
 10936      dynamic_linker='NetBSD ld.elf_so'
 10937    fi
 10938    shlibpath_var=LD_LIBRARY_PATH
 10939    shlibpath_overrides_runpath=yes
 10940    hardcode_into_libs=yes
 10941    ;;
 10942  
 10943  newsos6)
 10944    version_type=linux
 10945    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10946    shlibpath_var=LD_LIBRARY_PATH
 10947    shlibpath_overrides_runpath=yes
 10948    ;;
 10949  
 10950  *nto* | *qnx*)
 10951    version_type=qnx
 10952    need_lib_prefix=no
 10953    need_version=no
 10954    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10955    soname_spec='${libname}${release}${shared_ext}$major'
 10956    shlibpath_var=LD_LIBRARY_PATH
 10957    shlibpath_overrides_runpath=no
 10958    hardcode_into_libs=yes
 10959    dynamic_linker='ldqnx.so'
 10960    ;;
 10961  
 10962  openbsd*)
 10963    version_type=sunos
 10964    sys_lib_dlsearch_path_spec="/usr/lib"
 10965    need_lib_prefix=no
 10966    # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 10967    case $host_os in
 10968      openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
 10969      *)				need_version=no  ;;
 10970    esac
 10971    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 10972    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 10973    shlibpath_var=LD_LIBRARY_PATH
 10974    if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 10975      case $host_os in
 10976        openbsd2.[89] | openbsd2.[89].*)
 10977  	shlibpath_overrides_runpath=no
 10978  	;;
 10979        *)
 10980  	shlibpath_overrides_runpath=yes
 10981  	;;
 10982        esac
 10983    else
 10984      shlibpath_overrides_runpath=yes
 10985    fi
 10986    ;;
 10987  
 10988  os2*)
 10989    libname_spec='$name'
 10990    shrext_cmds=".dll"
 10991    need_lib_prefix=no
 10992    library_names_spec='$libname${shared_ext} $libname.a'
 10993    dynamic_linker='OS/2 ld.exe'
 10994    shlibpath_var=LIBPATH
 10995    ;;
 10996  
 10997  osf3* | osf4* | osf5*)
 10998    version_type=osf
 10999    need_lib_prefix=no
 11000    need_version=no
 11001    soname_spec='${libname}${release}${shared_ext}$major'
 11002    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11003    shlibpath_var=LD_LIBRARY_PATH
 11004    sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 11005    sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 11006    ;;
 11007  
 11008  rdos*)
 11009    dynamic_linker=no
 11010    ;;
 11011  
 11012  solaris*)
 11013    version_type=linux
 11014    need_lib_prefix=no
 11015    need_version=no
 11016    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11017    soname_spec='${libname}${release}${shared_ext}$major'
 11018    shlibpath_var=LD_LIBRARY_PATH
 11019    shlibpath_overrides_runpath=yes
 11020    hardcode_into_libs=yes
 11021    # ldd complains unless libraries are executable
 11022    postinstall_cmds='chmod +x $lib'
 11023    ;;
 11024  
 11025  sunos4*)
 11026    version_type=sunos
 11027    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 11028    finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 11029    shlibpath_var=LD_LIBRARY_PATH
 11030    shlibpath_overrides_runpath=yes
 11031    if test "$with_gnu_ld" = yes; then
 11032      need_lib_prefix=no
 11033    fi
 11034    need_version=yes
 11035    ;;
 11036  
 11037  sysv4 | sysv4.3*)
 11038    version_type=linux
 11039    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11040    soname_spec='${libname}${release}${shared_ext}$major'
 11041    shlibpath_var=LD_LIBRARY_PATH
 11042    case $host_vendor in
 11043      sni)
 11044        shlibpath_overrides_runpath=no
 11045        need_lib_prefix=no
 11046        runpath_var=LD_RUN_PATH
 11047        ;;
 11048      siemens)
 11049        need_lib_prefix=no
 11050        ;;
 11051      motorola)
 11052        need_lib_prefix=no
 11053        need_version=no
 11054        shlibpath_overrides_runpath=no
 11055        sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 11056        ;;
 11057    esac
 11058    ;;
 11059  
 11060  sysv4*MP*)
 11061    if test -d /usr/nec ;then
 11062      version_type=linux
 11063      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 11064      soname_spec='$libname${shared_ext}.$major'
 11065      shlibpath_var=LD_LIBRARY_PATH
 11066    fi
 11067    ;;
 11068  
 11069  sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 11070    version_type=freebsd-elf
 11071    need_lib_prefix=no
 11072    need_version=no
 11073    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 11074    soname_spec='${libname}${release}${shared_ext}$major'
 11075    shlibpath_var=LD_LIBRARY_PATH
 11076    shlibpath_overrides_runpath=yes
 11077    hardcode_into_libs=yes
 11078    if test "$with_gnu_ld" = yes; then
 11079      sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 11080    else
 11081      sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 11082      case $host_os in
 11083        sco3.2v5*)
 11084          sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 11085  	;;
 11086      esac
 11087    fi
 11088    sys_lib_dlsearch_path_spec='/usr/lib'
 11089    ;;
 11090  
 11091  tpf*)
 11092    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 11093    version_type=linux
 11094    need_lib_prefix=no
 11095    need_version=no
 11096    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11097    shlibpath_var=LD_LIBRARY_PATH
 11098    shlibpath_overrides_runpath=no
 11099    hardcode_into_libs=yes
 11100    ;;
 11101  
 11102  uts4*)
 11103    version_type=linux
 11104    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11105    soname_spec='${libname}${release}${shared_ext}$major'
 11106    shlibpath_var=LD_LIBRARY_PATH
 11107    ;;
 11108  
 11109  *)
 11110    dynamic_linker=no
 11111    ;;
 11112  esac
 11113  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 11114  $as_echo "$dynamic_linker" >&6; }
 11115  test "$dynamic_linker" = no && can_build_shared=no
 11116  
 11117  variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 11118  if test "$GCC" = yes; then
 11119    variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 11120  fi
 11121  
 11122  if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 11123    sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 11124  fi
 11125  if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 11126    sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 11127  fi
 11128  
 11129  
 11130  
 11131  
 11132  
 11133  
 11134  
 11135  
 11136  
 11137  
 11138  
 11139  
 11140  
 11141  
 11142  
 11143  
 11144  
 11145  
 11146  
 11147  
 11148  
 11149  
 11150  
 11151  
 11152  
 11153  
 11154  
 11155  
 11156  
 11157  
 11158  
 11159  
 11160  
 11161  
 11162  
 11163  
 11164  
 11165  
 11166  
 11167  
 11168  
 11169  
 11170  
 11171  
 11172  
 11173  
 11174  
 11175  
 11176  
 11177  
 11178  
 11179  
 11180  
 11181  
 11182  
 11183  
 11184  
 11185  
 11186  
 11187  
 11188  
 11189  
 11190  
 11191  
 11192  
 11193  
 11194  
 11195  
 11196  
 11197  
 11198  
 11199  
 11200  
 11201  
 11202  
 11203  
 11204  
 11205  
 11206  
 11207  
 11208  
 11209  
 11210  
 11211  
 11212  
 11213  
 11214  
 11215  
 11216  
 11217  
 11218  
 11219  
 11220    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 11221  $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 11222  hardcode_action=
 11223  if test -n "$hardcode_libdir_flag_spec" ||
 11224     test -n "$runpath_var" ||
 11225     test "X$hardcode_automatic" = "Xyes" ; then
 11226  
 11227    # We can hardcode non-existent directories.
 11228    if test "$hardcode_direct" != no &&
 11229       # If the only mechanism to avoid hardcoding is shlibpath_var, we
 11230       # have to relink, otherwise we might link with an installed library
 11231       # when we should be linking with a yet-to-be-installed one
 11232       ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 11233       test "$hardcode_minus_L" != no; then
 11234      # Linking always hardcodes the temporary library directory.
 11235      hardcode_action=relink
 11236    else
 11237      # We can link without hardcoding, and we can hardcode nonexisting dirs.
 11238      hardcode_action=immediate
 11239    fi
 11240  else
 11241    # We cannot hardcode anything, or else we can only hardcode existing
 11242    # directories.
 11243    hardcode_action=unsupported
 11244  fi
 11245  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 11246  $as_echo "$hardcode_action" >&6; }
 11247  
 11248  if test "$hardcode_action" = relink ||
 11249     test "$inherit_rpath" = yes; then
 11250    # Fast installation is not supported
 11251    enable_fast_install=no
 11252  elif test "$shlibpath_overrides_runpath" = yes ||
 11253       test "$enable_shared" = no; then
 11254    # Fast installation is not necessary
 11255    enable_fast_install=needless
 11256  fi
 11257  
 11258  
 11259  
 11260  
 11261  
 11262  
 11263    if test "x$enable_dlopen" != xyes; then
 11264    enable_dlopen=unknown
 11265    enable_dlopen_self=unknown
 11266    enable_dlopen_self_static=unknown
 11267  else
 11268    lt_cv_dlopen=no
 11269    lt_cv_dlopen_libs=
 11270  
 11271    case $host_os in
 11272    beos*)
 11273      lt_cv_dlopen="load_add_on"
 11274      lt_cv_dlopen_libs=
 11275      lt_cv_dlopen_self=yes
 11276      ;;
 11277  
 11278    mingw* | pw32* | cegcc*)
 11279      lt_cv_dlopen="LoadLibrary"
 11280      lt_cv_dlopen_libs=
 11281      ;;
 11282  
 11283    cygwin*)
 11284      lt_cv_dlopen="dlopen"
 11285      lt_cv_dlopen_libs=
 11286      ;;
 11287  
 11288    darwin*)
 11289    # if libdl is installed we need to link against it
 11290      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 11291  $as_echo_n "checking for dlopen in -ldl... " >&6; }
 11292  if ${ac_cv_lib_dl_dlopen+:} false; then :
 11293    $as_echo_n "(cached) " >&6
 11294  else
 11295    ac_check_lib_save_LIBS=$LIBS
 11296  LIBS="-ldl  $LIBS"
 11297  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 11298  /* end confdefs.h.  */
 11299  
 11300  /* Override any GCC internal prototype to avoid an error.
 11301     Use char because int might match the return type of a GCC
 11302     builtin and then its argument prototype would still apply.  */
 11303  #ifdef __cplusplus
 11304  extern "C"
 11305  #endif
 11306  char dlopen ();
 11307  int
 11308  main ()
 11309  {
 11310  return dlopen ();
 11311    ;
 11312    return 0;
 11313  }
 11314  _ACEOF
 11315  if ac_fn_c_try_link "$LINENO"; then :
 11316    ac_cv_lib_dl_dlopen=yes
 11317  else
 11318    ac_cv_lib_dl_dlopen=no
 11319  fi
 11320  rm -f core conftest.err conftest.$ac_objext \
 11321      conftest$ac_exeext conftest.$ac_ext
 11322  LIBS=$ac_check_lib_save_LIBS
 11323  fi
 11324  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 11325  $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 11326  if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 11327    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 11328  else
 11329  
 11330      lt_cv_dlopen="dyld"
 11331      lt_cv_dlopen_libs=
 11332      lt_cv_dlopen_self=yes
 11333  
 11334  fi
 11335  
 11336      ;;
 11337  
 11338    *)
 11339      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 11340  if test "x$ac_cv_func_shl_load" = xyes; then :
 11341    lt_cv_dlopen="shl_load"
 11342  else
 11343    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 11344  $as_echo_n "checking for shl_load in -ldld... " >&6; }
 11345  if ${ac_cv_lib_dld_shl_load+:} false; then :
 11346    $as_echo_n "(cached) " >&6
 11347  else
 11348    ac_check_lib_save_LIBS=$LIBS
 11349  LIBS="-ldld  $LIBS"
 11350  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 11351  /* end confdefs.h.  */
 11352  
 11353  /* Override any GCC internal prototype to avoid an error.
 11354     Use char because int might match the return type of a GCC
 11355     builtin and then its argument prototype would still apply.  */
 11356  #ifdef __cplusplus
 11357  extern "C"
 11358  #endif
 11359  char shl_load ();
 11360  int
 11361  main ()
 11362  {
 11363  return shl_load ();
 11364    ;
 11365    return 0;
 11366  }
 11367  _ACEOF
 11368  if ac_fn_c_try_link "$LINENO"; then :
 11369    ac_cv_lib_dld_shl_load=yes
 11370  else
 11371    ac_cv_lib_dld_shl_load=no
 11372  fi
 11373  rm -f core conftest.err conftest.$ac_objext \
 11374      conftest$ac_exeext conftest.$ac_ext
 11375  LIBS=$ac_check_lib_save_LIBS
 11376  fi
 11377  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 11378  $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 11379  if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
 11380    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 11381  else
 11382    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 11383  if test "x$ac_cv_func_dlopen" = xyes; then :
 11384    lt_cv_dlopen="dlopen"
 11385  else
 11386    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 11387  $as_echo_n "checking for dlopen in -ldl... " >&6; }
 11388  if ${ac_cv_lib_dl_dlopen+:} false; then :
 11389    $as_echo_n "(cached) " >&6
 11390  else
 11391    ac_check_lib_save_LIBS=$LIBS
 11392  LIBS="-ldl  $LIBS"
 11393  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 11394  /* end confdefs.h.  */
 11395  
 11396  /* Override any GCC internal prototype to avoid an error.
 11397     Use char because int might match the return type of a GCC
 11398     builtin and then its argument prototype would still apply.  */
 11399  #ifdef __cplusplus
 11400  extern "C"
 11401  #endif
 11402  char dlopen ();
 11403  int
 11404  main ()
 11405  {
 11406  return dlopen ();
 11407    ;
 11408    return 0;
 11409  }
 11410  _ACEOF
 11411  if ac_fn_c_try_link "$LINENO"; then :
 11412    ac_cv_lib_dl_dlopen=yes
 11413  else
 11414    ac_cv_lib_dl_dlopen=no
 11415  fi
 11416  rm -f core conftest.err conftest.$ac_objext \
 11417      conftest$ac_exeext conftest.$ac_ext
 11418  LIBS=$ac_check_lib_save_LIBS
 11419  fi
 11420  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 11421  $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 11422  if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 11423    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 11424  else
 11425    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 11426  $as_echo_n "checking for dlopen in -lsvld... " >&6; }
 11427  if ${ac_cv_lib_svld_dlopen+:} false; then :
 11428    $as_echo_n "(cached) " >&6
 11429  else
 11430    ac_check_lib_save_LIBS=$LIBS
 11431  LIBS="-lsvld  $LIBS"
 11432  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 11433  /* end confdefs.h.  */
 11434  
 11435  /* Override any GCC internal prototype to avoid an error.
 11436     Use char because int might match the return type of a GCC
 11437     builtin and then its argument prototype would still apply.  */
 11438  #ifdef __cplusplus
 11439  extern "C"
 11440  #endif
 11441  char dlopen ();
 11442  int
 11443  main ()
 11444  {
 11445  return dlopen ();
 11446    ;
 11447    return 0;
 11448  }
 11449  _ACEOF
 11450  if ac_fn_c_try_link "$LINENO"; then :
 11451    ac_cv_lib_svld_dlopen=yes
 11452  else
 11453    ac_cv_lib_svld_dlopen=no
 11454  fi
 11455  rm -f core conftest.err conftest.$ac_objext \
 11456      conftest$ac_exeext conftest.$ac_ext
 11457  LIBS=$ac_check_lib_save_LIBS
 11458  fi
 11459  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 11460  $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 11461  if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
 11462    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 11463  else
 11464    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 11465  $as_echo_n "checking for dld_link in -ldld... " >&6; }
 11466  if ${ac_cv_lib_dld_dld_link+:} false; then :
 11467    $as_echo_n "(cached) " >&6
 11468  else
 11469    ac_check_lib_save_LIBS=$LIBS
 11470  LIBS="-ldld  $LIBS"
 11471  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 11472  /* end confdefs.h.  */
 11473  
 11474  /* Override any GCC internal prototype to avoid an error.
 11475     Use char because int might match the return type of a GCC
 11476     builtin and then its argument prototype would still apply.  */
 11477  #ifdef __cplusplus
 11478  extern "C"
 11479  #endif
 11480  char dld_link ();
 11481  int
 11482  main ()
 11483  {
 11484  return dld_link ();
 11485    ;
 11486    return 0;
 11487  }
 11488  _ACEOF
 11489  if ac_fn_c_try_link "$LINENO"; then :
 11490    ac_cv_lib_dld_dld_link=yes
 11491  else
 11492    ac_cv_lib_dld_dld_link=no
 11493  fi
 11494  rm -f core conftest.err conftest.$ac_objext \
 11495      conftest$ac_exeext conftest.$ac_ext
 11496  LIBS=$ac_check_lib_save_LIBS
 11497  fi
 11498  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 11499  $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 11500  if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
 11501    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 11502  fi
 11503  
 11504  
 11505  fi
 11506  
 11507  
 11508  fi
 11509  
 11510  
 11511  fi
 11512  
 11513  
 11514  fi
 11515  
 11516  
 11517  fi
 11518  
 11519      ;;
 11520    esac
 11521  
 11522    if test "x$lt_cv_dlopen" != xno; then
 11523      enable_dlopen=yes
 11524    else
 11525      enable_dlopen=no
 11526    fi
 11527  
 11528    case $lt_cv_dlopen in
 11529    dlopen)
 11530      save_CPPFLAGS="$CPPFLAGS"
 11531      test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 11532  
 11533      save_LDFLAGS="$LDFLAGS"
 11534      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 11535  
 11536      save_LIBS="$LIBS"
 11537      LIBS="$lt_cv_dlopen_libs $LIBS"
 11538  
 11539      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 11540  $as_echo_n "checking whether a program can dlopen itself... " >&6; }
 11541  if ${lt_cv_dlopen_self+:} false; then :
 11542    $as_echo_n "(cached) " >&6
 11543  else
 11544    	  if test "$cross_compiling" = yes; then :
 11545    lt_cv_dlopen_self=cross
 11546  else
 11547    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 11548    lt_status=$lt_dlunknown
 11549    cat > conftest.$ac_ext <<_LT_EOF
 11550  #line 11550 "configure"
 11551  #include "confdefs.h"
 11552  
 11553  #if HAVE_DLFCN_H
 11554  #include <dlfcn.h>
 11555  #endif
 11556  
 11557  #include <stdio.h>
 11558  
 11559  #ifdef RTLD_GLOBAL
 11560  #  define LT_DLGLOBAL		RTLD_GLOBAL
 11561  #else
 11562  #  ifdef DL_GLOBAL
 11563  #    define LT_DLGLOBAL		DL_GLOBAL
 11564  #  else
 11565  #    define LT_DLGLOBAL		0
 11566  #  endif
 11567  #endif
 11568  
 11569  /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 11570     find out it does not work in some platform. */
 11571  #ifndef LT_DLLAZY_OR_NOW
 11572  #  ifdef RTLD_LAZY
 11573  #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
 11574  #  else
 11575  #    ifdef DL_LAZY
 11576  #      define LT_DLLAZY_OR_NOW		DL_LAZY
 11577  #    else
 11578  #      ifdef RTLD_NOW
 11579  #        define LT_DLLAZY_OR_NOW	RTLD_NOW
 11580  #      else
 11581  #        ifdef DL_NOW
 11582  #          define LT_DLLAZY_OR_NOW	DL_NOW
 11583  #        else
 11584  #          define LT_DLLAZY_OR_NOW	0
 11585  #        endif
 11586  #      endif
 11587  #    endif
 11588  #  endif
 11589  #endif
 11590  
 11591  /* When -fvisbility=hidden is used, assume the code has been annotated
 11592     correspondingly for the symbols needed.  */
 11593  #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 11594  void fnord () __attribute__((visibility("default")));
 11595  #endif
 11596  
 11597  void fnord () { int i=42; }
 11598  int main ()
 11599  {
 11600    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 11601    int status = $lt_dlunknown;
 11602  
 11603    if (self)
 11604      {
 11605        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 11606        else
 11607          {
 11608  	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 11609            else puts (dlerror ());
 11610  	}
 11611        /* dlclose (self); */
 11612      }
 11613    else
 11614      puts (dlerror ());
 11615  
 11616    return status;
 11617  }
 11618  _LT_EOF
 11619    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 11620    (eval $ac_link) 2>&5
 11621    ac_status=$?
 11622    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 11623    test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 11624      (./conftest; exit; ) >&5 2>/dev/null
 11625      lt_status=$?
 11626      case x$lt_status in
 11627        x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 11628        x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 11629        x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 11630      esac
 11631    else :
 11632      # compilation failed
 11633      lt_cv_dlopen_self=no
 11634    fi
 11635  fi
 11636  rm -fr conftest*
 11637  
 11638  
 11639  fi
 11640  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 11641  $as_echo "$lt_cv_dlopen_self" >&6; }
 11642  
 11643      if test "x$lt_cv_dlopen_self" = xyes; then
 11644        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 11645        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 11646  $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 11647  if ${lt_cv_dlopen_self_static+:} false; then :
 11648    $as_echo_n "(cached) " >&6
 11649  else
 11650    	  if test "$cross_compiling" = yes; then :
 11651    lt_cv_dlopen_self_static=cross
 11652  else
 11653    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 11654    lt_status=$lt_dlunknown
 11655    cat > conftest.$ac_ext <<_LT_EOF
 11656  #line 11656 "configure"
 11657  #include "confdefs.h"
 11658  
 11659  #if HAVE_DLFCN_H
 11660  #include <dlfcn.h>
 11661  #endif
 11662  
 11663  #include <stdio.h>
 11664  
 11665  #ifdef RTLD_GLOBAL
 11666  #  define LT_DLGLOBAL		RTLD_GLOBAL
 11667  #else
 11668  #  ifdef DL_GLOBAL
 11669  #    define LT_DLGLOBAL		DL_GLOBAL
 11670  #  else
 11671  #    define LT_DLGLOBAL		0
 11672  #  endif
 11673  #endif
 11674  
 11675  /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 11676     find out it does not work in some platform. */
 11677  #ifndef LT_DLLAZY_OR_NOW
 11678  #  ifdef RTLD_LAZY
 11679  #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
 11680  #  else
 11681  #    ifdef DL_LAZY
 11682  #      define LT_DLLAZY_OR_NOW		DL_LAZY
 11683  #    else
 11684  #      ifdef RTLD_NOW
 11685  #        define LT_DLLAZY_OR_NOW	RTLD_NOW
 11686  #      else
 11687  #        ifdef DL_NOW
 11688  #          define LT_DLLAZY_OR_NOW	DL_NOW
 11689  #        else
 11690  #          define LT_DLLAZY_OR_NOW	0
 11691  #        endif
 11692  #      endif
 11693  #    endif
 11694  #  endif
 11695  #endif
 11696  
 11697  /* When -fvisbility=hidden is used, assume the code has been annotated
 11698     correspondingly for the symbols needed.  */
 11699  #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 11700  void fnord () __attribute__((visibility("default")));
 11701  #endif
 11702  
 11703  void fnord () { int i=42; }
 11704  int main ()
 11705  {
 11706    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 11707    int status = $lt_dlunknown;
 11708  
 11709    if (self)
 11710      {
 11711        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 11712        else
 11713          {
 11714  	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 11715            else puts (dlerror ());
 11716  	}
 11717        /* dlclose (self); */
 11718      }
 11719    else
 11720      puts (dlerror ());
 11721  
 11722    return status;
 11723  }
 11724  _LT_EOF
 11725    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 11726    (eval $ac_link) 2>&5
 11727    ac_status=$?
 11728    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 11729    test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 11730      (./conftest; exit; ) >&5 2>/dev/null
 11731      lt_status=$?
 11732      case x$lt_status in
 11733        x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 11734        x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 11735        x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 11736      esac
 11737    else :
 11738      # compilation failed
 11739      lt_cv_dlopen_self_static=no
 11740    fi
 11741  fi
 11742  rm -fr conftest*
 11743  
 11744  
 11745  fi
 11746  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 11747  $as_echo "$lt_cv_dlopen_self_static" >&6; }
 11748      fi
 11749  
 11750      CPPFLAGS="$save_CPPFLAGS"
 11751      LDFLAGS="$save_LDFLAGS"
 11752      LIBS="$save_LIBS"
 11753      ;;
 11754    esac
 11755  
 11756    case $lt_cv_dlopen_self in
 11757    yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 11758    *) enable_dlopen_self=unknown ;;
 11759    esac
 11760  
 11761    case $lt_cv_dlopen_self_static in
 11762    yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 11763    *) enable_dlopen_self_static=unknown ;;
 11764    esac
 11765  fi
 11766  
 11767  
 11768  
 11769  
 11770  
 11771  
 11772  
 11773  
 11774  
 11775  
 11776  
 11777  
 11778  
 11779  
 11780  
 11781  
 11782  
 11783  striplib=
 11784  old_striplib=
 11785  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 11786  $as_echo_n "checking whether stripping libraries is possible... " >&6; }
 11787  if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 11788    test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 11789    test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 11790    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 11791  $as_echo "yes" >&6; }
 11792  else
 11793  # FIXME - insert some real tests, host_os isn't really good enough
 11794    case $host_os in
 11795    darwin*)
 11796      if test -n "$STRIP" ; then
 11797        striplib="$STRIP -x"
 11798        old_striplib="$STRIP -S"
 11799        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 11800  $as_echo "yes" >&6; }
 11801      else
 11802        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 11803  $as_echo "no" >&6; }
 11804      fi
 11805      ;;
 11806    *)
 11807      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 11808  $as_echo "no" >&6; }
 11809      ;;
 11810    esac
 11811  fi
 11812  
 11813  
 11814  
 11815  
 11816  
 11817  
 11818  
 11819  
 11820  
 11821  
 11822  
 11823  
 11824    # Report which library types will actually be built
 11825    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 11826  $as_echo_n "checking if libtool supports shared libraries... " >&6; }
 11827    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 11828  $as_echo "$can_build_shared" >&6; }
 11829  
 11830    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 11831  $as_echo_n "checking whether to build shared libraries... " >&6; }
 11832    test "$can_build_shared" = "no" && enable_shared=no
 11833  
 11834    # On AIX, shared libraries and static libraries use the same namespace, and
 11835    # are all built from PIC.
 11836    case $host_os in
 11837    aix3*)
 11838      test "$enable_shared" = yes && enable_static=no
 11839      if test -n "$RANLIB"; then
 11840        archive_cmds="$archive_cmds~\$RANLIB \$lib"
 11841        postinstall_cmds='$RANLIB $lib'
 11842      fi
 11843      ;;
 11844  
 11845    aix[4-9]*)
 11846      if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 11847        test "$enable_shared" = yes && enable_static=no
 11848      fi
 11849      ;;
 11850    esac
 11851    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 11852  $as_echo "$enable_shared" >&6; }
 11853  
 11854    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 11855  $as_echo_n "checking whether to build static libraries... " >&6; }
 11856    # Make sure either enable_shared or enable_static is yes.
 11857    test "$enable_shared" = yes || enable_static=yes
 11858    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 11859  $as_echo "$enable_static" >&6; }
 11860  
 11861  
 11862  
 11863  
 11864  fi
 11865  ac_ext=c
 11866  ac_cpp='$CPP $CPPFLAGS'
 11867  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 11868  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 11869  ac_compiler_gnu=$ac_cv_c_compiler_gnu
 11870  
 11871  CC="$lt_save_CC"
 11872  
 11873  
 11874  
 11875  
 11876  
 11877  
 11878  
 11879  
 11880  
 11881  
 11882  
 11883  
 11884  
 11885  # Source file extension for Go test sources.
 11886  ac_ext=go
 11887  
 11888  # Object file extension for compiled Go test sources.
 11889  objext=o
 11890  objext_GO=$objext
 11891  
 11892  # Code to be used in simple compile tests
 11893  lt_simple_compile_test_code="package main; func main() { }"
 11894  
 11895  # Code to be used in simple link tests
 11896  lt_simple_link_test_code='package main; func main() { }'
 11897  
 11898  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 11899  
 11900  
 11901  
 11902  
 11903  
 11904  
 11905  # If no C compiler was specified, use CC.
 11906  LTCC=${LTCC-"$CC"}
 11907  
 11908  # If no C compiler flags were specified, use CFLAGS.
 11909  LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 11910  
 11911  # Allow CC to be a program name with arguments.
 11912  compiler=$CC
 11913  
 11914  
 11915  # save warnings/boilerplate of simple test code
 11916  ac_outfile=conftest.$ac_objext
 11917  echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 11918  eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 11919  _lt_compiler_boilerplate=`cat conftest.err`
 11920  $RM conftest*
 11921  
 11922  ac_outfile=conftest.$ac_objext
 11923  echo "$lt_simple_link_test_code" >conftest.$ac_ext
 11924  eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 11925  _lt_linker_boilerplate=`cat conftest.err`
 11926  $RM -r conftest*
 11927  
 11928  
 11929  # Allow CC to be a program name with arguments.
 11930  lt_save_CC="$CC"
 11931  lt_save_GCC="$GCC"
 11932  GCC=yes
 11933  CC=${GOC-"gccgo"}
 11934  compiler=$CC
 11935  compiler_GO=$CC
 11936  LD_GO="$LD"
 11937  for cc_temp in $compiler""; do
 11938    case $cc_temp in
 11939      compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 11940      distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 11941      \-*) ;;
 11942      *) break;;
 11943    esac
 11944  done
 11945  cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 11946  
 11947  
 11948  # Go did not exist at the time GCC didn't implicitly link libc in.
 11949  archive_cmds_need_lc_GO=no
 11950  
 11951  old_archive_cmds_GO=$old_archive_cmds
 11952  
 11953  ## CAVEAT EMPTOR:
 11954  ## There is no encapsulation within the following macros, do not change
 11955  ## the running order or otherwise move them around unless you know exactly
 11956  ## what you are doing...
 11957  if test -n "$compiler"; then
 11958  
 11959  lt_prog_compiler_no_builtin_flag_GO=
 11960  
 11961  if test "$GCC" = yes; then
 11962    case $cc_basename in
 11963    nvcc*)
 11964      lt_prog_compiler_no_builtin_flag_GO=' -Xcompiler -fno-builtin' ;;
 11965    *)
 11966      lt_prog_compiler_no_builtin_flag_GO=' -fno-builtin' ;;
 11967    esac
 11968  
 11969    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 11970  $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 11971  if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
 11972    $as_echo_n "(cached) " >&6
 11973  else
 11974    lt_cv_prog_compiler_rtti_exceptions=no
 11975     ac_outfile=conftest.$ac_objext
 11976     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 11977     lt_compiler_flag="-fno-rtti -fno-exceptions"
 11978     # Insert the option either (1) after the last *FLAGS variable, or
 11979     # (2) before a word containing "conftest.", or (3) at the end.
 11980     # Note that $ac_compile itself does not contain backslashes and begins
 11981     # with a dollar sign (not a hyphen), so the echo should work correctly.
 11982     # The option is referenced via a variable to avoid confusing sed.
 11983     lt_compile=`echo "$ac_compile" | $SED \
 11984     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 11985     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 11986     -e 's:$: $lt_compiler_flag:'`
 11987     (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 11988     (eval "$lt_compile" 2>conftest.err)
 11989     ac_status=$?
 11990     cat conftest.err >&5
 11991     echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11992     if (exit $ac_status) && test -s "$ac_outfile"; then
 11993       # The compiler can only warn and ignore the option if not recognized
 11994       # So say no if there are warnings other than the usual output.
 11995       $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 11996       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 11997       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 11998         lt_cv_prog_compiler_rtti_exceptions=yes
 11999       fi
 12000     fi
 12001     $RM conftest*
 12002  
 12003  fi
 12004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 12005  $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 12006  
 12007  if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 12008      lt_prog_compiler_no_builtin_flag_GO="$lt_prog_compiler_no_builtin_flag_GO -fno-rtti -fno-exceptions"
 12009  else
 12010      :
 12011  fi
 12012  
 12013  fi
 12014  
 12015  
 12016  
 12017    lt_prog_compiler_wl_GO=
 12018  lt_prog_compiler_pic_GO=
 12019  lt_prog_compiler_static_GO=
 12020  
 12021  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 12022  $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 12023  
 12024    if test "$GCC" = yes; then
 12025      lt_prog_compiler_wl_GO='-Wl,'
 12026      lt_prog_compiler_static_GO='-static'
 12027  
 12028      case $host_os in
 12029        aix*)
 12030        # All AIX code is PIC.
 12031        if test "$host_cpu" = ia64; then
 12032  	# AIX 5 now supports IA64 processor
 12033  	lt_prog_compiler_static_GO='-Bstatic'
 12034        fi
 12035        lt_prog_compiler_pic_GO='-fPIC'
 12036        ;;
 12037  
 12038      amigaos*)
 12039        case $host_cpu in
 12040        powerpc)
 12041              # see comment about AmigaOS4 .so support
 12042              lt_prog_compiler_pic_GO='-fPIC'
 12043          ;;
 12044        m68k)
 12045              # FIXME: we need at least 68020 code to build shared libraries, but
 12046              # adding the `-m68020' flag to GCC prevents building anything better,
 12047              # like `-m68040'.
 12048              lt_prog_compiler_pic_GO='-m68020 -resident32 -malways-restore-a4'
 12049          ;;
 12050        esac
 12051        ;;
 12052  
 12053      beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 12054        # PIC is the default for these OSes.
 12055        ;;
 12056  
 12057      mingw* | cygwin* | pw32* | os2* | cegcc*)
 12058        # This hack is so that the source file can tell whether it is being
 12059        # built for inclusion in a dll (and should export symbols for example).
 12060        # Although the cygwin gcc ignores -fPIC, still need this for old-style
 12061        # (--disable-auto-import) libraries
 12062        lt_prog_compiler_pic_GO='-DDLL_EXPORT'
 12063        ;;
 12064  
 12065      darwin* | rhapsody*)
 12066        # PIC is the default on this platform
 12067        # Common symbols not allowed in MH_DYLIB files
 12068        lt_prog_compiler_pic_GO='-fno-common'
 12069        ;;
 12070  
 12071      haiku*)
 12072        # PIC is the default for Haiku.
 12073        # The "-static" flag exists, but is broken.
 12074        lt_prog_compiler_static_GO=
 12075        ;;
 12076  
 12077      hpux*)
 12078        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 12079        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 12080        # sets the default TLS model and affects inlining.
 12081        case $host_cpu in
 12082        hppa*64*)
 12083  	# +Z the default
 12084  	;;
 12085        *)
 12086  	lt_prog_compiler_pic_GO='-fPIC'
 12087  	;;
 12088        esac
 12089        ;;
 12090  
 12091      interix[3-9]*)
 12092        # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 12093        # Instead, we relocate shared libraries at runtime.
 12094        ;;
 12095  
 12096      msdosdjgpp*)
 12097        # Just because we use GCC doesn't mean we suddenly get shared libraries
 12098        # on systems that don't support them.
 12099        lt_prog_compiler_can_build_shared_GO=no
 12100        enable_shared=no
 12101        ;;
 12102  
 12103      *nto* | *qnx*)
 12104        # QNX uses GNU C++, but need to define -shared option too, otherwise
 12105        # it will coredump.
 12106        lt_prog_compiler_pic_GO='-fPIC -shared'
 12107        ;;
 12108  
 12109      sysv4*MP*)
 12110        if test -d /usr/nec; then
 12111  	lt_prog_compiler_pic_GO=-Kconform_pic
 12112        fi
 12113        ;;
 12114  
 12115      *)
 12116        lt_prog_compiler_pic_GO='-fPIC'
 12117        ;;
 12118      esac
 12119  
 12120      case $cc_basename in
 12121      nvcc*) # Cuda Compiler Driver 2.2
 12122        lt_prog_compiler_wl_GO='-Xlinker '
 12123        lt_prog_compiler_pic_GO='-Xcompiler -fPIC'
 12124        ;;
 12125      esac
 12126    else
 12127      # PORTME Check for flag to pass linker flags through the system compiler.
 12128      case $host_os in
 12129      aix*)
 12130        lt_prog_compiler_wl_GO='-Wl,'
 12131        if test "$host_cpu" = ia64; then
 12132  	# AIX 5 now supports IA64 processor
 12133  	lt_prog_compiler_static_GO='-Bstatic'
 12134        else
 12135  	lt_prog_compiler_static_GO='-bnso -bI:/lib/syscalls.exp'
 12136        fi
 12137        ;;
 12138  
 12139      mingw* | cygwin* | pw32* | os2* | cegcc*)
 12140        # This hack is so that the source file can tell whether it is being
 12141        # built for inclusion in a dll (and should export symbols for example).
 12142        lt_prog_compiler_pic_GO='-DDLL_EXPORT'
 12143        ;;
 12144  
 12145      hpux9* | hpux10* | hpux11*)
 12146        lt_prog_compiler_wl_GO='-Wl,'
 12147        # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 12148        # not for PA HP-UX.
 12149        case $host_cpu in
 12150        hppa*64*|ia64*)
 12151  	# +Z the default
 12152  	;;
 12153        *)
 12154  	lt_prog_compiler_pic_GO='+Z'
 12155  	;;
 12156        esac
 12157        # Is there a better lt_prog_compiler_static that works with the bundled CC?
 12158        lt_prog_compiler_static_GO='${wl}-a ${wl}archive'
 12159        ;;
 12160  
 12161      irix5* | irix6* | nonstopux*)
 12162        lt_prog_compiler_wl_GO='-Wl,'
 12163        # PIC (with -KPIC) is the default.
 12164        lt_prog_compiler_static_GO='-non_shared'
 12165        ;;
 12166  
 12167      linux* | k*bsd*-gnu | kopensolaris*-gnu)
 12168        case $cc_basename in
 12169        # old Intel for x86_64 which still supported -KPIC.
 12170        ecc*)
 12171  	lt_prog_compiler_wl_GO='-Wl,'
 12172  	lt_prog_compiler_pic_GO='-KPIC'
 12173  	lt_prog_compiler_static_GO='-static'
 12174          ;;
 12175        # icc used to be incompatible with GCC.
 12176        # ICC 10 doesn't accept -KPIC any more.
 12177        icc* | ifort*)
 12178  	lt_prog_compiler_wl_GO='-Wl,'
 12179  	lt_prog_compiler_pic_GO='-fPIC'
 12180  	lt_prog_compiler_static_GO='-static'
 12181          ;;
 12182        # Lahey Fortran 8.1.
 12183        lf95*)
 12184  	lt_prog_compiler_wl_GO='-Wl,'
 12185  	lt_prog_compiler_pic_GO='--shared'
 12186  	lt_prog_compiler_static_GO='--static'
 12187  	;;
 12188        pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
 12189          # Portland Group compilers (*not* the Pentium gcc compiler,
 12190  	# which looks to be a dead project)
 12191  	lt_prog_compiler_wl_GO='-Wl,'
 12192  	lt_prog_compiler_pic_GO='-fpic'
 12193  	lt_prog_compiler_static_GO='-Bstatic'
 12194          ;;
 12195        ccc*)
 12196          lt_prog_compiler_wl_GO='-Wl,'
 12197          # All Alpha code is PIC.
 12198          lt_prog_compiler_static_GO='-non_shared'
 12199          ;;
 12200        xl* | bgxl* | bgf* | mpixl*)
 12201  	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
 12202  	lt_prog_compiler_wl_GO='-Wl,'
 12203  	lt_prog_compiler_pic_GO='-qpic'
 12204  	lt_prog_compiler_static_GO='-qstaticlink'
 12205  	;;
 12206        *)
 12207  	case `$CC -V 2>&1 | sed 5q` in
 12208  	*Sun\ F* | *Sun*Fortran*)
 12209  	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
 12210  	  lt_prog_compiler_pic_GO='-KPIC'
 12211  	  lt_prog_compiler_static_GO='-Bstatic'
 12212  	  lt_prog_compiler_wl_GO=''
 12213  	  ;;
 12214  	*Sun\ C*)
 12215  	  # Sun C 5.9
 12216  	  lt_prog_compiler_pic_GO='-KPIC'
 12217  	  lt_prog_compiler_static_GO='-Bstatic'
 12218  	  lt_prog_compiler_wl_GO='-Wl,'
 12219  	  ;;
 12220  	esac
 12221  	;;
 12222        esac
 12223        ;;
 12224  
 12225      newsos6)
 12226        lt_prog_compiler_pic_GO='-KPIC'
 12227        lt_prog_compiler_static_GO='-Bstatic'
 12228        ;;
 12229  
 12230      *nto* | *qnx*)
 12231        # QNX uses GNU C++, but need to define -shared option too, otherwise
 12232        # it will coredump.
 12233        lt_prog_compiler_pic_GO='-fPIC -shared'
 12234        ;;
 12235  
 12236      osf3* | osf4* | osf5*)
 12237        lt_prog_compiler_wl_GO='-Wl,'
 12238        # All OSF/1 code is PIC.
 12239        lt_prog_compiler_static_GO='-non_shared'
 12240        ;;
 12241  
 12242      rdos*)
 12243        lt_prog_compiler_static_GO='-non_shared'
 12244        ;;
 12245  
 12246      solaris*)
 12247        lt_prog_compiler_pic_GO='-KPIC'
 12248        lt_prog_compiler_static_GO='-Bstatic'
 12249        case $cc_basename in
 12250        f77* | f90* | f95*)
 12251  	lt_prog_compiler_wl_GO='-Qoption ld ';;
 12252        *)
 12253  	lt_prog_compiler_wl_GO='-Wl,';;
 12254        esac
 12255        ;;
 12256  
 12257      sunos4*)
 12258        lt_prog_compiler_wl_GO='-Qoption ld '
 12259        lt_prog_compiler_pic_GO='-PIC'
 12260        lt_prog_compiler_static_GO='-Bstatic'
 12261        ;;
 12262  
 12263      sysv4 | sysv4.2uw2* | sysv4.3*)
 12264        lt_prog_compiler_wl_GO='-Wl,'
 12265        lt_prog_compiler_pic_GO='-KPIC'
 12266        lt_prog_compiler_static_GO='-Bstatic'
 12267        ;;
 12268  
 12269      sysv4*MP*)
 12270        if test -d /usr/nec ;then
 12271  	lt_prog_compiler_pic_GO='-Kconform_pic'
 12272  	lt_prog_compiler_static_GO='-Bstatic'
 12273        fi
 12274        ;;
 12275  
 12276      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 12277        lt_prog_compiler_wl_GO='-Wl,'
 12278        lt_prog_compiler_pic_GO='-KPIC'
 12279        lt_prog_compiler_static_GO='-Bstatic'
 12280        ;;
 12281  
 12282      unicos*)
 12283        lt_prog_compiler_wl_GO='-Wl,'
 12284        lt_prog_compiler_can_build_shared_GO=no
 12285        ;;
 12286  
 12287      uts4*)
 12288        lt_prog_compiler_pic_GO='-pic'
 12289        lt_prog_compiler_static_GO='-Bstatic'
 12290        ;;
 12291  
 12292      *)
 12293        lt_prog_compiler_can_build_shared_GO=no
 12294        ;;
 12295      esac
 12296    fi
 12297  
 12298  case $host_os in
 12299    # For platforms which do not support PIC, -DPIC is meaningless:
 12300    *djgpp*)
 12301      lt_prog_compiler_pic_GO=
 12302      ;;
 12303    *)
 12304      lt_prog_compiler_pic_GO="$lt_prog_compiler_pic_GO"
 12305      ;;
 12306  esac
 12307  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GO" >&5
 12308  $as_echo "$lt_prog_compiler_pic_GO" >&6; }
 12309  
 12310  
 12311  
 12312  #
 12313  # Check to make sure the PIC flag actually works.
 12314  #
 12315  if test -n "$lt_prog_compiler_pic_GO"; then
 12316    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GO works" >&5
 12317  $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GO works... " >&6; }
 12318  if ${lt_cv_prog_compiler_pic_works_GO+:} false; then :
 12319    $as_echo_n "(cached) " >&6
 12320  else
 12321    lt_cv_prog_compiler_pic_works_GO=no
 12322     ac_outfile=conftest.$ac_objext
 12323     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 12324     lt_compiler_flag="$lt_prog_compiler_pic_GO"
 12325     # Insert the option either (1) after the last *FLAGS variable, or
 12326     # (2) before a word containing "conftest.", or (3) at the end.
 12327     # Note that $ac_compile itself does not contain backslashes and begins
 12328     # with a dollar sign (not a hyphen), so the echo should work correctly.
 12329     # The option is referenced via a variable to avoid confusing sed.
 12330     lt_compile=`echo "$ac_compile" | $SED \
 12331     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 12332     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 12333     -e 's:$: $lt_compiler_flag:'`
 12334     (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 12335     (eval "$lt_compile" 2>conftest.err)
 12336     ac_status=$?
 12337     cat conftest.err >&5
 12338     echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12339     if (exit $ac_status) && test -s "$ac_outfile"; then
 12340       # The compiler can only warn and ignore the option if not recognized
 12341       # So say no if there are warnings other than the usual output.
 12342       $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 12343       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 12344       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 12345         lt_cv_prog_compiler_pic_works_GO=yes
 12346       fi
 12347     fi
 12348     $RM conftest*
 12349  
 12350  fi
 12351  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GO" >&5
 12352  $as_echo "$lt_cv_prog_compiler_pic_works_GO" >&6; }
 12353  
 12354  if test x"$lt_cv_prog_compiler_pic_works_GO" = xyes; then
 12355      case $lt_prog_compiler_pic_GO in
 12356       "" | " "*) ;;
 12357       *) lt_prog_compiler_pic_GO=" $lt_prog_compiler_pic_GO" ;;
 12358       esac
 12359  else
 12360      lt_prog_compiler_pic_GO=
 12361       lt_prog_compiler_can_build_shared_GO=no
 12362  fi
 12363  
 12364  fi
 12365  
 12366  
 12367  
 12368  #
 12369  # Check to make sure the static flag actually works.
 12370  #
 12371  wl=$lt_prog_compiler_wl_GO eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GO\"
 12372  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 12373  $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 12374  if ${lt_cv_prog_compiler_static_works_GO+:} false; then :
 12375    $as_echo_n "(cached) " >&6
 12376  else
 12377    lt_cv_prog_compiler_static_works_GO=no
 12378     save_LDFLAGS="$LDFLAGS"
 12379     LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 12380     echo "$lt_simple_link_test_code" > conftest.$ac_ext
 12381     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 12382       # The linker can only warn and ignore the option if not recognized
 12383       # So say no if there are warnings
 12384       if test -s conftest.err; then
 12385         # Append any errors to the config.log.
 12386         cat conftest.err 1>&5
 12387         $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 12388         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 12389         if diff conftest.exp conftest.er2 >/dev/null; then
 12390           lt_cv_prog_compiler_static_works_GO=yes
 12391         fi
 12392       else
 12393         lt_cv_prog_compiler_static_works_GO=yes
 12394       fi
 12395     fi
 12396     $RM -r conftest*
 12397     LDFLAGS="$save_LDFLAGS"
 12398  
 12399  fi
 12400  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GO" >&5
 12401  $as_echo "$lt_cv_prog_compiler_static_works_GO" >&6; }
 12402  
 12403  if test x"$lt_cv_prog_compiler_static_works_GO" = xyes; then
 12404      :
 12405  else
 12406      lt_prog_compiler_static_GO=
 12407  fi
 12408  
 12409  
 12410  
 12411  
 12412    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 12413  $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 12414  if ${lt_cv_prog_compiler_c_o_GO+:} false; then :
 12415    $as_echo_n "(cached) " >&6
 12416  else
 12417    lt_cv_prog_compiler_c_o_GO=no
 12418     $RM -r conftest 2>/dev/null
 12419     mkdir conftest
 12420     cd conftest
 12421     mkdir out
 12422     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 12423  
 12424     lt_compiler_flag="-o out/conftest2.$ac_objext"
 12425     # Insert the option either (1) after the last *FLAGS variable, or
 12426     # (2) before a word containing "conftest.", or (3) at the end.
 12427     # Note that $ac_compile itself does not contain backslashes and begins
 12428     # with a dollar sign (not a hyphen), so the echo should work correctly.
 12429     lt_compile=`echo "$ac_compile" | $SED \
 12430     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 12431     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 12432     -e 's:$: $lt_compiler_flag:'`
 12433     (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 12434     (eval "$lt_compile" 2>out/conftest.err)
 12435     ac_status=$?
 12436     cat out/conftest.err >&5
 12437     echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12438     if (exit $ac_status) && test -s out/conftest2.$ac_objext
 12439     then
 12440       # The compiler can only warn and ignore the option if not recognized
 12441       # So say no if there are warnings
 12442       $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 12443       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 12444       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 12445         lt_cv_prog_compiler_c_o_GO=yes
 12446       fi
 12447     fi
 12448     chmod u+w . 2>&5
 12449     $RM conftest*
 12450     # SGI C++ compiler will create directory out/ii_files/ for
 12451     # template instantiation
 12452     test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 12453     $RM out/* && rmdir out
 12454     cd ..
 12455     $RM -r conftest
 12456     $RM conftest*
 12457  
 12458  fi
 12459  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
 12460  $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
 12461  
 12462  
 12463  
 12464    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 12465  $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 12466  if ${lt_cv_prog_compiler_c_o_GO+:} false; then :
 12467    $as_echo_n "(cached) " >&6
 12468  else
 12469    lt_cv_prog_compiler_c_o_GO=no
 12470     $RM -r conftest 2>/dev/null
 12471     mkdir conftest
 12472     cd conftest
 12473     mkdir out
 12474     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 12475  
 12476     lt_compiler_flag="-o out/conftest2.$ac_objext"
 12477     # Insert the option either (1) after the last *FLAGS variable, or
 12478     # (2) before a word containing "conftest.", or (3) at the end.
 12479     # Note that $ac_compile itself does not contain backslashes and begins
 12480     # with a dollar sign (not a hyphen), so the echo should work correctly.
 12481     lt_compile=`echo "$ac_compile" | $SED \
 12482     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 12483     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 12484     -e 's:$: $lt_compiler_flag:'`
 12485     (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 12486     (eval "$lt_compile" 2>out/conftest.err)
 12487     ac_status=$?
 12488     cat out/conftest.err >&5
 12489     echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12490     if (exit $ac_status) && test -s out/conftest2.$ac_objext
 12491     then
 12492       # The compiler can only warn and ignore the option if not recognized
 12493       # So say no if there are warnings
 12494       $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 12495       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 12496       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 12497         lt_cv_prog_compiler_c_o_GO=yes
 12498       fi
 12499     fi
 12500     chmod u+w . 2>&5
 12501     $RM conftest*
 12502     # SGI C++ compiler will create directory out/ii_files/ for
 12503     # template instantiation
 12504     test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 12505     $RM out/* && rmdir out
 12506     cd ..
 12507     $RM -r conftest
 12508     $RM conftest*
 12509  
 12510  fi
 12511  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
 12512  $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
 12513  
 12514  
 12515  
 12516  
 12517  hard_links="nottested"
 12518  if test "$lt_cv_prog_compiler_c_o_GO" = no && test "$need_locks" != no; then
 12519    # do not overwrite the value of need_locks provided by the user
 12520    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 12521  $as_echo_n "checking if we can lock with hard links... " >&6; }
 12522    hard_links=yes
 12523    $RM conftest*
 12524    ln conftest.a conftest.b 2>/dev/null && hard_links=no
 12525    touch conftest.a
 12526    ln conftest.a conftest.b 2>&5 || hard_links=no
 12527    ln conftest.a conftest.b 2>/dev/null && hard_links=no
 12528    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 12529  $as_echo "$hard_links" >&6; }
 12530    if test "$hard_links" = no; then
 12531      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 12532  $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 12533      need_locks=warn
 12534    fi
 12535  else
 12536    need_locks=no
 12537  fi
 12538  
 12539  
 12540  
 12541    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 12542  $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 12543  
 12544    runpath_var=
 12545    allow_undefined_flag_GO=
 12546    always_export_symbols_GO=no
 12547    archive_cmds_GO=
 12548    archive_expsym_cmds_GO=
 12549    compiler_needs_object_GO=no
 12550    enable_shared_with_static_runtimes_GO=no
 12551    export_dynamic_flag_spec_GO=
 12552    export_symbols_cmds_GO='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 12553    hardcode_automatic_GO=no
 12554    hardcode_direct_GO=no
 12555    hardcode_direct_absolute_GO=no
 12556    hardcode_libdir_flag_spec_GO=
 12557    hardcode_libdir_flag_spec_ld_GO=
 12558    hardcode_libdir_separator_GO=
 12559    hardcode_minus_L_GO=no
 12560    hardcode_shlibpath_var_GO=unsupported
 12561    inherit_rpath_GO=no
 12562    link_all_deplibs_GO=unknown
 12563    module_cmds_GO=
 12564    module_expsym_cmds_GO=
 12565    old_archive_from_new_cmds_GO=
 12566    old_archive_from_expsyms_cmds_GO=
 12567    thread_safe_flag_spec_GO=
 12568    whole_archive_flag_spec_GO=
 12569    # include_expsyms should be a list of space-separated symbols to be *always*
 12570    # included in the symbol list
 12571    include_expsyms_GO=
 12572    # exclude_expsyms can be an extended regexp of symbols to exclude
 12573    # it will be wrapped by ` (' and `)$', so one must not match beginning or
 12574    # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 12575    # as well as any symbol that contains `d'.
 12576    exclude_expsyms_GO='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 12577    # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 12578    # platforms (ab)use it in PIC code, but their linkers get confused if
 12579    # the symbol is explicitly referenced.  Since portable code cannot
 12580    # rely on this symbol name, it's probably fine to never include it in
 12581    # preloaded symbol tables.
 12582    # Exclude shared library initialization/finalization symbols.
 12583    extract_expsyms_cmds=
 12584  
 12585    case $host_os in
 12586    cygwin* | mingw* | pw32* | cegcc*)
 12587      # FIXME: the MSVC++ port hasn't been tested in a loooong time
 12588      # When not using gcc, we currently assume that we are using
 12589      # Microsoft Visual C++.
 12590      if test "$GCC" != yes; then
 12591        with_gnu_ld=no
 12592      fi
 12593      ;;
 12594    interix*)
 12595      # we just hope/assume this is gcc and not c89 (= MSVC++)
 12596      with_gnu_ld=yes
 12597      ;;
 12598    openbsd*)
 12599      with_gnu_ld=no
 12600      ;;
 12601    esac
 12602  
 12603    ld_shlibs_GO=yes
 12604  
 12605    # On some targets, GNU ld is compatible enough with the native linker
 12606    # that we're better off using the native interface for both.
 12607    lt_use_gnu_ld_interface=no
 12608    if test "$with_gnu_ld" = yes; then
 12609      case $host_os in
 12610        aix*)
 12611  	# The AIX port of GNU ld has always aspired to compatibility
 12612  	# with the native linker.  However, as the warning in the GNU ld
 12613  	# block says, versions before 2.19.5* couldn't really create working
 12614  	# shared libraries, regardless of the interface used.
 12615  	case `$LD -v 2>&1` in
 12616  	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 12617  	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 12618  	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 12619  	  *)
 12620  	    lt_use_gnu_ld_interface=yes
 12621  	    ;;
 12622  	esac
 12623  	;;
 12624        *)
 12625  	lt_use_gnu_ld_interface=yes
 12626  	;;
 12627      esac
 12628    fi
 12629  
 12630    if test "$lt_use_gnu_ld_interface" = yes; then
 12631      # If archive_cmds runs LD, not CC, wlarc should be empty
 12632      wlarc='${wl}'
 12633  
 12634      # Set some defaults for GNU ld with shared library support. These
 12635      # are reset later if shared libraries are not supported. Putting them
 12636      # here allows them to be overridden if necessary.
 12637      runpath_var=LD_RUN_PATH
 12638      hardcode_libdir_flag_spec_GO='${wl}-rpath ${wl}$libdir'
 12639      export_dynamic_flag_spec_GO='${wl}--export-dynamic'
 12640      # ancient GNU ld didn't support --whole-archive et. al.
 12641      if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 12642        whole_archive_flag_spec_GO="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 12643      else
 12644        whole_archive_flag_spec_GO=
 12645      fi
 12646      supports_anon_versioning=no
 12647      case `$LD -v 2>&1` in
 12648        *GNU\ gold*) supports_anon_versioning=yes ;;
 12649        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 12650        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 12651        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 12652        *\ 2.11.*) ;; # other 2.11 versions
 12653        *) supports_anon_versioning=yes ;;
 12654      esac
 12655  
 12656      # See if GNU ld supports shared libraries.
 12657      case $host_os in
 12658      aix[3-9]*)
 12659        # On AIX/PPC, the GNU linker is very broken
 12660        if test "$host_cpu" != ia64; then
 12661  	ld_shlibs_GO=no
 12662  	cat <<_LT_EOF 1>&2
 12663  
 12664  *** Warning: the GNU linker, at least up to release 2.19, is reported
 12665  *** to be unable to reliably create shared libraries on AIX.
 12666  *** Therefore, libtool is disabling shared libraries support.  If you
 12667  *** really care for shared libraries, you may want to install binutils
 12668  *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 12669  *** You will then need to restart the configuration process.
 12670  
 12671  _LT_EOF
 12672        fi
 12673        ;;
 12674  
 12675      amigaos*)
 12676        case $host_cpu in
 12677        powerpc)
 12678              # see comment about AmigaOS4 .so support
 12679              archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 12680              archive_expsym_cmds_GO=''
 12681          ;;
 12682        m68k)
 12683              archive_cmds_GO='$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)'
 12684              hardcode_libdir_flag_spec_GO='-L$libdir'
 12685              hardcode_minus_L_GO=yes
 12686          ;;
 12687        esac
 12688        ;;
 12689  
 12690      beos*)
 12691        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 12692  	allow_undefined_flag_GO=unsupported
 12693  	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 12694  	# support --undefined.  This deserves some investigation.  FIXME
 12695  	archive_cmds_GO='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 12696        else
 12697  	ld_shlibs_GO=no
 12698        fi
 12699        ;;
 12700  
 12701      cygwin* | mingw* | pw32* | cegcc*)
 12702        # _LT_TAGVAR(hardcode_libdir_flag_spec, GO) is actually meaningless,
 12703        # as there is no search path for DLLs.
 12704        hardcode_libdir_flag_spec_GO='-L$libdir'
 12705        export_dynamic_flag_spec_GO='${wl}--export-all-symbols'
 12706        allow_undefined_flag_GO=unsupported
 12707        always_export_symbols_GO=no
 12708        enable_shared_with_static_runtimes_GO=yes
 12709        export_symbols_cmds_GO='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 12710  
 12711        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 12712          archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 12713  	# If the export-symbols file already is a .def file (1st line
 12714  	# is EXPORTS), use it as is; otherwise, prepend...
 12715  	archive_expsym_cmds_GO='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 12716  	  cp $export_symbols $output_objdir/$soname.def;
 12717  	else
 12718  	  echo EXPORTS > $output_objdir/$soname.def;
 12719  	  cat $export_symbols >> $output_objdir/$soname.def;
 12720  	fi~
 12721  	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 12722        else
 12723  	ld_shlibs_GO=no
 12724        fi
 12725        ;;
 12726  
 12727      haiku*)
 12728        archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 12729        link_all_deplibs_GO=yes
 12730        ;;
 12731  
 12732      interix[3-9]*)
 12733        hardcode_direct_GO=no
 12734        hardcode_shlibpath_var_GO=no
 12735        hardcode_libdir_flag_spec_GO='${wl}-rpath,$libdir'
 12736        export_dynamic_flag_spec_GO='${wl}-E'
 12737        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 12738        # Instead, shared libraries are loaded at an image base (0x10000000 by
 12739        # default) and relocated if they conflict, which is a slow very memory
 12740        # consuming and fragmenting process.  To avoid this, we pick a random,
 12741        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 12742        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 12743        archive_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 12744        archive_expsym_cmds_GO='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'
 12745        ;;
 12746  
 12747      gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 12748        tmp_diet=no
 12749        if test "$host_os" = linux-dietlibc; then
 12750  	case $cc_basename in
 12751  	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
 12752  	esac
 12753        fi
 12754        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 12755  	 && test "$tmp_diet" = no
 12756        then
 12757  	tmp_addflag=
 12758  	tmp_sharedflag='-shared'
 12759  	case $cc_basename,$host_cpu in
 12760          pgcc*)				# Portland Group C compiler
 12761  	  whole_archive_flag_spec_GO='${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'
 12762  	  tmp_addflag=' $pic_flag'
 12763  	  ;;
 12764  	pgf77* | pgf90* | pgf95* | pgfortran*)
 12765  					# Portland Group f77 and f90 compilers
 12766  	  whole_archive_flag_spec_GO='${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'
 12767  	  tmp_addflag=' $pic_flag -Mnomain' ;;
 12768  	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
 12769  	  tmp_addflag=' -i_dynamic' ;;
 12770  	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
 12771  	  tmp_addflag=' -i_dynamic -nofor_main' ;;
 12772  	ifc* | ifort*)			# Intel Fortran compiler
 12773  	  tmp_addflag=' -nofor_main' ;;
 12774  	lf95*)				# Lahey Fortran 8.1
 12775  	  whole_archive_flag_spec_GO=
 12776  	  tmp_sharedflag='--shared' ;;
 12777  	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
 12778  	  tmp_sharedflag='-qmkshrobj'
 12779  	  tmp_addflag= ;;
 12780  	nvcc*)	# Cuda Compiler Driver 2.2
 12781  	  whole_archive_flag_spec_GO='${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'
 12782  	  compiler_needs_object_GO=yes
 12783  	  ;;
 12784  	esac
 12785  	case `$CC -V 2>&1 | sed 5q` in
 12786  	*Sun\ C*)			# Sun C 5.9
 12787  	  whole_archive_flag_spec_GO='${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'
 12788  	  compiler_needs_object_GO=yes
 12789  	  tmp_sharedflag='-G' ;;
 12790  	*Sun\ F*)			# Sun Fortran 8.3
 12791  	  tmp_sharedflag='-G' ;;
 12792  	esac
 12793  	archive_cmds_GO='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 12794  
 12795          if test "x$supports_anon_versioning" = xyes; then
 12796            archive_expsym_cmds_GO='echo "{ global:" > $output_objdir/$libname.ver~
 12797  	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 12798  	    echo "local: *; };" >> $output_objdir/$libname.ver~
 12799  	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 12800          fi
 12801  
 12802  	case $cc_basename in
 12803  	xlf* | bgf* | bgxlf* | mpixlf*)
 12804  	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 12805  	  whole_archive_flag_spec_GO='--whole-archive$convenience --no-whole-archive'
 12806  	  hardcode_libdir_flag_spec_GO=
 12807  	  hardcode_libdir_flag_spec_ld_GO='-rpath $libdir'
 12808  	  archive_cmds_GO='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 12809  	  if test "x$supports_anon_versioning" = xyes; then
 12810  	    archive_expsym_cmds_GO='echo "{ global:" > $output_objdir/$libname.ver~
 12811  	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 12812  	      echo "local: *; };" >> $output_objdir/$libname.ver~
 12813  	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 12814  	  fi
 12815  	  ;;
 12816  	esac
 12817        else
 12818          ld_shlibs_GO=no
 12819        fi
 12820        ;;
 12821  
 12822      netbsd*)
 12823        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 12824  	archive_cmds_GO='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 12825  	wlarc=
 12826        else
 12827  	archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 12828  	archive_expsym_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 12829        fi
 12830        ;;
 12831  
 12832      solaris*)
 12833        if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 12834  	ld_shlibs_GO=no
 12835  	cat <<_LT_EOF 1>&2
 12836  
 12837  *** Warning: The releases 2.8.* of the GNU linker cannot reliably
 12838  *** create shared libraries on Solaris systems.  Therefore, libtool
 12839  *** is disabling shared libraries support.  We urge you to upgrade GNU
 12840  *** binutils to release 2.9.1 or newer.  Another option is to modify
 12841  *** your PATH or compiler configuration so that the native linker is
 12842  *** used, and then restart.
 12843  
 12844  _LT_EOF
 12845        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 12846  	archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 12847  	archive_expsym_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 12848        else
 12849  	ld_shlibs_GO=no
 12850        fi
 12851        ;;
 12852  
 12853      sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 12854        case `$LD -v 2>&1` in
 12855          *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 12856  	ld_shlibs_GO=no
 12857  	cat <<_LT_EOF 1>&2
 12858  
 12859  *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 12860  *** reliably create shared libraries on SCO systems.  Therefore, libtool
 12861  *** is disabling shared libraries support.  We urge you to upgrade GNU
 12862  *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 12863  *** your PATH or compiler configuration so that the native linker is
 12864  *** used, and then restart.
 12865  
 12866  _LT_EOF
 12867  	;;
 12868  	*)
 12869  	  # For security reasons, it is highly recommended that you always
 12870  	  # use absolute paths for naming shared libraries, and exclude the
 12871  	  # DT_RUNPATH tag from executables and libraries.  But doing so
 12872  	  # requires that you compile everything twice, which is a pain.
 12873  	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 12874  	    hardcode_libdir_flag_spec_GO='${wl}-rpath ${wl}$libdir'
 12875  	    archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 12876  	    archive_expsym_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 12877  	  else
 12878  	    ld_shlibs_GO=no
 12879  	  fi
 12880  	;;
 12881        esac
 12882        ;;
 12883  
 12884      sunos4*)
 12885        archive_cmds_GO='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 12886        wlarc=
 12887        hardcode_direct_GO=yes
 12888        hardcode_shlibpath_var_GO=no
 12889        ;;
 12890  
 12891      *)
 12892        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 12893  	archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 12894  	archive_expsym_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 12895        else
 12896  	ld_shlibs_GO=no
 12897        fi
 12898        ;;
 12899      esac
 12900  
 12901      if test "$ld_shlibs_GO" = no; then
 12902        runpath_var=
 12903        hardcode_libdir_flag_spec_GO=
 12904        export_dynamic_flag_spec_GO=
 12905        whole_archive_flag_spec_GO=
 12906      fi
 12907    else
 12908      # PORTME fill in a description of your system's linker (not GNU ld)
 12909      case $host_os in
 12910      aix3*)
 12911        allow_undefined_flag_GO=unsupported
 12912        always_export_symbols_GO=yes
 12913        archive_expsym_cmds_GO='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
 12914        # Note: this linker hardcodes the directories in LIBPATH if there
 12915        # are no directories specified by -L.
 12916        hardcode_minus_L_GO=yes
 12917        if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 12918  	# Neither direct hardcoding nor static linking is supported with a
 12919  	# broken collect2.
 12920  	hardcode_direct_GO=unsupported
 12921        fi
 12922        ;;
 12923  
 12924      aix[4-9]*)
 12925        if test "$host_cpu" = ia64; then
 12926  	# On IA64, the linker does run time linking by default, so we don't
 12927  	# have to do anything special.
 12928  	aix_use_runtimelinking=no
 12929  	exp_sym_flag='-Bexport'
 12930  	no_entry_flag=""
 12931        else
 12932  	# If we're using GNU nm, then we don't want the "-C" option.
 12933  	# -C means demangle to AIX nm, but means don't demangle with GNU nm
 12934  	# Also, AIX nm treats weak defined symbols like other global
 12935  	# defined symbols, whereas GNU nm marks them as "W".
 12936  	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 12937  	  export_symbols_cmds_GO='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 12938  	else
 12939  	  export_symbols_cmds_GO='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 12940  	fi
 12941  	aix_use_runtimelinking=no
 12942  
 12943  	# Test if we are trying to use run time linking or normal
 12944  	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
 12945  	# need to do runtime linking.
 12946  	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 12947  	  for ld_flag in $LDFLAGS; do
 12948  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 12949  	    aix_use_runtimelinking=yes
 12950  	    break
 12951  	  fi
 12952  	  done
 12953  	  ;;
 12954  	esac
 12955  
 12956  	exp_sym_flag='-bexport'
 12957  	no_entry_flag='-bnoentry'
 12958        fi
 12959  
 12960        # When large executables or shared objects are built, AIX ld can
 12961        # have problems creating the table of contents.  If linking a library
 12962        # or program results in "error TOC overflow" add -mminimal-toc to
 12963        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 12964        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 12965  
 12966        archive_cmds_GO=''
 12967        hardcode_direct_GO=yes
 12968        hardcode_direct_absolute_GO=yes
 12969        hardcode_libdir_separator_GO=':'
 12970        link_all_deplibs_GO=yes
 12971        file_list_spec_GO='${wl}-f,'
 12972  
 12973        if test "$GCC" = yes; then
 12974  	case $host_os in aix4.[012]|aix4.[012].*)
 12975  	# We only want to do this on AIX 4.2 and lower, the check
 12976  	# below for broken collect2 doesn't work under 4.3+
 12977  	  collect2name=`${CC} -print-prog-name=collect2`
 12978  	  if test -f "$collect2name" &&
 12979  	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 12980  	  then
 12981  	  # We have reworked collect2
 12982  	  :
 12983  	  else
 12984  	  # We have old collect2
 12985  	  hardcode_direct_GO=unsupported
 12986  	  # It fails to find uninstalled libraries when the uninstalled
 12987  	  # path is not listed in the libpath.  Setting hardcode_minus_L
 12988  	  # to unsupported forces relinking
 12989  	  hardcode_minus_L_GO=yes
 12990  	  hardcode_libdir_flag_spec_GO='-L$libdir'
 12991  	  hardcode_libdir_separator_GO=
 12992  	  fi
 12993  	  ;;
 12994  	esac
 12995  	shared_flag='-shared'
 12996  	if test "$aix_use_runtimelinking" = yes; then
 12997  	  shared_flag="$shared_flag "'${wl}-G'
 12998  	fi
 12999        else
 13000  	# not using gcc
 13001  	if test "$host_cpu" = ia64; then
 13002  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 13003  	# chokes on -Wl,-G. The following line is correct:
 13004  	  shared_flag='-G'
 13005  	else
 13006  	  if test "$aix_use_runtimelinking" = yes; then
 13007  	    shared_flag='${wl}-G'
 13008  	  else
 13009  	    shared_flag='${wl}-bM:SRE'
 13010  	  fi
 13011  	fi
 13012        fi
 13013  
 13014        export_dynamic_flag_spec_GO='${wl}-bexpall'
 13015        # It seems that -bexpall does not export symbols beginning with
 13016        # underscore (_), so it is better to generate a list of symbols to export.
 13017        always_export_symbols_GO=yes
 13018        if test "$aix_use_runtimelinking" = yes; then
 13019  	# Warning - without using the other runtime loading flags (-brtl),
 13020  	# -berok will link without error, but may produce a broken library.
 13021  	allow_undefined_flag_GO='-berok'
 13022          # Determine the default libpath from the value encoded in an
 13023          # empty executable.
 13024          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 13025  /* end confdefs.h.  */
 13026  
 13027  int
 13028  main ()
 13029  {
 13030  
 13031    ;
 13032    return 0;
 13033  }
 13034  _ACEOF
 13035  if ac_fn_c_try_link "$LINENO"; then :
 13036  
 13037  lt_aix_libpath_sed='
 13038      /Import File Strings/,/^$/ {
 13039  	/^0/ {
 13040  	    s/^0  *\(.*\)$/\1/
 13041  	    p
 13042  	}
 13043      }'
 13044  aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 13045  # Check for a 64-bit object if we didn't find anything.
 13046  if test -z "$aix_libpath"; then
 13047    aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 13048  fi
 13049  fi
 13050  rm -f core conftest.err conftest.$ac_objext \
 13051      conftest$ac_exeext conftest.$ac_ext
 13052  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 13053  
 13054          hardcode_libdir_flag_spec_GO='${wl}-blibpath:$libdir:'"$aix_libpath"
 13055          archive_expsym_cmds_GO='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 13056        else
 13057  	if test "$host_cpu" = ia64; then
 13058  	  hardcode_libdir_flag_spec_GO='${wl}-R $libdir:/usr/lib:/lib'
 13059  	  allow_undefined_flag_GO="-z nodefs"
 13060  	  archive_expsym_cmds_GO="\$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"
 13061  	else
 13062  	 # Determine the default libpath from the value encoded in an
 13063  	 # empty executable.
 13064  	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 13065  /* end confdefs.h.  */
 13066  
 13067  int
 13068  main ()
 13069  {
 13070  
 13071    ;
 13072    return 0;
 13073  }
 13074  _ACEOF
 13075  if ac_fn_c_try_link "$LINENO"; then :
 13076  
 13077  lt_aix_libpath_sed='
 13078      /Import File Strings/,/^$/ {
 13079  	/^0/ {
 13080  	    s/^0  *\(.*\)$/\1/
 13081  	    p
 13082  	}
 13083      }'
 13084  aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 13085  # Check for a 64-bit object if we didn't find anything.
 13086  if test -z "$aix_libpath"; then
 13087    aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 13088  fi
 13089  fi
 13090  rm -f core conftest.err conftest.$ac_objext \
 13091      conftest$ac_exeext conftest.$ac_ext
 13092  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 13093  
 13094  	 hardcode_libdir_flag_spec_GO='${wl}-blibpath:$libdir:'"$aix_libpath"
 13095  	  # Warning - without using the other run time loading flags,
 13096  	  # -berok will link without error, but may produce a broken library.
 13097  	  no_undefined_flag_GO=' ${wl}-bernotok'
 13098  	  allow_undefined_flag_GO=' ${wl}-berok'
 13099  	  if test "$with_gnu_ld" = yes; then
 13100  	    # We only use this code for GNU lds that support --whole-archive.
 13101  	    whole_archive_flag_spec_GO='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 13102  	  else
 13103  	    # Exported symbols can be pulled into shared objects from archives
 13104  	    whole_archive_flag_spec_GO='$convenience'
 13105  	  fi
 13106  	  archive_cmds_need_lc_GO=yes
 13107  	  # This is similar to how AIX traditionally builds its shared libraries.
 13108  	  archive_expsym_cmds_GO="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 13109  	fi
 13110        fi
 13111        ;;
 13112  
 13113      amigaos*)
 13114        case $host_cpu in
 13115        powerpc)
 13116              # see comment about AmigaOS4 .so support
 13117              archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 13118              archive_expsym_cmds_GO=''
 13119          ;;
 13120        m68k)
 13121              archive_cmds_GO='$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)'
 13122              hardcode_libdir_flag_spec_GO='-L$libdir'
 13123              hardcode_minus_L_GO=yes
 13124          ;;
 13125        esac
 13126        ;;
 13127  
 13128      bsdi[45]*)
 13129        export_dynamic_flag_spec_GO=-rdynamic
 13130        ;;
 13131  
 13132      cygwin* | mingw* | pw32* | cegcc*)
 13133        # When not using gcc, we currently assume that we are using
 13134        # Microsoft Visual C++.
 13135        # hardcode_libdir_flag_spec is actually meaningless, as there is
 13136        # no search path for DLLs.
 13137        hardcode_libdir_flag_spec_GO=' '
 13138        allow_undefined_flag_GO=unsupported
 13139        # Tell ltmain to make .lib files, not .a files.
 13140        libext=lib
 13141        # Tell ltmain to make .dll files, not .so files.
 13142        shrext_cmds=".dll"
 13143        # FIXME: Setting linknames here is a bad hack.
 13144        archive_cmds_GO='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 13145        # The linker will automatically build a .lib file if we build a DLL.
 13146        old_archive_from_new_cmds_GO='true'
 13147        # FIXME: Should let the user specify the lib program.
 13148        old_archive_cmds_GO='lib -OUT:$oldlib$oldobjs$old_deplibs'
 13149        fix_srcfile_path_GO='`cygpath -w "$srcfile"`'
 13150        enable_shared_with_static_runtimes_GO=yes
 13151        ;;
 13152  
 13153      darwin* | rhapsody*)
 13154  
 13155  
 13156    archive_cmds_need_lc_GO=no
 13157    hardcode_direct_GO=no
 13158    hardcode_automatic_GO=yes
 13159    hardcode_shlibpath_var_GO=unsupported
 13160    if test "$lt_cv_ld_force_load" = "yes"; then
 13161      whole_archive_flag_spec_GO='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 13162    else
 13163      whole_archive_flag_spec_GO=''
 13164    fi
 13165    link_all_deplibs_GO=yes
 13166    allow_undefined_flag_GO="$_lt_dar_allow_undefined"
 13167    case $cc_basename in
 13168       ifort*) _lt_dar_can_shared=yes ;;
 13169       *) _lt_dar_can_shared=$GCC ;;
 13170    esac
 13171    if test "$_lt_dar_can_shared" = "yes"; then
 13172      output_verbose_link_cmd=func_echo_all
 13173      archive_cmds_GO="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 13174      module_cmds_GO="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 13175      archive_expsym_cmds_GO="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}"
 13176      module_expsym_cmds_GO="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}"
 13177  
 13178    else
 13179    ld_shlibs_GO=no
 13180    fi
 13181  
 13182        ;;
 13183  
 13184      dgux*)
 13185        archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 13186        hardcode_libdir_flag_spec_GO='-L$libdir'
 13187        hardcode_shlibpath_var_GO=no
 13188        ;;
 13189  
 13190      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 13191      # support.  Future versions do this automatically, but an explicit c++rt0.o
 13192      # does not break anything, and helps significantly (at the cost of a little
 13193      # extra space).
 13194      freebsd2.2*)
 13195        archive_cmds_GO='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 13196        hardcode_libdir_flag_spec_GO='-R$libdir'
 13197        hardcode_direct_GO=yes
 13198        hardcode_shlibpath_var_GO=no
 13199        ;;
 13200  
 13201      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 13202      freebsd2.*)
 13203        archive_cmds_GO='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 13204        hardcode_direct_GO=yes
 13205        hardcode_minus_L_GO=yes
 13206        hardcode_shlibpath_var_GO=no
 13207        ;;
 13208  
 13209      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 13210      freebsd* | dragonfly*)
 13211        archive_cmds_GO='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 13212        hardcode_libdir_flag_spec_GO='-R$libdir'
 13213        hardcode_direct_GO=yes
 13214        hardcode_shlibpath_var_GO=no
 13215        ;;
 13216  
 13217      hpux9*)
 13218        if test "$GCC" = yes; then
 13219  	archive_cmds_GO='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 13220        else
 13221  	archive_cmds_GO='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 13222        fi
 13223        hardcode_libdir_flag_spec_GO='${wl}+b ${wl}$libdir'
 13224        hardcode_libdir_separator_GO=:
 13225        hardcode_direct_GO=yes
 13226  
 13227        # hardcode_minus_L: Not really in the search PATH,
 13228        # but as the default location of the library.
 13229        hardcode_minus_L_GO=yes
 13230        export_dynamic_flag_spec_GO='${wl}-E'
 13231        ;;
 13232  
 13233      hpux10*)
 13234        if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 13235  	archive_cmds_GO='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 13236        else
 13237  	archive_cmds_GO='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 13238        fi
 13239        if test "$with_gnu_ld" = no; then
 13240  	hardcode_libdir_flag_spec_GO='${wl}+b ${wl}$libdir'
 13241  	hardcode_libdir_flag_spec_ld_GO='+b $libdir'
 13242  	hardcode_libdir_separator_GO=:
 13243  	hardcode_direct_GO=yes
 13244  	hardcode_direct_absolute_GO=yes
 13245  	export_dynamic_flag_spec_GO='${wl}-E'
 13246  	# hardcode_minus_L: Not really in the search PATH,
 13247  	# but as the default location of the library.
 13248  	hardcode_minus_L_GO=yes
 13249        fi
 13250        ;;
 13251  
 13252      hpux11*)
 13253        if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 13254  	case $host_cpu in
 13255  	hppa*64*)
 13256  	  archive_cmds_GO='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 13257  	  ;;
 13258  	ia64*)
 13259  	  archive_cmds_GO='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 13260  	  ;;
 13261  	*)
 13262  	  archive_cmds_GO='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 13263  	  ;;
 13264  	esac
 13265        else
 13266  	case $host_cpu in
 13267  	hppa*64*)
 13268  	  archive_cmds_GO='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 13269  	  ;;
 13270  	ia64*)
 13271  	  archive_cmds_GO='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 13272  	  ;;
 13273  	*)
 13274  	archive_cmds_GO='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 13275  	  ;;
 13276  	esac
 13277        fi
 13278        if test "$with_gnu_ld" = no; then
 13279  	hardcode_libdir_flag_spec_GO='${wl}+b ${wl}$libdir'
 13280  	hardcode_libdir_separator_GO=:
 13281  
 13282  	case $host_cpu in
 13283  	hppa*64*|ia64*)
 13284  	  hardcode_direct_GO=no
 13285  	  hardcode_shlibpath_var_GO=no
 13286  	  ;;
 13287  	*)
 13288  	  hardcode_direct_GO=yes
 13289  	  hardcode_direct_absolute_GO=yes
 13290  	  export_dynamic_flag_spec_GO='${wl}-E'
 13291  
 13292  	  # hardcode_minus_L: Not really in the search PATH,
 13293  	  # but as the default location of the library.
 13294  	  hardcode_minus_L_GO=yes
 13295  	  ;;
 13296  	esac
 13297        fi
 13298        ;;
 13299  
 13300      irix5* | irix6* | nonstopux*)
 13301        if test "$GCC" = yes; then
 13302  	archive_cmds_GO='$CC -shared $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'
 13303  	# Try to use the -exported_symbol ld option, if it does not
 13304  	# work, assume that -exports_file does not work either and
 13305  	# implicitly export all symbols.
 13306          save_LDFLAGS="$LDFLAGS"
 13307          LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 13308          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 13309  /* end confdefs.h.  */
 13310  int foo(void) {}
 13311  _ACEOF
 13312  if ac_fn_c_try_link "$LINENO"; then :
 13313    archive_expsym_cmds_GO='$CC -shared $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'
 13314  
 13315  fi
 13316  rm -f core conftest.err conftest.$ac_objext \
 13317      conftest$ac_exeext conftest.$ac_ext
 13318          LDFLAGS="$save_LDFLAGS"
 13319        else
 13320  	archive_cmds_GO='$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'
 13321  	archive_expsym_cmds_GO='$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'
 13322        fi
 13323        archive_cmds_need_lc_GO='no'
 13324        hardcode_libdir_flag_spec_GO='${wl}-rpath ${wl}$libdir'
 13325        hardcode_libdir_separator_GO=:
 13326        inherit_rpath_GO=yes
 13327        link_all_deplibs_GO=yes
 13328        ;;
 13329  
 13330      netbsd*)
 13331        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 13332  	archive_cmds_GO='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 13333        else
 13334  	archive_cmds_GO='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 13335        fi
 13336        hardcode_libdir_flag_spec_GO='-R$libdir'
 13337        hardcode_direct_GO=yes
 13338        hardcode_shlibpath_var_GO=no
 13339        ;;
 13340  
 13341      newsos6)
 13342        archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 13343        hardcode_direct_GO=yes
 13344        hardcode_libdir_flag_spec_GO='${wl}-rpath ${wl}$libdir'
 13345        hardcode_libdir_separator_GO=:
 13346        hardcode_shlibpath_var_GO=no
 13347        ;;
 13348  
 13349      *nto* | *qnx*)
 13350        ;;
 13351  
 13352      openbsd*)
 13353        if test -f /usr/libexec/ld.so; then
 13354  	hardcode_direct_GO=yes
 13355  	hardcode_shlibpath_var_GO=no
 13356  	hardcode_direct_absolute_GO=yes
 13357  	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 13358  	  archive_cmds_GO='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 13359  	  archive_expsym_cmds_GO='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 13360  	  hardcode_libdir_flag_spec_GO='${wl}-rpath,$libdir'
 13361  	  export_dynamic_flag_spec_GO='${wl}-E'
 13362  	else
 13363  	  case $host_os in
 13364  	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 13365  	     archive_cmds_GO='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 13366  	     hardcode_libdir_flag_spec_GO='-R$libdir'
 13367  	     ;;
 13368  	   *)
 13369  	     archive_cmds_GO='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 13370  	     hardcode_libdir_flag_spec_GO='${wl}-rpath,$libdir'
 13371  	     ;;
 13372  	  esac
 13373  	fi
 13374        else
 13375  	ld_shlibs_GO=no
 13376        fi
 13377        ;;
 13378  
 13379      os2*)
 13380        hardcode_libdir_flag_spec_GO='-L$libdir'
 13381        hardcode_minus_L_GO=yes
 13382        allow_undefined_flag_GO=unsupported
 13383        archive_cmds_GO='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
 13384        old_archive_from_new_cmds_GO='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 13385        ;;
 13386  
 13387      osf3*)
 13388        if test "$GCC" = yes; then
 13389  	allow_undefined_flag_GO=' ${wl}-expect_unresolved ${wl}\*'
 13390  	archive_cmds_GO='$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'
 13391        else
 13392  	allow_undefined_flag_GO=' -expect_unresolved \*'
 13393  	archive_cmds_GO='$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'
 13394        fi
 13395        archive_cmds_need_lc_GO='no'
 13396        hardcode_libdir_flag_spec_GO='${wl}-rpath ${wl}$libdir'
 13397        hardcode_libdir_separator_GO=:
 13398        ;;
 13399  
 13400      osf4* | osf5*)	# as osf3* with the addition of -msym flag
 13401        if test "$GCC" = yes; then
 13402  	allow_undefined_flag_GO=' ${wl}-expect_unresolved ${wl}\*'
 13403  	archive_cmds_GO='$CC -shared${allow_undefined_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'
 13404  	hardcode_libdir_flag_spec_GO='${wl}-rpath ${wl}$libdir'
 13405        else
 13406  	allow_undefined_flag_GO=' -expect_unresolved \*'
 13407  	archive_cmds_GO='$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'
 13408  	archive_expsym_cmds_GO='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
 13409  	$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'
 13410  
 13411  	# Both c and cxx compiler support -rpath directly
 13412  	hardcode_libdir_flag_spec_GO='-rpath $libdir'
 13413        fi
 13414        archive_cmds_need_lc_GO='no'
 13415        hardcode_libdir_separator_GO=:
 13416        ;;
 13417  
 13418      solaris*)
 13419        no_undefined_flag_GO=' -z defs'
 13420        if test "$GCC" = yes; then
 13421  	wlarc='${wl}'
 13422  	archive_cmds_GO='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 13423  	archive_expsym_cmds_GO='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 13424  	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 13425        else
 13426  	case `$CC -V 2>&1` in
 13427  	*"Compilers 5.0"*)
 13428  	  wlarc=''
 13429  	  archive_cmds_GO='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 13430  	  archive_expsym_cmds_GO='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 13431  	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 13432  	  ;;
 13433  	*)
 13434  	  wlarc='${wl}'
 13435  	  archive_cmds_GO='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 13436  	  archive_expsym_cmds_GO='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 13437  	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 13438  	  ;;
 13439  	esac
 13440        fi
 13441        hardcode_libdir_flag_spec_GO='-R$libdir'
 13442        hardcode_shlibpath_var_GO=no
 13443        case $host_os in
 13444        solaris2.[0-5] | solaris2.[0-5].*) ;;
 13445        *)
 13446  	# The compiler driver will combine and reorder linker options,
 13447  	# but understands `-z linker_flag'.  GCC discards it without `$wl',
 13448  	# but is careful enough not to reorder.
 13449  	# Supported since Solaris 2.6 (maybe 2.5.1?)
 13450  	if test "$GCC" = yes; then
 13451  	  whole_archive_flag_spec_GO='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 13452  	else
 13453  	  whole_archive_flag_spec_GO='-z allextract$convenience -z defaultextract'
 13454  	fi
 13455  	;;
 13456        esac
 13457        link_all_deplibs_GO=yes
 13458        ;;
 13459  
 13460      sunos4*)
 13461        if test "x$host_vendor" = xsequent; then
 13462  	# Use $CC to link under sequent, because it throws in some extra .o
 13463  	# files that make .init and .fini sections work.
 13464  	archive_cmds_GO='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 13465        else
 13466  	archive_cmds_GO='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 13467        fi
 13468        hardcode_libdir_flag_spec_GO='-L$libdir'
 13469        hardcode_direct_GO=yes
 13470        hardcode_minus_L_GO=yes
 13471        hardcode_shlibpath_var_GO=no
 13472        ;;
 13473  
 13474      sysv4)
 13475        case $host_vendor in
 13476  	sni)
 13477  	  archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 13478  	  hardcode_direct_GO=yes # is this really true???
 13479  	;;
 13480  	siemens)
 13481  	  ## LD is ld it makes a PLAMLIB
 13482  	  ## CC just makes a GrossModule.
 13483  	  archive_cmds_GO='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 13484  	  reload_cmds_GO='$CC -r -o $output$reload_objs'
 13485  	  hardcode_direct_GO=no
 13486          ;;
 13487  	motorola)
 13488  	  archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 13489  	  hardcode_direct_GO=no #Motorola manual says yes, but my tests say they lie
 13490  	;;
 13491        esac
 13492        runpath_var='LD_RUN_PATH'
 13493        hardcode_shlibpath_var_GO=no
 13494        ;;
 13495  
 13496      sysv4.3*)
 13497        archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 13498        hardcode_shlibpath_var_GO=no
 13499        export_dynamic_flag_spec_GO='-Bexport'
 13500        ;;
 13501  
 13502      sysv4*MP*)
 13503        if test -d /usr/nec; then
 13504  	archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 13505  	hardcode_shlibpath_var_GO=no
 13506  	runpath_var=LD_RUN_PATH
 13507  	hardcode_runpath_var=yes
 13508  	ld_shlibs_GO=yes
 13509        fi
 13510        ;;
 13511  
 13512      sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 13513        no_undefined_flag_GO='${wl}-z,text'
 13514        archive_cmds_need_lc_GO=no
 13515        hardcode_shlibpath_var_GO=no
 13516        runpath_var='LD_RUN_PATH'
 13517  
 13518        if test "$GCC" = yes; then
 13519  	archive_cmds_GO='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 13520  	archive_expsym_cmds_GO='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 13521        else
 13522  	archive_cmds_GO='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 13523  	archive_expsym_cmds_GO='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 13524        fi
 13525        ;;
 13526  
 13527      sysv5* | sco3.2v5* | sco5v6*)
 13528        # Note: We can NOT use -z defs as we might desire, because we do not
 13529        # link with -lc, and that would cause any symbols used from libc to
 13530        # always be unresolved, which means just about no library would
 13531        # ever link correctly.  If we're not using GNU ld we use -z text
 13532        # though, which does catch some bad symbols but isn't as heavy-handed
 13533        # as -z defs.
 13534        no_undefined_flag_GO='${wl}-z,text'
 13535        allow_undefined_flag_GO='${wl}-z,nodefs'
 13536        archive_cmds_need_lc_GO=no
 13537        hardcode_shlibpath_var_GO=no
 13538        hardcode_libdir_flag_spec_GO='${wl}-R,$libdir'
 13539        hardcode_libdir_separator_GO=':'
 13540        link_all_deplibs_GO=yes
 13541        export_dynamic_flag_spec_GO='${wl}-Bexport'
 13542        runpath_var='LD_RUN_PATH'
 13543  
 13544        if test "$GCC" = yes; then
 13545  	archive_cmds_GO='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 13546  	archive_expsym_cmds_GO='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 13547        else
 13548  	archive_cmds_GO='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 13549  	archive_expsym_cmds_GO='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 13550        fi
 13551        ;;
 13552  
 13553      uts4*)
 13554        archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 13555        hardcode_libdir_flag_spec_GO='-L$libdir'
 13556        hardcode_shlibpath_var_GO=no
 13557        ;;
 13558  
 13559      *)
 13560        ld_shlibs_GO=no
 13561        ;;
 13562      esac
 13563  
 13564      if test x$host_vendor = xsni; then
 13565        case $host in
 13566        sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 13567  	export_dynamic_flag_spec_GO='${wl}-Blargedynsym'
 13568  	;;
 13569        esac
 13570      fi
 13571    fi
 13572  
 13573  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GO" >&5
 13574  $as_echo "$ld_shlibs_GO" >&6; }
 13575  test "$ld_shlibs_GO" = no && can_build_shared=no
 13576  
 13577  with_gnu_ld_GO=$with_gnu_ld
 13578  
 13579  
 13580  
 13581  
 13582  
 13583  
 13584  #
 13585  # Do we need to explicitly link libc?
 13586  #
 13587  case "x$archive_cmds_need_lc_GO" in
 13588  x|xyes)
 13589    # Assume -lc should be added
 13590    archive_cmds_need_lc_GO=yes
 13591  
 13592    if test "$enable_shared" = yes && test "$GCC" = yes; then
 13593      case $archive_cmds_GO in
 13594      *'~'*)
 13595        # FIXME: we may have to deal with multi-command sequences.
 13596        ;;
 13597      '$CC '*)
 13598        # Test whether the compiler implicitly links with -lc since on some
 13599        # systems, -lgcc has to come before -lc. If gcc already passes -lc
 13600        # to ld, don't add -lc before -lgcc.
 13601        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 13602  $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 13603  if ${lt_cv_archive_cmds_need_lc_GO+:} false; then :
 13604    $as_echo_n "(cached) " >&6
 13605  else
 13606    $RM conftest*
 13607  	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 13608  
 13609  	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 13610    (eval $ac_compile) 2>&5
 13611    ac_status=$?
 13612    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 13613    test $ac_status = 0; } 2>conftest.err; then
 13614  	  soname=conftest
 13615  	  lib=conftest
 13616  	  libobjs=conftest.$ac_objext
 13617  	  deplibs=
 13618  	  wl=$lt_prog_compiler_wl_GO
 13619  	  pic_flag=$lt_prog_compiler_pic_GO
 13620  	  compiler_flags=-v
 13621  	  linker_flags=-v
 13622  	  verstring=
 13623  	  output_objdir=.
 13624  	  libname=conftest
 13625  	  lt_save_allow_undefined_flag=$allow_undefined_flag_GO
 13626  	  allow_undefined_flag_GO=
 13627  	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GO 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 13628    (eval $archive_cmds_GO 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 13629    ac_status=$?
 13630    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 13631    test $ac_status = 0; }
 13632  	  then
 13633  	    lt_cv_archive_cmds_need_lc_GO=no
 13634  	  else
 13635  	    lt_cv_archive_cmds_need_lc_GO=yes
 13636  	  fi
 13637  	  allow_undefined_flag_GO=$lt_save_allow_undefined_flag
 13638  	else
 13639  	  cat conftest.err 1>&5
 13640  	fi
 13641  	$RM conftest*
 13642  
 13643  fi
 13644  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GO" >&5
 13645  $as_echo "$lt_cv_archive_cmds_need_lc_GO" >&6; }
 13646        archive_cmds_need_lc_GO=$lt_cv_archive_cmds_need_lc_GO
 13647        ;;
 13648      esac
 13649    fi
 13650    ;;
 13651  esac
 13652  
 13653  
 13654  
 13655  
 13656  
 13657  
 13658  
 13659  
 13660  
 13661  
 13662  
 13663  
 13664  
 13665  
 13666  
 13667  
 13668  
 13669  
 13670  
 13671  
 13672  
 13673  
 13674  
 13675  
 13676  
 13677  
 13678  
 13679  
 13680  
 13681  
 13682  
 13683  
 13684  
 13685  
 13686  
 13687  
 13688  
 13689  
 13690  
 13691  
 13692  
 13693  
 13694  
 13695  
 13696  
 13697  
 13698  
 13699  
 13700  
 13701  
 13702  
 13703  
 13704  
 13705  
 13706  
 13707  
 13708  
 13709  
 13710  
 13711  
 13712  
 13713  
 13714  
 13715  
 13716    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 13717  $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 13718  hardcode_action_GO=
 13719  if test -n "$hardcode_libdir_flag_spec_GO" ||
 13720     test -n "$runpath_var_GO" ||
 13721     test "X$hardcode_automatic_GO" = "Xyes" ; then
 13722  
 13723    # We can hardcode non-existent directories.
 13724    if test "$hardcode_direct_GO" != no &&
 13725       # If the only mechanism to avoid hardcoding is shlibpath_var, we
 13726       # have to relink, otherwise we might link with an installed library
 13727       # when we should be linking with a yet-to-be-installed one
 13728       ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GO)" != no &&
 13729       test "$hardcode_minus_L_GO" != no; then
 13730      # Linking always hardcodes the temporary library directory.
 13731      hardcode_action_GO=relink
 13732    else
 13733      # We can link without hardcoding, and we can hardcode nonexisting dirs.
 13734      hardcode_action_GO=immediate
 13735    fi
 13736  else
 13737    # We cannot hardcode anything, or else we can only hardcode existing
 13738    # directories.
 13739    hardcode_action_GO=unsupported
 13740  fi
 13741  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GO" >&5
 13742  $as_echo "$hardcode_action_GO" >&6; }
 13743  
 13744  if test "$hardcode_action_GO" = relink ||
 13745     test "$inherit_rpath_GO" = yes; then
 13746    # Fast installation is not supported
 13747    enable_fast_install=no
 13748  elif test "$shlibpath_overrides_runpath" = yes ||
 13749       test "$enable_shared" = no; then
 13750    # Fast installation is not necessary
 13751    enable_fast_install=needless
 13752  fi
 13753  
 13754  
 13755  
 13756  
 13757  
 13758  
 13759  
 13760  fi
 13761  
 13762  ac_ext=c
 13763  ac_cpp='$CPP $CPPFLAGS'
 13764  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 13765  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 13766  ac_compiler_gnu=$ac_cv_c_compiler_gnu
 13767  
 13768  
 13769  GCC=$lt_save_GCC
 13770  CC="$lt_save_CC"
 13771  
 13772  
 13773  
 13774  
 13775          ac_config_commands="$ac_config_commands libtool"
 13776  
 13777  
 13778  
 13779  
 13780  # Only expand once:
 13781  
 13782  
 13783  
 13784  
 13785   if test x$enable_darwin_at_rpath = xyes; then
 13786    ENABLE_DARWIN_AT_RPATH_TRUE=
 13787    ENABLE_DARWIN_AT_RPATH_FALSE='#'
 13788  else
 13789    ENABLE_DARWIN_AT_RPATH_TRUE='#'
 13790    ENABLE_DARWIN_AT_RPATH_FALSE=
 13791  fi
 13792  
 13793  
 13794  CC_FOR_BUILD=${CC_FOR_BUILD:-gcc}
 13795  
 13796  
 13797  for ac_prog in gawk mawk nawk awk
 13798  do
 13799    # Extract the first word of "$ac_prog", so it can be a program name with args.
 13800  set dummy $ac_prog; ac_word=$2
 13801  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 13802  $as_echo_n "checking for $ac_word... " >&6; }
 13803  if ${ac_cv_prog_AWK+:} false; then :
 13804    $as_echo_n "(cached) " >&6
 13805  else
 13806    if test -n "$AWK"; then
 13807    ac_cv_prog_AWK="$AWK" # Let the user override the test.
 13808  else
 13809  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 13810  for as_dir in $PATH
 13811  do
 13812    IFS=$as_save_IFS
 13813    test -z "$as_dir" && as_dir=.
 13814      for ac_exec_ext in '' $ac_executable_extensions; do
 13815    if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 13816      ac_cv_prog_AWK="$ac_prog"
 13817      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 13818      break 2
 13819    fi
 13820  done
 13821    done
 13822  IFS=$as_save_IFS
 13823  
 13824  fi
 13825  fi
 13826  AWK=$ac_cv_prog_AWK
 13827  if test -n "$AWK"; then
 13828    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 13829  $as_echo "$AWK" >&6; }
 13830  else
 13831    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 13832  $as_echo "no" >&6; }
 13833  fi
 13834  
 13835  
 13836    test -n "$AWK" && break
 13837  done
 13838  
 13839  
 13840  WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
 13841  
 13842  
 13843  # Check whether --enable-werror was given.
 13844  if test "${enable_werror+set}" = set; then :
 13845    enableval=$enable_werror;
 13846  fi
 13847  
 13848  if test "x$enable_werror" != "xno" && test "x$GCC" = "xyes"; then :
 13849    WERROR="-Werror"
 13850  fi
 13851  
 13852  
 13853  glibgo_toolexecdir=no
 13854  glibgo_toolexeclibdir=no
 13855  
 13856  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
 13857  $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
 13858  # Check whether --enable-version-specific-runtime-libs was given.
 13859  if test "${enable_version_specific_runtime_libs+set}" = set; then :
 13860    enableval=$enable_version_specific_runtime_libs; case "$enableval" in
 13861      yes) version_specific_libs=yes ;;
 13862      no)  version_specific_libs=no ;;
 13863      *)   as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
 13864     esac
 13865  else
 13866    version_specific_libs=no
 13867  fi
 13868  
 13869  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
 13870  $as_echo "$version_specific_libs" >&6; }
 13871  
 13872  
 13873  # Check whether --with-toolexeclibdir was given.
 13874  if test "${with_toolexeclibdir+set}" = set; then :
 13875    withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
 13876    /)
 13877      ;;
 13878    */)
 13879      with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
 13880      ;;
 13881  esac
 13882  else
 13883    with_toolexeclibdir=no
 13884  fi
 13885  
 13886  
 13887  
 13888  # Version-specific runtime libs processing.
 13889  if test $version_specific_libs = yes; then
 13890    glibgo_toolexecdir='${libdir}/gcc/${host_alias}'
 13891    glibgo_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
 13892  fi
 13893  
 13894  # Calculate glibgo_toolexecdir, glibgo_toolexeclibdir
 13895  # Install a library built with a cross compiler in tooldir, not libdir.
 13896  if test -n "$with_cross_host" &&
 13897     test x"$with_cross_host" != x"no"; then
 13898    nover_glibgo_toolexecdir='${exec_prefix}/${host_alias}'
 13899    case ${with_toolexeclibdir} in
 13900      no)
 13901        nover_glibgo_toolexeclibdir='${toolexecdir}/lib'
 13902        ;;
 13903      *)
 13904        nover_glibgo_toolexeclibdir=${with_toolexeclibdir}
 13905        ;;
 13906    esac
 13907  else
 13908    nover_glibgo_toolexecdir='${libdir}/gcc/${host_alias}'
 13909    nover_glibgo_toolexeclibdir='${libdir}'
 13910  fi
 13911  multi_os_directory=`$GOC -print-multi-os-directory`
 13912  case $multi_os_directory in
 13913    .) ;; # Avoid trailing /.
 13914    *) nover_glibgo_toolexeclibdir=${nover_glibgo_toolexeclibdir}/${multi_os_directory} ;;
 13915  esac
 13916  
 13917  if test x"$glibgo_toolexecdir" = x"no"; then
 13918    glibgo_toolexecdir="${nover_glibgo_toolexecdir}"
 13919    glibgo_toolexeclibdir="${nover_glibgo_toolexeclibdir}"
 13920  fi
 13921  
 13922  
 13923  
 13924  
 13925  
 13926  # See if the user wants to configure without libffi.  Some
 13927  # architectures don't support it.  FIXME: We should set a default
 13928  # based on the host.
 13929  
 13930  # Check whether --with-libffi was given.
 13931  if test "${with_libffi+set}" = set; then :
 13932    withval=$with_libffi; :
 13933  else
 13934    with_libffi=${with_libffi_default-yes}
 13935  fi
 13936  
 13937  
 13938  LIBFFI=
 13939  LIBFFIINCS=
 13940  if test "$with_libffi" != no; then
 13941  
 13942  $as_echo "#define USE_LIBFFI 1" >>confdefs.h
 13943  
 13944     LIBFFI=../libffi/libffi_convenience.la
 13945     LIBFFIINCS='-I$(top_srcdir)/../libffi/include -I../libffi/include'
 13946  fi
 13947  
 13948  
 13949   if test "$with_libffi" != "no"; then
 13950    USE_LIBFFI_TRUE=
 13951    USE_LIBFFI_FALSE='#'
 13952  else
 13953    USE_LIBFFI_TRUE='#'
 13954    USE_LIBFFI_FALSE=
 13955  fi
 13956  
 13957  
 13958  # See if the user wants to configure without libatomic. This is useful if we are
 13959  # on an architecture for which libgo does not need an atomic support library and
 13960  # libatomic does not support our C compiler.
 13961  
 13962  # Check whether --with-libatomic was given.
 13963  if test "${with_libatomic+set}" = set; then :
 13964    withval=$with_libatomic; :
 13965  else
 13966    with_libatomic=${with_libatomic_default-yes}
 13967  fi
 13968  
 13969  
 13970  LIBATOMIC=
 13971  if test "$with_libatomic" != no; then
 13972     LIBATOMIC=../libatomic/libatomic_convenience.la
 13973  fi
 13974  
 13975  
 13976  # Used to tell GNU make to include a file without telling automake to
 13977  # include it.
 13978  go_include="-include"
 13979  
 13980  
 13981  # All known GOOS values.  This is the union of all operating systems
 13982  # supported by the gofrontend and all operating systems supported by
 13983  # the gc toolchain.
 13984  ALLGOOS="aix android darwin dragonfly freebsd hurd illumos ios irix js linux netbsd openbsd plan9 rtems solaris windows zos"
 13985  
 13986  is_darwin=no
 13987  is_freebsd=no
 13988  is_irix=no
 13989  is_linux=no
 13990  is_netbsd=no
 13991  is_openbsd=no
 13992  is_dragonfly=no
 13993  is_rtems=no
 13994  is_solaris=no
 13995  is_aix=no
 13996  is_hurd=no
 13997  GOOS=unknown
 13998  case ${host} in
 13999    *-*-darwin*)   is_darwin=yes;  GOOS=darwin ;;
 14000    *-*-freebsd*)  is_freebsd=yes; GOOS=freebsd ;;
 14001    *-*-irix6*)    is_irix=yes;    GOOS=irix ;;
 14002    *-*-linux*)    is_linux=yes;   GOOS=linux ;;
 14003    *-*-netbsd*)	 is_netbsd=yes;  GOOS=netbsd ;;
 14004    *-*-openbsd*)  is_openbsd=yes; GOOS=openbsd ;;
 14005    *-*-dragonfly*) is_dragonfly=yes; GOOS=dragonfly ;;
 14006    *-*-rtems*)    is_rtems=yes;   GOOS=rtems ;;
 14007    *-*-solaris2*) is_solaris=yes; GOOS=solaris ;;
 14008    *-*-aix*)      is_aix=yes;     GOOS=aix ;;
 14009    *-*-gnu*)      is_hurd=yes;    GOOS=hurd ;;
 14010  esac
 14011   if test $is_darwin = yes; then
 14012    LIBGO_IS_DARWIN_TRUE=
 14013    LIBGO_IS_DARWIN_FALSE='#'
 14014  else
 14015    LIBGO_IS_DARWIN_TRUE='#'
 14016    LIBGO_IS_DARWIN_FALSE=
 14017  fi
 14018  
 14019   if test $is_freebsd = yes; then
 14020    LIBGO_IS_FREEBSD_TRUE=
 14021    LIBGO_IS_FREEBSD_FALSE='#'
 14022  else
 14023    LIBGO_IS_FREEBSD_TRUE='#'
 14024    LIBGO_IS_FREEBSD_FALSE=
 14025  fi
 14026  
 14027   if test $is_irix = yes; then
 14028    LIBGO_IS_IRIX_TRUE=
 14029    LIBGO_IS_IRIX_FALSE='#'
 14030  else
 14031    LIBGO_IS_IRIX_TRUE='#'
 14032    LIBGO_IS_IRIX_FALSE=
 14033  fi
 14034  
 14035   if test $is_linux = yes; then
 14036    LIBGO_IS_LINUX_TRUE=
 14037    LIBGO_IS_LINUX_FALSE='#'
 14038  else
 14039    LIBGO_IS_LINUX_TRUE='#'
 14040    LIBGO_IS_LINUX_FALSE=
 14041  fi
 14042  
 14043   if test $is_netbsd = yes; then
 14044    LIBGO_IS_NETBSD_TRUE=
 14045    LIBGO_IS_NETBSD_FALSE='#'
 14046  else
 14047    LIBGO_IS_NETBSD_TRUE='#'
 14048    LIBGO_IS_NETBSD_FALSE=
 14049  fi
 14050  
 14051   if test $is_openbsd = yes; then
 14052    LIBGO_IS_OPENBSD_TRUE=
 14053    LIBGO_IS_OPENBSD_FALSE='#'
 14054  else
 14055    LIBGO_IS_OPENBSD_TRUE='#'
 14056    LIBGO_IS_OPENBSD_FALSE=
 14057  fi
 14058  
 14059   if test $is_dragonfly = yes; then
 14060    LIBGO_IS_DRAGONFLY_TRUE=
 14061    LIBGO_IS_DRAGONFLY_FALSE='#'
 14062  else
 14063    LIBGO_IS_DRAGONFLY_TRUE='#'
 14064    LIBGO_IS_DRAGONFLY_FALSE=
 14065  fi
 14066  
 14067   if test $is_rtems = yes; then
 14068    LIBGO_IS_RTEMS_TRUE=
 14069    LIBGO_IS_RTEMS_FALSE='#'
 14070  else
 14071    LIBGO_IS_RTEMS_TRUE='#'
 14072    LIBGO_IS_RTEMS_FALSE=
 14073  fi
 14074  
 14075   if test $is_solaris = yes; then
 14076    LIBGO_IS_SOLARIS_TRUE=
 14077    LIBGO_IS_SOLARIS_FALSE='#'
 14078  else
 14079    LIBGO_IS_SOLARIS_TRUE='#'
 14080    LIBGO_IS_SOLARIS_FALSE=
 14081  fi
 14082  
 14083   if test $is_aix = yes; then
 14084    LIBGO_IS_AIX_TRUE=
 14085    LIBGO_IS_AIX_FALSE='#'
 14086  else
 14087    LIBGO_IS_AIX_TRUE='#'
 14088    LIBGO_IS_AIX_FALSE=
 14089  fi
 14090  
 14091   if test $is_hurd = yes; then
 14092    LIBGO_IS_HURD_TRUE=
 14093    LIBGO_IS_HURD_FALSE='#'
 14094  else
 14095    LIBGO_IS_HURD_TRUE='#'
 14096    LIBGO_IS_HURD_FALSE=
 14097  fi
 14098  
 14099   if test $is_darwin = yes -o $is_dragonfly = yes -o $is_freebsd = yes -o $is_netbsd = yes -o $is_openbsd = yes; then
 14100    LIBGO_IS_BSD_TRUE=
 14101    LIBGO_IS_BSD_FALSE='#'
 14102  else
 14103    LIBGO_IS_BSD_TRUE='#'
 14104    LIBGO_IS_BSD_FALSE=
 14105  fi
 14106  
 14107  
 14108  
 14109  
 14110  if test "${GOOS}" = "unknown"; then
 14111     as_fn_error $? "\"could not determine GOOS from ${host}\"" "$LINENO" 5
 14112  fi
 14113  
 14114  USE_DEJAGNU=no
 14115  case ${host} in
 14116    *-*-rtems*) USE_DEJAGNU=yes ;;
 14117    ${build}) ;;
 14118    *) USE_DEJAGNU=yes ;;
 14119  esac
 14120  
 14121  
 14122  # All known GOARCH values.  This is the union of all architectures
 14123  # supported by the gofrontend and all architectures supported by the
 14124  # gc toolchain.
 14125  # To add a new architecture:
 14126  # - add it to this list
 14127  # - if appropriate, add an entry to ALLGOARCHFAMILY below
 14128  # - add an entry to the case on ${host} below to set GOARCH
 14129  # - update goarchList in libgo/go/go/build/syslist.go
 14130  # - update goarch.sh to report the values for this architecture
 14131  # - update go-set-goarch in gcc/testsuite/go.test/go-test.exp
 14132  # - update ptrSizeMap and intSizeMap in libgo/go/cmd/cgo/main.go
 14133  # - update arch lists in libgo/match.sh
 14134  # - update arch lists in libgo/testsuite/gotest
 14135  # - update +build lines in several places
 14136  #   - libgo/go/runtime/lfstack_NNbit.go
 14137  #   - libgo/go/runtime/hashNN.go
 14138  #   - libgo/go/runtime/unalignedN.go
 14139  #   - libgo/go/syscall/endian_XX.go
 14140  #   - possibly others
 14141  # - possibly update files in libgo/go/internal/syscall/unix
 14142  ALLGOARCH="386 alpha amd64 amd64p32 arm armbe arm64 arm64be ia64 m68k mips mipsle mips64 mips64le mips64p32 mips64p32le nios2 ppc ppc64 ppc64le riscv riscv64 s390 s390x sh shbe sparc sparc64 wasm"
 14143  
 14144  # All known GOARCH family values.
 14145  ALLGOARCHFAMILY="I386 ALPHA AMD64 ARM ARM64 IA64 M68K MIPS MIPS64 NIOS2 PPC PPC64 RISCV RISCV64 S390 S390X SH SPARC SPARC64 WASM"
 14146  
 14147  GOARCH=unknown
 14148  case ${host} in
 14149    alpha*-*-*)
 14150      GOARCH=alpha
 14151      ;;
 14152    aarch64-*-*)
 14153      GOARCH=arm64
 14154      ;;
 14155    aarch64_be-*-*)
 14156      GOARCH=arm64be
 14157      ;;
 14158    arm*-*-* | strongarm*-*-* | ep9312*-*-* | xscale-*-*)
 14159      GOARCH=arm
 14160      case ${host} in
 14161        arm*b*-*-*)
 14162  	GOARCH=armbe
 14163  	;;
 14164      esac
 14165      ;;
 14166    i[34567]86-*-* | x86_64-*-*)
 14167      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 14168  /* end confdefs.h.  */
 14169  
 14170  #ifdef __x86_64__
 14171  #error 64-bit
 14172  #endif
 14173  
 14174  _ACEOF
 14175  if ac_fn_c_try_compile "$LINENO"; then :
 14176    GOARCH=386
 14177  else
 14178    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 14179  /* end confdefs.h.  */
 14180  
 14181  #ifdef __ILP32__
 14182  #error x32
 14183  #endif
 14184  
 14185  _ACEOF
 14186  if ac_fn_c_try_compile "$LINENO"; then :
 14187    GOARCH=amd64
 14188  else
 14189    GOARCH=amd64p32
 14190  fi
 14191  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 14192  fi
 14193  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 14194      ;;
 14195    ia64-*-*)
 14196      GOARCH=ia64
 14197      ;;
 14198    m68k*-*-*)
 14199      GOARCH=m68k
 14200      ;;
 14201    mips*-*-*)
 14202      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 14203  /* end confdefs.h.  */
 14204  
 14205  #if _MIPS_SIM != _ABIO32
 14206  #error not o32
 14207  #endif
 14208  
 14209  _ACEOF
 14210  if ac_fn_c_try_compile "$LINENO"; then :
 14211    mips_abi="o32"
 14212  else
 14213    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 14214  /* end confdefs.h.  */
 14215  
 14216  #if _MIPS_SIM != _ABIN32
 14217  #error not n32
 14218  #endif
 14219  
 14220  _ACEOF
 14221  if ac_fn_c_try_compile "$LINENO"; then :
 14222    mips_abi="n32"
 14223  else
 14224    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 14225  /* end confdefs.h.  */
 14226  
 14227  #if _MIPS_SIM != _ABI64
 14228  #error not n64
 14229  #endif
 14230  
 14231  _ACEOF
 14232  if ac_fn_c_try_compile "$LINENO"; then :
 14233    mips_abi="n64"
 14234  else
 14235    as_fn_error $? "unknown MIPS ABI" "$LINENO" 5
 14236  mips_abi="n32"
 14237  fi
 14238  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 14239  fi
 14240  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 14241  fi
 14242  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 14243      case "$mips_abi" in
 14244      "o32") GOARCH=mips ;;
 14245      "n32") GOARCH=mips64p32 ;;
 14246      "n64") GOARCH=mips64 ;;
 14247      esac
 14248      case "${host}" in
 14249      mips*el-*-*)
 14250          GOARCH="${GOARCH}le"
 14251          ;;
 14252      esac
 14253      ;;
 14254    nios2-*-*)
 14255      GOARCH=nios2
 14256      ;;
 14257    rs6000*-*-* | powerpc*-*-*)
 14258      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 14259  /* end confdefs.h.  */
 14260  
 14261  #ifdef _ARCH_PPC64
 14262  #error 64-bit
 14263  #endif
 14264  
 14265  _ACEOF
 14266  if ac_fn_c_try_compile "$LINENO"; then :
 14267    GOARCH=ppc
 14268  else
 14269  
 14270  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 14271  /* end confdefs.h.  */
 14272  
 14273  #if defined(_BIG_ENDIAN) || defined(__BIG_ENDIAN__)
 14274  #error 64be
 14275  #endif
 14276  
 14277  _ACEOF
 14278  if ac_fn_c_try_compile "$LINENO"; then :
 14279    GOARCH=ppc64le
 14280  else
 14281    GOARCH=ppc64
 14282  fi
 14283  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 14284  fi
 14285  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 14286      ;;
 14287    riscv*-*-*)
 14288      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 14289  /* end confdefs.h.  */
 14290  
 14291  #if __riscv_xlen == 64
 14292  #error 64-bit
 14293  #endif
 14294  
 14295  _ACEOF
 14296  if ac_fn_c_try_compile "$LINENO"; then :
 14297    GOARCH=riscv
 14298  else
 14299    GOARCH=riscv64
 14300  fi
 14301  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 14302      ;;
 14303    s390*-*-*)
 14304      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 14305  /* end confdefs.h.  */
 14306  
 14307  #if defined(__s390x__)
 14308  #error 64-bit
 14309  #endif
 14310  
 14311  _ACEOF
 14312  if ac_fn_c_try_compile "$LINENO"; then :
 14313    GOARCH=s390
 14314  else
 14315    GOARCH=s390x
 14316  fi
 14317  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 14318      ;;
 14319    sh3eb*-*-* | sh4eb*-*-*)
 14320      GOARCH=shbe
 14321      ;;
 14322    sh3*-*-* | sh4*-*-*)
 14323      GOARCH=sh
 14324      ;;
 14325    sparc*-*-*)
 14326      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 14327  /* end confdefs.h.  */
 14328  
 14329  #if defined(__sparcv9) || defined(__arch64__)
 14330  #error 64-bit
 14331  #endif
 14332  
 14333  _ACEOF
 14334  if ac_fn_c_try_compile "$LINENO"; then :
 14335    GOARCH=sparc
 14336  else
 14337    GOARCH=sparc64
 14338  fi
 14339  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 14340      ;;
 14341  esac
 14342  
 14343  
 14344  
 14345  
 14346  if test "${GOARCH}" = "unknown"; then
 14347     as_fn_error $? "\"could not determine GOARCH from ${host}\"" "$LINENO" 5
 14348  fi
 14349  
 14350   if test "$GOARCH" = "386" -o "$GOARCH" = "amd64" -o "$GOARCH" = "amd64p32"; then
 14351    LIBGO_IS_X86_TRUE=
 14352    LIBGO_IS_X86_FALSE='#'
 14353  else
 14354    LIBGO_IS_X86_TRUE='#'
 14355    LIBGO_IS_X86_FALSE=
 14356  fi
 14357  
 14358  
 14359  FUNCTION_DESCRIPTORS=false
 14360  case ${host} in
 14361    rs6000*-*-* | powerpc*-*-*)
 14362      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 14363  /* end confdefs.h.  */
 14364  
 14365  #if _CALL_ELF == 1
 14366  #error descriptors
 14367  #endif
 14368  
 14369  _ACEOF
 14370  if ac_fn_c_try_compile "$LINENO"; then :
 14371    FUNCTION_DESCRIPTORS=false
 14372  else
 14373    FUNCTION_DESCRIPTORS=true
 14374  fi
 14375  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 14376      ;;
 14377  esac
 14378  
 14379  
 14380  GO_LIBCALL_OS_FILE=
 14381  GO_LIBCALL_OS_ARCH_FILE=
 14382  GO_SYSCALL_OS_FILE=
 14383  GO_SYSCALL_OS_ARCH_FILE=
 14384  if test -f "${srcdir}/go/syscall/libcall_${GOOS}.go"; then
 14385    GO_LIBCALL_OS_FILE="go/syscall/libcall_${GOOS}.go"
 14386  fi
 14387  if test -f "${srcdir}/go/syscall/libcall_${GOOS}_${GOARCH}.go"; then
 14388    GO_LIBCALL_OS_ARCH_FILE="go/syscall/libcall_${GOOS}_${GOARCH}.go"
 14389  fi
 14390  if test -f "${srcdir}/go/syscall/syscall_${GOOS}.go"; then
 14391    GO_SYSCALL_OS_FILE="go/syscall/syscall_${GOOS}.go"
 14392  fi
 14393  if test -f "${srcdir}/go/syscall/syscall_${GOOS}_${GOARCH}.go"; then
 14394    GO_SYSCALL_OS_ARCH_FILE="go/syscall/syscall_${GOOS}_${GOARCH}.go"
 14395  fi
 14396  
 14397  
 14398  
 14399  
 14400  
 14401  OSCFLAGS="-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
 14402  case "$target" in
 14403      mips-sgi-irix6.5*)
 14404  	# IRIX 6 needs _XOPEN_SOURCE=500 for the XPG5 version of struct
 14405  	# msghdr in <sys/socket.h>.
 14406  	OSCFLAGS="$OSCFLAGS -D_XOPEN_SOURCE=500"
 14407  	;;
 14408      *-*-solaris2.*)
 14409  	# Solaris 10+ needs this so struct msghdr gets the msg_control
 14410  	# etc. fields in <sys/socket.h> (_XPG4_2).  _XOPEN_SOURCE=600 as
 14411  	# above doesn't work with C99.
 14412  	OSCFLAGS="$OSCFLAGS -std=gnu99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__"
 14413  	;;
 14414  esac
 14415  
 14416  
 14417  
 14418    test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
 14419  
 14420  
 14421    # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
 14422    # with a different meaning.
 14423    case ${target_os} in
 14424      solaris2*)
 14425        ac_save_CFLAGS="$CFLAGS"
 14426        CFLAGS="$CFLAGS -Wa,-nH"
 14427  
 14428        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
 14429  $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
 14430        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 14431  /* end confdefs.h.  */
 14432  
 14433  int
 14434  main ()
 14435  {
 14436  return 0;
 14437    ;
 14438    return 0;
 14439  }
 14440  _ACEOF
 14441  if ac_fn_c_try_compile "$LINENO"; then :
 14442    ac_hwcap_flags=yes
 14443  else
 14444    ac_hwcap_flags=no
 14445  fi
 14446  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 14447        if test "$ac_hwcap_flags" = "yes"; then
 14448  	HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
 14449        fi
 14450        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
 14451  $as_echo "$ac_hwcap_flags" >&6; }
 14452  
 14453        CFLAGS="$ac_save_CFLAGS"
 14454        ;;
 14455    esac
 14456  
 14457  
 14458  
 14459  
 14460  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fsplit-stack is supported" >&5
 14461  $as_echo_n "checking whether -fsplit-stack is supported... " >&6; }
 14462  if ${libgo_cv_c_split_stack_supported+:} false; then :
 14463    $as_echo_n "(cached) " >&6
 14464  else
 14465    CFLAGS_hold=$CFLAGS
 14466  CFLAGS="$CFLAGS -fsplit-stack"
 14467  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 14468  /* end confdefs.h.  */
 14469  int i;
 14470  _ACEOF
 14471  if ac_fn_c_try_compile "$LINENO"; then :
 14472    libgo_cv_c_split_stack_supported=yes
 14473  else
 14474    libgo_cv_c_split_stack_supported=no
 14475  fi
 14476  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 14477  CFLAGS=$CFLAGS_hold
 14478  fi
 14479  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_split_stack_supported" >&5
 14480  $as_echo "$libgo_cv_c_split_stack_supported" >&6; }
 14481  
 14482  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker supports split/non-split linked together" >&5
 14483  $as_echo_n "checking whether linker supports split/non-split linked together... " >&6; }
 14484  if ${libgo_cv_c_linker_split_non_split+:} false; then :
 14485    $as_echo_n "(cached) " >&6
 14486  else
 14487    cat > conftest1.c << EOF
 14488  extern void f();
 14489  int main() { f(); return 0; }
 14490  EOF
 14491  cat > conftest2.c << EOF
 14492  void f() {}
 14493  EOF
 14494  $CC -c -fsplit-stack $CFLAGS $CPPFLAGS conftest1.c >/dev/null 2>&1
 14495  $CC -c $CFLAGS $CPPFLAGS conftest2.c > /dev/null 2>&1
 14496  if $CC -o conftest conftest1.$ac_objext conftest2.$ac_objext > /dev/null 2>&1; then
 14497    libgo_cv_c_linker_split_non_split=yes
 14498  else
 14499    libgo_cv_c_linker_split_non_split=no
 14500  fi
 14501  rm -f conftest1.* conftest2.* conftest
 14502  fi
 14503  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_linker_split_non_split" >&5
 14504  $as_echo "$libgo_cv_c_linker_split_non_split" >&6; }
 14505  
 14506  if test "$libgo_cv_c_split_stack_supported" = yes -a "$libgo_cv_c_linker_split_non_split" = yes; then
 14507    SPLIT_STACK=-fsplit-stack
 14508  
 14509  $as_echo "#define USING_SPLIT_STACK 1" >>confdefs.h
 14510  
 14511  else
 14512    SPLIT_STACK=
 14513  fi
 14514  
 14515   if test "$libgo_cv_c_split_stack_supported" = yes -a "$libgo_cv_c_linker_split_non_split" = yes; then
 14516    USING_SPLIT_STACK_TRUE=
 14517    USING_SPLIT_STACK_FALSE='#'
 14518  else
 14519    USING_SPLIT_STACK_TRUE='#'
 14520    USING_SPLIT_STACK_FALSE=
 14521  fi
 14522  
 14523  
 14524  if test "$libgo_cv_c_split_stack_supported" = yes -a "$libgo_cv_c_linker_split_non_split" = no; then
 14525    GO_SPLIT_STACK=-fno-split-stack
 14526  else
 14527    GO_SPLIT_STACK=
 14528  fi
 14529  
 14530  
 14531  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker supports split stack" >&5
 14532  $as_echo_n "checking whether linker supports split stack... " >&6; }
 14533  if ${libgo_cv_c_linker_supports_split_stack+:} false; then :
 14534    $as_echo_n "(cached) " >&6
 14535  else
 14536    libgo_cv_c_linker_supports_split_stack=no
 14537  if $GOC -Wl,--help 2>/dev/null | grep split-stack-adjust-size >/dev/null 2>&1; then
 14538    libgo_cv_c_linker_supports_split_stack=yes
 14539  fi
 14540  fi
 14541  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_linker_supports_split_stack" >&5
 14542  $as_echo "$libgo_cv_c_linker_supports_split_stack" >&6; }
 14543  if test "$libgo_cv_c_linker_supports_split_stack" = yes; then
 14544  
 14545  $as_echo "#define LINKER_SUPPORTS_SPLIT_STACK 1" >>confdefs.h
 14546  
 14547  fi
 14548  
 14549  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler is llgo" >&5
 14550  $as_echo_n "checking whether compiler is llgo... " >&6; }
 14551  if ${libgo_cv_c_goc_is_llgo+:} false; then :
 14552    $as_echo_n "(cached) " >&6
 14553  else
 14554    libgo_cv_c_goc_is_llgo=no
 14555  if $GOC -dumpversion 2>/dev/null | grep llgo >/dev/null 2>&1; then
 14556    libgo_cv_c_goc_is_llgo=yes
 14557  fi
 14558  fi
 14559  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_goc_is_llgo" >&5
 14560  $as_echo "$libgo_cv_c_goc_is_llgo" >&6; }
 14561   if test "$libgo_cv_c_goc_is_llgo" = yes; then
 14562    GOC_IS_LLGO_TRUE=
 14563    GOC_IS_LLGO_FALSE='#'
 14564  else
 14565    GOC_IS_LLGO_TRUE='#'
 14566    GOC_IS_LLGO_FALSE=
 14567  fi
 14568  
 14569  
 14570  MATH_LIBS=
 14571  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
 14572  $as_echo_n "checking for sqrt in -lm... " >&6; }
 14573  if ${ac_cv_lib_m_sqrt+:} false; then :
 14574    $as_echo_n "(cached) " >&6
 14575  else
 14576    ac_check_lib_save_LIBS=$LIBS
 14577  LIBS="-lm  $LIBS"
 14578  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 14579  /* end confdefs.h.  */
 14580  
 14581  /* Override any GCC internal prototype to avoid an error.
 14582     Use char because int might match the return type of a GCC
 14583     builtin and then its argument prototype would still apply.  */
 14584  #ifdef __cplusplus
 14585  extern "C"
 14586  #endif
 14587  char sqrt ();
 14588  int
 14589  main ()
 14590  {
 14591  return sqrt ();
 14592    ;
 14593    return 0;
 14594  }
 14595  _ACEOF
 14596  if ac_fn_c_try_link "$LINENO"; then :
 14597    ac_cv_lib_m_sqrt=yes
 14598  else
 14599    ac_cv_lib_m_sqrt=no
 14600  fi
 14601  rm -f core conftest.err conftest.$ac_objext \
 14602      conftest$ac_exeext conftest.$ac_ext
 14603  LIBS=$ac_check_lib_save_LIBS
 14604  fi
 14605  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
 14606  $as_echo "$ac_cv_lib_m_sqrt" >&6; }
 14607  if test "x$ac_cv_lib_m_sqrt" = xyes; then :
 14608    MATH_LIBS=-lm
 14609  fi
 14610  
 14611  
 14612  
 14613  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
 14614  $as_echo_n "checking for socket libraries... " >&6; }
 14615  if ${libgo_cv_lib_sockets+:} false; then :
 14616    $as_echo_n "(cached) " >&6
 14617  else
 14618    libgo_cv_lib_sockets=
 14619     libgo_check_both=no
 14620     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
 14621  if test "x$ac_cv_func_connect" = xyes; then :
 14622    libgo_check_socket=no
 14623  else
 14624    libgo_check_socket=yes
 14625  fi
 14626  
 14627     if test "$libgo_check_socket" = "yes"; then
 14628       unset ac_cv_func_connect
 14629       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
 14630  $as_echo_n "checking for main in -lsocket... " >&6; }
 14631  if ${ac_cv_lib_socket_main+:} false; then :
 14632    $as_echo_n "(cached) " >&6
 14633  else
 14634    ac_check_lib_save_LIBS=$LIBS
 14635  LIBS="-lsocket  $LIBS"
 14636  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 14637  /* end confdefs.h.  */
 14638  
 14639  
 14640  int
 14641  main ()
 14642  {
 14643  return main ();
 14644    ;
 14645    return 0;
 14646  }
 14647  _ACEOF
 14648  if ac_fn_c_try_link "$LINENO"; then :
 14649    ac_cv_lib_socket_main=yes
 14650  else
 14651    ac_cv_lib_socket_main=no
 14652  fi
 14653  rm -f core conftest.err conftest.$ac_objext \
 14654      conftest$ac_exeext conftest.$ac_ext
 14655  LIBS=$ac_check_lib_save_LIBS
 14656  fi
 14657  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
 14658  $as_echo "$ac_cv_lib_socket_main" >&6; }
 14659  if test "x$ac_cv_lib_socket_main" = xyes; then :
 14660    libgo_cv_lib_sockets="-lsocket"
 14661  else
 14662    libgo_check_both=yes
 14663  fi
 14664  
 14665     fi
 14666     if test "$libgo_check_both" = "yes"; then
 14667       libgo_old_libs=$LIBS
 14668       LIBS="$LIBS -lsocket -lnsl"
 14669       unset ac_cv_func_accept
 14670       ac_fn_c_check_func "$LINENO" "accept" "ac_cv_func_accept"
 14671  if test "x$ac_cv_func_accept" = xyes; then :
 14672    libgo_check_nsl=no
 14673  		    libgo_cv_lib_sockets="-lsocket -lnsl"
 14674  fi
 14675  
 14676       unset ac_cv_func_accept
 14677       LIBS=$libgo_old_libs
 14678     fi
 14679     unset ac_cv_func_gethostbyname
 14680     libgo_old_libs="$LIBS"
 14681     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
 14682  if test "x$ac_cv_func_gethostbyname" = xyes; then :
 14683  
 14684  else
 14685    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
 14686  $as_echo_n "checking for main in -lnsl... " >&6; }
 14687  if ${ac_cv_lib_nsl_main+:} false; then :
 14688    $as_echo_n "(cached) " >&6
 14689  else
 14690    ac_check_lib_save_LIBS=$LIBS
 14691  LIBS="-lnsl  $LIBS"
 14692  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 14693  /* end confdefs.h.  */
 14694  
 14695  
 14696  int
 14697  main ()
 14698  {
 14699  return main ();
 14700    ;
 14701    return 0;
 14702  }
 14703  _ACEOF
 14704  if ac_fn_c_try_link "$LINENO"; then :
 14705    ac_cv_lib_nsl_main=yes
 14706  else
 14707    ac_cv_lib_nsl_main=no
 14708  fi
 14709  rm -f core conftest.err conftest.$ac_objext \
 14710      conftest$ac_exeext conftest.$ac_ext
 14711  LIBS=$ac_check_lib_save_LIBS
 14712  fi
 14713  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
 14714  $as_echo "$ac_cv_lib_nsl_main" >&6; }
 14715  if test "x$ac_cv_lib_nsl_main" = xyes; then :
 14716    libgo_cv_lib_sockets="$libgo_cv_lib_sockets -lnsl"
 14717  fi
 14718  
 14719  fi
 14720  
 14721     unset ac_cv_func_gethostbyname
 14722     ac_fn_c_check_func "$LINENO" "sendfile" "ac_cv_func_sendfile"
 14723  if test "x$ac_cv_func_sendfile" = xyes; then :
 14724  
 14725  else
 14726    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsendfile" >&5
 14727  $as_echo_n "checking for main in -lsendfile... " >&6; }
 14728  if ${ac_cv_lib_sendfile_main+:} false; then :
 14729    $as_echo_n "(cached) " >&6
 14730  else
 14731    ac_check_lib_save_LIBS=$LIBS
 14732  LIBS="-lsendfile  $LIBS"
 14733  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 14734  /* end confdefs.h.  */
 14735  
 14736  
 14737  int
 14738  main ()
 14739  {
 14740  return main ();
 14741    ;
 14742    return 0;
 14743  }
 14744  _ACEOF
 14745  if ac_fn_c_try_link "$LINENO"; then :
 14746    ac_cv_lib_sendfile_main=yes
 14747  else
 14748    ac_cv_lib_sendfile_main=no
 14749  fi
 14750  rm -f core conftest.err conftest.$ac_objext \
 14751      conftest$ac_exeext conftest.$ac_ext
 14752  LIBS=$ac_check_lib_save_LIBS
 14753  fi
 14754  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sendfile_main" >&5
 14755  $as_echo "$ac_cv_lib_sendfile_main" >&6; }
 14756  if test "x$ac_cv_lib_sendfile_main" = xyes; then :
 14757    libgo_cv_lib_sockets="$libgo_cv_lib_sockets -lsendfile"
 14758  fi
 14759  
 14760  fi
 14761  
 14762     LIBS=$libgo_old_libs
 14763  
 14764  fi
 14765  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_sockets" >&5
 14766  $as_echo "$libgo_cv_lib_sockets" >&6; }
 14767  NET_LIBS="$libgo_cv_lib_sockets"
 14768  
 14769  
 14770  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is supported" >&5
 14771  $as_echo_n "checking whether -pthread is supported... " >&6; }
 14772  if ${libgo_cv_lib_pthread+:} false; then :
 14773    $as_echo_n "(cached) " >&6
 14774  else
 14775    CFLAGS_hold=$CFLAGS
 14776  CFLAGS="$CFLAGS -pthread -L../libatomic/.libs"
 14777  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 14778  /* end confdefs.h.  */
 14779  int i;
 14780  _ACEOF
 14781  if ac_fn_c_try_compile "$LINENO"; then :
 14782    libgo_cv_lib_pthread=yes
 14783  else
 14784    libgo_cv_lib_pthread=no
 14785  fi
 14786  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 14787  CFLAGS=$CFLAGS_hold
 14788  fi
 14789  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_pthread" >&5
 14790  $as_echo "$libgo_cv_lib_pthread" >&6; }
 14791  PTHREAD_CFLAGS=
 14792  if test "$libgo_cv_lib_pthread" = yes; then
 14793    # RISC-V apparently adds -latomic when using -pthread.
 14794    PTHREAD_CFLAGS="-pthread -L../libatomic/.libs"
 14795  fi
 14796  
 14797  
 14798  PTHREAD_LIBS=
 14799  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
 14800  $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
 14801  if ${ac_cv_lib_pthread_pthread_create+:} false; then :
 14802    $as_echo_n "(cached) " >&6
 14803  else
 14804    ac_check_lib_save_LIBS=$LIBS
 14805  LIBS="-lpthread  $LIBS"
 14806  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 14807  /* end confdefs.h.  */
 14808  
 14809  /* Override any GCC internal prototype to avoid an error.
 14810     Use char because int might match the return type of a GCC
 14811     builtin and then its argument prototype would still apply.  */
 14812  #ifdef __cplusplus
 14813  extern "C"
 14814  #endif
 14815  char pthread_create ();
 14816  int
 14817  main ()
 14818  {
 14819  return pthread_create ();
 14820    ;
 14821    return 0;
 14822  }
 14823  _ACEOF
 14824  if ac_fn_c_try_link "$LINENO"; then :
 14825    ac_cv_lib_pthread_pthread_create=yes
 14826  else
 14827    ac_cv_lib_pthread_pthread_create=no
 14828  fi
 14829  rm -f core conftest.err conftest.$ac_objext \
 14830      conftest$ac_exeext conftest.$ac_ext
 14831  LIBS=$ac_check_lib_save_LIBS
 14832  fi
 14833  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
 14834  $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
 14835  if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
 14836    PTHREAD_LIBS=-lpthread
 14837  fi
 14838  
 14839  
 14840  
 14841  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing makecontext" >&5
 14842  $as_echo_n "checking for library containing makecontext... " >&6; }
 14843  if ${ac_cv_search_makecontext+:} false; then :
 14844    $as_echo_n "(cached) " >&6
 14845  else
 14846    ac_func_search_save_LIBS=$LIBS
 14847  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 14848  /* end confdefs.h.  */
 14849  
 14850  /* Override any GCC internal prototype to avoid an error.
 14851     Use char because int might match the return type of a GCC
 14852     builtin and then its argument prototype would still apply.  */
 14853  #ifdef __cplusplus
 14854  extern "C"
 14855  #endif
 14856  char makecontext ();
 14857  int
 14858  main ()
 14859  {
 14860  return makecontext ();
 14861    ;
 14862    return 0;
 14863  }
 14864  _ACEOF
 14865  for ac_lib in '' ucontext; do
 14866    if test -z "$ac_lib"; then
 14867      ac_res="none required"
 14868    else
 14869      ac_res=-l$ac_lib
 14870      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 14871    fi
 14872    if ac_fn_c_try_link "$LINENO"; then :
 14873    ac_cv_search_makecontext=$ac_res
 14874  fi
 14875  rm -f core conftest.err conftest.$ac_objext \
 14876      conftest$ac_exeext
 14877    if ${ac_cv_search_makecontext+:} false; then :
 14878    break
 14879  fi
 14880  done
 14881  if ${ac_cv_search_makecontext+:} false; then :
 14882  
 14883  else
 14884    ac_cv_search_makecontext=no
 14885  fi
 14886  rm conftest.$ac_ext
 14887  LIBS=$ac_func_search_save_LIBS
 14888  fi
 14889  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_makecontext" >&5
 14890  $as_echo "$ac_cv_search_makecontext" >&6; }
 14891  ac_res=$ac_cv_search_makecontext
 14892  if test "$ac_res" != no; then :
 14893    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 14894  
 14895  fi
 14896  
 14897  
 14898  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
 14899  $as_echo_n "checking for library containing sched_yield... " >&6; }
 14900  if ${ac_cv_search_sched_yield+:} false; then :
 14901    $as_echo_n "(cached) " >&6
 14902  else
 14903    ac_func_search_save_LIBS=$LIBS
 14904  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 14905  /* end confdefs.h.  */
 14906  
 14907  /* Override any GCC internal prototype to avoid an error.
 14908     Use char because int might match the return type of a GCC
 14909     builtin and then its argument prototype would still apply.  */
 14910  #ifdef __cplusplus
 14911  extern "C"
 14912  #endif
 14913  char sched_yield ();
 14914  int
 14915  main ()
 14916  {
 14917  return sched_yield ();
 14918    ;
 14919    return 0;
 14920  }
 14921  _ACEOF
 14922  for ac_lib in '' rt; do
 14923    if test -z "$ac_lib"; then
 14924      ac_res="none required"
 14925    else
 14926      ac_res=-l$ac_lib
 14927      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 14928    fi
 14929    if ac_fn_c_try_link "$LINENO"; then :
 14930    ac_cv_search_sched_yield=$ac_res
 14931  fi
 14932  rm -f core conftest.err conftest.$ac_objext \
 14933      conftest$ac_exeext
 14934    if ${ac_cv_search_sched_yield+:} false; then :
 14935    break
 14936  fi
 14937  done
 14938  if ${ac_cv_search_sched_yield+:} false; then :
 14939  
 14940  else
 14941    ac_cv_search_sched_yield=no
 14942  fi
 14943  rm conftest.$ac_ext
 14944  LIBS=$ac_func_search_save_LIBS
 14945  fi
 14946  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
 14947  $as_echo "$ac_cv_search_sched_yield" >&6; }
 14948  ac_res=$ac_cv_search_sched_yield
 14949  if test "$ac_res" != no; then :
 14950    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 14951  
 14952  fi
 14953  
 14954  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
 14955  $as_echo_n "checking for library containing nanosleep... " >&6; }
 14956  if ${ac_cv_search_nanosleep+:} false; then :
 14957    $as_echo_n "(cached) " >&6
 14958  else
 14959    ac_func_search_save_LIBS=$LIBS
 14960  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 14961  /* end confdefs.h.  */
 14962  
 14963  /* Override any GCC internal prototype to avoid an error.
 14964     Use char because int might match the return type of a GCC
 14965     builtin and then its argument prototype would still apply.  */
 14966  #ifdef __cplusplus
 14967  extern "C"
 14968  #endif
 14969  char nanosleep ();
 14970  int
 14971  main ()
 14972  {
 14973  return nanosleep ();
 14974    ;
 14975    return 0;
 14976  }
 14977  _ACEOF
 14978  for ac_lib in '' rt; do
 14979    if test -z "$ac_lib"; then
 14980      ac_res="none required"
 14981    else
 14982      ac_res=-l$ac_lib
 14983      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 14984    fi
 14985    if ac_fn_c_try_link "$LINENO"; then :
 14986    ac_cv_search_nanosleep=$ac_res
 14987  fi
 14988  rm -f core conftest.err conftest.$ac_objext \
 14989      conftest$ac_exeext
 14990    if ${ac_cv_search_nanosleep+:} false; then :
 14991    break
 14992  fi
 14993  done
 14994  if ${ac_cv_search_nanosleep+:} false; then :
 14995  
 14996  else
 14997    ac_cv_search_nanosleep=no
 14998  fi
 14999  rm conftest.$ac_ext
 15000  LIBS=$ac_func_search_save_LIBS
 15001  fi
 15002  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
 15003  $as_echo "$ac_cv_search_nanosleep" >&6; }
 15004  ac_res=$ac_cv_search_nanosleep
 15005  if test "$ac_res" != no; then :
 15006    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 15007  
 15008  fi
 15009  
 15010  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
 15011  $as_echo_n "checking for library containing clock_gettime... " >&6; }
 15012  if ${ac_cv_search_clock_gettime+:} false; then :
 15013    $as_echo_n "(cached) " >&6
 15014  else
 15015    ac_func_search_save_LIBS=$LIBS
 15016  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 15017  /* end confdefs.h.  */
 15018  
 15019  /* Override any GCC internal prototype to avoid an error.
 15020     Use char because int might match the return type of a GCC
 15021     builtin and then its argument prototype would still apply.  */
 15022  #ifdef __cplusplus
 15023  extern "C"
 15024  #endif
 15025  char clock_gettime ();
 15026  int
 15027  main ()
 15028  {
 15029  return clock_gettime ();
 15030    ;
 15031    return 0;
 15032  }
 15033  _ACEOF
 15034  for ac_lib in '' rt; do
 15035    if test -z "$ac_lib"; then
 15036      ac_res="none required"
 15037    else
 15038      ac_res=-l$ac_lib
 15039      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 15040    fi
 15041    if ac_fn_c_try_link "$LINENO"; then :
 15042    ac_cv_search_clock_gettime=$ac_res
 15043  fi
 15044  rm -f core conftest.err conftest.$ac_objext \
 15045      conftest$ac_exeext
 15046    if ${ac_cv_search_clock_gettime+:} false; then :
 15047    break
 15048  fi
 15049  done
 15050  if ${ac_cv_search_clock_gettime+:} false; then :
 15051  
 15052  else
 15053    ac_cv_search_clock_gettime=no
 15054  fi
 15055  rm conftest.$ac_ext
 15056  LIBS=$ac_func_search_save_LIBS
 15057  fi
 15058  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
 15059  $as_echo "$ac_cv_search_clock_gettime" >&6; }
 15060  ac_res=$ac_cv_search_clock_gettime
 15061  if test "$ac_res" != no; then :
 15062    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 15063  
 15064  fi
 15065  
 15066  
 15067   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
 15068  $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
 15069  if ${ac_cv_c_bigendian+:} false; then :
 15070    $as_echo_n "(cached) " >&6
 15071  else
 15072    ac_cv_c_bigendian=unknown
 15073      # See if we're dealing with a universal compiler.
 15074      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 15075  /* end confdefs.h.  */
 15076  #ifndef __APPLE_CC__
 15077  	       not a universal capable compiler
 15078  	     #endif
 15079  	     typedef int dummy;
 15080  
 15081  _ACEOF
 15082  if ac_fn_c_try_compile "$LINENO"; then :
 15083  
 15084  	# Check for potential -arch flags.  It is not universal unless
 15085  	# there are at least two -arch flags with different values.
 15086  	ac_arch=
 15087  	ac_prev=
 15088  	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
 15089  	 if test -n "$ac_prev"; then
 15090  	   case $ac_word in
 15091  	     i?86 | x86_64 | ppc | ppc64)
 15092  	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
 15093  		 ac_arch=$ac_word
 15094  	       else
 15095  		 ac_cv_c_bigendian=universal
 15096  		 break
 15097  	       fi
 15098  	       ;;
 15099  	   esac
 15100  	   ac_prev=
 15101  	 elif test "x$ac_word" = "x-arch"; then
 15102  	   ac_prev=arch
 15103  	 fi
 15104         done
 15105  fi
 15106  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 15107      if test $ac_cv_c_bigendian = unknown; then
 15108        # See if sys/param.h defines the BYTE_ORDER macro.
 15109        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 15110  /* end confdefs.h.  */
 15111  #include <sys/types.h>
 15112  	     #include <sys/param.h>
 15113  
 15114  int
 15115  main ()
 15116  {
 15117  #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
 15118  		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
 15119  		     && LITTLE_ENDIAN)
 15120  	      bogus endian macros
 15121  	     #endif
 15122  
 15123    ;
 15124    return 0;
 15125  }
 15126  _ACEOF
 15127  if ac_fn_c_try_compile "$LINENO"; then :
 15128    # It does; now see whether it defined to BIG_ENDIAN or not.
 15129  	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 15130  /* end confdefs.h.  */
 15131  #include <sys/types.h>
 15132  		#include <sys/param.h>
 15133  
 15134  int
 15135  main ()
 15136  {
 15137  #if BYTE_ORDER != BIG_ENDIAN
 15138  		 not big endian
 15139  		#endif
 15140  
 15141    ;
 15142    return 0;
 15143  }
 15144  _ACEOF
 15145  if ac_fn_c_try_compile "$LINENO"; then :
 15146    ac_cv_c_bigendian=yes
 15147  else
 15148    ac_cv_c_bigendian=no
 15149  fi
 15150  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 15151  fi
 15152  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 15153      fi
 15154      if test $ac_cv_c_bigendian = unknown; then
 15155        # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
 15156        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 15157  /* end confdefs.h.  */
 15158  #include <limits.h>
 15159  
 15160  int
 15161  main ()
 15162  {
 15163  #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
 15164  	      bogus endian macros
 15165  	     #endif
 15166  
 15167    ;
 15168    return 0;
 15169  }
 15170  _ACEOF
 15171  if ac_fn_c_try_compile "$LINENO"; then :
 15172    # It does; now see whether it defined to _BIG_ENDIAN or not.
 15173  	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 15174  /* end confdefs.h.  */
 15175  #include <limits.h>
 15176  
 15177  int
 15178  main ()
 15179  {
 15180  #ifndef _BIG_ENDIAN
 15181  		 not big endian
 15182  		#endif
 15183  
 15184    ;
 15185    return 0;
 15186  }
 15187  _ACEOF
 15188  if ac_fn_c_try_compile "$LINENO"; then :
 15189    ac_cv_c_bigendian=yes
 15190  else
 15191    ac_cv_c_bigendian=no
 15192  fi
 15193  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 15194  fi
 15195  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 15196      fi
 15197      if test $ac_cv_c_bigendian = unknown; then
 15198        # Compile a test program.
 15199        if test "$cross_compiling" = yes; then :
 15200    # Try to guess by grepping values from an object file.
 15201  	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 15202  /* end confdefs.h.  */
 15203  short int ascii_mm[] =
 15204  		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
 15205  		short int ascii_ii[] =
 15206  		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
 15207  		int use_ascii (int i) {
 15208  		  return ascii_mm[i] + ascii_ii[i];
 15209  		}
 15210  		short int ebcdic_ii[] =
 15211  		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
 15212  		short int ebcdic_mm[] =
 15213  		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
 15214  		int use_ebcdic (int i) {
 15215  		  return ebcdic_mm[i] + ebcdic_ii[i];
 15216  		}
 15217  		extern int foo;
 15218  
 15219  int
 15220  main ()
 15221  {
 15222  return use_ascii (foo) == use_ebcdic (foo);
 15223    ;
 15224    return 0;
 15225  }
 15226  _ACEOF
 15227  if ac_fn_c_try_compile "$LINENO"; then :
 15228    if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
 15229  	      ac_cv_c_bigendian=yes
 15230  	    fi
 15231  	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
 15232  	      if test "$ac_cv_c_bigendian" = unknown; then
 15233  		ac_cv_c_bigendian=no
 15234  	      else
 15235  		# finding both strings is unlikely to happen, but who knows?
 15236  		ac_cv_c_bigendian=unknown
 15237  	      fi
 15238  	    fi
 15239  fi
 15240  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 15241  else
 15242    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 15243  /* end confdefs.h.  */
 15244  $ac_includes_default
 15245  int
 15246  main ()
 15247  {
 15248  
 15249  	     /* Are we little or big endian?  From Harbison&Steele.  */
 15250  	     union
 15251  	     {
 15252  	       long int l;
 15253  	       char c[sizeof (long int)];
 15254  	     } u;
 15255  	     u.l = 1;
 15256  	     return u.c[sizeof (long int) - 1] == 1;
 15257  
 15258    ;
 15259    return 0;
 15260  }
 15261  _ACEOF
 15262  if ac_fn_c_try_run "$LINENO"; then :
 15263    ac_cv_c_bigendian=no
 15264  else
 15265    ac_cv_c_bigendian=yes
 15266  fi
 15267  rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 15268    conftest.$ac_objext conftest.beam conftest.$ac_ext
 15269  fi
 15270  
 15271      fi
 15272  fi
 15273  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
 15274  $as_echo "$ac_cv_c_bigendian" >&6; }
 15275   case $ac_cv_c_bigendian in #(
 15276     yes)
 15277       $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
 15278  ;; #(
 15279     no)
 15280        ;; #(
 15281     universal)
 15282  
 15283  $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
 15284  
 15285       ;; #(
 15286     *)
 15287       as_fn_error $? "unknown endianness
 15288   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
 15289   esac
 15290  
 15291  
 15292  
 15293  
 15294  # Check whether --with-system-libunwind was given.
 15295  if test "${with_system_libunwind+set}" = set; then :
 15296    withval=$with_system_libunwind;
 15297  fi
 15298  
 15299    # If system-libunwind was not specifically set, pick a default setting.
 15300    if test x$with_system_libunwind = x; then
 15301      case ${target} in
 15302        ia64-*-hpux*) with_system_libunwind=yes ;;
 15303        *) with_system_libunwind=no ;;
 15304      esac
 15305    fi
 15306    # Based on system-libunwind and target, do we have ipinfo?
 15307    if  test x$with_system_libunwind = xyes; then
 15308      case ${target} in
 15309        ia64-*-*) have_unwind_getipinfo=no ;;
 15310        *) have_unwind_getipinfo=yes ;;
 15311      esac
 15312    else
 15313      # Darwin before version 9 does not have _Unwind_GetIPInfo.
 15314  
 15315      case ${target} in
 15316        *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
 15317        *) have_unwind_getipinfo=yes ;;
 15318      esac
 15319  
 15320    fi
 15321  
 15322    if test x$have_unwind_getipinfo = xyes; then
 15323  
 15324  $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
 15325  
 15326    fi
 15327  
 15328  
 15329  for ac_header in fcntl.h port.h sched.h semaphore.h sys/file.h sys/mman.h syscall.h sys/epoll.h sys/event.h sys/inotify.h sys/ptrace.h sys/syscall.h sys/sysctl.h sys/user.h sys/utsname.h sys/select.h sys/socket.h net/bpf.h net/if.h net/if_arp.h net/route.h netpacket/packet.h sys/prctl.h sys/mount.h sys/vfs.h sys/statfs.h sys/timex.h sys/sysinfo.h utime.h linux/ether.h linux/fs.h linux/ptrace.h linux/reboot.h netinet/in_syst.h netinet/ip.h netinet/ip_mroute.h netinet/if_ether.h lwp.h
 15330  do :
 15331    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 15332  ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 15333  if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 15334    cat >>confdefs.h <<_ACEOF
 15335  #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 15336  _ACEOF
 15337  
 15338  fi
 15339  
 15340  done
 15341  
 15342  
 15343  for ac_header in netinet/icmp6.h
 15344  do :
 15345    ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <netinet/in.h>
 15346  
 15347  "
 15348  if test "x$ac_cv_header_netinet_icmp6_h" = xyes; then :
 15349    cat >>confdefs.h <<_ACEOF
 15350  #define HAVE_NETINET_ICMP6_H 1
 15351  _ACEOF
 15352  
 15353  fi
 15354  
 15355  done
 15356  
 15357  
 15358  for ac_header in linux/filter.h linux/if_addr.h linux/if_ether.h linux/if_tun.h linux/netlink.h linux/rtnetlink.h
 15359  do :
 15360    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 15361  ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_SOCKET_H
 15362  #include <sys/socket.h>
 15363  #endif
 15364  
 15365  "
 15366  if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 15367    cat >>confdefs.h <<_ACEOF
 15368  #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 15369  _ACEOF
 15370  
 15371  fi
 15372  
 15373  done
 15374  
 15375  
 15376   if test "$ac_cv_header_sys_mman_h" = yes; then
 15377    HAVE_SYS_MMAN_H_TRUE=
 15378    HAVE_SYS_MMAN_H_FALSE='#'
 15379  else
 15380    HAVE_SYS_MMAN_H_TRUE='#'
 15381    HAVE_SYS_MMAN_H_FALSE=
 15382  fi
 15383  
 15384  
 15385  for ac_func in strerror_r strsignal wait4 mincore setenv unsetenv dl_iterate_phdr memmem
 15386  do :
 15387    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 15388  ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 15389  if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 15390    cat >>confdefs.h <<_ACEOF
 15391  #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 15392  _ACEOF
 15393  
 15394  fi
 15395  done
 15396  
 15397   if test "$ac_cv_func_strerror_r" = yes; then
 15398    HAVE_STRERROR_R_TRUE=
 15399    HAVE_STRERROR_R_FALSE='#'
 15400  else
 15401    HAVE_STRERROR_R_TRUE='#'
 15402    HAVE_STRERROR_R_FALSE=
 15403  fi
 15404  
 15405   if test "$ac_cv_func_wait4" = yes; then
 15406    HAVE_WAIT4_TRUE=
 15407    HAVE_WAIT4_FALSE='#'
 15408  else
 15409    HAVE_WAIT4_TRUE='#'
 15410    HAVE_WAIT4_FALSE=
 15411  fi
 15412  
 15413  
 15414  ac_header_dirent=no
 15415  for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
 15416    as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
 15417  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
 15418  $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
 15419  if eval \${$as_ac_Header+:} false; then :
 15420    $as_echo_n "(cached) " >&6
 15421  else
 15422    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 15423  /* end confdefs.h.  */
 15424  #include <sys/types.h>
 15425  #include <$ac_hdr>
 15426  
 15427  int
 15428  main ()
 15429  {
 15430  if ((DIR *) 0)
 15431  return 0;
 15432    ;
 15433    return 0;
 15434  }
 15435  _ACEOF
 15436  if ac_fn_c_try_compile "$LINENO"; then :
 15437    eval "$as_ac_Header=yes"
 15438  else
 15439    eval "$as_ac_Header=no"
 15440  fi
 15441  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 15442  fi
 15443  eval ac_res=\$$as_ac_Header
 15444  	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 15445  $as_echo "$ac_res" >&6; }
 15446  if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 15447    cat >>confdefs.h <<_ACEOF
 15448  #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
 15449  _ACEOF
 15450  
 15451  ac_header_dirent=$ac_hdr; break
 15452  fi
 15453  
 15454  done
 15455  # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
 15456  if test $ac_header_dirent = dirent.h; then
 15457    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
 15458  $as_echo_n "checking for library containing opendir... " >&6; }
 15459  if ${ac_cv_search_opendir+:} false; then :
 15460    $as_echo_n "(cached) " >&6
 15461  else
 15462    ac_func_search_save_LIBS=$LIBS
 15463  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 15464  /* end confdefs.h.  */
 15465  
 15466  /* Override any GCC internal prototype to avoid an error.
 15467     Use char because int might match the return type of a GCC
 15468     builtin and then its argument prototype would still apply.  */
 15469  #ifdef __cplusplus
 15470  extern "C"
 15471  #endif
 15472  char opendir ();
 15473  int
 15474  main ()
 15475  {
 15476  return opendir ();
 15477    ;
 15478    return 0;
 15479  }
 15480  _ACEOF
 15481  for ac_lib in '' dir; do
 15482    if test -z "$ac_lib"; then
 15483      ac_res="none required"
 15484    else
 15485      ac_res=-l$ac_lib
 15486      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 15487    fi
 15488    if ac_fn_c_try_link "$LINENO"; then :
 15489    ac_cv_search_opendir=$ac_res
 15490  fi
 15491  rm -f core conftest.err conftest.$ac_objext \
 15492      conftest$ac_exeext
 15493    if ${ac_cv_search_opendir+:} false; then :
 15494    break
 15495  fi
 15496  done
 15497  if ${ac_cv_search_opendir+:} false; then :
 15498  
 15499  else
 15500    ac_cv_search_opendir=no
 15501  fi
 15502  rm conftest.$ac_ext
 15503  LIBS=$ac_func_search_save_LIBS
 15504  fi
 15505  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
 15506  $as_echo "$ac_cv_search_opendir" >&6; }
 15507  ac_res=$ac_cv_search_opendir
 15508  if test "$ac_res" != no; then :
 15509    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 15510  
 15511  fi
 15512  
 15513  else
 15514    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
 15515  $as_echo_n "checking for library containing opendir... " >&6; }
 15516  if ${ac_cv_search_opendir+:} false; then :
 15517    $as_echo_n "(cached) " >&6
 15518  else
 15519    ac_func_search_save_LIBS=$LIBS
 15520  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 15521  /* end confdefs.h.  */
 15522  
 15523  /* Override any GCC internal prototype to avoid an error.
 15524     Use char because int might match the return type of a GCC
 15525     builtin and then its argument prototype would still apply.  */
 15526  #ifdef __cplusplus
 15527  extern "C"
 15528  #endif
 15529  char opendir ();
 15530  int
 15531  main ()
 15532  {
 15533  return opendir ();
 15534    ;
 15535    return 0;
 15536  }
 15537  _ACEOF
 15538  for ac_lib in '' x; do
 15539    if test -z "$ac_lib"; then
 15540      ac_res="none required"
 15541    else
 15542      ac_res=-l$ac_lib
 15543      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 15544    fi
 15545    if ac_fn_c_try_link "$LINENO"; then :
 15546    ac_cv_search_opendir=$ac_res
 15547  fi
 15548  rm -f core conftest.err conftest.$ac_objext \
 15549      conftest$ac_exeext
 15550    if ${ac_cv_search_opendir+:} false; then :
 15551    break
 15552  fi
 15553  done
 15554  if ${ac_cv_search_opendir+:} false; then :
 15555  
 15556  else
 15557    ac_cv_search_opendir=no
 15558  fi
 15559  rm conftest.$ac_ext
 15560  LIBS=$ac_func_search_save_LIBS
 15561  fi
 15562  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
 15563  $as_echo "$ac_cv_search_opendir" >&6; }
 15564  ac_res=$ac_cv_search_opendir
 15565  if test "$ac_res" != no; then :
 15566    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 15567  
 15568  fi
 15569  
 15570  fi
 15571  
 15572  
 15573  
 15574    ac_fn_c_check_member "$LINENO" "struct dirent" "d_type" "ac_cv_member_struct_dirent_d_type" "
 15575  #include <sys/types.h>
 15576  #ifdef HAVE_DIRENT_H
 15577  # include <dirent.h>
 15578  #else
 15579  # define dirent direct
 15580  # ifdef HAVE_SYS_NDIR_H
 15581  #  include <sys/ndir.h>
 15582  # endif
 15583  # ifdef HAVE_SYS_DIR_H
 15584  #  include <sys/dir.h>
 15585  # endif
 15586  # ifdef HAVE_NDIR_H
 15587  #  include <ndir.h>
 15588  # endif
 15589  #endif
 15590  
 15591  "
 15592  if test "x$ac_cv_member_struct_dirent_d_type" = xyes; then :
 15593  
 15594  cat >>confdefs.h <<_ACEOF
 15595  #define HAVE_STRUCT_DIRENT_D_TYPE 1
 15596  _ACEOF
 15597  
 15598  
 15599  fi
 15600  
 15601  
 15602  
 15603  for ac_func in accept4 dup3 epoll_create1 faccessat fallocate fchmodat fchownat futimesat getxattr inotify_add_watch inotify_init inotify_init1 inotify_rm_watch listxattr mkdirat mknodat open64 openat pipe2 removexattr renameat setxattr sync_file_range splice syscall tee unlinkat unshare utimensat
 15604  do :
 15605    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 15606  ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 15607  if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 15608    cat >>confdefs.h <<_ACEOF
 15609  #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 15610  _ACEOF
 15611  
 15612  fi
 15613  done
 15614  
 15615  ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
 15616  if test "x$ac_cv_type_off_t" = xyes; then :
 15617  
 15618  else
 15619  
 15620  cat >>confdefs.h <<_ACEOF
 15621  #define off_t long int
 15622  _ACEOF
 15623  
 15624  fi
 15625  
 15626  
 15627  CFLAGS_hold="$CFLAGS"
 15628  CFLAGS="$OSCFLAGS $CFLAGS"
 15629  ac_fn_c_check_type "$LINENO" "loff_t" "ac_cv_type_loff_t" "
 15630  #include <sys/types.h>
 15631  #include <fcntl.h>
 15632  
 15633  "
 15634  if test "x$ac_cv_type_loff_t" = xyes; then :
 15635  
 15636  cat >>confdefs.h <<_ACEOF
 15637  #define HAVE_LOFF_T 1
 15638  _ACEOF
 15639  
 15640  
 15641  fi
 15642  
 15643  CFLAGS="$CFLAGS_hold"
 15644  
 15645  LIBS_hold="$LIBS"
 15646  LIBS="$LIBS -lm"
 15647  for ac_func in cosl expl logl sinl tanl acosl asinl atanl atan2l expm1l ldexpl log10l log1pl
 15648  do :
 15649    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 15650  ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 15651  if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 15652    cat >>confdefs.h <<_ACEOF
 15653  #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 15654  _ACEOF
 15655  
 15656  fi
 15657  done
 15658  
 15659  LIBS="$LIBS_hold"
 15660  
 15661  CFLAGS_hold="$CFLAGS"
 15662  CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
 15663  LIBS_hold="$LIBS"
 15664  LIBS="$LIBS $PTHREAD_LIBS"
 15665  for ac_func in sem_timedwait
 15666  do :
 15667    ac_fn_c_check_func "$LINENO" "sem_timedwait" "ac_cv_func_sem_timedwait"
 15668  if test "x$ac_cv_func_sem_timedwait" = xyes; then :
 15669    cat >>confdefs.h <<_ACEOF
 15670  #define HAVE_SEM_TIMEDWAIT 1
 15671  _ACEOF
 15672  
 15673  fi
 15674  done
 15675  
 15676  CFLAGS="$CFLAGS_hold"
 15677  LIBS="$LIBS_hold"
 15678  
 15679  LIBS_hold="$LIBS"
 15680  LIBS="$LIBS $MATH_LIBS"
 15681  for ac_func in matherr
 15682  do :
 15683    ac_fn_c_check_func "$LINENO" "matherr" "ac_cv_func_matherr"
 15684  if test "x$ac_cv_func_matherr" = xyes; then :
 15685    cat >>confdefs.h <<_ACEOF
 15686  #define HAVE_MATHERR 1
 15687  _ACEOF
 15688  
 15689  fi
 15690  done
 15691  
 15692  LIBS="$LIBS_hold"
 15693  
 15694  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -minline-all-stringops" >&5
 15695  $as_echo_n "checking whether compiler supports -minline-all-stringops... " >&6; }
 15696  if ${libgo_cv_c_stringops+:} false; then :
 15697    $as_echo_n "(cached) " >&6
 15698  else
 15699    CFLAGS_hold=$CFLAGS
 15700  CFLAGS="$CFLAGS -minline-all-stringops"
 15701  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 15702  /* end confdefs.h.  */
 15703  int i;
 15704  _ACEOF
 15705  if ac_fn_c_try_compile "$LINENO"; then :
 15706    libgo_cv_c_stringops=yes
 15707  else
 15708    libgo_cv_c_stringops=no
 15709  fi
 15710  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 15711  CFLAGS=$CFLAGS_hold
 15712  fi
 15713  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_stringops" >&5
 15714  $as_echo "$libgo_cv_c_stringops" >&6; }
 15715  STRINGOPS_FLAG=
 15716  if test "$libgo_cv_c_stringops" = yes; then
 15717    STRINGOPS_FLAG=-minline-all-stringops
 15718  fi
 15719  
 15720  
 15721  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -mfancy-math-387" >&5
 15722  $as_echo_n "checking whether compiler supports -mfancy-math-387... " >&6; }
 15723  if ${libgo_cv_c_fancymath+:} false; then :
 15724    $as_echo_n "(cached) " >&6
 15725  else
 15726    CFLAGS_hold=$CFLAGS
 15727  CFLAGS="$CFLAGS -mfancy-math-387"
 15728  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 15729  /* end confdefs.h.  */
 15730  int i;
 15731  _ACEOF
 15732  if ac_fn_c_try_compile "$LINENO"; then :
 15733    libgo_cv_c_fancymath=yes
 15734  else
 15735    libgo_cv_c_fancymath=no
 15736  fi
 15737  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 15738  CFLAGS=$CFLAGS_hold
 15739  fi
 15740  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_fancymath" >&5
 15741  $as_echo "$libgo_cv_c_fancymath" >&6; }
 15742  MATH_FLAG=
 15743  if test "$libgo_cv_c_fancymath" = yes; then
 15744    MATH_FLAG="-mfancy-math-387"
 15745  fi
 15746  MATH_FLAG="${MATH_FLAG} -ffp-contract=off -fno-math-errno -fno-trapping-math"
 15747  
 15748  
 15749  CFLAGS_hold=$CFLAGS
 15750  CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
 15751  ac_fn_c_check_type "$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default"
 15752  if test "x$ac_cv_type_off64_t" = xyes; then :
 15753  
 15754  cat >>confdefs.h <<_ACEOF
 15755  #define HAVE_OFF64_T 1
 15756  _ACEOF
 15757  
 15758  
 15759  fi
 15760  
 15761  CFLAGS=$CFLAGS_hold
 15762  
 15763  { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event size" >&5
 15764  $as_echo_n "checking epoll_event size... " >&6; }
 15765  if ${libgo_cv_c_epoll_event_size+:} false; then :
 15766    $as_echo_n "(cached) " >&6
 15767  else
 15768    if ac_fn_c_compute_int "$LINENO" "sizeof (struct epoll_event)" "libgo_cv_c_epoll_event_size"        "#include <sys/epoll.h>"; then :
 15769  
 15770  else
 15771    libgo_cv_c_epoll_event_size=0
 15772  fi
 15773  
 15774  fi
 15775  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_size" >&5
 15776  $as_echo "$libgo_cv_c_epoll_event_size" >&6; }
 15777  SIZEOF_STRUCT_EPOLL_EVENT=${libgo_cv_c_epoll_event_size}
 15778  
 15779  
 15780  { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event data.fd offset" >&5
 15781  $as_echo_n "checking epoll_event data.fd offset... " >&6; }
 15782  if ${libgo_cv_c_epoll_event_fd_offset+:} false; then :
 15783    $as_echo_n "(cached) " >&6
 15784  else
 15785    if ac_fn_c_compute_int "$LINENO" "offsetof (struct epoll_event, data.fd)" "libgo_cv_c_epoll_event_fd_offset"        "#include <stddef.h>
 15786  #include <sys/epoll.h>"; then :
 15787  
 15788  else
 15789    libgo_cv_c_epoll_event_fd_offset=0
 15790  fi
 15791  
 15792  fi
 15793  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_fd_offset" >&5
 15794  $as_echo "$libgo_cv_c_epoll_event_fd_offset" >&6; }
 15795  STRUCT_EPOLL_EVENT_FD_OFFSET=${libgo_cv_c_epoll_event_fd_offset}
 15796  
 15797  
 15798  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 15799  /* end confdefs.h.  */
 15800  #include <sys/stat.h>
 15801  
 15802  _ACEOF
 15803  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 15804    $EGREP "timespec_t.*st_atim" >/dev/null 2>&1; then :
 15805    have_stat_timespec=yes
 15806  else
 15807    have_stat_timespec=no
 15808  fi
 15809  rm -f conftest*
 15810  
 15811   if test $have_stat_timespec = yes; then
 15812    HAVE_STAT_TIMESPEC_TRUE=
 15813    HAVE_STAT_TIMESPEC_FALSE='#'
 15814  else
 15815    HAVE_STAT_TIMESPEC_TRUE='#'
 15816    HAVE_STAT_TIMESPEC_FALSE=
 15817  fi
 15818  
 15819  
 15820  ac_fn_c_check_type "$LINENO" "struct exception" "ac_cv_type_struct_exception" "#include <math.h>
 15821  "
 15822  if test "x$ac_cv_type_struct_exception" = xyes; then :
 15823    libgo_has_struct_exception=yes
 15824  else
 15825    libgo_has_struct_exception=no
 15826  fi
 15827  
 15828  if test "$libgo_has_struct_exception" = "yes"; then
 15829  
 15830  $as_echo "#define HAVE_STRUCT_EXCEPTION 1" >>confdefs.h
 15831  
 15832  fi
 15833  
 15834  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setcontext clobbers TLS variables" >&5
 15835  $as_echo_n "checking whether setcontext clobbers TLS variables... " >&6; }
 15836  if ${libgo_cv_lib_setcontext_clobbers_tls+:} false; then :
 15837    $as_echo_n "(cached) " >&6
 15838  else
 15839    CFLAGS_hold="$CFLAGS"
 15840  CFLAGS="$PTHREAD_CFLAGS"
 15841  LIBS_hold="$LIBS"
 15842  LIBS="$LIBS $PTHREAD_LIBS"
 15843  # The cast to long int works around a bug in the HP C Compiler
 15844  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 15845  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 15846  # This bug is HP SR number 8606223364.
 15847  { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
 15848  $as_echo_n "checking size of void *... " >&6; }
 15849  if ${ac_cv_sizeof_void_p+:} false; then :
 15850    $as_echo_n "(cached) " >&6
 15851  else
 15852    if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
 15853  
 15854  else
 15855    if test "$ac_cv_type_void_p" = yes; then
 15856       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 15857  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 15858  as_fn_error 77 "cannot compute sizeof (void *)
 15859  See \`config.log' for more details" "$LINENO" 5; }
 15860     else
 15861       ac_cv_sizeof_void_p=0
 15862     fi
 15863  fi
 15864  
 15865  fi
 15866  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
 15867  $as_echo "$ac_cv_sizeof_void_p" >&6; }
 15868  
 15869  
 15870  
 15871  cat >>confdefs.h <<_ACEOF
 15872  #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
 15873  _ACEOF
 15874  
 15875  
 15876  as_fn_arith $ac_cv_sizeof_void_p \* 8 && ptr_type_size=$as_val
 15877  if test "$cross_compiling" = yes; then :
 15878    case "$target:$ptr_type_size" in
 15879    i?86-*-solaris2.1[01]:64 | x86_64*-*-solaris2.1[01]:64)
 15880      libgo_cv_lib_setcontext_clobbers_tls=yes ;;
 15881    *)
 15882      libgo_cv_lib_setcontext_clobbers_tls=no ;;
 15883   esac
 15884  
 15885  else
 15886    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 15887  /* end confdefs.h.  */
 15888  
 15889  #include <pthread.h>
 15890  #include <stdlib.h>
 15891  #include <ucontext.h>
 15892  #include <unistd.h>
 15893  
 15894  __thread int tls;
 15895  
 15896  static char stack[10 * 1024 * 1024];
 15897  static ucontext_t c;
 15898  
 15899  /* Called via makecontext/setcontext.  */
 15900  
 15901  static void
 15902  cfn (void)
 15903  {
 15904    exit (tls);
 15905  }
 15906  
 15907  /* Called via pthread_create.  */
 15908  
 15909  static void *
 15910  tfn (void *dummy)
 15911  {
 15912    /* The thread should still see this value after calling
 15913       setcontext.  */
 15914    tls = 0;
 15915  
 15916    setcontext (&c);
 15917  
 15918    /* The call to setcontext should not return.  */
 15919    abort ();
 15920  }
 15921  
 15922  int
 15923  main ()
 15924  {
 15925    pthread_t tid;
 15926  
 15927    /* The thread should not see this value.  */
 15928    tls = 1;
 15929  
 15930    if (getcontext (&c) < 0)
 15931      abort ();
 15932  
 15933    c.uc_stack.ss_sp = stack;
 15934  #ifdef MAKECONTEXT_STACK_TOP
 15935    c.uc_stack.ss_sp += sizeof stack;
 15936  #endif
 15937    c.uc_stack.ss_flags = 0;
 15938    c.uc_stack.ss_size = sizeof stack;
 15939    c.uc_link = NULL;
 15940    makecontext (&c, cfn, 0);
 15941  
 15942    if (pthread_create (&tid, NULL, tfn, NULL) != 0)
 15943      abort ();
 15944  
 15945    if (pthread_join (tid, NULL) != 0)
 15946      abort ();
 15947  
 15948    /* The thread should have called exit.  */
 15949    abort ();
 15950  }
 15951  
 15952  _ACEOF
 15953  if ac_fn_c_try_run "$LINENO"; then :
 15954    libgo_cv_lib_setcontext_clobbers_tls=no
 15955  else
 15956    libgo_cv_lib_setcontext_clobbers_tls=yes
 15957  fi
 15958  rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 15959    conftest.$ac_objext conftest.beam conftest.$ac_ext
 15960  fi
 15961  
 15962  CFLAGS="$CFLAGS_hold"
 15963  LIBS="$LIBS_hold"
 15964  
 15965  fi
 15966  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_setcontext_clobbers_tls" >&5
 15967  $as_echo "$libgo_cv_lib_setcontext_clobbers_tls" >&6; }
 15968  if test "$libgo_cv_lib_setcontext_clobbers_tls" = "yes"; then
 15969  
 15970  $as_echo "#define SETCONTEXT_CLOBBERS_TLS 1" >>confdefs.h
 15971  
 15972  fi
 15973  
 15974  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .eh_frame section should be read-only" >&5
 15975  $as_echo_n "checking whether .eh_frame section should be read-only... " >&6; }
 15976  if ${libgo_cv_ro_eh_frame+:} false; then :
 15977    $as_echo_n "(cached) " >&6
 15978  else
 15979  
 15980  libgo_cv_ro_eh_frame=no
 15981  echo 'extern void foo (void); void bar (void) { foo (); foo (); }' > conftest.c
 15982  if $CC $CFLAGS -S -fpic -fexceptions -o conftest.s conftest.c > /dev/null 2>&1; then
 15983    if grep '.section.*eh_frame.*"a"' conftest.s > /dev/null; then
 15984      libgo_cv_ro_eh_frame=yes
 15985    elif grep '.section.*eh_frame.*#alloc' conftest.c \
 15986         | grep -v '#write' > /dev/null; then
 15987      libgo_cv_ro_eh_frame=yes
 15988    fi
 15989  fi
 15990  rm -f conftest.*
 15991  
 15992  fi
 15993  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_ro_eh_frame" >&5
 15994  $as_echo "$libgo_cv_ro_eh_frame" >&6; }
 15995  if test "x$libgo_cv_ro_eh_frame" = xyes; then
 15996  
 15997  $as_echo "#define EH_FRAME_FLAGS \"a\"" >>confdefs.h
 15998  
 15999  else
 16000  
 16001  $as_echo "#define EH_FRAME_FLAGS \"aw\"" >>confdefs.h
 16002  
 16003  fi
 16004  
 16005  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Qunused-arguments" >&5
 16006  $as_echo_n "checking if compiler supports -Qunused-arguments... " >&6; }
 16007  if ${libgo_cv_c_unused_arguments+:} false; then :
 16008    $as_echo_n "(cached) " >&6
 16009  else
 16010    CFLAGS_hold=$CFLAGS
 16011  CFLAGS="$CFLAGS -Qunused-arguments"
 16012  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 16013  /* end confdefs.h.  */
 16014  int i;
 16015  _ACEOF
 16016  if ac_fn_c_try_compile "$LINENO"; then :
 16017    libgo_cv_c_unused_arguments=yes
 16018  else
 16019    libgo_cv_c_unused_arguments=no
 16020  fi
 16021  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 16022  CFLAGS=$CFLAGS_hold
 16023  fi
 16024  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_unused_arguments" >&5
 16025  $as_echo "$libgo_cv_c_unused_arguments" >&6; }
 16026  
 16027  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if assembler supports GNU comdat group syntax" >&5
 16028  $as_echo_n "checking if assembler supports GNU comdat group syntax... " >&6; }
 16029  if ${libgo_cv_as_comdat_gnu+:} false; then :
 16030    $as_echo_n "(cached) " >&6
 16031  else
 16032  
 16033  echo '.section .text,"axG",@progbits,.foo,comdat' > conftest.s
 16034  CFLAGS_hold=$CFLAGS
 16035  if test "$libgo_cv_c_unused_arguments" = yes; then
 16036    CFLAGS="$CFLAGS -Qunused-arguments"
 16037  fi
 16038  if $CC $CFLAGS -c conftest.s > /dev/null 2>&1; then
 16039    libgo_cv_as_comdat_gnu=yes
 16040  else
 16041    libgo_cv_as_comdat_gnu=no
 16042  fi
 16043  CFLAGS=$CFLAGS_hold
 16044  
 16045  fi
 16046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_comdat_gnu" >&5
 16047  $as_echo "$libgo_cv_as_comdat_gnu" >&6; }
 16048  if test "x$libgo_cv_as_comdat_gnu" = xyes; then
 16049  
 16050  $as_echo "#define HAVE_AS_COMDAT_GAS 1" >>confdefs.h
 16051  
 16052  fi
 16053  
 16054  { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports pc related relocs" >&5
 16055  $as_echo_n "checking assembler supports pc related relocs... " >&6; }
 16056  if ${libgo_cv_as_x86_pcrel+:} false; then :
 16057    $as_echo_n "(cached) " >&6
 16058  else
 16059  
 16060  libgo_cv_as_x86_pcrel=yes
 16061  echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s
 16062  CFLAGS_hold=$CFLAGS
 16063  if test "$libgo_cv_c_unused_arguments" = yes; then
 16064    CFLAGS="$CFLAGS -Qunused-arguments"
 16065  fi
 16066  if $CC $CFLAGS -c conftest.s 2>&1 | $EGREP -i 'illegal|warning' > /dev/null; then
 16067      libgo_cv_as_x86_pcrel=no
 16068  fi
 16069  CFLAGS=$CFLAGS_hold
 16070  
 16071  fi
 16072  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_x86_pcrel" >&5
 16073  $as_echo "$libgo_cv_as_x86_pcrel" >&6; }
 16074  if test "x$libgo_cv_as_x86_pcrel" = xyes; then
 16075  
 16076  $as_echo "#define HAVE_AS_X86_PCREL 1" >>confdefs.h
 16077  
 16078  fi
 16079  
 16080  { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports unwind section type" >&5
 16081  $as_echo_n "checking assembler supports unwind section type... " >&6; }
 16082  if ${libgo_cv_as_x86_64_unwind_section_type+:} false; then :
 16083    $as_echo_n "(cached) " >&6
 16084  else
 16085  
 16086  libgo_cv_as_x86_64_unwind_section_type=yes
 16087  echo '.section .eh_frame,"a",@unwind' > conftest.s
 16088  CFLAGS_hold=$CFLAGS
 16089  if test "$libgo_cv_c_unused_arguments" = yes; then
 16090    CFLAGS="$CFLAGS -Qunused-arguments"
 16091  fi
 16092  if $CC $CFLAGS -c conftest.s 2>&1 | grep -i warning > /dev/null; then
 16093      libgo_cv_as_x86_64_unwind_section_type=no
 16094  fi
 16095  CFLAGS=$CFLAGS_hold
 16096  
 16097  fi
 16098  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_x86_64_unwind_section_type" >&5
 16099  $as_echo "$libgo_cv_as_x86_64_unwind_section_type" >&6; }
 16100  if test "x$libgo_cv_as_x86_64_unwind_section_type" = xyes; then
 16101  
 16102  $as_echo "#define HAVE_AS_X86_64_UNWIND_SECTION_TYPE 1" >>confdefs.h
 16103  
 16104  fi
 16105  
 16106  { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports AES instructions" >&5
 16107  $as_echo_n "checking assembler supports AES instructions... " >&6; }
 16108  if ${libgo_cv_as_x86_aes+:} false; then :
 16109    $as_echo_n "(cached) " >&6
 16110  else
 16111  
 16112  libgo_cv_as_x86_aes=yes
 16113  echo 'aesenc %xmm0, %xmm1' > conftest.s
 16114  CFLAGS_hold=$CFLAGS
 16115  if test "$libgo_cv_c_unused_arguments" = yes; then
 16116    CFLAGS="$CFLAGS -Qunused-arguments"
 16117  fi
 16118  if $CC $CFLAGS -c conftest.s 2>&1 | grep -i error > /dev/null; then
 16119      libgo_cv_as_x86_aes=no
 16120  fi
 16121  CFLAGS=$CFLAGS_hold
 16122  
 16123  fi
 16124  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_x86_aes" >&5
 16125  $as_echo "$libgo_cv_as_x86_aes" >&6; }
 16126  if test "x$libgo_cv_as_x86_aes" = xyes; then
 16127  
 16128  $as_echo "#define HAVE_AS_X86_AES 1" >>confdefs.h
 16129  
 16130  fi
 16131  
 16132  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -static is supported" >&5
 16133  $as_echo_n "checking whether -static is supported... " >&6; }
 16134  if ${libgo_cv_ld_static+:} false; then :
 16135    $as_echo_n "(cached) " >&6
 16136  else
 16137    LDFLAGS_hold=$LDFLAGS
 16138  LDFLAGS="$LDFLAGS -static"
 16139  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 16140  /* end confdefs.h.  */
 16141  
 16142  int
 16143  main ()
 16144  {
 16145  
 16146    ;
 16147    return 0;
 16148  }
 16149  _ACEOF
 16150  if ac_fn_c_try_link "$LINENO"; then :
 16151    libgo_cv_ld_static=yes
 16152  else
 16153    libgo_cv_ld_static=no
 16154  fi
 16155  rm -f core conftest.err conftest.$ac_objext \
 16156      conftest$ac_exeext conftest.$ac_ext
 16157  LDFLAGS=$LDFLAGS_hold
 16158  fi
 16159  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_ld_static" >&5
 16160  $as_echo "$libgo_cv_ld_static" >&6; }
 16161   if test "$libgo_cv_ld_static" = yes; then
 16162    HAVE_STATIC_LINK_TRUE=
 16163    HAVE_STATIC_LINK_FALSE='#'
 16164  else
 16165    HAVE_STATIC_LINK_TRUE='#'
 16166    HAVE_STATIC_LINK_FALSE=
 16167  fi
 16168  
 16169  
 16170  
 16171  
 16172  cat >confcache <<\_ACEOF
 16173  # This file is a shell script that caches the results of configure
 16174  # tests run on this system so they can be shared between configure
 16175  # scripts and configure runs, see configure's option --config-cache.
 16176  # It is not useful on other systems.  If it contains results you don't
 16177  # want to keep, you may remove or edit it.
 16178  #
 16179  # config.status only pays attention to the cache file if you give it
 16180  # the --recheck option to rerun configure.
 16181  #
 16182  # `ac_cv_env_foo' variables (set or unset) will be overridden when
 16183  # loading this file, other *unset* `ac_cv_foo' will be assigned the
 16184  # following values.
 16185  
 16186  _ACEOF
 16187  
 16188  # The following way of writing the cache mishandles newlines in values,
 16189  # but we know of no workaround that is simple, portable, and efficient.
 16190  # So, we kill variables containing newlines.
 16191  # Ultrix sh set writes to stderr and can't be redirected directly,
 16192  # and sets the high bit in the cache file unless we assign to the vars.
 16193  (
 16194    for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 16195      eval ac_val=\$$ac_var
 16196      case $ac_val in #(
 16197      *${as_nl}*)
 16198        case $ac_var in #(
 16199        *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 16200  $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 16201        esac
 16202        case $ac_var in #(
 16203        _ | IFS | as_nl) ;; #(
 16204        BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 16205        *) { eval $ac_var=; unset $ac_var;} ;;
 16206        esac ;;
 16207      esac
 16208    done
 16209  
 16210    (set) 2>&1 |
 16211      case $as_nl`(ac_space=' '; set) 2>&1` in #(
 16212      *${as_nl}ac_space=\ *)
 16213        # `set' does not quote correctly, so add quotes: double-quote
 16214        # substitution turns \\\\ into \\, and sed turns \\ into \.
 16215        sed -n \
 16216  	"s/'/'\\\\''/g;
 16217  	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 16218        ;; #(
 16219      *)
 16220        # `set' quotes correctly as required by POSIX, so do not add quotes.
 16221        sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 16222        ;;
 16223      esac |
 16224      sort
 16225  ) |
 16226    sed '
 16227       /^ac_cv_env_/b end
 16228       t clear
 16229       :clear
 16230       s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 16231       t end
 16232       s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 16233       :end' >>confcache
 16234  if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 16235    if test -w "$cache_file"; then
 16236      if test "x$cache_file" != "x/dev/null"; then
 16237        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 16238  $as_echo "$as_me: updating cache $cache_file" >&6;}
 16239        if test ! -f "$cache_file" || test -h "$cache_file"; then
 16240  	cat confcache >"$cache_file"
 16241        else
 16242          case $cache_file in #(
 16243          */* | ?:*)
 16244  	  mv -f confcache "$cache_file"$$ &&
 16245  	  mv -f "$cache_file"$$ "$cache_file" ;; #(
 16246          *)
 16247  	  mv -f confcache "$cache_file" ;;
 16248  	esac
 16249        fi
 16250      fi
 16251    else
 16252      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 16253  $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 16254    fi
 16255  fi
 16256  rm -f confcache
 16257  
 16258  if test ${multilib} = yes; then
 16259    multilib_arg="--enable-multilib"
 16260  else
 16261    multilib_arg=
 16262  fi
 16263  
 16264  ac_config_files="$ac_config_files Makefile testsuite/Makefile testsuite/libgo-test-support.exp"
 16265  
 16266  
 16267  ac_config_commands="$ac_config_commands default"
 16268  
 16269  
 16270  cat >confcache <<\_ACEOF
 16271  # This file is a shell script that caches the results of configure
 16272  # tests run on this system so they can be shared between configure
 16273  # scripts and configure runs, see configure's option --config-cache.
 16274  # It is not useful on other systems.  If it contains results you don't
 16275  # want to keep, you may remove or edit it.
 16276  #
 16277  # config.status only pays attention to the cache file if you give it
 16278  # the --recheck option to rerun configure.
 16279  #
 16280  # `ac_cv_env_foo' variables (set or unset) will be overridden when
 16281  # loading this file, other *unset* `ac_cv_foo' will be assigned the
 16282  # following values.
 16283  
 16284  _ACEOF
 16285  
 16286  # The following way of writing the cache mishandles newlines in values,
 16287  # but we know of no workaround that is simple, portable, and efficient.
 16288  # So, we kill variables containing newlines.
 16289  # Ultrix sh set writes to stderr and can't be redirected directly,
 16290  # and sets the high bit in the cache file unless we assign to the vars.
 16291  (
 16292    for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 16293      eval ac_val=\$$ac_var
 16294      case $ac_val in #(
 16295      *${as_nl}*)
 16296        case $ac_var in #(
 16297        *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 16298  $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 16299        esac
 16300        case $ac_var in #(
 16301        _ | IFS | as_nl) ;; #(
 16302        BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 16303        *) { eval $ac_var=; unset $ac_var;} ;;
 16304        esac ;;
 16305      esac
 16306    done
 16307  
 16308    (set) 2>&1 |
 16309      case $as_nl`(ac_space=' '; set) 2>&1` in #(
 16310      *${as_nl}ac_space=\ *)
 16311        # `set' does not quote correctly, so add quotes: double-quote
 16312        # substitution turns \\\\ into \\, and sed turns \\ into \.
 16313        sed -n \
 16314  	"s/'/'\\\\''/g;
 16315  	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 16316        ;; #(
 16317      *)
 16318        # `set' quotes correctly as required by POSIX, so do not add quotes.
 16319        sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 16320        ;;
 16321      esac |
 16322      sort
 16323  ) |
 16324    sed '
 16325       /^ac_cv_env_/b end
 16326       t clear
 16327       :clear
 16328       s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 16329       t end
 16330       s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 16331       :end' >>confcache
 16332  if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 16333    if test -w "$cache_file"; then
 16334      if test "x$cache_file" != "x/dev/null"; then
 16335        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 16336  $as_echo "$as_me: updating cache $cache_file" >&6;}
 16337        if test ! -f "$cache_file" || test -h "$cache_file"; then
 16338  	cat confcache >"$cache_file"
 16339        else
 16340          case $cache_file in #(
 16341          */* | ?:*)
 16342  	  mv -f confcache "$cache_file"$$ &&
 16343  	  mv -f "$cache_file"$$ "$cache_file" ;; #(
 16344          *)
 16345  	  mv -f confcache "$cache_file" ;;
 16346  	esac
 16347        fi
 16348      fi
 16349    else
 16350      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 16351  $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 16352    fi
 16353  fi
 16354  rm -f confcache
 16355  
 16356  test "x$prefix" = xNONE && prefix=$ac_default_prefix
 16357  # Let make expand exec_prefix.
 16358  test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 16359  
 16360  DEFS=-DHAVE_CONFIG_H
 16361  
 16362  ac_libobjs=
 16363  ac_ltlibobjs=
 16364  U=
 16365  for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 16366    # 1. Remove the extension, and $U if already installed.
 16367    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 16368    ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 16369    # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 16370    #    will be set to the directory where LIBOBJS objects are built.
 16371    as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 16372    as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 16373  done
 16374  LIBOBJS=$ac_libobjs
 16375  
 16376  LTLIBOBJS=$ac_ltlibobjs
 16377  
 16378  
 16379  { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
 16380  $as_echo_n "checking that generated files are newer than configure... " >&6; }
 16381     if test -n "$am_sleep_pid"; then
 16382       # Hide warnings about reused PIDs.
 16383       wait $am_sleep_pid 2>/dev/null
 16384     fi
 16385     { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
 16386  $as_echo "done" >&6; }
 16387   if test -n "$EXEEXT"; then
 16388    am__EXEEXT_TRUE=
 16389    am__EXEEXT_FALSE='#'
 16390  else
 16391    am__EXEEXT_TRUE='#'
 16392    am__EXEEXT_FALSE=
 16393  fi
 16394  
 16395  if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 16396    as_fn_error $? "conditional \"AMDEP\" was never defined.
 16397  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 16398  fi
 16399  if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 16400    as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 16401  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 16402  fi
 16403  if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
 16404    as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
 16405  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 16406  fi
 16407  if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 16408    as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
 16409  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 16410  fi
 16411  if test -z "${ENABLE_DARWIN_AT_RPATH_TRUE}" && test -z "${ENABLE_DARWIN_AT_RPATH_FALSE}"; then
 16412    as_fn_error $? "conditional \"ENABLE_DARWIN_AT_RPATH\" was never defined.
 16413  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 16414  fi
 16415  if test -z "${USE_LIBFFI_TRUE}" && test -z "${USE_LIBFFI_FALSE}"; then
 16416    as_fn_error $? "conditional \"USE_LIBFFI\" was never defined.
 16417  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 16418  fi
 16419  if test -z "${LIBGO_IS_DARWIN_TRUE}" && test -z "${LIBGO_IS_DARWIN_FALSE}"; then
 16420    as_fn_error $? "conditional \"LIBGO_IS_DARWIN\" was never defined.
 16421  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 16422  fi
 16423  if test -z "${LIBGO_IS_FREEBSD_TRUE}" && test -z "${LIBGO_IS_FREEBSD_FALSE}"; then
 16424    as_fn_error $? "conditional \"LIBGO_IS_FREEBSD\" was never defined.
 16425  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 16426  fi
 16427  if test -z "${LIBGO_IS_IRIX_TRUE}" && test -z "${LIBGO_IS_IRIX_FALSE}"; then
 16428    as_fn_error $? "conditional \"LIBGO_IS_IRIX\" was never defined.
 16429  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 16430  fi
 16431  if test -z "${LIBGO_IS_LINUX_TRUE}" && test -z "${LIBGO_IS_LINUX_FALSE}"; then
 16432    as_fn_error $? "conditional \"LIBGO_IS_LINUX\" was never defined.
 16433  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 16434  fi
 16435  if test -z "${LIBGO_IS_NETBSD_TRUE}" && test -z "${LIBGO_IS_NETBSD_FALSE}"; then
 16436    as_fn_error $? "conditional \"LIBGO_IS_NETBSD\" was never defined.
 16437  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 16438  fi
 16439  if test -z "${LIBGO_IS_OPENBSD_TRUE}" && test -z "${LIBGO_IS_OPENBSD_FALSE}"; then
 16440    as_fn_error $? "conditional \"LIBGO_IS_OPENBSD\" was never defined.
 16441  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 16442  fi
 16443  if test -z "${LIBGO_IS_DRAGONFLY_TRUE}" && test -z "${LIBGO_IS_DRAGONFLY_FALSE}"; then
 16444    as_fn_error $? "conditional \"LIBGO_IS_DRAGONFLY\" was never defined.
 16445  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 16446  fi
 16447  if test -z "${LIBGO_IS_RTEMS_TRUE}" && test -z "${LIBGO_IS_RTEMS_FALSE}"; then
 16448    as_fn_error $? "conditional \"LIBGO_IS_RTEMS\" was never defined.
 16449  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 16450  fi
 16451  if test -z "${LIBGO_IS_SOLARIS_TRUE}" && test -z "${LIBGO_IS_SOLARIS_FALSE}"; then
 16452    as_fn_error $? "conditional \"LIBGO_IS_SOLARIS\" was never defined.
 16453  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 16454  fi
 16455  if test -z "${LIBGO_IS_AIX_TRUE}" && test -z "${LIBGO_IS_AIX_FALSE}"; then
 16456    as_fn_error $? "conditional \"LIBGO_IS_AIX\" was never defined.
 16457  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 16458  fi
 16459  if test -z "${LIBGO_IS_HURD_TRUE}" && test -z "${LIBGO_IS_HURD_FALSE}"; then
 16460    as_fn_error $? "conditional \"LIBGO_IS_HURD\" was never defined.
 16461  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 16462  fi
 16463  if test -z "${LIBGO_IS_BSD_TRUE}" && test -z "${LIBGO_IS_BSD_FALSE}"; then
 16464    as_fn_error $? "conditional \"LIBGO_IS_BSD\" was never defined.
 16465  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 16466  fi
 16467  if test -z "${LIBGO_IS_X86_TRUE}" && test -z "${LIBGO_IS_X86_FALSE}"; then
 16468    as_fn_error $? "conditional \"LIBGO_IS_X86\" was never defined.
 16469  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 16470  fi
 16471  if test -z "${USING_SPLIT_STACK_TRUE}" && test -z "${USING_SPLIT_STACK_FALSE}"; then
 16472    as_fn_error $? "conditional \"USING_SPLIT_STACK\" was never defined.
 16473  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 16474  fi
 16475  if test -z "${GOC_IS_LLGO_TRUE}" && test -z "${GOC_IS_LLGO_FALSE}"; then
 16476    as_fn_error $? "conditional \"GOC_IS_LLGO\" was never defined.
 16477  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 16478  fi
 16479  
 16480  if test -z "${HAVE_SYS_MMAN_H_TRUE}" && test -z "${HAVE_SYS_MMAN_H_FALSE}"; then
 16481    as_fn_error $? "conditional \"HAVE_SYS_MMAN_H\" was never defined.
 16482  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 16483  fi
 16484  if test -z "${HAVE_STRERROR_R_TRUE}" && test -z "${HAVE_STRERROR_R_FALSE}"; then
 16485    as_fn_error $? "conditional \"HAVE_STRERROR_R\" was never defined.
 16486  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 16487  fi
 16488  if test -z "${HAVE_WAIT4_TRUE}" && test -z "${HAVE_WAIT4_FALSE}"; then
 16489    as_fn_error $? "conditional \"HAVE_WAIT4\" was never defined.
 16490  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 16491  fi
 16492  if test -z "${HAVE_STAT_TIMESPEC_TRUE}" && test -z "${HAVE_STAT_TIMESPEC_FALSE}"; then
 16493    as_fn_error $? "conditional \"HAVE_STAT_TIMESPEC\" was never defined.
 16494  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 16495  fi
 16496  if test -z "${HAVE_STATIC_LINK_TRUE}" && test -z "${HAVE_STATIC_LINK_FALSE}"; then
 16497    as_fn_error $? "conditional \"HAVE_STATIC_LINK\" was never defined.
 16498  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 16499  fi
 16500  
 16501  : "${CONFIG_STATUS=./config.status}"
 16502  ac_write_fail=0
 16503  ac_clean_files_save=$ac_clean_files
 16504  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 16505  { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 16506  $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 16507  as_write_fail=0
 16508  cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 16509  #! $SHELL
 16510  # Generated by $as_me.
 16511  # Run this file to recreate the current configuration.
 16512  # Compiler output produced by configure, useful for debugging
 16513  # configure, is in config.log if it exists.
 16514  
 16515  debug=false
 16516  ac_cs_recheck=false
 16517  ac_cs_silent=false
 16518  
 16519  SHELL=\${CONFIG_SHELL-$SHELL}
 16520  export SHELL
 16521  _ASEOF
 16522  cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 16523  ## -------------------- ##
 16524  ## M4sh Initialization. ##
 16525  ## -------------------- ##
 16526  
 16527  # Be more Bourne compatible
 16528  DUALCASE=1; export DUALCASE # for MKS sh
 16529  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 16530    emulate sh
 16531    NULLCMD=:
 16532    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 16533    # is contrary to our usage.  Disable this feature.
 16534    alias -g '${1+"$@"}'='"$@"'
 16535    setopt NO_GLOB_SUBST
 16536  else
 16537    case `(set -o) 2>/dev/null` in #(
 16538    *posix*) :
 16539      set -o posix ;; #(
 16540    *) :
 16541       ;;
 16542  esac
 16543  fi
 16544  
 16545  
 16546  as_nl='
 16547  '
 16548  export as_nl
 16549  # Printing a long string crashes Solaris 7 /usr/bin/printf.
 16550  as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 16551  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 16552  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 16553  # Prefer a ksh shell builtin over an external printf program on Solaris,
 16554  # but without wasting forks for bash or zsh.
 16555  if test -z "$BASH_VERSION$ZSH_VERSION" \
 16556      && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 16557    as_echo='print -r --'
 16558    as_echo_n='print -rn --'
 16559  elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 16560    as_echo='printf %s\n'
 16561    as_echo_n='printf %s'
 16562  else
 16563    if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 16564      as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 16565      as_echo_n='/usr/ucb/echo -n'
 16566    else
 16567      as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 16568      as_echo_n_body='eval
 16569        arg=$1;
 16570        case $arg in #(
 16571        *"$as_nl"*)
 16572  	expr "X$arg" : "X\\(.*\\)$as_nl";
 16573  	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 16574        esac;
 16575        expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 16576      '
 16577      export as_echo_n_body
 16578      as_echo_n='sh -c $as_echo_n_body as_echo'
 16579    fi
 16580    export as_echo_body
 16581    as_echo='sh -c $as_echo_body as_echo'
 16582  fi
 16583  
 16584  # The user is always right.
 16585  if test "${PATH_SEPARATOR+set}" != set; then
 16586    PATH_SEPARATOR=:
 16587    (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 16588      (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 16589        PATH_SEPARATOR=';'
 16590    }
 16591  fi
 16592  
 16593  
 16594  # IFS
 16595  # We need space, tab and new line, in precisely that order.  Quoting is
 16596  # there to prevent editors from complaining about space-tab.
 16597  # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 16598  # splitting by setting IFS to empty value.)
 16599  IFS=" ""	$as_nl"
 16600  
 16601  # Find who we are.  Look in the path if we contain no directory separator.
 16602  as_myself=
 16603  case $0 in #((
 16604    *[\\/]* ) as_myself=$0 ;;
 16605    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 16606  for as_dir in $PATH
 16607  do
 16608    IFS=$as_save_IFS
 16609    test -z "$as_dir" && as_dir=.
 16610      test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 16611    done
 16612  IFS=$as_save_IFS
 16613  
 16614       ;;
 16615  esac
 16616  # We did not find ourselves, most probably we were run as `sh COMMAND'
 16617  # in which case we are not to be found in the path.
 16618  if test "x$as_myself" = x; then
 16619    as_myself=$0
 16620  fi
 16621  if test ! -f "$as_myself"; then
 16622    $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 16623    exit 1
 16624  fi
 16625  
 16626  # Unset variables that we do not need and which cause bugs (e.g. in
 16627  # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 16628  # suppresses any "Segmentation fault" message there.  '((' could
 16629  # trigger a bug in pdksh 5.2.14.
 16630  for as_var in BASH_ENV ENV MAIL MAILPATH
 16631  do eval test x\${$as_var+set} = xset \
 16632    && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 16633  done
 16634  PS1='$ '
 16635  PS2='> '
 16636  PS4='+ '
 16637  
 16638  # NLS nuisances.
 16639  LC_ALL=C
 16640  export LC_ALL
 16641  LANGUAGE=C
 16642  export LANGUAGE
 16643  
 16644  # CDPATH.
 16645  (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 16646  
 16647  
 16648  # as_fn_error STATUS ERROR [LINENO LOG_FD]
 16649  # ----------------------------------------
 16650  # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 16651  # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 16652  # script with STATUS, using 1 if that was 0.
 16653  as_fn_error ()
 16654  {
 16655    as_status=$1; test $as_status -eq 0 && as_status=1
 16656    if test "$4"; then
 16657      as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 16658      $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 16659    fi
 16660    $as_echo "$as_me: error: $2" >&2
 16661    as_fn_exit $as_status
 16662  } # as_fn_error
 16663  
 16664  
 16665  # as_fn_set_status STATUS
 16666  # -----------------------
 16667  # Set $? to STATUS, without forking.
 16668  as_fn_set_status ()
 16669  {
 16670    return $1
 16671  } # as_fn_set_status
 16672  
 16673  # as_fn_exit STATUS
 16674  # -----------------
 16675  # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 16676  as_fn_exit ()
 16677  {
 16678    set +e
 16679    as_fn_set_status $1
 16680    exit $1
 16681  } # as_fn_exit
 16682  
 16683  # as_fn_unset VAR
 16684  # ---------------
 16685  # Portably unset VAR.
 16686  as_fn_unset ()
 16687  {
 16688    { eval $1=; unset $1;}
 16689  }
 16690  as_unset=as_fn_unset
 16691  # as_fn_append VAR VALUE
 16692  # ----------------------
 16693  # Append the text in VALUE to the end of the definition contained in VAR. Take
 16694  # advantage of any shell optimizations that allow amortized linear growth over
 16695  # repeated appends, instead of the typical quadratic growth present in naive
 16696  # implementations.
 16697  if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 16698    eval 'as_fn_append ()
 16699    {
 16700      eval $1+=\$2
 16701    }'
 16702  else
 16703    as_fn_append ()
 16704    {
 16705      eval $1=\$$1\$2
 16706    }
 16707  fi # as_fn_append
 16708  
 16709  # as_fn_arith ARG...
 16710  # ------------------
 16711  # Perform arithmetic evaluation on the ARGs, and store the result in the
 16712  # global $as_val. Take advantage of shells that can avoid forks. The arguments
 16713  # must be portable across $(()) and expr.
 16714  if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 16715    eval 'as_fn_arith ()
 16716    {
 16717      as_val=$(( $* ))
 16718    }'
 16719  else
 16720    as_fn_arith ()
 16721    {
 16722      as_val=`expr "$@" || test $? -eq 1`
 16723    }
 16724  fi # as_fn_arith
 16725  
 16726  
 16727  if expr a : '\(a\)' >/dev/null 2>&1 &&
 16728     test "X`expr 00001 : '.*\(...\)'`" = X001; then
 16729    as_expr=expr
 16730  else
 16731    as_expr=false
 16732  fi
 16733  
 16734  if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 16735    as_basename=basename
 16736  else
 16737    as_basename=false
 16738  fi
 16739  
 16740  if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 16741    as_dirname=dirname
 16742  else
 16743    as_dirname=false
 16744  fi
 16745  
 16746  as_me=`$as_basename -- "$0" ||
 16747  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 16748  	 X"$0" : 'X\(//\)$' \| \
 16749  	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 16750  $as_echo X/"$0" |
 16751      sed '/^.*\/\([^/][^/]*\)\/*$/{
 16752  	    s//\1/
 16753  	    q
 16754  	  }
 16755  	  /^X\/\(\/\/\)$/{
 16756  	    s//\1/
 16757  	    q
 16758  	  }
 16759  	  /^X\/\(\/\).*/{
 16760  	    s//\1/
 16761  	    q
 16762  	  }
 16763  	  s/.*/./; q'`
 16764  
 16765  # Avoid depending upon Character Ranges.
 16766  as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 16767  as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 16768  as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 16769  as_cr_digits='0123456789'
 16770  as_cr_alnum=$as_cr_Letters$as_cr_digits
 16771  
 16772  ECHO_C= ECHO_N= ECHO_T=
 16773  case `echo -n x` in #(((((
 16774  -n*)
 16775    case `echo 'xy\c'` in
 16776    *c*) ECHO_T='	';;	# ECHO_T is single tab character.
 16777    xy)  ECHO_C='\c';;
 16778    *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 16779         ECHO_T='	';;
 16780    esac;;
 16781  *)
 16782    ECHO_N='-n';;
 16783  esac
 16784  
 16785  rm -f conf$$ conf$$.exe conf$$.file
 16786  if test -d conf$$.dir; then
 16787    rm -f conf$$.dir/conf$$.file
 16788  else
 16789    rm -f conf$$.dir
 16790    mkdir conf$$.dir 2>/dev/null
 16791  fi
 16792  if (echo >conf$$.file) 2>/dev/null; then
 16793    if ln -s conf$$.file conf$$ 2>/dev/null; then
 16794      as_ln_s='ln -s'
 16795      # ... but there are two gotchas:
 16796      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 16797      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 16798      # In both cases, we have to default to `cp -pR'.
 16799      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 16800        as_ln_s='cp -pR'
 16801    elif ln conf$$.file conf$$ 2>/dev/null; then
 16802      as_ln_s=ln
 16803    else
 16804      as_ln_s='cp -pR'
 16805    fi
 16806  else
 16807    as_ln_s='cp -pR'
 16808  fi
 16809  rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 16810  rmdir conf$$.dir 2>/dev/null
 16811  
 16812  
 16813  # as_fn_mkdir_p
 16814  # -------------
 16815  # Create "$as_dir" as a directory, including parents if necessary.
 16816  as_fn_mkdir_p ()
 16817  {
 16818  
 16819    case $as_dir in #(
 16820    -*) as_dir=./$as_dir;;
 16821    esac
 16822    test -d "$as_dir" || eval $as_mkdir_p || {
 16823      as_dirs=
 16824      while :; do
 16825        case $as_dir in #(
 16826        *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 16827        *) as_qdir=$as_dir;;
 16828        esac
 16829        as_dirs="'$as_qdir' $as_dirs"
 16830        as_dir=`$as_dirname -- "$as_dir" ||
 16831  $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 16832  	 X"$as_dir" : 'X\(//\)[^/]' \| \
 16833  	 X"$as_dir" : 'X\(//\)$' \| \
 16834  	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 16835  $as_echo X"$as_dir" |
 16836      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 16837  	    s//\1/
 16838  	    q
 16839  	  }
 16840  	  /^X\(\/\/\)[^/].*/{
 16841  	    s//\1/
 16842  	    q
 16843  	  }
 16844  	  /^X\(\/\/\)$/{
 16845  	    s//\1/
 16846  	    q
 16847  	  }
 16848  	  /^X\(\/\).*/{
 16849  	    s//\1/
 16850  	    q
 16851  	  }
 16852  	  s/.*/./; q'`
 16853        test -d "$as_dir" && break
 16854      done
 16855      test -z "$as_dirs" || eval "mkdir $as_dirs"
 16856    } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 16857  
 16858  
 16859  } # as_fn_mkdir_p
 16860  if mkdir -p . 2>/dev/null; then
 16861    as_mkdir_p='mkdir -p "$as_dir"'
 16862  else
 16863    test -d ./-p && rmdir ./-p
 16864    as_mkdir_p=false
 16865  fi
 16866  
 16867  
 16868  # as_fn_executable_p FILE
 16869  # -----------------------
 16870  # Test if FILE is an executable regular file.
 16871  as_fn_executable_p ()
 16872  {
 16873    test -f "$1" && test -x "$1"
 16874  } # as_fn_executable_p
 16875  as_test_x='test -x'
 16876  as_executable_p=as_fn_executable_p
 16877  
 16878  # Sed expression to map a string onto a valid CPP name.
 16879  as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 16880  
 16881  # Sed expression to map a string onto a valid variable name.
 16882  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 16883  
 16884  
 16885  exec 6>&1
 16886  ## ----------------------------------- ##
 16887  ## Main body of $CONFIG_STATUS script. ##
 16888  ## ----------------------------------- ##
 16889  _ASEOF
 16890  test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 16891  
 16892  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 16893  # Save the log message, to keep $0 and so on meaningful, and to
 16894  # report actual input values of CONFIG_FILES etc. instead of their
 16895  # values after options handling.
 16896  ac_log="
 16897  This file was extended by package-unused $as_me version-unused, which was
 16898  generated by GNU Autoconf 2.69.  Invocation command line was
 16899  
 16900    CONFIG_FILES    = $CONFIG_FILES
 16901    CONFIG_HEADERS  = $CONFIG_HEADERS
 16902    CONFIG_LINKS    = $CONFIG_LINKS
 16903    CONFIG_COMMANDS = $CONFIG_COMMANDS
 16904    $ $0 $@
 16905  
 16906  on `(hostname || uname -n) 2>/dev/null | sed 1q`
 16907  "
 16908  
 16909  _ACEOF
 16910  
 16911  case $ac_config_files in *"
 16912  "*) set x $ac_config_files; shift; ac_config_files=$*;;
 16913  esac
 16914  
 16915  case $ac_config_headers in *"
 16916  "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 16917  esac
 16918  
 16919  
 16920  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 16921  # Files that config.status was made for.
 16922  config_files="$ac_config_files"
 16923  config_headers="$ac_config_headers"
 16924  config_commands="$ac_config_commands"
 16925  
 16926  _ACEOF
 16927  
 16928  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 16929  ac_cs_usage="\
 16930  \`$as_me' instantiates files and other configuration actions
 16931  from templates according to the current configuration.  Unless the files
 16932  and actions are specified as TAGs, all are instantiated by default.
 16933  
 16934  Usage: $0 [OPTION]... [TAG]...
 16935  
 16936    -h, --help       print this help, then exit
 16937    -V, --version    print version number and configuration settings, then exit
 16938        --config     print configuration, then exit
 16939    -q, --quiet, --silent
 16940                     do not print progress messages
 16941    -d, --debug      don't remove temporary files
 16942        --recheck    update $as_me by reconfiguring in the same conditions
 16943        --file=FILE[:TEMPLATE]
 16944                     instantiate the configuration file FILE
 16945        --header=FILE[:TEMPLATE]
 16946                     instantiate the configuration header FILE
 16947  
 16948  Configuration files:
 16949  $config_files
 16950  
 16951  Configuration headers:
 16952  $config_headers
 16953  
 16954  Configuration commands:
 16955  $config_commands
 16956  
 16957  Report bugs to the package provider."
 16958  
 16959  _ACEOF
 16960  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 16961  ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 16962  ac_cs_version="\\
 16963  package-unused config.status version-unused
 16964  configured by $0, generated by GNU Autoconf 2.69,
 16965    with options \\"\$ac_cs_config\\"
 16966  
 16967  Copyright (C) 2012 Free Software Foundation, Inc.
 16968  This config.status script is free software; the Free Software Foundation
 16969  gives unlimited permission to copy, distribute and modify it."
 16970  
 16971  ac_pwd='$ac_pwd'
 16972  srcdir='$srcdir'
 16973  INSTALL='$INSTALL'
 16974  MKDIR_P='$MKDIR_P'
 16975  AWK='$AWK'
 16976  test -n "\$AWK" || AWK=awk
 16977  _ACEOF
 16978  
 16979  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 16980  # The default lists apply if the user does not specify any file.
 16981  ac_need_defaults=:
 16982  while test $# != 0
 16983  do
 16984    case $1 in
 16985    --*=?*)
 16986      ac_option=`expr "X$1" : 'X\([^=]*\)='`
 16987      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 16988      ac_shift=:
 16989      ;;
 16990    --*=)
 16991      ac_option=`expr "X$1" : 'X\([^=]*\)='`
 16992      ac_optarg=
 16993      ac_shift=:
 16994      ;;
 16995    *)
 16996      ac_option=$1
 16997      ac_optarg=$2
 16998      ac_shift=shift
 16999      ;;
 17000    esac
 17001  
 17002    case $ac_option in
 17003    # Handling of the options.
 17004    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 17005      ac_cs_recheck=: ;;
 17006    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 17007      $as_echo "$ac_cs_version"; exit ;;
 17008    --config | --confi | --conf | --con | --co | --c )
 17009      $as_echo "$ac_cs_config"; exit ;;
 17010    --debug | --debu | --deb | --de | --d | -d )
 17011      debug=: ;;
 17012    --file | --fil | --fi | --f )
 17013      $ac_shift
 17014      case $ac_optarg in
 17015      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 17016      '') as_fn_error $? "missing file argument" ;;
 17017      esac
 17018      as_fn_append CONFIG_FILES " '$ac_optarg'"
 17019      ac_need_defaults=false;;
 17020    --header | --heade | --head | --hea )
 17021      $ac_shift
 17022      case $ac_optarg in
 17023      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 17024      esac
 17025      as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 17026      ac_need_defaults=false;;
 17027    --he | --h)
 17028      # Conflict between --help and --header
 17029      as_fn_error $? "ambiguous option: \`$1'
 17030  Try \`$0 --help' for more information.";;
 17031    --help | --hel | -h )
 17032      $as_echo "$ac_cs_usage"; exit ;;
 17033    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 17034    | -silent | --silent | --silen | --sile | --sil | --si | --s)
 17035      ac_cs_silent=: ;;
 17036  
 17037    # This is an error.
 17038    -*) as_fn_error $? "unrecognized option: \`$1'
 17039  Try \`$0 --help' for more information." ;;
 17040  
 17041    *) as_fn_append ac_config_targets " $1"
 17042       ac_need_defaults=false ;;
 17043  
 17044    esac
 17045    shift
 17046  done
 17047  
 17048  ac_configure_extra_args=
 17049  
 17050  if $ac_cs_silent; then
 17051    exec 6>/dev/null
 17052    ac_configure_extra_args="$ac_configure_extra_args --silent"
 17053  fi
 17054  
 17055  _ACEOF
 17056  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 17057  if \$ac_cs_recheck; then
 17058    set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 17059    shift
 17060    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 17061    CONFIG_SHELL='$SHELL'
 17062    export CONFIG_SHELL
 17063    exec "\$@"
 17064  fi
 17065  
 17066  _ACEOF
 17067  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 17068  exec 5>>config.log
 17069  {
 17070    echo
 17071    sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 17072  ## Running $as_me. ##
 17073  _ASBOX
 17074    $as_echo "$ac_log"
 17075  } >&5
 17076  
 17077  _ACEOF
 17078  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 17079  #
 17080  # INIT-COMMANDS
 17081  #
 17082  
 17083  srcdir="$srcdir"
 17084  host="$host"
 17085  target="$target"
 17086  with_multisubdir="$with_multisubdir"
 17087  with_multisrctop="$with_multisrctop"
 17088  with_target_subdir="$with_target_subdir"
 17089  ac_configure_args="${multilib_arg} ${ac_configure_args}"
 17090  multi_basedir="$multi_basedir"
 17091  CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 17092  CC="$CC"
 17093  CXX="$CXX"
 17094  GFORTRAN="$GFORTRAN"
 17095  GDC="$GDC"
 17096  AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 17097  
 17098  
 17099  # The HP-UX ksh and POSIX shell print the target directory to stdout
 17100  # if CDPATH is set.
 17101  (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 17102  
 17103  sed_quote_subst='$sed_quote_subst'
 17104  double_quote_subst='$double_quote_subst'
 17105  delay_variable_subst='$delay_variable_subst'
 17106  SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 17107  Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 17108  GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 17109  EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 17110  FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 17111  SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 17112  ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 17113  LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 17114  macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 17115  macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 17116  enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 17117  enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 17118  pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 17119  enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 17120  host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 17121  host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 17122  host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 17123  build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 17124  build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 17125  build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 17126  NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 17127  LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 17128  max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 17129  ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 17130  exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 17131  lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 17132  lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 17133  lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 17134  reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 17135  reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 17136  OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 17137  deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 17138  file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 17139  AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 17140  AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 17141  STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 17142  RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 17143  old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 17144  old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 17145  old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 17146  lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 17147  CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 17148  CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 17149  compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 17150  GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 17151  lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 17152  lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 17153  lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 17154  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"`'
 17155  objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 17156  MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 17157  lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 17158  lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 17159  lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 17160  lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 17161  lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 17162  need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 17163  DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 17164  NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 17165  LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 17166  OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 17167  OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 17168  libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 17169  shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 17170  extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 17171  archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 17172  enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 17173  export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 17174  whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 17175  compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 17176  old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 17177  old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 17178  archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 17179  archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 17180  module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 17181  module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 17182  with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 17183  allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 17184  no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 17185  hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 17186  hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
 17187  hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 17188  hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 17189  hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 17190  hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 17191  hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 17192  hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 17193  inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 17194  link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 17195  fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
 17196  always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 17197  export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 17198  exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 17199  include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 17200  prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 17201  file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 17202  variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 17203  need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 17204  need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 17205  version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 17206  runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 17207  shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 17208  shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 17209  libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 17210  library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 17211  soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 17212  install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 17213  postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 17214  postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 17215  finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 17216  finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 17217  hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 17218  sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 17219  sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 17220  hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 17221  enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 17222  enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 17223  enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 17224  old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 17225  striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
 17226  LD_GO='`$ECHO "$LD_GO" | $SED "$delay_single_quote_subst"`'
 17227  reload_flag_GO='`$ECHO "$reload_flag_GO" | $SED "$delay_single_quote_subst"`'
 17228  reload_cmds_GO='`$ECHO "$reload_cmds_GO" | $SED "$delay_single_quote_subst"`'
 17229  old_archive_cmds_GO='`$ECHO "$old_archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
 17230  compiler_GO='`$ECHO "$compiler_GO" | $SED "$delay_single_quote_subst"`'
 17231  GCC_GO='`$ECHO "$GCC_GO" | $SED "$delay_single_quote_subst"`'
 17232  lt_prog_compiler_no_builtin_flag_GO='`$ECHO "$lt_prog_compiler_no_builtin_flag_GO" | $SED "$delay_single_quote_subst"`'
 17233  lt_prog_compiler_wl_GO='`$ECHO "$lt_prog_compiler_wl_GO" | $SED "$delay_single_quote_subst"`'
 17234  lt_prog_compiler_pic_GO='`$ECHO "$lt_prog_compiler_pic_GO" | $SED "$delay_single_quote_subst"`'
 17235  lt_prog_compiler_static_GO='`$ECHO "$lt_prog_compiler_static_GO" | $SED "$delay_single_quote_subst"`'
 17236  lt_cv_prog_compiler_c_o_GO='`$ECHO "$lt_cv_prog_compiler_c_o_GO" | $SED "$delay_single_quote_subst"`'
 17237  archive_cmds_need_lc_GO='`$ECHO "$archive_cmds_need_lc_GO" | $SED "$delay_single_quote_subst"`'
 17238  enable_shared_with_static_runtimes_GO='`$ECHO "$enable_shared_with_static_runtimes_GO" | $SED "$delay_single_quote_subst"`'
 17239  export_dynamic_flag_spec_GO='`$ECHO "$export_dynamic_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
 17240  whole_archive_flag_spec_GO='`$ECHO "$whole_archive_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
 17241  compiler_needs_object_GO='`$ECHO "$compiler_needs_object_GO" | $SED "$delay_single_quote_subst"`'
 17242  old_archive_from_new_cmds_GO='`$ECHO "$old_archive_from_new_cmds_GO" | $SED "$delay_single_quote_subst"`'
 17243  old_archive_from_expsyms_cmds_GO='`$ECHO "$old_archive_from_expsyms_cmds_GO" | $SED "$delay_single_quote_subst"`'
 17244  archive_cmds_GO='`$ECHO "$archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
 17245  archive_expsym_cmds_GO='`$ECHO "$archive_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
 17246  module_cmds_GO='`$ECHO "$module_cmds_GO" | $SED "$delay_single_quote_subst"`'
 17247  module_expsym_cmds_GO='`$ECHO "$module_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
 17248  with_gnu_ld_GO='`$ECHO "$with_gnu_ld_GO" | $SED "$delay_single_quote_subst"`'
 17249  allow_undefined_flag_GO='`$ECHO "$allow_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
 17250  no_undefined_flag_GO='`$ECHO "$no_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
 17251  hardcode_libdir_flag_spec_GO='`$ECHO "$hardcode_libdir_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
 17252  hardcode_libdir_flag_spec_ld_GO='`$ECHO "$hardcode_libdir_flag_spec_ld_GO" | $SED "$delay_single_quote_subst"`'
 17253  hardcode_libdir_separator_GO='`$ECHO "$hardcode_libdir_separator_GO" | $SED "$delay_single_quote_subst"`'
 17254  hardcode_direct_GO='`$ECHO "$hardcode_direct_GO" | $SED "$delay_single_quote_subst"`'
 17255  hardcode_direct_absolute_GO='`$ECHO "$hardcode_direct_absolute_GO" | $SED "$delay_single_quote_subst"`'
 17256  hardcode_minus_L_GO='`$ECHO "$hardcode_minus_L_GO" | $SED "$delay_single_quote_subst"`'
 17257  hardcode_shlibpath_var_GO='`$ECHO "$hardcode_shlibpath_var_GO" | $SED "$delay_single_quote_subst"`'
 17258  hardcode_automatic_GO='`$ECHO "$hardcode_automatic_GO" | $SED "$delay_single_quote_subst"`'
 17259  inherit_rpath_GO='`$ECHO "$inherit_rpath_GO" | $SED "$delay_single_quote_subst"`'
 17260  link_all_deplibs_GO='`$ECHO "$link_all_deplibs_GO" | $SED "$delay_single_quote_subst"`'
 17261  fix_srcfile_path_GO='`$ECHO "$fix_srcfile_path_GO" | $SED "$delay_single_quote_subst"`'
 17262  always_export_symbols_GO='`$ECHO "$always_export_symbols_GO" | $SED "$delay_single_quote_subst"`'
 17263  export_symbols_cmds_GO='`$ECHO "$export_symbols_cmds_GO" | $SED "$delay_single_quote_subst"`'
 17264  exclude_expsyms_GO='`$ECHO "$exclude_expsyms_GO" | $SED "$delay_single_quote_subst"`'
 17265  include_expsyms_GO='`$ECHO "$include_expsyms_GO" | $SED "$delay_single_quote_subst"`'
 17266  prelink_cmds_GO='`$ECHO "$prelink_cmds_GO" | $SED "$delay_single_quote_subst"`'
 17267  file_list_spec_GO='`$ECHO "$file_list_spec_GO" | $SED "$delay_single_quote_subst"`'
 17268  hardcode_action_GO='`$ECHO "$hardcode_action_GO" | $SED "$delay_single_quote_subst"`'
 17269  
 17270  LTCC='$LTCC'
 17271  LTCFLAGS='$LTCFLAGS'
 17272  compiler='$compiler_DEFAULT'
 17273  
 17274  # A function that is used when there is no print builtin or printf.
 17275  func_fallback_echo ()
 17276  {
 17277    eval 'cat <<_LTECHO_EOF
 17278  \$1
 17279  _LTECHO_EOF'
 17280  }
 17281  
 17282  # Quote evaled strings.
 17283  for var in SED \
 17284  GREP \
 17285  EGREP \
 17286  FGREP \
 17287  SHELL \
 17288  ECHO \
 17289  LD \
 17290  NM \
 17291  LN_S \
 17292  lt_SP2NL \
 17293  lt_NL2SP \
 17294  reload_flag \
 17295  OBJDUMP \
 17296  deplibs_check_method \
 17297  file_magic_cmd \
 17298  AR \
 17299  AR_FLAGS \
 17300  STRIP \
 17301  RANLIB \
 17302  CC \
 17303  CFLAGS \
 17304  compiler \
 17305  lt_cv_sys_global_symbol_pipe \
 17306  lt_cv_sys_global_symbol_to_cdecl \
 17307  lt_cv_sys_global_symbol_to_c_name_address \
 17308  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 17309  lt_prog_compiler_no_builtin_flag \
 17310  lt_prog_compiler_wl \
 17311  lt_prog_compiler_pic \
 17312  lt_prog_compiler_static \
 17313  lt_cv_prog_compiler_c_o \
 17314  need_locks \
 17315  DSYMUTIL \
 17316  NMEDIT \
 17317  LIPO \
 17318  OTOOL \
 17319  OTOOL64 \
 17320  shrext_cmds \
 17321  export_dynamic_flag_spec \
 17322  whole_archive_flag_spec \
 17323  compiler_needs_object \
 17324  with_gnu_ld \
 17325  allow_undefined_flag \
 17326  no_undefined_flag \
 17327  hardcode_libdir_flag_spec \
 17328  hardcode_libdir_flag_spec_ld \
 17329  hardcode_libdir_separator \
 17330  fix_srcfile_path \
 17331  exclude_expsyms \
 17332  include_expsyms \
 17333  file_list_spec \
 17334  variables_saved_for_relink \
 17335  libname_spec \
 17336  library_names_spec \
 17337  soname_spec \
 17338  install_override_mode \
 17339  finish_eval \
 17340  old_striplib \
 17341  striplib \
 17342  LD_GO \
 17343  reload_flag_GO \
 17344  compiler_GO \
 17345  lt_prog_compiler_no_builtin_flag_GO \
 17346  lt_prog_compiler_wl_GO \
 17347  lt_prog_compiler_pic_GO \
 17348  lt_prog_compiler_static_GO \
 17349  lt_cv_prog_compiler_c_o_GO \
 17350  export_dynamic_flag_spec_GO \
 17351  whole_archive_flag_spec_GO \
 17352  compiler_needs_object_GO \
 17353  with_gnu_ld_GO \
 17354  allow_undefined_flag_GO \
 17355  no_undefined_flag_GO \
 17356  hardcode_libdir_flag_spec_GO \
 17357  hardcode_libdir_flag_spec_ld_GO \
 17358  hardcode_libdir_separator_GO \
 17359  fix_srcfile_path_GO \
 17360  exclude_expsyms_GO \
 17361  include_expsyms_GO \
 17362  file_list_spec_GO; do
 17363      case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 17364      *[\\\\\\\`\\"\\\$]*)
 17365        eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 17366        ;;
 17367      *)
 17368        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 17369        ;;
 17370      esac
 17371  done
 17372  
 17373  # Double-quote double-evaled strings.
 17374  for var in reload_cmds \
 17375  old_postinstall_cmds \
 17376  old_postuninstall_cmds \
 17377  old_archive_cmds \
 17378  extract_expsyms_cmds \
 17379  old_archive_from_new_cmds \
 17380  old_archive_from_expsyms_cmds \
 17381  archive_cmds \
 17382  archive_expsym_cmds \
 17383  module_cmds \
 17384  module_expsym_cmds \
 17385  export_symbols_cmds \
 17386  prelink_cmds \
 17387  postinstall_cmds \
 17388  postuninstall_cmds \
 17389  finish_cmds \
 17390  sys_lib_search_path_spec \
 17391  sys_lib_dlsearch_path_spec \
 17392  reload_cmds_GO \
 17393  old_archive_cmds_GO \
 17394  old_archive_from_new_cmds_GO \
 17395  old_archive_from_expsyms_cmds_GO \
 17396  archive_cmds_GO \
 17397  archive_expsym_cmds_GO \
 17398  module_cmds_GO \
 17399  module_expsym_cmds_GO \
 17400  export_symbols_cmds_GO \
 17401  prelink_cmds_GO; do
 17402      case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 17403      *[\\\\\\\`\\"\\\$]*)
 17404        eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 17405        ;;
 17406      *)
 17407        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 17408        ;;
 17409      esac
 17410  done
 17411  
 17412  ac_aux_dir='$ac_aux_dir'
 17413  xsi_shell='$xsi_shell'
 17414  lt_shell_append='$lt_shell_append'
 17415  
 17416  # See if we are running on zsh, and set the options which allow our
 17417  # commands through without removal of \ escapes INIT.
 17418  if test -n "\${ZSH_VERSION+set}" ; then
 17419     setopt NO_GLOB_SUBST
 17420  fi
 17421  
 17422  
 17423      PACKAGE='$PACKAGE'
 17424      VERSION='$VERSION'
 17425      TIMESTAMP='$TIMESTAMP'
 17426      RM='$RM'
 17427      ofile='$ofile'
 17428  
 17429  
 17430  
 17431  
 17432  
 17433  
 17434  # Variables needed in config.status (file generation) which aren't already
 17435  # passed by autoconf.
 17436  SUBDIRS="$SUBDIRS"
 17437  
 17438  
 17439  _ACEOF
 17440  
 17441  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 17442  
 17443  # Handling of arguments.
 17444  for ac_config_target in $ac_config_targets
 17445  do
 17446    case $ac_config_target in
 17447      "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 17448      "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 17449      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 17450      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 17451      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 17452      "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
 17453      "testsuite/libgo-test-support.exp") CONFIG_FILES="$CONFIG_FILES testsuite/libgo-test-support.exp" ;;
 17454      "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
 17455  
 17456    *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 17457    esac
 17458  done
 17459  
 17460  
 17461  # If the user did not use the arguments to specify the items to instantiate,
 17462  # then the envvar interface is used.  Set only those that are not.
 17463  # We use the long form for the default assignment because of an extremely
 17464  # bizarre bug on SunOS 4.1.3.
 17465  if $ac_need_defaults; then
 17466    test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 17467    test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 17468    test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 17469  fi
 17470  
 17471  # Have a temporary directory for convenience.  Make it in the build tree
 17472  # simply because there is no reason against having it here, and in addition,
 17473  # creating and moving files from /tmp can sometimes cause problems.
 17474  # Hook for its removal unless debugging.
 17475  # Note that there is a small window in which the directory will not be cleaned:
 17476  # after its creation but before its name has been assigned to `$tmp'.
 17477  $debug ||
 17478  {
 17479    tmp= ac_tmp=
 17480    trap 'exit_status=$?
 17481    : "${ac_tmp:=$tmp}"
 17482    { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 17483  ' 0
 17484    trap 'as_fn_exit 1' 1 2 13 15
 17485  }
 17486  # Create a (secure) tmp directory for tmp files.
 17487  
 17488  {
 17489    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 17490    test -d "$tmp"
 17491  }  ||
 17492  {
 17493    tmp=./conf$$-$RANDOM
 17494    (umask 077 && mkdir "$tmp")
 17495  } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 17496  ac_tmp=$tmp
 17497  
 17498  # Set up the scripts for CONFIG_FILES section.
 17499  # No need to generate them if there are no CONFIG_FILES.
 17500  # This happens for instance with `./config.status config.h'.
 17501  if test -n "$CONFIG_FILES"; then
 17502  
 17503  
 17504  ac_cr=`echo X | tr X '\015'`
 17505  # On cygwin, bash can eat \r inside `` if the user requested igncr.
 17506  # But we know of no other shell where ac_cr would be empty at this
 17507  # point, so we can use a bashism as a fallback.
 17508  if test "x$ac_cr" = x; then
 17509    eval ac_cr=\$\'\\r\'
 17510  fi
 17511  ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 17512  if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 17513    ac_cs_awk_cr='\\r'
 17514  else
 17515    ac_cs_awk_cr=$ac_cr
 17516  fi
 17517  
 17518  echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 17519  _ACEOF
 17520  
 17521  
 17522  {
 17523    echo "cat >conf$$subs.awk <<_ACEOF" &&
 17524    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 17525    echo "_ACEOF"
 17526  } >conf$$subs.sh ||
 17527    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 17528  ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 17529  ac_delim='%!_!# '
 17530  for ac_last_try in false false false false false :; do
 17531    . ./conf$$subs.sh ||
 17532      as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 17533  
 17534    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 17535    if test $ac_delim_n = $ac_delim_num; then
 17536      break
 17537    elif $ac_last_try; then
 17538      as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 17539    else
 17540      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 17541    fi
 17542  done
 17543  rm -f conf$$subs.sh
 17544  
 17545  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 17546  cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 17547  _ACEOF
 17548  sed -n '
 17549  h
 17550  s/^/S["/; s/!.*/"]=/
 17551  p
 17552  g
 17553  s/^[^!]*!//
 17554  :repl
 17555  t repl
 17556  s/'"$ac_delim"'$//
 17557  t delim
 17558  :nl
 17559  h
 17560  s/\(.\{148\}\)..*/\1/
 17561  t more1
 17562  s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 17563  p
 17564  n
 17565  b repl
 17566  :more1
 17567  s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 17568  p
 17569  g
 17570  s/.\{148\}//
 17571  t nl
 17572  :delim
 17573  h
 17574  s/\(.\{148\}\)..*/\1/
 17575  t more2
 17576  s/["\\]/\\&/g; s/^/"/; s/$/"/
 17577  p
 17578  b
 17579  :more2
 17580  s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 17581  p
 17582  g
 17583  s/.\{148\}//
 17584  t delim
 17585  ' <conf$$subs.awk | sed '
 17586  /^[^""]/{
 17587    N
 17588    s/\n//
 17589  }
 17590  ' >>$CONFIG_STATUS || ac_write_fail=1
 17591  rm -f conf$$subs.awk
 17592  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 17593  _ACAWK
 17594  cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 17595    for (key in S) S_is_set[key] = 1
 17596    FS = ""
 17597  
 17598  }
 17599  {
 17600    line = $ 0
 17601    nfields = split(line, field, "@")
 17602    substed = 0
 17603    len = length(field[1])
 17604    for (i = 2; i < nfields; i++) {
 17605      key = field[i]
 17606      keylen = length(key)
 17607      if (S_is_set[key]) {
 17608        value = S[key]
 17609        line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 17610        len += length(value) + length(field[++i])
 17611        substed = 1
 17612      } else
 17613        len += 1 + keylen
 17614    }
 17615  
 17616    print line
 17617  }
 17618  
 17619  _ACAWK
 17620  _ACEOF
 17621  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 17622  if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 17623    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 17624  else
 17625    cat
 17626  fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 17627    || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 17628  _ACEOF
 17629  
 17630  # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 17631  # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 17632  # trailing colons and then remove the whole line if VPATH becomes empty
 17633  # (actually we leave an empty line to preserve line numbers).
 17634  if test "x$srcdir" = x.; then
 17635    ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
 17636  h
 17637  s///
 17638  s/^/:/
 17639  s/[	 ]*$/:/
 17640  s/:\$(srcdir):/:/g
 17641  s/:\${srcdir}:/:/g
 17642  s/:@srcdir@:/:/g
 17643  s/^:*//
 17644  s/:*$//
 17645  x
 17646  s/\(=[	 ]*\).*/\1/
 17647  G
 17648  s/\n//
 17649  s/^[^=]*=[	 ]*$//
 17650  }'
 17651  fi
 17652  
 17653  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 17654  fi # test -n "$CONFIG_FILES"
 17655  
 17656  # Set up the scripts for CONFIG_HEADERS section.
 17657  # No need to generate them if there are no CONFIG_HEADERS.
 17658  # This happens for instance with `./config.status Makefile'.
 17659  if test -n "$CONFIG_HEADERS"; then
 17660  cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 17661  BEGIN {
 17662  _ACEOF
 17663  
 17664  # Transform confdefs.h into an awk script `defines.awk', embedded as
 17665  # here-document in config.status, that substitutes the proper values into
 17666  # config.h.in to produce config.h.
 17667  
 17668  # Create a delimiter string that does not exist in confdefs.h, to ease
 17669  # handling of long lines.
 17670  ac_delim='%!_!# '
 17671  for ac_last_try in false false :; do
 17672    ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 17673    if test -z "$ac_tt"; then
 17674      break
 17675    elif $ac_last_try; then
 17676      as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 17677    else
 17678      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 17679    fi
 17680  done
 17681  
 17682  # For the awk script, D is an array of macro values keyed by name,
 17683  # likewise P contains macro parameters if any.  Preserve backslash
 17684  # newline sequences.
 17685  
 17686  ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 17687  sed -n '
 17688  s/.\{148\}/&'"$ac_delim"'/g
 17689  t rset
 17690  :rset
 17691  s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
 17692  t def
 17693  d
 17694  :def
 17695  s/\\$//
 17696  t bsnl
 17697  s/["\\]/\\&/g
 17698  s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 17699  D["\1"]=" \3"/p
 17700  s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
 17701  d
 17702  :bsnl
 17703  s/["\\]/\\&/g
 17704  s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 17705  D["\1"]=" \3\\\\\\n"\\/p
 17706  t cont
 17707  s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 17708  t cont
 17709  d
 17710  :cont
 17711  n
 17712  s/.\{148\}/&'"$ac_delim"'/g
 17713  t clear
 17714  :clear
 17715  s/\\$//
 17716  t bsnlc
 17717  s/["\\]/\\&/g; s/^/"/; s/$/"/p
 17718  d
 17719  :bsnlc
 17720  s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 17721  b cont
 17722  ' <confdefs.h | sed '
 17723  s/'"$ac_delim"'/"\\\
 17724  "/g' >>$CONFIG_STATUS || ac_write_fail=1
 17725  
 17726  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 17727    for (key in D) D_is_set[key] = 1
 17728    FS = ""
 17729  }
 17730  /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 17731    line = \$ 0
 17732    split(line, arg, " ")
 17733    if (arg[1] == "#") {
 17734      defundef = arg[2]
 17735      mac1 = arg[3]
 17736    } else {
 17737      defundef = substr(arg[1], 2)
 17738      mac1 = arg[2]
 17739    }
 17740    split(mac1, mac2, "(") #)
 17741    macro = mac2[1]
 17742    prefix = substr(line, 1, index(line, defundef) - 1)
 17743    if (D_is_set[macro]) {
 17744      # Preserve the white space surrounding the "#".
 17745      print prefix "define", macro P[macro] D[macro]
 17746      next
 17747    } else {
 17748      # Replace #undef with comments.  This is necessary, for example,
 17749      # in the case of _POSIX_SOURCE, which is predefined and required
 17750      # on some systems where configure will not decide to define it.
 17751      if (defundef == "undef") {
 17752        print "/*", prefix defundef, macro, "*/"
 17753        next
 17754      }
 17755    }
 17756  }
 17757  { print }
 17758  _ACAWK
 17759  _ACEOF
 17760  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 17761    as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 17762  fi # test -n "$CONFIG_HEADERS"
 17763  
 17764  
 17765  eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 17766  shift
 17767  for ac_tag
 17768  do
 17769    case $ac_tag in
 17770    :[FHLC]) ac_mode=$ac_tag; continue;;
 17771    esac
 17772    case $ac_mode$ac_tag in
 17773    :[FHL]*:*);;
 17774    :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 17775    :[FH]-) ac_tag=-:-;;
 17776    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 17777    esac
 17778    ac_save_IFS=$IFS
 17779    IFS=:
 17780    set x $ac_tag
 17781    IFS=$ac_save_IFS
 17782    shift
 17783    ac_file=$1
 17784    shift
 17785  
 17786    case $ac_mode in
 17787    :L) ac_source=$1;;
 17788    :[FH])
 17789      ac_file_inputs=
 17790      for ac_f
 17791      do
 17792        case $ac_f in
 17793        -) ac_f="$ac_tmp/stdin";;
 17794        *) # Look for the file first in the build tree, then in the source tree
 17795  	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
 17796  	 # because $ac_f cannot contain `:'.
 17797  	 test -f "$ac_f" ||
 17798  	   case $ac_f in
 17799  	   [\\/$]*) false;;
 17800  	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 17801  	   esac ||
 17802  	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 17803        esac
 17804        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 17805        as_fn_append ac_file_inputs " '$ac_f'"
 17806      done
 17807  
 17808      # Let's still pretend it is `configure' which instantiates (i.e., don't
 17809      # use $as_me), people would be surprised to read:
 17810      #    /* config.h.  Generated by config.status.  */
 17811      configure_input='Generated from '`
 17812  	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 17813  	`' by configure.'
 17814      if test x"$ac_file" != x-; then
 17815        configure_input="$ac_file.  $configure_input"
 17816        { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 17817  $as_echo "$as_me: creating $ac_file" >&6;}
 17818      fi
 17819      # Neutralize special characters interpreted by sed in replacement strings.
 17820      case $configure_input in #(
 17821      *\&* | *\|* | *\\* )
 17822         ac_sed_conf_input=`$as_echo "$configure_input" |
 17823         sed 's/[\\\\&|]/\\\\&/g'`;; #(
 17824      *) ac_sed_conf_input=$configure_input;;
 17825      esac
 17826  
 17827      case $ac_tag in
 17828      *:-:* | *:-) cat >"$ac_tmp/stdin" \
 17829        || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
 17830      esac
 17831      ;;
 17832    esac
 17833  
 17834    ac_dir=`$as_dirname -- "$ac_file" ||
 17835  $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 17836  	 X"$ac_file" : 'X\(//\)[^/]' \| \
 17837  	 X"$ac_file" : 'X\(//\)$' \| \
 17838  	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 17839  $as_echo X"$ac_file" |
 17840      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 17841  	    s//\1/
 17842  	    q
 17843  	  }
 17844  	  /^X\(\/\/\)[^/].*/{
 17845  	    s//\1/
 17846  	    q
 17847  	  }
 17848  	  /^X\(\/\/\)$/{
 17849  	    s//\1/
 17850  	    q
 17851  	  }
 17852  	  /^X\(\/\).*/{
 17853  	    s//\1/
 17854  	    q
 17855  	  }
 17856  	  s/.*/./; q'`
 17857    as_dir="$ac_dir"; as_fn_mkdir_p
 17858    ac_builddir=.
 17859  
 17860  case "$ac_dir" in
 17861  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 17862  *)
 17863    ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 17864    # A ".." for each directory in $ac_dir_suffix.
 17865    ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 17866    case $ac_top_builddir_sub in
 17867    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 17868    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 17869    esac ;;
 17870  esac
 17871  ac_abs_top_builddir=$ac_pwd
 17872  ac_abs_builddir=$ac_pwd$ac_dir_suffix
 17873  # for backward compatibility:
 17874  ac_top_builddir=$ac_top_build_prefix
 17875  
 17876  case $srcdir in
 17877    .)  # We are building in place.
 17878      ac_srcdir=.
 17879      ac_top_srcdir=$ac_top_builddir_sub
 17880      ac_abs_top_srcdir=$ac_pwd ;;
 17881    [\\/]* | ?:[\\/]* )  # Absolute name.
 17882      ac_srcdir=$srcdir$ac_dir_suffix;
 17883      ac_top_srcdir=$srcdir
 17884      ac_abs_top_srcdir=$srcdir ;;
 17885    *) # Relative name.
 17886      ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 17887      ac_top_srcdir=$ac_top_build_prefix$srcdir
 17888      ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 17889  esac
 17890  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 17891  
 17892  
 17893    case $ac_mode in
 17894    :F)
 17895    #
 17896    # CONFIG_FILE
 17897    #
 17898  
 17899    case $INSTALL in
 17900    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 17901    *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 17902    esac
 17903    ac_MKDIR_P=$MKDIR_P
 17904    case $MKDIR_P in
 17905    [\\/$]* | ?:[\\/]* ) ;;
 17906    */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 17907    esac
 17908  _ACEOF
 17909  
 17910  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 17911  # If the template does not know about datarootdir, expand it.
 17912  # FIXME: This hack should be removed a few years after 2.60.
 17913  ac_datarootdir_hack=; ac_datarootdir_seen=
 17914  ac_sed_dataroot='
 17915  /datarootdir/ {
 17916    p
 17917    q
 17918  }
 17919  /@datadir@/p
 17920  /@docdir@/p
 17921  /@infodir@/p
 17922  /@localedir@/p
 17923  /@mandir@/p'
 17924  case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 17925  *datarootdir*) ac_datarootdir_seen=yes;;
 17926  *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 17927    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 17928  $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 17929  _ACEOF
 17930  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 17931    ac_datarootdir_hack='
 17932    s&@datadir@&$datadir&g
 17933    s&@docdir@&$docdir&g
 17934    s&@infodir@&$infodir&g
 17935    s&@localedir@&$localedir&g
 17936    s&@mandir@&$mandir&g
 17937    s&\\\${datarootdir}&$datarootdir&g' ;;
 17938  esac
 17939  _ACEOF
 17940  
 17941  # Neutralize VPATH when `$srcdir' = `.'.
 17942  # Shell code in configure.ac might set extrasub.
 17943  # FIXME: do we really want to maintain this feature?
 17944  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 17945  ac_sed_extra="$ac_vpsub
 17946  $extrasub
 17947  _ACEOF
 17948  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 17949  :t
 17950  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 17951  s|@configure_input@|$ac_sed_conf_input|;t t
 17952  s&@top_builddir@&$ac_top_builddir_sub&;t t
 17953  s&@top_build_prefix@&$ac_top_build_prefix&;t t
 17954  s&@srcdir@&$ac_srcdir&;t t
 17955  s&@abs_srcdir@&$ac_abs_srcdir&;t t
 17956  s&@top_srcdir@&$ac_top_srcdir&;t t
 17957  s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 17958  s&@builddir@&$ac_builddir&;t t
 17959  s&@abs_builddir@&$ac_abs_builddir&;t t
 17960  s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 17961  s&@INSTALL@&$ac_INSTALL&;t t
 17962  s&@MKDIR_P@&$ac_MKDIR_P&;t t
 17963  $ac_datarootdir_hack
 17964  "
 17965  eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 17966    >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 17967  
 17968  test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 17969    { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 17970    { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
 17971        "$ac_tmp/out"`; test -z "$ac_out"; } &&
 17972    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 17973  which seems to be undefined.  Please make sure it is defined" >&5
 17974  $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 17975  which seems to be undefined.  Please make sure it is defined" >&2;}
 17976  
 17977    rm -f "$ac_tmp/stdin"
 17978    case $ac_file in
 17979    -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 17980    *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 17981    esac \
 17982    || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 17983   ;;
 17984    :H)
 17985    #
 17986    # CONFIG_HEADER
 17987    #
 17988    if test x"$ac_file" != x-; then
 17989      {
 17990        $as_echo "/* $configure_input  */" \
 17991        && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 17992      } >"$ac_tmp/config.h" \
 17993        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 17994      if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 17995        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 17996  $as_echo "$as_me: $ac_file is unchanged" >&6;}
 17997      else
 17998        rm -f "$ac_file"
 17999        mv "$ac_tmp/config.h" "$ac_file" \
 18000  	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
 18001      fi
 18002    else
 18003      $as_echo "/* $configure_input  */" \
 18004        && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 18005        || as_fn_error $? "could not create -" "$LINENO" 5
 18006    fi
 18007  # Compute "$ac_file"'s index in $config_headers.
 18008  _am_arg="$ac_file"
 18009  _am_stamp_count=1
 18010  for _am_header in $config_headers :; do
 18011    case $_am_header in
 18012      $_am_arg | $_am_arg:* )
 18013        break ;;
 18014      * )
 18015        _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 18016    esac
 18017  done
 18018  echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 18019  $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 18020  	 X"$_am_arg" : 'X\(//\)[^/]' \| \
 18021  	 X"$_am_arg" : 'X\(//\)$' \| \
 18022  	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 18023  $as_echo X"$_am_arg" |
 18024      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 18025  	    s//\1/
 18026  	    q
 18027  	  }
 18028  	  /^X\(\/\/\)[^/].*/{
 18029  	    s//\1/
 18030  	    q
 18031  	  }
 18032  	  /^X\(\/\/\)$/{
 18033  	    s//\1/
 18034  	    q
 18035  	  }
 18036  	  /^X\(\/\).*/{
 18037  	    s//\1/
 18038  	    q
 18039  	  }
 18040  	  s/.*/./; q'`/stamp-h$_am_stamp_count
 18041   ;;
 18042  
 18043    :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 18044  $as_echo "$as_me: executing $ac_file commands" >&6;}
 18045   ;;
 18046    esac
 18047  
 18048  
 18049    case $ac_file$ac_mode in
 18050      "default-1":C)
 18051  # Only add multilib support code if we just rebuilt the top-level
 18052  # Makefile.
 18053  case " $CONFIG_FILES " in
 18054   *" Makefile "*)
 18055     ac_file=Makefile . ${multi_basedir}/config-ml.in
 18056     ;;
 18057  esac ;;
 18058      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 18059    # Older Autoconf quotes --file arguments for eval, but not when files
 18060    # are listed without --file.  Let's play safe and only enable the eval
 18061    # if we detect the quoting.
 18062    case $CONFIG_FILES in
 18063    *\'*) eval set x "$CONFIG_FILES" ;;
 18064    *)   set x $CONFIG_FILES ;;
 18065    esac
 18066    shift
 18067    for mf
 18068    do
 18069      # Strip MF so we end up with the name of the file.
 18070      mf=`echo "$mf" | sed -e 's/:.*$//'`
 18071      # Check whether this is an Automake generated Makefile or not.
 18072      # We used to match only the files named 'Makefile.in', but
 18073      # some people rename them; so instead we look at the file content.
 18074      # Grep'ing the first line is not enough: some people post-process
 18075      # each Makefile.in and add a new line on top of each file to say so.
 18076      # Grep'ing the whole file is not good either: AIX grep has a line
 18077      # limit of 2048, but all sed's we know have understand at least 4000.
 18078      if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 18079        dirpart=`$as_dirname -- "$mf" ||
 18080  $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 18081  	 X"$mf" : 'X\(//\)[^/]' \| \
 18082  	 X"$mf" : 'X\(//\)$' \| \
 18083  	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 18084  $as_echo X"$mf" |
 18085      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 18086  	    s//\1/
 18087  	    q
 18088  	  }
 18089  	  /^X\(\/\/\)[^/].*/{
 18090  	    s//\1/
 18091  	    q
 18092  	  }
 18093  	  /^X\(\/\/\)$/{
 18094  	    s//\1/
 18095  	    q
 18096  	  }
 18097  	  /^X\(\/\).*/{
 18098  	    s//\1/
 18099  	    q
 18100  	  }
 18101  	  s/.*/./; q'`
 18102      else
 18103        continue
 18104      fi
 18105      # Extract the definition of DEPDIR, am__include, and am__quote
 18106      # from the Makefile without running 'make'.
 18107      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 18108      test -z "$DEPDIR" && continue
 18109      am__include=`sed -n 's/^am__include = //p' < "$mf"`
 18110      test -z "$am__include" && continue
 18111      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 18112      # Find all dependency output files, they are included files with
 18113      # $(DEPDIR) in their names.  We invoke sed twice because it is the
 18114      # simplest approach to changing $(DEPDIR) to its actual value in the
 18115      # expansion.
 18116      for file in `sed -n "
 18117        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 18118  	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
 18119        # Make sure the directory exists.
 18120        test -f "$dirpart/$file" && continue
 18121        fdir=`$as_dirname -- "$file" ||
 18122  $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 18123  	 X"$file" : 'X\(//\)[^/]' \| \
 18124  	 X"$file" : 'X\(//\)$' \| \
 18125  	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 18126  $as_echo X"$file" |
 18127      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 18128  	    s//\1/
 18129  	    q
 18130  	  }
 18131  	  /^X\(\/\/\)[^/].*/{
 18132  	    s//\1/
 18133  	    q
 18134  	  }
 18135  	  /^X\(\/\/\)$/{
 18136  	    s//\1/
 18137  	    q
 18138  	  }
 18139  	  /^X\(\/\).*/{
 18140  	    s//\1/
 18141  	    q
 18142  	  }
 18143  	  s/.*/./; q'`
 18144        as_dir=$dirpart/$fdir; as_fn_mkdir_p
 18145        # echo "creating $dirpart/$file"
 18146        echo '# dummy' > "$dirpart/$file"
 18147      done
 18148    done
 18149  }
 18150   ;;
 18151      "libtool":C)
 18152  
 18153      # See if we are running on zsh, and set the options which allow our
 18154      # commands through without removal of \ escapes.
 18155      if test -n "${ZSH_VERSION+set}" ; then
 18156        setopt NO_GLOB_SUBST
 18157      fi
 18158  
 18159      cfgfile="${ofile}T"
 18160      trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 18161      $RM "$cfgfile"
 18162  
 18163      cat <<_LT_EOF >> "$cfgfile"
 18164  #! $SHELL
 18165  
 18166  # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 18167  # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 18168  # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 18169  # NOTE: Changes made to this file will be lost: look at ltmain.sh.
 18170  #
 18171  #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 18172  #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
 18173  #   Written by Gordon Matzigkeit, 1996
 18174  #
 18175  #   This file is part of GNU Libtool.
 18176  #
 18177  # GNU Libtool is free software; you can redistribute it and/or
 18178  # modify it under the terms of the GNU General Public License as
 18179  # published by the Free Software Foundation; either version 2 of
 18180  # the License, or (at your option) any later version.
 18181  #
 18182  # As a special exception to the GNU General Public License,
 18183  # if you distribute this file as part of a program or library that
 18184  # is built using GNU Libtool, you may include this file under the
 18185  # same distribution terms that you use for the rest of that program.
 18186  #
 18187  # GNU Libtool is distributed in the hope that it will be useful,
 18188  # but WITHOUT ANY WARRANTY; without even the implied warranty of
 18189  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 18190  # GNU General Public License for more details.
 18191  #
 18192  # You should have received a copy of the GNU General Public License
 18193  # along with GNU Libtool; see the file COPYING.  If not, a copy
 18194  # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 18195  # obtained by writing to the Free Software Foundation, Inc.,
 18196  # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 18197  
 18198  
 18199  # The names of the tagged configurations supported by this script.
 18200  available_tags="GO "
 18201  
 18202  # ### BEGIN LIBTOOL CONFIG
 18203  
 18204  # A sed program that does not truncate output.
 18205  SED=$lt_SED
 18206  
 18207  # Sed that helps us avoid accidentally triggering echo(1) options like -n.
 18208  Xsed="\$SED -e 1s/^X//"
 18209  
 18210  # A grep program that handles long lines.
 18211  GREP=$lt_GREP
 18212  
 18213  # An ERE matcher.
 18214  EGREP=$lt_EGREP
 18215  
 18216  # A literal string matcher.
 18217  FGREP=$lt_FGREP
 18218  
 18219  # Shell to use when invoking shell scripts.
 18220  SHELL=$lt_SHELL
 18221  
 18222  # An echo program that protects backslashes.
 18223  ECHO=$lt_ECHO
 18224  
 18225  # Which release of libtool.m4 was used?
 18226  macro_version=$macro_version
 18227  macro_revision=$macro_revision
 18228  
 18229  # Whether or not to build shared libraries.
 18230  build_libtool_libs=$enable_shared
 18231  
 18232  # Whether or not to build static libraries.
 18233  build_old_libs=$enable_static
 18234  
 18235  # What type of objects to build.
 18236  pic_mode=$pic_mode
 18237  
 18238  # Whether or not to optimize for fast installation.
 18239  fast_install=$enable_fast_install
 18240  
 18241  # The host system.
 18242  host_alias=$host_alias
 18243  host=$host
 18244  host_os=$host_os
 18245  
 18246  # The build system.
 18247  build_alias=$build_alias
 18248  build=$build
 18249  build_os=$build_os
 18250  
 18251  # A BSD- or MS-compatible name lister.
 18252  NM=$lt_NM
 18253  
 18254  # Whether we need soft or hard links.
 18255  LN_S=$lt_LN_S
 18256  
 18257  # What is the maximum length of a command?
 18258  max_cmd_len=$max_cmd_len
 18259  
 18260  # Object file suffix (normally "o").
 18261  objext=$ac_objext
 18262  
 18263  # Executable file suffix (normally "").
 18264  exeext=$exeext
 18265  
 18266  # whether the shell understands "unset".
 18267  lt_unset=$lt_unset
 18268  
 18269  # turn spaces into newlines.
 18270  SP2NL=$lt_lt_SP2NL
 18271  
 18272  # turn newlines into spaces.
 18273  NL2SP=$lt_lt_NL2SP
 18274  
 18275  # An object symbol dumper.
 18276  OBJDUMP=$lt_OBJDUMP
 18277  
 18278  # Method to check whether dependent libraries are shared objects.
 18279  deplibs_check_method=$lt_deplibs_check_method
 18280  
 18281  # Command to use when deplibs_check_method == "file_magic".
 18282  file_magic_cmd=$lt_file_magic_cmd
 18283  
 18284  # The archiver.
 18285  AR=$lt_AR
 18286  AR_FLAGS=$lt_AR_FLAGS
 18287  
 18288  # A symbol stripping program.
 18289  STRIP=$lt_STRIP
 18290  
 18291  # Commands used to install an old-style archive.
 18292  RANLIB=$lt_RANLIB
 18293  old_postinstall_cmds=$lt_old_postinstall_cmds
 18294  old_postuninstall_cmds=$lt_old_postuninstall_cmds
 18295  
 18296  # Whether to use a lock for old archive extraction.
 18297  lock_old_archive_extraction=$lock_old_archive_extraction
 18298  
 18299  # A C compiler.
 18300  LTCC=$lt_CC
 18301  
 18302  # LTCC compiler flags.
 18303  LTCFLAGS=$lt_CFLAGS
 18304  
 18305  # Take the output of nm and produce a listing of raw symbols and C names.
 18306  global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 18307  
 18308  # Transform the output of nm in a proper C declaration.
 18309  global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 18310  
 18311  # Transform the output of nm in a C name address pair.
 18312  global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 18313  
 18314  # Transform the output of nm in a C name address pair when lib prefix is needed.
 18315  global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 18316  
 18317  # The name of the directory that contains temporary libtool files.
 18318  objdir=$objdir
 18319  
 18320  # Used to examine libraries when file_magic_cmd begins with "file".
 18321  MAGIC_CMD=$MAGIC_CMD
 18322  
 18323  # Must we lock files when doing compilation?
 18324  need_locks=$lt_need_locks
 18325  
 18326  # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 18327  DSYMUTIL=$lt_DSYMUTIL
 18328  
 18329  # Tool to change global to local symbols on Mac OS X.
 18330  NMEDIT=$lt_NMEDIT
 18331  
 18332  # Tool to manipulate fat objects and archives on Mac OS X.
 18333  LIPO=$lt_LIPO
 18334  
 18335  # ldd/readelf like tool for Mach-O binaries on Mac OS X.
 18336  OTOOL=$lt_OTOOL
 18337  
 18338  # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 18339  OTOOL64=$lt_OTOOL64
 18340  
 18341  # Old archive suffix (normally "a").
 18342  libext=$libext
 18343  
 18344  # Shared library suffix (normally ".so").
 18345  shrext_cmds=$lt_shrext_cmds
 18346  
 18347  # The commands to extract the exported symbol list from a shared archive.
 18348  extract_expsyms_cmds=$lt_extract_expsyms_cmds
 18349  
 18350  # Variables whose values should be saved in libtool wrapper scripts and
 18351  # restored at link time.
 18352  variables_saved_for_relink=$lt_variables_saved_for_relink
 18353  
 18354  # Do we need the "lib" prefix for modules?
 18355  need_lib_prefix=$need_lib_prefix
 18356  
 18357  # Do we need a version for libraries?
 18358  need_version=$need_version
 18359  
 18360  # Library versioning type.
 18361  version_type=$version_type
 18362  
 18363  # Shared library runtime path variable.
 18364  runpath_var=$runpath_var
 18365  
 18366  # Shared library path variable.
 18367  shlibpath_var=$shlibpath_var
 18368  
 18369  # Is shlibpath searched before the hard-coded library search path?
 18370  shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 18371  
 18372  # Format of library name prefix.
 18373  libname_spec=$lt_libname_spec
 18374  
 18375  # List of archive names.  First name is the real one, the rest are links.
 18376  # The last name is the one that the linker finds with -lNAME
 18377  library_names_spec=$lt_library_names_spec
 18378  
 18379  # The coded name of the library, if different from the real name.
 18380  soname_spec=$lt_soname_spec
 18381  
 18382  # Permission mode override for installation of shared libraries.
 18383  install_override_mode=$lt_install_override_mode
 18384  
 18385  # Command to use after installation of a shared archive.
 18386  postinstall_cmds=$lt_postinstall_cmds
 18387  
 18388  # Command to use after uninstallation of a shared archive.
 18389  postuninstall_cmds=$lt_postuninstall_cmds
 18390  
 18391  # Commands used to finish a libtool library installation in a directory.
 18392  finish_cmds=$lt_finish_cmds
 18393  
 18394  # As "finish_cmds", except a single script fragment to be evaled but
 18395  # not shown.
 18396  finish_eval=$lt_finish_eval
 18397  
 18398  # Whether we should hardcode library paths into libraries.
 18399  hardcode_into_libs=$hardcode_into_libs
 18400  
 18401  # Compile-time system search path for libraries.
 18402  sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 18403  
 18404  # Run-time system search path for libraries.
 18405  sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 18406  
 18407  # Whether dlopen is supported.
 18408  dlopen_support=$enable_dlopen
 18409  
 18410  # Whether dlopen of programs is supported.
 18411  dlopen_self=$enable_dlopen_self
 18412  
 18413  # Whether dlopen of statically linked programs is supported.
 18414  dlopen_self_static=$enable_dlopen_self_static
 18415  
 18416  # Commands to strip libraries.
 18417  old_striplib=$lt_old_striplib
 18418  striplib=$lt_striplib
 18419  
 18420  
 18421  # The linker used to build libraries.
 18422  LD=$lt_LD
 18423  
 18424  # How to create reloadable object files.
 18425  reload_flag=$lt_reload_flag
 18426  reload_cmds=$lt_reload_cmds
 18427  
 18428  # Commands used to build an old-style archive.
 18429  old_archive_cmds=$lt_old_archive_cmds
 18430  
 18431  # A language specific compiler.
 18432  CC=$lt_compiler
 18433  
 18434  # Is the compiler the GNU compiler?
 18435  with_gcc=$GCC
 18436  
 18437  # Compiler flag to turn off builtin functions.
 18438  no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 18439  
 18440  # How to pass a linker flag through the compiler.
 18441  wl=$lt_lt_prog_compiler_wl
 18442  
 18443  # Additional compiler flags for building library objects.
 18444  pic_flag=$lt_lt_prog_compiler_pic
 18445  
 18446  # Compiler flag to prevent dynamic linking.
 18447  link_static_flag=$lt_lt_prog_compiler_static
 18448  
 18449  # Does compiler simultaneously support -c and -o options?
 18450  compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 18451  
 18452  # Whether or not to add -lc for building shared libraries.
 18453  build_libtool_need_lc=$archive_cmds_need_lc
 18454  
 18455  # Whether or not to disallow shared libs when runtime libs are static.
 18456  allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 18457  
 18458  # Compiler flag to allow reflexive dlopens.
 18459  export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 18460  
 18461  # Compiler flag to generate shared objects directly from archives.
 18462  whole_archive_flag_spec=$lt_whole_archive_flag_spec
 18463  
 18464  # Whether the compiler copes with passing no objects directly.
 18465  compiler_needs_object=$lt_compiler_needs_object
 18466  
 18467  # Create an old-style archive from a shared archive.
 18468  old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 18469  
 18470  # Create a temporary old-style archive to link instead of a shared archive.
 18471  old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 18472  
 18473  # Commands used to build a shared archive.
 18474  archive_cmds=$lt_archive_cmds
 18475  archive_expsym_cmds=$lt_archive_expsym_cmds
 18476  
 18477  # Commands used to build a loadable module if different from building
 18478  # a shared archive.
 18479  module_cmds=$lt_module_cmds
 18480  module_expsym_cmds=$lt_module_expsym_cmds
 18481  
 18482  # Whether we are building with GNU ld or not.
 18483  with_gnu_ld=$lt_with_gnu_ld
 18484  
 18485  # Flag that allows shared libraries with undefined symbols to be built.
 18486  allow_undefined_flag=$lt_allow_undefined_flag
 18487  
 18488  # Flag that enforces no undefined symbols.
 18489  no_undefined_flag=$lt_no_undefined_flag
 18490  
 18491  # Flag to hardcode \$libdir into a binary during linking.
 18492  # This must work even if \$libdir does not exist
 18493  hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 18494  
 18495  # If ld is used when linking, flag to hardcode \$libdir into a binary
 18496  # during linking.  This must work even if \$libdir does not exist.
 18497  hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 18498  
 18499  # Whether we need a single "-rpath" flag with a separated argument.
 18500  hardcode_libdir_separator=$lt_hardcode_libdir_separator
 18501  
 18502  # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 18503  # DIR into the resulting binary.
 18504  hardcode_direct=$hardcode_direct
 18505  
 18506  # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 18507  # DIR into the resulting binary and the resulting library dependency is
 18508  # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 18509  # library is relocated.
 18510  hardcode_direct_absolute=$hardcode_direct_absolute
 18511  
 18512  # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 18513  # into the resulting binary.
 18514  hardcode_minus_L=$hardcode_minus_L
 18515  
 18516  # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 18517  # into the resulting binary.
 18518  hardcode_shlibpath_var=$hardcode_shlibpath_var
 18519  
 18520  # Set to "yes" if building a shared library automatically hardcodes DIR
 18521  # into the library and all subsequent libraries and executables linked
 18522  # against it.
 18523  hardcode_automatic=$hardcode_automatic
 18524  
 18525  # Set to yes if linker adds runtime paths of dependent libraries
 18526  # to runtime path list.
 18527  inherit_rpath=$inherit_rpath
 18528  
 18529  # Whether libtool must link a program against all its dependency libraries.
 18530  link_all_deplibs=$link_all_deplibs
 18531  
 18532  # Fix the shell variable \$srcfile for the compiler.
 18533  fix_srcfile_path=$lt_fix_srcfile_path
 18534  
 18535  # Set to "yes" if exported symbols are required.
 18536  always_export_symbols=$always_export_symbols
 18537  
 18538  # The commands to list exported symbols.
 18539  export_symbols_cmds=$lt_export_symbols_cmds
 18540  
 18541  # Symbols that should not be listed in the preloaded symbols.
 18542  exclude_expsyms=$lt_exclude_expsyms
 18543  
 18544  # Symbols that must always be exported.
 18545  include_expsyms=$lt_include_expsyms
 18546  
 18547  # Commands necessary for linking programs (against libraries) with templates.
 18548  prelink_cmds=$lt_prelink_cmds
 18549  
 18550  # Specify filename containing input files.
 18551  file_list_spec=$lt_file_list_spec
 18552  
 18553  # How to hardcode a shared library path into an executable.
 18554  hardcode_action=$hardcode_action
 18555  
 18556  # ### END LIBTOOL CONFIG
 18557  
 18558  _LT_EOF
 18559  
 18560    case $host_os in
 18561    aix3*)
 18562      cat <<\_LT_EOF >> "$cfgfile"
 18563  # AIX sometimes has problems with the GCC collect2 program.  For some
 18564  # reason, if we set the COLLECT_NAMES environment variable, the problems
 18565  # vanish in a puff of smoke.
 18566  if test "X${COLLECT_NAMES+set}" != Xset; then
 18567    COLLECT_NAMES=
 18568    export COLLECT_NAMES
 18569  fi
 18570  _LT_EOF
 18571      ;;
 18572    esac
 18573  
 18574  
 18575  ltmain="$ac_aux_dir/ltmain.sh"
 18576  
 18577  
 18578    # We use sed instead of cat because bash on DJGPP gets confused if
 18579    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 18580    # text mode, it properly converts lines to CR/LF.  This bash problem
 18581    # is reportedly fixed, but why not run on old versions too?
 18582    sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 18583      || (rm -f "$cfgfile"; exit 1)
 18584  
 18585    case $xsi_shell in
 18586    yes)
 18587      cat << \_LT_EOF >> "$cfgfile"
 18588  
 18589  # func_dirname file append nondir_replacement
 18590  # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 18591  # otherwise set result to NONDIR_REPLACEMENT.
 18592  func_dirname ()
 18593  {
 18594    case ${1} in
 18595      */*) func_dirname_result="${1%/*}${2}" ;;
 18596      *  ) func_dirname_result="${3}" ;;
 18597    esac
 18598  }
 18599  
 18600  # func_basename file
 18601  func_basename ()
 18602  {
 18603    func_basename_result="${1##*/}"
 18604  }
 18605  
 18606  # func_dirname_and_basename file append nondir_replacement
 18607  # perform func_basename and func_dirname in a single function
 18608  # call:
 18609  #   dirname:  Compute the dirname of FILE.  If nonempty,
 18610  #             add APPEND to the result, otherwise set result
 18611  #             to NONDIR_REPLACEMENT.
 18612  #             value returned in "$func_dirname_result"
 18613  #   basename: Compute filename of FILE.
 18614  #             value retuned in "$func_basename_result"
 18615  # Implementation must be kept synchronized with func_dirname
 18616  # and func_basename. For efficiency, we do not delegate to
 18617  # those functions but instead duplicate the functionality here.
 18618  func_dirname_and_basename ()
 18619  {
 18620    case ${1} in
 18621      */*) func_dirname_result="${1%/*}${2}" ;;
 18622      *  ) func_dirname_result="${3}" ;;
 18623    esac
 18624    func_basename_result="${1##*/}"
 18625  }
 18626  
 18627  # func_stripname prefix suffix name
 18628  # strip PREFIX and SUFFIX off of NAME.
 18629  # PREFIX and SUFFIX must not contain globbing or regex special
 18630  # characters, hashes, percent signs, but SUFFIX may contain a leading
 18631  # dot (in which case that matches only a dot).
 18632  func_stripname ()
 18633  {
 18634    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 18635    # positional parameters, so assign one to ordinary parameter first.
 18636    func_stripname_result=${3}
 18637    func_stripname_result=${func_stripname_result#"${1}"}
 18638    func_stripname_result=${func_stripname_result%"${2}"}
 18639  }
 18640  
 18641  # func_opt_split
 18642  func_opt_split ()
 18643  {
 18644    func_opt_split_opt=${1%%=*}
 18645    func_opt_split_arg=${1#*=}
 18646  }
 18647  
 18648  # func_lo2o object
 18649  func_lo2o ()
 18650  {
 18651    case ${1} in
 18652      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 18653      *)    func_lo2o_result=${1} ;;
 18654    esac
 18655  }
 18656  
 18657  # func_xform libobj-or-source
 18658  func_xform ()
 18659  {
 18660    func_xform_result=${1%.*}.lo
 18661  }
 18662  
 18663  # func_arith arithmetic-term...
 18664  func_arith ()
 18665  {
 18666    func_arith_result=$(( $* ))
 18667  }
 18668  
 18669  # func_len string
 18670  # STRING may not start with a hyphen.
 18671  func_len ()
 18672  {
 18673    func_len_result=${#1}
 18674  }
 18675  
 18676  _LT_EOF
 18677      ;;
 18678    *) # Bourne compatible functions.
 18679      cat << \_LT_EOF >> "$cfgfile"
 18680  
 18681  # func_dirname file append nondir_replacement
 18682  # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 18683  # otherwise set result to NONDIR_REPLACEMENT.
 18684  func_dirname ()
 18685  {
 18686    # Extract subdirectory from the argument.
 18687    func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
 18688    if test "X$func_dirname_result" = "X${1}"; then
 18689      func_dirname_result="${3}"
 18690    else
 18691      func_dirname_result="$func_dirname_result${2}"
 18692    fi
 18693  }
 18694  
 18695  # func_basename file
 18696  func_basename ()
 18697  {
 18698    func_basename_result=`$ECHO "${1}" | $SED "$basename"`
 18699  }
 18700  
 18701  
 18702  # func_stripname prefix suffix name
 18703  # strip PREFIX and SUFFIX off of NAME.
 18704  # PREFIX and SUFFIX must not contain globbing or regex special
 18705  # characters, hashes, percent signs, but SUFFIX may contain a leading
 18706  # dot (in which case that matches only a dot).
 18707  # func_strip_suffix prefix name
 18708  func_stripname ()
 18709  {
 18710    case ${2} in
 18711      .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
 18712      *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
 18713    esac
 18714  }
 18715  
 18716  # sed scripts:
 18717  my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 18718  my_sed_long_arg='1s/^-[^=]*=//'
 18719  
 18720  # func_opt_split
 18721  func_opt_split ()
 18722  {
 18723    func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
 18724    func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
 18725  }
 18726  
 18727  # func_lo2o object
 18728  func_lo2o ()
 18729  {
 18730    func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
 18731  }
 18732  
 18733  # func_xform libobj-or-source
 18734  func_xform ()
 18735  {
 18736    func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
 18737  }
 18738  
 18739  # func_arith arithmetic-term...
 18740  func_arith ()
 18741  {
 18742    func_arith_result=`expr "$@"`
 18743  }
 18744  
 18745  # func_len string
 18746  # STRING may not start with a hyphen.
 18747  func_len ()
 18748  {
 18749    func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 18750  }
 18751  
 18752  _LT_EOF
 18753  esac
 18754  
 18755  case $lt_shell_append in
 18756    yes)
 18757      cat << \_LT_EOF >> "$cfgfile"
 18758  
 18759  # func_append var value
 18760  # Append VALUE to the end of shell variable VAR.
 18761  func_append ()
 18762  {
 18763    eval "$1+=\$2"
 18764  }
 18765  _LT_EOF
 18766      ;;
 18767    *)
 18768      cat << \_LT_EOF >> "$cfgfile"
 18769  
 18770  # func_append var value
 18771  # Append VALUE to the end of shell variable VAR.
 18772  func_append ()
 18773  {
 18774    eval "$1=\$$1\$2"
 18775  }
 18776  
 18777  _LT_EOF
 18778      ;;
 18779    esac
 18780  
 18781  
 18782    sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 18783      || (rm -f "$cfgfile"; exit 1)
 18784  
 18785    mv -f "$cfgfile" "$ofile" ||
 18786      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 18787    chmod +x "$ofile"
 18788  
 18789  
 18790      cat <<_LT_EOF >> "$ofile"
 18791  
 18792  # ### BEGIN LIBTOOL TAG CONFIG: GO
 18793  
 18794  # The linker used to build libraries.
 18795  LD=$lt_LD_GO
 18796  
 18797  # How to create reloadable object files.
 18798  reload_flag=$lt_reload_flag_GO
 18799  reload_cmds=$lt_reload_cmds_GO
 18800  
 18801  # Commands used to build an old-style archive.
 18802  old_archive_cmds=$lt_old_archive_cmds_GO
 18803  
 18804  # A language specific compiler.
 18805  CC=$lt_compiler_GO
 18806  
 18807  # Is the compiler the GNU compiler?
 18808  with_gcc=$GCC_GO
 18809  
 18810  # Compiler flag to turn off builtin functions.
 18811  no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GO
 18812  
 18813  # How to pass a linker flag through the compiler.
 18814  wl=$lt_lt_prog_compiler_wl_GO
 18815  
 18816  # Additional compiler flags for building library objects.
 18817  pic_flag=$lt_lt_prog_compiler_pic_GO
 18818  
 18819  # Compiler flag to prevent dynamic linking.
 18820  link_static_flag=$lt_lt_prog_compiler_static_GO
 18821  
 18822  # Does compiler simultaneously support -c and -o options?
 18823  compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GO
 18824  
 18825  # Whether or not to add -lc for building shared libraries.
 18826  build_libtool_need_lc=$archive_cmds_need_lc_GO
 18827  
 18828  # Whether or not to disallow shared libs when runtime libs are static.
 18829  allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GO
 18830  
 18831  # Compiler flag to allow reflexive dlopens.
 18832  export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GO
 18833  
 18834  # Compiler flag to generate shared objects directly from archives.
 18835  whole_archive_flag_spec=$lt_whole_archive_flag_spec_GO
 18836  
 18837  # Whether the compiler copes with passing no objects directly.
 18838  compiler_needs_object=$lt_compiler_needs_object_GO
 18839  
 18840  # Create an old-style archive from a shared archive.
 18841  old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GO
 18842  
 18843  # Create a temporary old-style archive to link instead of a shared archive.
 18844  old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GO
 18845  
 18846  # Commands used to build a shared archive.
 18847  archive_cmds=$lt_archive_cmds_GO
 18848  archive_expsym_cmds=$lt_archive_expsym_cmds_GO
 18849  
 18850  # Commands used to build a loadable module if different from building
 18851  # a shared archive.
 18852  module_cmds=$lt_module_cmds_GO
 18853  module_expsym_cmds=$lt_module_expsym_cmds_GO
 18854  
 18855  # Whether we are building with GNU ld or not.
 18856  with_gnu_ld=$lt_with_gnu_ld_GO
 18857  
 18858  # Flag that allows shared libraries with undefined symbols to be built.
 18859  allow_undefined_flag=$lt_allow_undefined_flag_GO
 18860  
 18861  # Flag that enforces no undefined symbols.
 18862  no_undefined_flag=$lt_no_undefined_flag_GO
 18863  
 18864  # Flag to hardcode \$libdir into a binary during linking.
 18865  # This must work even if \$libdir does not exist
 18866  hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GO
 18867  
 18868  # If ld is used when linking, flag to hardcode \$libdir into a binary
 18869  # during linking.  This must work even if \$libdir does not exist.
 18870  hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GO
 18871  
 18872  # Whether we need a single "-rpath" flag with a separated argument.
 18873  hardcode_libdir_separator=$lt_hardcode_libdir_separator_GO
 18874  
 18875  # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 18876  # DIR into the resulting binary.
 18877  hardcode_direct=$hardcode_direct_GO
 18878  
 18879  # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 18880  # DIR into the resulting binary and the resulting library dependency is
 18881  # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 18882  # library is relocated.
 18883  hardcode_direct_absolute=$hardcode_direct_absolute_GO
 18884  
 18885  # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 18886  # into the resulting binary.
 18887  hardcode_minus_L=$hardcode_minus_L_GO
 18888  
 18889  # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 18890  # into the resulting binary.
 18891  hardcode_shlibpath_var=$hardcode_shlibpath_var_GO
 18892  
 18893  # Set to "yes" if building a shared library automatically hardcodes DIR
 18894  # into the library and all subsequent libraries and executables linked
 18895  # against it.
 18896  hardcode_automatic=$hardcode_automatic_GO
 18897  
 18898  # Set to yes if linker adds runtime paths of dependent libraries
 18899  # to runtime path list.
 18900  inherit_rpath=$inherit_rpath_GO
 18901  
 18902  # Whether libtool must link a program against all its dependency libraries.
 18903  link_all_deplibs=$link_all_deplibs_GO
 18904  
 18905  # Fix the shell variable \$srcfile for the compiler.
 18906  fix_srcfile_path=$lt_fix_srcfile_path_GO
 18907  
 18908  # Set to "yes" if exported symbols are required.
 18909  always_export_symbols=$always_export_symbols_GO
 18910  
 18911  # The commands to list exported symbols.
 18912  export_symbols_cmds=$lt_export_symbols_cmds_GO
 18913  
 18914  # Symbols that should not be listed in the preloaded symbols.
 18915  exclude_expsyms=$lt_exclude_expsyms_GO
 18916  
 18917  # Symbols that must always be exported.
 18918  include_expsyms=$lt_include_expsyms_GO
 18919  
 18920  # Commands necessary for linking programs (against libraries) with templates.
 18921  prelink_cmds=$lt_prelink_cmds_GO
 18922  
 18923  # Specify filename containing input files.
 18924  file_list_spec=$lt_file_list_spec_GO
 18925  
 18926  # How to hardcode a shared library path into an executable.
 18927  hardcode_action=$hardcode_action_GO
 18928  
 18929  # ### END LIBTOOL TAG CONFIG: GO
 18930  _LT_EOF
 18931  
 18932   ;;
 18933      "default":C) if test -n "$CONFIG_FILES"; then
 18934     # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
 18935     # that multilib installs will end up installed in the correct place.
 18936     # The testsuite needs it for multilib-aware ABI baseline files.
 18937     # To work around this not being passed down from config-ml.in ->
 18938     # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
 18939     # append it here.  Only modify Makefiles that have just been created.
 18940     #
 18941     # Also, get rid of this simulated-VPATH thing that automake does.
 18942     cat > vpsed << \_EOF
 18943  s!`test -f '$<' || echo '$(srcdir)/'`!!
 18944  _EOF
 18945     for i in $SUBDIRS; do
 18946      case $CONFIG_FILES in
 18947       *${i}/Makefile*)
 18948         #echo "Adding MULTISUBDIR to $i/Makefile"
 18949         sed -f vpsed $i/Makefile > tmp
 18950         grep '^MULTISUBDIR =' Makefile >> tmp
 18951         mv tmp $i/Makefile
 18952         ;;
 18953      esac
 18954     done
 18955     rm vpsed
 18956   fi
 18957   ;;
 18958  
 18959    esac
 18960  done # for ac_tag
 18961  
 18962  
 18963  as_fn_exit 0
 18964  _ACEOF
 18965  ac_clean_files=$ac_clean_files_save
 18966  
 18967  test $ac_write_fail = 0 ||
 18968    as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 18969  
 18970  
 18971  # configure is writing to config.log, and then calls config.status.
 18972  # config.status does its own redirection, appending to config.log.
 18973  # Unfortunately, on DOS this fails, as config.log is still kept open
 18974  # by configure, so config.status won't be able to write to it; its
 18975  # output is simply discarded.  So we exec the FD to /dev/null,
 18976  # effectively closing config.log, so it can be properly (re)opened and
 18977  # appended to by config.status.  When coming back to configure, we
 18978  # need to make the FD available again.
 18979  if test "$no_create" != yes; then
 18980    ac_cs_success=:
 18981    ac_config_status_args=
 18982    test "$silent" = yes &&
 18983      ac_config_status_args="$ac_config_status_args --quiet"
 18984    exec 5>/dev/null
 18985    $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 18986    exec 5>>config.log
 18987    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 18988    # would make configure fail if this is the last instruction.
 18989    $ac_cs_success || as_fn_exit 1
 18990  fi
 18991  if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 18992    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 18993  $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 18994  fi
 18995