Ignore:
Timestamp:
Mar 2, 2017, 7:39:59 AM (9 years ago)
Author:
Frederik Heber <heber@…>
Branches:
Action_Thermostats, Add_AtomRandomPerturbation, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_StructOpt_integration_tests, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.6.0, Candidate_v1.6.1, Candidate_v1.7.0, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_ChronosMutex, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, GeometryObjects, Gui_displays_atomic_force_velocity, IndependentFragmentGrids_IntegrationTest, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, RotateToPrincipalAxisSystem_UndoRedo, StoppableMakroAction, Subpackage_levmar, Subpackage_vmg, ThirdParty_MPQC_rebuilt_buildsystem, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, Ubuntu_1604_changes, stable
Children:
73feb7
Parents:
860145
git-author:
Frederik Heber <heber@…> (11/16/16 11:14:10)
git-committer:
Frederik Heber <heber@…> (03/02/17 07:39:59)
Message:

Changes to mpqc_open to be usable as autoconf subdir.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/mpqc_open/configure

    r860145 r482400e  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.59.
     3# Generated by GNU Autoconf 2.69.
    44#
    5 # Copyright (C) 2003 Free Software Foundation, Inc.
     5#
     6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
     7#
     8#
    69# This configure script is free software; the Free Software Foundation
    710# gives unlimited permission to copy, distribute and modify it.
    8 ## --------------------- ##
    9 ## M4sh Initialization.  ##
    10 ## --------------------- ##
    11 
    12 # Be Bourne compatible
    13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     11## -------------------- ##
     12## M4sh Initialization. ##
     13## -------------------- ##
     14
     15# Be more Bourne compatible
     16DUALCASE=1; export DUALCASE # for MKS sh
     17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    1418  emulate sh
    1519  NULLCMD=:
    16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    1721  # is contrary to our usage.  Disable this feature.
    1822  alias -g '${1+"$@"}'='"$@"'
    19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    20   set -o posix
    21 fi
    22 DUALCASE=1; export DUALCASE # for MKS sh
    23 
    24 # Support unset when possible.
    25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    26   as_unset=unset
    27 else
    28   as_unset=false
    29 fi
    30 
    31 
    32 # Work around bugs in pre-3.0 UWIN ksh.
    33 $as_unset ENV MAIL MAILPATH
     23  setopt NO_GLOB_SUBST
     24else
     25  case `(set -o) 2>/dev/null` in #(
     26  *posix*) :
     27    set -o posix ;; #(
     28  *) :
     29     ;;
     30esac
     31fi
     32
     33
     34as_nl='
     35'
     36export as_nl
     37# Printing a long string crashes Solaris 7 /usr/bin/printf.
     38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     40as_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.
     43if 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 --'
     47elif (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'
     50else
     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'
     70fi
     71
     72# The user is always right.
     73if 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  }
     79fi
     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.)
     87IFS=" ""        $as_nl"
     88
     89# Find who we are.  Look in the path if we contain no directory separator.
     90as_myself=
     91case $0 in #((
     92  *[\\/]* ) as_myself=$0 ;;
     93  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     94for as_dir in $PATH
     95do
     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
     100IFS=$as_save_IFS
     101
     102     ;;
     103esac
     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.
     106if test "x$as_myself" = x; then
     107  as_myself=$0
     108fi
     109if test ! -f "$as_myself"; then
     110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     111  exit 1
     112fi
     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.
     118for as_var in BASH_ENV ENV MAIL MAILPATH
     119do eval test x\${$as_var+set} = xset \
     120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     121done
    34122PS1='$ '
    35123PS2='> '
     
    37125
    38126# NLS nuisances.
    39 for as_var in \
    40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    42   LC_TELEPHONE LC_TIME
     127LC_ALL=C
     128export LC_ALL
     129LANGUAGE=C
     130export 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.
     143BASH_ENV=/dev/null
     144ENV=/dev/null
     145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     146case $- in # ((((
     147  *v*x* | *x*v* ) as_opts=-vx ;;
     148  *v* ) as_opts=-v ;;
     149  *x* ) as_opts=-x ;;
     150  * ) as_opts= ;;
     151esac
     152exec $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
     156as_fn_exit 255
     157  fi
     158  # We don't want this to propagate to other subprocesses.
     159          { _as_can_reexec=; unset _as_can_reexec;}
     160if 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
     168else
     169  case \`(set -o) 2>/dev/null\` in #(
     170  *posix*) :
     171    set -o posix ;; #(
     172  *) :
     173     ;;
     174esac
     175fi
     176"
     177  as_required="as_fn_return () { (exit \$1); }
     178as_fn_success () { as_fn_return 0; }
     179as_fn_failure () { as_fn_return 1; }
     180as_fn_ret_success () { return 0; }
     181as_fn_ret_failure () { return 1; }
     182
     183exitcode=0
     184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
     185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
     186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
     187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
     188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
     189
     190else
     191  exitcode=1; echo positional parameters were not saved.
     192fi
     193test x\$exitcode = x0 || exit 1
     194test -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
     199test \$(( 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
     210else
     211  as_have_required=no
     212fi
     213  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
     214
     215else
     216  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     217as_found=false
     218for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    43219do
    44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    45     eval $as_var=C; export $as_var
     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
     233fi
     234fi
     235           done;;
     236       esac
     237  as_found=false
     238done
     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
     242fi; }
     243IFS=$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.
     252BASH_ENV=/dev/null
     253ENV=/dev/null
     254(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     255case $- in # ((((
     256  *v*x* | *x*v* ) as_opts=-vx ;;
     257  *v* ) as_opts=-v ;;
     258  *x* ) as_opts=-x ;;
     259  * ) as_opts= ;;
     260esac
     261exec $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
     265exit 255
     266fi
     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."
    46274  else
    47     $as_unset $as_var
     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."
    48279  fi
    49 done
    50 
    51 # Required to use basename.
    52 if expr a : '\(a\)' >/dev/null 2>&1; then
     280  exit 1
     281fi
     282fi
     283fi
     284SHELL=${CONFIG_SHELL-/bin/sh}
     285export SHELL
     286# Unset more variables known to interfere with behavior of common tools.
     287CLICOLOR_FORCE= GREP_OPTIONS=
     288unset CLICOLOR_FORCE GREP_OPTIONS
     289
     290## --------------------- ##
     291## M4sh Shell Functions. ##
     292## --------------------- ##
     293# as_fn_unset VAR
     294# ---------------
     295# Portably unset VAR.
     296as_fn_unset ()
     297{
     298  { eval $1=; unset $1;}
     299}
     300as_unset=as_fn_unset
     301
     302# as_fn_set_status STATUS
     303# -----------------------
     304# Set $? to STATUS, without forking.
     305as_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.
     313as_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.
     323as_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.
     371as_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.
     381if (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  }'
     386else
     387  as_fn_append ()
     388  {
     389    eval $1=\$$1\$2
     390  }
     391fi # 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.
     398if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     399  eval 'as_fn_arith ()
     400  {
     401    as_val=$(( $* ))
     402  }'
     403else
     404  as_fn_arith ()
     405  {
     406    as_val=`expr "$@" || test $? -eq 1`
     407  }
     408fi # 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.
     416as_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
     427if expr a : '\(a\)' >/dev/null 2>&1 &&
     428   test "X`expr 00001 : '.*\(...\)'`" = X001; then
    53429  as_expr=expr
    54430else
     
    56432fi
    57433
    58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     434if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    59435  as_basename=basename
    60436else
     
    62438fi
    63439
    64 
    65 # Name of the executable.
    66 as_me=`$as_basename "$0" ||
     440if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     441  as_dirname=dirname
     442else
     443  as_dirname=false
     444fi
     445
     446as_me=`$as_basename -- "$0" ||
    67447$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    68448         X"$0" : 'X\(//\)$' \| \
    69          X"$0" : 'X\(/\)$' \| \
    70          .     : '\(.\)' 2>/dev/null ||
    71 echo X/"$0" |
    72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    73           /^X\/\(\/\/\)$/{ s//\1/; q; }
    74           /^X\/\(\/\).*/{ s//\1/; q; }
    75           s/.*/./; q'`
    76 
    77 
    78 # PATH needs CR, and LINENO needs CR and PATH.
     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
    79465# Avoid depending upon Character Ranges.
    80466as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    84470as_cr_alnum=$as_cr_Letters$as_cr_digits
    85471
    86 # The user is always right.
    87 if test "${PATH_SEPARATOR+set}" != set; then
    88   echo "#! /bin/sh" >conf$$.sh
    89   echo  "exit 0"   >>conf$$.sh
    90   chmod +x conf$$.sh
    91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    92     PATH_SEPARATOR=';'
    93   else
    94     PATH_SEPARATOR=:
    95   fi
    96   rm -f conf$$.sh
    97 fi
    98 
    99 
    100   as_lineno_1=$LINENO
    101   as_lineno_2=$LINENO
    102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    103   test "x$as_lineno_1" != "x$as_lineno_2" &&
    104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    105   # Find who we are.  Look in the path if we contain no path at all
    106   # relative or not.
    107   case $0 in
    108     *[\\/]* ) as_myself=$0 ;;
    109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    110 for as_dir in $PATH
    111 do
    112   IFS=$as_save_IFS
    113   test -z "$as_dir" && as_dir=.
    114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    115 done
    116 
    117        ;;
    118   esac
    119   # We did not find ourselves, most probably we were run as `sh COMMAND'
    120   # in which case we are not to be found in the path.
    121   if test "x$as_myself" = x; then
    122     as_myself=$0
    123   fi
    124   if test ! -f "$as_myself"; then
    125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
    126    { (exit 1); exit 1; }; }
    127   fi
    128   case $CONFIG_SHELL in
    129   '')
    130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    132 do
    133   IFS=$as_save_IFS
    134   test -z "$as_dir" && as_dir=.
    135   for as_base in sh bash ksh sh5; do
    136          case $as_dir in
    137          /*)
    138            if ("$as_dir/$as_base" -c '
    139   as_lineno_1=$LINENO
    140   as_lineno_2=$LINENO
    141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    142   test "x$as_lineno_1" != "x$as_lineno_2" &&
    143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    144              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    145              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    146              CONFIG_SHELL=$as_dir/$as_base
    147              export CONFIG_SHELL
    148              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    149            fi;;
    150          esac
    151        done
    152 done
    153 ;;
    154   esac
    155 
    156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    157   # uniformly replaced by the line number.  The first 'sed' inserts a
    158   # line-number line before each line; the second 'sed' does the real
    159   # work.  The second script uses 'N' to pair each line-number line
    160   # with the numbered line, and appends trailing '-' during
    161   # substitution so that $LINENO is not a special case at line end.
    162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    164   sed '=' <$as_myself |
     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 |
    165482    sed '
     483      s/[$]LINENO.*/&-/
     484      t lineno
     485      b
     486      :lineno
    166487      N
    167       s,$,-,
    168       : loop
    169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     488      :loop
     489      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    170490      t loop
    171       s,-$,,
    172       s,^['$as_cr_digits']*\n,,
     491      s/-\n.*//
    173492    ' >$as_me.lineno &&
    174   chmod +x $as_me.lineno ||
    175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    176    { (exit 1); exit 1; }; }
    177 
     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
    178500  # Don't try to exec as it changes $[0], causing all sort of problems
    179501  # (the dirname of $[0] is not the place where we might find the
    180   # original and so on.  Autoconf is especially sensible to this).
    181   . ./$as_me.lineno
     502  # original and so on.  Autoconf is especially sensitive to this).
     503  . "./$as_me.lineno"
    182504  # Exit status is that of the last command.
    183505  exit
    184506}
    185507
    186 
    187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    188   *c*,-n*) ECHO_N= ECHO_C='
    189 ' ECHO_T='      ' ;;
    190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
     508ECHO_C= ECHO_N= ECHO_T=
     509case `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';;
    192519esac
    193520
    194 if expr a : '\(a\)' >/dev/null 2>&1; then
    195   as_expr=expr
    196 else
    197   as_expr=false
    198 fi
    199 
    200521rm -f conf$$ conf$$.exe conf$$.file
    201 echo >conf$$.file
    202 if ln -s conf$$.file conf$$ 2>/dev/null; then
    203   # We could just check for DJGPP; but this test a) works b) is more generic
    204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    205   if test -f conf$$.exe; then
    206     # Don't use ln at all; we don't have any links
    207     as_ln_s='cp -p'
     522if test -d conf$$.dir; then
     523  rm -f conf$$.dir/conf$$.file
     524else
     525  rm -f conf$$.dir
     526  mkdir conf$$.dir 2>/dev/null
     527fi
     528if (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
    208539  else
    209     as_ln_s='ln -s'
     540    as_ln_s='cp -pR'
    210541  fi
    211 elif ln conf$$.file conf$$ 2>/dev/null; then
    212   as_ln_s=ln
    213 else
    214   as_ln_s='cp -p'
    215 fi
    216 rm -f conf$$ conf$$.exe conf$$.file
     542else
     543  as_ln_s='cp -pR'
     544fi
     545rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     546rmdir conf$$.dir 2>/dev/null
    217547
    218548if mkdir -p . 2>/dev/null; then
    219   as_mkdir_p=:
     549  as_mkdir_p='mkdir -p "$as_dir"'
    220550else
    221551  test -d ./-p && rmdir ./-p
     
    223553fi
    224554
    225 as_executable_p="test -f"
     555as_test_x='test -x'
     556as_executable_p=as_fn_executable_p
    226557
    227558# Sed expression to map a string onto a valid CPP name.
     
    231562as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    232563
    233 
    234 # IFS
    235 # We need space, tab and new line, in precisely that order.
    236 as_nl='
    237 '
    238 IFS="   $as_nl"
    239 
    240 # CDPATH.
    241 $as_unset CDPATH
    242 
    243 
    244 
    245 # Check that we are running under the correct shell.
    246564SHELL=${CONFIG_SHELL-/bin/sh}
    247565
    248 case X$ECHO in
    249 X*--fallback-echo)
    250   # Remove one level of quotation (which was required for Make).
    251   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
    252   ;;
    253 esac
    254 
    255 echo=${ECHO-echo}
    256 if test "X$1" = X--no-reexec; then
    257   # Discard the --no-reexec flag, and continue.
    258   shift
    259 elif test "X$1" = X--fallback-echo; then
    260   # Avoid inline document here, it may be left over
    261   :
    262 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
    263   # Yippee, $echo works!
    264   :
    265 else
    266   # Restart under the correct shell.
    267   exec $SHELL "$0" --no-reexec ${1+"$@"}
    268 fi
    269 
    270 if test "X$1" = X--fallback-echo; then
    271   # used as fallback echo
    272   shift
    273   cat <<EOF
    274 $*
    275 EOF
    276   exit 0
    277 fi
    278 
    279 # The HP-UX ksh and POSIX shell print the target directory to stdout
    280 # if CDPATH is set.
    281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    282 
    283 if test -z "$ECHO"; then
    284 if test "X${echo_test_string+set}" != Xset; then
    285 # find a string as large as possible, as long as the shell can cope with it
    286   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    287     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    288     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
    289        echo_test_string=`eval $cmd` &&
    290        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
    291     then
    292       break
    293     fi
    294   done
    295 fi
    296 
    297 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    298    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    299    test "X$echo_testing_string" = "X$echo_test_string"; then
    300   :
    301 else
    302   # The Solaris, AIX, and Digital Unix default echo programs unquote
    303   # backslashes.  This makes it impossible to quote backslashes using
    304   #   echo "$something" | sed 's/\\/\\\\/g'
    305   #
    306   # So, first we look for a working echo in the user's PATH.
    307 
    308   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    309   for dir in $PATH /usr/ucb; do
    310     IFS="$lt_save_ifs"
    311     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    312        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    313        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    314        test "X$echo_testing_string" = "X$echo_test_string"; then
    315       echo="$dir/echo"
    316       break
    317     fi
    318   done
    319   IFS="$lt_save_ifs"
    320 
    321   if test "X$echo" = Xecho; then
    322     # We didn't find a better echo, so look for alternatives.
    323     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
    324        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
    325        test "X$echo_testing_string" = "X$echo_test_string"; then
    326       # This shell has a builtin print -r that does the trick.
    327       echo='print -r'
    328     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
    329          test "X$CONFIG_SHELL" != X/bin/ksh; then
    330       # If we have ksh, try running configure again with it.
    331       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    332       export ORIGINAL_CONFIG_SHELL
    333       CONFIG_SHELL=/bin/ksh
    334       export CONFIG_SHELL
    335       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    336     else
    337       # Try using printf.
    338       echo='printf %s\n'
    339       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    340          echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    341          test "X$echo_testing_string" = "X$echo_test_string"; then
    342         # Cool, printf works
    343         :
    344       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    345            test "X$echo_testing_string" = 'X\t' &&
    346            echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    347            test "X$echo_testing_string" = "X$echo_test_string"; then
    348         CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    349         export CONFIG_SHELL
    350         SHELL="$CONFIG_SHELL"
    351         export SHELL
    352         echo="$CONFIG_SHELL $0 --fallback-echo"
    353       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    354            test "X$echo_testing_string" = 'X\t' &&
    355            echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    356            test "X$echo_testing_string" = "X$echo_test_string"; then
    357         echo="$CONFIG_SHELL $0 --fallback-echo"
    358       else
    359         # maybe with a smaller string...
    360         prev=:
    361 
    362         for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    363           if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
    364           then
    365             break
    366           fi
    367           prev="$cmd"
    368         done
    369 
    370         if test "$prev" != 'sed 50q "$0"'; then
    371           echo_test_string=`eval $prev`
    372           export echo_test_string
    373           exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    374         else
    375           # Oops.  We lost completely, so just stick with echo.
    376           echo=echo
    377         fi
    378       fi
    379     fi
    380   fi
    381 fi
    382 fi
    383 
    384 # Copy echo and quote the copy suitably for passing to libtool from
    385 # the Makefile, instead of quoting the original, which is used later.
    386 ECHO=$echo
    387 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    388    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    389 fi
    390 
    391 
    392 
    393 
    394 tagnames=${tagnames+${tagnames},}CXX
    395 
    396 tagnames=${tagnames+${tagnames},}F77
     566
     567test -n "$DJDIR" || exec 7<&0 </dev/null
     568exec 6>&1
    397569
    398570# Name of the host.
    399 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     571# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    400572# so uname gets run too.
    401573ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    402 
    403 exec 6>&1
    404574
    405575#
     
    407577#
    408578ac_default_prefix=/usr/local
     579ac_clean_files=
    409580ac_config_libobj_dir=.
     581LIBOBJS=
    410582cross_compiling=no
    411583subdirs=
    412584MFLAGS=
    413585MAKEFLAGS=
    414 SHELL=${CONFIG_SHELL-/bin/sh}
    415 
    416 # Maximum number of lines to put in a shell here document.
    417 # This variable seems obsolete.  It should probably be removed, and
    418 # only ac_max_sed_lines should be used.
    419 : ${ac_max_here_lines=38}
    420586
    421587# Identity of this package.
     
    425591PACKAGE_STRING=
    426592PACKAGE_BUGREPORT=
     593PACKAGE_URL=
    427594
    428595ac_unique_file="src/lib/util/ref/ref.h"
     
    430597ac_includes_default="\
    431598#include <stdio.h>
    432 #if HAVE_SYS_TYPES_H
     599#ifdef HAVE_SYS_TYPES_H
    433600# include <sys/types.h>
    434601#endif
    435 #if HAVE_SYS_STAT_H
     602#ifdef HAVE_SYS_STAT_H
    436603# include <sys/stat.h>
    437604#endif
    438 #if STDC_HEADERS
     605#ifdef STDC_HEADERS
    439606# include <stdlib.h>
    440607# include <stddef.h>
    441608#else
    442 # if HAVE_STDLIB_H
     609# ifdef HAVE_STDLIB_H
    443610#  include <stdlib.h>
    444611# endif
    445612#endif
    446 #if HAVE_STRING_H
    447 # if !STDC_HEADERS && HAVE_MEMORY_H
     613#ifdef HAVE_STRING_H
     614# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    448615#  include <memory.h>
    449616# endif
    450617# include <string.h>
    451618#endif
    452 #if HAVE_STRINGS_H
     619#ifdef HAVE_STRINGS_H
    453620# include <strings.h>
    454621#endif
    455 #if HAVE_INTTYPES_H
     622#ifdef HAVE_INTTYPES_H
    456623# include <inttypes.h>
    457 #else
    458 # if HAVE_STDINT_H
    459 #  include <stdint.h>
    460 # endif
    461624#endif
    462 #if HAVE_UNISTD_H
     625#ifdef HAVE_STDINT_H
     626# include <stdint.h>
     627#endif
     628#ifdef HAVE_UNISTD_H
    463629# include <unistd.h>
    464630#endif"
    465631
    466 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os SC_SO_VERSION DOXYGEN_MAN FOOTER_HTML ENABLECCA BUILDID SC_VERSION ARFLAGS LAUNCH CCALAUNCH scdatadir scincludedir CCA_CHEM_CONFIG compiledir scbindir sclibdir LN_S INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RANLIB ac_ct_RANLIB CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX F77 FFLAGS ac_ct_F77 FLIBS CPP CXXCPP AR PERL WISH HAVE_DOT DOT_PATH EGREP EXTRAINCLUDE LIBDIRS OBJSUF LIBSUF CCDEPENDSUF CXXDEPENDSUF CCDEPENDFLAGS CXXDEPENDFLAGS HAVE_PERF HAVE_MPI ALWAYS_USE_MPI HAVE_ARMCI HAVE_MPIIO HAVE_PTHREAD EXTRADEFINES HAVE_FCHDIR HAVE_IOS_FMTFLAGS HAVE_SGETN HAVE_PUBSEEKOFF HAVE_SEEKOFF HAVE_SYSV_IPC F77_SYMBOLS HAVE_BLAS HAVE_LAPACK NIAMACFG HAVE_LIBINT HAVE_LIBR12 HAVE_LIBDERIV TMPLINST TMPLREPO TMPLINLIB ECHO ac_ct_AR STRIP ac_ct_STRIP LIBTOOL ENABLESHARED CCA_CHEM_INCLUDE CCA_CHEM_LIB CCA_CHEM_REPO CCAFE_CONFIG CCAFE_INCLUDE CCAFE_LIB CCAFE_SHARE CCAFE_BIN CCA_SPEC_BABEL_CONFIG CCA_SPEC_BABEL_INCLUDE CCA_SPEC_BABEL_LIB CCA_SPEC_BABEL_SHARE CCA_SPEC_CLASSIC_CONFIG CCA_SPEC_CLASSIC_INCLUDE CCA_SPEC_CLASSIC_LIB CCA_SPEC_CLASSIC_SHARE BABEL_CONFIG BABEL_INCLUDE BABEL_LIB BABEL_SHARE BABEL_BIN BABEL_CC BABEL_CFLAGS BABEL_CXX BABEL_CXXFLAGS BABEL_LIBTOOL CCAFE_MPI_ENABLE CCAFE_MPI_INCLUDE CCAFE_MPI_LIB CCAFE_MPI_BIN BABEL_PYTHON BABEL_PYTHON_VERSION BABEL_PYTHON_LIB BABEL_PYTHON_INCLUDE SCLIBS LIBOBJS LTLIBOBJS'
     632ac_subst_vars='LTLIBOBJS
     633LIBOBJS
     634SCDATADIR
     635INSTALLED_SCLIBDIR
     636SRC_SCLIBDIR
     637SCLIBS
     638BABEL_PYTHON_INCLUDE
     639BABEL_PYTHON_LIB
     640BABEL_PYTHON_VERSION
     641BABEL_PYTHON
     642CCAFE_MPI_BIN
     643CCAFE_MPI_LIB
     644CCAFE_MPI_INCLUDE
     645CCAFE_MPI_ENABLE
     646BABEL_LIBTOOL
     647BABEL_CXXFLAGS
     648BABEL_CXX
     649BABEL_CFLAGS
     650BABEL_CC
     651BABEL_BIN
     652BABEL_SHARE
     653BABEL_LIB
     654BABEL_INCLUDE
     655BABEL_CONFIG
     656CCA_SPEC_CLASSIC_SHARE
     657CCA_SPEC_CLASSIC_LIB
     658CCA_SPEC_CLASSIC_INCLUDE
     659CCA_SPEC_CLASSIC_CONFIG
     660CCA_SPEC_BABEL_SHARE
     661CCA_SPEC_BABEL_LIB
     662CCA_SPEC_BABEL_INCLUDE
     663CCA_SPEC_BABEL_CONFIG
     664CCAFE_BIN
     665CCAFE_SHARE
     666CCAFE_LIB
     667CCAFE_INCLUDE
     668CCAFE_CONFIG
     669CCA_CHEM_REPO
     670CCA_CHEM_LIB
     671CCA_CHEM_INCLUDE
     672ENABLESHARED
     673OTOOL64
     674OTOOL
     675LIPO
     676NMEDIT
     677DSYMUTIL
     678MANIFEST_TOOL
     679AWK
     680STRIP
     681ac_ct_AR
     682DLLTOOL
     683OBJDUMP
     684NM
     685ac_ct_DUMPBIN
     686DUMPBIN
     687LD
     688FGREP
     689SED
     690LIBTOOL
     691TMPLINLIB
     692TMPLREPO
     693TMPLINST
     694HAVE_LIBDERIV
     695HAVE_LIBR12
     696HAVE_LIBINT
     697NIAMACFG
     698HAVE_LAPACK
     699HAVE_BLAS
     700F77_SYMBOLS
     701HAVE_SYSV_IPC
     702HAVE_SEEKOFF
     703HAVE_PUBSEEKOFF
     704HAVE_SGETN
     705HAVE_IOS_FMTFLAGS
     706HAVE_FCHDIR
     707EXTRADEFINES
     708HAVE_PTHREAD
     709HAVE_MPIIO
     710HAVE_ARMCI
     711ALWAYS_USE_MPI
     712HAVE_MPI
     713HAVE_PERF
     714CXXDEPENDFLAGS
     715CCDEPENDFLAGS
     716CXXDEPENDSUF
     717CCDEPENDSUF
     718LIBSUF
     719OBJSUF
     720LIBDIRS
     721EXTRAINCLUDE
     722EGREP
     723GREP
     724DOT_PATH
     725HAVE_DOT
     726WISH
     727PERL
     728AR
     729CXXCPP
     730CPP
     731FLIBS
     732ac_ct_F77
     733FFLAGS
     734F77
     735ac_ct_CXX
     736CXXFLAGS
     737CXX
     738OBJEXT
     739EXEEXT
     740ac_ct_CC
     741CPPFLAGS
     742LDFLAGS
     743CFLAGS
     744CC
     745RANLIB
     746INSTALL_DATA
     747INSTALL_SCRIPT
     748INSTALL_PROGRAM
     749LN_S
     750sclibdir
     751scbindir
     752compiledir
     753CCA_CHEM_CONFIG
     754scincludedir
     755scdatadir
     756CCALAUNCH
     757LAUNCH
     758ARFLAGS
     759SC_VERSION
     760BUILDID
     761ENABLECCA
     762FOOTER_HTML
     763DOXYGEN_MAN
     764SC_SO_VERSION
     765target_os
     766target_vendor
     767target_cpu
     768target
     769host_os
     770host_vendor
     771host_cpu
     772host
     773build_os
     774build_vendor
     775build_cpu
     776build
     777target_alias
     778host_alias
     779build_alias
     780LIBS
     781ECHO_T
     782ECHO_N
     783ECHO_C
     784DEFS
     785mandir
     786localedir
     787libdir
     788psdir
     789pdfdir
     790dvidir
     791htmldir
     792infodir
     793docdir
     794oldincludedir
     795includedir
     796localstatedir
     797sharedstatedir
     798sysconfdir
     799datadir
     800datarootdir
     801libexecdir
     802sbindir
     803bindir
     804program_transform_name
     805prefix
     806exec_prefix
     807PACKAGE_URL
     808PACKAGE_BUGREPORT
     809PACKAGE_STRING
     810PACKAGE_VERSION
     811PACKAGE_TARNAME
     812PACKAGE_NAME
     813PATH_SEPARATOR
     814SHELL'
    467815ac_subst_files=''
     816ac_user_opts='
     817enable_option_checking
     818enable_debug
     819enable_strict_arch
     820enable_production
     821enable_sysv_ipc
     822enable_parallel
     823enable_always_use_mpi
     824with_default_parallel
     825with_mpi_thread
     826enable_long_long
     827enable_threads
     828enable_ref_debug
     829enable_cross_compile
     830enable_doxygen_man
     831enable_sourceforge
     832enable_components
     833with_build_id
     834with_default_memory
     835with_cc
     836with_cxx
     837with_f77
     838with_cxx_optflags
     839with_cc_optflags
     840with_dot
     841with_ranlib
     842with_ar
     843with_ar_flags
     844with_ld
     845with_launch
     846with_cca_launch
     847with_sc_datadir
     848with_include
     849with_template
     850with_sc_includedir
     851with_libs
     852with_extra_flibs
     853with_flibs
     854with_libdirs
     855with_cca_chem_config
     856enable_libtool
     857enable_shared
     858enable_static
     859with_pic
     860enable_fast_install
     861with_gnu_ld
     862with_sysroot
     863enable_libtool_lock
     864with_ccafe_config
     865'
     866      ac_precious_vars='build_alias
     867host_alias
     868target_alias
     869CC
     870CFLAGS
     871LDFLAGS
     872LIBS
     873CPPFLAGS
     874CXX
     875CXXFLAGS
     876CCC
     877F77
     878FFLAGS
     879CPP
     880CXXCPP'
     881
    468882
    469883# Initialize some variables set by options.
    470884ac_init_help=
    471885ac_init_version=false
     886ac_unrecognized_opts=
     887ac_unrecognized_sep=
    472888# The variables have the same names as the options, with
    473889# dashes changed to underlines.
     
    492908# by default will actually change.
    493909# Use braces instead of parens because sh, perl, etc. also accept them.
     910# (The list follows the same order as the GNU Coding Standards.)
    494911bindir='${exec_prefix}/bin'
    495912sbindir='${exec_prefix}/sbin'
    496913libexecdir='${exec_prefix}/libexec'
    497 datadir='${prefix}/share'
     914datarootdir='${prefix}/share'
     915datadir='${datarootdir}'
    498916sysconfdir='${prefix}/etc'
    499917sharedstatedir='${prefix}/com'
    500918localstatedir='${prefix}/var'
    501 libdir='${exec_prefix}/lib'
    502919includedir='${prefix}/include'
    503920oldincludedir='/usr/include'
    504 infodir='${prefix}/info'
    505 mandir='${prefix}/man'
     921docdir='${datarootdir}/doc/${PACKAGE}'
     922infodir='${datarootdir}/info'
     923htmldir='${docdir}'
     924dvidir='${docdir}'
     925pdfdir='${docdir}'
     926psdir='${docdir}'
     927libdir='${exec_prefix}/lib'
     928localedir='${datarootdir}/locale'
     929mandir='${datarootdir}/man'
    506930
    507931ac_prev=
     932ac_dashdash=
    508933for ac_option
    509934do
    510935  # If the previous option needs an argument, assign it.
    511936  if test -n "$ac_prev"; then
    512     eval "$ac_prev=\$ac_option"
     937    eval $ac_prev=\$ac_option
    513938    ac_prev=
    514939    continue
    515940  fi
    516941
    517   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
     942  case $ac_option in
     943  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     944  *=)   ac_optarg= ;;
     945  *)    ac_optarg=yes ;;
     946  esac
    518947
    519948  # Accept the important Cygnus configure options, so we can diagnose typos.
    520949
    521   case $ac_option in
     950  case $ac_dashdash$ac_option in
     951  --)
     952    ac_dashdash=yes ;;
    522953
    523954  -bindir | --bindir | --bindi | --bind | --bin | --bi)
     
    541972    cache_file=config.cache ;;
    542973
    543   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     974  -datadir | --datadir | --datadi | --datad)
    544975    ac_prev=datadir ;;
    545   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    546   | --da=*)
     976  -datadir=* | --datadir=* | --datadi=* | --datad=*)
    547977    datadir=$ac_optarg ;;
    548978
     979  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
     980  | --dataroo | --dataro | --datar)
     981    ac_prev=datarootdir ;;
     982  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
     983  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
     984    datarootdir=$ac_optarg ;;
     985
    549986  -disable-* | --disable-*)
    550     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     987    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    551988    # Reject names that are not valid shell variable names.
    552     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    553       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    554    { (exit 1); exit 1; }; }
    555     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    556     eval "enable_$ac_feature=no" ;;
     989    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     990      as_fn_error $? "invalid feature name: $ac_useropt"
     991    ac_useropt_orig=$ac_useropt
     992    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     993    case $ac_user_opts in
     994      *"
     995"enable_$ac_useropt"
     996"*) ;;
     997      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
     998         ac_unrecognized_sep=', ';;
     999    esac
     1000    eval enable_$ac_useropt=no ;;
     1001
     1002  -docdir | --docdir | --docdi | --doc | --do)
     1003    ac_prev=docdir ;;
     1004  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
     1005    docdir=$ac_optarg ;;
     1006
     1007  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
     1008    ac_prev=dvidir ;;
     1009  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
     1010    dvidir=$ac_optarg ;;
    5571011
    5581012  -enable-* | --enable-*)
    559     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     1013    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    5601014    # Reject names that are not valid shell variable names.
    561     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    562       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    563    { (exit 1); exit 1; }; }
    564     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    565     case $ac_option in
    566       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    567       *) ac_optarg=yes ;;
     1015    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     1016      as_fn_error $? "invalid feature name: $ac_useropt"
     1017    ac_useropt_orig=$ac_useropt
     1018    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     1019    case $ac_user_opts in
     1020      *"
     1021"enable_$ac_useropt"
     1022"*) ;;
     1023      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
     1024         ac_unrecognized_sep=', ';;
    5681025    esac
    569     eval "enable_$ac_feature='$ac_optarg'" ;;
     1026    eval enable_$ac_useropt=\$ac_optarg ;;
    5701027
    5711028  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    5941051    host_alias=$ac_optarg ;;
    5951052
     1053  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
     1054    ac_prev=htmldir ;;
     1055  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
     1056  | --ht=*)
     1057    htmldir=$ac_optarg ;;
     1058
    5961059  -includedir | --includedir | --includedi | --included | --include \
    5971060  | --includ | --inclu | --incl | --inc)
     
    6181081    libexecdir=$ac_optarg ;;
    6191082
     1083  -localedir | --localedir | --localedi | --localed | --locale)
     1084    ac_prev=localedir ;;
     1085  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
     1086    localedir=$ac_optarg ;;
     1087
    6201088  -localstatedir | --localstatedir | --localstatedi | --localstated \
    621   | --localstate | --localstat | --localsta | --localst \
    622   | --locals | --local | --loca | --loc | --lo)
     1089  | --localstate | --localstat | --localsta | --localst | --locals)
    6231090    ac_prev=localstatedir ;;
    6241091  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    625   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    626   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
     1092  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    6271093    localstatedir=$ac_optarg ;;
    6281094
     
    6891155    program_transform_name=$ac_optarg ;;
    6901156
     1157  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
     1158    ac_prev=pdfdir ;;
     1159  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
     1160    pdfdir=$ac_optarg ;;
     1161
     1162  -psdir | --psdir | --psdi | --psd | --ps)
     1163    ac_prev=psdir ;;
     1164  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
     1165    psdir=$ac_optarg ;;
     1166
    6911167  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    6921168  | -silent | --silent | --silen | --sile | --sil)
     
    7391215
    7401216  -with-* | --with-*)
    741     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     1217    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    7421218    # Reject names that are not valid shell variable names.
    743     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    744       { echo "$as_me: error: invalid package name: $ac_package" >&2
    745    { (exit 1); exit 1; }; }
    746     ac_package=`echo $ac_package| sed 's/-/_/g'`
    747     case $ac_option in
    748       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    749       *) ac_optarg=yes ;;
     1219    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     1220      as_fn_error $? "invalid package name: $ac_useropt"
     1221    ac_useropt_orig=$ac_useropt
     1222    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     1223    case $ac_user_opts in
     1224      *"
     1225"with_$ac_useropt"
     1226"*) ;;
     1227      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
     1228         ac_unrecognized_sep=', ';;
    7501229    esac
    751     eval "with_$ac_package='$ac_optarg'" ;;
     1230    eval with_$ac_useropt=\$ac_optarg ;;
    7521231
    7531232  -without-* | --without-*)
    754     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     1233    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    7551234    # Reject names that are not valid shell variable names.
    756     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    757       { echo "$as_me: error: invalid package name: $ac_package" >&2
    758    { (exit 1); exit 1; }; }
    759     ac_package=`echo $ac_package | sed 's/-/_/g'`
    760     eval "with_$ac_package=no" ;;
     1235    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     1236      as_fn_error $? "invalid package name: $ac_useropt"
     1237    ac_useropt_orig=$ac_useropt
     1238    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     1239    case $ac_user_opts in
     1240      *"
     1241"with_$ac_useropt"
     1242"*) ;;
     1243      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
     1244         ac_unrecognized_sep=', ';;
     1245    esac
     1246    eval with_$ac_useropt=no ;;
    7611247
    7621248  --x)
     
    7781264    x_libraries=$ac_optarg ;;
    7791265
    780   -*) { echo "$as_me: error: unrecognized option: $ac_option
    781 Try \`$0 --help' for more information." >&2
    782    { (exit 1); exit 1; }; }
     1266  -*) as_fn_error $? "unrecognized option: \`$ac_option'
     1267Try \`$0 --help' for more information"
    7831268    ;;
    7841269
     
    7861271    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    7871272    # Reject names that are not valid shell variable names.
    788     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    789       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    790    { (exit 1); exit 1; }; }
    791     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    792     eval "$ac_envvar='$ac_optarg'"
     1273    case $ac_envvar in #(
     1274      '' | [0-9]* | *[!_$as_cr_alnum]* )
     1275      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
     1276    esac
     1277    eval $ac_envvar=\$ac_optarg
    7931278    export $ac_envvar ;;
    7941279
    7951280  *)
    7961281    # FIXME: should be removed in autoconf 3.0.
    797     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     1282    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    7981283    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    799       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    800     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     1284      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
     1285    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
    8011286    ;;
    8021287
     
    8061291if test -n "$ac_prev"; then
    8071292  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    808   { echo "$as_me: error: missing argument to $ac_option" >&2
    809    { (exit 1); exit 1; }; }
    810 fi
    811 
    812 # Be sure to have absolute paths.
    813 for ac_var in exec_prefix prefix
     1293  as_fn_error $? "missing argument to $ac_option"
     1294fi
     1295
     1296if test -n "$ac_unrecognized_opts"; then
     1297  case $enable_option_checking in
     1298    no) ;;
     1299    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
     1300    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
     1301  esac
     1302fi
     1303
     1304# Check all directory arguments for consistency.
     1305for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
     1306                datadir sysconfdir sharedstatedir localstatedir includedir \
     1307                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
     1308                libdir localedir mandir
    8141309do
    815   eval ac_val=$`echo $ac_var`
     1310  eval ac_val=\$$ac_var
     1311  # Remove trailing slashes.
    8161312  case $ac_val in
    817     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    818     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    819    { (exit 1); exit 1; }; };;
     1313    */ )
     1314      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
     1315      eval $ac_var=\$ac_val;;
    8201316  esac
    821 done
    822 
    823 # Be sure to have absolute paths.
    824 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    825               localstatedir libdir includedir oldincludedir infodir mandir
    826 do
    827   eval ac_val=$`echo $ac_var`
     1317  # Be sure to have absolute directory names.
    8281318  case $ac_val in
    829     [\\/$]* | ?:[\\/]* ) ;;
    830     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    831    { (exit 1); exit 1; }; };;
     1319    [\\/$]* | ?:[\\/]* )  continue;;
     1320    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    8321321  esac
     1322  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
    8331323done
    8341324
     
    8441334  if test "x$build_alias" = x; then
    8451335    cross_compiling=maybe
    846     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    847     If a cross compiler is detected then cross compile mode will be used." >&2
    8481336  elif test "x$build_alias" != "x$host_alias"; then
    8491337    cross_compiling=yes
     
    8571345
    8581346
     1347ac_pwd=`pwd` && test -n "$ac_pwd" &&
     1348ac_ls_di=`ls -di .` &&
     1349ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
     1350  as_fn_error $? "working directory cannot be determined"
     1351test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
     1352  as_fn_error $? "pwd does not report name of working directory"
     1353
     1354
    8591355# Find the source files, if location was not specified.
    8601356if test -z "$srcdir"; then
    8611357  ac_srcdir_defaulted=yes
    862   # Try the directory containing this script, then its parent.
    863   ac_confdir=`(dirname "$0") 2>/dev/null ||
    864 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    865          X"$0" : 'X\(//\)[^/]' \| \
    866          X"$0" : 'X\(//\)$' \| \
    867          X"$0" : 'X\(/\)' \| \
    868          .     : '\(.\)' 2>/dev/null ||
    869 echo X"$0" |
    870     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    871           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    872           /^X\(\/\/\)$/{ s//\1/; q; }
    873           /^X\(\/\).*/{ s//\1/; q; }
    874           s/.*/./; q'`
     1358  # Try the directory containing this script, then the parent directory.
     1359  ac_confdir=`$as_dirname -- "$as_myself" ||
     1360$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     1361         X"$as_myself" : 'X\(//\)[^/]' \| \
     1362         X"$as_myself" : 'X\(//\)$' \| \
     1363         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
     1364$as_echo X"$as_myself" |
     1365    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     1366            s//\1/
     1367            q
     1368          }
     1369          /^X\(\/\/\)[^/].*/{
     1370            s//\1/
     1371            q
     1372          }
     1373          /^X\(\/\/\)$/{
     1374            s//\1/
     1375            q
     1376          }
     1377          /^X\(\/\).*/{
     1378            s//\1/
     1379            q
     1380          }
     1381          s/.*/./; q'`
    8751382  srcdir=$ac_confdir
    8761383  if test ! -r "$srcdir/$ac_unique_file"; then
     
    8811388fi
    8821389if test ! -r "$srcdir/$ac_unique_file"; then
    883   if test "$ac_srcdir_defaulted" = yes; then
    884     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
    885    { (exit 1); exit 1; }; }
    886   else
    887     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    888    { (exit 1); exit 1; }; }
    889   fi
    890 fi
    891 (cd $srcdir && test -r "./$ac_unique_file") 2>/dev/null ||
    892   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
    893    { (exit 1); exit 1; }; }
    894 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    895 ac_env_build_alias_set=${build_alias+set}
    896 ac_env_build_alias_value=$build_alias
    897 ac_cv_env_build_alias_set=${build_alias+set}
    898 ac_cv_env_build_alias_value=$build_alias
    899 ac_env_host_alias_set=${host_alias+set}
    900 ac_env_host_alias_value=$host_alias
    901 ac_cv_env_host_alias_set=${host_alias+set}
    902 ac_cv_env_host_alias_value=$host_alias
    903 ac_env_target_alias_set=${target_alias+set}
    904 ac_env_target_alias_value=$target_alias
    905 ac_cv_env_target_alias_set=${target_alias+set}
    906 ac_cv_env_target_alias_value=$target_alias
    907 ac_env_CC_set=${CC+set}
    908 ac_env_CC_value=$CC
    909 ac_cv_env_CC_set=${CC+set}
    910 ac_cv_env_CC_value=$CC
    911 ac_env_CFLAGS_set=${CFLAGS+set}
    912 ac_env_CFLAGS_value=$CFLAGS
    913 ac_cv_env_CFLAGS_set=${CFLAGS+set}
    914 ac_cv_env_CFLAGS_value=$CFLAGS
    915 ac_env_LDFLAGS_set=${LDFLAGS+set}
    916 ac_env_LDFLAGS_value=$LDFLAGS
    917 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    918 ac_cv_env_LDFLAGS_value=$LDFLAGS
    919 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    920 ac_env_CPPFLAGS_value=$CPPFLAGS
    921 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    922 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    923 ac_env_CXX_set=${CXX+set}
    924 ac_env_CXX_value=$CXX
    925 ac_cv_env_CXX_set=${CXX+set}
    926 ac_cv_env_CXX_value=$CXX
    927 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
    928 ac_env_CXXFLAGS_value=$CXXFLAGS
    929 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
    930 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
    931 ac_env_F77_set=${F77+set}
    932 ac_env_F77_value=$F77
    933 ac_cv_env_F77_set=${F77+set}
    934 ac_cv_env_F77_value=$F77
    935 ac_env_FFLAGS_set=${FFLAGS+set}
    936 ac_env_FFLAGS_value=$FFLAGS
    937 ac_cv_env_FFLAGS_set=${FFLAGS+set}
    938 ac_cv_env_FFLAGS_value=$FFLAGS
    939 ac_env_CPP_set=${CPP+set}
    940 ac_env_CPP_value=$CPP
    941 ac_cv_env_CPP_set=${CPP+set}
    942 ac_cv_env_CPP_value=$CPP
    943 ac_env_CXXCPP_set=${CXXCPP+set}
    944 ac_env_CXXCPP_value=$CXXCPP
    945 ac_cv_env_CXXCPP_set=${CXXCPP+set}
    946 ac_cv_env_CXXCPP_value=$CXXCPP
     1390  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
     1391  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
     1392fi
     1393ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
     1394ac_abs_confdir=`(
     1395        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
     1396        pwd)`
     1397# When building in place, set srcdir=.
     1398if test "$ac_abs_confdir" = "$ac_pwd"; then
     1399  srcdir=.
     1400fi
     1401# Remove unnecessary trailing slashes from srcdir.
     1402# Double slashes in file names in object file debugging info
     1403# mess up M-x gdb in Emacs.
     1404case $srcdir in
     1405*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
     1406esac
     1407for ac_var in $ac_precious_vars; do
     1408  eval ac_env_${ac_var}_set=\${${ac_var}+set}
     1409  eval ac_env_${ac_var}_value=\$${ac_var}
     1410  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
     1411  eval ac_cv_env_${ac_var}_value=\$${ac_var}
     1412done
    9471413
    9481414#
     
    9671433      --help=recursive    display the short help of all the included packages
    9681434  -V, --version           display version information and exit
    969   -q, --quiet, --silent   do not print \`checking...' messages
     1435  -q, --quiet, --silent   do not print \`checking ...' messages
    9701436      --cache-file=FILE   cache test results in FILE [disabled]
    9711437  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    9731439      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    9741440
    975 _ACEOF
    976 
    977   cat <<_ACEOF
    9781441Installation directories:
    9791442  --prefix=PREFIX         install architecture-independent files in PREFIX
    980                           [$ac_default_prefix]
     1443                          [$ac_default_prefix]
    9811444  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    982                           [PREFIX]
     1445                          [PREFIX]
    9831446
    9841447By default, \`make install' will install all the files in
     
    9901453
    9911454Fine tuning of the installation directories:
    992   --bindir=DIR           user executables [EPREFIX/bin]
    993   --sbindir=DIR          system admin executables [EPREFIX/sbin]
    994   --libexecdir=DIR       program executables [EPREFIX/libexec]
    995   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    996   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    997   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
    998   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
    999   --libdir=DIR           object code libraries [EPREFIX/lib]
    1000   --includedir=DIR       C header files [PREFIX/include]
    1001   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    1002   --infodir=DIR          info documentation [PREFIX/info]
    1003   --mandir=DIR           man documentation [PREFIX/man]
     1455  --bindir=DIR            user executables [EPREFIX/bin]
     1456  --sbindir=DIR           system admin executables [EPREFIX/sbin]
     1457  --libexecdir=DIR        program executables [EPREFIX/libexec]
     1458  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
     1459  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
     1460  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
     1461  --libdir=DIR            object code libraries [EPREFIX/lib]
     1462  --includedir=DIR        C header files [PREFIX/include]
     1463  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
     1464  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
     1465  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
     1466  --infodir=DIR           info documentation [DATAROOTDIR/info]
     1467  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
     1468  --mandir=DIR            man documentation [DATAROOTDIR/man]
     1469  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
     1470  --htmldir=DIR           html documentation [DOCDIR]
     1471  --dvidir=DIR            dvi documentation [DOCDIR]
     1472  --pdfdir=DIR            pdf documentation [DOCDIR]
     1473  --psdir=DIR             ps documentation [DOCDIR]
    10041474_ACEOF
    10051475
     
    10181488
    10191489Optional Features:
     1490  --disable-option-checking  ignore unrecognized --enable/--with options
    10201491  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    10211492  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
     
    10341505  --enable-components     Enable CCA components
    10351506  --disable-libtool       Do not use libtool.
    1036   --enable-shared[=PKGS]
    1037                           build shared libraries [default=no]
    1038   --enable-static[=PKGS]
    1039                           build static libraries [default=yes]
     1507  --enable-shared[=PKGS]  build shared libraries [default=no]
     1508  --enable-static[=PKGS]  build static libraries [default=yes]
    10401509  --enable-fast-install[=PKGS]
    10411510                          optimize for fast installation [default=yes]
     
    10701539  --with-libdirs          Specifies library directories (-Ldir1 -Ldir2).
    10711540  --with-cca-chem-config  Specifies full pathname of cca-chem-config script.
     1541  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
     1542                          both]
    10721543  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
    1073   --with-pic              try to use only PIC/non-PIC objects [default=use
    1074                           both]
    1075   --with-tags[=TAGS]
    1076                           include additional configurations [automatic]
     1544  --with-sysroot=DIR Search for dependent libraries within DIR
     1545                        (or the compiler's sysroot if not specified).
    10771546  --with-ccafe-config     path to the ccafe-config script.
    10781547
     
    10821551  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    10831552              nonstandard directory <lib dir>
    1084   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    1085               headers in a nonstandard directory <include dir>
     1553  LIBS        libraries to pass to the linker, e.g. -l<library>
     1554  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
     1555              you have headers in a nonstandard directory <include dir>
    10861556  CXX         C++ compiler command
    10871557  CXXFLAGS    C++ compiler flags
     
    10941564it to find libraries and programs with nonstandard names/locations.
    10951565
     1566Report bugs to the package provider.
    10961567_ACEOF
     1568ac_status=$?
    10971569fi
    10981570
    10991571if test "$ac_init_help" = "recursive"; then
    11001572  # If there are subdirs, report their specific --help.
    1101   ac_popdir=`pwd`
    11021573  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    1103     test -d $ac_dir || continue
     1574    test -d "$ac_dir" ||
     1575      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
     1576      continue
    11041577    ac_builddir=.
    11051578
    1106 if test "$ac_dir" != .; then
    1107   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    1108   # A "../" for each directory in $ac_dir_suffix.
    1109   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    1110 else
    1111   ac_dir_suffix= ac_top_builddir=
    1112 fi
     1579case "$ac_dir" in
     1580.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1581*)
     1582  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
     1583  # A ".." for each directory in $ac_dir_suffix.
     1584  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
     1585  case $ac_top_builddir_sub in
     1586  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1587  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     1588  esac ;;
     1589esac
     1590ac_abs_top_builddir=$ac_pwd
     1591ac_abs_builddir=$ac_pwd$ac_dir_suffix
     1592# for backward compatibility:
     1593ac_top_builddir=$ac_top_build_prefix
    11131594
    11141595case $srcdir in
    1115   .)  # No --srcdir option.  We are building in place.
     1596  .)  # We are building in place.
    11161597    ac_srcdir=.
    1117     if test -z "$ac_top_builddir"; then
    1118        ac_top_srcdir=.
     1598    ac_top_srcdir=$ac_top_builddir_sub
     1599    ac_abs_top_srcdir=$ac_pwd ;;
     1600  [\\/]* | ?:[\\/]* )  # Absolute name.
     1601    ac_srcdir=$srcdir$ac_dir_suffix;
     1602    ac_top_srcdir=$srcdir
     1603    ac_abs_top_srcdir=$srcdir ;;
     1604  *) # Relative name.
     1605    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     1606    ac_top_srcdir=$ac_top_build_prefix$srcdir
     1607    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     1608esac
     1609ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     1610
     1611    cd "$ac_dir" || { ac_status=$?; continue; }
     1612    # Check for guested configure.
     1613    if test -f "$ac_srcdir/configure.gnu"; then
     1614      echo &&
     1615      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
     1616    elif test -f "$ac_srcdir/configure"; then
     1617      echo &&
     1618      $SHELL "$ac_srcdir/configure" --help=recursive
    11191619    else
    1120        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    1121     fi ;;
    1122   [\\/]* | ?:[\\/]* )  # Absolute path.
    1123     ac_srcdir=$srcdir$ac_dir_suffix;
    1124     ac_top_srcdir=$srcdir ;;
    1125   *) # Relative path.
    1126     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    1127     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    1128 esac
    1129 
    1130 # Do not use `cd foo && pwd` to compute absolute paths, because
    1131 # the directories may not exist.
    1132 case `pwd` in
    1133 .) ac_abs_builddir="$ac_dir";;
    1134 *)
    1135   case "$ac_dir" in
    1136   .) ac_abs_builddir=`pwd`;;
    1137   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    1138   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    1139   esac;;
    1140 esac
    1141 case $ac_abs_builddir in
    1142 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    1143 *)
    1144   case ${ac_top_builddir}. in
    1145   .) ac_abs_top_builddir=$ac_abs_builddir;;
    1146   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    1147   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    1148   esac;;
    1149 esac
    1150 case $ac_abs_builddir in
    1151 .) ac_abs_srcdir=$ac_srcdir;;
    1152 *)
    1153   case $ac_srcdir in
    1154   .) ac_abs_srcdir=$ac_abs_builddir;;
    1155   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    1156   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    1157   esac;;
    1158 esac
    1159 case $ac_abs_builddir in
    1160 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    1161 *)
    1162   case $ac_top_srcdir in
    1163   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    1164   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    1165   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    1166   esac;;
    1167 esac
    1168 
    1169     cd $ac_dir
    1170     # Check for guested configure; otherwise get Cygnus style configure.
    1171     if test -f $ac_srcdir/configure.gnu; then
    1172       echo
    1173       $SHELL $ac_srcdir/configure.gnu  --help=recursive
    1174     elif test -f $ac_srcdir/configure; then
    1175       echo
    1176       $SHELL $ac_srcdir/configure  --help=recursive
    1177     elif test -f $ac_srcdir/configure.ac ||
    1178            test -f $ac_srcdir/configure.in; then
    1179       echo
    1180       $ac_configure --help
    1181     else
    1182       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    1183     fi
    1184     cd $ac_popdir
     1620      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
     1621    fi || ac_status=$?
     1622    cd "$ac_pwd" || { ac_status=$?; break; }
    11851623  done
    11861624fi
    11871625
    1188 test -n "$ac_init_help" && exit 0
     1626test -n "$ac_init_help" && exit $ac_status
    11891627if $ac_init_version; then
    11901628  cat <<\_ACEOF
    1191 
    1192 Copyright (C) 2003 Free Software Foundation, Inc.
     1629configure
     1630generated by GNU Autoconf 2.69
     1631
     1632Copyright (C) 2012 Free Software Foundation, Inc.
    11931633This configure script is free software; the Free Software Foundation
    11941634gives unlimited permission to copy, distribute and modify it.
    11951635_ACEOF
    1196   exit 0
    1197 fi
    1198 exec 5>config.log
    1199 cat >&5 <<_ACEOF
     1636  exit
     1637fi
     1638
     1639## ------------------------ ##
     1640## Autoconf initialization. ##
     1641## ------------------------ ##
     1642
     1643# ac_fn_c_try_compile LINENO
     1644# --------------------------
     1645# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1646ac_fn_c_try_compile ()
     1647{
     1648  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1649  rm -f conftest.$ac_objext
     1650  if { { ac_try="$ac_compile"
     1651case "(($ac_try" in
     1652  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1653  *) ac_try_echo=$ac_try;;
     1654esac
     1655eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1656$as_echo "$ac_try_echo"; } >&5
     1657  (eval "$ac_compile") 2>conftest.err
     1658  ac_status=$?
     1659  if test -s conftest.err; then
     1660    grep -v '^ *+' conftest.err >conftest.er1
     1661    cat conftest.er1 >&5
     1662    mv -f conftest.er1 conftest.err
     1663  fi
     1664  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1665  test $ac_status = 0; } && {
     1666         test -z "$ac_c_werror_flag" ||
     1667         test ! -s conftest.err
     1668       } && test -s conftest.$ac_objext; then :
     1669  ac_retval=0
     1670else
     1671  $as_echo "$as_me: failed program was:" >&5
     1672sed 's/^/| /' conftest.$ac_ext >&5
     1673
     1674        ac_retval=1
     1675fi
     1676  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1677  as_fn_set_status $ac_retval
     1678
     1679} # ac_fn_c_try_compile
     1680
     1681# ac_fn_cxx_try_compile LINENO
     1682# ----------------------------
     1683# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1684ac_fn_cxx_try_compile ()
     1685{
     1686  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1687  rm -f conftest.$ac_objext
     1688  if { { ac_try="$ac_compile"
     1689case "(($ac_try" in
     1690  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1691  *) ac_try_echo=$ac_try;;
     1692esac
     1693eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1694$as_echo "$ac_try_echo"; } >&5
     1695  (eval "$ac_compile") 2>conftest.err
     1696  ac_status=$?
     1697  if test -s conftest.err; then
     1698    grep -v '^ *+' conftest.err >conftest.er1
     1699    cat conftest.er1 >&5
     1700    mv -f conftest.er1 conftest.err
     1701  fi
     1702  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1703  test $ac_status = 0; } && {
     1704         test -z "$ac_cxx_werror_flag" ||
     1705         test ! -s conftest.err
     1706       } && test -s conftest.$ac_objext; then :
     1707  ac_retval=0
     1708else
     1709  $as_echo "$as_me: failed program was:" >&5
     1710sed 's/^/| /' conftest.$ac_ext >&5
     1711
     1712        ac_retval=1
     1713fi
     1714  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1715  as_fn_set_status $ac_retval
     1716
     1717} # ac_fn_cxx_try_compile
     1718
     1719# ac_fn_f77_try_compile LINENO
     1720# ----------------------------
     1721# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1722ac_fn_f77_try_compile ()
     1723{
     1724  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1725  rm -f conftest.$ac_objext
     1726  if { { ac_try="$ac_compile"
     1727case "(($ac_try" in
     1728  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1729  *) ac_try_echo=$ac_try;;
     1730esac
     1731eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1732$as_echo "$ac_try_echo"; } >&5
     1733  (eval "$ac_compile") 2>conftest.err
     1734  ac_status=$?
     1735  if test -s conftest.err; then
     1736    grep -v '^ *+' conftest.err >conftest.er1
     1737    cat conftest.er1 >&5
     1738    mv -f conftest.er1 conftest.err
     1739  fi
     1740  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1741  test $ac_status = 0; } && {
     1742         test -z "$ac_f77_werror_flag" ||
     1743         test ! -s conftest.err
     1744       } && test -s conftest.$ac_objext; then :
     1745  ac_retval=0
     1746else
     1747  $as_echo "$as_me: failed program was:" >&5
     1748sed 's/^/| /' conftest.$ac_ext >&5
     1749
     1750        ac_retval=1
     1751fi
     1752  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1753  as_fn_set_status $ac_retval
     1754
     1755} # ac_fn_f77_try_compile
     1756
     1757# ac_fn_c_try_cpp LINENO
     1758# ----------------------
     1759# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1760ac_fn_c_try_cpp ()
     1761{
     1762  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1763  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1764case "(($ac_try" in
     1765  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1766  *) ac_try_echo=$ac_try;;
     1767esac
     1768eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1769$as_echo "$ac_try_echo"; } >&5
     1770  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1771  ac_status=$?
     1772  if test -s conftest.err; then
     1773    grep -v '^ *+' conftest.err >conftest.er1
     1774    cat conftest.er1 >&5
     1775    mv -f conftest.er1 conftest.err
     1776  fi
     1777  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1778  test $ac_status = 0; } > conftest.i && {
     1779         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     1780         test ! -s conftest.err
     1781       }; then :
     1782  ac_retval=0
     1783else
     1784  $as_echo "$as_me: failed program was:" >&5
     1785sed 's/^/| /' conftest.$ac_ext >&5
     1786
     1787    ac_retval=1
     1788fi
     1789  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1790  as_fn_set_status $ac_retval
     1791
     1792} # ac_fn_c_try_cpp
     1793
     1794# ac_fn_cxx_try_cpp LINENO
     1795# ------------------------
     1796# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1797ac_fn_cxx_try_cpp ()
     1798{
     1799  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1800  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1801case "(($ac_try" in
     1802  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1803  *) ac_try_echo=$ac_try;;
     1804esac
     1805eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1806$as_echo "$ac_try_echo"; } >&5
     1807  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1808  ac_status=$?
     1809  if test -s conftest.err; then
     1810    grep -v '^ *+' conftest.err >conftest.er1
     1811    cat conftest.er1 >&5
     1812    mv -f conftest.er1 conftest.err
     1813  fi
     1814  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1815  test $ac_status = 0; } > conftest.i && {
     1816         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     1817         test ! -s conftest.err
     1818       }; then :
     1819  ac_retval=0
     1820else
     1821  $as_echo "$as_me: failed program was:" >&5
     1822sed 's/^/| /' conftest.$ac_ext >&5
     1823
     1824    ac_retval=1
     1825fi
     1826  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1827  as_fn_set_status $ac_retval
     1828
     1829} # ac_fn_cxx_try_cpp
     1830
     1831# ac_fn_cxx_try_link LINENO
     1832# -------------------------
     1833# Try to link conftest.$ac_ext, and return whether this succeeded.
     1834ac_fn_cxx_try_link ()
     1835{
     1836  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1837  rm -f conftest.$ac_objext conftest$ac_exeext
     1838  if { { ac_try="$ac_link"
     1839case "(($ac_try" in
     1840  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1841  *) ac_try_echo=$ac_try;;
     1842esac
     1843eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1844$as_echo "$ac_try_echo"; } >&5
     1845  (eval "$ac_link") 2>conftest.err
     1846  ac_status=$?
     1847  if test -s conftest.err; then
     1848    grep -v '^ *+' conftest.err >conftest.er1
     1849    cat conftest.er1 >&5
     1850    mv -f conftest.er1 conftest.err
     1851  fi
     1852  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1853  test $ac_status = 0; } && {
     1854         test -z "$ac_cxx_werror_flag" ||
     1855         test ! -s conftest.err
     1856       } && test -s conftest$ac_exeext && {
     1857         test "$cross_compiling" = yes ||
     1858         test -x conftest$ac_exeext
     1859       }; then :
     1860  ac_retval=0
     1861else
     1862  $as_echo "$as_me: failed program was:" >&5
     1863sed 's/^/| /' conftest.$ac_ext >&5
     1864
     1865        ac_retval=1
     1866fi
     1867  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1868  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1869  # interfere with the next link command; also delete a directory that is
     1870  # left behind by Apple's compiler.  We do this before executing the actions.
     1871  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1872  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1873  as_fn_set_status $ac_retval
     1874
     1875} # ac_fn_cxx_try_link
     1876
     1877# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
     1878# ---------------------------------------------------------
     1879# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     1880# the include files in INCLUDES and setting the cache variable VAR
     1881# accordingly.
     1882ac_fn_cxx_check_header_mongrel ()
     1883{
     1884  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1885  if eval \${$3+:} false; then :
     1886  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1887$as_echo_n "checking for $2... " >&6; }
     1888if eval \${$3+:} false; then :
     1889  $as_echo_n "(cached) " >&6
     1890fi
     1891eval ac_res=\$$3
     1892               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1893$as_echo "$ac_res" >&6; }
     1894else
     1895  # Is the header compilable?
     1896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     1897$as_echo_n "checking $2 usability... " >&6; }
     1898cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1899/* end confdefs.h.  */
     1900$4
     1901#include <$2>
     1902_ACEOF
     1903if ac_fn_cxx_try_compile "$LINENO"; then :
     1904  ac_header_compiler=yes
     1905else
     1906  ac_header_compiler=no
     1907fi
     1908rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1909{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     1910$as_echo "$ac_header_compiler" >&6; }
     1911
     1912# Is the header present?
     1913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     1914$as_echo_n "checking $2 presence... " >&6; }
     1915cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1916/* end confdefs.h.  */
     1917#include <$2>
     1918_ACEOF
     1919if ac_fn_cxx_try_cpp "$LINENO"; then :
     1920  ac_header_preproc=yes
     1921else
     1922  ac_header_preproc=no
     1923fi
     1924rm -f conftest.err conftest.i conftest.$ac_ext
     1925{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     1926$as_echo "$ac_header_preproc" >&6; }
     1927
     1928# So?  What about this header?
     1929case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
     1930  yes:no: )
     1931    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     1932$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     1933    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1934$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1935    ;;
     1936  no:yes:* )
     1937    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     1938$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     1939    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     1940$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     1941    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     1942$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     1943    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     1944$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     1945    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1946$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1947    ;;
     1948esac
     1949  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1950$as_echo_n "checking for $2... " >&6; }
     1951if eval \${$3+:} false; then :
     1952  $as_echo_n "(cached) " >&6
     1953else
     1954  eval "$3=\$ac_header_compiler"
     1955fi
     1956eval ac_res=\$$3
     1957               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1958$as_echo "$ac_res" >&6; }
     1959fi
     1960  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1961
     1962} # ac_fn_cxx_check_header_mongrel
     1963
     1964# ac_fn_cxx_try_run LINENO
     1965# ------------------------
     1966# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1967# that executables *can* be run.
     1968ac_fn_cxx_try_run ()
     1969{
     1970  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1971  if { { ac_try="$ac_link"
     1972case "(($ac_try" in
     1973  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1974  *) ac_try_echo=$ac_try;;
     1975esac
     1976eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1977$as_echo "$ac_try_echo"; } >&5
     1978  (eval "$ac_link") 2>&5
     1979  ac_status=$?
     1980  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1981  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1982  { { case "(($ac_try" in
     1983  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1984  *) ac_try_echo=$ac_try;;
     1985esac
     1986eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1987$as_echo "$ac_try_echo"; } >&5
     1988  (eval "$ac_try") 2>&5
     1989  ac_status=$?
     1990  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1991  test $ac_status = 0; }; }; then :
     1992  ac_retval=0
     1993else
     1994  $as_echo "$as_me: program exited with status $ac_status" >&5
     1995       $as_echo "$as_me: failed program was:" >&5
     1996sed 's/^/| /' conftest.$ac_ext >&5
     1997
     1998       ac_retval=$ac_status
     1999fi
     2000  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     2001  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2002  as_fn_set_status $ac_retval
     2003
     2004} # ac_fn_cxx_try_run
     2005
     2006# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
     2007# ---------------------------------------------------------
     2008# Tests whether HEADER exists and can be compiled using the include files in
     2009# INCLUDES, setting the cache variable VAR accordingly.
     2010ac_fn_cxx_check_header_compile ()
     2011{
     2012  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2013  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2014$as_echo_n "checking for $2... " >&6; }
     2015if eval \${$3+:} false; then :
     2016  $as_echo_n "(cached) " >&6
     2017else
     2018  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2019/* end confdefs.h.  */
     2020$4
     2021#include <$2>
     2022_ACEOF
     2023if ac_fn_cxx_try_compile "$LINENO"; then :
     2024  eval "$3=yes"
     2025else
     2026  eval "$3=no"
     2027fi
     2028rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2029fi
     2030eval ac_res=\$$3
     2031               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2032$as_echo "$ac_res" >&6; }
     2033  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2034
     2035} # ac_fn_cxx_check_header_compile
     2036
     2037# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
     2038# -------------------------------------------------------
     2039# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     2040# the include files in INCLUDES and setting the cache variable VAR
     2041# accordingly.
     2042ac_fn_c_check_header_mongrel ()
     2043{
     2044  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2045  if eval \${$3+:} false; then :
     2046  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2047$as_echo_n "checking for $2... " >&6; }
     2048if eval \${$3+:} false; then :
     2049  $as_echo_n "(cached) " >&6
     2050fi
     2051eval ac_res=\$$3
     2052               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2053$as_echo "$ac_res" >&6; }
     2054else
     2055  # Is the header compilable?
     2056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     2057$as_echo_n "checking $2 usability... " >&6; }
     2058cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2059/* end confdefs.h.  */
     2060$4
     2061#include <$2>
     2062_ACEOF
     2063if ac_fn_c_try_compile "$LINENO"; then :
     2064  ac_header_compiler=yes
     2065else
     2066  ac_header_compiler=no
     2067fi
     2068rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     2070$as_echo "$ac_header_compiler" >&6; }
     2071
     2072# Is the header present?
     2073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     2074$as_echo_n "checking $2 presence... " >&6; }
     2075cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2076/* end confdefs.h.  */
     2077#include <$2>
     2078_ACEOF
     2079if ac_fn_c_try_cpp "$LINENO"; then :
     2080  ac_header_preproc=yes
     2081else
     2082  ac_header_preproc=no
     2083fi
     2084rm -f conftest.err conftest.i conftest.$ac_ext
     2085{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     2086$as_echo "$ac_header_preproc" >&6; }
     2087
     2088# So?  What about this header?
     2089case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
     2090  yes:no: )
     2091    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     2092$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     2093    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2094$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2095    ;;
     2096  no:yes:* )
     2097    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     2098$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     2099    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     2100$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     2101    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     2102$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     2103    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     2104$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     2105    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2106$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2107    ;;
     2108esac
     2109  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2110$as_echo_n "checking for $2... " >&6; }
     2111if eval \${$3+:} false; then :
     2112  $as_echo_n "(cached) " >&6
     2113else
     2114  eval "$3=\$ac_header_compiler"
     2115fi
     2116eval ac_res=\$$3
     2117               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2118$as_echo "$ac_res" >&6; }
     2119fi
     2120  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2121
     2122} # ac_fn_c_check_header_mongrel
     2123
     2124# ac_fn_c_try_run LINENO
     2125# ----------------------
     2126# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     2127# that executables *can* be run.
     2128ac_fn_c_try_run ()
     2129{
     2130  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2131  if { { ac_try="$ac_link"
     2132case "(($ac_try" in
     2133  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2134  *) ac_try_echo=$ac_try;;
     2135esac
     2136eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2137$as_echo "$ac_try_echo"; } >&5
     2138  (eval "$ac_link") 2>&5
     2139  ac_status=$?
     2140  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2141  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     2142  { { case "(($ac_try" in
     2143  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2144  *) ac_try_echo=$ac_try;;
     2145esac
     2146eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2147$as_echo "$ac_try_echo"; } >&5
     2148  (eval "$ac_try") 2>&5
     2149  ac_status=$?
     2150  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2151  test $ac_status = 0; }; }; then :
     2152  ac_retval=0
     2153else
     2154  $as_echo "$as_me: program exited with status $ac_status" >&5
     2155       $as_echo "$as_me: failed program was:" >&5
     2156sed 's/^/| /' conftest.$ac_ext >&5
     2157
     2158       ac_retval=$ac_status
     2159fi
     2160  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     2161  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2162  as_fn_set_status $ac_retval
     2163
     2164} # ac_fn_c_try_run
     2165
     2166# ac_fn_c_try_link LINENO
     2167# -----------------------
     2168# Try to link conftest.$ac_ext, and return whether this succeeded.
     2169ac_fn_c_try_link ()
     2170{
     2171  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2172  rm -f conftest.$ac_objext conftest$ac_exeext
     2173  if { { ac_try="$ac_link"
     2174case "(($ac_try" in
     2175  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2176  *) ac_try_echo=$ac_try;;
     2177esac
     2178eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2179$as_echo "$ac_try_echo"; } >&5
     2180  (eval "$ac_link") 2>conftest.err
     2181  ac_status=$?
     2182  if test -s conftest.err; then
     2183    grep -v '^ *+' conftest.err >conftest.er1
     2184    cat conftest.er1 >&5
     2185    mv -f conftest.er1 conftest.err
     2186  fi
     2187  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2188  test $ac_status = 0; } && {
     2189         test -z "$ac_c_werror_flag" ||
     2190         test ! -s conftest.err
     2191       } && test -s conftest$ac_exeext && {
     2192         test "$cross_compiling" = yes ||
     2193         test -x conftest$ac_exeext
     2194       }; then :
     2195  ac_retval=0
     2196else
     2197  $as_echo "$as_me: failed program was:" >&5
     2198sed 's/^/| /' conftest.$ac_ext >&5
     2199
     2200        ac_retval=1
     2201fi
     2202  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     2203  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     2204  # interfere with the next link command; also delete a directory that is
     2205  # left behind by Apple's compiler.  We do this before executing the actions.
     2206  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     2207  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2208  as_fn_set_status $ac_retval
     2209
     2210} # ac_fn_c_try_link
     2211
     2212# ac_fn_c_check_func LINENO FUNC VAR
     2213# ----------------------------------
     2214# Tests whether FUNC exists, setting the cache variable VAR accordingly
     2215ac_fn_c_check_func ()
     2216{
     2217  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2218  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2219$as_echo_n "checking for $2... " >&6; }
     2220if eval \${$3+:} false; then :
     2221  $as_echo_n "(cached) " >&6
     2222else
     2223  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2224/* end confdefs.h.  */
     2225/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     2226   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     2227#define $2 innocuous_$2
     2228
     2229/* System header to define __stub macros and hopefully few prototypes,
     2230    which can conflict with char $2 (); below.
     2231    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     2232    <limits.h> exists even on freestanding compilers.  */
     2233
     2234#ifdef __STDC__
     2235# include <limits.h>
     2236#else
     2237# include <assert.h>
     2238#endif
     2239
     2240#undef $2
     2241
     2242/* Override any GCC internal prototype to avoid an error.
     2243   Use char because int might match the return type of a GCC
     2244   builtin and then its argument prototype would still apply.  */
     2245#ifdef __cplusplus
     2246extern "C"
     2247#endif
     2248char $2 ();
     2249/* The GNU C library defines this for functions which it implements
     2250    to always fail with ENOSYS.  Some functions are actually named
     2251    something starting with __ and the normal name is an alias.  */
     2252#if defined __stub_$2 || defined __stub___$2
     2253choke me
     2254#endif
     2255
     2256int
     2257main ()
     2258{
     2259return $2 ();
     2260  ;
     2261  return 0;
     2262}
     2263_ACEOF
     2264if ac_fn_c_try_link "$LINENO"; then :
     2265  eval "$3=yes"
     2266else
     2267  eval "$3=no"
     2268fi
     2269rm -f core conftest.err conftest.$ac_objext \
     2270    conftest$ac_exeext conftest.$ac_ext
     2271fi
     2272eval ac_res=\$$3
     2273               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2274$as_echo "$ac_res" >&6; }
     2275  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2276
     2277} # ac_fn_c_check_func
     2278
     2279# ac_fn_cxx_check_func LINENO FUNC VAR
     2280# ------------------------------------
     2281# Tests whether FUNC exists, setting the cache variable VAR accordingly
     2282ac_fn_cxx_check_func ()
     2283{
     2284  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2285  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2286$as_echo_n "checking for $2... " >&6; }
     2287if eval \${$3+:} false; then :
     2288  $as_echo_n "(cached) " >&6
     2289else
     2290  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2291/* end confdefs.h.  */
     2292/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     2293   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     2294#define $2 innocuous_$2
     2295
     2296/* System header to define __stub macros and hopefully few prototypes,
     2297    which can conflict with char $2 (); below.
     2298    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     2299    <limits.h> exists even on freestanding compilers.  */
     2300
     2301#ifdef __STDC__
     2302# include <limits.h>
     2303#else
     2304# include <assert.h>
     2305#endif
     2306
     2307#undef $2
     2308
     2309/* Override any GCC internal prototype to avoid an error.
     2310   Use char because int might match the return type of a GCC
     2311   builtin and then its argument prototype would still apply.  */
     2312#ifdef __cplusplus
     2313extern "C"
     2314#endif
     2315char $2 ();
     2316/* The GNU C library defines this for functions which it implements
     2317    to always fail with ENOSYS.  Some functions are actually named
     2318    something starting with __ and the normal name is an alias.  */
     2319#if defined __stub_$2 || defined __stub___$2
     2320choke me
     2321#endif
     2322
     2323int
     2324main ()
     2325{
     2326return $2 ();
     2327  ;
     2328  return 0;
     2329}
     2330_ACEOF
     2331if ac_fn_cxx_try_link "$LINENO"; then :
     2332  eval "$3=yes"
     2333else
     2334  eval "$3=no"
     2335fi
     2336rm -f core conftest.err conftest.$ac_objext \
     2337    conftest$ac_exeext conftest.$ac_ext
     2338fi
     2339eval ac_res=\$$3
     2340               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2341$as_echo "$ac_res" >&6; }
     2342  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2343
     2344} # ac_fn_cxx_check_func
     2345
     2346# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
     2347# -------------------------------------------
     2348# Tests whether TYPE exists after having included INCLUDES, setting cache
     2349# variable VAR accordingly.
     2350ac_fn_c_check_type ()
     2351{
     2352  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2353  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2354$as_echo_n "checking for $2... " >&6; }
     2355if eval \${$3+:} false; then :
     2356  $as_echo_n "(cached) " >&6
     2357else
     2358  eval "$3=no"
     2359  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2360/* end confdefs.h.  */
     2361$4
     2362int
     2363main ()
     2364{
     2365if (sizeof ($2))
     2366         return 0;
     2367  ;
     2368  return 0;
     2369}
     2370_ACEOF
     2371if ac_fn_c_try_compile "$LINENO"; then :
     2372  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2373/* end confdefs.h.  */
     2374$4
     2375int
     2376main ()
     2377{
     2378if (sizeof (($2)))
     2379            return 0;
     2380  ;
     2381  return 0;
     2382}
     2383_ACEOF
     2384if ac_fn_c_try_compile "$LINENO"; then :
     2385
     2386else
     2387  eval "$3=yes"
     2388fi
     2389rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2390fi
     2391rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2392fi
     2393eval ac_res=\$$3
     2394               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2395$as_echo "$ac_res" >&6; }
     2396  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2397
     2398} # ac_fn_c_check_type
     2399
     2400# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
     2401# -------------------------------------------------------
     2402# Tests whether HEADER exists and can be compiled using the include files in
     2403# INCLUDES, setting the cache variable VAR accordingly.
     2404ac_fn_c_check_header_compile ()
     2405{
     2406  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2407  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2408$as_echo_n "checking for $2... " >&6; }
     2409if eval \${$3+:} false; then :
     2410  $as_echo_n "(cached) " >&6
     2411else
     2412  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2413/* end confdefs.h.  */
     2414$4
     2415#include <$2>
     2416_ACEOF
     2417if ac_fn_c_try_compile "$LINENO"; then :
     2418  eval "$3=yes"
     2419else
     2420  eval "$3=no"
     2421fi
     2422rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2423fi
     2424eval ac_res=\$$3
     2425               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2426$as_echo "$ac_res" >&6; }
     2427  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2428
     2429} # ac_fn_c_check_header_compile
     2430
     2431# ac_fn_f77_try_link LINENO
     2432# -------------------------
     2433# Try to link conftest.$ac_ext, and return whether this succeeded.
     2434ac_fn_f77_try_link ()
     2435{
     2436  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2437  rm -f conftest.$ac_objext conftest$ac_exeext
     2438  if { { ac_try="$ac_link"
     2439case "(($ac_try" in
     2440  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2441  *) ac_try_echo=$ac_try;;
     2442esac
     2443eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2444$as_echo "$ac_try_echo"; } >&5
     2445  (eval "$ac_link") 2>conftest.err
     2446  ac_status=$?
     2447  if test -s conftest.err; then
     2448    grep -v '^ *+' conftest.err >conftest.er1
     2449    cat conftest.er1 >&5
     2450    mv -f conftest.er1 conftest.err
     2451  fi
     2452  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2453  test $ac_status = 0; } && {
     2454         test -z "$ac_f77_werror_flag" ||
     2455         test ! -s conftest.err
     2456       } && test -s conftest$ac_exeext && {
     2457         test "$cross_compiling" = yes ||
     2458         test -x conftest$ac_exeext
     2459       }; then :
     2460  ac_retval=0
     2461else
     2462  $as_echo "$as_me: failed program was:" >&5
     2463sed 's/^/| /' conftest.$ac_ext >&5
     2464
     2465        ac_retval=1
     2466fi
     2467  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     2468  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     2469  # interfere with the next link command; also delete a directory that is
     2470  # left behind by Apple's compiler.  We do this before executing the actions.
     2471  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     2472  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2473  as_fn_set_status $ac_retval
     2474
     2475} # ac_fn_f77_try_link
     2476cat >config.log <<_ACEOF
    12002477This file contains any messages produced by compilers while
    12012478running configure, to aid debugging if configure makes a mistake.
    12022479
    12032480It was created by $as_me, which was
    1204 generated by GNU Autoconf 2.59.  Invocation command line was
     2481generated by GNU Autoconf 2.69.  Invocation command line was
    12052482
    12062483  $ $0 $@
    12072484
    12082485_ACEOF
     2486exec 5>>config.log
    12092487{
    12102488cat <<_ASUNAME
     
    12252503/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    12262504/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    1227 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
     2505/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
    12282506/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    12292507/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     
    12372515  IFS=$as_save_IFS
    12382516  test -z "$as_dir" && as_dir=.
    1239   echo "PATH: $as_dir"
    1240 done
     2517    $as_echo "PATH: $as_dir"
     2518  done
     2519IFS=$as_save_IFS
    12412520
    12422521} >&5
     
    12602539ac_configure_args0=
    12612540ac_configure_args1=
    1262 ac_sep=
    12632541ac_must_keep_next=false
    12642542for ac_pass in 1 2
     
    12712549    | -silent | --silent | --silen | --sile | --sil)
    12722550      continue ;;
    1273     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1274       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     2551    *\'*)
     2552      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    12752553    esac
    12762554    case $ac_pass in
    1277     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     2555    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
    12782556    2)
    1279       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     2557      as_fn_append ac_configure_args1 " '$ac_arg'"
    12802558      if test $ac_must_keep_next = true; then
    12812559        ac_must_keep_next=false # Got value, back to normal.
     
    12932571        esac
    12942572      fi
    1295       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
    1296       # Get rid of the leading space.
    1297       ac_sep=" "
     2573      as_fn_append ac_configure_args " '$ac_arg'"
    12982574      ;;
    12992575    esac
    13002576  done
    13012577done
    1302 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    1303 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
     2578{ ac_configure_args0=; unset ac_configure_args0;}
     2579{ ac_configure_args1=; unset ac_configure_args1;}
    13042580
    13052581# When interrupted or exit'd, cleanup temporary files, and complete
    13062582# config.log.  We remove comments because anyway the quotes in there
    13072583# would cause problems or look ugly.
    1308 # WARNING: Be sure not to use single quotes in there, as some shells,
    1309 # such as our DU 5.0 friend, will then `close' the trap.
     2584# WARNING: Use '\'' to represent an apostrophe within the trap.
     2585# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
    13102586trap 'exit_status=$?
    13112587  # Save into config.log some information that might help in debugging.
     
    13132589    echo
    13142590
    1315     cat <<\_ASBOX
    1316 ## ---------------- ##
     2591    $as_echo "## ---------------- ##
    13172592## Cache variables. ##
    1318 ## ---------------- ##
    1319 _ASBOX
     2593## ---------------- ##"
    13202594    echo
    13212595    # The following way of writing the cache mishandles newlines in values,
    1322 {
     2596(
     2597  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
     2598    eval ac_val=\$$ac_var
     2599    case $ac_val in #(
     2600    *${as_nl}*)
     2601      case $ac_var in #(
     2602      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
     2603$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
     2604      esac
     2605      case $ac_var in #(
     2606      _ | IFS | as_nl) ;; #(
     2607      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
     2608      *) { eval $ac_var=; unset $ac_var;} ;;
     2609      esac ;;
     2610    esac
     2611  done
    13232612  (set) 2>&1 |
    1324     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    1325     *ac_space=\ *)
     2613    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
     2614    *${as_nl}ac_space=\ *)
    13262615      sed -n \
    1327         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    1328           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     2616        "s/'\''/'\''\\\\'\'''\''/g;
     2617          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
     2618      ;; #(
     2619    *)
     2620      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    13292621      ;;
    1330     *)
    1331       sed -n \
    1332         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    1333       ;;
    1334     esac;
    1335 }
     2622    esac |
     2623    sort
     2624)
    13362625    echo
    13372626
    1338     cat <<\_ASBOX
    1339 ## ----------------- ##
     2627    $as_echo "## ----------------- ##
    13402628## Output variables. ##
    1341 ## ----------------- ##
    1342 _ASBOX
     2629## ----------------- ##"
    13432630    echo
    13442631    for ac_var in $ac_subst_vars
    13452632    do
    1346       eval ac_val=$`echo $ac_var`
    1347       echo "$ac_var='"'"'$ac_val'"'"'"
     2633      eval ac_val=\$$ac_var
     2634      case $ac_val in
     2635      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     2636      esac
     2637      $as_echo "$ac_var='\''$ac_val'\''"
    13482638    done | sort
    13492639    echo
    13502640
    13512641    if test -n "$ac_subst_files"; then
    1352       cat <<\_ASBOX
    1353 ## ------------- ##
    1354 ## Output files. ##
    1355 ## ------------- ##
    1356 _ASBOX
     2642      $as_echo "## ------------------- ##
     2643## File substitutions. ##
     2644## ------------------- ##"
    13572645      echo
    13582646      for ac_var in $ac_subst_files
    13592647      do
    1360         eval ac_val=$`echo $ac_var`
    1361         echo "$ac_var='"'"'$ac_val'"'"'"
     2648        eval ac_val=\$$ac_var
     2649        case $ac_val in
     2650        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     2651        esac
     2652        $as_echo "$ac_var='\''$ac_val'\''"
    13622653      done | sort
    13632654      echo
     
    13652656
    13662657    if test -s confdefs.h; then
    1367       cat <<\_ASBOX
    1368 ## ----------- ##
     2658      $as_echo "## ----------- ##
    13692659## confdefs.h. ##
    1370 ## ----------- ##
    1371 _ASBOX
     2660## ----------- ##"
    13722661      echo
    1373       sed "/^$/d" confdefs.h | sort
     2662      cat confdefs.h
    13742663      echo
    13752664    fi
    13762665    test "$ac_signal" != 0 &&
    1377       echo "$as_me: caught signal $ac_signal"
    1378     echo "$as_me: exit $exit_status"
     2666      $as_echo "$as_me: caught signal $ac_signal"
     2667    $as_echo "$as_me: exit $exit_status"
    13792668  } >&5
    1380   rm -f core *.core &&
    1381   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
     2669  rm -f core *.core core.conftest.* &&
     2670    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
    13822671    exit $exit_status
    1383      ' 0
     2672' 0
    13842673for ac_signal in 1 2 13 15; do
    1385   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     2674  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
    13862675done
    13872676ac_signal=0
    13882677
    13892678# confdefs.h avoids OS command line length limits that DEFS can exceed.
    1390 rm -rf conftest* confdefs.h
    1391 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
    1392 echo >confdefs.h
     2679rm -f -r conftest* confdefs.h
     2680
     2681$as_echo "/* confdefs.h */" > confdefs.h
    13932682
    13942683# Predefined preprocessor variables.
     
    13982687_ACEOF
    13992688
    1400 
    14012689cat >>confdefs.h <<_ACEOF
    14022690#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    14032691_ACEOF
    14042692
    1405 
    14062693cat >>confdefs.h <<_ACEOF
    14072694#define PACKAGE_VERSION "$PACKAGE_VERSION"
    14082695_ACEOF
    14092696
    1410 
    14112697cat >>confdefs.h <<_ACEOF
    14122698#define PACKAGE_STRING "$PACKAGE_STRING"
    14132699_ACEOF
    14142700
    1415 
    14162701cat >>confdefs.h <<_ACEOF
    14172702#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
    14182703_ACEOF
    14192704
     2705cat >>confdefs.h <<_ACEOF
     2706#define PACKAGE_URL "$PACKAGE_URL"
     2707_ACEOF
     2708
    14202709
    14212710# Let the site file select an alternate cache file if it wants to.
    1422 # Prefer explicitly selected file to automatically selected ones.
    1423 if test -z "$CONFIG_SITE"; then
    1424   if test "x$prefix" != xNONE; then
    1425     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
    1426   else
    1427     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    1428   fi
    1429 fi
    1430 for ac_site_file in $CONFIG_SITE; do
    1431   if test -r "$ac_site_file"; then
    1432     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
    1433 echo "$as_me: loading site script $ac_site_file" >&6;}
     2711# Prefer an explicitly selected file to automatically selected ones.
     2712ac_site_file1=NONE
     2713ac_site_file2=NONE
     2714if test -n "$CONFIG_SITE"; then
     2715  # We do not want a PATH search for config.site.
     2716  case $CONFIG_SITE in #((
     2717    -*)  ac_site_file1=./$CONFIG_SITE;;
     2718    */*) ac_site_file1=$CONFIG_SITE;;
     2719    *)   ac_site_file1=./$CONFIG_SITE;;
     2720  esac
     2721elif test "x$prefix" != xNONE; then
     2722  ac_site_file1=$prefix/share/config.site
     2723  ac_site_file2=$prefix/etc/config.site
     2724else
     2725  ac_site_file1=$ac_default_prefix/share/config.site
     2726  ac_site_file2=$ac_default_prefix/etc/config.site
     2727fi
     2728for ac_site_file in "$ac_site_file1" "$ac_site_file2"
     2729do
     2730  test "x$ac_site_file" = xNONE && continue
     2731  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
     2732    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
     2733$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    14342734    sed 's/^/| /' "$ac_site_file" >&5
    1435     . "$ac_site_file"
     2735    . "$ac_site_file" \
     2736      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2737$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2738as_fn_error $? "failed to load site script $ac_site_file
     2739See \`config.log' for more details" "$LINENO" 5; }
    14362740  fi
    14372741done
     
    14412745# value.
    14422746ac_cache_corrupted=false
    1443 for ac_var in `(set) 2>&1 |
    1444                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     2747for ac_var in $ac_precious_vars; do
    14452748  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    14462749  eval ac_new_set=\$ac_env_${ac_var}_set
    1447   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
    1448   eval ac_new_val="\$ac_env_${ac_var}_value"
     2750  eval ac_old_val=\$ac_cv_env_${ac_var}_value
     2751  eval ac_new_val=\$ac_env_${ac_var}_value
    14492752  case $ac_old_set,$ac_new_set in
    14502753    set,)
    1451       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    1452 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
     2754      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     2755$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    14532756      ac_cache_corrupted=: ;;
    14542757    ,set)
    1455       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
    1456 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
     2758      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
     2759$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    14572760      ac_cache_corrupted=: ;;
    14582761    ,);;
    14592762    *)
    14602763      if test "x$ac_old_val" != "x$ac_new_val"; then
    1461         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    1462 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    1463         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
    1464 echo "$as_me:   former value:  $ac_old_val" >&2;}
    1465         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
    1466 echo "$as_me:   current value: $ac_new_val" >&2;}
    1467         ac_cache_corrupted=:
     2764        # differences in whitespace do not lead to failure.
     2765        ac_old_val_w=`echo x $ac_old_val`
     2766        ac_new_val_w=`echo x $ac_new_val`
     2767        if test "$ac_old_val_w" != "$ac_new_val_w"; then
     2768          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
     2769$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
     2770          ac_cache_corrupted=:
     2771        else
     2772          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     2773$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
     2774          eval $ac_var=\$ac_old_val
     2775        fi
     2776        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
     2777$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
     2778        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
     2779$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    14682780      fi;;
    14692781  esac
     
    14712783  if test "$ac_new_set" = set; then
    14722784    case $ac_new_val in
    1473     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1474       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     2785    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    14752786    *) ac_arg=$ac_var=$ac_new_val ;;
    14762787    esac
    14772788    case " $ac_configure_args " in
    14782789      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    1479       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     2790      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
    14802791    esac
    14812792  fi
    14822793done
    14832794if $ac_cache_corrupted; then
    1484   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
    1485 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1486   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1487 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    1488    { (exit 1); exit 1; }; }
    1489 fi
     2795  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2796$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2797  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
     2798$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
     2799  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
     2800fi
     2801## -------------------- ##
     2802## Main body of script. ##
     2803## -------------------- ##
    14902804
    14912805ac_ext=c
     
    14972811
    14982812
    1499 
    1500 
    1501 
    1502 
    1503 
    1504 
    1505 
    1506 
    1507 
    1508 
    1509 
    1510 
    1511 
    1512 
    1513 
    1514 
    1515 
    1516           ac_config_headers="$ac_config_headers src/lib/scconfig.h"
     2813ac_config_headers="$ac_config_headers src/lib/scconfig.h"
    15172814
    15182815ac_aux_dir=
    1519 for ac_dir in bin $srcdir/bin; do
    1520   if test -f $ac_dir/install-sh; then
     2816for ac_dir in bin "$srcdir"/bin; do
     2817  if test -f "$ac_dir/install-sh"; then
    15212818    ac_aux_dir=$ac_dir
    15222819    ac_install_sh="$ac_aux_dir/install-sh -c"
    15232820    break
    1524   elif test -f $ac_dir/install.sh; then
     2821  elif test -f "$ac_dir/install.sh"; then
    15252822    ac_aux_dir=$ac_dir
    15262823    ac_install_sh="$ac_aux_dir/install.sh -c"
    15272824    break
    1528   elif test -f $ac_dir/shtool; then
     2825  elif test -f "$ac_dir/shtool"; then
    15292826    ac_aux_dir=$ac_dir
    15302827    ac_install_sh="$ac_aux_dir/shtool install -c"
     
    15332830done
    15342831if test -z "$ac_aux_dir"; then
    1535   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in bin $srcdir/bin" >&5
    1536 echo "$as_me: error: cannot find install-sh or install.sh in bin $srcdir/bin" >&2;}
    1537    { (exit 1); exit 1; }; }
    1538 fi
    1539 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
    1540 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
    1541 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
     2832  as_fn_error $? "cannot find install-sh, install.sh, or shtool in bin \"$srcdir\"/bin" "$LINENO" 5
     2833fi
     2834
     2835# These three variables are undocumented and unsupported,
     2836# and are intended to be withdrawn in a future Autoconf release.
     2837# They can cause serious problems if a builder's source tree is in a directory
     2838# whose full name contains unusual characters.
     2839ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
     2840ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
     2841ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
     2842
    15422843
    15432844
    15442845# Make sure we can run config.sub.
    1545 $ac_config_sub sun4 >/dev/null 2>&1 ||
    1546   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
    1547 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
    1548    { (exit 1); exit 1; }; }
    1549 
    1550 echo "$as_me:$LINENO: checking build system type" >&5
    1551 echo $ECHO_N "checking build system type... $ECHO_C" >&6
    1552 if test "${ac_cv_build+set}" = set; then
    1553   echo $ECHO_N "(cached) $ECHO_C" >&6
    1554 else
    1555   ac_cv_build_alias=$build_alias
    1556 test -z "$ac_cv_build_alias" &&
    1557   ac_cv_build_alias=`$ac_config_guess`
    1558 test -z "$ac_cv_build_alias" &&
    1559   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
    1560 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
    1561    { (exit 1); exit 1; }; }
    1562 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
    1563   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
    1564 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
    1565    { (exit 1); exit 1; }; }
    1566 
    1567 fi
    1568 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
    1569 echo "${ECHO_T}$ac_cv_build" >&6
     2846$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
     2847  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
     2848
     2849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
     2850$as_echo_n "checking build system type... " >&6; }
     2851if ${ac_cv_build+:} false; then :
     2852  $as_echo_n "(cached) " >&6
     2853else
     2854  ac_build_alias=$build_alias
     2855test "x$ac_build_alias" = x &&
     2856  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
     2857test "x$ac_build_alias" = x &&
     2858  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
     2859ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
     2860  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
     2861
     2862fi
     2863{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
     2864$as_echo "$ac_cv_build" >&6; }
     2865case $ac_cv_build in
     2866*-*-*) ;;
     2867*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
     2868esac
    15702869build=$ac_cv_build
    1571 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    1572 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    1573 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    1574 
    1575 
    1576 echo "$as_me:$LINENO: checking host system type" >&5
    1577 echo $ECHO_N "checking host system type... $ECHO_C" >&6
    1578 if test "${ac_cv_host+set}" = set; then
    1579   echo $ECHO_N "(cached) $ECHO_C" >&6
    1580 else
    1581   ac_cv_host_alias=$host_alias
    1582 test -z "$ac_cv_host_alias" &&
    1583   ac_cv_host_alias=$ac_cv_build_alias
    1584 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
    1585   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
    1586 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
    1587    { (exit 1); exit 1; }; }
    1588 
    1589 fi
    1590 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
    1591 echo "${ECHO_T}$ac_cv_host" >&6
     2870ac_save_IFS=$IFS; IFS='-'
     2871set x $ac_cv_build
     2872shift
     2873build_cpu=$1
     2874build_vendor=$2
     2875shift; shift
     2876# Remember, the first character of IFS is used to create $*,
     2877# except with old shells:
     2878build_os=$*
     2879IFS=$ac_save_IFS
     2880case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
     2881
     2882
     2883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
     2884$as_echo_n "checking host system type... " >&6; }
     2885if ${ac_cv_host+:} false; then :
     2886  $as_echo_n "(cached) " >&6
     2887else
     2888  if test "x$host_alias" = x; then
     2889  ac_cv_host=$ac_cv_build
     2890else
     2891  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
     2892    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
     2893fi
     2894
     2895fi
     2896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
     2897$as_echo "$ac_cv_host" >&6; }
     2898case $ac_cv_host in
     2899*-*-*) ;;
     2900*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
     2901esac
    15922902host=$ac_cv_host
    1593 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    1594 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    1595 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    1596 
    1597 
    1598 echo "$as_me:$LINENO: checking target system type" >&5
    1599 echo $ECHO_N "checking target system type... $ECHO_C" >&6
    1600 if test "${ac_cv_target+set}" = set; then
    1601   echo $ECHO_N "(cached) $ECHO_C" >&6
    1602 else
    1603   ac_cv_target_alias=$target_alias
    1604 test "x$ac_cv_target_alias" = "x" &&
    1605   ac_cv_target_alias=$ac_cv_host_alias
    1606 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
    1607   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
    1608 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
    1609    { (exit 1); exit 1; }; }
    1610 
    1611 fi
    1612 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
    1613 echo "${ECHO_T}$ac_cv_target" >&6
     2903ac_save_IFS=$IFS; IFS='-'
     2904set x $ac_cv_host
     2905shift
     2906host_cpu=$1
     2907host_vendor=$2
     2908shift; shift
     2909# Remember, the first character of IFS is used to create $*,
     2910# except with old shells:
     2911host_os=$*
     2912IFS=$ac_save_IFS
     2913case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
     2914
     2915
     2916{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
     2917$as_echo_n "checking target system type... " >&6; }
     2918if ${ac_cv_target+:} false; then :
     2919  $as_echo_n "(cached) " >&6
     2920else
     2921  if test "x$target_alias" = x; then
     2922  ac_cv_target=$ac_cv_host
     2923else
     2924  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
     2925    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
     2926fi
     2927
     2928fi
     2929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
     2930$as_echo "$ac_cv_target" >&6; }
     2931case $ac_cv_target in
     2932*-*-*) ;;
     2933*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
     2934esac
    16142935target=$ac_cv_target
    1615 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    1616 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    1617 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     2936ac_save_IFS=$IFS; IFS='-'
     2937set x $ac_cv_target
     2938shift
     2939target_cpu=$1
     2940target_vendor=$2
     2941shift; shift
     2942# Remember, the first character of IFS is used to create $*,
     2943# except with old shells:
     2944target_os=$*
     2945IFS=$ac_save_IFS
     2946case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
    16182947
    16192948
     
    16252954  program_prefix=${target_alias}-
    16262955
     2956
     2957
    16272958cat >>confdefs.h <<_ACEOF
    16282959#define HOST_ARCH "$host"
    16292960_ACEOF
    16302961
     2962
    16312963cat >>confdefs.h <<_ACEOF
    16322964#define TARGET_ARCH "$target"
     
    16452977SC_MINOR_VERSION=`echo $SC_MMM_VERSION|sed 's/[0-9]*\.\([0-9]*\)\.[0-9]*/\1/'`
    16462978SC_MICRO_VERSION=`echo $SC_MMM_VERSION|sed 's/[0-9]*\.[0-9]*\.\([0-9]*\)/\1/'`
     2979
    16472980cat >>confdefs.h <<_ACEOF
    16482981#define SC_MAJOR_VERSION $SC_MAJOR_VERSION
    16492982_ACEOF
    16502983
     2984
    16512985cat >>confdefs.h <<_ACEOF
    16522986#define SC_MINOR_VERSION $SC_MINOR_VERSION
    16532987_ACEOF
    16542988
     2989
    16552990cat >>confdefs.h <<_ACEOF
    16562991#define SC_MICRO_VERSION $SC_MICRO_VERSION
     
    16612996
    16622997
    1663 # Check whether --enable-debug or --disable-debug was given.
    1664 if test "${enable_debug+set}" = set; then
    1665   enableval="$enable_debug"
    1666 
     2998# Check whether --enable-debug was given.
     2999if test "${enable_debug+set}" = set; then :
     3000  enableval=$enable_debug;
    16673001case $enableval in
    16683002  yes)
     
    16763010  ;;
    16773011  *)
    1678     { { echo "$as_me:$LINENO: error: Invalid value for --enable-debug ($enableval)" >&5
    1679 echo "$as_me: error: Invalid value for --enable-debug ($enableval)" >&2;}
    1680    { (exit 1); exit 1; }; }
     3012    as_fn_error $? "Invalid value for --enable-debug ($enableval)" "$LINENO" 5
    16813013  ;;
    16823014esac
     
    16873019
    16883020
    1689 fi;
    1690 
    1691 # Check whether --enable-strict-arch or --disable-strict-arch was given.
    1692 if test "${enable_strict_arch+set}" = set; then
    1693   enableval="$enable_strict_arch"
    1694 
     3021fi
     3022
     3023
     3024# Check whether --enable-strict-arch was given.
     3025if test "${enable_strict_arch+set}" = set; then :
     3026  enableval=$enable_strict_arch;
    16953027case $enableval in
    16963028  yes)
     
    17013033  ;;
    17023034  *)
    1703     { { echo "$as_me:$LINENO: error: Invalid value for --enable-strict-arch ($enableval)" >&5
    1704 echo "$as_me: error: Invalid value for --enable-strict-arch ($enableval)" >&2;}
    1705    { (exit 1); exit 1; }; }
     3035    as_fn_error $? "Invalid value for --enable-strict-arch ($enableval)" "$LINENO" 5
    17063036  ;;
    17073037esac
     
    17123042
    17133043
    1714 fi;
     3044fi
     3045
    17153046
    17163047enableproduction=no
    1717 # Check whether --enable-production or --disable-production was given.
    1718 if test "${enable_production+set}" = set; then
    1719   enableval="$enable_production"
    1720 
     3048# Check whether --enable-production was given.
     3049if test "${enable_production+set}" = set; then :
     3050  enableval=$enable_production;
    17213051case $enableval in
    17223052  yes)
     
    17263056  ;;
    17273057  *)
    1728     { { echo "$as_me:$LINENO: error: Invalid value for --enable-production ($enableval)" >&5
    1729 echo "$as_me: error: Invalid value for --enable-production ($enableval)" >&2;}
    1730    { (exit 1); exit 1; }; }
     3058    as_fn_error $? "Invalid value for --enable-production ($enableval)" "$LINENO" 5
    17313059  ;;
    17323060esac
    17333061
    1734 fi;
    1735 
    1736 # Check whether --enable-sysv-ipc or --disable-sysv-ipc was given.
    1737 if test "${enable_sysv_ipc+set}" = set; then
    1738   enableval="$enable_sysv_ipc"
    1739 
     3062fi
     3063
     3064
     3065# Check whether --enable-sysv-ipc was given.
     3066if test "${enable_sysv_ipc+set}" = set; then :
     3067  enableval=$enable_sysv_ipc;
    17403068case $enableval in
    17413069  yes)
     
    17463074  ;;
    17473075  *)
    1748     { { echo "$as_me:$LINENO: error: Invalid value for --enable-sysv-ipc ($enableval)" >&5
    1749 echo "$as_me: error: Invalid value for --enable-sysv-ipc ($enableval)" >&2;}
    1750    { (exit 1); exit 1; }; }
     3076    as_fn_error $? "Invalid value for --enable-sysv-ipc ($enableval)" "$LINENO" 5
    17513077  ;;
    17523078esac
     
    17573083
    17583084
    1759 fi;
    1760 
    1761 # Check whether --enable-parallel or --disable-parallel was given.
    1762 if test "${enable_parallel+set}" = set; then
    1763   enableval="$enable_parallel"
    1764 
     3085fi
     3086
     3087
     3088# Check whether --enable-parallel was given.
     3089if test "${enable_parallel+set}" = set; then :
     3090  enableval=$enable_parallel;
    17653091case $enableval in
    17663092  yes)
     
    17713097  ;;
    17723098  *)
    1773     { { echo "$as_me:$LINENO: error: Invalid value for --enable-parallel ($enableval)" >&5
    1774 echo "$as_me: error: Invalid value for --enable-parallel ($enableval)" >&2;}
    1775    { (exit 1); exit 1; }; }
     3099    as_fn_error $? "Invalid value for --enable-parallel ($enableval)" "$LINENO" 5
    17763100  ;;
    17773101esac
     
    17823106
    17833107
    1784 fi;
    1785 
    1786 # Check whether --enable-always-use-mpi or --disable-always-use-mpi was given.
    1787 if test "${enable_always_use_mpi+set}" = set; then
    1788   enableval="$enable_always_use_mpi"
    1789 
     3108fi
     3109
     3110
     3111# Check whether --enable-always-use-mpi was given.
     3112if test "${enable_always_use_mpi+set}" = set; then :
     3113  enableval=$enable_always_use_mpi;
    17903114case $enableval in
    17913115  yes)
     
    17963120  ;;
    17973121  *)
    1798     { { echo "$as_me:$LINENO: error: Invalid value for --enable-always-use-mpi ($enableval)" >&5
    1799 echo "$as_me: error: Invalid value for --enable-always-use-mpi ($enableval)" >&2;}
    1800    { (exit 1); exit 1; }; }
     3122    as_fn_error $? "Invalid value for --enable-always-use-mpi ($enableval)" "$LINENO" 5
    18013123  ;;
    18023124esac
     
    18073129
    18083130
    1809 fi;
     3131fi
     3132
    18103133
    18113134DEFAULT_PARALLEL=none
    18123135
    1813 # Check whether --with-default-parallel or --without-default-parallel was given.
    1814 if test "${with_default_parallel+set}" = set; then
    1815   withval="$with_default_parallel"
    1816   DEFAULT_PARALLEL=$withval
    1817 
    1818 fi;
     3136# Check whether --with-default-parallel was given.
     3137if test "${with_default_parallel+set}" = set; then :
     3138  withval=$with_default_parallel; DEFAULT_PARALLEL=$withval
     3139
     3140fi
     3141
    18193142if test $DEFAULT_PARALLEL = mpi; then
    1820   cat >>confdefs.h <<\_ACEOF
    1821 #define DEFAULT_MPI 1
    1822 _ACEOF
     3143
     3144$as_echo "#define DEFAULT_MPI 1" >>confdefs.h
    18233145
    18243146elif test $DEFAULT_PARALLEL = mtmpi; then
    1825   cat >>confdefs.h <<\_ACEOF
    1826 #define DEFAULT_MPI 1
    1827 _ACEOF
    1828 
    1829   cat >>confdefs.h <<\_ACEOF
    1830 #define DEFAULT_MTMPI 1
    1831 _ACEOF
     3147
     3148$as_echo "#define DEFAULT_MPI 1" >>confdefs.h
     3149
     3150
     3151$as_echo "#define DEFAULT_MTMPI 1" >>confdefs.h
    18323152
    18333153elif test $DEFAULT_PARALLEL = armcimpi; then
    1834   cat >>confdefs.h <<\_ACEOF
    1835 #define DEFAULT_MPI 1
    1836 _ACEOF
    1837 
    1838   cat >>confdefs.h <<\_ACEOF
    1839 #define DEFAULT_ARMCI 1
    1840 _ACEOF
     3154
     3155$as_echo "#define DEFAULT_MPI 1" >>confdefs.h
     3156
     3157
     3158$as_echo "#define DEFAULT_ARMCI 1" >>confdefs.h
    18413159
    18423160fi
     
    18443162SC_MPI_THREAD_LEVEL=MPI_THREAD_MULTIPLE
    18453163
    1846 # Check whether --with-mpi-thread or --without-mpi-thread was given.
    1847 if test "${with_mpi_thread+set}" = set; then
    1848   withval="$with_mpi_thread"
    1849 
     3164# Check whether --with-mpi-thread was given.
     3165if test "${with_mpi_thread+set}" = set; then :
     3166  withval=$with_mpi_thread;
    18503167   case $withval in
    18513168   multiple)
     
    18623179   ;;
    18633180   *)
    1864      { { echo "$as_me:$LINENO: error: Invalid value for --with-mpi-thread ($withval)" >&5
    1865 echo "$as_me: error: Invalid value for --with-mpi-thread ($withval)" >&2;}
    1866    { (exit 1); exit 1; }; }
     3181     as_fn_error $? "Invalid value for --with-mpi-thread ($withval)" "$LINENO" 5
    18673182   ;;
    18683183   esac
    18693184
    18703185
    1871 fi;
     3186fi
     3187
     3188
    18723189cat >>confdefs.h <<_ACEOF
    18733190#define SC_MPI_THREAD_LEVEL $SC_MPI_THREAD_LEVEL
     
    18753192
    18763193
    1877 # Check whether --enable-long-long or --disable-long-long was given.
    1878 if test "${enable_long_long+set}" = set; then
    1879   enableval="$enable_long_long"
    1880 
     3194# Check whether --enable-long-long was given.
     3195if test "${enable_long_long+set}" = set; then :
     3196  enableval=$enable_long_long;
    18813197case $enableval in
    18823198  yes)
     
    18873203  ;;
    18883204  *)
    1889     { { echo "$as_me:$LINENO: error: Invalid value for --enable-long-long ($enableval)" >&5
    1890 echo "$as_me: error: Invalid value for --enable-long-long ($enableval)" >&2;}
    1891    { (exit 1); exit 1; }; }
     3205    as_fn_error $? "Invalid value for --enable-long-long ($enableval)" "$LINENO" 5
    18923206  ;;
    18933207esac
     
    18983212
    18993213
    1900 fi;
    1901 
    1902 # Check whether --enable-threads or --disable-threads was given.
    1903 if test "${enable_threads+set}" = set; then
    1904   enableval="$enable_threads"
    1905 
     3214fi
     3215
     3216
     3217# Check whether --enable-threads was given.
     3218if test "${enable_threads+set}" = set; then :
     3219  enableval=$enable_threads;
    19063220case $enableval in
    19073221  yes)
     
    19123226  ;;
    19133227  *)
    1914     { { echo "$as_me:$LINENO: error: Invalid value for --enable-threads ($enableval)" >&5
    1915 echo "$as_me: error: Invalid value for --enable-threads ($enableval)" >&2;}
    1916    { (exit 1); exit 1; }; }
     3228    as_fn_error $? "Invalid value for --enable-threads ($enableval)" "$LINENO" 5
    19173229  ;;
    19183230esac
     
    19233235
    19243236
    1925 fi;
    1926 
    1927 # Check whether --enable-ref-debug or --disable-ref-debug was given.
    1928 if test "${enable_ref_debug+set}" = set; then
    1929   enableval="$enable_ref_debug"
    1930 
     3237fi
     3238
     3239
     3240# Check whether --enable-ref-debug was given.
     3241if test "${enable_ref_debug+set}" = set; then :
     3242  enableval=$enable_ref_debug;
    19313243case $enableval in
    19323244  yes)
    19333245  ;;
    19343246  no)
    1935     cat >>confdefs.h <<\_ACEOF
    1936 #define REF_OPTIMIZE 1
    1937 _ACEOF
     3247
     3248$as_echo "#define REF_OPTIMIZE 1" >>confdefs.h
    19383249
    19393250  ;;
    19403251  *)
    1941     { { echo "$as_me:$LINENO: error: Invalid value for --enable-ref-debug ($enableval)" >&5
    1942 echo "$as_me: error: Invalid value for --enable-ref-debug ($enableval)" >&2;}
    1943    { (exit 1); exit 1; }; }
     3252    as_fn_error $? "Invalid value for --enable-ref-debug ($enableval)" "$LINENO" 5
    19443253  ;;
    19453254esac
     
    19483257
    19493258  if test $DEBUG = no -o $DEBUG = opt; then
    1950     cat >>confdefs.h <<\_ACEOF
    1951 #define REF_OPTIMIZE 1
    1952 _ACEOF
     3259
     3260$as_echo "#define REF_OPTIMIZE 1" >>confdefs.h
    19533261
    19543262  fi
    19553263
    19563264
    1957 fi;
    1958 
    1959 # Check whether --enable-cross-compile or --disable-cross-compile was given.
    1960 if test "${enable_cross_compile+set}" = set; then
    1961   enableval="$enable_cross_compile"
    1962 
     3265fi
     3266
     3267
     3268# Check whether --enable-cross-compile was given.
     3269if test "${enable_cross_compile+set}" = set; then :
     3270  enableval=$enable_cross_compile;
    19633271case $enableval in
    19643272  yes)
     
    19683276  ;;
    19693277  *)
    1970     { { echo "$as_me:$LINENO: error: Invalid value for --enable-cross-compile ($enableval)" >&5
    1971 echo "$as_me: error: Invalid value for --enable-cross-compile ($enableval)" >&2;}
    1972    { (exit 1); exit 1; }; }
     3278    as_fn_error $? "Invalid value for --enable-cross-compile ($enableval)" "$LINENO" 5
    19733279  ;;
    19743280esac
    19753281
    1976 fi;
     3282fi
     3283
    19773284
    19783285DOXYGEN_MAN=YES
    1979 # Check whether --enable-doxygen-man or --disable-doxygen-man was given.
    1980 if test "${enable_doxygen_man+set}" = set; then
    1981   enableval="$enable_doxygen_man"
    1982 
     3286# Check whether --enable-doxygen-man was given.
     3287if test "${enable_doxygen_man+set}" = set; then :
     3288  enableval=$enable_doxygen_man;
    19833289case $enableval in
    19843290  yes)
     
    19883294  ;;
    19893295  *)
    1990     { { echo "$as_me:$LINENO: error: Invalid value for --(dis|en)able-doxygen-man ($enableval)" >&5
    1991 echo "$as_me: error: Invalid value for --(dis|en)able-doxygen-man ($enableval)" >&2;}
    1992    { (exit 1); exit 1; }; }
     3296    as_fn_error $? "Invalid value for --(dis|en)able-doxygen-man ($enableval)" "$LINENO" 5
    19933297  ;;
    19943298esac
    19953299
    19963300
    1997 fi;
    1998 
    1999 
    2000 # Check whether --enable-sourceforge or --disable-sourceforge was given.
    2001 if test "${enable_sourceforge+set}" = set; then
    2002   enableval="$enable_sourceforge"
    2003 
     3301fi
     3302
     3303
     3304
     3305# Check whether --enable-sourceforge was given.
     3306if test "${enable_sourceforge+set}" = set; then :
     3307  enableval=$enable_sourceforge;
    20043308case $enableval in
    20053309  yes)
     
    20103314  ;;
    20113315  *)
    2012     { { echo "$as_me:$LINENO: error: Invalid value for --enable-sourceforge ($enableval)" >&5
    2013 echo "$as_me: error: Invalid value for --enable-sourceforge ($enableval)" >&2;}
    2014    { (exit 1); exit 1; }; }
     3316    as_fn_error $? "Invalid value for --enable-sourceforge ($enableval)" "$LINENO" 5
    20153317  ;;
    20163318esac
     
    20213323
    20223324
    2023 fi;
    2024 
    2025 
    2026 # Check whether --enable-components or --disable-components was given.
    2027 if test "${enable_components+set}" = set; then
    2028   enableval="$enable_components"
    2029 
     3325fi
     3326
     3327
     3328
     3329# Check whether --enable-components was given.
     3330if test "${enable_components+set}" = set; then :
     3331  enableval=$enable_components;
    20303332case $enableval in
    20313333  yes)
     
    20363338  ;;
    20373339  *)
    2038     { { echo "$as_me:$LINENO: error: Invalid value for --enable-components ($enableval)" >&5
    2039 echo "$as_me: error: Invalid value for --enable-components ($enableval)" >&2;}
    2040    { (exit 1); exit 1; }; }
     3340    as_fn_error $? "Invalid value for --enable-components ($enableval)" "$LINENO" 5
    20413341  ;;
    20423342esac
     
    20473347
    20483348
    2049 fi;
     3349fi
     3350
    20503351ENABLECCA=$components
    20513352
     
    20533354BUILDID=""
    20543355
    2055 # Check whether --with-build-id or --without-build-id was given.
    2056 if test "${with_build_id+set}" = set; then
    2057   withval="$with_build_id"
    2058   BUILDID=$withval
    2059 
    2060 fi;
     3356# Check whether --with-build-id was given.
     3357if test "${with_build_id+set}" = set; then :
     3358  withval=$with_build_id; BUILDID=$withval
     3359
     3360fi
     3361
     3362
    20613363
    20623364cat >>confdefs.h <<_ACEOF
     
    20673369DEFAULT_SC_MEMORY=32000000
    20683370
    2069 # Check whether --with-default-memory or --without-default-memory was given.
    2070 if test "${with_default_memory+set}" = set; then
    2071   withval="$with_default_memory"
    2072   DEFAULT_SC_MEMORY=$withval
    2073 
    2074 fi;
     3371# Check whether --with-default-memory was given.
     3372if test "${with_default_memory+set}" = set; then :
     3373  withval=$with_default_memory; DEFAULT_SC_MEMORY=$withval
     3374
     3375fi
     3376
     3377
    20753378cat >>confdefs.h <<_ACEOF
    20763379#define DEFAULT_SC_MEMORY $DEFAULT_SC_MEMORY
     
    20843387fi
    20853388
     3389
    20863390cat >>confdefs.h <<_ACEOF
    20873391#define SC_VERSION "$SC_VERSION"
     
    20933397
    20943398
    2095 # Check whether --with-cc or --without-cc was given.
    2096 if test "${with_cc+set}" = set; then
    2097   withval="$with_cc"
    2098   CC=$withval
    2099 
    2100 fi;
    2101 
    2102 
    2103 # Check whether --with-cxx or --without-cxx was given.
    2104 if test "${with_cxx+set}" = set; then
    2105   withval="$with_cxx"
    2106   CXX=$withval
    2107 
    2108 fi;
    2109 
    2110 
    2111 # Check whether --with-f77 or --without-f77 was given.
    2112 if test "${with_f77+set}" = set; then
    2113   withval="$with_f77"
    2114   F77=$withval
    2115 
    2116 fi;
    2117 
    2118 
    2119 # Check whether --with-cxx-optflags or --without-cxx-optflags was given.
    2120 if test "${with_cxx_optflags+set}" = set; then
    2121   withval="$with_cxx_optflags"
    2122   GIVEN_CXXOPTIONS_OPT=$withval
    2123 
    2124 fi;
    2125 
    2126 
    2127 # Check whether --with-cc-optflags or --without-cc-optflags was given.
    2128 if test "${with_cc_optflags+set}" = set; then
    2129   withval="$with_cc_optflags"
    2130   GIVEN_COPTIONS_OPT=$withval
    2131 
    2132 fi;
     3399# Check whether --with-cc was given.
     3400if test "${with_cc+set}" = set; then :
     3401  withval=$with_cc; CC=$withval
     3402
     3403fi
     3404
     3405
     3406
     3407# Check whether --with-cxx was given.
     3408if test "${with_cxx+set}" = set; then :
     3409  withval=$with_cxx; CXX=$withval
     3410
     3411fi
     3412
     3413
     3414
     3415# Check whether --with-f77 was given.
     3416if test "${with_f77+set}" = set; then :
     3417  withval=$with_f77; F77=$withval
     3418
     3419fi
     3420
     3421
     3422
     3423# Check whether --with-cxx-optflags was given.
     3424if test "${with_cxx_optflags+set}" = set; then :
     3425  withval=$with_cxx_optflags; GIVEN_CXXOPTIONS_OPT=$withval
     3426
     3427fi
     3428
     3429
     3430
     3431# Check whether --with-cc-optflags was given.
     3432if test "${with_cc_optflags+set}" = set; then :
     3433  withval=$with_cc_optflags; GIVEN_COPTIONS_OPT=$withval
     3434
     3435fi
     3436
    21333437
    21343438DOT=yes
    21353439
    2136 # Check whether --with-dot or --without-dot was given.
    2137 if test "${with_dot+set}" = set; then
    2138   withval="$with_dot"
    2139   DOT=$withval
    2140 
    2141 fi;
    2142 
    2143 
    2144 # Check whether --with-ranlib or --without-ranlib was given.
    2145 if test "${with_ranlib+set}" = set; then
    2146   withval="$with_ranlib"
    2147   RANLIB=$withval
    2148 
    2149 fi;
    2150 
    2151 
    2152 # Check whether --with-ar or --without-ar was given.
    2153 if test "${with_ar+set}" = set; then
    2154   withval="$with_ar"
    2155   AR=$withval
    2156 
    2157 fi;
     3440# Check whether --with-dot was given.
     3441if test "${with_dot+set}" = set; then :
     3442  withval=$with_dot; DOT=$withval
     3443
     3444fi
     3445
     3446
     3447
     3448# Check whether --with-ranlib was given.
     3449if test "${with_ranlib+set}" = set; then :
     3450  withval=$with_ranlib; RANLIB=$withval
     3451
     3452fi
     3453
     3454
     3455
     3456# Check whether --with-ar was given.
     3457if test "${with_ar+set}" = set; then :
     3458  withval=$with_ar; AR=$withval
     3459
     3460fi
     3461
    21583462
    21593463ARFLAGS=r
    21603464
    2161 # Check whether --with-ar-flags or --without-ar-flags was given.
    2162 if test "${with_ar_flags+set}" = set; then
    2163   withval="$with_ar_flags"
    2164   ARFLAGS=$withval
    2165 
    2166 fi;
    2167 
    2168 
    2169 
    2170 # Check whether --with-ld or --without-ld was given.
    2171 if test "${with_ld+set}" = set; then
    2172   withval="$with_ld"
    2173   LD=$withval
    2174 
    2175 fi;
     3465# Check whether --with-ar-flags was given.
     3466if test "${with_ar_flags+set}" = set; then :
     3467  withval=$with_ar_flags; ARFLAGS=$withval
     3468
     3469fi
     3470
     3471
     3472
     3473
     3474# Check whether --with-ld was given.
     3475if test "${with_ld+set}" = set; then :
     3476  withval=$with_ld; LD=$withval
     3477
     3478fi
     3479
    21763480
    21773481LAUNCH="%MPQC% [-o %OUTPUT%] %INPUT%"
    21783482
    2179 # Check whether --with-launch or --without-launch was given.
    2180 if test "${with_launch+set}" = set; then
    2181   withval="$with_launch"
    2182   LAUNCH=$withval
    2183 
    2184 fi;
     3483# Check whether --with-launch was given.
     3484if test "${with_launch+set}" = set; then :
     3485  withval=$with_launch; LAUNCH=$withval
     3486
     3487fi
     3488
    21853489
    21863490
    21873491CCALAUNCH="%CCAFE% --ccafe-rc %INPUT% --ccafe-remap-stdio --ccafe-outputdir %OUTPUT%";
    21883492
    2189 # Check whether --with-cca-launch or --without-cca-launch was given.
    2190 if test "${with_cca_launch+set}" = set; then
    2191   withval="$with_cca_launch"
    2192   CCALAUNCH=$withval
    2193 
    2194 fi;
     3493# Check whether --with-cca-launch was given.
     3494if test "${with_cca_launch+set}" = set; then :
     3495  withval=$with_cca_launch; CCALAUNCH=$withval
     3496
     3497fi
     3498
    21953499
    21963500
     
    22013505fi
    22023506
    2203 # Check whether --with-sc-datadir or --without-sc-datadir was given.
    2204 if test "${with_sc_datadir+set}" = set; then
    2205   withval="$with_sc_datadir"
    2206   scdatadir=$withval
    2207 
    2208 fi;
    2209 
    2210 
    2211 
    2212 # Check whether --with-include or --without-include was given.
    2213 if test "${with_include+set}" = set; then
    2214   withval="$with_include"
    2215   EXTRAINCLUDE=$withval
     3507# Check whether --with-sc-datadir was given.
     3508if test "${with_sc_datadir+set}" = set; then :
     3509  withval=$with_sc_datadir; scdatadir=$withval
     3510
     3511fi
     3512
     3513
     3514
     3515
     3516# Check whether --with-include was given.
     3517if test "${with_include+set}" = set; then :
     3518  withval=$with_include; EXTRAINCLUDE=$withval
    22163519CPPFLAGS=$withval
    22173520echo Using extra include directories: $withval
    22183521
    2219 fi;
     3522fi
     3523
    22203524
    22213525template_instantiation=none
    22223526
    2223 # Check whether --with-template or --without-template was given.
    2224 if test "${with_template+set}" = set; then
    2225   withval="$with_template"
    2226   template_instantiation=$withval
     3527# Check whether --with-template was given.
     3528if test "${with_template+set}" = set; then :
     3529  withval=$with_template; template_instantiation=$withval
    22273530echo Using extra include directories: $withval
    22283531
    2229 fi;
     3532fi
     3533
    22303534
    22313535scincludedir=$includedir
    22323536
    2233 # Check whether --with-sc-includedir or --without-sc-includedir was given.
    2234 if test "${with_sc_includedir+set}" = set; then
    2235   withval="$with_sc_includedir"
    2236   scincludedir=$withval
    2237 
    2238 fi;
    2239 
    2240 
    2241 
    2242 # Check whether --with-libs or --without-libs was given.
    2243 if test "${with_libs+set}" = set; then
    2244   withval="$with_libs"
    2245   LIBS=$withval
     3537# Check whether --with-sc-includedir was given.
     3538if test "${with_sc_includedir+set}" = set; then :
     3539  withval=$with_sc_includedir; scincludedir=$withval
     3540
     3541fi
     3542
     3543
     3544
     3545
     3546# Check whether --with-libs was given.
     3547if test "${with_libs+set}" = set; then :
     3548  withval=$with_libs; LIBS=$withval
    22463549echo Using extra libraries: $withval
    22473550
    2248 fi;
     3551fi
     3552
    22493553
    22503554XTRA_FLIBS=
    22513555
    2252 # Check whether --with-extra-flibs or --without-extra-flibs was given.
    2253 if test "${with_extra_flibs+set}" = set; then
    2254   withval="$with_extra_flibs"
    2255   XTRA_FLIBS=$withval
     3556# Check whether --with-extra-flibs was given.
     3557if test "${with_extra_flibs+set}" = set; then :
     3558  withval=$with_extra_flibs; XTRA_FLIBS=$withval
    22563559echo Using extra FORTRAN libraries: $withval
    22573560
    2258 fi;
     3561fi
     3562
    22593563
    22603564have_flibs=no
    22613565
    2262 # Check whether --with-flibs or --without-flibs was given.
    2263 if test "${with_flibs+set}" = set; then
    2264   withval="$with_flibs"
    2265   FLIBS=$withval
     3566# Check whether --with-flibs was given.
     3567if test "${with_flibs+set}" = set; then :
     3568  withval=$with_flibs; FLIBS=$withval
    22663569have_flibs=yes
    22673570echo Using FORTRAN runtime libraries: $withval
    22683571
    2269 fi;
     3572fi
     3573
    22703574
    22713575LDFLAGS=
    22723576LIBDIRS=
    22733577
    2274 # Check whether --with-libdirs or --without-libdirs was given.
    2275 if test "${with_libdirs+set}" = set; then
    2276   withval="$with_libdirs"
    2277   LIBDIRS=$withval
     3578# Check whether --with-libdirs was given.
     3579if test "${with_libdirs+set}" = set; then :
     3580  withval=$with_libdirs; LIBDIRS=$withval
    22783581LDFLAGS=$withval
    22793582echo Using extra library directories: $withval
    22803583
    2281 fi;
    2282 
    2283 
    2284 # Check whether --with-cca-chem-config or --without-cca-chem-config was given.
    2285 if test "${with_cca_chem_config+set}" = set; then
    2286   withval="$with_cca_chem_config"
    2287 
     3584fi
     3585
     3586
     3587
     3588# Check whether --with-cca-chem-config was given.
     3589if test "${with_cca_chem_config+set}" = set; then :
     3590  withval=$with_cca_chem_config;
    22883591  CCA_CHEM_CONFIG=$withval
    22893592  echo Using cca-chem-config: $withval
     
    22943597    # Extract the first word of "cca-chem-config", so it can be a program name with args.
    22953598set dummy cca-chem-config; ac_word=$2
    2296 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2298 if test "${ac_cv_path_CCA_CHEM_CONFIG+set}" = set; then
    2299   echo $ECHO_N "(cached) $ECHO_C" >&6
     3599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3600$as_echo_n "checking for $ac_word... " >&6; }
     3601if ${ac_cv_path_CCA_CHEM_CONFIG+:} false; then :
     3602  $as_echo_n "(cached) " >&6
    23003603else
    23013604  case $CCA_CHEM_CONFIG in
     
    23093612  IFS=$as_save_IFS
    23103613  test -z "$as_dir" && as_dir=.
    2311   for ac_exec_ext in '' $ac_executable_extensions; do
    2312   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3614    for ac_exec_ext in '' $ac_executable_extensions; do
     3615  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    23133616    ac_cv_path_CCA_CHEM_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    2314     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3617    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    23153618    break 2
    23163619  fi
    23173620done
    2318 done
     3621  done
     3622IFS=$as_save_IFS
    23193623
    23203624  test -z "$ac_cv_path_CCA_CHEM_CONFIG" && ac_cv_path_CCA_CHEM_CONFIG=""not-found""
     
    23233627fi
    23243628CCA_CHEM_CONFIG=$ac_cv_path_CCA_CHEM_CONFIG
    2325 
    23263629if test -n "$CCA_CHEM_CONFIG"; then
    2327   echo "$as_me:$LINENO: result: $CCA_CHEM_CONFIG" >&5
    2328 echo "${ECHO_T}$CCA_CHEM_CONFIG" >&6
    2329 else
    2330   echo "$as_me:$LINENO: result: no" >&5
    2331 echo "${ECHO_T}no" >&6
    2332 fi
     3630  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCA_CHEM_CONFIG" >&5
     3631$as_echo "$CCA_CHEM_CONFIG" >&6; }
     3632else
     3633  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3634$as_echo "no" >&6; }
     3635fi
     3636
    23333637
    23343638  fi
    23353639
    23363640
    2337 fi;
     3641fi
     3642
    23383643
    23393644
     
    23673672
    23683673
    2369 echo "$as_me:$LINENO: checking whether ln -s works" >&5
    2370 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
     3674{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
     3675$as_echo_n "checking whether ln -s works... " >&6; }
    23713676LN_S=$as_ln_s
    23723677if test "$LN_S" = "ln -s"; then
    2373   echo "$as_me:$LINENO: result: yes" >&5
    2374 echo "${ECHO_T}yes" >&6
    2375 else
    2376   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    2377 echo "${ECHO_T}no, using $LN_S" >&6
     3678  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3679$as_echo "yes" >&6; }
     3680else
     3681  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
     3682$as_echo "no, using $LN_S" >&6; }
    23783683fi
    23793684
     
    23913696# OS/2's system install, which has a completely different semantic
    23923697# ./install, which can be erroneously created by make from ./install.sh.
    2393 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    2394 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
     3698# Reject install programs that cannot install multiple files.
     3699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
     3700$as_echo_n "checking for a BSD-compatible install... " >&6; }
    23953701if test -z "$INSTALL"; then
    2396 if test "${ac_cv_path_install+set}" = set; then
    2397   echo $ECHO_N "(cached) $ECHO_C" >&6
     3702if ${ac_cv_path_install+:} false; then :
     3703  $as_echo_n "(cached) " >&6
    23983704else
    23993705  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    24023708  IFS=$as_save_IFS
    24033709  test -z "$as_dir" && as_dir=.
    2404   # Account for people who put trailing slashes in PATH elements.
    2405 case $as_dir/ in
    2406   ./ | .// | /cC/* | \
     3710    # Account for people who put trailing slashes in PATH elements.
     3711case $as_dir/ in #((
     3712  ./ | .// | /[cC]/* | \
    24073713  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    2408   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     3714  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
    24093715  /usr/ucb/* ) ;;
    24103716  *)
     
    24143720    for ac_prog in ginstall scoinst install; do
    24153721      for ac_exec_ext in '' $ac_executable_extensions; do
    2416         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     3722        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    24173723          if test $ac_prog = install &&
    24183724            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    24243730            :
    24253731          else
    2426             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    2427             break 3
     3732            rm -rf conftest.one conftest.two conftest.dir
     3733            echo one > conftest.one
     3734            echo two > conftest.two
     3735            mkdir conftest.dir
     3736            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
     3737              test -s conftest.one && test -s conftest.two &&
     3738              test -s conftest.dir/conftest.one &&
     3739              test -s conftest.dir/conftest.two
     3740            then
     3741              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     3742              break 3
     3743            fi
    24283744          fi
    24293745        fi
     
    24323748    ;;
    24333749esac
    2434 done
    2435 
     3750
     3751  done
     3752IFS=$as_save_IFS
     3753
     3754rm -rf conftest.one conftest.two conftest.dir
    24363755
    24373756fi
     
    24393758    INSTALL=$ac_cv_path_install
    24403759  else
    2441     # As a last resort, use the slow shell script.  We don't cache a
    2442     # path for INSTALL within a source directory, because that will
     3760    # As a last resort, use the slow shell script.  Don't cache a
     3761    # value for INSTALL within a source directory, because that will
    24433762    # break other packages using the cache if that directory is
    2444     # removed, or if the path is relative.
     3763    # removed, or if the value is a relative name.
    24453764    INSTALL=$ac_install_sh
    24463765  fi
    24473766fi
    2448 echo "$as_me:$LINENO: result: $INSTALL" >&5
    2449 echo "${ECHO_T}$INSTALL" >&6
     3767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
     3768$as_echo "$INSTALL" >&6; }
    24503769
    24513770# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    24603779  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    24613780set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    2462 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2464 if test "${ac_cv_prog_RANLIB+set}" = set; then
    2465   echo $ECHO_N "(cached) $ECHO_C" >&6
     3781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3782$as_echo_n "checking for $ac_word... " >&6; }
     3783if ${ac_cv_prog_RANLIB+:} false; then :
     3784  $as_echo_n "(cached) " >&6
    24663785else
    24673786  if test -n "$RANLIB"; then
     
    24733792  IFS=$as_save_IFS
    24743793  test -z "$as_dir" && as_dir=.
    2475   for ac_exec_ext in '' $ac_executable_extensions; do
    2476   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3794    for ac_exec_ext in '' $ac_executable_extensions; do
     3795  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    24773796    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    2478     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3797    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    24793798    break 2
    24803799  fi
    24813800done
    2482 done
     3801  done
     3802IFS=$as_save_IFS
    24833803
    24843804fi
     
    24863806RANLIB=$ac_cv_prog_RANLIB
    24873807if test -n "$RANLIB"; then
    2488   echo "$as_me:$LINENO: result: $RANLIB" >&5
    2489 echo "${ECHO_T}$RANLIB" >&6
    2490 else
    2491   echo "$as_me:$LINENO: result: no" >&5
    2492 echo "${ECHO_T}no" >&6
    2493 fi
     3808  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
     3809$as_echo "$RANLIB" >&6; }
     3810else
     3811  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3812$as_echo "no" >&6; }
     3813fi
     3814
    24943815
    24953816fi
     
    24983819  # Extract the first word of "ranlib", so it can be a program name with args.
    24993820set dummy ranlib; ac_word=$2
    2500 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2502 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    2503   echo $ECHO_N "(cached) $ECHO_C" >&6
     3821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3822$as_echo_n "checking for $ac_word... " >&6; }
     3823if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
     3824  $as_echo_n "(cached) " >&6
    25043825else
    25053826  if test -n "$ac_ct_RANLIB"; then
     
    25113832  IFS=$as_save_IFS
    25123833  test -z "$as_dir" && as_dir=.
    2513   for ac_exec_ext in '' $ac_executable_extensions; do
    2514   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3834    for ac_exec_ext in '' $ac_executable_extensions; do
     3835  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    25153836    ac_cv_prog_ac_ct_RANLIB="ranlib"
    2516     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3837    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    25173838    break 2
    25183839  fi
    25193840done
    2520 done
    2521 
    2522   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
     3841  done
     3842IFS=$as_save_IFS
     3843
    25233844fi
    25243845fi
    25253846ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    25263847if test -n "$ac_ct_RANLIB"; then
    2527   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    2528 echo "${ECHO_T}$ac_ct_RANLIB" >&6
    2529 else
    2530   echo "$as_me:$LINENO: result: no" >&5
    2531 echo "${ECHO_T}no" >&6
    2532 fi
    2533 
    2534   RANLIB=$ac_ct_RANLIB
     3848  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
     3849$as_echo "$ac_ct_RANLIB" >&6; }
     3850else
     3851  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3852$as_echo "no" >&6; }
     3853fi
     3854
     3855  if test "x$ac_ct_RANLIB" = x; then
     3856    RANLIB=":"
     3857  else
     3858    case $cross_compiling:$ac_tool_warned in
     3859yes:)
     3860{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     3861$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     3862ac_tool_warned=yes ;;
     3863esac
     3864    RANLIB=$ac_ct_RANLIB
     3865  fi
    25353866else
    25363867  RANLIB="$ac_cv_prog_RANLIB"
     
    25453876  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    25463877set dummy ${ac_tool_prefix}gcc; ac_word=$2
    2547 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2549 if test "${ac_cv_prog_CC+set}" = set; then
    2550   echo $ECHO_N "(cached) $ECHO_C" >&6
     3878{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3879$as_echo_n "checking for $ac_word... " >&6; }
     3880if ${ac_cv_prog_CC+:} false; then :
     3881  $as_echo_n "(cached) " >&6
    25513882else
    25523883  if test -n "$CC"; then
     
    25583889  IFS=$as_save_IFS
    25593890  test -z "$as_dir" && as_dir=.
    2560   for ac_exec_ext in '' $ac_executable_extensions; do
    2561   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3891    for ac_exec_ext in '' $ac_executable_extensions; do
     3892  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    25623893    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    2563     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3894    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    25643895    break 2
    25653896  fi
    25663897done
    2567 done
     3898  done
     3899IFS=$as_save_IFS
    25683900
    25693901fi
     
    25713903CC=$ac_cv_prog_CC
    25723904if test -n "$CC"; then
    2573   echo "$as_me:$LINENO: result: $CC" >&5
    2574 echo "${ECHO_T}$CC" >&6
    2575 else
    2576   echo "$as_me:$LINENO: result: no" >&5
    2577 echo "${ECHO_T}no" >&6
    2578 fi
     3905  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     3906$as_echo "$CC" >&6; }
     3907else
     3908  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3909$as_echo "no" >&6; }
     3910fi
     3911
    25793912
    25803913fi
     
    25833916  # Extract the first word of "gcc", so it can be a program name with args.
    25843917set dummy gcc; ac_word=$2
    2585 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2587 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    2588   echo $ECHO_N "(cached) $ECHO_C" >&6
     3918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3919$as_echo_n "checking for $ac_word... " >&6; }
     3920if ${ac_cv_prog_ac_ct_CC+:} false; then :
     3921  $as_echo_n "(cached) " >&6
    25893922else
    25903923  if test -n "$ac_ct_CC"; then
     
    25963929  IFS=$as_save_IFS
    25973930  test -z "$as_dir" && as_dir=.
    2598   for ac_exec_ext in '' $ac_executable_extensions; do
    2599   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3931    for ac_exec_ext in '' $ac_executable_extensions; do
     3932  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    26003933    ac_cv_prog_ac_ct_CC="gcc"
    2601     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3934    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    26023935    break 2
    26033936  fi
    26043937done
    2605 done
     3938  done
     3939IFS=$as_save_IFS
    26063940
    26073941fi
     
    26093943ac_ct_CC=$ac_cv_prog_ac_ct_CC
    26103944if test -n "$ac_ct_CC"; then
    2611   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2612 echo "${ECHO_T}$ac_ct_CC" >&6
    2613 else
    2614   echo "$as_me:$LINENO: result: no" >&5
    2615 echo "${ECHO_T}no" >&6
    2616 fi
    2617 
    2618   CC=$ac_ct_CC
     3945  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     3946$as_echo "$ac_ct_CC" >&6; }
     3947else
     3948  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3949$as_echo "no" >&6; }
     3950fi
     3951
     3952  if test "x$ac_ct_CC" = x; then
     3953    CC=""
     3954  else
     3955    case $cross_compiling:$ac_tool_warned in
     3956yes:)
     3957{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     3958$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     3959ac_tool_warned=yes ;;
     3960esac
     3961    CC=$ac_ct_CC
     3962  fi
    26193963else
    26203964  CC="$ac_cv_prog_CC"
     
    26223966
    26233967if test -z "$CC"; then
    2624   if test -n "$ac_tool_prefix"; then
    2625   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     3968          if test -n "$ac_tool_prefix"; then
     3969    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    26263970set dummy ${ac_tool_prefix}cc; ac_word=$2
    2627 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2629 if test "${ac_cv_prog_CC+set}" = set; then
    2630   echo $ECHO_N "(cached) $ECHO_C" >&6
     3971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3972$as_echo_n "checking for $ac_word... " >&6; }
     3973if ${ac_cv_prog_CC+:} false; then :
     3974  $as_echo_n "(cached) " >&6
    26313975else
    26323976  if test -n "$CC"; then
     
    26383982  IFS=$as_save_IFS
    26393983  test -z "$as_dir" && as_dir=.
    2640   for ac_exec_ext in '' $ac_executable_extensions; do
    2641   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3984    for ac_exec_ext in '' $ac_executable_extensions; do
     3985  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    26423986    ac_cv_prog_CC="${ac_tool_prefix}cc"
    2643     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3987    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    26443988    break 2
    26453989  fi
    26463990done
    2647 done
     3991  done
     3992IFS=$as_save_IFS
    26483993
    26493994fi
     
    26513996CC=$ac_cv_prog_CC
    26523997if test -n "$CC"; then
    2653   echo "$as_me:$LINENO: result: $CC" >&5
    2654 echo "${ECHO_T}$CC" >&6
    2655 else
    2656   echo "$as_me:$LINENO: result: no" >&5
    2657 echo "${ECHO_T}no" >&6
    2658 fi
    2659 
    2660 fi
    2661 if test -z "$ac_cv_prog_CC"; then
    2662   ac_ct_CC=$CC
    2663   # Extract the first word of "cc", so it can be a program name with args.
    2664 set dummy cc; ac_word=$2
    2665 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2667 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    2668   echo $ECHO_N "(cached) $ECHO_C" >&6
    2669 else
    2670   if test -n "$ac_ct_CC"; then
    2671   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    2672 else
    2673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2674 for as_dir in $PATH
    2675 do
    2676   IFS=$as_save_IFS
    2677   test -z "$as_dir" && as_dir=.
    2678   for ac_exec_ext in '' $ac_executable_extensions; do
    2679   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2680     ac_cv_prog_ac_ct_CC="cc"
    2681     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2682     break 2
     3998  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     3999$as_echo "$CC" >&6; }
     4000else
     4001  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4002$as_echo "no" >&6; }
     4003fi
     4004
     4005
    26834006  fi
    2684 done
    2685 done
    2686 
    2687 fi
    2688 fi
    2689 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    2690 if test -n "$ac_ct_CC"; then
    2691   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2692 echo "${ECHO_T}$ac_ct_CC" >&6
    2693 else
    2694   echo "$as_me:$LINENO: result: no" >&5
    2695 echo "${ECHO_T}no" >&6
    2696 fi
    2697 
    2698   CC=$ac_ct_CC
    2699 else
    2700   CC="$ac_cv_prog_CC"
    2701 fi
    2702 
    27034007fi
    27044008if test -z "$CC"; then
    27054009  # Extract the first word of "cc", so it can be a program name with args.
    27064010set dummy cc; ac_word=$2
    2707 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2709 if test "${ac_cv_prog_CC+set}" = set; then
    2710   echo $ECHO_N "(cached) $ECHO_C" >&6
     4011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4012$as_echo_n "checking for $ac_word... " >&6; }
     4013if ${ac_cv_prog_CC+:} false; then :
     4014  $as_echo_n "(cached) " >&6
    27114015else
    27124016  if test -n "$CC"; then
     
    27194023  IFS=$as_save_IFS
    27204024  test -z "$as_dir" && as_dir=.
    2721   for ac_exec_ext in '' $ac_executable_extensions; do
    2722   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4025    for ac_exec_ext in '' $ac_executable_extensions; do
     4026  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    27234027    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    27244028       ac_prog_rejected=yes
     
    27264030     fi
    27274031    ac_cv_prog_CC="cc"
    2728     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4032    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    27294033    break 2
    27304034  fi
    27314035done
    2732 done
     4036  done
     4037IFS=$as_save_IFS
    27334038
    27344039if test $ac_prog_rejected = yes; then
     
    27484053CC=$ac_cv_prog_CC
    27494054if test -n "$CC"; then
    2750   echo "$as_me:$LINENO: result: $CC" >&5
    2751 echo "${ECHO_T}$CC" >&6
    2752 else
    2753   echo "$as_me:$LINENO: result: no" >&5
    2754 echo "${ECHO_T}no" >&6
    2755 fi
     4055  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     4056$as_echo "$CC" >&6; }
     4057else
     4058  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4059$as_echo "no" >&6; }
     4060fi
     4061
    27564062
    27574063fi
    27584064if test -z "$CC"; then
    27594065  if test -n "$ac_tool_prefix"; then
    2760   for ac_prog in cl
     4066  for ac_prog in cl.exe
    27614067  do
    27624068    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    27634069set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2764 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2766 if test "${ac_cv_prog_CC+set}" = set; then
    2767   echo $ECHO_N "(cached) $ECHO_C" >&6
     4070{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4071$as_echo_n "checking for $ac_word... " >&6; }
     4072if ${ac_cv_prog_CC+:} false; then :
     4073  $as_echo_n "(cached) " >&6
    27684074else
    27694075  if test -n "$CC"; then
     
    27754081  IFS=$as_save_IFS
    27764082  test -z "$as_dir" && as_dir=.
    2777   for ac_exec_ext in '' $ac_executable_extensions; do
    2778   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4083    for ac_exec_ext in '' $ac_executable_extensions; do
     4084  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    27794085    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2780     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4086    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    27814087    break 2
    27824088  fi
    27834089done
    2784 done
     4090  done
     4091IFS=$as_save_IFS
    27854092
    27864093fi
     
    27884095CC=$ac_cv_prog_CC
    27894096if test -n "$CC"; then
    2790   echo "$as_me:$LINENO: result: $CC" >&5
    2791 echo "${ECHO_T}$CC" >&6
    2792 else
    2793   echo "$as_me:$LINENO: result: no" >&5
    2794 echo "${ECHO_T}no" >&6
    2795 fi
     4097  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     4098$as_echo "$CC" >&6; }
     4099else
     4100  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4101$as_echo "no" >&6; }
     4102fi
     4103
    27964104
    27974105    test -n "$CC" && break
     
    28004108if test -z "$CC"; then
    28014109  ac_ct_CC=$CC
    2802   for ac_prog in cl
     4110  for ac_prog in cl.exe
    28034111do
    28044112  # Extract the first word of "$ac_prog", so it can be a program name with args.
    28054113set dummy $ac_prog; ac_word=$2
    2806 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2808 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    2809   echo $ECHO_N "(cached) $ECHO_C" >&6
     4114{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4115$as_echo_n "checking for $ac_word... " >&6; }
     4116if ${ac_cv_prog_ac_ct_CC+:} false; then :
     4117  $as_echo_n "(cached) " >&6
    28104118else
    28114119  if test -n "$ac_ct_CC"; then
     
    28174125  IFS=$as_save_IFS
    28184126  test -z "$as_dir" && as_dir=.
    2819   for ac_exec_ext in '' $ac_executable_extensions; do
    2820   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4127    for ac_exec_ext in '' $ac_executable_extensions; do
     4128  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    28214129    ac_cv_prog_ac_ct_CC="$ac_prog"
    2822     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4130    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    28234131    break 2
    28244132  fi
    28254133done
    2826 done
     4134  done
     4135IFS=$as_save_IFS
    28274136
    28284137fi
     
    28304139ac_ct_CC=$ac_cv_prog_ac_ct_CC
    28314140if test -n "$ac_ct_CC"; then
    2832   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2833 echo "${ECHO_T}$ac_ct_CC" >&6
    2834 else
    2835   echo "$as_me:$LINENO: result: no" >&5
    2836 echo "${ECHO_T}no" >&6
    2837 fi
     4141  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     4142$as_echo "$ac_ct_CC" >&6; }
     4143else
     4144  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4145$as_echo "no" >&6; }
     4146fi
     4147
    28384148
    28394149  test -n "$ac_ct_CC" && break
    28404150done
    28414151
    2842   CC=$ac_ct_CC
    2843 fi
    2844 
    2845 fi
    2846 
    2847 
    2848 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    2849 See \`config.log' for more details." >&5
    2850 echo "$as_me: error: no acceptable C compiler found in \$PATH
    2851 See \`config.log' for more details." >&2;}
    2852    { (exit 1); exit 1; }; }
     4152  if test "x$ac_ct_CC" = x; then
     4153    CC=""
     4154  else
     4155    case $cross_compiling:$ac_tool_warned in
     4156yes:)
     4157{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     4158$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     4159ac_tool_warned=yes ;;
     4160esac
     4161    CC=$ac_ct_CC
     4162  fi
     4163fi
     4164
     4165fi
     4166
     4167
     4168test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     4169$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     4170as_fn_error $? "no acceptable C compiler found in \$PATH
     4171See \`config.log' for more details" "$LINENO" 5; }
    28534172
    28544173# Provide some information about the compiler.
    2855 echo "$as_me:$LINENO:" \
    2856      "checking for C compiler version" >&5
    2857 ac_compiler=`set X $ac_compile; echo $2`
    2858 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    2859   (eval $ac_compiler --version </dev/null >&5) 2>&5
     4174$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
     4175set X $ac_compile
     4176ac_compiler=$2
     4177for ac_option in --version -v -V -qversion; do
     4178  { { ac_try="$ac_compiler $ac_option >&5"
     4179case "(($ac_try" in
     4180  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4181  *) ac_try_echo=$ac_try;;
     4182esac
     4183eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     4184$as_echo "$ac_try_echo"; } >&5
     4185  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    28604186  ac_status=$?
    2861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2862   (exit $ac_status); }
    2863 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    2864   (eval $ac_compiler -v </dev/null >&5) 2>&5
    2865   ac_status=$?
    2866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2867   (exit $ac_status); }
    2868 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    2869   (eval $ac_compiler -V </dev/null >&5) 2>&5
    2870   ac_status=$?
    2871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2872   (exit $ac_status); }
    2873 
    2874 cat >conftest.$ac_ext <<_ACEOF
    2875 /* confdefs.h.  */
    2876 _ACEOF
    2877 cat confdefs.h >>conftest.$ac_ext
    2878 cat >>conftest.$ac_ext <<_ACEOF
     4187  if test -s conftest.err; then
     4188    sed '10a\
     4189... rest of stderr output deleted ...
     4190         10q' conftest.err >conftest.er1
     4191    cat conftest.er1 >&5
     4192  fi
     4193  rm -f conftest.er1 conftest.err
     4194  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4195  test $ac_status = 0; }
     4196done
     4197
     4198cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    28794199/* end confdefs.h.  */
    28804200
     
    28884208_ACEOF
    28894209ac_clean_files_save=$ac_clean_files
    2890 ac_clean_files="$ac_clean_files a.out a.exe b.out"
     4210ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
    28914211# Try to create an executable without -o first, disregard a.out.
    28924212# It will help us diagnose broken compilers, and finding out an intuition
    28934213# of exeext.
    2894 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2895 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
    2896 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    2897 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
    2898   (eval $ac_link_default) 2>&5
     4214{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
     4215$as_echo_n "checking whether the C compiler works... " >&6; }
     4216ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
     4217
     4218# The possible output files:
     4219ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
     4220
     4221ac_rmfiles=
     4222for ac_file in $ac_files
     4223do
     4224  case $ac_file in
     4225    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
     4226    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
     4227  esac
     4228done
     4229rm -f $ac_rmfiles
     4230
     4231if { { ac_try="$ac_link_default"
     4232case "(($ac_try" in
     4233  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4234  *) ac_try_echo=$ac_try;;
     4235esac
     4236eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     4237$as_echo "$ac_try_echo"; } >&5
     4238  (eval "$ac_link_default") 2>&5
    28994239  ac_status=$?
    2900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2901   (exit $ac_status); }; then
    2902   # Find the output, starting from the most likely.  This scheme is
    2903 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
    2904 # resort.
    2905 
    2906 # Be careful to initialize this variable, since it used to be cached.
    2907 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
    2908 ac_cv_exeext=
    2909 # b.out is created by i960 compilers.
    2910 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
     4240  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4241  test $ac_status = 0; }; then :
     4242  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
     4243# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     4244# in a Makefile.  We should not override ac_cv_exeext if it was cached,
     4245# so that the user can short-circuit this test for compilers unknown to
     4246# Autoconf.
     4247for ac_file in $ac_files ''
    29114248do
    29124249  test -f "$ac_file" || continue
    29134250  case $ac_file in
    2914     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
    2915         ;;
    2916     conftest.$ac_ext )
    2917         # This is the source file.
     4251    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
    29184252        ;;
    29194253    [ab].out )
     
    29224256        break;;
    29234257    *.* )
    2924         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2925         # FIXME: I believe we export ac_cv_exeext for Libtool,
    2926         # but it would be cool to find out if it's true.  Does anybody
    2927         # maintain Libtool? --akim.
    2928         export ac_cv_exeext
     4258        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     4259        then :; else
     4260           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     4261        fi
     4262        # We set ac_cv_exeext here because the later test for it is not
     4263        # safe: cross compilers may not add the suffix if given an `-o'
     4264        # argument, so we may need to know it at that point already.
     4265        # Even if this section looks crufty: it has the advantage of
     4266        # actually working.
    29294267        break;;
    29304268    * )
     
    29324270  esac
    29334271done
    2934 else
    2935   echo "$as_me: failed program was:" >&5
     4272test "$ac_cv_exeext" = no && ac_cv_exeext=
     4273
     4274else
     4275  ac_file=''
     4276fi
     4277if test -z "$ac_file"; then :
     4278  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4279$as_echo "no" >&6; }
     4280$as_echo "$as_me: failed program was:" >&5
    29364281sed 's/^/| /' conftest.$ac_ext >&5
    29374282
    2938 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
    2939 See \`config.log' for more details." >&5
    2940 echo "$as_me: error: C compiler cannot create executables
    2941 See \`config.log' for more details." >&2;}
    2942    { (exit 77); exit 77; }; }
    2943 fi
    2944 
     4283{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     4284$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     4285as_fn_error 77 "C compiler cannot create executables
     4286See \`config.log' for more details" "$LINENO" 5; }
     4287else
     4288  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     4289$as_echo "yes" >&6; }
     4290fi
     4291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
     4292$as_echo_n "checking for C compiler default output file name... " >&6; }
     4293{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
     4294$as_echo "$ac_file" >&6; }
    29454295ac_exeext=$ac_cv_exeext
    2946 echo "$as_me:$LINENO: result: $ac_file" >&5
    2947 echo "${ECHO_T}$ac_file" >&6
    2948 
    2949 # Check the compiler produces executables we can run.  If not, either
    2950 # the compiler is broken, or we cross compile.
    2951 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    2952 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
    2953 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    2954 # If not cross compiling, check that we can run a simple program.
    2955 if test "$cross_compiling" != yes; then
    2956   if { ac_try='./$ac_file'
    2957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2958   (eval $ac_try) 2>&5
     4296
     4297rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
     4298ac_clean_files=$ac_clean_files_save
     4299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
     4300$as_echo_n "checking for suffix of executables... " >&6; }
     4301if { { ac_try="$ac_link"
     4302case "(($ac_try" in
     4303  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4304  *) ac_try_echo=$ac_try;;
     4305esac
     4306eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     4307$as_echo "$ac_try_echo"; } >&5
     4308  (eval "$ac_link") 2>&5
    29594309  ac_status=$?
    2960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2961   (exit $ac_status); }; }; then
    2962     cross_compiling=no
    2963   else
    2964     if test "$cross_compiling" = maybe; then
    2965         cross_compiling=yes
    2966     else
    2967         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
    2968 If you meant to cross compile, use \`--host'.
    2969 See \`config.log' for more details." >&5
    2970 echo "$as_me: error: cannot run C compiled programs.
    2971 If you meant to cross compile, use \`--host'.
    2972 See \`config.log' for more details." >&2;}
    2973    { (exit 1); exit 1; }; }
    2974     fi
    2975   fi
    2976 fi
    2977 echo "$as_me:$LINENO: result: yes" >&5
    2978 echo "${ECHO_T}yes" >&6
    2979 
    2980 rm -f a.out a.exe conftest$ac_cv_exeext b.out
    2981 ac_clean_files=$ac_clean_files_save
    2982 # Check the compiler produces executables we can run.  If not, either
    2983 # the compiler is broken, or we cross compile.
    2984 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2985 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
    2986 echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2987 echo "${ECHO_T}$cross_compiling" >&6
    2988 
    2989 echo "$as_me:$LINENO: checking for suffix of executables" >&5
    2990 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
    2991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2992   (eval $ac_link) 2>&5
    2993   ac_status=$?
    2994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2995   (exit $ac_status); }; then
     4310  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4311  test $ac_status = 0; }; then :
    29964312  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    29974313# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    30014317  test -f "$ac_file" || continue
    30024318  case $ac_file in
    3003     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
     4319    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
    30044320    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    3005           export ac_cv_exeext
    30064321          break;;
    30074322    * ) break;;
     
    30094324done
    30104325else
    3011   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    3012 See \`config.log' for more details." >&5
    3013 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    3014 See \`config.log' for more details." >&2;}
    3015    { (exit 1); exit 1; }; }
    3016 fi
    3017 
    3018 rm -f conftest$ac_cv_exeext
    3019 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    3020 echo "${ECHO_T}$ac_cv_exeext" >&6
     4326  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     4327$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     4328as_fn_error $? "cannot compute suffix of executables: cannot compile and link
     4329See \`config.log' for more details" "$LINENO" 5; }
     4330fi
     4331rm -f conftest conftest$ac_cv_exeext
     4332{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
     4333$as_echo "$ac_cv_exeext" >&6; }
    30214334
    30224335rm -f conftest.$ac_ext
    30234336EXEEXT=$ac_cv_exeext
    30244337ac_exeext=$EXEEXT
    3025 echo "$as_me:$LINENO: checking for suffix of object files" >&5
    3026 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
    3027 if test "${ac_cv_objext+set}" = set; then
    3028   echo $ECHO_N "(cached) $ECHO_C" >&6
    3029 else
    3030   cat >conftest.$ac_ext <<_ACEOF
    3031 /* confdefs.h.  */
     4338cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4339/* end confdefs.h.  */
     4340#include <stdio.h>
     4341int
     4342main ()
     4343{
     4344FILE *f = fopen ("conftest.out", "w");
     4345 return ferror (f) || fclose (f) != 0;
     4346
     4347  ;
     4348  return 0;
     4349}
    30324350_ACEOF
    3033 cat confdefs.h >>conftest.$ac_ext
    3034 cat >>conftest.$ac_ext <<_ACEOF
     4351ac_clean_files="$ac_clean_files conftest.out"
     4352# Check that the compiler produces executables we can run.  If not, either
     4353# the compiler is broken, or we cross compile.
     4354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
     4355$as_echo_n "checking whether we are cross compiling... " >&6; }
     4356if test "$cross_compiling" != yes; then
     4357  { { ac_try="$ac_link"
     4358case "(($ac_try" in
     4359  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4360  *) ac_try_echo=$ac_try;;
     4361esac
     4362eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     4363$as_echo "$ac_try_echo"; } >&5
     4364  (eval "$ac_link") 2>&5
     4365  ac_status=$?
     4366  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4367  test $ac_status = 0; }
     4368  if { ac_try='./conftest$ac_cv_exeext'
     4369  { { case "(($ac_try" in
     4370  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4371  *) ac_try_echo=$ac_try;;
     4372esac
     4373eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     4374$as_echo "$ac_try_echo"; } >&5
     4375  (eval "$ac_try") 2>&5
     4376  ac_status=$?
     4377  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4378  test $ac_status = 0; }; }; then
     4379    cross_compiling=no
     4380  else
     4381    if test "$cross_compiling" = maybe; then
     4382        cross_compiling=yes
     4383    else
     4384        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     4385$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     4386as_fn_error $? "cannot run C compiled programs.
     4387If you meant to cross compile, use \`--host'.
     4388See \`config.log' for more details" "$LINENO" 5; }
     4389    fi
     4390  fi
     4391fi
     4392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     4393$as_echo "$cross_compiling" >&6; }
     4394
     4395rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
     4396ac_clean_files=$ac_clean_files_save
     4397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
     4398$as_echo_n "checking for suffix of object files... " >&6; }
     4399if ${ac_cv_objext+:} false; then :
     4400  $as_echo_n "(cached) " >&6
     4401else
     4402  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30354403/* end confdefs.h.  */
    30364404
     
    30444412_ACEOF
    30454413rm -f conftest.o conftest.obj
    3046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3047   (eval $ac_compile) 2>&5
     4414if { { ac_try="$ac_compile"
     4415case "(($ac_try" in
     4416  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4417  *) ac_try_echo=$ac_try;;
     4418esac
     4419eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     4420$as_echo "$ac_try_echo"; } >&5
     4421  (eval "$ac_compile") 2>&5
    30484422  ac_status=$?
    3049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3050   (exit $ac_status); }; then
    3051   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
     4423  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4424  test $ac_status = 0; }; then :
     4425  for ac_file in conftest.o conftest.obj conftest.*; do
     4426  test -f "$ac_file" || continue;
    30524427  case $ac_file in
    3053     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
     4428    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
    30544429    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    30554430       break;;
     
    30574432done
    30584433else
    3059   echo "$as_me: failed program was:" >&5
     4434  $as_echo "$as_me: failed program was:" >&5
    30604435sed 's/^/| /' conftest.$ac_ext >&5
    30614436
    3062 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    3063 See \`config.log' for more details." >&5
    3064 echo "$as_me: error: cannot compute suffix of object files: cannot compile
    3065 See \`config.log' for more details." >&2;}
    3066    { (exit 1); exit 1; }; }
    3067 fi
    3068 
     4437{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     4438$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     4439as_fn_error $? "cannot compute suffix of object files: cannot compile
     4440See \`config.log' for more details" "$LINENO" 5; }
     4441fi
    30694442rm -f conftest.$ac_cv_objext conftest.$ac_ext
    30704443fi
    3071 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    3072 echo "${ECHO_T}$ac_cv_objext" >&6
     4444{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
     4445$as_echo "$ac_cv_objext" >&6; }
    30734446OBJEXT=$ac_cv_objext
    30744447ac_objext=$OBJEXT
    3075 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    3076 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
    3077 if test "${ac_cv_c_compiler_gnu+set}" = set; then
    3078   echo $ECHO_N "(cached) $ECHO_C" >&6
    3079 else
    3080   cat >conftest.$ac_ext <<_ACEOF
    3081 /* confdefs.h.  */
    3082 _ACEOF
    3083 cat confdefs.h >>conftest.$ac_ext
    3084 cat >>conftest.$ac_ext <<_ACEOF
     4448{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
     4449$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
     4450if ${ac_cv_c_compiler_gnu+:} false; then :
     4451  $as_echo_n "(cached) " >&6
     4452else
     4453  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30854454/* end confdefs.h.  */
    30864455
     
    30964465}
    30974466_ACEOF
    3098 rm -f conftest.$ac_objext
    3099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3100   (eval $ac_compile) 2>conftest.er1
    3101   ac_status=$?
    3102   grep -v '^ *+' conftest.er1 >conftest.err
    3103   rm -f conftest.er1
    3104   cat conftest.err >&5
    3105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3106   (exit $ac_status); } &&
    3107          { ac_try='test -z "$ac_c_werror_flag"
    3108                          || test ! -s conftest.err'
    3109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3110   (eval $ac_try) 2>&5
    3111   ac_status=$?
    3112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3113   (exit $ac_status); }; } &&
    3114          { ac_try='test -s conftest.$ac_objext'
    3115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3116   (eval $ac_try) 2>&5
    3117   ac_status=$?
    3118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3119   (exit $ac_status); }; }; then
     4467if ac_fn_c_try_compile "$LINENO"; then :
    31204468  ac_compiler_gnu=yes
    31214469else
    3122   echo "$as_me: failed program was:" >&5
    3123 sed 's/^/| /' conftest.$ac_ext >&5
    3124 
    3125 ac_compiler_gnu=no
    3126 fi
    3127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4470  ac_compiler_gnu=no
     4471fi
     4472rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    31284473ac_cv_c_compiler_gnu=$ac_compiler_gnu
    31294474
    31304475fi
    3131 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    3132 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
    3133 GCC=`test $ac_compiler_gnu = yes && echo yes`
     4476{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
     4477$as_echo "$ac_cv_c_compiler_gnu" >&6; }
     4478if test $ac_compiler_gnu = yes; then
     4479  GCC=yes
     4480else
     4481  GCC=
     4482fi
    31344483ac_test_CFLAGS=${CFLAGS+set}
    31354484ac_save_CFLAGS=$CFLAGS
    3136 CFLAGS="-g"
    3137 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    3138 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
    3139 if test "${ac_cv_prog_cc_g+set}" = set; then
    3140   echo $ECHO_N "(cached) $ECHO_C" >&6
    3141 else
    3142   cat >conftest.$ac_ext <<_ACEOF
    3143 /* confdefs.h.  */
    3144 _ACEOF
    3145 cat confdefs.h >>conftest.$ac_ext
    3146 cat >>conftest.$ac_ext <<_ACEOF
     4485{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
     4486$as_echo_n "checking whether $CC accepts -g... " >&6; }
     4487if ${ac_cv_prog_cc_g+:} false; then :
     4488  $as_echo_n "(cached) " >&6
     4489else
     4490  ac_save_c_werror_flag=$ac_c_werror_flag
     4491   ac_c_werror_flag=yes
     4492   ac_cv_prog_cc_g=no
     4493   CFLAGS="-g"
     4494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    31474495/* end confdefs.h.  */
    31484496
     
    31554503}
    31564504_ACEOF
    3157 rm -f conftest.$ac_objext
    3158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3159   (eval $ac_compile) 2>conftest.er1
    3160   ac_status=$?
    3161   grep -v '^ *+' conftest.er1 >conftest.err
    3162   rm -f conftest.er1
    3163   cat conftest.err >&5
    3164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3165   (exit $ac_status); } &&
    3166          { ac_try='test -z "$ac_c_werror_flag"
    3167                          || test ! -s conftest.err'
    3168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3169   (eval $ac_try) 2>&5
    3170   ac_status=$?
    3171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3172   (exit $ac_status); }; } &&
    3173          { ac_try='test -s conftest.$ac_objext'
    3174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3175   (eval $ac_try) 2>&5
    3176   ac_status=$?
    3177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3178   (exit $ac_status); }; }; then
     4505if ac_fn_c_try_compile "$LINENO"; then :
    31794506  ac_cv_prog_cc_g=yes
    31804507else
    3181   echo "$as_me: failed program was:" >&5
    3182 sed 's/^/| /' conftest.$ac_ext >&5
    3183 
    3184 ac_cv_prog_cc_g=no
    3185 fi
    3186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3187 fi
    3188 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    3189 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
     4508  CFLAGS=""
     4509      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4510/* end confdefs.h.  */
     4511
     4512int
     4513main ()
     4514{
     4515
     4516  ;
     4517  return 0;
     4518}
     4519_ACEOF
     4520if ac_fn_c_try_compile "$LINENO"; then :
     4521
     4522else
     4523  ac_c_werror_flag=$ac_save_c_werror_flag
     4524         CFLAGS="-g"
     4525         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4526/* end confdefs.h.  */
     4527
     4528int
     4529main ()
     4530{
     4531
     4532  ;
     4533  return 0;
     4534}
     4535_ACEOF
     4536if ac_fn_c_try_compile "$LINENO"; then :
     4537  ac_cv_prog_cc_g=yes
     4538fi
     4539rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4540fi
     4541rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4542fi
     4543rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4544   ac_c_werror_flag=$ac_save_c_werror_flag
     4545fi
     4546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
     4547$as_echo "$ac_cv_prog_cc_g" >&6; }
    31904548if test "$ac_test_CFLAGS" = set; then
    31914549  CFLAGS=$ac_save_CFLAGS
     
    32034561  fi
    32044562fi
    3205 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
    3206 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
    3207 if test "${ac_cv_prog_cc_stdc+set}" = set; then
    3208   echo $ECHO_N "(cached) $ECHO_C" >&6
    3209 else
    3210   ac_cv_prog_cc_stdc=no
     4563{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
     4564$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
     4565if ${ac_cv_prog_cc_c89+:} false; then :
     4566  $as_echo_n "(cached) " >&6
     4567else
     4568  ac_cv_prog_cc_c89=no
    32114569ac_save_CC=$CC
    3212 cat >conftest.$ac_ext <<_ACEOF
    3213 /* confdefs.h.  */
    3214 _ACEOF
    3215 cat confdefs.h >>conftest.$ac_ext
    3216 cat >>conftest.$ac_ext <<_ACEOF
     4570cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    32174571/* end confdefs.h.  */
    32184572#include <stdarg.h>
    32194573#include <stdio.h>
    3220 #include <sys/types.h>
    3221 #include <sys/stat.h>
     4574struct stat;
    32224575/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    32234576struct buf { int x; };
     
    32424595   function prototypes and stuff, but not '\xHH' hex character constants.
    32434596   These don't provoke an error unfortunately, instead are silently treated
    3244    as 'x'.  The following induces an error, until -std1 is added to get
     4597   as 'x'.  The following induces an error, until -std is added to get
    32454598   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    32464599   array size at least.  It's necessary to write '\x00'==0 to get something
    3247    that's true only with -std1.  */
     4600   that's true only with -std.  */
    32484601int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     4602
     4603/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
     4604   inside strings and character constants.  */
     4605#define FOO(x) 'x'
     4606int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    32494607
    32504608int test (int i, double x);
     
    32624620}
    32634621_ACEOF
    3264 # Don't try gcc -ansi; that turns off useful extensions and
    3265 # breaks some systems' header files.
    3266 # AIX                   -qlanglvl=ansi
    3267 # Ultrix and OSF/1      -std1
    3268 # HP-UX 10.20 and later -Ae
    3269 # HP-UX older versions  -Aa -D_HPUX_SOURCE
    3270 # SVR4                  -Xc -D__EXTENSIONS__
    3271 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     4622for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
     4623        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    32724624do
    32734625  CC="$ac_save_CC $ac_arg"
    3274   rm -f conftest.$ac_objext
    3275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3276   (eval $ac_compile) 2>conftest.er1
    3277   ac_status=$?
    3278   grep -v '^ *+' conftest.er1 >conftest.err
    3279   rm -f conftest.er1
    3280   cat conftest.err >&5
    3281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3282   (exit $ac_status); } &&
    3283          { ac_try='test -z "$ac_c_werror_flag"
    3284                          || test ! -s conftest.err'
    3285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3286   (eval $ac_try) 2>&5
    3287   ac_status=$?
    3288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3289   (exit $ac_status); }; } &&
    3290          { ac_try='test -s conftest.$ac_objext'
    3291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3292   (eval $ac_try) 2>&5
    3293   ac_status=$?
    3294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3295   (exit $ac_status); }; }; then
    3296   ac_cv_prog_cc_stdc=$ac_arg
    3297 break
    3298 else
    3299   echo "$as_me: failed program was:" >&5
    3300 sed 's/^/| /' conftest.$ac_ext >&5
    3301 
    3302 fi
    3303 rm -f conftest.err conftest.$ac_objext
     4626  if ac_fn_c_try_compile "$LINENO"; then :
     4627  ac_cv_prog_cc_c89=$ac_arg
     4628fi
     4629rm -f core conftest.err conftest.$ac_objext
     4630  test "x$ac_cv_prog_cc_c89" != "xno" && break
    33044631done
    3305 rm -f conftest.$ac_ext conftest.$ac_objext
     4632rm -f conftest.$ac_ext
    33064633CC=$ac_save_CC
    33074634
    33084635fi
    3309 
    3310 case "x$ac_cv_prog_cc_stdc" in
    3311   x|xno)
    3312     echo "$as_me:$LINENO: result: none needed" >&5
    3313 echo "${ECHO_T}none needed" >&6 ;;
     4636# AC_CACHE_VAL
     4637case "x$ac_cv_prog_cc_c89" in
     4638  x)
     4639    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
     4640$as_echo "none needed" >&6; } ;;
     4641  xno)
     4642    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
     4643$as_echo "unsupported" >&6; } ;;
    33144644  *)
    3315     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    3316 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    3317     CC="$CC $ac_cv_prog_cc_stdc" ;;
     4645    CC="$CC $ac_cv_prog_cc_c89"
     4646    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
     4647$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    33184648esac
    3319 
    3320 # Some people use a C++ compiler to compile C.  Since we use `exit',
    3321 # in C++ we need to declare it.  In case someone uses the same compiler
    3322 # for both compiling C and C++ we need to have the C++ compiler decide
    3323 # the declaration of exit, since it's the most demanding environment.
    3324 cat >conftest.$ac_ext <<_ACEOF
    3325 #ifndef __cplusplus
    3326   choke me
    3327 #endif
    3328 _ACEOF
    3329 rm -f conftest.$ac_objext
    3330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3331   (eval $ac_compile) 2>conftest.er1
    3332   ac_status=$?
    3333   grep -v '^ *+' conftest.er1 >conftest.err
    3334   rm -f conftest.er1
    3335   cat conftest.err >&5
    3336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3337   (exit $ac_status); } &&
    3338          { ac_try='test -z "$ac_c_werror_flag"
    3339                          || test ! -s conftest.err'
    3340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3341   (eval $ac_try) 2>&5
    3342   ac_status=$?
    3343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3344   (exit $ac_status); }; } &&
    3345          { ac_try='test -s conftest.$ac_objext'
    3346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3347   (eval $ac_try) 2>&5
    3348   ac_status=$?
    3349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3350   (exit $ac_status); }; }; then
    3351   for ac_declaration in \
    3352    '' \
    3353    'extern "C" void std::exit (int) throw (); using std::exit;' \
    3354    'extern "C" void std::exit (int); using std::exit;' \
    3355    'extern "C" void exit (int) throw ();' \
    3356    'extern "C" void exit (int);' \
    3357    'void exit (int);'
    3358 do
    3359   cat >conftest.$ac_ext <<_ACEOF
    3360 /* confdefs.h.  */
    3361 _ACEOF
    3362 cat confdefs.h >>conftest.$ac_ext
    3363 cat >>conftest.$ac_ext <<_ACEOF
    3364 /* end confdefs.h.  */
    3365 $ac_declaration
    3366 #include <stdlib.h>
    3367 int
    3368 main ()
    3369 {
    3370 exit (42);
    3371   ;
    3372   return 0;
    3373 }
    3374 _ACEOF
    3375 rm -f conftest.$ac_objext
    3376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3377   (eval $ac_compile) 2>conftest.er1
    3378   ac_status=$?
    3379   grep -v '^ *+' conftest.er1 >conftest.err
    3380   rm -f conftest.er1
    3381   cat conftest.err >&5
    3382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3383   (exit $ac_status); } &&
    3384          { ac_try='test -z "$ac_c_werror_flag"
    3385                          || test ! -s conftest.err'
    3386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3387   (eval $ac_try) 2>&5
    3388   ac_status=$?
    3389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3390   (exit $ac_status); }; } &&
    3391          { ac_try='test -s conftest.$ac_objext'
    3392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3393   (eval $ac_try) 2>&5
    3394   ac_status=$?
    3395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3396   (exit $ac_status); }; }; then
    3397   :
    3398 else
    3399   echo "$as_me: failed program was:" >&5
    3400 sed 's/^/| /' conftest.$ac_ext >&5
    3401 
    3402 continue
    3403 fi
    3404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3405   cat >conftest.$ac_ext <<_ACEOF
    3406 /* confdefs.h.  */
    3407 _ACEOF
    3408 cat confdefs.h >>conftest.$ac_ext
    3409 cat >>conftest.$ac_ext <<_ACEOF
    3410 /* end confdefs.h.  */
    3411 $ac_declaration
    3412 int
    3413 main ()
    3414 {
    3415 exit (42);
    3416   ;
    3417   return 0;
    3418 }
    3419 _ACEOF
    3420 rm -f conftest.$ac_objext
    3421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3422   (eval $ac_compile) 2>conftest.er1
    3423   ac_status=$?
    3424   grep -v '^ *+' conftest.er1 >conftest.err
    3425   rm -f conftest.er1
    3426   cat conftest.err >&5
    3427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3428   (exit $ac_status); } &&
    3429          { ac_try='test -z "$ac_c_werror_flag"
    3430                          || test ! -s conftest.err'
    3431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3432   (eval $ac_try) 2>&5
    3433   ac_status=$?
    3434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3435   (exit $ac_status); }; } &&
    3436          { ac_try='test -s conftest.$ac_objext'
    3437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3438   (eval $ac_try) 2>&5
    3439   ac_status=$?
    3440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3441   (exit $ac_status); }; }; then
    3442   break
    3443 else
    3444   echo "$as_me: failed program was:" >&5
    3445 sed 's/^/| /' conftest.$ac_ext >&5
    3446 
    3447 fi
    3448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3449 done
    3450 rm -f conftest*
    3451 if test -n "$ac_declaration"; then
    3452   echo '#ifdef __cplusplus' >>confdefs.h
    3453   echo $ac_declaration      >>confdefs.h
    3454   echo '#endif'             >>confdefs.h
    3455 fi
    3456 
    3457 else
    3458   echo "$as_me: failed program was:" >&5
    3459 sed 's/^/| /' conftest.$ac_ext >&5
    3460 
    3461 fi
    3462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4649if test "x$ac_cv_prog_cc_c89" != xno; then :
     4650
     4651fi
     4652
    34634653ac_ext=c
    34644654ac_cpp='$CPP $CPPFLAGS'
     
    34714661  # Extract the first word of "$ac_prog", so it can be a program name with args.
    34724662set dummy $ac_prog; ac_word=$2
    3473 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3475 if test "${ac_cv_prog_CXX+set}" = set; then
    3476   echo $ECHO_N "(cached) $ECHO_C" >&6
     4663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4664$as_echo_n "checking for $ac_word... " >&6; }
     4665if ${ac_cv_prog_CXX+:} false; then :
     4666  $as_echo_n "(cached) " >&6
    34774667else
    34784668  if test -n "$CXX"; then
     
    34844674  IFS=$as_save_IFS
    34854675  test -z "$as_dir" && as_dir=.
    3486   for ac_exec_ext in '' $ac_executable_extensions; do
    3487   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4676    for ac_exec_ext in '' $ac_executable_extensions; do
     4677  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    34884678    ac_cv_prog_CXX="$ac_prog"
    3489     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4679    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    34904680    break 2
    34914681  fi
    34924682done
    3493 done
     4683  done
     4684IFS=$as_save_IFS
    34944685
    34954686fi
     
    34974688CXX=$ac_cv_prog_CXX
    34984689if test -n "$CXX"; then
    3499   echo "$as_me:$LINENO: result: $CXX" >&5
    3500 echo "${ECHO_T}$CXX" >&6
    3501 else
    3502   echo "$as_me:$LINENO: result: no" >&5
    3503 echo "${ECHO_T}no" >&6
    3504 fi
     4690  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
     4691$as_echo "$CXX" >&6; }
     4692else
     4693  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4694$as_echo "no" >&6; }
     4695fi
     4696
    35054697
    35064698  test -n "$CXX" && break
     
    35084700test -n "$CXX" || CXX="gcc"
    35094701
    3510 ac_ext=cc
     4702ac_ext=cpp
    35114703ac_cpp='$CXXCPP $CPPFLAGS'
    35124704ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    35134705ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    35144706ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    3515 if test -n "$ac_tool_prefix"; then
    3516   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     4707if test -z "$CXX"; then
     4708  if test -n "$CCC"; then
     4709    CXX=$CCC
     4710  else
     4711    if test -n "$ac_tool_prefix"; then
     4712  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    35174713  do
    35184714    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    35194715set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3520 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3522 if test "${ac_cv_prog_CXX+set}" = set; then
    3523   echo $ECHO_N "(cached) $ECHO_C" >&6
     4716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4717$as_echo_n "checking for $ac_word... " >&6; }
     4718if ${ac_cv_prog_CXX+:} false; then :
     4719  $as_echo_n "(cached) " >&6
    35244720else
    35254721  if test -n "$CXX"; then
     
    35314727  IFS=$as_save_IFS
    35324728  test -z "$as_dir" && as_dir=.
    3533   for ac_exec_ext in '' $ac_executable_extensions; do
    3534   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4729    for ac_exec_ext in '' $ac_executable_extensions; do
     4730  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    35354731    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    3536     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4732    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    35374733    break 2
    35384734  fi
    35394735done
    3540 done
     4736  done
     4737IFS=$as_save_IFS
    35414738
    35424739fi
     
    35444741CXX=$ac_cv_prog_CXX
    35454742if test -n "$CXX"; then
    3546   echo "$as_me:$LINENO: result: $CXX" >&5
    3547 echo "${ECHO_T}$CXX" >&6
    3548 else
    3549   echo "$as_me:$LINENO: result: no" >&5
    3550 echo "${ECHO_T}no" >&6
    3551 fi
     4743  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
     4744$as_echo "$CXX" >&6; }
     4745else
     4746  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4747$as_echo "no" >&6; }
     4748fi
     4749
    35524750
    35534751    test -n "$CXX" && break
     
    35564754if test -z "$CXX"; then
    35574755  ac_ct_CXX=$CXX
    3558   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     4756  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    35594757do
    35604758  # Extract the first word of "$ac_prog", so it can be a program name with args.
    35614759set dummy $ac_prog; ac_word=$2
    3562 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3564 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    3565   echo $ECHO_N "(cached) $ECHO_C" >&6
     4760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4761$as_echo_n "checking for $ac_word... " >&6; }
     4762if ${ac_cv_prog_ac_ct_CXX+:} false; then :
     4763  $as_echo_n "(cached) " >&6
    35664764else
    35674765  if test -n "$ac_ct_CXX"; then
     
    35734771  IFS=$as_save_IFS
    35744772  test -z "$as_dir" && as_dir=.
    3575   for ac_exec_ext in '' $ac_executable_extensions; do
    3576   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4773    for ac_exec_ext in '' $ac_executable_extensions; do
     4774  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    35774775    ac_cv_prog_ac_ct_CXX="$ac_prog"
    3578     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4776    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    35794777    break 2
    35804778  fi
    35814779done
    3582 done
     4780  done
     4781IFS=$as_save_IFS
    35834782
    35844783fi
     
    35864785ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    35874786if test -n "$ac_ct_CXX"; then
    3588   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    3589 echo "${ECHO_T}$ac_ct_CXX" >&6
    3590 else
    3591   echo "$as_me:$LINENO: result: no" >&5
    3592 echo "${ECHO_T}no" >&6
    3593 fi
     4787  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
     4788$as_echo "$ac_ct_CXX" >&6; }
     4789else
     4790  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4791$as_echo "no" >&6; }
     4792fi
     4793
    35944794
    35954795  test -n "$ac_ct_CXX" && break
    35964796done
    3597 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
    3598 
    3599   CXX=$ac_ct_CXX
    3600 fi
    3601 
    3602 
     4797
     4798  if test "x$ac_ct_CXX" = x; then
     4799    CXX="g++"
     4800  else
     4801    case $cross_compiling:$ac_tool_warned in
     4802yes:)
     4803{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     4804$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     4805ac_tool_warned=yes ;;
     4806esac
     4807    CXX=$ac_ct_CXX
     4808  fi
     4809fi
     4810
     4811  fi
     4812fi
    36034813# Provide some information about the compiler.
    3604 echo "$as_me:$LINENO:" \
    3605      "checking for C++ compiler version" >&5
    3606 ac_compiler=`set X $ac_compile; echo $2`
    3607 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    3608   (eval $ac_compiler --version </dev/null >&5) 2>&5
     4814$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
     4815set X $ac_compile
     4816ac_compiler=$2
     4817for ac_option in --version -v -V -qversion; do
     4818  { { ac_try="$ac_compiler $ac_option >&5"
     4819case "(($ac_try" in
     4820  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4821  *) ac_try_echo=$ac_try;;
     4822esac
     4823eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     4824$as_echo "$ac_try_echo"; } >&5
     4825  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    36094826  ac_status=$?
    3610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3611   (exit $ac_status); }
    3612 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    3613   (eval $ac_compiler -v </dev/null >&5) 2>&5
    3614   ac_status=$?
    3615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3616   (exit $ac_status); }
    3617 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    3618   (eval $ac_compiler -V </dev/null >&5) 2>&5
    3619   ac_status=$?
    3620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3621   (exit $ac_status); }
    3622 
    3623 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    3624 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
    3625 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    3626   echo $ECHO_N "(cached) $ECHO_C" >&6
    3627 else
    3628   cat >conftest.$ac_ext <<_ACEOF
    3629 /* confdefs.h.  */
    3630 _ACEOF
    3631 cat confdefs.h >>conftest.$ac_ext
    3632 cat >>conftest.$ac_ext <<_ACEOF
     4827  if test -s conftest.err; then
     4828    sed '10a\
     4829... rest of stderr output deleted ...
     4830         10q' conftest.err >conftest.er1
     4831    cat conftest.er1 >&5
     4832  fi
     4833  rm -f conftest.er1 conftest.err
     4834  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4835  test $ac_status = 0; }
     4836done
     4837
     4838{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
     4839$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
     4840if ${ac_cv_cxx_compiler_gnu+:} false; then :
     4841  $as_echo_n "(cached) " >&6
     4842else
     4843  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    36334844/* end confdefs.h.  */
    36344845
     
    36444855}
    36454856_ACEOF
    3646 rm -f conftest.$ac_objext
    3647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3648   (eval $ac_compile) 2>conftest.er1
    3649   ac_status=$?
    3650   grep -v '^ *+' conftest.er1 >conftest.err
    3651   rm -f conftest.er1
    3652   cat conftest.err >&5
    3653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3654   (exit $ac_status); } &&
    3655          { ac_try='test -z "$ac_cxx_werror_flag"
    3656                          || test ! -s conftest.err'
    3657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3658   (eval $ac_try) 2>&5
    3659   ac_status=$?
    3660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3661   (exit $ac_status); }; } &&
    3662          { ac_try='test -s conftest.$ac_objext'
    3663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3664   (eval $ac_try) 2>&5
    3665   ac_status=$?
    3666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3667   (exit $ac_status); }; }; then
     4857if ac_fn_cxx_try_compile "$LINENO"; then :
    36684858  ac_compiler_gnu=yes
    36694859else
    3670   echo "$as_me: failed program was:" >&5
    3671 sed 's/^/| /' conftest.$ac_ext >&5
    3672 
    3673 ac_compiler_gnu=no
    3674 fi
    3675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4860  ac_compiler_gnu=no
     4861fi
     4862rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    36764863ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    36774864
    36784865fi
    3679 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    3680 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
    3681 GXX=`test $ac_compiler_gnu = yes && echo yes`
     4866{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
     4867$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
     4868if test $ac_compiler_gnu = yes; then
     4869  GXX=yes
     4870else
     4871  GXX=
     4872fi
    36824873ac_test_CXXFLAGS=${CXXFLAGS+set}
    36834874ac_save_CXXFLAGS=$CXXFLAGS
    3684 CXXFLAGS="-g"
    3685 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    3686 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
    3687 if test "${ac_cv_prog_cxx_g+set}" = set; then
    3688   echo $ECHO_N "(cached) $ECHO_C" >&6
    3689 else
    3690   cat >conftest.$ac_ext <<_ACEOF
    3691 /* confdefs.h.  */
    3692 _ACEOF
    3693 cat confdefs.h >>conftest.$ac_ext
    3694 cat >>conftest.$ac_ext <<_ACEOF
     4875{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
     4876$as_echo_n "checking whether $CXX accepts -g... " >&6; }
     4877if ${ac_cv_prog_cxx_g+:} false; then :
     4878  $as_echo_n "(cached) " >&6
     4879else
     4880  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
     4881   ac_cxx_werror_flag=yes
     4882   ac_cv_prog_cxx_g=no
     4883   CXXFLAGS="-g"
     4884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    36954885/* end confdefs.h.  */
    36964886
     
    37034893}
    37044894_ACEOF
    3705 rm -f conftest.$ac_objext
    3706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3707   (eval $ac_compile) 2>conftest.er1
    3708   ac_status=$?
    3709   grep -v '^ *+' conftest.er1 >conftest.err
    3710   rm -f conftest.er1
    3711   cat conftest.err >&5
    3712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3713   (exit $ac_status); } &&
    3714          { ac_try='test -z "$ac_cxx_werror_flag"
    3715                          || test ! -s conftest.err'
    3716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3717   (eval $ac_try) 2>&5
    3718   ac_status=$?
    3719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3720   (exit $ac_status); }; } &&
    3721          { ac_try='test -s conftest.$ac_objext'
    3722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3723   (eval $ac_try) 2>&5
    3724   ac_status=$?
    3725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3726   (exit $ac_status); }; }; then
     4895if ac_fn_cxx_try_compile "$LINENO"; then :
    37274896  ac_cv_prog_cxx_g=yes
    37284897else
    3729   echo "$as_me: failed program was:" >&5
    3730 sed 's/^/| /' conftest.$ac_ext >&5
    3731 
    3732 ac_cv_prog_cxx_g=no
    3733 fi
    3734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3735 fi
    3736 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    3737 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
     4898  CXXFLAGS=""
     4899      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4900/* end confdefs.h.  */
     4901
     4902int
     4903main ()
     4904{
     4905
     4906  ;
     4907  return 0;
     4908}
     4909_ACEOF
     4910if ac_fn_cxx_try_compile "$LINENO"; then :
     4911
     4912else
     4913  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     4914         CXXFLAGS="-g"
     4915         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4916/* end confdefs.h.  */
     4917
     4918int
     4919main ()
     4920{
     4921
     4922  ;
     4923  return 0;
     4924}
     4925_ACEOF
     4926if ac_fn_cxx_try_compile "$LINENO"; then :
     4927  ac_cv_prog_cxx_g=yes
     4928fi
     4929rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4930fi
     4931rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4932fi
     4933rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4934   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     4935fi
     4936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
     4937$as_echo "$ac_cv_prog_cxx_g" >&6; }
    37384938if test "$ac_test_CXXFLAGS" = set; then
    37394939  CXXFLAGS=$ac_save_CXXFLAGS
     
    37514951  fi
    37524952fi
    3753 for ac_declaration in \
    3754    '' \
    3755    'extern "C" void std::exit (int) throw (); using std::exit;' \
    3756    'extern "C" void std::exit (int); using std::exit;' \
    3757    'extern "C" void exit (int) throw ();' \
    3758    'extern "C" void exit (int);' \
    3759    'void exit (int);'
    3760 do
    3761   cat >conftest.$ac_ext <<_ACEOF
    3762 /* confdefs.h.  */
    3763 _ACEOF
    3764 cat confdefs.h >>conftest.$ac_ext
    3765 cat >>conftest.$ac_ext <<_ACEOF
    3766 /* end confdefs.h.  */
    3767 $ac_declaration
    3768 #include <stdlib.h>
    3769 int
    3770 main ()
    3771 {
    3772 exit (42);
    3773   ;
    3774   return 0;
    3775 }
    3776 _ACEOF
    3777 rm -f conftest.$ac_objext
    3778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3779   (eval $ac_compile) 2>conftest.er1
    3780   ac_status=$?
    3781   grep -v '^ *+' conftest.er1 >conftest.err
    3782   rm -f conftest.er1
    3783   cat conftest.err >&5
    3784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3785   (exit $ac_status); } &&
    3786          { ac_try='test -z "$ac_cxx_werror_flag"
    3787                          || test ! -s conftest.err'
    3788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3789   (eval $ac_try) 2>&5
    3790   ac_status=$?
    3791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3792   (exit $ac_status); }; } &&
    3793          { ac_try='test -s conftest.$ac_objext'
    3794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3795   (eval $ac_try) 2>&5
    3796   ac_status=$?
    3797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3798   (exit $ac_status); }; }; then
    3799   :
    3800 else
    3801   echo "$as_me: failed program was:" >&5
    3802 sed 's/^/| /' conftest.$ac_ext >&5
    3803 
    3804 continue
    3805 fi
    3806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3807   cat >conftest.$ac_ext <<_ACEOF
    3808 /* confdefs.h.  */
    3809 _ACEOF
    3810 cat confdefs.h >>conftest.$ac_ext
    3811 cat >>conftest.$ac_ext <<_ACEOF
    3812 /* end confdefs.h.  */
    3813 $ac_declaration
    3814 int
    3815 main ()
    3816 {
    3817 exit (42);
    3818   ;
    3819   return 0;
    3820 }
    3821 _ACEOF
    3822 rm -f conftest.$ac_objext
    3823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3824   (eval $ac_compile) 2>conftest.er1
    3825   ac_status=$?
    3826   grep -v '^ *+' conftest.er1 >conftest.err
    3827   rm -f conftest.er1
    3828   cat conftest.err >&5
    3829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3830   (exit $ac_status); } &&
    3831          { ac_try='test -z "$ac_cxx_werror_flag"
    3832                          || test ! -s conftest.err'
    3833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3834   (eval $ac_try) 2>&5
    3835   ac_status=$?
    3836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3837   (exit $ac_status); }; } &&
    3838          { ac_try='test -s conftest.$ac_objext'
    3839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3840   (eval $ac_try) 2>&5
    3841   ac_status=$?
    3842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3843   (exit $ac_status); }; }; then
    3844   break
    3845 else
    3846   echo "$as_me: failed program was:" >&5
    3847 sed 's/^/| /' conftest.$ac_ext >&5
    3848 
    3849 fi
    3850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3851 done
    3852 rm -f conftest*
    3853 if test -n "$ac_declaration"; then
    3854   echo '#ifdef __cplusplus' >>confdefs.h
    3855   echo $ac_declaration      >>confdefs.h
    3856   echo '#endif'             >>confdefs.h
    3857 fi
    3858 
    38594953ac_ext=c
    38604954ac_cpp='$CPP $CPPFLAGS'
     
    38694963ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    38704964if test -n "$ac_tool_prefix"; then
    3871   for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
     4965  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor
    38724966  do
    38734967    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    38744968set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3875 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3877 if test "${ac_cv_prog_F77+set}" = set; then
    3878   echo $ECHO_N "(cached) $ECHO_C" >&6
     4969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4970$as_echo_n "checking for $ac_word... " >&6; }
     4971if ${ac_cv_prog_F77+:} false; then :
     4972  $as_echo_n "(cached) " >&6
    38794973else
    38804974  if test -n "$F77"; then
     
    38864980  IFS=$as_save_IFS
    38874981  test -z "$as_dir" && as_dir=.
    3888   for ac_exec_ext in '' $ac_executable_extensions; do
    3889   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4982    for ac_exec_ext in '' $ac_executable_extensions; do
     4983  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    38904984    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
    3891     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4985    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    38924986    break 2
    38934987  fi
    38944988done
    3895 done
     4989  done
     4990IFS=$as_save_IFS
    38964991
    38974992fi
     
    38994994F77=$ac_cv_prog_F77
    39004995if test -n "$F77"; then
    3901   echo "$as_me:$LINENO: result: $F77" >&5
    3902 echo "${ECHO_T}$F77" >&6
    3903 else
    3904   echo "$as_me:$LINENO: result: no" >&5
    3905 echo "${ECHO_T}no" >&6
    3906 fi
     4996  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
     4997$as_echo "$F77" >&6; }
     4998else
     4999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5000$as_echo "no" >&6; }
     5001fi
     5002
    39075003
    39085004    test -n "$F77" && break
     
    39115007if test -z "$F77"; then
    39125008  ac_ct_F77=$F77
    3913   for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
     5009  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor
    39145010do
    39155011  # Extract the first word of "$ac_prog", so it can be a program name with args.
    39165012set dummy $ac_prog; ac_word=$2
    3917 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3919 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
    3920   echo $ECHO_N "(cached) $ECHO_C" >&6
     5013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5014$as_echo_n "checking for $ac_word... " >&6; }
     5015if ${ac_cv_prog_ac_ct_F77+:} false; then :
     5016  $as_echo_n "(cached) " >&6
    39215017else
    39225018  if test -n "$ac_ct_F77"; then
     
    39285024  IFS=$as_save_IFS
    39295025  test -z "$as_dir" && as_dir=.
    3930   for ac_exec_ext in '' $ac_executable_extensions; do
    3931   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5026    for ac_exec_ext in '' $ac_executable_extensions; do
     5027  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    39325028    ac_cv_prog_ac_ct_F77="$ac_prog"
    3933     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     5029    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    39345030    break 2
    39355031  fi
    39365032done
    3937 done
     5033  done
     5034IFS=$as_save_IFS
    39385035
    39395036fi
     
    39415038ac_ct_F77=$ac_cv_prog_ac_ct_F77
    39425039if test -n "$ac_ct_F77"; then
    3943   echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
    3944 echo "${ECHO_T}$ac_ct_F77" >&6
    3945 else
    3946   echo "$as_me:$LINENO: result: no" >&5
    3947 echo "${ECHO_T}no" >&6
    3948 fi
     5040  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
     5041$as_echo "$ac_ct_F77" >&6; }
     5042else
     5043  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5044$as_echo "no" >&6; }
     5045fi
     5046
    39495047
    39505048  test -n "$ac_ct_F77" && break
    39515049done
    39525050
    3953   F77=$ac_ct_F77
     5051  if test "x$ac_ct_F77" = x; then
     5052    F77=""
     5053  else
     5054    case $cross_compiling:$ac_tool_warned in
     5055yes:)
     5056{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     5057$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     5058ac_tool_warned=yes ;;
     5059esac
     5060    F77=$ac_ct_F77
     5061  fi
    39545062fi
    39555063
    39565064
    39575065# Provide some information about the compiler.
    3958 echo "$as_me:3958:" \
    3959      "checking for Fortran 77 compiler version" >&5
    3960 ac_compiler=`set X $ac_compile; echo $2`
    3961 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    3962   (eval $ac_compiler --version </dev/null >&5) 2>&5
     5066$as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
     5067set X $ac_compile
     5068ac_compiler=$2
     5069for ac_option in --version -v -V -qversion; do
     5070  { { ac_try="$ac_compiler $ac_option >&5"
     5071case "(($ac_try" in
     5072  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5073  *) ac_try_echo=$ac_try;;
     5074esac
     5075eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     5076$as_echo "$ac_try_echo"; } >&5
     5077  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    39635078  ac_status=$?
    3964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3965   (exit $ac_status); }
    3966 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    3967   (eval $ac_compiler -v </dev/null >&5) 2>&5
    3968   ac_status=$?
    3969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3970   (exit $ac_status); }
    3971 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    3972   (eval $ac_compiler -V </dev/null >&5) 2>&5
    3973   ac_status=$?
    3974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3975   (exit $ac_status); }
     5079  if test -s conftest.err; then
     5080    sed '10a\
     5081... rest of stderr output deleted ...
     5082         10q' conftest.err >conftest.er1
     5083    cat conftest.er1 >&5
     5084  fi
     5085  rm -f conftest.er1 conftest.err
     5086  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     5087  test $ac_status = 0; }
     5088done
    39765089rm -f a.out
    39775090
     
    39805093ac_save_ext=$ac_ext
    39815094ac_ext=F
    3982 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
    3983 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
    3984 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
    3985   echo $ECHO_N "(cached) $ECHO_C" >&6
    3986 else
    3987   cat >conftest.$ac_ext <<_ACEOF
     5095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
     5096$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
     5097if ${ac_cv_f77_compiler_gnu+:} false; then :
     5098  $as_echo_n "(cached) " >&6
     5099else
     5100  cat > conftest.$ac_ext <<_ACEOF
    39885101      program main
    39895102#ifndef __GNUC__
     
    39935106      end
    39945107_ACEOF
    3995 rm -f conftest.$ac_objext
    3996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3997   (eval $ac_compile) 2>conftest.er1
    3998   ac_status=$?
    3999   grep -v '^ *+' conftest.er1 >conftest.err
    4000   rm -f conftest.er1
    4001   cat conftest.err >&5
    4002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4003   (exit $ac_status); } &&
    4004          { ac_try='test -z "$ac_f77_werror_flag"
    4005                          || test ! -s conftest.err'
    4006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4007   (eval $ac_try) 2>&5
    4008   ac_status=$?
    4009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4010   (exit $ac_status); }; } &&
    4011          { ac_try='test -s conftest.$ac_objext'
    4012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4013   (eval $ac_try) 2>&5
    4014   ac_status=$?
    4015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4016   (exit $ac_status); }; }; then
     5108if ac_fn_f77_try_compile "$LINENO"; then :
    40175109  ac_compiler_gnu=yes
    40185110else
    4019   echo "$as_me: failed program was:" >&5
    4020 sed 's/^/| /' conftest.$ac_ext >&5
    4021 
    4022 ac_compiler_gnu=no
    4023 fi
    4024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5111  ac_compiler_gnu=no
     5112fi
     5113rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    40255114ac_cv_f77_compiler_gnu=$ac_compiler_gnu
    40265115
    40275116fi
    4028 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
    4029 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
     5117{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
     5118$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
    40305119ac_ext=$ac_save_ext
    40315120ac_test_FFLAGS=${FFLAGS+set}
    40325121ac_save_FFLAGS=$FFLAGS
    40335122FFLAGS=
    4034 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
    4035 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
    4036 if test "${ac_cv_prog_f77_g+set}" = set; then
    4037   echo $ECHO_N "(cached) $ECHO_C" >&6
     5123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
     5124$as_echo_n "checking whether $F77 accepts -g... " >&6; }
     5125if ${ac_cv_prog_f77_g+:} false; then :
     5126  $as_echo_n "(cached) " >&6
    40385127else
    40395128  FFLAGS=-g
    4040 cat >conftest.$ac_ext <<_ACEOF
     5129cat > conftest.$ac_ext <<_ACEOF
    40415130      program main
    40425131
    40435132      end
    40445133_ACEOF
    4045 rm -f conftest.$ac_objext
    4046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4047   (eval $ac_compile) 2>conftest.er1
    4048   ac_status=$?
    4049   grep -v '^ *+' conftest.er1 >conftest.err
    4050   rm -f conftest.er1
    4051   cat conftest.err >&5
    4052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4053   (exit $ac_status); } &&
    4054          { ac_try='test -z "$ac_f77_werror_flag"
    4055                          || test ! -s conftest.err'
    4056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4057   (eval $ac_try) 2>&5
    4058   ac_status=$?
    4059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4060   (exit $ac_status); }; } &&
    4061          { ac_try='test -s conftest.$ac_objext'
    4062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4063   (eval $ac_try) 2>&5
    4064   ac_status=$?
    4065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4066   (exit $ac_status); }; }; then
     5134if ac_fn_f77_try_compile "$LINENO"; then :
    40675135  ac_cv_prog_f77_g=yes
    40685136else
    4069   echo "$as_me: failed program was:" >&5
    4070 sed 's/^/| /' conftest.$ac_ext >&5
    4071 
    4072 ac_cv_prog_f77_g=no
    4073 fi
    4074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4075 
    4076 fi
    4077 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
    4078 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
     5137  ac_cv_prog_f77_g=no
     5138fi
     5139rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5140
     5141fi
     5142{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
     5143$as_echo "$ac_cv_prog_f77_g" >&6; }
    40795144if test "$ac_test_FFLAGS" = set; then
    40805145  FFLAGS=$ac_save_FFLAGS
     
    40935158fi
    40945159
    4095 G77=`test $ac_compiler_gnu = yes && echo yes`
     5160if test $ac_compiler_gnu = yes; then
     5161  G77=yes
     5162else
     5163  G77=
     5164fi
    40965165ac_ext=c
    40975166ac_cpp='$CPP $CPPFLAGS'
     
    41065175ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    41075176ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    4108 echo "$as_me:$LINENO: checking how to get verbose linking output from $F77" >&5
    4109 echo $ECHO_N "checking how to get verbose linking output from $F77... $ECHO_C" >&6
    4110 if test "${ac_cv_prog_f77_v+set}" = set; then
    4111   echo $ECHO_N "(cached) $ECHO_C" >&6
    4112 else
    4113   cat >conftest.$ac_ext <<_ACEOF
     5177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get verbose linking output from $F77" >&5
     5178$as_echo_n "checking how to get verbose linking output from $F77... " >&6; }
     5179if ${ac_cv_prog_f77_v+:} false; then :
     5180  $as_echo_n "(cached) " >&6
     5181else
     5182  cat > conftest.$ac_ext <<_ACEOF
    41145183      program main
    41155184
    41165185      end
    41175186_ACEOF
    4118 rm -f conftest.$ac_objext
    4119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4120   (eval $ac_compile) 2>conftest.er1
    4121   ac_status=$?
    4122   grep -v '^ *+' conftest.er1 >conftest.err
    4123   rm -f conftest.er1
    4124   cat conftest.err >&5
    4125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4126   (exit $ac_status); } &&
    4127          { ac_try='test -z "$ac_f77_werror_flag"
    4128                          || test ! -s conftest.err'
    4129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4130   (eval $ac_try) 2>&5
    4131   ac_status=$?
    4132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4133   (exit $ac_status); }; } &&
    4134          { ac_try='test -s conftest.$ac_objext'
    4135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4136   (eval $ac_try) 2>&5
    4137   ac_status=$?
    4138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4139   (exit $ac_status); }; }; then
     5187if ac_fn_f77_try_compile "$LINENO"; then :
    41405188  ac_cv_prog_f77_v=
    41415189# Try some options frequently used verbose output
    41425190for ac_verb in -v -verbose --verbose -V -\#\#\#; do
    4143   cat >conftest.$ac_ext <<_ACEOF
     5191  cat > conftest.$ac_ext <<_ACEOF
    41445192      program main
    41455193
     
    41535201ac_save_FFLAGS=$FFLAGS
    41545202FFLAGS="$FFLAGS $ac_verb"
    4155 (eval echo $as_me:4155: \"$ac_link\") >&5
    4156 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    4157 echo "$ac_f77_v_output" >&5
     5203eval "set x $ac_link"
     5204shift
     5205$as_echo "$as_me:${as_lineno-$LINENO}: $*" >&5
     5206# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
     5207# LIBRARY_PATH; skip all such settings.
     5208ac_f77_v_output=`eval $ac_link 5>&1 2>&1 |
     5209  sed '/^Driving:/d; /^Configured with:/d;
     5210      '"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"`
     5211$as_echo "$ac_f77_v_output" >&5
    41585212FFLAGS=$ac_save_FFLAGS
    41595213
    4160 rm -f conftest*
     5214rm -rf conftest*
    41615215
    41625216# On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where
     
    41655219ac_f77_v_output="`echo $ac_f77_v_output |
    41665220        grep 'LPATH is:' |
    4167         sed 's,.*LPATH is\(: *[^ ]*\).*,\1,;s,: */, -L/,g'` $ac_f77_v_output"
    4168 
     5221        sed 's|.*LPATH is\(: *[^ ]*\).*|\1|;s|: */| -L/|g'` $ac_f77_v_output"
     5222
     5223# FIXME: we keep getting bitten by quoted arguments; a more general fix
     5224#        that detects unbalanced quotes in FLIBS should be implemented
     5225#        and (ugh) tested at some point.
    41695226case $ac_f77_v_output in
    4170   # If we are using xlf then replace all the commas with spaces.
     5227  # With xlf replace commas with spaces,
     5228  # and remove "-link" and closing parenthesis.
    41715229  *xlfentry*)
    4172     ac_f77_v_output=`echo $ac_f77_v_output | sed 's/,/ /g'` ;;
     5230    ac_f77_v_output=`echo $ac_f77_v_output |
     5231      sed '
     5232        s/,/ /g
     5233        s/ -link / /g
     5234        s/) *$//
     5235      '
     5236    ` ;;
    41735237
    41745238  # With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted
    41755239  # $LIBS confuse us, and the libraries appear later in the output anyway).
    41765240  *mGLOB_options_string*)
    4177     ac_f77_v_output=`echo $ac_f77_v_output | sed 's/\"-mGLOB[^\"]*\"/ /g'` ;;
     5241    ac_f77_v_output=`echo $ac_f77_v_output | sed 's/"-mGLOB[^"]*"/ /g'` ;;
     5242
     5243  # Portland Group compiler has singly- or doubly-quoted -cmdline argument
     5244  # Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4.
     5245  # Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2".
     5246  *-cmdline\ * | *-ignore\ * | *-def\ *)
     5247    ac_f77_v_output=`echo $ac_f77_v_output | sed "\
     5248        s/-cmdline  *'[^']*'/ /g; s/-cmdline  *\"[^\"]*\"/ /g
     5249        s/-ignore  *'[^']*'/ /g; s/-ignore  *\"[^\"]*\"/ /g
     5250        s/-def  *'[^']*'/ /g; s/-def  *\"[^\"]*\"/ /g"` ;;
     5251
     5252  # If we are using fort77 (the f2c wrapper) then filter output and delete quotes.
     5253  *fort77*f2c*gcc*)
     5254    ac_f77_v_output=`echo "$ac_f77_v_output" | sed -n '
     5255        /:[      ]\+Running[     ]\{1,\}"gcc"/{
     5256          /"-c"/d
     5257          /[.]c"*/d
     5258          s/^.*"gcc"/"gcc"/
     5259          s/"//gp
     5260        }'` ;;
    41785261
    41795262  # If we are using Cray Fortran then delete quotes.
    4180   # Use "\"" instead of '"' for font-lock-mode.
    4181   # FIXME: a more general fix for quoted arguments with spaces?
    41825263  *cft90*)
    4183     ac_f77_v_output=`echo $ac_f77_v_output | sed "s/\"//g"` ;;
     5264    ac_f77_v_output=`echo $ac_f77_v_output | sed 's/"//g'` ;;
    41845265esac
    41855266
     
    41885269  for ac_arg in $ac_f77_v_output; do
    41895270     case $ac_arg in
    4190         [\\/]*.a | ?:[\\/]*.a | -[lLRu]*)
    4191           ac_cv_prog_f77_v=$ac_verb
    4192           break 2 ;;
     5271        [\\/]*.a | ?:[\\/]*.a | -[lLRu]*)
     5272          ac_cv_prog_f77_v=$ac_verb
     5273          break 2 ;;
    41935274     esac
    41945275  done
    41955276done
    41965277if test -z "$ac_cv_prog_f77_v"; then
    4197    { echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $F77" >&5
    4198 echo "$as_me: WARNING: cannot determine how to obtain linking information from $F77" >&2;}
    4199 fi
    4200 else
    4201   echo "$as_me: failed program was:" >&5
    4202 sed 's/^/| /' conftest.$ac_ext >&5
    4203 
    4204 { echo "$as_me:$LINENO: WARNING: compilation failed" >&5
    4205 echo "$as_me: WARNING: compilation failed" >&2;}
    4206 fi
    4207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4208 
    4209 fi
    4210 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_v" >&5
    4211 echo "${ECHO_T}$ac_cv_prog_f77_v" >&6
    4212 echo "$as_me:$LINENO: checking for Fortran libraries of $F77" >&5
    4213 echo $ECHO_N "checking for Fortran libraries of $F77... $ECHO_C" >&6
    4214 if test "${ac_cv_f77_libs+set}" = set; then
    4215   echo $ECHO_N "(cached) $ECHO_C" >&6
     5278   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine how to obtain linking information from $F77" >&5
     5279$as_echo "$as_me: WARNING: cannot determine how to obtain linking information from $F77" >&2;}
     5280fi
     5281else
     5282  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compilation failed" >&5
     5283$as_echo "$as_me: WARNING: compilation failed" >&2;}
     5284fi
     5285rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5286
     5287fi
     5288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_v" >&5
     5289$as_echo "$ac_cv_prog_f77_v" >&6; }
     5290{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 libraries of $F77" >&5
     5291$as_echo_n "checking for Fortran 77 libraries of $F77... " >&6; }
     5292if ${ac_cv_f77_libs+:} false; then :
     5293  $as_echo_n "(cached) " >&6
    42165294else
    42175295  if test "x$FLIBS" != "x"; then
     
    42195297else
    42205298
    4221 cat >conftest.$ac_ext <<_ACEOF
     5299cat > conftest.$ac_ext <<_ACEOF
    42225300      program main
    42235301
     
    42315309ac_save_FFLAGS=$FFLAGS
    42325310FFLAGS="$FFLAGS $ac_cv_prog_f77_v"
    4233 (eval echo $as_me:4233: \"$ac_link\") >&5
    4234 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    4235 echo "$ac_f77_v_output" >&5
     5311eval "set x $ac_link"
     5312shift
     5313$as_echo "$as_me:${as_lineno-$LINENO}: $*" >&5
     5314# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
     5315# LIBRARY_PATH; skip all such settings.
     5316ac_f77_v_output=`eval $ac_link 5>&1 2>&1 |
     5317  sed '/^Driving:/d; /^Configured with:/d;
     5318      '"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"`
     5319$as_echo "$ac_f77_v_output" >&5
    42365320FFLAGS=$ac_save_FFLAGS
    42375321
    4238 rm -f conftest*
     5322rm -rf conftest*
    42395323
    42405324# On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where
     
    42435327ac_f77_v_output="`echo $ac_f77_v_output |
    42445328        grep 'LPATH is:' |
    4245         sed 's,.*LPATH is\(: *[^ ]*\).*,\1,;s,: */, -L/,g'` $ac_f77_v_output"
    4246 
     5329        sed 's|.*LPATH is\(: *[^ ]*\).*|\1|;s|: */| -L/|g'` $ac_f77_v_output"
     5330
     5331# FIXME: we keep getting bitten by quoted arguments; a more general fix
     5332#        that detects unbalanced quotes in FLIBS should be implemented
     5333#        and (ugh) tested at some point.
    42475334case $ac_f77_v_output in
    4248   # If we are using xlf then replace all the commas with spaces.
     5335  # With xlf replace commas with spaces,
     5336  # and remove "-link" and closing parenthesis.
    42495337  *xlfentry*)
    4250     ac_f77_v_output=`echo $ac_f77_v_output | sed 's/,/ /g'` ;;
     5338    ac_f77_v_output=`echo $ac_f77_v_output |
     5339      sed '
     5340        s/,/ /g
     5341        s/ -link / /g
     5342        s/) *$//
     5343      '
     5344    ` ;;
    42515345
    42525346  # With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted
    42535347  # $LIBS confuse us, and the libraries appear later in the output anyway).
    42545348  *mGLOB_options_string*)
    4255     ac_f77_v_output=`echo $ac_f77_v_output | sed 's/\"-mGLOB[^\"]*\"/ /g'` ;;
     5349    ac_f77_v_output=`echo $ac_f77_v_output | sed 's/"-mGLOB[^"]*"/ /g'` ;;
     5350
     5351  # Portland Group compiler has singly- or doubly-quoted -cmdline argument
     5352  # Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4.
     5353  # Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2".
     5354  *-cmdline\ * | *-ignore\ * | *-def\ *)
     5355    ac_f77_v_output=`echo $ac_f77_v_output | sed "\
     5356        s/-cmdline  *'[^']*'/ /g; s/-cmdline  *\"[^\"]*\"/ /g
     5357        s/-ignore  *'[^']*'/ /g; s/-ignore  *\"[^\"]*\"/ /g
     5358        s/-def  *'[^']*'/ /g; s/-def  *\"[^\"]*\"/ /g"` ;;
     5359
     5360  # If we are using fort77 (the f2c wrapper) then filter output and delete quotes.
     5361  *fort77*f2c*gcc*)
     5362    ac_f77_v_output=`echo "$ac_f77_v_output" | sed -n '
     5363        /:[      ]\+Running[     ]\{1,\}"gcc"/{
     5364          /"-c"/d
     5365          /[.]c"*/d
     5366          s/^.*"gcc"/"gcc"/
     5367          s/"//gp
     5368        }'` ;;
    42565369
    42575370  # If we are using Cray Fortran then delete quotes.
    4258   # Use "\"" instead of '"' for font-lock-mode.
    4259   # FIXME: a more general fix for quoted arguments with spaces?
    42605371  *cft90*)
    4261     ac_f77_v_output=`echo $ac_f77_v_output | sed "s/\"//g"` ;;
     5372    ac_f77_v_output=`echo $ac_f77_v_output | sed 's/"//g'` ;;
    42625373esac
    42635374
     
    42745385  ac_arg=$1
    42755386  case $ac_arg in
    4276         [\\/]*.a | ?:[\\/]*.a)
    4277             ac_exists=false
     5387        [\\/]*.a | ?:[\\/]*.a)
     5388            ac_exists=false
    42785389  for ac_i in $ac_cv_f77_libs; do
    42795390    if test x"$ac_arg" = x"$ac_i"; then
     
    42835394  done
    42845395
    4285   if test x"$ac_exists" = xtrue; then
    4286   :
     5396  if test x"$ac_exists" = xtrue; then :
     5397
    42875398else
    42885399  ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
    42895400fi
    4290 
    4291           ;;
    4292         -bI:*)
    4293             ac_exists=false
     5401          ;;
     5402        -bI:*)
     5403            ac_exists=false
    42945404  for ac_i in $ac_cv_f77_libs; do
    42955405    if test x"$ac_arg" = x"$ac_i"; then
     
    42995409  done
    43005410
    4301   if test x"$ac_exists" = xtrue; then
    4302   :
     5411  if test x"$ac_exists" = xtrue; then :
     5412
    43035413else
    43045414  if test "$ac_compiler_gnu" = yes; then
     
    43105420fi
    43115421fi
    4312 
    4313           ;;
    4314           # Ignore these flags.
    4315         -lang* | -lcrt[01].o | -lcrtbegin.o | -lc | -lgcc | -libmil | -LANG:=*)
    4316           ;;
    4317         -lkernel32)
    4318           test x"$CYGWIN" != xyes && ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
    4319           ;;
    4320         -[LRuY])
    4321           # These flags, when seen by themselves, take an argument.
    4322           # We remove the space between option and argument and re-iterate
    4323           # unless we find an empty arg or a new option (starting with -)
     5422          ;;
     5423          # Ignore these flags.
     5424        -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little \
     5425          |-LANG:=* | -LIST:* | -LNO:* | -link)
     5426          ;;
     5427        -lkernel32)
     5428          case $host_os in
     5429          *cygwin*) ;;
     5430          *) ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
     5431            ;;
     5432          esac
     5433          ;;
     5434        -[LRuYz])
     5435          # These flags, when seen by themselves, take an argument.
     5436          # We remove the space between option and argument and re-iterate
     5437          # unless we find an empty arg or a new option (starting with -)
    43245438          case $2 in
    43255439             "" | -*);;
     
    43305444                ;;
    43315445          esac
    4332           ;;
    4333         -YP,*)
    4334           for ac_j in `echo $ac_arg | sed -e 's/-YP,/-L/;s/:/ -L/g'`; do
    4335               ac_exists=false
     5446          ;;
     5447        -YP,*)
     5448          for ac_j in `$as_echo "$ac_arg" | sed -e 's/-YP,/-L/;s/:/ -L/g'`; do
     5449              ac_exists=false
    43365450  for ac_i in $ac_cv_f77_libs; do
    43375451    if test x"$ac_j" = x"$ac_i"; then
     
    43415455  done
    43425456
    4343   if test x"$ac_exists" = xtrue; then
    4344   :
     5457  if test x"$ac_exists" = xtrue; then :
     5458
    43455459else
    43465460  ac_arg="$ac_arg $ac_j"
    4347                                ac_cv_f77_libs="$ac_cv_f77_libs $ac_j"
    4348 fi
    4349 
    4350           done
    4351           ;;
    4352         -[lLR]*)
    4353             ac_exists=false
     5461                               ac_cv_f77_libs="$ac_cv_f77_libs $ac_j"
     5462fi
     5463          done
     5464          ;;
     5465        -[lLR]*)
     5466            ac_exists=false
    43545467  for ac_i in $ac_cv_f77_libs; do
    43555468    if test x"$ac_arg" = x"$ac_i"; then
     
    43595472  done
    43605473
    4361   if test x"$ac_exists" = xtrue; then
    4362   :
     5474  if test x"$ac_exists" = xtrue; then :
     5475
    43635476else
    43645477  ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
    43655478fi
    4366 
    4367           ;;
    4368           # Ignore everything else.
     5479          ;;
     5480        -zallextract*| -zdefaultextract)
     5481          ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
     5482          ;;
     5483          # Ignore everything else.
    43695484  esac
    43705485done
     
    43775492case `(uname -sr) 2>/dev/null` in
    43785493   "SunOS 5"*)
    4379       ac_ld_run_path=`echo $ac_f77_v_output |
    4380                         sed -n 's,^.*LD_RUN_PATH *= *\(/[^ ]*\).*$,-R\1,p'`
     5494      ac_ld_run_path=`$as_echo "$ac_f77_v_output" |
     5495                        sed -n 's,^.*LD_RUN_PATH *= *\(/[^ ]*\).*$,-R\1,p'`
    43815496      test "x$ac_ld_run_path" != x &&
    4382         if test "$ac_compiler_gnu" = yes; then
     5497        if test "$ac_compiler_gnu" = yes; then
    43835498  for ac_link_opt in $ac_ld_run_path; do
    43845499    ac_cv_f77_libs="$ac_cv_f77_libs -Xlinker $ac_link_opt"
     
    43925507
    43935508fi
    4394 echo "$as_me:$LINENO: result: $ac_cv_f77_libs" >&5
    4395 echo "${ECHO_T}$ac_cv_f77_libs" >&6
     5509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_libs" >&5
     5510$as_echo "$ac_cv_f77_libs" >&6; }
    43965511FLIBS="$ac_cv_f77_libs"
    43975512
     
    44115526ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    44125527ac_compiler_gnu=$ac_cv_c_compiler_gnu
    4413 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    4414 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
     5528{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
     5529$as_echo_n "checking how to run the C preprocessor... " >&6; }
    44155530# On Suns, sometimes $CPP names a directory.
    44165531if test -n "$CPP" && test -d "$CPP"; then
     
    44185533fi
    44195534if test -z "$CPP"; then
    4420   if test "${ac_cv_prog_CPP+set}" = set; then
    4421   echo $ECHO_N "(cached) $ECHO_C" >&6
     5535  if ${ac_cv_prog_CPP+:} false; then :
     5536  $as_echo_n "(cached) " >&6
    44225537else
    44235538      # Double quotes because CPP needs to be expanded
     
    44335548  # On the NeXT, cc -E runs the code through the compiler's parser,
    44345549  # not just through cpp. "Syntax error" is here to catch this case.
    4435   cat >conftest.$ac_ext <<_ACEOF
    4436 /* confdefs.h.  */
    4437 _ACEOF
    4438 cat confdefs.h >>conftest.$ac_ext
    4439 cat >>conftest.$ac_ext <<_ACEOF
     5550  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    44405551/* end confdefs.h.  */
    44415552#ifdef __STDC__
     
    44465557                     Syntax error
    44475558_ACEOF
    4448 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    4449   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4450   ac_status=$?
    4451   grep -v '^ *+' conftest.er1 >conftest.err
    4452   rm -f conftest.er1
    4453   cat conftest.err >&5
    4454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4455   (exit $ac_status); } >/dev/null; then
    4456   if test -s conftest.err; then
    4457     ac_cpp_err=$ac_c_preproc_warn_flag
    4458     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    4459   else
    4460     ac_cpp_err=
    4461   fi
    4462 else
    4463   ac_cpp_err=yes
    4464 fi
    4465 if test -z "$ac_cpp_err"; then
    4466   :
    4467 else
    4468   echo "$as_me: failed program was:" >&5
    4469 sed 's/^/| /' conftest.$ac_ext >&5
    4470 
     5559if ac_fn_c_try_cpp "$LINENO"; then :
     5560
     5561else
    44715562  # Broken: fails on valid input.
    44725563continue
    44735564fi
    4474 rm -f conftest.err conftest.$ac_ext
    4475 
    4476   # OK, works on sane cases.  Now check whether non-existent headers
     5565rm -f conftest.err conftest.i conftest.$ac_ext
     5566
     5567  # OK, works on sane cases.  Now check whether nonexistent headers
    44775568  # can be detected and how.
    4478   cat >conftest.$ac_ext <<_ACEOF
    4479 /* confdefs.h.  */
    4480 _ACEOF
    4481 cat confdefs.h >>conftest.$ac_ext
    4482 cat >>conftest.$ac_ext <<_ACEOF
     5569  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    44835570/* end confdefs.h.  */
    44845571#include <ac_nonexistent.h>
    44855572_ACEOF
    4486 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    4487   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4488   ac_status=$?
    4489   grep -v '^ *+' conftest.er1 >conftest.err
    4490   rm -f conftest.er1
    4491   cat conftest.err >&5
    4492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4493   (exit $ac_status); } >/dev/null; then
    4494   if test -s conftest.err; then
    4495     ac_cpp_err=$ac_c_preproc_warn_flag
    4496     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    4497   else
    4498     ac_cpp_err=
    4499   fi
    4500 else
    4501   ac_cpp_err=yes
    4502 fi
    4503 if test -z "$ac_cpp_err"; then
     5573if ac_fn_c_try_cpp "$LINENO"; then :
    45045574  # Broken: success on invalid input.
    45055575continue
    45065576else
    4507   echo "$as_me: failed program was:" >&5
    4508 sed 's/^/| /' conftest.$ac_ext >&5
    4509 
    45105577  # Passes both tests.
    45115578ac_preproc_ok=:
    45125579break
    45135580fi
    4514 rm -f conftest.err conftest.$ac_ext
     5581rm -f conftest.err conftest.i conftest.$ac_ext
    45155582
    45165583done
    45175584# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4518 rm -f conftest.err conftest.$ac_ext
    4519 if $ac_preproc_ok; then
     5585rm -f conftest.i conftest.err conftest.$ac_ext
     5586if $ac_preproc_ok; then :
    45205587  break
    45215588fi
     
    45295596  ac_cv_prog_CPP=$CPP
    45305597fi
    4531 echo "$as_me:$LINENO: result: $CPP" >&5
    4532 echo "${ECHO_T}$CPP" >&6
     5598{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
     5599$as_echo "$CPP" >&6; }
    45335600ac_preproc_ok=false
    45345601for ac_c_preproc_warn_flag in '' yes
     
    45405607  # On the NeXT, cc -E runs the code through the compiler's parser,
    45415608  # not just through cpp. "Syntax error" is here to catch this case.
    4542   cat >conftest.$ac_ext <<_ACEOF
    4543 /* confdefs.h.  */
    4544 _ACEOF
    4545 cat confdefs.h >>conftest.$ac_ext
    4546 cat >>conftest.$ac_ext <<_ACEOF
     5609  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    45475610/* end confdefs.h.  */
    45485611#ifdef __STDC__
     
    45535616                     Syntax error
    45545617_ACEOF
    4555 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    4556   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4557   ac_status=$?
    4558   grep -v '^ *+' conftest.er1 >conftest.err
    4559   rm -f conftest.er1
    4560   cat conftest.err >&5
    4561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4562   (exit $ac_status); } >/dev/null; then
    4563   if test -s conftest.err; then
    4564     ac_cpp_err=$ac_c_preproc_warn_flag
    4565     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    4566   else
    4567     ac_cpp_err=
    4568   fi
    4569 else
    4570   ac_cpp_err=yes
    4571 fi
    4572 if test -z "$ac_cpp_err"; then
    4573   :
    4574 else
    4575   echo "$as_me: failed program was:" >&5
    4576 sed 's/^/| /' conftest.$ac_ext >&5
    4577 
     5618if ac_fn_c_try_cpp "$LINENO"; then :
     5619
     5620else
    45785621  # Broken: fails on valid input.
    45795622continue
    45805623fi
    4581 rm -f conftest.err conftest.$ac_ext
    4582 
    4583   # OK, works on sane cases.  Now check whether non-existent headers
     5624rm -f conftest.err conftest.i conftest.$ac_ext
     5625
     5626  # OK, works on sane cases.  Now check whether nonexistent headers
    45845627  # can be detected and how.
    4585   cat >conftest.$ac_ext <<_ACEOF
    4586 /* confdefs.h.  */
    4587 _ACEOF
    4588 cat confdefs.h >>conftest.$ac_ext
    4589 cat >>conftest.$ac_ext <<_ACEOF
     5628  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    45905629/* end confdefs.h.  */
    45915630#include <ac_nonexistent.h>
    45925631_ACEOF
    4593 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    4594   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4595   ac_status=$?
    4596   grep -v '^ *+' conftest.er1 >conftest.err
    4597   rm -f conftest.er1
    4598   cat conftest.err >&5
    4599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4600   (exit $ac_status); } >/dev/null; then
    4601   if test -s conftest.err; then
    4602     ac_cpp_err=$ac_c_preproc_warn_flag
    4603     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    4604   else
    4605     ac_cpp_err=
    4606   fi
    4607 else
    4608   ac_cpp_err=yes
    4609 fi
    4610 if test -z "$ac_cpp_err"; then
     5632if ac_fn_c_try_cpp "$LINENO"; then :
    46115633  # Broken: success on invalid input.
    46125634continue
    46135635else
    4614   echo "$as_me: failed program was:" >&5
    4615 sed 's/^/| /' conftest.$ac_ext >&5
    4616 
    46175636  # Passes both tests.
    46185637ac_preproc_ok=:
    46195638break
    46205639fi
    4621 rm -f conftest.err conftest.$ac_ext
     5640rm -f conftest.err conftest.i conftest.$ac_ext
    46225641
    46235642done
    46245643# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4625 rm -f conftest.err conftest.$ac_ext
    4626 if $ac_preproc_ok; then
    4627   :
    4628 else
    4629   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    4630 See \`config.log' for more details." >&5
    4631 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    4632 See \`config.log' for more details." >&2;}
    4633    { (exit 1); exit 1; }; }
     5644rm -f conftest.i conftest.err conftest.$ac_ext
     5645if $ac_preproc_ok; then :
     5646
     5647else
     5648  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5649$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5650as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     5651See \`config.log' for more details" "$LINENO" 5; }
    46345652fi
    46355653
     
    46405658ac_compiler_gnu=$ac_cv_c_compiler_gnu
    46415659
    4642 ac_ext=cc
     5660ac_ext=cpp
    46435661ac_cpp='$CXXCPP $CPPFLAGS'
    46445662ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    46455663ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    46465664ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    4647 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
    4648 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
     5665{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
     5666$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
    46495667if test -z "$CXXCPP"; then
    4650   if test "${ac_cv_prog_CXXCPP+set}" = set; then
    4651   echo $ECHO_N "(cached) $ECHO_C" >&6
     5668  if ${ac_cv_prog_CXXCPP+:} false; then :
     5669  $as_echo_n "(cached) " >&6
    46525670else
    46535671      # Double quotes because CXXCPP needs to be expanded
     
    46635681  # On the NeXT, cc -E runs the code through the compiler's parser,
    46645682  # not just through cpp. "Syntax error" is here to catch this case.
    4665   cat >conftest.$ac_ext <<_ACEOF
    4666 /* confdefs.h.  */
    4667 _ACEOF
    4668 cat confdefs.h >>conftest.$ac_ext
    4669 cat >>conftest.$ac_ext <<_ACEOF
     5683  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    46705684/* end confdefs.h.  */
    46715685#ifdef __STDC__
     
    46765690                     Syntax error
    46775691_ACEOF
    4678 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    4679   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4680   ac_status=$?
    4681   grep -v '^ *+' conftest.er1 >conftest.err
    4682   rm -f conftest.er1
    4683   cat conftest.err >&5
    4684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4685   (exit $ac_status); } >/dev/null; then
    4686   if test -s conftest.err; then
    4687     ac_cpp_err=$ac_cxx_preproc_warn_flag
    4688     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    4689   else
    4690     ac_cpp_err=
    4691   fi
    4692 else
    4693   ac_cpp_err=yes
    4694 fi
    4695 if test -z "$ac_cpp_err"; then
    4696   :
    4697 else
    4698   echo "$as_me: failed program was:" >&5
    4699 sed 's/^/| /' conftest.$ac_ext >&5
    4700 
     5692if ac_fn_cxx_try_cpp "$LINENO"; then :
     5693
     5694else
    47015695  # Broken: fails on valid input.
    47025696continue
    47035697fi
    4704 rm -f conftest.err conftest.$ac_ext
    4705 
    4706   # OK, works on sane cases.  Now check whether non-existent headers
     5698rm -f conftest.err conftest.i conftest.$ac_ext
     5699
     5700  # OK, works on sane cases.  Now check whether nonexistent headers
    47075701  # can be detected and how.
    4708   cat >conftest.$ac_ext <<_ACEOF
    4709 /* confdefs.h.  */
    4710 _ACEOF
    4711 cat confdefs.h >>conftest.$ac_ext
    4712 cat >>conftest.$ac_ext <<_ACEOF
     5702  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    47135703/* end confdefs.h.  */
    47145704#include <ac_nonexistent.h>
    47155705_ACEOF
    4716 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    4717   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4718   ac_status=$?
    4719   grep -v '^ *+' conftest.er1 >conftest.err
    4720   rm -f conftest.er1
    4721   cat conftest.err >&5
    4722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4723   (exit $ac_status); } >/dev/null; then
    4724   if test -s conftest.err; then
    4725     ac_cpp_err=$ac_cxx_preproc_warn_flag
    4726     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    4727   else
    4728     ac_cpp_err=
    4729   fi
    4730 else
    4731   ac_cpp_err=yes
    4732 fi
    4733 if test -z "$ac_cpp_err"; then
     5706if ac_fn_cxx_try_cpp "$LINENO"; then :
    47345707  # Broken: success on invalid input.
    47355708continue
    47365709else
    4737   echo "$as_me: failed program was:" >&5
    4738 sed 's/^/| /' conftest.$ac_ext >&5
    4739 
    47405710  # Passes both tests.
    47415711ac_preproc_ok=:
    47425712break
    47435713fi
    4744 rm -f conftest.err conftest.$ac_ext
     5714rm -f conftest.err conftest.i conftest.$ac_ext
    47455715
    47465716done
    47475717# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4748 rm -f conftest.err conftest.$ac_ext
    4749 if $ac_preproc_ok; then
     5718rm -f conftest.i conftest.err conftest.$ac_ext
     5719if $ac_preproc_ok; then :
    47505720  break
    47515721fi
     
    47595729  ac_cv_prog_CXXCPP=$CXXCPP
    47605730fi
    4761 echo "$as_me:$LINENO: result: $CXXCPP" >&5
    4762 echo "${ECHO_T}$CXXCPP" >&6
     5731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
     5732$as_echo "$CXXCPP" >&6; }
    47635733ac_preproc_ok=false
    47645734for ac_cxx_preproc_warn_flag in '' yes
     
    47705740  # On the NeXT, cc -E runs the code through the compiler's parser,
    47715741  # not just through cpp. "Syntax error" is here to catch this case.
    4772   cat >conftest.$ac_ext <<_ACEOF
    4773 /* confdefs.h.  */
    4774 _ACEOF
    4775 cat confdefs.h >>conftest.$ac_ext
    4776 cat >>conftest.$ac_ext <<_ACEOF
     5742  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    47775743/* end confdefs.h.  */
    47785744#ifdef __STDC__
     
    47835749                     Syntax error
    47845750_ACEOF
    4785 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    4786   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4787   ac_status=$?
    4788   grep -v '^ *+' conftest.er1 >conftest.err
    4789   rm -f conftest.er1
    4790   cat conftest.err >&5
    4791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4792   (exit $ac_status); } >/dev/null; then
    4793   if test -s conftest.err; then
    4794     ac_cpp_err=$ac_cxx_preproc_warn_flag
    4795     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    4796   else
    4797     ac_cpp_err=
    4798   fi
    4799 else
    4800   ac_cpp_err=yes
    4801 fi
    4802 if test -z "$ac_cpp_err"; then
    4803   :
    4804 else
    4805   echo "$as_me: failed program was:" >&5
    4806 sed 's/^/| /' conftest.$ac_ext >&5
    4807 
     5751if ac_fn_cxx_try_cpp "$LINENO"; then :
     5752
     5753else
    48085754  # Broken: fails on valid input.
    48095755continue
    48105756fi
    4811 rm -f conftest.err conftest.$ac_ext
    4812 
    4813   # OK, works on sane cases.  Now check whether non-existent headers
     5757rm -f conftest.err conftest.i conftest.$ac_ext
     5758
     5759  # OK, works on sane cases.  Now check whether nonexistent headers
    48145760  # can be detected and how.
    4815   cat >conftest.$ac_ext <<_ACEOF
    4816 /* confdefs.h.  */
    4817 _ACEOF
    4818 cat confdefs.h >>conftest.$ac_ext
    4819 cat >>conftest.$ac_ext <<_ACEOF
     5761  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    48205762/* end confdefs.h.  */
    48215763#include <ac_nonexistent.h>
    48225764_ACEOF
    4823 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    4824   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4825   ac_status=$?
    4826   grep -v '^ *+' conftest.er1 >conftest.err
    4827   rm -f conftest.er1
    4828   cat conftest.err >&5
    4829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4830   (exit $ac_status); } >/dev/null; then
    4831   if test -s conftest.err; then
    4832     ac_cpp_err=$ac_cxx_preproc_warn_flag
    4833     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    4834   else
    4835     ac_cpp_err=
    4836   fi
    4837 else
    4838   ac_cpp_err=yes
    4839 fi
    4840 if test -z "$ac_cpp_err"; then
     5765if ac_fn_cxx_try_cpp "$LINENO"; then :
    48415766  # Broken: success on invalid input.
    48425767continue
    48435768else
    4844   echo "$as_me: failed program was:" >&5
    4845 sed 's/^/| /' conftest.$ac_ext >&5
    4846 
    48475769  # Passes both tests.
    48485770ac_preproc_ok=:
    48495771break
    48505772fi
    4851 rm -f conftest.err conftest.$ac_ext
     5773rm -f conftest.err conftest.i conftest.$ac_ext
    48525774
    48535775done
    48545776# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4855 rm -f conftest.err conftest.$ac_ext
    4856 if $ac_preproc_ok; then
    4857   :
    4858 else
    4859   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    4860 See \`config.log' for more details." >&5
    4861 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    4862 See \`config.log' for more details." >&2;}
    4863    { (exit 1); exit 1; }; }
     5777rm -f conftest.i conftest.err conftest.$ac_ext
     5778if $ac_preproc_ok; then :
     5779
     5780else
     5781  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5782$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5783as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
     5784See \`config.log' for more details" "$LINENO" 5; }
    48645785fi
    48655786
     
    48725793# Extract the first word of "ar", so it can be a program name with args.
    48735794set dummy ar; ac_word=$2
    4874 echo "$as_me:$LINENO: checking for $ac_word" >&5
    4875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4876 if test "${ac_cv_prog_AR+set}" = set; then
    4877   echo $ECHO_N "(cached) $ECHO_C" >&6
     5795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5796$as_echo_n "checking for $ac_word... " >&6; }
     5797if ${ac_cv_prog_AR+:} false; then :
     5798  $as_echo_n "(cached) " >&6
    48785799else
    48795800  if test -n "$AR"; then
     
    48855806  IFS=$as_save_IFS
    48865807  test -z "$as_dir" && as_dir=.
    4887   for ac_exec_ext in '' $ac_executable_extensions; do
    4888   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5808    for ac_exec_ext in '' $ac_executable_extensions; do
     5809  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    48895810    ac_cv_prog_AR="ar"
    4890     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     5811    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    48915812    break 2
    48925813  fi
    48935814done
    4894 done
     5815  done
     5816IFS=$as_save_IFS
    48955817
    48965818fi
     
    48985820AR=$ac_cv_prog_AR
    48995821if test -n "$AR"; then
    4900   echo "$as_me:$LINENO: result: $AR" >&5
    4901 echo "${ECHO_T}$AR" >&6
    4902 else
    4903   echo "$as_me:$LINENO: result: no" >&5
    4904 echo "${ECHO_T}no" >&6
    4905 fi
     5822  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
     5823$as_echo "$AR" >&6; }
     5824else
     5825  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5826$as_echo "no" >&6; }
     5827fi
     5828
    49065829
    49075830# Extract the first word of "perl", so it can be a program name with args.
    49085831set dummy perl; ac_word=$2
    4909 echo "$as_me:$LINENO: checking for $ac_word" >&5
    4910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4911 if test "${ac_cv_prog_PERL+set}" = set; then
    4912   echo $ECHO_N "(cached) $ECHO_C" >&6
     5832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5833$as_echo_n "checking for $ac_word... " >&6; }
     5834if ${ac_cv_prog_PERL+:} false; then :
     5835  $as_echo_n "(cached) " >&6
    49135836else
    49145837  if test -n "$PERL"; then
     
    49205843  IFS=$as_save_IFS
    49215844  test -z "$as_dir" && as_dir=.
    4922   for ac_exec_ext in '' $ac_executable_extensions; do
    4923   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5845    for ac_exec_ext in '' $ac_executable_extensions; do
     5846  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    49245847    ac_cv_prog_PERL="perl"
    4925     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     5848    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    49265849    break 2
    49275850  fi
    49285851done
    4929 done
     5852  done
     5853IFS=$as_save_IFS
    49305854
    49315855fi
     
    49335857PERL=$ac_cv_prog_PERL
    49345858if test -n "$PERL"; then
    4935   echo "$as_me:$LINENO: result: $PERL" >&5
    4936 echo "${ECHO_T}$PERL" >&6
    4937 else
    4938   echo "$as_me:$LINENO: result: no" >&5
    4939 echo "${ECHO_T}no" >&6
    4940 fi
     5859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
     5860$as_echo "$PERL" >&6; }
     5861else
     5862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5863$as_echo "no" >&6; }
     5864fi
     5865
    49415866
    49425867# Extract the first word of "wish", so it can be a program name with args.
    49435868set dummy wish; ac_word=$2
    4944 echo "$as_me:$LINENO: checking for $ac_word" >&5
    4945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4946 if test "${ac_cv_prog_WISH+set}" = set; then
    4947   echo $ECHO_N "(cached) $ECHO_C" >&6
     5869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5870$as_echo_n "checking for $ac_word... " >&6; }
     5871if ${ac_cv_prog_WISH+:} false; then :
     5872  $as_echo_n "(cached) " >&6
    49485873else
    49495874  if test -n "$WISH"; then
     
    49555880  IFS=$as_save_IFS
    49565881  test -z "$as_dir" && as_dir=.
    4957   for ac_exec_ext in '' $ac_executable_extensions; do
    4958   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5882    for ac_exec_ext in '' $ac_executable_extensions; do
     5883  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    49595884    ac_cv_prog_WISH="/usr/bin/wish"
    4960     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     5885    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    49615886    break 2
    49625887  fi
    49635888done
    4964 done
     5889  done
     5890IFS=$as_save_IFS
    49655891
    49665892fi
     
    49685894WISH=$ac_cv_prog_WISH
    49695895if test -n "$WISH"; then
    4970   echo "$as_me:$LINENO: result: $WISH" >&5
    4971 echo "${ECHO_T}$WISH" >&6
    4972 else
    4973   echo "$as_me:$LINENO: result: no" >&5
    4974 echo "${ECHO_T}no" >&6
    4975 fi
     5896  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WISH" >&5
     5897$as_echo "$WISH" >&6; }
     5898else
     5899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5900$as_echo "no" >&6; }
     5901fi
     5902
    49765903
    49775904
     
    49925919  # Extract the first word of "dot", so it can be a program name with args.
    49935920set dummy dot; ac_word=$2
    4994 echo "$as_me:$LINENO: checking for $ac_word" >&5
    4995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4996 if test "${ac_cv_prog_HAVE_DOT+set}" = set; then
    4997   echo $ECHO_N "(cached) $ECHO_C" >&6
     5921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5922$as_echo_n "checking for $ac_word... " >&6; }
     5923if ${ac_cv_prog_HAVE_DOT+:} false; then :
     5924  $as_echo_n "(cached) " >&6
    49985925else
    49995926  if test -n "$HAVE_DOT"; then
     
    50055932  IFS=$as_save_IFS
    50065933  test -z "$as_dir" && as_dir=.
    5007   for ac_exec_ext in '' $ac_executable_extensions; do
    5008   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5934    for ac_exec_ext in '' $ac_executable_extensions; do
     5935  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    50095936    ac_cv_prog_HAVE_DOT="YES"
    5010     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     5937    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    50115938    break 2
    50125939  fi
    50135940done
    5014 done
     5941  done
     5942IFS=$as_save_IFS
    50155943
    50165944  test -z "$ac_cv_prog_HAVE_DOT" && ac_cv_prog_HAVE_DOT="NO"
     
    50195947HAVE_DOT=$ac_cv_prog_HAVE_DOT
    50205948if test -n "$HAVE_DOT"; then
    5021   echo "$as_me:$LINENO: result: $HAVE_DOT" >&5
    5022 echo "${ECHO_T}$HAVE_DOT" >&6
    5023 else
    5024   echo "$as_me:$LINENO: result: no" >&5
    5025 echo "${ECHO_T}no" >&6
    5026 fi
     5949  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DOT" >&5
     5950$as_echo "$HAVE_DOT" >&6; }
     5951else
     5952  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5953$as_echo "no" >&6; }
     5954fi
     5955
    50275956
    50285957else
     
    50886017
    50896018
    5090 echo "$as_me:$LINENO: checking for miscellaneous flags" >&5
    5091 echo $ECHO_N "checking for miscellaneous flags... $ECHO_C" >&6
     6019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for miscellaneous flags" >&5
     6020$as_echo_n "checking for miscellaneous flags... " >&6; }
    50926021case $target in
    50936022  *-cray-unicos*)
     
    50956024      CXXOPTIONS_MISC="$CXXOPTIONS_MISC -h new_for_init"
    50966025    fi
    5097     echo "$as_me:$LINENO: result: cray" >&5
    5098 echo "${ECHO_T}cray" >&6
     6026    { $as_echo "$as_me:${as_lineno-$LINENO}: result: cray" >&5
     6027$as_echo "cray" >&6; }
    50996028  ;;
    51006029  *)
    5101     echo "$as_me:$LINENO: result: none" >&5
    5102 echo "${ECHO_T}none" >&6
     6030    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
     6031$as_echo "none" >&6; }
    51036032  ;;
    51046033esac
    51056034
    51066035
    5107 echo "$as_me:$LINENO: checking for special optimization options" >&5
    5108 echo $ECHO_N "checking for special optimization options... $ECHO_C" >&6
     6036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for special optimization options" >&5
     6037$as_echo_n "checking for special optimization options... " >&6; }
    51096038case $target in
    51106039  rs6000-ibm-aix3.2.* | rs6000-ibm-aix4.* | powerpc-ibm-aix4.* | powerpc-ibm-aix5.*)
     
    51156044      CXXOPTIONS_OPT="-O -qnolm -qrtti"
    51166045    fi
    5117     echo "$as_me:$LINENO: result: \"rs6000 or powerpc\"" >&5
    5118 echo "${ECHO_T}\"rs6000 or powerpc\"" >&6
     6046    { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"rs6000 or powerpc\"" >&5
     6047$as_echo "\"rs6000 or powerpc\"" >&6; }
    51196048  ;;
    51206049  alphaev6-*)
     
    51296058      CXXOPTIONS_OPT="-O5 -arch ev6"
    51306059    fi
    5131     echo "$as_me:$LINENO: result: \"alphaev6\"" >&5
    5132 echo "${ECHO_T}\"alphaev6\"" >&6
     6060    { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"alphaev6\"" >&5
     6061$as_echo "\"alphaev6\"" >&6; }
    51336062  ;;
    51346063  alphaev56-*)
     
    51436072      CXXOPTIONS_OPT="-O5 -arch ev56"
    51446073    fi
    5145     echo "$as_me:$LINENO: result: \"alphaev56\"" >&5
    5146 echo "${ECHO_T}\"alphaev56\"" >&6
     6074    { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"alphaev56\"" >&5
     6075$as_echo "\"alphaev56\"" >&6; }
    51476076  ;;
    51486077  mips*-sgi-irix5*)
     
    51506079      COPTIONS_OPT="-O -Olimit 2000"
    51516080    fi
    5152     echo "$as_me:$LINENO: result: \"mips*-sgi-irix5\"" >&5
    5153 echo "${ECHO_T}\"mips*-sgi-irix5\"" >&6
     6081    { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"mips*-sgi-irix5\"" >&5
     6082$as_echo "\"mips*-sgi-irix5\"" >&6; }
    51546083  ;;
    51556084  mips*-sgi-irix6.[01]*)
     
    51626091        -OPT:const_copy_limit=20000:fold_arith_limit=20000:global_limit=20000"
    51636092    fi
    5164     echo "$as_me:$LINENO: result: \"mips*-sgi-irix6.0 or mips*-sgi-irix6.1\"" >&5
    5165 echo "${ECHO_T}\"mips*-sgi-irix6.0 or mips*-sgi-irix6.1\"" >&6
     6093    { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"mips*-sgi-irix6.0 or mips*-sgi-irix6.1\"" >&5
     6094$as_echo "\"mips*-sgi-irix6.0 or mips*-sgi-irix6.1\"" >&6; }
    51666095  ;;
    51676096  mips*-sgi-irix*)
     
    51726101      CXXOPTIONS_OPT="-O2 -OPT:Olimit=0"
    51736102    fi
    5174     echo "$as_me:$LINENO: result: \"mips*-sgi-irix\"" >&5
    5175 echo "${ECHO_T}\"mips*-sgi-irix\"" >&6
     6103    { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"mips*-sgi-irix\"" >&5
     6104$as_echo "\"mips*-sgi-irix\"" >&6; }
    51766105  ;;
    51776106  i[56]86-*)
     
    51826111      CXXOPTIONS_OPT="-O2"
    51836112    fi
    5184     echo "$as_me:$LINENO: result: \"i586 or i686\"" >&5
    5185 echo "${ECHO_T}\"i586 or i686\"" >&6
     6113    { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"i586 or i686\"" >&5
     6114$as_echo "\"i586 or i686\"" >&6; }
    51866115  ;;
    51876116  i860-intel-*)
     
    51896118      COPTIONS_OPT="-O3 -Knoieee"
    51906119    fi
    5191     echo "$as_me:$LINENO: result: \"i860\"" >&5
    5192 echo "${ECHO_T}\"i860\"" >&6
     6120    { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"i860\"" >&5
     6121$as_echo "\"i860\"" >&6; }
    51936122  ;;
    51946123  *)
    5195     echo "$as_me:$LINENO: result: \"none\"" >&5
    5196 echo "${ECHO_T}\"none\"" >&6
     6124    { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"none\"" >&5
     6125$as_echo "\"none\"" >&6; }
    51976126  ;;
    51986127esac
     
    52096138
    52106139if test X$GXX == Xyes; then
    5211   echo "$as_me:$LINENO: checking for C++ cpu tuning flag" >&5
    5212 echo $ECHO_N "checking for C++ cpu tuning flag... $ECHO_C" >&6
    5213 
    5214 
    5215   ac_ext=cc
     6140  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ cpu tuning flag" >&5
     6141$as_echo_n "checking for C++ cpu tuning flag... " >&6; }
     6142
     6143  ac_ext=cpp
    52166144ac_cpp='$CXXCPP $CPPFLAGS'
    52176145ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    52226150  CXXFLAGS="-mtune=$opt_target_cpu $CXXFLAGS_SAV"
    52236151
    5224 cat >conftest.$ac_ext <<_ACEOF
     6152cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6153/* end confdefs.h.  */
    52256154int main(){}
     6155int
     6156main ()
     6157{
     6158
     6159  ;
     6160  return 0;
     6161}
    52266162_ACEOF
    5227 rm -f conftest.$ac_objext
    5228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5229   (eval $ac_compile) 2>conftest.er1
    5230   ac_status=$?
    5231   grep -v '^ *+' conftest.er1 >conftest.err
    5232   rm -f conftest.er1
    5233   cat conftest.err >&5
    5234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5235   (exit $ac_status); } &&
    5236          { ac_try='test -z "$ac_cxx_werror_flag"
    5237                          || test ! -s conftest.err'
    5238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5239   (eval $ac_try) 2>&5
    5240   ac_status=$?
    5241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5242   (exit $ac_status); }; } &&
    5243          { ac_try='test -s conftest.$ac_objext'
    5244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5245   (eval $ac_try) 2>&5
    5246   ac_status=$?
    5247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5248   (exit $ac_status); }; }; then
     6163if ac_fn_cxx_try_compile "$LINENO"; then :
    52496164  cxx_tuneflag="-mtune"
    52506165else
    5251   echo "$as_me: failed program was:" >&5
    5252 sed 's/^/| /' conftest.$ac_ext >&5
    5253 
    5254 cxx_tuneflag="-mcpu"
    5255 fi
    5256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     6166  cxx_tuneflag="-mcpu"
     6167fi
     6168rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    52576169  CXXFLAGS=$CXXFLAGS_SAV
    52586170  ac_ext=c
     
    52626174ac_compiler_gnu=$ac_cv_c_compiler_gnu
    52636175
    5264   echo "$as_me:$LINENO: result: $cxx_tuneflag" >&5
    5265 echo "${ECHO_T}$cxx_tuneflag" >&6
     6176  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cxx_tuneflag" >&5
     6177$as_echo "$cxx_tuneflag" >&6; }
    52666178fi
    52676179
    52686180if test X$GCC == Xyes; then
    5269   echo "$as_me:$LINENO: checking for C cpu tuning flag" >&5
    5270 echo $ECHO_N "checking for C cpu tuning flag... $ECHO_C" >&6
     6181  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C cpu tuning flag" >&5
     6182$as_echo_n "checking for C cpu tuning flag... " >&6; }
    52716183  CFLAGS_SAV=$CFLAGS
    52726184  CFLAGS="-mtune=$opt_target_cpu $CFLAGS_SAV"
    52736185
    5274 cat >conftest.$ac_ext <<_ACEOF
     6186cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6187/* end confdefs.h.  */
    52756188int main(){}
     6189int
     6190main ()
     6191{
     6192
     6193  ;
     6194  return 0;
     6195}
    52766196_ACEOF
    5277 rm -f conftest.$ac_objext
    5278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5279   (eval $ac_compile) 2>conftest.er1
    5280   ac_status=$?
    5281   grep -v '^ *+' conftest.er1 >conftest.err
    5282   rm -f conftest.er1
    5283   cat conftest.err >&5
    5284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5285   (exit $ac_status); } &&
    5286          { ac_try='test -z "$ac_c_werror_flag"
    5287                          || test ! -s conftest.err'
    5288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5289   (eval $ac_try) 2>&5
    5290   ac_status=$?
    5291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5292   (exit $ac_status); }; } &&
    5293          { ac_try='test -s conftest.$ac_objext'
    5294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5295   (eval $ac_try) 2>&5
    5296   ac_status=$?
    5297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5298   (exit $ac_status); }; }; then
     6197if ac_fn_c_try_compile "$LINENO"; then :
    52996198  cc_tuneflag="-mtune"
    53006199else
    5301   echo "$as_me: failed program was:" >&5
    5302 sed 's/^/| /' conftest.$ac_ext >&5
    5303 
    5304 cc_tuneflag="-mcpu"
    5305 fi
    5306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     6200  cc_tuneflag="-mcpu"
     6201fi
     6202rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    53076203  CFLAGS=$CFLAGS_SAV
    5308   echo "$as_me:$LINENO: result: $cc_tuneflag" >&5
    5309 echo "${ECHO_T}$cc_tuneflag" >&6
    5310 fi
    5311 
    5312 echo "$as_me:$LINENO: checking for special architecture options" >&5
    5313 echo $ECHO_N "checking for special architecture options... $ECHO_C" >&6
     6204  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cc_tuneflag" >&5
     6205$as_echo "$cc_tuneflag" >&6; }
     6206fi
     6207
     6208{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for special architecture options" >&5
     6209$as_echo_n "checking for special architecture options... " >&6; }
    53146210case $target in
    53156211  *-solaris2*)
     
    53256221      LDFLAGS="$LDFLAGS -bmaxdata:0x70000000"
    53266222    fi
    5327     echo "$as_me:$LINENO: result: rs6000 or powerpc" >&5
    5328 echo "${ECHO_T}rs6000 or powerpc" >&6
     6223    { $as_echo "$as_me:${as_lineno-$LINENO}: result: rs6000 or powerpc" >&5
     6224$as_echo "rs6000 or powerpc" >&6; }
    53296225  ;;
    53306226  i686-intel-cougar*)
     
    53356231      AR=tflop-ar
    53366232    fi
    5337     echo "$as_me:$LINENO: result: teraflop cougar" >&5
    5338 echo "${ECHO_T}teraflop cougar" >&6
     6233    { $as_echo "$as_me:${as_lineno-$LINENO}: result: teraflop cougar" >&5
     6234$as_echo "teraflop cougar" >&6; }
    53396235  ;;
    53406236  i[4567]86-* | pentium-* | pentium4-* | pentiumpro-* | k6-* | athlon-*)
     
    53536249      CXXOPTIONS_OPT="$CXXOPTIONS_OPT $cxx_cpu_arch_option"
    53546250    fi
    5355     echo "$as_me:$LINENO: result: IA-32: $cpu_arch_option" >&5
    5356 echo "${ECHO_T}IA-32: $cpu_arch_option" >&6
     6251    { $as_echo "$as_me:${as_lineno-$LINENO}: result: IA-32: $cpu_arch_option" >&5
     6252$as_echo "IA-32: $cpu_arch_option" >&6; }
    53576253  ;;
    53586254  i860-intel-puma*)
     
    53726268      AR=ar860
    53736269    fi
    5374     echo "$as_me:$LINENO: result: paragon puma" >&5
    5375 echo "${ECHO_T}paragon puma" >&6
     6270    { $as_echo "$as_me:${as_lineno-$LINENO}: result: paragon puma" >&5
     6271$as_echo "paragon puma" >&6; }
    53766272  ;;
    53776273  i860-intel-sunmos*)
     
    53916287      AR=ar860
    53926288    fi
    5393     echo "$as_me:$LINENO: result: paragon sunmos" >&5
    5394 echo "${ECHO_T}paragon sunmos" >&6
     6289    { $as_echo "$as_me:${as_lineno-$LINENO}: result: paragon sunmos" >&5
     6290$as_echo "paragon sunmos" >&6; }
    53956291  ;;
    53966292  i860-intel-osf*)
     
    54046300      AR=ar860
    54056301    fi
    5406     echo "$as_me:$LINENO: result: paragon osf" >&5
    5407 echo "${ECHO_T}paragon osf" >&6
     6302    { $as_echo "$as_me:${as_lineno-$LINENO}: result: paragon osf" >&5
     6303$as_echo "paragon osf" >&6; }
    54086304  ;;
    54096305  *)
    5410     echo "$as_me:$LINENO: result: \"none\"" >&5
    5411 echo "${ECHO_T}\"none\"" >&6
     6306    { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"none\"" >&5
     6307$as_echo "\"none\"" >&6; }
    54126308  ;;
    54136309esac
     
    54166312if test -n "$GIVEN_COPTIONS_OPT"; then
    54176313  COPTIONS_OPT=$GIVEN_COPTIONS_OPT
    5418   { echo "$as_me:$LINENO: \"overriding C optimization flags with $COPTIONS_OPT\"" >&5
    5419 echo "$as_me: \"overriding C optimization flags with $COPTIONS_OPT\"" >&6;}
     6314  { $as_echo "$as_me:${as_lineno-$LINENO}: \"overriding C optimization flags with $COPTIONS_OPT\"" >&5
     6315$as_echo "$as_me: \"overriding C optimization flags with $COPTIONS_OPT\"" >&6;}
    54206316fi
    54216317
    54226318if test -n "$GIVEN_CXXOPTIONS_OPT"; then
    54236319  CXXOPTIONS_OPT=$GIVEN_CXXOPTIONS_OPT
    5424   { echo "$as_me:$LINENO: \"overriding C++ optimization flags with $CXXOPTIONS_OPT\"" >&5
    5425 echo "$as_me: \"overriding C++ optimization flags with $CXXOPTIONS_OPT\"" >&6;}
    5426 fi
    5427 
    5428 
    5429 
    5430 
    5431 ac_ext=cc
     6320  { $as_echo "$as_me:${as_lineno-$LINENO}: \"overriding C++ optimization flags with $CXXOPTIONS_OPT\"" >&5
     6321$as_echo "$as_me: \"overriding C++ optimization flags with $CXXOPTIONS_OPT\"" >&6;}
     6322fi
     6323
     6324
     6325
     6326ac_ext=cpp
    54326327ac_cpp='$CXXCPP $CPPFLAGS'
    54336328ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    54356330ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    54366331
    5437 echo "$as_me:$LINENO: checking \"for C++ typename keyword\"" >&5
    5438 echo $ECHO_N "checking \"for C++ typename keyword\"... $ECHO_C" >&6
    5439 cat >conftest.$ac_ext <<_ACEOF
    5440 /* confdefs.h.  */
    5441 _ACEOF
    5442 cat confdefs.h >>conftest.$ac_ext
    5443 cat >>conftest.$ac_ext <<_ACEOF
     6332{ $as_echo "$as_me:${as_lineno-$LINENO}: checking \"for C++ typename keyword\"" >&5
     6333$as_echo_n "checking \"for C++ typename keyword\"... " >&6; }
     6334cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    54446335/* end confdefs.h.  */
    54456336
     
    54586349}
    54596350_ACEOF
    5460 rm -f conftest.$ac_objext conftest$ac_exeext
    5461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5462   (eval $ac_link) 2>conftest.er1
    5463   ac_status=$?
    5464   grep -v '^ *+' conftest.er1 >conftest.err
    5465   rm -f conftest.er1
    5466   cat conftest.err >&5
    5467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5468   (exit $ac_status); } &&
    5469          { ac_try='test -z "$ac_cxx_werror_flag"
    5470                          || test ! -s conftest.err'
    5471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5472   (eval $ac_try) 2>&5
    5473   ac_status=$?
    5474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5475   (exit $ac_status); }; } &&
    5476          { ac_try='test -s conftest$ac_exeext'
    5477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5478   (eval $ac_try) 2>&5
    5479   ac_status=$?
    5480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5481   (exit $ac_status); }; }; then
    5482 
    5483 cat >>confdefs.h <<\_ACEOF
    5484 #define HAVE_TYPENAME 1
    5485 _ACEOF
    5486 
    5487 echo "$as_me:$LINENO: result: \"yes\"" >&5
    5488 echo "${ECHO_T}\"yes\"" >&6
    5489 
    5490 else
    5491   echo "$as_me: failed program was:" >&5
    5492 sed 's/^/| /' conftest.$ac_ext >&5
    5493 
    5494 echo "$as_me:$LINENO: result: \"no\"" >&5
    5495 echo "${ECHO_T}\"no\"" >&6
    5496 
    5497 fi
    5498 rm -f conftest.err conftest.$ac_objext \
    5499       conftest$ac_exeext conftest.$ac_ext;
     6351if ac_fn_cxx_try_link "$LINENO"; then :
     6352
     6353
     6354$as_echo "#define HAVE_TYPENAME 1" >>confdefs.h
     6355
     6356{ $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5
     6357$as_echo "\"yes\"" >&6; }
     6358
     6359else
     6360  { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5
     6361$as_echo "\"no\"" >&6; }
     6362
     6363$as_echo "#define typename /**/" >>confdefs.h
     6364
     6365
     6366fi
     6367rm -f core conftest.err conftest.$ac_objext \
     6368    conftest$ac_exeext conftest.$ac_ext;
    55006369ac_ext=c
    55016370ac_cpp='$CPP $CPPFLAGS'
     
    55076376
    55086377
    5509 
    5510 ac_ext=cc
     6378ac_ext=cpp
    55116379ac_cpp='$CXXCPP $CPPFLAGS'
    55126380ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    55146382ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    55156383
    5516 cat >conftest.$ac_ext <<_ACEOF
    5517 /* confdefs.h.  */
    5518 _ACEOF
    5519 cat confdefs.h >>conftest.$ac_ext
    5520 cat >>conftest.$ac_ext <<_ACEOF
     6384cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    55216385/* end confdefs.h.  */
    55226386
     
    55296393}
    55306394_ACEOF
    5531 rm -f conftest.$ac_objext conftest$ac_exeext
    5532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5533   (eval $ac_link) 2>conftest.er1
    5534   ac_status=$?
    5535   grep -v '^ *+' conftest.er1 >conftest.err
    5536   rm -f conftest.er1
    5537   cat conftest.err >&5
    5538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5539   (exit $ac_status); } &&
    5540          { ac_try='test -z "$ac_cxx_werror_flag"
    5541                          || test ! -s conftest.err'
    5542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5543   (eval $ac_try) 2>&5
    5544   ac_status=$?
    5545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5546   (exit $ac_status); }; } &&
    5547          { ac_try='test -s conftest$ac_exeext'
    5548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5549   (eval $ac_try) 2>&5
    5550   ac_status=$?
    5551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5552   (exit $ac_status); }; }; then
    5553   cat >>confdefs.h <<\_ACEOF
    5554 #define CXX_RESTRICT 1
    5555 _ACEOF
    5556 
    5557 else
    5558   echo "$as_me: failed program was:" >&5
    5559 sed 's/^/| /' conftest.$ac_ext >&5
    5560 
    5561 fi
    5562 rm -f conftest.err conftest.$ac_objext \
    5563       conftest$ac_exeext conftest.$ac_ext
     6395if ac_fn_cxx_try_link "$LINENO"; then :
     6396
     6397$as_echo "#define CXX_RESTRICT 1" >>confdefs.h
     6398
     6399
     6400$as_echo "#define restrictxx restrict" >>confdefs.h
     6401
     6402else
     6403
     6404$as_echo "#define restrictxx /**/" >>confdefs.h
     6405
     6406fi
     6407rm -f core conftest.err conftest.$ac_objext \
     6408    conftest$ac_exeext conftest.$ac_ext
    55646409ac_ext=c
    55656410ac_cpp='$CPP $CPPFLAGS'
     
    55716416
    55726417
    5573 
    5574 ac_ext=cc
     6418ac_ext=cpp
    55756419ac_cpp='$CXXCPP $CPPFLAGS'
    55766420ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    55796423
    55806424
    5581 echo "$as_me:$LINENO: checking for egrep" >&5
    5582 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    5583 if test "${ac_cv_prog_egrep+set}" = set; then
    5584   echo $ECHO_N "(cached) $ECHO_C" >&6
    5585 else
    5586   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    5587     then ac_cv_prog_egrep='grep -E'
    5588     else ac_cv_prog_egrep='egrep'
     6425{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
     6426$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
     6427if ${ac_cv_path_GREP+:} false; then :
     6428  $as_echo_n "(cached) " >&6
     6429else
     6430  if test -z "$GREP"; then
     6431  ac_path_GREP_found=false
     6432  # Loop through the user's path and test for each of PROGNAME-LIST
     6433  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6434for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     6435do
     6436  IFS=$as_save_IFS
     6437  test -z "$as_dir" && as_dir=.
     6438    for ac_prog in grep ggrep; do
     6439    for ac_exec_ext in '' $ac_executable_extensions; do
     6440      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     6441      as_fn_executable_p "$ac_path_GREP" || continue
     6442# Check for GNU ac_path_GREP and select it if it is found.
     6443  # Check for GNU $ac_path_GREP
     6444case `"$ac_path_GREP" --version 2>&1` in
     6445*GNU*)
     6446  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
     6447*)
     6448  ac_count=0
     6449  $as_echo_n 0123456789 >"conftest.in"
     6450  while :
     6451  do
     6452    cat "conftest.in" "conftest.in" >"conftest.tmp"
     6453    mv "conftest.tmp" "conftest.in"
     6454    cp "conftest.in" "conftest.nl"
     6455    $as_echo 'GREP' >> "conftest.nl"
     6456    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     6457    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     6458    as_fn_arith $ac_count + 1 && ac_count=$as_val
     6459    if test $ac_count -gt ${ac_path_GREP_max-0}; then
     6460      # Best one so far, save it but keep looking for a better one
     6461      ac_cv_path_GREP="$ac_path_GREP"
     6462      ac_path_GREP_max=$ac_count
    55896463    fi
    5590 fi
    5591 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
    5592 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    5593  EGREP=$ac_cv_prog_egrep
    5594 
    5595 
    5596 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    5597 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    5598 if test "${ac_cv_header_stdc+set}" = set; then
    5599   echo $ECHO_N "(cached) $ECHO_C" >&6
    5600 else
    5601   cat >conftest.$ac_ext <<_ACEOF
    5602 /* confdefs.h.  */
    5603 _ACEOF
    5604 cat confdefs.h >>conftest.$ac_ext
    5605 cat >>conftest.$ac_ext <<_ACEOF
     6464    # 10*(2^10) chars as input seems more than enough
     6465    test $ac_count -gt 10 && break
     6466  done
     6467  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     6468esac
     6469
     6470      $ac_path_GREP_found && break 3
     6471    done
     6472  done
     6473  done
     6474IFS=$as_save_IFS
     6475  if test -z "$ac_cv_path_GREP"; then
     6476    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     6477  fi
     6478else
     6479  ac_cv_path_GREP=$GREP
     6480fi
     6481
     6482fi
     6483{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
     6484$as_echo "$ac_cv_path_GREP" >&6; }
     6485 GREP="$ac_cv_path_GREP"
     6486
     6487
     6488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
     6489$as_echo_n "checking for egrep... " >&6; }
     6490if ${ac_cv_path_EGREP+:} false; then :
     6491  $as_echo_n "(cached) " >&6
     6492else
     6493  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
     6494   then ac_cv_path_EGREP="$GREP -E"
     6495   else
     6496     if test -z "$EGREP"; then
     6497  ac_path_EGREP_found=false
     6498  # Loop through the user's path and test for each of PROGNAME-LIST
     6499  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6500for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     6501do
     6502  IFS=$as_save_IFS
     6503  test -z "$as_dir" && as_dir=.
     6504    for ac_prog in egrep; do
     6505    for ac_exec_ext in '' $ac_executable_extensions; do
     6506      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     6507      as_fn_executable_p "$ac_path_EGREP" || continue
     6508# Check for GNU ac_path_EGREP and select it if it is found.
     6509  # Check for GNU $ac_path_EGREP
     6510case `"$ac_path_EGREP" --version 2>&1` in
     6511*GNU*)
     6512  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
     6513*)
     6514  ac_count=0
     6515  $as_echo_n 0123456789 >"conftest.in"
     6516  while :
     6517  do
     6518    cat "conftest.in" "conftest.in" >"conftest.tmp"
     6519    mv "conftest.tmp" "conftest.in"
     6520    cp "conftest.in" "conftest.nl"
     6521    $as_echo 'EGREP' >> "conftest.nl"
     6522    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     6523    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     6524    as_fn_arith $ac_count + 1 && ac_count=$as_val
     6525    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
     6526      # Best one so far, save it but keep looking for a better one
     6527      ac_cv_path_EGREP="$ac_path_EGREP"
     6528      ac_path_EGREP_max=$ac_count
     6529    fi
     6530    # 10*(2^10) chars as input seems more than enough
     6531    test $ac_count -gt 10 && break
     6532  done
     6533  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     6534esac
     6535
     6536      $ac_path_EGREP_found && break 3
     6537    done
     6538  done
     6539  done
     6540IFS=$as_save_IFS
     6541  if test -z "$ac_cv_path_EGREP"; then
     6542    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     6543  fi
     6544else
     6545  ac_cv_path_EGREP=$EGREP
     6546fi
     6547
     6548   fi
     6549fi
     6550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
     6551$as_echo "$ac_cv_path_EGREP" >&6; }
     6552 EGREP="$ac_cv_path_EGREP"
     6553
     6554
     6555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
     6556$as_echo_n "checking for ANSI C header files... " >&6; }
     6557if ${ac_cv_header_stdc+:} false; then :
     6558  $as_echo_n "(cached) " >&6
     6559else
     6560  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    56066561/* end confdefs.h.  */
    56076562#include <stdlib.h>
     
    56186573}
    56196574_ACEOF
    5620 rm -f conftest.$ac_objext
    5621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5622   (eval $ac_compile) 2>conftest.er1
    5623   ac_status=$?
    5624   grep -v '^ *+' conftest.er1 >conftest.err
    5625   rm -f conftest.er1
    5626   cat conftest.err >&5
    5627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5628   (exit $ac_status); } &&
    5629          { ac_try='test -z "$ac_cxx_werror_flag"
    5630                          || test ! -s conftest.err'
    5631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5632   (eval $ac_try) 2>&5
    5633   ac_status=$?
    5634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5635   (exit $ac_status); }; } &&
    5636          { ac_try='test -s conftest.$ac_objext'
    5637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5638   (eval $ac_try) 2>&5
    5639   ac_status=$?
    5640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5641   (exit $ac_status); }; }; then
     6575if ac_fn_cxx_try_compile "$LINENO"; then :
    56426576  ac_cv_header_stdc=yes
    56436577else
    5644   echo "$as_me: failed program was:" >&5
    5645 sed 's/^/| /' conftest.$ac_ext >&5
    5646 
    5647 ac_cv_header_stdc=no
    5648 fi
    5649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     6578  ac_cv_header_stdc=no
     6579fi
     6580rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    56506581
    56516582if test $ac_cv_header_stdc = yes; then
    56526583  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    5653   cat >conftest.$ac_ext <<_ACEOF
    5654 /* confdefs.h.  */
    5655 _ACEOF
    5656 cat confdefs.h >>conftest.$ac_ext
    5657 cat >>conftest.$ac_ext <<_ACEOF
     6584  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    56586585/* end confdefs.h.  */
    56596586#include <string.h>
     
    56616588_ACEOF
    56626589if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5663   $EGREP "memchr" >/dev/null 2>&1; then
    5664   :
     6590  $EGREP "memchr" >/dev/null 2>&1; then :
     6591
    56656592else
    56666593  ac_cv_header_stdc=no
     
    56726599if test $ac_cv_header_stdc = yes; then
    56736600  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    5674   cat >conftest.$ac_ext <<_ACEOF
    5675 /* confdefs.h.  */
    5676 _ACEOF
    5677 cat confdefs.h >>conftest.$ac_ext
    5678 cat >>conftest.$ac_ext <<_ACEOF
     6601  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    56796602/* end confdefs.h.  */
    56806603#include <stdlib.h>
     
    56826605_ACEOF
    56836606if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5684   $EGREP "free" >/dev/null 2>&1; then
    5685   :
     6607  $EGREP "free" >/dev/null 2>&1; then :
     6608
    56866609else
    56876610  ac_cv_header_stdc=no
     
    56936616if test $ac_cv_header_stdc = yes; then
    56946617  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    5695   if test "$cross_compiling" = yes; then
     6618  if test "$cross_compiling" = yes; then :
    56966619  :
    56976620else
    5698   cat >conftest.$ac_ext <<_ACEOF
    5699 /* confdefs.h.  */
    5700 _ACEOF
    5701 cat confdefs.h >>conftest.$ac_ext
    5702 cat >>conftest.$ac_ext <<_ACEOF
     6621  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    57036622/* end confdefs.h.  */
    57046623#include <ctype.h>
     6624#include <stdlib.h>
    57056625#if ((' ' & 0x0FF) == 0x020)
    57066626# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    57226642    if (XOR (islower (i), ISLOWER (i))
    57236643        || toupper (i) != TOUPPER (i))
    5724       exit(2);
    5725   exit (0);
     6644      return 2;
     6645  return 0;
    57266646}
    57276647_ACEOF
    5728 rm -f conftest$ac_exeext
    5729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5730   (eval $ac_link) 2>&5
    5731   ac_status=$?
    5732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5733   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5735   (eval $ac_try) 2>&5
    5736   ac_status=$?
    5737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5738   (exit $ac_status); }; }; then
    5739   :
    5740 else
    5741   echo "$as_me: program exited with status $ac_status" >&5
    5742 echo "$as_me: failed program was:" >&5
    5743 sed 's/^/| /' conftest.$ac_ext >&5
    5744 
    5745 ( exit $ac_status )
    5746 ac_cv_header_stdc=no
    5747 fi
    5748 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    5749 fi
    5750 fi
    5751 fi
    5752 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    5753 echo "${ECHO_T}$ac_cv_header_stdc" >&6
     6648if ac_fn_cxx_try_run "$LINENO"; then :
     6649
     6650else
     6651  ac_cv_header_stdc=no
     6652fi
     6653rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     6654  conftest.$ac_objext conftest.beam conftest.$ac_ext
     6655fi
     6656
     6657fi
     6658fi
     6659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
     6660$as_echo "$ac_cv_header_stdc" >&6; }
    57546661if test $ac_cv_header_stdc = yes; then
    57556662
    5756 cat >>confdefs.h <<\_ACEOF
    5757 #define STDC_HEADERS 1
    5758 _ACEOF
     6663$as_echo "#define STDC_HEADERS 1" >>confdefs.h
    57596664
    57606665fi
    57616666
    57626667# On IRIX 5.3, sys/types and inttypes.h are conflicting.
    5763 
    5764 
    5765 
    5766 
    5767 
    5768 
    5769 
    5770 
    5771 
    57726668for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    57736669                  inttypes.h stdint.h unistd.h
    5774 do
    5775 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5776 echo "$as_me:$LINENO: checking for $ac_header" >&5
    5777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    5778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5779   echo $ECHO_N "(cached) $ECHO_C" >&6
    5780 else
    5781   cat >conftest.$ac_ext <<_ACEOF
    5782 /* confdefs.h.  */
     6670do :
     6671  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     6672ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
     6673"
     6674if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     6675  cat >>confdefs.h <<_ACEOF
     6676#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    57836677_ACEOF
    5784 cat confdefs.h >>conftest.$ac_ext
    5785 cat >>conftest.$ac_ext <<_ACEOF
    5786 /* end confdefs.h.  */
    5787 $ac_includes_default
    5788 
    5789 #include <$ac_header>
    5790 _ACEOF
    5791 rm -f conftest.$ac_objext
    5792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5793   (eval $ac_compile) 2>conftest.er1
    5794   ac_status=$?
    5795   grep -v '^ *+' conftest.er1 >conftest.err
    5796   rm -f conftest.er1
    5797   cat conftest.err >&5
    5798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5799   (exit $ac_status); } &&
    5800          { ac_try='test -z "$ac_cxx_werror_flag"
    5801                          || test ! -s conftest.err'
    5802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5803   (eval $ac_try) 2>&5
    5804   ac_status=$?
    5805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5806   (exit $ac_status); }; } &&
    5807          { ac_try='test -s conftest.$ac_objext'
    5808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5809   (eval $ac_try) 2>&5
    5810   ac_status=$?
    5811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5812   (exit $ac_status); }; }; then
    5813   eval "$as_ac_Header=yes"
    5814 else
    5815   echo "$as_me: failed program was:" >&5
    5816 sed 's/^/| /' conftest.$ac_ext >&5
    5817 
    5818 eval "$as_ac_Header=no"
    5819 fi
    5820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5821 fi
    5822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5823 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    5824 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     6678
     6679fi
     6680
     6681done
     6682
     6683
     6684for ac_header in iostream sstream
     6685do :
     6686  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     6687ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
     6688if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    58256689  cat >>confdefs.h <<_ACEOF
    5826 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    5827 _ACEOF
    5828 
    5829 fi
    5830 
    5831 done
    5832 
    5833 
    5834 
    5835 
    5836 for ac_header in iostream sstream
    5837 do
    5838 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5840   echo "$as_me:$LINENO: checking for $ac_header" >&5
    5841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    5842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5843   echo $ECHO_N "(cached) $ECHO_C" >&6
    5844 fi
    5845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5846 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    5847 else
    5848   # Is the header compilable?
    5849 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5850 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    5851 cat >conftest.$ac_ext <<_ACEOF
    5852 /* confdefs.h.  */
    5853 _ACEOF
    5854 cat confdefs.h >>conftest.$ac_ext
    5855 cat >>conftest.$ac_ext <<_ACEOF
    5856 /* end confdefs.h.  */
    5857 $ac_includes_default
    5858 #include <$ac_header>
    5859 _ACEOF
    5860 rm -f conftest.$ac_objext
    5861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5862   (eval $ac_compile) 2>conftest.er1
    5863   ac_status=$?
    5864   grep -v '^ *+' conftest.er1 >conftest.err
    5865   rm -f conftest.er1
    5866   cat conftest.err >&5
    5867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5868   (exit $ac_status); } &&
    5869          { ac_try='test -z "$ac_cxx_werror_flag"
    5870                          || test ! -s conftest.err'
    5871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5872   (eval $ac_try) 2>&5
    5873   ac_status=$?
    5874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5875   (exit $ac_status); }; } &&
    5876          { ac_try='test -s conftest.$ac_objext'
    5877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5878   (eval $ac_try) 2>&5
    5879   ac_status=$?
    5880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5881   (exit $ac_status); }; }; then
    5882   ac_header_compiler=yes
    5883 else
    5884   echo "$as_me: failed program was:" >&5
    5885 sed 's/^/| /' conftest.$ac_ext >&5
    5886 
    5887 ac_header_compiler=no
    5888 fi
    5889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5890 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5891 echo "${ECHO_T}$ac_header_compiler" >&6
    5892 
    5893 # Is the header present?
    5894 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5895 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    5896 cat >conftest.$ac_ext <<_ACEOF
    5897 /* confdefs.h.  */
    5898 _ACEOF
    5899 cat confdefs.h >>conftest.$ac_ext
    5900 cat >>conftest.$ac_ext <<_ACEOF
    5901 /* end confdefs.h.  */
    5902 #include <$ac_header>
    5903 _ACEOF
    5904 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    5905   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    5906   ac_status=$?
    5907   grep -v '^ *+' conftest.er1 >conftest.err
    5908   rm -f conftest.er1
    5909   cat conftest.err >&5
    5910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5911   (exit $ac_status); } >/dev/null; then
    5912   if test -s conftest.err; then
    5913     ac_cpp_err=$ac_cxx_preproc_warn_flag
    5914     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    5915   else
    5916     ac_cpp_err=
    5917   fi
    5918 else
    5919   ac_cpp_err=yes
    5920 fi
    5921 if test -z "$ac_cpp_err"; then
    5922   ac_header_preproc=yes
    5923 else
    5924   echo "$as_me: failed program was:" >&5
    5925 sed 's/^/| /' conftest.$ac_ext >&5
    5926 
    5927   ac_header_preproc=no
    5928 fi
    5929 rm -f conftest.err conftest.$ac_ext
    5930 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5931 echo "${ECHO_T}$ac_header_preproc" >&6
    5932 
    5933 # So?  What about this header?
    5934 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    5935   yes:no: )
    5936     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5937 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5938     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5939 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5940     ac_header_preproc=yes
    5941     ;;
    5942   no:yes:* )
    5943     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5944 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5945     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5946 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5947     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5948 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5949     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5950 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5951     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5952 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5953     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5954 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5955     (
    5956       cat <<\_ASBOX
    5957 ## ------------------------------------------ ##
    5958 ## Report this to the AC_PACKAGE_NAME lists.  ##
    5959 ## ------------------------------------------ ##
    5960 _ASBOX
    5961     ) |
    5962       sed "s/^/$as_me: WARNING:     /" >&2
    5963     ;;
    5964 esac
    5965 echo "$as_me:$LINENO: checking for $ac_header" >&5
    5966 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    5967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5968   echo $ECHO_N "(cached) $ECHO_C" >&6
    5969 else
    5970   eval "$as_ac_Header=\$ac_header_preproc"
    5971 fi
    5972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5973 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    5974 
    5975 fi
    5976 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    5977   cat >>confdefs.h <<_ACEOF
    5978 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     6690#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    59796691_ACEOF
    59806692
     
    59906702
    59916703
    5992 echo "$as_me:$LINENO: checking iostream name" >&5
    5993 echo $ECHO_N "checking iostream name... $ECHO_C" >&6
     6704{ $as_echo "$as_me:${as_lineno-$LINENO}: checking iostream name" >&5
     6705$as_echo_n "checking iostream name... " >&6; }
    59946706if test x$ac_cv_header_iostream = xyes; then
    59956707  iostream=iostream
     
    59976709  iostream=iostream.h
    59986710fi
    5999 echo "$as_me:$LINENO: result: $iostream" >&5
    6000 echo "${ECHO_T}$iostream" >&6
    6001 
    6002 
    6003 
    6004 
    6005 ac_ext=cc
     6711{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $iostream" >&5
     6712$as_echo "$iostream" >&6; }
     6713
     6714
     6715
     6716ac_ext=cpp
    60066717ac_cpp='$CXXCPP $CPPFLAGS'
    60076718ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    60096720ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    60106721
    6011 echo "$as_me:$LINENO: checking \"for namespace std\"" >&5
    6012 echo $ECHO_N "checking \"for namespace std\"... $ECHO_C" >&6
    6013 cat >conftest.$ac_ext <<_ACEOF
    6014 /* confdefs.h.  */
    6015 _ACEOF
    6016 cat confdefs.h >>conftest.$ac_ext
    6017 cat >>conftest.$ac_ext <<_ACEOF
     6722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking \"for namespace std\"" >&5
     6723$as_echo_n "checking \"for namespace std\"... " >&6; }
     6724cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    60186725/* end confdefs.h.  */
    60196726
     
    60326739}
    60336740_ACEOF
    6034 rm -f conftest.$ac_objext conftest$ac_exeext
    6035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6036   (eval $ac_link) 2>conftest.er1
    6037   ac_status=$?
    6038   grep -v '^ *+' conftest.er1 >conftest.err
    6039   rm -f conftest.er1
    6040   cat conftest.err >&5
    6041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6042   (exit $ac_status); } &&
    6043          { ac_try='test -z "$ac_cxx_werror_flag"
    6044                          || test ! -s conftest.err'
    6045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6046   (eval $ac_try) 2>&5
    6047   ac_status=$?
    6048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6049   (exit $ac_status); }; } &&
    6050          { ac_try='test -s conftest$ac_exeext'
    6051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6052   (eval $ac_try) 2>&5
    6053   ac_status=$?
    6054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6055   (exit $ac_status); }; }; then
    6056 
    6057 cat >>confdefs.h <<\_ACEOF
    6058 #define USING_NAMESPACE_STD 1
    6059 _ACEOF
     6741if ac_fn_cxx_try_link "$LINENO"; then :
     6742
     6743
     6744$as_echo "#define USING_NAMESPACE_STD 1" >>confdefs.h
    60606745
    60616746NAMESPACE_STD=std::
    6062 echo "$as_me:$LINENO: result: \"yes\"" >&5
    6063 echo "${ECHO_T}\"yes\"" >&6
    6064 
    6065 else
    6066   echo "$as_me: failed program was:" >&5
    6067 sed 's/^/| /' conftest.$ac_ext >&5
    6068 
    6069 NAMESPACE_STD=
    6070 echo "$as_me:$LINENO: result: \"no\"" >&5
    6071 echo "${ECHO_T}\"no\"" >&6
    6072 
    6073 fi
    6074 rm -f conftest.err conftest.$ac_objext \
    6075       conftest$ac_exeext conftest.$ac_ext;
     6747{ $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5
     6748$as_echo "\"yes\"" >&6; }
     6749
     6750else
     6751  NAMESPACE_STD=
     6752{ $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5
     6753$as_echo "\"no\"" >&6; }
     6754
     6755fi
     6756rm -f core conftest.err conftest.$ac_objext \
     6757    conftest$ac_exeext conftest.$ac_ext;
    60766758ac_ext=c
    60776759ac_cpp='$CPP $CPPFLAGS'
     
    60846766if test X$GXX = Xyes; then
    60856767
    6086 
    6087 ac_ext=cc
     6768ac_ext=cpp
    60886769ac_cpp='$CXXCPP $CPPFLAGS'
    60896770ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    60916772ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    60926773
    6093 echo "$as_me:$LINENO: checking \"for GNU libc++-v3 prerelease bug\"" >&5
    6094 echo $ECHO_N "checking \"for GNU libc++-v3 prerelease bug\"... $ECHO_C" >&6
    6095 cat >conftest.$ac_ext <<_ACEOF
    6096 /* confdefs.h.  */
    6097 _ACEOF
    6098 cat confdefs.h >>conftest.$ac_ext
    6099 cat >>conftest.$ac_ext <<_ACEOF
     6774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking \"for GNU libc++-v3 prerelease bug\"" >&5
     6775$as_echo_n "checking \"for GNU libc++-v3 prerelease bug\"... " >&6; }
     6776cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    61006777/* end confdefs.h.  */
    61016778
     
    61126789}
    61136790_ACEOF
    6114 rm -f conftest.$ac_objext conftest$ac_exeext
    6115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6116   (eval $ac_link) 2>conftest.er1
    6117   ac_status=$?
    6118   grep -v '^ *+' conftest.er1 >conftest.err
    6119   rm -f conftest.er1
    6120   cat conftest.err >&5
    6121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6122   (exit $ac_status); } &&
    6123          { ac_try='test -z "$ac_cxx_werror_flag"
    6124                          || test ! -s conftest.err'
    6125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6126   (eval $ac_try) 2>&5
    6127   ac_status=$?
    6128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6129   (exit $ac_status); }; } &&
    6130          { ac_try='test -s conftest$ac_exeext'
    6131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6132   (eval $ac_try) 2>&5
    6133   ac_status=$?
    6134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6135   (exit $ac_status); }; }; then
    6136 
    6137 echo "$as_me:$LINENO: result: \"no\"" >&5
    6138 echo "${ECHO_T}\"no\"" >&6
    6139 
    6140 else
    6141   echo "$as_me: failed program was:" >&5
    6142 sed 's/^/| /' conftest.$ac_ext >&5
    6143 
    6144 EXTRADEFINES="$EXTRADEFINES -D_ISOC99_SOURCE=1"
    6145 echo "$as_me:$LINENO: result: \"yes\"" >&5
    6146 echo "${ECHO_T}\"yes\"" >&6
    6147 
    6148 fi
    6149 rm -f conftest.err conftest.$ac_objext \
    6150       conftest$ac_exeext conftest.$ac_ext;
     6791if ac_fn_cxx_try_link "$LINENO"; then :
     6792
     6793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5
     6794$as_echo "\"no\"" >&6; }
     6795
     6796else
     6797  EXTRADEFINES="$EXTRADEFINES -D_ISOC99_SOURCE=1"
     6798{ $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5
     6799$as_echo "\"yes\"" >&6; }
     6800
     6801fi
     6802rm -f core conftest.err conftest.$ac_objext \
     6803    conftest$ac_exeext conftest.$ac_ext;
    61516804ac_ext=c
    61526805ac_cpp='$CPP $CPPFLAGS'
     
    61906843
    61916844
    6192 
    6193 
    6194 
    6195 
    6196 
    61976845for ac_header in fp.h endian.h machine/endian.h sys/endian.h sys/machine.h
    6198 do
    6199 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    6200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    6201   echo "$as_me:$LINENO: checking for $ac_header" >&5
    6202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    6203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    6204   echo $ECHO_N "(cached) $ECHO_C" >&6
    6205 fi
    6206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    6207 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    6208 else
    6209   # Is the header compilable?
    6210 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    6211 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    6212 cat >conftest.$ac_ext <<_ACEOF
    6213 /* confdefs.h.  */
     6846do :
     6847  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     6848ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
     6849if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     6850  cat >>confdefs.h <<_ACEOF
     6851#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    62146852_ACEOF
    6215 cat confdefs.h >>conftest.$ac_ext
    6216 cat >>conftest.$ac_ext <<_ACEOF
    6217 /* end confdefs.h.  */
    6218 $ac_includes_default
    6219 #include <$ac_header>
    6220 _ACEOF
    6221 rm -f conftest.$ac_objext
    6222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6223   (eval $ac_compile) 2>conftest.er1
    6224   ac_status=$?
    6225   grep -v '^ *+' conftest.er1 >conftest.err
    6226   rm -f conftest.er1
    6227   cat conftest.err >&5
    6228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6229   (exit $ac_status); } &&
    6230          { ac_try='test -z "$ac_c_werror_flag"
    6231                          || test ! -s conftest.err'
    6232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6233   (eval $ac_try) 2>&5
    6234   ac_status=$?
    6235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6236   (exit $ac_status); }; } &&
    6237          { ac_try='test -s conftest.$ac_objext'
    6238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6239   (eval $ac_try) 2>&5
    6240   ac_status=$?
    6241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6242   (exit $ac_status); }; }; then
    6243   ac_header_compiler=yes
    6244 else
    6245   echo "$as_me: failed program was:" >&5
    6246 sed 's/^/| /' conftest.$ac_ext >&5
    6247 
    6248 ac_header_compiler=no
    6249 fi
    6250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6251 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6252 echo "${ECHO_T}$ac_header_compiler" >&6
    6253 
    6254 # Is the header present?
    6255 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    6256 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    6257 cat >conftest.$ac_ext <<_ACEOF
    6258 /* confdefs.h.  */
    6259 _ACEOF
    6260 cat confdefs.h >>conftest.$ac_ext
    6261 cat >>conftest.$ac_ext <<_ACEOF
    6262 /* end confdefs.h.  */
    6263 #include <$ac_header>
    6264 _ACEOF
    6265 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    6266   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    6267   ac_status=$?
    6268   grep -v '^ *+' conftest.er1 >conftest.err
    6269   rm -f conftest.er1
    6270   cat conftest.err >&5
    6271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6272   (exit $ac_status); } >/dev/null; then
    6273   if test -s conftest.err; then
    6274     ac_cpp_err=$ac_c_preproc_warn_flag
    6275     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    6276   else
    6277     ac_cpp_err=
    6278   fi
    6279 else
    6280   ac_cpp_err=yes
    6281 fi
    6282 if test -z "$ac_cpp_err"; then
    6283   ac_header_preproc=yes
    6284 else
    6285   echo "$as_me: failed program was:" >&5
    6286 sed 's/^/| /' conftest.$ac_ext >&5
    6287 
    6288   ac_header_preproc=no
    6289 fi
    6290 rm -f conftest.err conftest.$ac_ext
    6291 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    6292 echo "${ECHO_T}$ac_header_preproc" >&6
    6293 
    6294 # So?  What about this header?
    6295 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    6296   yes:no: )
    6297     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    6298 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6299     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    6300 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    6301     ac_header_preproc=yes
    6302     ;;
    6303   no:yes:* )
    6304     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    6305 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    6306     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    6307 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    6308     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    6309 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    6310     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    6311 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    6312     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    6313 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    6314     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    6315 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    6316     (
    6317       cat <<\_ASBOX
    6318 ## ------------------------------------------ ##
    6319 ## Report this to the AC_PACKAGE_NAME lists.  ##
    6320 ## ------------------------------------------ ##
    6321 _ASBOX
    6322     ) |
    6323       sed "s/^/$as_me: WARNING:     /" >&2
    6324     ;;
    6325 esac
    6326 echo "$as_me:$LINENO: checking for $ac_header" >&5
    6327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    6328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    6329   echo $ECHO_N "(cached) $ECHO_C" >&6
    6330 else
    6331   eval "$as_ac_Header=\$ac_header_preproc"
    6332 fi
    6333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    6334 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    6335 
    6336 fi
    6337 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    6338   cat >>confdefs.h <<_ACEOF
    6339 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    6340 _ACEOF
    63416853
    63426854fi
     
    63446856done
    63456857
    6346 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
    6347 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
    6348 if test "${sc_cv_c_bigendian+set}" = set; then
    6349   echo $ECHO_N "(cached) $ECHO_C" >&6
     6858{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
     6859$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
     6860if ${sc_cv_c_bigendian+:} false; then :
     6861  $as_echo_n "(cached) " >&6
    63506862else
    63516863  sc_cv_c_bigendian=unknown
    63526864# See if sys/param.h defines the BYTE_ORDER macro.
    6353 cat >conftest.$ac_ext <<_ACEOF
    6354 /* confdefs.h.  */
    6355 _ACEOF
    6356 cat confdefs.h >>conftest.$ac_ext
    6357 cat >>conftest.$ac_ext <<_ACEOF
     6865cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    63586866/* end confdefs.h.  */
    63596867#include "confdefs.h"
     
    63866894}
    63876895_ACEOF
    6388 rm -f conftest.$ac_objext
    6389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6390   (eval $ac_compile) 2>conftest.er1
    6391   ac_status=$?
    6392   grep -v '^ *+' conftest.er1 >conftest.err
    6393   rm -f conftest.er1
    6394   cat conftest.err >&5
    6395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6396   (exit $ac_status); } &&
    6397          { ac_try='test -z "$ac_c_werror_flag"
    6398                          || test ! -s conftest.err'
    6399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6400   (eval $ac_try) 2>&5
    6401   ac_status=$?
    6402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6403   (exit $ac_status); }; } &&
    6404          { ac_try='test -s conftest.$ac_objext'
    6405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6406   (eval $ac_try) 2>&5
    6407   ac_status=$?
    6408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6409   (exit $ac_status); }; }; then
     6896if ac_fn_c_try_compile "$LINENO"; then :
    64106897  # It does; now see whether it defined to BIG_ENDIAN or not.
    6411 cat >conftest.$ac_ext <<_ACEOF
    6412 /* confdefs.h.  */
    6413 _ACEOF
    6414 cat confdefs.h >>conftest.$ac_ext
    6415 cat >>conftest.$ac_ext <<_ACEOF
     6898cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    64166899/* end confdefs.h.  */
    64176900#include "confdefs.h"
     
    64476930}
    64486931_ACEOF
    6449 rm -f conftest.$ac_objext
    6450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6451   (eval $ac_compile) 2>conftest.er1
    6452   ac_status=$?
    6453   grep -v '^ *+' conftest.er1 >conftest.err
    6454   rm -f conftest.er1
    6455   cat conftest.err >&5
    6456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6457   (exit $ac_status); } &&
    6458          { ac_try='test -z "$ac_c_werror_flag"
    6459                          || test ! -s conftest.err'
    6460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6461   (eval $ac_try) 2>&5
    6462   ac_status=$?
    6463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6464   (exit $ac_status); }; } &&
    6465          { ac_try='test -s conftest.$ac_objext'
    6466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6467   (eval $ac_try) 2>&5
    6468   ac_status=$?
    6469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6470   (exit $ac_status); }; }; then
     6932if ac_fn_c_try_compile "$LINENO"; then :
    64716933  sc_cv_c_bigendian=yes
    64726934else
    6473   echo "$as_me: failed program was:" >&5
    6474 sed 's/^/| /' conftest.$ac_ext >&5
    6475 
    6476 sc_cv_c_bigendian=no
    6477 fi
    6478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6479 else
    6480   echo "$as_me: failed program was:" >&5
    6481 sed 's/^/| /' conftest.$ac_ext >&5
    6482 
    6483 fi
    6484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     6935  sc_cv_c_bigendian=no
     6936fi
     6937rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6938fi
     6939rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    64856940if test $sc_cv_c_bigendian = unknown; then
    6486 if test "$cross_compiling" = yes; then
    6487   { { echo "$as_me:$LINENO: error: Could not determine endianness and cross compiling" >&5
    6488 echo "$as_me: error: Could not determine endianness and cross compiling" >&2;}
    6489    { (exit 1); exit 1; }; }
    6490 
    6491 else
    6492   cat >conftest.$ac_ext <<_ACEOF
    6493 /* confdefs.h.  */
    6494 _ACEOF
    6495 cat confdefs.h >>conftest.$ac_ext
    6496 cat >>conftest.$ac_ext <<_ACEOF
     6941if test "$cross_compiling" = yes; then :
     6942  as_fn_error $? "Could not determine endianness and cross compiling" "$LINENO" 5
     6943
     6944else
     6945  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    64976946/* end confdefs.h.  */
    64986947main () {
     
    65076956}
    65086957_ACEOF
    6509 rm -f conftest$ac_exeext
    6510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6511   (eval $ac_link) 2>&5
    6512   ac_status=$?
    6513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6514   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    6515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6516   (eval $ac_try) 2>&5
    6517   ac_status=$?
    6518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6519   (exit $ac_status); }; }; then
     6958if ac_fn_c_try_run "$LINENO"; then :
    65206959  sc_cv_c_bigendian=no
    65216960else
    6522   echo "$as_me: program exited with status $ac_status" >&5
    6523 echo "$as_me: failed program was:" >&5
    6524 sed 's/^/| /' conftest.$ac_ext >&5
    6525 
    6526 ( exit $ac_status )
    6527 sc_cv_c_bigendian=yes
    6528 fi
    6529 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    6530 fi
    6531 fi
    6532 fi
    6533 echo "$as_me:$LINENO: result: $sc_cv_c_bigendian" >&5
    6534 echo "${ECHO_T}$sc_cv_c_bigendian" >&6
     6961  sc_cv_c_bigendian=yes
     6962fi
     6963rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     6964  conftest.$ac_objext conftest.beam conftest.$ac_ext
     6965fi
     6966
     6967fi
     6968fi
     6969{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sc_cv_c_bigendian" >&5
     6970$as_echo "$sc_cv_c_bigendian" >&6; }
    65356971if test $sc_cv_c_bigendian = yes; then
    6536   cat >>confdefs.h <<\_ACEOF
    6537 #define WORDS_BIGENDIAN 1
    6538 _ACEOF
     6972
     6973$as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
    65396974
    65406975fi
     
    65436978if test "(" X$PARALLEL = Xyes -a X$THREADS != Xno ")" -o X$THREADS = Xyes; then
    65446979
    6545 echo "$as_me:$LINENO: checking pthreads" >&5
    6546 echo $ECHO_N "checking pthreads... $ECHO_C" >&6
    6547 
    6548 
    6549 ac_ext=cc
     6980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pthreads" >&5
     6981$as_echo_n "checking pthreads... " >&6; }
     6982
     6983ac_ext=cpp
    65506984ac_cpp='$CXXCPP $CPPFLAGS'
    65516985ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    65546988
    65556989LIBSSAV="$LIBS"
    6556 cat >conftest.$ac_ext <<_ACEOF
    6557 /* confdefs.h.  */
    6558 _ACEOF
    6559 cat confdefs.h >>conftest.$ac_ext
    6560 cat >>conftest.$ac_ext <<_ACEOF
     6990cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    65616991/* end confdefs.h.  */
    65626992#include <pthread.h>
     
    65696999}
    65707000_ACEOF
    6571 rm -f conftest.$ac_objext conftest$ac_exeext
    6572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6573   (eval $ac_link) 2>conftest.er1
    6574   ac_status=$?
    6575   grep -v '^ *+' conftest.er1 >conftest.err
    6576   rm -f conftest.er1
    6577   cat conftest.err >&5
    6578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6579   (exit $ac_status); } &&
    6580          { ac_try='test -z "$ac_cxx_werror_flag"
    6581                          || test ! -s conftest.err'
    6582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6583   (eval $ac_try) 2>&5
    6584   ac_status=$?
    6585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6586   (exit $ac_status); }; } &&
    6587          { ac_try='test -s conftest$ac_exeext'
    6588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6589   (eval $ac_try) 2>&5
    6590   ac_status=$?
    6591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6592   (exit $ac_status); }; }; then
     7001if ac_fn_cxx_try_link "$LINENO"; then :
    65937002
    65947003HAVE_PTHREAD=yes
    65957004else
    6596   echo "$as_me: failed program was:" >&5
    6597 sed 's/^/| /' conftest.$ac_ext >&5
    6598 
    65997005
    66007006HAVE_PTHREAD=no
    66017007fi
    6602 rm -f conftest.err conftest.$ac_objext \
    6603       conftest$ac_exeext conftest.$ac_ext
     7008rm -f core conftest.err conftest.$ac_objext \
     7009    conftest$ac_exeext conftest.$ac_ext
    66047010ac_ext=c
    66057011ac_cpp='$CPP $CPPFLAGS'
     
    66117017if test $HAVE_PTHREAD = no; then
    66127018
    6613 
    6614 ac_ext=cc
     7019ac_ext=cpp
    66157020ac_cpp='$CXXCPP $CPPFLAGS'
    66167021ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    66207025LIBSSAV="$LIBS"
    66217026LIBS="$LIBS -lpthread"
    6622 cat >conftest.$ac_ext <<_ACEOF
    6623 /* confdefs.h.  */
    6624 _ACEOF
    6625 cat confdefs.h >>conftest.$ac_ext
    6626 cat >>conftest.$ac_ext <<_ACEOF
     7027cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    66277028/* end confdefs.h.  */
    66287029#include <pthread.h>
     
    66357036}
    66367037_ACEOF
    6637 rm -f conftest.$ac_objext conftest$ac_exeext
    6638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6639   (eval $ac_link) 2>conftest.er1
    6640   ac_status=$?
    6641   grep -v '^ *+' conftest.er1 >conftest.err
    6642   rm -f conftest.er1
    6643   cat conftest.err >&5
    6644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6645   (exit $ac_status); } &&
    6646          { ac_try='test -z "$ac_cxx_werror_flag"
    6647                          || test ! -s conftest.err'
    6648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6649   (eval $ac_try) 2>&5
    6650   ac_status=$?
    6651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6652   (exit $ac_status); }; } &&
    6653          { ac_try='test -s conftest$ac_exeext'
    6654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6655   (eval $ac_try) 2>&5
    6656   ac_status=$?
    6657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6658   (exit $ac_status); }; }; then
     7038if ac_fn_cxx_try_link "$LINENO"; then :
    66597039
    66607040HAVE_PTHREAD=yes
    66617041else
    6662   echo "$as_me: failed program was:" >&5
    6663 sed 's/^/| /' conftest.$ac_ext >&5
    6664 
    66657042
    66667043HAVE_PTHREAD=no
    66677044LIBS="$LIBSSAV"
    66687045fi
    6669 rm -f conftest.err conftest.$ac_objext \
    6670       conftest$ac_exeext conftest.$ac_ext
     7046rm -f core conftest.err conftest.$ac_objext \
     7047    conftest$ac_exeext conftest.$ac_ext
    66717048ac_ext=c
    66727049ac_cpp='$CPP $CPPFLAGS'
     
    66797056if test $HAVE_PTHREAD = no; then
    66807057
    6681 
    6682 ac_ext=cc
     7058ac_ext=cpp
    66837059ac_cpp='$CXXCPP $CPPFLAGS'
    66847060ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    66887064LIBSSAV="$LIBS"
    66897065LIBS="$LIBS -lpthreads"
    6690 cat >conftest.$ac_ext <<_ACEOF
    6691 /* confdefs.h.  */
    6692 _ACEOF
    6693 cat confdefs.h >>conftest.$ac_ext
    6694 cat >>conftest.$ac_ext <<_ACEOF
     7066cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    66957067/* end confdefs.h.  */
    66967068#include <pthread.h>
     
    67037075}
    67047076_ACEOF
    6705 rm -f conftest.$ac_objext conftest$ac_exeext
    6706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6707   (eval $ac_link) 2>conftest.er1
    6708   ac_status=$?
    6709   grep -v '^ *+' conftest.er1 >conftest.err
    6710   rm -f conftest.er1
    6711   cat conftest.err >&5
    6712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6713   (exit $ac_status); } &&
    6714          { ac_try='test -z "$ac_cxx_werror_flag"
    6715                          || test ! -s conftest.err'
    6716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6717   (eval $ac_try) 2>&5
    6718   ac_status=$?
    6719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6720   (exit $ac_status); }; } &&
    6721          { ac_try='test -s conftest$ac_exeext'
    6722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6723   (eval $ac_try) 2>&5
    6724   ac_status=$?
    6725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6726   (exit $ac_status); }; }; then
     7077if ac_fn_cxx_try_link "$LINENO"; then :
    67277078
    67287079HAVE_PTHREAD=yes
    67297080else
    6730   echo "$as_me: failed program was:" >&5
    6731 sed 's/^/| /' conftest.$ac_ext >&5
    6732 
    67337081
    67347082HAVE_PTHREAD=no
    67357083LIBS="$LIBSSAV"
    67367084fi
    6737 rm -f conftest.err conftest.$ac_objext \
    6738       conftest$ac_exeext conftest.$ac_ext
     7085rm -f core conftest.err conftest.$ac_objext \
     7086    conftest$ac_exeext conftest.$ac_ext
    67397087ac_ext=c
    67407088ac_cpp='$CPP $CPPFLAGS'
     
    67457093fi
    67467094
    6747 echo "$as_me:$LINENO: result: $HAVE_PTHREAD" >&5
    6748 echo "${ECHO_T}$HAVE_PTHREAD" >&6
     7095{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PTHREAD" >&5
     7096$as_echo "$HAVE_PTHREAD" >&6; }
    67497097fi
    67507098if test X$HAVE_PTHREAD = Xyes; then
    6751   cat >>confdefs.h <<\_ACEOF
    6752 #define HAVE_PTHREAD 1
    6753 _ACEOF
     7099
     7100$as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
    67547101
    67557102  EXTRADEFINES="-D_REENTRANT $EXTRADEFINES"
    6756   echo "$as_me:$LINENO: checking for pthread_attr_getstacksize" >&5
    6757 echo $ECHO_N "checking for pthread_attr_getstacksize... $ECHO_C" >&6
    6758 if test "${ac_cv_func_pthread_attr_getstacksize+set}" = set; then
    6759   echo $ECHO_N "(cached) $ECHO_C" >&6
    6760 else
    6761   cat >conftest.$ac_ext <<_ACEOF
    6762 /* confdefs.h.  */
    6763 _ACEOF
    6764 cat confdefs.h >>conftest.$ac_ext
    6765 cat >>conftest.$ac_ext <<_ACEOF
     7103  ac_fn_c_check_func "$LINENO" "pthread_attr_getstacksize" "ac_cv_func_pthread_attr_getstacksize"
     7104if test "x$ac_cv_func_pthread_attr_getstacksize" = xyes; then :
     7105
     7106fi
     7107
     7108  ac_fn_c_check_func "$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
     7109if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes; then :
     7110
     7111fi
     7112
     7113  ac_fn_c_check_func "$LINENO" "pthread_attr_setscope" "ac_cv_func_pthread_attr_setscope"
     7114if test "x$ac_cv_func_pthread_attr_setscope" = xyes; then :
     7115
     7116fi
     7117
     7118  ac_fn_c_check_func "$LINENO" "pthread_attr_getscope" "ac_cv_func_pthread_attr_getscope"
     7119if test "x$ac_cv_func_pthread_attr_getscope" = xyes; then :
     7120
     7121fi
     7122
     7123  ac_fn_c_check_func "$LINENO" "pthread_attr_setinheritsched" "ac_cv_func_pthread_attr_setinheritsched"
     7124if test "x$ac_cv_func_pthread_attr_setinheritsched" = xyes; then :
     7125
     7126fi
     7127
     7128  ac_fn_c_check_func "$LINENO" "pthread_attr_getinheritsched" "ac_cv_func_pthread_attr_getinheritsched"
     7129if test "x$ac_cv_func_pthread_attr_getinheritsched" = xyes; then :
     7130
     7131fi
     7132
     7133  ac_fn_c_check_func "$LINENO" "pthread_attr_setschedpolicy" "ac_cv_func_pthread_attr_setschedpolicy"
     7134if test "x$ac_cv_func_pthread_attr_setschedpolicy" = xyes; then :
     7135
     7136fi
     7137
     7138  ac_fn_c_check_func "$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
     7139if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes; then :
     7140
     7141fi
     7142
     7143  ac_fn_c_check_func "$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
     7144if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes; then :
     7145
     7146fi
     7147
     7148  ac_fn_c_check_func "$LINENO" "pthread_attr_getschedparam" "ac_cv_func_pthread_attr_getschedparam"
     7149if test "x$ac_cv_func_pthread_attr_getschedparam" = xyes; then :
     7150
     7151fi
     7152
     7153  ac_fn_c_check_func "$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
     7154if test "x$ac_cv_func_sched_get_priority_max" = xyes; then :
     7155
     7156fi
     7157
     7158  ac_fn_c_check_func "$LINENO" "sched_get_priority_min" "ac_cv_func_sched_get_priority_min"
     7159if test "x$ac_cv_func_sched_get_priority_min" = xyes; then :
     7160
     7161fi
     7162
     7163fi
     7164
     7165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ldl" >&5
     7166$as_echo_n "checking for main in -ldl... " >&6; }
     7167if ${ac_cv_lib_dl_main+:} false; then :
     7168  $as_echo_n "(cached) " >&6
     7169else
     7170  ac_check_lib_save_LIBS=$LIBS
     7171LIBS="-ldl  $LIBS"
     7172cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    67667173/* end confdefs.h.  */
    6767 /* Define pthread_attr_getstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_getstacksize.
    6768    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    6769 #define pthread_attr_getstacksize innocuous_pthread_attr_getstacksize
    6770 
    6771 /* System header to define __stub macros and hopefully few prototypes,
    6772     which can conflict with char pthread_attr_getstacksize (); below.
    6773     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    6774     <limits.h> exists even on freestanding compilers.  */
    6775 
    6776 #ifdef __STDC__
    6777 # include <limits.h>
    6778 #else
    6779 # include <assert.h>
    6780 #endif
    6781 
    6782 #undef pthread_attr_getstacksize
    6783 
    6784 /* Override any gcc2 internal prototype to avoid an error.  */
    6785 #ifdef __cplusplus
    6786 extern "C"
    6787 {
    6788 #endif
    6789 /* We use char because int might match the return type of a gcc2
    6790    builtin and then its argument prototype would still apply.  */
    6791 char pthread_attr_getstacksize ();
    6792 /* The GNU C library defines this for functions which it implements
    6793     to always fail with ENOSYS.  Some functions are actually named
    6794     something starting with __ and the normal name is an alias.  */
    6795 #if defined (__stub_pthread_attr_getstacksize) || defined (__stub___pthread_attr_getstacksize)
    6796 choke me
    6797 #else
    6798 char (*f) () = pthread_attr_getstacksize;
    6799 #endif
    6800 #ifdef __cplusplus
    6801 }
    6802 #endif
     7174
    68037175
    68047176int
    68057177main ()
    68067178{
    6807 return f != pthread_attr_getstacksize;
     7179return main ();
    68087180  ;
    68097181  return 0;
    68107182}
    68117183_ACEOF
    6812 rm -f conftest.$ac_objext conftest$ac_exeext
    6813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6814   (eval $ac_link) 2>conftest.er1
    6815   ac_status=$?
    6816   grep -v '^ *+' conftest.er1 >conftest.err
    6817   rm -f conftest.er1
    6818   cat conftest.err >&5
    6819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6820   (exit $ac_status); } &&
    6821          { ac_try='test -z "$ac_c_werror_flag"
    6822                          || test ! -s conftest.err'
    6823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6824   (eval $ac_try) 2>&5
    6825   ac_status=$?
    6826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6827   (exit $ac_status); }; } &&
    6828          { ac_try='test -s conftest$ac_exeext'
    6829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6830   (eval $ac_try) 2>&5
    6831   ac_status=$?
    6832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6833   (exit $ac_status); }; }; then
    6834   ac_cv_func_pthread_attr_getstacksize=yes
    6835 else
    6836   echo "$as_me: failed program was:" >&5
    6837 sed 's/^/| /' conftest.$ac_ext >&5
    6838 
    6839 ac_cv_func_pthread_attr_getstacksize=no
    6840 fi
    6841 rm -f conftest.err conftest.$ac_objext \
    6842       conftest$ac_exeext conftest.$ac_ext
    6843 fi
    6844 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getstacksize" >&5
    6845 echo "${ECHO_T}$ac_cv_func_pthread_attr_getstacksize" >&6
    6846 
    6847   echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
    6848 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
    6849 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
    6850   echo $ECHO_N "(cached) $ECHO_C" >&6
    6851 else
    6852   cat >conftest.$ac_ext <<_ACEOF
    6853 /* confdefs.h.  */
     7184if ac_fn_c_try_link "$LINENO"; then :
     7185  ac_cv_lib_dl_main=yes
     7186else
     7187  ac_cv_lib_dl_main=no
     7188fi
     7189rm -f core conftest.err conftest.$ac_objext \
     7190    conftest$ac_exeext conftest.$ac_ext
     7191LIBS=$ac_check_lib_save_LIBS
     7192fi
     7193{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_main" >&5
     7194$as_echo "$ac_cv_lib_dl_main" >&6; }
     7195if test "x$ac_cv_lib_dl_main" = xyes; then :
     7196  cat >>confdefs.h <<_ACEOF
     7197#define HAVE_LIBDL 1
    68547198_ACEOF
    6855 cat confdefs.h >>conftest.$ac_ext
    6856 cat >>conftest.$ac_ext <<_ACEOF
     7199
     7200  LIBS="-ldl $LIBS"
     7201
     7202fi
     7203
     7204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
     7205$as_echo_n "checking for main in -lm... " >&6; }
     7206if ${ac_cv_lib_m_main+:} false; then :
     7207  $as_echo_n "(cached) " >&6
     7208else
     7209  ac_check_lib_save_LIBS=$LIBS
     7210LIBS="-lm  $LIBS"
     7211cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    68577212/* end confdefs.h.  */
    6858 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
    6859    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    6860 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
    6861 
    6862 /* System header to define __stub macros and hopefully few prototypes,
    6863     which can conflict with char pthread_attr_setstacksize (); below.
    6864     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    6865     <limits.h> exists even on freestanding compilers.  */
    6866 
    6867 #ifdef __STDC__
    6868 # include <limits.h>
    6869 #else
    6870 # include <assert.h>
    6871 #endif
    6872 
    6873 #undef pthread_attr_setstacksize
    6874 
    6875 /* Override any gcc2 internal prototype to avoid an error.  */
    6876 #ifdef __cplusplus
    6877 extern "C"
    6878 {
    6879 #endif
    6880 /* We use char because int might match the return type of a gcc2
    6881    builtin and then its argument prototype would still apply.  */
    6882 char pthread_attr_setstacksize ();
    6883 /* The GNU C library defines this for functions which it implements
    6884     to always fail with ENOSYS.  Some functions are actually named
    6885     something starting with __ and the normal name is an alias.  */
    6886 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
    6887 choke me
    6888 #else
    6889 char (*f) () = pthread_attr_setstacksize;
    6890 #endif
    6891 #ifdef __cplusplus
    6892 }
    6893 #endif
     7213
    68947214
    68957215int
    68967216main ()
    68977217{
    6898 return f != pthread_attr_setstacksize;
     7218return main ();
    68997219  ;
    69007220  return 0;
    69017221}
    69027222_ACEOF
    6903 rm -f conftest.$ac_objext conftest$ac_exeext
    6904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6905   (eval $ac_link) 2>conftest.er1
    6906   ac_status=$?
    6907   grep -v '^ *+' conftest.er1 >conftest.err
    6908   rm -f conftest.er1
    6909   cat conftest.err >&5
    6910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6911   (exit $ac_status); } &&
    6912          { ac_try='test -z "$ac_c_werror_flag"
    6913                          || test ! -s conftest.err'
    6914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6915   (eval $ac_try) 2>&5
    6916   ac_status=$?
    6917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6918   (exit $ac_status); }; } &&
    6919          { ac_try='test -s conftest$ac_exeext'
    6920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6921   (eval $ac_try) 2>&5
    6922   ac_status=$?
    6923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6924   (exit $ac_status); }; }; then
    6925   ac_cv_func_pthread_attr_setstacksize=yes
    6926 else
    6927   echo "$as_me: failed program was:" >&5
    6928 sed 's/^/| /' conftest.$ac_ext >&5
    6929 
    6930 ac_cv_func_pthread_attr_setstacksize=no
    6931 fi
    6932 rm -f conftest.err conftest.$ac_objext \
    6933       conftest$ac_exeext conftest.$ac_ext
    6934 fi
    6935 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
    6936 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
    6937 
    6938   echo "$as_me:$LINENO: checking for pthread_attr_setscope" >&5
    6939 echo $ECHO_N "checking for pthread_attr_setscope... $ECHO_C" >&6
    6940 if test "${ac_cv_func_pthread_attr_setscope+set}" = set; then
    6941   echo $ECHO_N "(cached) $ECHO_C" >&6
    6942 else
    6943   cat >conftest.$ac_ext <<_ACEOF
    6944 /* confdefs.h.  */
     7223if ac_fn_c_try_link "$LINENO"; then :
     7224  ac_cv_lib_m_main=yes
     7225else
     7226  ac_cv_lib_m_main=no
     7227fi
     7228rm -f core conftest.err conftest.$ac_objext \
     7229    conftest$ac_exeext conftest.$ac_ext
     7230LIBS=$ac_check_lib_save_LIBS
     7231fi
     7232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
     7233$as_echo "$ac_cv_lib_m_main" >&6; }
     7234if test "x$ac_cv_lib_m_main" = xyes; then :
     7235  cat >>confdefs.h <<_ACEOF
     7236#define HAVE_LIBM 1
    69457237_ACEOF
    6946 cat confdefs.h >>conftest.$ac_ext
    6947 cat >>conftest.$ac_ext <<_ACEOF
     7238
     7239  LIBS="-lm $LIBS"
     7240
     7241fi
     7242
     7243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lfl" >&5
     7244$as_echo_n "checking for main in -lfl... " >&6; }
     7245if ${ac_cv_lib_fl_main+:} false; then :
     7246  $as_echo_n "(cached) " >&6
     7247else
     7248  ac_check_lib_save_LIBS=$LIBS
     7249LIBS="-lfl  $LIBS"
     7250cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    69487251/* end confdefs.h.  */
    6949 /* Define pthread_attr_setscope to an innocuous variant, in case <limits.h> declares pthread_attr_setscope.
    6950    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    6951 #define pthread_attr_setscope innocuous_pthread_attr_setscope
    6952 
    6953 /* System header to define __stub macros and hopefully few prototypes,
    6954     which can conflict with char pthread_attr_setscope (); below.
    6955     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    6956     <limits.h> exists even on freestanding compilers.  */
    6957 
    6958 #ifdef __STDC__
    6959 # include <limits.h>
    6960 #else
    6961 # include <assert.h>
    6962 #endif
    6963 
    6964 #undef pthread_attr_setscope
    6965 
    6966 /* Override any gcc2 internal prototype to avoid an error.  */
    6967 #ifdef __cplusplus
    6968 extern "C"
    6969 {
    6970 #endif
    6971 /* We use char because int might match the return type of a gcc2
    6972    builtin and then its argument prototype would still apply.  */
    6973 char pthread_attr_setscope ();
    6974 /* The GNU C library defines this for functions which it implements
    6975     to always fail with ENOSYS.  Some functions are actually named
    6976     something starting with __ and the normal name is an alias.  */
    6977 #if defined (__stub_pthread_attr_setscope) || defined (__stub___pthread_attr_setscope)
    6978 choke me
    6979 #else
    6980 char (*f) () = pthread_attr_setscope;
    6981 #endif
    6982 #ifdef __cplusplus
    6983 }
    6984 #endif
     7252
    69857253
    69867254int
    69877255main ()
    69887256{
    6989 return f != pthread_attr_setscope;
     7257return main ();
    69907258  ;
    69917259  return 0;
    69927260}
    69937261_ACEOF
    6994 rm -f conftest.$ac_objext conftest$ac_exeext
    6995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6996   (eval $ac_link) 2>conftest.er1
    6997   ac_status=$?
    6998   grep -v '^ *+' conftest.er1 >conftest.err
    6999   rm -f conftest.er1
    7000   cat conftest.err >&5
    7001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7002   (exit $ac_status); } &&
    7003          { ac_try='test -z "$ac_c_werror_flag"
    7004                          || test ! -s conftest.err'
    7005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7006   (eval $ac_try) 2>&5
    7007   ac_status=$?
    7008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7009   (exit $ac_status); }; } &&
    7010          { ac_try='test -s conftest$ac_exeext'
    7011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7012   (eval $ac_try) 2>&5
    7013   ac_status=$?
    7014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7015   (exit $ac_status); }; }; then
    7016   ac_cv_func_pthread_attr_setscope=yes
    7017 else
    7018   echo "$as_me: failed program was:" >&5
    7019 sed 's/^/| /' conftest.$ac_ext >&5
    7020 
    7021 ac_cv_func_pthread_attr_setscope=no
    7022 fi
    7023 rm -f conftest.err conftest.$ac_objext \
    7024       conftest$ac_exeext conftest.$ac_ext
    7025 fi
    7026 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setscope" >&5
    7027 echo "${ECHO_T}$ac_cv_func_pthread_attr_setscope" >&6
    7028 
    7029   echo "$as_me:$LINENO: checking for pthread_attr_getscope" >&5
    7030 echo $ECHO_N "checking for pthread_attr_getscope... $ECHO_C" >&6
    7031 if test "${ac_cv_func_pthread_attr_getscope+set}" = set; then
    7032   echo $ECHO_N "(cached) $ECHO_C" >&6
    7033 else
    7034   cat >conftest.$ac_ext <<_ACEOF
    7035 /* confdefs.h.  */
     7262if ac_fn_c_try_link "$LINENO"; then :
     7263  ac_cv_lib_fl_main=yes
     7264else
     7265  ac_cv_lib_fl_main=no
     7266fi
     7267rm -f core conftest.err conftest.$ac_objext \
     7268    conftest$ac_exeext conftest.$ac_ext
     7269LIBS=$ac_check_lib_save_LIBS
     7270fi
     7271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fl_main" >&5
     7272$as_echo "$ac_cv_lib_fl_main" >&6; }
     7273if test "x$ac_cv_lib_fl_main" = xyes; then :
     7274  cat >>confdefs.h <<_ACEOF
     7275#define HAVE_LIBFL 1
    70367276_ACEOF
    7037 cat confdefs.h >>conftest.$ac_ext
    7038 cat >>conftest.$ac_ext <<_ACEOF
     7277
     7278  LIBS="-lfl $LIBS"
     7279
     7280fi
     7281
     7282ac_fn_c_check_header_mongrel "$LINENO" "perf.h" "ac_cv_header_perf_h" "$ac_includes_default"
     7283if test "x$ac_cv_header_perf_h" = xyes; then :
     7284
     7285  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perf_set_config in -lperf" >&5
     7286$as_echo_n "checking for perf_set_config in -lperf... " >&6; }
     7287if ${ac_cv_lib_perf_perf_set_config+:} false; then :
     7288  $as_echo_n "(cached) " >&6
     7289else
     7290  ac_check_lib_save_LIBS=$LIBS
     7291LIBS="-lperf  $LIBS"
     7292cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    70397293/* end confdefs.h.  */
    7040 /* Define pthread_attr_getscope to an innocuous variant, in case <limits.h> declares pthread_attr_getscope.
    7041    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    7042 #define pthread_attr_getscope innocuous_pthread_attr_getscope
    7043 
    7044 /* System header to define __stub macros and hopefully few prototypes,
    7045     which can conflict with char pthread_attr_getscope (); below.
    7046     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    7047     <limits.h> exists even on freestanding compilers.  */
    7048 
    7049 #ifdef __STDC__
    7050 # include <limits.h>
    7051 #else
    7052 # include <assert.h>
    7053 #endif
    7054 
    7055 #undef pthread_attr_getscope
    7056 
    7057 /* Override any gcc2 internal prototype to avoid an error.  */
     7294
     7295/* Override any GCC internal prototype to avoid an error.
     7296   Use char because int might match the return type of a GCC
     7297   builtin and then its argument prototype would still apply.  */
    70587298#ifdef __cplusplus
    70597299extern "C"
    7060 {
    70617300#endif
    7062 /* We use char because int might match the return type of a gcc2
    7063    builtin and then its argument prototype would still apply.  */
    7064 char pthread_attr_getscope ();
    7065 /* The GNU C library defines this for functions which it implements
    7066     to always fail with ENOSYS.  Some functions are actually named
    7067     something starting with __ and the normal name is an alias.  */
    7068 #if defined (__stub_pthread_attr_getscope) || defined (__stub___pthread_attr_getscope)
    7069 choke me
    7070 #else
    7071 char (*f) () = pthread_attr_getscope;
    7072 #endif
    7073 #ifdef __cplusplus
    7074 }
    7075 #endif
    7076 
     7301char perf_set_config ();
    70777302int
    70787303main ()
    70797304{
    7080 return f != pthread_attr_getscope;
     7305return perf_set_config ();
    70817306  ;
    70827307  return 0;
    70837308}
    70847309_ACEOF
    7085 rm -f conftest.$ac_objext conftest$ac_exeext
    7086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7087   (eval $ac_link) 2>conftest.er1
    7088   ac_status=$?
    7089   grep -v '^ *+' conftest.er1 >conftest.err
    7090   rm -f conftest.er1
    7091   cat conftest.err >&5
    7092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7093   (exit $ac_status); } &&
    7094          { ac_try='test -z "$ac_c_werror_flag"
    7095                          || test ! -s conftest.err'
    7096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7097   (eval $ac_try) 2>&5
    7098   ac_status=$?
    7099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7100   (exit $ac_status); }; } &&
    7101          { ac_try='test -s conftest$ac_exeext'
    7102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7103   (eval $ac_try) 2>&5
    7104   ac_status=$?
    7105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7106   (exit $ac_status); }; }; then
    7107   ac_cv_func_pthread_attr_getscope=yes
    7108 else
    7109   echo "$as_me: failed program was:" >&5
    7110 sed 's/^/| /' conftest.$ac_ext >&5
    7111 
    7112 ac_cv_func_pthread_attr_getscope=no
    7113 fi
    7114 rm -f conftest.err conftest.$ac_objext \
    7115       conftest$ac_exeext conftest.$ac_ext
    7116 fi
    7117 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getscope" >&5
    7118 echo "${ECHO_T}$ac_cv_func_pthread_attr_getscope" >&6
    7119 
    7120   echo "$as_me:$LINENO: checking for pthread_attr_setinheritsched" >&5
    7121 echo $ECHO_N "checking for pthread_attr_setinheritsched... $ECHO_C" >&6
    7122 if test "${ac_cv_func_pthread_attr_setinheritsched+set}" = set; then
    7123   echo $ECHO_N "(cached) $ECHO_C" >&6
    7124 else
    7125   cat >conftest.$ac_ext <<_ACEOF
    7126 /* confdefs.h.  */
    7127 _ACEOF
    7128 cat confdefs.h >>conftest.$ac_ext
    7129 cat >>conftest.$ac_ext <<_ACEOF
    7130 /* end confdefs.h.  */
    7131 /* Define pthread_attr_setinheritsched to an innocuous variant, in case <limits.h> declares pthread_attr_setinheritsched.
    7132    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    7133 #define pthread_attr_setinheritsched innocuous_pthread_attr_setinheritsched
    7134 
    7135 /* System header to define __stub macros and hopefully few prototypes,
    7136     which can conflict with char pthread_attr_setinheritsched (); below.
    7137     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    7138     <limits.h> exists even on freestanding compilers.  */
    7139 
    7140 #ifdef __STDC__
    7141 # include <limits.h>
    7142 #else
    7143 # include <assert.h>
    7144 #endif
    7145 
    7146 #undef pthread_attr_setinheritsched
    7147 
    7148 /* Override any gcc2 internal prototype to avoid an error.  */
    7149 #ifdef __cplusplus
    7150 extern "C"
    7151 {
    7152 #endif
    7153 /* We use char because int might match the return type of a gcc2
    7154    builtin and then its argument prototype would still apply.  */
    7155 char pthread_attr_setinheritsched ();
    7156 /* The GNU C library defines this for functions which it implements
    7157     to always fail with ENOSYS.  Some functions are actually named
    7158     something starting with __ and the normal name is an alias.  */
    7159 #if defined (__stub_pthread_attr_setinheritsched) || defined (__stub___pthread_attr_setinheritsched)
    7160 choke me
    7161 #else
    7162 char (*f) () = pthread_attr_setinheritsched;
    7163 #endif
    7164 #ifdef __cplusplus
    7165 }
    7166 #endif
    7167 
    7168 int
    7169 main ()
    7170 {
    7171 return f != pthread_attr_setinheritsched;
    7172   ;
    7173   return 0;
    7174 }
    7175 _ACEOF
    7176 rm -f conftest.$ac_objext conftest$ac_exeext
    7177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7178   (eval $ac_link) 2>conftest.er1
    7179   ac_status=$?
    7180   grep -v '^ *+' conftest.er1 >conftest.err
    7181   rm -f conftest.er1
    7182   cat conftest.err >&5
    7183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7184   (exit $ac_status); } &&
    7185          { ac_try='test -z "$ac_c_werror_flag"
    7186                          || test ! -s conftest.err'
    7187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7188   (eval $ac_try) 2>&5
    7189   ac_status=$?
    7190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7191   (exit $ac_status); }; } &&
    7192          { ac_try='test -s conftest$ac_exeext'
    7193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7194   (eval $ac_try) 2>&5
    7195   ac_status=$?
    7196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7197   (exit $ac_status); }; }; then
    7198   ac_cv_func_pthread_attr_setinheritsched=yes
    7199 else
    7200   echo "$as_me: failed program was:" >&5
    7201 sed 's/^/| /' conftest.$ac_ext >&5
    7202 
    7203 ac_cv_func_pthread_attr_setinheritsched=no
    7204 fi
    7205 rm -f conftest.err conftest.$ac_objext \
    7206       conftest$ac_exeext conftest.$ac_ext
    7207 fi
    7208 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setinheritsched" >&5
    7209 echo "${ECHO_T}$ac_cv_func_pthread_attr_setinheritsched" >&6
    7210 
    7211   echo "$as_me:$LINENO: checking for pthread_attr_getinheritsched" >&5
    7212 echo $ECHO_N "checking for pthread_attr_getinheritsched... $ECHO_C" >&6
    7213 if test "${ac_cv_func_pthread_attr_getinheritsched+set}" = set; then
    7214   echo $ECHO_N "(cached) $ECHO_C" >&6
    7215 else
    7216   cat >conftest.$ac_ext <<_ACEOF
    7217 /* confdefs.h.  */
    7218 _ACEOF
    7219 cat confdefs.h >>conftest.$ac_ext
    7220 cat >>conftest.$ac_ext <<_ACEOF
    7221 /* end confdefs.h.  */
    7222 /* Define pthread_attr_getinheritsched to an innocuous variant, in case <limits.h> declares pthread_attr_getinheritsched.
    7223    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    7224 #define pthread_attr_getinheritsched innocuous_pthread_attr_getinheritsched
    7225 
    7226 /* System header to define __stub macros and hopefully few prototypes,
    7227     which can conflict with char pthread_attr_getinheritsched (); below.
    7228     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    7229     <limits.h> exists even on freestanding compilers.  */
    7230 
    7231 #ifdef __STDC__
    7232 # include <limits.h>
    7233 #else
    7234 # include <assert.h>
    7235 #endif
    7236 
    7237 #undef pthread_attr_getinheritsched
    7238 
    7239 /* Override any gcc2 internal prototype to avoid an error.  */
    7240 #ifdef __cplusplus
    7241 extern "C"
    7242 {
    7243 #endif
    7244 /* We use char because int might match the return type of a gcc2
    7245    builtin and then its argument prototype would still apply.  */
    7246 char pthread_attr_getinheritsched ();
    7247 /* The GNU C library defines this for functions which it implements
    7248     to always fail with ENOSYS.  Some functions are actually named
    7249     something starting with __ and the normal name is an alias.  */
    7250 #if defined (__stub_pthread_attr_getinheritsched) || defined (__stub___pthread_attr_getinheritsched)
    7251 choke me
    7252 #else
    7253 char (*f) () = pthread_attr_getinheritsched;
    7254 #endif
    7255 #ifdef __cplusplus
    7256 }
    7257 #endif
    7258 
    7259 int
    7260 main ()
    7261 {
    7262 return f != pthread_attr_getinheritsched;
    7263   ;
    7264   return 0;
    7265 }
    7266 _ACEOF
    7267 rm -f conftest.$ac_objext conftest$ac_exeext
    7268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7269   (eval $ac_link) 2>conftest.er1
    7270   ac_status=$?
    7271   grep -v '^ *+' conftest.er1 >conftest.err
    7272   rm -f conftest.er1
    7273   cat conftest.err >&5
    7274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7275   (exit $ac_status); } &&
    7276          { ac_try='test -z "$ac_c_werror_flag"
    7277                          || test ! -s conftest.err'
    7278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7279   (eval $ac_try) 2>&5
    7280   ac_status=$?
    7281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7282   (exit $ac_status); }; } &&
    7283          { ac_try='test -s conftest$ac_exeext'
    7284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7285   (eval $ac_try) 2>&5
    7286   ac_status=$?
    7287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7288   (exit $ac_status); }; }; then
    7289   ac_cv_func_pthread_attr_getinheritsched=yes
    7290 else
    7291   echo "$as_me: failed program was:" >&5
    7292 sed 's/^/| /' conftest.$ac_ext >&5
    7293 
    7294 ac_cv_func_pthread_attr_getinheritsched=no
    7295 fi
    7296 rm -f conftest.err conftest.$ac_objext \
    7297       conftest$ac_exeext conftest.$ac_ext
    7298 fi
    7299 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getinheritsched" >&5
    7300 echo "${ECHO_T}$ac_cv_func_pthread_attr_getinheritsched" >&6
    7301 
    7302   echo "$as_me:$LINENO: checking for pthread_attr_setschedpolicy" >&5
    7303 echo $ECHO_N "checking for pthread_attr_setschedpolicy... $ECHO_C" >&6
    7304 if test "${ac_cv_func_pthread_attr_setschedpolicy+set}" = set; then
    7305   echo $ECHO_N "(cached) $ECHO_C" >&6
    7306 else
    7307   cat >conftest.$ac_ext <<_ACEOF
    7308 /* confdefs.h.  */
    7309 _ACEOF
    7310 cat confdefs.h >>conftest.$ac_ext
    7311 cat >>conftest.$ac_ext <<_ACEOF
    7312 /* end confdefs.h.  */
    7313 /* Define pthread_attr_setschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_setschedpolicy.
    7314    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    7315 #define pthread_attr_setschedpolicy innocuous_pthread_attr_setschedpolicy
    7316 
    7317 /* System header to define __stub macros and hopefully few prototypes,
    7318     which can conflict with char pthread_attr_setschedpolicy (); below.
    7319     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    7320     <limits.h> exists even on freestanding compilers.  */
    7321 
    7322 #ifdef __STDC__
    7323 # include <limits.h>
    7324 #else
    7325 # include <assert.h>
    7326 #endif
    7327 
    7328 #undef pthread_attr_setschedpolicy
    7329 
    7330 /* Override any gcc2 internal prototype to avoid an error.  */
    7331 #ifdef __cplusplus
    7332 extern "C"
    7333 {
    7334 #endif
    7335 /* We use char because int might match the return type of a gcc2
    7336    builtin and then its argument prototype would still apply.  */
    7337 char pthread_attr_setschedpolicy ();
    7338 /* The GNU C library defines this for functions which it implements
    7339     to always fail with ENOSYS.  Some functions are actually named
    7340     something starting with __ and the normal name is an alias.  */
    7341 #if defined (__stub_pthread_attr_setschedpolicy) || defined (__stub___pthread_attr_setschedpolicy)
    7342 choke me
    7343 #else
    7344 char (*f) () = pthread_attr_setschedpolicy;
    7345 #endif
    7346 #ifdef __cplusplus
    7347 }
    7348 #endif
    7349 
    7350 int
    7351 main ()
    7352 {
    7353 return f != pthread_attr_setschedpolicy;
    7354   ;
    7355   return 0;
    7356 }
    7357 _ACEOF
    7358 rm -f conftest.$ac_objext conftest$ac_exeext
    7359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7360   (eval $ac_link) 2>conftest.er1
    7361   ac_status=$?
    7362   grep -v '^ *+' conftest.er1 >conftest.err
    7363   rm -f conftest.er1
    7364   cat conftest.err >&5
    7365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7366   (exit $ac_status); } &&
    7367          { ac_try='test -z "$ac_c_werror_flag"
    7368                          || test ! -s conftest.err'
    7369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7370   (eval $ac_try) 2>&5
    7371   ac_status=$?
    7372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7373   (exit $ac_status); }; } &&
    7374          { ac_try='test -s conftest$ac_exeext'
    7375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7376   (eval $ac_try) 2>&5
    7377   ac_status=$?
    7378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7379   (exit $ac_status); }; }; then
    7380   ac_cv_func_pthread_attr_setschedpolicy=yes
    7381 else
    7382   echo "$as_me: failed program was:" >&5
    7383 sed 's/^/| /' conftest.$ac_ext >&5
    7384 
    7385 ac_cv_func_pthread_attr_setschedpolicy=no
    7386 fi
    7387 rm -f conftest.err conftest.$ac_objext \
    7388       conftest$ac_exeext conftest.$ac_ext
    7389 fi
    7390 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedpolicy" >&5
    7391 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedpolicy" >&6
    7392 
    7393   echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
    7394 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
    7395 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
    7396   echo $ECHO_N "(cached) $ECHO_C" >&6
    7397 else
    7398   cat >conftest.$ac_ext <<_ACEOF
    7399 /* confdefs.h.  */
    7400 _ACEOF
    7401 cat confdefs.h >>conftest.$ac_ext
    7402 cat >>conftest.$ac_ext <<_ACEOF
    7403 /* end confdefs.h.  */
    7404 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
    7405    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    7406 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
    7407 
    7408 /* System header to define __stub macros and hopefully few prototypes,
    7409     which can conflict with char pthread_attr_getschedpolicy (); below.
    7410     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    7411     <limits.h> exists even on freestanding compilers.  */
    7412 
    7413 #ifdef __STDC__
    7414 # include <limits.h>
    7415 #else
    7416 # include <assert.h>
    7417 #endif
    7418 
    7419 #undef pthread_attr_getschedpolicy
    7420 
    7421 /* Override any gcc2 internal prototype to avoid an error.  */
    7422 #ifdef __cplusplus
    7423 extern "C"
    7424 {
    7425 #endif
    7426 /* We use char because int might match the return type of a gcc2
    7427    builtin and then its argument prototype would still apply.  */
    7428 char pthread_attr_getschedpolicy ();
    7429 /* The GNU C library defines this for functions which it implements
    7430     to always fail with ENOSYS.  Some functions are actually named
    7431     something starting with __ and the normal name is an alias.  */
    7432 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
    7433 choke me
    7434 #else
    7435 char (*f) () = pthread_attr_getschedpolicy;
    7436 #endif
    7437 #ifdef __cplusplus
    7438 }
    7439 #endif
    7440 
    7441 int
    7442 main ()
    7443 {
    7444 return f != pthread_attr_getschedpolicy;
    7445   ;
    7446   return 0;
    7447 }
    7448 _ACEOF
    7449 rm -f conftest.$ac_objext conftest$ac_exeext
    7450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7451   (eval $ac_link) 2>conftest.er1
    7452   ac_status=$?
    7453   grep -v '^ *+' conftest.er1 >conftest.err
    7454   rm -f conftest.er1
    7455   cat conftest.err >&5
    7456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7457   (exit $ac_status); } &&
    7458          { ac_try='test -z "$ac_c_werror_flag"
    7459                          || test ! -s conftest.err'
    7460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7461   (eval $ac_try) 2>&5
    7462   ac_status=$?
    7463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7464   (exit $ac_status); }; } &&
    7465          { ac_try='test -s conftest$ac_exeext'
    7466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7467   (eval $ac_try) 2>&5
    7468   ac_status=$?
    7469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7470   (exit $ac_status); }; }; then
    7471   ac_cv_func_pthread_attr_getschedpolicy=yes
    7472 else
    7473   echo "$as_me: failed program was:" >&5
    7474 sed 's/^/| /' conftest.$ac_ext >&5
    7475 
    7476 ac_cv_func_pthread_attr_getschedpolicy=no
    7477 fi
    7478 rm -f conftest.err conftest.$ac_objext \
    7479       conftest$ac_exeext conftest.$ac_ext
    7480 fi
    7481 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
    7482 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
    7483 
    7484   echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
    7485 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
    7486 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
    7487   echo $ECHO_N "(cached) $ECHO_C" >&6
    7488 else
    7489   cat >conftest.$ac_ext <<_ACEOF
    7490 /* confdefs.h.  */
    7491 _ACEOF
    7492 cat confdefs.h >>conftest.$ac_ext
    7493 cat >>conftest.$ac_ext <<_ACEOF
    7494 /* end confdefs.h.  */
    7495 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
    7496    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    7497 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
    7498 
    7499 /* System header to define __stub macros and hopefully few prototypes,
    7500     which can conflict with char pthread_attr_setschedparam (); below.
    7501     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    7502     <limits.h> exists even on freestanding compilers.  */
    7503 
    7504 #ifdef __STDC__
    7505 # include <limits.h>
    7506 #else
    7507 # include <assert.h>
    7508 #endif
    7509 
    7510 #undef pthread_attr_setschedparam
    7511 
    7512 /* Override any gcc2 internal prototype to avoid an error.  */
    7513 #ifdef __cplusplus
    7514 extern "C"
    7515 {
    7516 #endif
    7517 /* We use char because int might match the return type of a gcc2
    7518    builtin and then its argument prototype would still apply.  */
    7519 char pthread_attr_setschedparam ();
    7520 /* The GNU C library defines this for functions which it implements
    7521     to always fail with ENOSYS.  Some functions are actually named
    7522     something starting with __ and the normal name is an alias.  */
    7523 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
    7524 choke me
    7525 #else
    7526 char (*f) () = pthread_attr_setschedparam;
    7527 #endif
    7528 #ifdef __cplusplus
    7529 }
    7530 #endif
    7531 
    7532 int
    7533 main ()
    7534 {
    7535 return f != pthread_attr_setschedparam;
    7536   ;
    7537   return 0;
    7538 }
    7539 _ACEOF
    7540 rm -f conftest.$ac_objext conftest$ac_exeext
    7541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7542   (eval $ac_link) 2>conftest.er1
    7543   ac_status=$?
    7544   grep -v '^ *+' conftest.er1 >conftest.err
    7545   rm -f conftest.er1
    7546   cat conftest.err >&5
    7547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7548   (exit $ac_status); } &&
    7549          { ac_try='test -z "$ac_c_werror_flag"
    7550                          || test ! -s conftest.err'
    7551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7552   (eval $ac_try) 2>&5
    7553   ac_status=$?
    7554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7555   (exit $ac_status); }; } &&
    7556          { ac_try='test -s conftest$ac_exeext'
    7557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7558   (eval $ac_try) 2>&5
    7559   ac_status=$?
    7560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7561   (exit $ac_status); }; }; then
    7562   ac_cv_func_pthread_attr_setschedparam=yes
    7563 else
    7564   echo "$as_me: failed program was:" >&5
    7565 sed 's/^/| /' conftest.$ac_ext >&5
    7566 
    7567 ac_cv_func_pthread_attr_setschedparam=no
    7568 fi
    7569 rm -f conftest.err conftest.$ac_objext \
    7570       conftest$ac_exeext conftest.$ac_ext
    7571 fi
    7572 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
    7573 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
    7574 
    7575   echo "$as_me:$LINENO: checking for pthread_attr_getschedparam" >&5
    7576 echo $ECHO_N "checking for pthread_attr_getschedparam... $ECHO_C" >&6
    7577 if test "${ac_cv_func_pthread_attr_getschedparam+set}" = set; then
    7578   echo $ECHO_N "(cached) $ECHO_C" >&6
    7579 else
    7580   cat >conftest.$ac_ext <<_ACEOF
    7581 /* confdefs.h.  */
    7582 _ACEOF
    7583 cat confdefs.h >>conftest.$ac_ext
    7584 cat >>conftest.$ac_ext <<_ACEOF
    7585 /* end confdefs.h.  */
    7586 /* Define pthread_attr_getschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_getschedparam.
    7587    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    7588 #define pthread_attr_getschedparam innocuous_pthread_attr_getschedparam
    7589 
    7590 /* System header to define __stub macros and hopefully few prototypes,
    7591     which can conflict with char pthread_attr_getschedparam (); below.
    7592     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    7593     <limits.h> exists even on freestanding compilers.  */
    7594 
    7595 #ifdef __STDC__
    7596 # include <limits.h>
    7597 #else
    7598 # include <assert.h>
    7599 #endif
    7600 
    7601 #undef pthread_attr_getschedparam
    7602 
    7603 /* Override any gcc2 internal prototype to avoid an error.  */
    7604 #ifdef __cplusplus
    7605 extern "C"
    7606 {
    7607 #endif
    7608 /* We use char because int might match the return type of a gcc2
    7609    builtin and then its argument prototype would still apply.  */
    7610 char pthread_attr_getschedparam ();
    7611 /* The GNU C library defines this for functions which it implements
    7612     to always fail with ENOSYS.  Some functions are actually named
    7613     something starting with __ and the normal name is an alias.  */
    7614 #if defined (__stub_pthread_attr_getschedparam) || defined (__stub___pthread_attr_getschedparam)
    7615 choke me
    7616 #else
    7617 char (*f) () = pthread_attr_getschedparam;
    7618 #endif
    7619 #ifdef __cplusplus
    7620 }
    7621 #endif
    7622 
    7623 int
    7624 main ()
    7625 {
    7626 return f != pthread_attr_getschedparam;
    7627   ;
    7628   return 0;
    7629 }
    7630 _ACEOF
    7631 rm -f conftest.$ac_objext conftest$ac_exeext
    7632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7633   (eval $ac_link) 2>conftest.er1
    7634   ac_status=$?
    7635   grep -v '^ *+' conftest.er1 >conftest.err
    7636   rm -f conftest.er1
    7637   cat conftest.err >&5
    7638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7639   (exit $ac_status); } &&
    7640          { ac_try='test -z "$ac_c_werror_flag"
    7641                          || test ! -s conftest.err'
    7642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7643   (eval $ac_try) 2>&5
    7644   ac_status=$?
    7645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7646   (exit $ac_status); }; } &&
    7647          { ac_try='test -s conftest$ac_exeext'
    7648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7649   (eval $ac_try) 2>&5
    7650   ac_status=$?
    7651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7652   (exit $ac_status); }; }; then
    7653   ac_cv_func_pthread_attr_getschedparam=yes
    7654 else
    7655   echo "$as_me: failed program was:" >&5
    7656 sed 's/^/| /' conftest.$ac_ext >&5
    7657 
    7658 ac_cv_func_pthread_attr_getschedparam=no
    7659 fi
    7660 rm -f conftest.err conftest.$ac_objext \
    7661       conftest$ac_exeext conftest.$ac_ext
    7662 fi
    7663 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedparam" >&5
    7664 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedparam" >&6
    7665 
    7666   echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
    7667 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
    7668 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
    7669   echo $ECHO_N "(cached) $ECHO_C" >&6
    7670 else
    7671   cat >conftest.$ac_ext <<_ACEOF
    7672 /* confdefs.h.  */
    7673 _ACEOF
    7674 cat confdefs.h >>conftest.$ac_ext
    7675 cat >>conftest.$ac_ext <<_ACEOF
    7676 /* end confdefs.h.  */
    7677 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
    7678    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    7679 #define sched_get_priority_max innocuous_sched_get_priority_max
    7680 
    7681 /* System header to define __stub macros and hopefully few prototypes,
    7682     which can conflict with char sched_get_priority_max (); below.
    7683     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    7684     <limits.h> exists even on freestanding compilers.  */
    7685 
    7686 #ifdef __STDC__
    7687 # include <limits.h>
    7688 #else
    7689 # include <assert.h>
    7690 #endif
    7691 
    7692 #undef sched_get_priority_max
    7693 
    7694 /* Override any gcc2 internal prototype to avoid an error.  */
    7695 #ifdef __cplusplus
    7696 extern "C"
    7697 {
    7698 #endif
    7699 /* We use char because int might match the return type of a gcc2
    7700    builtin and then its argument prototype would still apply.  */
    7701 char sched_get_priority_max ();
    7702 /* The GNU C library defines this for functions which it implements
    7703     to always fail with ENOSYS.  Some functions are actually named
    7704     something starting with __ and the normal name is an alias.  */
    7705 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
    7706 choke me
    7707 #else
    7708 char (*f) () = sched_get_priority_max;
    7709 #endif
    7710 #ifdef __cplusplus
    7711 }
    7712 #endif
    7713 
    7714 int
    7715 main ()
    7716 {
    7717 return f != sched_get_priority_max;
    7718   ;
    7719   return 0;
    7720 }
    7721 _ACEOF
    7722 rm -f conftest.$ac_objext conftest$ac_exeext
    7723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7724   (eval $ac_link) 2>conftest.er1
    7725   ac_status=$?
    7726   grep -v '^ *+' conftest.er1 >conftest.err
    7727   rm -f conftest.er1
    7728   cat conftest.err >&5
    7729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7730   (exit $ac_status); } &&
    7731          { ac_try='test -z "$ac_c_werror_flag"
    7732                          || test ! -s conftest.err'
    7733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7734   (eval $ac_try) 2>&5
    7735   ac_status=$?
    7736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7737   (exit $ac_status); }; } &&
    7738          { ac_try='test -s conftest$ac_exeext'
    7739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7740   (eval $ac_try) 2>&5
    7741   ac_status=$?
    7742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7743   (exit $ac_status); }; }; then
    7744   ac_cv_func_sched_get_priority_max=yes
    7745 else
    7746   echo "$as_me: failed program was:" >&5
    7747 sed 's/^/| /' conftest.$ac_ext >&5
    7748 
    7749 ac_cv_func_sched_get_priority_max=no
    7750 fi
    7751 rm -f conftest.err conftest.$ac_objext \
    7752       conftest$ac_exeext conftest.$ac_ext
    7753 fi
    7754 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
    7755 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
    7756 
    7757   echo "$as_me:$LINENO: checking for sched_get_priority_min" >&5
    7758 echo $ECHO_N "checking for sched_get_priority_min... $ECHO_C" >&6
    7759 if test "${ac_cv_func_sched_get_priority_min+set}" = set; then
    7760   echo $ECHO_N "(cached) $ECHO_C" >&6
    7761 else
    7762   cat >conftest.$ac_ext <<_ACEOF
    7763 /* confdefs.h.  */
    7764 _ACEOF
    7765 cat confdefs.h >>conftest.$ac_ext
    7766 cat >>conftest.$ac_ext <<_ACEOF
    7767 /* end confdefs.h.  */
    7768 /* Define sched_get_priority_min to an innocuous variant, in case <limits.h> declares sched_get_priority_min.
    7769    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    7770 #define sched_get_priority_min innocuous_sched_get_priority_min
    7771 
    7772 /* System header to define __stub macros and hopefully few prototypes,
    7773     which can conflict with char sched_get_priority_min (); below.
    7774     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    7775     <limits.h> exists even on freestanding compilers.  */
    7776 
    7777 #ifdef __STDC__
    7778 # include <limits.h>
    7779 #else
    7780 # include <assert.h>
    7781 #endif
    7782 
    7783 #undef sched_get_priority_min
    7784 
    7785 /* Override any gcc2 internal prototype to avoid an error.  */
    7786 #ifdef __cplusplus
    7787 extern "C"
    7788 {
    7789 #endif
    7790 /* We use char because int might match the return type of a gcc2
    7791    builtin and then its argument prototype would still apply.  */
    7792 char sched_get_priority_min ();
    7793 /* The GNU C library defines this for functions which it implements
    7794     to always fail with ENOSYS.  Some functions are actually named
    7795     something starting with __ and the normal name is an alias.  */
    7796 #if defined (__stub_sched_get_priority_min) || defined (__stub___sched_get_priority_min)
    7797 choke me
    7798 #else
    7799 char (*f) () = sched_get_priority_min;
    7800 #endif
    7801 #ifdef __cplusplus
    7802 }
    7803 #endif
    7804 
    7805 int
    7806 main ()
    7807 {
    7808 return f != sched_get_priority_min;
    7809   ;
    7810   return 0;
    7811 }
    7812 _ACEOF
    7813 rm -f conftest.$ac_objext conftest$ac_exeext
    7814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7815   (eval $ac_link) 2>conftest.er1
    7816   ac_status=$?
    7817   grep -v '^ *+' conftest.er1 >conftest.err
    7818   rm -f conftest.er1
    7819   cat conftest.err >&5
    7820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7821   (exit $ac_status); } &&
    7822          { ac_try='test -z "$ac_c_werror_flag"
    7823                          || test ! -s conftest.err'
    7824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7825   (eval $ac_try) 2>&5
    7826   ac_status=$?
    7827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7828   (exit $ac_status); }; } &&
    7829          { ac_try='test -s conftest$ac_exeext'
    7830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7831   (eval $ac_try) 2>&5
    7832   ac_status=$?
    7833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7834   (exit $ac_status); }; }; then
    7835   ac_cv_func_sched_get_priority_min=yes
    7836 else
    7837   echo "$as_me: failed program was:" >&5
    7838 sed 's/^/| /' conftest.$ac_ext >&5
    7839 
    7840 ac_cv_func_sched_get_priority_min=no
    7841 fi
    7842 rm -f conftest.err conftest.$ac_objext \
    7843       conftest$ac_exeext conftest.$ac_ext
    7844 fi
    7845 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_min" >&5
    7846 echo "${ECHO_T}$ac_cv_func_sched_get_priority_min" >&6
    7847 
    7848 fi
    7849 
    7850 
    7851 echo "$as_me:$LINENO: checking for main in -ldl" >&5
    7852 echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6
    7853 if test "${ac_cv_lib_dl_main+set}" = set; then
    7854   echo $ECHO_N "(cached) $ECHO_C" >&6
    7855 else
    7856   ac_check_lib_save_LIBS=$LIBS
    7857 LIBS="-ldl  $LIBS"
    7858 cat >conftest.$ac_ext <<_ACEOF
    7859 /* confdefs.h.  */
    7860 _ACEOF
    7861 cat confdefs.h >>conftest.$ac_ext
    7862 cat >>conftest.$ac_ext <<_ACEOF
    7863 /* end confdefs.h.  */
    7864 
    7865 
    7866 int
    7867 main ()
    7868 {
    7869 main ();
    7870   ;
    7871   return 0;
    7872 }
    7873 _ACEOF
    7874 rm -f conftest.$ac_objext conftest$ac_exeext
    7875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7876   (eval $ac_link) 2>conftest.er1
    7877   ac_status=$?
    7878   grep -v '^ *+' conftest.er1 >conftest.err
    7879   rm -f conftest.er1
    7880   cat conftest.err >&5
    7881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7882   (exit $ac_status); } &&
    7883          { ac_try='test -z "$ac_c_werror_flag"
    7884                          || test ! -s conftest.err'
    7885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7886   (eval $ac_try) 2>&5
    7887   ac_status=$?
    7888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7889   (exit $ac_status); }; } &&
    7890          { ac_try='test -s conftest$ac_exeext'
    7891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7892   (eval $ac_try) 2>&5
    7893   ac_status=$?
    7894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7895   (exit $ac_status); }; }; then
    7896   ac_cv_lib_dl_main=yes
    7897 else
    7898   echo "$as_me: failed program was:" >&5
    7899 sed 's/^/| /' conftest.$ac_ext >&5
    7900 
    7901 ac_cv_lib_dl_main=no
    7902 fi
    7903 rm -f conftest.err conftest.$ac_objext \
    7904       conftest$ac_exeext conftest.$ac_ext
     7310if ac_fn_c_try_link "$LINENO"; then :
     7311  ac_cv_lib_perf_perf_set_config=yes
     7312else
     7313  ac_cv_lib_perf_perf_set_config=no
     7314fi
     7315rm -f core conftest.err conftest.$ac_objext \
     7316    conftest$ac_exeext conftest.$ac_ext
    79057317LIBS=$ac_check_lib_save_LIBS
    79067318fi
    7907 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_main" >&5
    7908 echo "${ECHO_T}$ac_cv_lib_dl_main" >&6
    7909 if test $ac_cv_lib_dl_main = yes; then
    7910   cat >>confdefs.h <<_ACEOF
    7911 #define HAVE_LIBDL 1
    7912 _ACEOF
    7913 
    7914   LIBS="-ldl $LIBS"
    7915 
    7916 fi
    7917 
    7918 
    7919 echo "$as_me:$LINENO: checking for main in -lm" >&5
    7920 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
    7921 if test "${ac_cv_lib_m_main+set}" = set; then
    7922   echo $ECHO_N "(cached) $ECHO_C" >&6
    7923 else
    7924   ac_check_lib_save_LIBS=$LIBS
    7925 LIBS="-lm  $LIBS"
    7926 cat >conftest.$ac_ext <<_ACEOF
    7927 /* confdefs.h.  */
    7928 _ACEOF
    7929 cat confdefs.h >>conftest.$ac_ext
    7930 cat >>conftest.$ac_ext <<_ACEOF
    7931 /* end confdefs.h.  */
    7932 
    7933 
    7934 int
    7935 main ()
    7936 {
    7937 main ();
    7938   ;
    7939   return 0;
    7940 }
    7941 _ACEOF
    7942 rm -f conftest.$ac_objext conftest$ac_exeext
    7943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7944   (eval $ac_link) 2>conftest.er1
    7945   ac_status=$?
    7946   grep -v '^ *+' conftest.er1 >conftest.err
    7947   rm -f conftest.er1
    7948   cat conftest.err >&5
    7949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7950   (exit $ac_status); } &&
    7951          { ac_try='test -z "$ac_c_werror_flag"
    7952                          || test ! -s conftest.err'
    7953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7954   (eval $ac_try) 2>&5
    7955   ac_status=$?
    7956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7957   (exit $ac_status); }; } &&
    7958          { ac_try='test -s conftest$ac_exeext'
    7959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7960   (eval $ac_try) 2>&5
    7961   ac_status=$?
    7962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7963   (exit $ac_status); }; }; then
    7964   ac_cv_lib_m_main=yes
    7965 else
    7966   echo "$as_me: failed program was:" >&5
    7967 sed 's/^/| /' conftest.$ac_ext >&5
    7968 
    7969 ac_cv_lib_m_main=no
    7970 fi
    7971 rm -f conftest.err conftest.$ac_objext \
    7972       conftest$ac_exeext conftest.$ac_ext
    7973 LIBS=$ac_check_lib_save_LIBS
    7974 fi
    7975 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
    7976 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
    7977 if test $ac_cv_lib_m_main = yes; then
    7978   cat >>confdefs.h <<_ACEOF
    7979 #define HAVE_LIBM 1
    7980 _ACEOF
    7981 
    7982   LIBS="-lm $LIBS"
    7983 
    7984 fi
    7985 
    7986 
    7987 echo "$as_me:$LINENO: checking for main in -lfl" >&5
    7988 echo $ECHO_N "checking for main in -lfl... $ECHO_C" >&6
    7989 if test "${ac_cv_lib_fl_main+set}" = set; then
    7990   echo $ECHO_N "(cached) $ECHO_C" >&6
    7991 else
    7992   ac_check_lib_save_LIBS=$LIBS
    7993 LIBS="-lfl  $LIBS"
    7994 cat >conftest.$ac_ext <<_ACEOF
    7995 /* confdefs.h.  */
    7996 _ACEOF
    7997 cat confdefs.h >>conftest.$ac_ext
    7998 cat >>conftest.$ac_ext <<_ACEOF
    7999 /* end confdefs.h.  */
    8000 
    8001 
    8002 int
    8003 main ()
    8004 {
    8005 main ();
    8006   ;
    8007   return 0;
    8008 }
    8009 _ACEOF
    8010 rm -f conftest.$ac_objext conftest$ac_exeext
    8011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    8012   (eval $ac_link) 2>conftest.er1
    8013   ac_status=$?
    8014   grep -v '^ *+' conftest.er1 >conftest.err
    8015   rm -f conftest.er1
    8016   cat conftest.err >&5
    8017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8018   (exit $ac_status); } &&
    8019          { ac_try='test -z "$ac_c_werror_flag"
    8020                          || test ! -s conftest.err'
    8021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8022   (eval $ac_try) 2>&5
    8023   ac_status=$?
    8024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8025   (exit $ac_status); }; } &&
    8026          { ac_try='test -s conftest$ac_exeext'
    8027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8028   (eval $ac_try) 2>&5
    8029   ac_status=$?
    8030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8031   (exit $ac_status); }; }; then
    8032   ac_cv_lib_fl_main=yes
    8033 else
    8034   echo "$as_me: failed program was:" >&5
    8035 sed 's/^/| /' conftest.$ac_ext >&5
    8036 
    8037 ac_cv_lib_fl_main=no
    8038 fi
    8039 rm -f conftest.err conftest.$ac_objext \
    8040       conftest$ac_exeext conftest.$ac_ext
    8041 LIBS=$ac_check_lib_save_LIBS
    8042 fi
    8043 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_main" >&5
    8044 echo "${ECHO_T}$ac_cv_lib_fl_main" >&6
    8045 if test $ac_cv_lib_fl_main = yes; then
    8046   cat >>confdefs.h <<_ACEOF
    8047 #define HAVE_LIBFL 1
    8048 _ACEOF
    8049 
    8050   LIBS="-lfl $LIBS"
    8051 
    8052 fi
    8053 
    8054 if test "${ac_cv_header_perf_h+set}" = set; then
    8055   echo "$as_me:$LINENO: checking for perf.h" >&5
    8056 echo $ECHO_N "checking for perf.h... $ECHO_C" >&6
    8057 if test "${ac_cv_header_perf_h+set}" = set; then
    8058   echo $ECHO_N "(cached) $ECHO_C" >&6
    8059 fi
    8060 echo "$as_me:$LINENO: result: $ac_cv_header_perf_h" >&5
    8061 echo "${ECHO_T}$ac_cv_header_perf_h" >&6
    8062 else
    8063   # Is the header compilable?
    8064 echo "$as_me:$LINENO: checking perf.h usability" >&5
    8065 echo $ECHO_N "checking perf.h usability... $ECHO_C" >&6
    8066 cat >conftest.$ac_ext <<_ACEOF
    8067 /* confdefs.h.  */
    8068 _ACEOF
    8069 cat confdefs.h >>conftest.$ac_ext
    8070 cat >>conftest.$ac_ext <<_ACEOF
    8071 /* end confdefs.h.  */
    8072 $ac_includes_default
    8073 #include <perf.h>
    8074 _ACEOF
    8075 rm -f conftest.$ac_objext
    8076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    8077   (eval $ac_compile) 2>conftest.er1
    8078   ac_status=$?
    8079   grep -v '^ *+' conftest.er1 >conftest.err
    8080   rm -f conftest.er1
    8081   cat conftest.err >&5
    8082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8083   (exit $ac_status); } &&
    8084          { ac_try='test -z "$ac_c_werror_flag"
    8085                          || test ! -s conftest.err'
    8086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8087   (eval $ac_try) 2>&5
    8088   ac_status=$?
    8089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8090   (exit $ac_status); }; } &&
    8091          { ac_try='test -s conftest.$ac_objext'
    8092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8093   (eval $ac_try) 2>&5
    8094   ac_status=$?
    8095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8096   (exit $ac_status); }; }; then
    8097   ac_header_compiler=yes
    8098 else
    8099   echo "$as_me: failed program was:" >&5
    8100 sed 's/^/| /' conftest.$ac_ext >&5
    8101 
    8102 ac_header_compiler=no
    8103 fi
    8104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    8105 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    8106 echo "${ECHO_T}$ac_header_compiler" >&6
    8107 
    8108 # Is the header present?
    8109 echo "$as_me:$LINENO: checking perf.h presence" >&5
    8110 echo $ECHO_N "checking perf.h presence... $ECHO_C" >&6
    8111 cat >conftest.$ac_ext <<_ACEOF
    8112 /* confdefs.h.  */
    8113 _ACEOF
    8114 cat confdefs.h >>conftest.$ac_ext
    8115 cat >>conftest.$ac_ext <<_ACEOF
    8116 /* end confdefs.h.  */
    8117 #include <perf.h>
    8118 _ACEOF
    8119 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    8120   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    8121   ac_status=$?
    8122   grep -v '^ *+' conftest.er1 >conftest.err
    8123   rm -f conftest.er1
    8124   cat conftest.err >&5
    8125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8126   (exit $ac_status); } >/dev/null; then
    8127   if test -s conftest.err; then
    8128     ac_cpp_err=$ac_c_preproc_warn_flag
    8129     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    8130   else
    8131     ac_cpp_err=
    8132   fi
    8133 else
    8134   ac_cpp_err=yes
    8135 fi
    8136 if test -z "$ac_cpp_err"; then
    8137   ac_header_preproc=yes
    8138 else
    8139   echo "$as_me: failed program was:" >&5
    8140 sed 's/^/| /' conftest.$ac_ext >&5
    8141 
    8142   ac_header_preproc=no
    8143 fi
    8144 rm -f conftest.err conftest.$ac_ext
    8145 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    8146 echo "${ECHO_T}$ac_header_preproc" >&6
    8147 
    8148 # So?  What about this header?
    8149 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    8150   yes:no: )
    8151     { echo "$as_me:$LINENO: WARNING: perf.h: accepted by the compiler, rejected by the preprocessor!" >&5
    8152 echo "$as_me: WARNING: perf.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    8153     { echo "$as_me:$LINENO: WARNING: perf.h: proceeding with the compiler's result" >&5
    8154 echo "$as_me: WARNING: perf.h: proceeding with the compiler's result" >&2;}
    8155     ac_header_preproc=yes
    8156     ;;
    8157   no:yes:* )
    8158     { echo "$as_me:$LINENO: WARNING: perf.h: present but cannot be compiled" >&5
    8159 echo "$as_me: WARNING: perf.h: present but cannot be compiled" >&2;}
    8160     { echo "$as_me:$LINENO: WARNING: perf.h:     check for missing prerequisite headers?" >&5
    8161 echo "$as_me: WARNING: perf.h:     check for missing prerequisite headers?" >&2;}
    8162     { echo "$as_me:$LINENO: WARNING: perf.h: see the Autoconf documentation" >&5
    8163 echo "$as_me: WARNING: perf.h: see the Autoconf documentation" >&2;}
    8164     { echo "$as_me:$LINENO: WARNING: perf.h:     section \"Present But Cannot Be Compiled\"" >&5
    8165 echo "$as_me: WARNING: perf.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    8166     { echo "$as_me:$LINENO: WARNING: perf.h: proceeding with the preprocessor's result" >&5
    8167 echo "$as_me: WARNING: perf.h: proceeding with the preprocessor's result" >&2;}
    8168     { echo "$as_me:$LINENO: WARNING: perf.h: in the future, the compiler will take precedence" >&5
    8169 echo "$as_me: WARNING: perf.h: in the future, the compiler will take precedence" >&2;}
    8170     (
    8171       cat <<\_ASBOX
    8172 ## ------------------------------------------ ##
    8173 ## Report this to the AC_PACKAGE_NAME lists.  ##
    8174 ## ------------------------------------------ ##
    8175 _ASBOX
    8176     ) |
    8177       sed "s/^/$as_me: WARNING:     /" >&2
    8178     ;;
    8179 esac
    8180 echo "$as_me:$LINENO: checking for perf.h" >&5
    8181 echo $ECHO_N "checking for perf.h... $ECHO_C" >&6
    8182 if test "${ac_cv_header_perf_h+set}" = set; then
    8183   echo $ECHO_N "(cached) $ECHO_C" >&6
    8184 else
    8185   ac_cv_header_perf_h=$ac_header_preproc
    8186 fi
    8187 echo "$as_me:$LINENO: result: $ac_cv_header_perf_h" >&5
    8188 echo "${ECHO_T}$ac_cv_header_perf_h" >&6
    8189 
    8190 fi
    8191 if test $ac_cv_header_perf_h = yes; then
    8192 
    8193   echo "$as_me:$LINENO: checking for perf_set_config in -lperf" >&5
    8194 echo $ECHO_N "checking for perf_set_config in -lperf... $ECHO_C" >&6
    8195 if test "${ac_cv_lib_perf_perf_set_config+set}" = set; then
    8196   echo $ECHO_N "(cached) $ECHO_C" >&6
    8197 else
    8198   ac_check_lib_save_LIBS=$LIBS
    8199 LIBS="-lperf  $LIBS"
    8200 cat >conftest.$ac_ext <<_ACEOF
    8201 /* confdefs.h.  */
    8202 _ACEOF
    8203 cat confdefs.h >>conftest.$ac_ext
    8204 cat >>conftest.$ac_ext <<_ACEOF
    8205 /* end confdefs.h.  */
    8206 
    8207 /* Override any gcc2 internal prototype to avoid an error.  */
    8208 #ifdef __cplusplus
    8209 extern "C"
    8210 #endif
    8211 /* We use char because int might match the return type of a gcc2
    8212    builtin and then its argument prototype would still apply.  */
    8213 char perf_set_config ();
    8214 int
    8215 main ()
    8216 {
    8217 perf_set_config ();
    8218   ;
    8219   return 0;
    8220 }
    8221 _ACEOF
    8222 rm -f conftest.$ac_objext conftest$ac_exeext
    8223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    8224   (eval $ac_link) 2>conftest.er1
    8225   ac_status=$?
    8226   grep -v '^ *+' conftest.er1 >conftest.err
    8227   rm -f conftest.er1
    8228   cat conftest.err >&5
    8229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8230   (exit $ac_status); } &&
    8231          { ac_try='test -z "$ac_c_werror_flag"
    8232                          || test ! -s conftest.err'
    8233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8234   (eval $ac_try) 2>&5
    8235   ac_status=$?
    8236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8237   (exit $ac_status); }; } &&
    8238          { ac_try='test -s conftest$ac_exeext'
    8239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8240   (eval $ac_try) 2>&5
    8241   ac_status=$?
    8242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8243   (exit $ac_status); }; }; then
    8244   ac_cv_lib_perf_perf_set_config=yes
    8245 else
    8246   echo "$as_me: failed program was:" >&5
    8247 sed 's/^/| /' conftest.$ac_ext >&5
    8248 
    8249 ac_cv_lib_perf_perf_set_config=no
    8250 fi
    8251 rm -f conftest.err conftest.$ac_objext \
    8252       conftest$ac_exeext conftest.$ac_ext
    8253 LIBS=$ac_check_lib_save_LIBS
    8254 fi
    8255 echo "$as_me:$LINENO: result: $ac_cv_lib_perf_perf_set_config" >&5
    8256 echo "${ECHO_T}$ac_cv_lib_perf_perf_set_config" >&6
    8257 if test $ac_cv_lib_perf_perf_set_config = yes; then
     7319{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_perf_perf_set_config" >&5
     7320$as_echo "$ac_cv_lib_perf_perf_set_config" >&6; }
     7321if test "x$ac_cv_lib_perf_perf_set_config" = xyes; then :
    82587322
    82597323    HAVE_PERF=yes
    82607324    LIBS="-lperf $LIBS"
    8261     cat >>confdefs.h <<\_ACEOF
    8262 #define HAVE_PERF 1
    8263 _ACEOF
    8264 
    8265 
    8266 fi
    8267 
    8268 
    8269 
    8270 fi
    8271 
    8272 
    8273 
    8274 if test "${ac_cv_header_execinfo_h+set}" = set; then
    8275   echo "$as_me:$LINENO: checking for execinfo.h" >&5
    8276 echo $ECHO_N "checking for execinfo.h... $ECHO_C" >&6
    8277 if test "${ac_cv_header_execinfo_h+set}" = set; then
    8278   echo $ECHO_N "(cached) $ECHO_C" >&6
    8279 fi
    8280 echo "$as_me:$LINENO: result: $ac_cv_header_execinfo_h" >&5
    8281 echo "${ECHO_T}$ac_cv_header_execinfo_h" >&6
    8282 else
    8283   # Is the header compilable?
    8284 echo "$as_me:$LINENO: checking execinfo.h usability" >&5
    8285 echo $ECHO_N "checking execinfo.h usability... $ECHO_C" >&6
    8286 cat >conftest.$ac_ext <<_ACEOF
    8287 /* confdefs.h.  */
    8288 _ACEOF
    8289 cat confdefs.h >>conftest.$ac_ext
    8290 cat >>conftest.$ac_ext <<_ACEOF
    8291 /* end confdefs.h.  */
    8292 $ac_includes_default
    8293 #include <execinfo.h>
    8294 _ACEOF
    8295 rm -f conftest.$ac_objext
    8296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    8297   (eval $ac_compile) 2>conftest.er1
    8298   ac_status=$?
    8299   grep -v '^ *+' conftest.er1 >conftest.err
    8300   rm -f conftest.er1
    8301   cat conftest.err >&5
    8302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8303   (exit $ac_status); } &&
    8304          { ac_try='test -z "$ac_c_werror_flag"
    8305                          || test ! -s conftest.err'
    8306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8307   (eval $ac_try) 2>&5
    8308   ac_status=$?
    8309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8310   (exit $ac_status); }; } &&
    8311          { ac_try='test -s conftest.$ac_objext'
    8312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8313   (eval $ac_try) 2>&5
    8314   ac_status=$?
    8315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8316   (exit $ac_status); }; }; then
    8317   ac_header_compiler=yes
    8318 else
    8319   echo "$as_me: failed program was:" >&5
    8320 sed 's/^/| /' conftest.$ac_ext >&5
    8321 
    8322 ac_header_compiler=no
    8323 fi
    8324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    8325 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    8326 echo "${ECHO_T}$ac_header_compiler" >&6
    8327 
    8328 # Is the header present?
    8329 echo "$as_me:$LINENO: checking execinfo.h presence" >&5
    8330 echo $ECHO_N "checking execinfo.h presence... $ECHO_C" >&6
    8331 cat >conftest.$ac_ext <<_ACEOF
    8332 /* confdefs.h.  */
    8333 _ACEOF
    8334 cat confdefs.h >>conftest.$ac_ext
    8335 cat >>conftest.$ac_ext <<_ACEOF
    8336 /* end confdefs.h.  */
    8337 #include <execinfo.h>
    8338 _ACEOF
    8339 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    8340   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    8341   ac_status=$?
    8342   grep -v '^ *+' conftest.er1 >conftest.err
    8343   rm -f conftest.er1
    8344   cat conftest.err >&5
    8345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8346   (exit $ac_status); } >/dev/null; then
    8347   if test -s conftest.err; then
    8348     ac_cpp_err=$ac_c_preproc_warn_flag
    8349     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    8350   else
    8351     ac_cpp_err=
    8352   fi
    8353 else
    8354   ac_cpp_err=yes
    8355 fi
    8356 if test -z "$ac_cpp_err"; then
    8357   ac_header_preproc=yes
    8358 else
    8359   echo "$as_me: failed program was:" >&5
    8360 sed 's/^/| /' conftest.$ac_ext >&5
    8361 
    8362   ac_header_preproc=no
    8363 fi
    8364 rm -f conftest.err conftest.$ac_ext
    8365 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    8366 echo "${ECHO_T}$ac_header_preproc" >&6
    8367 
    8368 # So?  What about this header?
    8369 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    8370   yes:no: )
    8371     { echo "$as_me:$LINENO: WARNING: execinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
    8372 echo "$as_me: WARNING: execinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    8373     { echo "$as_me:$LINENO: WARNING: execinfo.h: proceeding with the compiler's result" >&5
    8374 echo "$as_me: WARNING: execinfo.h: proceeding with the compiler's result" >&2;}
    8375     ac_header_preproc=yes
    8376     ;;
    8377   no:yes:* )
    8378     { echo "$as_me:$LINENO: WARNING: execinfo.h: present but cannot be compiled" >&5
    8379 echo "$as_me: WARNING: execinfo.h: present but cannot be compiled" >&2;}
    8380     { echo "$as_me:$LINENO: WARNING: execinfo.h:     check for missing prerequisite headers?" >&5
    8381 echo "$as_me: WARNING: execinfo.h:     check for missing prerequisite headers?" >&2;}
    8382     { echo "$as_me:$LINENO: WARNING: execinfo.h: see the Autoconf documentation" >&5
    8383 echo "$as_me: WARNING: execinfo.h: see the Autoconf documentation" >&2;}
    8384     { echo "$as_me:$LINENO: WARNING: execinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
    8385 echo "$as_me: WARNING: execinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    8386     { echo "$as_me:$LINENO: WARNING: execinfo.h: proceeding with the preprocessor's result" >&5
    8387 echo "$as_me: WARNING: execinfo.h: proceeding with the preprocessor's result" >&2;}
    8388     { echo "$as_me:$LINENO: WARNING: execinfo.h: in the future, the compiler will take precedence" >&5
    8389 echo "$as_me: WARNING: execinfo.h: in the future, the compiler will take precedence" >&2;}
    8390     (
    8391       cat <<\_ASBOX
    8392 ## ------------------------------------------ ##
    8393 ## Report this to the AC_PACKAGE_NAME lists.  ##
    8394 ## ------------------------------------------ ##
    8395 _ASBOX
    8396     ) |
    8397       sed "s/^/$as_me: WARNING:     /" >&2
    8398     ;;
    8399 esac
    8400 echo "$as_me:$LINENO: checking for execinfo.h" >&5
    8401 echo $ECHO_N "checking for execinfo.h... $ECHO_C" >&6
    8402 if test "${ac_cv_header_execinfo_h+set}" = set; then
    8403   echo $ECHO_N "(cached) $ECHO_C" >&6
    8404 else
    8405   ac_cv_header_execinfo_h=$ac_header_preproc
    8406 fi
    8407 echo "$as_me:$LINENO: result: $ac_cv_header_execinfo_h" >&5
    8408 echo "${ECHO_T}$ac_cv_header_execinfo_h" >&6
    8409 
    8410 fi
    8411 if test $ac_cv_header_execinfo_h = yes; then
     7325
     7326$as_echo "#define HAVE_PERF 1" >>confdefs.h
     7327
     7328
     7329fi
     7330
     7331
     7332
     7333fi
     7334
     7335
     7336
     7337ac_fn_c_check_header_mongrel "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default"
     7338if test "x$ac_cv_header_execinfo_h" = xyes; then :
    84127339  HAVE_EXECINFO_H_INC=1
    84137340fi
    84147341
    84157342
    8416 echo "$as_me:$LINENO: checking for backtrace" >&5
    8417 echo $ECHO_N "checking for backtrace... $ECHO_C" >&6
    8418 if test "${ac_cv_func_backtrace+set}" = set; then
    8419   echo $ECHO_N "(cached) $ECHO_C" >&6
    8420 else
    8421   cat >conftest.$ac_ext <<_ACEOF
    8422 /* confdefs.h.  */
    8423 _ACEOF
    8424 cat confdefs.h >>conftest.$ac_ext
    8425 cat >>conftest.$ac_ext <<_ACEOF
    8426 /* end confdefs.h.  */
    8427 /* Define backtrace to an innocuous variant, in case <limits.h> declares backtrace.
    8428    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    8429 #define backtrace innocuous_backtrace
    8430 
    8431 /* System header to define __stub macros and hopefully few prototypes,
    8432     which can conflict with char backtrace (); below.
    8433     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    8434     <limits.h> exists even on freestanding compilers.  */
    8435 
    8436 #ifdef __STDC__
    8437 # include <limits.h>
    8438 #else
    8439 # include <assert.h>
    8440 #endif
    8441 
    8442 #undef backtrace
    8443 
    8444 /* Override any gcc2 internal prototype to avoid an error.  */
    8445 #ifdef __cplusplus
    8446 extern "C"
    8447 {
    8448 #endif
    8449 /* We use char because int might match the return type of a gcc2
    8450    builtin and then its argument prototype would still apply.  */
    8451 char backtrace ();
    8452 /* The GNU C library defines this for functions which it implements
    8453     to always fail with ENOSYS.  Some functions are actually named
    8454     something starting with __ and the normal name is an alias.  */
    8455 #if defined (__stub_backtrace) || defined (__stub___backtrace)
    8456 choke me
    8457 #else
    8458 char (*f) () = backtrace;
    8459 #endif
    8460 #ifdef __cplusplus
    8461 }
    8462 #endif
    8463 
    8464 int
    8465 main ()
    8466 {
    8467 return f != backtrace;
    8468   ;
    8469   return 0;
    8470 }
    8471 _ACEOF
    8472 rm -f conftest.$ac_objext conftest$ac_exeext
    8473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    8474   (eval $ac_link) 2>conftest.er1
    8475   ac_status=$?
    8476   grep -v '^ *+' conftest.er1 >conftest.err
    8477   rm -f conftest.er1
    8478   cat conftest.err >&5
    8479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8480   (exit $ac_status); } &&
    8481          { ac_try='test -z "$ac_c_werror_flag"
    8482                          || test ! -s conftest.err'
    8483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8484   (eval $ac_try) 2>&5
    8485   ac_status=$?
    8486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8487   (exit $ac_status); }; } &&
    8488          { ac_try='test -s conftest$ac_exeext'
    8489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8490   (eval $ac_try) 2>&5
    8491   ac_status=$?
    8492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8493   (exit $ac_status); }; }; then
    8494   ac_cv_func_backtrace=yes
    8495 else
    8496   echo "$as_me: failed program was:" >&5
    8497 sed 's/^/| /' conftest.$ac_ext >&5
    8498 
    8499 ac_cv_func_backtrace=no
    8500 fi
    8501 rm -f conftest.err conftest.$ac_objext \
    8502       conftest$ac_exeext conftest.$ac_ext
    8503 fi
    8504 echo "$as_me:$LINENO: result: $ac_cv_func_backtrace" >&5
    8505 echo "${ECHO_T}$ac_cv_func_backtrace" >&6
    8506 if test $ac_cv_func_backtrace = yes; then
     7343ac_fn_c_check_func "$LINENO" "backtrace" "ac_cv_func_backtrace"
     7344if test "x$ac_cv_func_backtrace" = xyes; then :
    85077345  HAVE_BACKTRACE_FUNC=1
    85087346fi
    85097347
    8510 echo "$as_me:$LINENO: checking for backtrace_symbols_fd" >&5
    8511 echo $ECHO_N "checking for backtrace_symbols_fd... $ECHO_C" >&6
    8512 if test "${ac_cv_func_backtrace_symbols_fd+set}" = set; then
    8513   echo $ECHO_N "(cached) $ECHO_C" >&6
    8514 else
    8515   cat >conftest.$ac_ext <<_ACEOF
    8516 /* confdefs.h.  */
    8517 _ACEOF
    8518 cat confdefs.h >>conftest.$ac_ext
    8519 cat >>conftest.$ac_ext <<_ACEOF
    8520 /* end confdefs.h.  */
    8521 /* Define backtrace_symbols_fd to an innocuous variant, in case <limits.h> declares backtrace_symbols_fd.
    8522    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    8523 #define backtrace_symbols_fd innocuous_backtrace_symbols_fd
    8524 
    8525 /* System header to define __stub macros and hopefully few prototypes,
    8526     which can conflict with char backtrace_symbols_fd (); below.
    8527     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    8528     <limits.h> exists even on freestanding compilers.  */
    8529 
    8530 #ifdef __STDC__
    8531 # include <limits.h>
    8532 #else
    8533 # include <assert.h>
    8534 #endif
    8535 
    8536 #undef backtrace_symbols_fd
    8537 
    8538 /* Override any gcc2 internal prototype to avoid an error.  */
    8539 #ifdef __cplusplus
    8540 extern "C"
    8541 {
    8542 #endif
    8543 /* We use char because int might match the return type of a gcc2
    8544    builtin and then its argument prototype would still apply.  */
    8545 char backtrace_symbols_fd ();
    8546 /* The GNU C library defines this for functions which it implements
    8547     to always fail with ENOSYS.  Some functions are actually named
    8548     something starting with __ and the normal name is an alias.  */
    8549 #if defined (__stub_backtrace_symbols_fd) || defined (__stub___backtrace_symbols_fd)
    8550 choke me
    8551 #else
    8552 char (*f) () = backtrace_symbols_fd;
    8553 #endif
    8554 #ifdef __cplusplus
    8555 }
    8556 #endif
    8557 
    8558 int
    8559 main ()
    8560 {
    8561 return f != backtrace_symbols_fd;
    8562   ;
    8563   return 0;
    8564 }
    8565 _ACEOF
    8566 rm -f conftest.$ac_objext conftest$ac_exeext
    8567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    8568   (eval $ac_link) 2>conftest.er1
    8569   ac_status=$?
    8570   grep -v '^ *+' conftest.er1 >conftest.err
    8571   rm -f conftest.er1
    8572   cat conftest.err >&5
    8573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8574   (exit $ac_status); } &&
    8575          { ac_try='test -z "$ac_c_werror_flag"
    8576                          || test ! -s conftest.err'
    8577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8578   (eval $ac_try) 2>&5
    8579   ac_status=$?
    8580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8581   (exit $ac_status); }; } &&
    8582          { ac_try='test -s conftest$ac_exeext'
    8583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8584   (eval $ac_try) 2>&5
    8585   ac_status=$?
    8586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8587   (exit $ac_status); }; }; then
    8588   ac_cv_func_backtrace_symbols_fd=yes
    8589 else
    8590   echo "$as_me: failed program was:" >&5
    8591 sed 's/^/| /' conftest.$ac_ext >&5
    8592 
    8593 ac_cv_func_backtrace_symbols_fd=no
    8594 fi
    8595 rm -f conftest.err conftest.$ac_objext \
    8596       conftest$ac_exeext conftest.$ac_ext
    8597 fi
    8598 echo "$as_me:$LINENO: result: $ac_cv_func_backtrace_symbols_fd" >&5
    8599 echo "${ECHO_T}$ac_cv_func_backtrace_symbols_fd" >&6
    8600 if test $ac_cv_func_backtrace_symbols_fd = yes; then
     7348ac_fn_c_check_func "$LINENO" "backtrace_symbols_fd" "ac_cv_func_backtrace_symbols_fd"
     7349if test "x$ac_cv_func_backtrace_symbols_fd" = xyes; then :
    86017350  HAVE_BACKTRACE_SYMBOLS_FD_FUNC=1
    86027351fi
    86037352
    86047353if test -n "$HAVE_EXECINFO_H_INC" -a -n "$HAVE_BACKTRACE_FUNC"  -a -n "$HAVE_BACKTRACE_SYMBOLS_FD_FUNC"; then
    8605   cat >>confdefs.h <<\_ACEOF
    8606 #define HAVE_BACKTRACE 1
    8607 _ACEOF
     7354
     7355$as_echo "#define HAVE_BACKTRACE 1" >>confdefs.h
    86087356
    86097357fi
     
    86127360
    86137361
    8614 
    8615   ac_ext=cc
     7362  ac_ext=cpp
    86167363ac_cpp='$CXXCPP $CPPFLAGS'
    86177364ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    86197366ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    86207367
    8621       echo "$as_me:$LINENO: checking for mpi.h" >&5
    8622 echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6
    8623   cat >conftest.$ac_ext <<_ACEOF
    8624 /* confdefs.h.  */
    8625 _ACEOF
    8626 cat confdefs.h >>conftest.$ac_ext
    8627 cat >>conftest.$ac_ext <<_ACEOF
     7368      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpi.h" >&5
     7369$as_echo_n "checking for mpi.h... " >&6; }
     7370  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    86287371/* end confdefs.h.  */
    86297372#include <mpi.h>
     
    86367379}
    86377380_ACEOF
    8638 rm -f conftest.$ac_objext conftest$ac_exeext
    8639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    8640   (eval $ac_link) 2>conftest.er1
    8641   ac_status=$?
    8642   grep -v '^ *+' conftest.er1 >conftest.err
    8643   rm -f conftest.er1
    8644   cat conftest.err >&5
    8645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8646   (exit $ac_status); } &&
    8647          { ac_try='test -z "$ac_cxx_werror_flag"
    8648                          || test ! -s conftest.err'
    8649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8650   (eval $ac_try) 2>&5
    8651   ac_status=$?
    8652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8653   (exit $ac_status); }; } &&
    8654          { ac_try='test -s conftest$ac_exeext'
    8655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8656   (eval $ac_try) 2>&5
    8657   ac_status=$?
    8658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8659   (exit $ac_status); }; }; then
     7381if ac_fn_cxx_try_link "$LINENO"; then :
    86607382  have_mpi_h=yes
    86617383else
    8662   echo "$as_me: failed program was:" >&5
    8663 sed 's/^/| /' conftest.$ac_ext >&5
    8664 
    8665 have_mpi_h=no
    8666 fi
    8667 rm -f conftest.err conftest.$ac_objext \
    8668       conftest$ac_exeext conftest.$ac_ext
    8669   echo "$as_me:$LINENO: result: $have_mpi_h" >&5
    8670 echo "${ECHO_T}$have_mpi_h" >&6
     7384  have_mpi_h=no
     7385fi
     7386rm -f core conftest.err conftest.$ac_objext \
     7387    conftest$ac_exeext conftest.$ac_ext
     7388  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mpi_h" >&5
     7389$as_echo "$have_mpi_h" >&6; }
    86717390  if test "$have_mpi_h" = yes; then
    8672     echo "$as_me:$LINENO: checking for MPI_Init" >&5
    8673 echo $ECHO_N "checking for MPI_Init... $ECHO_C" >&6
    8674 if test "${ac_cv_func_MPI_Init+set}" = set; then
    8675   echo $ECHO_N "(cached) $ECHO_C" >&6
    8676 else
    8677   cat >conftest.$ac_ext <<_ACEOF
    8678 /* confdefs.h.  */
    8679 _ACEOF
    8680 cat confdefs.h >>conftest.$ac_ext
    8681 cat >>conftest.$ac_ext <<_ACEOF
     7391    ac_fn_cxx_check_func "$LINENO" "MPI_Init" "ac_cv_func_MPI_Init"
     7392if test "x$ac_cv_func_MPI_Init" = xyes; then :
     7393  HAVE_MPI=yes
     7394else
     7395  HAVE_MPI=no
     7396fi
     7397
     7398    if test "$HAVE_MPI" = no; then
     7399      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lmpi" >&5
     7400$as_echo_n "checking for MPI_Init in -lmpi... " >&6; }
     7401if ${ac_cv_lib_mpi_MPI_Init+:} false; then :
     7402  $as_echo_n "(cached) " >&6
     7403else
     7404  ac_check_lib_save_LIBS=$LIBS
     7405LIBS="-lmpi  $LIBS"
     7406cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    86827407/* end confdefs.h.  */
    8683 /* Define MPI_Init to an innocuous variant, in case <limits.h> declares MPI_Init.
    8684    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    8685 #define MPI_Init innocuous_MPI_Init
    8686 
    8687 /* System header to define __stub macros and hopefully few prototypes,
    8688     which can conflict with char MPI_Init (); below.
    8689     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    8690     <limits.h> exists even on freestanding compilers.  */
    8691 
    8692 #ifdef __STDC__
    8693 # include <limits.h>
    8694 #else
    8695 # include <assert.h>
    8696 #endif
    8697 
    8698 #undef MPI_Init
    8699 
    8700 /* Override any gcc2 internal prototype to avoid an error.  */
     7408
     7409/* Override any GCC internal prototype to avoid an error.
     7410   Use char because int might match the return type of a GCC
     7411   builtin and then its argument prototype would still apply.  */
    87017412#ifdef __cplusplus
    87027413extern "C"
    8703 {
    87047414#endif
    8705 /* We use char because int might match the return type of a gcc2
    8706    builtin and then its argument prototype would still apply.  */
    87077415char MPI_Init ();
    8708 /* The GNU C library defines this for functions which it implements
    8709     to always fail with ENOSYS.  Some functions are actually named
    8710     something starting with __ and the normal name is an alias.  */
    8711 #if defined (__stub_MPI_Init) || defined (__stub___MPI_Init)
    8712 choke me
    8713 #else
    8714 char (*f) () = MPI_Init;
    8715 #endif
    8716 #ifdef __cplusplus
    8717 }
    8718 #endif
    8719 
    87207416int
    87217417main ()
    87227418{
    8723 return f != MPI_Init;
     7419return MPI_Init ();
    87247420  ;
    87257421  return 0;
    87267422}
    87277423_ACEOF
    8728 rm -f conftest.$ac_objext conftest$ac_exeext
    8729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    8730   (eval $ac_link) 2>conftest.er1
    8731   ac_status=$?
    8732   grep -v '^ *+' conftest.er1 >conftest.err
    8733   rm -f conftest.er1
    8734   cat conftest.err >&5
    8735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8736   (exit $ac_status); } &&
    8737          { ac_try='test -z "$ac_cxx_werror_flag"
    8738                          || test ! -s conftest.err'
    8739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8740   (eval $ac_try) 2>&5
    8741   ac_status=$?
    8742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8743   (exit $ac_status); }; } &&
    8744          { ac_try='test -s conftest$ac_exeext'
    8745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8746   (eval $ac_try) 2>&5
    8747   ac_status=$?
    8748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8749   (exit $ac_status); }; }; then
    8750   ac_cv_func_MPI_Init=yes
    8751 else
    8752   echo "$as_me: failed program was:" >&5
    8753 sed 's/^/| /' conftest.$ac_ext >&5
    8754 
    8755 ac_cv_func_MPI_Init=no
    8756 fi
    8757 rm -f conftest.err conftest.$ac_objext \
    8758       conftest$ac_exeext conftest.$ac_ext
    8759 fi
    8760 echo "$as_me:$LINENO: result: $ac_cv_func_MPI_Init" >&5
    8761 echo "${ECHO_T}$ac_cv_func_MPI_Init" >&6
    8762 if test $ac_cv_func_MPI_Init = yes; then
    8763   HAVE_MPI=yes
    8764 else
    8765   HAVE_MPI=no
    8766 fi
    8767 
     7424if ac_fn_cxx_try_link "$LINENO"; then :
     7425  ac_cv_lib_mpi_MPI_Init=yes
     7426else
     7427  ac_cv_lib_mpi_MPI_Init=no
     7428fi
     7429rm -f core conftest.err conftest.$ac_objext \
     7430    conftest$ac_exeext conftest.$ac_ext
     7431LIBS=$ac_check_lib_save_LIBS
     7432fi
     7433{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpi_MPI_Init" >&5
     7434$as_echo "$ac_cv_lib_mpi_MPI_Init" >&6; }
     7435if test "x$ac_cv_lib_mpi_MPI_Init" = xyes; then :
     7436  HAVE_MPI=yes;LIBS="-lmpi $LIBS"
     7437fi
     7438
     7439    fi
    87687440    if test "$HAVE_MPI" = no; then
    8769       echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
    8770 echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
    8771 if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
    8772   echo $ECHO_N "(cached) $ECHO_C" >&6
     7441      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lmpich" >&5
     7442$as_echo_n "checking for MPI_Init in -lmpich... " >&6; }
     7443if ${ac_cv_lib_mpich_MPI_Init+:} false; then :
     7444  $as_echo_n "(cached) " >&6
    87737445else
    87747446  ac_check_lib_save_LIBS=$LIBS
    8775 LIBS="-lmpi  $LIBS"
    8776 cat >conftest.$ac_ext <<_ACEOF
    8777 /* confdefs.h.  */
    8778 _ACEOF
    8779 cat confdefs.h >>conftest.$ac_ext
    8780 cat >>conftest.$ac_ext <<_ACEOF
     7447LIBS="-lmpich  $LIBS"
     7448cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    87817449/* end confdefs.h.  */
    87827450
    8783 /* Override any gcc2 internal prototype to avoid an error.  */
     7451/* Override any GCC internal prototype to avoid an error.
     7452   Use char because int might match the return type of a GCC
     7453   builtin and then its argument prototype would still apply.  */
    87847454#ifdef __cplusplus
    87857455extern "C"
    87867456#endif
    8787 /* We use char because int might match the return type of a gcc2
    8788    builtin and then its argument prototype would still apply.  */
    87897457char MPI_Init ();
    87907458int
    87917459main ()
    87927460{
    8793 MPI_Init ();
     7461return MPI_Init ();
    87947462  ;
    87957463  return 0;
    87967464}
    87977465_ACEOF
    8798 rm -f conftest.$ac_objext conftest$ac_exeext
    8799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    8800   (eval $ac_link) 2>conftest.er1
    8801   ac_status=$?
    8802   grep -v '^ *+' conftest.er1 >conftest.err
    8803   rm -f conftest.er1
    8804   cat conftest.err >&5
    8805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8806   (exit $ac_status); } &&
    8807          { ac_try='test -z "$ac_cxx_werror_flag"
    8808                          || test ! -s conftest.err'
    8809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8810   (eval $ac_try) 2>&5
    8811   ac_status=$?
    8812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8813   (exit $ac_status); }; } &&
    8814          { ac_try='test -s conftest$ac_exeext'
    8815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8816   (eval $ac_try) 2>&5
    8817   ac_status=$?
    8818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8819   (exit $ac_status); }; }; then
    8820   ac_cv_lib_mpi_MPI_Init=yes
    8821 else
    8822   echo "$as_me: failed program was:" >&5
    8823 sed 's/^/| /' conftest.$ac_ext >&5
    8824 
    8825 ac_cv_lib_mpi_MPI_Init=no
    8826 fi
    8827 rm -f conftest.err conftest.$ac_objext \
    8828       conftest$ac_exeext conftest.$ac_ext
     7466if ac_fn_cxx_try_link "$LINENO"; then :
     7467  ac_cv_lib_mpich_MPI_Init=yes
     7468else
     7469  ac_cv_lib_mpich_MPI_Init=no
     7470fi
     7471rm -f core conftest.err conftest.$ac_objext \
     7472    conftest$ac_exeext conftest.$ac_ext
    88297473LIBS=$ac_check_lib_save_LIBS
    88307474fi
    8831 echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
    8832 echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
    8833 if test $ac_cv_lib_mpi_MPI_Init = yes; then
    8834   HAVE_MPI=yes;LIBS="-lmpi $LIBS"
     7475{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpich_MPI_Init" >&5
     7476$as_echo "$ac_cv_lib_mpich_MPI_Init" >&6; }
     7477if test "x$ac_cv_lib_mpich_MPI_Init" = xyes; then :
     7478  HAVE_MPI=yes;LIBS="-lmpich $LIBS"
    88357479fi
    88367480
    88377481    fi
    8838     if test "$HAVE_MPI" = no; then
    8839       echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
    8840 echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
    8841 if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
    8842   echo $ECHO_N "(cached) $ECHO_C" >&6
     7482  fi
     7483  if test X$HAVE_MPI = Xyes; then
     7484
     7485$as_echo "#define HAVE_MPI 1" >>confdefs.h
     7486
     7487    ac_fn_cxx_check_func "$LINENO" "MPI_File_open" "ac_cv_func_MPI_File_open"
     7488if test "x$ac_cv_func_MPI_File_open" = xyes; then :
     7489  HAVE_MPIIO=yes;
     7490$as_echo "#define HAVE_MPIIO 1" >>confdefs.h
     7491
     7492fi
     7493
     7494    ac_fn_cxx_check_func "$LINENO" "MPI_Init_thread" "ac_cv_func_MPI_Init_thread"
     7495if test "x$ac_cv_func_MPI_Init_thread" = xyes; then :
     7496
     7497$as_echo "#define HAVE_MPI_INIT_THREAD 1" >>confdefs.h
     7498
     7499fi
     7500
     7501    HAVE_MPIPP=no;
     7502    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Abort in -lmpi++" >&5
     7503$as_echo_n "checking for MPI_Abort in -lmpi++... " >&6; }
     7504if ${ac_cv_lib_mpipp_MPI_Abort+:} false; then :
     7505  $as_echo_n "(cached) " >&6
    88437506else
    88447507  ac_check_lib_save_LIBS=$LIBS
    8845 LIBS="-lmpich  $LIBS"
    8846 cat >conftest.$ac_ext <<_ACEOF
    8847 /* confdefs.h.  */
    8848 _ACEOF
    8849 cat confdefs.h >>conftest.$ac_ext
    8850 cat >>conftest.$ac_ext <<_ACEOF
     7508LIBS="-lmpi++  $LIBS"
     7509cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    88517510/* end confdefs.h.  */
    88527511
    8853 /* Override any gcc2 internal prototype to avoid an error.  */
     7512/* Override any GCC internal prototype to avoid an error.
     7513   Use char because int might match the return type of a GCC
     7514   builtin and then its argument prototype would still apply.  */
    88547515#ifdef __cplusplus
    88557516extern "C"
    88567517#endif
    8857 /* We use char because int might match the return type of a gcc2
    8858    builtin and then its argument prototype would still apply.  */
    8859 char MPI_Init ();
     7518char MPI_Abort ();
    88607519int
    88617520main ()
    88627521{
    8863 MPI_Init ();
     7522return MPI_Abort ();
    88647523  ;
    88657524  return 0;
    88667525}
    88677526_ACEOF
    8868 rm -f conftest.$ac_objext conftest$ac_exeext
    8869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    8870   (eval $ac_link) 2>conftest.er1
    8871   ac_status=$?
    8872   grep -v '^ *+' conftest.er1 >conftest.err
    8873   rm -f conftest.er1
    8874   cat conftest.err >&5
    8875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8876   (exit $ac_status); } &&
    8877          { ac_try='test -z "$ac_cxx_werror_flag"
    8878                          || test ! -s conftest.err'
    8879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8880   (eval $ac_try) 2>&5
    8881   ac_status=$?
    8882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8883   (exit $ac_status); }; } &&
    8884          { ac_try='test -s conftest$ac_exeext'
    8885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8886   (eval $ac_try) 2>&5
    8887   ac_status=$?
    8888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8889   (exit $ac_status); }; }; then
    8890   ac_cv_lib_mpich_MPI_Init=yes
    8891 else
    8892   echo "$as_me: failed program was:" >&5
    8893 sed 's/^/| /' conftest.$ac_ext >&5
    8894 
    8895 ac_cv_lib_mpich_MPI_Init=no
    8896 fi
    8897 rm -f conftest.err conftest.$ac_objext \
    8898       conftest$ac_exeext conftest.$ac_ext
     7527if ac_fn_cxx_try_link "$LINENO"; then :
     7528  ac_cv_lib_mpipp_MPI_Abort=yes
     7529else
     7530  ac_cv_lib_mpipp_MPI_Abort=no
     7531fi
     7532rm -f core conftest.err conftest.$ac_objext \
     7533    conftest$ac_exeext conftest.$ac_ext
    88997534LIBS=$ac_check_lib_save_LIBS
    89007535fi
    8901 echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
    8902 echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
    8903 if test $ac_cv_lib_mpich_MPI_Init = yes; then
    8904   HAVE_MPI=yes;LIBS="-lmpich $LIBS"
    8905 fi
    8906 
    8907     fi
    8908   fi
    8909   if test X$HAVE_MPI = Xyes; then
    8910     cat >>confdefs.h <<\_ACEOF
    8911 #define HAVE_MPI 1
    8912 _ACEOF
    8913 
    8914     echo "$as_me:$LINENO: checking for MPI_File_open" >&5
    8915 echo $ECHO_N "checking for MPI_File_open... $ECHO_C" >&6
    8916 if test "${ac_cv_func_MPI_File_open+set}" = set; then
    8917   echo $ECHO_N "(cached) $ECHO_C" >&6
    8918 else
    8919   cat >conftest.$ac_ext <<_ACEOF
    8920 /* confdefs.h.  */
    8921 _ACEOF
    8922 cat confdefs.h >>conftest.$ac_ext
    8923 cat >>conftest.$ac_ext <<_ACEOF
     7536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpipp_MPI_Abort" >&5
     7537$as_echo "$ac_cv_lib_mpipp_MPI_Abort" >&6; }
     7538if test "x$ac_cv_lib_mpipp_MPI_Abort" = xyes; then :
     7539  HAVE_MPIPP=yes;LIBS="-lmpi++ $LIBS"
     7540fi
     7541
     7542    if test X$HAVE_MPIPP = Xno; then
     7543      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Abort in -lpmpich++" >&5
     7544$as_echo_n "checking for MPI_Abort in -lpmpich++... " >&6; }
     7545if ${ac_cv_lib_pmpichpp_MPI_Abort+:} false; then :
     7546  $as_echo_n "(cached) " >&6
     7547else
     7548  ac_check_lib_save_LIBS=$LIBS
     7549LIBS="-lpmpich++  $LIBS"
     7550cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    89247551/* end confdefs.h.  */
    8925 /* Define MPI_File_open to an innocuous variant, in case <limits.h> declares MPI_File_open.
    8926    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    8927 #define MPI_File_open innocuous_MPI_File_open
    8928 
    8929 /* System header to define __stub macros and hopefully few prototypes,
    8930     which can conflict with char MPI_File_open (); below.
    8931     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    8932     <limits.h> exists even on freestanding compilers.  */
    8933 
    8934 #ifdef __STDC__
    8935 # include <limits.h>
    8936 #else
    8937 # include <assert.h>
    8938 #endif
    8939 
    8940 #undef MPI_File_open
    8941 
    8942 /* Override any gcc2 internal prototype to avoid an error.  */
     7552
     7553/* Override any GCC internal prototype to avoid an error.
     7554   Use char because int might match the return type of a GCC
     7555   builtin and then its argument prototype would still apply.  */
    89437556#ifdef __cplusplus
    89447557extern "C"
    8945 {
    89467558#endif
    8947 /* We use char because int might match the return type of a gcc2
    8948    builtin and then its argument prototype would still apply.  */
    8949 char MPI_File_open ();
    8950 /* The GNU C library defines this for functions which it implements
    8951     to always fail with ENOSYS.  Some functions are actually named
    8952     something starting with __ and the normal name is an alias.  */
    8953 #if defined (__stub_MPI_File_open) || defined (__stub___MPI_File_open)
    8954 choke me
    8955 #else
    8956 char (*f) () = MPI_File_open;
    8957 #endif
    8958 #ifdef __cplusplus
    8959 }
    8960 #endif
    8961 
     7559char MPI_Abort ();
    89627560int
    89637561main ()
    89647562{
    8965 return f != MPI_File_open;
     7563return MPI_Abort ();
    89667564  ;
    89677565  return 0;
    89687566}
    89697567_ACEOF
    8970 rm -f conftest.$ac_objext conftest$ac_exeext
    8971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    8972   (eval $ac_link) 2>conftest.er1
    8973   ac_status=$?
    8974   grep -v '^ *+' conftest.er1 >conftest.err
    8975   rm -f conftest.er1
    8976   cat conftest.err >&5
    8977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8978   (exit $ac_status); } &&
    8979          { ac_try='test -z "$ac_cxx_werror_flag"
    8980                          || test ! -s conftest.err'
    8981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8982   (eval $ac_try) 2>&5
    8983   ac_status=$?
    8984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8985   (exit $ac_status); }; } &&
    8986          { ac_try='test -s conftest$ac_exeext'
    8987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8988   (eval $ac_try) 2>&5
    8989   ac_status=$?
    8990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8991   (exit $ac_status); }; }; then
    8992   ac_cv_func_MPI_File_open=yes
    8993 else
    8994   echo "$as_me: failed program was:" >&5
    8995 sed 's/^/| /' conftest.$ac_ext >&5
    8996 
    8997 ac_cv_func_MPI_File_open=no
    8998 fi
    8999 rm -f conftest.err conftest.$ac_objext \
    9000       conftest$ac_exeext conftest.$ac_ext
    9001 fi
    9002 echo "$as_me:$LINENO: result: $ac_cv_func_MPI_File_open" >&5
    9003 echo "${ECHO_T}$ac_cv_func_MPI_File_open" >&6
    9004 if test $ac_cv_func_MPI_File_open = yes; then
    9005   HAVE_MPIIO=yes;cat >>confdefs.h <<\_ACEOF
    9006 #define HAVE_MPIIO 1
    9007 _ACEOF
    9008 
    9009 fi
    9010 
    9011     echo "$as_me:$LINENO: checking for MPI_Init_thread" >&5
    9012 echo $ECHO_N "checking for MPI_Init_thread... $ECHO_C" >&6
    9013 if test "${ac_cv_func_MPI_Init_thread+set}" = set; then
    9014   echo $ECHO_N "(cached) $ECHO_C" >&6
    9015 else
    9016   cat >conftest.$ac_ext <<_ACEOF
    9017 /* confdefs.h.  */
    9018 _ACEOF
    9019 cat confdefs.h >>conftest.$ac_ext
    9020 cat >>conftest.$ac_ext <<_ACEOF
    9021 /* end confdefs.h.  */
    9022 /* Define MPI_Init_thread to an innocuous variant, in case <limits.h> declares MPI_Init_thread.
    9023    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    9024 #define MPI_Init_thread innocuous_MPI_Init_thread
    9025 
    9026 /* System header to define __stub macros and hopefully few prototypes,
    9027     which can conflict with char MPI_Init_thread (); below.
    9028     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    9029     <limits.h> exists even on freestanding compilers.  */
    9030 
    9031 #ifdef __STDC__
    9032 # include <limits.h>
    9033 #else
    9034 # include <assert.h>
    9035 #endif
    9036 
    9037 #undef MPI_Init_thread
    9038 
    9039 /* Override any gcc2 internal prototype to avoid an error.  */
    9040 #ifdef __cplusplus
    9041 extern "C"
    9042 {
    9043 #endif
    9044 /* We use char because int might match the return type of a gcc2
    9045    builtin and then its argument prototype would still apply.  */
    9046 char MPI_Init_thread ();
    9047 /* The GNU C library defines this for functions which it implements
    9048     to always fail with ENOSYS.  Some functions are actually named
    9049     something starting with __ and the normal name is an alias.  */
    9050 #if defined (__stub_MPI_Init_thread) || defined (__stub___MPI_Init_thread)
    9051 choke me
    9052 #else
    9053 char (*f) () = MPI_Init_thread;
    9054 #endif
    9055 #ifdef __cplusplus
    9056 }
    9057 #endif
    9058 
    9059 int
    9060 main ()
    9061 {
    9062 return f != MPI_Init_thread;
    9063   ;
    9064   return 0;
    9065 }
    9066 _ACEOF
    9067 rm -f conftest.$ac_objext conftest$ac_exeext
    9068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    9069   (eval $ac_link) 2>conftest.er1
    9070   ac_status=$?
    9071   grep -v '^ *+' conftest.er1 >conftest.err
    9072   rm -f conftest.er1
    9073   cat conftest.err >&5
    9074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9075   (exit $ac_status); } &&
    9076          { ac_try='test -z "$ac_cxx_werror_flag"
    9077                          || test ! -s conftest.err'
    9078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9079   (eval $ac_try) 2>&5
    9080   ac_status=$?
    9081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9082   (exit $ac_status); }; } &&
    9083          { ac_try='test -s conftest$ac_exeext'
    9084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9085   (eval $ac_try) 2>&5
    9086   ac_status=$?
    9087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9088   (exit $ac_status); }; }; then
    9089   ac_cv_func_MPI_Init_thread=yes
    9090 else
    9091   echo "$as_me: failed program was:" >&5
    9092 sed 's/^/| /' conftest.$ac_ext >&5
    9093 
    9094 ac_cv_func_MPI_Init_thread=no
    9095 fi
    9096 rm -f conftest.err conftest.$ac_objext \
    9097       conftest$ac_exeext conftest.$ac_ext
    9098 fi
    9099 echo "$as_me:$LINENO: result: $ac_cv_func_MPI_Init_thread" >&5
    9100 echo "${ECHO_T}$ac_cv_func_MPI_Init_thread" >&6
    9101 if test $ac_cv_func_MPI_Init_thread = yes; then
    9102   cat >>confdefs.h <<\_ACEOF
    9103 #define HAVE_MPI_INIT_THREAD 1
    9104 _ACEOF
    9105 
    9106 fi
    9107 
    9108     HAVE_MPIPP=no;
    9109     echo "$as_me:$LINENO: checking for MPI_Abort in -lmpi++" >&5
    9110 echo $ECHO_N "checking for MPI_Abort in -lmpi++... $ECHO_C" >&6
    9111 if test "${ac_cv_lib_mpipp_MPI_Abort+set}" = set; then
    9112   echo $ECHO_N "(cached) $ECHO_C" >&6
    9113 else
    9114   ac_check_lib_save_LIBS=$LIBS
    9115 LIBS="-lmpi++  $LIBS"
    9116 cat >conftest.$ac_ext <<_ACEOF
    9117 /* confdefs.h.  */
    9118 _ACEOF
    9119 cat confdefs.h >>conftest.$ac_ext
    9120 cat >>conftest.$ac_ext <<_ACEOF
    9121 /* end confdefs.h.  */
    9122 
    9123 /* Override any gcc2 internal prototype to avoid an error.  */
    9124 #ifdef __cplusplus
    9125 extern "C"
    9126 #endif
    9127 /* We use char because int might match the return type of a gcc2
    9128    builtin and then its argument prototype would still apply.  */
    9129 char MPI_Abort ();
    9130 int
    9131 main ()
    9132 {
    9133 MPI_Abort ();
    9134   ;
    9135   return 0;
    9136 }
    9137 _ACEOF
    9138 rm -f conftest.$ac_objext conftest$ac_exeext
    9139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    9140   (eval $ac_link) 2>conftest.er1
    9141   ac_status=$?
    9142   grep -v '^ *+' conftest.er1 >conftest.err
    9143   rm -f conftest.er1
    9144   cat conftest.err >&5
    9145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9146   (exit $ac_status); } &&
    9147          { ac_try='test -z "$ac_cxx_werror_flag"
    9148                          || test ! -s conftest.err'
    9149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9150   (eval $ac_try) 2>&5
    9151   ac_status=$?
    9152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9153   (exit $ac_status); }; } &&
    9154          { ac_try='test -s conftest$ac_exeext'
    9155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9156   (eval $ac_try) 2>&5
    9157   ac_status=$?
    9158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9159   (exit $ac_status); }; }; then
    9160   ac_cv_lib_mpipp_MPI_Abort=yes
    9161 else
    9162   echo "$as_me: failed program was:" >&5
    9163 sed 's/^/| /' conftest.$ac_ext >&5
    9164 
    9165 ac_cv_lib_mpipp_MPI_Abort=no
    9166 fi
    9167 rm -f conftest.err conftest.$ac_objext \
    9168       conftest$ac_exeext conftest.$ac_ext
     7568if ac_fn_cxx_try_link "$LINENO"; then :
     7569  ac_cv_lib_pmpichpp_MPI_Abort=yes
     7570else
     7571  ac_cv_lib_pmpichpp_MPI_Abort=no
     7572fi
     7573rm -f core conftest.err conftest.$ac_objext \
     7574    conftest$ac_exeext conftest.$ac_ext
    91697575LIBS=$ac_check_lib_save_LIBS
    91707576fi
    9171 echo "$as_me:$LINENO: result: $ac_cv_lib_mpipp_MPI_Abort" >&5
    9172 echo "${ECHO_T}$ac_cv_lib_mpipp_MPI_Abort" >&6
    9173 if test $ac_cv_lib_mpipp_MPI_Abort = yes; then
    9174   HAVE_MPIPP=yes;LIBS="-lmpi++ $LIBS"
    9175 fi
    9176 
    9177     if test X$HAVE_MPIPP = Xno; then
    9178       echo "$as_me:$LINENO: checking for MPI_Abort in -lpmpich++" >&5
    9179 echo $ECHO_N "checking for MPI_Abort in -lpmpich++... $ECHO_C" >&6
    9180 if test "${ac_cv_lib_pmpichpp_MPI_Abort+set}" = set; then
    9181   echo $ECHO_N "(cached) $ECHO_C" >&6
    9182 else
    9183   ac_check_lib_save_LIBS=$LIBS
    9184 LIBS="-lpmpich++  $LIBS"
    9185 cat >conftest.$ac_ext <<_ACEOF
    9186 /* confdefs.h.  */
    9187 _ACEOF
    9188 cat confdefs.h >>conftest.$ac_ext
    9189 cat >>conftest.$ac_ext <<_ACEOF
    9190 /* end confdefs.h.  */
    9191 
    9192 /* Override any gcc2 internal prototype to avoid an error.  */
    9193 #ifdef __cplusplus
    9194 extern "C"
    9195 #endif
    9196 /* We use char because int might match the return type of a gcc2
    9197    builtin and then its argument prototype would still apply.  */
    9198 char MPI_Abort ();
    9199 int
    9200 main ()
    9201 {
    9202 MPI_Abort ();
    9203   ;
    9204   return 0;
    9205 }
    9206 _ACEOF
    9207 rm -f conftest.$ac_objext conftest$ac_exeext
    9208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    9209   (eval $ac_link) 2>conftest.er1
    9210   ac_status=$?
    9211   grep -v '^ *+' conftest.er1 >conftest.err
    9212   rm -f conftest.er1
    9213   cat conftest.err >&5
    9214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9215   (exit $ac_status); } &&
    9216          { ac_try='test -z "$ac_cxx_werror_flag"
    9217                          || test ! -s conftest.err'
    9218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9219   (eval $ac_try) 2>&5
    9220   ac_status=$?
    9221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9222   (exit $ac_status); }; } &&
    9223          { ac_try='test -s conftest$ac_exeext'
    9224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9225   (eval $ac_try) 2>&5
    9226   ac_status=$?
    9227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9228   (exit $ac_status); }; }; then
    9229   ac_cv_lib_pmpichpp_MPI_Abort=yes
    9230 else
    9231   echo "$as_me: failed program was:" >&5
    9232 sed 's/^/| /' conftest.$ac_ext >&5
    9233 
    9234 ac_cv_lib_pmpichpp_MPI_Abort=no
    9235 fi
    9236 rm -f conftest.err conftest.$ac_objext \
    9237       conftest$ac_exeext conftest.$ac_ext
    9238 LIBS=$ac_check_lib_save_LIBS
    9239 fi
    9240 echo "$as_me:$LINENO: result: $ac_cv_lib_pmpichpp_MPI_Abort" >&5
    9241 echo "${ECHO_T}$ac_cv_lib_pmpichpp_MPI_Abort" >&6
    9242 if test $ac_cv_lib_pmpichpp_MPI_Abort = yes; then
     7577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pmpichpp_MPI_Abort" >&5
     7578$as_echo "$ac_cv_lib_pmpichpp_MPI_Abort" >&6; }
     7579if test "x$ac_cv_lib_pmpichpp_MPI_Abort" = xyes; then :
    92437580  HAVE_MPIPP=yes;LIBS="-lpmpich++ $LIBS"
    92447581fi
    92457582
    92467583    fi
    9247     cat >>confdefs.h <<\_ACEOF
    9248 #define HAVE_MPIPP 1
    9249 _ACEOF
     7584
     7585$as_echo "#define HAVE_MPIPP 1" >>confdefs.h
    92507586
    92517587  fi
     
    92597595
    92607596if test X$HAVE_MPI != Xyes -a $ALWAYS_USE_MPI = yes; then
    9261   { { echo "$as_me:$LINENO: error: --enable-always-use-mpi is set but MPI is not available" >&5
    9262 echo "$as_me: error: --enable-always-use-mpi is set but MPI is not available" >&2;}
    9263    { (exit 1); exit 1; }; }
     7597  as_fn_error $? "--enable-always-use-mpi is set but MPI is not available" "$LINENO" 5
    92647598elif test $ALWAYS_USE_MPI = yes; then
    9265   cat >>confdefs.h <<\_ACEOF
    9266 #define ALWAYS_USE_MPI 1
    9267 _ACEOF
    9268 
    9269 fi
    9270 
    9271 
    9272 
    9273   ac_ext=cc
     7599
     7600$as_echo "#define ALWAYS_USE_MPI 1" >>confdefs.h
     7601
     7602fi
     7603
     7604
     7605  ac_ext=cpp
    92747606ac_cpp='$CXXCPP $CPPFLAGS'
    92757607ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    92777609ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    92787610
    9279   if test "${ac_cv_header_armci_h+set}" = set; then
    9280   echo "$as_me:$LINENO: checking for armci.h" >&5
    9281 echo $ECHO_N "checking for armci.h... $ECHO_C" >&6
    9282 if test "${ac_cv_header_armci_h+set}" = set; then
    9283   echo $ECHO_N "(cached) $ECHO_C" >&6
    9284 fi
    9285 echo "$as_me:$LINENO: result: $ac_cv_header_armci_h" >&5
    9286 echo "${ECHO_T}$ac_cv_header_armci_h" >&6
    9287 else
    9288   # Is the header compilable?
    9289 echo "$as_me:$LINENO: checking armci.h usability" >&5
    9290 echo $ECHO_N "checking armci.h usability... $ECHO_C" >&6
    9291 cat >conftest.$ac_ext <<_ACEOF
    9292 /* confdefs.h.  */
    9293 _ACEOF
    9294 cat confdefs.h >>conftest.$ac_ext
    9295 cat >>conftest.$ac_ext <<_ACEOF
     7611  ac_fn_cxx_check_header_mongrel "$LINENO" "armci.h" "ac_cv_header_armci_h" "$ac_includes_default"
     7612if test "x$ac_cv_header_armci_h" = xyes; then :
     7613
     7614    ac_fn_cxx_check_func "$LINENO" "ARMCI_Init" "ac_cv_func_ARMCI_Init"
     7615if test "x$ac_cv_func_ARMCI_Init" = xyes; then :
     7616  HAVE_ARMCI=yes
     7617else
     7618
     7619      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ARMCI_Init in -larmci" >&5
     7620$as_echo_n "checking for ARMCI_Init in -larmci... " >&6; }
     7621if ${ac_cv_lib_armci_ARMCI_Init+:} false; then :
     7622  $as_echo_n "(cached) " >&6
     7623else
     7624  ac_check_lib_save_LIBS=$LIBS
     7625LIBS="-larmci  $LIBS"
     7626cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    92967627/* end confdefs.h.  */
    9297 $ac_includes_default
    9298 #include <armci.h>
    9299 _ACEOF
    9300 rm -f conftest.$ac_objext
    9301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    9302   (eval $ac_compile) 2>conftest.er1
    9303   ac_status=$?
    9304   grep -v '^ *+' conftest.er1 >conftest.err
    9305   rm -f conftest.er1
    9306   cat conftest.err >&5
    9307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9308   (exit $ac_status); } &&
    9309          { ac_try='test -z "$ac_cxx_werror_flag"
    9310                          || test ! -s conftest.err'
    9311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9312   (eval $ac_try) 2>&5
    9313   ac_status=$?
    9314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9315   (exit $ac_status); }; } &&
    9316          { ac_try='test -s conftest.$ac_objext'
    9317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9318   (eval $ac_try) 2>&5
    9319   ac_status=$?
    9320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9321   (exit $ac_status); }; }; then
    9322   ac_header_compiler=yes
    9323 else
    9324   echo "$as_me: failed program was:" >&5
    9325 sed 's/^/| /' conftest.$ac_ext >&5
    9326 
    9327 ac_header_compiler=no
    9328 fi
    9329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    9330 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9331 echo "${ECHO_T}$ac_header_compiler" >&6
    9332 
    9333 # Is the header present?
    9334 echo "$as_me:$LINENO: checking armci.h presence" >&5
    9335 echo $ECHO_N "checking armci.h presence... $ECHO_C" >&6
    9336 cat >conftest.$ac_ext <<_ACEOF
    9337 /* confdefs.h.  */
    9338 _ACEOF
    9339 cat confdefs.h >>conftest.$ac_ext
    9340 cat >>conftest.$ac_ext <<_ACEOF
    9341 /* end confdefs.h.  */
    9342 #include <armci.h>
    9343 _ACEOF
    9344 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    9345   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    9346   ac_status=$?
    9347   grep -v '^ *+' conftest.er1 >conftest.err
    9348   rm -f conftest.er1
    9349   cat conftest.err >&5
    9350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9351   (exit $ac_status); } >/dev/null; then
    9352   if test -s conftest.err; then
    9353     ac_cpp_err=$ac_cxx_preproc_warn_flag
    9354     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    9355   else
    9356     ac_cpp_err=
    9357   fi
    9358 else
    9359   ac_cpp_err=yes
    9360 fi
    9361 if test -z "$ac_cpp_err"; then
    9362   ac_header_preproc=yes
    9363 else
    9364   echo "$as_me: failed program was:" >&5
    9365 sed 's/^/| /' conftest.$ac_ext >&5
    9366 
    9367   ac_header_preproc=no
    9368 fi
    9369 rm -f conftest.err conftest.$ac_ext
    9370 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9371 echo "${ECHO_T}$ac_header_preproc" >&6
    9372 
    9373 # So?  What about this header?
    9374 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    9375   yes:no: )
    9376     { echo "$as_me:$LINENO: WARNING: armci.h: accepted by the compiler, rejected by the preprocessor!" >&5
    9377 echo "$as_me: WARNING: armci.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    9378     { echo "$as_me:$LINENO: WARNING: armci.h: proceeding with the compiler's result" >&5
    9379 echo "$as_me: WARNING: armci.h: proceeding with the compiler's result" >&2;}
    9380     ac_header_preproc=yes
    9381     ;;
    9382   no:yes:* )
    9383     { echo "$as_me:$LINENO: WARNING: armci.h: present but cannot be compiled" >&5
    9384 echo "$as_me: WARNING: armci.h: present but cannot be compiled" >&2;}
    9385     { echo "$as_me:$LINENO: WARNING: armci.h:     check for missing prerequisite headers?" >&5
    9386 echo "$as_me: WARNING: armci.h:     check for missing prerequisite headers?" >&2;}
    9387     { echo "$as_me:$LINENO: WARNING: armci.h: see the Autoconf documentation" >&5
    9388 echo "$as_me: WARNING: armci.h: see the Autoconf documentation" >&2;}
    9389     { echo "$as_me:$LINENO: WARNING: armci.h:     section \"Present But Cannot Be Compiled\"" >&5
    9390 echo "$as_me: WARNING: armci.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    9391     { echo "$as_me:$LINENO: WARNING: armci.h: proceeding with the preprocessor's result" >&5
    9392 echo "$as_me: WARNING: armci.h: proceeding with the preprocessor's result" >&2;}
    9393     { echo "$as_me:$LINENO: WARNING: armci.h: in the future, the compiler will take precedence" >&5
    9394 echo "$as_me: WARNING: armci.h: in the future, the compiler will take precedence" >&2;}
    9395     (
    9396       cat <<\_ASBOX
    9397 ## ------------------------------------------ ##
    9398 ## Report this to the AC_PACKAGE_NAME lists.  ##
    9399 ## ------------------------------------------ ##
    9400 _ASBOX
    9401     ) |
    9402       sed "s/^/$as_me: WARNING:     /" >&2
    9403     ;;
    9404 esac
    9405 echo "$as_me:$LINENO: checking for armci.h" >&5
    9406 echo $ECHO_N "checking for armci.h... $ECHO_C" >&6
    9407 if test "${ac_cv_header_armci_h+set}" = set; then
    9408   echo $ECHO_N "(cached) $ECHO_C" >&6
    9409 else
    9410   ac_cv_header_armci_h=$ac_header_preproc
    9411 fi
    9412 echo "$as_me:$LINENO: result: $ac_cv_header_armci_h" >&5
    9413 echo "${ECHO_T}$ac_cv_header_armci_h" >&6
    9414 
    9415 fi
    9416 if test $ac_cv_header_armci_h = yes; then
    9417 
    9418     echo "$as_me:$LINENO: checking for ARMCI_Init" >&5
    9419 echo $ECHO_N "checking for ARMCI_Init... $ECHO_C" >&6
    9420 if test "${ac_cv_func_ARMCI_Init+set}" = set; then
    9421   echo $ECHO_N "(cached) $ECHO_C" >&6
    9422 else
    9423   cat >conftest.$ac_ext <<_ACEOF
    9424 /* confdefs.h.  */
    9425 _ACEOF
    9426 cat confdefs.h >>conftest.$ac_ext
    9427 cat >>conftest.$ac_ext <<_ACEOF
    9428 /* end confdefs.h.  */
    9429 /* Define ARMCI_Init to an innocuous variant, in case <limits.h> declares ARMCI_Init.
    9430    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    9431 #define ARMCI_Init innocuous_ARMCI_Init
    9432 
    9433 /* System header to define __stub macros and hopefully few prototypes,
    9434     which can conflict with char ARMCI_Init (); below.
    9435     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    9436     <limits.h> exists even on freestanding compilers.  */
    9437 
    9438 #ifdef __STDC__
    9439 # include <limits.h>
    9440 #else
    9441 # include <assert.h>
    9442 #endif
    9443 
    9444 #undef ARMCI_Init
    9445 
    9446 /* Override any gcc2 internal prototype to avoid an error.  */
     7628
     7629/* Override any GCC internal prototype to avoid an error.
     7630   Use char because int might match the return type of a GCC
     7631   builtin and then its argument prototype would still apply.  */
    94477632#ifdef __cplusplus
    94487633extern "C"
    9449 {
    94507634#endif
    9451 /* We use char because int might match the return type of a gcc2
    9452    builtin and then its argument prototype would still apply.  */
    94537635char ARMCI_Init ();
    9454 /* The GNU C library defines this for functions which it implements
    9455     to always fail with ENOSYS.  Some functions are actually named
    9456     something starting with __ and the normal name is an alias.  */
    9457 #if defined (__stub_ARMCI_Init) || defined (__stub___ARMCI_Init)
    9458 choke me
    9459 #else
    9460 char (*f) () = ARMCI_Init;
    9461 #endif
    9462 #ifdef __cplusplus
    9463 }
    9464 #endif
    9465 
    94667636int
    94677637main ()
    94687638{
    9469 return f != ARMCI_Init;
     7639return ARMCI_Init ();
    94707640  ;
    94717641  return 0;
    94727642}
    94737643_ACEOF
    9474 rm -f conftest.$ac_objext conftest$ac_exeext
    9475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    9476   (eval $ac_link) 2>conftest.er1
    9477   ac_status=$?
    9478   grep -v '^ *+' conftest.er1 >conftest.err
    9479   rm -f conftest.er1
    9480   cat conftest.err >&5
    9481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9482   (exit $ac_status); } &&
    9483          { ac_try='test -z "$ac_cxx_werror_flag"
    9484                          || test ! -s conftest.err'
    9485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9486   (eval $ac_try) 2>&5
    9487   ac_status=$?
    9488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9489   (exit $ac_status); }; } &&
    9490          { ac_try='test -s conftest$ac_exeext'
    9491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9492   (eval $ac_try) 2>&5
    9493   ac_status=$?
    9494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9495   (exit $ac_status); }; }; then
    9496   ac_cv_func_ARMCI_Init=yes
    9497 else
    9498   echo "$as_me: failed program was:" >&5
    9499 sed 's/^/| /' conftest.$ac_ext >&5
    9500 
    9501 ac_cv_func_ARMCI_Init=no
    9502 fi
    9503 rm -f conftest.err conftest.$ac_objext \
    9504       conftest$ac_exeext conftest.$ac_ext
    9505 fi
    9506 echo "$as_me:$LINENO: result: $ac_cv_func_ARMCI_Init" >&5
    9507 echo "${ECHO_T}$ac_cv_func_ARMCI_Init" >&6
    9508 if test $ac_cv_func_ARMCI_Init = yes; then
    9509   HAVE_ARMCI=yes
    9510 else
    9511 
    9512       echo "$as_me:$LINENO: checking for ARMCI_Init in -larmci" >&5
    9513 echo $ECHO_N "checking for ARMCI_Init in -larmci... $ECHO_C" >&6
    9514 if test "${ac_cv_lib_armci_ARMCI_Init+set}" = set; then
    9515   echo $ECHO_N "(cached) $ECHO_C" >&6
    9516 else
    9517   ac_check_lib_save_LIBS=$LIBS
    9518 LIBS="-larmci  $LIBS"
    9519 cat >conftest.$ac_ext <<_ACEOF
    9520 /* confdefs.h.  */
    9521 _ACEOF
    9522 cat confdefs.h >>conftest.$ac_ext
    9523 cat >>conftest.$ac_ext <<_ACEOF
    9524 /* end confdefs.h.  */
    9525 
    9526 /* Override any gcc2 internal prototype to avoid an error.  */
    9527 #ifdef __cplusplus
    9528 extern "C"
    9529 #endif
    9530 /* We use char because int might match the return type of a gcc2
    9531    builtin and then its argument prototype would still apply.  */
    9532 char ARMCI_Init ();
    9533 int
    9534 main ()
    9535 {
    9536 ARMCI_Init ();
    9537   ;
    9538   return 0;
    9539 }
    9540 _ACEOF
    9541 rm -f conftest.$ac_objext conftest$ac_exeext
    9542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    9543   (eval $ac_link) 2>conftest.er1
    9544   ac_status=$?
    9545   grep -v '^ *+' conftest.er1 >conftest.err
    9546   rm -f conftest.er1
    9547   cat conftest.err >&5
    9548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9549   (exit $ac_status); } &&
    9550          { ac_try='test -z "$ac_cxx_werror_flag"
    9551                          || test ! -s conftest.err'
    9552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9553   (eval $ac_try) 2>&5
    9554   ac_status=$?
    9555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9556   (exit $ac_status); }; } &&
    9557          { ac_try='test -s conftest$ac_exeext'
    9558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9559   (eval $ac_try) 2>&5
    9560   ac_status=$?
    9561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9562   (exit $ac_status); }; }; then
     7644if ac_fn_cxx_try_link "$LINENO"; then :
    95637645  ac_cv_lib_armci_ARMCI_Init=yes
    95647646else
    9565   echo "$as_me: failed program was:" >&5
    9566 sed 's/^/| /' conftest.$ac_ext >&5
    9567 
    9568 ac_cv_lib_armci_ARMCI_Init=no
    9569 fi
    9570 rm -f conftest.err conftest.$ac_objext \
    9571       conftest$ac_exeext conftest.$ac_ext
     7647  ac_cv_lib_armci_ARMCI_Init=no
     7648fi
     7649rm -f core conftest.err conftest.$ac_objext \
     7650    conftest$ac_exeext conftest.$ac_ext
    95727651LIBS=$ac_check_lib_save_LIBS
    95737652fi
    9574 echo "$as_me:$LINENO: result: $ac_cv_lib_armci_ARMCI_Init" >&5
    9575 echo "${ECHO_T}$ac_cv_lib_armci_ARMCI_Init" >&6
    9576 if test $ac_cv_lib_armci_ARMCI_Init = yes; then
     7653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_armci_ARMCI_Init" >&5
     7654$as_echo "$ac_cv_lib_armci_ARMCI_Init" >&6; }
     7655if test "x$ac_cv_lib_armci_ARMCI_Init" = xyes; then :
    95777656  HAVE_ARMCI=yes;LIBS="-larmci $LIBS"
    95787657fi
     
    95937672
    95947673  if test X$HAVE_ARMCI = Xyes; then
    9595     cat >>confdefs.h <<\_ACEOF
    9596 #define HAVE_ARMCI 1
    9597 _ACEOF
     7674
     7675$as_echo "#define HAVE_ARMCI 1" >>confdefs.h
    95987676
    95997677  fi
    96007678
    96017679if test $DEFAULT_PARALLEL = mtmpi -a X$HAVE_MPI != Xyes; then
    9602   { { echo "$as_me:$LINENO: error: --with-default-parallel=mtmpi but MPI not available" >&5
    9603 echo "$as_me: error: --with-default-parallel=mtmpi but MPI not available" >&2;}
    9604    { (exit 1); exit 1; }; }
     7680  as_fn_error $? "--with-default-parallel=mtmpi but MPI not available" "$LINENO" 5
    96057681fi
    96067682if test $DEFAULT_PARALLEL = armcimpi -a X$HAVE_MPI != Xyes; then
    9607   { { echo "$as_me:$LINENO: error: --with-default-parallel=armcimpi but MPI not available" >&5
    9608 echo "$as_me: error: --with-default-parallel=armcimpi but MPI not available" >&2;}
    9609    { (exit 1); exit 1; }; }
     7683  as_fn_error $? "--with-default-parallel=armcimpi but MPI not available" "$LINENO" 5
    96107684fi
    96117685if test $DEFAULT_PARALLEL = armcimpi -a X$HAVE_ARMCI != Xyes; then
    9612   { { echo "$as_me:$LINENO: error: --with-default-parallel=armcimpi but ARMCI not available" >&5
    9613 echo "$as_me: error: --with-default-parallel=armcimpi but ARMCI not available" >&2;}
    9614    { (exit 1); exit 1; }; }
    9615 fi
    9616 
    9617 
    9618 
    9619 
    9620 
    9621 
    9622 
    9623 
    9624 
    9625 
    9626 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    9627 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    9628 if test "${ac_cv_header_stdc+set}" = set; then
    9629   echo $ECHO_N "(cached) $ECHO_C" >&6
    9630 else
    9631   cat >conftest.$ac_ext <<_ACEOF
    9632 /* confdefs.h.  */
    9633 _ACEOF
    9634 cat confdefs.h >>conftest.$ac_ext
    9635 cat >>conftest.$ac_ext <<_ACEOF
     7686  as_fn_error $? "--with-default-parallel=armcimpi but ARMCI not available" "$LINENO" 5
     7687fi
     7688
     7689
     7690
     7691
     7692
     7693
     7694
     7695
     7696
     7697
     7698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
     7699$as_echo_n "checking for ANSI C header files... " >&6; }
     7700if ${ac_cv_header_stdc+:} false; then :
     7701  $as_echo_n "(cached) " >&6
     7702else
     7703  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    96367704/* end confdefs.h.  */
    96377705#include <stdlib.h>
     
    96487716}
    96497717_ACEOF
    9650 rm -f conftest.$ac_objext
    9651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    9652   (eval $ac_compile) 2>conftest.er1
    9653   ac_status=$?
    9654   grep -v '^ *+' conftest.er1 >conftest.err
    9655   rm -f conftest.er1
    9656   cat conftest.err >&5
    9657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9658   (exit $ac_status); } &&
    9659          { ac_try='test -z "$ac_c_werror_flag"
    9660                          || test ! -s conftest.err'
    9661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9662   (eval $ac_try) 2>&5
    9663   ac_status=$?
    9664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9665   (exit $ac_status); }; } &&
    9666          { ac_try='test -s conftest.$ac_objext'
    9667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9668   (eval $ac_try) 2>&5
    9669   ac_status=$?
    9670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9671   (exit $ac_status); }; }; then
     7718if ac_fn_c_try_compile "$LINENO"; then :
    96727719  ac_cv_header_stdc=yes
    96737720else
    9674   echo "$as_me: failed program was:" >&5
    9675 sed 's/^/| /' conftest.$ac_ext >&5
    9676 
    9677 ac_cv_header_stdc=no
    9678 fi
    9679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7721  ac_cv_header_stdc=no
     7722fi
     7723rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    96807724
    96817725if test $ac_cv_header_stdc = yes; then
    96827726  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    9683   cat >conftest.$ac_ext <<_ACEOF
    9684 /* confdefs.h.  */
    9685 _ACEOF
    9686 cat confdefs.h >>conftest.$ac_ext
    9687 cat >>conftest.$ac_ext <<_ACEOF
     7727  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    96887728/* end confdefs.h.  */
    96897729#include <string.h>
     
    96917731_ACEOF
    96927732if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    9693   $EGREP "memchr" >/dev/null 2>&1; then
    9694   :
     7733  $EGREP "memchr" >/dev/null 2>&1; then :
     7734
    96957735else
    96967736  ac_cv_header_stdc=no
     
    97027742if test $ac_cv_header_stdc = yes; then
    97037743  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    9704   cat >conftest.$ac_ext <<_ACEOF
    9705 /* confdefs.h.  */
    9706 _ACEOF
    9707 cat confdefs.h >>conftest.$ac_ext
    9708 cat >>conftest.$ac_ext <<_ACEOF
     7744  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    97097745/* end confdefs.h.  */
    97107746#include <stdlib.h>
     
    97127748_ACEOF
    97137749if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    9714   $EGREP "free" >/dev/null 2>&1; then
    9715   :
     7750  $EGREP "free" >/dev/null 2>&1; then :
     7751
    97167752else
    97177753  ac_cv_header_stdc=no
     
    97237759if test $ac_cv_header_stdc = yes; then
    97247760  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    9725   if test "$cross_compiling" = yes; then
     7761  if test "$cross_compiling" = yes; then :
    97267762  :
    97277763else
    9728   cat >conftest.$ac_ext <<_ACEOF
    9729 /* confdefs.h.  */
    9730 _ACEOF
    9731 cat confdefs.h >>conftest.$ac_ext
    9732 cat >>conftest.$ac_ext <<_ACEOF
     7764  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    97337765/* end confdefs.h.  */
    97347766#include <ctype.h>
     7767#include <stdlib.h>
    97357768#if ((' ' & 0x0FF) == 0x020)
    97367769# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    97527785    if (XOR (islower (i), ISLOWER (i))
    97537786        || toupper (i) != TOUPPER (i))
    9754       exit(2);
    9755   exit (0);
     7787      return 2;
     7788  return 0;
    97567789}
    97577790_ACEOF
    9758 rm -f conftest$ac_exeext
    9759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    9760   (eval $ac_link) 2>&5
    9761   ac_status=$?
    9762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9763   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    9764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9765   (eval $ac_try) 2>&5
    9766   ac_status=$?
    9767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9768   (exit $ac_status); }; }; then
    9769   :
    9770 else
    9771   echo "$as_me: program exited with status $ac_status" >&5
    9772 echo "$as_me: failed program was:" >&5
    9773 sed 's/^/| /' conftest.$ac_ext >&5
    9774 
    9775 ( exit $ac_status )
    9776 ac_cv_header_stdc=no
    9777 fi
    9778 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    9779 fi
    9780 fi
    9781 fi
    9782 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    9783 echo "${ECHO_T}$ac_cv_header_stdc" >&6
     7791if ac_fn_c_try_run "$LINENO"; then :
     7792
     7793else
     7794  ac_cv_header_stdc=no
     7795fi
     7796rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     7797  conftest.$ac_objext conftest.beam conftest.$ac_ext
     7798fi
     7799
     7800fi
     7801fi
     7802{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
     7803$as_echo "$ac_cv_header_stdc" >&6; }
    97847804if test $ac_cv_header_stdc = yes; then
    97857805
    9786 cat >>confdefs.h <<\_ACEOF
    9787 #define STDC_HEADERS 1
     7806$as_echo "#define STDC_HEADERS 1" >>confdefs.h
     7807
     7808fi
     7809
     7810for ac_header in fcntl.h limits.h sys/ioctl.h sys/time.h unistd.h pwd.h
     7811do :
     7812  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     7813ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
     7814if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     7815  cat >>confdefs.h <<_ACEOF
     7816#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    97887817_ACEOF
    97897818
    97907819fi
    97917820
    9792 
    9793 
    9794 
    9795 
    9796 
    9797 
    9798 for ac_header in fcntl.h limits.h sys/ioctl.h sys/time.h unistd.h pwd.h
    9799 do
    9800 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    9801 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    9802   echo "$as_me:$LINENO: checking for $ac_header" >&5
    9803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    9804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    9805   echo $ECHO_N "(cached) $ECHO_C" >&6
    9806 fi
    9807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    9808 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    9809 else
    9810   # Is the header compilable?
    9811 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    9812 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    9813 cat >conftest.$ac_ext <<_ACEOF
    9814 /* confdefs.h.  */
     7821done
     7822
     7823for ac_header in sys/times.h sys/resource.h time.h machine/fpu.h asm/fpu.h
     7824do :
     7825  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     7826ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
     7827if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     7828  cat >>confdefs.h <<_ACEOF
     7829#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    98157830_ACEOF
    9816 cat confdefs.h >>conftest.$ac_ext
    9817 cat >>conftest.$ac_ext <<_ACEOF
    9818 /* end confdefs.h.  */
    9819 $ac_includes_default
    9820 #include <$ac_header>
     7831
     7832fi
     7833
     7834done
     7835
     7836for ac_header in termios.h sys/stat.h sys/types.h dlfcn.h stdint.h
     7837do :
     7838  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     7839ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
     7840if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     7841  cat >>confdefs.h <<_ACEOF
     7842#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    98217843_ACEOF
    9822 rm -f conftest.$ac_objext
    9823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    9824   (eval $ac_compile) 2>conftest.er1
    9825   ac_status=$?
    9826   grep -v '^ *+' conftest.er1 >conftest.err
    9827   rm -f conftest.er1
    9828   cat conftest.err >&5
    9829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9830   (exit $ac_status); } &&
    9831          { ac_try='test -z "$ac_c_werror_flag"
    9832                          || test ! -s conftest.err'
    9833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9834   (eval $ac_try) 2>&5
    9835   ac_status=$?
    9836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9837   (exit $ac_status); }; } &&
    9838          { ac_try='test -s conftest.$ac_objext'
    9839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9840   (eval $ac_try) 2>&5
    9841   ac_status=$?
    9842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9843   (exit $ac_status); }; }; then
    9844   ac_header_compiler=yes
    9845 else
    9846   echo "$as_me: failed program was:" >&5
    9847 sed 's/^/| /' conftest.$ac_ext >&5
    9848 
    9849 ac_header_compiler=no
    9850 fi
    9851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    9852 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9853 echo "${ECHO_T}$ac_header_compiler" >&6
    9854 
    9855 # Is the header present?
    9856 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    9857 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    9858 cat >conftest.$ac_ext <<_ACEOF
    9859 /* confdefs.h.  */
    9860 _ACEOF
    9861 cat confdefs.h >>conftest.$ac_ext
    9862 cat >>conftest.$ac_ext <<_ACEOF
    9863 /* end confdefs.h.  */
    9864 #include <$ac_header>
    9865 _ACEOF
    9866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    9867   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    9868   ac_status=$?
    9869   grep -v '^ *+' conftest.er1 >conftest.err
    9870   rm -f conftest.er1
    9871   cat conftest.err >&5
    9872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9873   (exit $ac_status); } >/dev/null; then
    9874   if test -s conftest.err; then
    9875     ac_cpp_err=$ac_c_preproc_warn_flag
    9876     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    9877   else
    9878     ac_cpp_err=
    9879   fi
    9880 else
    9881   ac_cpp_err=yes
    9882 fi
    9883 if test -z "$ac_cpp_err"; then
    9884   ac_header_preproc=yes
    9885 else
    9886   echo "$as_me: failed program was:" >&5
    9887 sed 's/^/| /' conftest.$ac_ext >&5
    9888 
    9889   ac_header_preproc=no
    9890 fi
    9891 rm -f conftest.err conftest.$ac_ext
    9892 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9893 echo "${ECHO_T}$ac_header_preproc" >&6
    9894 
    9895 # So?  What about this header?
    9896 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    9897   yes:no: )
    9898     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    9899 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    9900     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    9901 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    9902     ac_header_preproc=yes
    9903     ;;
    9904   no:yes:* )
    9905     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    9906 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    9907     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    9908 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    9909     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    9910 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    9911     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    9912 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    9913     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    9914 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    9915     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    9916 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    9917     (
    9918       cat <<\_ASBOX
    9919 ## ------------------------------------------ ##
    9920 ## Report this to the AC_PACKAGE_NAME lists.  ##
    9921 ## ------------------------------------------ ##
    9922 _ASBOX
    9923     ) |
    9924       sed "s/^/$as_me: WARNING:     /" >&2
    9925     ;;
    9926 esac
    9927 echo "$as_me:$LINENO: checking for $ac_header" >&5
    9928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    9929 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    9930   echo $ECHO_N "(cached) $ECHO_C" >&6
    9931 else
    9932   eval "$as_ac_Header=\$ac_header_preproc"
    9933 fi
    9934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    9935 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    9936 
    9937 fi
    9938 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    9939   cat >>confdefs.h <<_ACEOF
    9940 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    9941 _ACEOF
    99427844
    99437845fi
     
    99467848
    99477849
    9948 
    9949 
    9950 
    9951 
    9952 for ac_header in sys/times.h sys/resource.h time.h machine/fpu.h asm/fpu.h
    9953 do
    9954 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    9955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    9956   echo "$as_me:$LINENO: checking for $ac_header" >&5
    9957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    9958 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    9959   echo $ECHO_N "(cached) $ECHO_C" >&6
    9960 fi
    9961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    9962 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    9963 else
    9964   # Is the header compilable?
    9965 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    9966 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    9967 cat >conftest.$ac_ext <<_ACEOF
    9968 /* confdefs.h.  */
    9969 _ACEOF
    9970 cat confdefs.h >>conftest.$ac_ext
    9971 cat >>conftest.$ac_ext <<_ACEOF
    9972 /* end confdefs.h.  */
    9973 $ac_includes_default
    9974 #include <$ac_header>
    9975 _ACEOF
    9976 rm -f conftest.$ac_objext
    9977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    9978   (eval $ac_compile) 2>conftest.er1
    9979   ac_status=$?
    9980   grep -v '^ *+' conftest.er1 >conftest.err
    9981   rm -f conftest.er1
    9982   cat conftest.err >&5
    9983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9984   (exit $ac_status); } &&
    9985          { ac_try='test -z "$ac_c_werror_flag"
    9986                          || test ! -s conftest.err'
    9987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9988   (eval $ac_try) 2>&5
    9989   ac_status=$?
    9990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9991   (exit $ac_status); }; } &&
    9992          { ac_try='test -s conftest.$ac_objext'
    9993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9994   (eval $ac_try) 2>&5
    9995   ac_status=$?
    9996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9997   (exit $ac_status); }; }; then
    9998   ac_header_compiler=yes
    9999 else
    10000   echo "$as_me: failed program was:" >&5
    10001 sed 's/^/| /' conftest.$ac_ext >&5
    10002 
    10003 ac_header_compiler=no
    10004 fi
    10005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    10006 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    10007 echo "${ECHO_T}$ac_header_compiler" >&6
    10008 
    10009 # Is the header present?
    10010 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    10011 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    10012 cat >conftest.$ac_ext <<_ACEOF
    10013 /* confdefs.h.  */
    10014 _ACEOF
    10015 cat confdefs.h >>conftest.$ac_ext
    10016 cat >>conftest.$ac_ext <<_ACEOF
    10017 /* end confdefs.h.  */
    10018 #include <$ac_header>
    10019 _ACEOF
    10020 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    10021   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    10022   ac_status=$?
    10023   grep -v '^ *+' conftest.er1 >conftest.err
    10024   rm -f conftest.er1
    10025   cat conftest.err >&5
    10026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10027   (exit $ac_status); } >/dev/null; then
    10028   if test -s conftest.err; then
    10029     ac_cpp_err=$ac_c_preproc_warn_flag
    10030     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    10031   else
    10032     ac_cpp_err=
    10033   fi
    10034 else
    10035   ac_cpp_err=yes
    10036 fi
    10037 if test -z "$ac_cpp_err"; then
    10038   ac_header_preproc=yes
    10039 else
    10040   echo "$as_me: failed program was:" >&5
    10041 sed 's/^/| /' conftest.$ac_ext >&5
    10042 
    10043   ac_header_preproc=no
    10044 fi
    10045 rm -f conftest.err conftest.$ac_ext
    10046 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    10047 echo "${ECHO_T}$ac_header_preproc" >&6
    10048 
    10049 # So?  What about this header?
    10050 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    10051   yes:no: )
    10052     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    10053 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    10054     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    10055 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    10056     ac_header_preproc=yes
    10057     ;;
    10058   no:yes:* )
    10059     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    10060 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    10061     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    10062 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    10063     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    10064 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    10065     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    10066 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    10067     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    10068 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    10069     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    10070 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    10071     (
    10072       cat <<\_ASBOX
    10073 ## ------------------------------------------ ##
    10074 ## Report this to the AC_PACKAGE_NAME lists.  ##
    10075 ## ------------------------------------------ ##
    10076 _ASBOX
    10077     ) |
    10078       sed "s/^/$as_me: WARNING:     /" >&2
    10079     ;;
    10080 esac
    10081 echo "$as_me:$LINENO: checking for $ac_header" >&5
    10082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    10083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    10084   echo $ECHO_N "(cached) $ECHO_C" >&6
    10085 else
    10086   eval "$as_ac_Header=\$ac_header_preproc"
    10087 fi
    10088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    10089 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    10090 
    10091 fi
    10092 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    10093   cat >>confdefs.h <<_ACEOF
    10094 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    10095 _ACEOF
    10096 
    10097 fi
    10098 
    10099 done
    10100 
    10101 
    10102 
    10103 
    10104 
    10105 
    10106 for ac_header in termios.h sys/stat.h sys/types.h dlfcn.h stdint.h
    10107 do
    10108 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    10109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    10110   echo "$as_me:$LINENO: checking for $ac_header" >&5
    10111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    10112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    10113   echo $ECHO_N "(cached) $ECHO_C" >&6
    10114 fi
    10115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    10116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    10117 else
    10118   # Is the header compilable?
    10119 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    10120 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    10121 cat >conftest.$ac_ext <<_ACEOF
    10122 /* confdefs.h.  */
    10123 _ACEOF
    10124 cat confdefs.h >>conftest.$ac_ext
    10125 cat >>conftest.$ac_ext <<_ACEOF
    10126 /* end confdefs.h.  */
    10127 $ac_includes_default
    10128 #include <$ac_header>
    10129 _ACEOF
    10130 rm -f conftest.$ac_objext
    10131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    10132   (eval $ac_compile) 2>conftest.er1
    10133   ac_status=$?
    10134   grep -v '^ *+' conftest.er1 >conftest.err
    10135   rm -f conftest.er1
    10136   cat conftest.err >&5
    10137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10138   (exit $ac_status); } &&
    10139          { ac_try='test -z "$ac_c_werror_flag"
    10140                          || test ! -s conftest.err'
    10141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10142   (eval $ac_try) 2>&5
    10143   ac_status=$?
    10144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10145   (exit $ac_status); }; } &&
    10146          { ac_try='test -s conftest.$ac_objext'
    10147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10148   (eval $ac_try) 2>&5
    10149   ac_status=$?
    10150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10151   (exit $ac_status); }; }; then
    10152   ac_header_compiler=yes
    10153 else
    10154   echo "$as_me: failed program was:" >&5
    10155 sed 's/^/| /' conftest.$ac_ext >&5
    10156 
    10157 ac_header_compiler=no
    10158 fi
    10159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    10160 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    10161 echo "${ECHO_T}$ac_header_compiler" >&6
    10162 
    10163 # Is the header present?
    10164 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    10165 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    10166 cat >conftest.$ac_ext <<_ACEOF
    10167 /* confdefs.h.  */
    10168 _ACEOF
    10169 cat confdefs.h >>conftest.$ac_ext
    10170 cat >>conftest.$ac_ext <<_ACEOF
    10171 /* end confdefs.h.  */
    10172 #include <$ac_header>
    10173 _ACEOF
    10174 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    10175   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    10176   ac_status=$?
    10177   grep -v '^ *+' conftest.er1 >conftest.err
    10178   rm -f conftest.er1
    10179   cat conftest.err >&5
    10180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10181   (exit $ac_status); } >/dev/null; then
    10182   if test -s conftest.err; then
    10183     ac_cpp_err=$ac_c_preproc_warn_flag
    10184     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    10185   else
    10186     ac_cpp_err=
    10187   fi
    10188 else
    10189   ac_cpp_err=yes
    10190 fi
    10191 if test -z "$ac_cpp_err"; then
    10192   ac_header_preproc=yes
    10193 else
    10194   echo "$as_me: failed program was:" >&5
    10195 sed 's/^/| /' conftest.$ac_ext >&5
    10196 
    10197   ac_header_preproc=no
    10198 fi
    10199 rm -f conftest.err conftest.$ac_ext
    10200 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    10201 echo "${ECHO_T}$ac_header_preproc" >&6
    10202 
    10203 # So?  What about this header?
    10204 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    10205   yes:no: )
    10206     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    10207 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    10208     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    10209 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    10210     ac_header_preproc=yes
    10211     ;;
    10212   no:yes:* )
    10213     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    10214 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    10215     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    10216 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    10217     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    10218 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    10219     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    10220 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    10221     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    10222 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    10223     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    10224 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    10225     (
    10226       cat <<\_ASBOX
    10227 ## ------------------------------------------ ##
    10228 ## Report this to the AC_PACKAGE_NAME lists.  ##
    10229 ## ------------------------------------------ ##
    10230 _ASBOX
    10231     ) |
    10232       sed "s/^/$as_me: WARNING:     /" >&2
    10233     ;;
    10234 esac
    10235 echo "$as_me:$LINENO: checking for $ac_header" >&5
    10236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    10237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    10238   echo $ECHO_N "(cached) $ECHO_C" >&6
    10239 else
    10240   eval "$as_ac_Header=\$ac_header_preproc"
    10241 fi
    10242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    10243 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    10244 
    10245 fi
    10246 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    10247   cat >>confdefs.h <<_ACEOF
    10248 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    10249 _ACEOF
    10250 
    10251 fi
    10252 
    10253 done
    10254 
    10255 
    10256 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
    10257 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
    10258 if test "${ac_cv_c_const+set}" = set; then
    10259   echo $ECHO_N "(cached) $ECHO_C" >&6
    10260 else
    10261   cat >conftest.$ac_ext <<_ACEOF
    10262 /* confdefs.h.  */
    10263 _ACEOF
    10264 cat confdefs.h >>conftest.$ac_ext
    10265 cat >>conftest.$ac_ext <<_ACEOF
     7850{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
     7851$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
     7852if ${ac_cv_c_const+:} false; then :
     7853  $as_echo_n "(cached) " >&6
     7854else
     7855  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    102667856/* end confdefs.h.  */
    102677857
     
    102697859main ()
    102707860{
    10271 /* FIXME: Include the comments suggested by Paul. */
     7861
    102727862#ifndef __cplusplus
    10273   /* Ultrix mips cc rejects this.  */
     7863  /* Ultrix mips cc rejects this sort of thing.  */
    102747864  typedef int charset[2];
    10275   const charset x;
     7865  const charset cs = { 0, 0 };
    102767866  /* SunOS 4.1.1 cc rejects this.  */
    10277   char const *const *ccp;
    10278   char **p;
     7867  char const *const *pcpcc;
     7868  char **ppc;
    102797869  /* NEC SVR4.0.2 mips cc rejects this.  */
    102807870  struct point {int x, y;};
     
    102857875     expression */
    102867876  const char *g = "string";
    10287   ccp = &g + (g ? g-g : 0);
     7877  pcpcc = &g + (g ? g-g : 0);
    102887878  /* HPUX 7.0 cc rejects these. */
    10289   ++ccp;
    10290   p = (char**) ccp;
    10291   ccp = (char const *const *) p;
    10292   { /* SCO 3.2v4 cc rejects this.  */
    10293     char *t;
     7879  ++pcpcc;
     7880  ppc = (char**) pcpcc;
     7881  pcpcc = (char const *const *) ppc;
     7882  { /* SCO 3.2v4 cc rejects this sort of thing.  */
     7883    char tx;
     7884    char *t = &tx;
    102947885    char const *s = 0 ? (char *) 0 : (char const *) 0;
    102957886
    102967887    *t++ = 0;
     7888    if (s) return 0;
    102977889  }
    102987890  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
     
    103067898    ++p;
    103077899  }
    10308   { /* AIX XL C 1.02.0.0 rejects this saying
     7900  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
    103097901       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
    10310     struct s { int j; const int *ap[3]; };
    10311     struct s *b; b->j = 5;
     7902    struct s { int j; const int *ap[3]; } bx;
     7903    struct s *b = &bx; b->j = 5;
    103127904  }
    103137905  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
    103147906    const int foo = 10;
     7907    if (!foo) return 0;
    103157908  }
     7909  return !cs[0] && !zero.x;
    103167910#endif
    103177911
     
    103207914}
    103217915_ACEOF
    10322 rm -f conftest.$ac_objext
    10323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    10324   (eval $ac_compile) 2>conftest.er1
    10325   ac_status=$?
    10326   grep -v '^ *+' conftest.er1 >conftest.err
    10327   rm -f conftest.er1
    10328   cat conftest.err >&5
    10329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10330   (exit $ac_status); } &&
    10331          { ac_try='test -z "$ac_c_werror_flag"
    10332                          || test ! -s conftest.err'
    10333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10334   (eval $ac_try) 2>&5
    10335   ac_status=$?
    10336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10337   (exit $ac_status); }; } &&
    10338          { ac_try='test -s conftest.$ac_objext'
    10339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10340   (eval $ac_try) 2>&5
    10341   ac_status=$?
    10342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10343   (exit $ac_status); }; }; then
     7916if ac_fn_c_try_compile "$LINENO"; then :
    103447917  ac_cv_c_const=yes
    103457918else
    10346   echo "$as_me: failed program was:" >&5
    10347 sed 's/^/| /' conftest.$ac_ext >&5
    10348 
    10349 ac_cv_c_const=no
    10350 fi
    10351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    10352 fi
    10353 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
    10354 echo "${ECHO_T}$ac_cv_c_const" >&6
     7919  ac_cv_c_const=no
     7920fi
     7921rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7922fi
     7923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
     7924$as_echo "$ac_cv_c_const" >&6; }
    103557925if test $ac_cv_c_const = no; then
    103567926
    10357 cat >>confdefs.h <<\_ACEOF
    10358 #define const
     7927$as_echo "#define const /**/" >>confdefs.h
     7928
     7929fi
     7930
     7931ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
     7932if test "x$ac_cv_type_size_t" = xyes; then :
     7933
     7934else
     7935
     7936cat >>confdefs.h <<_ACEOF
     7937#define size_t unsigned int
    103597938_ACEOF
    103607939
    103617940fi
    103627941
    10363 echo "$as_me:$LINENO: checking for size_t" >&5
    10364 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
    10365 if test "${ac_cv_type_size_t+set}" = set; then
    10366   echo $ECHO_N "(cached) $ECHO_C" >&6
    10367 else
    10368   cat >conftest.$ac_ext <<_ACEOF
    10369 /* confdefs.h.  */
    10370 _ACEOF
    10371 cat confdefs.h >>conftest.$ac_ext
    10372 cat >>conftest.$ac_ext <<_ACEOF
     7942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
     7943$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
     7944if ${ac_cv_struct_tm+:} false; then :
     7945  $as_echo_n "(cached) " >&6
     7946else
     7947  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    103737948/* end confdefs.h.  */
    10374 $ac_includes_default
     7949#include <sys/types.h>
     7950#include <time.h>
     7951
    103757952int
    103767953main ()
    103777954{
    10378 if ((size_t *) 0)
    10379   return 0;
    10380 if (sizeof (size_t))
    10381   return 0;
     7955struct tm tm;
     7956                                     int *p = &tm.tm_sec;
     7957                                     return !p;
    103827958  ;
    103837959  return 0;
    103847960}
    103857961_ACEOF
    10386 rm -f conftest.$ac_objext
    10387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    10388   (eval $ac_compile) 2>conftest.er1
    10389   ac_status=$?
    10390   grep -v '^ *+' conftest.er1 >conftest.err
    10391   rm -f conftest.er1
    10392   cat conftest.err >&5
    10393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10394   (exit $ac_status); } &&
    10395          { ac_try='test -z "$ac_c_werror_flag"
    10396                          || test ! -s conftest.err'
    10397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10398   (eval $ac_try) 2>&5
    10399   ac_status=$?
    10400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10401   (exit $ac_status); }; } &&
    10402          { ac_try='test -s conftest.$ac_objext'
    10403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10404   (eval $ac_try) 2>&5
    10405   ac_status=$?
    10406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10407   (exit $ac_status); }; }; then
    10408   ac_cv_type_size_t=yes
    10409 else
    10410   echo "$as_me: failed program was:" >&5
    10411 sed 's/^/| /' conftest.$ac_ext >&5
    10412 
    10413 ac_cv_type_size_t=no
    10414 fi
    10415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    10416 fi
    10417 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
    10418 echo "${ECHO_T}$ac_cv_type_size_t" >&6
    10419 if test $ac_cv_type_size_t = yes; then
    10420   :
    10421 else
    10422 
    10423 cat >>confdefs.h <<_ACEOF
    10424 #define size_t unsigned
    10425 _ACEOF
    10426 
    10427 fi
    10428 
    10429 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
    10430 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
    10431 if test "${ac_cv_struct_tm+set}" = set; then
    10432   echo $ECHO_N "(cached) $ECHO_C" >&6
    10433 else
    10434   cat >conftest.$ac_ext <<_ACEOF
    10435 /* confdefs.h.  */
    10436 _ACEOF
    10437 cat confdefs.h >>conftest.$ac_ext
    10438 cat >>conftest.$ac_ext <<_ACEOF
     7962if ac_fn_c_try_compile "$LINENO"; then :
     7963  ac_cv_struct_tm=time.h
     7964else
     7965  ac_cv_struct_tm=sys/time.h
     7966fi
     7967rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7968fi
     7969{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
     7970$as_echo "$ac_cv_struct_tm" >&6; }
     7971if test $ac_cv_struct_tm = sys/time.h; then
     7972
     7973$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
     7974
     7975fi
     7976
     7977
     7978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
     7979$as_echo_n "checking return type of signal handlers... " >&6; }
     7980if ${ac_cv_type_signal+:} false; then :
     7981  $as_echo_n "(cached) " >&6
     7982else
     7983  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    104397984/* end confdefs.h.  */
    104407985#include <sys/types.h>
    10441 #include <time.h>
     7986#include <signal.h>
    104427987
    104437988int
    104447989main ()
    104457990{
    10446 struct tm *tp; tp->tm_sec;
     7991return *(signal (0, 0)) (0) == 1;
    104477992  ;
    104487993  return 0;
    104497994}
    104507995_ACEOF
    10451 rm -f conftest.$ac_objext
    10452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    10453   (eval $ac_compile) 2>conftest.er1
    10454   ac_status=$?
    10455   grep -v '^ *+' conftest.er1 >conftest.err
    10456   rm -f conftest.er1
    10457   cat conftest.err >&5
    10458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10459   (exit $ac_status); } &&
    10460          { ac_try='test -z "$ac_c_werror_flag"
    10461                          || test ! -s conftest.err'
    10462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10463   (eval $ac_try) 2>&5
    10464   ac_status=$?
    10465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10466   (exit $ac_status); }; } &&
    10467          { ac_try='test -s conftest.$ac_objext'
    10468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10469   (eval $ac_try) 2>&5
    10470   ac_status=$?
    10471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10472   (exit $ac_status); }; }; then
    10473   ac_cv_struct_tm=time.h
    10474 else
    10475   echo "$as_me: failed program was:" >&5
    10476 sed 's/^/| /' conftest.$ac_ext >&5
    10477 
    10478 ac_cv_struct_tm=sys/time.h
    10479 fi
    10480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    10481 fi
    10482 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
    10483 echo "${ECHO_T}$ac_cv_struct_tm" >&6
    10484 if test $ac_cv_struct_tm = sys/time.h; then
    10485 
    10486 cat >>confdefs.h <<\_ACEOF
    10487 #define TM_IN_SYS_TIME 1
     7996if ac_fn_c_try_compile "$LINENO"; then :
     7997  ac_cv_type_signal=int
     7998else
     7999  ac_cv_type_signal=void
     8000fi
     8001rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8002fi
     8003{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
     8004$as_echo "$ac_cv_type_signal" >&6; }
     8005
     8006cat >>confdefs.h <<_ACEOF
     8007#define RETSIGTYPE $ac_cv_type_signal
    104888008_ACEOF
    104898009
    10490 fi
    10491 
    10492 
    10493 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
    10494 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
    10495 if test "${ac_cv_type_signal+set}" = set; then
    10496   echo $ECHO_N "(cached) $ECHO_C" >&6
    10497 else
    10498   cat >conftest.$ac_ext <<_ACEOF
    10499 /* confdefs.h.  */
     8010
     8011for ac_func in vprintf
     8012do :
     8013  ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
     8014if test "x$ac_cv_func_vprintf" = xyes; then :
     8015  cat >>confdefs.h <<_ACEOF
     8016#define HAVE_VPRINTF 1
    105008017_ACEOF
    10501 cat confdefs.h >>conftest.$ac_ext
    10502 cat >>conftest.$ac_ext <<_ACEOF
     8018
     8019ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
     8020if test "x$ac_cv_func__doprnt" = xyes; then :
     8021
     8022$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
     8023
     8024fi
     8025
     8026fi
     8027done
     8028
     8029
     8030for ac_func in strerror sigfillset signal system getpwuid geteuid
     8031do :
     8032  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     8033ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
     8034if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
     8035  cat >>confdefs.h <<_ACEOF
     8036#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
     8037_ACEOF
     8038
     8039fi
     8040done
     8041
     8042for ac_func in gethostname time ctime
     8043do :
     8044  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     8045ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
     8046if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
     8047  cat >>confdefs.h <<_ACEOF
     8048#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
     8049_ACEOF
     8050
     8051fi
     8052done
     8053
     8054for ac_func in setrlimit setenv
     8055do :
     8056  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     8057ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
     8058if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
     8059  cat >>confdefs.h <<_ACEOF
     8060#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
     8061_ACEOF
     8062
     8063fi
     8064done
     8065
     8066
     8067
     8068ac_ext=cpp
     8069ac_cpp='$CXXCPP $CPPFLAGS'
     8070ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     8071ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     8072ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     8073
     8074{ $as_echo "$as_me:${as_lineno-$LINENO}: checking isnan and iostream" >&5
     8075$as_echo_n "checking isnan and iostream... " >&6; }
     8076cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    105038077/* end confdefs.h.  */
    10504 #include <sys/types.h>
    10505 #include <signal.h>
    10506 #ifdef signal
    10507 # undef signal
    10508 #endif
    10509 #ifdef __cplusplus
    10510 extern "C" void (*signal (int, void (*)(int)))(int);
    10511 #else
    10512 void (*signal ()) ();
    10513 #endif
     8078
     8079  #include <iostream>
     8080  #include <math.h>
     8081  int main(int,char**) { isnan(1.0); return 0; }
    105148082
    105158083int
    105168084main ()
    105178085{
    10518 int i;
     8086
    105198087  ;
    105208088  return 0;
    105218089}
    105228090_ACEOF
    10523 rm -f conftest.$ac_objext
    10524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    10525   (eval $ac_compile) 2>conftest.er1
    10526   ac_status=$?
    10527   grep -v '^ *+' conftest.er1 >conftest.err
    10528   rm -f conftest.er1
    10529   cat conftest.err >&5
    10530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10531   (exit $ac_status); } &&
    10532          { ac_try='test -z "$ac_c_werror_flag"
    10533                          || test ! -s conftest.err'
    10534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10535   (eval $ac_try) 2>&5
    10536   ac_status=$?
    10537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10538   (exit $ac_status); }; } &&
    10539          { ac_try='test -s conftest.$ac_objext'
    10540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10541   (eval $ac_try) 2>&5
    10542   ac_status=$?
    10543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10544   (exit $ac_status); }; }; then
    10545   ac_cv_type_signal=void
    10546 else
    10547   echo "$as_me: failed program was:" >&5
    10548 sed 's/^/| /' conftest.$ac_ext >&5
    10549 
    10550 ac_cv_type_signal=int
    10551 fi
    10552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    10553 fi
    10554 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
    10555 echo "${ECHO_T}$ac_cv_type_signal" >&6
    10556 
    10557 cat >>confdefs.h <<_ACEOF
    10558 #define RETSIGTYPE $ac_cv_type_signal
    10559 _ACEOF
    10560 
    10561 
    10562 
    10563 for ac_func in vprintf
    10564 do
    10565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    10566 echo "$as_me:$LINENO: checking for $ac_func" >&5
    10567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    10568 if eval "test \"\${$as_ac_var+set}\" = set"; then
    10569   echo $ECHO_N "(cached) $ECHO_C" >&6
    10570 else
    10571   cat >conftest.$ac_ext <<_ACEOF
    10572 /* confdefs.h.  */
    10573 _ACEOF
    10574 cat confdefs.h >>conftest.$ac_ext
    10575 cat >>conftest.$ac_ext <<_ACEOF
    10576 /* end confdefs.h.  */
    10577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    10578    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    10579 #define $ac_func innocuous_$ac_func
    10580 
    10581 /* System header to define __stub macros and hopefully few prototypes,
    10582     which can conflict with char $ac_func (); below.
    10583     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    10584     <limits.h> exists even on freestanding compilers.  */
    10585 
    10586 #ifdef __STDC__
    10587 # include <limits.h>
    10588 #else
    10589 # include <assert.h>
    10590 #endif
    10591 
    10592 #undef $ac_func
    10593 
    10594 /* Override any gcc2 internal prototype to avoid an error.  */
    10595 #ifdef __cplusplus
    10596 extern "C"
    10597 {
    10598 #endif
    10599 /* We use char because int might match the return type of a gcc2
    10600    builtin and then its argument prototype would still apply.  */
    10601 char $ac_func ();
    10602 /* The GNU C library defines this for functions which it implements
    10603     to always fail with ENOSYS.  Some functions are actually named
    10604     something starting with __ and the normal name is an alias.  */
    10605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
    10606 choke me
    10607 #else
    10608 char (*f) () = $ac_func;
    10609 #endif
    10610 #ifdef __cplusplus
    10611 }
    10612 #endif
    10613 
    10614 int
    10615 main ()
    10616 {
    10617 return f != $ac_func;
    10618   ;
    10619   return 0;
    10620 }
    10621 _ACEOF
    10622 rm -f conftest.$ac_objext conftest$ac_exeext
    10623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    10624   (eval $ac_link) 2>conftest.er1
    10625   ac_status=$?
    10626   grep -v '^ *+' conftest.er1 >conftest.err
    10627   rm -f conftest.er1
    10628   cat conftest.err >&5
    10629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10630   (exit $ac_status); } &&
    10631          { ac_try='test -z "$ac_c_werror_flag"
    10632                          || test ! -s conftest.err'
    10633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10634   (eval $ac_try) 2>&5
    10635   ac_status=$?
    10636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10637   (exit $ac_status); }; } &&
    10638          { ac_try='test -s conftest$ac_exeext'
    10639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10640   (eval $ac_try) 2>&5
    10641   ac_status=$?
    10642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10643   (exit $ac_status); }; }; then
    10644   eval "$as_ac_var=yes"
    10645 else
    10646   echo "$as_me: failed program was:" >&5
    10647 sed 's/^/| /' conftest.$ac_ext >&5
    10648 
    10649 eval "$as_ac_var=no"
    10650 fi
    10651 rm -f conftest.err conftest.$ac_objext \
    10652       conftest$ac_exeext conftest.$ac_ext
    10653 fi
    10654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    10655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    10656 if test `eval echo '${'$as_ac_var'}'` = yes; then
    10657   cat >>confdefs.h <<_ACEOF
    10658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
    10659 _ACEOF
    10660 
    10661 echo "$as_me:$LINENO: checking for _doprnt" >&5
    10662 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
    10663 if test "${ac_cv_func__doprnt+set}" = set; then
    10664   echo $ECHO_N "(cached) $ECHO_C" >&6
    10665 else
    10666   cat >conftest.$ac_ext <<_ACEOF
    10667 /* confdefs.h.  */
    10668 _ACEOF
    10669 cat confdefs.h >>conftest.$ac_ext
    10670 cat >>conftest.$ac_ext <<_ACEOF
    10671 /* end confdefs.h.  */
    10672 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
    10673    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    10674 #define _doprnt innocuous__doprnt
    10675 
    10676 /* System header to define __stub macros and hopefully few prototypes,
    10677     which can conflict with char _doprnt (); below.
    10678     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    10679     <limits.h> exists even on freestanding compilers.  */
    10680 
    10681 #ifdef __STDC__
    10682 # include <limits.h>
    10683 #else
    10684 # include <assert.h>
    10685 #endif
    10686 
    10687 #undef _doprnt
    10688 
    10689 /* Override any gcc2 internal prototype to avoid an error.  */
    10690 #ifdef __cplusplus
    10691 extern "C"
    10692 {
    10693 #endif
    10694 /* We use char because int might match the return type of a gcc2
    10695    builtin and then its argument prototype would still apply.  */
    10696 char _doprnt ();
    10697 /* The GNU C library defines this for functions which it implements
    10698     to always fail with ENOSYS.  Some functions are actually named
    10699     something starting with __ and the normal name is an alias.  */
    10700 #if defined (__stub__doprnt) || defined (__stub____doprnt)
    10701 choke me
    10702 #else
    10703 char (*f) () = _doprnt;
    10704 #endif
    10705 #ifdef __cplusplus
    10706 }
    10707 #endif
    10708 
    10709 int
    10710 main ()
    10711 {
    10712 return f != _doprnt;
    10713   ;
    10714   return 0;
    10715 }
    10716 _ACEOF
    10717 rm -f conftest.$ac_objext conftest$ac_exeext
    10718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    10719   (eval $ac_link) 2>conftest.er1
    10720   ac_status=$?
    10721   grep -v '^ *+' conftest.er1 >conftest.err
    10722   rm -f conftest.er1
    10723   cat conftest.err >&5
    10724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10725   (exit $ac_status); } &&
    10726          { ac_try='test -z "$ac_c_werror_flag"
    10727                          || test ! -s conftest.err'
    10728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10729   (eval $ac_try) 2>&5
    10730   ac_status=$?
    10731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10732   (exit $ac_status); }; } &&
    10733          { ac_try='test -s conftest$ac_exeext'
    10734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10735   (eval $ac_try) 2>&5
    10736   ac_status=$?
    10737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10738   (exit $ac_status); }; }; then
    10739   ac_cv_func__doprnt=yes
    10740 else
    10741   echo "$as_me: failed program was:" >&5
    10742 sed 's/^/| /' conftest.$ac_ext >&5
    10743 
    10744 ac_cv_func__doprnt=no
    10745 fi
    10746 rm -f conftest.err conftest.$ac_objext \
    10747       conftest$ac_exeext conftest.$ac_ext
    10748 fi
    10749 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
    10750 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
    10751 if test $ac_cv_func__doprnt = yes; then
    10752 
    10753 cat >>confdefs.h <<\_ACEOF
    10754 #define HAVE_DOPRNT 1
    10755 _ACEOF
    10756 
    10757 fi
    10758 
    10759 fi
    10760 done
    10761 
    10762 
    10763 
    10764 
    10765 
    10766 
    10767 
    10768 
    10769 for ac_func in strerror sigfillset signal system getpwuid geteuid
    10770 do
    10771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    10772 echo "$as_me:$LINENO: checking for $ac_func" >&5
    10773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    10774 if eval "test \"\${$as_ac_var+set}\" = set"; then
    10775   echo $ECHO_N "(cached) $ECHO_C" >&6
    10776 else
    10777   cat >conftest.$ac_ext <<_ACEOF
    10778 /* confdefs.h.  */
    10779 _ACEOF
    10780 cat confdefs.h >>conftest.$ac_ext
    10781 cat >>conftest.$ac_ext <<_ACEOF
    10782 /* end confdefs.h.  */
    10783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    10784    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    10785 #define $ac_func innocuous_$ac_func
    10786 
    10787 /* System header to define __stub macros and hopefully few prototypes,
    10788     which can conflict with char $ac_func (); below.
    10789     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    10790     <limits.h> exists even on freestanding compilers.  */
    10791 
    10792 #ifdef __STDC__
    10793 # include <limits.h>
    10794 #else
    10795 # include <assert.h>
    10796 #endif
    10797 
    10798 #undef $ac_func
    10799 
    10800 /* Override any gcc2 internal prototype to avoid an error.  */
    10801 #ifdef __cplusplus
    10802 extern "C"
    10803 {
    10804 #endif
    10805 /* We use char because int might match the return type of a gcc2
    10806    builtin and then its argument prototype would still apply.  */
    10807 char $ac_func ();
    10808 /* The GNU C library defines this for functions which it implements
    10809     to always fail with ENOSYS.  Some functions are actually named
    10810     something starting with __ and the normal name is an alias.  */
    10811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
    10812 choke me
    10813 #else
    10814 char (*f) () = $ac_func;
    10815 #endif
    10816 #ifdef __cplusplus
    10817 }
    10818 #endif
    10819 
    10820 int
    10821 main ()
    10822 {
    10823 return f != $ac_func;
    10824   ;
    10825   return 0;
    10826 }
    10827 _ACEOF
    10828 rm -f conftest.$ac_objext conftest$ac_exeext
    10829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    10830   (eval $ac_link) 2>conftest.er1
    10831   ac_status=$?
    10832   grep -v '^ *+' conftest.er1 >conftest.err
    10833   rm -f conftest.er1
    10834   cat conftest.err >&5
    10835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10836   (exit $ac_status); } &&
    10837          { ac_try='test -z "$ac_c_werror_flag"
    10838                          || test ! -s conftest.err'
    10839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10840   (eval $ac_try) 2>&5
    10841   ac_status=$?
    10842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10843   (exit $ac_status); }; } &&
    10844          { ac_try='test -s conftest$ac_exeext'
    10845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10846   (eval $ac_try) 2>&5
    10847   ac_status=$?
    10848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10849   (exit $ac_status); }; }; then
    10850   eval "$as_ac_var=yes"
    10851 else
    10852   echo "$as_me: failed program was:" >&5
    10853 sed 's/^/| /' conftest.$ac_ext >&5
    10854 
    10855 eval "$as_ac_var=no"
    10856 fi
    10857 rm -f conftest.err conftest.$ac_objext \
    10858       conftest$ac_exeext conftest.$ac_ext
    10859 fi
    10860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    10861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    10862 if test `eval echo '${'$as_ac_var'}'` = yes; then
    10863   cat >>confdefs.h <<_ACEOF
    10864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
    10865 _ACEOF
    10866 
    10867 fi
    10868 done
    10869 
    10870 
    10871 
    10872 
    10873 for ac_func in gethostname time ctime
    10874 do
    10875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    10876 echo "$as_me:$LINENO: checking for $ac_func" >&5
    10877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    10878 if eval "test \"\${$as_ac_var+set}\" = set"; then
    10879   echo $ECHO_N "(cached) $ECHO_C" >&6
    10880 else
    10881   cat >conftest.$ac_ext <<_ACEOF
    10882 /* confdefs.h.  */
    10883 _ACEOF
    10884 cat confdefs.h >>conftest.$ac_ext
    10885 cat >>conftest.$ac_ext <<_ACEOF
    10886 /* end confdefs.h.  */
    10887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    10888    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    10889 #define $ac_func innocuous_$ac_func
    10890 
    10891 /* System header to define __stub macros and hopefully few prototypes,
    10892     which can conflict with char $ac_func (); below.
    10893     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    10894     <limits.h> exists even on freestanding compilers.  */
    10895 
    10896 #ifdef __STDC__
    10897 # include <limits.h>
    10898 #else
    10899 # include <assert.h>
    10900 #endif
    10901 
    10902 #undef $ac_func
    10903 
    10904 /* Override any gcc2 internal prototype to avoid an error.  */
    10905 #ifdef __cplusplus
    10906 extern "C"
    10907 {
    10908 #endif
    10909 /* We use char because int might match the return type of a gcc2
    10910    builtin and then its argument prototype would still apply.  */
    10911 char $ac_func ();
    10912 /* The GNU C library defines this for functions which it implements
    10913     to always fail with ENOSYS.  Some functions are actually named
    10914     something starting with __ and the normal name is an alias.  */
    10915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
    10916 choke me
    10917 #else
    10918 char (*f) () = $ac_func;
    10919 #endif
    10920 #ifdef __cplusplus
    10921 }
    10922 #endif
    10923 
    10924 int
    10925 main ()
    10926 {
    10927 return f != $ac_func;
    10928   ;
    10929   return 0;
    10930 }
    10931 _ACEOF
    10932 rm -f conftest.$ac_objext conftest$ac_exeext
    10933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    10934   (eval $ac_link) 2>conftest.er1
    10935   ac_status=$?
    10936   grep -v '^ *+' conftest.er1 >conftest.err
    10937   rm -f conftest.er1
    10938   cat conftest.err >&5
    10939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10940   (exit $ac_status); } &&
    10941          { ac_try='test -z "$ac_c_werror_flag"
    10942                          || test ! -s conftest.err'
    10943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10944   (eval $ac_try) 2>&5
    10945   ac_status=$?
    10946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10947   (exit $ac_status); }; } &&
    10948          { ac_try='test -s conftest$ac_exeext'
    10949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10950   (eval $ac_try) 2>&5
    10951   ac_status=$?
    10952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10953   (exit $ac_status); }; }; then
    10954   eval "$as_ac_var=yes"
    10955 else
    10956   echo "$as_me: failed program was:" >&5
    10957 sed 's/^/| /' conftest.$ac_ext >&5
    10958 
    10959 eval "$as_ac_var=no"
    10960 fi
    10961 rm -f conftest.err conftest.$ac_objext \
    10962       conftest$ac_exeext conftest.$ac_ext
    10963 fi
    10964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    10965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    10966 if test `eval echo '${'$as_ac_var'}'` = yes; then
    10967   cat >>confdefs.h <<_ACEOF
    10968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
    10969 _ACEOF
    10970 
    10971 fi
    10972 done
    10973 
    10974 
    10975 
    10976 for ac_func in setrlimit setenv
    10977 do
    10978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    10979 echo "$as_me:$LINENO: checking for $ac_func" >&5
    10980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    10981 if eval "test \"\${$as_ac_var+set}\" = set"; then
    10982   echo $ECHO_N "(cached) $ECHO_C" >&6
    10983 else
    10984   cat >conftest.$ac_ext <<_ACEOF
    10985 /* confdefs.h.  */
    10986 _ACEOF
    10987 cat confdefs.h >>conftest.$ac_ext
    10988 cat >>conftest.$ac_ext <<_ACEOF
    10989 /* end confdefs.h.  */
    10990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    10991    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    10992 #define $ac_func innocuous_$ac_func
    10993 
    10994 /* System header to define __stub macros and hopefully few prototypes,
    10995     which can conflict with char $ac_func (); below.
    10996     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    10997     <limits.h> exists even on freestanding compilers.  */
    10998 
    10999 #ifdef __STDC__
    11000 # include <limits.h>
    11001 #else
    11002 # include <assert.h>
    11003 #endif
    11004 
    11005 #undef $ac_func
    11006 
    11007 /* Override any gcc2 internal prototype to avoid an error.  */
    11008 #ifdef __cplusplus
    11009 extern "C"
    11010 {
    11011 #endif
    11012 /* We use char because int might match the return type of a gcc2
    11013    builtin and then its argument prototype would still apply.  */
    11014 char $ac_func ();
    11015 /* The GNU C library defines this for functions which it implements
    11016     to always fail with ENOSYS.  Some functions are actually named
    11017     something starting with __ and the normal name is an alias.  */
    11018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
    11019 choke me
    11020 #else
    11021 char (*f) () = $ac_func;
    11022 #endif
    11023 #ifdef __cplusplus
    11024 }
    11025 #endif
    11026 
    11027 int
    11028 main ()
    11029 {
    11030 return f != $ac_func;
    11031   ;
    11032   return 0;
    11033 }
    11034 _ACEOF
    11035 rm -f conftest.$ac_objext conftest$ac_exeext
    11036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    11037   (eval $ac_link) 2>conftest.er1
    11038   ac_status=$?
    11039   grep -v '^ *+' conftest.er1 >conftest.err
    11040   rm -f conftest.er1
    11041   cat conftest.err >&5
    11042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11043   (exit $ac_status); } &&
    11044          { ac_try='test -z "$ac_c_werror_flag"
    11045                          || test ! -s conftest.err'
    11046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    11047   (eval $ac_try) 2>&5
    11048   ac_status=$?
    11049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11050   (exit $ac_status); }; } &&
    11051          { ac_try='test -s conftest$ac_exeext'
    11052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    11053   (eval $ac_try) 2>&5
    11054   ac_status=$?
    11055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11056   (exit $ac_status); }; }; then
    11057   eval "$as_ac_var=yes"
    11058 else
    11059   echo "$as_me: failed program was:" >&5
    11060 sed 's/^/| /' conftest.$ac_ext >&5
    11061 
    11062 eval "$as_ac_var=no"
    11063 fi
    11064 rm -f conftest.err conftest.$ac_objext \
    11065       conftest$ac_exeext conftest.$ac_ext
    11066 fi
    11067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    11068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    11069 if test `eval echo '${'$as_ac_var'}'` = yes; then
    11070   cat >>confdefs.h <<_ACEOF
    11071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
    11072 _ACEOF
    11073 
    11074 fi
    11075 done
    11076 
    11077 
    11078 
    11079 
    11080 ac_ext=cc
    11081 ac_cpp='$CXXCPP $CPPFLAGS'
    11082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    11083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    11084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    11085 
    11086 echo "$as_me:$LINENO: checking isnan and iostream" >&5
    11087 echo $ECHO_N "checking isnan and iostream... $ECHO_C" >&6
    11088 cat >conftest.$ac_ext <<_ACEOF
    11089 
    11090   #include <iostream>
    11091   #include <math.h>
    11092   int main(int,char**) { isnan(1.0); return 0; }
    11093 
    11094 _ACEOF
    11095 rm -f conftest.$ac_objext conftest$ac_exeext
    11096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    11097   (eval $ac_link) 2>conftest.er1
    11098   ac_status=$?
    11099   grep -v '^ *+' conftest.er1 >conftest.err
    11100   rm -f conftest.er1
    11101   cat conftest.err >&5
    11102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11103   (exit $ac_status); } &&
    11104          { ac_try='test -z "$ac_cxx_werror_flag"
    11105                          || test ! -s conftest.err'
    11106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    11107   (eval $ac_try) 2>&5
    11108   ac_status=$?
    11109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11110   (exit $ac_status); }; } &&
    11111          { ac_try='test -s conftest$ac_exeext'
    11112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    11113   (eval $ac_try) 2>&5
    11114   ac_status=$?
    11115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11116   (exit $ac_status); }; }; then
    11117   cat >>confdefs.h <<\_ACEOF
    11118 #define HAVE_ISNAN 1
    11119 _ACEOF
    11120 
    11121   echo "$as_me:$LINENO: result: yes" >&5
    11122 echo "${ECHO_T}yes" >&6
    11123 else
    11124   echo "$as_me: failed program was:" >&5
    11125 sed 's/^/| /' conftest.$ac_ext >&5
    11126 
    11127 echo "$as_me:$LINENO: result: no" >&5
    11128 echo "${ECHO_T}no" >&6
    11129 
    11130 fi
    11131 rm -f conftest.err conftest.$ac_objext \
    11132       conftest$ac_exeext conftest.$ac_ext
     8091if ac_fn_cxx_try_link "$LINENO"; then :
     8092
     8093$as_echo "#define HAVE_ISNAN 1" >>confdefs.h
     8094
     8095  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     8096$as_echo "yes" >&6; }
     8097else
     8098  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8099$as_echo "no" >&6; }
     8100
     8101fi
     8102rm -f core conftest.err conftest.$ac_objext \
     8103    conftest$ac_exeext conftest.$ac_ext
    111338104ac_ext=c
    111348105ac_cpp='$CPP $CPPFLAGS'
     
    111398110
    111408111
    11141 
    111428112for ac_header in fenv.h
    11143 do
    11144 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    11145 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    11146   echo "$as_me:$LINENO: checking for $ac_header" >&5
    11147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    11148 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    11149   echo $ECHO_N "(cached) $ECHO_C" >&6
    11150 fi
    11151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    11152 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    11153 else
    11154   # Is the header compilable?
    11155 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    11156 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    11157 cat >conftest.$ac_ext <<_ACEOF
    11158 /* confdefs.h.  */
     8113do :
     8114  ac_fn_c_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
     8115if test "x$ac_cv_header_fenv_h" = xyes; then :
     8116  cat >>confdefs.h <<_ACEOF
     8117#define HAVE_FENV_H 1
    111598118_ACEOF
    11160 cat confdefs.h >>conftest.$ac_ext
    11161 cat >>conftest.$ac_ext <<_ACEOF
    11162 /* end confdefs.h.  */
    11163 $ac_includes_default
    11164 #include <$ac_header>
     8119
     8120fi
     8121
     8122done
     8123
     8124for ac_func in feenableexcept fedisableexcept
     8125do :
     8126  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     8127ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
     8128if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
     8129  cat >>confdefs.h <<_ACEOF
     8130#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    111658131_ACEOF
    11166 rm -f conftest.$ac_objext
    11167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    11168   (eval $ac_compile) 2>conftest.er1
    11169   ac_status=$?
    11170   grep -v '^ *+' conftest.er1 >conftest.err
    11171   rm -f conftest.er1
    11172   cat conftest.err >&5
    11173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11174   (exit $ac_status); } &&
    11175          { ac_try='test -z "$ac_c_werror_flag"
    11176                          || test ! -s conftest.err'
    11177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    11178   (eval $ac_try) 2>&5
    11179   ac_status=$?
    11180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11181   (exit $ac_status); }; } &&
    11182          { ac_try='test -s conftest.$ac_objext'
    11183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    11184   (eval $ac_try) 2>&5
    11185   ac_status=$?
    11186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11187   (exit $ac_status); }; }; then
    11188   ac_header_compiler=yes
    11189 else
    11190   echo "$as_me: failed program was:" >&5
    11191 sed 's/^/| /' conftest.$ac_ext >&5
    11192 
    11193 ac_header_compiler=no
    11194 fi
    11195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    11196 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    11197 echo "${ECHO_T}$ac_header_compiler" >&6
    11198 
    11199 # Is the header present?
    11200 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    11201 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    11202 cat >conftest.$ac_ext <<_ACEOF
    11203 /* confdefs.h.  */
    11204 _ACEOF
    11205 cat confdefs.h >>conftest.$ac_ext
    11206 cat >>conftest.$ac_ext <<_ACEOF
    11207 /* end confdefs.h.  */
    11208 #include <$ac_header>
    11209 _ACEOF
    11210 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    11211   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    11212   ac_status=$?
    11213   grep -v '^ *+' conftest.er1 >conftest.err
    11214   rm -f conftest.er1
    11215   cat conftest.err >&5
    11216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11217   (exit $ac_status); } >/dev/null; then
    11218   if test -s conftest.err; then
    11219     ac_cpp_err=$ac_c_preproc_warn_flag
    11220     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    11221   else
    11222     ac_cpp_err=
    11223   fi
    11224 else
    11225   ac_cpp_err=yes
    11226 fi
    11227 if test -z "$ac_cpp_err"; then
    11228   ac_header_preproc=yes
    11229 else
    11230   echo "$as_me: failed program was:" >&5
    11231 sed 's/^/| /' conftest.$ac_ext >&5
    11232 
    11233   ac_header_preproc=no
    11234 fi
    11235 rm -f conftest.err conftest.$ac_ext
    11236 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    11237 echo "${ECHO_T}$ac_header_preproc" >&6
    11238 
    11239 # So?  What about this header?
    11240 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    11241   yes:no: )
    11242     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    11243 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    11244     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    11245 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    11246     ac_header_preproc=yes
    11247     ;;
    11248   no:yes:* )
    11249     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    11250 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    11251     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    11252 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    11253     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    11254 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    11255     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    11256 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    11257     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    11258 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    11259     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    11260 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    11261     (
    11262       cat <<\_ASBOX
    11263 ## ------------------------------------------ ##
    11264 ## Report this to the AC_PACKAGE_NAME lists.  ##
    11265 ## ------------------------------------------ ##
    11266 _ASBOX
    11267     ) |
    11268       sed "s/^/$as_me: WARNING:     /" >&2
    11269     ;;
    11270 esac
    11271 echo "$as_me:$LINENO: checking for $ac_header" >&5
    11272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    11273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    11274   echo $ECHO_N "(cached) $ECHO_C" >&6
    11275 else
    11276   eval "$as_ac_Header=\$ac_header_preproc"
    11277 fi
    11278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    11279 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    11280 
    11281 fi
    11282 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    11283   cat >>confdefs.h <<_ACEOF
    11284 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    11285 _ACEOF
    11286 
    11287 fi
    11288 
     8132
     8133fi
    112898134done
    112908135
    112918136
    112928137
    11293 for ac_func in feenableexcept fedisableexcept
    11294 do
    11295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    11296 echo "$as_me:$LINENO: checking for $ac_func" >&5
    11297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    11298 if eval "test \"\${$as_ac_var+set}\" = set"; then
    11299   echo $ECHO_N "(cached) $ECHO_C" >&6
    11300 else
    11301   cat >conftest.$ac_ext <<_ACEOF
    11302 /* confdefs.h.  */
    11303 _ACEOF
    11304 cat confdefs.h >>conftest.$ac_ext
    11305 cat >>conftest.$ac_ext <<_ACEOF
    11306 /* end confdefs.h.  */
    11307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    11308    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    11309 #define $ac_func innocuous_$ac_func
    11310 
    11311 /* System header to define __stub macros and hopefully few prototypes,
    11312     which can conflict with char $ac_func (); below.
    11313     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    11314     <limits.h> exists even on freestanding compilers.  */
    11315 
    11316 #ifdef __STDC__
    11317 # include <limits.h>
    11318 #else
    11319 # include <assert.h>
    11320 #endif
    11321 
    11322 #undef $ac_func
    11323 
    11324 /* Override any gcc2 internal prototype to avoid an error.  */
    11325 #ifdef __cplusplus
    11326 extern "C"
    11327 {
    11328 #endif
    11329 /* We use char because int might match the return type of a gcc2
    11330    builtin and then its argument prototype would still apply.  */
    11331 char $ac_func ();
    11332 /* The GNU C library defines this for functions which it implements
    11333     to always fail with ENOSYS.  Some functions are actually named
    11334     something starting with __ and the normal name is an alias.  */
    11335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
    11336 choke me
    11337 #else
    11338 char (*f) () = $ac_func;
    11339 #endif
    11340 #ifdef __cplusplus
    11341 }
    11342 #endif
    11343 
    11344 int
    11345 main ()
    11346 {
    11347 return f != $ac_func;
    11348   ;
    11349   return 0;
    11350 }
    11351 _ACEOF
    11352 rm -f conftest.$ac_objext conftest$ac_exeext
    11353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    11354   (eval $ac_link) 2>conftest.er1
    11355   ac_status=$?
    11356   grep -v '^ *+' conftest.er1 >conftest.err
    11357   rm -f conftest.er1
    11358   cat conftest.err >&5
    11359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11360   (exit $ac_status); } &&
    11361          { ac_try='test -z "$ac_c_werror_flag"
    11362                          || test ! -s conftest.err'
    11363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    11364   (eval $ac_try) 2>&5
    11365   ac_status=$?
    11366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11367   (exit $ac_status); }; } &&
    11368          { ac_try='test -s conftest$ac_exeext'
    11369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    11370   (eval $ac_try) 2>&5
    11371   ac_status=$?
    11372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11373   (exit $ac_status); }; }; then
    11374   eval "$as_ac_var=yes"
    11375 else
    11376   echo "$as_me: failed program was:" >&5
    11377 sed 's/^/| /' conftest.$ac_ext >&5
    11378 
    11379 eval "$as_ac_var=no"
    11380 fi
    11381 rm -f conftest.err conftest.$ac_objext \
    11382       conftest$ac_exeext conftest.$ac_ext
    11383 fi
    11384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    11385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    11386 if test `eval echo '${'$as_ac_var'}'` = yes; then
    11387   cat >>confdefs.h <<_ACEOF
    11388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
    11389 _ACEOF
    11390 
    11391 fi
    11392 done
    11393 
    11394 
    11395 
    11396 
    11397 ac_ext=cc
     8138ac_ext=cpp
    113988139ac_cpp='$CXXCPP $CPPFLAGS'
    113998140ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    114018142ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    114028143
    11403 echo "$as_me:$LINENO: checking fchdir" >&5
    11404 echo $ECHO_N "checking fchdir... $ECHO_C" >&6
    11405 cat >conftest.$ac_ext <<_ACEOF
    11406 /* confdefs.h.  */
    11407 _ACEOF
    11408 cat confdefs.h >>conftest.$ac_ext
    11409 cat >>conftest.$ac_ext <<_ACEOF
     8144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking fchdir" >&5
     8145$as_echo_n "checking fchdir... " >&6; }
     8146cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    114108147/* end confdefs.h.  */
    114118148#include <unistd.h>
     
    114208157}
    114218158_ACEOF
    11422 rm -f conftest.$ac_objext
    11423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    11424   (eval $ac_compile) 2>conftest.er1
    11425   ac_status=$?
    11426   grep -v '^ *+' conftest.er1 >conftest.err
    11427   rm -f conftest.er1
    11428   cat conftest.err >&5
    11429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11430   (exit $ac_status); } &&
    11431          { ac_try='test -z "$ac_cxx_werror_flag"
    11432                          || test ! -s conftest.err'
    11433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    11434   (eval $ac_try) 2>&5
    11435   ac_status=$?
    11436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11437   (exit $ac_status); }; } &&
    11438          { ac_try='test -s conftest.$ac_objext'
    11439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    11440   (eval $ac_try) 2>&5
    11441   ac_status=$?
    11442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11443   (exit $ac_status); }; }; then
     8159if ac_fn_cxx_try_compile "$LINENO"; then :
    114448160  HAVE_FCHDIR=yes
    11445 cat >>confdefs.h <<\_ACEOF
    11446 #define HAVE_FCHDIR 1
    11447 _ACEOF
    11448 
    11449 echo "$as_me:$LINENO: result: yes" >&5
    11450 echo "${ECHO_T}yes" >&6
    11451 else
    11452   echo "$as_me: failed program was:" >&5
    11453 sed 's/^/| /' conftest.$ac_ext >&5
    11454 
    11455 
    11456 echo "$as_me:$LINENO: result: no" >&5
    11457 echo "${ECHO_T}no" >&6
     8161
     8162$as_echo "#define HAVE_FCHDIR 1" >>confdefs.h
     8163
     8164{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     8165$as_echo "yes" >&6; }
     8166else
     8167
     8168{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8169$as_echo "no" >&6; }
    114588170HAVE_FCHDIR=no
    114598171
    114608172fi
    11461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     8173rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    114628174ac_ext=c
    114638175ac_cpp='$CPP $CPPFLAGS'
     
    114708182
    114718183
    11472 
    11473 ac_ext=cc
     8184ac_ext=cpp
    114748185ac_cpp='$CXXCPP $CPPFLAGS'
    114758186ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    114778188ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    114788189
    11479 echo "$as_me:$LINENO: checking ios::fmtflags" >&5
    11480 echo $ECHO_N "checking ios::fmtflags... $ECHO_C" >&6
    11481 cat >conftest.$ac_ext <<_ACEOF
    11482 /* confdefs.h.  */
    11483 _ACEOF
    11484 cat confdefs.h >>conftest.$ac_ext
    11485 cat >>conftest.$ac_ext <<_ACEOF
     8190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking ios::fmtflags" >&5
     8191$as_echo_n "checking ios::fmtflags... " >&6; }
     8192cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    114868193/* end confdefs.h.  */
    114878194#include <$iostream>
     
    114968203}
    114978204_ACEOF
    11498 rm -f conftest.$ac_objext
    11499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    11500   (eval $ac_compile) 2>conftest.er1
    11501   ac_status=$?
    11502   grep -v '^ *+' conftest.er1 >conftest.err
    11503   rm -f conftest.er1
    11504   cat conftest.err >&5
    11505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11506   (exit $ac_status); } &&
    11507          { ac_try='test -z "$ac_cxx_werror_flag"
    11508                          || test ! -s conftest.err'
    11509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    11510   (eval $ac_try) 2>&5
    11511   ac_status=$?
    11512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11513   (exit $ac_status); }; } &&
    11514          { ac_try='test -s conftest.$ac_objext'
    11515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    11516   (eval $ac_try) 2>&5
    11517   ac_status=$?
    11518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11519   (exit $ac_status); }; }; then
     8205if ac_fn_cxx_try_compile "$LINENO"; then :
    115208206  HAVE_IOS_FMTFLAGS=yes
    11521 cat >>confdefs.h <<\_ACEOF
    11522 #define HAVE_IOS_FMTFLAGS 1
    11523 _ACEOF
    11524 
    11525 echo "$as_me:$LINENO: result: yes" >&5
    11526 echo "${ECHO_T}yes" >&6
    11527 else
    11528   echo "$as_me: failed program was:" >&5
    11529 sed 's/^/| /' conftest.$ac_ext >&5
    11530 
    11531 
    11532 echo "$as_me:$LINENO: result: no" >&5
    11533 echo "${ECHO_T}no" >&6
     8207
     8208$as_echo "#define HAVE_IOS_FMTFLAGS 1" >>confdefs.h
     8209
     8210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     8211$as_echo "yes" >&6; }
     8212else
     8213
     8214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8215$as_echo "no" >&6; }
    115348216HAVE_IOS_FMTFLAGS=no
    115358217
    115368218fi
    11537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     8219rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    115388220ac_ext=c
    115398221ac_cpp='$CPP $CPPFLAGS'
     
    115478229if test X"$LONGLONG" = Xyes; then
    115488230
    11549 
    11550 ac_ext=cc
     8231ac_ext=cpp
    115518232ac_cpp='$CXXCPP $CPPFLAGS'
    115528233ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    115548235ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    115558236
    11556 echo "$as_me:$LINENO: checking long long" >&5
    11557 echo $ECHO_N "checking long long... $ECHO_C" >&6
    11558 cat >conftest.$ac_ext <<_ACEOF
    11559 /* confdefs.h.  */
    11560 _ACEOF
    11561 cat confdefs.h >>conftest.$ac_ext
    11562 cat >>conftest.$ac_ext <<_ACEOF
     8237{ $as_echo "$as_me:${as_lineno-$LINENO}: checking long long" >&5
     8238$as_echo_n "checking long long... " >&6; }
     8239cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    115638240/* end confdefs.h.  */
    115648241
     
    115738250}
    115748251_ACEOF
    11575 rm -f conftest.$ac_objext
    11576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    11577   (eval $ac_compile) 2>conftest.er1
    11578   ac_status=$?
    11579   grep -v '^ *+' conftest.er1 >conftest.err
    11580   rm -f conftest.er1
    11581   cat conftest.err >&5
    11582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11583   (exit $ac_status); } &&
    11584          { ac_try='test -z "$ac_cxx_werror_flag"
    11585                          || test ! -s conftest.err'
    11586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    11587   (eval $ac_try) 2>&5
    11588   ac_status=$?
    11589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11590   (exit $ac_status); }; } &&
    11591          { ac_try='test -s conftest.$ac_objext'
    11592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    11593   (eval $ac_try) 2>&5
    11594   ac_status=$?
    11595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11596   (exit $ac_status); }; }; then
    11597   cat >>confdefs.h <<\_ACEOF
    11598 #define HAVE_LONG_LONG 1
    11599 _ACEOF
    11600 
    11601 echo "$as_me:$LINENO: result: yes" >&5
    11602 echo "${ECHO_T}yes" >&6
    11603 else
    11604   echo "$as_me: failed program was:" >&5
    11605 sed 's/^/| /' conftest.$ac_ext >&5
    11606 
    11607 
    11608 echo "$as_me:$LINENO: result: no" >&5
    11609 echo "${ECHO_T}no" >&6
    11610 
    11611 fi
    11612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     8252if ac_fn_cxx_try_compile "$LINENO"; then :
     8253
     8254$as_echo "#define HAVE_LONG_LONG 1" >>confdefs.h
     8255
     8256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     8257$as_echo "yes" >&6; }
     8258else
     8259
     8260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8261$as_echo "no" >&6; }
     8262
     8263fi
     8264rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    116138265ac_ext=c
    116148266ac_cpp='$CPP $CPPFLAGS'
     
    116218273
    116228274
    11623 
    11624 ac_ext=cc
     8275ac_ext=cpp
    116258276ac_cpp='$CXXCPP $CPPFLAGS'
    116268277ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    116288279ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    116298280
    11630 echo "$as_me:$LINENO: checking sgetn" >&5
    11631 echo $ECHO_N "checking sgetn... $ECHO_C" >&6
    11632 cat >conftest.$ac_ext <<_ACEOF
    11633 /* confdefs.h.  */
    11634 _ACEOF
    11635 cat confdefs.h >>conftest.$ac_ext
    11636 cat >>conftest.$ac_ext <<_ACEOF
     8281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking sgetn" >&5
     8282$as_echo_n "checking sgetn... " >&6; }
     8283cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    116378284/* end confdefs.h.  */
    116388285#include <$iostream>
     
    116488295}
    116498296_ACEOF
    11650 rm -f conftest.$ac_objext
    11651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    11652   (eval $ac_compile) 2>conftest.er1
    11653   ac_status=$?
    11654   grep -v '^ *+' conftest.er1 >conftest.err
    11655   rm -f conftest.er1
    11656   cat conftest.err >&5
    11657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11658   (exit $ac_status); } &&
    11659          { ac_try='test -z "$ac_cxx_werror_flag"
    11660                          || test ! -s conftest.err'
    11661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    11662   (eval $ac_try) 2>&5
    11663   ac_status=$?
    11664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11665   (exit $ac_status); }; } &&
    11666          { ac_try='test -s conftest.$ac_objext'
    11667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    11668   (eval $ac_try) 2>&5
    11669   ac_status=$?
    11670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11671   (exit $ac_status); }; }; then
     8297if ac_fn_cxx_try_compile "$LINENO"; then :
    116728298  HAVE_SGETN=yes
    11673 cat >>confdefs.h <<\_ACEOF
    11674 #define HAVE_SGETN 1
    11675 _ACEOF
    11676 
    11677 echo "$as_me:$LINENO: result: yes" >&5
    11678 echo "${ECHO_T}yes" >&6
    11679 else
    11680   echo "$as_me: failed program was:" >&5
    11681 sed 's/^/| /' conftest.$ac_ext >&5
    11682 
    11683 
    11684 echo "$as_me:$LINENO: result: no" >&5
    11685 echo "${ECHO_T}no" >&6
     8299
     8300$as_echo "#define HAVE_SGETN 1" >>confdefs.h
     8301
     8302{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     8303$as_echo "yes" >&6; }
     8304else
     8305
     8306{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8307$as_echo "no" >&6; }
    116868308HAVE_SGETN=no
    116878309
    116888310fi
    11689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     8311rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    116908312ac_ext=c
    116918313ac_cpp='$CPP $CPPFLAGS'
     
    116988320
    116998321
    11700 
    11701 ac_ext=cc
     8322ac_ext=cpp
    117028323ac_cpp='$CXXCPP $CPPFLAGS'
    117038324ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    117058326ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    117068327
    11707 echo "$as_me:$LINENO: checking pubseekoff" >&5
    11708 echo $ECHO_N "checking pubseekoff... $ECHO_C" >&6
    11709 cat >conftest.$ac_ext <<_ACEOF
    11710 /* confdefs.h.  */
    11711 _ACEOF
    11712 cat confdefs.h >>conftest.$ac_ext
    11713 cat >>conftest.$ac_ext <<_ACEOF
     8328{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pubseekoff" >&5
     8329$as_echo_n "checking pubseekoff... " >&6; }
     8330cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    117148331/* end confdefs.h.  */
    117158332#include <$iostream>
     
    117258342}
    117268343_ACEOF
    11727 rm -f conftest.$ac_objext
    11728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    11729   (eval $ac_compile) 2>conftest.er1
    11730   ac_status=$?
    11731   grep -v '^ *+' conftest.er1 >conftest.err
    11732   rm -f conftest.er1
    11733   cat conftest.err >&5
    11734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11735   (exit $ac_status); } &&
    11736          { ac_try='test -z "$ac_cxx_werror_flag"
    11737                          || test ! -s conftest.err'
    11738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    11739   (eval $ac_try) 2>&5
    11740   ac_status=$?
    11741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11742   (exit $ac_status); }; } &&
    11743          { ac_try='test -s conftest.$ac_objext'
    11744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    11745   (eval $ac_try) 2>&5
    11746   ac_status=$?
    11747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11748   (exit $ac_status); }; }; then
     8344if ac_fn_cxx_try_compile "$LINENO"; then :
    117498345  HAVE_PUBSEEKOFF=yes
    11750 cat >>confdefs.h <<\_ACEOF
    11751 #define HAVE_PUBSEEKOFF 1
    11752 _ACEOF
    11753 
    11754 echo "$as_me:$LINENO: result: yes" >&5
    11755 echo "${ECHO_T}yes" >&6
    11756 else
    11757   echo "$as_me: failed program was:" >&5
    11758 sed 's/^/| /' conftest.$ac_ext >&5
    11759 
    11760 
    11761 echo "$as_me:$LINENO: result: no" >&5
    11762 echo "${ECHO_T}no" >&6
     8346
     8347$as_echo "#define HAVE_PUBSEEKOFF 1" >>confdefs.h
     8348
     8349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     8350$as_echo "yes" >&6; }
     8351else
     8352
     8353{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8354$as_echo "no" >&6; }
    117638355HAVE_PUBSEEKOFF=no
    117648356
    117658357fi
    11766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     8358rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    117678359ac_ext=c
    117688360ac_cpp='$CPP $CPPFLAGS'
     
    117758367
    117768368
    11777 
    11778 ac_ext=cc
     8369ac_ext=cpp
    117798370ac_cpp='$CXXCPP $CPPFLAGS'
    117808371ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    117828373ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    117838374
    11784 echo "$as_me:$LINENO: checking seekoff" >&5
    11785 echo $ECHO_N "checking seekoff... $ECHO_C" >&6
    11786 cat >conftest.$ac_ext <<_ACEOF
    11787 /* confdefs.h.  */
    11788 _ACEOF
    11789 cat confdefs.h >>conftest.$ac_ext
    11790 cat >>conftest.$ac_ext <<_ACEOF
     8375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking seekoff" >&5
     8376$as_echo_n "checking seekoff... " >&6; }
     8377cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    117918378/* end confdefs.h.  */
    117928379#include <$iostream>
     
    118028389}
    118038390_ACEOF
    11804 rm -f conftest.$ac_objext
    11805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    11806   (eval $ac_compile) 2>conftest.er1
    11807   ac_status=$?
    11808   grep -v '^ *+' conftest.er1 >conftest.err
    11809   rm -f conftest.er1
    11810   cat conftest.err >&5
    11811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11812   (exit $ac_status); } &&
    11813          { ac_try='test -z "$ac_cxx_werror_flag"
    11814                          || test ! -s conftest.err'
    11815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    11816   (eval $ac_try) 2>&5
    11817   ac_status=$?
    11818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11819   (exit $ac_status); }; } &&
    11820          { ac_try='test -s conftest.$ac_objext'
    11821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    11822   (eval $ac_try) 2>&5
    11823   ac_status=$?
    11824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11825   (exit $ac_status); }; }; then
     8391if ac_fn_cxx_try_compile "$LINENO"; then :
    118268392  HAVE_SEEKOFF=yes
    11827 cat >>confdefs.h <<\_ACEOF
    11828 #define HAVE_SEEKOFF 1
    11829 _ACEOF
    11830 
    11831 echo "$as_me:$LINENO: result: yes" >&5
    11832 echo "${ECHO_T}yes" >&6
    11833 else
    11834   echo "$as_me: failed program was:" >&5
    11835 sed 's/^/| /' conftest.$ac_ext >&5
    11836 
    11837 
    11838 echo "$as_me:$LINENO: result: no" >&5
    11839 echo "${ECHO_T}no" >&6
     8393
     8394$as_echo "#define HAVE_SEEKOFF 1" >>confdefs.h
     8395
     8396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     8397$as_echo "yes" >&6; }
     8398else
     8399
     8400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8401$as_echo "no" >&6; }
    118408402HAVE_SEEKOFF=no
    118418403
    118428404fi
    11843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     8405rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    118448406ac_ext=c
    118458407ac_cpp='$CPP $CPPFLAGS'
     
    118528414
    118538415
    11854 
    11855 ac_ext=cc
     8416ac_ext=cpp
    118568417ac_cpp='$CXXCPP $CPPFLAGS'
    118578418ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    118598420ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    118608421
    11861 echo "$as_me:$LINENO: checking signal handler needs ellipsis" >&5
    11862 echo $ECHO_N "checking signal handler needs ellipsis... $ECHO_C" >&6
    11863 cat >conftest.$ac_ext <<_ACEOF
    11864 /* confdefs.h.  */
    11865 _ACEOF
    11866 cat confdefs.h >>conftest.$ac_ext
    11867 cat >>conftest.$ac_ext <<_ACEOF
     8422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking signal handler needs ellipsis" >&5
     8423$as_echo_n "checking signal handler needs ellipsis... " >&6; }
     8424cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    118688425/* end confdefs.h.  */
    118698426
     
    118858442}
    118868443_ACEOF
    11887 rm -f conftest.$ac_objext conftest$ac_exeext
    11888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    11889   (eval $ac_link) 2>conftest.er1
    11890   ac_status=$?
    11891   grep -v '^ *+' conftest.er1 >conftest.err
    11892   rm -f conftest.er1
    11893   cat conftest.err >&5
    11894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11895   (exit $ac_status); } &&
    11896          { ac_try='test -z "$ac_cxx_werror_flag"
    11897                          || test ! -s conftest.err'
    11898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    11899   (eval $ac_try) 2>&5
    11900   ac_status=$?
    11901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11902   (exit $ac_status); }; } &&
    11903          { ac_try='test -s conftest$ac_exeext'
    11904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    11905   (eval $ac_try) 2>&5
    11906   ac_status=$?
    11907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11908   (exit $ac_status); }; }; then
    11909   cat >>confdefs.h <<\_ACEOF
    11910 #define SIGHASELLIP 1
    11911 _ACEOF
    11912  echo "$as_me:$LINENO: result: yes" >&5
    11913 echo "${ECHO_T}yes" >&6
    11914 else
    11915   echo "$as_me: failed program was:" >&5
    11916 sed 's/^/| /' conftest.$ac_ext >&5
    11917 
    11918 echo "$as_me:$LINENO: result: no" >&5
    11919 echo "${ECHO_T}no" >&6
    11920 fi
    11921 rm -f conftest.err conftest.$ac_objext \
    11922       conftest$ac_exeext conftest.$ac_ext
     8444if ac_fn_cxx_try_link "$LINENO"; then :
     8445
     8446$as_echo "#define SIGHASELLIP 1" >>confdefs.h
     8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     8448$as_echo "yes" >&6; }
     8449else
     8450  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8451$as_echo "no" >&6; }
     8452fi
     8453rm -f core conftest.err conftest.$ac_objext \
     8454    conftest$ac_exeext conftest.$ac_ext
    119238455ac_ext=c
    119248456ac_cpp='$CPP $CPPFLAGS'
     
    119308462
    119318463
    11932 
    11933 ac_ext=cc
     8464ac_ext=cpp
    119348465ac_cpp='$CXXCPP $CPPFLAGS'
    119358466ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    119378468ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    119388469
    11939 
    119408470for ac_func in drand48
    11941 do
    11942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    11943 echo "$as_me:$LINENO: checking for $ac_func" >&5
    11944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    11945 if eval "test \"\${$as_ac_var+set}\" = set"; then
    11946   echo $ECHO_N "(cached) $ECHO_C" >&6
    11947 else
    11948   cat >conftest.$ac_ext <<_ACEOF
    11949 /* confdefs.h.  */
    11950 _ACEOF
    11951 cat confdefs.h >>conftest.$ac_ext
    11952 cat >>conftest.$ac_ext <<_ACEOF
    11953 /* end confdefs.h.  */
    11954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    11955    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    11956 #define $ac_func innocuous_$ac_func
    11957 
    11958 /* System header to define __stub macros and hopefully few prototypes,
    11959     which can conflict with char $ac_func (); below.
    11960     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    11961     <limits.h> exists even on freestanding compilers.  */
    11962 
    11963 #ifdef __STDC__
    11964 # include <limits.h>
    11965 #else
    11966 # include <assert.h>
    11967 #endif
    11968 
    11969 #undef $ac_func
    11970 
    11971 /* Override any gcc2 internal prototype to avoid an error.  */
    11972 #ifdef __cplusplus
    11973 extern "C"
    11974 {
    11975 #endif
    11976 /* We use char because int might match the return type of a gcc2
    11977    builtin and then its argument prototype would still apply.  */
    11978 char $ac_func ();
    11979 /* The GNU C library defines this for functions which it implements
    11980     to always fail with ENOSYS.  Some functions are actually named
    11981     something starting with __ and the normal name is an alias.  */
    11982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
    11983 choke me
    11984 #else
    11985 char (*f) () = $ac_func;
    11986 #endif
    11987 #ifdef __cplusplus
    11988 }
    11989 #endif
    11990 
    11991 int
    11992 main ()
    11993 {
    11994 return f != $ac_func;
    11995   ;
    11996   return 0;
    11997 }
    11998 _ACEOF
    11999 rm -f conftest.$ac_objext conftest$ac_exeext
    12000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    12001   (eval $ac_link) 2>conftest.er1
    12002   ac_status=$?
    12003   grep -v '^ *+' conftest.er1 >conftest.err
    12004   rm -f conftest.er1
    12005   cat conftest.err >&5
    12006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12007   (exit $ac_status); } &&
    12008          { ac_try='test -z "$ac_cxx_werror_flag"
    12009                          || test ! -s conftest.err'
    12010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12011   (eval $ac_try) 2>&5
    12012   ac_status=$?
    12013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12014   (exit $ac_status); }; } &&
    12015          { ac_try='test -s conftest$ac_exeext'
    12016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12017   (eval $ac_try) 2>&5
    12018   ac_status=$?
    12019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12020   (exit $ac_status); }; }; then
    12021   eval "$as_ac_var=yes"
    12022 else
    12023   echo "$as_me: failed program was:" >&5
    12024 sed 's/^/| /' conftest.$ac_ext >&5
    12025 
    12026 eval "$as_ac_var=no"
    12027 fi
    12028 rm -f conftest.err conftest.$ac_objext \
    12029       conftest$ac_exeext conftest.$ac_ext
    12030 fi
    12031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    12032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    12033 if test `eval echo '${'$as_ac_var'}'` = yes; then
     8471do :
     8472  ac_fn_cxx_check_func "$LINENO" "drand48" "ac_cv_func_drand48"
     8473if test "x$ac_cv_func_drand48" = xyes; then :
    120348474  cat >>confdefs.h <<_ACEOF
    12035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
     8475#define HAVE_DRAND48 1
    120368476_ACEOF
    120378477
     
    120488488
    120498489if test "X$SYSVIPC" = Xyes; then
    12050 
    12051 
    12052 for ac_func in shmget semget
    12053 do
    12054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    12055 echo "$as_me:$LINENO: checking for $ac_func" >&5
    12056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    12057 if eval "test \"\${$as_ac_var+set}\" = set"; then
    12058   echo $ECHO_N "(cached) $ECHO_C" >&6
    12059 else
    12060   cat >conftest.$ac_ext <<_ACEOF
    12061 /* confdefs.h.  */
     8490  for ac_func in shmget semget
     8491do :
     8492  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     8493ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
     8494if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
     8495  cat >>confdefs.h <<_ACEOF
     8496#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    120628497_ACEOF
    12063 cat confdefs.h >>conftest.$ac_ext
    12064 cat >>conftest.$ac_ext <<_ACEOF
    12065 /* end confdefs.h.  */
    12066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    12067    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    12068 #define $ac_func innocuous_$ac_func
    12069 
    12070 /* System header to define __stub macros and hopefully few prototypes,
    12071     which can conflict with char $ac_func (); below.
    12072     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    12073     <limits.h> exists even on freestanding compilers.  */
    12074 
    12075 #ifdef __STDC__
    12076 # include <limits.h>
    12077 #else
    12078 # include <assert.h>
    12079 #endif
    12080 
    12081 #undef $ac_func
    12082 
    12083 /* Override any gcc2 internal prototype to avoid an error.  */
    12084 #ifdef __cplusplus
    12085 extern "C"
    12086 {
    12087 #endif
    12088 /* We use char because int might match the return type of a gcc2
    12089    builtin and then its argument prototype would still apply.  */
    12090 char $ac_func ();
    12091 /* The GNU C library defines this for functions which it implements
    12092     to always fail with ENOSYS.  Some functions are actually named
    12093     something starting with __ and the normal name is an alias.  */
    12094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
    12095 choke me
    12096 #else
    12097 char (*f) () = $ac_func;
    12098 #endif
    12099 #ifdef __cplusplus
    12100 }
    12101 #endif
    12102 
    12103 int
    12104 main ()
    12105 {
    12106 return f != $ac_func;
    12107   ;
    12108   return 0;
    12109 }
     8498
     8499fi
     8500done
     8501
     8502  for ac_header in sys/ipc.h sys/sem.h sys/shm.h
     8503do :
     8504  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     8505ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
     8506if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     8507  cat >>confdefs.h <<_ACEOF
     8508#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    121108509_ACEOF
    12111 rm -f conftest.$ac_objext conftest$ac_exeext
    12112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    12113   (eval $ac_link) 2>conftest.er1
    12114   ac_status=$?
    12115   grep -v '^ *+' conftest.er1 >conftest.err
    12116   rm -f conftest.er1
    12117   cat conftest.err >&5
    12118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12119   (exit $ac_status); } &&
    12120          { ac_try='test -z "$ac_c_werror_flag"
    12121                          || test ! -s conftest.err'
    12122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12123   (eval $ac_try) 2>&5
    12124   ac_status=$?
    12125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12126   (exit $ac_status); }; } &&
    12127          { ac_try='test -s conftest$ac_exeext'
    12128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12129   (eval $ac_try) 2>&5
    12130   ac_status=$?
    12131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12132   (exit $ac_status); }; }; then
    12133   eval "$as_ac_var=yes"
    12134 else
    12135   echo "$as_me: failed program was:" >&5
    12136 sed 's/^/| /' conftest.$ac_ext >&5
    12137 
    12138 eval "$as_ac_var=no"
    12139 fi
    12140 rm -f conftest.err conftest.$ac_objext \
    12141       conftest$ac_exeext conftest.$ac_ext
    12142 fi
    12143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    12144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    12145 if test `eval echo '${'$as_ac_var'}'` = yes; then
    12146   cat >>confdefs.h <<_ACEOF
    12147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
    12148 _ACEOF
    12149 
    12150 fi
     8510
     8511fi
     8512
    121518513done
    121528514
    12153 
    12154 
    12155 
    12156 for ac_header in sys/ipc.h sys/sem.h sys/shm.h
    12157 do
    12158 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    12159 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    12160   echo "$as_me:$LINENO: checking for $ac_header" >&5
    12161 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    12162 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    12163   echo $ECHO_N "(cached) $ECHO_C" >&6
    12164 fi
    12165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    12166 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    12167 else
    12168   # Is the header compilable?
    12169 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    12170 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    12171 cat >conftest.$ac_ext <<_ACEOF
    12172 /* confdefs.h.  */
    12173 _ACEOF
    12174 cat confdefs.h >>conftest.$ac_ext
    12175 cat >>conftest.$ac_ext <<_ACEOF
    12176 /* end confdefs.h.  */
    12177 $ac_includes_default
    12178 #include <$ac_header>
    12179 _ACEOF
    12180 rm -f conftest.$ac_objext
    12181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    12182   (eval $ac_compile) 2>conftest.er1
    12183   ac_status=$?
    12184   grep -v '^ *+' conftest.er1 >conftest.err
    12185   rm -f conftest.er1
    12186   cat conftest.err >&5
    12187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12188   (exit $ac_status); } &&
    12189          { ac_try='test -z "$ac_c_werror_flag"
    12190                          || test ! -s conftest.err'
    12191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12192   (eval $ac_try) 2>&5
    12193   ac_status=$?
    12194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12195   (exit $ac_status); }; } &&
    12196          { ac_try='test -s conftest.$ac_objext'
    12197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12198   (eval $ac_try) 2>&5
    12199   ac_status=$?
    12200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12201   (exit $ac_status); }; }; then
    12202   ac_header_compiler=yes
    12203 else
    12204   echo "$as_me: failed program was:" >&5
    12205 sed 's/^/| /' conftest.$ac_ext >&5
    12206 
    12207 ac_header_compiler=no
    12208 fi
    12209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    12210 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    12211 echo "${ECHO_T}$ac_header_compiler" >&6
    12212 
    12213 # Is the header present?
    12214 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    12215 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    12216 cat >conftest.$ac_ext <<_ACEOF
    12217 /* confdefs.h.  */
    12218 _ACEOF
    12219 cat confdefs.h >>conftest.$ac_ext
    12220 cat >>conftest.$ac_ext <<_ACEOF
    12221 /* end confdefs.h.  */
    12222 #include <$ac_header>
    12223 _ACEOF
    12224 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    12225   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    12226   ac_status=$?
    12227   grep -v '^ *+' conftest.er1 >conftest.err
    12228   rm -f conftest.er1
    12229   cat conftest.err >&5
    12230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12231   (exit $ac_status); } >/dev/null; then
    12232   if test -s conftest.err; then
    12233     ac_cpp_err=$ac_c_preproc_warn_flag
    12234     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    12235   else
    12236     ac_cpp_err=
    12237   fi
    12238 else
    12239   ac_cpp_err=yes
    12240 fi
    12241 if test -z "$ac_cpp_err"; then
    12242   ac_header_preproc=yes
    12243 else
    12244   echo "$as_me: failed program was:" >&5
    12245 sed 's/^/| /' conftest.$ac_ext >&5
    12246 
    12247   ac_header_preproc=no
    12248 fi
    12249 rm -f conftest.err conftest.$ac_ext
    12250 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    12251 echo "${ECHO_T}$ac_header_preproc" >&6
    12252 
    12253 # So?  What about this header?
    12254 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    12255   yes:no: )
    12256     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    12257 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    12258     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    12259 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    12260     ac_header_preproc=yes
    12261     ;;
    12262   no:yes:* )
    12263     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    12264 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    12265     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    12266 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    12267     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    12268 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    12269     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    12270 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    12271     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    12272 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    12273     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    12274 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    12275     (
    12276       cat <<\_ASBOX
    12277 ## ------------------------------------------ ##
    12278 ## Report this to the AC_PACKAGE_NAME lists.  ##
    12279 ## ------------------------------------------ ##
    12280 _ASBOX
    12281     ) |
    12282       sed "s/^/$as_me: WARNING:     /" >&2
    12283     ;;
    12284 esac
    12285 echo "$as_me:$LINENO: checking for $ac_header" >&5
    12286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    12287 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    12288   echo $ECHO_N "(cached) $ECHO_C" >&6
    12289 else
    12290   eval "$as_ac_Header=\$ac_header_preproc"
    12291 fi
    12292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    12293 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    12294 
    12295 fi
    12296 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    12297   cat >>confdefs.h <<_ACEOF
    12298 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    12299 _ACEOF
    12300 
    12301 fi
    12302 
    12303 done
    12304 
    12305   echo "$as_me:$LINENO: checking for SYSV IPC" >&5
    12306 echo $ECHO_N "checking for SYSV IPC... $ECHO_C" >&6
     8515  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSV IPC" >&5
     8516$as_echo_n "checking for SYSV IPC... " >&6; }
    123078517  if test X$ac_cv_func_shmget = Xyes -a \
    123088518          X$ac_cv_func_semget = Xyes -a \
     
    123118521          X$ac_cv_header_sys_shm_h = Xyes; then
    123128522    HAVE_SYSV_IPC=yes
    12313     cat >>confdefs.h <<\_ACEOF
    12314 #define HAVE_SYSV_IPC 1
    12315 _ACEOF
     8523
     8524$as_echo "#define HAVE_SYSV_IPC 1" >>confdefs.h
    123168525
    123178526  else
    123188527    HAVE_SYSV_IPC=no
    123198528  fi
    12320   echo "$as_me:$LINENO: result: $HAVE_SYSV_IPC" >&5
    12321 echo "${ECHO_T}$HAVE_SYSV_IPC" >&6
     8529  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_SYSV_IPC" >&5
     8530$as_echo "$HAVE_SYSV_IPC" >&6; }
    123228531
    123238532else
     
    123278536
    123288537
    12329 
    12330 ac_ext=cc
     8538ac_ext=cpp
    123318539ac_cpp='$CXXCPP $CPPFLAGS'
    123328540ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    123348542ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    123358543
    12336 echo "$as_me:$LINENO: checking if semctl requires semun" >&5
    12337 echo $ECHO_N "checking if semctl requires semun... $ECHO_C" >&6
    12338 cat >conftest.$ac_ext <<_ACEOF
    12339 /* confdefs.h.  */
    12340 _ACEOF
    12341 cat confdefs.h >>conftest.$ac_ext
    12342 cat >>conftest.$ac_ext <<_ACEOF
     8544{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if semctl requires semun" >&5
     8545$as_echo_n "checking if semctl requires semun... " >&6; }
     8546cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    123438547/* end confdefs.h.  */
    123448548
     
    123588562}
    123598563_ACEOF
    12360 rm -f conftest.$ac_objext conftest$ac_exeext
    12361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    12362   (eval $ac_link) 2>conftest.er1
    12363   ac_status=$?
    12364   grep -v '^ *+' conftest.er1 >conftest.err
    12365   rm -f conftest.er1
    12366   cat conftest.err >&5
    12367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12368   (exit $ac_status); } &&
    12369          { ac_try='test -z "$ac_cxx_werror_flag"
    12370                          || test ! -s conftest.err'
    12371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12372   (eval $ac_try) 2>&5
    12373   ac_status=$?
    12374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12375   (exit $ac_status); }; } &&
    12376          { ac_try='test -s conftest$ac_exeext'
    12377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12378   (eval $ac_try) 2>&5
    12379   ac_status=$?
    12380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12381   (exit $ac_status); }; }; then
     8564if ac_fn_cxx_try_link "$LINENO"; then :
    123828565
    123838566case $target in
    123848567  *-sgi-irix*)
    12385     cat >>confdefs.h <<\_ACEOF
    12386 #define SEMCTL_REQUIRES_SEMUN 1
    12387 _ACEOF
    12388  echo "$as_me:$LINENO: result: sgi-irix -- yes" >&5
    12389 echo "${ECHO_T}sgi-irix -- yes" >&6
     8568
     8569$as_echo "#define SEMCTL_REQUIRES_SEMUN 1" >>confdefs.h
     8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: sgi-irix -- yes" >&5
     8571$as_echo "sgi-irix -- yes" >&6; }
    123908572  ;;
    123918573  *)
    12392     echo "$as_me:$LINENO: result: no" >&5
    12393 echo "${ECHO_T}no" >&6
     8574    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8575$as_echo "no" >&6; }
    123948576  ;;
    123958577esac
    123968578
    123978579else
    12398   echo "$as_me: failed program was:" >&5
    12399 sed 's/^/| /' conftest.$ac_ext >&5
    12400 
    12401 cat >>confdefs.h <<\_ACEOF
    12402 #define SEMCTL_REQUIRES_SEMUN 1
    12403 _ACEOF
    12404  echo "$as_me:$LINENO: result: yes" >&5
    12405 echo "${ECHO_T}yes" >&6
    12406 fi
    12407 rm -f conftest.err conftest.$ac_objext \
    12408       conftest$ac_exeext conftest.$ac_ext
     8580
     8581$as_echo "#define SEMCTL_REQUIRES_SEMUN 1" >>confdefs.h
     8582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     8583$as_echo "yes" >&6; }
     8584fi
     8585rm -f core conftest.err conftest.$ac_objext \
     8586    conftest$ac_exeext conftest.$ac_ext
    124098587ac_ext=c
    124108588ac_cpp='$CPP $CPPFLAGS'
     
    124148592
    124158593
    12416 
    12417 echo "$as_me:$LINENO: checking if fortran compiler works" >&5
    12418 echo $ECHO_N "checking if fortran compiler works... $ECHO_C" >&6
     8594$as_echo "#define SHMTYPE char *" >>confdefs.h
     8595
     8596
     8597
     8598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if fortran compiler works" >&5
     8599$as_echo_n "checking if fortran compiler works... " >&6; }
    124198600if test -n "$F77" -a "$F77" != no ; then
    124208601  /bin/rm -f ffunc.f flink.c
     
    124228603  echo "      end" >> ffunc.f
    124238604  if $F77 -o ffunc ffunc.f 1>&5 2>&5; then
    12424     echo "$as_me:$LINENO: result: yes" >&5
    12425 echo "${ECHO_T}yes" >&6
     8605    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     8606$as_echo "yes" >&6; }
    124268607  else
    12427     echo "$as_me:$LINENO: result: no" >&5
    12428 echo "${ECHO_T}no" >&6
    12429     { { echo "$as_me:$LINENO: error: fortran compiler does not work
    12430 See \`config.log' for more details." >&5
    12431 echo "$as_me: error: fortran compiler does not work
    12432 See \`config.log' for more details." >&2;}
    12433    { (exit 1); exit 1; }; }
     8608    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8609$as_echo "no" >&6; }
     8610    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     8611$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     8612as_fn_error $? "fortran compiler does not work
     8613See \`config.log' for more details" "$LINENO" 5; }
    124348614  fi
    124358615  /bin/rm -f ffunc ffunc.f
     
    124378617
    124388618
    12439 echo "$as_me:$LINENO: checking fortran symbols" >&5
    12440 echo $ECHO_N "checking fortran symbols... $ECHO_C" >&6
     8619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking fortran symbols" >&5
     8620$as_echo_n "checking fortran symbols... " >&6; }
    124418621if test -n "$F77" -a "$F77" != no ; then
    124428622  /bin/rm -f ffunc.f flink.c
     
    124478627  echo "main(){ FF(); return 0; }" > flink.c
    124488628  if $CC -o flink -DFF=ffunc flink.c ffunc.o $LDFLAGS $LIBS 1>/dev/null 2>/dev/null; then
    12449     echo "$as_me:$LINENO: result: same as C" >&5
    12450 echo "${ECHO_T}same as C" >&6
     8629    { $as_echo "$as_me:${as_lineno-$LINENO}: result: same as C" >&5
     8630$as_echo "same as C" >&6; }
    124518631    F77_SYMBOLS=symbol
    124528632  elif $CC -o flink -DFF=ffunc_ flink.c ffunc.o $LDFLAGS $LIBS 1>/dev/null 2>/dev/null; then
    12453     echo "$as_me:$LINENO: result: lowercase with underscore" >&5
    12454 echo "${ECHO_T}lowercase with underscore" >&6
     8633    { $as_echo "$as_me:${as_lineno-$LINENO}: result: lowercase with underscore" >&5
     8634$as_echo "lowercase with underscore" >&6; }
    124558635    F77_SYMBOLS=symbol_
    124568636  elif $CC -o flink -DFF=FFUNC flink.c ffunc.o $LDFLAGS $LIBS 1>/dev/null 2>/dev/null; then
    12457     echo "$as_me:$LINENO: result: uppercase" >&5
    12458 echo "${ECHO_T}uppercase" >&6
     8637    { $as_echo "$as_me:${as_lineno-$LINENO}: result: uppercase" >&5
     8638$as_echo "uppercase" >&6; }
    124598639    F77_SYMBOLS=SYMBOL
    124608640  elif $CC -o flink -DFF=FFUNC_ flink.c ffunc.o $LDFLAGS $LIBS 1>/dev/null 2>/dev/null; then
    12461     echo "$as_me:$LINENO: result: uppercase with underscore" >&5
    12462 echo "${ECHO_T}uppercase with underscore" >&6
     8641    { $as_echo "$as_me:${as_lineno-$LINENO}: result: uppercase with underscore" >&5
     8642$as_echo "uppercase with underscore" >&6; }
    124638643    F77_SYMBOLS=SYMBOL_
    124648644  else
    12465     echo "$as_me:$LINENO: result: giving up" >&5
    12466 echo "${ECHO_T}giving up" >&6
    12467     { { echo "$as_me:$LINENO: error: could not determine F77 symbol names" >&5
    12468 echo "$as_me: error: could not determine F77 symbol names" >&2;}
    12469    { (exit 1); exit 1; }; }
     8645    { $as_echo "$as_me:${as_lineno-$LINENO}: result: giving up" >&5
     8646$as_echo "giving up" >&6; }
     8647    as_fn_error $? "could not determine F77 symbol names" "$LINENO" 5
    124708648  fi
    124718649  /bin/rm -f ffunc.f ffunc.o flink flink.c flink.o ffunc
    124728650else
    124738651  F77_SYMBOLS=symbol_
    12474   echo "$as_me:$LINENO: result: guessing lowercase with underscore" >&5
    12475 echo "${ECHO_T}guessing lowercase with underscore" >&6
    12476 fi
    12477 
    12478 
    12479 
    12480 
    12481 
    12482 ac_ext=cc
     8652  { $as_echo "$as_me:${as_lineno-$LINENO}: result: guessing lowercase with underscore" >&5
     8653$as_echo "guessing lowercase with underscore" >&6; }
     8654fi
     8655
     8656
     8657
     8658
     8659ac_ext=cpp
    124838660ac_cpp='$CXXCPP $CPPFLAGS'
    124848661ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    124918668LIBBLAS=""
    124928669F77_DGEMM=`$PERL $srcdir/bin/mkf77sym.pl.in -method $F77_SYMBOLS DAXPY`
    12493 as_ac_var=`echo "ac_cv_func_$F77_DGEMM" | $as_tr_sh`
    12494 echo "$as_me:$LINENO: checking for $F77_DGEMM" >&5
    12495 echo $ECHO_N "checking for $F77_DGEMM... $ECHO_C" >&6
    12496 if eval "test \"\${$as_ac_var+set}\" = set"; then
    12497   echo $ECHO_N "(cached) $ECHO_C" >&6
    12498 else
    12499   cat >conftest.$ac_ext <<_ACEOF
    12500 /* confdefs.h.  */
    12501 _ACEOF
    12502 cat confdefs.h >>conftest.$ac_ext
    12503 cat >>conftest.$ac_ext <<_ACEOF
     8670as_ac_var=`$as_echo "ac_cv_func_$F77_DGEMM" | $as_tr_sh`
     8671ac_fn_cxx_check_func "$LINENO" "$F77_DGEMM" "$as_ac_var"
     8672if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
     8673  HAVE_BLAS=yes
     8674else
     8675
     8676  as_ac_Lib=`$as_echo "ac_cv_lib_essl_$F77_DGEMM" | $as_tr_sh`
     8677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $F77_DGEMM in -lessl" >&5
     8678$as_echo_n "checking for $F77_DGEMM in -lessl... " >&6; }
     8679if eval \${$as_ac_Lib+:} false; then :
     8680  $as_echo_n "(cached) " >&6
     8681else
     8682  ac_check_lib_save_LIBS=$LIBS
     8683LIBS="-lessl  $LIBS"
     8684cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    125048685/* end confdefs.h.  */
    12505 /* Define $F77_DGEMM to an innocuous variant, in case <limits.h> declares $F77_DGEMM.
    12506    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    12507 #define $F77_DGEMM innocuous_$F77_DGEMM
    12508 
    12509 /* System header to define __stub macros and hopefully few prototypes,
    12510     which can conflict with char $F77_DGEMM (); below.
    12511     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    12512     <limits.h> exists even on freestanding compilers.  */
    12513 
    12514 #ifdef __STDC__
    12515 # include <limits.h>
    12516 #else
    12517 # include <assert.h>
    12518 #endif
    12519 
    12520 #undef $F77_DGEMM
    12521 
    12522 /* Override any gcc2 internal prototype to avoid an error.  */
     8686
     8687/* Override any GCC internal prototype to avoid an error.
     8688   Use char because int might match the return type of a GCC
     8689   builtin and then its argument prototype would still apply.  */
    125238690#ifdef __cplusplus
    125248691extern "C"
    12525 {
    125268692#endif
    12527 /* We use char because int might match the return type of a gcc2
    12528    builtin and then its argument prototype would still apply.  */
    125298693char $F77_DGEMM ();
    12530 /* The GNU C library defines this for functions which it implements
    12531     to always fail with ENOSYS.  Some functions are actually named
    12532     something starting with __ and the normal name is an alias.  */
    12533 #if defined (__stub_$F77_DGEMM) || defined (__stub___$F77_DGEMM)
    12534 choke me
    12535 #else
    12536 char (*f) () = $F77_DGEMM;
    12537 #endif
    12538 #ifdef __cplusplus
    12539 }
    12540 #endif
    12541 
    125428694int
    125438695main ()
    125448696{
    12545 return f != $F77_DGEMM;
     8697return $F77_DGEMM ();
    125468698  ;
    125478699  return 0;
    125488700}
    125498701_ACEOF
    12550 rm -f conftest.$ac_objext conftest$ac_exeext
    12551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    12552   (eval $ac_link) 2>conftest.er1
    12553   ac_status=$?
    12554   grep -v '^ *+' conftest.er1 >conftest.err
    12555   rm -f conftest.er1
    12556   cat conftest.err >&5
    12557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12558   (exit $ac_status); } &&
    12559          { ac_try='test -z "$ac_cxx_werror_flag"
    12560                          || test ! -s conftest.err'
    12561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12562   (eval $ac_try) 2>&5
    12563   ac_status=$?
    12564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12565   (exit $ac_status); }; } &&
    12566          { ac_try='test -s conftest$ac_exeext'
    12567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12568   (eval $ac_try) 2>&5
    12569   ac_status=$?
    12570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12571   (exit $ac_status); }; }; then
    12572   eval "$as_ac_var=yes"
    12573 else
    12574   echo "$as_me: failed program was:" >&5
    12575 sed 's/^/| /' conftest.$ac_ext >&5
    12576 
    12577 eval "$as_ac_var=no"
    12578 fi
    12579 rm -f conftest.err conftest.$ac_objext \
    12580       conftest$ac_exeext conftest.$ac_ext
    12581 fi
    12582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    12583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    12584 if test `eval echo '${'$as_ac_var'}'` = yes; then
    12585   HAVE_BLAS=yes
    12586 else
    12587 
    12588   as_ac_Lib=`echo "ac_cv_lib_essl_$F77_DGEMM" | $as_tr_sh`
    12589 echo "$as_me:$LINENO: checking for $F77_DGEMM in -lessl" >&5
    12590 echo $ECHO_N "checking for $F77_DGEMM in -lessl... $ECHO_C" >&6
    12591 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
    12592   echo $ECHO_N "(cached) $ECHO_C" >&6
     8702if ac_fn_cxx_try_link "$LINENO"; then :
     8703  eval "$as_ac_Lib=yes"
     8704else
     8705  eval "$as_ac_Lib=no"
     8706fi
     8707rm -f core conftest.err conftest.$ac_objext \
     8708    conftest$ac_exeext conftest.$ac_ext
     8709LIBS=$ac_check_lib_save_LIBS
     8710fi
     8711eval ac_res=\$$as_ac_Lib
     8712               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     8713$as_echo "$ac_res" >&6; }
     8714if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
     8715  HAVE_BLAS=yes;LIBBLAS="-lessl"
     8716else
     8717  as_ac_Lib=`$as_echo "ac_cv_lib_blas_$F77_DGEMM" | $as_tr_sh`
     8718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $F77_DGEMM in -lblas" >&5
     8719$as_echo_n "checking for $F77_DGEMM in -lblas... " >&6; }
     8720if eval \${$as_ac_Lib+:} false; then :
     8721  $as_echo_n "(cached) " >&6
    125938722else
    125948723  ac_check_lib_save_LIBS=$LIBS
    12595 LIBS="-lessl  $LIBS"
    12596 cat >conftest.$ac_ext <<_ACEOF
    12597 /* confdefs.h.  */
    12598 _ACEOF
    12599 cat confdefs.h >>conftest.$ac_ext
    12600 cat >>conftest.$ac_ext <<_ACEOF
     8724LIBS="-lblas  $LIBS"
     8725cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    126018726/* end confdefs.h.  */
    126028727
    12603 /* Override any gcc2 internal prototype to avoid an error.  */
     8728/* Override any GCC internal prototype to avoid an error.
     8729   Use char because int might match the return type of a GCC
     8730   builtin and then its argument prototype would still apply.  */
    126048731#ifdef __cplusplus
    126058732extern "C"
    126068733#endif
    12607 /* We use char because int might match the return type of a gcc2
    12608    builtin and then its argument prototype would still apply.  */
    126098734char $F77_DGEMM ();
    126108735int
    126118736main ()
    126128737{
    12613 $F77_DGEMM ();
     8738return $F77_DGEMM ();
    126148739  ;
    126158740  return 0;
    126168741}
    126178742_ACEOF
    12618 rm -f conftest.$ac_objext conftest$ac_exeext
    12619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    12620   (eval $ac_link) 2>conftest.er1
    12621   ac_status=$?
    12622   grep -v '^ *+' conftest.er1 >conftest.err
    12623   rm -f conftest.er1
    12624   cat conftest.err >&5
    12625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12626   (exit $ac_status); } &&
    12627          { ac_try='test -z "$ac_cxx_werror_flag"
    12628                          || test ! -s conftest.err'
    12629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12630   (eval $ac_try) 2>&5
    12631   ac_status=$?
    12632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12633   (exit $ac_status); }; } &&
    12634          { ac_try='test -s conftest$ac_exeext'
    12635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12636   (eval $ac_try) 2>&5
    12637   ac_status=$?
    12638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12639   (exit $ac_status); }; }; then
     8743if ac_fn_cxx_try_link "$LINENO"; then :
    126408744  eval "$as_ac_Lib=yes"
    126418745else
    12642   echo "$as_me: failed program was:" >&5
    12643 sed 's/^/| /' conftest.$ac_ext >&5
    12644 
    12645 eval "$as_ac_Lib=no"
    12646 fi
    12647 rm -f conftest.err conftest.$ac_objext \
    12648       conftest$ac_exeext conftest.$ac_ext
     8746  eval "$as_ac_Lib=no"
     8747fi
     8748rm -f core conftest.err conftest.$ac_objext \
     8749    conftest$ac_exeext conftest.$ac_ext
    126498750LIBS=$ac_check_lib_save_LIBS
    126508751fi
    12651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
    12652 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
    12653 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
    12654   HAVE_BLAS=yes;LIBBLAS="-lessl"
    12655 else
    12656   as_ac_Lib=`echo "ac_cv_lib_blas_$F77_DGEMM" | $as_tr_sh`
    12657 echo "$as_me:$LINENO: checking for $F77_DGEMM in -lblas" >&5
    12658 echo $ECHO_N "checking for $F77_DGEMM in -lblas... $ECHO_C" >&6
    12659 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
    12660   echo $ECHO_N "(cached) $ECHO_C" >&6
     8752eval ac_res=\$$as_ac_Lib
     8753               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     8754$as_echo "$ac_res" >&6; }
     8755if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
     8756  HAVE_BLAS=yes;LIBBLAS="-lblas"
     8757fi
     8758
     8759
     8760fi
     8761
     8762
     8763fi
     8764
     8765if test X$HAVE_BLAS != Xyes; then
     8766  LIBSSAV2="$LIBS"
     8767  LIBS="-latlas $LIBS"
     8768  as_ac_Lib=`$as_echo "ac_cv_lib_f77blas_$F77_DGEMM" | $as_tr_sh`
     8769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $F77_DGEMM in -lf77blas" >&5
     8770$as_echo_n "checking for $F77_DGEMM in -lf77blas... " >&6; }
     8771if eval \${$as_ac_Lib+:} false; then :
     8772  $as_echo_n "(cached) " >&6
    126618773else
    126628774  ac_check_lib_save_LIBS=$LIBS
    12663 LIBS="-lblas  $LIBS"
    12664 cat >conftest.$ac_ext <<_ACEOF
    12665 /* confdefs.h.  */
    12666 _ACEOF
    12667 cat confdefs.h >>conftest.$ac_ext
    12668 cat >>conftest.$ac_ext <<_ACEOF
     8775LIBS="-lf77blas  $LIBS"
     8776cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    126698777/* end confdefs.h.  */
    126708778
    12671 /* Override any gcc2 internal prototype to avoid an error.  */
     8779/* Override any GCC internal prototype to avoid an error.
     8780   Use char because int might match the return type of a GCC
     8781   builtin and then its argument prototype would still apply.  */
    126728782#ifdef __cplusplus
    126738783extern "C"
    126748784#endif
    12675 /* We use char because int might match the return type of a gcc2
    12676    builtin and then its argument prototype would still apply.  */
    126778785char $F77_DGEMM ();
    126788786int
    126798787main ()
    126808788{
    12681 $F77_DGEMM ();
     8789return $F77_DGEMM ();
    126828790  ;
    126838791  return 0;
    126848792}
    126858793_ACEOF
    12686 rm -f conftest.$ac_objext conftest$ac_exeext
    12687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    12688   (eval $ac_link) 2>conftest.er1
    12689   ac_status=$?
    12690   grep -v '^ *+' conftest.er1 >conftest.err
    12691   rm -f conftest.er1
    12692   cat conftest.err >&5
    12693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12694   (exit $ac_status); } &&
    12695          { ac_try='test -z "$ac_cxx_werror_flag"
    12696                          || test ! -s conftest.err'
    12697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12698   (eval $ac_try) 2>&5
    12699   ac_status=$?
    12700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12701   (exit $ac_status); }; } &&
    12702          { ac_try='test -s conftest$ac_exeext'
    12703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12704   (eval $ac_try) 2>&5
    12705   ac_status=$?
    12706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12707   (exit $ac_status); }; }; then
     8794if ac_fn_cxx_try_link "$LINENO"; then :
    127088795  eval "$as_ac_Lib=yes"
    127098796else
    12710   echo "$as_me: failed program was:" >&5
    12711 sed 's/^/| /' conftest.$ac_ext >&5
    12712 
    12713 eval "$as_ac_Lib=no"
    12714 fi
    12715 rm -f conftest.err conftest.$ac_objext \
    12716       conftest$ac_exeext conftest.$ac_ext
     8797  eval "$as_ac_Lib=no"
     8798fi
     8799rm -f core conftest.err conftest.$ac_objext \
     8800    conftest$ac_exeext conftest.$ac_ext
    127178801LIBS=$ac_check_lib_save_LIBS
    127188802fi
    12719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
    12720 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
    12721 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
    12722   HAVE_BLAS=yes;LIBBLAS="-lblas"
    12723 fi
    12724 
    12725 
    12726 fi
    12727 
     8803eval ac_res=\$$as_ac_Lib
     8804               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     8805$as_echo "$ac_res" >&6; }
     8806if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
     8807  HAVE_BLAS=yes;LIBBLAS="-lf77blas -latlas"
     8808else
     8809  LIBS="$LIBSSAV2"
     8810fi
    127288811
    127298812fi
    127308813
    127318814if test X$HAVE_BLAS != Xyes; then
    12732   LIBSSAV2="$LIBS"
    12733   LIBS="-latlas $LIBS"
    12734   as_ac_Lib=`echo "ac_cv_lib_f77blas_$F77_DGEMM" | $as_tr_sh`
    12735 echo "$as_me:$LINENO: checking for $F77_DGEMM in -lf77blas" >&5
    12736 echo $ECHO_N "checking for $F77_DGEMM in -lf77blas... $ECHO_C" >&6
    12737 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
    12738   echo $ECHO_N "(cached) $ECHO_C" >&6
     8815  echo "WARNING: Could not link to the BLAS library.  It can be obtained at"
     8816  echo "http://www.netlib.org/blas.  Use --with-libdirs and/or --with-libs"
     8817  echo "to specify the name of the library."
     8818  as_fn_error $? "BLAS is required to complete the build" "$LINENO" 5
     8819fi
     8820
     8821LIBS="$LIBSSAV $LIBBLAS $FLIBS"
     8822
     8823LIBLAPACK=""
     8824F77_DGESVD=`$PERL $srcdir/bin/mkf77sym.pl.in -method $F77_SYMBOLS DGESVD`
     8825as_ac_var=`$as_echo "ac_cv_func_$F77_DGESVD" | $as_tr_sh`
     8826ac_fn_cxx_check_func "$LINENO" "$F77_DGESVD" "$as_ac_var"
     8827if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
     8828  HAVE_LAPACK=yes
     8829else
     8830
     8831  as_ac_Lib=`$as_echo "ac_cv_lib_lapack_$F77_DGESVD" | $as_tr_sh`
     8832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $F77_DGESVD in -llapack" >&5
     8833$as_echo_n "checking for $F77_DGESVD in -llapack... " >&6; }
     8834if eval \${$as_ac_Lib+:} false; then :
     8835  $as_echo_n "(cached) " >&6
    127398836else
    127408837  ac_check_lib_save_LIBS=$LIBS
    12741 LIBS="-lf77blas  $LIBS"
    12742 cat >conftest.$ac_ext <<_ACEOF
    12743 /* confdefs.h.  */
    12744 _ACEOF
    12745 cat confdefs.h >>conftest.$ac_ext
    12746 cat >>conftest.$ac_ext <<_ACEOF
     8838LIBS="-llapack  $LIBS"
     8839cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    127478840/* end confdefs.h.  */
    127488841
    12749 /* Override any gcc2 internal prototype to avoid an error.  */
     8842/* Override any GCC internal prototype to avoid an error.
     8843   Use char because int might match the return type of a GCC
     8844   builtin and then its argument prototype would still apply.  */
    127508845#ifdef __cplusplus
    127518846extern "C"
    127528847#endif
    12753 /* We use char because int might match the return type of a gcc2
    12754    builtin and then its argument prototype would still apply.  */
    12755 char $F77_DGEMM ();
     8848char $F77_DGESVD ();
    127568849int
    127578850main ()
    127588851{
    12759 $F77_DGEMM ();
     8852return $F77_DGESVD ();
    127608853  ;
    127618854  return 0;
    127628855}
    127638856_ACEOF
    12764 rm -f conftest.$ac_objext conftest$ac_exeext
    12765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    12766   (eval $ac_link) 2>conftest.er1
    12767   ac_status=$?
    12768   grep -v '^ *+' conftest.er1 >conftest.err
    12769   rm -f conftest.er1
    12770   cat conftest.err >&5
    12771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12772   (exit $ac_status); } &&
    12773          { ac_try='test -z "$ac_cxx_werror_flag"
    12774                          || test ! -s conftest.err'
    12775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12776   (eval $ac_try) 2>&5
    12777   ac_status=$?
    12778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12779   (exit $ac_status); }; } &&
    12780          { ac_try='test -s conftest$ac_exeext'
    12781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12782   (eval $ac_try) 2>&5
    12783   ac_status=$?
    12784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12785   (exit $ac_status); }; }; then
     8857if ac_fn_cxx_try_link "$LINENO"; then :
    127868858  eval "$as_ac_Lib=yes"
    127878859else
    12788   echo "$as_me: failed program was:" >&5
    12789 sed 's/^/| /' conftest.$ac_ext >&5
    12790 
    12791 eval "$as_ac_Lib=no"
    12792 fi
    12793 rm -f conftest.err conftest.$ac_objext \
    12794       conftest$ac_exeext conftest.$ac_ext
     8860  eval "$as_ac_Lib=no"
     8861fi
     8862rm -f core conftest.err conftest.$ac_objext \
     8863    conftest$ac_exeext conftest.$ac_ext
    127958864LIBS=$ac_check_lib_save_LIBS
    127968865fi
    12797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
    12798 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
    12799 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
    12800   HAVE_BLAS=yes;LIBBLAS="-lf77blas -latlas"
    12801 else
    12802   LIBS="$LIBSSAV2"
    12803 fi
    12804 
    12805 fi
    12806 
    12807 if test X$HAVE_BLAS != Xyes; then
    12808   echo "WARNING: Could not link to the BLAS library.  It can be obtained at"
    12809   echo "http://www.netlib.org/blas.  Use --with-libdirs and/or --with-libs"
    12810   echo "to specify the name of the library."
    12811   { { echo "$as_me:$LINENO: error: BLAS is required to complete the build" >&5
    12812 echo "$as_me: error: BLAS is required to complete the build" >&2;}
    12813    { (exit 1); exit 1; }; }
    12814 fi
    12815 
    12816 LIBS="$LIBSSAV $LIBBLAS $FLIBS"
    12817 
    12818 LIBLAPACK=""
    12819 F77_DGESVD=`$PERL $srcdir/bin/mkf77sym.pl.in -method $F77_SYMBOLS DGESVD`
    12820 as_ac_var=`echo "ac_cv_func_$F77_DGESVD" | $as_tr_sh`
    12821 echo "$as_me:$LINENO: checking for $F77_DGESVD" >&5
    12822 echo $ECHO_N "checking for $F77_DGESVD... $ECHO_C" >&6
    12823 if eval "test \"\${$as_ac_var+set}\" = set"; then
    12824   echo $ECHO_N "(cached) $ECHO_C" >&6
    12825 else
    12826   cat >conftest.$ac_ext <<_ACEOF
    12827 /* confdefs.h.  */
    12828 _ACEOF
    12829 cat confdefs.h >>conftest.$ac_ext
    12830 cat >>conftest.$ac_ext <<_ACEOF
    12831 /* end confdefs.h.  */
    12832 /* Define $F77_DGESVD to an innocuous variant, in case <limits.h> declares $F77_DGESVD.
    12833    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    12834 #define $F77_DGESVD innocuous_$F77_DGESVD
    12835 
    12836 /* System header to define __stub macros and hopefully few prototypes,
    12837     which can conflict with char $F77_DGESVD (); below.
    12838     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    12839     <limits.h> exists even on freestanding compilers.  */
    12840 
    12841 #ifdef __STDC__
    12842 # include <limits.h>
    12843 #else
    12844 # include <assert.h>
    12845 #endif
    12846 
    12847 #undef $F77_DGESVD
    12848 
    12849 /* Override any gcc2 internal prototype to avoid an error.  */
    12850 #ifdef __cplusplus
    12851 extern "C"
    12852 {
    12853 #endif
    12854 /* We use char because int might match the return type of a gcc2
    12855    builtin and then its argument prototype would still apply.  */
    12856 char $F77_DGESVD ();
    12857 /* The GNU C library defines this for functions which it implements
    12858     to always fail with ENOSYS.  Some functions are actually named
    12859     something starting with __ and the normal name is an alias.  */
    12860 #if defined (__stub_$F77_DGESVD) || defined (__stub___$F77_DGESVD)
    12861 choke me
    12862 #else
    12863 char (*f) () = $F77_DGESVD;
    12864 #endif
    12865 #ifdef __cplusplus
    12866 }
    12867 #endif
    12868 
    12869 int
    12870 main ()
    12871 {
    12872 return f != $F77_DGESVD;
    12873   ;
    12874   return 0;
    12875 }
    12876 _ACEOF
    12877 rm -f conftest.$ac_objext conftest$ac_exeext
    12878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    12879   (eval $ac_link) 2>conftest.er1
    12880   ac_status=$?
    12881   grep -v '^ *+' conftest.er1 >conftest.err
    12882   rm -f conftest.er1
    12883   cat conftest.err >&5
    12884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12885   (exit $ac_status); } &&
    12886          { ac_try='test -z "$ac_cxx_werror_flag"
    12887                          || test ! -s conftest.err'
    12888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12889   (eval $ac_try) 2>&5
    12890   ac_status=$?
    12891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12892   (exit $ac_status); }; } &&
    12893          { ac_try='test -s conftest$ac_exeext'
    12894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12895   (eval $ac_try) 2>&5
    12896   ac_status=$?
    12897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12898   (exit $ac_status); }; }; then
    12899   eval "$as_ac_var=yes"
    12900 else
    12901   echo "$as_me: failed program was:" >&5
    12902 sed 's/^/| /' conftest.$ac_ext >&5
    12903 
    12904 eval "$as_ac_var=no"
    12905 fi
    12906 rm -f conftest.err conftest.$ac_objext \
    12907       conftest$ac_exeext conftest.$ac_ext
    12908 fi
    12909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    12910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    12911 if test `eval echo '${'$as_ac_var'}'` = yes; then
    12912   HAVE_LAPACK=yes
    12913 else
    12914 
    12915   as_ac_Lib=`echo "ac_cv_lib_lapack_$F77_DGESVD" | $as_tr_sh`
    12916 echo "$as_me:$LINENO: checking for $F77_DGESVD in -llapack" >&5
    12917 echo $ECHO_N "checking for $F77_DGESVD in -llapack... $ECHO_C" >&6
    12918 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
    12919   echo $ECHO_N "(cached) $ECHO_C" >&6
    12920 else
    12921   ac_check_lib_save_LIBS=$LIBS
    12922 LIBS="-llapack  $LIBS"
    12923 cat >conftest.$ac_ext <<_ACEOF
    12924 /* confdefs.h.  */
    12925 _ACEOF
    12926 cat confdefs.h >>conftest.$ac_ext
    12927 cat >>conftest.$ac_ext <<_ACEOF
    12928 /* end confdefs.h.  */
    12929 
    12930 /* Override any gcc2 internal prototype to avoid an error.  */
    12931 #ifdef __cplusplus
    12932 extern "C"
    12933 #endif
    12934 /* We use char because int might match the return type of a gcc2
    12935    builtin and then its argument prototype would still apply.  */
    12936 char $F77_DGESVD ();
    12937 int
    12938 main ()
    12939 {
    12940 $F77_DGESVD ();
    12941   ;
    12942   return 0;
    12943 }
    12944 _ACEOF
    12945 rm -f conftest.$ac_objext conftest$ac_exeext
    12946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    12947   (eval $ac_link) 2>conftest.er1
    12948   ac_status=$?
    12949   grep -v '^ *+' conftest.er1 >conftest.err
    12950   rm -f conftest.er1
    12951   cat conftest.err >&5
    12952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12953   (exit $ac_status); } &&
    12954          { ac_try='test -z "$ac_cxx_werror_flag"
    12955                          || test ! -s conftest.err'
    12956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12957   (eval $ac_try) 2>&5
    12958   ac_status=$?
    12959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12960   (exit $ac_status); }; } &&
    12961          { ac_try='test -s conftest$ac_exeext'
    12962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12963   (eval $ac_try) 2>&5
    12964   ac_status=$?
    12965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12966   (exit $ac_status); }; }; then
    12967   eval "$as_ac_Lib=yes"
    12968 else
    12969   echo "$as_me: failed program was:" >&5
    12970 sed 's/^/| /' conftest.$ac_ext >&5
    12971 
    12972 eval "$as_ac_Lib=no"
    12973 fi
    12974 rm -f conftest.err conftest.$ac_objext \
    12975       conftest$ac_exeext conftest.$ac_ext
    12976 LIBS=$ac_check_lib_save_LIBS
    12977 fi
    12978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
    12979 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
    12980 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
     8866eval ac_res=\$$as_ac_Lib
     8867               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     8868$as_echo "$ac_res" >&6; }
     8869if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
    129818870  HAVE_LAPACK=yes;LIBLAPACK="-llapack"
    129828871
     
    129918880  echo "http://www.netlib.org/lapack.  Use --with-libdirs and/or --with-libs"
    129928881  echo "to specify the name of the library."
    12993   { { echo "$as_me:$LINENO: error: LAPACK is required to complete the build" >&5
    12994 echo "$as_me: error: LAPACK is required to complete the build" >&2;}
    12995    { (exit 1); exit 1; }; }
     8882  as_fn_error $? "LAPACK is required to complete the build" "$LINENO" 5
    129968883fi
    129978884
     
    130088895LIBS="$LIBS $FLIBS"
    130098896HAVE_SCALABLE_BLAS=no
    13010 echo "$as_me:$LINENO: checking for sB_init" >&5
    13011 echo $ECHO_N "checking for sB_init... $ECHO_C" >&6
    13012 if test "${ac_cv_func_sB_init+set}" = set; then
    13013   echo $ECHO_N "(cached) $ECHO_C" >&6
    13014 else
    13015   cat >conftest.$ac_ext <<_ACEOF
    13016 /* confdefs.h.  */
    13017 _ACEOF
    13018 cat confdefs.h >>conftest.$ac_ext
    13019 cat >>conftest.$ac_ext <<_ACEOF
     8897ac_fn_c_check_func "$LINENO" "sB_init" "ac_cv_func_sB_init"
     8898if test "x$ac_cv_func_sB_init" = xyes; then :
     8899  HAVE_SCALABLE_BLAS=yes
     8900else
     8901
     8902  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sB_init in -lsB_BLAS" >&5
     8903$as_echo_n "checking for sB_init in -lsB_BLAS... " >&6; }
     8904if ${ac_cv_lib_sB_BLAS_sB_init+:} false; then :
     8905  $as_echo_n "(cached) " >&6
     8906else
     8907  ac_check_lib_save_LIBS=$LIBS
     8908LIBS="-lsB_BLAS  $LIBS"
     8909cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    130208910/* end confdefs.h.  */
    13021 /* Define sB_init to an innocuous variant, in case <limits.h> declares sB_init.
    13022    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    13023 #define sB_init innocuous_sB_init
    13024 
    13025 /* System header to define __stub macros and hopefully few prototypes,
    13026     which can conflict with char sB_init (); below.
    13027     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    13028     <limits.h> exists even on freestanding compilers.  */
    13029 
    13030 #ifdef __STDC__
    13031 # include <limits.h>
    13032 #else
    13033 # include <assert.h>
    13034 #endif
    13035 
    13036 #undef sB_init
    13037 
    13038 /* Override any gcc2 internal prototype to avoid an error.  */
     8911
     8912/* Override any GCC internal prototype to avoid an error.
     8913   Use char because int might match the return type of a GCC
     8914   builtin and then its argument prototype would still apply.  */
    130398915#ifdef __cplusplus
    130408916extern "C"
    13041 {
    130428917#endif
    13043 /* We use char because int might match the return type of a gcc2
    13044    builtin and then its argument prototype would still apply.  */
    130458918char sB_init ();
    13046 /* The GNU C library defines this for functions which it implements
    13047     to always fail with ENOSYS.  Some functions are actually named
    13048     something starting with __ and the normal name is an alias.  */
    13049 #if defined (__stub_sB_init) || defined (__stub___sB_init)
    13050 choke me
    13051 #else
    13052 char (*f) () = sB_init;
    13053 #endif
    13054 #ifdef __cplusplus
    13055 }
    13056 #endif
    13057 
    130588919int
    130598920main ()
    130608921{
    13061 return f != sB_init;
     8922return sB_init ();
    130628923  ;
    130638924  return 0;
    130648925}
    130658926_ACEOF
    13066 rm -f conftest.$ac_objext conftest$ac_exeext
    13067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    13068   (eval $ac_link) 2>conftest.er1
    13069   ac_status=$?
    13070   grep -v '^ *+' conftest.er1 >conftest.err
    13071   rm -f conftest.er1
    13072   cat conftest.err >&5
    13073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13074   (exit $ac_status); } &&
    13075          { ac_try='test -z "$ac_c_werror_flag"
    13076                          || test ! -s conftest.err'
    13077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    13078   (eval $ac_try) 2>&5
    13079   ac_status=$?
    13080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13081   (exit $ac_status); }; } &&
    13082          { ac_try='test -s conftest$ac_exeext'
    13083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    13084   (eval $ac_try) 2>&5
    13085   ac_status=$?
    13086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13087   (exit $ac_status); }; }; then
    13088   ac_cv_func_sB_init=yes
    13089 else
    13090   echo "$as_me: failed program was:" >&5
    13091 sed 's/^/| /' conftest.$ac_ext >&5
    13092 
    13093 ac_cv_func_sB_init=no
    13094 fi
    13095 rm -f conftest.err conftest.$ac_objext \
    13096       conftest$ac_exeext conftest.$ac_ext
    13097 fi
    13098 echo "$as_me:$LINENO: result: $ac_cv_func_sB_init" >&5
    13099 echo "${ECHO_T}$ac_cv_func_sB_init" >&6
    13100 if test $ac_cv_func_sB_init = yes; then
    13101   HAVE_SCALABLE_BLAS=yes
    13102 else
    13103 
    13104   echo "$as_me:$LINENO: checking for sB_init in -lsB_BLAS" >&5
    13105 echo $ECHO_N "checking for sB_init in -lsB_BLAS... $ECHO_C" >&6
    13106 if test "${ac_cv_lib_sB_BLAS_sB_init+set}" = set; then
    13107   echo $ECHO_N "(cached) $ECHO_C" >&6
    13108 else
    13109   ac_check_lib_save_LIBS=$LIBS
    13110 LIBS="-lsB_BLAS  $LIBS"
    13111 cat >conftest.$ac_ext <<_ACEOF
    13112 /* confdefs.h.  */
    13113 _ACEOF
    13114 cat confdefs.h >>conftest.$ac_ext
    13115 cat >>conftest.$ac_ext <<_ACEOF
    13116 /* end confdefs.h.  */
    13117 
    13118 /* Override any gcc2 internal prototype to avoid an error.  */
    13119 #ifdef __cplusplus
    13120 extern "C"
    13121 #endif
    13122 /* We use char because int might match the return type of a gcc2
    13123    builtin and then its argument prototype would still apply.  */
    13124 char sB_init ();
    13125 int
    13126 main ()
    13127 {
    13128 sB_init ();
    13129   ;
    13130   return 0;
    13131 }
    13132 _ACEOF
    13133 rm -f conftest.$ac_objext conftest$ac_exeext
    13134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    13135   (eval $ac_link) 2>conftest.er1
    13136   ac_status=$?
    13137   grep -v '^ *+' conftest.er1 >conftest.err
    13138   rm -f conftest.er1
    13139   cat conftest.err >&5
    13140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13141   (exit $ac_status); } &&
    13142          { ac_try='test -z "$ac_c_werror_flag"
    13143                          || test ! -s conftest.err'
    13144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    13145   (eval $ac_try) 2>&5
    13146   ac_status=$?
    13147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13148   (exit $ac_status); }; } &&
    13149          { ac_try='test -s conftest$ac_exeext'
    13150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    13151   (eval $ac_try) 2>&5
    13152   ac_status=$?
    13153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13154   (exit $ac_status); }; }; then
     8927if ac_fn_c_try_link "$LINENO"; then :
    131558928  ac_cv_lib_sB_BLAS_sB_init=yes
    131568929else
    13157   echo "$as_me: failed program was:" >&5
    13158 sed 's/^/| /' conftest.$ac_ext >&5
    13159 
    13160 ac_cv_lib_sB_BLAS_sB_init=no
    13161 fi
    13162 rm -f conftest.err conftest.$ac_objext \
    13163       conftest$ac_exeext conftest.$ac_ext
     8930  ac_cv_lib_sB_BLAS_sB_init=no
     8931fi
     8932rm -f core conftest.err conftest.$ac_objext \
     8933    conftest$ac_exeext conftest.$ac_ext
    131648934LIBS=$ac_check_lib_save_LIBS
    131658935fi
    13166 echo "$as_me:$LINENO: result: $ac_cv_lib_sB_BLAS_sB_init" >&5
    13167 echo "${ECHO_T}$ac_cv_lib_sB_BLAS_sB_init" >&6
    13168 if test $ac_cv_lib_sB_BLAS_sB_init = yes; then
     8936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sB_BLAS_sB_init" >&5
     8937$as_echo "$ac_cv_lib_sB_BLAS_sB_init" >&6; }
     8938if test "x$ac_cv_lib_sB_BLAS_sB_init" = xyes; then :
    131698939
    131708940    HAVE_SCALABLE_BLAS=yes
     
    131788948LIBS="$LIBSSAV"
    131798949if test $HAVE_SCALABLE_BLAS = yes; then
    13180   cat >>confdefs.h <<\_ACEOF
    13181 #define HAVE_SCALABLE_BLAS 1
    13182 _ACEOF
    13183 
    13184 fi
    13185 
    13186 
    13187 
    13188 
    13189 ac_ext=cc
     8950
     8951$as_echo "#define HAVE_SCALABLE_BLAS 1" >>confdefs.h
     8952
     8953fi
     8954
     8955
     8956
     8957ac_ext=cpp
    131908958ac_cpp='$CXXCPP $CPPFLAGS'
    131918959ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    131958963# Extract the first word of "niama-config", so it can be a program name with args.
    131968964set dummy niama-config; ac_word=$2
    13197 echo "$as_me:$LINENO: checking for $ac_word" >&5
    13198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    13199 if test "${ac_cv_prog_NIAMACFG+set}" = set; then
    13200   echo $ECHO_N "(cached) $ECHO_C" >&6
     8965{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8966$as_echo_n "checking for $ac_word... " >&6; }
     8967if ${ac_cv_prog_NIAMACFG+:} false; then :
     8968  $as_echo_n "(cached) " >&6
    132018969else
    132028970  if test -n "$NIAMACFG"; then
     
    132088976  IFS=$as_save_IFS
    132098977  test -z "$as_dir" && as_dir=.
    13210   for ac_exec_ext in '' $ac_executable_extensions; do
    13211   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8978    for ac_exec_ext in '' $ac_executable_extensions; do
     8979  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    132128980    ac_cv_prog_NIAMACFG="niama-config"
    13213     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     8981    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    132148982    break 2
    132158983  fi
    132168984done
    13217 done
     8985  done
     8986IFS=$as_save_IFS
    132188987
    132198988fi
     
    132218990NIAMACFG=$ac_cv_prog_NIAMACFG
    132228991if test -n "$NIAMACFG"; then
    13223   echo "$as_me:$LINENO: result: $NIAMACFG" >&5
    13224 echo "${ECHO_T}$NIAMACFG" >&6
    13225 else
    13226   echo "$as_me:$LINENO: result: no" >&5
    13227 echo "${ECHO_T}no" >&6
    13228 fi
     8992  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NIAMACFG" >&5
     8993$as_echo "$NIAMACFG" >&6; }
     8994else
     8995  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8996$as_echo "no" >&6; }
     8997fi
     8998
    132298999
    132309000if test X$NIAMACFG != X; then
     
    132349004  CPPFLAGS="$CPPFLAGS `niama-config --cppflags`"
    132359005  LIBS="$NIAMALIBS $LIBS"
    13236 cat >conftest.$ac_ext <<_ACEOF
    13237 /* confdefs.h.  */
    13238 _ACEOF
    13239 cat confdefs.h >>conftest.$ac_ext
    13240 cat >>conftest.$ac_ext <<_ACEOF
     9006cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    132419007/* end confdefs.h.  */
    132429008
     
    132539019}
    132549020_ACEOF
    13255 rm -f conftest.$ac_objext conftest$ac_exeext
    13256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    13257   (eval $ac_link) 2>conftest.er1
    13258   ac_status=$?
    13259   grep -v '^ *+' conftest.er1 >conftest.err
    13260   rm -f conftest.er1
    13261   cat conftest.err >&5
    13262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13263   (exit $ac_status); } &&
    13264          { ac_try='test -z "$ac_cxx_werror_flag"
    13265                          || test ! -s conftest.err'
    13266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    13267   (eval $ac_try) 2>&5
    13268   ac_status=$?
    13269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13270   (exit $ac_status); }; } &&
    13271          { ac_try='test -s conftest$ac_exeext'
    13272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    13273   (eval $ac_try) 2>&5
    13274   ac_status=$?
    13275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13276   (exit $ac_status); }; }; then
    13277 
    13278   cat >>confdefs.h <<\_ACEOF
    13279 #define HAVE_NIAMA 1
    13280 _ACEOF
    13281 
    13282 
    13283 else
    13284   echo "$as_me: failed program was:" >&5
    13285 sed 's/^/| /' conftest.$ac_ext >&5
    13286 
     9021if ac_fn_cxx_try_link "$LINENO"; then :
     9022
     9023
     9024$as_echo "#define HAVE_NIAMA 1" >>confdefs.h
     9025
     9026
     9027else
    132879028
    132889029  LIBS="$LIBSSAV"
     
    132919032
    132929033fi
    13293 rm -f conftest.err conftest.$ac_objext \
    13294       conftest$ac_exeext conftest.$ac_ext
     9034rm -f core conftest.err conftest.$ac_objext \
     9035    conftest$ac_exeext conftest.$ac_ext
    132959036fi
    132969037ac_ext=c
     
    133039044
    133049045
    13305 
    13306 ac_ext=cc
     9046ac_ext=cpp
    133079047ac_cpp='$CXXCPP $CPPFLAGS'
    133089048ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    133109050ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    133119051
    13312 
    133139052for ac_header in libint/libint.h
    13314 do
    13315 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    13316 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    13317   echo "$as_me:$LINENO: checking for $ac_header" >&5
    13318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    13319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    13320   echo $ECHO_N "(cached) $ECHO_C" >&6
    13321 fi
    13322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    13323 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    13324 else
    13325   # Is the header compilable?
    13326 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    13327 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    13328 cat >conftest.$ac_ext <<_ACEOF
    13329 /* confdefs.h.  */
     9053do :
     9054  ac_fn_cxx_check_header_mongrel "$LINENO" "libint/libint.h" "ac_cv_header_libint_libint_h" "$ac_includes_default"
     9055if test "x$ac_cv_header_libint_libint_h" = xyes; then :
     9056  cat >>confdefs.h <<_ACEOF
     9057#define HAVE_LIBINT_LIBINT_H 1
    133309058_ACEOF
    13331 cat confdefs.h >>conftest.$ac_ext
    13332 cat >>conftest.$ac_ext <<_ACEOF
    13333 /* end confdefs.h.  */
    13334 $ac_includes_default
    13335 #include <$ac_header>
    13336 _ACEOF
    13337 rm -f conftest.$ac_objext
    13338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    13339   (eval $ac_compile) 2>conftest.er1
    13340   ac_status=$?
    13341   grep -v '^ *+' conftest.er1 >conftest.err
    13342   rm -f conftest.er1
    13343   cat conftest.err >&5
    13344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13345   (exit $ac_status); } &&
    13346          { ac_try='test -z "$ac_cxx_werror_flag"
    13347                          || test ! -s conftest.err'
    13348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    13349   (eval $ac_try) 2>&5
    13350   ac_status=$?
    13351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13352   (exit $ac_status); }; } &&
    13353          { ac_try='test -s conftest.$ac_objext'
    13354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    13355   (eval $ac_try) 2>&5
    13356   ac_status=$?
    13357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13358   (exit $ac_status); }; }; then
    13359   ac_header_compiler=yes
    13360 else
    13361   echo "$as_me: failed program was:" >&5
    13362 sed 's/^/| /' conftest.$ac_ext >&5
    13363 
    13364 ac_header_compiler=no
    13365 fi
    13366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    13367 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    13368 echo "${ECHO_T}$ac_header_compiler" >&6
    13369 
    13370 # Is the header present?
    13371 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    13372 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    13373 cat >conftest.$ac_ext <<_ACEOF
    13374 /* confdefs.h.  */
    13375 _ACEOF
    13376 cat confdefs.h >>conftest.$ac_ext
    13377 cat >>conftest.$ac_ext <<_ACEOF
    13378 /* end confdefs.h.  */
    13379 #include <$ac_header>
    13380 _ACEOF
    13381 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    13382   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    13383   ac_status=$?
    13384   grep -v '^ *+' conftest.er1 >conftest.err
    13385   rm -f conftest.er1
    13386   cat conftest.err >&5
    13387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13388   (exit $ac_status); } >/dev/null; then
    13389   if test -s conftest.err; then
    13390     ac_cpp_err=$ac_cxx_preproc_warn_flag
    13391     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    13392   else
    13393     ac_cpp_err=
    13394   fi
    13395 else
    13396   ac_cpp_err=yes
    13397 fi
    13398 if test -z "$ac_cpp_err"; then
    13399   ac_header_preproc=yes
    13400 else
    13401   echo "$as_me: failed program was:" >&5
    13402 sed 's/^/| /' conftest.$ac_ext >&5
    13403 
    13404   ac_header_preproc=no
    13405 fi
    13406 rm -f conftest.err conftest.$ac_ext
    13407 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    13408 echo "${ECHO_T}$ac_header_preproc" >&6
    13409 
    13410 # So?  What about this header?
    13411 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    13412   yes:no: )
    13413     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    13414 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    13415     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    13416 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    13417     ac_header_preproc=yes
    13418     ;;
    13419   no:yes:* )
    13420     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    13421 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    13422     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    13423 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    13424     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    13425 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    13426     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    13427 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    13428     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    13429 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    13430     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    13431 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    13432     (
    13433       cat <<\_ASBOX
    13434 ## ------------------------------------------ ##
    13435 ## Report this to the AC_PACKAGE_NAME lists.  ##
    13436 ## ------------------------------------------ ##
    13437 _ASBOX
    13438     ) |
    13439       sed "s/^/$as_me: WARNING:     /" >&2
    13440     ;;
    13441 esac
    13442 echo "$as_me:$LINENO: checking for $ac_header" >&5
    13443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    13444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    13445   echo $ECHO_N "(cached) $ECHO_C" >&6
    13446 else
    13447   eval "$as_ac_Header=\$ac_header_preproc"
    13448 fi
    13449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    13450 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    13451 
    13452 fi
    13453 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    13454   cat >>confdefs.h <<_ACEOF
    13455 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    13456 _ACEOF
    13457  echo "$as_me:$LINENO: checking for init_libint_base in -lint" >&5
    13458 echo $ECHO_N "checking for init_libint_base in -lint... $ECHO_C" >&6
    13459 if test "${ac_cv_lib_int_init_libint_base+set}" = set; then
    13460   echo $ECHO_N "(cached) $ECHO_C" >&6
     9059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for init_libint_base in -lint" >&5
     9060$as_echo_n "checking for init_libint_base in -lint... " >&6; }
     9061if ${ac_cv_lib_int_init_libint_base+:} false; then :
     9062  $as_echo_n "(cached) " >&6
    134619063else
    134629064  ac_check_lib_save_LIBS=$LIBS
    134639065LIBS="-lint  $LIBS"
    13464 cat >conftest.$ac_ext <<_ACEOF
    13465 /* confdefs.h.  */
    13466 _ACEOF
    13467 cat confdefs.h >>conftest.$ac_ext
    13468 cat >>conftest.$ac_ext <<_ACEOF
     9066cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    134699067/* end confdefs.h.  */
    134709068
    13471 /* Override any gcc2 internal prototype to avoid an error.  */
     9069/* Override any GCC internal prototype to avoid an error.
     9070   Use char because int might match the return type of a GCC
     9071   builtin and then its argument prototype would still apply.  */
    134729072#ifdef __cplusplus
    134739073extern "C"
    134749074#endif
    13475 /* We use char because int might match the return type of a gcc2
    13476    builtin and then its argument prototype would still apply.  */
    134779075char init_libint_base ();
    134789076int
    134799077main ()
    134809078{
    13481 init_libint_base ();
     9079return init_libint_base ();
    134829080  ;
    134839081  return 0;
    134849082}
    134859083_ACEOF
    13486 rm -f conftest.$ac_objext conftest$ac_exeext
    13487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    13488   (eval $ac_link) 2>conftest.er1
    13489   ac_status=$?
    13490   grep -v '^ *+' conftest.er1 >conftest.err
    13491   rm -f conftest.er1
    13492   cat conftest.err >&5
    13493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13494   (exit $ac_status); } &&
    13495          { ac_try='test -z "$ac_cxx_werror_flag"
    13496                          || test ! -s conftest.err'
    13497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    13498   (eval $ac_try) 2>&5
    13499   ac_status=$?
    13500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13501   (exit $ac_status); }; } &&
    13502          { ac_try='test -s conftest$ac_exeext'
    13503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    13504   (eval $ac_try) 2>&5
    13505   ac_status=$?
    13506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13507   (exit $ac_status); }; }; then
     9084if ac_fn_cxx_try_link "$LINENO"; then :
    135089085  ac_cv_lib_int_init_libint_base=yes
    135099086else
    13510   echo "$as_me: failed program was:" >&5
    13511 sed 's/^/| /' conftest.$ac_ext >&5
    13512 
    13513 ac_cv_lib_int_init_libint_base=no
    13514 fi
    13515 rm -f conftest.err conftest.$ac_objext \
    13516       conftest$ac_exeext conftest.$ac_ext
     9087  ac_cv_lib_int_init_libint_base=no
     9088fi
     9089rm -f core conftest.err conftest.$ac_objext \
     9090    conftest$ac_exeext conftest.$ac_ext
    135179091LIBS=$ac_check_lib_save_LIBS
    135189092fi
    13519 echo "$as_me:$LINENO: result: $ac_cv_lib_int_init_libint_base" >&5
    13520 echo "${ECHO_T}$ac_cv_lib_int_init_libint_base" >&6
    13521 if test $ac_cv_lib_int_init_libint_base = yes; then
     9093{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_int_init_libint_base" >&5
     9094$as_echo "$ac_cv_lib_int_init_libint_base" >&6; }
     9095if test "x$ac_cv_lib_int_init_libint_base" = xyes; then :
    135229096  HAVE_LIBINT=yes
    13523     cat >>confdefs.h <<\_ACEOF
    13524 #define HAVE_LIBINT 1
    13525 _ACEOF
     9097
     9098$as_echo "#define HAVE_LIBINT 1" >>confdefs.h
    135269099
    135279100
     
    135449117
    135459118
    13546 
    13547 ac_ext=cc
     9119ac_ext=cpp
    135489120ac_cpp='$CXXCPP $CPPFLAGS'
    135499121ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    135519123ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    135529124
    13553 
    135549125for ac_header in libr12/libr12.h
    13555 do
    13556 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    13557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    13558   echo "$as_me:$LINENO: checking for $ac_header" >&5
    13559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    13560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    13561   echo $ECHO_N "(cached) $ECHO_C" >&6
    13562 fi
    13563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    13564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    13565 else
    13566   # Is the header compilable?
    13567 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    13568 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    13569 cat >conftest.$ac_ext <<_ACEOF
    13570 /* confdefs.h.  */
     9126do :
     9127  ac_fn_cxx_check_header_mongrel "$LINENO" "libr12/libr12.h" "ac_cv_header_libr12_libr12_h" "$ac_includes_default"
     9128if test "x$ac_cv_header_libr12_libr12_h" = xyes; then :
     9129  cat >>confdefs.h <<_ACEOF
     9130#define HAVE_LIBR12_LIBR12_H 1
    135719131_ACEOF
    13572 cat confdefs.h >>conftest.$ac_ext
    13573 cat >>conftest.$ac_ext <<_ACEOF
    13574 /* end confdefs.h.  */
    13575 $ac_includes_default
    13576 #include <$ac_header>
    13577 _ACEOF
    13578 rm -f conftest.$ac_objext
    13579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    13580   (eval $ac_compile) 2>conftest.er1
    13581   ac_status=$?
    13582   grep -v '^ *+' conftest.er1 >conftest.err
    13583   rm -f conftest.er1
    13584   cat conftest.err >&5
    13585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13586   (exit $ac_status); } &&
    13587          { ac_try='test -z "$ac_cxx_werror_flag"
    13588                          || test ! -s conftest.err'
    13589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    13590   (eval $ac_try) 2>&5
    13591   ac_status=$?
    13592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13593   (exit $ac_status); }; } &&
    13594          { ac_try='test -s conftest.$ac_objext'
    13595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    13596   (eval $ac_try) 2>&5
    13597   ac_status=$?
    13598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13599   (exit $ac_status); }; }; then
    13600   ac_header_compiler=yes
    13601 else
    13602   echo "$as_me: failed program was:" >&5
    13603 sed 's/^/| /' conftest.$ac_ext >&5
    13604 
    13605 ac_header_compiler=no
    13606 fi
    13607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    13608 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    13609 echo "${ECHO_T}$ac_header_compiler" >&6
    13610 
    13611 # Is the header present?
    13612 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    13613 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    13614 cat >conftest.$ac_ext <<_ACEOF
    13615 /* confdefs.h.  */
    13616 _ACEOF
    13617 cat confdefs.h >>conftest.$ac_ext
    13618 cat >>conftest.$ac_ext <<_ACEOF
    13619 /* end confdefs.h.  */
    13620 #include <$ac_header>
    13621 _ACEOF
    13622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    13623   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    13624   ac_status=$?
    13625   grep -v '^ *+' conftest.er1 >conftest.err
    13626   rm -f conftest.er1
    13627   cat conftest.err >&5
    13628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13629   (exit $ac_status); } >/dev/null; then
    13630   if test -s conftest.err; then
    13631     ac_cpp_err=$ac_cxx_preproc_warn_flag
    13632     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    13633   else
    13634     ac_cpp_err=
    13635   fi
    13636 else
    13637   ac_cpp_err=yes
    13638 fi
    13639 if test -z "$ac_cpp_err"; then
    13640   ac_header_preproc=yes
    13641 else
    13642   echo "$as_me: failed program was:" >&5
    13643 sed 's/^/| /' conftest.$ac_ext >&5
    13644 
    13645   ac_header_preproc=no
    13646 fi
    13647 rm -f conftest.err conftest.$ac_ext
    13648 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    13649 echo "${ECHO_T}$ac_header_preproc" >&6
    13650 
    13651 # So?  What about this header?
    13652 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    13653   yes:no: )
    13654     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    13655 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    13656     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    13657 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    13658     ac_header_preproc=yes
    13659     ;;
    13660   no:yes:* )
    13661     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    13662 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    13663     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    13664 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    13665     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    13666 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    13667     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    13668 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    13669     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    13670 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    13671     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    13672 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    13673     (
    13674       cat <<\_ASBOX
    13675 ## ------------------------------------------ ##
    13676 ## Report this to the AC_PACKAGE_NAME lists.  ##
    13677 ## ------------------------------------------ ##
    13678 _ASBOX
    13679     ) |
    13680       sed "s/^/$as_me: WARNING:     /" >&2
    13681     ;;
    13682 esac
    13683 echo "$as_me:$LINENO: checking for $ac_header" >&5
    13684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    13685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    13686   echo $ECHO_N "(cached) $ECHO_C" >&6
    13687 else
    13688   eval "$as_ac_Header=\$ac_header_preproc"
    13689 fi
    13690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    13691 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    13692 
    13693 fi
    13694 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    13695   cat >>confdefs.h <<_ACEOF
    13696 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    13697 _ACEOF
    13698  echo "$as_me:$LINENO: checking for init_libr12_base in -lr12" >&5
    13699 echo $ECHO_N "checking for init_libr12_base in -lr12... $ECHO_C" >&6
    13700 if test "${ac_cv_lib_r12_init_libr12_base+set}" = set; then
    13701   echo $ECHO_N "(cached) $ECHO_C" >&6
     9132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for init_libr12_base in -lr12" >&5
     9133$as_echo_n "checking for init_libr12_base in -lr12... " >&6; }
     9134if ${ac_cv_lib_r12_init_libr12_base+:} false; then :
     9135  $as_echo_n "(cached) " >&6
    137029136else
    137039137  ac_check_lib_save_LIBS=$LIBS
    137049138LIBS="-lr12  $LIBS"
    13705 cat >conftest.$ac_ext <<_ACEOF
    13706 /* confdefs.h.  */
    13707 _ACEOF
    13708 cat confdefs.h >>conftest.$ac_ext
    13709 cat >>conftest.$ac_ext <<_ACEOF
     9139cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    137109140/* end confdefs.h.  */
    137119141
    13712 /* Override any gcc2 internal prototype to avoid an error.  */
     9142/* Override any GCC internal prototype to avoid an error.
     9143   Use char because int might match the return type of a GCC
     9144   builtin and then its argument prototype would still apply.  */
    137139145#ifdef __cplusplus
    137149146extern "C"
    137159147#endif
    13716 /* We use char because int might match the return type of a gcc2
    13717    builtin and then its argument prototype would still apply.  */
    137189148char init_libr12_base ();
    137199149int
    137209150main ()
    137219151{
    13722 init_libr12_base ();
     9152return init_libr12_base ();
    137239153  ;
    137249154  return 0;
    137259155}
    137269156_ACEOF
    13727 rm -f conftest.$ac_objext conftest$ac_exeext
    13728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    13729   (eval $ac_link) 2>conftest.er1
    13730   ac_status=$?
    13731   grep -v '^ *+' conftest.er1 >conftest.err
    13732   rm -f conftest.er1
    13733   cat conftest.err >&5
    13734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13735   (exit $ac_status); } &&
    13736          { ac_try='test -z "$ac_cxx_werror_flag"
    13737                          || test ! -s conftest.err'
    13738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    13739   (eval $ac_try) 2>&5
    13740   ac_status=$?
    13741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13742   (exit $ac_status); }; } &&
    13743          { ac_try='test -s conftest$ac_exeext'
    13744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    13745   (eval $ac_try) 2>&5
    13746   ac_status=$?
    13747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13748   (exit $ac_status); }; }; then
     9157if ac_fn_cxx_try_link "$LINENO"; then :
    137499158  ac_cv_lib_r12_init_libr12_base=yes
    137509159else
    13751   echo "$as_me: failed program was:" >&5
    13752 sed 's/^/| /' conftest.$ac_ext >&5
    13753 
    13754 ac_cv_lib_r12_init_libr12_base=no
    13755 fi
    13756 rm -f conftest.err conftest.$ac_objext \
    13757       conftest$ac_exeext conftest.$ac_ext
     9160  ac_cv_lib_r12_init_libr12_base=no
     9161fi
     9162rm -f core conftest.err conftest.$ac_objext \
     9163    conftest$ac_exeext conftest.$ac_ext
    137589164LIBS=$ac_check_lib_save_LIBS
    137599165fi
    13760 echo "$as_me:$LINENO: result: $ac_cv_lib_r12_init_libr12_base" >&5
    13761 echo "${ECHO_T}$ac_cv_lib_r12_init_libr12_base" >&6
    13762 if test $ac_cv_lib_r12_init_libr12_base = yes; then
     9166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_r12_init_libr12_base" >&5
     9167$as_echo "$ac_cv_lib_r12_init_libr12_base" >&6; }
     9168if test "x$ac_cv_lib_r12_init_libr12_base" = xyes; then :
    137639169  HAVE_LIBR12=yes
    13764     cat >>confdefs.h <<\_ACEOF
    13765 #define HAVE_LIBR12 1
    13766 _ACEOF
     9170
     9171$as_echo "#define HAVE_LIBR12 1" >>confdefs.h
    137679172
    137689173
     
    137859190
    137869191
    13787 
    13788 ac_ext=cc
     9192ac_ext=cpp
    137899193ac_cpp='$CXXCPP $CPPFLAGS'
    137909194ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    137929196ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    137939197
    13794 
    137959198for ac_header in libderiv/libderiv.h
    13796 do
    13797 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    13798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    13799   echo "$as_me:$LINENO: checking for $ac_header" >&5
    13800 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    13801 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    13802   echo $ECHO_N "(cached) $ECHO_C" >&6
    13803 fi
    13804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    13805 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    13806 else
    13807   # Is the header compilable?
    13808 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    13809 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    13810 cat >conftest.$ac_ext <<_ACEOF
    13811 /* confdefs.h.  */
     9199do :
     9200  ac_fn_cxx_check_header_mongrel "$LINENO" "libderiv/libderiv.h" "ac_cv_header_libderiv_libderiv_h" "$ac_includes_default"
     9201if test "x$ac_cv_header_libderiv_libderiv_h" = xyes; then :
     9202  cat >>confdefs.h <<_ACEOF
     9203#define HAVE_LIBDERIV_LIBDERIV_H 1
    138129204_ACEOF
    13813 cat confdefs.h >>conftest.$ac_ext
    13814 cat >>conftest.$ac_ext <<_ACEOF
    13815 /* end confdefs.h.  */
    13816 $ac_includes_default
    13817 #include <$ac_header>
    13818 _ACEOF
    13819 rm -f conftest.$ac_objext
    13820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    13821   (eval $ac_compile) 2>conftest.er1
    13822   ac_status=$?
    13823   grep -v '^ *+' conftest.er1 >conftest.err
    13824   rm -f conftest.er1
    13825   cat conftest.err >&5
    13826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13827   (exit $ac_status); } &&
    13828          { ac_try='test -z "$ac_cxx_werror_flag"
    13829                          || test ! -s conftest.err'
    13830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    13831   (eval $ac_try) 2>&5
    13832   ac_status=$?
    13833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13834   (exit $ac_status); }; } &&
    13835          { ac_try='test -s conftest.$ac_objext'
    13836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    13837   (eval $ac_try) 2>&5
    13838   ac_status=$?
    13839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13840   (exit $ac_status); }; }; then
    13841   ac_header_compiler=yes
    13842 else
    13843   echo "$as_me: failed program was:" >&5
    13844 sed 's/^/| /' conftest.$ac_ext >&5
    13845 
    13846 ac_header_compiler=no
    13847 fi
    13848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    13849 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    13850 echo "${ECHO_T}$ac_header_compiler" >&6
    13851 
    13852 # Is the header present?
    13853 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    13854 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    13855 cat >conftest.$ac_ext <<_ACEOF
    13856 /* confdefs.h.  */
    13857 _ACEOF
    13858 cat confdefs.h >>conftest.$ac_ext
    13859 cat >>conftest.$ac_ext <<_ACEOF
    13860 /* end confdefs.h.  */
    13861 #include <$ac_header>
    13862 _ACEOF
    13863 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    13864   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    13865   ac_status=$?
    13866   grep -v '^ *+' conftest.er1 >conftest.err
    13867   rm -f conftest.er1
    13868   cat conftest.err >&5
    13869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13870   (exit $ac_status); } >/dev/null; then
    13871   if test -s conftest.err; then
    13872     ac_cpp_err=$ac_cxx_preproc_warn_flag
    13873     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    13874   else
    13875     ac_cpp_err=
    13876   fi
    13877 else
    13878   ac_cpp_err=yes
    13879 fi
    13880 if test -z "$ac_cpp_err"; then
    13881   ac_header_preproc=yes
    13882 else
    13883   echo "$as_me: failed program was:" >&5
    13884 sed 's/^/| /' conftest.$ac_ext >&5
    13885 
    13886   ac_header_preproc=no
    13887 fi
    13888 rm -f conftest.err conftest.$ac_ext
    13889 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    13890 echo "${ECHO_T}$ac_header_preproc" >&6
    13891 
    13892 # So?  What about this header?
    13893 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    13894   yes:no: )
    13895     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    13896 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    13897     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    13898 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    13899     ac_header_preproc=yes
    13900     ;;
    13901   no:yes:* )
    13902     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    13903 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    13904     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    13905 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    13906     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    13907 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    13908     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    13909 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    13910     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    13911 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    13912     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    13913 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    13914     (
    13915       cat <<\_ASBOX
    13916 ## ------------------------------------------ ##
    13917 ## Report this to the AC_PACKAGE_NAME lists.  ##
    13918 ## ------------------------------------------ ##
    13919 _ASBOX
    13920     ) |
    13921       sed "s/^/$as_me: WARNING:     /" >&2
    13922     ;;
    13923 esac
    13924 echo "$as_me:$LINENO: checking for $ac_header" >&5
    13925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    13926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    13927   echo $ECHO_N "(cached) $ECHO_C" >&6
    13928 else
    13929   eval "$as_ac_Header=\$ac_header_preproc"
    13930 fi
    13931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    13932 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    13933 
    13934 fi
    13935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    13936   cat >>confdefs.h <<_ACEOF
    13937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    13938 _ACEOF
    13939  echo "$as_me:$LINENO: checking for init_libderiv_base in -lderiv" >&5
    13940 echo $ECHO_N "checking for init_libderiv_base in -lderiv... $ECHO_C" >&6
    13941 if test "${ac_cv_lib_deriv_init_libderiv_base+set}" = set; then
    13942   echo $ECHO_N "(cached) $ECHO_C" >&6
     9205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for init_libderiv_base in -lderiv" >&5
     9206$as_echo_n "checking for init_libderiv_base in -lderiv... " >&6; }
     9207if ${ac_cv_lib_deriv_init_libderiv_base+:} false; then :
     9208  $as_echo_n "(cached) " >&6
    139439209else
    139449210  ac_check_lib_save_LIBS=$LIBS
    139459211LIBS="-lderiv  $LIBS"
    13946 cat >conftest.$ac_ext <<_ACEOF
    13947 /* confdefs.h.  */
    13948 _ACEOF
    13949 cat confdefs.h >>conftest.$ac_ext
    13950 cat >>conftest.$ac_ext <<_ACEOF
     9212cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    139519213/* end confdefs.h.  */
    139529214
    13953 /* Override any gcc2 internal prototype to avoid an error.  */
     9215/* Override any GCC internal prototype to avoid an error.
     9216   Use char because int might match the return type of a GCC
     9217   builtin and then its argument prototype would still apply.  */
    139549218#ifdef __cplusplus
    139559219extern "C"
    139569220#endif
    13957 /* We use char because int might match the return type of a gcc2
    13958    builtin and then its argument prototype would still apply.  */
    139599221char init_libderiv_base ();
    139609222int
    139619223main ()
    139629224{
    13963 init_libderiv_base ();
     9225return init_libderiv_base ();
    139649226  ;
    139659227  return 0;
    139669228}
    139679229_ACEOF
    13968 rm -f conftest.$ac_objext conftest$ac_exeext
    13969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    13970   (eval $ac_link) 2>conftest.er1
    13971   ac_status=$?
    13972   grep -v '^ *+' conftest.er1 >conftest.err
    13973   rm -f conftest.er1
    13974   cat conftest.err >&5
    13975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13976   (exit $ac_status); } &&
    13977          { ac_try='test -z "$ac_cxx_werror_flag"
    13978                          || test ! -s conftest.err'
    13979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    13980   (eval $ac_try) 2>&5
    13981   ac_status=$?
    13982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13983   (exit $ac_status); }; } &&
    13984          { ac_try='test -s conftest$ac_exeext'
    13985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    13986   (eval $ac_try) 2>&5
    13987   ac_status=$?
    13988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13989   (exit $ac_status); }; }; then
     9230if ac_fn_cxx_try_link "$LINENO"; then :
    139909231  ac_cv_lib_deriv_init_libderiv_base=yes
    139919232else
    13992   echo "$as_me: failed program was:" >&5
    13993 sed 's/^/| /' conftest.$ac_ext >&5
    13994 
    13995 ac_cv_lib_deriv_init_libderiv_base=no
    13996 fi
    13997 rm -f conftest.err conftest.$ac_objext \
    13998       conftest$ac_exeext conftest.$ac_ext
     9233  ac_cv_lib_deriv_init_libderiv_base=no
     9234fi
     9235rm -f core conftest.err conftest.$ac_objext \
     9236    conftest$ac_exeext conftest.$ac_ext
    139999237LIBS=$ac_check_lib_save_LIBS
    140009238fi
    14001 echo "$as_me:$LINENO: result: $ac_cv_lib_deriv_init_libderiv_base" >&5
    14002 echo "${ECHO_T}$ac_cv_lib_deriv_init_libderiv_base" >&6
    14003 if test $ac_cv_lib_deriv_init_libderiv_base = yes; then
     9239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_deriv_init_libderiv_base" >&5
     9240$as_echo "$ac_cv_lib_deriv_init_libderiv_base" >&6; }
     9241if test "x$ac_cv_lib_deriv_init_libderiv_base" = xyes; then :
    140049242  HAVE_LIBDERIV=yes
    14005     cat >>confdefs.h <<\_ACEOF
    14006 #define HAVE_LIBDERIV 1
    14007 _ACEOF
     9243
     9244$as_echo "#define HAVE_LIBDERIV 1" >>confdefs.h
    140089245
    140099246
     
    140319268
    140329269if test $template_instantiation = auto; then
    14033 echo "$as_me:$LINENO: checking choosing template instantiation method" >&5
    14034 echo $ECHO_N "checking choosing template instantiation method... $ECHO_C" >&6
     9270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking choosing template instantiation method" >&5
     9271$as_echo_n "checking choosing template instantiation method... " >&6; }
    140359272  if test X$GXX = Xyes; then
    14036     echo "$as_me:$LINENO: result: \"gcc (none)\"" >&5
    14037 echo "${ECHO_T}\"gcc (none)\"" >&6
     9273    { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"gcc (none)\"" >&5
     9274$as_echo "\"gcc (none)\"" >&6; }
    140389275  else
    140399276    case $target in
    140409277      *-sgi-irix6.0*)
    14041         echo "$as_me:$LINENO: result: \"*-sgi-irix6.0* (none)\"" >&5
    14042 echo "${ECHO_T}\"*-sgi-irix6.0* (none)\"" >&6
     9278        { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"*-sgi-irix6.0* (none)\"" >&5
     9279$as_echo "\"*-sgi-irix6.0* (none)\"" >&6; }
    140439280        ;;
    140449281      *-sgi-irix*)
    140459282        template_instantiation=ptused
    14046         echo "$as_me:$LINENO: result: \"*-sgi-irix* (ptused)\"" >&5
    14047 echo "${ECHO_T}\"*-sgi-irix* (ptused)\"" >&6
     9283        { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"*-sgi-irix* (ptused)\"" >&5
     9284$as_echo "\"*-sgi-irix* (ptused)\"" >&6; }
    140489285        ;;
    140499286      *-cray-unicos*)
    140509287        template_instantiation=craysimp
    14051         echo "$as_me:$LINENO: result: \"*-cray-unicos* (craysimp)\"" >&5
    14052 echo "${ECHO_T}\"*-cray-unicos* (craysimp)\"" >&6
     9288        { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"*-cray-unicos* (craysimp)\"" >&5
     9289$as_echo "\"*-cray-unicos* (craysimp)\"" >&6; }
    140539290        ;;
    140549291      *-dec-osf*)
    140559292        template_instantiation=repodir
    14056         echo "$as_me:$LINENO: result: \"*-dec-osf* (repodir)\"" >&5
    14057 echo "${ECHO_T}\"*-dec-osf* (repodir)\"" >&6
     9293        { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"*-dec-osf* (repodir)\"" >&5
     9294$as_echo "\"*-dec-osf* (repodir)\"" >&6; }
    140589295        ;;
    140599296      alpha*)
    140609297        template_instantiation=repodir
    14061         echo "$as_me:$LINENO: result: \"alpha* non-GNU C++ (repodir)\"" >&5
    14062 echo "${ECHO_T}\"alpha* non-GNU C++ (repodir)\"" >&6
     9298        { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"alpha* non-GNU C++ (repodir)\"" >&5
     9299$as_echo "\"alpha* non-GNU C++ (repodir)\"" >&6; }
    140639300        ;;
    140649301      *-solaris*)
    140659302        template_instantiation=sunexpl
    14066         echo "$as_me:$LINENO: result: \"*-solaris* (sunexpl)\"" >&5
    14067 echo "${ECHO_T}\"*-solaris* (sunexpl)\"" >&6
     9303        { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"*-solaris* (sunexpl)\"" >&5
     9304$as_echo "\"*-solaris* (sunexpl)\"" >&6; }
    140689305        ;;
    140699306      *)
    14070         echo "$as_me:$LINENO: result: \"generic non GNU (none)\"" >&5
    14071 echo "${ECHO_T}\"generic non GNU (none)\"" >&6
     9307        { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"generic non GNU (none)\"" >&5
     9308$as_echo "\"generic non GNU (none)\"" >&6; }
    140729309        ;;
    140739310    esac
     
    140799316fi
    140809317
    14081 echo "$as_me:$LINENO: checking template instantiation flags" >&5
    14082 echo $ECHO_N "checking template instantiation flags... $ECHO_C" >&6
     9318{ $as_echo "$as_me:${as_lineno-$LINENO}: checking template instantiation flags" >&5
     9319$as_echo_n "checking template instantiation flags... " >&6; }
    140839320TMPLINST=no
    140849321TMPLREPO=
     
    140959332    TMPLINST=yes
    140969333    CXXFLAGS="$CXXFLAGS -frepo"
    14097     echo "$as_me:$LINENO: result: gnurepo" >&5
    14098 echo "${ECHO_T}gnurepo" >&6
     9334    { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnurepo" >&5
     9335$as_echo "gnurepo" >&6; }
    140999336    ;;
    141009337  gnuexpl)
     
    141029339    CXXFLAGS="$CXXFLAGS -fno-implicit-templates"
    141039340    EXPLICIT_TEMPLATE_INSTANTIATION=yes
    14104     cat >>confdefs.h <<\_ACEOF
    14105 #define EXPLICIT_TEMPLATE_INSTANTIATION 1
    14106 _ACEOF
     9341
     9342$as_echo "#define EXPLICIT_TEMPLATE_INSTANTIATION 1" >>confdefs.h
    141079343
    141089344    ;;
    141099345  sunexpl)
    141109346    CXXFLAGS="$CXXFLAGS -instances=explicit"
    14111     cat >>confdefs.h <<\_ACEOF
    14112 #define EXPLICIT_TEMPLATE_INSTANTIATION 1
    14113 _ACEOF
     9347
     9348$as_echo "#define EXPLICIT_TEMPLATE_INSTANTIATION 1" >>confdefs.h
    141149349
    141159350    ;;
     
    141189353    ;;
    141199354  none)
    14120     echo "$as_me:$LINENO: result: none" >&5
    14121 echo "${ECHO_T}none" >&6
     9355    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
     9356$as_echo "none" >&6; }
    141229357    ;;
    141239358  *)
    14124     echo "$as_me:$LINENO: result: $template_instantiation" >&5
    14125 echo "${ECHO_T}$template_instantiation" >&6
    14126     { { echo "$as_me:$LINENO: error: unknown template instantiation method" >&5
    14127 echo "$as_me: error: unknown template instantiation method" >&2;}
    14128    { (exit 1); exit 1; }; }
     9359    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $template_instantiation" >&5
     9360$as_echo "$template_instantiation" >&6; }
     9361    as_fn_error $? "unknown template instantiation method" "$LINENO" 5
    141299362esac
    141309363
     
    141349367
    141359368
    14136 echo "$as_me:$LINENO: checking for special flags that must be set last" >&5
    14137 echo $ECHO_N "checking for special flags that must be set last... $ECHO_C" >&6
     9369{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for special flags that must be set last" >&5
     9370$as_echo_n "checking for special flags that must be set last... " >&6; }
    141389371case $target in
    141399372  i860-intel-puma*)
    141409373    LDFLAGS="$LDFLAGS -mpuma -mnoieee"
    14141     echo "$as_me:$LINENO: result: paragon puma" >&5
    14142 echo "${ECHO_T}paragon puma" >&6
     9374    { $as_echo "$as_me:${as_lineno-$LINENO}: result: paragon puma" >&5
     9375$as_echo "paragon puma" >&6; }
    141439376  ;;
    141449377  i686-intel-cougar*)
    141459378    LDFLAGS="$LDFLAGS -mcougar -mnoieee"
    14146     echo "$as_me:$LINENO: result: teraflop cougar" >&5
    14147 echo "${ECHO_T}teraflop cougar" >&6
     9379    { $as_echo "$as_me:${as_lineno-$LINENO}: result: teraflop cougar" >&5
     9380$as_echo "teraflop cougar" >&6; }
    141489381  ;;
    141499382  i860-intel-sunmos*)
    141509383    LDFLAGS="$LDFLAGS -msunmos -mnoieee"
    14151     echo "$as_me:$LINENO: result: paragon sunmos" >&5
    14152 echo "${ECHO_T}paragon sunmos" >&6
     9384    { $as_echo "$as_me:${as_lineno-$LINENO}: result: paragon sunmos" >&5
     9385$as_echo "paragon sunmos" >&6; }
    141539386  ;;
    141549387  i860-intel-osf*)
    141559388    LDFLAGS="$LDFLAGS -mnx -mnoieee"
    14156     echo "$as_me:$LINENO: result: osf paragon" >&5
    14157 echo "${ECHO_T}osf paragon" >&6
     9389    { $as_echo "$as_me:${as_lineno-$LINENO}: result: osf paragon" >&5
     9390$as_echo "osf paragon" >&6; }
    141589391  ;;
    141599392  *)
    14160     echo "$as_me:$LINENO: result: none" >&5
    14161 echo "${ECHO_T}none" >&6
     9393    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
     9394$as_echo "none" >&6; }
    141629395  ;;
    141639396esac
     
    141659398
    141669399enablelibtool=yes
    14167 # Check whether --enable-libtool or --disable-libtool was given.
    14168 if test "${enable_libtool+set}" = set; then
    14169   enableval="$enable_libtool"
    14170 
     9400# Check whether --enable-libtool was given.
     9401if test "${enable_libtool+set}" = set; then :
     9402  enableval=$enable_libtool;
    141719403case $enableval in
    141729404  yes)
     
    141769408  ;;
    141779409  *)
    14178     { { echo "$as_me:$LINENO: error: Invalid value for --(dis|en)able-libtool ($enableval)" >&5
    14179 echo "$as_me: error: Invalid value for --(dis|en)able-libtool ($enableval)" >&2;}
    14180    { (exit 1); exit 1; }; }
     9410    as_fn_error $? "Invalid value for --(dis|en)able-libtool ($enableval)" "$LINENO" 5
    141819411  ;;
    141829412esac
    141839413
    14184 fi;
     9414fi
     9415
    141859416
    141869417if test "$enablelibtool" = yes; then
    141879418
    14188 # Check whether --enable-shared or --disable-shared was given.
    14189 if test "${enable_shared+set}" = set; then
    14190   enableval="$enable_shared"
    14191   p=${PACKAGE-default}
     9419# Check whether --enable-shared was given.
     9420if test "${enable_shared+set}" = set; then :
     9421  enableval=$enable_shared; p=${PACKAGE-default}
    141929422    case $enableval in
    141939423    yes) enable_shared=yes ;;
     
    142089438else
    142099439  enable_shared=no
    14210 fi;
    14211 
    14212 
    14213 # Check whether --enable-static or --disable-static was given.
    14214 if test "${enable_static+set}" = set; then
    14215   enableval="$enable_static"
    14216   p=${PACKAGE-default}
    14217     case $enableval in
    14218     yes) enable_static=yes ;;
    14219     no) enable_static=no ;;
    14220     *)
    14221      enable_static=no
    14222       # Look at the argument we got.  We use all the common list separators.
    14223       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
    14224       for pkg in $enableval; do
    14225         IFS="$lt_save_ifs"
    14226         if test "X$pkg" = "X$p"; then
    14227           enable_static=yes
    14228         fi
    14229       done
    14230       IFS="$lt_save_ifs"
    14231       ;;
    14232     esac
    14233 else
    14234   enable_static=yes
    14235 fi;
    14236 
    14237 # Check whether --enable-fast-install or --disable-fast-install was given.
    14238 if test "${enable_fast_install+set}" = set; then
    14239   enableval="$enable_fast_install"
    14240   p=${PACKAGE-default}
    14241     case $enableval in
    14242     yes) enable_fast_install=yes ;;
    14243     no) enable_fast_install=no ;;
    14244     *)
    14245       enable_fast_install=no
    14246       # Look at the argument we got.  We use all the common list separators.
    14247       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
    14248       for pkg in $enableval; do
    14249         IFS="$lt_save_ifs"
    14250         if test "X$pkg" = "X$p"; then
    14251           enable_fast_install=yes
    14252         fi
    14253       done
    14254       IFS="$lt_save_ifs"
    14255       ;;
    14256     esac
    14257 else
    14258   enable_fast_install=yes
    14259 fi;
    14260 
    14261 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
    14262 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
    14263 if test "${lt_cv_path_SED+set}" = set; then
    14264   echo $ECHO_N "(cached) $ECHO_C" >&6
    14265 else
    14266   # Loop through the user's path and test for sed and gsed.
    14267 # Then use that list of sed's as ones to test for truncation.
    14268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     9440fi
     9441
     9442
     9443
     9444
     9445
     9446
     9447
     9448
     9449
     9450case `pwd` in
     9451  *\ * | *\     *)
     9452    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
     9453$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
     9454esac
     9455
     9456
     9457
     9458macro_version='2.4.2'
     9459macro_revision='1.3337'
     9460
     9461
     9462
     9463
     9464
     9465
     9466
     9467
     9468
     9469
     9470
     9471
     9472
     9473ltmain="$ac_aux_dir/ltmain.sh"
     9474
     9475# Backslashify metacharacters that are still active within
     9476# double-quoted strings.
     9477sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
     9478
     9479# Same as above, but do not quote variable references.
     9480double_quote_subst='s/\(["`\\]\)/\\\1/g'
     9481
     9482# Sed substitution to delay expansion of an escaped shell variable in a
     9483# double_quote_subst'ed string.
     9484delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
     9485
     9486# Sed substitution to delay expansion of an escaped single quote.
     9487delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
     9488
     9489# Sed substitution to avoid accidental globbing in evaled expressions
     9490no_glob_subst='s/\*/\\\*/g'
     9491
     9492ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     9493ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
     9494ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
     9495
     9496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
     9497$as_echo_n "checking how to print strings... " >&6; }
     9498# Test print first, because it will be a builtin if present.
     9499if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
     9500   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
     9501  ECHO='print -r --'
     9502elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
     9503  ECHO='printf %s\n'
     9504else
     9505  # Use this function as a fallback that always works.
     9506  func_fallback_echo ()
     9507  {
     9508    eval 'cat <<_LTECHO_EOF
     9509$1
     9510_LTECHO_EOF'
     9511  }
     9512  ECHO='func_fallback_echo'
     9513fi
     9514
     9515# func_echo_all arg...
     9516# Invoke $ECHO with all args, space-separated.
     9517func_echo_all ()
     9518{
     9519    $ECHO ""
     9520}
     9521
     9522case "$ECHO" in
     9523  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
     9524$as_echo "printf" >&6; } ;;
     9525  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
     9526$as_echo "print -r" >&6; } ;;
     9527  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
     9528$as_echo "cat" >&6; } ;;
     9529esac
     9530
     9531
     9532
     9533
     9534
     9535
     9536
     9537
     9538
     9539
     9540
     9541
     9542
     9543
     9544{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
     9545$as_echo_n "checking for a sed that does not truncate output... " >&6; }
     9546if ${ac_cv_path_SED+:} false; then :
     9547  $as_echo_n "(cached) " >&6
     9548else
     9549            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
     9550     for ac_i in 1 2 3 4 5 6 7; do
     9551       ac_script="$ac_script$as_nl$ac_script"
     9552     done
     9553     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
     9554     { ac_script=; unset ac_script;}
     9555     if test -z "$SED"; then
     9556  ac_path_SED_found=false
     9557  # Loop through the user's path and test for each of PROGNAME-LIST
     9558  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    142699559for as_dir in $PATH
    142709560do
    142719561  IFS=$as_save_IFS
    142729562  test -z "$as_dir" && as_dir=.
    14273   for lt_ac_prog in sed gsed; do
     9563    for ac_prog in sed gsed; do
    142749564    for ac_exec_ext in '' $ac_executable_extensions; do
    14275       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
    14276         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
    14277       fi
     9565      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
     9566      as_fn_executable_p "$ac_path_SED" || continue
     9567# Check for GNU ac_path_SED and select it if it is found.
     9568  # Check for GNU $ac_path_SED
     9569case `"$ac_path_SED" --version 2>&1` in
     9570*GNU*)
     9571  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
     9572*)
     9573  ac_count=0
     9574  $as_echo_n 0123456789 >"conftest.in"
     9575  while :
     9576  do
     9577    cat "conftest.in" "conftest.in" >"conftest.tmp"
     9578    mv "conftest.tmp" "conftest.in"
     9579    cp "conftest.in" "conftest.nl"
     9580    $as_echo '' >> "conftest.nl"
     9581    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
     9582    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     9583    as_fn_arith $ac_count + 1 && ac_count=$as_val
     9584    if test $ac_count -gt ${ac_path_SED_max-0}; then
     9585      # Best one so far, save it but keep looking for a better one
     9586      ac_cv_path_SED="$ac_path_SED"
     9587      ac_path_SED_max=$ac_count
     9588    fi
     9589    # 10*(2^10) chars as input seems more than enough
     9590    test $ac_count -gt 10 && break
     9591  done
     9592  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     9593esac
     9594
     9595      $ac_path_SED_found && break 3
    142789596    done
    142799597  done
    14280 done
    14281 lt_ac_max=0
    14282 lt_ac_count=0
    14283 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
    14284 # along with /bin/sed that truncates output.
    14285 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
    14286   test ! -f $lt_ac_sed && continue
    14287   cat /dev/null > conftest.in
    14288   lt_ac_count=0
    14289   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
    14290   # Check for GNU sed and select it if it is found.
    14291   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
    14292     lt_cv_path_SED=$lt_ac_sed
    14293     break
     9598  done
     9599IFS=$as_save_IFS
     9600  if test -z "$ac_cv_path_SED"; then
     9601    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
    142949602  fi
    14295   while true; do
    14296     cat conftest.in conftest.in >conftest.tmp
    14297     mv conftest.tmp conftest.in
    14298     cp conftest.in conftest.nl
    14299     echo >>conftest.nl
    14300     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
    14301     cmp -s conftest.out conftest.nl || break
    14302     # 10000 chars as input seems more than enough
    14303     test $lt_ac_count -gt 10 && break
    14304     lt_ac_count=`expr $lt_ac_count + 1`
    14305     if test $lt_ac_count -gt $lt_ac_max; then
    14306       lt_ac_max=$lt_ac_count
    14307       lt_cv_path_SED=$lt_ac_sed
     9603else
     9604  ac_cv_path_SED=$SED
     9605fi
     9606
     9607fi
     9608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
     9609$as_echo "$ac_cv_path_SED" >&6; }
     9610 SED="$ac_cv_path_SED"
     9611  rm -f conftest.sed
     9612
     9613test -z "$SED" && SED=sed
     9614Xsed="$SED -e 1s/^X//"
     9615
     9616
     9617
     9618
     9619
     9620
     9621
     9622
     9623
     9624
     9625
     9626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
     9627$as_echo_n "checking for fgrep... " >&6; }
     9628if ${ac_cv_path_FGREP+:} false; then :
     9629  $as_echo_n "(cached) " >&6
     9630else
     9631  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
     9632   then ac_cv_path_FGREP="$GREP -F"
     9633   else
     9634     if test -z "$FGREP"; then
     9635  ac_path_FGREP_found=false
     9636  # Loop through the user's path and test for each of PROGNAME-LIST
     9637  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     9638for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     9639do
     9640  IFS=$as_save_IFS
     9641  test -z "$as_dir" && as_dir=.
     9642    for ac_prog in fgrep; do
     9643    for ac_exec_ext in '' $ac_executable_extensions; do
     9644      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
     9645      as_fn_executable_p "$ac_path_FGREP" || continue
     9646# Check for GNU ac_path_FGREP and select it if it is found.
     9647  # Check for GNU $ac_path_FGREP
     9648case `"$ac_path_FGREP" --version 2>&1` in
     9649*GNU*)
     9650  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
     9651*)
     9652  ac_count=0
     9653  $as_echo_n 0123456789 >"conftest.in"
     9654  while :
     9655  do
     9656    cat "conftest.in" "conftest.in" >"conftest.tmp"
     9657    mv "conftest.tmp" "conftest.in"
     9658    cp "conftest.in" "conftest.nl"
     9659    $as_echo 'FGREP' >> "conftest.nl"
     9660    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
     9661    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     9662    as_fn_arith $ac_count + 1 && ac_count=$as_val
     9663    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
     9664      # Best one so far, save it but keep looking for a better one
     9665      ac_cv_path_FGREP="$ac_path_FGREP"
     9666      ac_path_FGREP_max=$ac_count
    143089667    fi
     9668    # 10*(2^10) chars as input seems more than enough
     9669    test $ac_count -gt 10 && break
    143099670  done
    14310 done
    14311 
    14312 fi
    14313 
    14314 SED=$lt_cv_path_SED
    14315 echo "$as_me:$LINENO: result: $SED" >&5
    14316 echo "${ECHO_T}$SED" >&6
    14317 
    14318 
    14319 # Check whether --with-gnu-ld or --without-gnu-ld was given.
    14320 if test "${with_gnu_ld+set}" = set; then
    14321   withval="$with_gnu_ld"
    14322   test "$withval" = no || with_gnu_ld=yes
     9671  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     9672esac
     9673
     9674      $ac_path_FGREP_found && break 3
     9675    done
     9676  done
     9677  done
     9678IFS=$as_save_IFS
     9679  if test -z "$ac_cv_path_FGREP"; then
     9680    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     9681  fi
     9682else
     9683  ac_cv_path_FGREP=$FGREP
     9684fi
     9685
     9686   fi
     9687fi
     9688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
     9689$as_echo "$ac_cv_path_FGREP" >&6; }
     9690 FGREP="$ac_cv_path_FGREP"
     9691
     9692
     9693test -z "$GREP" && GREP=grep
     9694
     9695
     9696
     9697
     9698
     9699
     9700
     9701
     9702
     9703
     9704
     9705
     9706
     9707
     9708
     9709
     9710
     9711
     9712
     9713# Check whether --with-gnu-ld was given.
     9714if test "${with_gnu_ld+set}" = set; then :
     9715  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
    143239716else
    143249717  with_gnu_ld=no
    14325 fi;
     9718fi
     9719
    143269720ac_prog=ld
    143279721if test "$GCC" = yes; then
    143289722  # Check if gcc -print-prog-name=ld gives a path.
    14329   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
    14330 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
     9723  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
     9724$as_echo_n "checking for ld used by $CC... " >&6; }
    143319725  case $host in
    143329726  *-*-mingw*)
     
    143419735      re_direlt='/[^/][^/]*/\.\./'
    143429736      # Canonicalize the pathname of ld
    14343       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
    14344       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
    14345         ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
     9737      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
     9738      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
     9739        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
    143469740      done
    143479741      test -z "$LD" && LD="$ac_prog"
     
    143579751  esac
    143589752elif test "$with_gnu_ld" = yes; then
    14359   echo "$as_me:$LINENO: checking for GNU ld" >&5
    14360 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
    14361 else
    14362   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
    14363 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
    14364 fi
    14365 if test "${lt_cv_path_LD+set}" = set; then
    14366   echo $ECHO_N "(cached) $ECHO_C" >&6
     9753  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
     9754$as_echo_n "checking for GNU ld... " >&6; }
     9755else
     9756  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
     9757$as_echo_n "checking for non-GNU ld... " >&6; }
     9758fi
     9759if ${lt_cv_path_LD+:} false; then :
     9760  $as_echo_n "(cached) " >&6
    143679761else
    143689762  if test -z "$LD"; then
     
    143949788LD="$lt_cv_path_LD"
    143959789if test -n "$LD"; then
    14396   echo "$as_me:$LINENO: result: $LD" >&5
    14397 echo "${ECHO_T}$LD" >&6
    14398 else
    14399   echo "$as_me:$LINENO: result: no" >&5
    14400 echo "${ECHO_T}no" >&6
    14401 fi
    14402 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
    14403 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
    14404    { (exit 1); exit 1; }; }
    14405 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
    14406 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
    14407 if test "${lt_cv_prog_gnu_ld+set}" = set; then
    14408   echo $ECHO_N "(cached) $ECHO_C" >&6
     9790  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
     9791$as_echo "$LD" >&6; }
     9792else
     9793  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9794$as_echo "no" >&6; }
     9795fi
     9796test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
     9797{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
     9798$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
     9799if ${lt_cv_prog_gnu_ld+:} false; then :
     9800  $as_echo_n "(cached) " >&6
    144099801else
    144109802  # I'd rather use --version here, but apparently some GNU lds only accept -v.
     
    144189810esac
    144199811fi
    14420 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
    14421 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
     9812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
     9813$as_echo "$lt_cv_prog_gnu_ld" >&6; }
    144229814with_gnu_ld=$lt_cv_prog_gnu_ld
    144239815
    144249816
    14425 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
    14426 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
    14427 if test "${lt_cv_ld_reload_flag+set}" = set; then
    14428   echo $ECHO_N "(cached) $ECHO_C" >&6
    14429 else
    14430   lt_cv_ld_reload_flag='-r'
    14431 fi
    14432 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
    14433 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
    14434 reload_flag=$lt_cv_ld_reload_flag
    14435 case $reload_flag in
    14436 "" | " "*) ;;
    14437 *) reload_flag=" $reload_flag" ;;
    14438 esac
    14439 reload_cmds='$LD$reload_flag -o $output$reload_objs'
    14440 case $host_os in
    14441   darwin*)
    14442     if test "$GCC" = yes; then
    14443       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
    14444     else
    14445       reload_cmds='$LD$reload_flag -o $output$reload_objs'
    14446     fi
    14447     ;;
    14448 esac
    14449 
    14450 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
    14451 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
    14452 if test "${lt_cv_path_NM+set}" = set; then
    14453   echo $ECHO_N "(cached) $ECHO_C" >&6
     9817
     9818
     9819
     9820
     9821
     9822
     9823
     9824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
     9825$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
     9826if ${lt_cv_path_NM+:} false; then :
     9827  $as_echo_n "(cached) " >&6
    144549828else
    144559829  if test -n "$NM"; then
     
    144949868    IFS="$lt_save_ifs"
    144959869  done
    14496   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
    14497 fi
    14498 fi
    14499 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
    14500 echo "${ECHO_T}$lt_cv_path_NM" >&6
    14501 NM="$lt_cv_path_NM"
    14502 
    14503 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
    14504 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
    14505 if test "${lt_cv_deplibs_check_method+set}" = set; then
    14506   echo $ECHO_N "(cached) $ECHO_C" >&6
     9870  : ${lt_cv_path_NM=no}
     9871fi
     9872fi
     9873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
     9874$as_echo "$lt_cv_path_NM" >&6; }
     9875if test "$lt_cv_path_NM" != "no"; then
     9876  NM="$lt_cv_path_NM"
     9877else
     9878  # Didn't find any BSD compatible name lister, look for dumpbin.
     9879  if test -n "$DUMPBIN"; then :
     9880    # Let the user override the test.
     9881  else
     9882    if test -n "$ac_tool_prefix"; then
     9883  for ac_prog in dumpbin "link -dump"
     9884  do
     9885    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     9886set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     9887{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     9888$as_echo_n "checking for $ac_word... " >&6; }
     9889if ${ac_cv_prog_DUMPBIN+:} false; then :
     9890  $as_echo_n "(cached) " >&6
     9891else
     9892  if test -n "$DUMPBIN"; then
     9893  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
     9894else
     9895as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     9896for as_dir in $PATH
     9897do
     9898  IFS=$as_save_IFS
     9899  test -z "$as_dir" && as_dir=.
     9900    for ac_exec_ext in '' $ac_executable_extensions; do
     9901  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     9902    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
     9903    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     9904    break 2
     9905  fi
     9906done
     9907  done
     9908IFS=$as_save_IFS
     9909
     9910fi
     9911fi
     9912DUMPBIN=$ac_cv_prog_DUMPBIN
     9913if test -n "$DUMPBIN"; then
     9914  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
     9915$as_echo "$DUMPBIN" >&6; }
     9916else
     9917  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9918$as_echo "no" >&6; }
     9919fi
     9920
     9921
     9922    test -n "$DUMPBIN" && break
     9923  done
     9924fi
     9925if test -z "$DUMPBIN"; then
     9926  ac_ct_DUMPBIN=$DUMPBIN
     9927  for ac_prog in dumpbin "link -dump"
     9928do
     9929  # Extract the first word of "$ac_prog", so it can be a program name with args.
     9930set dummy $ac_prog; ac_word=$2
     9931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     9932$as_echo_n "checking for $ac_word... " >&6; }
     9933if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
     9934  $as_echo_n "(cached) " >&6
     9935else
     9936  if test -n "$ac_ct_DUMPBIN"; then
     9937  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
     9938else
     9939as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     9940for as_dir in $PATH
     9941do
     9942  IFS=$as_save_IFS
     9943  test -z "$as_dir" && as_dir=.
     9944    for ac_exec_ext in '' $ac_executable_extensions; do
     9945  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     9946    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
     9947    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     9948    break 2
     9949  fi
     9950done
     9951  done
     9952IFS=$as_save_IFS
     9953
     9954fi
     9955fi
     9956ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
     9957if test -n "$ac_ct_DUMPBIN"; then
     9958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
     9959$as_echo "$ac_ct_DUMPBIN" >&6; }
     9960else
     9961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9962$as_echo "no" >&6; }
     9963fi
     9964
     9965
     9966  test -n "$ac_ct_DUMPBIN" && break
     9967done
     9968
     9969  if test "x$ac_ct_DUMPBIN" = x; then
     9970    DUMPBIN=":"
     9971  else
     9972    case $cross_compiling:$ac_tool_warned in
     9973yes:)
     9974{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     9975$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     9976ac_tool_warned=yes ;;
     9977esac
     9978    DUMPBIN=$ac_ct_DUMPBIN
     9979  fi
     9980fi
     9981
     9982    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
     9983    *COFF*)
     9984      DUMPBIN="$DUMPBIN -symbols"
     9985      ;;
     9986    *)
     9987      DUMPBIN=:
     9988      ;;
     9989    esac
     9990  fi
     9991
     9992  if test "$DUMPBIN" != ":"; then
     9993    NM="$DUMPBIN"
     9994  fi
     9995fi
     9996test -z "$NM" && NM=nm
     9997
     9998
     9999
     10000
     10001
     10002
     10003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
     10004$as_echo_n "checking the name lister ($NM) interface... " >&6; }
     10005if ${lt_cv_nm_interface+:} false; then :
     10006  $as_echo_n "(cached) " >&6
     10007else
     10008  lt_cv_nm_interface="BSD nm"
     10009  echo "int some_variable = 0;" > conftest.$ac_ext
     10010  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
     10011  (eval "$ac_compile" 2>conftest.err)
     10012  cat conftest.err >&5
     10013  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
     10014  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
     10015  cat conftest.err >&5
     10016  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
     10017  cat conftest.out >&5
     10018  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
     10019    lt_cv_nm_interface="MS dumpbin"
     10020  fi
     10021  rm -f conftest*
     10022fi
     10023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
     10024$as_echo "$lt_cv_nm_interface" >&6; }
     10025
     10026# find the maximum length of command line arguments
     10027{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
     10028$as_echo_n "checking the maximum length of command line arguments... " >&6; }
     10029if ${lt_cv_sys_max_cmd_len+:} false; then :
     10030  $as_echo_n "(cached) " >&6
     10031else
     10032    i=0
     10033  teststring="ABCD"
     10034
     10035  case $build_os in
     10036  msdosdjgpp*)
     10037    # On DJGPP, this test can blow up pretty badly due to problems in libc
     10038    # (any single argument exceeding 2000 bytes causes a buffer overrun
     10039    # during glob expansion).  Even if it were fixed, the result of this
     10040    # check would be larger than it should be.
     10041    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
     10042    ;;
     10043
     10044  gnu*)
     10045    # Under GNU Hurd, this test is not required because there is
     10046    # no limit to the length of command line arguments.
     10047    # Libtool will interpret -1 as no limit whatsoever
     10048    lt_cv_sys_max_cmd_len=-1;
     10049    ;;
     10050
     10051  cygwin* | mingw* | cegcc*)
     10052    # On Win9x/ME, this test blows up -- it succeeds, but takes
     10053    # about 5 minutes as the teststring grows exponentially.
     10054    # Worse, since 9x/ME are not pre-emptively multitasking,
     10055    # you end up with a "frozen" computer, even though with patience
     10056    # the test eventually succeeds (with a max line length of 256k).
     10057    # Instead, let's just punt: use the minimum linelength reported by
     10058    # all of the supported platforms: 8192 (on NT/2K/XP).
     10059    lt_cv_sys_max_cmd_len=8192;
     10060    ;;
     10061
     10062  mint*)
     10063    # On MiNT this can take a long time and run out of memory.
     10064    lt_cv_sys_max_cmd_len=8192;
     10065    ;;
     10066
     10067  amigaos*)
     10068    # On AmigaOS with pdksh, this test takes hours, literally.
     10069    # So we just punt and use a minimum line length of 8192.
     10070    lt_cv_sys_max_cmd_len=8192;
     10071    ;;
     10072
     10073  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
     10074    # This has been around since 386BSD, at least.  Likely further.
     10075    if test -x /sbin/sysctl; then
     10076      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
     10077    elif test -x /usr/sbin/sysctl; then
     10078      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
     10079    else
     10080      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
     10081    fi
     10082    # And add a safety zone
     10083    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
     10084    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
     10085    ;;
     10086
     10087  interix*)
     10088    # We know the value 262144 and hardcode it with a safety zone (like BSD)
     10089    lt_cv_sys_max_cmd_len=196608
     10090    ;;
     10091
     10092  os2*)
     10093    # The test takes a long time on OS/2.
     10094    lt_cv_sys_max_cmd_len=8192
     10095    ;;
     10096
     10097  osf*)
     10098    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
     10099    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
     10100    # nice to cause kernel panics so lets avoid the loop below.
     10101    # First set a reasonable default.
     10102    lt_cv_sys_max_cmd_len=16384
     10103    #
     10104    if test -x /sbin/sysconfig; then
     10105      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
     10106        *1*) lt_cv_sys_max_cmd_len=-1 ;;
     10107      esac
     10108    fi
     10109    ;;
     10110  sco3.2v5*)
     10111    lt_cv_sys_max_cmd_len=102400
     10112    ;;
     10113  sysv5* | sco5v6* | sysv4.2uw2*)
     10114    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
     10115    if test -n "$kargmax"; then
     10116      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
     10117    else
     10118      lt_cv_sys_max_cmd_len=32768
     10119    fi
     10120    ;;
     10121  *)
     10122    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
     10123    if test -n "$lt_cv_sys_max_cmd_len" && \
     10124        test undefined != "$lt_cv_sys_max_cmd_len"; then
     10125      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
     10126      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
     10127    else
     10128      # Make teststring a little bigger before we do anything with it.
     10129      # a 1K string should be a reasonable start.
     10130      for i in 1 2 3 4 5 6 7 8 ; do
     10131        teststring=$teststring$teststring
     10132      done
     10133      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
     10134      # If test is not a shell built-in, we'll probably end up computing a
     10135      # maximum length that is only half of the actual maximum length, but
     10136      # we can't tell.
     10137      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
     10138                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
     10139              test $i != 17 # 1/2 MB should be enough
     10140      do
     10141        i=`expr $i + 1`
     10142        teststring=$teststring$teststring
     10143      done
     10144      # Only check the string length outside the loop.
     10145      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
     10146      teststring=
     10147      # Add a significant safety factor because C++ compilers can tack on
     10148      # massive amounts of additional arguments before passing them to the
     10149      # linker.  It appears as though 1/2 is a usable value.
     10150      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
     10151    fi
     10152    ;;
     10153  esac
     10154
     10155fi
     10156
     10157if test -n $lt_cv_sys_max_cmd_len ; then
     10158  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
     10159$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
     10160else
     10161  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
     10162$as_echo "none" >&6; }
     10163fi
     10164max_cmd_len=$lt_cv_sys_max_cmd_len
     10165
     10166
     10167
     10168
     10169
     10170
     10171: ${CP="cp -f"}
     10172: ${MV="mv -f"}
     10173: ${RM="rm -f"}
     10174
     10175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
     10176$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
     10177# Try some XSI features
     10178xsi_shell=no
     10179( _lt_dummy="a/b/c"
     10180  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
     10181      = c,a/b,b/c, \
     10182    && eval 'test $(( 1 + 1 )) -eq 2 \
     10183    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
     10184  && xsi_shell=yes
     10185{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
     10186$as_echo "$xsi_shell" >&6; }
     10187
     10188
     10189{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
     10190$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
     10191lt_shell_append=no
     10192( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
     10193    >/dev/null 2>&1 \
     10194  && lt_shell_append=yes
     10195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
     10196$as_echo "$lt_shell_append" >&6; }
     10197
     10198
     10199if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     10200  lt_unset=unset
     10201else
     10202  lt_unset=false
     10203fi
     10204
     10205
     10206
     10207
     10208
     10209# test EBCDIC or ASCII
     10210case `echo X|tr X '\101'` in
     10211 A) # ASCII based system
     10212    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
     10213  lt_SP2NL='tr \040 \012'
     10214  lt_NL2SP='tr \015\012 \040\040'
     10215  ;;
     10216 *) # EBCDIC based system
     10217  lt_SP2NL='tr \100 \n'
     10218  lt_NL2SP='tr \r\n \100\100'
     10219  ;;
     10220esac
     10221
     10222
     10223
     10224
     10225
     10226
     10227
     10228
     10229
     10230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
     10231$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
     10232if ${lt_cv_to_host_file_cmd+:} false; then :
     10233  $as_echo_n "(cached) " >&6
     10234else
     10235  case $host in
     10236  *-*-mingw* )
     10237    case $build in
     10238      *-*-mingw* ) # actually msys
     10239        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
     10240        ;;
     10241      *-*-cygwin* )
     10242        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
     10243        ;;
     10244      * ) # otherwise, assume *nix
     10245        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
     10246        ;;
     10247    esac
     10248    ;;
     10249  *-*-cygwin* )
     10250    case $build in
     10251      *-*-mingw* ) # actually msys
     10252        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
     10253        ;;
     10254      *-*-cygwin* )
     10255        lt_cv_to_host_file_cmd=func_convert_file_noop
     10256        ;;
     10257      * ) # otherwise, assume *nix
     10258        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
     10259        ;;
     10260    esac
     10261    ;;
     10262  * ) # unhandled hosts (and "normal" native builds)
     10263    lt_cv_to_host_file_cmd=func_convert_file_noop
     10264    ;;
     10265esac
     10266
     10267fi
     10268
     10269to_host_file_cmd=$lt_cv_to_host_file_cmd
     10270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
     10271$as_echo "$lt_cv_to_host_file_cmd" >&6; }
     10272
     10273
     10274
     10275
     10276
     10277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
     10278$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
     10279if ${lt_cv_to_tool_file_cmd+:} false; then :
     10280  $as_echo_n "(cached) " >&6
     10281else
     10282  #assume ordinary cross tools, or native build.
     10283lt_cv_to_tool_file_cmd=func_convert_file_noop
     10284case $host in
     10285  *-*-mingw* )
     10286    case $build in
     10287      *-*-mingw* ) # actually msys
     10288        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
     10289        ;;
     10290    esac
     10291    ;;
     10292esac
     10293
     10294fi
     10295
     10296to_tool_file_cmd=$lt_cv_to_tool_file_cmd
     10297{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
     10298$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
     10299
     10300
     10301
     10302
     10303
     10304{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
     10305$as_echo_n "checking for $LD option to reload object files... " >&6; }
     10306if ${lt_cv_ld_reload_flag+:} false; then :
     10307  $as_echo_n "(cached) " >&6
     10308else
     10309  lt_cv_ld_reload_flag='-r'
     10310fi
     10311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
     10312$as_echo "$lt_cv_ld_reload_flag" >&6; }
     10313reload_flag=$lt_cv_ld_reload_flag
     10314case $reload_flag in
     10315"" | " "*) ;;
     10316*) reload_flag=" $reload_flag" ;;
     10317esac
     10318reload_cmds='$LD$reload_flag -o $output$reload_objs'
     10319case $host_os in
     10320  cygwin* | mingw* | pw32* | cegcc*)
     10321    if test "$GCC" != yes; then
     10322      reload_cmds=false
     10323    fi
     10324    ;;
     10325  darwin*)
     10326    if test "$GCC" = yes; then
     10327      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
     10328    else
     10329      reload_cmds='$LD$reload_flag -o $output$reload_objs'
     10330    fi
     10331    ;;
     10332esac
     10333
     10334
     10335
     10336
     10337
     10338
     10339
     10340
     10341
     10342if test -n "$ac_tool_prefix"; then
     10343  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
     10344set dummy ${ac_tool_prefix}objdump; ac_word=$2
     10345{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     10346$as_echo_n "checking for $ac_word... " >&6; }
     10347if ${ac_cv_prog_OBJDUMP+:} false; then :
     10348  $as_echo_n "(cached) " >&6
     10349else
     10350  if test -n "$OBJDUMP"; then
     10351  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
     10352else
     10353as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     10354for as_dir in $PATH
     10355do
     10356  IFS=$as_save_IFS
     10357  test -z "$as_dir" && as_dir=.
     10358    for ac_exec_ext in '' $ac_executable_extensions; do
     10359  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     10360    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
     10361    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     10362    break 2
     10363  fi
     10364done
     10365  done
     10366IFS=$as_save_IFS
     10367
     10368fi
     10369fi
     10370OBJDUMP=$ac_cv_prog_OBJDUMP
     10371if test -n "$OBJDUMP"; then
     10372  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
     10373$as_echo "$OBJDUMP" >&6; }
     10374else
     10375  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     10376$as_echo "no" >&6; }
     10377fi
     10378
     10379
     10380fi
     10381if test -z "$ac_cv_prog_OBJDUMP"; then
     10382  ac_ct_OBJDUMP=$OBJDUMP
     10383  # Extract the first word of "objdump", so it can be a program name with args.
     10384set dummy objdump; ac_word=$2
     10385{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     10386$as_echo_n "checking for $ac_word... " >&6; }
     10387if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
     10388  $as_echo_n "(cached) " >&6
     10389else
     10390  if test -n "$ac_ct_OBJDUMP"; then
     10391  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
     10392else
     10393as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     10394for as_dir in $PATH
     10395do
     10396  IFS=$as_save_IFS
     10397  test -z "$as_dir" && as_dir=.
     10398    for ac_exec_ext in '' $ac_executable_extensions; do
     10399  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     10400    ac_cv_prog_ac_ct_OBJDUMP="objdump"
     10401    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     10402    break 2
     10403  fi
     10404done
     10405  done
     10406IFS=$as_save_IFS
     10407
     10408fi
     10409fi
     10410ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
     10411if test -n "$ac_ct_OBJDUMP"; then
     10412  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
     10413$as_echo "$ac_ct_OBJDUMP" >&6; }
     10414else
     10415  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     10416$as_echo "no" >&6; }
     10417fi
     10418
     10419  if test "x$ac_ct_OBJDUMP" = x; then
     10420    OBJDUMP="false"
     10421  else
     10422    case $cross_compiling:$ac_tool_warned in
     10423yes:)
     10424{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     10425$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     10426ac_tool_warned=yes ;;
     10427esac
     10428    OBJDUMP=$ac_ct_OBJDUMP
     10429  fi
     10430else
     10431  OBJDUMP="$ac_cv_prog_OBJDUMP"
     10432fi
     10433
     10434test -z "$OBJDUMP" && OBJDUMP=objdump
     10435
     10436
     10437
     10438
     10439
     10440
     10441
     10442
     10443
     10444{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
     10445$as_echo_n "checking how to recognize dependent libraries... " >&6; }
     10446if ${lt_cv_deplibs_check_method+:} false; then :
     10447  $as_echo_n "(cached) " >&6
    1450710448else
    1450810449  lt_cv_file_magic_cmd='$MAGIC_CMD'
     
    1452110462
    1452210463case $host_os in
    14523 aix4* | aix5*)
     10464aix[4-9]*)
    1452410465  lt_cv_deplibs_check_method=pass_all
    1452510466  ;;
     
    1454310484mingw* | pw32*)
    1454410485  # Base MSYS/MinGW do not provide the 'file' command needed by
    14545   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
    14546   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
     10486  # func_win32_libid shell function, so use a weaker test based on 'objdump',
     10487  # unless we find 'file', for example because we are cross-compiling.
     10488  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
     10489  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
     10490    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
     10491    lt_cv_file_magic_cmd='func_win32_libid'
     10492  else
     10493    # Keep this pattern in sync with the one in func_win32_libid.
     10494    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
     10495    lt_cv_file_magic_cmd='$OBJDUMP -f'
     10496  fi
     10497  ;;
     10498
     10499cegcc*)
     10500  # use the weaker test based on 'objdump'. See mingw*.
     10501  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
    1454710502  lt_cv_file_magic_cmd='$OBJDUMP -f'
    1454810503  ;;
     
    1455210507  ;;
    1455310508
    14554 freebsd* | kfreebsd*-gnu | dragonfly*)
    14555   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
     10509freebsd* | dragonfly*)
     10510  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
    1455610511    case $host_cpu in
    1455710512    i*86 )
     
    1456810523  ;;
    1456910524
    14570 gnu*)
     10525haiku*)
    1457110526  lt_cv_deplibs_check_method=pass_all
    1457210527  ;;
     
    1458010535    ;;
    1458110536  hppa*64*)
    14582     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
     10537    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]'
    1458310538    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
    1458410539    ;;
    1458510540  *)
    14586     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
     10541    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
    1458710542    lt_cv_file_magic_test_file=/usr/lib/libc.sl
    1458810543    ;;
     
    1459010545  ;;
    1459110546
    14592 interix3*)
     10547interix[3-9]*)
    1459310548  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
    1459410549  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
     
    1460510560  ;;
    1460610561
    14607 # This must be Linux ELF.
    14608 linux*)
     10562# This must be glibc/ELF.
     10563linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    1460910564  lt_cv_deplibs_check_method=pass_all
    1461010565  ;;
    1461110566
    14612 netbsd*)
    14613   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
     10567netbsd* | netbsdelf*-gnu)
     10568  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
    1461410569    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
    1461510570  else
     
    1462410579  ;;
    1462510580
    14626 nto-qnx*)
    14627   lt_cv_deplibs_check_method=unknown
     10581*nto* | *qnx*)
     10582  lt_cv_deplibs_check_method=pass_all
    1462810583  ;;
    1462910584
    1463010585openbsd*)
    14631   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
     10586  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    1463210587    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
    1463310588  else
     
    1464010595  ;;
    1464110596
     10597rdos*)
     10598  lt_cv_deplibs_check_method=pass_all
     10599  ;;
     10600
    1464210601solaris*)
     10602  lt_cv_deplibs_check_method=pass_all
     10603  ;;
     10604
     10605sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
    1464310606  lt_cv_deplibs_check_method=pass_all
    1464410607  ;;
     
    1467110634  ;;
    1467210635
    14673 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
     10636tpf*)
    1467410637  lt_cv_deplibs_check_method=pass_all
    1467510638  ;;
     
    1467710640
    1467810641fi
    14679 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
    14680 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
     10642{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
     10643$as_echo "$lt_cv_deplibs_check_method" >&6; }
     10644
     10645file_magic_glob=
     10646want_nocaseglob=no
     10647if test "$build" = "$host"; then
     10648  case $host_os in
     10649  mingw* | pw32*)
     10650    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
     10651      want_nocaseglob=yes
     10652    else
     10653      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
     10654    fi
     10655    ;;
     10656  esac
     10657fi
     10658
    1468110659file_magic_cmd=$lt_cv_file_magic_cmd
    1468210660deplibs_check_method=$lt_cv_deplibs_check_method
     
    1468610664
    1468710665
    14688 # If no C compiler was specified, use CC.
    14689 LTCC=${LTCC-"$CC"}
    14690 
    14691 # If no C compiler flags were specified, use CFLAGS.
    14692 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
    14693 
    14694 # Allow CC to be a program name with arguments.
    14695 compiler=$CC
    14696 
    14697 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
    14698 if test "${enable_libtool_lock+set}" = set; then
    14699   enableval="$enable_libtool_lock"
    14700 
    14701 fi;
    14702 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
    14703 
    14704 # Some flags need to be propagated to the compiler or linker for good
    14705 # libtool support.
    14706 case $host in
    14707 ia64-*-hpux*)
    14708   # Find out which ABI we are using.
    14709   echo 'int i;' > conftest.$ac_ext
    14710   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    14711   (eval $ac_compile) 2>&5
    14712   ac_status=$?
    14713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14714   (exit $ac_status); }; then
    14715     case `/usr/bin/file conftest.$ac_objext` in
    14716     *ELF-32*)
    14717       HPUX_IA64_MODE="32"
    14718       ;;
    14719     *ELF-64*)
    14720       HPUX_IA64_MODE="64"
    14721       ;;
    14722     esac
     10666
     10667
     10668
     10669
     10670
     10671
     10672
     10673
     10674
     10675
     10676
     10677
     10678
     10679
     10680
     10681
     10682
     10683
     10684if test -n "$ac_tool_prefix"; then
     10685  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
     10686set dummy ${ac_tool_prefix}dlltool; ac_word=$2
     10687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     10688$as_echo_n "checking for $ac_word... " >&6; }
     10689if ${ac_cv_prog_DLLTOOL+:} false; then :
     10690  $as_echo_n "(cached) " >&6
     10691else
     10692  if test -n "$DLLTOOL"; then
     10693  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
     10694else
     10695as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     10696for as_dir in $PATH
     10697do
     10698  IFS=$as_save_IFS
     10699  test -z "$as_dir" && as_dir=.
     10700    for ac_exec_ext in '' $ac_executable_extensions; do
     10701  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     10702    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
     10703    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     10704    break 2
    1472310705  fi
    14724   rm -rf conftest*
     10706done
     10707  done
     10708IFS=$as_save_IFS
     10709
     10710fi
     10711fi
     10712DLLTOOL=$ac_cv_prog_DLLTOOL
     10713if test -n "$DLLTOOL"; then
     10714  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
     10715$as_echo "$DLLTOOL" >&6; }
     10716else
     10717  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     10718$as_echo "no" >&6; }
     10719fi
     10720
     10721
     10722fi
     10723if test -z "$ac_cv_prog_DLLTOOL"; then
     10724  ac_ct_DLLTOOL=$DLLTOOL
     10725  # Extract the first word of "dlltool", so it can be a program name with args.
     10726set dummy dlltool; ac_word=$2
     10727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     10728$as_echo_n "checking for $ac_word... " >&6; }
     10729if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
     10730  $as_echo_n "(cached) " >&6
     10731else
     10732  if test -n "$ac_ct_DLLTOOL"; then
     10733  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
     10734else
     10735as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     10736for as_dir in $PATH
     10737do
     10738  IFS=$as_save_IFS
     10739  test -z "$as_dir" && as_dir=.
     10740    for ac_exec_ext in '' $ac_executable_extensions; do
     10741  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     10742    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
     10743    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     10744    break 2
     10745  fi
     10746done
     10747  done
     10748IFS=$as_save_IFS
     10749
     10750fi
     10751fi
     10752ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
     10753if test -n "$ac_ct_DLLTOOL"; then
     10754  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
     10755$as_echo "$ac_ct_DLLTOOL" >&6; }
     10756else
     10757  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     10758$as_echo "no" >&6; }
     10759fi
     10760
     10761  if test "x$ac_ct_DLLTOOL" = x; then
     10762    DLLTOOL="false"
     10763  else
     10764    case $cross_compiling:$ac_tool_warned in
     10765yes:)
     10766{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     10767$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     10768ac_tool_warned=yes ;;
     10769esac
     10770    DLLTOOL=$ac_ct_DLLTOOL
     10771  fi
     10772else
     10773  DLLTOOL="$ac_cv_prog_DLLTOOL"
     10774fi
     10775
     10776test -z "$DLLTOOL" && DLLTOOL=dlltool
     10777
     10778
     10779
     10780
     10781
     10782
     10783
     10784
     10785
     10786
     10787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
     10788$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
     10789if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
     10790  $as_echo_n "(cached) " >&6
     10791else
     10792  lt_cv_sharedlib_from_linklib_cmd='unknown'
     10793
     10794case $host_os in
     10795cygwin* | mingw* | pw32* | cegcc*)
     10796  # two different shell functions defined in ltmain.sh
     10797  # decide which to use based on capabilities of $DLLTOOL
     10798  case `$DLLTOOL --help 2>&1` in
     10799  *--identify-strict*)
     10800    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
     10801    ;;
     10802  *)
     10803    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
     10804    ;;
     10805  esac
    1472510806  ;;
    14726 *-*-irix6*)
    14727   # Find out which ABI we are using.
    14728   echo '#line 14728 "configure"' > conftest.$ac_ext
    14729   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    14730   (eval $ac_compile) 2>&5
    14731   ac_status=$?
    14732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14733   (exit $ac_status); }; then
    14734    if test "$lt_cv_prog_gnu_ld" = yes; then
    14735     case `/usr/bin/file conftest.$ac_objext` in
    14736     *32-bit*)
    14737       LD="${LD-ld} -melf32bsmip"
    14738       ;;
    14739     *N32*)
    14740       LD="${LD-ld} -melf32bmipn32"
    14741       ;;
    14742     *64-bit*)
    14743       LD="${LD-ld} -melf64bmip"
    14744       ;;
    14745     esac
    14746    else
    14747     case `/usr/bin/file conftest.$ac_objext` in
    14748     *32-bit*)
    14749       LD="${LD-ld} -32"
    14750       ;;
    14751     *N32*)
    14752       LD="${LD-ld} -n32"
    14753       ;;
    14754     *64-bit*)
    14755       LD="${LD-ld} -64"
    14756       ;;
    14757     esac
    14758    fi
     10807*)
     10808  # fallback: assume linklib IS sharedlib
     10809  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
     10810  ;;
     10811esac
     10812
     10813fi
     10814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
     10815$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
     10816sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
     10817test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
     10818
     10819
     10820
     10821
     10822
     10823
     10824
     10825if test -n "$ac_tool_prefix"; then
     10826  for ac_prog in ar
     10827  do
     10828    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     10829set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     10830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     10831$as_echo_n "checking for $ac_word... " >&6; }
     10832if ${ac_cv_prog_AR+:} false; then :
     10833  $as_echo_n "(cached) " >&6
     10834else
     10835  if test -n "$AR"; then
     10836  ac_cv_prog_AR="$AR" # Let the user override the test.
     10837else
     10838as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     10839for as_dir in $PATH
     10840do
     10841  IFS=$as_save_IFS
     10842  test -z "$as_dir" && as_dir=.
     10843    for ac_exec_ext in '' $ac_executable_extensions; do
     10844  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     10845    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
     10846    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     10847    break 2
    1475910848  fi
    14760   rm -rf conftest*
    14761   ;;
    14762 
    14763 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
    14764   # Find out which ABI we are using.
    14765   echo 'int i;' > conftest.$ac_ext
    14766   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    14767   (eval $ac_compile) 2>&5
    14768   ac_status=$?
    14769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14770   (exit $ac_status); }; then
    14771     case `/usr/bin/file conftest.o` in
    14772     *32-bit*)
    14773       case $host in
    14774         x86_64-*linux*)
    14775           LD="${LD-ld} -m elf_i386"
    14776           ;;
    14777         ppc64-*linux*|powerpc64-*linux*)
    14778           LD="${LD-ld} -m elf32ppclinux"
    14779           ;;
    14780         s390x-*linux*)
    14781           LD="${LD-ld} -m elf_s390"
    14782           ;;
    14783         sparc64-*linux*)
    14784           LD="${LD-ld} -m elf32_sparc"
    14785           ;;
    14786       esac
    14787       ;;
    14788     *64-bit*)
    14789       case $host in
    14790         x86_64-*linux*)
    14791           LD="${LD-ld} -m elf_x86_64"
    14792           ;;
    14793         ppc*-*linux*|powerpc*-*linux*)
    14794           LD="${LD-ld} -m elf64ppc"
    14795           ;;
    14796         s390*-*linux*)
    14797           LD="${LD-ld} -m elf64_s390"
    14798           ;;
    14799         sparc*-*linux*)
    14800           LD="${LD-ld} -m elf64_sparc"
    14801           ;;
    14802       esac
    14803       ;;
    14804     esac
     10849done
     10850  done
     10851IFS=$as_save_IFS
     10852
     10853fi
     10854fi
     10855AR=$ac_cv_prog_AR
     10856if test -n "$AR"; then
     10857  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
     10858$as_echo "$AR" >&6; }
     10859else
     10860  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     10861$as_echo "no" >&6; }
     10862fi
     10863
     10864
     10865    test -n "$AR" && break
     10866  done
     10867fi
     10868if test -z "$AR"; then
     10869  ac_ct_AR=$AR
     10870  for ac_prog in ar
     10871do
     10872  # Extract the first word of "$ac_prog", so it can be a program name with args.
     10873set dummy $ac_prog; ac_word=$2
     10874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     10875$as_echo_n "checking for $ac_word... " >&6; }
     10876if ${ac_cv_prog_ac_ct_AR+:} false; then :
     10877  $as_echo_n "(cached) " >&6
     10878else
     10879  if test -n "$ac_ct_AR"; then
     10880  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
     10881else
     10882as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     10883for as_dir in $PATH
     10884do
     10885  IFS=$as_save_IFS
     10886  test -z "$as_dir" && as_dir=.
     10887    for ac_exec_ext in '' $ac_executable_extensions; do
     10888  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     10889    ac_cv_prog_ac_ct_AR="$ac_prog"
     10890    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     10891    break 2
    1480510892  fi
    14806   rm -rf conftest*
    14807   ;;
    14808 
    14809 *-*-sco3.2v5*)
    14810   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
    14811   SAVE_CFLAGS="$CFLAGS"
    14812   CFLAGS="$CFLAGS -belf"
    14813   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
    14814 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
    14815 if test "${lt_cv_cc_needs_belf+set}" = set; then
    14816   echo $ECHO_N "(cached) $ECHO_C" >&6
    14817 else
    14818   ac_ext=c
    14819 ac_cpp='$CPP $CPPFLAGS'
    14820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    14821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    14822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    14823 
    14824      cat >conftest.$ac_ext <<_ACEOF
    14825 /* confdefs.h.  */
    14826 _ACEOF
    14827 cat confdefs.h >>conftest.$ac_ext
    14828 cat >>conftest.$ac_ext <<_ACEOF
     10893done
     10894  done
     10895IFS=$as_save_IFS
     10896
     10897fi
     10898fi
     10899ac_ct_AR=$ac_cv_prog_ac_ct_AR
     10900if test -n "$ac_ct_AR"; then
     10901  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
     10902$as_echo "$ac_ct_AR" >&6; }
     10903else
     10904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     10905$as_echo "no" >&6; }
     10906fi
     10907
     10908
     10909  test -n "$ac_ct_AR" && break
     10910done
     10911
     10912  if test "x$ac_ct_AR" = x; then
     10913    AR="false"
     10914  else
     10915    case $cross_compiling:$ac_tool_warned in
     10916yes:)
     10917{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     10918$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     10919ac_tool_warned=yes ;;
     10920esac
     10921    AR=$ac_ct_AR
     10922  fi
     10923fi
     10924
     10925: ${AR=ar}
     10926: ${AR_FLAGS=cru}
     10927
     10928
     10929
     10930
     10931
     10932
     10933
     10934
     10935
     10936
     10937
     10938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
     10939$as_echo_n "checking for archiver @FILE support... " >&6; }
     10940if ${lt_cv_ar_at_file+:} false; then :
     10941  $as_echo_n "(cached) " >&6
     10942else
     10943  lt_cv_ar_at_file=no
     10944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1482910945/* end confdefs.h.  */
    1483010946
     
    1483710953}
    1483810954_ACEOF
    14839 rm -f conftest.$ac_objext conftest$ac_exeext
    14840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    14841   (eval $ac_link) 2>conftest.er1
     10955if ac_fn_c_try_compile "$LINENO"; then :
     10956  echo conftest.$ac_objext > conftest.lst
     10957      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
     10958      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
     10959  (eval $lt_ar_try) 2>&5
    1484210960  ac_status=$?
    14843   grep -v '^ *+' conftest.er1 >conftest.err
    14844   rm -f conftest.er1
    14845   cat conftest.err >&5
    14846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14847   (exit $ac_status); } &&
    14848          { ac_try='test -z "$ac_c_werror_flag"
    14849                          || test ! -s conftest.err'
    14850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    14851   (eval $ac_try) 2>&5
     10961  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     10962  test $ac_status = 0; }
     10963      if test "$ac_status" -eq 0; then
     10964        # Ensure the archiver fails upon bogus file names.
     10965        rm -f conftest.$ac_objext libconftest.a
     10966        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
     10967  (eval $lt_ar_try) 2>&5
    1485210968  ac_status=$?
    14853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14854   (exit $ac_status); }; } &&
    14855          { ac_try='test -s conftest$ac_exeext'
    14856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    14857   (eval $ac_try) 2>&5
    14858   ac_status=$?
    14859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14860   (exit $ac_status); }; }; then
    14861   lt_cv_cc_needs_belf=yes
    14862 else
    14863   echo "$as_me: failed program was:" >&5
    14864 sed 's/^/| /' conftest.$ac_ext >&5
    14865 
    14866 lt_cv_cc_needs_belf=no
    14867 fi
    14868 rm -f conftest.err conftest.$ac_objext \
    14869       conftest$ac_exeext conftest.$ac_ext
    14870      ac_ext=c
    14871 ac_cpp='$CPP $CPPFLAGS'
    14872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    14873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    14874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    14875 
    14876 fi
    14877 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
    14878 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
    14879   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
    14880     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
    14881     CFLAGS="$SAVE_CFLAGS"
     10969  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     10970  test $ac_status = 0; }
     10971        if test "$ac_status" -ne 0; then
     10972          lt_cv_ar_at_file=@
     10973        fi
     10974      fi
     10975      rm -f conftest.* libconftest.a
     10976
     10977fi
     10978rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10979
     10980fi
     10981{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
     10982$as_echo "$lt_cv_ar_at_file" >&6; }
     10983
     10984if test "x$lt_cv_ar_at_file" = xno; then
     10985  archiver_list_spec=
     10986else
     10987  archiver_list_spec=$lt_cv_ar_at_file
     10988fi
     10989
     10990
     10991
     10992
     10993
     10994
     10995
     10996if test -n "$ac_tool_prefix"; then
     10997  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
     10998set dummy ${ac_tool_prefix}strip; ac_word=$2
     10999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     11000$as_echo_n "checking for $ac_word... " >&6; }
     11001if ${ac_cv_prog_STRIP+:} false; then :
     11002  $as_echo_n "(cached) " >&6
     11003else
     11004  if test -n "$STRIP"; then
     11005  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
     11006else
     11007as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     11008for as_dir in $PATH
     11009do
     11010  IFS=$as_save_IFS
     11011  test -z "$as_dir" && as_dir=.
     11012    for ac_exec_ext in '' $ac_executable_extensions; do
     11013  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     11014    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
     11015    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     11016    break 2
    1488211017  fi
    14883   ;;
    14884 sparc*-*solaris*)
    14885   # Find out which ABI we are using.
    14886   echo 'int i;' > conftest.$ac_ext
    14887   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    14888   (eval $ac_compile) 2>&5
    14889   ac_status=$?
    14890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14891   (exit $ac_status); }; then
    14892     case `/usr/bin/file conftest.o` in
    14893     *64-bit*)
    14894       case $lt_cv_prog_gnu_ld in
    14895       yes*) LD="${LD-ld} -m elf64_sparc" ;;
    14896       *)    LD="${LD-ld} -64" ;;
    14897       esac
    14898       ;;
    14899     esac
     11018done
     11019  done
     11020IFS=$as_save_IFS
     11021
     11022fi
     11023fi
     11024STRIP=$ac_cv_prog_STRIP
     11025if test -n "$STRIP"; then
     11026  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
     11027$as_echo "$STRIP" >&6; }
     11028else
     11029  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     11030$as_echo "no" >&6; }
     11031fi
     11032
     11033
     11034fi
     11035if test -z "$ac_cv_prog_STRIP"; then
     11036  ac_ct_STRIP=$STRIP
     11037  # Extract the first word of "strip", so it can be a program name with args.
     11038set dummy strip; ac_word=$2
     11039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     11040$as_echo_n "checking for $ac_word... " >&6; }
     11041if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
     11042  $as_echo_n "(cached) " >&6
     11043else
     11044  if test -n "$ac_ct_STRIP"; then
     11045  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
     11046else
     11047as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     11048for as_dir in $PATH
     11049do
     11050  IFS=$as_save_IFS
     11051  test -z "$as_dir" && as_dir=.
     11052    for ac_exec_ext in '' $ac_executable_extensions; do
     11053  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     11054    ac_cv_prog_ac_ct_STRIP="strip"
     11055    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     11056    break 2
    1490011057  fi
    14901   rm -rf conftest*
    14902   ;;
    14903 
    14904 
     11058done
     11059  done
     11060IFS=$as_save_IFS
     11061
     11062fi
     11063fi
     11064ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
     11065if test -n "$ac_ct_STRIP"; then
     11066  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
     11067$as_echo "$ac_ct_STRIP" >&6; }
     11068else
     11069  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     11070$as_echo "no" >&6; }
     11071fi
     11072
     11073  if test "x$ac_ct_STRIP" = x; then
     11074    STRIP=":"
     11075  else
     11076    case $cross_compiling:$ac_tool_warned in
     11077yes:)
     11078{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     11079$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     11080ac_tool_warned=yes ;;
    1490511081esac
    14906 
    14907 need_locks="$enable_libtool_lock"
    14908 
    14909 
    14910 
    14911 for ac_header in dlfcn.h
     11082    STRIP=$ac_ct_STRIP
     11083  fi
     11084else
     11085  STRIP="$ac_cv_prog_STRIP"
     11086fi
     11087
     11088test -z "$STRIP" && STRIP=:
     11089
     11090
     11091
     11092
     11093
     11094
     11095if test -n "$ac_tool_prefix"; then
     11096  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
     11097set dummy ${ac_tool_prefix}ranlib; ac_word=$2
     11098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     11099$as_echo_n "checking for $ac_word... " >&6; }
     11100if ${ac_cv_prog_RANLIB+:} false; then :
     11101  $as_echo_n "(cached) " >&6
     11102else
     11103  if test -n "$RANLIB"; then
     11104  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
     11105else
     11106as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     11107for as_dir in $PATH
    1491211108do
    14913 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    14914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    14915   echo "$as_me:$LINENO: checking for $ac_header" >&5
    14916 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    14917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    14918   echo $ECHO_N "(cached) $ECHO_C" >&6
    14919 fi
    14920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    14921 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    14922 else
    14923   # Is the header compilable?
    14924 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    14925 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    14926 cat >conftest.$ac_ext <<_ACEOF
    14927 /* confdefs.h.  */
    14928 _ACEOF
    14929 cat confdefs.h >>conftest.$ac_ext
    14930 cat >>conftest.$ac_ext <<_ACEOF
    14931 /* end confdefs.h.  */
    14932 $ac_includes_default
    14933 #include <$ac_header>
    14934 _ACEOF
    14935 rm -f conftest.$ac_objext
    14936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    14937   (eval $ac_compile) 2>conftest.er1
    14938   ac_status=$?
    14939   grep -v '^ *+' conftest.er1 >conftest.err
    14940   rm -f conftest.er1
    14941   cat conftest.err >&5
    14942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14943   (exit $ac_status); } &&
    14944          { ac_try='test -z "$ac_c_werror_flag"
    14945                          || test ! -s conftest.err'
    14946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    14947   (eval $ac_try) 2>&5
    14948   ac_status=$?
    14949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14950   (exit $ac_status); }; } &&
    14951          { ac_try='test -s conftest.$ac_objext'
    14952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    14953   (eval $ac_try) 2>&5
    14954   ac_status=$?
    14955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14956   (exit $ac_status); }; }; then
    14957   ac_header_compiler=yes
    14958 else
    14959   echo "$as_me: failed program was:" >&5
    14960 sed 's/^/| /' conftest.$ac_ext >&5
    14961 
    14962 ac_header_compiler=no
    14963 fi
    14964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    14965 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    14966 echo "${ECHO_T}$ac_header_compiler" >&6
    14967 
    14968 # Is the header present?
    14969 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    14970 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    14971 cat >conftest.$ac_ext <<_ACEOF
    14972 /* confdefs.h.  */
    14973 _ACEOF
    14974 cat confdefs.h >>conftest.$ac_ext
    14975 cat >>conftest.$ac_ext <<_ACEOF
    14976 /* end confdefs.h.  */
    14977 #include <$ac_header>
    14978 _ACEOF
    14979 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    14980   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    14981   ac_status=$?
    14982   grep -v '^ *+' conftest.er1 >conftest.err
    14983   rm -f conftest.er1
    14984   cat conftest.err >&5
    14985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14986   (exit $ac_status); } >/dev/null; then
    14987   if test -s conftest.err; then
    14988     ac_cpp_err=$ac_c_preproc_warn_flag
    14989     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     11109  IFS=$as_save_IFS
     11110  test -z "$as_dir" && as_dir=.
     11111    for ac_exec_ext in '' $ac_executable_extensions; do
     11112  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     11113    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
     11114    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     11115    break 2
     11116  fi
     11117done
     11118  done
     11119IFS=$as_save_IFS
     11120
     11121fi
     11122fi
     11123RANLIB=$ac_cv_prog_RANLIB
     11124if test -n "$RANLIB"; then
     11125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
     11126$as_echo "$RANLIB" >&6; }
     11127else
     11128  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     11129$as_echo "no" >&6; }
     11130fi
     11131
     11132
     11133fi
     11134if test -z "$ac_cv_prog_RANLIB"; then
     11135  ac_ct_RANLIB=$RANLIB
     11136  # Extract the first word of "ranlib", so it can be a program name with args.
     11137set dummy ranlib; ac_word=$2
     11138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     11139$as_echo_n "checking for $ac_word... " >&6; }
     11140if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
     11141  $as_echo_n "(cached) " >&6
     11142else
     11143  if test -n "$ac_ct_RANLIB"; then
     11144  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
     11145else
     11146as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     11147for as_dir in $PATH
     11148do
     11149  IFS=$as_save_IFS
     11150  test -z "$as_dir" && as_dir=.
     11151    for ac_exec_ext in '' $ac_executable_extensions; do
     11152  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     11153    ac_cv_prog_ac_ct_RANLIB="ranlib"
     11154    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     11155    break 2
     11156  fi
     11157done
     11158  done
     11159IFS=$as_save_IFS
     11160
     11161fi
     11162fi
     11163ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
     11164if test -n "$ac_ct_RANLIB"; then
     11165  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
     11166$as_echo "$ac_ct_RANLIB" >&6; }
     11167else
     11168  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     11169$as_echo "no" >&6; }
     11170fi
     11171
     11172  if test "x$ac_ct_RANLIB" = x; then
     11173    RANLIB=":"
    1499011174  else
    14991     ac_cpp_err=
     11175    case $cross_compiling:$ac_tool_warned in
     11176yes:)
     11177{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     11178$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     11179ac_tool_warned=yes ;;
     11180esac
     11181    RANLIB=$ac_ct_RANLIB
    1499211182  fi
    1499311183else
    14994   ac_cpp_err=yes
    14995 fi
    14996 if test -z "$ac_cpp_err"; then
    14997   ac_header_preproc=yes
    14998 else
    14999   echo "$as_me: failed program was:" >&5
    15000 sed 's/^/| /' conftest.$ac_ext >&5
    15001 
    15002   ac_header_preproc=no
    15003 fi
    15004 rm -f conftest.err conftest.$ac_ext
    15005 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    15006 echo "${ECHO_T}$ac_header_preproc" >&6
    15007 
    15008 # So?  What about this header?
    15009 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    15010   yes:no: )
    15011     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    15012 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    15013     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    15014 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    15015     ac_header_preproc=yes
    15016     ;;
    15017   no:yes:* )
    15018     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    15019 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    15020     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    15021 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    15022     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    15023 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    15024     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    15025 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    15026     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    15027 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    15028     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    15029 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    15030     (
    15031       cat <<\_ASBOX
    15032 ## ------------------------------------------ ##
    15033 ## Report this to the AC_PACKAGE_NAME lists.  ##
    15034 ## ------------------------------------------ ##
    15035 _ASBOX
    15036     ) |
    15037       sed "s/^/$as_me: WARNING:     /" >&2
    15038     ;;
    15039 esac
    15040 echo "$as_me:$LINENO: checking for $ac_header" >&5
    15041 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    15042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    15043   echo $ECHO_N "(cached) $ECHO_C" >&6
    15044 else
    15045   eval "$as_ac_Header=\$ac_header_preproc"
    15046 fi
    15047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    15048 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    15049 
    15050 fi
    15051 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    15052   cat >>confdefs.h <<_ACEOF
    15053 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    15054 _ACEOF
    15055 
    15056 fi
    15057 
    15058 done
    15059 
    15060 
    15061 
    15062 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
    15063     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
    15064     (test "X$CXX" != "Xg++"))) ; then
    15065   ac_ext=cc
    15066 ac_cpp='$CXXCPP $CPPFLAGS'
    15067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    15068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    15069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    15070 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
    15071 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
    15072 if test -z "$CXXCPP"; then
    15073   if test "${ac_cv_prog_CXXCPP+set}" = set; then
    15074   echo $ECHO_N "(cached) $ECHO_C" >&6
    15075 else
    15076       # Double quotes because CXXCPP needs to be expanded
    15077     for CXXCPP in "$CXX -E" "/lib/cpp"
    15078     do
    15079       ac_preproc_ok=false
    15080 for ac_cxx_preproc_warn_flag in '' yes
    15081 do
    15082   # Use a header file that comes with gcc, so configuring glibc
    15083   # with a fresh cross-compiler works.
    15084   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    15085   # <limits.h> exists even on freestanding compilers.
    15086   # On the NeXT, cc -E runs the code through the compiler's parser,
    15087   # not just through cpp. "Syntax error" is here to catch this case.
    15088   cat >conftest.$ac_ext <<_ACEOF
    15089 /* confdefs.h.  */
    15090 _ACEOF
    15091 cat confdefs.h >>conftest.$ac_ext
    15092 cat >>conftest.$ac_ext <<_ACEOF
    15093 /* end confdefs.h.  */
    15094 #ifdef __STDC__
    15095 # include <limits.h>
    15096 #else
    15097 # include <assert.h>
    15098 #endif
    15099                      Syntax error
    15100 _ACEOF
    15101 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    15102   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    15103   ac_status=$?
    15104   grep -v '^ *+' conftest.er1 >conftest.err
    15105   rm -f conftest.er1
    15106   cat conftest.err >&5
    15107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15108   (exit $ac_status); } >/dev/null; then
    15109   if test -s conftest.err; then
    15110     ac_cpp_err=$ac_cxx_preproc_warn_flag
    15111     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    15112   else
    15113     ac_cpp_err=
    15114   fi
    15115 else
    15116   ac_cpp_err=yes
    15117 fi
    15118 if test -z "$ac_cpp_err"; then
    15119   :
    15120 else
    15121   echo "$as_me: failed program was:" >&5
    15122 sed 's/^/| /' conftest.$ac_ext >&5
    15123 
    15124   # Broken: fails on valid input.
    15125 continue
    15126 fi
    15127 rm -f conftest.err conftest.$ac_ext
    15128 
    15129   # OK, works on sane cases.  Now check whether non-existent headers
    15130   # can be detected and how.
    15131   cat >conftest.$ac_ext <<_ACEOF
    15132 /* confdefs.h.  */
    15133 _ACEOF
    15134 cat confdefs.h >>conftest.$ac_ext
    15135 cat >>conftest.$ac_ext <<_ACEOF
    15136 /* end confdefs.h.  */
    15137 #include <ac_nonexistent.h>
    15138 _ACEOF
    15139 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    15140   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    15141   ac_status=$?
    15142   grep -v '^ *+' conftest.er1 >conftest.err
    15143   rm -f conftest.er1
    15144   cat conftest.err >&5
    15145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15146   (exit $ac_status); } >/dev/null; then
    15147   if test -s conftest.err; then
    15148     ac_cpp_err=$ac_cxx_preproc_warn_flag
    15149     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    15150   else
    15151     ac_cpp_err=
    15152   fi
    15153 else
    15154   ac_cpp_err=yes
    15155 fi
    15156 if test -z "$ac_cpp_err"; then
    15157   # Broken: success on invalid input.
    15158 continue
    15159 else
    15160   echo "$as_me: failed program was:" >&5
    15161 sed 's/^/| /' conftest.$ac_ext >&5
    15162 
    15163   # Passes both tests.
    15164 ac_preproc_ok=:
    15165 break
    15166 fi
    15167 rm -f conftest.err conftest.$ac_ext
    15168 
    15169 done
    15170 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    15171 rm -f conftest.err conftest.$ac_ext
    15172 if $ac_preproc_ok; then
    15173   break
    15174 fi
    15175 
    15176     done
    15177     ac_cv_prog_CXXCPP=$CXXCPP
    15178 
    15179 fi
    15180   CXXCPP=$ac_cv_prog_CXXCPP
    15181 else
    15182   ac_cv_prog_CXXCPP=$CXXCPP
    15183 fi
    15184 echo "$as_me:$LINENO: result: $CXXCPP" >&5
    15185 echo "${ECHO_T}$CXXCPP" >&6
    15186 ac_preproc_ok=false
    15187 for ac_cxx_preproc_warn_flag in '' yes
    15188 do
    15189   # Use a header file that comes with gcc, so configuring glibc
    15190   # with a fresh cross-compiler works.
    15191   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    15192   # <limits.h> exists even on freestanding compilers.
    15193   # On the NeXT, cc -E runs the code through the compiler's parser,
    15194   # not just through cpp. "Syntax error" is here to catch this case.
    15195   cat >conftest.$ac_ext <<_ACEOF
    15196 /* confdefs.h.  */
    15197 _ACEOF
    15198 cat confdefs.h >>conftest.$ac_ext
    15199 cat >>conftest.$ac_ext <<_ACEOF
    15200 /* end confdefs.h.  */
    15201 #ifdef __STDC__
    15202 # include <limits.h>
    15203 #else
    15204 # include <assert.h>
    15205 #endif
    15206                      Syntax error
    15207 _ACEOF
    15208 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    15209   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    15210   ac_status=$?
    15211   grep -v '^ *+' conftest.er1 >conftest.err
    15212   rm -f conftest.er1
    15213   cat conftest.err >&5
    15214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15215   (exit $ac_status); } >/dev/null; then
    15216   if test -s conftest.err; then
    15217     ac_cpp_err=$ac_cxx_preproc_warn_flag
    15218     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    15219   else
    15220     ac_cpp_err=
    15221   fi
    15222 else
    15223   ac_cpp_err=yes
    15224 fi
    15225 if test -z "$ac_cpp_err"; then
    15226   :
    15227 else
    15228   echo "$as_me: failed program was:" >&5
    15229 sed 's/^/| /' conftest.$ac_ext >&5
    15230 
    15231   # Broken: fails on valid input.
    15232 continue
    15233 fi
    15234 rm -f conftest.err conftest.$ac_ext
    15235 
    15236   # OK, works on sane cases.  Now check whether non-existent headers
    15237   # can be detected and how.
    15238   cat >conftest.$ac_ext <<_ACEOF
    15239 /* confdefs.h.  */
    15240 _ACEOF
    15241 cat confdefs.h >>conftest.$ac_ext
    15242 cat >>conftest.$ac_ext <<_ACEOF
    15243 /* end confdefs.h.  */
    15244 #include <ac_nonexistent.h>
    15245 _ACEOF
    15246 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    15247   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    15248   ac_status=$?
    15249   grep -v '^ *+' conftest.er1 >conftest.err
    15250   rm -f conftest.er1
    15251   cat conftest.err >&5
    15252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15253   (exit $ac_status); } >/dev/null; then
    15254   if test -s conftest.err; then
    15255     ac_cpp_err=$ac_cxx_preproc_warn_flag
    15256     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    15257   else
    15258     ac_cpp_err=
    15259   fi
    15260 else
    15261   ac_cpp_err=yes
    15262 fi
    15263 if test -z "$ac_cpp_err"; then
    15264   # Broken: success on invalid input.
    15265 continue
    15266 else
    15267   echo "$as_me: failed program was:" >&5
    15268 sed 's/^/| /' conftest.$ac_ext >&5
    15269 
    15270   # Passes both tests.
    15271 ac_preproc_ok=:
    15272 break
    15273 fi
    15274 rm -f conftest.err conftest.$ac_ext
    15275 
    15276 done
    15277 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    15278 rm -f conftest.err conftest.$ac_ext
    15279 if $ac_preproc_ok; then
    15280   :
    15281 else
    15282   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    15283 See \`config.log' for more details." >&5
    15284 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    15285 See \`config.log' for more details." >&2;}
    15286    { (exit 1); exit 1; }; }
    15287 fi
    15288 
    15289 ac_ext=cc
    15290 ac_cpp='$CXXCPP $CPPFLAGS'
    15291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    15292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    15293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    15294 
    15295 fi
    15296 
    15297 
    15298 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
    15299 
    15300 # find the maximum length of command line arguments
    15301 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
    15302 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
    15303 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
    15304   echo $ECHO_N "(cached) $ECHO_C" >&6
    15305 else
    15306     i=0
    15307   teststring="ABCD"
    15308 
    15309   case $build_os in
    15310   msdosdjgpp*)
    15311     # On DJGPP, this test can blow up pretty badly due to problems in libc
    15312     # (any single argument exceeding 2000 bytes causes a buffer overrun
    15313     # during glob expansion).  Even if it were fixed, the result of this
    15314     # check would be larger than it should be.
    15315     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
    15316     ;;
    15317 
    15318   gnu*)
    15319     # Under GNU Hurd, this test is not required because there is
    15320     # no limit to the length of command line arguments.
    15321     # Libtool will interpret -1 as no limit whatsoever
    15322     lt_cv_sys_max_cmd_len=-1;
    15323     ;;
    15324 
    15325   cygwin* | mingw*)
    15326     # On Win9x/ME, this test blows up -- it succeeds, but takes
    15327     # about 5 minutes as the teststring grows exponentially.
    15328     # Worse, since 9x/ME are not pre-emptively multitasking,
    15329     # you end up with a "frozen" computer, even though with patience
    15330     # the test eventually succeeds (with a max line length of 256k).
    15331     # Instead, let's just punt: use the minimum linelength reported by
    15332     # all of the supported platforms: 8192 (on NT/2K/XP).
    15333     lt_cv_sys_max_cmd_len=8192;
    15334     ;;
    15335 
    15336   amigaos*)
    15337     # On AmigaOS with pdksh, this test takes hours, literally.
    15338     # So we just punt and use a minimum line length of 8192.
    15339     lt_cv_sys_max_cmd_len=8192;
    15340     ;;
    15341 
    15342   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
    15343     # This has been around since 386BSD, at least.  Likely further.
    15344     if test -x /sbin/sysctl; then
    15345       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
    15346     elif test -x /usr/sbin/sysctl; then
    15347       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
    15348     else
    15349       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
    15350     fi
    15351     # And add a safety zone
    15352     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
    15353     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
    15354     ;;
    15355 
    15356   interix*)
    15357     # We know the value 262144 and hardcode it with a safety zone (like BSD)
    15358     lt_cv_sys_max_cmd_len=196608
    15359     ;;
    15360 
    15361   osf*)
    15362     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
    15363     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
    15364     # nice to cause kernel panics so lets avoid the loop below.
    15365     # First set a reasonable default.
    15366     lt_cv_sys_max_cmd_len=16384
    15367     #
    15368     if test -x /sbin/sysconfig; then
    15369       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
    15370         *1*) lt_cv_sys_max_cmd_len=-1 ;;
    15371       esac
    15372     fi
    15373     ;;
    15374   sco3.2v5*)
    15375     lt_cv_sys_max_cmd_len=102400
    15376     ;;
    15377   sysv5* | sco5v6* | sysv4.2uw2*)
    15378     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
    15379     if test -n "$kargmax"; then
    15380       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
    15381     else
    15382       lt_cv_sys_max_cmd_len=32768
    15383     fi
     11184  RANLIB="$ac_cv_prog_RANLIB"
     11185fi
     11186
     11187test -z "$RANLIB" && RANLIB=:
     11188
     11189
     11190
     11191
     11192
     11193
     11194# Determine commands to create old-style static archives.
     11195old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
     11196old_postinstall_cmds='chmod 644 $oldlib'
     11197old_postuninstall_cmds=
     11198
     11199if test -n "$RANLIB"; then
     11200  case $host_os in
     11201  openbsd*)
     11202    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
    1538411203    ;;
    1538511204  *)
    15386     # If test is not a shell built-in, we'll probably end up computing a
    15387     # maximum length that is only half of the actual maximum length, but
    15388     # we can't tell.
    15389     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
    15390     while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
    15391                = "XX$teststring") >/dev/null 2>&1 &&
    15392             new_result=`expr "X$teststring" : ".*" 2>&1` &&
    15393             lt_cv_sys_max_cmd_len=$new_result &&
    15394             test $i != 17 # 1/2 MB should be enough
    15395     do
    15396       i=`expr $i + 1`
    15397       teststring=$teststring$teststring
    15398     done
    15399     teststring=
    15400     # Add a significant safety factor because C++ compilers can tack on massive
    15401     # amounts of additional arguments before passing them to the linker.
    15402     # It appears as though 1/2 is a usable value.
    15403     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
     11205    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
    1540411206    ;;
    1540511207  esac
    15406 
    15407 fi
    15408 
    15409 if test -n $lt_cv_sys_max_cmd_len ; then
    15410   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
    15411 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
    15412 else
    15413   echo "$as_me:$LINENO: result: none" >&5
    15414 echo "${ECHO_T}none" >&6
    15415 fi
    15416 
    15417 
     11208  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
     11209fi
     11210
     11211case $host_os in
     11212  darwin*)
     11213    lock_old_archive_extraction=yes ;;
     11214  *)
     11215    lock_old_archive_extraction=no ;;
     11216esac
     11217
     11218
     11219
     11220
     11221
     11222
     11223
     11224
     11225
     11226
     11227
     11228
     11229
     11230
     11231
     11232
     11233
     11234
     11235
     11236
     11237
     11238for ac_prog in gawk mawk nawk awk
     11239do
     11240  # Extract the first word of "$ac_prog", so it can be a program name with args.
     11241set dummy $ac_prog; ac_word=$2
     11242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     11243$as_echo_n "checking for $ac_word... " >&6; }
     11244if ${ac_cv_prog_AWK+:} false; then :
     11245  $as_echo_n "(cached) " >&6
     11246else
     11247  if test -n "$AWK"; then
     11248  ac_cv_prog_AWK="$AWK" # Let the user override the test.
     11249else
     11250as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     11251for as_dir in $PATH
     11252do
     11253  IFS=$as_save_IFS
     11254  test -z "$as_dir" && as_dir=.
     11255    for ac_exec_ext in '' $ac_executable_extensions; do
     11256  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     11257    ac_cv_prog_AWK="$ac_prog"
     11258    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     11259    break 2
     11260  fi
     11261done
     11262  done
     11263IFS=$as_save_IFS
     11264
     11265fi
     11266fi
     11267AWK=$ac_cv_prog_AWK
     11268if test -n "$AWK"; then
     11269  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
     11270$as_echo "$AWK" >&6; }
     11271else
     11272  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     11273$as_echo "no" >&6; }
     11274fi
     11275
     11276
     11277  test -n "$AWK" && break
     11278done
     11279
     11280
     11281
     11282
     11283
     11284
     11285
     11286
     11287
     11288
     11289
     11290
     11291
     11292
     11293
     11294
     11295
     11296
     11297
     11298# If no C compiler was specified, use CC.
     11299LTCC=${LTCC-"$CC"}
     11300
     11301# If no C compiler flags were specified, use CFLAGS.
     11302LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
     11303
     11304# Allow CC to be a program name with arguments.
     11305compiler=$CC
    1541811306
    1541911307
    1542011308# Check for command to grab the raw symbol name followed by C symbol from nm.
    15421 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
    15422 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
    15423 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
    15424   echo $ECHO_N "(cached) $ECHO_C" >&6
     11309{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
     11310$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
     11311if ${lt_cv_sys_global_symbol_pipe+:} false; then :
     11312  $as_echo_n "(cached) " >&6
    1542511313else
    1542611314
     
    1543311321# Regexp to match symbols that can be accessed directly from C.
    1543411322sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
    15435 
    15436 # Transform an extracted symbol line into a proper C declaration
    15437 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
    15438 
    15439 # Transform an extracted symbol line into symbol name and symbol address
    15440 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
    1544111323
    1544211324# Define system-specific variables.
     
    1544511327  symcode='[BCDT]'
    1544611328  ;;
    15447 cygwin* | mingw* | pw32*)
     11329cygwin* | mingw* | pw32* | cegcc*)
    1544811330  symcode='[ABCDGISTW]'
    1544911331  ;;
    15450 hpux*) # Its linker distinguishes data from code symbols
     11332hpux*)
    1545111333  if test "$host_cpu" = ia64; then
    1545211334    symcode='[ABCDEGRST]'
    15453   fi
    15454   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
    15455   lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
    15456   ;;
    15457 linux*)
    15458   if test "$host_cpu" = ia64; then
    15459     symcode='[ABCDGIRSTW]'
    15460     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
    15461     lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
    1546211335  fi
    1546311336  ;;
     
    1548511358esac
    1548611359
    15487 # Handle CRLF in mingw tool chain
    15488 opt_cr=
    15489 case $build_os in
    15490 mingw*)
    15491   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
    15492   ;;
    15493 esac
    15494 
    1549511360# If we're using GNU nm, then use its standard symbol codes.
    1549611361case `$NM -V 2>&1` in
     
    1549911364esac
    1550011365
    15501 # Try without a prefix undercore, then with it.
     11366# Transform an extracted symbol line into a proper C declaration.
     11367# Some systems (esp. on ia64) link data and code symbols differently,
     11368# so use this general approach.
     11369lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
     11370
     11371# Transform an extracted symbol line into symbol name and symbol address
     11372lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
     11373lt_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'"
     11374
     11375# Handle CRLF in mingw tool chain
     11376opt_cr=
     11377case $build_os in
     11378mingw*)
     11379  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
     11380  ;;
     11381esac
     11382
     11383# Try without a prefix underscore, then with it.
    1550211384for ac_symprfx in "" "_"; do
    1550311385
     
    1550611388
    1550711389  # Write the raw and C identifiers.
    15508   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
     11390  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
     11391    # Fake it for dumpbin and say T for any non-static function
     11392    # and D for any global variable.
     11393    # Also find C++ and __fastcall symbols from MSVC++,
     11394    # which start with @ or ?.
     11395    lt_cv_sys_global_symbol_pipe="$AWK '"\
     11396"     {last_section=section; section=\$ 3};"\
     11397"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
     11398"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
     11399"     \$ 0!~/External *\|/{next};"\
     11400"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
     11401"     {if(hide[section]) next};"\
     11402"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
     11403"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
     11404"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
     11405"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
     11406"     ' prfx=^$ac_symprfx"
     11407  else
     11408    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
     11409  fi
     11410  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
    1550911411
    1551011412  # Check to see that the pipe works correctly.
     
    1551211414
    1551311415  rm -f conftest*
    15514   cat > conftest.$ac_ext <<EOF
     11416  cat > conftest.$ac_ext <<_LT_EOF
    1551511417#ifdef __cplusplus
    1551611418extern "C" {
    1551711419#endif
    1551811420char nm_test_var;
    15519 void nm_test_func(){}
     11421void nm_test_func(void);
     11422void nm_test_func(void){}
    1552011423#ifdef __cplusplus
    1552111424}
    1552211425#endif
    1552311426int main(){nm_test_var='a';nm_test_func();return(0);}
    15524 EOF
    15525 
    15526   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     11427_LT_EOF
     11428
     11429  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    1552711430  (eval $ac_compile) 2>&5
    1552811431  ac_status=$?
    15529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15530   (exit $ac_status); }; then
     11432  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     11433  test $ac_status = 0; }; then
    1553111434    # Now try to grab the symbols.
    1553211435    nlist=conftest.nm
    15533     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
    15534   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
     11436    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
     11437  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
    1553511438  ac_status=$?
    15536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15537   (exit $ac_status); } && test -s "$nlist"; then
     11439  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     11440  test $ac_status = 0; } && test -s "$nlist"; then
    1553811441      # Try sorting and uniquifying the output.
    1553911442      if sort "$nlist" | uniq > "$nlist"T; then
     
    1554411447
    1554511448      # Make sure that we snagged all the symbols we need.
    15546       if grep ' nm_test_var$' "$nlist" >/dev/null; then
    15547         if grep ' nm_test_func$' "$nlist" >/dev/null; then
    15548           cat <<EOF > conftest.$ac_ext
     11449      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
     11450        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
     11451          cat <<_LT_EOF > conftest.$ac_ext
     11452/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
     11453#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
     11454/* DATA imports from DLLs on WIN32 con't be const, because runtime
     11455   relocations are performed -- see ld's documentation on pseudo-relocs.  */
     11456# define LT_DLSYM_CONST
     11457#elif defined(__osf__)
     11458/* This system does not cope well with relocations in const data.  */
     11459# define LT_DLSYM_CONST
     11460#else
     11461# define LT_DLSYM_CONST const
     11462#endif
     11463
    1554911464#ifdef __cplusplus
    1555011465extern "C" {
    1555111466#endif
    1555211467
    15553 EOF
     11468_LT_EOF
    1555411469          # Now generate the symbol file.
    15555           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
    15556 
    15557           cat <<EOF >> conftest.$ac_ext
    15558 #if defined (__STDC__) && __STDC__
    15559 # define lt_ptr_t void *
    15560 #else
    15561 # define lt_ptr_t char *
    15562 # define const
     11470          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
     11471
     11472          cat <<_LT_EOF >> conftest.$ac_ext
     11473
     11474/* The mapping between symbol names and symbols.  */
     11475LT_DLSYM_CONST struct {
     11476  const char *name;
     11477  void       *address;
     11478}
     11479lt__PROGRAM__LTX_preloaded_symbols[] =
     11480{
     11481  { "@PROGRAM@", (void *) 0 },
     11482_LT_EOF
     11483          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
     11484          cat <<\_LT_EOF >> conftest.$ac_ext
     11485  {0, (void *) 0}
     11486};
     11487
     11488/* This works around a problem in FreeBSD linker */
     11489#ifdef FREEBSD_WORKAROUND
     11490static const void *lt_preloaded_setup() {
     11491  return lt__PROGRAM__LTX_preloaded_symbols;
     11492}
    1556311493#endif
    15564 
    15565 /* The mapping between symbol names and symbols. */
    15566 const struct {
    15567   const char *name;
    15568   lt_ptr_t address;
    15569 }
    15570 lt_preloaded_symbols[] =
    15571 {
    15572 EOF
    15573           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
    15574           cat <<\EOF >> conftest.$ac_ext
    15575   {0, (lt_ptr_t) 0}
    15576 };
    1557711494
    1557811495#ifdef __cplusplus
    1557911496}
    1558011497#endif
    15581 EOF
     11498_LT_EOF
    1558211499          # Now try linking the two files.
    1558311500          mv conftest.$ac_objext conftstm.$ac_objext
    15584           lt_save_LIBS="$LIBS"
    15585           lt_save_CFLAGS="$CFLAGS"
     11501          lt_globsym_save_LIBS=$LIBS
     11502          lt_globsym_save_CFLAGS=$CFLAGS
    1558611503          LIBS="conftstm.$ac_objext"
    1558711504          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
    15588           if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     11505          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
    1558911506  (eval $ac_link) 2>&5
    1559011507  ac_status=$?
    15591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15592   (exit $ac_status); } && test -s conftest${ac_exeext}; then
     11508  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     11509  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
    1559311510            pipe_works=yes
    1559411511          fi
    15595           LIBS="$lt_save_LIBS"
    15596           CFLAGS="$lt_save_CFLAGS"
     11512          LIBS=$lt_globsym_save_LIBS
     11513          CFLAGS=$lt_globsym_save_CFLAGS
    1559711514        else
    1559811515          echo "cannot find nm_test_func in $nlist" >&5
     
    1560811525    cat conftest.$ac_ext >&5
    1560911526  fi
    15610   rm -f conftest* conftst*
     11527  rm -rf conftest* conftst*
    1561111528
    1561211529  # Do not use the global_symbol_pipe unless it works.
     
    1562411541fi
    1562511542if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
    15626   echo "$as_me:$LINENO: result: failed" >&5
    15627 echo "${ECHO_T}failed" >&6
    15628 else
    15629   echo "$as_me:$LINENO: result: ok" >&5
    15630 echo "${ECHO_T}ok" >&6
    15631 fi
    15632 
    15633 echo "$as_me:$LINENO: checking for objdir" >&5
    15634 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
    15635 if test "${lt_cv_objdir+set}" = set; then
    15636   echo $ECHO_N "(cached) $ECHO_C" >&6
     11543  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
     11544$as_echo "failed" >&6; }
     11545else
     11546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
     11547$as_echo "ok" >&6; }
     11548fi
     11549
     11550# Response file support.
     11551if test "$lt_cv_nm_interface" = "MS dumpbin"; then
     11552  nm_file_list_spec='@'
     11553elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
     11554  nm_file_list_spec='@'
     11555fi
     11556
     11557
     11558
     11559
     11560
     11561
     11562
     11563
     11564
     11565
     11566
     11567
     11568
     11569
     11570
     11571
     11572
     11573
     11574
     11575
     11576
     11577
     11578
     11579
     11580
     11581
     11582
     11583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
     11584$as_echo_n "checking for sysroot... " >&6; }
     11585
     11586# Check whether --with-sysroot was given.
     11587if test "${with_sysroot+set}" = set; then :
     11588  withval=$with_sysroot;
     11589else
     11590  with_sysroot=no
     11591fi
     11592
     11593
     11594lt_sysroot=
     11595case ${with_sysroot} in #(
     11596 yes)
     11597   if test "$GCC" = yes; then
     11598     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
     11599   fi
     11600   ;; #(
     11601 /*)
     11602   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
     11603   ;; #(
     11604 no|'')
     11605   ;; #(
     11606 *)
     11607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
     11608$as_echo "${with_sysroot}" >&6; }
     11609   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
     11610   ;;
     11611esac
     11612
     11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
     11614$as_echo "${lt_sysroot:-no}" >&6; }
     11615
     11616
     11617
     11618
     11619
     11620# Check whether --enable-libtool-lock was given.
     11621if test "${enable_libtool_lock+set}" = set; then :
     11622  enableval=$enable_libtool_lock;
     11623fi
     11624
     11625test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
     11626
     11627# Some flags need to be propagated to the compiler or linker for good
     11628# libtool support.
     11629case $host in
     11630ia64-*-hpux*)
     11631  # Find out which ABI we are using.
     11632  echo 'int i;' > conftest.$ac_ext
     11633  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     11634  (eval $ac_compile) 2>&5
     11635  ac_status=$?
     11636  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     11637  test $ac_status = 0; }; then
     11638    case `/usr/bin/file conftest.$ac_objext` in
     11639      *ELF-32*)
     11640        HPUX_IA64_MODE="32"
     11641        ;;
     11642      *ELF-64*)
     11643        HPUX_IA64_MODE="64"
     11644        ;;
     11645    esac
     11646  fi
     11647  rm -rf conftest*
     11648  ;;
     11649*-*-irix6*)
     11650  # Find out which ABI we are using.
     11651  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
     11652  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     11653  (eval $ac_compile) 2>&5
     11654  ac_status=$?
     11655  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     11656  test $ac_status = 0; }; then
     11657    if test "$lt_cv_prog_gnu_ld" = yes; then
     11658      case `/usr/bin/file conftest.$ac_objext` in
     11659        *32-bit*)
     11660          LD="${LD-ld} -melf32bsmip"
     11661          ;;
     11662        *N32*)
     11663          LD="${LD-ld} -melf32bmipn32"
     11664          ;;
     11665        *64-bit*)
     11666          LD="${LD-ld} -melf64bmip"
     11667        ;;
     11668      esac
     11669    else
     11670      case `/usr/bin/file conftest.$ac_objext` in
     11671        *32-bit*)
     11672          LD="${LD-ld} -32"
     11673          ;;
     11674        *N32*)
     11675          LD="${LD-ld} -n32"
     11676          ;;
     11677        *64-bit*)
     11678          LD="${LD-ld} -64"
     11679          ;;
     11680      esac
     11681    fi
     11682  fi
     11683  rm -rf conftest*
     11684  ;;
     11685
     11686x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
     11687s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
     11688  # Find out which ABI we are using.
     11689  echo 'int i;' > conftest.$ac_ext
     11690  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     11691  (eval $ac_compile) 2>&5
     11692  ac_status=$?
     11693  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     11694  test $ac_status = 0; }; then
     11695    case `/usr/bin/file conftest.o` in
     11696      *32-bit*)
     11697        case $host in
     11698          x86_64-*kfreebsd*-gnu)
     11699            LD="${LD-ld} -m elf_i386_fbsd"
     11700            ;;
     11701          x86_64-*linux*)
     11702            case `/usr/bin/file conftest.o` in
     11703              *x86-64*)
     11704                LD="${LD-ld} -m elf32_x86_64"
     11705                ;;
     11706              *)
     11707                LD="${LD-ld} -m elf_i386"
     11708                ;;
     11709            esac
     11710            ;;
     11711          powerpc64le-*)
     11712            LD="${LD-ld} -m elf32lppclinux"
     11713            ;;
     11714          powerpc64-*)
     11715            LD="${LD-ld} -m elf32ppclinux"
     11716            ;;
     11717          s390x-*linux*)
     11718            LD="${LD-ld} -m elf_s390"
     11719            ;;
     11720          sparc64-*linux*)
     11721            LD="${LD-ld} -m elf32_sparc"
     11722            ;;
     11723        esac
     11724        ;;
     11725      *64-bit*)
     11726        case $host in
     11727          x86_64-*kfreebsd*-gnu)
     11728            LD="${LD-ld} -m elf_x86_64_fbsd"
     11729            ;;
     11730          x86_64-*linux*)
     11731            LD="${LD-ld} -m elf_x86_64"
     11732            ;;
     11733          powerpcle-*)
     11734            LD="${LD-ld} -m elf64lppc"
     11735            ;;
     11736          powerpc-*)
     11737            LD="${LD-ld} -m elf64ppc"
     11738            ;;
     11739          s390*-*linux*|s390*-*tpf*)
     11740            LD="${LD-ld} -m elf64_s390"
     11741            ;;
     11742          sparc*-*linux*)
     11743            LD="${LD-ld} -m elf64_sparc"
     11744            ;;
     11745        esac
     11746        ;;
     11747    esac
     11748  fi
     11749  rm -rf conftest*
     11750  ;;
     11751
     11752*-*-sco3.2v5*)
     11753  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
     11754  SAVE_CFLAGS="$CFLAGS"
     11755  CFLAGS="$CFLAGS -belf"
     11756  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
     11757$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
     11758if ${lt_cv_cc_needs_belf+:} false; then :
     11759  $as_echo_n "(cached) " >&6
     11760else
     11761  ac_ext=c
     11762ac_cpp='$CPP $CPPFLAGS'
     11763ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     11764ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     11765ac_compiler_gnu=$ac_cv_c_compiler_gnu
     11766
     11767     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     11768/* end confdefs.h.  */
     11769
     11770int
     11771main ()
     11772{
     11773
     11774  ;
     11775  return 0;
     11776}
     11777_ACEOF
     11778if ac_fn_c_try_link "$LINENO"; then :
     11779  lt_cv_cc_needs_belf=yes
     11780else
     11781  lt_cv_cc_needs_belf=no
     11782fi
     11783rm -f core conftest.err conftest.$ac_objext \
     11784    conftest$ac_exeext conftest.$ac_ext
     11785     ac_ext=c
     11786ac_cpp='$CPP $CPPFLAGS'
     11787ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     11788ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     11789ac_compiler_gnu=$ac_cv_c_compiler_gnu
     11790
     11791fi
     11792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
     11793$as_echo "$lt_cv_cc_needs_belf" >&6; }
     11794  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
     11795    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
     11796    CFLAGS="$SAVE_CFLAGS"
     11797  fi
     11798  ;;
     11799*-*solaris*)
     11800  # Find out which ABI we are using.
     11801  echo 'int i;' > conftest.$ac_ext
     11802  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     11803  (eval $ac_compile) 2>&5
     11804  ac_status=$?
     11805  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     11806  test $ac_status = 0; }; then
     11807    case `/usr/bin/file conftest.o` in
     11808    *64-bit*)
     11809      case $lt_cv_prog_gnu_ld in
     11810      yes*)
     11811        case $host in
     11812        i?86-*-solaris*)
     11813          LD="${LD-ld} -m elf_x86_64"
     11814          ;;
     11815        sparc*-*-solaris*)
     11816          LD="${LD-ld} -m elf64_sparc"
     11817          ;;
     11818        esac
     11819        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
     11820        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
     11821          LD="${LD-ld}_sol2"
     11822        fi
     11823        ;;
     11824      *)
     11825        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
     11826          LD="${LD-ld} -64"
     11827        fi
     11828        ;;
     11829      esac
     11830      ;;
     11831    esac
     11832  fi
     11833  rm -rf conftest*
     11834  ;;
     11835esac
     11836
     11837need_locks="$enable_libtool_lock"
     11838
     11839if test -n "$ac_tool_prefix"; then
     11840  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
     11841set dummy ${ac_tool_prefix}mt; ac_word=$2
     11842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     11843$as_echo_n "checking for $ac_word... " >&6; }
     11844if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
     11845  $as_echo_n "(cached) " >&6
     11846else
     11847  if test -n "$MANIFEST_TOOL"; then
     11848  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
     11849else
     11850as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     11851for as_dir in $PATH
     11852do
     11853  IFS=$as_save_IFS
     11854  test -z "$as_dir" && as_dir=.
     11855    for ac_exec_ext in '' $ac_executable_extensions; do
     11856  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     11857    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
     11858    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     11859    break 2
     11860  fi
     11861done
     11862  done
     11863IFS=$as_save_IFS
     11864
     11865fi
     11866fi
     11867MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
     11868if test -n "$MANIFEST_TOOL"; then
     11869  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
     11870$as_echo "$MANIFEST_TOOL" >&6; }
     11871else
     11872  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     11873$as_echo "no" >&6; }
     11874fi
     11875
     11876
     11877fi
     11878if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
     11879  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
     11880  # Extract the first word of "mt", so it can be a program name with args.
     11881set dummy mt; ac_word=$2
     11882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     11883$as_echo_n "checking for $ac_word... " >&6; }
     11884if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
     11885  $as_echo_n "(cached) " >&6
     11886else
     11887  if test -n "$ac_ct_MANIFEST_TOOL"; then
     11888  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
     11889else
     11890as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     11891for as_dir in $PATH
     11892do
     11893  IFS=$as_save_IFS
     11894  test -z "$as_dir" && as_dir=.
     11895    for ac_exec_ext in '' $ac_executable_extensions; do
     11896  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     11897    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
     11898    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     11899    break 2
     11900  fi
     11901done
     11902  done
     11903IFS=$as_save_IFS
     11904
     11905fi
     11906fi
     11907ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
     11908if test -n "$ac_ct_MANIFEST_TOOL"; then
     11909  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
     11910$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
     11911else
     11912  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     11913$as_echo "no" >&6; }
     11914fi
     11915
     11916  if test "x$ac_ct_MANIFEST_TOOL" = x; then
     11917    MANIFEST_TOOL=":"
     11918  else
     11919    case $cross_compiling:$ac_tool_warned in
     11920yes:)
     11921{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     11922$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     11923ac_tool_warned=yes ;;
     11924esac
     11925    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
     11926  fi
     11927else
     11928  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
     11929fi
     11930
     11931test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
     11932{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
     11933$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
     11934if ${lt_cv_path_mainfest_tool+:} false; then :
     11935  $as_echo_n "(cached) " >&6
     11936else
     11937  lt_cv_path_mainfest_tool=no
     11938  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
     11939  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
     11940  cat conftest.err >&5
     11941  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
     11942    lt_cv_path_mainfest_tool=yes
     11943  fi
     11944  rm -f conftest*
     11945fi
     11946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
     11947$as_echo "$lt_cv_path_mainfest_tool" >&6; }
     11948if test "x$lt_cv_path_mainfest_tool" != xyes; then
     11949  MANIFEST_TOOL=:
     11950fi
     11951
     11952
     11953
     11954
     11955
     11956
     11957  case $host_os in
     11958    rhapsody* | darwin*)
     11959    if test -n "$ac_tool_prefix"; then
     11960  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
     11961set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
     11962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     11963$as_echo_n "checking for $ac_word... " >&6; }
     11964if ${ac_cv_prog_DSYMUTIL+:} false; then :
     11965  $as_echo_n "(cached) " >&6
     11966else
     11967  if test -n "$DSYMUTIL"; then
     11968  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
     11969else
     11970as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     11971for as_dir in $PATH
     11972do
     11973  IFS=$as_save_IFS
     11974  test -z "$as_dir" && as_dir=.
     11975    for ac_exec_ext in '' $ac_executable_extensions; do
     11976  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     11977    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
     11978    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     11979    break 2
     11980  fi
     11981done
     11982  done
     11983IFS=$as_save_IFS
     11984
     11985fi
     11986fi
     11987DSYMUTIL=$ac_cv_prog_DSYMUTIL
     11988if test -n "$DSYMUTIL"; then
     11989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
     11990$as_echo "$DSYMUTIL" >&6; }
     11991else
     11992  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     11993$as_echo "no" >&6; }
     11994fi
     11995
     11996
     11997fi
     11998if test -z "$ac_cv_prog_DSYMUTIL"; then
     11999  ac_ct_DSYMUTIL=$DSYMUTIL
     12000  # Extract the first word of "dsymutil", so it can be a program name with args.
     12001set dummy dsymutil; ac_word=$2
     12002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     12003$as_echo_n "checking for $ac_word... " >&6; }
     12004if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
     12005  $as_echo_n "(cached) " >&6
     12006else
     12007  if test -n "$ac_ct_DSYMUTIL"; then
     12008  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
     12009else
     12010as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     12011for as_dir in $PATH
     12012do
     12013  IFS=$as_save_IFS
     12014  test -z "$as_dir" && as_dir=.
     12015    for ac_exec_ext in '' $ac_executable_extensions; do
     12016  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     12017    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
     12018    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     12019    break 2
     12020  fi
     12021done
     12022  done
     12023IFS=$as_save_IFS
     12024
     12025fi
     12026fi
     12027ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
     12028if test -n "$ac_ct_DSYMUTIL"; then
     12029  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
     12030$as_echo "$ac_ct_DSYMUTIL" >&6; }
     12031else
     12032  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     12033$as_echo "no" >&6; }
     12034fi
     12035
     12036  if test "x$ac_ct_DSYMUTIL" = x; then
     12037    DSYMUTIL=":"
     12038  else
     12039    case $cross_compiling:$ac_tool_warned in
     12040yes:)
     12041{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     12042$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     12043ac_tool_warned=yes ;;
     12044esac
     12045    DSYMUTIL=$ac_ct_DSYMUTIL
     12046  fi
     12047else
     12048  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
     12049fi
     12050
     12051    if test -n "$ac_tool_prefix"; then
     12052  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
     12053set dummy ${ac_tool_prefix}nmedit; ac_word=$2
     12054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     12055$as_echo_n "checking for $ac_word... " >&6; }
     12056if ${ac_cv_prog_NMEDIT+:} false; then :
     12057  $as_echo_n "(cached) " >&6
     12058else
     12059  if test -n "$NMEDIT"; then
     12060  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
     12061else
     12062as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     12063for as_dir in $PATH
     12064do
     12065  IFS=$as_save_IFS
     12066  test -z "$as_dir" && as_dir=.
     12067    for ac_exec_ext in '' $ac_executable_extensions; do
     12068  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     12069    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
     12070    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     12071    break 2
     12072  fi
     12073done
     12074  done
     12075IFS=$as_save_IFS
     12076
     12077fi
     12078fi
     12079NMEDIT=$ac_cv_prog_NMEDIT
     12080if test -n "$NMEDIT"; then
     12081  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
     12082$as_echo "$NMEDIT" >&6; }
     12083else
     12084  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     12085$as_echo "no" >&6; }
     12086fi
     12087
     12088
     12089fi
     12090if test -z "$ac_cv_prog_NMEDIT"; then
     12091  ac_ct_NMEDIT=$NMEDIT
     12092  # Extract the first word of "nmedit", so it can be a program name with args.
     12093set dummy nmedit; ac_word=$2
     12094{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     12095$as_echo_n "checking for $ac_word... " >&6; }
     12096if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
     12097  $as_echo_n "(cached) " >&6
     12098else
     12099  if test -n "$ac_ct_NMEDIT"; then
     12100  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
     12101else
     12102as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     12103for as_dir in $PATH
     12104do
     12105  IFS=$as_save_IFS
     12106  test -z "$as_dir" && as_dir=.
     12107    for ac_exec_ext in '' $ac_executable_extensions; do
     12108  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     12109    ac_cv_prog_ac_ct_NMEDIT="nmedit"
     12110    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     12111    break 2
     12112  fi
     12113done
     12114  done
     12115IFS=$as_save_IFS
     12116
     12117fi
     12118fi
     12119ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
     12120if test -n "$ac_ct_NMEDIT"; then
     12121  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
     12122$as_echo "$ac_ct_NMEDIT" >&6; }
     12123else
     12124  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     12125$as_echo "no" >&6; }
     12126fi
     12127
     12128  if test "x$ac_ct_NMEDIT" = x; then
     12129    NMEDIT=":"
     12130  else
     12131    case $cross_compiling:$ac_tool_warned in
     12132yes:)
     12133{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     12134$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     12135ac_tool_warned=yes ;;
     12136esac
     12137    NMEDIT=$ac_ct_NMEDIT
     12138  fi
     12139else
     12140  NMEDIT="$ac_cv_prog_NMEDIT"
     12141fi
     12142
     12143    if test -n "$ac_tool_prefix"; then
     12144  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
     12145set dummy ${ac_tool_prefix}lipo; ac_word=$2
     12146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     12147$as_echo_n "checking for $ac_word... " >&6; }
     12148if ${ac_cv_prog_LIPO+:} false; then :
     12149  $as_echo_n "(cached) " >&6
     12150else
     12151  if test -n "$LIPO"; then
     12152  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
     12153else
     12154as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     12155for as_dir in $PATH
     12156do
     12157  IFS=$as_save_IFS
     12158  test -z "$as_dir" && as_dir=.
     12159    for ac_exec_ext in '' $ac_executable_extensions; do
     12160  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     12161    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
     12162    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     12163    break 2
     12164  fi
     12165done
     12166  done
     12167IFS=$as_save_IFS
     12168
     12169fi
     12170fi
     12171LIPO=$ac_cv_prog_LIPO
     12172if test -n "$LIPO"; then
     12173  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
     12174$as_echo "$LIPO" >&6; }
     12175else
     12176  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     12177$as_echo "no" >&6; }
     12178fi
     12179
     12180
     12181fi
     12182if test -z "$ac_cv_prog_LIPO"; then
     12183  ac_ct_LIPO=$LIPO
     12184  # Extract the first word of "lipo", so it can be a program name with args.
     12185set dummy lipo; ac_word=$2
     12186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     12187$as_echo_n "checking for $ac_word... " >&6; }
     12188if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
     12189  $as_echo_n "(cached) " >&6
     12190else
     12191  if test -n "$ac_ct_LIPO"; then
     12192  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
     12193else
     12194as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     12195for as_dir in $PATH
     12196do
     12197  IFS=$as_save_IFS
     12198  test -z "$as_dir" && as_dir=.
     12199    for ac_exec_ext in '' $ac_executable_extensions; do
     12200  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     12201    ac_cv_prog_ac_ct_LIPO="lipo"
     12202    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     12203    break 2
     12204  fi
     12205done
     12206  done
     12207IFS=$as_save_IFS
     12208
     12209fi
     12210fi
     12211ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
     12212if test -n "$ac_ct_LIPO"; then
     12213  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
     12214$as_echo "$ac_ct_LIPO" >&6; }
     12215else
     12216  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     12217$as_echo "no" >&6; }
     12218fi
     12219
     12220  if test "x$ac_ct_LIPO" = x; then
     12221    LIPO=":"
     12222  else
     12223    case $cross_compiling:$ac_tool_warned in
     12224yes:)
     12225{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     12226$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     12227ac_tool_warned=yes ;;
     12228esac
     12229    LIPO=$ac_ct_LIPO
     12230  fi
     12231else
     12232  LIPO="$ac_cv_prog_LIPO"
     12233fi
     12234
     12235    if test -n "$ac_tool_prefix"; then
     12236  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
     12237set dummy ${ac_tool_prefix}otool; ac_word=$2
     12238{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     12239$as_echo_n "checking for $ac_word... " >&6; }
     12240if ${ac_cv_prog_OTOOL+:} false; then :
     12241  $as_echo_n "(cached) " >&6
     12242else
     12243  if test -n "$OTOOL"; then
     12244  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
     12245else
     12246as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     12247for as_dir in $PATH
     12248do
     12249  IFS=$as_save_IFS
     12250  test -z "$as_dir" && as_dir=.
     12251    for ac_exec_ext in '' $ac_executable_extensions; do
     12252  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     12253    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
     12254    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     12255    break 2
     12256  fi
     12257done
     12258  done
     12259IFS=$as_save_IFS
     12260
     12261fi
     12262fi
     12263OTOOL=$ac_cv_prog_OTOOL
     12264if test -n "$OTOOL"; then
     12265  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
     12266$as_echo "$OTOOL" >&6; }
     12267else
     12268  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     12269$as_echo "no" >&6; }
     12270fi
     12271
     12272
     12273fi
     12274if test -z "$ac_cv_prog_OTOOL"; then
     12275  ac_ct_OTOOL=$OTOOL
     12276  # Extract the first word of "otool", so it can be a program name with args.
     12277set dummy otool; ac_word=$2
     12278{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     12279$as_echo_n "checking for $ac_word... " >&6; }
     12280if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
     12281  $as_echo_n "(cached) " >&6
     12282else
     12283  if test -n "$ac_ct_OTOOL"; then
     12284  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
     12285else
     12286as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     12287for as_dir in $PATH
     12288do
     12289  IFS=$as_save_IFS
     12290  test -z "$as_dir" && as_dir=.
     12291    for ac_exec_ext in '' $ac_executable_extensions; do
     12292  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     12293    ac_cv_prog_ac_ct_OTOOL="otool"
     12294    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     12295    break 2
     12296  fi
     12297done
     12298  done
     12299IFS=$as_save_IFS
     12300
     12301fi
     12302fi
     12303ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
     12304if test -n "$ac_ct_OTOOL"; then
     12305  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
     12306$as_echo "$ac_ct_OTOOL" >&6; }
     12307else
     12308  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     12309$as_echo "no" >&6; }
     12310fi
     12311
     12312  if test "x$ac_ct_OTOOL" = x; then
     12313    OTOOL=":"
     12314  else
     12315    case $cross_compiling:$ac_tool_warned in
     12316yes:)
     12317{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     12318$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     12319ac_tool_warned=yes ;;
     12320esac
     12321    OTOOL=$ac_ct_OTOOL
     12322  fi
     12323else
     12324  OTOOL="$ac_cv_prog_OTOOL"
     12325fi
     12326
     12327    if test -n "$ac_tool_prefix"; then
     12328  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
     12329set dummy ${ac_tool_prefix}otool64; ac_word=$2
     12330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     12331$as_echo_n "checking for $ac_word... " >&6; }
     12332if ${ac_cv_prog_OTOOL64+:} false; then :
     12333  $as_echo_n "(cached) " >&6
     12334else
     12335  if test -n "$OTOOL64"; then
     12336  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
     12337else
     12338as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     12339for as_dir in $PATH
     12340do
     12341  IFS=$as_save_IFS
     12342  test -z "$as_dir" && as_dir=.
     12343    for ac_exec_ext in '' $ac_executable_extensions; do
     12344  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     12345    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
     12346    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     12347    break 2
     12348  fi
     12349done
     12350  done
     12351IFS=$as_save_IFS
     12352
     12353fi
     12354fi
     12355OTOOL64=$ac_cv_prog_OTOOL64
     12356if test -n "$OTOOL64"; then
     12357  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
     12358$as_echo "$OTOOL64" >&6; }
     12359else
     12360  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     12361$as_echo "no" >&6; }
     12362fi
     12363
     12364
     12365fi
     12366if test -z "$ac_cv_prog_OTOOL64"; then
     12367  ac_ct_OTOOL64=$OTOOL64
     12368  # Extract the first word of "otool64", so it can be a program name with args.
     12369set dummy otool64; ac_word=$2
     12370{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     12371$as_echo_n "checking for $ac_word... " >&6; }
     12372if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
     12373  $as_echo_n "(cached) " >&6
     12374else
     12375  if test -n "$ac_ct_OTOOL64"; then
     12376  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
     12377else
     12378as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     12379for as_dir in $PATH
     12380do
     12381  IFS=$as_save_IFS
     12382  test -z "$as_dir" && as_dir=.
     12383    for ac_exec_ext in '' $ac_executable_extensions; do
     12384  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     12385    ac_cv_prog_ac_ct_OTOOL64="otool64"
     12386    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     12387    break 2
     12388  fi
     12389done
     12390  done
     12391IFS=$as_save_IFS
     12392
     12393fi
     12394fi
     12395ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
     12396if test -n "$ac_ct_OTOOL64"; then
     12397  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
     12398$as_echo "$ac_ct_OTOOL64" >&6; }
     12399else
     12400  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     12401$as_echo "no" >&6; }
     12402fi
     12403
     12404  if test "x$ac_ct_OTOOL64" = x; then
     12405    OTOOL64=":"
     12406  else
     12407    case $cross_compiling:$ac_tool_warned in
     12408yes:)
     12409{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     12410$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     12411ac_tool_warned=yes ;;
     12412esac
     12413    OTOOL64=$ac_ct_OTOOL64
     12414  fi
     12415else
     12416  OTOOL64="$ac_cv_prog_OTOOL64"
     12417fi
     12418
     12419
     12420
     12421
     12422
     12423
     12424
     12425
     12426
     12427
     12428
     12429
     12430
     12431
     12432
     12433
     12434
     12435
     12436
     12437
     12438
     12439
     12440
     12441
     12442
     12443
     12444
     12445    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
     12446$as_echo_n "checking for -single_module linker flag... " >&6; }
     12447if ${lt_cv_apple_cc_single_mod+:} false; then :
     12448  $as_echo_n "(cached) " >&6
     12449else
     12450  lt_cv_apple_cc_single_mod=no
     12451      if test -z "${LT_MULTI_MODULE}"; then
     12452        # By default we will add the -single_module flag. You can override
     12453        # by either setting the environment variable LT_MULTI_MODULE
     12454        # non-empty at configure time, or by adding -multi_module to the
     12455        # link flags.
     12456        rm -rf libconftest.dylib*
     12457        echo "int foo(void){return 1;}" > conftest.c
     12458        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
     12459-dynamiclib -Wl,-single_module conftest.c" >&5
     12460        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
     12461          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
     12462        _lt_result=$?
     12463        # If there is a non-empty error log, and "single_module"
     12464        # appears in it, assume the flag caused a linker warning
     12465        if test -s conftest.err && $GREP single_module conftest.err; then
     12466          cat conftest.err >&5
     12467        # Otherwise, if the output was created with a 0 exit code from
     12468        # the compiler, it worked.
     12469        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
     12470          lt_cv_apple_cc_single_mod=yes
     12471        else
     12472          cat conftest.err >&5
     12473        fi
     12474        rm -rf libconftest.dylib*
     12475        rm -f conftest.*
     12476      fi
     12477fi
     12478{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
     12479$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
     12480
     12481    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
     12482$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
     12483if ${lt_cv_ld_exported_symbols_list+:} false; then :
     12484  $as_echo_n "(cached) " >&6
     12485else
     12486  lt_cv_ld_exported_symbols_list=no
     12487      save_LDFLAGS=$LDFLAGS
     12488      echo "_main" > conftest.sym
     12489      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
     12490      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12491/* end confdefs.h.  */
     12492
     12493int
     12494main ()
     12495{
     12496
     12497  ;
     12498  return 0;
     12499}
     12500_ACEOF
     12501if ac_fn_c_try_link "$LINENO"; then :
     12502  lt_cv_ld_exported_symbols_list=yes
     12503else
     12504  lt_cv_ld_exported_symbols_list=no
     12505fi
     12506rm -f core conftest.err conftest.$ac_objext \
     12507    conftest$ac_exeext conftest.$ac_ext
     12508        LDFLAGS="$save_LDFLAGS"
     12509
     12510fi
     12511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
     12512$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
     12513
     12514    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
     12515$as_echo_n "checking for -force_load linker flag... " >&6; }
     12516if ${lt_cv_ld_force_load+:} false; then :
     12517  $as_echo_n "(cached) " >&6
     12518else
     12519  lt_cv_ld_force_load=no
     12520      cat > conftest.c << _LT_EOF
     12521int forced_loaded() { return 2;}
     12522_LT_EOF
     12523      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
     12524      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
     12525      echo "$AR cru libconftest.a conftest.o" >&5
     12526      $AR cru libconftest.a conftest.o 2>&5
     12527      echo "$RANLIB libconftest.a" >&5
     12528      $RANLIB libconftest.a 2>&5
     12529      cat > conftest.c << _LT_EOF
     12530int main() { return 0;}
     12531_LT_EOF
     12532      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
     12533      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
     12534      _lt_result=$?
     12535      if test -s conftest.err && $GREP force_load conftest.err; then
     12536        cat conftest.err >&5
     12537      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
     12538        lt_cv_ld_force_load=yes
     12539      else
     12540        cat conftest.err >&5
     12541      fi
     12542        rm -f conftest.err libconftest.a conftest conftest.c
     12543        rm -rf conftest.dSYM
     12544
     12545fi
     12546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
     12547$as_echo "$lt_cv_ld_force_load" >&6; }
     12548    case $host_os in
     12549    rhapsody* | darwin1.[012])
     12550      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
     12551    darwin1.*)
     12552      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
     12553    darwin*) # darwin 5.x on
     12554      # if running on 10.5 or later, the deployment target defaults
     12555      # to the OS version, if on x86, and 10.4, the deployment
     12556      # target defaults to 10.4. Don't you love it?
     12557      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
     12558        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
     12559          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
     12560        10.[012]*)
     12561          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
     12562        10.*)
     12563          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
     12564      esac
     12565    ;;
     12566  esac
     12567    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
     12568      _lt_dar_single_mod='$single_module'
     12569    fi
     12570    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
     12571      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
     12572    else
     12573      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
     12574    fi
     12575    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
     12576      _lt_dsymutil='~$DSYMUTIL $lib || :'
     12577    else
     12578      _lt_dsymutil=
     12579    fi
     12580    ;;
     12581  esac
     12582
     12583for ac_header in dlfcn.h
     12584do :
     12585  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
     12586"
     12587if test "x$ac_cv_header_dlfcn_h" = xyes; then :
     12588  cat >>confdefs.h <<_ACEOF
     12589#define HAVE_DLFCN_H 1
     12590_ACEOF
     12591
     12592fi
     12593
     12594done
     12595
     12596
     12597
     12598func_stripname_cnf ()
     12599{
     12600  case ${2} in
     12601  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
     12602  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
     12603  esac
     12604} # func_stripname_cnf
     12605
     12606
     12607
     12608
     12609
     12610# Set options
     12611
     12612
     12613
     12614        enable_dlopen=no
     12615
     12616
     12617  enable_win32_dll=no
     12618
     12619
     12620
     12621  # Check whether --enable-static was given.
     12622if test "${enable_static+set}" = set; then :
     12623  enableval=$enable_static; p=${PACKAGE-default}
     12624    case $enableval in
     12625    yes) enable_static=yes ;;
     12626    no) enable_static=no ;;
     12627    *)
     12628     enable_static=no
     12629      # Look at the argument we got.  We use all the common list separators.
     12630      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
     12631      for pkg in $enableval; do
     12632        IFS="$lt_save_ifs"
     12633        if test "X$pkg" = "X$p"; then
     12634          enable_static=yes
     12635        fi
     12636      done
     12637      IFS="$lt_save_ifs"
     12638      ;;
     12639    esac
     12640else
     12641  enable_static=yes
     12642fi
     12643
     12644
     12645
     12646
     12647
     12648
     12649
     12650
     12651
     12652
     12653# Check whether --with-pic was given.
     12654if test "${with_pic+set}" = set; then :
     12655  withval=$with_pic; lt_p=${PACKAGE-default}
     12656    case $withval in
     12657    yes|no) pic_mode=$withval ;;
     12658    *)
     12659      pic_mode=default
     12660      # Look at the argument we got.  We use all the common list separators.
     12661      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
     12662      for lt_pkg in $withval; do
     12663        IFS="$lt_save_ifs"
     12664        if test "X$lt_pkg" = "X$lt_p"; then
     12665          pic_mode=yes
     12666        fi
     12667      done
     12668      IFS="$lt_save_ifs"
     12669      ;;
     12670    esac
     12671else
     12672  pic_mode=default
     12673fi
     12674
     12675
     12676test -z "$pic_mode" && pic_mode=default
     12677
     12678
     12679
     12680
     12681
     12682
     12683
     12684  # Check whether --enable-fast-install was given.
     12685if test "${enable_fast_install+set}" = set; then :
     12686  enableval=$enable_fast_install; p=${PACKAGE-default}
     12687    case $enableval in
     12688    yes) enable_fast_install=yes ;;
     12689    no) enable_fast_install=no ;;
     12690    *)
     12691      enable_fast_install=no
     12692      # Look at the argument we got.  We use all the common list separators.
     12693      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
     12694      for pkg in $enableval; do
     12695        IFS="$lt_save_ifs"
     12696        if test "X$pkg" = "X$p"; then
     12697          enable_fast_install=yes
     12698        fi
     12699      done
     12700      IFS="$lt_save_ifs"
     12701      ;;
     12702    esac
     12703else
     12704  enable_fast_install=yes
     12705fi
     12706
     12707
     12708
     12709
     12710
     12711
     12712
     12713
     12714
     12715
     12716
     12717# This can be used to rebuild libtool when needed
     12718LIBTOOL_DEPS="$ltmain"
     12719
     12720# Always use our own libtool.
     12721LIBTOOL='$(SHELL) $(top_builddir)/libtool'
     12722
     12723
     12724
     12725
     12726
     12727
     12728
     12729
     12730
     12731
     12732
     12733
     12734
     12735
     12736
     12737
     12738
     12739
     12740
     12741
     12742
     12743
     12744
     12745
     12746
     12747
     12748
     12749
     12750
     12751
     12752test -z "$LN_S" && LN_S="ln -s"
     12753
     12754
     12755
     12756
     12757
     12758
     12759
     12760
     12761
     12762
     12763
     12764
     12765
     12766
     12767if test -n "${ZSH_VERSION+set}" ; then
     12768   setopt NO_GLOB_SUBST
     12769fi
     12770
     12771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
     12772$as_echo_n "checking for objdir... " >&6; }
     12773if ${lt_cv_objdir+:} false; then :
     12774  $as_echo_n "(cached) " >&6
    1563712775else
    1563812776  rm -f .libs 2>/dev/null
     
    1564612784rmdir .libs 2>/dev/null
    1564712785fi
    15648 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
    15649 echo "${ECHO_T}$lt_cv_objdir" >&6
     12786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
     12787$as_echo "$lt_cv_objdir" >&6; }
    1565012788objdir=$lt_cv_objdir
    1565112789
     12790
     12791
     12792
     12793
     12794cat >>confdefs.h <<_ACEOF
     12795#define LT_OBJDIR "$lt_cv_objdir/"
     12796_ACEOF
    1565212797
    1565312798
     
    1566612811esac
    1566712812
    15668 # Sed substitution that helps us do robust quoting.  It backslashifies
    15669 # metacharacters that are still active within double-quoted strings.
    15670 Xsed='sed -e 1s/^X//'
    15671 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
    15672 
    15673 # Same as above, but do not quote variable references.
    15674 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
    15675 
    15676 # Sed substitution to delay expansion of an escaped shell variable in a
    15677 # double_quote_subst'ed string.
    15678 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
    15679 
    15680 # Sed substitution to avoid accidental globbing in evaled expressions
    15681 no_glob_subst='s/\*/\\\*/g'
    15682 
    15683 # Constants:
    15684 rm="rm -f"
    15685 
    1568612813# Global variables:
    15687 default_ofile=libtool
     12814ofile=libtool
    1568812815can_build_shared=yes
    1568912816
     
    1569112818# which needs '.lib').
    1569212819libext=a
    15693 ltmain="$ac_aux_dir/ltmain.sh"
    15694 ofile="$default_ofile"
     12820
    1569512821with_gnu_ld="$lt_cv_prog_gnu_ld"
    15696 
    15697 if test -n "$ac_tool_prefix"; then
    15698   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
    15699 set dummy ${ac_tool_prefix}ar; ac_word=$2
    15700 echo "$as_me:$LINENO: checking for $ac_word" >&5
    15701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    15702 if test "${ac_cv_prog_AR+set}" = set; then
    15703   echo $ECHO_N "(cached) $ECHO_C" >&6
    15704 else
    15705   if test -n "$AR"; then
    15706   ac_cv_prog_AR="$AR" # Let the user override the test.
    15707 else
    15708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    15709 for as_dir in $PATH
    15710 do
    15711   IFS=$as_save_IFS
    15712   test -z "$as_dir" && as_dir=.
    15713   for ac_exec_ext in '' $ac_executable_extensions; do
    15714   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    15715     ac_cv_prog_AR="${ac_tool_prefix}ar"
    15716     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    15717     break 2
    15718   fi
    15719 done
    15720 done
    15721 
    15722 fi
    15723 fi
    15724 AR=$ac_cv_prog_AR
    15725 if test -n "$AR"; then
    15726   echo "$as_me:$LINENO: result: $AR" >&5
    15727 echo "${ECHO_T}$AR" >&6
    15728 else
    15729   echo "$as_me:$LINENO: result: no" >&5
    15730 echo "${ECHO_T}no" >&6
    15731 fi
    15732 
    15733 fi
    15734 if test -z "$ac_cv_prog_AR"; then
    15735   ac_ct_AR=$AR
    15736   # Extract the first word of "ar", so it can be a program name with args.
    15737 set dummy ar; ac_word=$2
    15738 echo "$as_me:$LINENO: checking for $ac_word" >&5
    15739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    15740 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
    15741   echo $ECHO_N "(cached) $ECHO_C" >&6
    15742 else
    15743   if test -n "$ac_ct_AR"; then
    15744   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
    15745 else
    15746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    15747 for as_dir in $PATH
    15748 do
    15749   IFS=$as_save_IFS
    15750   test -z "$as_dir" && as_dir=.
    15751   for ac_exec_ext in '' $ac_executable_extensions; do
    15752   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    15753     ac_cv_prog_ac_ct_AR="ar"
    15754     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    15755     break 2
    15756   fi
    15757 done
    15758 done
    15759 
    15760   test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
    15761 fi
    15762 fi
    15763 ac_ct_AR=$ac_cv_prog_ac_ct_AR
    15764 if test -n "$ac_ct_AR"; then
    15765   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
    15766 echo "${ECHO_T}$ac_ct_AR" >&6
    15767 else
    15768   echo "$as_me:$LINENO: result: no" >&5
    15769 echo "${ECHO_T}no" >&6
    15770 fi
    15771 
    15772   AR=$ac_ct_AR
    15773 else
    15774   AR="$ac_cv_prog_AR"
    15775 fi
    15776 
    15777 if test -n "$ac_tool_prefix"; then
    15778   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    15779 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    15780 echo "$as_me:$LINENO: checking for $ac_word" >&5
    15781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    15782 if test "${ac_cv_prog_RANLIB+set}" = set; then
    15783   echo $ECHO_N "(cached) $ECHO_C" >&6
    15784 else
    15785   if test -n "$RANLIB"; then
    15786   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    15787 else
    15788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    15789 for as_dir in $PATH
    15790 do
    15791   IFS=$as_save_IFS
    15792   test -z "$as_dir" && as_dir=.
    15793   for ac_exec_ext in '' $ac_executable_extensions; do
    15794   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    15795     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    15796     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    15797     break 2
    15798   fi
    15799 done
    15800 done
    15801 
    15802 fi
    15803 fi
    15804 RANLIB=$ac_cv_prog_RANLIB
    15805 if test -n "$RANLIB"; then
    15806   echo "$as_me:$LINENO: result: $RANLIB" >&5
    15807 echo "${ECHO_T}$RANLIB" >&6
    15808 else
    15809   echo "$as_me:$LINENO: result: no" >&5
    15810 echo "${ECHO_T}no" >&6
    15811 fi
    15812 
    15813 fi
    15814 if test -z "$ac_cv_prog_RANLIB"; then
    15815   ac_ct_RANLIB=$RANLIB
    15816   # Extract the first word of "ranlib", so it can be a program name with args.
    15817 set dummy ranlib; ac_word=$2
    15818 echo "$as_me:$LINENO: checking for $ac_word" >&5
    15819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    15820 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    15821   echo $ECHO_N "(cached) $ECHO_C" >&6
    15822 else
    15823   if test -n "$ac_ct_RANLIB"; then
    15824   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
    15825 else
    15826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    15827 for as_dir in $PATH
    15828 do
    15829   IFS=$as_save_IFS
    15830   test -z "$as_dir" && as_dir=.
    15831   for ac_exec_ext in '' $ac_executable_extensions; do
    15832   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    15833     ac_cv_prog_ac_ct_RANLIB="ranlib"
    15834     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    15835     break 2
    15836   fi
    15837 done
    15838 done
    15839 
    15840   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
    15841 fi
    15842 fi
    15843 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    15844 if test -n "$ac_ct_RANLIB"; then
    15845   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    15846 echo "${ECHO_T}$ac_ct_RANLIB" >&6
    15847 else
    15848   echo "$as_me:$LINENO: result: no" >&5
    15849 echo "${ECHO_T}no" >&6
    15850 fi
    15851 
    15852   RANLIB=$ac_ct_RANLIB
    15853 else
    15854   RANLIB="$ac_cv_prog_RANLIB"
    15855 fi
    15856 
    15857 if test -n "$ac_tool_prefix"; then
    15858   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
    15859 set dummy ${ac_tool_prefix}strip; ac_word=$2
    15860 echo "$as_me:$LINENO: checking for $ac_word" >&5
    15861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    15862 if test "${ac_cv_prog_STRIP+set}" = set; then
    15863   echo $ECHO_N "(cached) $ECHO_C" >&6
    15864 else
    15865   if test -n "$STRIP"; then
    15866   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
    15867 else
    15868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    15869 for as_dir in $PATH
    15870 do
    15871   IFS=$as_save_IFS
    15872   test -z "$as_dir" && as_dir=.
    15873   for ac_exec_ext in '' $ac_executable_extensions; do
    15874   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    15875     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
    15876     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    15877     break 2
    15878   fi
    15879 done
    15880 done
    15881 
    15882 fi
    15883 fi
    15884 STRIP=$ac_cv_prog_STRIP
    15885 if test -n "$STRIP"; then
    15886   echo "$as_me:$LINENO: result: $STRIP" >&5
    15887 echo "${ECHO_T}$STRIP" >&6
    15888 else
    15889   echo "$as_me:$LINENO: result: no" >&5
    15890 echo "${ECHO_T}no" >&6
    15891 fi
    15892 
    15893 fi
    15894 if test -z "$ac_cv_prog_STRIP"; then
    15895   ac_ct_STRIP=$STRIP
    15896   # Extract the first word of "strip", so it can be a program name with args.
    15897 set dummy strip; ac_word=$2
    15898 echo "$as_me:$LINENO: checking for $ac_word" >&5
    15899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    15900 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
    15901   echo $ECHO_N "(cached) $ECHO_C" >&6
    15902 else
    15903   if test -n "$ac_ct_STRIP"; then
    15904   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
    15905 else
    15906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    15907 for as_dir in $PATH
    15908 do
    15909   IFS=$as_save_IFS
    15910   test -z "$as_dir" && as_dir=.
    15911   for ac_exec_ext in '' $ac_executable_extensions; do
    15912   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    15913     ac_cv_prog_ac_ct_STRIP="strip"
    15914     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    15915     break 2
    15916   fi
    15917 done
    15918 done
    15919 
    15920   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
    15921 fi
    15922 fi
    15923 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
    15924 if test -n "$ac_ct_STRIP"; then
    15925   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
    15926 echo "${ECHO_T}$ac_ct_STRIP" >&6
    15927 else
    15928   echo "$as_me:$LINENO: result: no" >&5
    15929 echo "${ECHO_T}no" >&6
    15930 fi
    15931 
    15932   STRIP=$ac_ct_STRIP
    15933 else
    15934   STRIP="$ac_cv_prog_STRIP"
    15935 fi
    15936 
    1593712822
    1593812823old_CC="$CC"
     
    1594012825
    1594112826# Set sane defaults for various variables
    15942 test -z "$AR" && AR=ar
    15943 test -z "$AR_FLAGS" && AR_FLAGS=cru
    15944 test -z "$AS" && AS=as
    1594512827test -z "$CC" && CC=cc
    1594612828test -z "$LTCC" && LTCC=$CC
    1594712829test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
    15948 test -z "$DLLTOOL" && DLLTOOL=dlltool
    1594912830test -z "$LD" && LD=ld
    15950 test -z "$LN_S" && LN_S="ln -s"
    15951 test -z "$MAGIC_CMD" && MAGIC_CMD=file
    15952 test -z "$NM" && NM=nm
    15953 test -z "$SED" && SED=sed
    15954 test -z "$OBJDUMP" && OBJDUMP=objdump
    15955 test -z "$RANLIB" && RANLIB=:
    15956 test -z "$STRIP" && STRIP=:
    1595712831test -z "$ac_objext" && ac_objext=o
    15958 
    15959 # Determine commands to create old-style static archives.
    15960 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
    15961 old_postinstall_cmds='chmod 644 $oldlib'
    15962 old_postuninstall_cmds=
    15963 
    15964 if test -n "$RANLIB"; then
    15965   case $host_os in
    15966   openbsd*)
    15967     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
    15968     ;;
    15969   *)
    15970     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
    15971     ;;
    15972   esac
    15973   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
    15974 fi
    1597512832
    1597612833for cc_temp in $compiler""; do
     
    1598212839  esac
    1598312840done
    15984 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
     12841cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
    1598512842
    1598612843
    1598712844# Only perform the check for file, if the check method requires it
     12845test -z "$MAGIC_CMD" && MAGIC_CMD=file
    1598812846case $deplibs_check_method in
    1598912847file_magic*)
    1599012848  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
    15991     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
    15992 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
    15993 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
    15994   echo $ECHO_N "(cached) $ECHO_C" >&6
     12849    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
     12850$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
     12851if ${lt_cv_path_MAGIC_CMD+:} false; then :
     12852  $as_echo_n "(cached) " >&6
    1599512853else
    1599612854  case $MAGIC_CMD in
     
    1601612874            :
    1601712875          else
    16018             cat <<EOF 1>&2
     12876            cat <<_LT_EOF 1>&2
    1601912877
    1602012878*** Warning: the command libtool uses to detect shared libraries,
     
    1602712885*** bug-libtool@gnu.org
    1602812886
    16029 EOF
     12887_LT_EOF
    1603012888          fi ;;
    1603112889        esac
     
    1604212900MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
    1604312901if test -n "$MAGIC_CMD"; then
    16044   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
    16045 echo "${ECHO_T}$MAGIC_CMD" >&6
    16046 else
    16047   echo "$as_me:$LINENO: result: no" >&5
    16048 echo "${ECHO_T}no" >&6
    16049 fi
     12902  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
     12903$as_echo "$MAGIC_CMD" >&6; }
     12904else
     12905  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     12906$as_echo "no" >&6; }
     12907fi
     12908
     12909
     12910
     12911
    1605012912
    1605112913if test -z "$lt_cv_path_MAGIC_CMD"; then
    1605212914  if test -n "$ac_tool_prefix"; then
    16053     echo "$as_me:$LINENO: checking for file" >&5
    16054 echo $ECHO_N "checking for file... $ECHO_C" >&6
    16055 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
    16056   echo $ECHO_N "(cached) $ECHO_C" >&6
     12915    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
     12916$as_echo_n "checking for file... " >&6; }
     12917if ${lt_cv_path_MAGIC_CMD+:} false; then :
     12918  $as_echo_n "(cached) " >&6
    1605712919else
    1605812920  case $MAGIC_CMD in
     
    1607812940            :
    1607912941          else
    16080             cat <<EOF 1>&2
     12942            cat <<_LT_EOF 1>&2
    1608112943
    1608212944*** Warning: the command libtool uses to detect shared libraries,
     
    1608912951*** bug-libtool@gnu.org
    1609012952
    16091 EOF
     12953_LT_EOF
    1609212954          fi ;;
    1609312955        esac
     
    1610412966MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
    1610512967if test -n "$MAGIC_CMD"; then
    16106   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
    16107 echo "${ECHO_T}$MAGIC_CMD" >&6
    16108 else
    16109   echo "$as_me:$LINENO: result: no" >&5
    16110 echo "${ECHO_T}no" >&6
    16111 fi
     12968  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
     12969$as_echo "$MAGIC_CMD" >&6; }
     12970else
     12971  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     12972$as_echo "no" >&6; }
     12973fi
     12974
    1611212975
    1611312976  else
     
    1612012983esac
    1612112984
    16122 enable_dlopen=no
    16123 enable_win32_dll=no
    16124 
    16125 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
    16126 if test "${enable_libtool_lock+set}" = set; then
    16127   enableval="$enable_libtool_lock"
    16128 
    16129 fi;
    16130 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
    16131 
    16132 
    16133 # Check whether --with-pic or --without-pic was given.
    16134 if test "${with_pic+set}" = set; then
    16135   withval="$with_pic"
    16136   pic_mode="$withval"
    16137 else
    16138   pic_mode=default
    16139 fi;
    16140 test -z "$pic_mode" && pic_mode=default
    16141 
    16142 # Check if we have a version mismatch between libtool.m4 and ltmain.sh.
    16143 #
    16144 # Note:  This should be in AC_LIBTOOL_SETUP, _after_ $ltmain have been defined.
    16145 #        We also should do it _before_ AC_LIBTOOL_LANG_C_CONFIG that actually
    16146 #        calls AC_LIBTOOL_CONFIG and creates libtool.
    16147 #
    16148 echo "$as_me:$LINENO: checking for correct ltmain.sh version" >&5
    16149 echo $ECHO_N "checking for correct ltmain.sh version... $ECHO_C" >&6
    16150 if test "x$ltmain" = "x" ; then
    16151   echo "$as_me:$LINENO: result: no" >&5
    16152 echo "${ECHO_T}no" >&6
    16153   { { echo "$as_me:$LINENO: error:
    16154 
    16155 *** [Gentoo] sanity check failed! ***
    16156 *** \$ltmain is not defined, please check the patch for consistency! ***
    16157 " >&5
    16158 echo "$as_me: error:
    16159 
    16160 *** [Gentoo] sanity check failed! ***
    16161 *** \$ltmain is not defined, please check the patch for consistency! ***
    16162 " >&2;}
    16163    { (exit 1); exit 1; }; }
    16164 fi
    16165 gentoo_lt_version="1.5.22"
    16166 gentoo_ltmain_version=`sed -n '/^[      ]*VERSION=/{s/^[        ]*VERSION=//;p;q;}' "$ltmain"`
    16167 if test "x$gentoo_lt_version" != "x$gentoo_ltmain_version" ; then
    16168   echo "$as_me:$LINENO: result: no" >&5
    16169 echo "${ECHO_T}no" >&6
    16170   { { echo "$as_me:$LINENO: error:
    16171 
    16172 *** [Gentoo] sanity check failed! ***
    16173 *** libtool.m4 and ltmain.sh have a version mismatch! ***
    16174 *** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***
    16175 
    16176 Please run:
    16177 
    16178   libtoolize --copy --force
    16179 
    16180 if appropriate, please contact the maintainer of this
    16181 package (or your distribution) for help.
    16182 " >&5
    16183 echo "$as_me: error:
    16184 
    16185 *** [Gentoo] sanity check failed! ***
    16186 *** libtool.m4 and ltmain.sh have a version mismatch! ***
    16187 *** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***
    16188 
    16189 Please run:
    16190 
    16191   libtoolize --copy --force
    16192 
    16193 if appropriate, please contact the maintainer of this
    16194 package (or your distribution) for help.
    16195 " >&2;}
    16196    { (exit 1); exit 1; }; }
    16197 else
    16198   echo "$as_me:$LINENO: result: yes" >&5
    16199 echo "${ECHO_T}yes" >&6
    16200 fi
    16201 
    16202 
    1620312985# Use C for the default configuration in the libtool script
    16204 tagname=
     12986
    1620512987lt_save_CC="$CC"
    1620612988ac_ext=c
     
    1621913001
    1622013002# Code to be used in simple compile tests
    16221 lt_simple_compile_test_code="int some_variable = 0;\n"
     13003lt_simple_compile_test_code="int some_variable = 0;"
    1622213004
    1622313005# Code to be used in simple link tests
    16224 lt_simple_link_test_code='int main(){return(0);}\n'
     13006lt_simple_link_test_code='int main(){return(0);}'
     13007
     13008
     13009
     13010
     13011
    1622513012
    1622613013
     
    1623413021compiler=$CC
    1623513022
     13023# Save the default compiler, since it gets overwritten when the other
     13024# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
     13025compiler_DEFAULT=$CC
    1623613026
    1623713027# save warnings/boilerplate of simple test code
    1623813028ac_outfile=conftest.$ac_objext
    16239 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
     13029echo "$lt_simple_compile_test_code" >conftest.$ac_ext
    1624013030eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
    1624113031_lt_compiler_boilerplate=`cat conftest.err`
    16242 $rm conftest*
     13032$RM conftest*
    1624313033
    1624413034ac_outfile=conftest.$ac_objext
    16245 printf "$lt_simple_link_test_code" >conftest.$ac_ext
     13035echo "$lt_simple_link_test_code" >conftest.$ac_ext
    1624613036eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
    1624713037_lt_linker_boilerplate=`cat conftest.err`
    16248 $rm conftest*
    16249 
    16250 
    16251 ## CAVEAT EMPTOR:
    16252 ## There is no encapsulation within the following macros, do not change
    16253 ## the running order or otherwise move them around unless you know exactly
    16254 ## what you are doing...
     13038$RM -r conftest*
     13039
     13040
     13041if test -n "$compiler"; then
    1625513042
    1625613043lt_prog_compiler_no_builtin_flag=
    1625713044
    1625813045if test "$GCC" = yes; then
    16259   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
    16260 
    16261 
    16262 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
    16263 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
    16264 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
    16265   echo $ECHO_N "(cached) $ECHO_C" >&6
     13046  case $cc_basename in
     13047  nvcc*)
     13048    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
     13049  *)
     13050    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
     13051  esac
     13052
     13053  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
     13054$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
     13055if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
     13056  $as_echo_n "(cached) " >&6
    1626613057else
    1626713058  lt_cv_prog_compiler_rtti_exceptions=no
    16268   ac_outfile=conftest.$ac_objext
    16269    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
     13059   ac_outfile=conftest.$ac_objext
     13060   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    1627013061   lt_compiler_flag="-fno-rtti -fno-exceptions"
    1627113062   # Insert the option either (1) after the last *FLAGS variable, or
     
    1627813069   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1627913070   -e 's:$: $lt_compiler_flag:'`
    16280    (eval echo "\"\$as_me:16280: $lt_compile\"" >&5)
     13071   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    1628113072   (eval "$lt_compile" 2>conftest.err)
    1628213073   ac_status=$?
    1628313074   cat conftest.err >&5
    16284    echo "$as_me:16284: \$? = $ac_status" >&5
     13075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1628513076   if (exit $ac_status) && test -s "$ac_outfile"; then
    1628613077     # The compiler can only warn and ignore the option if not recognized
    1628713078     # So say no if there are warnings other than the usual output.
    16288      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
     13079     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
    1628913080     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    1629013081     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
     
    1629213083     fi
    1629313084   fi
    16294    $rm conftest*
    16295 
    16296 fi
    16297 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
    16298 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
     13085   $RM conftest*
     13086
     13087fi
     13088{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
     13089$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
    1629913090
    1630013091if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
     
    1630613097fi
    1630713098
    16308 lt_prog_compiler_wl=
     13099
     13100
     13101
     13102
     13103
     13104  lt_prog_compiler_wl=
    1630913105lt_prog_compiler_pic=
    1631013106lt_prog_compiler_static=
    1631113107
    16312 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
    16313 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
    1631413108
    1631513109  if test "$GCC" = yes; then
     
    1632713121
    1632813122    amigaos*)
    16329       # FIXME: we need at least 68020 code to build shared libraries, but
    16330       # adding the `-m68020' flag to GCC prevents building anything better,
    16331       # like `-m68040'.
    16332       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
     13123      case $host_cpu in
     13124      powerpc)
     13125            # see comment about AmigaOS4 .so support
     13126            lt_prog_compiler_pic='-fPIC'
     13127        ;;
     13128      m68k)
     13129            # FIXME: we need at least 68020 code to build shared libraries, but
     13130            # adding the `-m68020' flag to GCC prevents building anything better,
     13131            # like `-m68040'.
     13132            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
     13133        ;;
     13134      esac
    1633313135      ;;
    1633413136
    16335     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
     13137    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
    1633613138      # PIC is the default for these OSes.
    1633713139      ;;
    1633813140
    16339     mingw* | pw32* | os2*)
     13141    mingw* | cygwin* | pw32* | os2* | cegcc*)
    1634013142      # This hack is so that the source file can tell whether it is being
    1634113143      # built for inclusion in a dll (and should export symbols for example).
     13144      # Although the cygwin gcc ignores -fPIC, still need this for old-style
     13145      # (--disable-auto-import) libraries
    1634213146      lt_prog_compiler_pic='-DDLL_EXPORT'
    1634313147      ;;
     
    1634913153      ;;
    1635013154
    16351     interix3*)
    16352       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
    16353       # Instead, we relocate shared libraries at runtime.
     13155    haiku*)
     13156      # PIC is the default for Haiku.
     13157      # The "-static" flag exists, but is broken.
     13158      lt_prog_compiler_static=
    1635413159      ;;
    1635513160
    16356     msdosdjgpp*)
    16357       # Just because we use GCC doesn't mean we suddenly get shared libraries
    16358       # on systems that don't support them.
    16359       lt_prog_compiler_can_build_shared=no
    16360       enable_shared=no
    16361       ;;
    16362 
    16363     sysv4*MP*)
    16364       if test -d /usr/nec; then
    16365         lt_prog_compiler_pic=-Kconform_pic
    16366       fi
    16367       ;;
    16368 
    1636913161    hpux*)
    16370       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
    16371       # not for PA HP-UX.
     13162      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
     13163      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
     13164      # sets the default TLS model and affects inlining.
    1637213165      case $host_cpu in
    16373       hppa*64*|ia64*)
     13166      hppa*64*)
    1637413167        # +Z the default
    1637513168        ;;
     
    1638013173      ;;
    1638113174
     13175    interix[3-9]*)
     13176      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
     13177      # Instead, we relocate shared libraries at runtime.
     13178      ;;
     13179
     13180    msdosdjgpp*)
     13181      # Just because we use GCC doesn't mean we suddenly get shared libraries
     13182      # on systems that don't support them.
     13183      lt_prog_compiler_can_build_shared=no
     13184      enable_shared=no
     13185      ;;
     13186
     13187    *nto* | *qnx*)
     13188      # QNX uses GNU C++, but need to define -shared option too, otherwise
     13189      # it will coredump.
     13190      lt_prog_compiler_pic='-fPIC -shared'
     13191      ;;
     13192
     13193    sysv4*MP*)
     13194      if test -d /usr/nec; then
     13195        lt_prog_compiler_pic=-Kconform_pic
     13196      fi
     13197      ;;
     13198
    1638213199    *)
    1638313200      lt_prog_compiler_pic='-fPIC'
     13201      ;;
     13202    esac
     13203
     13204    case $cc_basename in
     13205    nvcc*) # Cuda Compiler Driver 2.2
     13206      lt_prog_compiler_wl='-Xlinker '
     13207      if test -n "$lt_prog_compiler_pic"; then
     13208        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
     13209      fi
    1638413210      ;;
    1638513211    esac
     
    1639613222      fi
    1639713223      ;;
    16398       darwin*)
    16399         # PIC is the default on this platform
    16400         # Common symbols not allowed in MH_DYLIB files
    16401        case $cc_basename in
    16402          xlc*)
    16403          lt_prog_compiler_pic='-qnocommon'
    16404          lt_prog_compiler_wl='-Wl,'
    16405          ;;
    16406        esac
    16407        ;;
    16408 
    16409     mingw* | pw32* | os2*)
     13224
     13225    mingw* | cygwin* | pw32* | os2* | cegcc*)
    1641013226      # This hack is so that the source file can tell whether it is being
    1641113227      # built for inclusion in a dll (and should export symbols for example).
     
    1643513251      ;;
    1643613252
    16437     newsos6)
    16438       lt_prog_compiler_pic='-KPIC'
    16439       lt_prog_compiler_static='-Bstatic'
    16440       ;;
    16441 
    16442     linux*)
     13253    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    1644313254      case $cc_basename in
    16444       icc* | ecc*)
     13255      # old Intel for x86_64 which still supported -KPIC.
     13256      ecc*)
    1644513257        lt_prog_compiler_wl='-Wl,'
    1644613258        lt_prog_compiler_pic='-KPIC'
    1644713259        lt_prog_compiler_static='-static'
    1644813260        ;;
    16449       pgcc* | pgf77* | pgf90* | pgf95*)
     13261      # icc used to be incompatible with GCC.
     13262      # ICC 10 doesn't accept -KPIC any more.
     13263      icc* | ifort*)
     13264        lt_prog_compiler_wl='-Wl,'
     13265        lt_prog_compiler_pic='-fPIC'
     13266        lt_prog_compiler_static='-static'
     13267        ;;
     13268      # Lahey Fortran 8.1.
     13269      lf95*)
     13270        lt_prog_compiler_wl='-Wl,'
     13271        lt_prog_compiler_pic='--shared'
     13272        lt_prog_compiler_static='--static'
     13273        ;;
     13274      nagfor*)
     13275        # NAG Fortran compiler
     13276        lt_prog_compiler_wl='-Wl,-Wl,,'
     13277        lt_prog_compiler_pic='-PIC'
     13278        lt_prog_compiler_static='-Bstatic'
     13279        ;;
     13280      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
    1645013281        # Portland Group compilers (*not* the Pentium gcc compiler,
    1645113282        # which looks to be a dead project)
     
    1645913290        lt_prog_compiler_static='-non_shared'
    1646013291        ;;
     13292      xl* | bgxl* | bgf* | mpixl*)
     13293        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
     13294        lt_prog_compiler_wl='-Wl,'
     13295        lt_prog_compiler_pic='-qpic'
     13296        lt_prog_compiler_static='-qstaticlink'
     13297        ;;
     13298      *)
     13299        case `$CC -V 2>&1 | sed 5q` in
     13300        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
     13301          # Sun Fortran 8.3 passes all unrecognized flags to the linker
     13302          lt_prog_compiler_pic='-KPIC'
     13303          lt_prog_compiler_static='-Bstatic'
     13304          lt_prog_compiler_wl=''
     13305          ;;
     13306        *Sun\ F* | *Sun*Fortran*)
     13307          lt_prog_compiler_pic='-KPIC'
     13308          lt_prog_compiler_static='-Bstatic'
     13309          lt_prog_compiler_wl='-Qoption ld '
     13310          ;;
     13311        *Sun\ C*)
     13312          # Sun C 5.9
     13313          lt_prog_compiler_pic='-KPIC'
     13314          lt_prog_compiler_static='-Bstatic'
     13315          lt_prog_compiler_wl='-Wl,'
     13316          ;;
     13317        *Intel*\ [CF]*Compiler*)
     13318          lt_prog_compiler_wl='-Wl,'
     13319          lt_prog_compiler_pic='-fPIC'
     13320          lt_prog_compiler_static='-static'
     13321          ;;
     13322        *Portland\ Group*)
     13323          lt_prog_compiler_wl='-Wl,'
     13324          lt_prog_compiler_pic='-fpic'
     13325          lt_prog_compiler_static='-Bstatic'
     13326          ;;
     13327        esac
     13328        ;;
    1646113329      esac
     13330      ;;
     13331
     13332    newsos6)
     13333      lt_prog_compiler_pic='-KPIC'
     13334      lt_prog_compiler_static='-Bstatic'
     13335      ;;
     13336
     13337    *nto* | *qnx*)
     13338      # QNX uses GNU C++, but need to define -shared option too, otherwise
     13339      # it will coredump.
     13340      lt_prog_compiler_pic='-fPIC -shared'
    1646213341      ;;
    1646313342
     
    1646813347      ;;
    1646913348
     13349    rdos*)
     13350      lt_prog_compiler_static='-non_shared'
     13351      ;;
     13352
    1647013353    solaris*)
    1647113354      lt_prog_compiler_pic='-KPIC'
    1647213355      lt_prog_compiler_static='-Bstatic'
    1647313356      case $cc_basename in
    16474       f77* | f90* | f95*)
     13357      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
    1647513358        lt_prog_compiler_wl='-Qoption ld ';;
    1647613359      *)
     
    1652013403  fi
    1652113404
    16522 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
    16523 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
     13405case $host_os in
     13406  # For platforms which do not support PIC, -DPIC is meaningless:
     13407  *djgpp*)
     13408    lt_prog_compiler_pic=
     13409    ;;
     13410  *)
     13411    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
     13412    ;;
     13413esac
     13414
     13415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
     13416$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
     13417if ${lt_cv_prog_compiler_pic+:} false; then :
     13418  $as_echo_n "(cached) " >&6
     13419else
     13420  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
     13421fi
     13422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
     13423$as_echo "$lt_cv_prog_compiler_pic" >&6; }
     13424lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
    1652413425
    1652513426#
     
    1652713428#
    1652813429if test -n "$lt_prog_compiler_pic"; then
    16529 
    16530 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
    16531 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
    16532 if test "${lt_prog_compiler_pic_works+set}" = set; then
    16533   echo $ECHO_N "(cached) $ECHO_C" >&6
    16534 else
    16535   lt_prog_compiler_pic_works=no
    16536   ac_outfile=conftest.$ac_objext
    16537    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
     13430  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
     13431$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
     13432if ${lt_cv_prog_compiler_pic_works+:} false; then :
     13433  $as_echo_n "(cached) " >&6
     13434else
     13435  lt_cv_prog_compiler_pic_works=no
     13436   ac_outfile=conftest.$ac_objext
     13437   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    1653813438   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
    1653913439   # Insert the option either (1) after the last *FLAGS variable, or
     
    1654613446   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1654713447   -e 's:$: $lt_compiler_flag:'`
    16548    (eval echo "\"\$as_me:16548: $lt_compile\"" >&5)
     13448   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    1654913449   (eval "$lt_compile" 2>conftest.err)
    1655013450   ac_status=$?
    1655113451   cat conftest.err >&5
    16552    echo "$as_me:16552: \$? = $ac_status" >&5
     13452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1655313453   if (exit $ac_status) && test -s "$ac_outfile"; then
    1655413454     # The compiler can only warn and ignore the option if not recognized
    1655513455     # So say no if there are warnings other than the usual output.
    16556      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
     13456     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
    1655713457     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    1655813458     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
    16559        lt_prog_compiler_pic_works=yes
     13459       lt_cv_prog_compiler_pic_works=yes
    1656013460     fi
    1656113461   fi
    16562    $rm conftest*
    16563 
    16564 fi
    16565 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
    16566 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
    16567 
    16568 if test x"$lt_prog_compiler_pic_works" = xyes; then
     13462   $RM conftest*
     13463
     13464fi
     13465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
     13466$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
     13467
     13468if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
    1656913469    case $lt_prog_compiler_pic in
    1657013470     "" | " "*) ;;
     
    1657713477
    1657813478fi
    16579 case $host_os in
    16580   # For platforms which do not support PIC, -DPIC is meaningless:
    16581   *djgpp*)
    16582     lt_prog_compiler_pic=
    16583     ;;
    16584   *)
    16585     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
    16586     ;;
    16587 esac
     13479
     13480
     13481
     13482
     13483
     13484
     13485
     13486
     13487
     13488
    1658813489
    1658913490#
     
    1659113492#
    1659213493wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
    16593 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
    16594 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
    16595 if test "${lt_prog_compiler_static_works+set}" = set; then
    16596   echo $ECHO_N "(cached) $ECHO_C" >&6
    16597 else
    16598   lt_prog_compiler_static_works=no
     13494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
     13495$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
     13496if ${lt_cv_prog_compiler_static_works+:} false; then :
     13497  $as_echo_n "(cached) " >&6
     13498else
     13499  lt_cv_prog_compiler_static_works=no
    1659913500   save_LDFLAGS="$LDFLAGS"
    1660013501   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
    16601    printf "$lt_simple_link_test_code" > conftest.$ac_ext
     13502   echo "$lt_simple_link_test_code" > conftest.$ac_ext
    1660213503   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
    1660313504     # The linker can only warn and ignore the option if not recognized
     
    1660613507       # Append any errors to the config.log.
    1660713508       cat conftest.err 1>&5
    16608        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
     13509       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
    1660913510       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    1661013511       if diff conftest.exp conftest.er2 >/dev/null; then
    16611          lt_prog_compiler_static_works=yes
     13512         lt_cv_prog_compiler_static_works=yes
    1661213513       fi
    1661313514     else
    16614        lt_prog_compiler_static_works=yes
     13515       lt_cv_prog_compiler_static_works=yes
    1661513516     fi
    1661613517   fi
    16617    $rm conftest*
     13518   $RM -r conftest*
    1661813519   LDFLAGS="$save_LDFLAGS"
    1661913520
    1662013521fi
    16621 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
    16622 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
    16623 
    16624 if test x"$lt_prog_compiler_static_works" = xyes; then
     13522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
     13523$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
     13524
     13525if test x"$lt_cv_prog_compiler_static_works" = xyes; then
    1662513526    :
    1662613527else
     
    1662913530
    1663013531
    16631 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
    16632 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
    16633 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
    16634   echo $ECHO_N "(cached) $ECHO_C" >&6
     13532
     13533
     13534
     13535
     13536
     13537  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
     13538$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
     13539if ${lt_cv_prog_compiler_c_o+:} false; then :
     13540  $as_echo_n "(cached) " >&6
    1663513541else
    1663613542  lt_cv_prog_compiler_c_o=no
    16637    $rm -r conftest 2>/dev/null
     13543   $RM -r conftest 2>/dev/null
    1663813544   mkdir conftest
    1663913545   cd conftest
    1664013546   mkdir out
    16641    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
     13547   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    1664213548
    1664313549   lt_compiler_flag="-o out/conftest2.$ac_objext"
     
    1665013556   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1665113557   -e 's:$: $lt_compiler_flag:'`
    16652    (eval echo "\"\$as_me:16652: $lt_compile\"" >&5)
     13558   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    1665313559   (eval "$lt_compile" 2>out/conftest.err)
    1665413560   ac_status=$?
    1665513561   cat out/conftest.err >&5
    16656    echo "$as_me:16656: \$? = $ac_status" >&5
     13562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1665713563   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1665813564   then
    1665913565     # The compiler can only warn and ignore the option if not recognized
    1666013566     # So say no if there are warnings
    16661      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
     13567     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
    1666213568     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
    1666313569     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
     
    1666613572   fi
    1666713573   chmod u+w . 2>&5
    16668    $rm conftest*
     13574   $RM conftest*
    1666913575   # SGI C++ compiler will create directory out/ii_files/ for
    1667013576   # template instantiation
    16671    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
    16672    $rm out/* && rmdir out
     13577   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
     13578   $RM out/* && rmdir out
    1667313579   cd ..
    16674    rmdir conftest
    16675    $rm conftest*
    16676 
    16677 fi
    16678 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
    16679 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
     13580   $RM -r conftest
     13581   $RM conftest*
     13582
     13583fi
     13584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
     13585$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
     13586
     13587
     13588
     13589
     13590
     13591
     13592  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
     13593$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
     13594if ${lt_cv_prog_compiler_c_o+:} false; then :
     13595  $as_echo_n "(cached) " >&6
     13596else
     13597  lt_cv_prog_compiler_c_o=no
     13598   $RM -r conftest 2>/dev/null
     13599   mkdir conftest
     13600   cd conftest
     13601   mkdir out
     13602   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     13603
     13604   lt_compiler_flag="-o out/conftest2.$ac_objext"
     13605   # Insert the option either (1) after the last *FLAGS variable, or
     13606   # (2) before a word containing "conftest.", or (3) at the end.
     13607   # Note that $ac_compile itself does not contain backslashes and begins
     13608   # with a dollar sign (not a hyphen), so the echo should work correctly.
     13609   lt_compile=`echo "$ac_compile" | $SED \
     13610   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     13611   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     13612   -e 's:$: $lt_compiler_flag:'`
     13613   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
     13614   (eval "$lt_compile" 2>out/conftest.err)
     13615   ac_status=$?
     13616   cat out/conftest.err >&5
     13617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     13618   if (exit $ac_status) && test -s out/conftest2.$ac_objext
     13619   then
     13620     # The compiler can only warn and ignore the option if not recognized
     13621     # So say no if there are warnings
     13622     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
     13623     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
     13624     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
     13625       lt_cv_prog_compiler_c_o=yes
     13626     fi
     13627   fi
     13628   chmod u+w . 2>&5
     13629   $RM conftest*
     13630   # SGI C++ compiler will create directory out/ii_files/ for
     13631   # template instantiation
     13632   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
     13633   $RM out/* && rmdir out
     13634   cd ..
     13635   $RM -r conftest
     13636   $RM conftest*
     13637
     13638fi
     13639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
     13640$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
     13641
     13642
    1668013643
    1668113644
     
    1668313646if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
    1668413647  # do not overwrite the value of need_locks provided by the user
    16685   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
    16686 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
     13648  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
     13649$as_echo_n "checking if we can lock with hard links... " >&6; }
    1668713650  hard_links=yes
    16688   $rm conftest*
     13651  $RM conftest*
    1668913652  ln conftest.a conftest.b 2>/dev/null && hard_links=no
    1669013653  touch conftest.a
    1669113654  ln conftest.a conftest.b 2>&5 || hard_links=no
    1669213655  ln conftest.a conftest.b 2>/dev/null && hard_links=no
    16693   echo "$as_me:$LINENO: result: $hard_links" >&5
    16694 echo "${ECHO_T}$hard_links" >&6
     13656  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
     13657$as_echo "$hard_links" >&6; }
    1669513658  if test "$hard_links" = no; then
    16696     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
    16697 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
     13659    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
     13660$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
    1669813661    need_locks=warn
    1669913662  fi
     
    1670213665fi
    1670313666
    16704 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
    16705 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
     13667
     13668
     13669
     13670
     13671
     13672  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
     13673$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
    1670613674
    1670713675  runpath_var=
    1670813676  allow_undefined_flag=
    16709   enable_shared_with_static_runtimes=no
     13677  always_export_symbols=no
    1671013678  archive_cmds=
    1671113679  archive_expsym_cmds=
    16712   old_archive_From_new_cmds=
    16713   old_archive_from_expsyms_cmds=
     13680  compiler_needs_object=no
     13681  enable_shared_with_static_runtimes=no
    1671413682  export_dynamic_flag_spec=
    16715   whole_archive_flag_spec=
    16716   thread_safe_flag_spec=
     13683  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
     13684  hardcode_automatic=no
     13685  hardcode_direct=no
     13686  hardcode_direct_absolute=no
    1671713687  hardcode_libdir_flag_spec=
    16718   hardcode_libdir_flag_spec_ld=
    1671913688  hardcode_libdir_separator=
    16720   hardcode_direct=no
    1672113689  hardcode_minus_L=no
    1672213690  hardcode_shlibpath_var=unsupported
     13691  inherit_rpath=no
    1672313692  link_all_deplibs=unknown
    16724   hardcode_automatic=no
    1672513693  module_cmds=
    1672613694  module_expsym_cmds=
    16727   always_export_symbols=no
    16728   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
     13695  old_archive_from_new_cmds=
     13696  old_archive_from_expsyms_cmds=
     13697  thread_safe_flag_spec=
     13698  whole_archive_flag_spec=
    1672913699  # include_expsyms should be a list of space-separated symbols to be *always*
    1673013700  # included in the symbol list
     
    1673413704  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
    1673513705  # as well as any symbol that contains `d'.
    16736   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
     13706  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
    1673713707  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
    1673813708  # platforms (ab)use it in PIC code, but their linkers get confused if
     
    1674013710  # rely on this symbol name, it's probably fine to never include it in
    1674113711  # preloaded symbol tables.
     13712  # Exclude shared library initialization/finalization symbols.
    1674213713  extract_expsyms_cmds=
    16743   # Just being paranoid about ensuring that cc_basename is set.
    16744   for cc_temp in $compiler""; do
    16745   case $cc_temp in
    16746     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
    16747     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
    16748     \-*) ;;
    16749     *) break;;
    16750   esac
    16751 done
    16752 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
    1675313714
    1675413715  case $host_os in
    16755   cygwin* | mingw* | pw32*)
     13716  cygwin* | mingw* | pw32* | cegcc*)
    1675613717    # FIXME: the MSVC++ port hasn't been tested in a loooong time
    1675713718    # When not using gcc, we currently assume that we are using
     
    1676813729    with_gnu_ld=no
    1676913730    ;;
     13731  linux* | k*bsd*-gnu | gnu*)
     13732    link_all_deplibs=no
     13733    ;;
    1677013734  esac
    1677113735
    1677213736  ld_shlibs=yes
     13737
     13738  # On some targets, GNU ld is compatible enough with the native linker
     13739  # that we're better off using the native interface for both.
     13740  lt_use_gnu_ld_interface=no
    1677313741  if test "$with_gnu_ld" = yes; then
     13742    case $host_os in
     13743      aix*)
     13744        # The AIX port of GNU ld has always aspired to compatibility
     13745        # with the native linker.  However, as the warning in the GNU ld
     13746        # block says, versions before 2.19.5* couldn't really create working
     13747        # shared libraries, regardless of the interface used.
     13748        case `$LD -v 2>&1` in
     13749          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
     13750          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
     13751          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
     13752          *)
     13753            lt_use_gnu_ld_interface=yes
     13754            ;;
     13755        esac
     13756        ;;
     13757      *)
     13758        lt_use_gnu_ld_interface=yes
     13759        ;;
     13760    esac
     13761  fi
     13762
     13763  if test "$lt_use_gnu_ld_interface" = yes; then
    1677413764    # If archive_cmds runs LD, not CC, wlarc should be empty
    1677513765    wlarc='${wl}'
     
    1677913769    # here allows them to be overridden if necessary.
    1678013770    runpath_var=LD_RUN_PATH
    16781     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
     13771    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
    1678213772    export_dynamic_flag_spec='${wl}--export-dynamic'
    1678313773    # ancient GNU ld didn't support --whole-archive et. al.
    16784     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
    16785         whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
    16786       else
    16787         whole_archive_flag_spec=
     13774    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
     13775      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
     13776    else
     13777      whole_archive_flag_spec=
    1678813778    fi
    1678913779    supports_anon_versioning=no
    16790     case `$LD -v 2>/dev/null` in
     13780    case `$LD -v 2>&1` in
     13781      *GNU\ gold*) supports_anon_versioning=yes ;;
    1679113782      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
    1679213783      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
     
    1679813789    # See if GNU ld supports shared libraries.
    1679913790    case $host_os in
    16800     aix3* | aix4* | aix5*)
     13791    aix[3-9]*)
    1680113792      # On AIX/PPC, the GNU linker is very broken
    1680213793      if test "$host_cpu" != ia64; then
    1680313794        ld_shlibs=no
    16804         cat <<EOF 1>&2
    16805 
    16806 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
     13795        cat <<_LT_EOF 1>&2
     13796
     13797*** Warning: the GNU linker, at least up to release 2.19, is reported
    1680713798*** to be unable to reliably create shared libraries on AIX.
    1680813799*** Therefore, libtool is disabling shared libraries support.  If you
    16809 *** really care for shared libraries, you may want to modify your PATH
    16810 *** so that a non-GNU linker is found, and then restart.
    16811 
    16812 EOF
     13800*** really care for shared libraries, you may want to install binutils
     13801*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
     13802*** You will then need to restart the configuration process.
     13803
     13804_LT_EOF
    1681313805      fi
    1681413806      ;;
    1681513807
    1681613808    amigaos*)
    16817       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)'
    16818       hardcode_libdir_flag_spec='-L$libdir'
    16819       hardcode_minus_L=yes
    16820 
    16821       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
    16822       # that the semantics of dynamic libraries on AmigaOS, at least up
    16823       # to version 4, is to share data among multiple programs linked
    16824       # with the same dynamic library.  Since this doesn't match the
    16825       # behavior of shared libraries on other platforms, we can't use
    16826       # them.
    16827       ld_shlibs=no
     13809      case $host_cpu in
     13810      powerpc)
     13811            # see comment about AmigaOS4 .so support
     13812            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     13813            archive_expsym_cmds=''
     13814        ;;
     13815      m68k)
     13816            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)'
     13817            hardcode_libdir_flag_spec='-L$libdir'
     13818            hardcode_minus_L=yes
     13819        ;;
     13820      esac
    1682813821      ;;
    1682913822
    1683013823    beos*)
    16831       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
     13824      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    1683213825        allow_undefined_flag=unsupported
    1683313826        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
     
    1683913832      ;;
    1684013833
    16841     cygwin* | mingw* | pw32*)
    16842       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
     13834    cygwin* | mingw* | pw32* | cegcc*)
     13835      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
    1684313836      # as there is no search path for DLLs.
    1684413837      hardcode_libdir_flag_spec='-L$libdir'
     13838      export_dynamic_flag_spec='${wl}--export-all-symbols'
    1684513839      allow_undefined_flag=unsupported
    1684613840      always_export_symbols=no
    1684713841      enable_shared_with_static_runtimes=yes
    16848       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
    16849 
    16850       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
     13842      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
     13843      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
     13844
     13845      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
    1685113846        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
    1685213847        # If the export-symbols file already is a .def file (1st line
     
    1686413859      ;;
    1686513860
    16866     interix3*)
     13861    haiku*)
     13862      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     13863      link_all_deplibs=yes
     13864      ;;
     13865
     13866    interix[3-9]*)
    1686713867      hardcode_direct=no
    1686813868      hardcode_shlibpath_var=no
     
    1687913879      ;;
    1688013880
    16881     linux*)
    16882       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    16883         tmp_addflag=
     13881    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
     13882      tmp_diet=no
     13883      if test "$host_os" = linux-dietlibc; then
     13884        case $cc_basename in
     13885          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
     13886        esac
     13887      fi
     13888      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
     13889         && test "$tmp_diet" = no
     13890      then
     13891        tmp_addflag=' $pic_flag'
     13892        tmp_sharedflag='-shared'
    1688413893        case $cc_basename,$host_cpu in
    16885         pgcc*)                          # Portland Group C compiler
    16886           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
     13894        pgcc*)                          # Portland Group C compiler
     13895          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'
    1688713896          tmp_addflag=' $pic_flag'
    1688813897          ;;
    16889         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
    16890           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
     13898        pgf77* | pgf90* | pgf95* | pgfortran*)
     13899                                        # Portland Group f77 and f90 compilers
     13900          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'
    1689113901          tmp_addflag=' $pic_flag -Mnomain' ;;
    16892         ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
     13902        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
    1689313903          tmp_addflag=' -i_dynamic' ;;
    1689413904        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
     
    1689613906        ifc* | ifort*)                  # Intel Fortran compiler
    1689713907          tmp_addflag=' -nofor_main' ;;
     13908        lf95*)                          # Lahey Fortran 8.1
     13909          whole_archive_flag_spec=
     13910          tmp_sharedflag='--shared' ;;
     13911        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
     13912          tmp_sharedflag='-qmkshrobj'
     13913          tmp_addflag= ;;
     13914        nvcc*)  # Cuda Compiler Driver 2.2
     13915          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'
     13916          compiler_needs_object=yes
     13917          ;;
    1689813918        esac
    16899         archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    16900 
    16901         if test $supports_anon_versioning = yes; then
    16902           archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
    16903   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    16904   $echo "local: *; };" >> $output_objdir/$libname.ver~
    16905           $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
    16906         fi
     13919        case `$CC -V 2>&1 | sed 5q` in
     13920        *Sun\ C*)                       # Sun C 5.9
     13921          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'
     13922          compiler_needs_object=yes
     13923          tmp_sharedflag='-G' ;;
     13924        *Sun\ F*)                       # Sun Fortran 8.3
     13925          tmp_sharedflag='-G' ;;
     13926        esac
     13927        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     13928
     13929        if test "x$supports_anon_versioning" = xyes; then
     13930          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
     13931            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     13932            echo "local: *; };" >> $output_objdir/$libname.ver~
     13933            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
     13934        fi
     13935
     13936        case $cc_basename in
     13937        xlf* | bgf* | bgxlf* | mpixlf*)
     13938          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
     13939          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
     13940          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
     13941          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
     13942          if test "x$supports_anon_versioning" = xyes; then
     13943            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
     13944              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     13945              echo "local: *; };" >> $output_objdir/$libname.ver~
     13946              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
     13947          fi
     13948          ;;
     13949        esac
    1690713950      else
    16908         ld_shlibs=no
     13951        ld_shlibs=no
    1690913952      fi
    1691013953      ;;
    1691113954
    16912     netbsd*)
    16913       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
     13955    netbsd* | netbsdelf*-gnu)
     13956      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    1691413957        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
    1691513958        wlarc=
    1691613959      else
    16917         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    16918         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     13960        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     13961        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    1691913962      fi
    1692013963      ;;
    1692113964
    1692213965    solaris*)
    16923       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
     13966      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
    1692413967        ld_shlibs=no
    16925         cat <<EOF 1>&2
     13968        cat <<_LT_EOF 1>&2
    1692613969
    1692713970*** Warning: The releases 2.8.* of the GNU linker cannot reliably
     
    1693213975*** used, and then restart.
    1693313976
    16934 EOF
    16935       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    16936         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    16937         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     13977_LT_EOF
     13978      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
     13979        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     13980        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    1693813981      else
    1693913982        ld_shlibs=no
     
    1695714000        ;;
    1695814001        *)
    16959           if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    16960             hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
    16961             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
    16962             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
     14002          # For security reasons, it is highly recommended that you always
     14003          # use absolute paths for naming shared libraries, and exclude the
     14004          # DT_RUNPATH tag from executables and libraries.  But doing so
     14005          # requires that you compile everything twice, which is a pain.
     14006          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
     14007            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
     14008            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     14009            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    1696314010          else
    1696414011            ld_shlibs=no
     
    1697614023
    1697714024    *)
    16978       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    16979         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    16980         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     14025      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
     14026        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     14027        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    1698114028      else
    1698214029        ld_shlibs=no
     
    1700814055      ;;
    1700914056
    17010     aix4* | aix5*)
     14057    aix[4-9]*)
    1701114058      if test "$host_cpu" = ia64; then
    1701214059        # On IA64, the linker does run time linking by default, so we don't
     
    1701814065        # If we're using GNU nm, then we don't want the "-C" option.
    1701914066        # -C means demangle to AIX nm, but means don't demangle with GNU nm
    17020         if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
    17021           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
     14067        # Also, AIX nm treats weak defined symbols like other global
     14068        # defined symbols, whereas GNU nm marks them as "W".
     14069        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
     14070          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'
    1702214071        else
    17023           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'
     14072          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'
    1702414073        fi
    1702514074        aix_use_runtimelinking=no
     
    1702814077        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
    1702914078        # need to do runtime linking.
    17030         case $host_os in aix4.[23]|aix4.[23].*|aix5*)
     14079        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
    1703114080          for ld_flag in $LDFLAGS; do
    17032           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
    17033             aix_use_runtimelinking=yes
    17034             break
    17035           fi
     14081          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
     14082            aix_use_runtimelinking=yes
     14083            break
     14084          fi
    1703614085          done
    1703714086          ;;
     
    1705014099      archive_cmds=''
    1705114100      hardcode_direct=yes
     14101      hardcode_direct_absolute=yes
    1705214102      hardcode_libdir_separator=':'
    1705314103      link_all_deplibs=yes
     14104      file_list_spec='${wl}-f,'
    1705414105
    1705514106      if test "$GCC" = yes; then
     
    1705814109        # below for broken collect2 doesn't work under 4.3+
    1705914110          collect2name=`${CC} -print-prog-name=collect2`
    17060           if test -f "$collect2name" && \
    17061            strings "$collect2name" | grep resolve_lib_name >/dev/null
     14111          if test -f "$collect2name" &&
     14112           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
    1706214113          then
    17063           # We have reworked collect2
    17064           hardcode_direct=yes
     14114          # We have reworked collect2
     14115          :
    1706514116          else
    17066           # We have old collect2
    17067           hardcode_direct=unsupported
    17068           # It fails to find uninstalled libraries when the uninstalled
    17069           # path is not listed in the libpath.  Setting hardcode_minus_L
    17070           # to unsupported forces relinking
    17071           hardcode_minus_L=yes
    17072           hardcode_libdir_flag_spec='-L$libdir'
    17073           hardcode_libdir_separator=
     14117          # We have old collect2
     14118          hardcode_direct=unsupported
     14119          # It fails to find uninstalled libraries when the uninstalled
     14120          # path is not listed in the libpath.  Setting hardcode_minus_L
     14121          # to unsupported forces relinking
     14122          hardcode_minus_L=yes
     14123          hardcode_libdir_flag_spec='-L$libdir'
     14124          hardcode_libdir_separator=
    1707414125          fi
    1707514126          ;;
     
    1707914130          shared_flag="$shared_flag "'${wl}-G'
    1708014131        fi
     14132        link_all_deplibs=no
    1708114133      else
    1708214134        # not using gcc
    1708314135        if test "$host_cpu" = ia64; then
    17084         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
    17085         # chokes on -Wl,-G. The following line is correct:
     14136        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
     14137        # chokes on -Wl,-G. The following line is correct:
    1708614138          shared_flag='-G'
    1708714139        else
     
    1709414146      fi
    1709514147
     14148      export_dynamic_flag_spec='${wl}-bexpall'
    1709614149      # It seems that -bexpall does not export symbols beginning with
    1709714150      # underscore (_), so it is better to generate a list of symbols to export.
     
    1710114154        # -berok will link without error, but may produce a broken library.
    1710214155        allow_undefined_flag='-berok'
    17103        # Determine the default libpath from the value encoded in an empty executable.
    17104        cat >conftest.$ac_ext <<_ACEOF
    17105 /* confdefs.h.  */
    17106 _ACEOF
    17107 cat confdefs.h >>conftest.$ac_ext
    17108 cat >>conftest.$ac_ext <<_ACEOF
     14156        # Determine the default libpath from the value encoded in an
     14157        # empty executable.
     14158        if test "${lt_cv_aix_libpath+set}" = set; then
     14159  aix_libpath=$lt_cv_aix_libpath
     14160else
     14161  if ${lt_cv_aix_libpath_+:} false; then :
     14162  $as_echo_n "(cached) " >&6
     14163else
     14164  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1710914165/* end confdefs.h.  */
    1711014166
     
    1711714173}
    1711814174_ACEOF
    17119 rm -f conftest.$ac_objext conftest$ac_exeext
    17120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    17121   (eval $ac_link) 2>conftest.er1
    17122   ac_status=$?
    17123   grep -v '^ *+' conftest.er1 >conftest.err
    17124   rm -f conftest.er1
    17125   cat conftest.err >&5
    17126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17127   (exit $ac_status); } &&
    17128          { ac_try='test -z "$ac_c_werror_flag"
    17129                          || test ! -s conftest.err'
    17130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    17131   (eval $ac_try) 2>&5
    17132   ac_status=$?
    17133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17134   (exit $ac_status); }; } &&
    17135          { ac_try='test -s conftest$ac_exeext'
    17136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    17137   (eval $ac_try) 2>&5
    17138   ac_status=$?
    17139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17140   (exit $ac_status); }; }; then
    17141 
    17142 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
    17143 }'`
    17144 # Check for a 64-bit object if we didn't find anything.
    17145 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
    17146 }'`; fi
    17147 else
    17148   echo "$as_me: failed program was:" >&5
    17149 sed 's/^/| /' conftest.$ac_ext >&5
    17150 
    17151 fi
    17152 rm -f conftest.err conftest.$ac_objext \
    17153       conftest$ac_exeext conftest.$ac_ext
    17154 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
    17155 
    17156        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
    17157         archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
    17158        else
     14175if ac_fn_c_try_link "$LINENO"; then :
     14176
     14177  lt_aix_libpath_sed='
     14178      /Import File Strings/,/^$/ {
     14179          /^0/ {
     14180              s/^0  *\([^ ]*\) *$/\1/
     14181              p
     14182          }
     14183      }'
     14184  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     14185  # Check for a 64-bit object if we didn't find anything.
     14186  if test -z "$lt_cv_aix_libpath_"; then
     14187    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     14188  fi
     14189fi
     14190rm -f core conftest.err conftest.$ac_objext \
     14191    conftest$ac_exeext conftest.$ac_ext
     14192  if test -z "$lt_cv_aix_libpath_"; then
     14193    lt_cv_aix_libpath_="/usr/lib:/lib"
     14194  fi
     14195
     14196fi
     14197
     14198  aix_libpath=$lt_cv_aix_libpath_
     14199fi
     14200
     14201        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
     14202        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"
     14203      else
    1715914204        if test "$host_cpu" = ia64; then
    1716014205          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
     
    1716214207          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"
    1716314208        else
    17164          # Determine the default libpath from the value encoded in an empty executable.
    17165          cat >conftest.$ac_ext <<_ACEOF
    17166 /* confdefs.h.  */
    17167 _ACEOF
    17168 cat confdefs.h >>conftest.$ac_ext
    17169 cat >>conftest.$ac_ext <<_ACEOF
     14209         # Determine the default libpath from the value encoded in an
     14210         # empty executable.
     14211         if test "${lt_cv_aix_libpath+set}" = set; then
     14212  aix_libpath=$lt_cv_aix_libpath
     14213else
     14214  if ${lt_cv_aix_libpath_+:} false; then :
     14215  $as_echo_n "(cached) " >&6
     14216else
     14217  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1717014218/* end confdefs.h.  */
    1717114219
     
    1717814226}
    1717914227_ACEOF
    17180 rm -f conftest.$ac_objext conftest$ac_exeext
    17181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    17182   (eval $ac_link) 2>conftest.er1
    17183   ac_status=$?
    17184   grep -v '^ *+' conftest.er1 >conftest.err
    17185   rm -f conftest.er1
    17186   cat conftest.err >&5
    17187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17188   (exit $ac_status); } &&
    17189          { ac_try='test -z "$ac_c_werror_flag"
    17190                          || test ! -s conftest.err'
    17191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    17192   (eval $ac_try) 2>&5
    17193   ac_status=$?
    17194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17195   (exit $ac_status); }; } &&
    17196          { ac_try='test -s conftest$ac_exeext'
    17197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    17198   (eval $ac_try) 2>&5
    17199   ac_status=$?
    17200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17201   (exit $ac_status); }; }; then
    17202 
    17203 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
    17204 }'`
    17205 # Check for a 64-bit object if we didn't find anything.
    17206 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
    17207 }'`; fi
    17208 else
    17209   echo "$as_me: failed program was:" >&5
    17210 sed 's/^/| /' conftest.$ac_ext >&5
    17211 
    17212 fi
    17213 rm -f conftest.err conftest.$ac_objext \
    17214       conftest$ac_exeext conftest.$ac_ext
    17215 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
     14228if ac_fn_c_try_link "$LINENO"; then :
     14229
     14230  lt_aix_libpath_sed='
     14231      /Import File Strings/,/^$/ {
     14232          /^0/ {
     14233              s/^0  *\([^ ]*\) *$/\1/
     14234              p
     14235          }
     14236      }'
     14237  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     14238  # Check for a 64-bit object if we didn't find anything.
     14239  if test -z "$lt_cv_aix_libpath_"; then
     14240    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     14241  fi
     14242fi
     14243rm -f core conftest.err conftest.$ac_objext \
     14244    conftest$ac_exeext conftest.$ac_ext
     14245  if test -z "$lt_cv_aix_libpath_"; then
     14246    lt_cv_aix_libpath_="/usr/lib:/lib"
     14247  fi
     14248
     14249fi
     14250
     14251  aix_libpath=$lt_cv_aix_libpath_
     14252fi
    1721614253
    1721714254         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
     
    1722014257          no_undefined_flag=' ${wl}-bernotok'
    1722114258          allow_undefined_flag=' ${wl}-berok'
    17222           # Exported symbols can be pulled into shared objects from archives
    17223           whole_archive_flag_spec='$convenience'
     14259          if test "$with_gnu_ld" = yes; then
     14260            # We only use this code for GNU lds that support --whole-archive.
     14261            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
     14262          else
     14263            # Exported symbols can be pulled into shared objects from archives
     14264            whole_archive_flag_spec='$convenience'
     14265          fi
    1722414266          archive_cmds_need_lc=yes
    1722514267          # This is similar to how AIX traditionally builds its shared libraries.
     
    1723014272
    1723114273    amigaos*)
    17232       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)'
    17233       hardcode_libdir_flag_spec='-L$libdir'
    17234       hardcode_minus_L=yes
    17235       # see comment about different semantics on the GNU ld section
    17236       ld_shlibs=no
     14274      case $host_cpu in
     14275      powerpc)
     14276            # see comment about AmigaOS4 .so support
     14277            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     14278            archive_expsym_cmds=''
     14279        ;;
     14280      m68k)
     14281            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)'
     14282            hardcode_libdir_flag_spec='-L$libdir'
     14283            hardcode_minus_L=yes
     14284        ;;
     14285      esac
    1723714286      ;;
    1723814287
     
    1724114290      ;;
    1724214291
    17243     cygwin* | mingw* | pw32*)
     14292    cygwin* | mingw* | pw32* | cegcc*)
    1724414293      # When not using gcc, we currently assume that we are using
    1724514294      # Microsoft Visual C++.
    1724614295      # hardcode_libdir_flag_spec is actually meaningless, as there is
    1724714296      # no search path for DLLs.
    17248       hardcode_libdir_flag_spec=' '
    17249       allow_undefined_flag=unsupported
    17250       # Tell ltmain to make .lib files, not .a files.
    17251       libext=lib
    17252       # Tell ltmain to make .dll files, not .so files.
    17253       shrext_cmds=".dll"
    17254       # FIXME: Setting linknames here is a bad hack.
    17255       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
    17256       # The linker will automatically build a .lib file if we build a DLL.
    17257       old_archive_From_new_cmds='true'
    17258       # FIXME: Should let the user specify the lib program.
    17259       old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
    17260       fix_srcfile_path='`cygpath -w "$srcfile"`'
    17261       enable_shared_with_static_runtimes=yes
     14297      case $cc_basename in
     14298      cl*)
     14299        # Native MSVC
     14300        hardcode_libdir_flag_spec=' '
     14301        allow_undefined_flag=unsupported
     14302        always_export_symbols=yes
     14303        file_list_spec='@'
     14304        # Tell ltmain to make .lib files, not .a files.
     14305        libext=lib
     14306        # Tell ltmain to make .dll files, not .so files.
     14307        shrext_cmds=".dll"
     14308        # FIXME: Setting linknames here is a bad hack.
     14309        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
     14310        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
     14311            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
     14312          else
     14313            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
     14314          fi~
     14315          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
     14316          linknames='
     14317        # The linker will not automatically build a static lib if we build a DLL.
     14318        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
     14319        enable_shared_with_static_runtimes=yes
     14320        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
     14321        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
     14322        # Don't use ranlib
     14323        old_postinstall_cmds='chmod 644 $oldlib'
     14324        postlink_cmds='lt_outputfile="@OUTPUT@"~
     14325          lt_tool_outputfile="@TOOL_OUTPUT@"~
     14326          case $lt_outputfile in
     14327            *.exe|*.EXE) ;;
     14328            *)
     14329              lt_outputfile="$lt_outputfile.exe"
     14330              lt_tool_outputfile="$lt_tool_outputfile.exe"
     14331              ;;
     14332          esac~
     14333          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
     14334            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
     14335            $RM "$lt_outputfile.manifest";
     14336          fi'
     14337        ;;
     14338      *)
     14339        # Assume MSVC wrapper
     14340        hardcode_libdir_flag_spec=' '
     14341        allow_undefined_flag=unsupported
     14342        # Tell ltmain to make .lib files, not .a files.
     14343        libext=lib
     14344        # Tell ltmain to make .dll files, not .so files.
     14345        shrext_cmds=".dll"
     14346        # FIXME: Setting linknames here is a bad hack.
     14347        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
     14348        # The linker will automatically build a .lib file if we build a DLL.
     14349        old_archive_from_new_cmds='true'
     14350        # FIXME: Should let the user specify the lib program.
     14351        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
     14352        enable_shared_with_static_runtimes=yes
     14353        ;;
     14354      esac
    1726214355      ;;
    1726314356
    1726414357    darwin* | rhapsody*)
    17265       case $host_os in
    17266         rhapsody* | darwin1.[012])
    17267          allow_undefined_flag='${wl}-undefined ${wl}suppress'
    17268          ;;
    17269        *) # Darwin 1.3 on
    17270          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
    17271            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
    17272          else
    17273            case ${MACOSX_DEPLOYMENT_TARGET} in
    17274              10.[012])
    17275                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
    17276                ;;
    17277              10.*)
    17278                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
    17279                ;;
    17280            esac
    17281          fi
    17282          ;;
    17283       esac
    17284       archive_cmds_need_lc=no
    17285       hardcode_direct=no
    17286       hardcode_automatic=yes
    17287       hardcode_shlibpath_var=unsupported
    17288       whole_archive_flag_spec=''
    17289       link_all_deplibs=yes
    17290     if test "$GCC" = yes ; then
    17291         output_verbose_link_cmd='echo'
    17292         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
    17293       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
    17294       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
    17295       archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    17296       module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    17297     else
    17298       case $cc_basename in
    17299         xlc*)
    17300          output_verbose_link_cmd='echo'
    17301          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
    17302          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
    17303           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
    17304          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    17305           module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    17306           ;;
    17307        *)
    17308          ld_shlibs=no
    17309           ;;
    17310       esac
    17311     fi
     14358
     14359
     14360  archive_cmds_need_lc=no
     14361  hardcode_direct=no
     14362  hardcode_automatic=yes
     14363  hardcode_shlibpath_var=unsupported
     14364  if test "$lt_cv_ld_force_load" = "yes"; then
     14365    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\"`'
     14366
     14367  else
     14368    whole_archive_flag_spec=''
     14369  fi
     14370  link_all_deplibs=yes
     14371  allow_undefined_flag="$_lt_dar_allow_undefined"
     14372  case $cc_basename in
     14373     ifort*) _lt_dar_can_shared=yes ;;
     14374     *) _lt_dar_can_shared=$GCC ;;
     14375  esac
     14376  if test "$_lt_dar_can_shared" = "yes"; then
     14377    output_verbose_link_cmd=func_echo_all
     14378    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
     14379    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
     14380    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}"
     14381    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}"
     14382
     14383  else
     14384  ld_shlibs=no
     14385  fi
     14386
    1731214387      ;;
    1731314388
     
    1731614391      hardcode_libdir_flag_spec='-L$libdir'
    1731714392      hardcode_shlibpath_var=no
    17318       ;;
    17319 
    17320     freebsd1*)
    17321       ld_shlibs=no
    1732214393      ;;
    1732314394
     
    1733414405
    1733514406    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
    17336     freebsd2*)
     14407    freebsd2.*)
    1733714408      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
    1733814409      hardcode_direct=yes
     
    1734214413
    1734314414    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
    17344     freebsd* | kfreebsd*-gnu | dragonfly*)
    17345       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
     14415    freebsd* | dragonfly*)
     14416      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    1734614417      hardcode_libdir_flag_spec='-R$libdir'
    1734714418      hardcode_direct=yes
     
    1735114422    hpux9*)
    1735214423      if test "$GCC" = yes; then
    17353         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'
     14424        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
    1735414425      else
    17355         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'
     14426        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'
    1735614427      fi
    1735714428      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
     
    1736614437
    1736714438    hpux10*)
    17368       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
    17369         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
     14439      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
     14440        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    1737014441      else
    1737114442        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
     
    1737414445        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
    1737514446        hardcode_libdir_separator=:
    17376 
    1737714447        hardcode_direct=yes
     14448        hardcode_direct_absolute=yes
    1737814449        export_dynamic_flag_spec='${wl}-E'
    17379 
    1738014450        # hardcode_minus_L: Not really in the search PATH,
    1738114451        # but as the default location of the library.
     
    1738514455
    1738614456    hpux11*)
    17387       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
     14457      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
    1738814458        case $host_cpu in
    1738914459        hppa*64*)
     
    1739114461          ;;
    1739214462        ia64*)
    17393           archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
     14463          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
    1739414464          ;;
    1739514465        *)
    17396           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
     14466          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    1739714467          ;;
    1739814468        esac
     
    1740614476          ;;
    1740714477        *)
    17408           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
     14478
     14479          # Older versions of the 11.00 compiler do not understand -b yet
     14480          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
     14481          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
     14482$as_echo_n "checking if $CC understands -b... " >&6; }
     14483if ${lt_cv_prog_compiler__b+:} false; then :
     14484  $as_echo_n "(cached) " >&6
     14485else
     14486  lt_cv_prog_compiler__b=no
     14487   save_LDFLAGS="$LDFLAGS"
     14488   LDFLAGS="$LDFLAGS -b"
     14489   echo "$lt_simple_link_test_code" > conftest.$ac_ext
     14490   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
     14491     # The linker can only warn and ignore the option if not recognized
     14492     # So say no if there are warnings
     14493     if test -s conftest.err; then
     14494       # Append any errors to the config.log.
     14495       cat conftest.err 1>&5
     14496       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
     14497       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
     14498       if diff conftest.exp conftest.er2 >/dev/null; then
     14499         lt_cv_prog_compiler__b=yes
     14500       fi
     14501     else
     14502       lt_cv_prog_compiler__b=yes
     14503     fi
     14504   fi
     14505   $RM -r conftest*
     14506   LDFLAGS="$save_LDFLAGS"
     14507
     14508fi
     14509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
     14510$as_echo "$lt_cv_prog_compiler__b" >&6; }
     14511
     14512if test x"$lt_cv_prog_compiler__b" = xyes; then
     14513    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
     14514else
     14515    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
     14516fi
     14517
    1740914518          ;;
    1741014519        esac
     
    1741614525        case $host_cpu in
    1741714526        hppa*64*|ia64*)
    17418           hardcode_libdir_flag_spec_ld='+b $libdir'
    1741914527          hardcode_direct=no
    1742014528          hardcode_shlibpath_var=no
     
    1742214530        *)
    1742314531          hardcode_direct=yes
     14532          hardcode_direct_absolute=yes
    1742414533          export_dynamic_flag_spec='${wl}-E'
    1742514534
     
    1743414543    irix5* | irix6* | nonstopux*)
    1743514544      if test "$GCC" = yes; then
    17436         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
     14545        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
     14546        # Try to use the -exported_symbol ld option, if it does not
     14547        # work, assume that -exports_file does not work either and
     14548        # implicitly export all symbols.
     14549        # This should be the same for all languages, so no per-tag cache variable.
     14550        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
     14551$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
     14552if ${lt_cv_irix_exported_symbol+:} false; then :
     14553  $as_echo_n "(cached) " >&6
     14554else
     14555  save_LDFLAGS="$LDFLAGS"
     14556           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
     14557           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     14558/* end confdefs.h.  */
     14559int foo (void) { return 0; }
     14560_ACEOF
     14561if ac_fn_c_try_link "$LINENO"; then :
     14562  lt_cv_irix_exported_symbol=yes
     14563else
     14564  lt_cv_irix_exported_symbol=no
     14565fi
     14566rm -f core conftest.err conftest.$ac_objext \
     14567    conftest$ac_exeext conftest.$ac_ext
     14568           LDFLAGS="$save_LDFLAGS"
     14569fi
     14570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
     14571$as_echo "$lt_cv_irix_exported_symbol" >&6; }
     14572        if test "$lt_cv_irix_exported_symbol" = yes; then
     14573          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
     14574        fi
    1743714575      else
    17438         archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
    17439         hardcode_libdir_flag_spec_ld='-rpath $libdir'
     14576        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'
     14577        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'
    1744014578      fi
     14579      archive_cmds_need_lc='no'
    1744114580      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
    1744214581      hardcode_libdir_separator=:
     14582      inherit_rpath=yes
    1744314583      link_all_deplibs=yes
    1744414584      ;;
    1744514585
    17446     netbsd*)
    17447       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
     14586    netbsd* | netbsdelf*-gnu)
     14587      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    1744814588        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
    1744914589      else
     
    1746314603      ;;
    1746414604
     14605    *nto* | *qnx*)
     14606      ;;
     14607
    1746514608    openbsd*)
    17466       hardcode_direct=yes
    17467       hardcode_shlibpath_var=no
    17468       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    17469         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    17470         archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
    17471         hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
    17472         export_dynamic_flag_spec='${wl}-E'
     14609      if test -f /usr/libexec/ld.so; then
     14610        hardcode_direct=yes
     14611        hardcode_shlibpath_var=no
     14612        hardcode_direct_absolute=yes
     14613        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
     14614          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
     14615          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
     14616          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
     14617          export_dynamic_flag_spec='${wl}-E'
     14618        else
     14619          case $host_os in
     14620           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
     14621             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
     14622             hardcode_libdir_flag_spec='-R$libdir'
     14623             ;;
     14624           *)
     14625             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
     14626             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
     14627             ;;
     14628          esac
     14629        fi
    1747314630      else
    17474        case $host_os in
    17475          openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
    17476            archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
    17477            hardcode_libdir_flag_spec='-R$libdir'
    17478            ;;
    17479          *)
    17480            archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    17481            hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
    17482            ;;
    17483        esac
     14631        ld_shlibs=no
    1748414632      fi
    1748514633      ;;
     
    1748914637      hardcode_minus_L=yes
    1749014638      allow_undefined_flag=unsupported
    17491       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'
    17492       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
     14639      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'
     14640      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
    1749314641      ;;
    1749414642
     
    1749614644      if test "$GCC" = yes; then
    1749714645        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
    17498         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
     14646        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'
    1749914647      else
    1750014648        allow_undefined_flag=' -expect_unresolved \*'
    17501         archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
     14649        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'
    1750214650      fi
     14651      archive_cmds_need_lc='no'
    1750314652      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
    1750414653      hardcode_libdir_separator=:
     
    1750814657      if test "$GCC" = yes; then
    1750914658        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
    17510         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
     14659        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
    1751114660        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
    1751214661      else
    1751314662        allow_undefined_flag=' -expect_unresolved \*'
    17514         archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
    17515         archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
    17516         $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
     14663        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'
     14664        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~
     14665        $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'
    1751714666
    1751814667        # Both c and cxx compiler support -rpath directly
    1751914668        hardcode_libdir_flag_spec='-rpath $libdir'
    1752014669      fi
     14670      archive_cmds_need_lc='no'
    1752114671      hardcode_libdir_separator=:
    1752214672      ;;
    1752314673
    1752414674    solaris*)
    17525       no_undefined_flag=' -z text'
     14675      no_undefined_flag=' -z defs'
    1752614676      if test "$GCC" = yes; then
    1752714677        wlarc='${wl}'
    17528         archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
    17529         archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
    17530           $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
     14678        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
     14679        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
     14680          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
    1753114681      else
    17532         wlarc=''
    17533         archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
    17534         archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
    17535         $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
     14682        case `$CC -V 2>&1` in
     14683        *"Compilers 5.0"*)
     14684          wlarc=''
     14685          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
     14686          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
     14687          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
     14688          ;;
     14689        *)
     14690          wlarc='${wl}'
     14691          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
     14692          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
     14693          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
     14694          ;;
     14695        esac
    1753614696      fi
    1753714697      hardcode_libdir_flag_spec='-R$libdir'
     
    1754014700      solaris2.[0-5] | solaris2.[0-5].*) ;;
    1754114701      *)
    17542         # The compiler driver will combine linker options so we
    17543         # cannot just pass the convience library names through
    17544         # without $wl, iff we do not link with $LD.
    17545         # Luckily, gcc supports the same syntax we need for Sun Studio.
    17546         # Supported since Solaris 2.6 (maybe 2.5.1?)
    17547         case $wlarc in
    17548         '')
    17549           whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
    17550         *)
    17551           whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
    17552         esac ;;
     14702        # The compiler driver will combine and reorder linker options,
     14703        # but understands `-z linker_flag'.  GCC discards it without `$wl',
     14704        # but is careful enough not to reorder.
     14705        # Supported since Solaris 2.6 (maybe 2.5.1?)
     14706        if test "$GCC" = yes; then
     14707          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
     14708        else
     14709          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
     14710        fi
     14711        ;;
    1755314712      esac
    1755414713      link_all_deplibs=yes
     
    1760714766      ;;
    1760814767
    17609     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
     14768    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
    1761014769      no_undefined_flag='${wl}-z,text'
    1761114770      archive_cmds_need_lc=no
     
    1763314792      archive_cmds_need_lc=no
    1763414793      hardcode_shlibpath_var=no
    17635       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
     14794      hardcode_libdir_flag_spec='${wl}-R,$libdir'
    1763614795      hardcode_libdir_separator=':'
    1763714796      link_all_deplibs=yes
     
    1764014799
    1764114800      if test "$GCC" = yes; then
    17642         archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
    17643         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
     14801        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     14802        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    1764414803      else
    17645         archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
    17646         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
     14804        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     14805        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    1764714806      fi
    1764814807      ;;
     
    1765814817      ;;
    1765914818    esac
     14819
     14820    if test x$host_vendor = xsni; then
     14821      case $host in
     14822      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
     14823        export_dynamic_flag_spec='${wl}-Blargedynsym'
     14824        ;;
     14825      esac
     14826    fi
    1766014827  fi
    1766114828
    17662 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
    17663 echo "${ECHO_T}$ld_shlibs" >&6
     14829{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
     14830$as_echo "$ld_shlibs" >&6; }
    1766414831test "$ld_shlibs" = no && can_build_shared=no
     14832
     14833with_gnu_ld=$with_gnu_ld
     14834
     14835
     14836
     14837
     14838
     14839
     14840
     14841
     14842
     14843
     14844
     14845
     14846
     14847
    1766514848
    1766614849#
     
    1768114864      # systems, -lgcc has to come before -lc. If gcc already passes -lc
    1768214865      # to ld, don't add -lc before -lgcc.
    17683       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
    17684 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
    17685       $rm conftest*
    17686       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
    17687 
    17688       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     14866      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
     14867$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
     14868if ${lt_cv_archive_cmds_need_lc+:} false; then :
     14869  $as_echo_n "(cached) " >&6
     14870else
     14871  $RM conftest*
     14872        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     14873
     14874        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    1768914875  (eval $ac_compile) 2>&5
    1769014876  ac_status=$?
    17691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17692   (exit $ac_status); } 2>conftest.err; then
    17693         soname=conftest
    17694         lib=conftest
    17695         libobjs=conftest.$ac_objext
    17696         deplibs=
    17697         wl=$lt_prog_compiler_wl
    17698         pic_flag=$lt_prog_compiler_pic
    17699         compiler_flags=-v
    17700         linker_flags=-v
    17701         verstring=
    17702         output_objdir=.
    17703         libname=conftest
    17704         lt_save_allow_undefined_flag=$allow_undefined_flag
    17705         allow_undefined_flag=
    17706         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
    17707   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
     14877  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     14878  test $ac_status = 0; } 2>conftest.err; then
     14879          soname=conftest
     14880          lib=conftest
     14881          libobjs=conftest.$ac_objext
     14882          deplibs=
     14883          wl=$lt_prog_compiler_wl
     14884          pic_flag=$lt_prog_compiler_pic
     14885          compiler_flags=-v
     14886          linker_flags=-v
     14887          verstring=
     14888          output_objdir=.
     14889          libname=conftest
     14890          lt_save_allow_undefined_flag=$allow_undefined_flag
     14891          allow_undefined_flag=
     14892          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
     14893  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
    1770814894  ac_status=$?
    17709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17710   (exit $ac_status); }
    17711         then
    17712           archive_cmds_need_lc=no
    17713         else
    17714           archive_cmds_need_lc=yes
    17715         fi
    17716         allow_undefined_flag=$lt_save_allow_undefined_flag
    17717       else
    17718         cat conftest.err 1>&5
    17719       fi
    17720       $rm conftest*
    17721       echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
    17722 echo "${ECHO_T}$archive_cmds_need_lc" >&6
     14895  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     14896  test $ac_status = 0; }
     14897          then
     14898            lt_cv_archive_cmds_need_lc=no
     14899          else
     14900            lt_cv_archive_cmds_need_lc=yes
     14901          fi
     14902          allow_undefined_flag=$lt_save_allow_undefined_flag
     14903        else
     14904          cat conftest.err 1>&5
     14905        fi
     14906        $RM conftest*
     14907
     14908fi
     14909{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
     14910$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
     14911      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
    1772314912      ;;
    1772414913    esac
     
    1772714916esac
    1772814917
    17729 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
    17730 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
     14918
     14919
     14920
     14921
     14922
     14923
     14924
     14925
     14926
     14927
     14928
     14929
     14930
     14931
     14932
     14933
     14934
     14935
     14936
     14937
     14938
     14939
     14940
     14941
     14942
     14943
     14944
     14945
     14946
     14947
     14948
     14949
     14950
     14951
     14952
     14953
     14954
     14955
     14956
     14957
     14958
     14959
     14960
     14961
     14962
     14963
     14964
     14965
     14966
     14967
     14968
     14969
     14970
     14971
     14972
     14973
     14974
     14975
     14976
     14977
     14978
     14979
     14980
     14981
     14982
     14983
     14984
     14985
     14986
     14987
     14988
     14989
     14990
     14991
     14992
     14993
     14994
     14995
     14996
     14997
     14998
     14999
     15000
     15001
     15002
     15003
     15004
     15005
     15006
     15007
     15008
     15009
     15010
     15011
     15012
     15013
     15014
     15015
     15016
     15017
     15018
     15019
     15020
     15021
     15022
     15023
     15024
     15025
     15026
     15027
     15028
     15029
     15030
     15031
     15032
     15033
     15034
     15035
     15036
     15037
     15038
     15039
     15040
     15041
     15042
     15043
     15044
     15045
     15046
     15047
     15048
     15049
     15050
     15051
     15052
     15053
     15054
     15055
     15056
     15057
     15058
     15059
     15060
     15061
     15062
     15063
     15064
     15065
     15066
     15067
     15068
     15069  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
     15070$as_echo_n "checking dynamic linker characteristics... " >&6; }
     15071
     15072if test "$GCC" = yes; then
     15073  case $host_os in
     15074    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
     15075    *) lt_awk_arg="/^libraries:/" ;;
     15076  esac
     15077  case $host_os in
     15078    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
     15079    *) lt_sed_strip_eq="s,=/,/,g" ;;
     15080  esac
     15081  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
     15082  case $lt_search_path_spec in
     15083  *\;*)
     15084    # if the path contains ";" then we assume it to be the separator
     15085    # otherwise default to the standard path separator (i.e. ":") - it is
     15086    # assumed that no part of a normal pathname contains ";" but that should
     15087    # okay in the real world where ";" in dirpaths is itself problematic.
     15088    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
     15089    ;;
     15090  *)
     15091    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
     15092    ;;
     15093  esac
     15094  # Ok, now we have the path, separated by spaces, we can step through it
     15095  # and add multilib dir if necessary.
     15096  lt_tmp_lt_search_path_spec=
     15097  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
     15098  for lt_sys_path in $lt_search_path_spec; do
     15099    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
     15100      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
     15101    else
     15102      test -d "$lt_sys_path" && \
     15103        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
     15104    fi
     15105  done
     15106  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
     15107BEGIN {RS=" "; FS="/|\n";} {
     15108  lt_foo="";
     15109  lt_count=0;
     15110  for (lt_i = NF; lt_i > 0; lt_i--) {
     15111    if ($lt_i != "" && $lt_i != ".") {
     15112      if ($lt_i == "..") {
     15113        lt_count++;
     15114      } else {
     15115        if (lt_count == 0) {
     15116          lt_foo="/" $lt_i lt_foo;
     15117        } else {
     15118          lt_count--;
     15119        }
     15120      }
     15121    }
     15122  }
     15123  if (lt_foo != "") { lt_freq[lt_foo]++; }
     15124  if (lt_freq[lt_foo] == 1) { print lt_foo; }
     15125}'`
     15126  # AWK program above erroneously prepends '/' to C:/dos/paths
     15127  # for these hosts.
     15128  case $host_os in
     15129    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
     15130      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
     15131  esac
     15132  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
     15133else
     15134  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
     15135fi
    1773115136library_names_spec=
    1773215137libname_spec='lib$name'
     
    1774215147dynamic_linker="$host_os ld.so"
    1774315148sys_lib_dlsearch_path_spec="/lib /usr/lib"
    17744 if test "$GCC" = yes; then
    17745   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
    17746   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
    17747     # if the path contains ";" then we assume it to be the separator
    17748     # otherwise default to the standard path separator (i.e. ":") - it is
    17749     # assumed that no part of a normal pathname contains ";" but that should
    17750     # okay in the real world where ";" in dirpaths is itself problematic.
    17751     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
    17752   else
    17753     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
    17754   fi
    17755 else
    17756   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
    17757 fi
    1775815149need_lib_prefix=unknown
    1775915150hardcode_into_libs=no
     
    1776515156case $host_os in
    1776615157aix3*)
    17767   version_type=linux
     15158  version_type=linux # correct to gnu/linux during the next big refactor
    1776815159  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
    1776915160  shlibpath_var=LIBPATH
     
    1777315164  ;;
    1777415165
    17775 aix4* | aix5*)
    17776   version_type=linux
     15166aix[4-9]*)
     15167  version_type=linux # correct to gnu/linux during the next big refactor
    1777715168  need_lib_prefix=no
    1777815169  need_version=no
     
    1779215183      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
    1779315184           echo ' yes '
    17794            echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
     15185           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
    1779515186        :
    1779615187      else
     
    1781815209
    1781915210amigaos*)
    17820   library_names_spec='$libname.ixlibrary $libname.a'
    17821   # Create ${libname}_ixlibrary.a entries in /sys/libs.
    17822   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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'
     15211  case $host_cpu in
     15212  powerpc)
     15213    # Since July 2007 AmigaOS4 officially supports .so libraries.
     15214    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
     15215    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     15216    ;;
     15217  m68k)
     15218    library_names_spec='$libname.ixlibrary $libname.a'
     15219    # Create ${libname}_ixlibrary.a entries in /sys/libs.
     15220    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'
     15221    ;;
     15222  esac
    1782315223  ;;
    1782415224
     
    1783015230
    1783115231bsdi[45]*)
    17832   version_type=linux
     15232  version_type=linux # correct to gnu/linux during the next big refactor
    1783315233  need_version=no
    1783415234  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     
    1784315243  ;;
    1784415244
    17845 cygwin* | mingw* | pw32*)
     15245cygwin* | mingw* | pw32* | cegcc*)
    1784615246  version_type=windows
    1784715247  shrext_cmds=".dll"
     
    1784915249  need_lib_prefix=no
    1785015250
    17851   case $GCC,$host_os in
    17852   yes,cygwin* | yes,mingw* | yes,pw32*)
     15251  case $GCC,$cc_basename in
     15252  yes,*)
     15253    # gcc
    1785315254    library_names_spec='$libname.dll.a'
    1785415255    # DLL is installed to $(libdir)/../bin by postinstall_cmds
    1785515256    postinstall_cmds='base_file=`basename \${file}`~
    17856       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
     15257      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
    1785715258      dldir=$destdir/`dirname \$dlpath`~
    1785815259      test -d \$dldir || mkdir -p \$dldir~
    1785915260      $install_prog $dir/$dlname \$dldir/$dlname~
    17860       chmod a+x \$dldir/$dlname'
     15261      chmod a+x \$dldir/$dlname~
     15262      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
     15263        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
     15264      fi'
    1786115265    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
    1786215266      dlpath=$dir/\$dldll~
    17863        $rm \$dlpath'
     15267       $RM \$dlpath'
    1786415268    shlibpath_overrides_runpath=yes
    1786515269
     
    1786815272      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
    1786915273      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
    17870       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
     15274
     15275      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
    1787115276      ;;
    17872     mingw*)
     15277    mingw* | cegcc*)
    1787315278      # MinGW DLLs use traditional 'lib' prefix
    1787415279      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
    17875       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
    17876       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
    17877         # It is most probably a Windows format PATH printed by
    17878         # mingw gcc, but we are running on Cygwin. Gcc prints its search
    17879         # path with ; separators, and with drive letters. We can handle the
    17880         # drive letters (cygwin fileutils understands them), so leave them,
    17881         # especially as we might pass files found there to a mingw objdump,
    17882         # which wouldn't understand a cygwinified path. Ahh.
    17883         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
    17884       else
    17885         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
    17886       fi
    1788715280      ;;
    1788815281    pw32*)
     
    1789115284      ;;
    1789215285    esac
     15286    dynamic_linker='Win32 ld.exe'
    1789315287    ;;
    1789415288
    17895   linux*)
    17896     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
    17897       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    17898       supports_anon_versioning=no
    17899       case `$LD -v 2>/dev/null` in
    17900         *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
    17901         *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
    17902         *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
    17903         *\ 2.11.*) ;; # other 2.11 versions
    17904         *) supports_anon_versioning=yes ;;
    17905       esac
    17906       if test $supports_anon_versioning = yes; then
    17907         archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
    17908 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    17909 $echo "local: *; };" >> $output_objdir/$libname.ver~
    17910         $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
     15289  *,cl*)
     15290    # Native MSVC
     15291    libname_spec='$name'
     15292    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
     15293    library_names_spec='${libname}.dll.lib'
     15294
     15295    case $build_os in
     15296    mingw*)
     15297      sys_lib_search_path_spec=
     15298      lt_save_ifs=$IFS
     15299      IFS=';'
     15300      for lt_path in $LIB
     15301      do
     15302        IFS=$lt_save_ifs
     15303        # Let DOS variable expansion print the short 8.3 style file name.
     15304        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
     15305        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
     15306      done
     15307      IFS=$lt_save_ifs
     15308      # Convert to MSYS style.
     15309      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
     15310      ;;
     15311    cygwin*)
     15312      # Convert to unix form, then to dos form, then back to unix form
     15313      # but this time dos style (no spaces!) so that the unix form looks
     15314      # like /cygdrive/c/PROGRA~1:/cygdr...
     15315      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
     15316      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
     15317      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
     15318      ;;
     15319    *)
     15320      sys_lib_search_path_spec="$LIB"
     15321      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
     15322        # It is most probably a Windows format PATH.
     15323        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
    1791115324      else
    17912         $archive_expsym_cmds="$archive_cmds"
     15325        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
    1791315326      fi
    17914     else
    17915       ld_shlibs=no
    17916     fi
     15327      # FIXME: find the short name or the path components, as spaces are
     15328      # common. (e.g. "Program Files" -> "PROGRA~1")
     15329      ;;
     15330    esac
     15331
     15332    # DLL is installed to $(libdir)/../bin by postinstall_cmds
     15333    postinstall_cmds='base_file=`basename \${file}`~
     15334      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
     15335      dldir=$destdir/`dirname \$dlpath`~
     15336      test -d \$dldir || mkdir -p \$dldir~
     15337      $install_prog $dir/$dlname \$dldir/$dlname'
     15338    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
     15339      dlpath=$dir/\$dldll~
     15340       $RM \$dlpath'
     15341    shlibpath_overrides_runpath=yes
     15342    dynamic_linker='Win32 link.exe'
    1791715343    ;;
    1791815344
    1791915345  *)
     15346    # Assume MSVC wrapper
    1792015347    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
     15348    dynamic_linker='Win32 ld.exe'
    1792115349    ;;
    1792215350  esac
    17923   dynamic_linker='Win32 ld.exe'
    1792415351  # FIXME: first we should search . and the directory the executable is in
    1792515352  shlibpath_var=PATH
     
    1793115358  need_lib_prefix=no
    1793215359  need_version=no
    17933   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
     15360  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
    1793415361  soname_spec='${libname}${release}${major}$shared_ext'
    1793515362  shlibpath_overrides_runpath=yes
    1793615363  shlibpath_var=DYLD_LIBRARY_PATH
    1793715364  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
    17938   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
    17939   if test "$GCC" = yes; then
    17940     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
    17941   else
    17942     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
    17943   fi
     15365
     15366  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
    1794415367  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
    1794515368  ;;
    1794615369
    1794715370dgux*)
    17948   version_type=linux
     15371  version_type=linux # correct to gnu/linux during the next big refactor
    1794915372  need_lib_prefix=no
    1795015373  need_version=no
     
    1795215375  soname_spec='${libname}${release}${shared_ext}$major'
    1795315376  shlibpath_var=LD_LIBRARY_PATH
    17954   ;;
    17955 
    17956 freebsd1*)
    17957   dynamic_linker=no
    17958   ;;
    17959 
    17960 kfreebsd*-gnu)
    17961   version_type=linux
    17962   need_lib_prefix=no
    17963   need_version=no
    17964   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    17965   soname_spec='${libname}${release}${shared_ext}$major'
    17966   shlibpath_var=LD_LIBRARY_PATH
    17967   shlibpath_overrides_runpath=no
    17968   hardcode_into_libs=yes
    17969   dynamic_linker='GNU ld.so'
    1797015377  ;;
    1797115378
     
    1797715384  else
    1797815385    case $host_os in
    17979     freebsd[123]*) objformat=aout ;;
     15386    freebsd[23].*) objformat=aout ;;
    1798015387    *) objformat=elf ;;
    1798115388    esac
    1798215389  fi
    17983   # Handle Gentoo/FreeBSD as it was Linux
    17984   case $host_vendor in
    17985     gentoo)
    17986       version_type=linux ;;
    17987     *)
    17988       version_type=freebsd-$objformat ;;
    17989   esac
    17990 
     15390  version_type=freebsd-$objformat
    1799115391  case $version_type in
    1799215392    freebsd-elf*)
     
    1799915399      need_version=yes
    1800015400      ;;
    18001     linux)
    18002       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    18003       soname_spec='${libname}${release}${shared_ext}$major'
    18004       need_lib_prefix=no
    18005       need_version=no
    18006       ;;
    1800715401  esac
    1800815402  shlibpath_var=LD_LIBRARY_PATH
    1800915403  case $host_os in
    18010   freebsd2*)
     15404  freebsd2.*)
    1801115405    shlibpath_overrides_runpath=yes
    1801215406    ;;
     
    1802015414    hardcode_into_libs=yes
    1802115415    ;;
    18022   freebsd*) # from 4.6 on
     15416  *) # from 4.6 on, and DragonFly
    1802315417    shlibpath_overrides_runpath=yes
    1802415418    hardcode_into_libs=yes
     
    1802715421  ;;
    1802815422
    18029 gnu*)
    18030   version_type=linux
     15423haiku*)
     15424  version_type=linux # correct to gnu/linux during the next big refactor
    1803115425  need_lib_prefix=no
    1803215426  need_version=no
     15427  dynamic_linker="$host_os runtime_loader"
    1803315428  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
    1803415429  soname_spec='${libname}${release}${shared_ext}$major'
    18035   shlibpath_var=LD_LIBRARY_PATH
     15430  shlibpath_var=LIBRARY_PATH
     15431  shlibpath_overrides_runpath=yes
     15432  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
    1803615433  hardcode_into_libs=yes
    1803715434  ;;
     
    1805915456    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    1806015457    ;;
    18061    hppa*64*)
    18062      shrext_cmds='.sl'
    18063      hardcode_into_libs=yes
    18064      dynamic_linker="$host_os dld.sl"
    18065      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
    18066      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    18067      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    18068      soname_spec='${libname}${release}${shared_ext}$major'
    18069      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
    18070      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    18071      ;;
    18072    *)
     15458  hppa*64*)
     15459    shrext_cmds='.sl'
     15460    hardcode_into_libs=yes
     15461    dynamic_linker="$host_os dld.sl"
     15462    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
     15463    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
     15464    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     15465    soname_spec='${libname}${release}${shared_ext}$major'
     15466    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
     15467    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     15468    ;;
     15469  *)
    1807315470    shrext_cmds='.sl'
    1807415471    dynamic_linker="$host_os dld.sl"
     
    1807915476    ;;
    1808015477  esac
    18081   # HP-UX runs *really* slowly unless shared libraries are mode 555.
     15478  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
    1808215479  postinstall_cmds='chmod 555 $lib'
     15480  # or fails outright, so override atomically:
     15481  install_override_mode=555
    1808315482  ;;
    1808415483
    18085 interix3*)
    18086   version_type=linux
     15484interix[3-9]*)
     15485  version_type=linux # correct to gnu/linux during the next big refactor
    1808715486  need_lib_prefix=no
    1808815487  need_version=no
     
    1810015499    *)
    1810115500        if test "$lt_cv_prog_gnu_ld" = yes; then
    18102                 version_type=linux
     15501                version_type=linux # correct to gnu/linux during the next big refactor
    1810315502        else
    1810415503                version_type=irix
     
    1813715536  ;;
    1813815537
    18139 # This must be Linux ELF.
    18140 linux*)
    18141   version_type=linux
     15538# This must be glibc/ELF.
     15539linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
     15540  version_type=linux # correct to gnu/linux during the next big refactor
    1814215541  need_lib_prefix=no
    1814315542  need_version=no
     
    1814715546  shlibpath_var=LD_LIBRARY_PATH
    1814815547  shlibpath_overrides_runpath=no
     15548
     15549  # Some binutils ld are patched to set DT_RUNPATH
     15550  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
     15551  $as_echo_n "(cached) " >&6
     15552else
     15553  lt_cv_shlibpath_overrides_runpath=no
     15554    save_LDFLAGS=$LDFLAGS
     15555    save_libdir=$libdir
     15556    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
     15557         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
     15558    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     15559/* end confdefs.h.  */
     15560
     15561int
     15562main ()
     15563{
     15564
     15565  ;
     15566  return 0;
     15567}
     15568_ACEOF
     15569if ac_fn_c_try_link "$LINENO"; then :
     15570  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
     15571  lt_cv_shlibpath_overrides_runpath=yes
     15572fi
     15573fi
     15574rm -f core conftest.err conftest.$ac_objext \
     15575    conftest$ac_exeext conftest.$ac_ext
     15576    LDFLAGS=$save_LDFLAGS
     15577    libdir=$save_libdir
     15578
     15579fi
     15580
     15581  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
     15582
    1814915583  # This implies no fast_install, which is unacceptable.
    1815015584  # Some rework will be needed to allow for fast_install
     
    1815415588  # Append ld.so.conf contents to the search path
    1815515589  if test -f /etc/ld.so.conf; then
    18156     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
     15590    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' ' '`
    1815715591    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
    1815815592  fi
     
    1816715601  ;;
    1816815602
    18169 knetbsd*-gnu)
     15603netbsdelf*-gnu)
    1817015604  version_type=linux
    1817115605  need_lib_prefix=no
     
    1817615610  shlibpath_overrides_runpath=no
    1817715611  hardcode_into_libs=yes
    18178   dynamic_linker='GNU ld.so'
     15612  dynamic_linker='NetBSD ld.elf_so'
    1817915613  ;;
    1818015614
     
    1818315617  need_lib_prefix=no
    1818415618  need_version=no
    18185   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
     15619  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    1818615620    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
    1818715621    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
     
    1819815632
    1819915633newsos6)
    18200   version_type=linux
     15634  version_type=linux # correct to gnu/linux during the next big refactor
    1820115635  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    1820215636  shlibpath_var=LD_LIBRARY_PATH
     
    1820415638  ;;
    1820515639
    18206 nto-qnx*)
    18207   version_type=linux
     15640*nto* | *qnx*)
     15641  version_type=qnx
    1820815642  need_lib_prefix=no
    1820915643  need_version=no
     
    1821115645  soname_spec='${libname}${release}${shared_ext}$major'
    1821215646  shlibpath_var=LD_LIBRARY_PATH
    18213   shlibpath_overrides_runpath=yes
     15647  shlibpath_overrides_runpath=no
     15648  hardcode_into_libs=yes
     15649  dynamic_linker='ldqnx.so'
    1821415650  ;;
    1821515651
     
    1822015656  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
    1822115657  case $host_os in
    18222     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
    18223     *)                         need_version=no  ;;
     15658    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
     15659    *)                          need_version=no  ;;
    1822415660  esac
    1822515661  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
    1822615662  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    1822715663  shlibpath_var=LD_LIBRARY_PATH
    18228   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
     15664  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    1822915665    case $host_os in
    1823015666      openbsd2.[89] | openbsd2.[89].*)
     
    1826015696  ;;
    1826115697
     15698rdos*)
     15699  dynamic_linker=no
     15700  ;;
     15701
    1826215702solaris*)
    18263   version_type=linux
     15703  version_type=linux # correct to gnu/linux during the next big refactor
    1826415704  need_lib_prefix=no
    1826515705  need_version=no
     
    1828615726
    1828715727sysv4 | sysv4.3*)
    18288   version_type=linux
     15728  version_type=linux # correct to gnu/linux during the next big refactor
    1828915729  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    1829015730  soname_spec='${libname}${release}${shared_ext}$major'
     
    1829415734      shlibpath_overrides_runpath=no
    1829515735      need_lib_prefix=no
    18296       export_dynamic_flag_spec='${wl}-Blargedynsym'
    1829715736      runpath_var=LD_RUN_PATH
    1829815737      ;;
     
    1831115750sysv4*MP*)
    1831215751  if test -d /usr/nec ;then
    18313     version_type=linux
     15752    version_type=linux # correct to gnu/linux during the next big refactor
    1831415753    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
    1831515754    soname_spec='$libname${shared_ext}.$major'
     
    1832515764  soname_spec='${libname}${release}${shared_ext}$major'
    1832615765  shlibpath_var=LD_LIBRARY_PATH
     15766  shlibpath_overrides_runpath=yes
    1832715767  hardcode_into_libs=yes
    1832815768  if test "$with_gnu_ld" = yes; then
    1832915769    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
    18330     shlibpath_overrides_runpath=no
    1833115770  else
    1833215771    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
    18333     shlibpath_overrides_runpath=yes
    1833415772    case $host_os in
    1833515773      sco3.2v5*)
     
    1834115779  ;;
    1834215780
     15781tpf*)
     15782  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
     15783  version_type=linux # correct to gnu/linux during the next big refactor
     15784  need_lib_prefix=no
     15785  need_version=no
     15786  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     15787  shlibpath_var=LD_LIBRARY_PATH
     15788  shlibpath_overrides_runpath=no
     15789  hardcode_into_libs=yes
     15790  ;;
     15791
    1834315792uts4*)
    18344   version_type=linux
     15793  version_type=linux # correct to gnu/linux during the next big refactor
    1834515794  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    1834615795  soname_spec='${libname}${release}${shared_ext}$major'
     
    1835215801  ;;
    1835315802esac
    18354 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
    18355 echo "${ECHO_T}$dynamic_linker" >&6
     15803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
     15804$as_echo "$dynamic_linker" >&6; }
    1835615805test "$dynamic_linker" = no && can_build_shared=no
    1835715806
     
    1836115810fi
    1836215811
    18363 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
    18364 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
     15812if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
     15813  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
     15814fi
     15815if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
     15816  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
     15817fi
     15818
     15819
     15820
     15821
     15822
     15823
     15824
     15825
     15826
     15827
     15828
     15829
     15830
     15831
     15832
     15833
     15834
     15835
     15836
     15837
     15838
     15839
     15840
     15841
     15842
     15843
     15844
     15845
     15846
     15847
     15848
     15849
     15850
     15851
     15852
     15853
     15854
     15855
     15856
     15857
     15858
     15859
     15860
     15861
     15862
     15863
     15864
     15865
     15866
     15867
     15868
     15869
     15870
     15871
     15872
     15873
     15874
     15875
     15876
     15877
     15878
     15879
     15880
     15881
     15882
     15883
     15884
     15885
     15886
     15887
     15888
     15889
     15890
     15891
     15892
     15893
     15894
     15895
     15896
     15897
     15898
     15899
     15900
     15901
     15902
     15903
     15904
     15905
     15906
     15907
     15908
     15909
     15910  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
     15911$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
    1836515912hardcode_action=
    18366 if test -n "$hardcode_libdir_flag_spec" || \
    18367    test -n "$runpath_var" || \
     15913if test -n "$hardcode_libdir_flag_spec" ||
     15914   test -n "$runpath_var" ||
    1836815915   test "X$hardcode_automatic" = "Xyes" ; then
    1836915916
    18370   # We can hardcode non-existant directories.
     15917  # We can hardcode non-existent directories.
    1837115918  if test "$hardcode_direct" != no &&
    1837215919     # If the only mechanism to avoid hardcoding is shlibpath_var, we
    1837315920     # have to relink, otherwise we might link with an installed library
    1837415921     # when we should be linking with a yet-to-be-installed one
    18375      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
     15922     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
    1837615923     test "$hardcode_minus_L" != no; then
    1837715924    # Linking always hardcodes the temporary library directory.
     
    1838615933  hardcode_action=unsupported
    1838715934fi
    18388 echo "$as_me:$LINENO: result: $hardcode_action" >&5
    18389 echo "${ECHO_T}$hardcode_action" >&6
    18390 
    18391 if test "$hardcode_action" = relink; then
     15935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
     15936$as_echo "$hardcode_action" >&6; }
     15937
     15938if test "$hardcode_action" = relink ||
     15939   test "$inherit_rpath" = yes; then
    1839215940  # Fast installation is not supported
    1839315941  enable_fast_install=no
     
    1839815946fi
    1839915947
    18400 striplib=
    18401 old_striplib=
    18402 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
    18403 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
    18404 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
    18405   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
    18406   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
    18407   echo "$as_me:$LINENO: result: yes" >&5
    18408 echo "${ECHO_T}yes" >&6
    18409 else
    18410 # FIXME - insert some real tests, host_os isn't really good enough
    18411   case $host_os in
    18412    darwin*)
    18413        if test -n "$STRIP" ; then
    18414          striplib="$STRIP -x"
    18415          echo "$as_me:$LINENO: result: yes" >&5
    18416 echo "${ECHO_T}yes" >&6
    18417        else
    18418   echo "$as_me:$LINENO: result: no" >&5
    18419 echo "${ECHO_T}no" >&6
    18420 fi
    18421        ;;
    18422    *)
    18423   echo "$as_me:$LINENO: result: no" >&5
    18424 echo "${ECHO_T}no" >&6
    18425     ;;
    18426   esac
    18427 fi
    18428 
    18429 if test "x$enable_dlopen" != xyes; then
     15948
     15949
     15950
     15951
     15952
     15953  if test "x$enable_dlopen" != xyes; then
    1843015954  enable_dlopen=unknown
    1843115955  enable_dlopen_self=unknown
     
    1844215966    ;;
    1844315967
    18444   mingw* | pw32*)
     15968  mingw* | pw32* | cegcc*)
    1844515969    lt_cv_dlopen="LoadLibrary"
    1844615970    lt_cv_dlopen_libs=
    18447    ;;
     15971    ;;
    1844815972
    1844915973  cygwin*)
    1845015974    lt_cv_dlopen="dlopen"
    1845115975    lt_cv_dlopen_libs=
    18452    ;;
     15976    ;;
    1845315977
    1845415978  darwin*)
    1845515979  # if libdl is installed we need to link against it
    18456     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
    18457 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
    18458 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
    18459   echo $ECHO_N "(cached) $ECHO_C" >&6
     15980    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
     15981$as_echo_n "checking for dlopen in -ldl... " >&6; }
     15982if ${ac_cv_lib_dl_dlopen+:} false; then :
     15983  $as_echo_n "(cached) " >&6
    1846015984else
    1846115985  ac_check_lib_save_LIBS=$LIBS
    1846215986LIBS="-ldl  $LIBS"
    18463 cat >conftest.$ac_ext <<_ACEOF
    18464 /* confdefs.h.  */
    18465 _ACEOF
    18466 cat confdefs.h >>conftest.$ac_ext
    18467 cat >>conftest.$ac_ext <<_ACEOF
     15987cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1846815988/* end confdefs.h.  */
    1846915989
    18470 /* Override any gcc2 internal prototype to avoid an error.  */
     15990/* Override any GCC internal prototype to avoid an error.
     15991   Use char because int might match the return type of a GCC
     15992   builtin and then its argument prototype would still apply.  */
    1847115993#ifdef __cplusplus
    1847215994extern "C"
    1847315995#endif
    18474 /* We use char because int might match the return type of a gcc2
    18475    builtin and then its argument prototype would still apply.  */
    1847615996char dlopen ();
    1847715997int
    1847815998main ()
    1847915999{
    18480 dlopen ();
     16000return dlopen ();
    1848116001  ;
    1848216002  return 0;
    1848316003}
    1848416004_ACEOF
    18485 rm -f conftest.$ac_objext conftest$ac_exeext
    18486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    18487   (eval $ac_link) 2>conftest.er1
    18488   ac_status=$?
    18489   grep -v '^ *+' conftest.er1 >conftest.err
    18490   rm -f conftest.er1
    18491   cat conftest.err >&5
    18492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18493   (exit $ac_status); } &&
    18494          { ac_try='test -z "$ac_c_werror_flag"
    18495                          || test ! -s conftest.err'
    18496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    18497   (eval $ac_try) 2>&5
    18498   ac_status=$?
    18499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18500   (exit $ac_status); }; } &&
    18501          { ac_try='test -s conftest$ac_exeext'
    18502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    18503   (eval $ac_try) 2>&5
    18504   ac_status=$?
    18505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18506   (exit $ac_status); }; }; then
     16005if ac_fn_c_try_link "$LINENO"; then :
    1850716006  ac_cv_lib_dl_dlopen=yes
    1850816007else
    18509   echo "$as_me: failed program was:" >&5
    18510 sed 's/^/| /' conftest.$ac_ext >&5
    18511 
    18512 ac_cv_lib_dl_dlopen=no
    18513 fi
    18514 rm -f conftest.err conftest.$ac_objext \
    18515       conftest$ac_exeext conftest.$ac_ext
     16008  ac_cv_lib_dl_dlopen=no
     16009fi
     16010rm -f core conftest.err conftest.$ac_objext \
     16011    conftest$ac_exeext conftest.$ac_ext
    1851616012LIBS=$ac_check_lib_save_LIBS
    1851716013fi
    18518 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
    18519 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
    18520 if test $ac_cv_lib_dl_dlopen = yes; then
     16014{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
     16015$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
     16016if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
    1852116017  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
    1852216018else
     
    1852816024fi
    1852916025
    18530    ;;
     16026    ;;
    1853116027
    1853216028  *)
    18533     echo "$as_me:$LINENO: checking for shl_load" >&5
    18534 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
    18535 if test "${ac_cv_func_shl_load+set}" = set; then
    18536   echo $ECHO_N "(cached) $ECHO_C" >&6
    18537 else
    18538   cat >conftest.$ac_ext <<_ACEOF
    18539 /* confdefs.h.  */
    18540 _ACEOF
    18541 cat confdefs.h >>conftest.$ac_ext
    18542 cat >>conftest.$ac_ext <<_ACEOF
     16029    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
     16030if test "x$ac_cv_func_shl_load" = xyes; then :
     16031  lt_cv_dlopen="shl_load"
     16032else
     16033  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
     16034$as_echo_n "checking for shl_load in -ldld... " >&6; }
     16035if ${ac_cv_lib_dld_shl_load+:} false; then :
     16036  $as_echo_n "(cached) " >&6
     16037else
     16038  ac_check_lib_save_LIBS=$LIBS
     16039LIBS="-ldld  $LIBS"
     16040cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1854316041/* end confdefs.h.  */
    18544 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
    18545    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    18546 #define shl_load innocuous_shl_load
    18547 
    18548 /* System header to define __stub macros and hopefully few prototypes,
    18549     which can conflict with char shl_load (); below.
    18550     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    18551     <limits.h> exists even on freestanding compilers.  */
    18552 
    18553 #ifdef __STDC__
    18554 # include <limits.h>
    18555 #else
    18556 # include <assert.h>
    18557 #endif
    18558 
    18559 #undef shl_load
    18560 
    18561 /* Override any gcc2 internal prototype to avoid an error.  */
     16042
     16043/* Override any GCC internal prototype to avoid an error.
     16044   Use char because int might match the return type of a GCC
     16045   builtin and then its argument prototype would still apply.  */
    1856216046#ifdef __cplusplus
    1856316047extern "C"
    18564 {
    1856516048#endif
    18566 /* We use char because int might match the return type of a gcc2
    18567    builtin and then its argument prototype would still apply.  */
    1856816049char shl_load ();
    18569 /* The GNU C library defines this for functions which it implements
    18570     to always fail with ENOSYS.  Some functions are actually named
    18571     something starting with __ and the normal name is an alias.  */
    18572 #if defined (__stub_shl_load) || defined (__stub___shl_load)
    18573 choke me
    18574 #else
    18575 char (*f) () = shl_load;
    18576 #endif
    18577 #ifdef __cplusplus
    18578 }
    18579 #endif
    18580 
    1858116050int
    1858216051main ()
    1858316052{
    18584 return f != shl_load;
     16053return shl_load ();
    1858516054  ;
    1858616055  return 0;
    1858716056}
    1858816057_ACEOF
    18589 rm -f conftest.$ac_objext conftest$ac_exeext
    18590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    18591   (eval $ac_link) 2>conftest.er1
    18592   ac_status=$?
    18593   grep -v '^ *+' conftest.er1 >conftest.err
    18594   rm -f conftest.er1
    18595   cat conftest.err >&5
    18596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18597   (exit $ac_status); } &&
    18598          { ac_try='test -z "$ac_c_werror_flag"
    18599                          || test ! -s conftest.err'
    18600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    18601   (eval $ac_try) 2>&5
    18602   ac_status=$?
    18603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18604   (exit $ac_status); }; } &&
    18605          { ac_try='test -s conftest$ac_exeext'
    18606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    18607   (eval $ac_try) 2>&5
    18608   ac_status=$?
    18609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18610   (exit $ac_status); }; }; then
    18611   ac_cv_func_shl_load=yes
    18612 else
    18613   echo "$as_me: failed program was:" >&5
    18614 sed 's/^/| /' conftest.$ac_ext >&5
    18615 
    18616 ac_cv_func_shl_load=no
    18617 fi
    18618 rm -f conftest.err conftest.$ac_objext \
    18619       conftest$ac_exeext conftest.$ac_ext
    18620 fi
    18621 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
    18622 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
    18623 if test $ac_cv_func_shl_load = yes; then
    18624   lt_cv_dlopen="shl_load"
    18625 else
    18626   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
    18627 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
    18628 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
    18629   echo $ECHO_N "(cached) $ECHO_C" >&6
     16058if ac_fn_c_try_link "$LINENO"; then :
     16059  ac_cv_lib_dld_shl_load=yes
     16060else
     16061  ac_cv_lib_dld_shl_load=no
     16062fi
     16063rm -f core conftest.err conftest.$ac_objext \
     16064    conftest$ac_exeext conftest.$ac_ext
     16065LIBS=$ac_check_lib_save_LIBS
     16066fi
     16067{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
     16068$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
     16069if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
     16070  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
     16071else
     16072  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
     16073if test "x$ac_cv_func_dlopen" = xyes; then :
     16074  lt_cv_dlopen="dlopen"
     16075else
     16076  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
     16077$as_echo_n "checking for dlopen in -ldl... " >&6; }
     16078if ${ac_cv_lib_dl_dlopen+:} false; then :
     16079  $as_echo_n "(cached) " >&6
    1863016080else
    1863116081  ac_check_lib_save_LIBS=$LIBS
    18632 LIBS="-ldld  $LIBS"
    18633 cat >conftest.$ac_ext <<_ACEOF
    18634 /* confdefs.h.  */
    18635 _ACEOF
    18636 cat confdefs.h >>conftest.$ac_ext
    18637 cat >>conftest.$ac_ext <<_ACEOF
     16082LIBS="-ldl  $LIBS"
     16083cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1863816084/* end confdefs.h.  */
    1863916085
    18640 /* Override any gcc2 internal prototype to avoid an error.  */
     16086/* Override any GCC internal prototype to avoid an error.
     16087   Use char because int might match the return type of a GCC
     16088   builtin and then its argument prototype would still apply.  */
    1864116089#ifdef __cplusplus
    1864216090extern "C"
    1864316091#endif
    18644 /* We use char because int might match the return type of a gcc2
    18645    builtin and then its argument prototype would still apply.  */
    18646 char shl_load ();
     16092char dlopen ();
    1864716093int
    1864816094main ()
    1864916095{
    18650 shl_load ();
     16096return dlopen ();
    1865116097  ;
    1865216098  return 0;
    1865316099}
    1865416100_ACEOF
    18655 rm -f conftest.$ac_objext conftest$ac_exeext
    18656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    18657   (eval $ac_link) 2>conftest.er1
    18658   ac_status=$?
    18659   grep -v '^ *+' conftest.er1 >conftest.err
    18660   rm -f conftest.er1
    18661   cat conftest.err >&5
    18662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18663   (exit $ac_status); } &&
    18664          { ac_try='test -z "$ac_c_werror_flag"
    18665                          || test ! -s conftest.err'
    18666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    18667   (eval $ac_try) 2>&5
    18668   ac_status=$?
    18669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18670   (exit $ac_status); }; } &&
    18671          { ac_try='test -s conftest$ac_exeext'
    18672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    18673   (eval $ac_try) 2>&5
    18674   ac_status=$?
    18675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18676   (exit $ac_status); }; }; then
    18677   ac_cv_lib_dld_shl_load=yes
    18678 else
    18679   echo "$as_me: failed program was:" >&5
    18680 sed 's/^/| /' conftest.$ac_ext >&5
    18681 
    18682 ac_cv_lib_dld_shl_load=no
    18683 fi
    18684 rm -f conftest.err conftest.$ac_objext \
    18685       conftest$ac_exeext conftest.$ac_ext
     16101if ac_fn_c_try_link "$LINENO"; then :
     16102  ac_cv_lib_dl_dlopen=yes
     16103else
     16104  ac_cv_lib_dl_dlopen=no
     16105fi
     16106rm -f core conftest.err conftest.$ac_objext \
     16107    conftest$ac_exeext conftest.$ac_ext
    1868616108LIBS=$ac_check_lib_save_LIBS
    1868716109fi
    18688 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
    18689 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
    18690 if test $ac_cv_lib_dld_shl_load = yes; then
    18691   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
    18692 else
    18693   echo "$as_me:$LINENO: checking for dlopen" >&5
    18694 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
    18695 if test "${ac_cv_func_dlopen+set}" = set; then
    18696   echo $ECHO_N "(cached) $ECHO_C" >&6
    18697 else
    18698   cat >conftest.$ac_ext <<_ACEOF
    18699 /* confdefs.h.  */
    18700 _ACEOF
    18701 cat confdefs.h >>conftest.$ac_ext
    18702 cat >>conftest.$ac_ext <<_ACEOF
     16110{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
     16111$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
     16112if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
     16113  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
     16114else
     16115  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
     16116$as_echo_n "checking for dlopen in -lsvld... " >&6; }
     16117if ${ac_cv_lib_svld_dlopen+:} false; then :
     16118  $as_echo_n "(cached) " >&6
     16119else
     16120  ac_check_lib_save_LIBS=$LIBS
     16121LIBS="-lsvld  $LIBS"
     16122cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1870316123/* end confdefs.h.  */
    18704 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
    18705    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    18706 #define dlopen innocuous_dlopen
    18707 
    18708 /* System header to define __stub macros and hopefully few prototypes,
    18709     which can conflict with char dlopen (); below.
    18710     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    18711     <limits.h> exists even on freestanding compilers.  */
    18712 
    18713 #ifdef __STDC__
    18714 # include <limits.h>
    18715 #else
    18716 # include <assert.h>
    18717 #endif
    18718 
    18719 #undef dlopen
    18720 
    18721 /* Override any gcc2 internal prototype to avoid an error.  */
     16124
     16125/* Override any GCC internal prototype to avoid an error.
     16126   Use char because int might match the return type of a GCC
     16127   builtin and then its argument prototype would still apply.  */
    1872216128#ifdef __cplusplus
    1872316129extern "C"
    18724 {
    1872516130#endif
    18726 /* We use char because int might match the return type of a gcc2
    18727    builtin and then its argument prototype would still apply.  */
    1872816131char dlopen ();
    18729 /* The GNU C library defines this for functions which it implements
    18730     to always fail with ENOSYS.  Some functions are actually named
    18731     something starting with __ and the normal name is an alias.  */
    18732 #if defined (__stub_dlopen) || defined (__stub___dlopen)
    18733 choke me
    18734 #else
    18735 char (*f) () = dlopen;
    18736 #endif
    18737 #ifdef __cplusplus
    18738 }
    18739 #endif
    18740 
    1874116132int
    1874216133main ()
    1874316134{
    18744 return f != dlopen;
     16135return dlopen ();
    1874516136  ;
    1874616137  return 0;
    1874716138}
    1874816139_ACEOF
    18749 rm -f conftest.$ac_objext conftest$ac_exeext
    18750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    18751   (eval $ac_link) 2>conftest.er1
    18752   ac_status=$?
    18753   grep -v '^ *+' conftest.er1 >conftest.err
    18754   rm -f conftest.er1
    18755   cat conftest.err >&5
    18756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18757   (exit $ac_status); } &&
    18758          { ac_try='test -z "$ac_c_werror_flag"
    18759                          || test ! -s conftest.err'
    18760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    18761   (eval $ac_try) 2>&5
    18762   ac_status=$?
    18763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18764   (exit $ac_status); }; } &&
    18765          { ac_try='test -s conftest$ac_exeext'
    18766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    18767   (eval $ac_try) 2>&5
    18768   ac_status=$?
    18769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18770   (exit $ac_status); }; }; then
    18771   ac_cv_func_dlopen=yes
    18772 else
    18773   echo "$as_me: failed program was:" >&5
    18774 sed 's/^/| /' conftest.$ac_ext >&5
    18775 
    18776 ac_cv_func_dlopen=no
    18777 fi
    18778 rm -f conftest.err conftest.$ac_objext \
    18779       conftest$ac_exeext conftest.$ac_ext
    18780 fi
    18781 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
    18782 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
    18783 if test $ac_cv_func_dlopen = yes; then
    18784   lt_cv_dlopen="dlopen"
    18785 else
    18786   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
    18787 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
    18788 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
    18789   echo $ECHO_N "(cached) $ECHO_C" >&6
     16140if ac_fn_c_try_link "$LINENO"; then :
     16141  ac_cv_lib_svld_dlopen=yes
     16142else
     16143  ac_cv_lib_svld_dlopen=no
     16144fi
     16145rm -f core conftest.err conftest.$ac_objext \
     16146    conftest$ac_exeext conftest.$ac_ext
     16147LIBS=$ac_check_lib_save_LIBS
     16148fi
     16149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
     16150$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
     16151if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
     16152  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
     16153else
     16154  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
     16155$as_echo_n "checking for dld_link in -ldld... " >&6; }
     16156if ${ac_cv_lib_dld_dld_link+:} false; then :
     16157  $as_echo_n "(cached) " >&6
    1879016158else
    1879116159  ac_check_lib_save_LIBS=$LIBS
    18792 LIBS="-ldl  $LIBS"
    18793 cat >conftest.$ac_ext <<_ACEOF
    18794 /* confdefs.h.  */
    18795 _ACEOF
    18796 cat confdefs.h >>conftest.$ac_ext
    18797 cat >>conftest.$ac_ext <<_ACEOF
     16160LIBS="-ldld  $LIBS"
     16161cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1879816162/* end confdefs.h.  */
    1879916163
    18800 /* Override any gcc2 internal prototype to avoid an error.  */
     16164/* Override any GCC internal prototype to avoid an error.
     16165   Use char because int might match the return type of a GCC
     16166   builtin and then its argument prototype would still apply.  */
    1880116167#ifdef __cplusplus
    1880216168extern "C"
    1880316169#endif
    18804 /* We use char because int might match the return type of a gcc2
    18805    builtin and then its argument prototype would still apply.  */
    18806 char dlopen ();
     16170char dld_link ();
    1880716171int
    1880816172main ()
    1880916173{
    18810 dlopen ();
     16174return dld_link ();
    1881116175  ;
    1881216176  return 0;
    1881316177}
    1881416178_ACEOF
    18815 rm -f conftest.$ac_objext conftest$ac_exeext
    18816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    18817   (eval $ac_link) 2>conftest.er1
    18818   ac_status=$?
    18819   grep -v '^ *+' conftest.er1 >conftest.err
    18820   rm -f conftest.er1
    18821   cat conftest.err >&5
    18822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18823   (exit $ac_status); } &&
    18824          { ac_try='test -z "$ac_c_werror_flag"
    18825                          || test ! -s conftest.err'
    18826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    18827   (eval $ac_try) 2>&5
    18828   ac_status=$?
    18829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18830   (exit $ac_status); }; } &&
    18831          { ac_try='test -s conftest$ac_exeext'
    18832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    18833   (eval $ac_try) 2>&5
    18834   ac_status=$?
    18835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18836   (exit $ac_status); }; }; then
    18837   ac_cv_lib_dl_dlopen=yes
    18838 else
    18839   echo "$as_me: failed program was:" >&5
    18840 sed 's/^/| /' conftest.$ac_ext >&5
    18841 
    18842 ac_cv_lib_dl_dlopen=no
    18843 fi
    18844 rm -f conftest.err conftest.$ac_objext \
    18845       conftest$ac_exeext conftest.$ac_ext
     16179if ac_fn_c_try_link "$LINENO"; then :
     16180  ac_cv_lib_dld_dld_link=yes
     16181else
     16182  ac_cv_lib_dld_dld_link=no
     16183fi
     16184rm -f core conftest.err conftest.$ac_objext \
     16185    conftest$ac_exeext conftest.$ac_ext
    1884616186LIBS=$ac_check_lib_save_LIBS
    1884716187fi
    18848 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
    18849 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
    18850 if test $ac_cv_lib_dl_dlopen = yes; then
    18851   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
    18852 else
    18853   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
    18854 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
    18855 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
    18856   echo $ECHO_N "(cached) $ECHO_C" >&6
    18857 else
    18858   ac_check_lib_save_LIBS=$LIBS
    18859 LIBS="-lsvld  $LIBS"
    18860 cat >conftest.$ac_ext <<_ACEOF
    18861 /* confdefs.h.  */
    18862 _ACEOF
    18863 cat confdefs.h >>conftest.$ac_ext
    18864 cat >>conftest.$ac_ext <<_ACEOF
    18865 /* end confdefs.h.  */
    18866 
    18867 /* Override any gcc2 internal prototype to avoid an error.  */
    18868 #ifdef __cplusplus
    18869 extern "C"
    18870 #endif
    18871 /* We use char because int might match the return type of a gcc2
    18872    builtin and then its argument prototype would still apply.  */
    18873 char dlopen ();
    18874 int
    18875 main ()
    18876 {
    18877 dlopen ();
    18878   ;
    18879   return 0;
    18880 }
    18881 _ACEOF
    18882 rm -f conftest.$ac_objext conftest$ac_exeext
    18883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    18884   (eval $ac_link) 2>conftest.er1
    18885   ac_status=$?
    18886   grep -v '^ *+' conftest.er1 >conftest.err
    18887   rm -f conftest.er1
    18888   cat conftest.err >&5
    18889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18890   (exit $ac_status); } &&
    18891          { ac_try='test -z "$ac_c_werror_flag"
    18892                          || test ! -s conftest.err'
    18893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    18894   (eval $ac_try) 2>&5
    18895   ac_status=$?
    18896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18897   (exit $ac_status); }; } &&
    18898          { ac_try='test -s conftest$ac_exeext'
    18899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    18900   (eval $ac_try) 2>&5
    18901   ac_status=$?
    18902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18903   (exit $ac_status); }; }; then
    18904   ac_cv_lib_svld_dlopen=yes
    18905 else
    18906   echo "$as_me: failed program was:" >&5
    18907 sed 's/^/| /' conftest.$ac_ext >&5
    18908 
    18909 ac_cv_lib_svld_dlopen=no
    18910 fi
    18911 rm -f conftest.err conftest.$ac_objext \
    18912       conftest$ac_exeext conftest.$ac_ext
    18913 LIBS=$ac_check_lib_save_LIBS
    18914 fi
    18915 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
    18916 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
    18917 if test $ac_cv_lib_svld_dlopen = yes; then
    18918   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
    18919 else
    18920   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
    18921 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
    18922 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
    18923   echo $ECHO_N "(cached) $ECHO_C" >&6
    18924 else
    18925   ac_check_lib_save_LIBS=$LIBS
    18926 LIBS="-ldld  $LIBS"
    18927 cat >conftest.$ac_ext <<_ACEOF
    18928 /* confdefs.h.  */
    18929 _ACEOF
    18930 cat confdefs.h >>conftest.$ac_ext
    18931 cat >>conftest.$ac_ext <<_ACEOF
    18932 /* end confdefs.h.  */
    18933 
    18934 /* Override any gcc2 internal prototype to avoid an error.  */
    18935 #ifdef __cplusplus
    18936 extern "C"
    18937 #endif
    18938 /* We use char because int might match the return type of a gcc2
    18939    builtin and then its argument prototype would still apply.  */
    18940 char dld_link ();
    18941 int
    18942 main ()
    18943 {
    18944 dld_link ();
    18945   ;
    18946   return 0;
    18947 }
    18948 _ACEOF
    18949 rm -f conftest.$ac_objext conftest$ac_exeext
    18950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    18951   (eval $ac_link) 2>conftest.er1
    18952   ac_status=$?
    18953   grep -v '^ *+' conftest.er1 >conftest.err
    18954   rm -f conftest.er1
    18955   cat conftest.err >&5
    18956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18957   (exit $ac_status); } &&
    18958          { ac_try='test -z "$ac_c_werror_flag"
    18959                          || test ! -s conftest.err'
    18960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    18961   (eval $ac_try) 2>&5
    18962   ac_status=$?
    18963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18964   (exit $ac_status); }; } &&
    18965          { ac_try='test -s conftest$ac_exeext'
    18966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    18967   (eval $ac_try) 2>&5
    18968   ac_status=$?
    18969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18970   (exit $ac_status); }; }; then
    18971   ac_cv_lib_dld_dld_link=yes
    18972 else
    18973   echo "$as_me: failed program was:" >&5
    18974 sed 's/^/| /' conftest.$ac_ext >&5
    18975 
    18976 ac_cv_lib_dld_dld_link=no
    18977 fi
    18978 rm -f conftest.err conftest.$ac_objext \
    18979       conftest$ac_exeext conftest.$ac_ext
    18980 LIBS=$ac_check_lib_save_LIBS
    18981 fi
    18982 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
    18983 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
    18984 if test $ac_cv_lib_dld_dld_link = yes; then
    18985   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
     16188{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
     16189$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
     16190if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
     16191  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
    1898616192fi
    1898716193
     
    1902116227    LIBS="$lt_cv_dlopen_libs $LIBS"
    1902216228
    19023     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
    19024 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
    19025 if test "${lt_cv_dlopen_self+set}" = set; then
    19026   echo $ECHO_N "(cached) $ECHO_C" >&6
     16229    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
     16230$as_echo_n "checking whether a program can dlopen itself... " >&6; }
     16231if ${lt_cv_dlopen_self+:} false; then :
     16232  $as_echo_n "(cached) " >&6
    1902716233else
    1902816234          if test "$cross_compiling" = yes; then :
     
    1903116237  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    1903216238  lt_status=$lt_dlunknown
    19033   cat > conftest.$ac_ext <<EOF
    19034 #line 19034 "configure"
     16239  cat > conftest.$ac_ext <<_LT_EOF
     16240#line $LINENO "configure"
    1903516241#include "confdefs.h"
    1903616242
     
    1907316279#endif
    1907416280
    19075 #ifdef __cplusplus
    19076 extern "C" void exit (int);
     16281/* When -fvisbility=hidden is used, assume the code has been annotated
     16282   correspondingly for the symbols needed.  */
     16283#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
     16284int fnord () __attribute__((visibility("default")));
    1907716285#endif
    1907816286
    19079 void fnord() { int i=42;}
     16287int fnord () { return 42; }
    1908016288int main ()
    1908116289{
     
    1908616294    {
    1908716295      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
    19088       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
     16296      else
     16297        {
     16298          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
     16299          else puts (dlerror ());
     16300        }
    1908916301      /* dlclose (self); */
    1909016302    }
     
    1909216304    puts (dlerror ());
    1909316305
    19094     exit (status);
     16306  return status;
    1909516307}
    19096 EOF
    19097   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     16308_LT_EOF
     16309  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
    1909816310  (eval $ac_link) 2>&5
    1909916311  ac_status=$?
    19100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19101   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
     16312  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     16313  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
    1910216314    (./conftest; exit; ) >&5 2>/dev/null
    1910316315    lt_status=$?
     
    1911616328
    1911716329fi
    19118 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
    19119 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
     16330{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
     16331$as_echo "$lt_cv_dlopen_self" >&6; }
    1912016332
    1912116333    if test "x$lt_cv_dlopen_self" = xyes; then
    1912216334      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
    19123       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
    19124 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
    19125 if test "${lt_cv_dlopen_self_static+set}" = set; then
    19126   echo $ECHO_N "(cached) $ECHO_C" >&6
     16335      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
     16336$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
     16337if ${lt_cv_dlopen_self_static+:} false; then :
     16338  $as_echo_n "(cached) " >&6
    1912716339else
    1912816340          if test "$cross_compiling" = yes; then :
     
    1913116343  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    1913216344  lt_status=$lt_dlunknown
    19133   cat > conftest.$ac_ext <<EOF
    19134 #line 19134 "configure"
     16345  cat > conftest.$ac_ext <<_LT_EOF
     16346#line $LINENO "configure"
    1913516347#include "confdefs.h"
    1913616348
     
    1917316385#endif
    1917416386
    19175 #ifdef __cplusplus
    19176 extern "C" void exit (int);
     16387/* When -fvisbility=hidden is used, assume the code has been annotated
     16388   correspondingly for the symbols needed.  */
     16389#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
     16390int fnord () __attribute__((visibility("default")));
    1917716391#endif
    1917816392
    19179 void fnord() { int i=42;}
     16393int fnord () { return 42; }
    1918016394int main ()
    1918116395{
     
    1918616400    {
    1918716401      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
    19188       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
     16402      else
     16403        {
     16404          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
     16405          else puts (dlerror ());
     16406        }
    1918916407      /* dlclose (self); */
    1919016408    }
     
    1919216410    puts (dlerror ());
    1919316411
    19194     exit (status);
     16412  return status;
    1919516413}
    19196 EOF
    19197   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     16414_LT_EOF
     16415  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
    1919816416  (eval $ac_link) 2>&5
    1919916417  ac_status=$?
    19200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19201   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
     16418  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     16419  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
    1920216420    (./conftest; exit; ) >&5 2>/dev/null
    1920316421    lt_status=$?
     
    1921616434
    1921716435fi
    19218 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
    19219 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
     16436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
     16437$as_echo "$lt_cv_dlopen_self_static" >&6; }
    1922016438    fi
    1922116439
     
    1923816456
    1923916457
    19240 # Report which library types will actually be built
    19241 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
    19242 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
    19243 echo "$as_me:$LINENO: result: $can_build_shared" >&5
    19244 echo "${ECHO_T}$can_build_shared" >&6
    19245 
    19246 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
    19247 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
    19248 test "$can_build_shared" = "no" && enable_shared=no
    19249 
    19250 # On AIX, shared libraries and static libraries use the same namespace, and
    19251 # are all built from PIC.
    19252 case $host_os in
    19253 aix3*)
    19254   test "$enable_shared" = yes && enable_static=no
    19255   if test -n "$RANLIB"; then
    19256     archive_cmds="$archive_cmds~\$RANLIB \$lib"
    19257     postinstall_cmds='$RANLIB $lib'
    19258   fi
    19259   ;;
    19260 
    19261 aix4* | aix5*)
    19262   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
    19263     test "$enable_shared" = yes && enable_static=no
    19264   fi
     16458
     16459
     16460
     16461
     16462
     16463
     16464
     16465
     16466
     16467
     16468
     16469
     16470
     16471
     16472
     16473striplib=
     16474old_striplib=
     16475{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
     16476$as_echo_n "checking whether stripping libraries is possible... " >&6; }
     16477if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
     16478  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
     16479  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
     16480  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     16481$as_echo "yes" >&6; }
     16482else
     16483# FIXME - insert some real tests, host_os isn't really good enough
     16484  case $host_os in
     16485  darwin*)
     16486    if test -n "$STRIP" ; then
     16487      striplib="$STRIP -x"
     16488      old_striplib="$STRIP -S"
     16489      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     16490$as_echo "yes" >&6; }
     16491    else
     16492      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     16493$as_echo "no" >&6; }
     16494    fi
    1926516495    ;;
    19266 esac
    19267 echo "$as_me:$LINENO: result: $enable_shared" >&5
    19268 echo "${ECHO_T}$enable_shared" >&6
    19269 
    19270 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
    19271 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
    19272 # Make sure either enable_shared or enable_static is yes.
    19273 test "$enable_shared" = yes || enable_static=yes
    19274 echo "$as_me:$LINENO: result: $enable_static" >&5
    19275 echo "${ECHO_T}$enable_static" >&6
    19276 
    19277 # The else clause should only fire when bootstrapping the
    19278 # libtool distribution, otherwise you forgot to ship ltmain.sh
    19279 # with your package, and you will get complaints that there are
    19280 # no rules to generate ltmain.sh.
    19281 if test -f "$ltmain"; then
    19282   # See if we are running on zsh, and set the options which allow our commands through
    19283   # without removal of \ escapes.
    19284   if test -n "${ZSH_VERSION+set}" ; then
    19285     setopt NO_GLOB_SUBST
    19286   fi
    19287   # Now quote all the things that may contain metacharacters while being
    19288   # careful not to overquote the AC_SUBSTed values.  We take copies of the
    19289   # variables and quote the copies for generation of the libtool script.
    19290   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
    19291     SED SHELL STRIP \
    19292     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
    19293     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
    19294     deplibs_check_method reload_flag reload_cmds need_locks \
    19295     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
    19296     lt_cv_sys_global_symbol_to_c_name_address \
    19297     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
    19298     old_postinstall_cmds old_postuninstall_cmds \
    19299     compiler \
    19300     CC \
    19301     LD \
    19302     lt_prog_compiler_wl \
    19303     lt_prog_compiler_pic \
    19304     lt_prog_compiler_static \
    19305     lt_prog_compiler_no_builtin_flag \
    19306     export_dynamic_flag_spec \
    19307     thread_safe_flag_spec \
    19308     whole_archive_flag_spec \
    19309     enable_shared_with_static_runtimes \
    19310     old_archive_cmds \
    19311     old_archive_from_new_cmds \
    19312     predep_objects \
    19313     postdep_objects \
    19314     predeps \
    19315     postdeps \
    19316     compiler_lib_search_path \
    19317     archive_cmds \
    19318     archive_expsym_cmds \
    19319     postinstall_cmds \
    19320     postuninstall_cmds \
    19321     old_archive_from_expsyms_cmds \
    19322     allow_undefined_flag \
    19323     no_undefined_flag \
    19324     export_symbols_cmds \
    19325     hardcode_libdir_flag_spec \
    19326     hardcode_libdir_flag_spec_ld \
    19327     hardcode_libdir_separator \
    19328     hardcode_automatic \
    19329     module_cmds \
    19330     module_expsym_cmds \
    19331     lt_cv_prog_compiler_c_o \
    19332     exclude_expsyms \
    19333     include_expsyms; do
    19334 
    19335     case $var in
    19336     old_archive_cmds | \
    19337     old_archive_from_new_cmds | \
    19338     archive_cmds | \
    19339     archive_expsym_cmds | \
    19340     module_cmds | \
    19341     module_expsym_cmds | \
    19342     old_archive_from_expsyms_cmds | \
    19343     export_symbols_cmds | \
    19344     extract_expsyms_cmds | reload_cmds | finish_cmds | \
    19345     postinstall_cmds | postuninstall_cmds | \
    19346     old_postinstall_cmds | old_postuninstall_cmds | \
    19347     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
    19348       # Double-quote double-evaled strings.
    19349       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
    19350       ;;
    19351     *)
    19352       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
    19353       ;;
    19354     esac
    19355   done
    19356 
    19357   case $lt_echo in
    19358   *'\$0 --fallback-echo"')
    19359     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
     16496  *)
     16497    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     16498$as_echo "no" >&6; }
    1936016499    ;;
    1936116500  esac
    19362 
    19363 cfgfile="${ofile}T"
    19364   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
    19365   $rm -f "$cfgfile"
    19366   { echo "$as_me:$LINENO: creating $ofile" >&5
    19367 echo "$as_me: creating $ofile" >&6;}
    19368 
    19369   cat <<__EOF__ >> "$cfgfile"
    19370 #! $SHELL
    19371 
    19372 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
    19373 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
    19374 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
    19375 #
    19376 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
    19377 # Free Software Foundation, Inc.
    19378 #
    19379 # This file is part of GNU Libtool:
    19380 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
    19381 #
    19382 # This program is free software; you can redistribute it and/or modify
    19383 # it under the terms of the GNU General Public License as published by
    19384 # the Free Software Foundation; either version 2 of the License, or
    19385 # (at your option) any later version.
    19386 #
    19387 # This program is distributed in the hope that it will be useful, but
    19388 # WITHOUT ANY WARRANTY; without even the implied warranty of
    19389 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    19390 # General Public License for more details.
    19391 #
    19392 # You should have received a copy of the GNU General Public License
    19393 # along with this program; if not, write to the Free Software
    19394 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    19395 #
    19396 # As a special exception to the GNU General Public License, if you
    19397 # distribute this file as part of a program that contains a
    19398 # configuration script generated by Autoconf, you may include it under
    19399 # the same distribution terms that you use for the rest of that program.
    19400 
    19401 # A sed program that does not truncate output.
    19402 SED=$lt_SED
    19403 
    19404 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
    19405 Xsed="$SED -e 1s/^X//"
    19406 
    19407 # The HP-UX ksh and POSIX shell print the target directory to stdout
    19408 # if CDPATH is set.
    19409 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    19410 
    19411 # The names of the tagged configurations supported by this script.
    19412 available_tags=
    19413 
    19414 # ### BEGIN LIBTOOL CONFIG
    19415 
    19416 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
    19417 
    19418 # Shell to use when invoking shell scripts.
    19419 SHELL=$lt_SHELL
    19420 
    19421 # Whether or not to build shared libraries.
    19422 build_libtool_libs=$enable_shared
    19423 
    19424 # Whether or not to build static libraries.
    19425 build_old_libs=$enable_static
    19426 
    19427 # Whether or not to add -lc for building shared libraries.
    19428 build_libtool_need_lc=$archive_cmds_need_lc
    19429 
    19430 # Whether or not to disallow shared libs when runtime libs are static
    19431 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
    19432 
    19433 # Whether or not to optimize for fast installation.
    19434 fast_install=$enable_fast_install
    19435 
    19436 # The host system.
    19437 host_alias=$host_alias
    19438 host=$host
    19439 host_os=$host_os
    19440 
    19441 # The build system.
    19442 build_alias=$build_alias
    19443 build=$build
    19444 build_os=$build_os
    19445 
    19446 # An echo program that does not interpret backslashes.
    19447 echo=$lt_echo
    19448 
    19449 # The archiver.
    19450 AR=$lt_AR
    19451 AR_FLAGS=$lt_AR_FLAGS
    19452 
    19453 # A C compiler.
    19454 LTCC=$lt_LTCC
    19455 
    19456 # LTCC compiler flags.
    19457 LTCFLAGS=$lt_LTCFLAGS
    19458 
    19459 # A language-specific compiler.
    19460 CC=$lt_compiler
    19461 
    19462 # Is the compiler the GNU C compiler?
    19463 with_gcc=$GCC
    19464 
    19465 # An ERE matcher.
    19466 EGREP=$lt_EGREP
    19467 
    19468 # The linker used to build libraries.
    19469 LD=$lt_LD
    19470 
    19471 # Whether we need hard or soft links.
    19472 LN_S=$lt_LN_S
    19473 
    19474 # A BSD-compatible nm program.
    19475 NM=$lt_NM
    19476 
    19477 # A symbol stripping program
    19478 STRIP=$lt_STRIP
    19479 
    19480 # Used to examine libraries when file_magic_cmd begins "file"
    19481 MAGIC_CMD=$MAGIC_CMD
    19482 
    19483 # Used on cygwin: DLL creation program.
    19484 DLLTOOL="$DLLTOOL"
    19485 
    19486 # Used on cygwin: object dumper.
    19487 OBJDUMP="$OBJDUMP"
    19488 
    19489 # Used on cygwin: assembler.
    19490 AS="$AS"
    19491 
    19492 # The name of the directory that contains temporary libtool files.
    19493 objdir=$objdir
    19494 
    19495 # How to create reloadable object files.
    19496 reload_flag=$lt_reload_flag
    19497 reload_cmds=$lt_reload_cmds
    19498 
    19499 # How to pass a linker flag through the compiler.
    19500 wl=$lt_lt_prog_compiler_wl
    19501 
    19502 # Object file suffix (normally "o").
    19503 objext="$ac_objext"
    19504 
    19505 # Old archive suffix (normally "a").
    19506 libext="$libext"
    19507 
    19508 # Shared library suffix (normally ".so").
    19509 shrext_cmds='$shrext_cmds'
    19510 
    19511 # Executable file suffix (normally "").
    19512 exeext="$exeext"
    19513 
    19514 # Additional compiler flags for building library objects.
    19515 pic_flag=$lt_lt_prog_compiler_pic
    19516 pic_mode=$pic_mode
    19517 
    19518 # What is the maximum length of a command?
    19519 max_cmd_len=$lt_cv_sys_max_cmd_len
    19520 
    19521 # Does compiler simultaneously support -c and -o options?
    19522 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
    19523 
    19524 # Must we lock files when doing compilation?
    19525 need_locks=$lt_need_locks
    19526 
    19527 # Do we need the lib prefix for modules?
    19528 need_lib_prefix=$need_lib_prefix
    19529 
    19530 # Do we need a version for libraries?
    19531 need_version=$need_version
    19532 
    19533 # Whether dlopen is supported.
    19534 dlopen_support=$enable_dlopen
    19535 
    19536 # Whether dlopen of programs is supported.
    19537 dlopen_self=$enable_dlopen_self
    19538 
    19539 # Whether dlopen of statically linked programs is supported.
    19540 dlopen_self_static=$enable_dlopen_self_static
    19541 
    19542 # Compiler flag to prevent dynamic linking.
    19543 link_static_flag=$lt_lt_prog_compiler_static
    19544 
    19545 # Compiler flag to turn off builtin functions.
    19546 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
    19547 
    19548 # Compiler flag to allow reflexive dlopens.
    19549 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
    19550 
    19551 # Compiler flag to generate shared objects directly from archives.
    19552 whole_archive_flag_spec=$lt_whole_archive_flag_spec
    19553 
    19554 # Compiler flag to generate thread-safe objects.
    19555 thread_safe_flag_spec=$lt_thread_safe_flag_spec
    19556 
    19557 # Library versioning type.
    19558 version_type=$version_type
    19559 
    19560 # Format of library name prefix.
    19561 libname_spec=$lt_libname_spec
    19562 
    19563 # List of archive names.  First name is the real one, the rest are links.
    19564 # The last name is the one that the linker finds with -lNAME.
    19565 library_names_spec=$lt_library_names_spec
    19566 
    19567 # The coded name of the library, if different from the real name.
    19568 soname_spec=$lt_soname_spec
    19569 
    19570 # Commands used to build and install an old-style archive.
    19571 RANLIB=$lt_RANLIB
    19572 old_archive_cmds=$lt_old_archive_cmds
    19573 old_postinstall_cmds=$lt_old_postinstall_cmds
    19574 old_postuninstall_cmds=$lt_old_postuninstall_cmds
    19575 
    19576 # Create an old-style archive from a shared archive.
    19577 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
    19578 
    19579 # Create a temporary old-style archive to link instead of a shared archive.
    19580 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
    19581 
    19582 # Commands used to build and install a shared archive.
    19583 archive_cmds=$lt_archive_cmds
    19584 archive_expsym_cmds=$lt_archive_expsym_cmds
    19585 postinstall_cmds=$lt_postinstall_cmds
    19586 postuninstall_cmds=$lt_postuninstall_cmds
    19587 
    19588 # Commands used to build a loadable module (assumed same as above if empty)
    19589 module_cmds=$lt_module_cmds
    19590 module_expsym_cmds=$lt_module_expsym_cmds
    19591 
    19592 # Commands to strip libraries.
    19593 old_striplib=$lt_old_striplib
    19594 striplib=$lt_striplib
    19595 
    19596 # Dependencies to place before the objects being linked to create a
    19597 # shared library.
    19598 predep_objects=$lt_predep_objects
    19599 
    19600 # Dependencies to place after the objects being linked to create a
    19601 # shared library.
    19602 postdep_objects=$lt_postdep_objects
    19603 
    19604 # Dependencies to place before the objects being linked to create a
    19605 # shared library.
    19606 predeps=$lt_predeps
    19607 
    19608 # Dependencies to place after the objects being linked to create a
    19609 # shared library.
    19610 postdeps=$lt_postdeps
    19611 
    19612 # The library search path used internally by the compiler when linking
    19613 # a shared library.
    19614 compiler_lib_search_path=$lt_compiler_lib_search_path
    19615 
    19616 # Method to check whether dependent libraries are shared objects.
    19617 deplibs_check_method=$lt_deplibs_check_method
    19618 
    19619 # Command to use when deplibs_check_method == file_magic.
    19620 file_magic_cmd=$lt_file_magic_cmd
    19621 
    19622 # Flag that allows shared libraries with undefined symbols to be built.
    19623 allow_undefined_flag=$lt_allow_undefined_flag
    19624 
    19625 # Flag that forces no undefined symbols.
    19626 no_undefined_flag=$lt_no_undefined_flag
    19627 
    19628 # Commands used to finish a libtool library installation in a directory.
    19629 finish_cmds=$lt_finish_cmds
    19630 
    19631 # Same as above, but a single script fragment to be evaled but not shown.
    19632 finish_eval=$lt_finish_eval
    19633 
    19634 # Take the output of nm and produce a listing of raw symbols and C names.
    19635 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
    19636 
    19637 # Transform the output of nm in a proper C declaration
    19638 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
    19639 
    19640 # Transform the output of nm in a C name address pair
    19641 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
    19642 
    19643 # This is the shared library runtime path variable.
    19644 runpath_var=$runpath_var
    19645 
    19646 # This is the shared library path variable.
    19647 shlibpath_var=$shlibpath_var
    19648 
    19649 # Is shlibpath searched before the hard-coded library search path?
    19650 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
    19651 
    19652 # How to hardcode a shared library path into an executable.
    19653 hardcode_action=$hardcode_action
    19654 
    19655 # Whether we should hardcode library paths into libraries.
    19656 hardcode_into_libs=$hardcode_into_libs
    19657 
    19658 # Flag to hardcode \$libdir into a binary during linking.
    19659 # This must work even if \$libdir does not exist.
    19660 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
    19661 
    19662 # If ld is used when linking, flag to hardcode \$libdir into
    19663 # a binary during linking. This must work even if \$libdir does
    19664 # not exist.
    19665 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
    19666 
    19667 # Whether we need a single -rpath flag with a separated argument.
    19668 hardcode_libdir_separator=$lt_hardcode_libdir_separator
    19669 
    19670 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
    19671 # resulting binary.
    19672 hardcode_direct=$hardcode_direct
    19673 
    19674 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
    19675 # resulting binary.
    19676 hardcode_minus_L=$hardcode_minus_L
    19677 
    19678 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
    19679 # the resulting binary.
    19680 hardcode_shlibpath_var=$hardcode_shlibpath_var
    19681 
    19682 # Set to yes if building a shared library automatically hardcodes DIR into the library
    19683 # and all subsequent libraries and executables linked against it.
    19684 hardcode_automatic=$hardcode_automatic
    19685 
    19686 # Variables whose values should be saved in libtool wrapper scripts and
    19687 # restored at relink time.
    19688 variables_saved_for_relink="$variables_saved_for_relink"
    19689 
    19690 # Whether libtool must link a program against all its dependency libraries.
    19691 link_all_deplibs=$link_all_deplibs
    19692 
    19693 # Compile-time system search path for libraries
    19694 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
    19695 
    19696 # Run-time system search path for libraries
    19697 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
    19698 
    19699 # Fix the shell variable \$srcfile for the compiler.
    19700 fix_srcfile_path="$fix_srcfile_path"
    19701 
    19702 # Set to yes if exported symbols are required.
    19703 always_export_symbols=$always_export_symbols
    19704 
    19705 # The commands to list exported symbols.
    19706 export_symbols_cmds=$lt_export_symbols_cmds
    19707 
    19708 # The commands to extract the exported symbol list from a shared archive.
    19709 extract_expsyms_cmds=$lt_extract_expsyms_cmds
    19710 
    19711 # Symbols that should not be listed in the preloaded symbols.
    19712 exclude_expsyms=$lt_exclude_expsyms
    19713 
    19714 # Symbols that must always be exported.
    19715 include_expsyms=$lt_include_expsyms
    19716 
    19717 # ### END LIBTOOL CONFIG
    19718 
    19719 __EOF__
    19720 
    19721 
     16501fi
     16502
     16503
     16504
     16505
     16506
     16507
     16508
     16509
     16510
     16511
     16512
     16513
     16514  # Report which library types will actually be built
     16515  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
     16516$as_echo_n "checking if libtool supports shared libraries... " >&6; }
     16517  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
     16518$as_echo "$can_build_shared" >&6; }
     16519
     16520  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
     16521$as_echo_n "checking whether to build shared libraries... " >&6; }
     16522  test "$can_build_shared" = "no" && enable_shared=no
     16523
     16524  # On AIX, shared libraries and static libraries use the same namespace, and
     16525  # are all built from PIC.
    1972216526  case $host_os in
    1972316527  aix3*)
    19724     cat <<\EOF >> "$cfgfile"
    19725 
    19726 # AIX sometimes has problems with the GCC collect2 program.  For some
    19727 # reason, if we set the COLLECT_NAMES environment variable, the problems
    19728 # vanish in a puff of smoke.
    19729 if test "X${COLLECT_NAMES+set}" != Xset; then
    19730   COLLECT_NAMES=
    19731   export COLLECT_NAMES
    19732 fi
    19733 EOF
     16528    test "$enable_shared" = yes && enable_static=no
     16529    if test -n "$RANLIB"; then
     16530      archive_cmds="$archive_cmds~\$RANLIB \$lib"
     16531      postinstall_cmds='$RANLIB $lib'
     16532    fi
     16533    ;;
     16534
     16535  aix[4-9]*)
     16536    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
     16537      test "$enable_shared" = yes && enable_static=no
     16538    fi
    1973416539    ;;
    1973516540  esac
    19736 
    19737   # We use sed instead of cat because bash on DJGPP gets confused if
    19738   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
    19739   # text mode, it properly converts lines to CR/LF.  This bash problem
    19740   # is reportedly fixed, but why not run on old versions too?
    19741   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
    19742 
    19743   mv -f "$cfgfile" "$ofile" || \
    19744     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
    19745   chmod +x "$ofile"
    19746 
    19747 else
    19748   # If there is no Makefile yet, we rely on a make rule to execute
    19749   # `config.status --recheck' to rerun these tests and create the
    19750   # libtool script then.
    19751   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
    19752   if test -f "$ltmain_in"; then
    19753     test -f Makefile && make "$ltmain"
    19754   fi
    19755 fi
    19756 
    19757 
     16541  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
     16542$as_echo "$enable_shared" >&6; }
     16543
     16544  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
     16545$as_echo_n "checking whether to build static libraries... " >&6; }
     16546  # Make sure either enable_shared or enable_static is yes.
     16547  test "$enable_shared" = yes || enable_static=yes
     16548  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
     16549$as_echo "$enable_static" >&6; }
     16550
     16551
     16552
     16553
     16554fi
    1975816555ac_ext=c
    1975916556ac_cpp='$CPP $CPPFLAGS'
     
    1976416561CC="$lt_save_CC"
    1976516562
    19766 
    19767 # Check whether --with-tags or --without-tags was given.
    19768 if test "${with_tags+set}" = set; then
    19769   withval="$with_tags"
    19770   tagnames="$withval"
    19771 fi;
    19772 
    19773 if test -f "$ltmain" && test -n "$tagnames"; then
    19774   if test ! -f "${ofile}"; then
    19775     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
    19776 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
    19777   fi
    19778 
    19779   if test -z "$LTCC"; then
    19780     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
    19781     if test -z "$LTCC"; then
    19782       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
    19783 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
    19784     else
    19785       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
    19786 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
    19787     fi
    19788   fi
    19789   if test -z "$LTCFLAGS"; then
    19790     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
    19791   fi
    19792 
    19793   # Extract list of available tagged configurations in $ofile.
    19794   # Note that this assumes the entire list is on one line.
    19795   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
    19796 
    19797   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
    19798   for tagname in $tagnames; do
    19799     IFS="$lt_save_ifs"
    19800     # Check whether tagname contains only valid characters
    19801     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
    19802     "") ;;
    19803     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
    19804 echo "$as_me: error: invalid tag name: $tagname" >&2;}
    19805    { (exit 1); exit 1; }; }
    19806         ;;
    19807     esac
    19808 
    19809     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
    19810     then
    19811       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
    19812 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
    19813    { (exit 1); exit 1; }; }
    19814     fi
    19815 
    19816     # Update the list of available tags.
    19817     if test -n "$tagname"; then
    19818       echo appending configuration tag \"$tagname\" to $ofile
    19819 
    19820       case $tagname in
    19821       CXX)
    19822         if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
    19823             ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
    19824             (test "X$CXX" != "Xg++"))) ; then
    19825           ac_ext=cc
     16563      if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
     16564    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
     16565    (test "X$CXX" != "Xg++"))) ; then
     16566  ac_ext=cpp
    1982616567ac_cpp='$CXXCPP $CPPFLAGS'
    1982716568ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    1982816569ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    1982916570ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    19830 
    19831 
    19832 
     16571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
     16572$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
     16573if test -z "$CXXCPP"; then
     16574  if ${ac_cv_prog_CXXCPP+:} false; then :
     16575  $as_echo_n "(cached) " >&6
     16576else
     16577      # Double quotes because CXXCPP needs to be expanded
     16578    for CXXCPP in "$CXX -E" "/lib/cpp"
     16579    do
     16580      ac_preproc_ok=false
     16581for ac_cxx_preproc_warn_flag in '' yes
     16582do
     16583  # Use a header file that comes with gcc, so configuring glibc
     16584  # with a fresh cross-compiler works.
     16585  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     16586  # <limits.h> exists even on freestanding compilers.
     16587  # On the NeXT, cc -E runs the code through the compiler's parser,
     16588  # not just through cpp. "Syntax error" is here to catch this case.
     16589  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     16590/* end confdefs.h.  */
     16591#ifdef __STDC__
     16592# include <limits.h>
     16593#else
     16594# include <assert.h>
     16595#endif
     16596                     Syntax error
     16597_ACEOF
     16598if ac_fn_cxx_try_cpp "$LINENO"; then :
     16599
     16600else
     16601  # Broken: fails on valid input.
     16602continue
     16603fi
     16604rm -f conftest.err conftest.i conftest.$ac_ext
     16605
     16606  # OK, works on sane cases.  Now check whether nonexistent headers
     16607  # can be detected and how.
     16608  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     16609/* end confdefs.h.  */
     16610#include <ac_nonexistent.h>
     16611_ACEOF
     16612if ac_fn_cxx_try_cpp "$LINENO"; then :
     16613  # Broken: success on invalid input.
     16614continue
     16615else
     16616  # Passes both tests.
     16617ac_preproc_ok=:
     16618break
     16619fi
     16620rm -f conftest.err conftest.i conftest.$ac_ext
     16621
     16622done
     16623# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     16624rm -f conftest.i conftest.err conftest.$ac_ext
     16625if $ac_preproc_ok; then :
     16626  break
     16627fi
     16628
     16629    done
     16630    ac_cv_prog_CXXCPP=$CXXCPP
     16631
     16632fi
     16633  CXXCPP=$ac_cv_prog_CXXCPP
     16634else
     16635  ac_cv_prog_CXXCPP=$CXXCPP
     16636fi
     16637{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
     16638$as_echo "$CXXCPP" >&6; }
     16639ac_preproc_ok=false
     16640for ac_cxx_preproc_warn_flag in '' yes
     16641do
     16642  # Use a header file that comes with gcc, so configuring glibc
     16643  # with a fresh cross-compiler works.
     16644  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     16645  # <limits.h> exists even on freestanding compilers.
     16646  # On the NeXT, cc -E runs the code through the compiler's parser,
     16647  # not just through cpp. "Syntax error" is here to catch this case.
     16648  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     16649/* end confdefs.h.  */
     16650#ifdef __STDC__
     16651# include <limits.h>
     16652#else
     16653# include <assert.h>
     16654#endif
     16655                     Syntax error
     16656_ACEOF
     16657if ac_fn_cxx_try_cpp "$LINENO"; then :
     16658
     16659else
     16660  # Broken: fails on valid input.
     16661continue
     16662fi
     16663rm -f conftest.err conftest.i conftest.$ac_ext
     16664
     16665  # OK, works on sane cases.  Now check whether nonexistent headers
     16666  # can be detected and how.
     16667  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     16668/* end confdefs.h.  */
     16669#include <ac_nonexistent.h>
     16670_ACEOF
     16671if ac_fn_cxx_try_cpp "$LINENO"; then :
     16672  # Broken: success on invalid input.
     16673continue
     16674else
     16675  # Passes both tests.
     16676ac_preproc_ok=:
     16677break
     16678fi
     16679rm -f conftest.err conftest.i conftest.$ac_ext
     16680
     16681done
     16682# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     16683rm -f conftest.i conftest.err conftest.$ac_ext
     16684if $ac_preproc_ok; then :
     16685
     16686else
     16687  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     16688$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     16689as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
     16690See \`config.log' for more details" "$LINENO" 5; }
     16691fi
     16692
     16693ac_ext=c
     16694ac_cpp='$CPP $CPPFLAGS'
     16695ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     16696ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     16697ac_compiler_gnu=$ac_cv_c_compiler_gnu
     16698
     16699else
     16700  _lt_caught_CXX_error=yes
     16701fi
     16702
     16703ac_ext=cpp
     16704ac_cpp='$CXXCPP $CPPFLAGS'
     16705ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     16706ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     16707ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    1983316708
    1983416709archive_cmds_need_lc_CXX=no
     
    1983616711always_export_symbols_CXX=no
    1983716712archive_expsym_cmds_CXX=
     16713compiler_needs_object_CXX=no
    1983816714export_dynamic_flag_spec_CXX=
    1983916715hardcode_direct_CXX=no
     16716hardcode_direct_absolute_CXX=no
    1984016717hardcode_libdir_flag_spec_CXX=
    19841 hardcode_libdir_flag_spec_ld_CXX=
    1984216718hardcode_libdir_separator_CXX=
    1984316719hardcode_minus_L_CXX=no
    1984416720hardcode_shlibpath_var_CXX=unsupported
    1984516721hardcode_automatic_CXX=no
     16722inherit_rpath_CXX=no
    1984616723module_cmds_CXX=
    1984716724module_expsym_cmds_CXX=
    1984816725link_all_deplibs_CXX=unknown
    1984916726old_archive_cmds_CXX=$old_archive_cmds
     16727reload_flag_CXX=$reload_flag
     16728reload_cmds_CXX=$reload_cmds
    1985016729no_undefined_flag_CXX=
    1985116730whole_archive_flag_spec_CXX=
    1985216731enable_shared_with_static_runtimes_CXX=no
    1985316732
    19854 # Dependencies to place before and after the object being linked:
    19855 predep_objects_CXX=
    19856 postdep_objects_CXX=
    19857 predeps_CXX=
    19858 postdeps_CXX=
    19859 compiler_lib_search_path_CXX=
    19860 
    1986116733# Source file extension for C++ test sources.
    1986216734ac_ext=cpp
     
    1986616738objext_CXX=$objext
    1986716739
    19868 # Code to be used in simple compile tests
    19869 lt_simple_compile_test_code="int some_variable = 0;\n"
    19870 
    19871 # Code to be used in simple link tests
    19872 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
    19873 
    19874 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
     16740# No sense in running all these tests if we already determined that
     16741# the CXX compiler isn't working.  Some variables (like enable_shared)
     16742# are currently assumed to apply to all compilers on this platform,
     16743# and will be corrupted by setting them based on a non-working compiler.
     16744if test "$_lt_caught_CXX_error" != yes; then
     16745  # Code to be used in simple compile tests
     16746  lt_simple_compile_test_code="int some_variable = 0;"
     16747
     16748  # Code to be used in simple link tests
     16749  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
     16750
     16751  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
     16752
     16753
     16754
     16755
     16756
    1987516757
    1987616758# If no C compiler was specified, use CC.
     
    1988416766
    1988516767
    19886 # save warnings/boilerplate of simple test code
    19887 ac_outfile=conftest.$ac_objext
    19888 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
     16768  # save warnings/boilerplate of simple test code
     16769  ac_outfile=conftest.$ac_objext
     16770echo "$lt_simple_compile_test_code" >conftest.$ac_ext
    1988916771eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
    1989016772_lt_compiler_boilerplate=`cat conftest.err`
    19891 $rm conftest*
    19892 
    19893 ac_outfile=conftest.$ac_objext
    19894 printf "$lt_simple_link_test_code" >conftest.$ac_ext
     16773$RM conftest*
     16774
     16775  ac_outfile=conftest.$ac_objext
     16776echo "$lt_simple_link_test_code" >conftest.$ac_ext
    1989516777eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
    1989616778_lt_linker_boilerplate=`cat conftest.err`
    19897 $rm conftest*
    19898 
    19899 
    19900 # Allow CC to be a program name with arguments.
    19901 lt_save_CC=$CC
    19902 lt_save_LD=$LD
    19903 lt_save_GCC=$GCC
    19904 GCC=$GXX
    19905 lt_save_with_gnu_ld=$with_gnu_ld
    19906 lt_save_path_LD=$lt_cv_path_LD
    19907 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
    19908   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
    19909 else
    19910   $as_unset lt_cv_prog_gnu_ld
    19911 fi
    19912 if test -n "${lt_cv_path_LDCXX+set}"; then
    19913   lt_cv_path_LD=$lt_cv_path_LDCXX
    19914 else
    19915   $as_unset lt_cv_path_LD
    19916 fi
    19917 test -z "${LDCXX+set}" || LD=$LDCXX
    19918 CC=${CXX-"c++"}
    19919 compiler=$CC
    19920 compiler_CXX=$CC
    19921 for cc_temp in $compiler""; do
     16779$RM -r conftest*
     16780
     16781
     16782  # Allow CC to be a program name with arguments.
     16783  lt_save_CC=$CC
     16784  lt_save_CFLAGS=$CFLAGS
     16785  lt_save_LD=$LD
     16786  lt_save_GCC=$GCC
     16787  GCC=$GXX
     16788  lt_save_with_gnu_ld=$with_gnu_ld
     16789  lt_save_path_LD=$lt_cv_path_LD
     16790  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
     16791    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
     16792  else
     16793    $as_unset lt_cv_prog_gnu_ld
     16794  fi
     16795  if test -n "${lt_cv_path_LDCXX+set}"; then
     16796    lt_cv_path_LD=$lt_cv_path_LDCXX
     16797  else
     16798    $as_unset lt_cv_path_LD
     16799  fi
     16800  test -z "${LDCXX+set}" || LD=$LDCXX
     16801  CC=${CXX-"c++"}
     16802  CFLAGS=$CXXFLAGS
     16803  compiler=$CC
     16804  compiler_CXX=$CC
     16805  for cc_temp in $compiler""; do
    1992216806  case $cc_temp in
    1992316807    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
     
    1992716811  esac
    1992816812done
    19929 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
    19930 
    19931 
    19932 # We don't want -fno-exception wen compiling C++ code, so set the
    19933 # no_builtin_flag separately
    19934 if test "$GXX" = yes; then
    19935   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
    19936 else
    19937   lt_prog_compiler_no_builtin_flag_CXX=
    19938 fi
    19939 
    19940 if test "$GXX" = yes; then
    19941   # Set up default GNU C++ configuration
    19942 
    19943 
    19944 # Check whether --with-gnu-ld or --without-gnu-ld was given.
    19945 if test "${with_gnu_ld+set}" = set; then
    19946   withval="$with_gnu_ld"
    19947   test "$withval" = no || with_gnu_ld=yes
     16813cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
     16814
     16815
     16816  if test -n "$compiler"; then
     16817    # We don't want -fno-exception when compiling C++ code, so set the
     16818    # no_builtin_flag separately
     16819    if test "$GXX" = yes; then
     16820      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
     16821    else
     16822      lt_prog_compiler_no_builtin_flag_CXX=
     16823    fi
     16824
     16825    if test "$GXX" = yes; then
     16826      # Set up default GNU C++ configuration
     16827
     16828
     16829
     16830# Check whether --with-gnu-ld was given.
     16831if test "${with_gnu_ld+set}" = set; then :
     16832  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
    1994816833else
    1994916834  with_gnu_ld=no
    19950 fi;
     16835fi
     16836
    1995116837ac_prog=ld
    1995216838if test "$GCC" = yes; then
    1995316839  # Check if gcc -print-prog-name=ld gives a path.
    19954   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
    19955 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
     16840  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
     16841$as_echo_n "checking for ld used by $CC... " >&6; }
    1995616842  case $host in
    1995716843  *-*-mingw*)
     
    1996616852      re_direlt='/[^/][^/]*/\.\./'
    1996716853      # Canonicalize the pathname of ld
    19968       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
    19969       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
    19970         ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
     16854      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
     16855      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
     16856        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
    1997116857      done
    1997216858      test -z "$LD" && LD="$ac_prog"
     
    1998216868  esac
    1998316869elif test "$with_gnu_ld" = yes; then
    19984   echo "$as_me:$LINENO: checking for GNU ld" >&5
    19985 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
    19986 else
    19987   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
    19988 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
    19989 fi
    19990 if test "${lt_cv_path_LD+set}" = set; then
    19991   echo $ECHO_N "(cached) $ECHO_C" >&6
     16870  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
     16871$as_echo_n "checking for GNU ld... " >&6; }
     16872else
     16873  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
     16874$as_echo_n "checking for non-GNU ld... " >&6; }
     16875fi
     16876if ${lt_cv_path_LD+:} false; then :
     16877  $as_echo_n "(cached) " >&6
    1999216878else
    1999316879  if test -z "$LD"; then
     
    2001916905LD="$lt_cv_path_LD"
    2002016906if test -n "$LD"; then
    20021   echo "$as_me:$LINENO: result: $LD" >&5
    20022 echo "${ECHO_T}$LD" >&6
    20023 else
    20024   echo "$as_me:$LINENO: result: no" >&5
    20025 echo "${ECHO_T}no" >&6
    20026 fi
    20027 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
    20028 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
    20029    { (exit 1); exit 1; }; }
    20030 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
    20031 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
    20032 if test "${lt_cv_prog_gnu_ld+set}" = set; then
    20033   echo $ECHO_N "(cached) $ECHO_C" >&6
     16907  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
     16908$as_echo "$LD" >&6; }
     16909else
     16910  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     16911$as_echo "no" >&6; }
     16912fi
     16913test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
     16914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
     16915$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
     16916if ${lt_cv_prog_gnu_ld+:} false; then :
     16917  $as_echo_n "(cached) " >&6
    2003416918else
    2003516919  # I'd rather use --version here, but apparently some GNU lds only accept -v.
     
    2004316927esac
    2004416928fi
    20045 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
    20046 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
     16929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
     16930$as_echo "$lt_cv_prog_gnu_ld" >&6; }
    2004716931with_gnu_ld=$lt_cv_prog_gnu_ld
    2004816932
    2004916933
    2005016934
    20051   # Check if GNU C++ uses GNU ld as the underlying linker, since the
    20052   # archiving commands below assume that GNU ld is being used.
    20053   if test "$with_gnu_ld" = yes; then
    20054     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
    20055     archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    20056 
    20057     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
    20058     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
    20059 
    20060     # If archive_cmds runs LD, not CC, wlarc should be empty
    20061     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
    20062     #     investigate it a little bit more. (MM)
    20063     wlarc='${wl}'
    20064 
    20065     # ancient GNU ld didn't support --whole-archive et. al.
    20066     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
    20067         grep 'no-whole-archive' > /dev/null; then
    20068       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
     16935
     16936
     16937
     16938
     16939      # Check if GNU C++ uses GNU ld as the underlying linker, since the
     16940      # archiving commands below assume that GNU ld is being used.
     16941      if test "$with_gnu_ld" = yes; then
     16942        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
     16943        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     16944
     16945        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
     16946        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
     16947
     16948        # If archive_cmds runs LD, not CC, wlarc should be empty
     16949        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
     16950        #     investigate it a little bit more. (MM)
     16951        wlarc='${wl}'
     16952
     16953        # ancient GNU ld didn't support --whole-archive et. al.
     16954        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
     16955          $GREP 'no-whole-archive' > /dev/null; then
     16956          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
     16957        else
     16958          whole_archive_flag_spec_CXX=
     16959        fi
     16960      else
     16961        with_gnu_ld=no
     16962        wlarc=
     16963
     16964        # A generic and very simple default shared library creation
     16965        # command for GNU C++ for the case where it uses the native
     16966        # linker, instead of GNU ld.  If possible, this setting should
     16967        # overridden to take advantage of the native linker features on
     16968        # the platform it is being used on.
     16969        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
     16970      fi
     16971
     16972      # Commands to make compiler produce verbose output that lists
     16973      # what "hidden" libraries, object files and flags are used when
     16974      # linking a shared library.
     16975      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
     16976
    2006916977    else
    20070       whole_archive_flag_spec_CXX=
     16978      GXX=no
     16979      with_gnu_ld=no
     16980      wlarc=
    2007116981    fi
    20072   else
    20073     with_gnu_ld=no
    20074     wlarc=
    20075 
    20076     # A generic and very simple default shared library creation
    20077     # command for GNU C++ for the case where it uses the native
    20078     # linker, instead of GNU ld.  If possible, this setting should
    20079     # overridden to take advantage of the native linker features on
    20080     # the platform it is being used on.
    20081     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
    20082   fi
    20083 
    20084   # Commands to make compiler produce verbose output that lists
    20085   # what "hidden" libraries, object files and flags are used when
    20086   # linking a shared library.
    20087   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
    20088 
    20089 else
    20090   GXX=no
    20091   with_gnu_ld=no
    20092   wlarc=
    20093 fi
    20094 
    20095 # PORTME: fill in a description of your system's C++ link characteristics
    20096 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
    20097 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
    20098 ld_shlibs_CXX=yes
    20099 case $host_os in
    20100   aix3*)
    20101     # FIXME: insert proper C++ library support
    20102     ld_shlibs_CXX=no
    20103     ;;
    20104   aix4* | aix5*)
    20105     if test "$host_cpu" = ia64; then
    20106       # On IA64, the linker does run time linking by default, so we don't
    20107       # have to do anything special.
    20108       aix_use_runtimelinking=no
    20109       exp_sym_flag='-Bexport'
    20110       no_entry_flag=""
    20111     else
    20112       aix_use_runtimelinking=no
    20113 
    20114       # Test if we are trying to use run time linking or normal
    20115       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
    20116       # need to do runtime linking.
    20117       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
    20118         for ld_flag in $LDFLAGS; do
    20119           case $ld_flag in
    20120           *-brtl*)
    20121             aix_use_runtimelinking=yes
    20122             break
     16982
     16983    # PORTME: fill in a description of your system's C++ link characteristics
     16984    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
     16985$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
     16986    ld_shlibs_CXX=yes
     16987    case $host_os in
     16988      aix3*)
     16989        # FIXME: insert proper C++ library support
     16990        ld_shlibs_CXX=no
     16991        ;;
     16992      aix[4-9]*)
     16993        if test "$host_cpu" = ia64; then
     16994          # On IA64, the linker does run time linking by default, so we don't
     16995          # have to do anything special.
     16996          aix_use_runtimelinking=no
     16997          exp_sym_flag='-Bexport'
     16998          no_entry_flag=""
     16999        else
     17000          aix_use_runtimelinking=no
     17001
     17002          # Test if we are trying to use run time linking or normal
     17003          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
     17004          # need to do runtime linking.
     17005          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
     17006            for ld_flag in $LDFLAGS; do
     17007              case $ld_flag in
     17008              *-brtl*)
     17009                aix_use_runtimelinking=yes
     17010                break
     17011                ;;
     17012              esac
     17013            done
    2012317014            ;;
    20124           esac
    20125         done
    20126         ;;
    20127       esac
    20128 
    20129       exp_sym_flag='-bexport'
    20130       no_entry_flag='-bnoentry'
    20131     fi
    20132 
    20133     # When large executables or shared objects are built, AIX ld can
    20134     # have problems creating the table of contents.  If linking a library
    20135     # or program results in "error TOC overflow" add -mminimal-toc to
    20136     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
    20137     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
    20138 
    20139     archive_cmds_CXX=''
    20140     hardcode_direct_CXX=yes
    20141     hardcode_libdir_separator_CXX=':'
    20142     link_all_deplibs_CXX=yes
    20143 
    20144     if test "$GXX" = yes; then
    20145       case $host_os in aix4.[012]|aix4.[012].*)
    20146       # We only want to do this on AIX 4.2 and lower, the check
    20147       # below for broken collect2 doesn't work under 4.3+
    20148         collect2name=`${CC} -print-prog-name=collect2`
    20149         if test -f "$collect2name" && \
    20150            strings "$collect2name" | grep resolve_lib_name >/dev/null
    20151         then
    20152           # We have reworked collect2
    20153           hardcode_direct_CXX=yes
    20154         else
    20155           # We have old collect2
    20156           hardcode_direct_CXX=unsupported
    20157           # It fails to find uninstalled libraries when the uninstalled
    20158           # path is not listed in the libpath.  Setting hardcode_minus_L
    20159           # to unsupported forces relinking
    20160           hardcode_minus_L_CXX=yes
    20161           hardcode_libdir_flag_spec_CXX='-L$libdir'
    20162           hardcode_libdir_separator_CXX=
    20163         fi
    20164         ;;
    20165       esac
    20166       shared_flag='-shared'
    20167       if test "$aix_use_runtimelinking" = yes; then
    20168         shared_flag="$shared_flag "'${wl}-G'
    20169       fi
    20170     else
    20171       # not using gcc
    20172       if test "$host_cpu" = ia64; then
    20173         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
    20174         # chokes on -Wl,-G. The following line is correct:
    20175         shared_flag='-G'
    20176       else
    20177         if test "$aix_use_runtimelinking" = yes; then
    20178           shared_flag='${wl}-G'
    20179         else
    20180           shared_flag='${wl}-bM:SRE'
    20181         fi
    20182       fi
    20183     fi
    20184 
    20185     # It seems that -bexpall does not export symbols beginning with
    20186     # underscore (_), so it is better to generate a list of symbols to export.
    20187     always_export_symbols_CXX=yes
    20188     if test "$aix_use_runtimelinking" = yes; then
    20189       # Warning - without using the other runtime loading flags (-brtl),
    20190       # -berok will link without error, but may produce a broken library.
    20191       allow_undefined_flag_CXX='-berok'
    20192       # Determine the default libpath from the value encoded in an empty executable.
    20193       cat >conftest.$ac_ext <<_ACEOF
    20194 /* confdefs.h.  */
    20195 _ACEOF
    20196 cat confdefs.h >>conftest.$ac_ext
    20197 cat >>conftest.$ac_ext <<_ACEOF
     17015          esac
     17016
     17017          exp_sym_flag='-bexport'
     17018          no_entry_flag='-bnoentry'
     17019        fi
     17020
     17021        # When large executables or shared objects are built, AIX ld can
     17022        # have problems creating the table of contents.  If linking a library
     17023        # or program results in "error TOC overflow" add -mminimal-toc to
     17024        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
     17025        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
     17026
     17027        archive_cmds_CXX=''
     17028        hardcode_direct_CXX=yes
     17029        hardcode_direct_absolute_CXX=yes
     17030        hardcode_libdir_separator_CXX=':'
     17031        link_all_deplibs_CXX=yes
     17032        file_list_spec_CXX='${wl}-f,'
     17033
     17034        if test "$GXX" = yes; then
     17035          case $host_os in aix4.[012]|aix4.[012].*)
     17036          # We only want to do this on AIX 4.2 and lower, the check
     17037          # below for broken collect2 doesn't work under 4.3+
     17038          collect2name=`${CC} -print-prog-name=collect2`
     17039          if test -f "$collect2name" &&
     17040             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
     17041          then
     17042            # We have reworked collect2
     17043            :
     17044          else
     17045            # We have old collect2
     17046            hardcode_direct_CXX=unsupported
     17047            # It fails to find uninstalled libraries when the uninstalled
     17048            # path is not listed in the libpath.  Setting hardcode_minus_L
     17049            # to unsupported forces relinking
     17050            hardcode_minus_L_CXX=yes
     17051            hardcode_libdir_flag_spec_CXX='-L$libdir'
     17052            hardcode_libdir_separator_CXX=
     17053          fi
     17054          esac
     17055          shared_flag='-shared'
     17056          if test "$aix_use_runtimelinking" = yes; then
     17057            shared_flag="$shared_flag "'${wl}-G'
     17058          fi
     17059        else
     17060          # not using gcc
     17061          if test "$host_cpu" = ia64; then
     17062          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
     17063          # chokes on -Wl,-G. The following line is correct:
     17064          shared_flag='-G'
     17065          else
     17066            if test "$aix_use_runtimelinking" = yes; then
     17067              shared_flag='${wl}-G'
     17068            else
     17069              shared_flag='${wl}-bM:SRE'
     17070            fi
     17071          fi
     17072        fi
     17073
     17074        export_dynamic_flag_spec_CXX='${wl}-bexpall'
     17075        # It seems that -bexpall does not export symbols beginning with
     17076        # underscore (_), so it is better to generate a list of symbols to
     17077        # export.
     17078        always_export_symbols_CXX=yes
     17079        if test "$aix_use_runtimelinking" = yes; then
     17080          # Warning - without using the other runtime loading flags (-brtl),
     17081          # -berok will link without error, but may produce a broken library.
     17082          allow_undefined_flag_CXX='-berok'
     17083          # Determine the default libpath from the value encoded in an empty
     17084          # executable.
     17085          if test "${lt_cv_aix_libpath+set}" = set; then
     17086  aix_libpath=$lt_cv_aix_libpath
     17087else
     17088  if ${lt_cv_aix_libpath__CXX+:} false; then :
     17089  $as_echo_n "(cached) " >&6
     17090else
     17091  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2019817092/* end confdefs.h.  */
    2019917093
     
    2020617100}
    2020717101_ACEOF
    20208 rm -f conftest.$ac_objext conftest$ac_exeext
    20209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    20210   (eval $ac_link) 2>conftest.er1
    20211   ac_status=$?
    20212   grep -v '^ *+' conftest.er1 >conftest.err
    20213   rm -f conftest.er1
    20214   cat conftest.err >&5
    20215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20216   (exit $ac_status); } &&
    20217          { ac_try='test -z "$ac_cxx_werror_flag"
    20218                          || test ! -s conftest.err'
    20219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    20220   (eval $ac_try) 2>&5
    20221   ac_status=$?
    20222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20223   (exit $ac_status); }; } &&
    20224          { ac_try='test -s conftest$ac_exeext'
    20225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    20226   (eval $ac_try) 2>&5
    20227   ac_status=$?
    20228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20229   (exit $ac_status); }; }; then
    20230 
    20231 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
    20232 }'`
    20233 # Check for a 64-bit object if we didn't find anything.
    20234 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
    20235 }'`; fi
    20236 else
    20237   echo "$as_me: failed program was:" >&5
    20238 sed 's/^/| /' conftest.$ac_ext >&5
    20239 
    20240 fi
    20241 rm -f conftest.err conftest.$ac_objext \
    20242       conftest$ac_exeext conftest.$ac_ext
    20243 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
    20244 
    20245       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
    20246 
    20247       archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
    20248      else
    20249       if test "$host_cpu" = ia64; then
    20250         hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
    20251         allow_undefined_flag_CXX="-z nodefs"
    20252         archive_expsym_cmds_CXX="\$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"
    20253       else
    20254         # Determine the default libpath from the value encoded in an empty executable.
    20255         cat >conftest.$ac_ext <<_ACEOF
    20256 /* confdefs.h.  */
    20257 _ACEOF
    20258 cat confdefs.h >>conftest.$ac_ext
    20259 cat >>conftest.$ac_ext <<_ACEOF
     17102if ac_fn_cxx_try_link "$LINENO"; then :
     17103
     17104  lt_aix_libpath_sed='
     17105      /Import File Strings/,/^$/ {
     17106          /^0/ {
     17107              s/^0  *\([^ ]*\) *$/\1/
     17108              p
     17109          }
     17110      }'
     17111  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     17112  # Check for a 64-bit object if we didn't find anything.
     17113  if test -z "$lt_cv_aix_libpath__CXX"; then
     17114    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     17115  fi
     17116fi
     17117rm -f core conftest.err conftest.$ac_objext \
     17118    conftest$ac_exeext conftest.$ac_ext
     17119  if test -z "$lt_cv_aix_libpath__CXX"; then
     17120    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
     17121  fi
     17122
     17123fi
     17124
     17125  aix_libpath=$lt_cv_aix_libpath__CXX
     17126fi
     17127
     17128          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
     17129
     17130          archive_expsym_cmds_CXX='$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"
     17131        else
     17132          if test "$host_cpu" = ia64; then
     17133            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
     17134            allow_undefined_flag_CXX="-z nodefs"
     17135            archive_expsym_cmds_CXX="\$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"
     17136          else
     17137            # Determine the default libpath from the value encoded in an
     17138            # empty executable.
     17139            if test "${lt_cv_aix_libpath+set}" = set; then
     17140  aix_libpath=$lt_cv_aix_libpath
     17141else
     17142  if ${lt_cv_aix_libpath__CXX+:} false; then :
     17143  $as_echo_n "(cached) " >&6
     17144else
     17145  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2026017146/* end confdefs.h.  */
    2026117147
     
    2026817154}
    2026917155_ACEOF
    20270 rm -f conftest.$ac_objext conftest$ac_exeext
    20271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    20272   (eval $ac_link) 2>conftest.er1
    20273   ac_status=$?
    20274   grep -v '^ *+' conftest.er1 >conftest.err
    20275   rm -f conftest.er1
    20276   cat conftest.err >&5
    20277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20278   (exit $ac_status); } &&
    20279          { ac_try='test -z "$ac_cxx_werror_flag"
    20280                          || test ! -s conftest.err'
    20281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    20282   (eval $ac_try) 2>&5
    20283   ac_status=$?
    20284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20285   (exit $ac_status); }; } &&
    20286          { ac_try='test -s conftest$ac_exeext'
    20287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    20288   (eval $ac_try) 2>&5
    20289   ac_status=$?
    20290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20291   (exit $ac_status); }; }; then
    20292 
    20293 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
    20294 }'`
    20295 # Check for a 64-bit object if we didn't find anything.
    20296 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
    20297 }'`; fi
    20298 else
    20299   echo "$as_me: failed program was:" >&5
    20300 sed 's/^/| /' conftest.$ac_ext >&5
    20301 
    20302 fi
    20303 rm -f conftest.err conftest.$ac_objext \
    20304       conftest$ac_exeext conftest.$ac_ext
    20305 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
    20306 
    20307         hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
    20308         # Warning - without using the other run time loading flags,
    20309         # -berok will link without error, but may produce a broken library.
    20310         no_undefined_flag_CXX=' ${wl}-bernotok'
    20311         allow_undefined_flag_CXX=' ${wl}-berok'
    20312         # Exported symbols can be pulled into shared objects from archives
    20313         whole_archive_flag_spec_CXX='$convenience'
    20314         archive_cmds_need_lc_CXX=yes
    20315         # This is similar to how AIX traditionally builds its shared libraries.
    20316         archive_expsym_cmds_CXX="\$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'
    20317       fi
    20318     fi
    20319     ;;
    20320 
    20321   beos*)
    20322     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    20323       allow_undefined_flag_CXX=unsupported
    20324       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
    20325       # support --undefined.  This deserves some investigation.  FIXME
    20326       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    20327     else
    20328       ld_shlibs_CXX=no
    20329     fi
    20330     ;;
    20331 
    20332   chorus*)
    20333     case $cc_basename in
    20334       *)
    20335         # FIXME: insert proper C++ library support
    20336         ld_shlibs_CXX=no
    20337         ;;
    20338     esac
    20339     ;;
    20340 
    20341   cygwin* | mingw* | pw32*)
    20342     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
    20343     # as there is no search path for DLLs.
    20344     hardcode_libdir_flag_spec_CXX='-L$libdir'
    20345     allow_undefined_flag_CXX=unsupported
    20346     always_export_symbols_CXX=no
    20347     enable_shared_with_static_runtimes_CXX=yes
    20348 
    20349     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
    20350       archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
    20351       # If the export-symbols file already is a .def file (1st line
    20352       # is EXPORTS), use it as is; otherwise, prepend...
    20353       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
    20354         cp $export_symbols $output_objdir/$soname.def;
    20355       else
    20356         echo EXPORTS > $output_objdir/$soname.def;
    20357         cat $export_symbols >> $output_objdir/$soname.def;
    20358       fi~
    20359       $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
    20360     else
    20361       ld_shlibs_CXX=no
    20362     fi
    20363   ;;
    20364       darwin* | rhapsody*)
    20365         case $host_os in
    20366         rhapsody* | darwin1.[012])
    20367          allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
    20368          ;;
    20369        *) # Darwin 1.3 on
    20370          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
    20371            allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
    20372          else
    20373            case ${MACOSX_DEPLOYMENT_TARGET} in
    20374              10.[012])
    20375                allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
    20376                ;;
    20377              10.*)
    20378                allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
    20379                ;;
    20380            esac
    20381          fi
    20382          ;;
    20383         esac
    20384       archive_cmds_need_lc_CXX=no
    20385       hardcode_direct_CXX=no
    20386       hardcode_automatic_CXX=yes
    20387       hardcode_shlibpath_var_CXX=unsupported
    20388       whole_archive_flag_spec_CXX=''
    20389       link_all_deplibs_CXX=yes
    20390 
    20391     if test "$GXX" = yes ; then
    20392       lt_int_apple_cc_single_mod=no
    20393       output_verbose_link_cmd='echo'
    20394       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
    20395        lt_int_apple_cc_single_mod=yes
    20396       fi
    20397       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
    20398        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
    20399       else
    20400           archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
     17156if ac_fn_cxx_try_link "$LINENO"; then :
     17157
     17158  lt_aix_libpath_sed='
     17159      /Import File Strings/,/^$/ {
     17160          /^0/ {
     17161              s/^0  *\([^ ]*\) *$/\1/
     17162              p
     17163          }
     17164      }'
     17165  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     17166  # Check for a 64-bit object if we didn't find anything.
     17167  if test -z "$lt_cv_aix_libpath__CXX"; then
     17168    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     17169  fi
     17170fi
     17171rm -f core conftest.err conftest.$ac_objext \
     17172    conftest$ac_exeext conftest.$ac_ext
     17173  if test -z "$lt_cv_aix_libpath__CXX"; then
     17174    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
     17175  fi
     17176
     17177fi
     17178
     17179  aix_libpath=$lt_cv_aix_libpath__CXX
     17180fi
     17181
     17182            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
     17183            # Warning - without using the other run time loading flags,
     17184            # -berok will link without error, but may produce a broken library.
     17185            no_undefined_flag_CXX=' ${wl}-bernotok'
     17186            allow_undefined_flag_CXX=' ${wl}-berok'
     17187            if test "$with_gnu_ld" = yes; then
     17188              # We only use this code for GNU lds that support --whole-archive.
     17189              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
     17190            else
     17191              # Exported symbols can be pulled into shared objects from archives
     17192              whole_archive_flag_spec_CXX='$convenience'
     17193            fi
     17194            archive_cmds_need_lc_CXX=yes
     17195            # This is similar to how AIX traditionally builds its shared
     17196            # libraries.
     17197            archive_expsym_cmds_CXX="\$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'
     17198          fi
    2040117199        fi
    20402         module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
    20403         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
    20404           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
    20405             archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    20406           else
    20407             archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    20408           fi
    20409             module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    20410       else
    20411       case $cc_basename in
    20412         xlc*)
    20413          output_verbose_link_cmd='echo'
    20414           archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
    20415           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
    20416           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
    20417           archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    20418           module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    20419           ;;
    20420        *)
    20421          ld_shlibs_CXX=no
    20422           ;;
    20423       esac
    20424       fi
    2042517200        ;;
    2042617201
    20427   dgux*)
    20428     case $cc_basename in
    20429       ec++*)
    20430         # FIXME: insert proper C++ library support
    20431         ld_shlibs_CXX=no
    20432         ;;
    20433       ghcx*)
    20434         # Green Hills C++ Compiler
    20435         # FIXME: insert proper C++ library support
    20436         ld_shlibs_CXX=no
    20437         ;;
    20438       *)
    20439         # FIXME: insert proper C++ library support
    20440         ld_shlibs_CXX=no
    20441         ;;
    20442     esac
    20443     ;;
    20444   freebsd[12]*)
    20445     # C++ shared libraries reported to be fairly broken before switch to ELF
    20446     ld_shlibs_CXX=no
    20447     ;;
    20448   freebsd-elf*)
    20449     archive_cmds_need_lc_CXX=no
    20450     ;;
    20451   freebsd* | kfreebsd*-gnu | dragonfly*)
    20452     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
    20453     # conventions
    20454     ld_shlibs_CXX=yes
    20455     ;;
    20456   gnu*)
    20457     ;;
    20458   hpux9*)
    20459     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
    20460     hardcode_libdir_separator_CXX=:
    20461     export_dynamic_flag_spec_CXX='${wl}-E'
    20462     hardcode_direct_CXX=yes
    20463     hardcode_minus_L_CXX=yes # Not in the search PATH,
    20464                                 # but as the default
    20465                                 # location of the library.
    20466 
    20467     case $cc_basename in
    20468     CC*)
    20469       # FIXME: insert proper C++ library support
    20470       ld_shlibs_CXX=no
    20471       ;;
    20472     aCC*)
    20473       archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
    20474       # Commands to make compiler produce verbose output that lists
    20475       # what "hidden" libraries, object files and flags are used when
    20476       # linking a shared library.
    20477       #
    20478       # There doesn't appear to be a way to prevent this compiler from
    20479       # explicitly linking system object files so we need to strip them
    20480       # from the output so that they don't get included in the library
    20481       # dependencies.
    20482       output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
    20483       ;;
    20484     *)
    20485       if test "$GXX" = yes; then
    20486         archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
    20487       else
    20488         # FIXME: insert proper C++ library support
    20489         ld_shlibs_CXX=no
    20490       fi
    20491       ;;
    20492     esac
    20493     ;;
    20494   hpux10*|hpux11*)
    20495     if test $with_gnu_ld = no; then
    20496       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
    20497       hardcode_libdir_separator_CXX=:
    20498 
    20499       case $host_cpu in
    20500       hppa*64*|ia64*)
    20501         hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
    20502         ;;
    20503       *)
    20504         export_dynamic_flag_spec_CXX='${wl}-E'
    20505         ;;
    20506       esac
    20507     fi
    20508     case $host_cpu in
    20509     hppa*64*|ia64*)
    20510       hardcode_direct_CXX=no
    20511       hardcode_shlibpath_var_CXX=no
    20512       ;;
    20513     *)
    20514       hardcode_direct_CXX=yes
    20515       hardcode_minus_L_CXX=yes # Not in the search PATH,
    20516                                               # but as the default
    20517                                               # location of the library.
    20518       ;;
    20519     esac
    20520 
    20521     case $cc_basename in
    20522       CC*)
    20523         # FIXME: insert proper C++ library support
    20524         ld_shlibs_CXX=no
    20525         ;;
    20526       aCC*)
    20527         case $host_cpu in
    20528         hppa*64*)
    20529           archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    20530           ;;
    20531         ia64*)
    20532           archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    20533           ;;
    20534         *)
    20535           archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    20536           ;;
    20537         esac
    20538         # Commands to make compiler produce verbose output that lists
    20539         # what "hidden" libraries, object files and flags are used when
    20540         # linking a shared library.
    20541         #
    20542         # There doesn't appear to be a way to prevent this compiler from
    20543         # explicitly linking system object files so we need to strip them
    20544         # from the output so that they don't get included in the library
    20545         # dependencies.
    20546         output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
    20547         ;;
    20548       *)
    20549         if test "$GXX" = yes; then
    20550           if test $with_gnu_ld = no; then
    20551             case $host_cpu in
    20552             hppa*64*)
    20553               archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    20554               ;;
    20555             ia64*)
    20556               archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    20557               ;;
    20558             *)
    20559               archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    20560               ;;
    20561             esac
    20562           fi
     17202      beos*)
     17203        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
     17204          allow_undefined_flag_CXX=unsupported
     17205          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
     17206          # support --undefined.  This deserves some investigation.  FIXME
     17207          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    2056317208        else
    20564           # FIXME: insert proper C++ library support
    2056517209          ld_shlibs_CXX=no
    2056617210        fi
    2056717211        ;;
    20568     esac
    20569     ;;
    20570   interix3*)
    20571     hardcode_direct_CXX=no
    20572     hardcode_shlibpath_var_CXX=no
    20573     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
    20574     export_dynamic_flag_spec_CXX='${wl}-E'
    20575     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
    20576     # Instead, shared libraries are loaded at an image base (0x10000000 by
    20577     # default) and relocated if they conflict, which is a slow very memory
    20578     # consuming and fragmenting process.  To avoid this, we pick a random,
    20579     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
    20580     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
    20581     archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
    20582     archive_expsym_cmds_CXX='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'
    20583     ;;
    20584   irix5* | irix6*)
    20585     case $cc_basename in
    20586       CC*)
    20587         # SGI C++
    20588         archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
    20589 
    20590         # Archives containing C++ object files must be created using
    20591         # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
    20592         # necessary to make sure instantiated templates are included
    20593         # in the archive.
    20594         old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
    20595         ;;
    20596       *)
    20597         if test "$GXX" = yes; then
    20598           if test "$with_gnu_ld" = no; then
    20599             archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
     17212
     17213      chorus*)
     17214        case $cc_basename in
     17215          *)
     17216          # FIXME: insert proper C++ library support
     17217          ld_shlibs_CXX=no
     17218          ;;
     17219        esac
     17220        ;;
     17221
     17222      cygwin* | mingw* | pw32* | cegcc*)
     17223        case $GXX,$cc_basename in
     17224        ,cl* | no,cl*)
     17225          # Native MSVC
     17226          # hardcode_libdir_flag_spec is actually meaningless, as there is
     17227          # no search path for DLLs.
     17228          hardcode_libdir_flag_spec_CXX=' '
     17229          allow_undefined_flag_CXX=unsupported
     17230          always_export_symbols_CXX=yes
     17231          file_list_spec_CXX='@'
     17232          # Tell ltmain to make .lib files, not .a files.
     17233          libext=lib
     17234          # Tell ltmain to make .dll files, not .so files.
     17235          shrext_cmds=".dll"
     17236          # FIXME: Setting linknames here is a bad hack.
     17237          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
     17238          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
     17239              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
     17240            else
     17241              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
     17242            fi~
     17243            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
     17244            linknames='
     17245          # The linker will not automatically build a static lib if we build a DLL.
     17246          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
     17247          enable_shared_with_static_runtimes_CXX=yes
     17248          # Don't use ranlib
     17249          old_postinstall_cmds_CXX='chmod 644 $oldlib'
     17250          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
     17251            lt_tool_outputfile="@TOOL_OUTPUT@"~
     17252            case $lt_outputfile in
     17253              *.exe|*.EXE) ;;
     17254              *)
     17255                lt_outputfile="$lt_outputfile.exe"
     17256                lt_tool_outputfile="$lt_tool_outputfile.exe"
     17257                ;;
     17258            esac~
     17259            func_to_tool_file "$lt_outputfile"~
     17260            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
     17261              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
     17262              $RM "$lt_outputfile.manifest";
     17263            fi'
     17264          ;;
     17265        *)
     17266          # g++
     17267          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
     17268          # as there is no search path for DLLs.
     17269          hardcode_libdir_flag_spec_CXX='-L$libdir'
     17270          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
     17271          allow_undefined_flag_CXX=unsupported
     17272          always_export_symbols_CXX=no
     17273          enable_shared_with_static_runtimes_CXX=yes
     17274
     17275          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
     17276            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
     17277            # If the export-symbols file already is a .def file (1st line
     17278            # is EXPORTS), use it as is; otherwise, prepend...
     17279            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
     17280              cp $export_symbols $output_objdir/$soname.def;
     17281            else
     17282              echo EXPORTS > $output_objdir/$soname.def;
     17283              cat $export_symbols >> $output_objdir/$soname.def;
     17284            fi~
     17285            $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
    2060017286          else
    20601             archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
     17287            ld_shlibs_CXX=no
    2060217288          fi
    20603         fi
    20604         link_all_deplibs_CXX=yes
    20605         ;;
    20606     esac
    20607     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
    20608     hardcode_libdir_separator_CXX=:
    20609     ;;
    20610   linux*)
    20611     case $cc_basename in
    20612       KCC*)
    20613         # Kuck and Associates, Inc. (KAI) C++ Compiler
    20614 
    20615         # KCC will only create a shared library if the output file
    20616         # ends with ".so" (or ".sl" for HP-UX), so rename the library
    20617         # to its proper name (with version) after linking.
    20618         archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
    20619         archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
    20620         # Commands to make compiler produce verbose output that lists
    20621         # what "hidden" libraries, object files and flags are used when
    20622         # linking a shared library.
    20623         #
    20624         # There doesn't appear to be a way to prevent this compiler from
    20625         # explicitly linking system object files so we need to strip them
    20626         # from the output so that they don't get included in the library
    20627         # dependencies.
    20628         output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
    20629 
    20630         hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
    20631         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
    20632 
    20633         # Archives containing C++ object files must be created using
    20634         # "CC -Bstatic", where "CC" is the KAI C++ compiler.
    20635         old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
    20636         ;;
    20637       icpc*)
    20638         # Intel C++
    20639         with_gnu_ld=yes
    20640         # version 8.0 and above of icpc choke on multiply defined symbols
    20641         # if we add $predep_objects and $postdep_objects, however 7.1 and
    20642         # earlier do not add the objects themselves.
    20643         case `$CC -V 2>&1` in
    20644         *"Version 7."*)
    20645           archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
    20646           archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    20647           ;;
    20648         *)  # Version 8.0 or newer
    20649           tmp_idyn=
    20650           case $host_cpu in
    20651             ia64*) tmp_idyn=' -i_dynamic';;
    20652           esac
    20653           archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    20654           archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    2065517289          ;;
    2065617290        esac
    20657         archive_cmds_need_lc_CXX=no
     17291        ;;
     17292      darwin* | rhapsody*)
     17293
     17294
     17295  archive_cmds_need_lc_CXX=no
     17296  hardcode_direct_CXX=no
     17297  hardcode_automatic_CXX=yes
     17298  hardcode_shlibpath_var_CXX=unsupported
     17299  if test "$lt_cv_ld_force_load" = "yes"; then
     17300    whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
     17301
     17302  else
     17303    whole_archive_flag_spec_CXX=''
     17304  fi
     17305  link_all_deplibs_CXX=yes
     17306  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
     17307  case $cc_basename in
     17308     ifort*) _lt_dar_can_shared=yes ;;
     17309     *) _lt_dar_can_shared=$GCC ;;
     17310  esac
     17311  if test "$_lt_dar_can_shared" = "yes"; then
     17312    output_verbose_link_cmd=func_echo_all
     17313    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
     17314    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
     17315    archive_expsym_cmds_CXX="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}"
     17316    module_expsym_cmds_CXX="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}"
     17317       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
     17318      archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
     17319      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
     17320    fi
     17321
     17322  else
     17323  ld_shlibs_CXX=no
     17324  fi
     17325
     17326        ;;
     17327
     17328      dgux*)
     17329        case $cc_basename in
     17330          ec++*)
     17331            # FIXME: insert proper C++ library support
     17332            ld_shlibs_CXX=no
     17333            ;;
     17334          ghcx*)
     17335            # Green Hills C++ Compiler
     17336            # FIXME: insert proper C++ library support
     17337            ld_shlibs_CXX=no
     17338            ;;
     17339          *)
     17340            # FIXME: insert proper C++ library support
     17341            ld_shlibs_CXX=no
     17342            ;;
     17343        esac
     17344        ;;
     17345
     17346      freebsd2.*)
     17347        # C++ shared libraries reported to be fairly broken before
     17348        # switch to ELF
     17349        ld_shlibs_CXX=no
     17350        ;;
     17351
     17352      freebsd-elf*)
     17353        archive_cmds_need_lc_CXX=no
     17354        ;;
     17355
     17356      freebsd* | dragonfly*)
     17357        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
     17358        # conventions
     17359        ld_shlibs_CXX=yes
     17360        ;;
     17361
     17362      haiku*)
     17363        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     17364        link_all_deplibs_CXX=yes
     17365        ;;
     17366
     17367      hpux9*)
     17368        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
     17369        hardcode_libdir_separator_CXX=:
     17370        export_dynamic_flag_spec_CXX='${wl}-E'
     17371        hardcode_direct_CXX=yes
     17372        hardcode_minus_L_CXX=yes # Not in the search PATH,
     17373                                             # but as the default
     17374                                             # location of the library.
     17375
     17376        case $cc_basename in
     17377          CC*)
     17378            # FIXME: insert proper C++ library support
     17379            ld_shlibs_CXX=no
     17380            ;;
     17381          aCC*)
     17382            archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
     17383            # Commands to make compiler produce verbose output that lists
     17384            # what "hidden" libraries, object files and flags are used when
     17385            # linking a shared library.
     17386            #
     17387            # There doesn't appear to be a way to prevent this compiler from
     17388            # explicitly linking system object files so we need to strip them
     17389            # from the output so that they don't get included in the library
     17390            # dependencies.
     17391            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
     17392            ;;
     17393          *)
     17394            if test "$GXX" = yes; then
     17395              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
     17396            else
     17397              # FIXME: insert proper C++ library support
     17398              ld_shlibs_CXX=no
     17399            fi
     17400            ;;
     17401        esac
     17402        ;;
     17403
     17404      hpux10*|hpux11*)
     17405        if test $with_gnu_ld = no; then
     17406          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
     17407          hardcode_libdir_separator_CXX=:
     17408
     17409          case $host_cpu in
     17410            hppa*64*|ia64*)
     17411              ;;
     17412            *)
     17413              export_dynamic_flag_spec_CXX='${wl}-E'
     17414              ;;
     17415          esac
     17416        fi
     17417        case $host_cpu in
     17418          hppa*64*|ia64*)
     17419            hardcode_direct_CXX=no
     17420            hardcode_shlibpath_var_CXX=no
     17421            ;;
     17422          *)
     17423            hardcode_direct_CXX=yes
     17424            hardcode_direct_absolute_CXX=yes
     17425            hardcode_minus_L_CXX=yes # Not in the search PATH,
     17426                                                 # but as the default
     17427                                                 # location of the library.
     17428            ;;
     17429        esac
     17430
     17431        case $cc_basename in
     17432          CC*)
     17433            # FIXME: insert proper C++ library support
     17434            ld_shlibs_CXX=no
     17435            ;;
     17436          aCC*)
     17437            case $host_cpu in
     17438              hppa*64*)
     17439                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     17440                ;;
     17441              ia64*)
     17442                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     17443                ;;
     17444              *)
     17445                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     17446                ;;
     17447            esac
     17448            # Commands to make compiler produce verbose output that lists
     17449            # what "hidden" libraries, object files and flags are used when
     17450            # linking a shared library.
     17451            #
     17452            # There doesn't appear to be a way to prevent this compiler from
     17453            # explicitly linking system object files so we need to strip them
     17454            # from the output so that they don't get included in the library
     17455            # dependencies.
     17456            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
     17457            ;;
     17458          *)
     17459            if test "$GXX" = yes; then
     17460              if test $with_gnu_ld = no; then
     17461                case $host_cpu in
     17462                  hppa*64*)
     17463                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     17464                    ;;
     17465                  ia64*)
     17466                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     17467                    ;;
     17468                  *)
     17469                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     17470                    ;;
     17471                esac
     17472              fi
     17473            else
     17474              # FIXME: insert proper C++ library support
     17475              ld_shlibs_CXX=no
     17476            fi
     17477            ;;
     17478        esac
     17479        ;;
     17480
     17481      interix[3-9]*)
     17482        hardcode_direct_CXX=no
     17483        hardcode_shlibpath_var_CXX=no
    2065817484        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
    20659         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
    20660         whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
     17485        export_dynamic_flag_spec_CXX='${wl}-E'
     17486        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
     17487        # Instead, shared libraries are loaded at an image base (0x10000000 by
     17488        # default) and relocated if they conflict, which is a slow very memory
     17489        # consuming and fragmenting process.  To avoid this, we pick a random,
     17490        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
     17491        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
     17492        archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
     17493        archive_expsym_cmds_CXX='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'
    2066117494        ;;
    20662       pgCC*)
    20663         # Portland Group C++ compiler
    20664         archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
    20665         archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
    20666 
    20667         hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
    20668         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
    20669         whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
     17495      irix5* | irix6*)
     17496        case $cc_basename in
     17497          CC*)
     17498            # SGI C++
     17499            archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
     17500
     17501            # Archives containing C++ object files must be created using
     17502            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
     17503            # necessary to make sure instantiated templates are included
     17504            # in the archive.
     17505            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
     17506            ;;
     17507          *)
     17508            if test "$GXX" = yes; then
     17509              if test "$with_gnu_ld" = no; then
     17510                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
     17511              else
     17512                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
     17513              fi
     17514            fi
     17515            link_all_deplibs_CXX=yes
     17516            ;;
     17517        esac
     17518        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
     17519        hardcode_libdir_separator_CXX=:
     17520        inherit_rpath_CXX=yes
    2067017521        ;;
    20671       cxx*)
    20672         # Compaq C++
    20673         archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
    20674         archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
    20675 
    20676         runpath_var=LD_RUN_PATH
    20677         hardcode_libdir_flag_spec_CXX='-rpath $libdir'
    20678         hardcode_libdir_separator_CXX=:
    20679 
    20680         # Commands to make compiler produce verbose output that lists
    20681         # what "hidden" libraries, object files and flags are used when
    20682         # linking a shared library.
    20683         #
    20684         # There doesn't appear to be a way to prevent this compiler from
    20685         # explicitly linking system object files so we need to strip them
    20686         # from the output so that they don't get included in the library
    20687         # dependencies.
    20688         output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
     17522
     17523      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
     17524        case $cc_basename in
     17525          KCC*)
     17526            # Kuck and Associates, Inc. (KAI) C++ Compiler
     17527
     17528            # KCC will only create a shared library if the output file
     17529            # ends with ".so" (or ".sl" for HP-UX), so rename the library
     17530            # to its proper name (with version) after linking.
     17531            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
     17532            archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
     17533            # Commands to make compiler produce verbose output that lists
     17534            # what "hidden" libraries, object files and flags are used when
     17535            # linking a shared library.
     17536            #
     17537            # There doesn't appear to be a way to prevent this compiler from
     17538            # explicitly linking system object files so we need to strip them
     17539            # from the output so that they don't get included in the library
     17540            # dependencies.
     17541            output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
     17542
     17543            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
     17544            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
     17545
     17546            # Archives containing C++ object files must be created using
     17547            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
     17548            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
     17549            ;;
     17550          icpc* | ecpc* )
     17551            # Intel C++
     17552            with_gnu_ld=yes
     17553            # version 8.0 and above of icpc choke on multiply defined symbols
     17554            # if we add $predep_objects and $postdep_objects, however 7.1 and
     17555            # earlier do not add the objects themselves.
     17556            case `$CC -V 2>&1` in
     17557              *"Version 7."*)
     17558                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
     17559                archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     17560                ;;
     17561              *)  # Version 8.0 or newer
     17562                tmp_idyn=
     17563                case $host_cpu in
     17564                  ia64*) tmp_idyn=' -i_dynamic';;
     17565                esac
     17566                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     17567                archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     17568                ;;
     17569            esac
     17570            archive_cmds_need_lc_CXX=no
     17571            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
     17572            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
     17573            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
     17574            ;;
     17575          pgCC* | pgcpp*)
     17576            # Portland Group C++ compiler
     17577            case `$CC -V` in
     17578            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
     17579              prelink_cmds_CXX='tpldir=Template.dir~
     17580                rm -rf $tpldir~
     17581                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
     17582                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
     17583              old_archive_cmds_CXX='tpldir=Template.dir~
     17584                rm -rf $tpldir~
     17585                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
     17586                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
     17587                $RANLIB $oldlib'
     17588              archive_cmds_CXX='tpldir=Template.dir~
     17589                rm -rf $tpldir~
     17590                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
     17591                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
     17592              archive_expsym_cmds_CXX='tpldir=Template.dir~
     17593                rm -rf $tpldir~
     17594                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
     17595                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
     17596              ;;
     17597            *) # Version 6 and above use weak symbols
     17598              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
     17599              archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
     17600              ;;
     17601            esac
     17602
     17603            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
     17604            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
     17605            whole_archive_flag_spec_CXX='${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'
     17606            ;;
     17607          cxx*)
     17608            # Compaq C++
     17609            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
     17610            archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
     17611
     17612            runpath_var=LD_RUN_PATH
     17613            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
     17614            hardcode_libdir_separator_CXX=:
     17615
     17616            # Commands to make compiler produce verbose output that lists
     17617            # what "hidden" libraries, object files and flags are used when
     17618            # linking a shared library.
     17619            #
     17620            # There doesn't appear to be a way to prevent this compiler from
     17621            # explicitly linking system object files so we need to strip them
     17622            # from the output so that they don't get included in the library
     17623            # dependencies.
     17624            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
     17625            ;;
     17626          xl* | mpixl* | bgxl*)
     17627            # IBM XL 8.0 on PPC, with GNU ld
     17628            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
     17629            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
     17630            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     17631            if test "x$supports_anon_versioning" = xyes; then
     17632              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
     17633                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     17634                echo "local: *; };" >> $output_objdir/$libname.ver~
     17635                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
     17636            fi
     17637            ;;
     17638          *)
     17639            case `$CC -V 2>&1 | sed 5q` in
     17640            *Sun\ C*)
     17641              # Sun C++ 5.9
     17642              no_undefined_flag_CXX=' -zdefs'
     17643              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     17644              archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
     17645              hardcode_libdir_flag_spec_CXX='-R$libdir'
     17646              whole_archive_flag_spec_CXX='${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'
     17647              compiler_needs_object_CXX=yes
     17648
     17649              # Not sure whether something based on
     17650              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
     17651              # would be better.
     17652              output_verbose_link_cmd='func_echo_all'
     17653
     17654              # Archives containing C++ object files must be created using
     17655              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
     17656              # necessary to make sure instantiated templates are included
     17657              # in the archive.
     17658              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
     17659              ;;
     17660            esac
     17661            ;;
     17662        esac
    2068917663        ;;
    20690     esac
    20691     ;;
    20692   lynxos*)
    20693     # FIXME: insert proper C++ library support
    20694     ld_shlibs_CXX=no
    20695     ;;
    20696   m88k*)
    20697     # FIXME: insert proper C++ library support
    20698     ld_shlibs_CXX=no
    20699     ;;
    20700   mvs*)
    20701     case $cc_basename in
    20702       cxx*)
    20703         # FIXME: insert proper C++ library support
     17664
     17665      lynxos*)
     17666        # FIXME: insert proper C++ library support
    2070417667        ld_shlibs_CXX=no
    2070517668        ;;
    20706       *)
    20707         # FIXME: insert proper C++ library support
     17669
     17670      m88k*)
     17671        # FIXME: insert proper C++ library support
     17672        ld_shlibs_CXX=no
     17673        ;;
     17674
     17675      mvs*)
     17676        case $cc_basename in
     17677          cxx*)
     17678            # FIXME: insert proper C++ library support
     17679            ld_shlibs_CXX=no
     17680            ;;
     17681          *)
     17682            # FIXME: insert proper C++ library support
     17683            ld_shlibs_CXX=no
     17684            ;;
     17685        esac
     17686        ;;
     17687
     17688      netbsd*)
     17689        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
     17690          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
     17691          wlarc=
     17692          hardcode_libdir_flag_spec_CXX='-R$libdir'
     17693          hardcode_direct_CXX=yes
     17694          hardcode_shlibpath_var_CXX=no
     17695        fi
     17696        # Workaround some broken pre-1.5 toolchains
     17697        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
     17698        ;;
     17699
     17700      *nto* | *qnx*)
     17701        ld_shlibs_CXX=yes
     17702        ;;
     17703
     17704      openbsd2*)
     17705        # C++ shared libraries are fairly broken
    2070817706        ld_shlibs_CXX=no
    2070917707        ;;
    20710     esac
    20711     ;;
    20712   netbsd*)
    20713     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
    20714       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
    20715       wlarc=
    20716       hardcode_libdir_flag_spec_CXX='-R$libdir'
    20717       hardcode_direct_CXX=yes
    20718       hardcode_shlibpath_var_CXX=no
    20719     fi
    20720     # Workaround some broken pre-1.5 toolchains
    20721     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
    20722     ;;
    20723   openbsd2*)
    20724     # C++ shared libraries are fairly broken
    20725     ld_shlibs_CXX=no
    20726     ;;
    20727   openbsd*)
    20728     hardcode_direct_CXX=yes
    20729     hardcode_shlibpath_var_CXX=no
    20730     archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
    20731     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
    20732     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    20733       archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
    20734       export_dynamic_flag_spec_CXX='${wl}-E'
    20735       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
    20736     fi
    20737     output_verbose_link_cmd='echo'
    20738     ;;
    20739   osf3*)
    20740     case $cc_basename in
    20741       KCC*)
    20742         # Kuck and Associates, Inc. (KAI) C++ Compiler
    20743 
    20744         # KCC will only create a shared library if the output file
    20745         # ends with ".so" (or ".sl" for HP-UX), so rename the library
    20746         # to its proper name (with version) after linking.
    20747         archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
    20748 
    20749         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
    20750         hardcode_libdir_separator_CXX=:
    20751 
    20752         # Archives containing C++ object files must be created using
    20753         # "CC -Bstatic", where "CC" is the KAI C++ compiler.
    20754         old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
    20755 
    20756         ;;
    20757       RCC*)
    20758         # Rational C++ 2.4.1
    20759         # FIXME: insert proper C++ library support
    20760         ld_shlibs_CXX=no
    20761         ;;
    20762       cxx*)
    20763         allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
    20764         archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
    20765 
    20766         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
    20767         hardcode_libdir_separator_CXX=:
    20768 
    20769         # Commands to make compiler produce verbose output that lists
    20770         # what "hidden" libraries, object files and flags are used when
    20771         # linking a shared library.
    20772         #
    20773         # There doesn't appear to be a way to prevent this compiler from
    20774         # explicitly linking system object files so we need to strip them
    20775         # from the output so that they don't get included in the library
    20776         # dependencies.
    20777         output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
    20778         ;;
    20779       *)
    20780         if test "$GXX" = yes && test "$with_gnu_ld" = no; then
    20781           allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
    20782           archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
    20783 
    20784           hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
    20785           hardcode_libdir_separator_CXX=:
    20786 
    20787           # Commands to make compiler produce verbose output that lists
    20788           # what "hidden" libraries, object files and flags are used when
    20789           # linking a shared library.
    20790           output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
    20791 
     17708
     17709      openbsd*)
     17710        if test -f /usr/libexec/ld.so; then
     17711          hardcode_direct_CXX=yes
     17712          hardcode_shlibpath_var_CXX=no
     17713          hardcode_direct_absolute_CXX=yes
     17714          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
     17715          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
     17716          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
     17717            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
     17718            export_dynamic_flag_spec_CXX='${wl}-E'
     17719            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
     17720          fi
     17721          output_verbose_link_cmd=func_echo_all
    2079217722        else
    20793           # FIXME: insert proper C++ library support
    2079417723          ld_shlibs_CXX=no
    2079517724        fi
    2079617725        ;;
    20797     esac
    20798     ;;
    20799   osf4* | osf5*)
    20800     case $cc_basename in
    20801       KCC*)
    20802         # Kuck and Associates, Inc. (KAI) C++ Compiler
    20803 
    20804         # KCC will only create a shared library if the output file
    20805         # ends with ".so" (or ".sl" for HP-UX), so rename the library
    20806         # to its proper name (with version) after linking.
    20807         archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
    20808 
    20809         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
    20810         hardcode_libdir_separator_CXX=:
    20811 
    20812         # Archives containing C++ object files must be created using
    20813         # the KAI C++ compiler.
    20814         old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
    20815         ;;
    20816       RCC*)
    20817         # Rational C++ 2.4.1
    20818         # FIXME: insert proper C++ library support
    20819         ld_shlibs_CXX=no
    20820         ;;
    20821       cxx*)
    20822         allow_undefined_flag_CXX=' -expect_unresolved \*'
    20823         archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
    20824         archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
    20825           echo "-hidden">> $lib.exp~
    20826           $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
    20827           $rm $lib.exp'
    20828 
    20829         hardcode_libdir_flag_spec_CXX='-rpath $libdir'
    20830         hardcode_libdir_separator_CXX=:
    20831 
    20832         # Commands to make compiler produce verbose output that lists
    20833         # what "hidden" libraries, object files and flags are used when
    20834         # linking a shared library.
    20835         #
    20836         # There doesn't appear to be a way to prevent this compiler from
    20837         # explicitly linking system object files so we need to strip them
    20838         # from the output so that they don't get included in the library
    20839         # dependencies.
    20840         output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
    20841         ;;
    20842       *)
    20843         if test "$GXX" = yes && test "$with_gnu_ld" = no; then
    20844           allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
    20845          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
    20846 
    20847           hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
    20848           hardcode_libdir_separator_CXX=:
    20849 
    20850           # Commands to make compiler produce verbose output that lists
    20851           # what "hidden" libraries, object files and flags are used when
    20852           # linking a shared library.
    20853           output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
    20854 
    20855         else
    20856           # FIXME: insert proper C++ library support
    20857           ld_shlibs_CXX=no
    20858         fi
    20859         ;;
    20860     esac
    20861     ;;
    20862   psos*)
    20863     # FIXME: insert proper C++ library support
    20864     ld_shlibs_CXX=no
    20865     ;;
    20866   sunos4*)
    20867     case $cc_basename in
    20868       CC*)
    20869         # Sun C++ 4.x
    20870         # FIXME: insert proper C++ library support
    20871         ld_shlibs_CXX=no
    20872         ;;
    20873       lcc*)
    20874         # Lucid
    20875         # FIXME: insert proper C++ library support
    20876         ld_shlibs_CXX=no
    20877         ;;
    20878       *)
    20879         # FIXME: insert proper C++ library support
    20880         ld_shlibs_CXX=no
    20881         ;;
    20882     esac
    20883     ;;
    20884   solaris*)
    20885     case $cc_basename in
    20886       CC*)
    20887         # Sun C++ 4.2, 5.x and Centerline C++
    20888         archive_cmds_need_lc_CXX=yes
    20889         no_undefined_flag_CXX=' -zdefs'
    20890         archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    20891         archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
    20892         $CC -G${allow_undefined_flag}  ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
    20893 
    20894         hardcode_libdir_flag_spec_CXX='-R$libdir'
    20895         hardcode_shlibpath_var_CXX=no
    20896         case $host_os in
    20897           solaris2.[0-5] | solaris2.[0-5].*) ;;
    20898           *)
    20899             # The C++ compiler is used as linker so we must use $wl
    20900             # flag to pass the commands to the underlying system
    20901             # linker. We must also pass each convience library through
    20902             # to the system linker between allextract/defaultextract.
    20903             # The C++ compiler will combine linker options so we
    20904             # cannot just pass the convience library names through
    20905             # without $wl.
    20906             # Supported since Solaris 2.6 (maybe 2.5.1?)
    20907             whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
     17726
     17727      osf3* | osf4* | osf5*)
     17728        case $cc_basename in
     17729          KCC*)
     17730            # Kuck and Associates, Inc. (KAI) C++ Compiler
     17731
     17732            # KCC will only create a shared library if the output file
     17733            # ends with ".so" (or ".sl" for HP-UX), so rename the library
     17734            # to its proper name (with version) after linking.
     17735            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
     17736
     17737            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
     17738            hardcode_libdir_separator_CXX=:
     17739
     17740            # Archives containing C++ object files must be created using
     17741            # the KAI C++ compiler.
     17742            case $host in
     17743              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
     17744              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
     17745            esac
    2090817746            ;;
    20909         esac
    20910         link_all_deplibs_CXX=yes
    20911 
    20912         output_verbose_link_cmd='echo'
    20913 
    20914         # Archives containing C++ object files must be created using
    20915         # "CC -xar", where "CC" is the Sun C++ compiler.  This is
    20916         # necessary to make sure instantiated templates are included
    20917         # in the archive.
    20918         old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
    20919         ;;
    20920       gcx*)
    20921         # Green Hills C++ Compiler
    20922         archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
    20923 
    20924         # The C++ compiler must be used to create the archive.
    20925         old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
    20926         ;;
    20927       *)
    20928         # GNU C++ compiler with Solaris linker
    20929         if test "$GXX" = yes && test "$with_gnu_ld" = no; then
    20930           no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
    20931           if $CC --version | grep -v '^2\.7' > /dev/null; then
    20932             archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
    20933             archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
    20934                 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
     17747          RCC*)
     17748            # Rational C++ 2.4.1
     17749            # FIXME: insert proper C++ library support
     17750            ld_shlibs_CXX=no
     17751            ;;
     17752          cxx*)
     17753            case $host in
     17754              osf3*)
     17755                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
     17756                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
     17757                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
     17758                ;;
     17759              *)
     17760                allow_undefined_flag_CXX=' -expect_unresolved \*'
     17761                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
     17762                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
     17763                  echo "-hidden">> $lib.exp~
     17764                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
     17765                  $RM $lib.exp'
     17766                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
     17767                ;;
     17768            esac
     17769
     17770            hardcode_libdir_separator_CXX=:
    2093517771
    2093617772            # Commands to make compiler produce verbose output that lists
    2093717773            # what "hidden" libraries, object files and flags are used when
    2093817774            # linking a shared library.
    20939             output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
    20940           else
    20941             # g++ 2.7 appears to require `-G' NOT `-shared' on this
    20942             # platform.
    20943             archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
    20944             archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
    20945                 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
    20946 
    20947             # Commands to make compiler produce verbose output that lists
    20948             # what "hidden" libraries, object files and flags are used when
    20949             # linking a shared library.
    20950             output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
    20951           fi
    20952 
    20953           hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
    20954         fi
    20955         ;;
     17775            #
     17776            # There doesn't appear to be a way to prevent this compiler from
     17777            # explicitly linking system object files so we need to strip them
     17778            # from the output so that they don't get included in the library
     17779            # dependencies.
     17780            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
     17781            ;;
     17782          *)
     17783            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
     17784              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
     17785              case $host in
     17786                osf3*)
     17787                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
     17788                  ;;
     17789                *)
     17790                  archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
     17791                  ;;
     17792              esac
     17793
     17794              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
     17795              hardcode_libdir_separator_CXX=:
     17796
     17797              # Commands to make compiler produce verbose output that lists
     17798              # what "hidden" libraries, object files and flags are used when
     17799              # linking a shared library.
     17800              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
     17801
     17802            else
     17803              # FIXME: insert proper C++ library support
     17804              ld_shlibs_CXX=no
     17805            fi
     17806            ;;
     17807        esac
     17808        ;;
     17809
     17810      psos*)
     17811        # FIXME: insert proper C++ library support
     17812        ld_shlibs_CXX=no
     17813        ;;
     17814
     17815      sunos4*)
     17816        case $cc_basename in
     17817          CC*)
     17818            # Sun C++ 4.x
     17819            # FIXME: insert proper C++ library support
     17820            ld_shlibs_CXX=no
     17821            ;;
     17822          lcc*)
     17823            # Lucid
     17824            # FIXME: insert proper C++ library support
     17825            ld_shlibs_CXX=no
     17826            ;;
     17827          *)
     17828            # FIXME: insert proper C++ library support
     17829            ld_shlibs_CXX=no
     17830            ;;
     17831        esac
     17832        ;;
     17833
     17834      solaris*)
     17835        case $cc_basename in
     17836          CC* | sunCC*)
     17837            # Sun C++ 4.2, 5.x and Centerline C++
     17838            archive_cmds_need_lc_CXX=yes
     17839            no_undefined_flag_CXX=' -zdefs'
     17840            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     17841            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
     17842              $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
     17843
     17844            hardcode_libdir_flag_spec_CXX='-R$libdir'
     17845            hardcode_shlibpath_var_CXX=no
     17846            case $host_os in
     17847              solaris2.[0-5] | solaris2.[0-5].*) ;;
     17848              *)
     17849                # The compiler driver will combine and reorder linker options,
     17850                # but understands `-z linker_flag'.
     17851                # Supported since Solaris 2.6 (maybe 2.5.1?)
     17852                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
     17853                ;;
     17854            esac
     17855            link_all_deplibs_CXX=yes
     17856
     17857            output_verbose_link_cmd='func_echo_all'
     17858
     17859            # Archives containing C++ object files must be created using
     17860            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
     17861            # necessary to make sure instantiated templates are included
     17862            # in the archive.
     17863            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
     17864            ;;
     17865          gcx*)
     17866            # Green Hills C++ Compiler
     17867            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
     17868
     17869            # The C++ compiler must be used to create the archive.
     17870            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
     17871            ;;
     17872          *)
     17873            # GNU C++ compiler with Solaris linker
     17874            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
     17875              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
     17876              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
     17877                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
     17878                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
     17879                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
     17880
     17881                # Commands to make compiler produce verbose output that lists
     17882                # what "hidden" libraries, object files and flags are used when
     17883                # linking a shared library.
     17884                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
     17885              else
     17886                # g++ 2.7 appears to require `-G' NOT `-shared' on this
     17887                # platform.
     17888                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
     17889                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
     17890                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
     17891
     17892                # Commands to make compiler produce verbose output that lists
     17893                # what "hidden" libraries, object files and flags are used when
     17894                # linking a shared library.
     17895                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
     17896              fi
     17897
     17898              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
     17899              case $host_os in
     17900                solaris2.[0-5] | solaris2.[0-5].*) ;;
     17901                *)
     17902                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
     17903                  ;;
     17904              esac
     17905            fi
     17906            ;;
     17907        esac
     17908        ;;
     17909
     17910    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
     17911      no_undefined_flag_CXX='${wl}-z,text'
     17912      archive_cmds_need_lc_CXX=no
     17913      hardcode_shlibpath_var_CXX=no
     17914      runpath_var='LD_RUN_PATH'
     17915
     17916      case $cc_basename in
     17917        CC*)
     17918          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     17919          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     17920          ;;
     17921        *)
     17922          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     17923          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     17924          ;;
     17925      esac
     17926      ;;
     17927
     17928      sysv5* | sco3.2v5* | sco5v6*)
     17929        # Note: We can NOT use -z defs as we might desire, because we do not
     17930        # link with -lc, and that would cause any symbols used from libc to
     17931        # always be unresolved, which means just about no library would
     17932        # ever link correctly.  If we're not using GNU ld we use -z text
     17933        # though, which does catch some bad symbols but isn't as heavy-handed
     17934        # as -z defs.
     17935        no_undefined_flag_CXX='${wl}-z,text'
     17936        allow_undefined_flag_CXX='${wl}-z,nodefs'
     17937        archive_cmds_need_lc_CXX=no
     17938        hardcode_shlibpath_var_CXX=no
     17939        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
     17940        hardcode_libdir_separator_CXX=':'
     17941        link_all_deplibs_CXX=yes
     17942        export_dynamic_flag_spec_CXX='${wl}-Bexport'
     17943        runpath_var='LD_RUN_PATH'
     17944
     17945        case $cc_basename in
     17946          CC*)
     17947            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     17948            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     17949            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
     17950              '"$old_archive_cmds_CXX"
     17951            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
     17952              '"$reload_cmds_CXX"
     17953            ;;
     17954          *)
     17955            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     17956            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     17957            ;;
     17958        esac
     17959      ;;
     17960
     17961      tandem*)
     17962        case $cc_basename in
     17963          NCC*)
     17964            # NonStop-UX NCC 3.20
     17965            # FIXME: insert proper C++ library support
     17966            ld_shlibs_CXX=no
     17967            ;;
     17968          *)
     17969            # FIXME: insert proper C++ library support
     17970            ld_shlibs_CXX=no
     17971            ;;
     17972        esac
     17973        ;;
     17974
     17975      vxworks*)
     17976        # FIXME: insert proper C++ library support
     17977        ld_shlibs_CXX=no
     17978        ;;
     17979
     17980      *)
     17981        # FIXME: insert proper C++ library support
     17982        ld_shlibs_CXX=no
     17983        ;;
    2095617984    esac
    20957     ;;
    20958   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
    20959     no_undefined_flag_CXX='${wl}-z,text'
    20960     archive_cmds_need_lc_CXX=no
    20961     hardcode_shlibpath_var_CXX=no
    20962     runpath_var='LD_RUN_PATH'
    20963 
    20964     case $cc_basename in
    20965       CC*)
    20966         archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    20967         archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    20968         ;;
    20969       *)
    20970         archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    20971         archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    20972         ;;
    20973     esac
    20974     ;;
    20975   sysv5* | sco3.2v5* | sco5v6*)
    20976     # Note: We can NOT use -z defs as we might desire, because we do not
    20977     # link with -lc, and that would cause any symbols used from libc to
    20978     # always be unresolved, which means just about no library would
    20979     # ever link correctly.  If we're not using GNU ld we use -z text
    20980     # though, which does catch some bad symbols but isn't as heavy-handed
    20981     # as -z defs.
    20982     # For security reasons, it is highly recommended that you always
    20983     # use absolute paths for naming shared libraries, and exclude the
    20984     # DT_RUNPATH tag from executables and libraries.  But doing so
    20985     # requires that you compile everything twice, which is a pain.
    20986     # So that behaviour is only enabled if SCOABSPATH is set to a
    20987     # non-empty value in the environment.  Most likely only useful for
    20988     # creating official distributions of packages.
    20989     # This is a hack until libtool officially supports absolute path
    20990     # names for shared libraries.
    20991     no_undefined_flag_CXX='${wl}-z,text'
    20992     allow_undefined_flag_CXX='${wl}-z,nodefs'
    20993     archive_cmds_need_lc_CXX=no
    20994     hardcode_shlibpath_var_CXX=no
    20995     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
    20996     hardcode_libdir_separator_CXX=':'
    20997     link_all_deplibs_CXX=yes
    20998     export_dynamic_flag_spec_CXX='${wl}-Bexport'
    20999     runpath_var='LD_RUN_PATH'
    21000 
    21001     case $cc_basename in
    21002       CC*)
    21003         archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
    21004         archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
    21005         ;;
    21006       *)
    21007         archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
    21008         archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
    21009         ;;
    21010     esac
    21011     ;;
    21012   tandem*)
    21013     case $cc_basename in
    21014       NCC*)
    21015         # NonStop-UX NCC 3.20
    21016         # FIXME: insert proper C++ library support
    21017         ld_shlibs_CXX=no
    21018         ;;
    21019       *)
    21020         # FIXME: insert proper C++ library support
    21021         ld_shlibs_CXX=no
    21022         ;;
    21023     esac
    21024     ;;
    21025   vxworks*)
    21026     # FIXME: insert proper C++ library support
    21027     ld_shlibs_CXX=no
    21028     ;;
    21029   *)
    21030     # FIXME: insert proper C++ library support
    21031     ld_shlibs_CXX=no
    21032     ;;
    21033 esac
    21034 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
    21035 echo "${ECHO_T}$ld_shlibs_CXX" >&6
    21036 test "$ld_shlibs_CXX" = no && can_build_shared=no
    21037 
    21038 GCC_CXX="$GXX"
    21039 LD_CXX="$LD"
    21040 
    21041 ## CAVEAT EMPTOR:
    21042 ## There is no encapsulation within the following macros, do not change
    21043 ## the running order or otherwise move them around unless you know exactly
    21044 ## what you are doing...
    21045 
    21046 cat > conftest.$ac_ext <<EOF
     17985
     17986    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
     17987$as_echo "$ld_shlibs_CXX" >&6; }
     17988    test "$ld_shlibs_CXX" = no && can_build_shared=no
     17989
     17990    GCC_CXX="$GXX"
     17991    LD_CXX="$LD"
     17992
     17993    ## CAVEAT EMPTOR:
     17994    ## There is no encapsulation within the following macros, do not change
     17995    ## the running order or otherwise move them around unless you know exactly
     17996    ## what you are doing...
     17997    # Dependencies to place before and after the object being linked:
     17998predep_objects_CXX=
     17999postdep_objects_CXX=
     18000predeps_CXX=
     18001postdeps_CXX=
     18002compiler_lib_search_path_CXX=
     18003
     18004cat > conftest.$ac_ext <<_LT_EOF
    2104718005class Foo
    2104818006{
     
    2105218010  int a;
    2105318011};
    21054 EOF
    21055 
    21056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     18012_LT_EOF
     18013
     18014
     18015_lt_libdeps_save_CFLAGS=$CFLAGS
     18016case "$CC $CFLAGS " in #(
     18017*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
     18018*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
     18019*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
     18020esac
     18021
     18022if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    2105718023  (eval $ac_compile) 2>&5
    2105818024  ac_status=$?
    21059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21060   (exit $ac_status); }; then
     18025  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     18026  test $ac_status = 0; }; then
    2106118027  # Parse the compiler output and extract the necessary
    2106218028  # objects, libraries and library flags.
     
    2106618032  pre_test_object_deps_done=no
    2106718033
    21068   # The `*' in the case matches for architectures that use `case' in
    21069   # $output_verbose_cmd can trigger glob expansion during the loop
    21070   # eval without this substitution.
    21071   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
    21072 
    21073   for p in `eval $output_verbose_link_cmd`; do
    21074     case $p in
     18034  for p in `eval "$output_verbose_link_cmd"`; do
     18035    case ${prev}${p} in
    2107518036
    2107618037    -L* | -R* | -l*)
    2107718038       # Some compilers place space between "-{L,R}" and the path.
    2107818039       # Remove the space.
    21079        if test $p = "-L" \
    21080           || test $p = "-R"; then
     18040       if test $p = "-L" ||
     18041          test $p = "-R"; then
    2108118042         prev=$p
    2108218043         continue
    21083        else
    21084          prev=
    2108518044       fi
    2108618045
     18046       # Expand the sysroot to ease extracting the directories later.
     18047       if test -z "$prev"; then
     18048         case $p in
     18049         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
     18050         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
     18051         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
     18052         esac
     18053       fi
     18054       case $p in
     18055       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
     18056       esac
    2108718057       if test "$pre_test_object_deps_done" = no; then
    21088          case $p in
    21089          -L* | -R*)
     18058         case ${prev} in
     18059         -L | -R)
    2109018060           # Internal compiler library paths should come after those
    2109118061           # provided the user.  The postdeps already come after the
     
    2110718077         fi
    2110818078       fi
     18079       prev=
    2110918080       ;;
    2111018081
     18082    *.lto.$objext) ;; # Ignore GCC LTO objects
    2111118083    *.$objext)
    2111218084       # This assumes that the test object file only shows up
     
    2114318115fi
    2114418116
    21145 $rm -f confest.$objext
     18117$RM -f confest.$objext
     18118CFLAGS=$_lt_libdeps_save_CFLAGS
    2114618119
    2114718120# PORTME: override above test on systems where it is broken
    2114818121case $host_os in
    21149 interix3*)
     18122interix[3-9]*)
    2115018123  # Interix 3.5 installs completely hosed .la files for C++, so rather than
    2115118124  # hack all around it, let's just trust "g++" to DTRT.
     
    2115518128  ;;
    2115618129
     18130linux*)
     18131  case `$CC -V 2>&1 | sed 5q` in
     18132  *Sun\ C*)
     18133    # Sun C++ 5.9
     18134
     18135    # The more standards-conforming stlport4 library is
     18136    # incompatible with the Cstd library. Avoid specifying
     18137    # it if it's in CXXFLAGS. Ignore libCrun as
     18138    # -library=stlport4 depends on it.
     18139    case " $CXX $CXXFLAGS " in
     18140    *" -library=stlport4 "*)
     18141      solaris_use_stlport4=yes
     18142      ;;
     18143    esac
     18144
     18145    if test "$solaris_use_stlport4" != yes; then
     18146      postdeps_CXX='-library=Cstd -library=Crun'
     18147    fi
     18148    ;;
     18149  esac
     18150  ;;
     18151
    2115718152solaris*)
    2115818153  case $cc_basename in
    21159   CC*)
     18154  CC* | sunCC*)
     18155    # The more standards-conforming stlport4 library is
     18156    # incompatible with the Cstd library. Avoid specifying
     18157    # it if it's in CXXFLAGS. Ignore libCrun as
     18158    # -library=stlport4 depends on it.
     18159    case " $CXX $CXXFLAGS " in
     18160    *" -library=stlport4 "*)
     18161      solaris_use_stlport4=yes
     18162      ;;
     18163    esac
     18164
    2116018165    # Adding this requires a known-good setup of shared libraries for
    2116118166    # Sun compiler versions before 5.6, else PIC objects from an old
    2116218167    # archive will be linked into the output, leading to subtle bugs.
    21163     postdeps_CXX='-lCstd -lCrun'
     18168    if test "$solaris_use_stlport4" != yes; then
     18169      postdeps_CXX='-library=Cstd -library=Crun'
     18170    fi
    2116418171    ;;
    2116518172  esac
     
    2117118178*" -lc "*) archive_cmds_need_lc_CXX=no ;;
    2117218179esac
    21173 
    21174 lt_prog_compiler_wl_CXX=
     18180 compiler_lib_search_dirs_CXX=
     18181if test -n "${compiler_lib_search_path_CXX}"; then
     18182 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
     18183fi
     18184
     18185
     18186
     18187
     18188
     18189
     18190
     18191
     18192
     18193
     18194
     18195
     18196
     18197
     18198
     18199
     18200
     18201
     18202
     18203
     18204
     18205
     18206
     18207
     18208
     18209
     18210
     18211
     18212
     18213
     18214
     18215    lt_prog_compiler_wl_CXX=
    2117518216lt_prog_compiler_pic_CXX=
    2117618217lt_prog_compiler_static_CXX=
    2117718218
    21178 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
    21179 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
    2118018219
    2118118220  # C++ specific cases for pic, static, wl, etc.
     
    2119218231      fi
    2119318232      ;;
     18233
    2119418234    amigaos*)
    21195       # FIXME: we need at least 68020 code to build shared libraries, but
    21196       # adding the `-m68020' flag to GCC prevents building anything better,
    21197       # like `-m68040'.
    21198       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
     18235      case $host_cpu in
     18236      powerpc)
     18237            # see comment about AmigaOS4 .so support
     18238            lt_prog_compiler_pic_CXX='-fPIC'
     18239        ;;
     18240      m68k)
     18241            # FIXME: we need at least 68020 code to build shared libraries, but
     18242            # adding the `-m68020' flag to GCC prevents building anything better,
     18243            # like `-m68040'.
     18244            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
     18245        ;;
     18246      esac
    2119918247      ;;
    21200     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
     18248
     18249    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
    2120118250      # PIC is the default for these OSes.
    2120218251      ;;
    21203     mingw* | os2* | pw32*)
     18252    mingw* | cygwin* | os2* | pw32* | cegcc*)
    2120418253      # This hack is so that the source file can tell whether it is being
    2120518254      # built for inclusion in a dll (and should export symbols for example).
     18255      # Although the cygwin gcc ignores -fPIC, still need this for old-style
     18256      # (--disable-auto-import) libraries
    2120618257      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
    2120718258      ;;
     
    2121518266      lt_prog_compiler_pic_CXX=
    2121618267      ;;
    21217     interix3*)
     18268    haiku*)
     18269      # PIC is the default for Haiku.
     18270      # The "-static" flag exists, but is broken.
     18271      lt_prog_compiler_static_CXX=
     18272      ;;
     18273    interix[3-9]*)
    2121818274      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
    2121918275      # Instead, we relocate shared libraries at runtime.
     
    2122518281      ;;
    2122618282    hpux*)
    21227       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
    21228       # not for PA HP-UX.
     18283      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
     18284      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
     18285      # sets the default TLS model and affects inlining.
    2122918286      case $host_cpu in
    21230       hppa*64*|ia64*)
     18287      hppa*64*)
    2123118288        ;;
    2123218289      *)
     
    2123418291        ;;
    2123518292      esac
     18293      ;;
     18294    *qnx* | *nto*)
     18295      # QNX uses GNU C++, but need to define -shared option too, otherwise
     18296      # it will coredump.
     18297      lt_prog_compiler_pic_CXX='-fPIC -shared'
    2123618298      ;;
    2123718299    *)
     
    2124118303  else
    2124218304    case $host_os in
    21243       aix4* | aix5*)
     18305      aix[4-9]*)
    2124418306        # All AIX code is PIC.
    2124518307        if test "$host_cpu" = ia64; then
     
    2125418316        cxch68*)
    2125518317          # Green Hills C++ Compiler
    21256           # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
     18318          # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
    2125718319          ;;
    2125818320        esac
    2125918321        ;;
    21260        darwin*)
    21261          # PIC is the default on this platform
    21262          # Common symbols not allowed in MH_DYLIB files
    21263          case $cc_basename in
    21264            xlc*)
    21265            lt_prog_compiler_pic_CXX='-qnocommon'
    21266            lt_prog_compiler_wl_CXX='-Wl,'
    21267            ;;
    21268          esac
    21269        ;;
     18322      mingw* | cygwin* | os2* | pw32* | cegcc*)
     18323        # This hack is so that the source file can tell whether it is being
     18324        # built for inclusion in a dll (and should export symbols for example).
     18325        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
     18326        ;;
    2127018327      dgux*)
    2127118328        case $cc_basename in
     
    2128118338        esac
    2128218339        ;;
    21283       freebsd* | kfreebsd*-gnu | dragonfly*)
     18340      freebsd* | dragonfly*)
    2128418341        # FreeBSD uses GNU C++
    2128518342        ;;
     
    2132418381        esac
    2132518382        ;;
    21326       linux*)
     18383      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    2132718384        case $cc_basename in
    2132818385          KCC*)
     
    2133118388            lt_prog_compiler_pic_CXX='-fPIC'
    2133218389            ;;
    21333           icpc* | ecpc*)
    21334             # Intel C++
     18390          ecpc* )
     18391            # old Intel C++ for x86_64 which still supported -KPIC.
    2133518392            lt_prog_compiler_wl_CXX='-Wl,'
    2133618393            lt_prog_compiler_pic_CXX='-KPIC'
    2133718394            lt_prog_compiler_static_CXX='-static'
    2133818395            ;;
    21339           pgCC*)
    21340             # Portland Group C++ compiler.
     18396          icpc* )
     18397            # Intel C++, used to be incompatible with GCC.
     18398            # ICC 10 doesn't accept -KPIC any more.
     18399            lt_prog_compiler_wl_CXX='-Wl,'
     18400            lt_prog_compiler_pic_CXX='-fPIC'
     18401            lt_prog_compiler_static_CXX='-static'
     18402            ;;
     18403          pgCC* | pgcpp*)
     18404            # Portland Group C++ compiler
    2134118405            lt_prog_compiler_wl_CXX='-Wl,'
    2134218406            lt_prog_compiler_pic_CXX='-fpic'
     
    2135018414            lt_prog_compiler_static_CXX='-non_shared'
    2135118415            ;;
     18416          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
     18417            # IBM XL 8.0, 9.0 on PPC and BlueGene
     18418            lt_prog_compiler_wl_CXX='-Wl,'
     18419            lt_prog_compiler_pic_CXX='-qpic'
     18420            lt_prog_compiler_static_CXX='-qstaticlink'
     18421            ;;
    2135218422          *)
     18423            case `$CC -V 2>&1 | sed 5q` in
     18424            *Sun\ C*)
     18425              # Sun C++ 5.9
     18426              lt_prog_compiler_pic_CXX='-KPIC'
     18427              lt_prog_compiler_static_CXX='-Bstatic'
     18428              lt_prog_compiler_wl_CXX='-Qoption ld '
     18429              ;;
     18430            esac
    2135318431            ;;
    2135418432        esac
     
    2136718445        esac
    2136818446        ;;
    21369       netbsd*)
     18447      netbsd* | netbsdelf*-gnu)
    2137018448        ;;
     18449      *qnx* | *nto*)
     18450        # QNX uses GNU C++, but need to define -shared option too, otherwise
     18451        # it will coredump.
     18452        lt_prog_compiler_pic_CXX='-fPIC -shared'
     18453        ;;
    2137118454      osf3* | osf4* | osf5*)
    2137218455        case $cc_basename in
     
    2139418477      solaris*)
    2139518478        case $cc_basename in
    21396           CC*)
     18479          CC* | sunCC*)
    2139718480            # Sun C++ 4.2, 5.x and Centerline C++
    2139818481            lt_prog_compiler_pic_CXX='-KPIC'
     
    2142318506        esac
    2142418507        ;;
     18508      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
     18509        case $cc_basename in
     18510          CC*)
     18511            lt_prog_compiler_wl_CXX='-Wl,'
     18512            lt_prog_compiler_pic_CXX='-KPIC'
     18513            lt_prog_compiler_static_CXX='-Bstatic'
     18514            ;;
     18515        esac
     18516        ;;
    2142518517      tandem*)
    2142618518        case $cc_basename in
     
    2143318525        esac
    2143418526        ;;
    21435       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
    21436         case $cc_basename in
    21437           CC*)
    21438             lt_prog_compiler_wl_CXX='-Wl,'
    21439             lt_prog_compiler_pic_CXX='-KPIC'
    21440             lt_prog_compiler_static_CXX='-Bstatic'
    21441             ;;
    21442         esac
    21443         ;;
    2144418527      vxworks*)
    2144518528        ;;
     
    2145018533  fi
    2145118534
    21452 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
    21453 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
     18535case $host_os in
     18536  # For platforms which do not support PIC, -DPIC is meaningless:
     18537  *djgpp*)
     18538    lt_prog_compiler_pic_CXX=
     18539    ;;
     18540  *)
     18541    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
     18542    ;;
     18543esac
     18544
     18545{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
     18546$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
     18547if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
     18548  $as_echo_n "(cached) " >&6
     18549else
     18550  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
     18551fi
     18552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
     18553$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
     18554lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
    2145418555
    2145518556#
     
    2145718558#
    2145818559if test -n "$lt_prog_compiler_pic_CXX"; then
    21459 
    21460 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
    21461 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
    21462 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
    21463   echo $ECHO_N "(cached) $ECHO_C" >&6
    21464 else
    21465   lt_prog_compiler_pic_works_CXX=no
    21466   ac_outfile=conftest.$ac_objext
    21467    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
     18560  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
     18561$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
     18562if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
     18563  $as_echo_n "(cached) " >&6
     18564else
     18565  lt_cv_prog_compiler_pic_works_CXX=no
     18566   ac_outfile=conftest.$ac_objext
     18567   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    2146818568   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
    2146918569   # Insert the option either (1) after the last *FLAGS variable, or
     
    2147618576   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    2147718577   -e 's:$: $lt_compiler_flag:'`
    21478    (eval echo "\"\$as_me:21478: $lt_compile\"" >&5)
     18578   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    2147918579   (eval "$lt_compile" 2>conftest.err)
    2148018580   ac_status=$?
    2148118581   cat conftest.err >&5
    21482    echo "$as_me:21482: \$? = $ac_status" >&5
     18582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2148318583   if (exit $ac_status) && test -s "$ac_outfile"; then
    2148418584     # The compiler can only warn and ignore the option if not recognized
    2148518585     # So say no if there are warnings other than the usual output.
    21486      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
     18586     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
    2148718587     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    2148818588     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
    21489        lt_prog_compiler_pic_works_CXX=yes
     18589       lt_cv_prog_compiler_pic_works_CXX=yes
    2149018590     fi
    2149118591   fi
    21492    $rm conftest*
    21493 
    21494 fi
    21495 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
    21496 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
    21497 
    21498 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
     18592   $RM conftest*
     18593
     18594fi
     18595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
     18596$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
     18597
     18598if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
    2149918599    case $lt_prog_compiler_pic_CXX in
    2150018600     "" | " "*) ;;
     
    2150718607
    2150818608fi
    21509 case $host_os in
    21510   # For platforms which do not support PIC, -DPIC is meaningless:
    21511   *djgpp*)
    21512     lt_prog_compiler_pic_CXX=
    21513     ;;
    21514   *)
    21515     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
    21516     ;;
    21517 esac
     18609
     18610
     18611
     18612
    2151818613
    2151918614#
     
    2152118616#
    2152218617wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
    21523 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
    21524 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
    21525 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
    21526   echo $ECHO_N "(cached) $ECHO_C" >&6
    21527 else
    21528   lt_prog_compiler_static_works_CXX=no
     18618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
     18619$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
     18620if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
     18621  $as_echo_n "(cached) " >&6
     18622else
     18623  lt_cv_prog_compiler_static_works_CXX=no
    2152918624   save_LDFLAGS="$LDFLAGS"
    2153018625   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
    21531    printf "$lt_simple_link_test_code" > conftest.$ac_ext
     18626   echo "$lt_simple_link_test_code" > conftest.$ac_ext
    2153218627   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
    2153318628     # The linker can only warn and ignore the option if not recognized
     
    2153618631       # Append any errors to the config.log.
    2153718632       cat conftest.err 1>&5
    21538        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
     18633       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
    2153918634       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    2154018635       if diff conftest.exp conftest.er2 >/dev/null; then
    21541          lt_prog_compiler_static_works_CXX=yes
     18636         lt_cv_prog_compiler_static_works_CXX=yes
    2154218637       fi
    2154318638     else
    21544        lt_prog_compiler_static_works_CXX=yes
     18639       lt_cv_prog_compiler_static_works_CXX=yes
    2154518640     fi
    2154618641   fi
    21547    $rm conftest*
     18642   $RM -r conftest*
    2154818643   LDFLAGS="$save_LDFLAGS"
    2154918644
    2155018645fi
    21551 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
    21552 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
    21553 
    21554 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
     18646{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
     18647$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
     18648
     18649if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
    2155518650    :
    2155618651else
     
    2155918654
    2156018655
    21561 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
    21562 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
    21563 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
    21564   echo $ECHO_N "(cached) $ECHO_C" >&6
     18656
     18657
     18658    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
     18659$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
     18660if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
     18661  $as_echo_n "(cached) " >&6
    2156518662else
    2156618663  lt_cv_prog_compiler_c_o_CXX=no
    21567    $rm -r conftest 2>/dev/null
     18664   $RM -r conftest 2>/dev/null
    2156818665   mkdir conftest
    2156918666   cd conftest
    2157018667   mkdir out
    21571    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
     18668   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    2157218669
    2157318670   lt_compiler_flag="-o out/conftest2.$ac_objext"
     
    2158018677   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    2158118678   -e 's:$: $lt_compiler_flag:'`
    21582    (eval echo "\"\$as_me:21582: $lt_compile\"" >&5)
     18679   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    2158318680   (eval "$lt_compile" 2>out/conftest.err)
    2158418681   ac_status=$?
    2158518682   cat out/conftest.err >&5
    21586    echo "$as_me:21586: \$? = $ac_status" >&5
     18683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2158718684   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    2158818685   then
    2158918686     # The compiler can only warn and ignore the option if not recognized
    2159018687     # So say no if there are warnings
    21591      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
     18688     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
    2159218689     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
    2159318690     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
     
    2159618693   fi
    2159718694   chmod u+w . 2>&5
    21598    $rm conftest*
     18695   $RM conftest*
    2159918696   # SGI C++ compiler will create directory out/ii_files/ for
    2160018697   # template instantiation
    21601    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
    21602    $rm out/* && rmdir out
     18698   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
     18699   $RM out/* && rmdir out
    2160318700   cd ..
    21604    rmdir conftest
    21605    $rm conftest*
    21606 
    21607 fi
    21608 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
    21609 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
     18701   $RM -r conftest
     18702   $RM conftest*
     18703
     18704fi
     18705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
     18706$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
     18707
     18708
     18709
     18710    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
     18711$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
     18712if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
     18713  $as_echo_n "(cached) " >&6
     18714else
     18715  lt_cv_prog_compiler_c_o_CXX=no
     18716   $RM -r conftest 2>/dev/null
     18717   mkdir conftest
     18718   cd conftest
     18719   mkdir out
     18720   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     18721
     18722   lt_compiler_flag="-o out/conftest2.$ac_objext"
     18723   # Insert the option either (1) after the last *FLAGS variable, or
     18724   # (2) before a word containing "conftest.", or (3) at the end.
     18725   # Note that $ac_compile itself does not contain backslashes and begins
     18726   # with a dollar sign (not a hyphen), so the echo should work correctly.
     18727   lt_compile=`echo "$ac_compile" | $SED \
     18728   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     18729   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     18730   -e 's:$: $lt_compiler_flag:'`
     18731   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
     18732   (eval "$lt_compile" 2>out/conftest.err)
     18733   ac_status=$?
     18734   cat out/conftest.err >&5
     18735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     18736   if (exit $ac_status) && test -s out/conftest2.$ac_objext
     18737   then
     18738     # The compiler can only warn and ignore the option if not recognized
     18739     # So say no if there are warnings
     18740     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
     18741     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
     18742     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
     18743       lt_cv_prog_compiler_c_o_CXX=yes
     18744     fi
     18745   fi
     18746   chmod u+w . 2>&5
     18747   $RM conftest*
     18748   # SGI C++ compiler will create directory out/ii_files/ for
     18749   # template instantiation
     18750   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
     18751   $RM out/* && rmdir out
     18752   cd ..
     18753   $RM -r conftest
     18754   $RM conftest*
     18755
     18756fi
     18757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
     18758$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
     18759
     18760
    2161018761
    2161118762
     
    2161318764if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
    2161418765  # do not overwrite the value of need_locks provided by the user
    21615   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
    21616 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
     18766  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
     18767$as_echo_n "checking if we can lock with hard links... " >&6; }
    2161718768  hard_links=yes
    21618   $rm conftest*
     18769  $RM conftest*
    2161918770  ln conftest.a conftest.b 2>/dev/null && hard_links=no
    2162018771  touch conftest.a
    2162118772  ln conftest.a conftest.b 2>&5 || hard_links=no
    2162218773  ln conftest.a conftest.b 2>/dev/null && hard_links=no
    21623   echo "$as_me:$LINENO: result: $hard_links" >&5
    21624 echo "${ECHO_T}$hard_links" >&6
     18774  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
     18775$as_echo "$hard_links" >&6; }
    2162518776  if test "$hard_links" = no; then
    21626     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
    21627 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
     18777    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
     18778$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
    2162818779    need_locks=warn
    2162918780  fi
     
    2163218783fi
    2163318784
    21634 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
    21635 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
     18785
     18786
     18787    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
     18788$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
    2163618789
    2163718790  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
     18791  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
    2163818792  case $host_os in
    21639   aix4* | aix5*)
     18793  aix[4-9]*)
    2164018794    # If we're using GNU nm, then we don't want the "-C" option.
    2164118795    # -C means demangle to AIX nm, but means don't demangle with GNU nm
    21642     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
    21643       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
     18796    # Also, AIX nm treats weak defined symbols like other global defined
     18797    # symbols, whereas GNU nm marks them as "W".
     18798    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
     18799      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
    2164418800    else
    21645       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
     18801      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
    2164618802    fi
    2164718803    ;;
    2164818804  pw32*)
    2164918805    export_symbols_cmds_CXX="$ltdll_cmds"
    21650   ;;
    21651   cygwin* | mingw*)
    21652     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
    21653   ;;
     18806    ;;
     18807  cygwin* | mingw* | cegcc*)
     18808    case $cc_basename in
     18809    cl*)
     18810      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
     18811      ;;
     18812    *)
     18813      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
     18814      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
     18815      ;;
     18816    esac
     18817    ;;
     18818  linux* | k*bsd*-gnu | gnu*)
     18819    link_all_deplibs_CXX=no
     18820    ;;
    2165418821  *)
    2165518822    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
    21656   ;;
     18823    ;;
    2165718824  esac
    2165818825
    21659 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
    21660 echo "${ECHO_T}$ld_shlibs_CXX" >&6
     18826{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
     18827$as_echo "$ld_shlibs_CXX" >&6; }
    2166118828test "$ld_shlibs_CXX" = no && can_build_shared=no
     18829
     18830with_gnu_ld_CXX=$with_gnu_ld
     18831
     18832
     18833
     18834
     18835
    2166218836
    2166318837#
     
    2167818852      # systems, -lgcc has to come before -lc. If gcc already passes -lc
    2167918853      # to ld, don't add -lc before -lgcc.
    21680       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
    21681 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
    21682       $rm conftest*
    21683       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
    21684 
    21685       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     18854      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
     18855$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
     18856if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
     18857  $as_echo_n "(cached) " >&6
     18858else
     18859  $RM conftest*
     18860        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     18861
     18862        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    2168618863  (eval $ac_compile) 2>&5
    2168718864  ac_status=$?
    21688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21689   (exit $ac_status); } 2>conftest.err; then
    21690         soname=conftest
    21691         lib=conftest
    21692         libobjs=conftest.$ac_objext
    21693         deplibs=
    21694         wl=$lt_prog_compiler_wl_CXX
    21695         pic_flag=$lt_prog_compiler_pic_CXX
    21696         compiler_flags=-v
    21697         linker_flags=-v
    21698         verstring=
    21699         output_objdir=.
    21700         libname=conftest
    21701         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
    21702         allow_undefined_flag_CXX=
    21703         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
    21704   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
     18865  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     18866  test $ac_status = 0; } 2>conftest.err; then
     18867          soname=conftest
     18868          lib=conftest
     18869          libobjs=conftest.$ac_objext
     18870          deplibs=
     18871          wl=$lt_prog_compiler_wl_CXX
     18872          pic_flag=$lt_prog_compiler_pic_CXX
     18873          compiler_flags=-v
     18874          linker_flags=-v
     18875          verstring=
     18876          output_objdir=.
     18877          libname=conftest
     18878          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
     18879          allow_undefined_flag_CXX=
     18880          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
     18881  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
    2170518882  ac_status=$?
    21706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21707   (exit $ac_status); }
    21708         then
    21709           archive_cmds_need_lc_CXX=no
    21710         else
    21711           archive_cmds_need_lc_CXX=yes
    21712         fi
    21713         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
    21714       else
    21715         cat conftest.err 1>&5
    21716       fi
    21717       $rm conftest*
    21718       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
    21719 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
     18883  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     18884  test $ac_status = 0; }
     18885          then
     18886            lt_cv_archive_cmds_need_lc_CXX=no
     18887          else
     18888            lt_cv_archive_cmds_need_lc_CXX=yes
     18889          fi
     18890          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
     18891        else
     18892          cat conftest.err 1>&5
     18893        fi
     18894        $RM conftest*
     18895
     18896fi
     18897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
     18898$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
     18899      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
    2172018900      ;;
    2172118901    esac
     
    2172418904esac
    2172518905
    21726 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
    21727 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
     18906
     18907
     18908
     18909
     18910
     18911
     18912
     18913
     18914
     18915
     18916
     18917
     18918
     18919
     18920
     18921
     18922
     18923
     18924
     18925
     18926
     18927
     18928
     18929
     18930
     18931
     18932
     18933
     18934
     18935
     18936
     18937
     18938
     18939
     18940
     18941
     18942
     18943
     18944
     18945
     18946
     18947
     18948
     18949
     18950
     18951
     18952
     18953
     18954
     18955
     18956
     18957
     18958
     18959
     18960
     18961
     18962
     18963
     18964
     18965
     18966
     18967    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
     18968$as_echo_n "checking dynamic linker characteristics... " >&6; }
     18969
    2172818970library_names_spec=
    2172918971libname_spec='lib$name'
     
    2173918981dynamic_linker="$host_os ld.so"
    2174018982sys_lib_dlsearch_path_spec="/lib /usr/lib"
    21741 if test "$GCC" = yes; then
    21742   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
    21743   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
    21744     # if the path contains ";" then we assume it to be the separator
    21745     # otherwise default to the standard path separator (i.e. ":") - it is
    21746     # assumed that no part of a normal pathname contains ";" but that should
    21747     # okay in the real world where ";" in dirpaths is itself problematic.
    21748     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
    21749   else
    21750     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
    21751   fi
    21752 else
    21753   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
    21754 fi
    2175518983need_lib_prefix=unknown
    2175618984hardcode_into_libs=no
     
    2176218990case $host_os in
    2176318991aix3*)
    21764   version_type=linux
     18992  version_type=linux # correct to gnu/linux during the next big refactor
    2176518993  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
    2176618994  shlibpath_var=LIBPATH
     
    2177018998  ;;
    2177118999
    21772 aix4* | aix5*)
    21773   version_type=linux
     19000aix[4-9]*)
     19001  version_type=linux # correct to gnu/linux during the next big refactor
    2177419002  need_lib_prefix=no
    2177519003  need_version=no
     
    2178919017      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
    2179019018           echo ' yes '
    21791            echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
     19019           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
    2179219020        :
    2179319021      else
     
    2181519043
    2181619044amigaos*)
    21817   library_names_spec='$libname.ixlibrary $libname.a'
    21818   # Create ${libname}_ixlibrary.a entries in /sys/libs.
    21819   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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'
     19045  case $host_cpu in
     19046  powerpc)
     19047    # Since July 2007 AmigaOS4 officially supports .so libraries.
     19048    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
     19049    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     19050    ;;
     19051  m68k)
     19052    library_names_spec='$libname.ixlibrary $libname.a'
     19053    # Create ${libname}_ixlibrary.a entries in /sys/libs.
     19054    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'
     19055    ;;
     19056  esac
    2182019057  ;;
    2182119058
     
    2182719064
    2182819065bsdi[45]*)
    21829   version_type=linux
     19066  version_type=linux # correct to gnu/linux during the next big refactor
    2183019067  need_version=no
    2183119068  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     
    2184019077  ;;
    2184119078
    21842 cygwin* | mingw* | pw32*)
     19079cygwin* | mingw* | pw32* | cegcc*)
    2184319080  version_type=windows
    2184419081  shrext_cmds=".dll"
     
    2184619083  need_lib_prefix=no
    2184719084
    21848   case $GCC,$host_os in
    21849   yes,cygwin* | yes,mingw* | yes,pw32*)
     19085  case $GCC,$cc_basename in
     19086  yes,*)
     19087    # gcc
    2185019088    library_names_spec='$libname.dll.a'
    2185119089    # DLL is installed to $(libdir)/../bin by postinstall_cmds
    2185219090    postinstall_cmds='base_file=`basename \${file}`~
    21853       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
     19091      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
    2185419092      dldir=$destdir/`dirname \$dlpath`~
    2185519093      test -d \$dldir || mkdir -p \$dldir~
    2185619094      $install_prog $dir/$dlname \$dldir/$dlname~
    21857       chmod a+x \$dldir/$dlname'
     19095      chmod a+x \$dldir/$dlname~
     19096      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
     19097        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
     19098      fi'
    2185819099    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
    2185919100      dlpath=$dir/\$dldll~
    21860        $rm \$dlpath'
     19101       $RM \$dlpath'
    2186119102    shlibpath_overrides_runpath=yes
    2186219103
     
    2186519106      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
    2186619107      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
    21867       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
     19108
    2186819109      ;;
    21869     mingw*)
     19110    mingw* | cegcc*)
    2187019111      # MinGW DLLs use traditional 'lib' prefix
    2187119112      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
    21872       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
    21873       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
    21874         # It is most probably a Windows format PATH printed by
    21875         # mingw gcc, but we are running on Cygwin. Gcc prints its search
    21876         # path with ; separators, and with drive letters. We can handle the
    21877         # drive letters (cygwin fileutils understands them), so leave them,
    21878         # especially as we might pass files found there to a mingw objdump,
    21879         # which wouldn't understand a cygwinified path. Ahh.
    21880         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
    21881       else
    21882         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
    21883       fi
    2188419113      ;;
    2188519114    pw32*)
     
    2188819117      ;;
    2188919118    esac
     19119    dynamic_linker='Win32 ld.exe'
    2189019120    ;;
    2189119121
    21892   linux*)
    21893     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
    21894       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    21895       supports_anon_versioning=no
    21896       case `$LD -v 2>/dev/null` in
    21897         *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
    21898         *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
    21899         *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
    21900         *\ 2.11.*) ;; # other 2.11 versions
    21901         *) supports_anon_versioning=yes ;;
    21902       esac
    21903       if test $supports_anon_versioning = yes; then
    21904         archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
    21905 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    21906 $echo "local: *; };" >> $output_objdir/$libname.ver~
    21907         $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
     19122  *,cl*)
     19123    # Native MSVC
     19124    libname_spec='$name'
     19125    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
     19126    library_names_spec='${libname}.dll.lib'
     19127
     19128    case $build_os in
     19129    mingw*)
     19130      sys_lib_search_path_spec=
     19131      lt_save_ifs=$IFS
     19132      IFS=';'
     19133      for lt_path in $LIB
     19134      do
     19135        IFS=$lt_save_ifs
     19136        # Let DOS variable expansion print the short 8.3 style file name.
     19137        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
     19138        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
     19139      done
     19140      IFS=$lt_save_ifs
     19141      # Convert to MSYS style.
     19142      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
     19143      ;;
     19144    cygwin*)
     19145      # Convert to unix form, then to dos form, then back to unix form
     19146      # but this time dos style (no spaces!) so that the unix form looks
     19147      # like /cygdrive/c/PROGRA~1:/cygdr...
     19148      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
     19149      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
     19150      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
     19151      ;;
     19152    *)
     19153      sys_lib_search_path_spec="$LIB"
     19154      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
     19155        # It is most probably a Windows format PATH.
     19156        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
    2190819157      else
    21909         $archive_expsym_cmds="$archive_cmds"
     19158        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
    2191019159      fi
    21911     else
    21912       ld_shlibs=no
    21913     fi
     19160      # FIXME: find the short name or the path components, as spaces are
     19161      # common. (e.g. "Program Files" -> "PROGRA~1")
     19162      ;;
     19163    esac
     19164
     19165    # DLL is installed to $(libdir)/../bin by postinstall_cmds
     19166    postinstall_cmds='base_file=`basename \${file}`~
     19167      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
     19168      dldir=$destdir/`dirname \$dlpath`~
     19169      test -d \$dldir || mkdir -p \$dldir~
     19170      $install_prog $dir/$dlname \$dldir/$dlname'
     19171    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
     19172      dlpath=$dir/\$dldll~
     19173       $RM \$dlpath'
     19174    shlibpath_overrides_runpath=yes
     19175    dynamic_linker='Win32 link.exe'
    2191419176    ;;
    2191519177
    2191619178  *)
     19179    # Assume MSVC wrapper
    2191719180    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
     19181    dynamic_linker='Win32 ld.exe'
    2191819182    ;;
    2191919183  esac
    21920   dynamic_linker='Win32 ld.exe'
    2192119184  # FIXME: first we should search . and the directory the executable is in
    2192219185  shlibpath_var=PATH
     
    2192819191  need_lib_prefix=no
    2192919192  need_version=no
    21930   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
     19193  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
    2193119194  soname_spec='${libname}${release}${major}$shared_ext'
    2193219195  shlibpath_overrides_runpath=yes
    2193319196  shlibpath_var=DYLD_LIBRARY_PATH
    2193419197  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
    21935   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
    21936   if test "$GCC" = yes; then
    21937     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
    21938   else
    21939     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
    21940   fi
     19198
    2194119199  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
    2194219200  ;;
    2194319201
    2194419202dgux*)
    21945   version_type=linux
     19203  version_type=linux # correct to gnu/linux during the next big refactor
    2194619204  need_lib_prefix=no
    2194719205  need_version=no
     
    2194919207  soname_spec='${libname}${release}${shared_ext}$major'
    2195019208  shlibpath_var=LD_LIBRARY_PATH
    21951   ;;
    21952 
    21953 freebsd1*)
    21954   dynamic_linker=no
    21955   ;;
    21956 
    21957 kfreebsd*-gnu)
    21958   version_type=linux
    21959   need_lib_prefix=no
    21960   need_version=no
    21961   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    21962   soname_spec='${libname}${release}${shared_ext}$major'
    21963   shlibpath_var=LD_LIBRARY_PATH
    21964   shlibpath_overrides_runpath=no
    21965   hardcode_into_libs=yes
    21966   dynamic_linker='GNU ld.so'
    2196719209  ;;
    2196819210
     
    2197419216  else
    2197519217    case $host_os in
    21976     freebsd[123]*) objformat=aout ;;
     19218    freebsd[23].*) objformat=aout ;;
    2197719219    *) objformat=elf ;;
    2197819220    esac
    2197919221  fi
    21980   # Handle Gentoo/FreeBSD as it was Linux
    21981   case $host_vendor in
    21982     gentoo)
    21983       version_type=linux ;;
    21984     *)
    21985       version_type=freebsd-$objformat ;;
    21986   esac
    21987 
     19222  version_type=freebsd-$objformat
    2198819223  case $version_type in
    2198919224    freebsd-elf*)
     
    2199619231      need_version=yes
    2199719232      ;;
    21998     linux)
    21999       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    22000       soname_spec='${libname}${release}${shared_ext}$major'
    22001       need_lib_prefix=no
    22002       need_version=no
    22003       ;;
    2200419233  esac
    2200519234  shlibpath_var=LD_LIBRARY_PATH
    2200619235  case $host_os in
    22007   freebsd2*)
     19236  freebsd2.*)
    2200819237    shlibpath_overrides_runpath=yes
    2200919238    ;;
     
    2201719246    hardcode_into_libs=yes
    2201819247    ;;
    22019   freebsd*) # from 4.6 on
     19248  *) # from 4.6 on, and DragonFly
    2202019249    shlibpath_overrides_runpath=yes
    2202119250    hardcode_into_libs=yes
     
    2202419253  ;;
    2202519254
    22026 gnu*)
    22027   version_type=linux
     19255haiku*)
     19256  version_type=linux # correct to gnu/linux during the next big refactor
    2202819257  need_lib_prefix=no
    2202919258  need_version=no
     19259  dynamic_linker="$host_os runtime_loader"
    2203019260  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
    2203119261  soname_spec='${libname}${release}${shared_ext}$major'
    22032   shlibpath_var=LD_LIBRARY_PATH
     19262  shlibpath_var=LIBRARY_PATH
     19263  shlibpath_overrides_runpath=yes
     19264  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
    2203319265  hardcode_into_libs=yes
    2203419266  ;;
     
    2205619288    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    2205719289    ;;
    22058    hppa*64*)
    22059      shrext_cmds='.sl'
    22060      hardcode_into_libs=yes
    22061      dynamic_linker="$host_os dld.sl"
    22062      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
    22063      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    22064      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    22065      soname_spec='${libname}${release}${shared_ext}$major'
    22066      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
    22067      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    22068      ;;
    22069    *)
     19290  hppa*64*)
     19291    shrext_cmds='.sl'
     19292    hardcode_into_libs=yes
     19293    dynamic_linker="$host_os dld.sl"
     19294    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
     19295    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
     19296    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     19297    soname_spec='${libname}${release}${shared_ext}$major'
     19298    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
     19299    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     19300    ;;
     19301  *)
    2207019302    shrext_cmds='.sl'
    2207119303    dynamic_linker="$host_os dld.sl"
     
    2207619308    ;;
    2207719309  esac
    22078   # HP-UX runs *really* slowly unless shared libraries are mode 555.
     19310  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
    2207919311  postinstall_cmds='chmod 555 $lib'
     19312  # or fails outright, so override atomically:
     19313  install_override_mode=555
    2208019314  ;;
    2208119315
    22082 interix3*)
    22083   version_type=linux
     19316interix[3-9]*)
     19317  version_type=linux # correct to gnu/linux during the next big refactor
    2208419318  need_lib_prefix=no
    2208519319  need_version=no
     
    2209719331    *)
    2209819332        if test "$lt_cv_prog_gnu_ld" = yes; then
    22099                 version_type=linux
     19333                version_type=linux # correct to gnu/linux during the next big refactor
    2210019334        else
    2210119335                version_type=irix
     
    2213419368  ;;
    2213519369
    22136 # This must be Linux ELF.
    22137 linux*)
    22138   version_type=linux
     19370# This must be glibc/ELF.
     19371linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
     19372  version_type=linux # correct to gnu/linux during the next big refactor
    2213919373  need_lib_prefix=no
    2214019374  need_version=no
     
    2214419378  shlibpath_var=LD_LIBRARY_PATH
    2214519379  shlibpath_overrides_runpath=no
     19380
     19381  # Some binutils ld are patched to set DT_RUNPATH
     19382  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
     19383  $as_echo_n "(cached) " >&6
     19384else
     19385  lt_cv_shlibpath_overrides_runpath=no
     19386    save_LDFLAGS=$LDFLAGS
     19387    save_libdir=$libdir
     19388    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
     19389         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
     19390    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     19391/* end confdefs.h.  */
     19392
     19393int
     19394main ()
     19395{
     19396
     19397  ;
     19398  return 0;
     19399}
     19400_ACEOF
     19401if ac_fn_cxx_try_link "$LINENO"; then :
     19402  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
     19403  lt_cv_shlibpath_overrides_runpath=yes
     19404fi
     19405fi
     19406rm -f core conftest.err conftest.$ac_objext \
     19407    conftest$ac_exeext conftest.$ac_ext
     19408    LDFLAGS=$save_LDFLAGS
     19409    libdir=$save_libdir
     19410
     19411fi
     19412
     19413  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
     19414
    2214619415  # This implies no fast_install, which is unacceptable.
    2214719416  # Some rework will be needed to allow for fast_install
     
    2215119420  # Append ld.so.conf contents to the search path
    2215219421  if test -f /etc/ld.so.conf; then
    22153     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
     19422    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' ' '`
    2215419423    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
    2215519424  fi
     
    2216419433  ;;
    2216519434
    22166 knetbsd*-gnu)
     19435netbsdelf*-gnu)
    2216719436  version_type=linux
    2216819437  need_lib_prefix=no
     
    2217319442  shlibpath_overrides_runpath=no
    2217419443  hardcode_into_libs=yes
    22175   dynamic_linker='GNU ld.so'
     19444  dynamic_linker='NetBSD ld.elf_so'
    2217619445  ;;
    2217719446
     
    2218019449  need_lib_prefix=no
    2218119450  need_version=no
    22182   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
     19451  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    2218319452    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
    2218419453    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
     
    2219519464
    2219619465newsos6)
    22197   version_type=linux
     19466  version_type=linux # correct to gnu/linux during the next big refactor
    2219819467  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2219919468  shlibpath_var=LD_LIBRARY_PATH
     
    2220119470  ;;
    2220219471
    22203 nto-qnx*)
    22204   version_type=linux
     19472*nto* | *qnx*)
     19473  version_type=qnx
    2220519474  need_lib_prefix=no
    2220619475  need_version=no
     
    2220819477  soname_spec='${libname}${release}${shared_ext}$major'
    2220919478  shlibpath_var=LD_LIBRARY_PATH
    22210   shlibpath_overrides_runpath=yes
     19479  shlibpath_overrides_runpath=no
     19480  hardcode_into_libs=yes
     19481  dynamic_linker='ldqnx.so'
    2221119482  ;;
    2221219483
     
    2221719488  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
    2221819489  case $host_os in
    22219     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
    22220     *)                         need_version=no  ;;
     19490    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
     19491    *)                          need_version=no  ;;
    2222119492  esac
    2222219493  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
    2222319494  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    2222419495  shlibpath_var=LD_LIBRARY_PATH
    22225   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
     19496  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    2222619497    case $host_os in
    2222719498      openbsd2.[89] | openbsd2.[89].*)
     
    2225719528  ;;
    2225819529
     19530rdos*)
     19531  dynamic_linker=no
     19532  ;;
     19533
    2225919534solaris*)
    22260   version_type=linux
     19535  version_type=linux # correct to gnu/linux during the next big refactor
    2226119536  need_lib_prefix=no
    2226219537  need_version=no
     
    2228319558
    2228419559sysv4 | sysv4.3*)
    22285   version_type=linux
     19560  version_type=linux # correct to gnu/linux during the next big refactor
    2228619561  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2228719562  soname_spec='${libname}${release}${shared_ext}$major'
     
    2229119566      shlibpath_overrides_runpath=no
    2229219567      need_lib_prefix=no
    22293       export_dynamic_flag_spec='${wl}-Blargedynsym'
    2229419568      runpath_var=LD_RUN_PATH
    2229519569      ;;
     
    2230819582sysv4*MP*)
    2230919583  if test -d /usr/nec ;then
    22310     version_type=linux
     19584    version_type=linux # correct to gnu/linux during the next big refactor
    2231119585    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
    2231219586    soname_spec='$libname${shared_ext}.$major'
     
    2232219596  soname_spec='${libname}${release}${shared_ext}$major'
    2232319597  shlibpath_var=LD_LIBRARY_PATH
     19598  shlibpath_overrides_runpath=yes
    2232419599  hardcode_into_libs=yes
    2232519600  if test "$with_gnu_ld" = yes; then
    2232619601    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
    22327     shlibpath_overrides_runpath=no
    2232819602  else
    2232919603    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
    22330     shlibpath_overrides_runpath=yes
    2233119604    case $host_os in
    2233219605      sco3.2v5*)
     
    2233819611  ;;
    2233919612
     19613tpf*)
     19614  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
     19615  version_type=linux # correct to gnu/linux during the next big refactor
     19616  need_lib_prefix=no
     19617  need_version=no
     19618  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     19619  shlibpath_var=LD_LIBRARY_PATH
     19620  shlibpath_overrides_runpath=no
     19621  hardcode_into_libs=yes
     19622  ;;
     19623
    2234019624uts4*)
    22341   version_type=linux
     19625  version_type=linux # correct to gnu/linux during the next big refactor
    2234219626  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2234319627  soname_spec='${libname}${release}${shared_ext}$major'
     
    2234919633  ;;
    2235019634esac
    22351 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
    22352 echo "${ECHO_T}$dynamic_linker" >&6
     19635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
     19636$as_echo "$dynamic_linker" >&6; }
    2235319637test "$dynamic_linker" = no && can_build_shared=no
    2235419638
     
    2235819642fi
    2235919643
    22360 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
    22361 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
     19644if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
     19645  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
     19646fi
     19647if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
     19648  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
     19649fi
     19650
     19651
     19652
     19653
     19654
     19655
     19656
     19657
     19658
     19659
     19660
     19661
     19662
     19663
     19664
     19665
     19666
     19667
     19668
     19669
     19670
     19671
     19672
     19673
     19674
     19675
     19676
     19677
     19678
     19679
     19680
     19681
     19682
     19683
     19684
     19685
     19686
     19687
     19688    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
     19689$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
    2236219690hardcode_action_CXX=
    22363 if test -n "$hardcode_libdir_flag_spec_CXX" || \
    22364    test -n "$runpath_var_CXX" || \
     19691if test -n "$hardcode_libdir_flag_spec_CXX" ||
     19692   test -n "$runpath_var_CXX" ||
    2236519693   test "X$hardcode_automatic_CXX" = "Xyes" ; then
    2236619694
    22367   # We can hardcode non-existant directories.
     19695  # We can hardcode non-existent directories.
    2236819696  if test "$hardcode_direct_CXX" != no &&
    2236919697     # If the only mechanism to avoid hardcoding is shlibpath_var, we
    2237019698     # have to relink, otherwise we might link with an installed library
    2237119699     # when we should be linking with a yet-to-be-installed one
    22372      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
     19700     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
    2237319701     test "$hardcode_minus_L_CXX" != no; then
    2237419702    # Linking always hardcodes the temporary library directory.
     
    2238319711  hardcode_action_CXX=unsupported
    2238419712fi
    22385 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
    22386 echo "${ECHO_T}$hardcode_action_CXX" >&6
    22387 
    22388 if test "$hardcode_action_CXX" = relink; then
     19713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
     19714$as_echo "$hardcode_action_CXX" >&6; }
     19715
     19716if test "$hardcode_action_CXX" = relink ||
     19717   test "$inherit_rpath_CXX" = yes; then
    2238919718  # Fast installation is not supported
    2239019719  enable_fast_install=no
     
    2239619725
    2239719726
    22398 # The else clause should only fire when bootstrapping the
    22399 # libtool distribution, otherwise you forgot to ship ltmain.sh
    22400 # with your package, and you will get complaints that there are
    22401 # no rules to generate ltmain.sh.
    22402 if test -f "$ltmain"; then
    22403   # See if we are running on zsh, and set the options which allow our commands through
    22404   # without removal of \ escapes.
    22405   if test -n "${ZSH_VERSION+set}" ; then
    22406     setopt NO_GLOB_SUBST
    22407   fi
    22408   # Now quote all the things that may contain metacharacters while being
    22409   # careful not to overquote the AC_SUBSTed values.  We take copies of the
    22410   # variables and quote the copies for generation of the libtool script.
    22411   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
    22412     SED SHELL STRIP \
    22413     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
    22414     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
    22415     deplibs_check_method reload_flag reload_cmds need_locks \
    22416     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
    22417     lt_cv_sys_global_symbol_to_c_name_address \
    22418     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
    22419     old_postinstall_cmds old_postuninstall_cmds \
    22420     compiler_CXX \
    22421     CC_CXX \
    22422     LD_CXX \
    22423     lt_prog_compiler_wl_CXX \
    22424     lt_prog_compiler_pic_CXX \
    22425     lt_prog_compiler_static_CXX \
    22426     lt_prog_compiler_no_builtin_flag_CXX \
    22427     export_dynamic_flag_spec_CXX \
    22428     thread_safe_flag_spec_CXX \
    22429     whole_archive_flag_spec_CXX \
    22430     enable_shared_with_static_runtimes_CXX \
    22431     old_archive_cmds_CXX \
    22432     old_archive_from_new_cmds_CXX \
    22433     predep_objects_CXX \
    22434     postdep_objects_CXX \
    22435     predeps_CXX \
    22436     postdeps_CXX \
    22437     compiler_lib_search_path_CXX \
    22438     archive_cmds_CXX \
    22439     archive_expsym_cmds_CXX \
    22440     postinstall_cmds_CXX \
    22441     postuninstall_cmds_CXX \
    22442     old_archive_from_expsyms_cmds_CXX \
    22443     allow_undefined_flag_CXX \
    22444     no_undefined_flag_CXX \
    22445     export_symbols_cmds_CXX \
    22446     hardcode_libdir_flag_spec_CXX \
    22447     hardcode_libdir_flag_spec_ld_CXX \
    22448     hardcode_libdir_separator_CXX \
    22449     hardcode_automatic_CXX \
    22450     module_cmds_CXX \
    22451     module_expsym_cmds_CXX \
    22452     lt_cv_prog_compiler_c_o_CXX \
    22453     exclude_expsyms_CXX \
    22454     include_expsyms_CXX; do
    22455 
    22456     case $var in
    22457     old_archive_cmds_CXX | \
    22458     old_archive_from_new_cmds_CXX | \
    22459     archive_cmds_CXX | \
    22460     archive_expsym_cmds_CXX | \
    22461     module_cmds_CXX | \
    22462     module_expsym_cmds_CXX | \
    22463     old_archive_from_expsyms_cmds_CXX | \
    22464     export_symbols_cmds_CXX | \
    22465     extract_expsyms_cmds | reload_cmds | finish_cmds | \
    22466     postinstall_cmds | postuninstall_cmds | \
    22467     old_postinstall_cmds | old_postuninstall_cmds | \
    22468     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
    22469       # Double-quote double-evaled strings.
    22470       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
    22471       ;;
    22472     *)
    22473       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
    22474       ;;
    22475     esac
    22476   done
    22477 
    22478   case $lt_echo in
    22479   *'\$0 --fallback-echo"')
    22480     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
    22481     ;;
    22482   esac
    22483 
    22484 cfgfile="$ofile"
    22485 
    22486   cat <<__EOF__ >> "$cfgfile"
    22487 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
    22488 
    22489 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
    22490 
    22491 # Shell to use when invoking shell scripts.
    22492 SHELL=$lt_SHELL
    22493 
    22494 # Whether or not to build shared libraries.
    22495 build_libtool_libs=$enable_shared
    22496 
    22497 # Whether or not to build static libraries.
    22498 build_old_libs=$enable_static
    22499 
    22500 # Whether or not to add -lc for building shared libraries.
    22501 build_libtool_need_lc=$archive_cmds_need_lc_CXX
    22502 
    22503 # Whether or not to disallow shared libs when runtime libs are static
    22504 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
    22505 
    22506 # Whether or not to optimize for fast installation.
    22507 fast_install=$enable_fast_install
    22508 
    22509 # The host system.
    22510 host_alias=$host_alias
    22511 host=$host
    22512 host_os=$host_os
    22513 
    22514 # The build system.
    22515 build_alias=$build_alias
    22516 build=$build
    22517 build_os=$build_os
    22518 
    22519 # An echo program that does not interpret backslashes.
    22520 echo=$lt_echo
    22521 
    22522 # The archiver.
    22523 AR=$lt_AR
    22524 AR_FLAGS=$lt_AR_FLAGS
    22525 
    22526 # A C compiler.
    22527 LTCC=$lt_LTCC
    22528 
    22529 # LTCC compiler flags.
    22530 LTCFLAGS=$lt_LTCFLAGS
    22531 
    22532 # A language-specific compiler.
    22533 CC=$lt_compiler_CXX
    22534 
    22535 # Is the compiler the GNU C compiler?
    22536 with_gcc=$GCC_CXX
    22537 
    22538 # An ERE matcher.
    22539 EGREP=$lt_EGREP
    22540 
    22541 # The linker used to build libraries.
    22542 LD=$lt_LD_CXX
    22543 
    22544 # Whether we need hard or soft links.
    22545 LN_S=$lt_LN_S
    22546 
    22547 # A BSD-compatible nm program.
    22548 NM=$lt_NM
    22549 
    22550 # A symbol stripping program
    22551 STRIP=$lt_STRIP
    22552 
    22553 # Used to examine libraries when file_magic_cmd begins "file"
    22554 MAGIC_CMD=$MAGIC_CMD
    22555 
    22556 # Used on cygwin: DLL creation program.
    22557 DLLTOOL="$DLLTOOL"
    22558 
    22559 # Used on cygwin: object dumper.
    22560 OBJDUMP="$OBJDUMP"
    22561 
    22562 # Used on cygwin: assembler.
    22563 AS="$AS"
    22564 
    22565 # The name of the directory that contains temporary libtool files.
    22566 objdir=$objdir
    22567 
    22568 # How to create reloadable object files.
    22569 reload_flag=$lt_reload_flag
    22570 reload_cmds=$lt_reload_cmds
    22571 
    22572 # How to pass a linker flag through the compiler.
    22573 wl=$lt_lt_prog_compiler_wl_CXX
    22574 
    22575 # Object file suffix (normally "o").
    22576 objext="$ac_objext"
    22577 
    22578 # Old archive suffix (normally "a").
    22579 libext="$libext"
    22580 
    22581 # Shared library suffix (normally ".so").
    22582 shrext_cmds='$shrext_cmds'
    22583 
    22584 # Executable file suffix (normally "").
    22585 exeext="$exeext"
    22586 
    22587 # Additional compiler flags for building library objects.
    22588 pic_flag=$lt_lt_prog_compiler_pic_CXX
    22589 pic_mode=$pic_mode
    22590 
    22591 # What is the maximum length of a command?
    22592 max_cmd_len=$lt_cv_sys_max_cmd_len
    22593 
    22594 # Does compiler simultaneously support -c and -o options?
    22595 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
    22596 
    22597 # Must we lock files when doing compilation?
    22598 need_locks=$lt_need_locks
    22599 
    22600 # Do we need the lib prefix for modules?
    22601 need_lib_prefix=$need_lib_prefix
    22602 
    22603 # Do we need a version for libraries?
    22604 need_version=$need_version
    22605 
    22606 # Whether dlopen is supported.
    22607 dlopen_support=$enable_dlopen
    22608 
    22609 # Whether dlopen of programs is supported.
    22610 dlopen_self=$enable_dlopen_self
    22611 
    22612 # Whether dlopen of statically linked programs is supported.
    22613 dlopen_self_static=$enable_dlopen_self_static
    22614 
    22615 # Compiler flag to prevent dynamic linking.
    22616 link_static_flag=$lt_lt_prog_compiler_static_CXX
    22617 
    22618 # Compiler flag to turn off builtin functions.
    22619 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
    22620 
    22621 # Compiler flag to allow reflexive dlopens.
    22622 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
    22623 
    22624 # Compiler flag to generate shared objects directly from archives.
    22625 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
    22626 
    22627 # Compiler flag to generate thread-safe objects.
    22628 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
    22629 
    22630 # Library versioning type.
    22631 version_type=$version_type
    22632 
    22633 # Format of library name prefix.
    22634 libname_spec=$lt_libname_spec
    22635 
    22636 # List of archive names.  First name is the real one, the rest are links.
    22637 # The last name is the one that the linker finds with -lNAME.
    22638 library_names_spec=$lt_library_names_spec
    22639 
    22640 # The coded name of the library, if different from the real name.
    22641 soname_spec=$lt_soname_spec
    22642 
    22643 # Commands used to build and install an old-style archive.
    22644 RANLIB=$lt_RANLIB
    22645 old_archive_cmds=$lt_old_archive_cmds_CXX
    22646 old_postinstall_cmds=$lt_old_postinstall_cmds
    22647 old_postuninstall_cmds=$lt_old_postuninstall_cmds
    22648 
    22649 # Create an old-style archive from a shared archive.
    22650 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
    22651 
    22652 # Create a temporary old-style archive to link instead of a shared archive.
    22653 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
    22654 
    22655 # Commands used to build and install a shared archive.
    22656 archive_cmds=$lt_archive_cmds_CXX
    22657 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
    22658 postinstall_cmds=$lt_postinstall_cmds
    22659 postuninstall_cmds=$lt_postuninstall_cmds
    22660 
    22661 # Commands used to build a loadable module (assumed same as above if empty)
    22662 module_cmds=$lt_module_cmds_CXX
    22663 module_expsym_cmds=$lt_module_expsym_cmds_CXX
    22664 
    22665 # Commands to strip libraries.
    22666 old_striplib=$lt_old_striplib
    22667 striplib=$lt_striplib
    22668 
    22669 # Dependencies to place before the objects being linked to create a
    22670 # shared library.
    22671 predep_objects=$lt_predep_objects_CXX
    22672 
    22673 # Dependencies to place after the objects being linked to create a
    22674 # shared library.
    22675 postdep_objects=$lt_postdep_objects_CXX
    22676 
    22677 # Dependencies to place before the objects being linked to create a
    22678 # shared library.
    22679 predeps=$lt_predeps_CXX
    22680 
    22681 # Dependencies to place after the objects being linked to create a
    22682 # shared library.
    22683 postdeps=$lt_postdeps_CXX
    22684 
    22685 # The library search path used internally by the compiler when linking
    22686 # a shared library.
    22687 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
    22688 
    22689 # Method to check whether dependent libraries are shared objects.
    22690 deplibs_check_method=$lt_deplibs_check_method
    22691 
    22692 # Command to use when deplibs_check_method == file_magic.
    22693 file_magic_cmd=$lt_file_magic_cmd
    22694 
    22695 # Flag that allows shared libraries with undefined symbols to be built.
    22696 allow_undefined_flag=$lt_allow_undefined_flag_CXX
    22697 
    22698 # Flag that forces no undefined symbols.
    22699 no_undefined_flag=$lt_no_undefined_flag_CXX
    22700 
    22701 # Commands used to finish a libtool library installation in a directory.
    22702 finish_cmds=$lt_finish_cmds
    22703 
    22704 # Same as above, but a single script fragment to be evaled but not shown.
    22705 finish_eval=$lt_finish_eval
    22706 
    22707 # Take the output of nm and produce a listing of raw symbols and C names.
    22708 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
    22709 
    22710 # Transform the output of nm in a proper C declaration
    22711 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
    22712 
    22713 # Transform the output of nm in a C name address pair
    22714 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
    22715 
    22716 # This is the shared library runtime path variable.
    22717 runpath_var=$runpath_var
    22718 
    22719 # This is the shared library path variable.
    22720 shlibpath_var=$shlibpath_var
    22721 
    22722 # Is shlibpath searched before the hard-coded library search path?
    22723 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
    22724 
    22725 # How to hardcode a shared library path into an executable.
    22726 hardcode_action=$hardcode_action_CXX
    22727 
    22728 # Whether we should hardcode library paths into libraries.
    22729 hardcode_into_libs=$hardcode_into_libs
    22730 
    22731 # Flag to hardcode \$libdir into a binary during linking.
    22732 # This must work even if \$libdir does not exist.
    22733 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
    22734 
    22735 # If ld is used when linking, flag to hardcode \$libdir into
    22736 # a binary during linking. This must work even if \$libdir does
    22737 # not exist.
    22738 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
    22739 
    22740 # Whether we need a single -rpath flag with a separated argument.
    22741 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
    22742 
    22743 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
    22744 # resulting binary.
    22745 hardcode_direct=$hardcode_direct_CXX
    22746 
    22747 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
    22748 # resulting binary.
    22749 hardcode_minus_L=$hardcode_minus_L_CXX
    22750 
    22751 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
    22752 # the resulting binary.
    22753 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
    22754 
    22755 # Set to yes if building a shared library automatically hardcodes DIR into the library
    22756 # and all subsequent libraries and executables linked against it.
    22757 hardcode_automatic=$hardcode_automatic_CXX
    22758 
    22759 # Variables whose values should be saved in libtool wrapper scripts and
    22760 # restored at relink time.
    22761 variables_saved_for_relink="$variables_saved_for_relink"
    22762 
    22763 # Whether libtool must link a program against all its dependency libraries.
    22764 link_all_deplibs=$link_all_deplibs_CXX
    22765 
    22766 # Compile-time system search path for libraries
    22767 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
    22768 
    22769 # Run-time system search path for libraries
    22770 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
    22771 
    22772 # Fix the shell variable \$srcfile for the compiler.
    22773 fix_srcfile_path="$fix_srcfile_path_CXX"
    22774 
    22775 # Set to yes if exported symbols are required.
    22776 always_export_symbols=$always_export_symbols_CXX
    22777 
    22778 # The commands to list exported symbols.
    22779 export_symbols_cmds=$lt_export_symbols_cmds_CXX
    22780 
    22781 # The commands to extract the exported symbol list from a shared archive.
    22782 extract_expsyms_cmds=$lt_extract_expsyms_cmds
    22783 
    22784 # Symbols that should not be listed in the preloaded symbols.
    22785 exclude_expsyms=$lt_exclude_expsyms_CXX
    22786 
    22787 # Symbols that must always be exported.
    22788 include_expsyms=$lt_include_expsyms_CXX
    22789 
    22790 # ### END LIBTOOL TAG CONFIG: $tagname
    22791 
    22792 __EOF__
    22793 
    22794 
    22795 else
    22796   # If there is no Makefile yet, we rely on a make rule to execute
    22797   # `config.status --recheck' to rerun these tests and create the
    22798   # libtool script then.
    22799   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
    22800   if test -f "$ltmain_in"; then
    22801     test -f Makefile && make "$ltmain"
    22802   fi
    22803 fi
    22804 
     19727
     19728
     19729
     19730
     19731
     19732  fi # test -n "$compiler"
     19733
     19734  CC=$lt_save_CC
     19735  CFLAGS=$lt_save_CFLAGS
     19736  LDCXX=$LD
     19737  LD=$lt_save_LD
     19738  GCC=$lt_save_GCC
     19739  with_gnu_ld=$lt_save_with_gnu_ld
     19740  lt_cv_path_LDCXX=$lt_cv_path_LD
     19741  lt_cv_path_LD=$lt_save_path_LD
     19742  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
     19743  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
     19744fi # test "$_lt_caught_CXX_error" != yes
    2280519745
    2280619746ac_ext=c
     
    2281019750ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2281119751
    22812 CC=$lt_save_CC
    22813 LDCXX=$LD
    22814 LD=$lt_save_LD
    22815 GCC=$lt_save_GCC
    22816 with_gnu_ldcxx=$with_gnu_ld
    22817 with_gnu_ld=$lt_save_with_gnu_ld
    22818 lt_cv_path_LDCXX=$lt_cv_path_LD
    22819 lt_cv_path_LD=$lt_save_path_LD
    22820 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
    22821 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
    22822 
    22823         else
    22824           tagname=""
    22825         fi
    22826         ;;
    22827 
    22828       F77)
    22829         if test -n "$F77" && test "X$F77" != "Xno"; then
    22830 
    22831 ac_ext=f
     19752
     19753
     19754      ac_ext=f
    2283219755ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    2283319756ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2283419757ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    2283519758
     19759if test -z "$F77" || test "X$F77" = "Xno"; then
     19760  _lt_disable_F77=yes
     19761fi
    2283619762
    2283719763archive_cmds_need_lc_F77=no
     
    2284119767export_dynamic_flag_spec_F77=
    2284219768hardcode_direct_F77=no
     19769hardcode_direct_absolute_F77=no
    2284319770hardcode_libdir_flag_spec_F77=
    22844 hardcode_libdir_flag_spec_ld_F77=
    2284519771hardcode_libdir_separator_F77=
    2284619772hardcode_minus_L_F77=no
    2284719773hardcode_automatic_F77=no
     19774inherit_rpath_F77=no
    2284819775module_cmds_F77=
    2284919776module_expsym_cmds_F77=
    2285019777link_all_deplibs_F77=unknown
    2285119778old_archive_cmds_F77=$old_archive_cmds
     19779reload_flag_F77=$reload_flag
     19780reload_cmds_F77=$reload_cmds
    2285219781no_undefined_flag_F77=
    2285319782whole_archive_flag_spec_F77=
     
    2286119790objext_F77=$objext
    2286219791
    22863 # Code to be used in simple compile tests
    22864 lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
    22865 
    22866 # Code to be used in simple link tests
    22867 lt_simple_link_test_code="      program t\n      end\n"
    22868 
    22869 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
     19792# No sense in running all these tests if we already determined that
     19793# the F77 compiler isn't working.  Some variables (like enable_shared)
     19794# are currently assumed to apply to all compilers on this platform,
     19795# and will be corrupted by setting them based on a non-working compiler.
     19796if test "$_lt_disable_F77" != yes; then
     19797  # Code to be used in simple compile tests
     19798  lt_simple_compile_test_code="\
     19799      subroutine t
     19800      return
     19801      end
     19802"
     19803
     19804  # Code to be used in simple link tests
     19805  lt_simple_link_test_code="\
     19806      program t
     19807      end
     19808"
     19809
     19810  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
     19811
     19812
     19813
     19814
     19815
    2287019816
    2287119817# If no C compiler was specified, use CC.
     
    2287919825
    2288019826
    22881 # save warnings/boilerplate of simple test code
    22882 ac_outfile=conftest.$ac_objext
    22883 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
     19827  # save warnings/boilerplate of simple test code
     19828  ac_outfile=conftest.$ac_objext
     19829echo "$lt_simple_compile_test_code" >conftest.$ac_ext
    2288419830eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
    2288519831_lt_compiler_boilerplate=`cat conftest.err`
    22886 $rm conftest*
    22887 
    22888 ac_outfile=conftest.$ac_objext
    22889 printf "$lt_simple_link_test_code" >conftest.$ac_ext
     19832$RM conftest*
     19833
     19834  ac_outfile=conftest.$ac_objext
     19835echo "$lt_simple_link_test_code" >conftest.$ac_ext
    2289019836eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
    2289119837_lt_linker_boilerplate=`cat conftest.err`
    22892 $rm conftest*
    22893 
    22894 
    22895 # Allow CC to be a program name with arguments.
    22896 lt_save_CC="$CC"
    22897 CC=${F77-"f77"}
    22898 compiler=$CC
    22899 compiler_F77=$CC
    22900 for cc_temp in $compiler""; do
     19838$RM -r conftest*
     19839
     19840
     19841  # Allow CC to be a program name with arguments.
     19842  lt_save_CC="$CC"
     19843  lt_save_GCC=$GCC
     19844  lt_save_CFLAGS=$CFLAGS
     19845  CC=${F77-"f77"}
     19846  CFLAGS=$FFLAGS
     19847  compiler=$CC
     19848  compiler_F77=$CC
     19849  for cc_temp in $compiler""; do
    2290119850  case $cc_temp in
    2290219851    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
     
    2290619855  esac
    2290719856done
    22908 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
    22909 
    22910 
    22911 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
    22912 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
    22913 echo "$as_me:$LINENO: result: $can_build_shared" >&5
    22914 echo "${ECHO_T}$can_build_shared" >&6
    22915 
    22916 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
    22917 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
    22918 test "$can_build_shared" = "no" && enable_shared=no
    22919 
    22920 # On AIX, shared libraries and static libraries use the same namespace, and
    22921 # are all built from PIC.
    22922 case $host_os in
    22923 aix3*)
    22924   test "$enable_shared" = yes && enable_static=no
    22925   if test -n "$RANLIB"; then
    22926     archive_cmds="$archive_cmds~\$RANLIB \$lib"
    22927     postinstall_cmds='$RANLIB $lib'
    22928   fi
    22929   ;;
    22930 aix4* | aix5*)
    22931   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
    22932     test "$enable_shared" = yes && enable_static=no
    22933   fi
    22934   ;;
    22935 esac
    22936 echo "$as_me:$LINENO: result: $enable_shared" >&5
    22937 echo "${ECHO_T}$enable_shared" >&6
    22938 
    22939 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
    22940 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
    22941 # Make sure either enable_shared or enable_static is yes.
    22942 test "$enable_shared" = yes || enable_static=yes
    22943 echo "$as_me:$LINENO: result: $enable_static" >&5
    22944 echo "${ECHO_T}$enable_static" >&6
    22945 
    22946 GCC_F77="$G77"
    22947 LD_F77="$LD"
    22948 
    22949 lt_prog_compiler_wl_F77=
     19857cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
     19858
     19859  GCC=$G77
     19860  if test -n "$compiler"; then
     19861    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
     19862$as_echo_n "checking if libtool supports shared libraries... " >&6; }
     19863    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
     19864$as_echo "$can_build_shared" >&6; }
     19865
     19866    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
     19867$as_echo_n "checking whether to build shared libraries... " >&6; }
     19868    test "$can_build_shared" = "no" && enable_shared=no
     19869
     19870    # On AIX, shared libraries and static libraries use the same namespace, and
     19871    # are all built from PIC.
     19872    case $host_os in
     19873      aix3*)
     19874        test "$enable_shared" = yes && enable_static=no
     19875        if test -n "$RANLIB"; then
     19876          archive_cmds="$archive_cmds~\$RANLIB \$lib"
     19877          postinstall_cmds='$RANLIB $lib'
     19878        fi
     19879        ;;
     19880      aix[4-9]*)
     19881        if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
     19882          test "$enable_shared" = yes && enable_static=no
     19883        fi
     19884        ;;
     19885    esac
     19886    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
     19887$as_echo "$enable_shared" >&6; }
     19888
     19889    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
     19890$as_echo_n "checking whether to build static libraries... " >&6; }
     19891    # Make sure either enable_shared or enable_static is yes.
     19892    test "$enable_shared" = yes || enable_static=yes
     19893    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
     19894$as_echo "$enable_static" >&6; }
     19895
     19896    GCC_F77="$G77"
     19897    LD_F77="$LD"
     19898
     19899    ## CAVEAT EMPTOR:
     19900    ## There is no encapsulation within the following macros, do not change
     19901    ## the running order or otherwise move them around unless you know exactly
     19902    ## what you are doing...
     19903    lt_prog_compiler_wl_F77=
    2295019904lt_prog_compiler_pic_F77=
    2295119905lt_prog_compiler_static_F77=
    2295219906
    22953 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
    22954 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
    2295519907
    2295619908  if test "$GCC" = yes; then
     
    2296819920
    2296919921    amigaos*)
    22970       # FIXME: we need at least 68020 code to build shared libraries, but
    22971       # adding the `-m68020' flag to GCC prevents building anything better,
    22972       # like `-m68040'.
    22973       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
     19922      case $host_cpu in
     19923      powerpc)
     19924            # see comment about AmigaOS4 .so support
     19925            lt_prog_compiler_pic_F77='-fPIC'
     19926        ;;
     19927      m68k)
     19928            # FIXME: we need at least 68020 code to build shared libraries, but
     19929            # adding the `-m68020' flag to GCC prevents building anything better,
     19930            # like `-m68040'.
     19931            lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
     19932        ;;
     19933      esac
    2297419934      ;;
    2297519935
    22976     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
     19936    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
    2297719937      # PIC is the default for these OSes.
    2297819938      ;;
    2297919939
    22980     mingw* | pw32* | os2*)
     19940    mingw* | cygwin* | pw32* | os2* | cegcc*)
    2298119941      # This hack is so that the source file can tell whether it is being
    2298219942      # built for inclusion in a dll (and should export symbols for example).
     19943      # Although the cygwin gcc ignores -fPIC, still need this for old-style
     19944      # (--disable-auto-import) libraries
    2298319945      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
    2298419946      ;;
     
    2299019952      ;;
    2299119953
    22992     interix3*)
    22993       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
    22994       # Instead, we relocate shared libraries at runtime.
     19954    haiku*)
     19955      # PIC is the default for Haiku.
     19956      # The "-static" flag exists, but is broken.
     19957      lt_prog_compiler_static_F77=
    2299519958      ;;
    2299619959
    22997     msdosdjgpp*)
    22998       # Just because we use GCC doesn't mean we suddenly get shared libraries
    22999       # on systems that don't support them.
    23000       lt_prog_compiler_can_build_shared_F77=no
    23001       enable_shared=no
    23002       ;;
    23003 
    23004     sysv4*MP*)
    23005       if test -d /usr/nec; then
    23006         lt_prog_compiler_pic_F77=-Kconform_pic
    23007       fi
    23008       ;;
    23009 
    2301019960    hpux*)
    23011       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
    23012       # not for PA HP-UX.
     19961      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
     19962      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
     19963      # sets the default TLS model and affects inlining.
    2301319964      case $host_cpu in
    23014       hppa*64*|ia64*)
     19965      hppa*64*)
    2301519966        # +Z the default
    2301619967        ;;
     
    2302119972      ;;
    2302219973
     19974    interix[3-9]*)
     19975      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
     19976      # Instead, we relocate shared libraries at runtime.
     19977      ;;
     19978
     19979    msdosdjgpp*)
     19980      # Just because we use GCC doesn't mean we suddenly get shared libraries
     19981      # on systems that don't support them.
     19982      lt_prog_compiler_can_build_shared_F77=no
     19983      enable_shared=no
     19984      ;;
     19985
     19986    *nto* | *qnx*)
     19987      # QNX uses GNU C++, but need to define -shared option too, otherwise
     19988      # it will coredump.
     19989      lt_prog_compiler_pic_F77='-fPIC -shared'
     19990      ;;
     19991
     19992    sysv4*MP*)
     19993      if test -d /usr/nec; then
     19994        lt_prog_compiler_pic_F77=-Kconform_pic
     19995      fi
     19996      ;;
     19997
    2302319998    *)
    2302419999      lt_prog_compiler_pic_F77='-fPIC'
     20000      ;;
     20001    esac
     20002
     20003    case $cc_basename in
     20004    nvcc*) # Cuda Compiler Driver 2.2
     20005      lt_prog_compiler_wl_F77='-Xlinker '
     20006      if test -n "$lt_prog_compiler_pic_F77"; then
     20007        lt_prog_compiler_pic_F77="-Xcompiler $lt_prog_compiler_pic_F77"
     20008      fi
    2302520009      ;;
    2302620010    esac
     
    2303720021      fi
    2303820022      ;;
    23039       darwin*)
    23040         # PIC is the default on this platform
    23041         # Common symbols not allowed in MH_DYLIB files
    23042        case $cc_basename in
    23043          xlc*)
    23044          lt_prog_compiler_pic_F77='-qnocommon'
    23045          lt_prog_compiler_wl_F77='-Wl,'
    23046          ;;
    23047        esac
    23048        ;;
    23049 
    23050     mingw* | pw32* | os2*)
     20023
     20024    mingw* | cygwin* | pw32* | os2* | cegcc*)
    2305120025      # This hack is so that the source file can tell whether it is being
    2305220026      # built for inclusion in a dll (and should export symbols for example).
     
    2307620050      ;;
    2307720051
    23078     newsos6)
    23079       lt_prog_compiler_pic_F77='-KPIC'
    23080       lt_prog_compiler_static_F77='-Bstatic'
    23081       ;;
    23082 
    23083     linux*)
     20052    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    2308420053      case $cc_basename in
    23085       icc* | ecc*)
     20054      # old Intel for x86_64 which still supported -KPIC.
     20055      ecc*)
    2308620056        lt_prog_compiler_wl_F77='-Wl,'
    2308720057        lt_prog_compiler_pic_F77='-KPIC'
    2308820058        lt_prog_compiler_static_F77='-static'
    2308920059        ;;
    23090       pgcc* | pgf77* | pgf90* | pgf95*)
     20060      # icc used to be incompatible with GCC.
     20061      # ICC 10 doesn't accept -KPIC any more.
     20062      icc* | ifort*)
     20063        lt_prog_compiler_wl_F77='-Wl,'
     20064        lt_prog_compiler_pic_F77='-fPIC'
     20065        lt_prog_compiler_static_F77='-static'
     20066        ;;
     20067      # Lahey Fortran 8.1.
     20068      lf95*)
     20069        lt_prog_compiler_wl_F77='-Wl,'
     20070        lt_prog_compiler_pic_F77='--shared'
     20071        lt_prog_compiler_static_F77='--static'
     20072        ;;
     20073      nagfor*)
     20074        # NAG Fortran compiler
     20075        lt_prog_compiler_wl_F77='-Wl,-Wl,,'
     20076        lt_prog_compiler_pic_F77='-PIC'
     20077        lt_prog_compiler_static_F77='-Bstatic'
     20078        ;;
     20079      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
    2309120080        # Portland Group compilers (*not* the Pentium gcc compiler,
    2309220081        # which looks to be a dead project)
     
    2310020089        lt_prog_compiler_static_F77='-non_shared'
    2310120090        ;;
     20091      xl* | bgxl* | bgf* | mpixl*)
     20092        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
     20093        lt_prog_compiler_wl_F77='-Wl,'
     20094        lt_prog_compiler_pic_F77='-qpic'
     20095        lt_prog_compiler_static_F77='-qstaticlink'
     20096        ;;
     20097      *)
     20098        case `$CC -V 2>&1 | sed 5q` in
     20099        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
     20100          # Sun Fortran 8.3 passes all unrecognized flags to the linker
     20101          lt_prog_compiler_pic_F77='-KPIC'
     20102          lt_prog_compiler_static_F77='-Bstatic'
     20103          lt_prog_compiler_wl_F77=''
     20104          ;;
     20105        *Sun\ F* | *Sun*Fortran*)
     20106          lt_prog_compiler_pic_F77='-KPIC'
     20107          lt_prog_compiler_static_F77='-Bstatic'
     20108          lt_prog_compiler_wl_F77='-Qoption ld '
     20109          ;;
     20110        *Sun\ C*)
     20111          # Sun C 5.9
     20112          lt_prog_compiler_pic_F77='-KPIC'
     20113          lt_prog_compiler_static_F77='-Bstatic'
     20114          lt_prog_compiler_wl_F77='-Wl,'
     20115          ;;
     20116        *Intel*\ [CF]*Compiler*)
     20117          lt_prog_compiler_wl_F77='-Wl,'
     20118          lt_prog_compiler_pic_F77='-fPIC'
     20119          lt_prog_compiler_static_F77='-static'
     20120          ;;
     20121        *Portland\ Group*)
     20122          lt_prog_compiler_wl_F77='-Wl,'
     20123          lt_prog_compiler_pic_F77='-fpic'
     20124          lt_prog_compiler_static_F77='-Bstatic'
     20125          ;;
     20126        esac
     20127        ;;
    2310220128      esac
     20129      ;;
     20130
     20131    newsos6)
     20132      lt_prog_compiler_pic_F77='-KPIC'
     20133      lt_prog_compiler_static_F77='-Bstatic'
     20134      ;;
     20135
     20136    *nto* | *qnx*)
     20137      # QNX uses GNU C++, but need to define -shared option too, otherwise
     20138      # it will coredump.
     20139      lt_prog_compiler_pic_F77='-fPIC -shared'
    2310320140      ;;
    2310420141
     
    2310920146      ;;
    2311020147
     20148    rdos*)
     20149      lt_prog_compiler_static_F77='-non_shared'
     20150      ;;
     20151
    2311120152    solaris*)
    2311220153      lt_prog_compiler_pic_F77='-KPIC'
    2311320154      lt_prog_compiler_static_F77='-Bstatic'
    2311420155      case $cc_basename in
    23115       f77* | f90* | f95*)
     20156      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
    2311620157        lt_prog_compiler_wl_F77='-Qoption ld ';;
    2311720158      *)
     
    2316120202  fi
    2316220203
    23163 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
    23164 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
     20204case $host_os in
     20205  # For platforms which do not support PIC, -DPIC is meaningless:
     20206  *djgpp*)
     20207    lt_prog_compiler_pic_F77=
     20208    ;;
     20209  *)
     20210    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
     20211    ;;
     20212esac
     20213
     20214{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
     20215$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
     20216if ${lt_cv_prog_compiler_pic_F77+:} false; then :
     20217  $as_echo_n "(cached) " >&6
     20218else
     20219  lt_cv_prog_compiler_pic_F77=$lt_prog_compiler_pic_F77
     20220fi
     20221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_F77" >&5
     20222$as_echo "$lt_cv_prog_compiler_pic_F77" >&6; }
     20223lt_prog_compiler_pic_F77=$lt_cv_prog_compiler_pic_F77
    2316520224
    2316620225#
     
    2316820227#
    2316920228if test -n "$lt_prog_compiler_pic_F77"; then
    23170 
    23171 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
    23172 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
    23173 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
    23174   echo $ECHO_N "(cached) $ECHO_C" >&6
    23175 else
    23176   lt_prog_compiler_pic_works_F77=no
    23177   ac_outfile=conftest.$ac_objext
    23178    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
     20229  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
     20230$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
     20231if ${lt_cv_prog_compiler_pic_works_F77+:} false; then :
     20232  $as_echo_n "(cached) " >&6
     20233else
     20234  lt_cv_prog_compiler_pic_works_F77=no
     20235   ac_outfile=conftest.$ac_objext
     20236   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    2317920237   lt_compiler_flag="$lt_prog_compiler_pic_F77"
    2318020238   # Insert the option either (1) after the last *FLAGS variable, or
     
    2318720245   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    2318820246   -e 's:$: $lt_compiler_flag:'`
    23189    (eval echo "\"\$as_me:23189: $lt_compile\"" >&5)
     20247   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    2319020248   (eval "$lt_compile" 2>conftest.err)
    2319120249   ac_status=$?
    2319220250   cat conftest.err >&5
    23193    echo "$as_me:23193: \$? = $ac_status" >&5
     20251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2319420252   if (exit $ac_status) && test -s "$ac_outfile"; then
    2319520253     # The compiler can only warn and ignore the option if not recognized
    2319620254     # So say no if there are warnings other than the usual output.
    23197      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
     20255     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
    2319820256     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    2319920257     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
    23200        lt_prog_compiler_pic_works_F77=yes
     20258       lt_cv_prog_compiler_pic_works_F77=yes
    2320120259     fi
    2320220260   fi
    23203    $rm conftest*
    23204 
    23205 fi
    23206 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
    23207 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
    23208 
    23209 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
     20261   $RM conftest*
     20262
     20263fi
     20264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_F77" >&5
     20265$as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
     20266
     20267if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
    2321020268    case $lt_prog_compiler_pic_F77 in
    2321120269     "" | " "*) ;;
     
    2321820276
    2321920277fi
    23220 case $host_os in
    23221   # For platforms which do not support PIC, -DPIC is meaningless:
    23222   *djgpp*)
    23223     lt_prog_compiler_pic_F77=
    23224     ;;
    23225   *)
    23226     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
    23227     ;;
    23228 esac
     20278
     20279
     20280
     20281
    2322920282
    2323020283#
     
    2323220285#
    2323320286wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
    23234 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
    23235 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
    23236 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
    23237   echo $ECHO_N "(cached) $ECHO_C" >&6
    23238 else
    23239   lt_prog_compiler_static_works_F77=no
     20287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
     20288$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
     20289if ${lt_cv_prog_compiler_static_works_F77+:} false; then :
     20290  $as_echo_n "(cached) " >&6
     20291else
     20292  lt_cv_prog_compiler_static_works_F77=no
    2324020293   save_LDFLAGS="$LDFLAGS"
    2324120294   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
    23242    printf "$lt_simple_link_test_code" > conftest.$ac_ext
     20295   echo "$lt_simple_link_test_code" > conftest.$ac_ext
    2324320296   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
    2324420297     # The linker can only warn and ignore the option if not recognized
     
    2324720300       # Append any errors to the config.log.
    2324820301       cat conftest.err 1>&5
    23249        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
     20302       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
    2325020303       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    2325120304       if diff conftest.exp conftest.er2 >/dev/null; then
    23252          lt_prog_compiler_static_works_F77=yes
     20305         lt_cv_prog_compiler_static_works_F77=yes
    2325320306       fi
    2325420307     else
    23255        lt_prog_compiler_static_works_F77=yes
     20308       lt_cv_prog_compiler_static_works_F77=yes
    2325620309     fi
    2325720310   fi
    23258    $rm conftest*
     20311   $RM -r conftest*
    2325920312   LDFLAGS="$save_LDFLAGS"
    2326020313
    2326120314fi
    23262 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
    23263 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
    23264 
    23265 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
     20315{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_F77" >&5
     20316$as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
     20317
     20318if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
    2326620319    :
    2326720320else
     
    2327020323
    2327120324
    23272 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
    23273 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
    23274 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
    23275   echo $ECHO_N "(cached) $ECHO_C" >&6
     20325
     20326
     20327    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
     20328$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
     20329if ${lt_cv_prog_compiler_c_o_F77+:} false; then :
     20330  $as_echo_n "(cached) " >&6
    2327620331else
    2327720332  lt_cv_prog_compiler_c_o_F77=no
    23278    $rm -r conftest 2>/dev/null
     20333   $RM -r conftest 2>/dev/null
    2327920334   mkdir conftest
    2328020335   cd conftest
    2328120336   mkdir out
    23282    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
     20337   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    2328320338
    2328420339   lt_compiler_flag="-o out/conftest2.$ac_objext"
     
    2329120346   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    2329220347   -e 's:$: $lt_compiler_flag:'`
    23293    (eval echo "\"\$as_me:23293: $lt_compile\"" >&5)
     20348   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    2329420349   (eval "$lt_compile" 2>out/conftest.err)
    2329520350   ac_status=$?
    2329620351   cat out/conftest.err >&5
    23297    echo "$as_me:23297: \$? = $ac_status" >&5
     20352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2329820353   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    2329920354   then
    2330020355     # The compiler can only warn and ignore the option if not recognized
    2330120356     # So say no if there are warnings
    23302      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
     20357     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
    2330320358     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
    2330420359     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
     
    2330720362   fi
    2330820363   chmod u+w . 2>&5
    23309    $rm conftest*
     20364   $RM conftest*
    2331020365   # SGI C++ compiler will create directory out/ii_files/ for
    2331120366   # template instantiation
    23312    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
    23313    $rm out/* && rmdir out
     20367   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
     20368   $RM out/* && rmdir out
    2331420369   cd ..
    23315    rmdir conftest
    23316    $rm conftest*
    23317 
    23318 fi
    23319 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
    23320 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
     20370   $RM -r conftest
     20371   $RM conftest*
     20372
     20373fi
     20374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_F77" >&5
     20375$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
     20376
     20377
     20378
     20379    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
     20380$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
     20381if ${lt_cv_prog_compiler_c_o_F77+:} false; then :
     20382  $as_echo_n "(cached) " >&6
     20383else
     20384  lt_cv_prog_compiler_c_o_F77=no
     20385   $RM -r conftest 2>/dev/null
     20386   mkdir conftest
     20387   cd conftest
     20388   mkdir out
     20389   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     20390
     20391   lt_compiler_flag="-o out/conftest2.$ac_objext"
     20392   # Insert the option either (1) after the last *FLAGS variable, or
     20393   # (2) before a word containing "conftest.", or (3) at the end.
     20394   # Note that $ac_compile itself does not contain backslashes and begins
     20395   # with a dollar sign (not a hyphen), so the echo should work correctly.
     20396   lt_compile=`echo "$ac_compile" | $SED \
     20397   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     20398   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     20399   -e 's:$: $lt_compiler_flag:'`
     20400   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
     20401   (eval "$lt_compile" 2>out/conftest.err)
     20402   ac_status=$?
     20403   cat out/conftest.err >&5
     20404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20405   if (exit $ac_status) && test -s out/conftest2.$ac_objext
     20406   then
     20407     # The compiler can only warn and ignore the option if not recognized
     20408     # So say no if there are warnings
     20409     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
     20410     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
     20411     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
     20412       lt_cv_prog_compiler_c_o_F77=yes
     20413     fi
     20414   fi
     20415   chmod u+w . 2>&5
     20416   $RM conftest*
     20417   # SGI C++ compiler will create directory out/ii_files/ for
     20418   # template instantiation
     20419   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
     20420   $RM out/* && rmdir out
     20421   cd ..
     20422   $RM -r conftest
     20423   $RM conftest*
     20424
     20425fi
     20426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_F77" >&5
     20427$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
     20428
     20429
    2332120430
    2332220431
     
    2332420433if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
    2332520434  # do not overwrite the value of need_locks provided by the user
    23326   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
    23327 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
     20435  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
     20436$as_echo_n "checking if we can lock with hard links... " >&6; }
    2332820437  hard_links=yes
    23329   $rm conftest*
     20438  $RM conftest*
    2333020439  ln conftest.a conftest.b 2>/dev/null && hard_links=no
    2333120440  touch conftest.a
    2333220441  ln conftest.a conftest.b 2>&5 || hard_links=no
    2333320442  ln conftest.a conftest.b 2>/dev/null && hard_links=no
    23334   echo "$as_me:$LINENO: result: $hard_links" >&5
    23335 echo "${ECHO_T}$hard_links" >&6
     20443  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
     20444$as_echo "$hard_links" >&6; }
    2333620445  if test "$hard_links" = no; then
    23337     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
    23338 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
     20446    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
     20447$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
    2333920448    need_locks=warn
    2334020449  fi
     
    2334320452fi
    2334420453
    23345 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
    23346 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
     20454
     20455
     20456    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
     20457$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
    2334720458
    2334820459  runpath_var=
    2334920460  allow_undefined_flag_F77=
    23350   enable_shared_with_static_runtimes_F77=no
     20461  always_export_symbols_F77=no
    2335120462  archive_cmds_F77=
    2335220463  archive_expsym_cmds_F77=
    23353   old_archive_From_new_cmds_F77=
    23354   old_archive_from_expsyms_cmds_F77=
     20464  compiler_needs_object_F77=no
     20465  enable_shared_with_static_runtimes_F77=no
    2335520466  export_dynamic_flag_spec_F77=
    23356   whole_archive_flag_spec_F77=
    23357   thread_safe_flag_spec_F77=
     20467  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
     20468  hardcode_automatic_F77=no
     20469  hardcode_direct_F77=no
     20470  hardcode_direct_absolute_F77=no
    2335820471  hardcode_libdir_flag_spec_F77=
    23359   hardcode_libdir_flag_spec_ld_F77=
    2336020472  hardcode_libdir_separator_F77=
    23361   hardcode_direct_F77=no
    2336220473  hardcode_minus_L_F77=no
    2336320474  hardcode_shlibpath_var_F77=unsupported
     20475  inherit_rpath_F77=no
    2336420476  link_all_deplibs_F77=unknown
    23365   hardcode_automatic_F77=no
    2336620477  module_cmds_F77=
    2336720478  module_expsym_cmds_F77=
    23368   always_export_symbols_F77=no
    23369   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
     20479  old_archive_from_new_cmds_F77=
     20480  old_archive_from_expsyms_cmds_F77=
     20481  thread_safe_flag_spec_F77=
     20482  whole_archive_flag_spec_F77=
    2337020483  # include_expsyms should be a list of space-separated symbols to be *always*
    2337120484  # included in the symbol list
     
    2337520488  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
    2337620489  # as well as any symbol that contains `d'.
    23377   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
     20490  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
    2337820491  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
    2337920492  # platforms (ab)use it in PIC code, but their linkers get confused if
     
    2338120494  # rely on this symbol name, it's probably fine to never include it in
    2338220495  # preloaded symbol tables.
     20496  # Exclude shared library initialization/finalization symbols.
    2338320497  extract_expsyms_cmds=
    23384   # Just being paranoid about ensuring that cc_basename is set.
    23385   for cc_temp in $compiler""; do
    23386   case $cc_temp in
    23387     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
    23388     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
    23389     \-*) ;;
    23390     *) break;;
    23391   esac
    23392 done
    23393 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
    2339420498
    2339520499  case $host_os in
    23396   cygwin* | mingw* | pw32*)
     20500  cygwin* | mingw* | pw32* | cegcc*)
    2339720501    # FIXME: the MSVC++ port hasn't been tested in a loooong time
    2339820502    # When not using gcc, we currently assume that we are using
     
    2340920513    with_gnu_ld=no
    2341020514    ;;
     20515  linux* | k*bsd*-gnu | gnu*)
     20516    link_all_deplibs_F77=no
     20517    ;;
    2341120518  esac
    2341220519
    2341320520  ld_shlibs_F77=yes
     20521
     20522  # On some targets, GNU ld is compatible enough with the native linker
     20523  # that we're better off using the native interface for both.
     20524  lt_use_gnu_ld_interface=no
    2341420525  if test "$with_gnu_ld" = yes; then
     20526    case $host_os in
     20527      aix*)
     20528        # The AIX port of GNU ld has always aspired to compatibility
     20529        # with the native linker.  However, as the warning in the GNU ld
     20530        # block says, versions before 2.19.5* couldn't really create working
     20531        # shared libraries, regardless of the interface used.
     20532        case `$LD -v 2>&1` in
     20533          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
     20534          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
     20535          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
     20536          *)
     20537            lt_use_gnu_ld_interface=yes
     20538            ;;
     20539        esac
     20540        ;;
     20541      *)
     20542        lt_use_gnu_ld_interface=yes
     20543        ;;
     20544    esac
     20545  fi
     20546
     20547  if test "$lt_use_gnu_ld_interface" = yes; then
    2341520548    # If archive_cmds runs LD, not CC, wlarc should be empty
    2341620549    wlarc='${wl}'
     
    2342020553    # here allows them to be overridden if necessary.
    2342120554    runpath_var=LD_RUN_PATH
    23422     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
     20555    hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
    2342320556    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
    2342420557    # ancient GNU ld didn't support --whole-archive et. al.
    23425     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
    23426         whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
    23427       else
    23428         whole_archive_flag_spec_F77=
     20558    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
     20559      whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
     20560    else
     20561      whole_archive_flag_spec_F77=
    2342920562    fi
    2343020563    supports_anon_versioning=no
    23431     case `$LD -v 2>/dev/null` in
     20564    case `$LD -v 2>&1` in
     20565      *GNU\ gold*) supports_anon_versioning=yes ;;
    2343220566      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
    2343320567      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
     
    2343920573    # See if GNU ld supports shared libraries.
    2344020574    case $host_os in
    23441     aix3* | aix4* | aix5*)
     20575    aix[3-9]*)
    2344220576      # On AIX/PPC, the GNU linker is very broken
    2344320577      if test "$host_cpu" != ia64; then
    2344420578        ld_shlibs_F77=no
    23445         cat <<EOF 1>&2
    23446 
    23447 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
     20579        cat <<_LT_EOF 1>&2
     20580
     20581*** Warning: the GNU linker, at least up to release 2.19, is reported
    2344820582*** to be unable to reliably create shared libraries on AIX.
    2344920583*** Therefore, libtool is disabling shared libraries support.  If you
    23450 *** really care for shared libraries, you may want to modify your PATH
    23451 *** so that a non-GNU linker is found, and then restart.
    23452 
    23453 EOF
     20584*** really care for shared libraries, you may want to install binutils
     20585*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
     20586*** You will then need to restart the configuration process.
     20587
     20588_LT_EOF
    2345420589      fi
    2345520590      ;;
    2345620591
    2345720592    amigaos*)
    23458       archive_cmds_F77='$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)'
    23459       hardcode_libdir_flag_spec_F77='-L$libdir'
    23460       hardcode_minus_L_F77=yes
    23461 
    23462       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
    23463       # that the semantics of dynamic libraries on AmigaOS, at least up
    23464       # to version 4, is to share data among multiple programs linked
    23465       # with the same dynamic library.  Since this doesn't match the
    23466       # behavior of shared libraries on other platforms, we can't use
    23467       # them.
    23468       ld_shlibs_F77=no
     20593      case $host_cpu in
     20594      powerpc)
     20595            # see comment about AmigaOS4 .so support
     20596            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     20597            archive_expsym_cmds_F77=''
     20598        ;;
     20599      m68k)
     20600            archive_cmds_F77='$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)'
     20601            hardcode_libdir_flag_spec_F77='-L$libdir'
     20602            hardcode_minus_L_F77=yes
     20603        ;;
     20604      esac
    2346920605      ;;
    2347020606
    2347120607    beos*)
    23472       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
     20608      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    2347320609        allow_undefined_flag_F77=unsupported
    2347420610        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
     
    2348020616      ;;
    2348120617
    23482     cygwin* | mingw* | pw32*)
    23483       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
     20618    cygwin* | mingw* | pw32* | cegcc*)
     20619      # _LT_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
    2348420620      # as there is no search path for DLLs.
    2348520621      hardcode_libdir_flag_spec_F77='-L$libdir'
     20622      export_dynamic_flag_spec_F77='${wl}--export-all-symbols'
    2348620623      allow_undefined_flag_F77=unsupported
    2348720624      always_export_symbols_F77=no
    2348820625      enable_shared_with_static_runtimes_F77=yes
    23489       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
    23490 
    23491       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
     20626      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
     20627      exclude_expsyms_F77='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
     20628
     20629      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
    2349220630        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
    2349320631        # If the export-symbols file already is a .def file (1st line
     
    2350520643      ;;
    2350620644
    23507     interix3*)
     20645    haiku*)
     20646      archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     20647      link_all_deplibs_F77=yes
     20648      ;;
     20649
     20650    interix[3-9]*)
    2350820651      hardcode_direct_F77=no
    2350920652      hardcode_shlibpath_var_F77=no
     
    2352020663      ;;
    2352120664
    23522     linux*)
    23523       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    23524         tmp_addflag=
     20665    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
     20666      tmp_diet=no
     20667      if test "$host_os" = linux-dietlibc; then
     20668        case $cc_basename in
     20669          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
     20670        esac
     20671      fi
     20672      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
     20673         && test "$tmp_diet" = no
     20674      then
     20675        tmp_addflag=' $pic_flag'
     20676        tmp_sharedflag='-shared'
    2352520677        case $cc_basename,$host_cpu in
    23526         pgcc*)                          # Portland Group C compiler
    23527           whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
     20678        pgcc*)                          # Portland Group C compiler
     20679          whole_archive_flag_spec_F77='${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'
    2352820680          tmp_addflag=' $pic_flag'
    2352920681          ;;
    23530         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
    23531           whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
     20682        pgf77* | pgf90* | pgf95* | pgfortran*)
     20683                                        # Portland Group f77 and f90 compilers
     20684          whole_archive_flag_spec_F77='${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'
    2353220685          tmp_addflag=' $pic_flag -Mnomain' ;;
    23533         ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
     20686        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
    2353420687          tmp_addflag=' -i_dynamic' ;;
    2353520688        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
     
    2353720690        ifc* | ifort*)                  # Intel Fortran compiler
    2353820691          tmp_addflag=' -nofor_main' ;;
     20692        lf95*)                          # Lahey Fortran 8.1
     20693          whole_archive_flag_spec_F77=
     20694          tmp_sharedflag='--shared' ;;
     20695        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
     20696          tmp_sharedflag='-qmkshrobj'
     20697          tmp_addflag= ;;
     20698        nvcc*)  # Cuda Compiler Driver 2.2
     20699          whole_archive_flag_spec_F77='${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'
     20700          compiler_needs_object_F77=yes
     20701          ;;
    2353920702        esac
    23540         archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    23541 
    23542         if test $supports_anon_versioning = yes; then
    23543           archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
    23544   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    23545   $echo "local: *; };" >> $output_objdir/$libname.ver~
    23546           $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
    23547         fi
     20703        case `$CC -V 2>&1 | sed 5q` in
     20704        *Sun\ C*)                       # Sun C 5.9
     20705          whole_archive_flag_spec_F77='${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'
     20706          compiler_needs_object_F77=yes
     20707          tmp_sharedflag='-G' ;;
     20708        *Sun\ F*)                       # Sun Fortran 8.3
     20709          tmp_sharedflag='-G' ;;
     20710        esac
     20711        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     20712
     20713        if test "x$supports_anon_versioning" = xyes; then
     20714          archive_expsym_cmds_F77='echo "{ global:" > $output_objdir/$libname.ver~
     20715            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     20716            echo "local: *; };" >> $output_objdir/$libname.ver~
     20717            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
     20718        fi
     20719
     20720        case $cc_basename in
     20721        xlf* | bgf* | bgxlf* | mpixlf*)
     20722          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
     20723          whole_archive_flag_spec_F77='--whole-archive$convenience --no-whole-archive'
     20724          hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
     20725          archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
     20726          if test "x$supports_anon_versioning" = xyes; then
     20727            archive_expsym_cmds_F77='echo "{ global:" > $output_objdir/$libname.ver~
     20728              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     20729              echo "local: *; };" >> $output_objdir/$libname.ver~
     20730              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
     20731          fi
     20732          ;;
     20733        esac
    2354820734      else
    23549         ld_shlibs_F77=no
     20735        ld_shlibs_F77=no
    2355020736      fi
    2355120737      ;;
    2355220738
    23553     netbsd*)
    23554       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
     20739    netbsd* | netbsdelf*-gnu)
     20740      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    2355520741        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
    2355620742        wlarc=
    2355720743      else
    23558         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    23559         archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     20744        archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     20745        archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    2356020746      fi
    2356120747      ;;
    2356220748
    2356320749    solaris*)
    23564       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
     20750      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
    2356520751        ld_shlibs_F77=no
    23566         cat <<EOF 1>&2
     20752        cat <<_LT_EOF 1>&2
    2356720753
    2356820754*** Warning: The releases 2.8.* of the GNU linker cannot reliably
     
    2357320759*** used, and then restart.
    2357420760
    23575 EOF
    23576       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    23577         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    23578         archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     20761_LT_EOF
     20762      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
     20763        archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     20764        archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    2357920765      else
    2358020766        ld_shlibs_F77=no
     
    2359820784        ;;
    2359920785        *)
    23600           if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    23601             hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
    23602             archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
    23603             archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
     20786          # For security reasons, it is highly recommended that you always
     20787          # use absolute paths for naming shared libraries, and exclude the
     20788          # DT_RUNPATH tag from executables and libraries.  But doing so
     20789          # requires that you compile everything twice, which is a pain.
     20790          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
     20791            hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
     20792            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     20793            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    2360420794          else
    2360520795            ld_shlibs_F77=no
     
    2361720807
    2361820808    *)
    23619       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    23620         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    23621         archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     20809      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
     20810        archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     20811        archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    2362220812      else
    2362320813        ld_shlibs_F77=no
     
    2364920839      ;;
    2365020840
    23651     aix4* | aix5*)
     20841    aix[4-9]*)
    2365220842      if test "$host_cpu" = ia64; then
    2365320843        # On IA64, the linker does run time linking by default, so we don't
     
    2365920849        # If we're using GNU nm, then we don't want the "-C" option.
    2366020850        # -C means demangle to AIX nm, but means don't demangle with GNU nm
    23661         if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
    23662           export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
     20851        # Also, AIX nm treats weak defined symbols like other global
     20852        # defined symbols, whereas GNU nm marks them as "W".
     20853        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
     20854          export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
    2366320855        else
    23664           export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
     20856          export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
    2366520857        fi
    2366620858        aix_use_runtimelinking=no
     
    2366920861        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
    2367020862        # need to do runtime linking.
    23671         case $host_os in aix4.[23]|aix4.[23].*|aix5*)
     20863        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
    2367220864          for ld_flag in $LDFLAGS; do
    23673           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
    23674             aix_use_runtimelinking=yes
    23675             break
    23676           fi
     20865          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
     20866            aix_use_runtimelinking=yes
     20867            break
     20868          fi
    2367720869          done
    2367820870          ;;
     
    2369120883      archive_cmds_F77=''
    2369220884      hardcode_direct_F77=yes
     20885      hardcode_direct_absolute_F77=yes
    2369320886      hardcode_libdir_separator_F77=':'
    2369420887      link_all_deplibs_F77=yes
     20888      file_list_spec_F77='${wl}-f,'
    2369520889
    2369620890      if test "$GCC" = yes; then
     
    2369920893        # below for broken collect2 doesn't work under 4.3+
    2370020894          collect2name=`${CC} -print-prog-name=collect2`
    23701           if test -f "$collect2name" && \
    23702            strings "$collect2name" | grep resolve_lib_name >/dev/null
     20895          if test -f "$collect2name" &&
     20896           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
    2370320897          then
    23704           # We have reworked collect2
    23705           hardcode_direct_F77=yes
     20898          # We have reworked collect2
     20899          :
    2370620900          else
    23707           # We have old collect2
    23708           hardcode_direct_F77=unsupported
    23709           # It fails to find uninstalled libraries when the uninstalled
    23710           # path is not listed in the libpath.  Setting hardcode_minus_L
    23711           # to unsupported forces relinking
    23712           hardcode_minus_L_F77=yes
    23713           hardcode_libdir_flag_spec_F77='-L$libdir'
    23714           hardcode_libdir_separator_F77=
     20901          # We have old collect2
     20902          hardcode_direct_F77=unsupported
     20903          # It fails to find uninstalled libraries when the uninstalled
     20904          # path is not listed in the libpath.  Setting hardcode_minus_L
     20905          # to unsupported forces relinking
     20906          hardcode_minus_L_F77=yes
     20907          hardcode_libdir_flag_spec_F77='-L$libdir'
     20908          hardcode_libdir_separator_F77=
    2371520909          fi
    2371620910          ;;
     
    2372020914          shared_flag="$shared_flag "'${wl}-G'
    2372120915        fi
     20916        link_all_deplibs_F77=no
    2372220917      else
    2372320918        # not using gcc
    2372420919        if test "$host_cpu" = ia64; then
    23725         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
    23726         # chokes on -Wl,-G. The following line is correct:
     20920        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
     20921        # chokes on -Wl,-G. The following line is correct:
    2372720922          shared_flag='-G'
    2372820923        else
     
    2373520930      fi
    2373620931
     20932      export_dynamic_flag_spec_F77='${wl}-bexpall'
    2373720933      # It seems that -bexpall does not export symbols beginning with
    2373820934      # underscore (_), so it is better to generate a list of symbols to export.
     
    2374220938        # -berok will link without error, but may produce a broken library.
    2374320939        allow_undefined_flag_F77='-berok'
    23744        # Determine the default libpath from the value encoded in an empty executable.
    23745        cat >conftest.$ac_ext <<_ACEOF
     20940        # Determine the default libpath from the value encoded in an
     20941        # empty executable.
     20942        if test "${lt_cv_aix_libpath+set}" = set; then
     20943  aix_libpath=$lt_cv_aix_libpath
     20944else
     20945  if ${lt_cv_aix_libpath__F77+:} false; then :
     20946  $as_echo_n "(cached) " >&6
     20947else
     20948  cat > conftest.$ac_ext <<_ACEOF
    2374620949      program main
    2374720950
    2374820951      end
    2374920952_ACEOF
    23750 rm -f conftest.$ac_objext conftest$ac_exeext
    23751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    23752   (eval $ac_link) 2>conftest.er1
    23753   ac_status=$?
    23754   grep -v '^ *+' conftest.er1 >conftest.err
    23755   rm -f conftest.er1
    23756   cat conftest.err >&5
    23757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23758   (exit $ac_status); } &&
    23759          { ac_try='test -z "$ac_f77_werror_flag"
    23760                          || test ! -s conftest.err'
    23761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23762   (eval $ac_try) 2>&5
    23763   ac_status=$?
    23764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23765   (exit $ac_status); }; } &&
    23766          { ac_try='test -s conftest$ac_exeext'
    23767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23768   (eval $ac_try) 2>&5
    23769   ac_status=$?
    23770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23771   (exit $ac_status); }; }; then
    23772 
    23773 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
    23774 }'`
    23775 # Check for a 64-bit object if we didn't find anything.
    23776 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
    23777 }'`; fi
    23778 else
    23779   echo "$as_me: failed program was:" >&5
    23780 sed 's/^/| /' conftest.$ac_ext >&5
    23781 
    23782 fi
    23783 rm -f conftest.err conftest.$ac_objext \
    23784       conftest$ac_exeext conftest.$ac_ext
    23785 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
    23786 
    23787        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
    23788         archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
    23789        else
     20953if ac_fn_f77_try_link "$LINENO"; then :
     20954
     20955  lt_aix_libpath_sed='
     20956      /Import File Strings/,/^$/ {
     20957          /^0/ {
     20958              s/^0  *\([^ ]*\) *$/\1/
     20959              p
     20960          }
     20961      }'
     20962  lt_cv_aix_libpath__F77=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     20963  # Check for a 64-bit object if we didn't find anything.
     20964  if test -z "$lt_cv_aix_libpath__F77"; then
     20965    lt_cv_aix_libpath__F77=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     20966  fi
     20967fi
     20968rm -f core conftest.err conftest.$ac_objext \
     20969    conftest$ac_exeext conftest.$ac_ext
     20970  if test -z "$lt_cv_aix_libpath__F77"; then
     20971    lt_cv_aix_libpath__F77="/usr/lib:/lib"
     20972  fi
     20973
     20974fi
     20975
     20976  aix_libpath=$lt_cv_aix_libpath__F77
     20977fi
     20978
     20979        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
     20980        archive_expsym_cmds_F77='$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"
     20981      else
    2379020982        if test "$host_cpu" = ia64; then
    2379120983          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
     
    2379320985          archive_expsym_cmds_F77="\$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"
    2379420986        else
    23795          # Determine the default libpath from the value encoded in an empty executable.
    23796          cat >conftest.$ac_ext <<_ACEOF
     20987         # Determine the default libpath from the value encoded in an
     20988         # empty executable.
     20989         if test "${lt_cv_aix_libpath+set}" = set; then
     20990  aix_libpath=$lt_cv_aix_libpath
     20991else
     20992  if ${lt_cv_aix_libpath__F77+:} false; then :
     20993  $as_echo_n "(cached) " >&6
     20994else
     20995  cat > conftest.$ac_ext <<_ACEOF
    2379720996      program main
    2379820997
    2379920998      end
    2380020999_ACEOF
    23801 rm -f conftest.$ac_objext conftest$ac_exeext
    23802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    23803   (eval $ac_link) 2>conftest.er1
    23804   ac_status=$?
    23805   grep -v '^ *+' conftest.er1 >conftest.err
    23806   rm -f conftest.er1
    23807   cat conftest.err >&5
    23808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23809   (exit $ac_status); } &&
    23810          { ac_try='test -z "$ac_f77_werror_flag"
    23811                          || test ! -s conftest.err'
    23812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23813   (eval $ac_try) 2>&5
    23814   ac_status=$?
    23815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23816   (exit $ac_status); }; } &&
    23817          { ac_try='test -s conftest$ac_exeext'
    23818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23819   (eval $ac_try) 2>&5
    23820   ac_status=$?
    23821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23822   (exit $ac_status); }; }; then
    23823 
    23824 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
    23825 }'`
    23826 # Check for a 64-bit object if we didn't find anything.
    23827 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
    23828 }'`; fi
    23829 else
    23830   echo "$as_me: failed program was:" >&5
    23831 sed 's/^/| /' conftest.$ac_ext >&5
    23832 
    23833 fi
    23834 rm -f conftest.err conftest.$ac_objext \
    23835       conftest$ac_exeext conftest.$ac_ext
    23836 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
     21000if ac_fn_f77_try_link "$LINENO"; then :
     21001
     21002  lt_aix_libpath_sed='
     21003      /Import File Strings/,/^$/ {
     21004          /^0/ {
     21005              s/^0  *\([^ ]*\) *$/\1/
     21006              p
     21007          }
     21008      }'
     21009  lt_cv_aix_libpath__F77=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     21010  # Check for a 64-bit object if we didn't find anything.
     21011  if test -z "$lt_cv_aix_libpath__F77"; then
     21012    lt_cv_aix_libpath__F77=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     21013  fi
     21014fi
     21015rm -f core conftest.err conftest.$ac_objext \
     21016    conftest$ac_exeext conftest.$ac_ext
     21017  if test -z "$lt_cv_aix_libpath__F77"; then
     21018    lt_cv_aix_libpath__F77="/usr/lib:/lib"
     21019  fi
     21020
     21021fi
     21022
     21023  aix_libpath=$lt_cv_aix_libpath__F77
     21024fi
    2383721025
    2383821026         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
     
    2384121029          no_undefined_flag_F77=' ${wl}-bernotok'
    2384221030          allow_undefined_flag_F77=' ${wl}-berok'
    23843           # Exported symbols can be pulled into shared objects from archives
    23844           whole_archive_flag_spec_F77='$convenience'
     21031          if test "$with_gnu_ld" = yes; then
     21032            # We only use this code for GNU lds that support --whole-archive.
     21033            whole_archive_flag_spec_F77='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
     21034          else
     21035            # Exported symbols can be pulled into shared objects from archives
     21036            whole_archive_flag_spec_F77='$convenience'
     21037          fi
    2384521038          archive_cmds_need_lc_F77=yes
    2384621039          # This is similar to how AIX traditionally builds its shared libraries.
     
    2385121044
    2385221045    amigaos*)
    23853       archive_cmds_F77='$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)'
    23854       hardcode_libdir_flag_spec_F77='-L$libdir'
    23855       hardcode_minus_L_F77=yes
    23856       # see comment about different semantics on the GNU ld section
    23857       ld_shlibs_F77=no
     21046      case $host_cpu in
     21047      powerpc)
     21048            # see comment about AmigaOS4 .so support
     21049            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     21050            archive_expsym_cmds_F77=''
     21051        ;;
     21052      m68k)
     21053            archive_cmds_F77='$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)'
     21054            hardcode_libdir_flag_spec_F77='-L$libdir'
     21055            hardcode_minus_L_F77=yes
     21056        ;;
     21057      esac
    2385821058      ;;
    2385921059
     
    2386221062      ;;
    2386321063
    23864     cygwin* | mingw* | pw32*)
     21064    cygwin* | mingw* | pw32* | cegcc*)
    2386521065      # When not using gcc, we currently assume that we are using
    2386621066      # Microsoft Visual C++.
    2386721067      # hardcode_libdir_flag_spec is actually meaningless, as there is
    2386821068      # no search path for DLLs.
    23869       hardcode_libdir_flag_spec_F77=' '
    23870       allow_undefined_flag_F77=unsupported
    23871       # Tell ltmain to make .lib files, not .a files.
    23872       libext=lib
    23873       # Tell ltmain to make .dll files, not .so files.
    23874       shrext_cmds=".dll"
    23875       # FIXME: Setting linknames here is a bad hack.
    23876       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
    23877       # The linker will automatically build a .lib file if we build a DLL.
    23878       old_archive_From_new_cmds_F77='true'
    23879       # FIXME: Should let the user specify the lib program.
    23880       old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
    23881       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
    23882       enable_shared_with_static_runtimes_F77=yes
     21069      case $cc_basename in
     21070      cl*)
     21071        # Native MSVC
     21072        hardcode_libdir_flag_spec_F77=' '
     21073        allow_undefined_flag_F77=unsupported
     21074        always_export_symbols_F77=yes
     21075        file_list_spec_F77='@'
     21076        # Tell ltmain to make .lib files, not .a files.
     21077        libext=lib
     21078        # Tell ltmain to make .dll files, not .so files.
     21079        shrext_cmds=".dll"
     21080        # FIXME: Setting linknames here is a bad hack.
     21081        archive_cmds_F77='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
     21082        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
     21083            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
     21084          else
     21085            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
     21086          fi~
     21087          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
     21088          linknames='
     21089        # The linker will not automatically build a static lib if we build a DLL.
     21090        # _LT_TAGVAR(old_archive_from_new_cmds, F77)='true'
     21091        enable_shared_with_static_runtimes_F77=yes
     21092        exclude_expsyms_F77='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
     21093        export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
     21094        # Don't use ranlib
     21095        old_postinstall_cmds_F77='chmod 644 $oldlib'
     21096        postlink_cmds_F77='lt_outputfile="@OUTPUT@"~
     21097          lt_tool_outputfile="@TOOL_OUTPUT@"~
     21098          case $lt_outputfile in
     21099            *.exe|*.EXE) ;;
     21100            *)
     21101              lt_outputfile="$lt_outputfile.exe"
     21102              lt_tool_outputfile="$lt_tool_outputfile.exe"
     21103              ;;
     21104          esac~
     21105          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
     21106            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
     21107            $RM "$lt_outputfile.manifest";
     21108          fi'
     21109        ;;
     21110      *)
     21111        # Assume MSVC wrapper
     21112        hardcode_libdir_flag_spec_F77=' '
     21113        allow_undefined_flag_F77=unsupported
     21114        # Tell ltmain to make .lib files, not .a files.
     21115        libext=lib
     21116        # Tell ltmain to make .dll files, not .so files.
     21117        shrext_cmds=".dll"
     21118        # FIXME: Setting linknames here is a bad hack.
     21119        archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
     21120        # The linker will automatically build a .lib file if we build a DLL.
     21121        old_archive_from_new_cmds_F77='true'
     21122        # FIXME: Should let the user specify the lib program.
     21123        old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
     21124        enable_shared_with_static_runtimes_F77=yes
     21125        ;;
     21126      esac
    2388321127      ;;
    2388421128
    2388521129    darwin* | rhapsody*)
    23886       case $host_os in
    23887         rhapsody* | darwin1.[012])
    23888          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
    23889          ;;
    23890        *) # Darwin 1.3 on
    23891          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
    23892            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
    23893          else
    23894            case ${MACOSX_DEPLOYMENT_TARGET} in
    23895              10.[012])
    23896                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
    23897                ;;
    23898              10.*)
    23899                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
    23900                ;;
    23901            esac
    23902          fi
    23903          ;;
    23904       esac
    23905       archive_cmds_need_lc_F77=no
    23906       hardcode_direct_F77=no
    23907       hardcode_automatic_F77=yes
    23908       hardcode_shlibpath_var_F77=unsupported
    23909       whole_archive_flag_spec_F77=''
    23910       link_all_deplibs_F77=yes
    23911     if test "$GCC" = yes ; then
    23912         output_verbose_link_cmd='echo'
    23913         archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
    23914       module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
    23915       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
    23916       archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    23917       module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    23918     else
    23919       case $cc_basename in
    23920         xlc*)
    23921          output_verbose_link_cmd='echo'
    23922          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
    23923          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
    23924           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
    23925          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    23926           module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    23927           ;;
    23928        *)
    23929          ld_shlibs_F77=no
    23930           ;;
    23931       esac
    23932     fi
     21130
     21131
     21132  archive_cmds_need_lc_F77=no
     21133  hardcode_direct_F77=no
     21134  hardcode_automatic_F77=yes
     21135  hardcode_shlibpath_var_F77=unsupported
     21136  if test "$lt_cv_ld_force_load" = "yes"; then
     21137    whole_archive_flag_spec_F77='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
     21138    compiler_needs_object_F77=yes
     21139  else
     21140    whole_archive_flag_spec_F77=''
     21141  fi
     21142  link_all_deplibs_F77=yes
     21143  allow_undefined_flag_F77="$_lt_dar_allow_undefined"
     21144  case $cc_basename in
     21145     ifort*) _lt_dar_can_shared=yes ;;
     21146     *) _lt_dar_can_shared=$GCC ;;
     21147  esac
     21148  if test "$_lt_dar_can_shared" = "yes"; then
     21149    output_verbose_link_cmd=func_echo_all
     21150    archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
     21151    module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
     21152    archive_expsym_cmds_F77="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}"
     21153    module_expsym_cmds_F77="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}"
     21154
     21155  else
     21156  ld_shlibs_F77=no
     21157  fi
     21158
    2393321159      ;;
    2393421160
     
    2393721163      hardcode_libdir_flag_spec_F77='-L$libdir'
    2393821164      hardcode_shlibpath_var_F77=no
    23939       ;;
    23940 
    23941     freebsd1*)
    23942       ld_shlibs_F77=no
    2394321165      ;;
    2394421166
     
    2395521177
    2395621178    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
    23957     freebsd2*)
     21179    freebsd2.*)
    2395821180      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
    2395921181      hardcode_direct_F77=yes
     
    2396321185
    2396421186    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
    23965     freebsd* | kfreebsd*-gnu | dragonfly*)
    23966       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
     21187    freebsd* | dragonfly*)
     21188      archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    2396721189      hardcode_libdir_flag_spec_F77='-R$libdir'
    2396821190      hardcode_direct_F77=yes
     
    2397221194    hpux9*)
    2397321195      if test "$GCC" = yes; then
    23974         archive_cmds_F77='$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'
     21196        archive_cmds_F77='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
    2397521197      else
    23976         archive_cmds_F77='$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'
     21198        archive_cmds_F77='$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'
    2397721199      fi
    2397821200      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
     
    2398721209
    2398821210    hpux10*)
    23989       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
    23990         archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
     21211      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
     21212        archive_cmds_F77='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    2399121213      else
    2399221214        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
     
    2399521217        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
    2399621218        hardcode_libdir_separator_F77=:
    23997 
    2399821219        hardcode_direct_F77=yes
     21220        hardcode_direct_absolute_F77=yes
    2399921221        export_dynamic_flag_spec_F77='${wl}-E'
    24000 
    2400121222        # hardcode_minus_L: Not really in the search PATH,
    2400221223        # but as the default location of the library.
     
    2400621227
    2400721228    hpux11*)
    24008       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
     21229      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
    2400921230        case $host_cpu in
    2401021231        hppa*64*)
     
    2401221233          ;;
    2401321234        ia64*)
    24014           archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
     21235          archive_cmds_F77='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
    2401521236          ;;
    2401621237        *)
    24017           archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
     21238          archive_cmds_F77='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    2401821239          ;;
    2401921240        esac
     
    2402721248          ;;
    2402821249        *)
    24029           archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
     21250        archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    2403021251          ;;
    2403121252        esac
     
    2403721258        case $host_cpu in
    2403821259        hppa*64*|ia64*)
    24039           hardcode_libdir_flag_spec_ld_F77='+b $libdir'
    2404021260          hardcode_direct_F77=no
    2404121261          hardcode_shlibpath_var_F77=no
     
    2404321263        *)
    2404421264          hardcode_direct_F77=yes
     21265          hardcode_direct_absolute_F77=yes
    2404521266          export_dynamic_flag_spec_F77='${wl}-E'
    2404621267
     
    2405521276    irix5* | irix6* | nonstopux*)
    2405621277      if test "$GCC" = yes; then
    24057         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
     21278        archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
     21279        # Try to use the -exported_symbol ld option, if it does not
     21280        # work, assume that -exports_file does not work either and
     21281        # implicitly export all symbols.
     21282        # This should be the same for all languages, so no per-tag cache variable.
     21283        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
     21284$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
     21285if ${lt_cv_irix_exported_symbol+:} false; then :
     21286  $as_echo_n "(cached) " >&6
     21287else
     21288  save_LDFLAGS="$LDFLAGS"
     21289           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
     21290           cat > conftest.$ac_ext <<_ACEOF
     21291
     21292      subroutine foo
     21293      end
     21294_ACEOF
     21295if ac_fn_f77_try_link "$LINENO"; then :
     21296  lt_cv_irix_exported_symbol=yes
     21297else
     21298  lt_cv_irix_exported_symbol=no
     21299fi
     21300rm -f core conftest.err conftest.$ac_objext \
     21301    conftest$ac_exeext conftest.$ac_ext
     21302           LDFLAGS="$save_LDFLAGS"
     21303fi
     21304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
     21305$as_echo "$lt_cv_irix_exported_symbol" >&6; }
     21306        if test "$lt_cv_irix_exported_symbol" = yes; then
     21307          archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
     21308        fi
    2405821309      else
    24059         archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
    24060         hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
     21310        archive_cmds_F77='$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'
     21311        archive_expsym_cmds_F77='$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'
    2406121312      fi
     21313      archive_cmds_need_lc_F77='no'
    2406221314      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
    2406321315      hardcode_libdir_separator_F77=:
     21316      inherit_rpath_F77=yes
    2406421317      link_all_deplibs_F77=yes
    2406521318      ;;
    2406621319
    24067     netbsd*)
    24068       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
     21320    netbsd* | netbsdelf*-gnu)
     21321      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    2406921322        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
    2407021323      else
     
    2408421337      ;;
    2408521338
     21339    *nto* | *qnx*)
     21340      ;;
     21341
    2408621342    openbsd*)
    24087       hardcode_direct_F77=yes
    24088       hardcode_shlibpath_var_F77=no
    24089       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    24090         archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    24091         archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
    24092         hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
    24093         export_dynamic_flag_spec_F77='${wl}-E'
     21343      if test -f /usr/libexec/ld.so; then
     21344        hardcode_direct_F77=yes
     21345        hardcode_shlibpath_var_F77=no
     21346        hardcode_direct_absolute_F77=yes
     21347        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
     21348          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
     21349          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
     21350          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
     21351          export_dynamic_flag_spec_F77='${wl}-E'
     21352        else
     21353          case $host_os in
     21354           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
     21355             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
     21356             hardcode_libdir_flag_spec_F77='-R$libdir'
     21357             ;;
     21358           *)
     21359             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
     21360             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
     21361             ;;
     21362          esac
     21363        fi
    2409421364      else
    24095        case $host_os in
    24096          openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
    24097            archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
    24098            hardcode_libdir_flag_spec_F77='-R$libdir'
    24099            ;;
    24100          *)
    24101            archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    24102            hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
    24103            ;;
    24104        esac
     21365        ld_shlibs_F77=no
    2410521366      fi
    2410621367      ;;
     
    2411021371      hardcode_minus_L_F77=yes
    2411121372      allow_undefined_flag_F77=unsupported
    24112       archive_cmds_F77='$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'
    24113       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
     21373      archive_cmds_F77='$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'
     21374      old_archive_from_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
    2411421375      ;;
    2411521376
     
    2411721378      if test "$GCC" = yes; then
    2411821379        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
    24119         archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
     21380        archive_cmds_F77='$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'
    2412021381      else
    2412121382        allow_undefined_flag_F77=' -expect_unresolved \*'
    24122         archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
     21383        archive_cmds_F77='$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'
    2412321384      fi
     21385      archive_cmds_need_lc_F77='no'
    2412421386      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
    2412521387      hardcode_libdir_separator_F77=:
     
    2412921391      if test "$GCC" = yes; then
    2413021392        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
    24131         archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
     21393        archive_cmds_F77='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
    2413221394        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
    2413321395      else
    2413421396        allow_undefined_flag_F77=' -expect_unresolved \*'
    24135         archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
    24136         archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
    24137         $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
     21397        archive_cmds_F77='$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'
     21398        archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
     21399        $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'
    2413821400
    2413921401        # Both c and cxx compiler support -rpath directly
    2414021402        hardcode_libdir_flag_spec_F77='-rpath $libdir'
    2414121403      fi
     21404      archive_cmds_need_lc_F77='no'
    2414221405      hardcode_libdir_separator_F77=:
    2414321406      ;;
    2414421407
    2414521408    solaris*)
    24146       no_undefined_flag_F77=' -z text'
     21409      no_undefined_flag_F77=' -z defs'
    2414721410      if test "$GCC" = yes; then
    2414821411        wlarc='${wl}'
    24149         archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
    24150         archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
    24151           $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
     21412        archive_cmds_F77='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
     21413        archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
     21414          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
    2415221415      else
    24153         wlarc=''
    24154         archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
    24155         archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
    24156         $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
     21416        case `$CC -V 2>&1` in
     21417        *"Compilers 5.0"*)
     21418          wlarc=''
     21419          archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
     21420          archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
     21421          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
     21422          ;;
     21423        *)
     21424          wlarc='${wl}'
     21425          archive_cmds_F77='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
     21426          archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
     21427          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
     21428          ;;
     21429        esac
    2415721430      fi
    2415821431      hardcode_libdir_flag_spec_F77='-R$libdir'
     
    2416121434      solaris2.[0-5] | solaris2.[0-5].*) ;;
    2416221435      *)
    24163         # The compiler driver will combine linker options so we
    24164         # cannot just pass the convience library names through
    24165         # without $wl, iff we do not link with $LD.
    24166         # Luckily, gcc supports the same syntax we need for Sun Studio.
    24167         # Supported since Solaris 2.6 (maybe 2.5.1?)
    24168         case $wlarc in
    24169         '')
    24170           whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
    24171         *)
    24172           whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
    24173         esac ;;
     21436        # The compiler driver will combine and reorder linker options,
     21437        # but understands `-z linker_flag'.  GCC discards it without `$wl',
     21438        # but is careful enough not to reorder.
     21439        # Supported since Solaris 2.6 (maybe 2.5.1?)
     21440        if test "$GCC" = yes; then
     21441          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
     21442        else
     21443          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
     21444        fi
     21445        ;;
    2417421446      esac
    2417521447      link_all_deplibs_F77=yes
     
    2422821500      ;;
    2422921501
    24230     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
     21502    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
    2423121503      no_undefined_flag_F77='${wl}-z,text'
    2423221504      archive_cmds_need_lc_F77=no
     
    2425421526      archive_cmds_need_lc_F77=no
    2425521527      hardcode_shlibpath_var_F77=no
    24256       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
     21528      hardcode_libdir_flag_spec_F77='${wl}-R,$libdir'
    2425721529      hardcode_libdir_separator_F77=':'
    2425821530      link_all_deplibs_F77=yes
     
    2426121533
    2426221534      if test "$GCC" = yes; then
    24263         archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
    24264         archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
     21535        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     21536        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    2426521537      else
    24266         archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
    24267         archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
     21538        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     21539        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    2426821540      fi
    2426921541      ;;
     
    2427921551      ;;
    2428021552    esac
     21553
     21554    if test x$host_vendor = xsni; then
     21555      case $host in
     21556      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
     21557        export_dynamic_flag_spec_F77='${wl}-Blargedynsym'
     21558        ;;
     21559      esac
     21560    fi
    2428121561  fi
    2428221562
    24283 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
    24284 echo "${ECHO_T}$ld_shlibs_F77" >&6
     21563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_F77" >&5
     21564$as_echo "$ld_shlibs_F77" >&6; }
    2428521565test "$ld_shlibs_F77" = no && can_build_shared=no
     21566
     21567with_gnu_ld_F77=$with_gnu_ld
     21568
     21569
     21570
     21571
     21572
    2428621573
    2428721574#
     
    2430221589      # systems, -lgcc has to come before -lc. If gcc already passes -lc
    2430321590      # to ld, don't add -lc before -lgcc.
    24304       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
    24305 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
    24306       $rm conftest*
    24307       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
    24308 
    24309       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     21591      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
     21592$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
     21593if ${lt_cv_archive_cmds_need_lc_F77+:} false; then :
     21594  $as_echo_n "(cached) " >&6
     21595else
     21596  $RM conftest*
     21597        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     21598
     21599        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    2431021600  (eval $ac_compile) 2>&5
    2431121601  ac_status=$?
    24312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24313   (exit $ac_status); } 2>conftest.err; then
    24314         soname=conftest
    24315         lib=conftest
    24316         libobjs=conftest.$ac_objext
    24317         deplibs=
    24318         wl=$lt_prog_compiler_wl_F77
    24319         pic_flag=$lt_prog_compiler_pic_F77
    24320         compiler_flags=-v
    24321         linker_flags=-v
    24322         verstring=
    24323         output_objdir=.
    24324         libname=conftest
    24325         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
    24326         allow_undefined_flag_F77=
    24327         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
    24328   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
     21602  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     21603  test $ac_status = 0; } 2>conftest.err; then
     21604          soname=conftest
     21605          lib=conftest
     21606          libobjs=conftest.$ac_objext
     21607          deplibs=
     21608          wl=$lt_prog_compiler_wl_F77
     21609          pic_flag=$lt_prog_compiler_pic_F77
     21610          compiler_flags=-v
     21611          linker_flags=-v
     21612          verstring=
     21613          output_objdir=.
     21614          libname=conftest
     21615          lt_save_allow_undefined_flag=$allow_undefined_flag_F77
     21616          allow_undefined_flag_F77=
     21617          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_F77 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
     21618  (eval $archive_cmds_F77 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
    2432921619  ac_status=$?
    24330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24331   (exit $ac_status); }
    24332         then
    24333           archive_cmds_need_lc_F77=no
    24334         else
    24335           archive_cmds_need_lc_F77=yes
    24336         fi
    24337         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
    24338       else
    24339         cat conftest.err 1>&5
    24340       fi
    24341       $rm conftest*
    24342       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
    24343 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
     21620  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     21621  test $ac_status = 0; }
     21622          then
     21623            lt_cv_archive_cmds_need_lc_F77=no
     21624          else
     21625            lt_cv_archive_cmds_need_lc_F77=yes
     21626          fi
     21627          allow_undefined_flag_F77=$lt_save_allow_undefined_flag
     21628        else
     21629          cat conftest.err 1>&5
     21630        fi
     21631        $RM conftest*
     21632
     21633fi
     21634{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_F77" >&5
     21635$as_echo "$lt_cv_archive_cmds_need_lc_F77" >&6; }
     21636      archive_cmds_need_lc_F77=$lt_cv_archive_cmds_need_lc_F77
    2434421637      ;;
    2434521638    esac
     
    2434821641esac
    2434921642
    24350 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
    24351 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
     21643
     21644
     21645
     21646
     21647
     21648
     21649
     21650
     21651
     21652
     21653
     21654
     21655
     21656
     21657
     21658
     21659
     21660
     21661
     21662
     21663
     21664
     21665
     21666
     21667
     21668
     21669
     21670
     21671
     21672
     21673
     21674
     21675
     21676
     21677
     21678
     21679
     21680
     21681
     21682
     21683
     21684
     21685
     21686
     21687
     21688
     21689
     21690
     21691
     21692
     21693
     21694
     21695
     21696
     21697
     21698
     21699
     21700
     21701
     21702
     21703
     21704    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
     21705$as_echo_n "checking dynamic linker characteristics... " >&6; }
     21706
    2435221707library_names_spec=
    2435321708libname_spec='lib$name'
     
    2436321718dynamic_linker="$host_os ld.so"
    2436421719sys_lib_dlsearch_path_spec="/lib /usr/lib"
    24365 if test "$GCC" = yes; then
    24366   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
    24367   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
    24368     # if the path contains ";" then we assume it to be the separator
    24369     # otherwise default to the standard path separator (i.e. ":") - it is
    24370     # assumed that no part of a normal pathname contains ";" but that should
    24371     # okay in the real world where ";" in dirpaths is itself problematic.
    24372     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
    24373   else
    24374     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
    24375   fi
    24376 else
    24377   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
    24378 fi
    2437921720need_lib_prefix=unknown
    2438021721hardcode_into_libs=no
     
    2438621727case $host_os in
    2438721728aix3*)
    24388   version_type=linux
     21729  version_type=linux # correct to gnu/linux during the next big refactor
    2438921730  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
    2439021731  shlibpath_var=LIBPATH
     
    2439421735  ;;
    2439521736
    24396 aix4* | aix5*)
    24397   version_type=linux
     21737aix[4-9]*)
     21738  version_type=linux # correct to gnu/linux during the next big refactor
    2439821739  need_lib_prefix=no
    2439921740  need_version=no
     
    2441321754      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
    2441421755           echo ' yes '
    24415            echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
     21756           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
    2441621757        :
    2441721758      else
     
    2443921780
    2444021781amigaos*)
    24441   library_names_spec='$libname.ixlibrary $libname.a'
    24442   # Create ${libname}_ixlibrary.a entries in /sys/libs.
    24443   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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'
     21782  case $host_cpu in
     21783  powerpc)
     21784    # Since July 2007 AmigaOS4 officially supports .so libraries.
     21785    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
     21786    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     21787    ;;
     21788  m68k)
     21789    library_names_spec='$libname.ixlibrary $libname.a'
     21790    # Create ${libname}_ixlibrary.a entries in /sys/libs.
     21791    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'
     21792    ;;
     21793  esac
    2444421794  ;;
    2444521795
     
    2445121801
    2445221802bsdi[45]*)
    24453   version_type=linux
     21803  version_type=linux # correct to gnu/linux during the next big refactor
    2445421804  need_version=no
    2445521805  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     
    2446421814  ;;
    2446521815
    24466 cygwin* | mingw* | pw32*)
     21816cygwin* | mingw* | pw32* | cegcc*)
    2446721817  version_type=windows
    2446821818  shrext_cmds=".dll"
     
    2447021820  need_lib_prefix=no
    2447121821
    24472   case $GCC,$host_os in
    24473   yes,cygwin* | yes,mingw* | yes,pw32*)
     21822  case $GCC,$cc_basename in
     21823  yes,*)
     21824    # gcc
    2447421825    library_names_spec='$libname.dll.a'
    2447521826    # DLL is installed to $(libdir)/../bin by postinstall_cmds
    2447621827    postinstall_cmds='base_file=`basename \${file}`~
    24477       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
     21828      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
    2447821829      dldir=$destdir/`dirname \$dlpath`~
    2447921830      test -d \$dldir || mkdir -p \$dldir~
    2448021831      $install_prog $dir/$dlname \$dldir/$dlname~
    24481       chmod a+x \$dldir/$dlname'
     21832      chmod a+x \$dldir/$dlname~
     21833      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
     21834        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
     21835      fi'
    2448221836    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
    2448321837      dlpath=$dir/\$dldll~
    24484        $rm \$dlpath'
     21838       $RM \$dlpath'
    2448521839    shlibpath_overrides_runpath=yes
    2448621840
     
    2448921843      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
    2449021844      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
    24491       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
     21845
    2449221846      ;;
    24493     mingw*)
     21847    mingw* | cegcc*)
    2449421848      # MinGW DLLs use traditional 'lib' prefix
    2449521849      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
    24496       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
    24497       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
    24498         # It is most probably a Windows format PATH printed by
    24499         # mingw gcc, but we are running on Cygwin. Gcc prints its search
    24500         # path with ; separators, and with drive letters. We can handle the
    24501         # drive letters (cygwin fileutils understands them), so leave them,
    24502         # especially as we might pass files found there to a mingw objdump,
    24503         # which wouldn't understand a cygwinified path. Ahh.
    24504         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
    24505       else
    24506         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
    24507       fi
    2450821850      ;;
    2450921851    pw32*)
     
    2451221854      ;;
    2451321855    esac
     21856    dynamic_linker='Win32 ld.exe'
    2451421857    ;;
    2451521858
    24516   linux*)
    24517     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
    24518       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    24519       supports_anon_versioning=no
    24520       case `$LD -v 2>/dev/null` in
    24521         *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
    24522         *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
    24523         *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
    24524         *\ 2.11.*) ;; # other 2.11 versions
    24525         *) supports_anon_versioning=yes ;;
    24526       esac
    24527       if test $supports_anon_versioning = yes; then
    24528         archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
    24529 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    24530 $echo "local: *; };" >> $output_objdir/$libname.ver~
    24531         $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
     21859  *,cl*)
     21860    # Native MSVC
     21861    libname_spec='$name'
     21862    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
     21863    library_names_spec='${libname}.dll.lib'
     21864
     21865    case $build_os in
     21866    mingw*)
     21867      sys_lib_search_path_spec=
     21868      lt_save_ifs=$IFS
     21869      IFS=';'
     21870      for lt_path in $LIB
     21871      do
     21872        IFS=$lt_save_ifs
     21873        # Let DOS variable expansion print the short 8.3 style file name.
     21874        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
     21875        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
     21876      done
     21877      IFS=$lt_save_ifs
     21878      # Convert to MSYS style.
     21879      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
     21880      ;;
     21881    cygwin*)
     21882      # Convert to unix form, then to dos form, then back to unix form
     21883      # but this time dos style (no spaces!) so that the unix form looks
     21884      # like /cygdrive/c/PROGRA~1:/cygdr...
     21885      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
     21886      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
     21887      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
     21888      ;;
     21889    *)
     21890      sys_lib_search_path_spec="$LIB"
     21891      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
     21892        # It is most probably a Windows format PATH.
     21893        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
    2453221894      else
    24533         $archive_expsym_cmds="$archive_cmds"
     21895        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
    2453421896      fi
    24535     else
    24536       ld_shlibs=no
    24537     fi
     21897      # FIXME: find the short name or the path components, as spaces are
     21898      # common. (e.g. "Program Files" -> "PROGRA~1")
     21899      ;;
     21900    esac
     21901
     21902    # DLL is installed to $(libdir)/../bin by postinstall_cmds
     21903    postinstall_cmds='base_file=`basename \${file}`~
     21904      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
     21905      dldir=$destdir/`dirname \$dlpath`~
     21906      test -d \$dldir || mkdir -p \$dldir~
     21907      $install_prog $dir/$dlname \$dldir/$dlname'
     21908    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
     21909      dlpath=$dir/\$dldll~
     21910       $RM \$dlpath'
     21911    shlibpath_overrides_runpath=yes
     21912    dynamic_linker='Win32 link.exe'
    2453821913    ;;
    2453921914
    2454021915  *)
     21916    # Assume MSVC wrapper
    2454121917    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
     21918    dynamic_linker='Win32 ld.exe'
    2454221919    ;;
    2454321920  esac
    24544   dynamic_linker='Win32 ld.exe'
    2454521921  # FIXME: first we should search . and the directory the executable is in
    2454621922  shlibpath_var=PATH
     
    2455221928  need_lib_prefix=no
    2455321929  need_version=no
    24554   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
     21930  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
    2455521931  soname_spec='${libname}${release}${major}$shared_ext'
    2455621932  shlibpath_overrides_runpath=yes
    2455721933  shlibpath_var=DYLD_LIBRARY_PATH
    2455821934  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
    24559   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
    24560   if test "$GCC" = yes; then
    24561     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
    24562   else
    24563     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
    24564   fi
     21935
    2456521936  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
    2456621937  ;;
    2456721938
    2456821939dgux*)
    24569   version_type=linux
     21940  version_type=linux # correct to gnu/linux during the next big refactor
    2457021941  need_lib_prefix=no
    2457121942  need_version=no
     
    2457321944  soname_spec='${libname}${release}${shared_ext}$major'
    2457421945  shlibpath_var=LD_LIBRARY_PATH
    24575   ;;
    24576 
    24577 freebsd1*)
    24578   dynamic_linker=no
    24579   ;;
    24580 
    24581 kfreebsd*-gnu)
    24582   version_type=linux
    24583   need_lib_prefix=no
    24584   need_version=no
    24585   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    24586   soname_spec='${libname}${release}${shared_ext}$major'
    24587   shlibpath_var=LD_LIBRARY_PATH
    24588   shlibpath_overrides_runpath=no
    24589   hardcode_into_libs=yes
    24590   dynamic_linker='GNU ld.so'
    2459121946  ;;
    2459221947
     
    2459821953  else
    2459921954    case $host_os in
    24600     freebsd[123]*) objformat=aout ;;
     21955    freebsd[23].*) objformat=aout ;;
    2460121956    *) objformat=elf ;;
    2460221957    esac
    2460321958  fi
    24604   # Handle Gentoo/FreeBSD as it was Linux
    24605   case $host_vendor in
    24606     gentoo)
    24607       version_type=linux ;;
    24608     *)
    24609       version_type=freebsd-$objformat ;;
    24610   esac
    24611 
     21959  version_type=freebsd-$objformat
    2461221960  case $version_type in
    2461321961    freebsd-elf*)
     
    2462021968      need_version=yes
    2462121969      ;;
    24622     linux)
    24623       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    24624       soname_spec='${libname}${release}${shared_ext}$major'
    24625       need_lib_prefix=no
    24626       need_version=no
    24627       ;;
    2462821970  esac
    2462921971  shlibpath_var=LD_LIBRARY_PATH
    2463021972  case $host_os in
    24631   freebsd2*)
     21973  freebsd2.*)
    2463221974    shlibpath_overrides_runpath=yes
    2463321975    ;;
     
    2464121983    hardcode_into_libs=yes
    2464221984    ;;
    24643   freebsd*) # from 4.6 on
     21985  *) # from 4.6 on, and DragonFly
    2464421986    shlibpath_overrides_runpath=yes
    2464521987    hardcode_into_libs=yes
     
    2464821990  ;;
    2464921991
    24650 gnu*)
    24651   version_type=linux
     21992haiku*)
     21993  version_type=linux # correct to gnu/linux during the next big refactor
    2465221994  need_lib_prefix=no
    2465321995  need_version=no
     21996  dynamic_linker="$host_os runtime_loader"
    2465421997  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
    2465521998  soname_spec='${libname}${release}${shared_ext}$major'
    24656   shlibpath_var=LD_LIBRARY_PATH
     21999  shlibpath_var=LIBRARY_PATH
     22000  shlibpath_overrides_runpath=yes
     22001  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
    2465722002  hardcode_into_libs=yes
    2465822003  ;;
     
    2468022025    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    2468122026    ;;
    24682    hppa*64*)
    24683      shrext_cmds='.sl'
    24684      hardcode_into_libs=yes
    24685      dynamic_linker="$host_os dld.sl"
    24686      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
    24687      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    24688      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    24689      soname_spec='${libname}${release}${shared_ext}$major'
    24690      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
    24691      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    24692      ;;
    24693    *)
     22027  hppa*64*)
     22028    shrext_cmds='.sl'
     22029    hardcode_into_libs=yes
     22030    dynamic_linker="$host_os dld.sl"
     22031    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
     22032    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
     22033    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     22034    soname_spec='${libname}${release}${shared_ext}$major'
     22035    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
     22036    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     22037    ;;
     22038  *)
    2469422039    shrext_cmds='.sl'
    2469522040    dynamic_linker="$host_os dld.sl"
     
    2470022045    ;;
    2470122046  esac
    24702   # HP-UX runs *really* slowly unless shared libraries are mode 555.
     22047  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
    2470322048  postinstall_cmds='chmod 555 $lib'
     22049  # or fails outright, so override atomically:
     22050  install_override_mode=555
    2470422051  ;;
    2470522052
    24706 interix3*)
    24707   version_type=linux
     22053interix[3-9]*)
     22054  version_type=linux # correct to gnu/linux during the next big refactor
    2470822055  need_lib_prefix=no
    2470922056  need_version=no
     
    2472122068    *)
    2472222069        if test "$lt_cv_prog_gnu_ld" = yes; then
    24723                 version_type=linux
     22070                version_type=linux # correct to gnu/linux during the next big refactor
    2472422071        else
    2472522072                version_type=irix
     
    2475822105  ;;
    2475922106
    24760 # This must be Linux ELF.
    24761 linux*)
    24762   version_type=linux
     22107# This must be glibc/ELF.
     22108linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
     22109  version_type=linux # correct to gnu/linux during the next big refactor
    2476322110  need_lib_prefix=no
    2476422111  need_version=no
     
    2476822115  shlibpath_var=LD_LIBRARY_PATH
    2476922116  shlibpath_overrides_runpath=no
     22117
     22118  # Some binutils ld are patched to set DT_RUNPATH
     22119  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
     22120  $as_echo_n "(cached) " >&6
     22121else
     22122  lt_cv_shlibpath_overrides_runpath=no
     22123    save_LDFLAGS=$LDFLAGS
     22124    save_libdir=$libdir
     22125    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_F77\"; \
     22126         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_F77\""
     22127    cat > conftest.$ac_ext <<_ACEOF
     22128      program main
     22129
     22130      end
     22131_ACEOF
     22132if ac_fn_f77_try_link "$LINENO"; then :
     22133  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
     22134  lt_cv_shlibpath_overrides_runpath=yes
     22135fi
     22136fi
     22137rm -f core conftest.err conftest.$ac_objext \
     22138    conftest$ac_exeext conftest.$ac_ext
     22139    LDFLAGS=$save_LDFLAGS
     22140    libdir=$save_libdir
     22141
     22142fi
     22143
     22144  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
     22145
    2477022146  # This implies no fast_install, which is unacceptable.
    2477122147  # Some rework will be needed to allow for fast_install
     
    2477522151  # Append ld.so.conf contents to the search path
    2477622152  if test -f /etc/ld.so.conf; then
    24777     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
     22153    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' ' '`
    2477822154    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
    2477922155  fi
     
    2478822164  ;;
    2478922165
    24790 knetbsd*-gnu)
     22166netbsdelf*-gnu)
    2479122167  version_type=linux
    2479222168  need_lib_prefix=no
     
    2479722173  shlibpath_overrides_runpath=no
    2479822174  hardcode_into_libs=yes
    24799   dynamic_linker='GNU ld.so'
     22175  dynamic_linker='NetBSD ld.elf_so'
    2480022176  ;;
    2480122177
     
    2480422180  need_lib_prefix=no
    2480522181  need_version=no
    24806   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
     22182  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    2480722183    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
    2480822184    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
     
    2481922195
    2482022196newsos6)
    24821   version_type=linux
     22197  version_type=linux # correct to gnu/linux during the next big refactor
    2482222198  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2482322199  shlibpath_var=LD_LIBRARY_PATH
     
    2482522201  ;;
    2482622202
    24827 nto-qnx*)
    24828   version_type=linux
     22203*nto* | *qnx*)
     22204  version_type=qnx
    2482922205  need_lib_prefix=no
    2483022206  need_version=no
     
    2483222208  soname_spec='${libname}${release}${shared_ext}$major'
    2483322209  shlibpath_var=LD_LIBRARY_PATH
    24834   shlibpath_overrides_runpath=yes
     22210  shlibpath_overrides_runpath=no
     22211  hardcode_into_libs=yes
     22212  dynamic_linker='ldqnx.so'
    2483522213  ;;
    2483622214
     
    2484122219  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
    2484222220  case $host_os in
    24843     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
    24844     *)                         need_version=no  ;;
     22221    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
     22222    *)                          need_version=no  ;;
    2484522223  esac
    2484622224  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
    2484722225  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    2484822226  shlibpath_var=LD_LIBRARY_PATH
    24849   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
     22227  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    2485022228    case $host_os in
    2485122229      openbsd2.[89] | openbsd2.[89].*)
     
    2488122259  ;;
    2488222260
     22261rdos*)
     22262  dynamic_linker=no
     22263  ;;
     22264
    2488322265solaris*)
    24884   version_type=linux
     22266  version_type=linux # correct to gnu/linux during the next big refactor
    2488522267  need_lib_prefix=no
    2488622268  need_version=no
     
    2490722289
    2490822290sysv4 | sysv4.3*)
    24909   version_type=linux
     22291  version_type=linux # correct to gnu/linux during the next big refactor
    2491022292  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2491122293  soname_spec='${libname}${release}${shared_ext}$major'
     
    2491522297      shlibpath_overrides_runpath=no
    2491622298      need_lib_prefix=no
    24917       export_dynamic_flag_spec='${wl}-Blargedynsym'
    2491822299      runpath_var=LD_RUN_PATH
    2491922300      ;;
     
    2493222313sysv4*MP*)
    2493322314  if test -d /usr/nec ;then
    24934     version_type=linux
     22315    version_type=linux # correct to gnu/linux during the next big refactor
    2493522316    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
    2493622317    soname_spec='$libname${shared_ext}.$major'
     
    2494622327  soname_spec='${libname}${release}${shared_ext}$major'
    2494722328  shlibpath_var=LD_LIBRARY_PATH
     22329  shlibpath_overrides_runpath=yes
    2494822330  hardcode_into_libs=yes
    2494922331  if test "$with_gnu_ld" = yes; then
    2495022332    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
    24951     shlibpath_overrides_runpath=no
    2495222333  else
    2495322334    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
    24954     shlibpath_overrides_runpath=yes
    2495522335    case $host_os in
    2495622336      sco3.2v5*)
     
    2496222342  ;;
    2496322343
     22344tpf*)
     22345  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
     22346  version_type=linux # correct to gnu/linux during the next big refactor
     22347  need_lib_prefix=no
     22348  need_version=no
     22349  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     22350  shlibpath_var=LD_LIBRARY_PATH
     22351  shlibpath_overrides_runpath=no
     22352  hardcode_into_libs=yes
     22353  ;;
     22354
    2496422355uts4*)
    24965   version_type=linux
     22356  version_type=linux # correct to gnu/linux during the next big refactor
    2496622357  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2496722358  soname_spec='${libname}${release}${shared_ext}$major'
     
    2497322364  ;;
    2497422365esac
    24975 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
    24976 echo "${ECHO_T}$dynamic_linker" >&6
     22366{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
     22367$as_echo "$dynamic_linker" >&6; }
    2497722368test "$dynamic_linker" = no && can_build_shared=no
    2497822369
     
    2498222373fi
    2498322374
    24984 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
    24985 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
     22375if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
     22376  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
     22377fi
     22378if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
     22379  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
     22380fi
     22381
     22382
     22383
     22384
     22385
     22386
     22387
     22388
     22389
     22390
     22391
     22392
     22393
     22394
     22395
     22396
     22397
     22398
     22399
     22400
     22401
     22402
     22403
     22404
     22405
     22406
     22407
     22408
     22409
     22410
     22411
     22412
     22413
     22414
     22415
     22416
     22417
     22418
     22419    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
     22420$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
    2498622421hardcode_action_F77=
    24987 if test -n "$hardcode_libdir_flag_spec_F77" || \
    24988    test -n "$runpath_var_F77" || \
     22422if test -n "$hardcode_libdir_flag_spec_F77" ||
     22423   test -n "$runpath_var_F77" ||
    2498922424   test "X$hardcode_automatic_F77" = "Xyes" ; then
    2499022425
    24991   # We can hardcode non-existant directories.
     22426  # We can hardcode non-existent directories.
    2499222427  if test "$hardcode_direct_F77" != no &&
    2499322428     # If the only mechanism to avoid hardcoding is shlibpath_var, we
    2499422429     # have to relink, otherwise we might link with an installed library
    2499522430     # when we should be linking with a yet-to-be-installed one
    24996      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
     22431     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
    2499722432     test "$hardcode_minus_L_F77" != no; then
    2499822433    # Linking always hardcodes the temporary library directory.
     
    2500722442  hardcode_action_F77=unsupported
    2500822443fi
    25009 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
    25010 echo "${ECHO_T}$hardcode_action_F77" >&6
    25011 
    25012 if test "$hardcode_action_F77" = relink; then
     22444{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_F77" >&5
     22445$as_echo "$hardcode_action_F77" >&6; }
     22446
     22447if test "$hardcode_action_F77" = relink ||
     22448   test "$inherit_rpath_F77" = yes; then
    2501322449  # Fast installation is not supported
    2501422450  enable_fast_install=no
     
    2502022456
    2502122457
    25022 # The else clause should only fire when bootstrapping the
    25023 # libtool distribution, otherwise you forgot to ship ltmain.sh
    25024 # with your package, and you will get complaints that there are
    25025 # no rules to generate ltmain.sh.
    25026 if test -f "$ltmain"; then
    25027   # See if we are running on zsh, and set the options which allow our commands through
    25028   # without removal of \ escapes.
    25029   if test -n "${ZSH_VERSION+set}" ; then
    25030     setopt NO_GLOB_SUBST
    25031   fi
    25032   # Now quote all the things that may contain metacharacters while being
    25033   # careful not to overquote the AC_SUBSTed values.  We take copies of the
    25034   # variables and quote the copies for generation of the libtool script.
    25035   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
    25036     SED SHELL STRIP \
    25037     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
    25038     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
    25039     deplibs_check_method reload_flag reload_cmds need_locks \
    25040     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
    25041     lt_cv_sys_global_symbol_to_c_name_address \
    25042     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
    25043     old_postinstall_cmds old_postuninstall_cmds \
    25044     compiler_F77 \
    25045     CC_F77 \
    25046     LD_F77 \
    25047     lt_prog_compiler_wl_F77 \
    25048     lt_prog_compiler_pic_F77 \
    25049     lt_prog_compiler_static_F77 \
    25050     lt_prog_compiler_no_builtin_flag_F77 \
    25051     export_dynamic_flag_spec_F77 \
    25052     thread_safe_flag_spec_F77 \
    25053     whole_archive_flag_spec_F77 \
    25054     enable_shared_with_static_runtimes_F77 \
    25055     old_archive_cmds_F77 \
    25056     old_archive_from_new_cmds_F77 \
    25057     predep_objects_F77 \
    25058     postdep_objects_F77 \
    25059     predeps_F77 \
    25060     postdeps_F77 \
    25061     compiler_lib_search_path_F77 \
    25062     archive_cmds_F77 \
    25063     archive_expsym_cmds_F77 \
    25064     postinstall_cmds_F77 \
    25065     postuninstall_cmds_F77 \
    25066     old_archive_from_expsyms_cmds_F77 \
    25067     allow_undefined_flag_F77 \
    25068     no_undefined_flag_F77 \
    25069     export_symbols_cmds_F77 \
    25070     hardcode_libdir_flag_spec_F77 \
    25071     hardcode_libdir_flag_spec_ld_F77 \
    25072     hardcode_libdir_separator_F77 \
    25073     hardcode_automatic_F77 \
    25074     module_cmds_F77 \
    25075     module_expsym_cmds_F77 \
    25076     lt_cv_prog_compiler_c_o_F77 \
    25077     exclude_expsyms_F77 \
    25078     include_expsyms_F77; do
    25079 
    25080     case $var in
    25081     old_archive_cmds_F77 | \
    25082     old_archive_from_new_cmds_F77 | \
    25083     archive_cmds_F77 | \
    25084     archive_expsym_cmds_F77 | \
    25085     module_cmds_F77 | \
    25086     module_expsym_cmds_F77 | \
    25087     old_archive_from_expsyms_cmds_F77 | \
    25088     export_symbols_cmds_F77 | \
    25089     extract_expsyms_cmds | reload_cmds | finish_cmds | \
    25090     postinstall_cmds | postuninstall_cmds | \
    25091     old_postinstall_cmds | old_postuninstall_cmds | \
    25092     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
    25093       # Double-quote double-evaled strings.
    25094       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
    25095       ;;
    25096     *)
    25097       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
    25098       ;;
    25099     esac
    25100   done
    25101 
    25102   case $lt_echo in
    25103   *'\$0 --fallback-echo"')
    25104     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
    25105     ;;
    25106   esac
    25107 
    25108 cfgfile="$ofile"
    25109 
    25110   cat <<__EOF__ >> "$cfgfile"
    25111 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
    25112 
    25113 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
    25114 
    25115 # Shell to use when invoking shell scripts.
    25116 SHELL=$lt_SHELL
    25117 
    25118 # Whether or not to build shared libraries.
    25119 build_libtool_libs=$enable_shared
    25120 
    25121 # Whether or not to build static libraries.
    25122 build_old_libs=$enable_static
    25123 
    25124 # Whether or not to add -lc for building shared libraries.
    25125 build_libtool_need_lc=$archive_cmds_need_lc_F77
    25126 
    25127 # Whether or not to disallow shared libs when runtime libs are static
    25128 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
    25129 
    25130 # Whether or not to optimize for fast installation.
    25131 fast_install=$enable_fast_install
    25132 
    25133 # The host system.
    25134 host_alias=$host_alias
    25135 host=$host
    25136 host_os=$host_os
    25137 
    25138 # The build system.
    25139 build_alias=$build_alias
    25140 build=$build
    25141 build_os=$build_os
    25142 
    25143 # An echo program that does not interpret backslashes.
    25144 echo=$lt_echo
    25145 
    25146 # The archiver.
    25147 AR=$lt_AR
    25148 AR_FLAGS=$lt_AR_FLAGS
    25149 
    25150 # A C compiler.
    25151 LTCC=$lt_LTCC
    25152 
    25153 # LTCC compiler flags.
    25154 LTCFLAGS=$lt_LTCFLAGS
    25155 
    25156 # A language-specific compiler.
    25157 CC=$lt_compiler_F77
    25158 
    25159 # Is the compiler the GNU C compiler?
    25160 with_gcc=$GCC_F77
    25161 
    25162 # An ERE matcher.
    25163 EGREP=$lt_EGREP
    25164 
    25165 # The linker used to build libraries.
    25166 LD=$lt_LD_F77
    25167 
    25168 # Whether we need hard or soft links.
    25169 LN_S=$lt_LN_S
    25170 
    25171 # A BSD-compatible nm program.
    25172 NM=$lt_NM
    25173 
    25174 # A symbol stripping program
    25175 STRIP=$lt_STRIP
    25176 
    25177 # Used to examine libraries when file_magic_cmd begins "file"
    25178 MAGIC_CMD=$MAGIC_CMD
    25179 
    25180 # Used on cygwin: DLL creation program.
    25181 DLLTOOL="$DLLTOOL"
    25182 
    25183 # Used on cygwin: object dumper.
    25184 OBJDUMP="$OBJDUMP"
    25185 
    25186 # Used on cygwin: assembler.
    25187 AS="$AS"
    25188 
    25189 # The name of the directory that contains temporary libtool files.
    25190 objdir=$objdir
    25191 
    25192 # How to create reloadable object files.
    25193 reload_flag=$lt_reload_flag
    25194 reload_cmds=$lt_reload_cmds
    25195 
    25196 # How to pass a linker flag through the compiler.
    25197 wl=$lt_lt_prog_compiler_wl_F77
    25198 
    25199 # Object file suffix (normally "o").
    25200 objext="$ac_objext"
    25201 
    25202 # Old archive suffix (normally "a").
    25203 libext="$libext"
    25204 
    25205 # Shared library suffix (normally ".so").
    25206 shrext_cmds='$shrext_cmds'
    25207 
    25208 # Executable file suffix (normally "").
    25209 exeext="$exeext"
    25210 
    25211 # Additional compiler flags for building library objects.
    25212 pic_flag=$lt_lt_prog_compiler_pic_F77
    25213 pic_mode=$pic_mode
    25214 
    25215 # What is the maximum length of a command?
    25216 max_cmd_len=$lt_cv_sys_max_cmd_len
    25217 
    25218 # Does compiler simultaneously support -c and -o options?
    25219 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
    25220 
    25221 # Must we lock files when doing compilation?
    25222 need_locks=$lt_need_locks
    25223 
    25224 # Do we need the lib prefix for modules?
    25225 need_lib_prefix=$need_lib_prefix
    25226 
    25227 # Do we need a version for libraries?
    25228 need_version=$need_version
    25229 
    25230 # Whether dlopen is supported.
    25231 dlopen_support=$enable_dlopen
    25232 
    25233 # Whether dlopen of programs is supported.
    25234 dlopen_self=$enable_dlopen_self
    25235 
    25236 # Whether dlopen of statically linked programs is supported.
    25237 dlopen_self_static=$enable_dlopen_self_static
    25238 
    25239 # Compiler flag to prevent dynamic linking.
    25240 link_static_flag=$lt_lt_prog_compiler_static_F77
    25241 
    25242 # Compiler flag to turn off builtin functions.
    25243 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
    25244 
    25245 # Compiler flag to allow reflexive dlopens.
    25246 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
    25247 
    25248 # Compiler flag to generate shared objects directly from archives.
    25249 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
    25250 
    25251 # Compiler flag to generate thread-safe objects.
    25252 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
    25253 
    25254 # Library versioning type.
    25255 version_type=$version_type
    25256 
    25257 # Format of library name prefix.
    25258 libname_spec=$lt_libname_spec
    25259 
    25260 # List of archive names.  First name is the real one, the rest are links.
    25261 # The last name is the one that the linker finds with -lNAME.
    25262 library_names_spec=$lt_library_names_spec
    25263 
    25264 # The coded name of the library, if different from the real name.
    25265 soname_spec=$lt_soname_spec
    25266 
    25267 # Commands used to build and install an old-style archive.
    25268 RANLIB=$lt_RANLIB
    25269 old_archive_cmds=$lt_old_archive_cmds_F77
    25270 old_postinstall_cmds=$lt_old_postinstall_cmds
    25271 old_postuninstall_cmds=$lt_old_postuninstall_cmds
    25272 
    25273 # Create an old-style archive from a shared archive.
    25274 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
    25275 
    25276 # Create a temporary old-style archive to link instead of a shared archive.
    25277 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
    25278 
    25279 # Commands used to build and install a shared archive.
    25280 archive_cmds=$lt_archive_cmds_F77
    25281 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
    25282 postinstall_cmds=$lt_postinstall_cmds
    25283 postuninstall_cmds=$lt_postuninstall_cmds
    25284 
    25285 # Commands used to build a loadable module (assumed same as above if empty)
    25286 module_cmds=$lt_module_cmds_F77
    25287 module_expsym_cmds=$lt_module_expsym_cmds_F77
    25288 
    25289 # Commands to strip libraries.
    25290 old_striplib=$lt_old_striplib
    25291 striplib=$lt_striplib
    25292 
    25293 # Dependencies to place before the objects being linked to create a
    25294 # shared library.
    25295 predep_objects=$lt_predep_objects_F77
    25296 
    25297 # Dependencies to place after the objects being linked to create a
    25298 # shared library.
    25299 postdep_objects=$lt_postdep_objects_F77
    25300 
    25301 # Dependencies to place before the objects being linked to create a
    25302 # shared library.
    25303 predeps=$lt_predeps_F77
    25304 
    25305 # Dependencies to place after the objects being linked to create a
    25306 # shared library.
    25307 postdeps=$lt_postdeps_F77
    25308 
    25309 # The library search path used internally by the compiler when linking
    25310 # a shared library.
    25311 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
    25312 
    25313 # Method to check whether dependent libraries are shared objects.
    25314 deplibs_check_method=$lt_deplibs_check_method
    25315 
    25316 # Command to use when deplibs_check_method == file_magic.
    25317 file_magic_cmd=$lt_file_magic_cmd
    25318 
    25319 # Flag that allows shared libraries with undefined symbols to be built.
    25320 allow_undefined_flag=$lt_allow_undefined_flag_F77
    25321 
    25322 # Flag that forces no undefined symbols.
    25323 no_undefined_flag=$lt_no_undefined_flag_F77
    25324 
    25325 # Commands used to finish a libtool library installation in a directory.
    25326 finish_cmds=$lt_finish_cmds
    25327 
    25328 # Same as above, but a single script fragment to be evaled but not shown.
    25329 finish_eval=$lt_finish_eval
    25330 
    25331 # Take the output of nm and produce a listing of raw symbols and C names.
    25332 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
    25333 
    25334 # Transform the output of nm in a proper C declaration
    25335 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
    25336 
    25337 # Transform the output of nm in a C name address pair
    25338 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
    25339 
    25340 # This is the shared library runtime path variable.
    25341 runpath_var=$runpath_var
    25342 
    25343 # This is the shared library path variable.
    25344 shlibpath_var=$shlibpath_var
    25345 
    25346 # Is shlibpath searched before the hard-coded library search path?
    25347 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
    25348 
    25349 # How to hardcode a shared library path into an executable.
    25350 hardcode_action=$hardcode_action_F77
    25351 
    25352 # Whether we should hardcode library paths into libraries.
    25353 hardcode_into_libs=$hardcode_into_libs
    25354 
    25355 # Flag to hardcode \$libdir into a binary during linking.
    25356 # This must work even if \$libdir does not exist.
    25357 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
    25358 
    25359 # If ld is used when linking, flag to hardcode \$libdir into
    25360 # a binary during linking. This must work even if \$libdir does
    25361 # not exist.
    25362 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
    25363 
    25364 # Whether we need a single -rpath flag with a separated argument.
    25365 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
    25366 
    25367 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
    25368 # resulting binary.
    25369 hardcode_direct=$hardcode_direct_F77
    25370 
    25371 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
    25372 # resulting binary.
    25373 hardcode_minus_L=$hardcode_minus_L_F77
    25374 
    25375 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
    25376 # the resulting binary.
    25377 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
    25378 
    25379 # Set to yes if building a shared library automatically hardcodes DIR into the library
    25380 # and all subsequent libraries and executables linked against it.
    25381 hardcode_automatic=$hardcode_automatic_F77
    25382 
    25383 # Variables whose values should be saved in libtool wrapper scripts and
    25384 # restored at relink time.
    25385 variables_saved_for_relink="$variables_saved_for_relink"
    25386 
    25387 # Whether libtool must link a program against all its dependency libraries.
    25388 link_all_deplibs=$link_all_deplibs_F77
    25389 
    25390 # Compile-time system search path for libraries
    25391 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
    25392 
    25393 # Run-time system search path for libraries
    25394 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
    25395 
    25396 # Fix the shell variable \$srcfile for the compiler.
    25397 fix_srcfile_path="$fix_srcfile_path_F77"
    25398 
    25399 # Set to yes if exported symbols are required.
    25400 always_export_symbols=$always_export_symbols_F77
    25401 
    25402 # The commands to list exported symbols.
    25403 export_symbols_cmds=$lt_export_symbols_cmds_F77
    25404 
    25405 # The commands to extract the exported symbol list from a shared archive.
    25406 extract_expsyms_cmds=$lt_extract_expsyms_cmds
    25407 
    25408 # Symbols that should not be listed in the preloaded symbols.
    25409 exclude_expsyms=$lt_exclude_expsyms_F77
    25410 
    25411 # Symbols that must always be exported.
    25412 include_expsyms=$lt_include_expsyms_F77
    25413 
    25414 # ### END LIBTOOL TAG CONFIG: $tagname
    25415 
    25416 __EOF__
    25417 
    25418 
    25419 else
    25420   # If there is no Makefile yet, we rely on a make rule to execute
    25421   # `config.status --recheck' to rerun these tests and create the
    25422   # libtool script then.
    25423   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
    25424   if test -f "$ltmain_in"; then
    25425     test -f Makefile && make "$ltmain"
    25426   fi
    25427 fi
    25428 
     22458
     22459
     22460
     22461
     22462
     22463  fi # test -n "$compiler"
     22464
     22465  GCC=$lt_save_GCC
     22466  CC="$lt_save_CC"
     22467  CFLAGS="$lt_save_CFLAGS"
     22468fi # test "$_lt_disable_F77" != yes
    2542922469
    2543022470ac_ext=c
     
    2543422474ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2543522475
    25436 CC="$lt_save_CC"
    25437 
    25438         else
    25439           tagname=""
    25440         fi
    25441         ;;
    25442 
    25443       GCJ)
    25444         if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
    25445 
    25446 
    25447 
    25448 # Source file extension for Java test sources.
    25449 ac_ext=java
    25450 
    25451 # Object file extension for compiled Java test sources.
    25452 objext=o
    25453 objext_GCJ=$objext
    25454 
    25455 # Code to be used in simple compile tests
    25456 lt_simple_compile_test_code="class foo {}\n"
    25457 
    25458 # Code to be used in simple link tests
    25459 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
    25460 
    25461 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
    25462 
    25463 # If no C compiler was specified, use CC.
    25464 LTCC=${LTCC-"$CC"}
    25465 
    25466 # If no C compiler flags were specified, use CFLAGS.
    25467 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
    25468 
    25469 # Allow CC to be a program name with arguments.
    25470 compiler=$CC
    25471 
    25472 
    25473 # save warnings/boilerplate of simple test code
    25474 ac_outfile=conftest.$ac_objext
    25475 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
    25476 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
    25477 _lt_compiler_boilerplate=`cat conftest.err`
    25478 $rm conftest*
    25479 
    25480 ac_outfile=conftest.$ac_objext
    25481 printf "$lt_simple_link_test_code" >conftest.$ac_ext
    25482 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
    25483 _lt_linker_boilerplate=`cat conftest.err`
    25484 $rm conftest*
    25485 
    25486 
    25487 # Allow CC to be a program name with arguments.
    25488 lt_save_CC="$CC"
    25489 CC=${GCJ-"gcj"}
    25490 compiler=$CC
    25491 compiler_GCJ=$CC
    25492 for cc_temp in $compiler""; do
    25493   case $cc_temp in
    25494     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
    25495     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
    25496     \-*) ;;
    25497     *) break;;
    25498   esac
    25499 done
    25500 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
    25501 
    25502 
    25503 # GCJ did not exist at the time GCC didn't implicitly link libc in.
    25504 archive_cmds_need_lc_GCJ=no
    25505 
    25506 old_archive_cmds_GCJ=$old_archive_cmds
    25507 
    25508 ## CAVEAT EMPTOR:
    25509 ## There is no encapsulation within the following macros, do not change
    25510 ## the running order or otherwise move them around unless you know exactly
    25511 ## what you are doing...
    25512 
    25513 lt_prog_compiler_no_builtin_flag_GCJ=
    25514 
    25515 if test "$GCC" = yes; then
    25516   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
    25517 
    25518 
    25519 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
    25520 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
    25521 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
    25522   echo $ECHO_N "(cached) $ECHO_C" >&6
    25523 else
    25524   lt_cv_prog_compiler_rtti_exceptions=no
    25525   ac_outfile=conftest.$ac_objext
    25526    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
    25527    lt_compiler_flag="-fno-rtti -fno-exceptions"
    25528    # Insert the option either (1) after the last *FLAGS variable, or
    25529    # (2) before a word containing "conftest.", or (3) at the end.
    25530    # Note that $ac_compile itself does not contain backslashes and begins
    25531    # with a dollar sign (not a hyphen), so the echo should work correctly.
    25532    # The option is referenced via a variable to avoid confusing sed.
    25533    lt_compile=`echo "$ac_compile" | $SED \
    25534    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    25535    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    25536    -e 's:$: $lt_compiler_flag:'`
    25537    (eval echo "\"\$as_me:25537: $lt_compile\"" >&5)
    25538    (eval "$lt_compile" 2>conftest.err)
    25539    ac_status=$?
    25540    cat conftest.err >&5
    25541    echo "$as_me:25541: \$? = $ac_status" >&5
    25542    if (exit $ac_status) && test -s "$ac_outfile"; then
    25543      # The compiler can only warn and ignore the option if not recognized
    25544      # So say no if there are warnings other than the usual output.
    25545      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
    25546      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    25547      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
    25548        lt_cv_prog_compiler_rtti_exceptions=yes
    25549      fi
    25550    fi
    25551    $rm conftest*
    25552 
    25553 fi
    25554 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
    25555 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
    25556 
    25557 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
    25558     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
    25559 else
    25560     :
    25561 fi
    25562 
    25563 fi
    25564 
    25565 lt_prog_compiler_wl_GCJ=
    25566 lt_prog_compiler_pic_GCJ=
    25567 lt_prog_compiler_static_GCJ=
    25568 
    25569 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
    25570 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
    25571 
    25572   if test "$GCC" = yes; then
    25573     lt_prog_compiler_wl_GCJ='-Wl,'
    25574     lt_prog_compiler_static_GCJ='-static'
    25575 
    25576     case $host_os in
    25577       aix*)
    25578       # All AIX code is PIC.
    25579       if test "$host_cpu" = ia64; then
    25580         # AIX 5 now supports IA64 processor
    25581         lt_prog_compiler_static_GCJ='-Bstatic'
    25582       fi
    25583       ;;
    25584 
    25585     amigaos*)
    25586       # FIXME: we need at least 68020 code to build shared libraries, but
    25587       # adding the `-m68020' flag to GCC prevents building anything better,
    25588       # like `-m68040'.
    25589       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
    25590       ;;
    25591 
    25592     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
    25593       # PIC is the default for these OSes.
    25594       ;;
    25595 
    25596     mingw* | pw32* | os2*)
    25597       # This hack is so that the source file can tell whether it is being
    25598       # built for inclusion in a dll (and should export symbols for example).
    25599       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
    25600       ;;
    25601 
    25602     darwin* | rhapsody*)
    25603       # PIC is the default on this platform
    25604       # Common symbols not allowed in MH_DYLIB files
    25605       lt_prog_compiler_pic_GCJ='-fno-common'
    25606       ;;
    25607 
    25608     interix3*)
    25609       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
    25610       # Instead, we relocate shared libraries at runtime.
    25611       ;;
    25612 
    25613     msdosdjgpp*)
    25614       # Just because we use GCC doesn't mean we suddenly get shared libraries
    25615       # on systems that don't support them.
    25616       lt_prog_compiler_can_build_shared_GCJ=no
    25617       enable_shared=no
    25618       ;;
    25619 
    25620     sysv4*MP*)
    25621       if test -d /usr/nec; then
    25622         lt_prog_compiler_pic_GCJ=-Kconform_pic
    25623       fi
    25624       ;;
    25625 
    25626     hpux*)
    25627       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
    25628       # not for PA HP-UX.
    25629       case $host_cpu in
    25630       hppa*64*|ia64*)
    25631         # +Z the default
    25632         ;;
    25633       *)
    25634         lt_prog_compiler_pic_GCJ='-fPIC'
    25635         ;;
    25636       esac
    25637       ;;
    25638 
    25639     *)
    25640       lt_prog_compiler_pic_GCJ='-fPIC'
    25641       ;;
    25642     esac
    25643   else
    25644     # PORTME Check for flag to pass linker flags through the system compiler.
    25645     case $host_os in
    25646     aix*)
    25647       lt_prog_compiler_wl_GCJ='-Wl,'
    25648       if test "$host_cpu" = ia64; then
    25649         # AIX 5 now supports IA64 processor
    25650         lt_prog_compiler_static_GCJ='-Bstatic'
    25651       else
    25652         lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
    25653       fi
    25654       ;;
    25655       darwin*)
    25656         # PIC is the default on this platform
    25657         # Common symbols not allowed in MH_DYLIB files
    25658        case $cc_basename in
    25659          xlc*)
    25660          lt_prog_compiler_pic_GCJ='-qnocommon'
    25661          lt_prog_compiler_wl_GCJ='-Wl,'
    25662          ;;
    25663        esac
    25664        ;;
    25665 
    25666     mingw* | pw32* | os2*)
    25667       # This hack is so that the source file can tell whether it is being
    25668       # built for inclusion in a dll (and should export symbols for example).
    25669       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
    25670       ;;
    25671 
    25672     hpux9* | hpux10* | hpux11*)
    25673       lt_prog_compiler_wl_GCJ='-Wl,'
    25674       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
    25675       # not for PA HP-UX.
    25676       case $host_cpu in
    25677       hppa*64*|ia64*)
    25678         # +Z the default
    25679         ;;
    25680       *)
    25681         lt_prog_compiler_pic_GCJ='+Z'
    25682         ;;
    25683       esac
    25684       # Is there a better lt_prog_compiler_static that works with the bundled CC?
    25685       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
    25686       ;;
    25687 
    25688     irix5* | irix6* | nonstopux*)
    25689       lt_prog_compiler_wl_GCJ='-Wl,'
    25690       # PIC (with -KPIC) is the default.
    25691       lt_prog_compiler_static_GCJ='-non_shared'
    25692       ;;
    25693 
    25694     newsos6)
    25695       lt_prog_compiler_pic_GCJ='-KPIC'
    25696       lt_prog_compiler_static_GCJ='-Bstatic'
    25697       ;;
    25698 
    25699     linux*)
    25700       case $cc_basename in
    25701       icc* | ecc*)
    25702         lt_prog_compiler_wl_GCJ='-Wl,'
    25703         lt_prog_compiler_pic_GCJ='-KPIC'
    25704         lt_prog_compiler_static_GCJ='-static'
    25705         ;;
    25706       pgcc* | pgf77* | pgf90* | pgf95*)
    25707         # Portland Group compilers (*not* the Pentium gcc compiler,
    25708         # which looks to be a dead project)
    25709         lt_prog_compiler_wl_GCJ='-Wl,'
    25710         lt_prog_compiler_pic_GCJ='-fpic'
    25711         lt_prog_compiler_static_GCJ='-Bstatic'
    25712         ;;
    25713       ccc*)
    25714         lt_prog_compiler_wl_GCJ='-Wl,'
    25715         # All Alpha code is PIC.
    25716         lt_prog_compiler_static_GCJ='-non_shared'
    25717         ;;
    25718       esac
    25719       ;;
    25720 
    25721     osf3* | osf4* | osf5*)
    25722       lt_prog_compiler_wl_GCJ='-Wl,'
    25723       # All OSF/1 code is PIC.
    25724       lt_prog_compiler_static_GCJ='-non_shared'
    25725       ;;
    25726 
    25727     solaris*)
    25728       lt_prog_compiler_pic_GCJ='-KPIC'
    25729       lt_prog_compiler_static_GCJ='-Bstatic'
    25730       case $cc_basename in
    25731       f77* | f90* | f95*)
    25732         lt_prog_compiler_wl_GCJ='-Qoption ld ';;
    25733       *)
    25734         lt_prog_compiler_wl_GCJ='-Wl,';;
    25735       esac
    25736       ;;
    25737 
    25738     sunos4*)
    25739       lt_prog_compiler_wl_GCJ='-Qoption ld '
    25740       lt_prog_compiler_pic_GCJ='-PIC'
    25741       lt_prog_compiler_static_GCJ='-Bstatic'
    25742       ;;
    25743 
    25744     sysv4 | sysv4.2uw2* | sysv4.3*)
    25745       lt_prog_compiler_wl_GCJ='-Wl,'
    25746       lt_prog_compiler_pic_GCJ='-KPIC'
    25747       lt_prog_compiler_static_GCJ='-Bstatic'
    25748       ;;
    25749 
    25750     sysv4*MP*)
    25751       if test -d /usr/nec ;then
    25752         lt_prog_compiler_pic_GCJ='-Kconform_pic'
    25753         lt_prog_compiler_static_GCJ='-Bstatic'
    25754       fi
    25755       ;;
    25756 
    25757     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
    25758       lt_prog_compiler_wl_GCJ='-Wl,'
    25759       lt_prog_compiler_pic_GCJ='-KPIC'
    25760       lt_prog_compiler_static_GCJ='-Bstatic'
    25761       ;;
    25762 
    25763     unicos*)
    25764       lt_prog_compiler_wl_GCJ='-Wl,'
    25765       lt_prog_compiler_can_build_shared_GCJ=no
    25766       ;;
    25767 
    25768     uts4*)
    25769       lt_prog_compiler_pic_GCJ='-pic'
    25770       lt_prog_compiler_static_GCJ='-Bstatic'
    25771       ;;
    25772 
    25773     *)
    25774       lt_prog_compiler_can_build_shared_GCJ=no
    25775       ;;
    25776     esac
    25777   fi
    25778 
    25779 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
    25780 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
    25781 
    25782 #
    25783 # Check to make sure the PIC flag actually works.
    25784 #
    25785 if test -n "$lt_prog_compiler_pic_GCJ"; then
    25786 
    25787 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
    25788 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
    25789 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
    25790   echo $ECHO_N "(cached) $ECHO_C" >&6
    25791 else
    25792   lt_prog_compiler_pic_works_GCJ=no
    25793   ac_outfile=conftest.$ac_objext
    25794    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
    25795    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
    25796    # Insert the option either (1) after the last *FLAGS variable, or
    25797    # (2) before a word containing "conftest.", or (3) at the end.
    25798    # Note that $ac_compile itself does not contain backslashes and begins
    25799    # with a dollar sign (not a hyphen), so the echo should work correctly.
    25800    # The option is referenced via a variable to avoid confusing sed.
    25801    lt_compile=`echo "$ac_compile" | $SED \
    25802    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    25803    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    25804    -e 's:$: $lt_compiler_flag:'`
    25805    (eval echo "\"\$as_me:25805: $lt_compile\"" >&5)
    25806    (eval "$lt_compile" 2>conftest.err)
    25807    ac_status=$?
    25808    cat conftest.err >&5
    25809    echo "$as_me:25809: \$? = $ac_status" >&5
    25810    if (exit $ac_status) && test -s "$ac_outfile"; then
    25811      # The compiler can only warn and ignore the option if not recognized
    25812      # So say no if there are warnings other than the usual output.
    25813      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
    25814      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    25815      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
    25816        lt_prog_compiler_pic_works_GCJ=yes
    25817      fi
    25818    fi
    25819    $rm conftest*
    25820 
    25821 fi
    25822 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
    25823 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
    25824 
    25825 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
    25826     case $lt_prog_compiler_pic_GCJ in
    25827      "" | " "*) ;;
    25828      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
    25829      esac
    25830 else
    25831     lt_prog_compiler_pic_GCJ=
    25832      lt_prog_compiler_can_build_shared_GCJ=no
    25833 fi
    25834 
    25835 fi
    25836 case $host_os in
    25837   # For platforms which do not support PIC, -DPIC is meaningless:
    25838   *djgpp*)
    25839     lt_prog_compiler_pic_GCJ=
    25840     ;;
    25841   *)
    25842     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
    25843     ;;
    25844 esac
    25845 
    25846 #
    25847 # Check to make sure the static flag actually works.
    25848 #
    25849 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
    25850 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
    25851 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
    25852 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
    25853   echo $ECHO_N "(cached) $ECHO_C" >&6
    25854 else
    25855   lt_prog_compiler_static_works_GCJ=no
    25856    save_LDFLAGS="$LDFLAGS"
    25857    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
    25858    printf "$lt_simple_link_test_code" > conftest.$ac_ext
    25859    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
    25860      # The linker can only warn and ignore the option if not recognized
    25861      # So say no if there are warnings
    25862      if test -s conftest.err; then
    25863        # Append any errors to the config.log.
    25864        cat conftest.err 1>&5
    25865        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
    25866        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    25867        if diff conftest.exp conftest.er2 >/dev/null; then
    25868          lt_prog_compiler_static_works_GCJ=yes
    25869        fi
    25870      else
    25871        lt_prog_compiler_static_works_GCJ=yes
    25872      fi
    25873    fi
    25874    $rm conftest*
    25875    LDFLAGS="$save_LDFLAGS"
    25876 
    25877 fi
    25878 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
    25879 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
    25880 
    25881 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
    25882     :
    25883 else
    25884     lt_prog_compiler_static_GCJ=
    25885 fi
    25886 
    25887 
    25888 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
    25889 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
    25890 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
    25891   echo $ECHO_N "(cached) $ECHO_C" >&6
    25892 else
    25893   lt_cv_prog_compiler_c_o_GCJ=no
    25894    $rm -r conftest 2>/dev/null
    25895    mkdir conftest
    25896    cd conftest
    25897    mkdir out
    25898    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
    25899 
    25900    lt_compiler_flag="-o out/conftest2.$ac_objext"
    25901    # Insert the option either (1) after the last *FLAGS variable, or
    25902    # (2) before a word containing "conftest.", or (3) at the end.
    25903    # Note that $ac_compile itself does not contain backslashes and begins
    25904    # with a dollar sign (not a hyphen), so the echo should work correctly.
    25905    lt_compile=`echo "$ac_compile" | $SED \
    25906    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    25907    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    25908    -e 's:$: $lt_compiler_flag:'`
    25909    (eval echo "\"\$as_me:25909: $lt_compile\"" >&5)
    25910    (eval "$lt_compile" 2>out/conftest.err)
    25911    ac_status=$?
    25912    cat out/conftest.err >&5
    25913    echo "$as_me:25913: \$? = $ac_status" >&5
    25914    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    25915    then
    25916      # The compiler can only warn and ignore the option if not recognized
    25917      # So say no if there are warnings
    25918      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
    25919      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
    25920      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
    25921        lt_cv_prog_compiler_c_o_GCJ=yes
    25922      fi
    25923    fi
    25924    chmod u+w . 2>&5
    25925    $rm conftest*
    25926    # SGI C++ compiler will create directory out/ii_files/ for
    25927    # template instantiation
    25928    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
    25929    $rm out/* && rmdir out
    25930    cd ..
    25931    rmdir conftest
    25932    $rm conftest*
    25933 
    25934 fi
    25935 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
    25936 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
    25937 
    25938 
    25939 hard_links="nottested"
    25940 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
    25941   # do not overwrite the value of need_locks provided by the user
    25942   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
    25943 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
    25944   hard_links=yes
    25945   $rm conftest*
    25946   ln conftest.a conftest.b 2>/dev/null && hard_links=no
    25947   touch conftest.a
    25948   ln conftest.a conftest.b 2>&5 || hard_links=no
    25949   ln conftest.a conftest.b 2>/dev/null && hard_links=no
    25950   echo "$as_me:$LINENO: result: $hard_links" >&5
    25951 echo "${ECHO_T}$hard_links" >&6
    25952   if test "$hard_links" = no; then
    25953     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
    25954 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
    25955     need_locks=warn
    25956   fi
    25957 else
    25958   need_locks=no
    25959 fi
    25960 
    25961 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
    25962 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
    25963 
    25964   runpath_var=
    25965   allow_undefined_flag_GCJ=
    25966   enable_shared_with_static_runtimes_GCJ=no
    25967   archive_cmds_GCJ=
    25968   archive_expsym_cmds_GCJ=
    25969   old_archive_From_new_cmds_GCJ=
    25970   old_archive_from_expsyms_cmds_GCJ=
    25971   export_dynamic_flag_spec_GCJ=
    25972   whole_archive_flag_spec_GCJ=
    25973   thread_safe_flag_spec_GCJ=
    25974   hardcode_libdir_flag_spec_GCJ=
    25975   hardcode_libdir_flag_spec_ld_GCJ=
    25976   hardcode_libdir_separator_GCJ=
    25977   hardcode_direct_GCJ=no
    25978   hardcode_minus_L_GCJ=no
    25979   hardcode_shlibpath_var_GCJ=unsupported
    25980   link_all_deplibs_GCJ=unknown
    25981   hardcode_automatic_GCJ=no
    25982   module_cmds_GCJ=
    25983   module_expsym_cmds_GCJ=
    25984   always_export_symbols_GCJ=no
    25985   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
    25986   # include_expsyms should be a list of space-separated symbols to be *always*
    25987   # included in the symbol list
    25988   include_expsyms_GCJ=
    25989   # exclude_expsyms can be an extended regexp of symbols to exclude
    25990   # it will be wrapped by ` (' and `)$', so one must not match beginning or
    25991   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
    25992   # as well as any symbol that contains `d'.
    25993   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
    25994   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
    25995   # platforms (ab)use it in PIC code, but their linkers get confused if
    25996   # the symbol is explicitly referenced.  Since portable code cannot
    25997   # rely on this symbol name, it's probably fine to never include it in
    25998   # preloaded symbol tables.
    25999   extract_expsyms_cmds=
    26000   # Just being paranoid about ensuring that cc_basename is set.
    26001   for cc_temp in $compiler""; do
    26002   case $cc_temp in
    26003     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
    26004     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
    26005     \-*) ;;
    26006     *) break;;
    26007   esac
    26008 done
    26009 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
    26010 
    26011   case $host_os in
    26012   cygwin* | mingw* | pw32*)
    26013     # FIXME: the MSVC++ port hasn't been tested in a loooong time
    26014     # When not using gcc, we currently assume that we are using
    26015     # Microsoft Visual C++.
    26016     if test "$GCC" != yes; then
    26017       with_gnu_ld=no
    26018     fi
    26019     ;;
    26020   interix*)
    26021     # we just hope/assume this is gcc and not c89 (= MSVC++)
    26022     with_gnu_ld=yes
    26023     ;;
    26024   openbsd*)
    26025     with_gnu_ld=no
    26026     ;;
    26027   esac
    26028 
    26029   ld_shlibs_GCJ=yes
    26030   if test "$with_gnu_ld" = yes; then
    26031     # If archive_cmds runs LD, not CC, wlarc should be empty
    26032     wlarc='${wl}'
    26033 
    26034     # Set some defaults for GNU ld with shared library support. These
    26035     # are reset later if shared libraries are not supported. Putting them
    26036     # here allows them to be overridden if necessary.
    26037     runpath_var=LD_RUN_PATH
    26038     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
    26039     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
    26040     # ancient GNU ld didn't support --whole-archive et. al.
    26041     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
    26042         whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
    26043       else
    26044         whole_archive_flag_spec_GCJ=
    26045     fi
    26046     supports_anon_versioning=no
    26047     case `$LD -v 2>/dev/null` in
    26048       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
    26049       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
    26050       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
    26051       *\ 2.11.*) ;; # other 2.11 versions
    26052       *) supports_anon_versioning=yes ;;
    26053     esac
    26054 
    26055     # See if GNU ld supports shared libraries.
    26056     case $host_os in
    26057     aix3* | aix4* | aix5*)
    26058       # On AIX/PPC, the GNU linker is very broken
    26059       if test "$host_cpu" != ia64; then
    26060         ld_shlibs_GCJ=no
    26061         cat <<EOF 1>&2
    26062 
    26063 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
    26064 *** to be unable to reliably create shared libraries on AIX.
    26065 *** Therefore, libtool is disabling shared libraries support.  If you
    26066 *** really care for shared libraries, you may want to modify your PATH
    26067 *** so that a non-GNU linker is found, and then restart.
    26068 
    26069 EOF
    26070       fi
    26071       ;;
    26072 
    26073     amigaos*)
    26074       archive_cmds_GCJ='$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)'
    26075       hardcode_libdir_flag_spec_GCJ='-L$libdir'
    26076       hardcode_minus_L_GCJ=yes
    26077 
    26078       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
    26079       # that the semantics of dynamic libraries on AmigaOS, at least up
    26080       # to version 4, is to share data among multiple programs linked
    26081       # with the same dynamic library.  Since this doesn't match the
    26082       # behavior of shared libraries on other platforms, we can't use
    26083       # them.
    26084       ld_shlibs_GCJ=no
    26085       ;;
    26086 
    26087     beos*)
    26088       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    26089         allow_undefined_flag_GCJ=unsupported
    26090         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
    26091         # support --undefined.  This deserves some investigation.  FIXME
    26092         archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    26093       else
    26094         ld_shlibs_GCJ=no
    26095       fi
    26096       ;;
    26097 
    26098     cygwin* | mingw* | pw32*)
    26099       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
    26100       # as there is no search path for DLLs.
    26101       hardcode_libdir_flag_spec_GCJ='-L$libdir'
    26102       allow_undefined_flag_GCJ=unsupported
    26103       always_export_symbols_GCJ=no
    26104       enable_shared_with_static_runtimes_GCJ=yes
    26105       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
    26106 
    26107       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
    26108         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
    26109         # If the export-symbols file already is a .def file (1st line
    26110         # is EXPORTS), use it as is; otherwise, prepend...
    26111         archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
    26112           cp $export_symbols $output_objdir/$soname.def;
    26113         else
    26114           echo EXPORTS > $output_objdir/$soname.def;
    26115           cat $export_symbols >> $output_objdir/$soname.def;
    26116         fi~
    26117         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
    26118       else
    26119         ld_shlibs_GCJ=no
    26120       fi
    26121       ;;
    26122 
    26123     interix3*)
    26124       hardcode_direct_GCJ=no
    26125       hardcode_shlibpath_var_GCJ=no
    26126       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
    26127       export_dynamic_flag_spec_GCJ='${wl}-E'
    26128       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
    26129       # Instead, shared libraries are loaded at an image base (0x10000000 by
    26130       # default) and relocated if they conflict, which is a slow very memory
    26131       # consuming and fragmenting process.  To avoid this, we pick a random,
    26132       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
    26133       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
    26134       archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
    26135       archive_expsym_cmds_GCJ='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'
    26136       ;;
    26137 
    26138     linux*)
    26139       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    26140         tmp_addflag=
    26141         case $cc_basename,$host_cpu in
    26142         pgcc*)                          # Portland Group C compiler
    26143           whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
    26144           tmp_addflag=' $pic_flag'
    26145           ;;
    26146         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
    26147           whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
    26148           tmp_addflag=' $pic_flag -Mnomain' ;;
    26149         ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
    26150           tmp_addflag=' -i_dynamic' ;;
    26151         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
    26152           tmp_addflag=' -i_dynamic -nofor_main' ;;
    26153         ifc* | ifort*)                  # Intel Fortran compiler
    26154           tmp_addflag=' -nofor_main' ;;
    26155         esac
    26156         archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    26157 
    26158         if test $supports_anon_versioning = yes; then
    26159           archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
    26160   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    26161   $echo "local: *; };" >> $output_objdir/$libname.ver~
    26162           $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
    26163         fi
    26164       else
    26165         ld_shlibs_GCJ=no
    26166       fi
    26167       ;;
    26168 
    26169     netbsd*)
    26170       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
    26171         archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
    26172         wlarc=
    26173       else
    26174         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    26175         archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    26176       fi
    26177       ;;
    26178 
    26179     solaris*)
    26180       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
    26181         ld_shlibs_GCJ=no
    26182         cat <<EOF 1>&2
    26183 
    26184 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
    26185 *** create shared libraries on Solaris systems.  Therefore, libtool
    26186 *** is disabling shared libraries support.  We urge you to upgrade GNU
    26187 *** binutils to release 2.9.1 or newer.  Another option is to modify
    26188 *** your PATH or compiler configuration so that the native linker is
    26189 *** used, and then restart.
    26190 
    26191 EOF
    26192       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    26193         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    26194         archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    26195       else
    26196         ld_shlibs_GCJ=no
    26197       fi
    26198       ;;
    26199 
    26200     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
    26201       case `$LD -v 2>&1` in
    26202         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
    26203         ld_shlibs_GCJ=no
    26204         cat <<_LT_EOF 1>&2
    26205 
    26206 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
    26207 *** reliably create shared libraries on SCO systems.  Therefore, libtool
    26208 *** is disabling shared libraries support.  We urge you to upgrade GNU
    26209 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
    26210 *** your PATH or compiler configuration so that the native linker is
    26211 *** used, and then restart.
    26212 
    26213 _LT_EOF
    26214         ;;
    26215         *)
    26216           if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    26217             hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
    26218             archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
    26219             archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
    26220           else
    26221             ld_shlibs_GCJ=no
    26222           fi
    26223         ;;
    26224       esac
    26225       ;;
    26226 
    26227     sunos4*)
    26228       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
    26229       wlarc=
    26230       hardcode_direct_GCJ=yes
    26231       hardcode_shlibpath_var_GCJ=no
    26232       ;;
    26233 
    26234     *)
    26235       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    26236         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    26237         archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    26238       else
    26239         ld_shlibs_GCJ=no
    26240       fi
    26241       ;;
    26242     esac
    26243 
    26244     if test "$ld_shlibs_GCJ" = no; then
    26245       runpath_var=
    26246       hardcode_libdir_flag_spec_GCJ=
    26247       export_dynamic_flag_spec_GCJ=
    26248       whole_archive_flag_spec_GCJ=
    26249     fi
    26250   else
    26251     # PORTME fill in a description of your system's linker (not GNU ld)
    26252     case $host_os in
    26253     aix3*)
    26254       allow_undefined_flag_GCJ=unsupported
    26255       always_export_symbols_GCJ=yes
    26256       archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
    26257       # Note: this linker hardcodes the directories in LIBPATH if there
    26258       # are no directories specified by -L.
    26259       hardcode_minus_L_GCJ=yes
    26260       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
    26261         # Neither direct hardcoding nor static linking is supported with a
    26262         # broken collect2.
    26263         hardcode_direct_GCJ=unsupported
    26264       fi
    26265       ;;
    26266 
    26267     aix4* | aix5*)
    26268       if test "$host_cpu" = ia64; then
    26269         # On IA64, the linker does run time linking by default, so we don't
    26270         # have to do anything special.
    26271         aix_use_runtimelinking=no
    26272         exp_sym_flag='-Bexport'
    26273         no_entry_flag=""
    26274       else
    26275         # If we're using GNU nm, then we don't want the "-C" option.
    26276         # -C means demangle to AIX nm, but means don't demangle with GNU nm
    26277         if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
    26278           export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
    26279         else
    26280           export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
    26281         fi
    26282         aix_use_runtimelinking=no
    26283 
    26284         # Test if we are trying to use run time linking or normal
    26285         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
    26286         # need to do runtime linking.
    26287         case $host_os in aix4.[23]|aix4.[23].*|aix5*)
    26288           for ld_flag in $LDFLAGS; do
    26289           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
    26290             aix_use_runtimelinking=yes
    26291             break
    26292           fi
    26293           done
    26294           ;;
    26295         esac
    26296 
    26297         exp_sym_flag='-bexport'
    26298         no_entry_flag='-bnoentry'
    26299       fi
    26300 
    26301       # When large executables or shared objects are built, AIX ld can
    26302       # have problems creating the table of contents.  If linking a library
    26303       # or program results in "error TOC overflow" add -mminimal-toc to
    26304       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
    26305       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
    26306 
    26307       archive_cmds_GCJ=''
    26308       hardcode_direct_GCJ=yes
    26309       hardcode_libdir_separator_GCJ=':'
    26310       link_all_deplibs_GCJ=yes
    26311 
    26312       if test "$GCC" = yes; then
    26313         case $host_os in aix4.[012]|aix4.[012].*)
    26314         # We only want to do this on AIX 4.2 and lower, the check
    26315         # below for broken collect2 doesn't work under 4.3+
    26316           collect2name=`${CC} -print-prog-name=collect2`
    26317           if test -f "$collect2name" && \
    26318            strings "$collect2name" | grep resolve_lib_name >/dev/null
    26319           then
    26320           # We have reworked collect2
    26321           hardcode_direct_GCJ=yes
    26322           else
    26323           # We have old collect2
    26324           hardcode_direct_GCJ=unsupported
    26325           # It fails to find uninstalled libraries when the uninstalled
    26326           # path is not listed in the libpath.  Setting hardcode_minus_L
    26327           # to unsupported forces relinking
    26328           hardcode_minus_L_GCJ=yes
    26329           hardcode_libdir_flag_spec_GCJ='-L$libdir'
    26330           hardcode_libdir_separator_GCJ=
    26331           fi
    26332           ;;
    26333         esac
    26334         shared_flag='-shared'
    26335         if test "$aix_use_runtimelinking" = yes; then
    26336           shared_flag="$shared_flag "'${wl}-G'
    26337         fi
    26338       else
    26339         # not using gcc
    26340         if test "$host_cpu" = ia64; then
    26341         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
    26342         # chokes on -Wl,-G. The following line is correct:
    26343           shared_flag='-G'
    26344         else
    26345           if test "$aix_use_runtimelinking" = yes; then
    26346             shared_flag='${wl}-G'
    26347           else
    26348             shared_flag='${wl}-bM:SRE'
    26349           fi
    26350         fi
    26351       fi
    26352 
    26353       # It seems that -bexpall does not export symbols beginning with
    26354       # underscore (_), so it is better to generate a list of symbols to export.
    26355       always_export_symbols_GCJ=yes
    26356       if test "$aix_use_runtimelinking" = yes; then
    26357         # Warning - without using the other runtime loading flags (-brtl),
    26358         # -berok will link without error, but may produce a broken library.
    26359         allow_undefined_flag_GCJ='-berok'
    26360        # Determine the default libpath from the value encoded in an empty executable.
    26361        cat >conftest.$ac_ext <<_ACEOF
    26362 /* confdefs.h.  */
    26363 _ACEOF
    26364 cat confdefs.h >>conftest.$ac_ext
    26365 cat >>conftest.$ac_ext <<_ACEOF
    26366 /* end confdefs.h.  */
    26367 
    26368 int
    26369 main ()
    26370 {
    26371 
    26372   ;
    26373   return 0;
    26374 }
    26375 _ACEOF
    26376 rm -f conftest.$ac_objext conftest$ac_exeext
    26377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    26378   (eval $ac_link) 2>conftest.er1
    26379   ac_status=$?
    26380   grep -v '^ *+' conftest.er1 >conftest.err
    26381   rm -f conftest.er1
    26382   cat conftest.err >&5
    26383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    26384   (exit $ac_status); } &&
    26385          { ac_try='test -z "$ac_c_werror_flag"
    26386                          || test ! -s conftest.err'
    26387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    26388   (eval $ac_try) 2>&5
    26389   ac_status=$?
    26390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    26391   (exit $ac_status); }; } &&
    26392          { ac_try='test -s conftest$ac_exeext'
    26393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    26394   (eval $ac_try) 2>&5
    26395   ac_status=$?
    26396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    26397   (exit $ac_status); }; }; then
    26398 
    26399 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
    26400 }'`
    26401 # Check for a 64-bit object if we didn't find anything.
    26402 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
    26403 }'`; fi
    26404 else
    26405   echo "$as_me: failed program was:" >&5
    26406 sed 's/^/| /' conftest.$ac_ext >&5
    26407 
    26408 fi
    26409 rm -f conftest.err conftest.$ac_objext \
    26410       conftest$ac_exeext conftest.$ac_ext
    26411 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
    26412 
    26413        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
    26414         archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
    26415        else
    26416         if test "$host_cpu" = ia64; then
    26417           hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
    26418           allow_undefined_flag_GCJ="-z nodefs"
    26419           archive_expsym_cmds_GCJ="\$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"
    26420         else
    26421          # Determine the default libpath from the value encoded in an empty executable.
    26422          cat >conftest.$ac_ext <<_ACEOF
    26423 /* confdefs.h.  */
    26424 _ACEOF
    26425 cat confdefs.h >>conftest.$ac_ext
    26426 cat >>conftest.$ac_ext <<_ACEOF
    26427 /* end confdefs.h.  */
    26428 
    26429 int
    26430 main ()
    26431 {
    26432 
    26433   ;
    26434   return 0;
    26435 }
    26436 _ACEOF
    26437 rm -f conftest.$ac_objext conftest$ac_exeext
    26438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    26439   (eval $ac_link) 2>conftest.er1
    26440   ac_status=$?
    26441   grep -v '^ *+' conftest.er1 >conftest.err
    26442   rm -f conftest.er1
    26443   cat conftest.err >&5
    26444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    26445   (exit $ac_status); } &&
    26446          { ac_try='test -z "$ac_c_werror_flag"
    26447                          || test ! -s conftest.err'
    26448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    26449   (eval $ac_try) 2>&5
    26450   ac_status=$?
    26451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    26452   (exit $ac_status); }; } &&
    26453          { ac_try='test -s conftest$ac_exeext'
    26454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    26455   (eval $ac_try) 2>&5
    26456   ac_status=$?
    26457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    26458   (exit $ac_status); }; }; then
    26459 
    26460 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
    26461 }'`
    26462 # Check for a 64-bit object if we didn't find anything.
    26463 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
    26464 }'`; fi
    26465 else
    26466   echo "$as_me: failed program was:" >&5
    26467 sed 's/^/| /' conftest.$ac_ext >&5
    26468 
    26469 fi
    26470 rm -f conftest.err conftest.$ac_objext \
    26471       conftest$ac_exeext conftest.$ac_ext
    26472 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
    26473 
    26474          hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
    26475           # Warning - without using the other run time loading flags,
    26476           # -berok will link without error, but may produce a broken library.
    26477           no_undefined_flag_GCJ=' ${wl}-bernotok'
    26478           allow_undefined_flag_GCJ=' ${wl}-berok'
    26479           # Exported symbols can be pulled into shared objects from archives
    26480           whole_archive_flag_spec_GCJ='$convenience'
    26481           archive_cmds_need_lc_GCJ=yes
    26482           # This is similar to how AIX traditionally builds its shared libraries.
    26483           archive_expsym_cmds_GCJ="\$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'
    26484         fi
    26485       fi
    26486       ;;
    26487 
    26488     amigaos*)
    26489       archive_cmds_GCJ='$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)'
    26490       hardcode_libdir_flag_spec_GCJ='-L$libdir'
    26491       hardcode_minus_L_GCJ=yes
    26492       # see comment about different semantics on the GNU ld section
    26493       ld_shlibs_GCJ=no
    26494       ;;
    26495 
    26496     bsdi[45]*)
    26497       export_dynamic_flag_spec_GCJ=-rdynamic
    26498       ;;
    26499 
    26500     cygwin* | mingw* | pw32*)
    26501       # When not using gcc, we currently assume that we are using
    26502       # Microsoft Visual C++.
    26503       # hardcode_libdir_flag_spec is actually meaningless, as there is
    26504       # no search path for DLLs.
    26505       hardcode_libdir_flag_spec_GCJ=' '
    26506       allow_undefined_flag_GCJ=unsupported
    26507       # Tell ltmain to make .lib files, not .a files.
    26508       libext=lib
    26509       # Tell ltmain to make .dll files, not .so files.
    26510       shrext_cmds=".dll"
    26511       # FIXME: Setting linknames here is a bad hack.
    26512       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
    26513       # The linker will automatically build a .lib file if we build a DLL.
    26514       old_archive_From_new_cmds_GCJ='true'
    26515       # FIXME: Should let the user specify the lib program.
    26516       old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
    26517       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
    26518       enable_shared_with_static_runtimes_GCJ=yes
    26519       ;;
    26520 
    26521     darwin* | rhapsody*)
    26522       case $host_os in
    26523         rhapsody* | darwin1.[012])
    26524          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
    26525          ;;
    26526        *) # Darwin 1.3 on
    26527          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
    26528            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
    26529          else
    26530            case ${MACOSX_DEPLOYMENT_TARGET} in
    26531              10.[012])
    26532                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
    26533                ;;
    26534              10.*)
    26535                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
    26536                ;;
    26537            esac
    26538          fi
    26539          ;;
    26540       esac
    26541       archive_cmds_need_lc_GCJ=no
    26542       hardcode_direct_GCJ=no
    26543       hardcode_automatic_GCJ=yes
    26544       hardcode_shlibpath_var_GCJ=unsupported
    26545       whole_archive_flag_spec_GCJ=''
    26546       link_all_deplibs_GCJ=yes
    26547     if test "$GCC" = yes ; then
    26548         output_verbose_link_cmd='echo'
    26549         archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
    26550       module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
    26551       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
    26552       archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    26553       module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    26554     else
    26555       case $cc_basename in
    26556         xlc*)
    26557          output_verbose_link_cmd='echo'
    26558          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
    26559          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
    26560           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
    26561          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    26562           module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    26563           ;;
    26564        *)
    26565          ld_shlibs_GCJ=no
    26566           ;;
    26567       esac
    26568     fi
    26569       ;;
    26570 
    26571     dgux*)
    26572       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    26573       hardcode_libdir_flag_spec_GCJ='-L$libdir'
    26574       hardcode_shlibpath_var_GCJ=no
    26575       ;;
    26576 
    26577     freebsd1*)
    26578       ld_shlibs_GCJ=no
    26579       ;;
    26580 
    26581     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
    26582     # support.  Future versions do this automatically, but an explicit c++rt0.o
    26583     # does not break anything, and helps significantly (at the cost of a little
    26584     # extra space).
    26585     freebsd2.2*)
    26586       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
    26587       hardcode_libdir_flag_spec_GCJ='-R$libdir'
    26588       hardcode_direct_GCJ=yes
    26589       hardcode_shlibpath_var_GCJ=no
    26590       ;;
    26591 
    26592     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
    26593     freebsd2*)
    26594       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
    26595       hardcode_direct_GCJ=yes
    26596       hardcode_minus_L_GCJ=yes
    26597       hardcode_shlibpath_var_GCJ=no
    26598       ;;
    26599 
    26600     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
    26601     freebsd* | kfreebsd*-gnu | dragonfly*)
    26602       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
    26603       hardcode_libdir_flag_spec_GCJ='-R$libdir'
    26604       hardcode_direct_GCJ=yes
    26605       hardcode_shlibpath_var_GCJ=no
    26606       ;;
    26607 
    26608     hpux9*)
    26609       if test "$GCC" = yes; then
    26610         archive_cmds_GCJ='$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'
    26611       else
    26612         archive_cmds_GCJ='$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'
    26613       fi
    26614       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
    26615       hardcode_libdir_separator_GCJ=:
    26616       hardcode_direct_GCJ=yes
    26617 
    26618       # hardcode_minus_L: Not really in the search PATH,
    26619       # but as the default location of the library.
    26620       hardcode_minus_L_GCJ=yes
    26621       export_dynamic_flag_spec_GCJ='${wl}-E'
    26622       ;;
    26623 
    26624     hpux10*)
    26625       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
    26626         archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    26627       else
    26628         archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
    26629       fi
    26630       if test "$with_gnu_ld" = no; then
    26631         hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
    26632         hardcode_libdir_separator_GCJ=:
    26633 
    26634         hardcode_direct_GCJ=yes
    26635         export_dynamic_flag_spec_GCJ='${wl}-E'
    26636 
    26637         # hardcode_minus_L: Not really in the search PATH,
    26638         # but as the default location of the library.
    26639         hardcode_minus_L_GCJ=yes
    26640       fi
    26641       ;;
    26642 
    26643     hpux11*)
    26644       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
    26645         case $host_cpu in
    26646         hppa*64*)
    26647           archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
    26648           ;;
    26649         ia64*)
    26650           archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
    26651           ;;
    26652         *)
    26653           archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    26654           ;;
    26655         esac
    26656       else
    26657         case $host_cpu in
    26658         hppa*64*)
    26659           archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
    26660           ;;
    26661         ia64*)
    26662           archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
    26663           ;;
    26664         *)
    26665           archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    26666           ;;
    26667         esac
    26668       fi
    26669       if test "$with_gnu_ld" = no; then
    26670         hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
    26671         hardcode_libdir_separator_GCJ=:
    26672 
    26673         case $host_cpu in
    26674         hppa*64*|ia64*)
    26675           hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
    26676           hardcode_direct_GCJ=no
    26677           hardcode_shlibpath_var_GCJ=no
    26678           ;;
    26679         *)
    26680           hardcode_direct_GCJ=yes
    26681           export_dynamic_flag_spec_GCJ='${wl}-E'
    26682 
    26683           # hardcode_minus_L: Not really in the search PATH,
    26684           # but as the default location of the library.
    26685           hardcode_minus_L_GCJ=yes
    26686           ;;
    26687         esac
    26688       fi
    26689       ;;
    26690 
    26691     irix5* | irix6* | nonstopux*)
    26692       if test "$GCC" = yes; then
    26693         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
    26694       else
    26695         archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
    26696         hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
    26697       fi
    26698       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
    26699       hardcode_libdir_separator_GCJ=:
    26700       link_all_deplibs_GCJ=yes
    26701       ;;
    26702 
    26703     netbsd*)
    26704       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
    26705         archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
    26706       else
    26707         archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
    26708       fi
    26709       hardcode_libdir_flag_spec_GCJ='-R$libdir'
    26710       hardcode_direct_GCJ=yes
    26711       hardcode_shlibpath_var_GCJ=no
    26712       ;;
    26713 
    26714     newsos6)
    26715       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    26716       hardcode_direct_GCJ=yes
    26717       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
    26718       hardcode_libdir_separator_GCJ=:
    26719       hardcode_shlibpath_var_GCJ=no
    26720       ;;
    26721 
    26722     openbsd*)
    26723       hardcode_direct_GCJ=yes
    26724       hardcode_shlibpath_var_GCJ=no
    26725       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    26726         archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    26727         archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
    26728         hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
    26729         export_dynamic_flag_spec_GCJ='${wl}-E'
    26730       else
    26731        case $host_os in
    26732          openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
    26733            archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
    26734            hardcode_libdir_flag_spec_GCJ='-R$libdir'
    26735            ;;
    26736          *)
    26737            archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    26738            hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
    26739            ;;
    26740        esac
    26741       fi
    26742       ;;
    26743 
    26744     os2*)
    26745       hardcode_libdir_flag_spec_GCJ='-L$libdir'
    26746       hardcode_minus_L_GCJ=yes
    26747       allow_undefined_flag_GCJ=unsupported
    26748       archive_cmds_GCJ='$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'
    26749       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
    26750       ;;
    26751 
    26752     osf3*)
    26753       if test "$GCC" = yes; then
    26754         allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
    26755         archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
    26756       else
    26757         allow_undefined_flag_GCJ=' -expect_unresolved \*'
    26758         archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
    26759       fi
    26760       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
    26761       hardcode_libdir_separator_GCJ=:
    26762       ;;
    26763 
    26764     osf4* | osf5*)      # as osf3* with the addition of -msym flag
    26765       if test "$GCC" = yes; then
    26766         allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
    26767         archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
    26768         hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
    26769       else
    26770         allow_undefined_flag_GCJ=' -expect_unresolved \*'
    26771         archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
    26772         archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
    26773         $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
    26774 
    26775         # Both c and cxx compiler support -rpath directly
    26776         hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
    26777       fi
    26778       hardcode_libdir_separator_GCJ=:
    26779       ;;
    26780 
    26781     solaris*)
    26782       no_undefined_flag_GCJ=' -z text'
    26783       if test "$GCC" = yes; then
    26784         wlarc='${wl}'
    26785         archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
    26786         archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
    26787           $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
    26788       else
    26789         wlarc=''
    26790         archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
    26791         archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
    26792         $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
    26793       fi
    26794       hardcode_libdir_flag_spec_GCJ='-R$libdir'
    26795       hardcode_shlibpath_var_GCJ=no
    26796       case $host_os in
    26797       solaris2.[0-5] | solaris2.[0-5].*) ;;
    26798       *)
    26799         # The compiler driver will combine linker options so we
    26800         # cannot just pass the convience library names through
    26801         # without $wl, iff we do not link with $LD.
    26802         # Luckily, gcc supports the same syntax we need for Sun Studio.
    26803         # Supported since Solaris 2.6 (maybe 2.5.1?)
    26804         case $wlarc in
    26805         '')
    26806           whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
    26807         *)
    26808           whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
    26809         esac ;;
    26810       esac
    26811       link_all_deplibs_GCJ=yes
    26812       ;;
    26813 
    26814     sunos4*)
    26815       if test "x$host_vendor" = xsequent; then
    26816         # Use $CC to link under sequent, because it throws in some extra .o
    26817         # files that make .init and .fini sections work.
    26818         archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
    26819       else
    26820         archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
    26821       fi
    26822       hardcode_libdir_flag_spec_GCJ='-L$libdir'
    26823       hardcode_direct_GCJ=yes
    26824       hardcode_minus_L_GCJ=yes
    26825       hardcode_shlibpath_var_GCJ=no
    26826       ;;
    26827 
    26828     sysv4)
    26829       case $host_vendor in
    26830         sni)
    26831           archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    26832           hardcode_direct_GCJ=yes # is this really true???
    26833         ;;
    26834         siemens)
    26835           ## LD is ld it makes a PLAMLIB
    26836           ## CC just makes a GrossModule.
    26837           archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
    26838           reload_cmds_GCJ='$CC -r -o $output$reload_objs'
    26839           hardcode_direct_GCJ=no
    26840         ;;
    26841         motorola)
    26842           archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    26843           hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
    26844         ;;
    26845       esac
    26846       runpath_var='LD_RUN_PATH'
    26847       hardcode_shlibpath_var_GCJ=no
    26848       ;;
    26849 
    26850     sysv4.3*)
    26851       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    26852       hardcode_shlibpath_var_GCJ=no
    26853       export_dynamic_flag_spec_GCJ='-Bexport'
    26854       ;;
    26855 
    26856     sysv4*MP*)
    26857       if test -d /usr/nec; then
    26858         archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    26859         hardcode_shlibpath_var_GCJ=no
    26860         runpath_var=LD_RUN_PATH
    26861         hardcode_runpath_var=yes
    26862         ld_shlibs_GCJ=yes
    26863       fi
    26864       ;;
    26865 
    26866     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
    26867       no_undefined_flag_GCJ='${wl}-z,text'
    26868       archive_cmds_need_lc_GCJ=no
    26869       hardcode_shlibpath_var_GCJ=no
    26870       runpath_var='LD_RUN_PATH'
    26871 
    26872       if test "$GCC" = yes; then
    26873         archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    26874         archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    26875       else
    26876         archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    26877         archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    26878       fi
    26879       ;;
    26880 
    26881     sysv5* | sco3.2v5* | sco5v6*)
    26882       # Note: We can NOT use -z defs as we might desire, because we do not
    26883       # link with -lc, and that would cause any symbols used from libc to
    26884       # always be unresolved, which means just about no library would
    26885       # ever link correctly.  If we're not using GNU ld we use -z text
    26886       # though, which does catch some bad symbols but isn't as heavy-handed
    26887       # as -z defs.
    26888       no_undefined_flag_GCJ='${wl}-z,text'
    26889       allow_undefined_flag_GCJ='${wl}-z,nodefs'
    26890       archive_cmds_need_lc_GCJ=no
    26891       hardcode_shlibpath_var_GCJ=no
    26892       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
    26893       hardcode_libdir_separator_GCJ=':'
    26894       link_all_deplibs_GCJ=yes
    26895       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
    26896       runpath_var='LD_RUN_PATH'
    26897 
    26898       if test "$GCC" = yes; then
    26899         archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
    26900         archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
    26901       else
    26902         archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
    26903         archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
    26904       fi
    26905       ;;
    26906 
    26907     uts4*)
    26908       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    26909       hardcode_libdir_flag_spec_GCJ='-L$libdir'
    26910       hardcode_shlibpath_var_GCJ=no
    26911       ;;
    26912 
    26913     *)
    26914       ld_shlibs_GCJ=no
    26915       ;;
    26916     esac
    26917   fi
    26918 
    26919 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
    26920 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
    26921 test "$ld_shlibs_GCJ" = no && can_build_shared=no
    26922 
    26923 #
    26924 # Do we need to explicitly link libc?
    26925 #
    26926 case "x$archive_cmds_need_lc_GCJ" in
    26927 x|xyes)
    26928   # Assume -lc should be added
    26929   archive_cmds_need_lc_GCJ=yes
    26930 
    26931   if test "$enable_shared" = yes && test "$GCC" = yes; then
    26932     case $archive_cmds_GCJ in
    26933     *'~'*)
    26934       # FIXME: we may have to deal with multi-command sequences.
    26935       ;;
    26936     '$CC '*)
    26937       # Test whether the compiler implicitly links with -lc since on some
    26938       # systems, -lgcc has to come before -lc. If gcc already passes -lc
    26939       # to ld, don't add -lc before -lgcc.
    26940       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
    26941 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
    26942       $rm conftest*
    26943       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
    26944 
    26945       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    26946   (eval $ac_compile) 2>&5
    26947   ac_status=$?
    26948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    26949   (exit $ac_status); } 2>conftest.err; then
    26950         soname=conftest
    26951         lib=conftest
    26952         libobjs=conftest.$ac_objext
    26953         deplibs=
    26954         wl=$lt_prog_compiler_wl_GCJ
    26955         pic_flag=$lt_prog_compiler_pic_GCJ
    26956         compiler_flags=-v
    26957         linker_flags=-v
    26958         verstring=
    26959         output_objdir=.
    26960         libname=conftest
    26961         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
    26962         allow_undefined_flag_GCJ=
    26963         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
    26964   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
    26965   ac_status=$?
    26966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    26967   (exit $ac_status); }
    26968         then
    26969           archive_cmds_need_lc_GCJ=no
    26970         else
    26971           archive_cmds_need_lc_GCJ=yes
    26972         fi
    26973         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
    26974       else
    26975         cat conftest.err 1>&5
    26976       fi
    26977       $rm conftest*
    26978       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
    26979 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
    26980       ;;
    26981     esac
    26982   fi
    26983   ;;
    26984 esac
    26985 
    26986 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
    26987 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
    26988 library_names_spec=
    26989 libname_spec='lib$name'
    26990 soname_spec=
    26991 shrext_cmds=".so"
    26992 postinstall_cmds=
    26993 postuninstall_cmds=
    26994 finish_cmds=
    26995 finish_eval=
    26996 shlibpath_var=
    26997 shlibpath_overrides_runpath=unknown
    26998 version_type=none
    26999 dynamic_linker="$host_os ld.so"
    27000 sys_lib_dlsearch_path_spec="/lib /usr/lib"
    27001 if test "$GCC" = yes; then
    27002   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
    27003   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
    27004     # if the path contains ";" then we assume it to be the separator
    27005     # otherwise default to the standard path separator (i.e. ":") - it is
    27006     # assumed that no part of a normal pathname contains ";" but that should
    27007     # okay in the real world where ";" in dirpaths is itself problematic.
    27008     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
    27009   else
    27010     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
    27011   fi
    27012 else
    27013   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
    27014 fi
    27015 need_lib_prefix=unknown
    27016 hardcode_into_libs=no
    27017 
    27018 # when you set need_version to no, make sure it does not cause -set_version
    27019 # flags to be left without arguments
    27020 need_version=unknown
    27021 
    27022 case $host_os in
    27023 aix3*)
    27024   version_type=linux
    27025   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
    27026   shlibpath_var=LIBPATH
    27027 
    27028   # AIX 3 has no versioning support, so we append a major version to the name.
    27029   soname_spec='${libname}${release}${shared_ext}$major'
    27030   ;;
    27031 
    27032 aix4* | aix5*)
    27033   version_type=linux
    27034   need_lib_prefix=no
    27035   need_version=no
    27036   hardcode_into_libs=yes
    27037   if test "$host_cpu" = ia64; then
    27038     # AIX 5 supports IA64
    27039     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
    27040     shlibpath_var=LD_LIBRARY_PATH
    27041   else
    27042     # With GCC up to 2.95.x, collect2 would create an import file
    27043     # for dependence libraries.  The import file would start with
    27044     # the line `#! .'.  This would cause the generated library to
    27045     # depend on `.', always an invalid library.  This was fixed in
    27046     # development snapshots of GCC prior to 3.0.
    27047     case $host_os in
    27048       aix4 | aix4.[01] | aix4.[01].*)
    27049       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
    27050            echo ' yes '
    27051            echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
    27052         :
    27053       else
    27054         can_build_shared=no
    27055       fi
    27056       ;;
    27057     esac
    27058     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
    27059     # soname into executable. Probably we can add versioning support to
    27060     # collect2, so additional links can be useful in future.
    27061     if test "$aix_use_runtimelinking" = yes; then
    27062       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
    27063       # instead of lib<name>.a to let people know that these are not
    27064       # typical AIX shared libraries.
    27065       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    27066     else
    27067       # We preserve .a as extension for shared libraries through AIX4.2
    27068       # and later when we are not doing run time linking.
    27069       library_names_spec='${libname}${release}.a $libname.a'
    27070       soname_spec='${libname}${release}${shared_ext}$major'
    27071     fi
    27072     shlibpath_var=LIBPATH
    27073   fi
    27074   ;;
    27075 
    27076 amigaos*)
    27077   library_names_spec='$libname.ixlibrary $libname.a'
    27078   # Create ${libname}_ixlibrary.a entries in /sys/libs.
    27079   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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'
    27080   ;;
    27081 
    27082 beos*)
    27083   library_names_spec='${libname}${shared_ext}'
    27084   dynamic_linker="$host_os ld.so"
    27085   shlibpath_var=LIBRARY_PATH
    27086   ;;
    27087 
    27088 bsdi[45]*)
    27089   version_type=linux
    27090   need_version=no
    27091   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    27092   soname_spec='${libname}${release}${shared_ext}$major'
    27093   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
    27094   shlibpath_var=LD_LIBRARY_PATH
    27095   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
    27096   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
    27097   # the default ld.so.conf also contains /usr/contrib/lib and
    27098   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
    27099   # libtool to hard-code these into programs
    27100   ;;
    27101 
    27102 cygwin* | mingw* | pw32*)
    27103   version_type=windows
    27104   shrext_cmds=".dll"
    27105   need_version=no
    27106   need_lib_prefix=no
    27107 
    27108   case $GCC,$host_os in
    27109   yes,cygwin* | yes,mingw* | yes,pw32*)
    27110     library_names_spec='$libname.dll.a'
    27111     # DLL is installed to $(libdir)/../bin by postinstall_cmds
    27112     postinstall_cmds='base_file=`basename \${file}`~
    27113       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
    27114       dldir=$destdir/`dirname \$dlpath`~
    27115       test -d \$dldir || mkdir -p \$dldir~
    27116       $install_prog $dir/$dlname \$dldir/$dlname~
    27117       chmod a+x \$dldir/$dlname'
    27118     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
    27119       dlpath=$dir/\$dldll~
    27120        $rm \$dlpath'
    27121     shlibpath_overrides_runpath=yes
    27122 
    27123     case $host_os in
    27124     cygwin*)
    27125       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
    27126       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
    27127       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
    27128       ;;
    27129     mingw*)
    27130       # MinGW DLLs use traditional 'lib' prefix
    27131       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
    27132       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
    27133       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
    27134         # It is most probably a Windows format PATH printed by
    27135         # mingw gcc, but we are running on Cygwin. Gcc prints its search
    27136         # path with ; separators, and with drive letters. We can handle the
    27137         # drive letters (cygwin fileutils understands them), so leave them,
    27138         # especially as we might pass files found there to a mingw objdump,
    27139         # which wouldn't understand a cygwinified path. Ahh.
    27140         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
    27141       else
    27142         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
    27143       fi
    27144       ;;
    27145     pw32*)
    27146       # pw32 DLLs use 'pw' prefix rather than 'lib'
    27147       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
    27148       ;;
    27149     esac
    27150     ;;
    27151 
    27152   linux*)
    27153     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
    27154       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    27155       supports_anon_versioning=no
    27156       case `$LD -v 2>/dev/null` in
    27157         *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
    27158         *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
    27159         *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
    27160         *\ 2.11.*) ;; # other 2.11 versions
    27161         *) supports_anon_versioning=yes ;;
    27162       esac
    27163       if test $supports_anon_versioning = yes; then
    27164         archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
    27165 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    27166 $echo "local: *; };" >> $output_objdir/$libname.ver~
    27167         $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
    27168       else
    27169         $archive_expsym_cmds="$archive_cmds"
    27170       fi
    27171     else
    27172       ld_shlibs=no
    27173     fi
    27174     ;;
    27175 
    27176   *)
    27177     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
    27178     ;;
    27179   esac
    27180   dynamic_linker='Win32 ld.exe'
    27181   # FIXME: first we should search . and the directory the executable is in
    27182   shlibpath_var=PATH
    27183   ;;
    27184 
    27185 darwin* | rhapsody*)
    27186   dynamic_linker="$host_os dyld"
    27187   version_type=darwin
    27188   need_lib_prefix=no
    27189   need_version=no
    27190   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
    27191   soname_spec='${libname}${release}${major}$shared_ext'
    27192   shlibpath_overrides_runpath=yes
    27193   shlibpath_var=DYLD_LIBRARY_PATH
    27194   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
    27195   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
    27196   if test "$GCC" = yes; then
    27197     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
    27198   else
    27199     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
    27200   fi
    27201   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
    27202   ;;
    27203 
    27204 dgux*)
    27205   version_type=linux
    27206   need_lib_prefix=no
    27207   need_version=no
    27208   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
    27209   soname_spec='${libname}${release}${shared_ext}$major'
    27210   shlibpath_var=LD_LIBRARY_PATH
    27211   ;;
    27212 
    27213 freebsd1*)
    27214   dynamic_linker=no
    27215   ;;
    27216 
    27217 kfreebsd*-gnu)
    27218   version_type=linux
    27219   need_lib_prefix=no
    27220   need_version=no
    27221   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    27222   soname_spec='${libname}${release}${shared_ext}$major'
    27223   shlibpath_var=LD_LIBRARY_PATH
    27224   shlibpath_overrides_runpath=no
    27225   hardcode_into_libs=yes
    27226   dynamic_linker='GNU ld.so'
    27227   ;;
    27228 
    27229 freebsd* | dragonfly*)
    27230   # DragonFly does not have aout.  When/if they implement a new
    27231   # versioning mechanism, adjust this.
    27232   if test -x /usr/bin/objformat; then
    27233     objformat=`/usr/bin/objformat`
    27234   else
    27235     case $host_os in
    27236     freebsd[123]*) objformat=aout ;;
    27237     *) objformat=elf ;;
    27238     esac
    27239   fi
    27240   # Handle Gentoo/FreeBSD as it was Linux
    27241   case $host_vendor in
    27242     gentoo)
    27243       version_type=linux ;;
    27244     *)
    27245       version_type=freebsd-$objformat ;;
    27246   esac
    27247 
    27248   case $version_type in
    27249     freebsd-elf*)
    27250       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
    27251       need_version=no
    27252       need_lib_prefix=no
    27253       ;;
    27254     freebsd-*)
    27255       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
    27256       need_version=yes
    27257       ;;
    27258     linux)
    27259       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    27260       soname_spec='${libname}${release}${shared_ext}$major'
    27261       need_lib_prefix=no
    27262       need_version=no
    27263       ;;
    27264   esac
    27265   shlibpath_var=LD_LIBRARY_PATH
    27266   case $host_os in
    27267   freebsd2*)
    27268     shlibpath_overrides_runpath=yes
    27269     ;;
    27270   freebsd3.[01]* | freebsdelf3.[01]*)
    27271     shlibpath_overrides_runpath=yes
    27272     hardcode_into_libs=yes
    27273     ;;
    27274   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
    27275   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
    27276     shlibpath_overrides_runpath=no
    27277     hardcode_into_libs=yes
    27278     ;;
    27279   freebsd*) # from 4.6 on
    27280     shlibpath_overrides_runpath=yes
    27281     hardcode_into_libs=yes
    27282     ;;
    27283   esac
    27284   ;;
    27285 
    27286 gnu*)
    27287   version_type=linux
    27288   need_lib_prefix=no
    27289   need_version=no
    27290   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
    27291   soname_spec='${libname}${release}${shared_ext}$major'
    27292   shlibpath_var=LD_LIBRARY_PATH
    27293   hardcode_into_libs=yes
    27294   ;;
    27295 
    27296 hpux9* | hpux10* | hpux11*)
    27297   # Give a soname corresponding to the major version so that dld.sl refuses to
    27298   # link against other versions.
    27299   version_type=sunos
    27300   need_lib_prefix=no
    27301   need_version=no
    27302   case $host_cpu in
    27303   ia64*)
    27304     shrext_cmds='.so'
    27305     hardcode_into_libs=yes
    27306     dynamic_linker="$host_os dld.so"
    27307     shlibpath_var=LD_LIBRARY_PATH
    27308     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    27309     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    27310     soname_spec='${libname}${release}${shared_ext}$major'
    27311     if test "X$HPUX_IA64_MODE" = X32; then
    27312       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
    27313     else
    27314       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
    27315     fi
    27316     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    27317     ;;
    27318    hppa*64*)
    27319      shrext_cmds='.sl'
    27320      hardcode_into_libs=yes
    27321      dynamic_linker="$host_os dld.sl"
    27322      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
    27323      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    27324      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    27325      soname_spec='${libname}${release}${shared_ext}$major'
    27326      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
    27327      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    27328      ;;
    27329    *)
    27330     shrext_cmds='.sl'
    27331     dynamic_linker="$host_os dld.sl"
    27332     shlibpath_var=SHLIB_PATH
    27333     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
    27334     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    27335     soname_spec='${libname}${release}${shared_ext}$major'
    27336     ;;
    27337   esac
    27338   # HP-UX runs *really* slowly unless shared libraries are mode 555.
    27339   postinstall_cmds='chmod 555 $lib'
    27340   ;;
    27341 
    27342 interix3*)
    27343   version_type=linux
    27344   need_lib_prefix=no
    27345   need_version=no
    27346   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    27347   soname_spec='${libname}${release}${shared_ext}$major'
    27348   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
    27349   shlibpath_var=LD_LIBRARY_PATH
    27350   shlibpath_overrides_runpath=no
    27351   hardcode_into_libs=yes
    27352   ;;
    27353 
    27354 irix5* | irix6* | nonstopux*)
    27355   case $host_os in
    27356     nonstopux*) version_type=nonstopux ;;
    27357     *)
    27358         if test "$lt_cv_prog_gnu_ld" = yes; then
    27359                 version_type=linux
    27360         else
    27361                 version_type=irix
    27362         fi ;;
    27363   esac
    27364   need_lib_prefix=no
    27365   need_version=no
    27366   soname_spec='${libname}${release}${shared_ext}$major'
    27367   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
    27368   case $host_os in
    27369   irix5* | nonstopux*)
    27370     libsuff= shlibsuff=
    27371     ;;
    27372   *)
    27373     case $LD in # libtool.m4 will add one of these switches to LD
    27374     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
    27375       libsuff= shlibsuff= libmagic=32-bit;;
    27376     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
    27377       libsuff=32 shlibsuff=N32 libmagic=N32;;
    27378     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
    27379       libsuff=64 shlibsuff=64 libmagic=64-bit;;
    27380     *) libsuff= shlibsuff= libmagic=never-match;;
    27381     esac
    27382     ;;
    27383   esac
    27384   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
    27385   shlibpath_overrides_runpath=no
    27386   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
    27387   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
    27388   hardcode_into_libs=yes
    27389   ;;
    27390 
    27391 # No shared lib support for Linux oldld, aout, or coff.
    27392 linux*oldld* | linux*aout* | linux*coff*)
    27393   dynamic_linker=no
    27394   ;;
    27395 
    27396 # This must be Linux ELF.
    27397 linux*)
    27398   version_type=linux
    27399   need_lib_prefix=no
    27400   need_version=no
    27401   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    27402   soname_spec='${libname}${release}${shared_ext}$major'
    27403   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
    27404   shlibpath_var=LD_LIBRARY_PATH
    27405   shlibpath_overrides_runpath=no
    27406   # This implies no fast_install, which is unacceptable.
    27407   # Some rework will be needed to allow for fast_install
    27408   # before this can be enabled.
    27409   hardcode_into_libs=yes
    27410 
    27411   # Append ld.so.conf contents to the search path
    27412   if test -f /etc/ld.so.conf; then
    27413     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
    27414     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
    27415   fi
    27416 
    27417   # We used to test for /lib/ld.so.1 and disable shared libraries on
    27418   # powerpc, because MkLinux only supported shared libraries with the
    27419   # GNU dynamic linker.  Since this was broken with cross compilers,
    27420   # most powerpc-linux boxes support dynamic linking these days and
    27421   # people can always --disable-shared, the test was removed, and we
    27422   # assume the GNU/Linux dynamic linker is in use.
    27423   dynamic_linker='GNU/Linux ld.so'
    27424   ;;
    27425 
    27426 knetbsd*-gnu)
    27427   version_type=linux
    27428   need_lib_prefix=no
    27429   need_version=no
    27430   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    27431   soname_spec='${libname}${release}${shared_ext}$major'
    27432   shlibpath_var=LD_LIBRARY_PATH
    27433   shlibpath_overrides_runpath=no
    27434   hardcode_into_libs=yes
    27435   dynamic_linker='GNU ld.so'
    27436   ;;
    27437 
    27438 netbsd*)
    27439   version_type=sunos
    27440   need_lib_prefix=no
    27441   need_version=no
    27442   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
    27443     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
    27444     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    27445     dynamic_linker='NetBSD (a.out) ld.so'
    27446   else
    27447     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    27448     soname_spec='${libname}${release}${shared_ext}$major'
    27449     dynamic_linker='NetBSD ld.elf_so'
    27450   fi
    27451   shlibpath_var=LD_LIBRARY_PATH
    27452   shlibpath_overrides_runpath=yes
    27453   hardcode_into_libs=yes
    27454   ;;
    27455 
    27456 newsos6)
    27457   version_type=linux
    27458   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    27459   shlibpath_var=LD_LIBRARY_PATH
    27460   shlibpath_overrides_runpath=yes
    27461   ;;
    27462 
    27463 nto-qnx*)
    27464   version_type=linux
    27465   need_lib_prefix=no
    27466   need_version=no
    27467   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    27468   soname_spec='${libname}${release}${shared_ext}$major'
    27469   shlibpath_var=LD_LIBRARY_PATH
    27470   shlibpath_overrides_runpath=yes
    27471   ;;
    27472 
    27473 openbsd*)
    27474   version_type=sunos
    27475   sys_lib_dlsearch_path_spec="/usr/lib"
    27476   need_lib_prefix=no
    27477   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
    27478   case $host_os in
    27479     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
    27480     *)                         need_version=no  ;;
    27481   esac
    27482   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
    27483   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    27484   shlibpath_var=LD_LIBRARY_PATH
    27485   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    27486     case $host_os in
    27487       openbsd2.[89] | openbsd2.[89].*)
    27488         shlibpath_overrides_runpath=no
    27489         ;;
    27490       *)
    27491         shlibpath_overrides_runpath=yes
    27492         ;;
    27493       esac
    27494   else
    27495     shlibpath_overrides_runpath=yes
    27496   fi
    27497   ;;
    27498 
    27499 os2*)
    27500   libname_spec='$name'
    27501   shrext_cmds=".dll"
    27502   need_lib_prefix=no
    27503   library_names_spec='$libname${shared_ext} $libname.a'
    27504   dynamic_linker='OS/2 ld.exe'
    27505   shlibpath_var=LIBPATH
    27506   ;;
    27507 
    27508 osf3* | osf4* | osf5*)
    27509   version_type=osf
    27510   need_lib_prefix=no
    27511   need_version=no
    27512   soname_spec='${libname}${release}${shared_ext}$major'
    27513   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    27514   shlibpath_var=LD_LIBRARY_PATH
    27515   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
    27516   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
    27517   ;;
    27518 
    27519 solaris*)
    27520   version_type=linux
    27521   need_lib_prefix=no
    27522   need_version=no
    27523   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    27524   soname_spec='${libname}${release}${shared_ext}$major'
    27525   shlibpath_var=LD_LIBRARY_PATH
    27526   shlibpath_overrides_runpath=yes
    27527   hardcode_into_libs=yes
    27528   # ldd complains unless libraries are executable
    27529   postinstall_cmds='chmod +x $lib'
    27530   ;;
    27531 
    27532 sunos4*)
    27533   version_type=sunos
    27534   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
    27535   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
    27536   shlibpath_var=LD_LIBRARY_PATH
    27537   shlibpath_overrides_runpath=yes
    27538   if test "$with_gnu_ld" = yes; then
    27539     need_lib_prefix=no
    27540   fi
    27541   need_version=yes
    27542   ;;
    27543 
    27544 sysv4 | sysv4.3*)
    27545   version_type=linux
    27546   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    27547   soname_spec='${libname}${release}${shared_ext}$major'
    27548   shlibpath_var=LD_LIBRARY_PATH
    27549   case $host_vendor in
    27550     sni)
    27551       shlibpath_overrides_runpath=no
    27552       need_lib_prefix=no
    27553       export_dynamic_flag_spec='${wl}-Blargedynsym'
    27554       runpath_var=LD_RUN_PATH
    27555       ;;
    27556     siemens)
    27557       need_lib_prefix=no
    27558       ;;
    27559     motorola)
    27560       need_lib_prefix=no
    27561       need_version=no
    27562       shlibpath_overrides_runpath=no
    27563       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
    27564       ;;
    27565   esac
    27566   ;;
    27567 
    27568 sysv4*MP*)
    27569   if test -d /usr/nec ;then
    27570     version_type=linux
    27571     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
    27572     soname_spec='$libname${shared_ext}.$major'
    27573     shlibpath_var=LD_LIBRARY_PATH
    27574   fi
    27575   ;;
    27576 
    27577 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
    27578   version_type=freebsd-elf
    27579   need_lib_prefix=no
    27580   need_version=no
    27581   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
    27582   soname_spec='${libname}${release}${shared_ext}$major'
    27583   shlibpath_var=LD_LIBRARY_PATH
    27584   hardcode_into_libs=yes
    27585   if test "$with_gnu_ld" = yes; then
    27586     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
    27587     shlibpath_overrides_runpath=no
    27588   else
    27589     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
    27590     shlibpath_overrides_runpath=yes
    27591     case $host_os in
    27592       sco3.2v5*)
    27593         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
    27594         ;;
    27595     esac
    27596   fi
    27597   sys_lib_dlsearch_path_spec='/usr/lib'
    27598   ;;
    27599 
    27600 uts4*)
    27601   version_type=linux
    27602   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    27603   soname_spec='${libname}${release}${shared_ext}$major'
    27604   shlibpath_var=LD_LIBRARY_PATH
    27605   ;;
    27606 
    27607 *)
    27608   dynamic_linker=no
    27609   ;;
    27610 esac
    27611 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
    27612 echo "${ECHO_T}$dynamic_linker" >&6
    27613 test "$dynamic_linker" = no && can_build_shared=no
    27614 
    27615 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
    27616 if test "$GCC" = yes; then
    27617   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
    27618 fi
    27619 
    27620 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
    27621 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
    27622 hardcode_action_GCJ=
    27623 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
    27624    test -n "$runpath_var_GCJ" || \
    27625    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
    27626 
    27627   # We can hardcode non-existant directories.
    27628   if test "$hardcode_direct_GCJ" != no &&
    27629      # If the only mechanism to avoid hardcoding is shlibpath_var, we
    27630      # have to relink, otherwise we might link with an installed library
    27631      # when we should be linking with a yet-to-be-installed one
    27632      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
    27633      test "$hardcode_minus_L_GCJ" != no; then
    27634     # Linking always hardcodes the temporary library directory.
    27635     hardcode_action_GCJ=relink
    27636   else
    27637     # We can link without hardcoding, and we can hardcode nonexisting dirs.
    27638     hardcode_action_GCJ=immediate
    27639   fi
    27640 else
    27641   # We cannot hardcode anything, or else we can only hardcode existing
    27642   # directories.
    27643   hardcode_action_GCJ=unsupported
    27644 fi
    27645 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
    27646 echo "${ECHO_T}$hardcode_action_GCJ" >&6
    27647 
    27648 if test "$hardcode_action_GCJ" = relink; then
    27649   # Fast installation is not supported
    27650   enable_fast_install=no
    27651 elif test "$shlibpath_overrides_runpath" = yes ||
    27652      test "$enable_shared" = no; then
    27653   # Fast installation is not necessary
    27654   enable_fast_install=needless
    27655 fi
    27656 
    27657 
    27658 # The else clause should only fire when bootstrapping the
    27659 # libtool distribution, otherwise you forgot to ship ltmain.sh
    27660 # with your package, and you will get complaints that there are
    27661 # no rules to generate ltmain.sh.
    27662 if test -f "$ltmain"; then
    27663   # See if we are running on zsh, and set the options which allow our commands through
    27664   # without removal of \ escapes.
    27665   if test -n "${ZSH_VERSION+set}" ; then
    27666     setopt NO_GLOB_SUBST
    27667   fi
    27668   # Now quote all the things that may contain metacharacters while being
    27669   # careful not to overquote the AC_SUBSTed values.  We take copies of the
    27670   # variables and quote the copies for generation of the libtool script.
    27671   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
    27672     SED SHELL STRIP \
    27673     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
    27674     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
    27675     deplibs_check_method reload_flag reload_cmds need_locks \
    27676     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
    27677     lt_cv_sys_global_symbol_to_c_name_address \
    27678     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
    27679     old_postinstall_cmds old_postuninstall_cmds \
    27680     compiler_GCJ \
    27681     CC_GCJ \
    27682     LD_GCJ \
    27683     lt_prog_compiler_wl_GCJ \
    27684     lt_prog_compiler_pic_GCJ \
    27685     lt_prog_compiler_static_GCJ \
    27686     lt_prog_compiler_no_builtin_flag_GCJ \
    27687     export_dynamic_flag_spec_GCJ \
    27688     thread_safe_flag_spec_GCJ \
    27689     whole_archive_flag_spec_GCJ \
    27690     enable_shared_with_static_runtimes_GCJ \
    27691     old_archive_cmds_GCJ \
    27692     old_archive_from_new_cmds_GCJ \
    27693     predep_objects_GCJ \
    27694     postdep_objects_GCJ \
    27695     predeps_GCJ \
    27696     postdeps_GCJ \
    27697     compiler_lib_search_path_GCJ \
    27698     archive_cmds_GCJ \
    27699     archive_expsym_cmds_GCJ \
    27700     postinstall_cmds_GCJ \
    27701     postuninstall_cmds_GCJ \
    27702     old_archive_from_expsyms_cmds_GCJ \
    27703     allow_undefined_flag_GCJ \
    27704     no_undefined_flag_GCJ \
    27705     export_symbols_cmds_GCJ \
    27706     hardcode_libdir_flag_spec_GCJ \
    27707     hardcode_libdir_flag_spec_ld_GCJ \
    27708     hardcode_libdir_separator_GCJ \
    27709     hardcode_automatic_GCJ \
    27710     module_cmds_GCJ \
    27711     module_expsym_cmds_GCJ \
    27712     lt_cv_prog_compiler_c_o_GCJ \
    27713     exclude_expsyms_GCJ \
    27714     include_expsyms_GCJ; do
    27715 
    27716     case $var in
    27717     old_archive_cmds_GCJ | \
    27718     old_archive_from_new_cmds_GCJ | \
    27719     archive_cmds_GCJ | \
    27720     archive_expsym_cmds_GCJ | \
    27721     module_cmds_GCJ | \
    27722     module_expsym_cmds_GCJ | \
    27723     old_archive_from_expsyms_cmds_GCJ | \
    27724     export_symbols_cmds_GCJ | \
    27725     extract_expsyms_cmds | reload_cmds | finish_cmds | \
    27726     postinstall_cmds | postuninstall_cmds | \
    27727     old_postinstall_cmds | old_postuninstall_cmds | \
    27728     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
    27729       # Double-quote double-evaled strings.
    27730       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
    27731       ;;
    27732     *)
    27733       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
    27734       ;;
    27735     esac
    27736   done
    27737 
    27738   case $lt_echo in
    27739   *'\$0 --fallback-echo"')
    27740     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
    27741     ;;
    27742   esac
    27743 
    27744 cfgfile="$ofile"
    27745 
    27746   cat <<__EOF__ >> "$cfgfile"
    27747 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
    27748 
    27749 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
    27750 
    27751 # Shell to use when invoking shell scripts.
    27752 SHELL=$lt_SHELL
    27753 
    27754 # Whether or not to build shared libraries.
    27755 build_libtool_libs=$enable_shared
    27756 
    27757 # Whether or not to build static libraries.
    27758 build_old_libs=$enable_static
    27759 
    27760 # Whether or not to add -lc for building shared libraries.
    27761 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
    27762 
    27763 # Whether or not to disallow shared libs when runtime libs are static
    27764 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
    27765 
    27766 # Whether or not to optimize for fast installation.
    27767 fast_install=$enable_fast_install
    27768 
    27769 # The host system.
    27770 host_alias=$host_alias
    27771 host=$host
    27772 host_os=$host_os
    27773 
    27774 # The build system.
    27775 build_alias=$build_alias
    27776 build=$build
    27777 build_os=$build_os
    27778 
    27779 # An echo program that does not interpret backslashes.
    27780 echo=$lt_echo
    27781 
    27782 # The archiver.
    27783 AR=$lt_AR
    27784 AR_FLAGS=$lt_AR_FLAGS
    27785 
    27786 # A C compiler.
    27787 LTCC=$lt_LTCC
    27788 
    27789 # LTCC compiler flags.
    27790 LTCFLAGS=$lt_LTCFLAGS
    27791 
    27792 # A language-specific compiler.
    27793 CC=$lt_compiler_GCJ
    27794 
    27795 # Is the compiler the GNU C compiler?
    27796 with_gcc=$GCC_GCJ
    27797 
    27798 # An ERE matcher.
    27799 EGREP=$lt_EGREP
    27800 
    27801 # The linker used to build libraries.
    27802 LD=$lt_LD_GCJ
    27803 
    27804 # Whether we need hard or soft links.
    27805 LN_S=$lt_LN_S
    27806 
    27807 # A BSD-compatible nm program.
    27808 NM=$lt_NM
    27809 
    27810 # A symbol stripping program
    27811 STRIP=$lt_STRIP
    27812 
    27813 # Used to examine libraries when file_magic_cmd begins "file"
    27814 MAGIC_CMD=$MAGIC_CMD
    27815 
    27816 # Used on cygwin: DLL creation program.
    27817 DLLTOOL="$DLLTOOL"
    27818 
    27819 # Used on cygwin: object dumper.
    27820 OBJDUMP="$OBJDUMP"
    27821 
    27822 # Used on cygwin: assembler.
    27823 AS="$AS"
    27824 
    27825 # The name of the directory that contains temporary libtool files.
    27826 objdir=$objdir
    27827 
    27828 # How to create reloadable object files.
    27829 reload_flag=$lt_reload_flag
    27830 reload_cmds=$lt_reload_cmds
    27831 
    27832 # How to pass a linker flag through the compiler.
    27833 wl=$lt_lt_prog_compiler_wl_GCJ
    27834 
    27835 # Object file suffix (normally "o").
    27836 objext="$ac_objext"
    27837 
    27838 # Old archive suffix (normally "a").
    27839 libext="$libext"
    27840 
    27841 # Shared library suffix (normally ".so").
    27842 shrext_cmds='$shrext_cmds'
    27843 
    27844 # Executable file suffix (normally "").
    27845 exeext="$exeext"
    27846 
    27847 # Additional compiler flags for building library objects.
    27848 pic_flag=$lt_lt_prog_compiler_pic_GCJ
    27849 pic_mode=$pic_mode
    27850 
    27851 # What is the maximum length of a command?
    27852 max_cmd_len=$lt_cv_sys_max_cmd_len
    27853 
    27854 # Does compiler simultaneously support -c and -o options?
    27855 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
    27856 
    27857 # Must we lock files when doing compilation?
    27858 need_locks=$lt_need_locks
    27859 
    27860 # Do we need the lib prefix for modules?
    27861 need_lib_prefix=$need_lib_prefix
    27862 
    27863 # Do we need a version for libraries?
    27864 need_version=$need_version
    27865 
    27866 # Whether dlopen is supported.
    27867 dlopen_support=$enable_dlopen
    27868 
    27869 # Whether dlopen of programs is supported.
    27870 dlopen_self=$enable_dlopen_self
    27871 
    27872 # Whether dlopen of statically linked programs is supported.
    27873 dlopen_self_static=$enable_dlopen_self_static
    27874 
    27875 # Compiler flag to prevent dynamic linking.
    27876 link_static_flag=$lt_lt_prog_compiler_static_GCJ
    27877 
    27878 # Compiler flag to turn off builtin functions.
    27879 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
    27880 
    27881 # Compiler flag to allow reflexive dlopens.
    27882 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
    27883 
    27884 # Compiler flag to generate shared objects directly from archives.
    27885 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
    27886 
    27887 # Compiler flag to generate thread-safe objects.
    27888 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
    27889 
    27890 # Library versioning type.
    27891 version_type=$version_type
    27892 
    27893 # Format of library name prefix.
    27894 libname_spec=$lt_libname_spec
    27895 
    27896 # List of archive names.  First name is the real one, the rest are links.
    27897 # The last name is the one that the linker finds with -lNAME.
    27898 library_names_spec=$lt_library_names_spec
    27899 
    27900 # The coded name of the library, if different from the real name.
    27901 soname_spec=$lt_soname_spec
    27902 
    27903 # Commands used to build and install an old-style archive.
    27904 RANLIB=$lt_RANLIB
    27905 old_archive_cmds=$lt_old_archive_cmds_GCJ
    27906 old_postinstall_cmds=$lt_old_postinstall_cmds
    27907 old_postuninstall_cmds=$lt_old_postuninstall_cmds
    27908 
    27909 # Create an old-style archive from a shared archive.
    27910 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
    27911 
    27912 # Create a temporary old-style archive to link instead of a shared archive.
    27913 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
    27914 
    27915 # Commands used to build and install a shared archive.
    27916 archive_cmds=$lt_archive_cmds_GCJ
    27917 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
    27918 postinstall_cmds=$lt_postinstall_cmds
    27919 postuninstall_cmds=$lt_postuninstall_cmds
    27920 
    27921 # Commands used to build a loadable module (assumed same as above if empty)
    27922 module_cmds=$lt_module_cmds_GCJ
    27923 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
    27924 
    27925 # Commands to strip libraries.
    27926 old_striplib=$lt_old_striplib
    27927 striplib=$lt_striplib
    27928 
    27929 # Dependencies to place before the objects being linked to create a
    27930 # shared library.
    27931 predep_objects=$lt_predep_objects_GCJ
    27932 
    27933 # Dependencies to place after the objects being linked to create a
    27934 # shared library.
    27935 postdep_objects=$lt_postdep_objects_GCJ
    27936 
    27937 # Dependencies to place before the objects being linked to create a
    27938 # shared library.
    27939 predeps=$lt_predeps_GCJ
    27940 
    27941 # Dependencies to place after the objects being linked to create a
    27942 # shared library.
    27943 postdeps=$lt_postdeps_GCJ
    27944 
    27945 # The library search path used internally by the compiler when linking
    27946 # a shared library.
    27947 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
    27948 
    27949 # Method to check whether dependent libraries are shared objects.
    27950 deplibs_check_method=$lt_deplibs_check_method
    27951 
    27952 # Command to use when deplibs_check_method == file_magic.
    27953 file_magic_cmd=$lt_file_magic_cmd
    27954 
    27955 # Flag that allows shared libraries with undefined symbols to be built.
    27956 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
    27957 
    27958 # Flag that forces no undefined symbols.
    27959 no_undefined_flag=$lt_no_undefined_flag_GCJ
    27960 
    27961 # Commands used to finish a libtool library installation in a directory.
    27962 finish_cmds=$lt_finish_cmds
    27963 
    27964 # Same as above, but a single script fragment to be evaled but not shown.
    27965 finish_eval=$lt_finish_eval
    27966 
    27967 # Take the output of nm and produce a listing of raw symbols and C names.
    27968 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
    27969 
    27970 # Transform the output of nm in a proper C declaration
    27971 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
    27972 
    27973 # Transform the output of nm in a C name address pair
    27974 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
    27975 
    27976 # This is the shared library runtime path variable.
    27977 runpath_var=$runpath_var
    27978 
    27979 # This is the shared library path variable.
    27980 shlibpath_var=$shlibpath_var
    27981 
    27982 # Is shlibpath searched before the hard-coded library search path?
    27983 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
    27984 
    27985 # How to hardcode a shared library path into an executable.
    27986 hardcode_action=$hardcode_action_GCJ
    27987 
    27988 # Whether we should hardcode library paths into libraries.
    27989 hardcode_into_libs=$hardcode_into_libs
    27990 
    27991 # Flag to hardcode \$libdir into a binary during linking.
    27992 # This must work even if \$libdir does not exist.
    27993 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
    27994 
    27995 # If ld is used when linking, flag to hardcode \$libdir into
    27996 # a binary during linking. This must work even if \$libdir does
    27997 # not exist.
    27998 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
    27999 
    28000 # Whether we need a single -rpath flag with a separated argument.
    28001 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
    28002 
    28003 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
    28004 # resulting binary.
    28005 hardcode_direct=$hardcode_direct_GCJ
    28006 
    28007 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
    28008 # resulting binary.
    28009 hardcode_minus_L=$hardcode_minus_L_GCJ
    28010 
    28011 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
    28012 # the resulting binary.
    28013 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
    28014 
    28015 # Set to yes if building a shared library automatically hardcodes DIR into the library
    28016 # and all subsequent libraries and executables linked against it.
    28017 hardcode_automatic=$hardcode_automatic_GCJ
    28018 
    28019 # Variables whose values should be saved in libtool wrapper scripts and
    28020 # restored at relink time.
    28021 variables_saved_for_relink="$variables_saved_for_relink"
    28022 
    28023 # Whether libtool must link a program against all its dependency libraries.
    28024 link_all_deplibs=$link_all_deplibs_GCJ
    28025 
    28026 # Compile-time system search path for libraries
    28027 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
    28028 
    28029 # Run-time system search path for libraries
    28030 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
    28031 
    28032 # Fix the shell variable \$srcfile for the compiler.
    28033 fix_srcfile_path="$fix_srcfile_path_GCJ"
    28034 
    28035 # Set to yes if exported symbols are required.
    28036 always_export_symbols=$always_export_symbols_GCJ
    28037 
    28038 # The commands to list exported symbols.
    28039 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
    28040 
    28041 # The commands to extract the exported symbol list from a shared archive.
    28042 extract_expsyms_cmds=$lt_extract_expsyms_cmds
    28043 
    28044 # Symbols that should not be listed in the preloaded symbols.
    28045 exclude_expsyms=$lt_exclude_expsyms_GCJ
    28046 
    28047 # Symbols that must always be exported.
    28048 include_expsyms=$lt_include_expsyms_GCJ
    28049 
    28050 # ### END LIBTOOL TAG CONFIG: $tagname
    28051 
    28052 __EOF__
    28053 
    28054 
    28055 else
    28056   # If there is no Makefile yet, we rely on a make rule to execute
    28057   # `config.status --recheck' to rerun these tests and create the
    28058   # libtool script then.
    28059   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
    28060   if test -f "$ltmain_in"; then
    28061     test -f Makefile && make "$ltmain"
    28062   fi
    28063 fi
    28064 
    28065 
    28066 ac_ext=c
    28067 ac_cpp='$CPP $CPPFLAGS'
    28068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    28069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    28070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    28071 
    28072 CC="$lt_save_CC"
    28073 
    28074         else
    28075           tagname=""
    28076         fi
    28077         ;;
    28078 
    28079       RC)
    28080 
    28081 
    28082 
    28083 # Source file extension for RC test sources.
    28084 ac_ext=rc
    28085 
    28086 # Object file extension for compiled RC test sources.
    28087 objext=o
    28088 objext_RC=$objext
    28089 
    28090 # Code to be used in simple compile tests
    28091 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
    28092 
    28093 # Code to be used in simple link tests
    28094 lt_simple_link_test_code="$lt_simple_compile_test_code"
    28095 
    28096 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
    28097 
    28098 # If no C compiler was specified, use CC.
    28099 LTCC=${LTCC-"$CC"}
    28100 
    28101 # If no C compiler flags were specified, use CFLAGS.
    28102 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
    28103 
    28104 # Allow CC to be a program name with arguments.
    28105 compiler=$CC
    28106 
    28107 
    28108 # save warnings/boilerplate of simple test code
    28109 ac_outfile=conftest.$ac_objext
    28110 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
    28111 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
    28112 _lt_compiler_boilerplate=`cat conftest.err`
    28113 $rm conftest*
    28114 
    28115 ac_outfile=conftest.$ac_objext
    28116 printf "$lt_simple_link_test_code" >conftest.$ac_ext
    28117 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
    28118 _lt_linker_boilerplate=`cat conftest.err`
    28119 $rm conftest*
    28120 
    28121 
    28122 # Allow CC to be a program name with arguments.
    28123 lt_save_CC="$CC"
    28124 CC=${RC-"windres"}
    28125 compiler=$CC
    28126 compiler_RC=$CC
    28127 for cc_temp in $compiler""; do
    28128   case $cc_temp in
    28129     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
    28130     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
    28131     \-*) ;;
    28132     *) break;;
    28133   esac
    28134 done
    28135 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
    28136 
    28137 lt_cv_prog_compiler_c_o_RC=yes
    28138 
    28139 # The else clause should only fire when bootstrapping the
    28140 # libtool distribution, otherwise you forgot to ship ltmain.sh
    28141 # with your package, and you will get complaints that there are
    28142 # no rules to generate ltmain.sh.
    28143 if test -f "$ltmain"; then
    28144   # See if we are running on zsh, and set the options which allow our commands through
    28145   # without removal of \ escapes.
    28146   if test -n "${ZSH_VERSION+set}" ; then
    28147     setopt NO_GLOB_SUBST
    28148   fi
    28149   # Now quote all the things that may contain metacharacters while being
    28150   # careful not to overquote the AC_SUBSTed values.  We take copies of the
    28151   # variables and quote the copies for generation of the libtool script.
    28152   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
    28153     SED SHELL STRIP \
    28154     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
    28155     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
    28156     deplibs_check_method reload_flag reload_cmds need_locks \
    28157     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
    28158     lt_cv_sys_global_symbol_to_c_name_address \
    28159     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
    28160     old_postinstall_cmds old_postuninstall_cmds \
    28161     compiler_RC \
    28162     CC_RC \
    28163     LD_RC \
    28164     lt_prog_compiler_wl_RC \
    28165     lt_prog_compiler_pic_RC \
    28166     lt_prog_compiler_static_RC \
    28167     lt_prog_compiler_no_builtin_flag_RC \
    28168     export_dynamic_flag_spec_RC \
    28169     thread_safe_flag_spec_RC \
    28170     whole_archive_flag_spec_RC \
    28171     enable_shared_with_static_runtimes_RC \
    28172     old_archive_cmds_RC \
    28173     old_archive_from_new_cmds_RC \
    28174     predep_objects_RC \
    28175     postdep_objects_RC \
    28176     predeps_RC \
    28177     postdeps_RC \
    28178     compiler_lib_search_path_RC \
    28179     archive_cmds_RC \
    28180     archive_expsym_cmds_RC \
    28181     postinstall_cmds_RC \
    28182     postuninstall_cmds_RC \
    28183     old_archive_from_expsyms_cmds_RC \
    28184     allow_undefined_flag_RC \
    28185     no_undefined_flag_RC \
    28186     export_symbols_cmds_RC \
    28187     hardcode_libdir_flag_spec_RC \
    28188     hardcode_libdir_flag_spec_ld_RC \
    28189     hardcode_libdir_separator_RC \
    28190     hardcode_automatic_RC \
    28191     module_cmds_RC \
    28192     module_expsym_cmds_RC \
    28193     lt_cv_prog_compiler_c_o_RC \
    28194     exclude_expsyms_RC \
    28195     include_expsyms_RC; do
    28196 
    28197     case $var in
    28198     old_archive_cmds_RC | \
    28199     old_archive_from_new_cmds_RC | \
    28200     archive_cmds_RC | \
    28201     archive_expsym_cmds_RC | \
    28202     module_cmds_RC | \
    28203     module_expsym_cmds_RC | \
    28204     old_archive_from_expsyms_cmds_RC | \
    28205     export_symbols_cmds_RC | \
    28206     extract_expsyms_cmds | reload_cmds | finish_cmds | \
    28207     postinstall_cmds | postuninstall_cmds | \
    28208     old_postinstall_cmds | old_postuninstall_cmds | \
    28209     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
    28210       # Double-quote double-evaled strings.
    28211       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
    28212       ;;
    28213     *)
    28214       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
    28215       ;;
    28216     esac
    28217   done
    28218 
    28219   case $lt_echo in
    28220   *'\$0 --fallback-echo"')
    28221     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
    28222     ;;
    28223   esac
    28224 
    28225 cfgfile="$ofile"
    28226 
    28227   cat <<__EOF__ >> "$cfgfile"
    28228 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
    28229 
    28230 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
    28231 
    28232 # Shell to use when invoking shell scripts.
    28233 SHELL=$lt_SHELL
    28234 
    28235 # Whether or not to build shared libraries.
    28236 build_libtool_libs=$enable_shared
    28237 
    28238 # Whether or not to build static libraries.
    28239 build_old_libs=$enable_static
    28240 
    28241 # Whether or not to add -lc for building shared libraries.
    28242 build_libtool_need_lc=$archive_cmds_need_lc_RC
    28243 
    28244 # Whether or not to disallow shared libs when runtime libs are static
    28245 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
    28246 
    28247 # Whether or not to optimize for fast installation.
    28248 fast_install=$enable_fast_install
    28249 
    28250 # The host system.
    28251 host_alias=$host_alias
    28252 host=$host
    28253 host_os=$host_os
    28254 
    28255 # The build system.
    28256 build_alias=$build_alias
    28257 build=$build
    28258 build_os=$build_os
    28259 
    28260 # An echo program that does not interpret backslashes.
    28261 echo=$lt_echo
    28262 
    28263 # The archiver.
    28264 AR=$lt_AR
    28265 AR_FLAGS=$lt_AR_FLAGS
    28266 
    28267 # A C compiler.
    28268 LTCC=$lt_LTCC
    28269 
    28270 # LTCC compiler flags.
    28271 LTCFLAGS=$lt_LTCFLAGS
    28272 
    28273 # A language-specific compiler.
    28274 CC=$lt_compiler_RC
    28275 
    28276 # Is the compiler the GNU C compiler?
    28277 with_gcc=$GCC_RC
    28278 
    28279 # An ERE matcher.
    28280 EGREP=$lt_EGREP
    28281 
    28282 # The linker used to build libraries.
    28283 LD=$lt_LD_RC
    28284 
    28285 # Whether we need hard or soft links.
    28286 LN_S=$lt_LN_S
    28287 
    28288 # A BSD-compatible nm program.
    28289 NM=$lt_NM
    28290 
    28291 # A symbol stripping program
    28292 STRIP=$lt_STRIP
    28293 
    28294 # Used to examine libraries when file_magic_cmd begins "file"
    28295 MAGIC_CMD=$MAGIC_CMD
    28296 
    28297 # Used on cygwin: DLL creation program.
    28298 DLLTOOL="$DLLTOOL"
    28299 
    28300 # Used on cygwin: object dumper.
    28301 OBJDUMP="$OBJDUMP"
    28302 
    28303 # Used on cygwin: assembler.
    28304 AS="$AS"
    28305 
    28306 # The name of the directory that contains temporary libtool files.
    28307 objdir=$objdir
    28308 
    28309 # How to create reloadable object files.
    28310 reload_flag=$lt_reload_flag
    28311 reload_cmds=$lt_reload_cmds
    28312 
    28313 # How to pass a linker flag through the compiler.
    28314 wl=$lt_lt_prog_compiler_wl_RC
    28315 
    28316 # Object file suffix (normally "o").
    28317 objext="$ac_objext"
    28318 
    28319 # Old archive suffix (normally "a").
    28320 libext="$libext"
    28321 
    28322 # Shared library suffix (normally ".so").
    28323 shrext_cmds='$shrext_cmds'
    28324 
    28325 # Executable file suffix (normally "").
    28326 exeext="$exeext"
    28327 
    28328 # Additional compiler flags for building library objects.
    28329 pic_flag=$lt_lt_prog_compiler_pic_RC
    28330 pic_mode=$pic_mode
    28331 
    28332 # What is the maximum length of a command?
    28333 max_cmd_len=$lt_cv_sys_max_cmd_len
    28334 
    28335 # Does compiler simultaneously support -c and -o options?
    28336 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
    28337 
    28338 # Must we lock files when doing compilation?
    28339 need_locks=$lt_need_locks
    28340 
    28341 # Do we need the lib prefix for modules?
    28342 need_lib_prefix=$need_lib_prefix
    28343 
    28344 # Do we need a version for libraries?
    28345 need_version=$need_version
    28346 
    28347 # Whether dlopen is supported.
    28348 dlopen_support=$enable_dlopen
    28349 
    28350 # Whether dlopen of programs is supported.
    28351 dlopen_self=$enable_dlopen_self
    28352 
    28353 # Whether dlopen of statically linked programs is supported.
    28354 dlopen_self_static=$enable_dlopen_self_static
    28355 
    28356 # Compiler flag to prevent dynamic linking.
    28357 link_static_flag=$lt_lt_prog_compiler_static_RC
    28358 
    28359 # Compiler flag to turn off builtin functions.
    28360 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
    28361 
    28362 # Compiler flag to allow reflexive dlopens.
    28363 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
    28364 
    28365 # Compiler flag to generate shared objects directly from archives.
    28366 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
    28367 
    28368 # Compiler flag to generate thread-safe objects.
    28369 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
    28370 
    28371 # Library versioning type.
    28372 version_type=$version_type
    28373 
    28374 # Format of library name prefix.
    28375 libname_spec=$lt_libname_spec
    28376 
    28377 # List of archive names.  First name is the real one, the rest are links.
    28378 # The last name is the one that the linker finds with -lNAME.
    28379 library_names_spec=$lt_library_names_spec
    28380 
    28381 # The coded name of the library, if different from the real name.
    28382 soname_spec=$lt_soname_spec
    28383 
    28384 # Commands used to build and install an old-style archive.
    28385 RANLIB=$lt_RANLIB
    28386 old_archive_cmds=$lt_old_archive_cmds_RC
    28387 old_postinstall_cmds=$lt_old_postinstall_cmds
    28388 old_postuninstall_cmds=$lt_old_postuninstall_cmds
    28389 
    28390 # Create an old-style archive from a shared archive.
    28391 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
    28392 
    28393 # Create a temporary old-style archive to link instead of a shared archive.
    28394 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
    28395 
    28396 # Commands used to build and install a shared archive.
    28397 archive_cmds=$lt_archive_cmds_RC
    28398 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
    28399 postinstall_cmds=$lt_postinstall_cmds
    28400 postuninstall_cmds=$lt_postuninstall_cmds
    28401 
    28402 # Commands used to build a loadable module (assumed same as above if empty)
    28403 module_cmds=$lt_module_cmds_RC
    28404 module_expsym_cmds=$lt_module_expsym_cmds_RC
    28405 
    28406 # Commands to strip libraries.
    28407 old_striplib=$lt_old_striplib
    28408 striplib=$lt_striplib
    28409 
    28410 # Dependencies to place before the objects being linked to create a
    28411 # shared library.
    28412 predep_objects=$lt_predep_objects_RC
    28413 
    28414 # Dependencies to place after the objects being linked to create a
    28415 # shared library.
    28416 postdep_objects=$lt_postdep_objects_RC
    28417 
    28418 # Dependencies to place before the objects being linked to create a
    28419 # shared library.
    28420 predeps=$lt_predeps_RC
    28421 
    28422 # Dependencies to place after the objects being linked to create a
    28423 # shared library.
    28424 postdeps=$lt_postdeps_RC
    28425 
    28426 # The library search path used internally by the compiler when linking
    28427 # a shared library.
    28428 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
    28429 
    28430 # Method to check whether dependent libraries are shared objects.
    28431 deplibs_check_method=$lt_deplibs_check_method
    28432 
    28433 # Command to use when deplibs_check_method == file_magic.
    28434 file_magic_cmd=$lt_file_magic_cmd
    28435 
    28436 # Flag that allows shared libraries with undefined symbols to be built.
    28437 allow_undefined_flag=$lt_allow_undefined_flag_RC
    28438 
    28439 # Flag that forces no undefined symbols.
    28440 no_undefined_flag=$lt_no_undefined_flag_RC
    28441 
    28442 # Commands used to finish a libtool library installation in a directory.
    28443 finish_cmds=$lt_finish_cmds
    28444 
    28445 # Same as above, but a single script fragment to be evaled but not shown.
    28446 finish_eval=$lt_finish_eval
    28447 
    28448 # Take the output of nm and produce a listing of raw symbols and C names.
    28449 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
    28450 
    28451 # Transform the output of nm in a proper C declaration
    28452 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
    28453 
    28454 # Transform the output of nm in a C name address pair
    28455 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
    28456 
    28457 # This is the shared library runtime path variable.
    28458 runpath_var=$runpath_var
    28459 
    28460 # This is the shared library path variable.
    28461 shlibpath_var=$shlibpath_var
    28462 
    28463 # Is shlibpath searched before the hard-coded library search path?
    28464 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
    28465 
    28466 # How to hardcode a shared library path into an executable.
    28467 hardcode_action=$hardcode_action_RC
    28468 
    28469 # Whether we should hardcode library paths into libraries.
    28470 hardcode_into_libs=$hardcode_into_libs
    28471 
    28472 # Flag to hardcode \$libdir into a binary during linking.
    28473 # This must work even if \$libdir does not exist.
    28474 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
    28475 
    28476 # If ld is used when linking, flag to hardcode \$libdir into
    28477 # a binary during linking. This must work even if \$libdir does
    28478 # not exist.
    28479 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
    28480 
    28481 # Whether we need a single -rpath flag with a separated argument.
    28482 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
    28483 
    28484 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
    28485 # resulting binary.
    28486 hardcode_direct=$hardcode_direct_RC
    28487 
    28488 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
    28489 # resulting binary.
    28490 hardcode_minus_L=$hardcode_minus_L_RC
    28491 
    28492 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
    28493 # the resulting binary.
    28494 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
    28495 
    28496 # Set to yes if building a shared library automatically hardcodes DIR into the library
    28497 # and all subsequent libraries and executables linked against it.
    28498 hardcode_automatic=$hardcode_automatic_RC
    28499 
    28500 # Variables whose values should be saved in libtool wrapper scripts and
    28501 # restored at relink time.
    28502 variables_saved_for_relink="$variables_saved_for_relink"
    28503 
    28504 # Whether libtool must link a program against all its dependency libraries.
    28505 link_all_deplibs=$link_all_deplibs_RC
    28506 
    28507 # Compile-time system search path for libraries
    28508 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
    28509 
    28510 # Run-time system search path for libraries
    28511 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
    28512 
    28513 # Fix the shell variable \$srcfile for the compiler.
    28514 fix_srcfile_path="$fix_srcfile_path_RC"
    28515 
    28516 # Set to yes if exported symbols are required.
    28517 always_export_symbols=$always_export_symbols_RC
    28518 
    28519 # The commands to list exported symbols.
    28520 export_symbols_cmds=$lt_export_symbols_cmds_RC
    28521 
    28522 # The commands to extract the exported symbol list from a shared archive.
    28523 extract_expsyms_cmds=$lt_extract_expsyms_cmds
    28524 
    28525 # Symbols that should not be listed in the preloaded symbols.
    28526 exclude_expsyms=$lt_exclude_expsyms_RC
    28527 
    28528 # Symbols that must always be exported.
    28529 include_expsyms=$lt_include_expsyms_RC
    28530 
    28531 # ### END LIBTOOL TAG CONFIG: $tagname
    28532 
    28533 __EOF__
    28534 
    28535 
    28536 else
    28537   # If there is no Makefile yet, we rely on a make rule to execute
    28538   # `config.status --recheck' to rerun these tests and create the
    28539   # libtool script then.
    28540   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
    28541   if test -f "$ltmain_in"; then
    28542     test -f Makefile && make "$ltmain"
    28543   fi
    28544 fi
    28545 
    28546 
    28547 ac_ext=c
    28548 ac_cpp='$CPP $CPPFLAGS'
    28549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    28550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    28551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    28552 
    28553 CC="$lt_save_CC"
    28554 
    28555         ;;
    28556 
    28557       *)
    28558         { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
    28559 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
    28560    { (exit 1); exit 1; }; }
    28561         ;;
    28562       esac
    28563 
    28564       # Append the new tag name to the list of available tags.
    28565       if test -n "$tagname" ; then
    28566       available_tags="$available_tags $tagname"
    28567     fi
    28568     fi
    28569   done
    28570   IFS="$lt_save_ifs"
    28571 
    28572   # Now substitute the updated list of available tags.
    28573   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
    28574     mv "${ofile}T" "$ofile"
    28575     chmod +x "$ofile"
    28576   else
    28577     rm -f "${ofile}T"
    28578     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
    28579 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
    28580    { (exit 1); exit 1; }; }
    28581   fi
    28582 fi
    28583 
    28584 
    28585 
    28586 # This can be used to rebuild libtool when needed
    28587 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
    28588 
    28589 # Always use our own libtool.
    28590 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
    28591 
    28592 # Prevent multiple expansion
    28593 
    28594 
    28595 
    28596 
    28597 
    28598 
    28599 
    28600 
    28601 
    28602 
    28603 
    28604 
    28605 
    28606 
    28607 
    28608 
    28609 
    28610 
     22476
     22477
     22478
     22479
     22480
     22481
     22482
     22483
     22484
     22485
     22486
     22487
     22488        ac_config_commands="$ac_config_commands libtool"
     22489
     22490
     22491
     22492
     22493# Only expand once:
    2861122494
    2861222495
     
    2863422517  if test $HAVE_MPI == "yes" &&
    2863522518     test $HAVE_MPIPP == "no"; then
    28636     { { echo "$as_me:$LINENO: error: libmpi++ needed for mpi cca components" >&5
    28637 echo "$as_me: error: libmpi++ needed for mpi cca components" >&2;}
    28638    { (exit 1); exit 1; }; }
     22519    as_fn_error $? "libmpi++ needed for mpi cca components" "$LINENO" 5
    2863922520  fi
    2864022521
    2864122522  if test -z $CCA_CHEM_CONFIG && ! test -x $CCA_CHEM_CONFIG; then
    28642     { { echo "$as_me:$LINENO: error: cca-chem-config is required to build CCA component code" >&5
    28643 echo "$as_me: error: cca-chem-config is required to build CCA component code" >&2;}
    28644    { (exit 1); exit 1; }; }
     22523    as_fn_error $? "cca-chem-config is required to build CCA component code" "$LINENO" 5
    2864522524  fi
    2864622525
     
    2865922538  # ccaffeine gives us everything else
    2866022539
    28661 # Check whether --with-ccafe-config or --without-ccafe-config was given.
    28662 if test "${with_ccafe_config+set}" = set; then
    28663   withval="$with_ccafe_config"
    28664    CCAFE_CONFIG=$withval
     22540# Check whether --with-ccafe-config was given.
     22541if test "${with_ccafe_config+set}" = set; then :
     22542  withval=$with_ccafe_config;  CCAFE_CONFIG=$withval
    2866522543else
    2866622544   if test -z $CCAFE_CONFIG || test ! -x $CCAFE_CONFIG; then
    2866722545      # Extract the first word of "ccafe-config", so it can be a program name with args.
    2866822546set dummy ccafe-config; ac_word=$2
    28669 echo "$as_me:$LINENO: checking for $ac_word" >&5
    28670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    28671 if test "${ac_cv_path_CCAFE_CONFIG+set}" = set; then
    28672   echo $ECHO_N "(cached) $ECHO_C" >&6
     22547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     22548$as_echo_n "checking for $ac_word... " >&6; }
     22549if ${ac_cv_path_CCAFE_CONFIG+:} false; then :
     22550  $as_echo_n "(cached) " >&6
    2867322551else
    2867422552  case $CCAFE_CONFIG in
     
    2868222560  IFS=$as_save_IFS
    2868322561  test -z "$as_dir" && as_dir=.
    28684   for ac_exec_ext in '' $ac_executable_extensions; do
    28685   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     22562    for ac_exec_ext in '' $ac_executable_extensions; do
     22563  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2868622564    ac_cv_path_CCAFE_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    28687     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     22565    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    2868822566    break 2
    2868922567  fi
    2869022568done
    28691 done
     22569  done
     22570IFS=$as_save_IFS
    2869222571
    2869322572  test -z "$ac_cv_path_CCAFE_CONFIG" && ac_cv_path_CCAFE_CONFIG=""not-found""
     
    2869622575fi
    2869722576CCAFE_CONFIG=$ac_cv_path_CCAFE_CONFIG
    28698 
    2869922577if test -n "$CCAFE_CONFIG"; then
    28700   echo "$as_me:$LINENO: result: $CCAFE_CONFIG" >&5
    28701 echo "${ECHO_T}$CCAFE_CONFIG" >&6
    28702 else
    28703   echo "$as_me:$LINENO: result: no" >&5
    28704 echo "${ECHO_T}no" >&6
    28705 fi
     22578  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCAFE_CONFIG" >&5
     22579$as_echo "$CCAFE_CONFIG" >&6; }
     22580else
     22581  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     22582$as_echo "no" >&6; }
     22583fi
     22584
    2870622585
    2870722586    fi
    2870822587
    2870922588
    28710 fi;
     22589fi
     22590
    2871122591  if ! test -x $CCAFE_CONFIG; then
    28712     { { echo "$as_me:$LINENO: error: ccaffeine not found, use --with-ccafe-config" >&5
    28713 echo "$as_me: error: ccaffeine not found, use --with-ccafe-config" >&2;}
    28714    { (exit 1); exit 1; }; }
     22592    as_fn_error $? "ccaffeine not found, use --with-ccafe-config" "$LINENO" 5
    2871522593  fi
    2871622594  CCAFE_INCLUDE=`$CCAFE_CONFIG --var CCAFE_pkgincludedir`
     
    2872722605  CCA_SPEC_BABEL_CONFIG=`$CCAFE_CONFIG --var CCAFE_CCA_SPEC_BABEL_CONFIG`
    2872822606  if test -z $CCA_SPEC_BABEL_CONFIG || ! test -x $CCA_SPEC_BABEL_CONFIG; then
    28729     { { echo "$as_me:$LINENO: error: can't find cca-spec-babel-config" >&5
    28730 echo "$as_me: error: can't find cca-spec-babel-config" >&2;}
    28731    { (exit 1); exit 1; }; }
     22607    as_fn_error $? "can't find cca-spec-babel-config" "$LINENO" 5
    2873222608  fi
    2873322609  CCA_SPEC_BABEL_INCLUDE=`$CCA_SPEC_BABEL_CONFIG --var CCASPEC_pkgincludedir`
     
    2874322619  CCA_SPEC_CLASSIC_CONFIG="$CCA_SPEC_CLASSIC_ROOT/bin/cca-spec-classic-config"
    2874422620  if test -z $CCA_SPEC_CLASSIC_CONFIG || test ! -e $CCA_SPEC_CLASSIC_CONFIG; then
    28745     { { echo "$as_me:$LINENO: error: can't find cca-spec-classic-config" >&5
    28746 echo "$as_me: error: can't find cca-spec-classic-config" >&2;}
    28747    { (exit 1); exit 1; }; }
     22621    as_fn_error $? "can't find cca-spec-classic-config" "$LINENO" 5
    2874822622  fi
    2874922623  CCA_SPEC_CLASSIC_INCLUDE=`$CCA_SPEC_CLASSIC_CONFIG --var CLASSIC_pkgincludedir`
     
    2875822632  BABEL_CONFIG=`$CCA_SPEC_BABEL_CONFIG --var CCASPEC_BABEL_BABEL_CONFIG`
    2875922633  if test ! -x $BABEL_CONFIG; then
    28760     { { echo "$as_me:$LINENO: error: can't find babel-config" >&5
    28761 echo "$as_me: error: can't find babel-config" >&2;}
    28762    { (exit 1); exit 1; }; }
     22634    as_fn_error $? "can't find babel-config" "$LINENO" 5
    2876322635  fi
    2876422636  BABEL_INCLUDE=`$BABEL_CONFIG --includedir`
     
    2878622658  BABEL_LIBTOOL=$BABEL_BIN/babel-libtool
    2878722659  if test -z $BABEL_LIBTOOL || ! test -x $BABEL_LIBTOOL; then
    28788     { { echo "$as_me:$LINENO: error: can't find babel-libtool" >&5
    28789 echo "$as_me: error: can't find babel-libtool" >&2;}
    28790    { (exit 1); exit 1; }; }
     22660    as_fn_error $? "can't find babel-libtool" "$LINENO" 5
    2879122661  fi
    2879222662
     
    2879822668  if test -z "$CCAFE_MPI_INCLUDE"; then
    2879922669    CCAFE_MPI_ENABLE="no"
    28800     { echo "$as_me:$LINENO: WARNING: Ccaffeine not configured for MPI" >&5
    28801 echo "$as_me: WARNING: Ccaffeine not configured for MPI" >&2;}
     22670    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ccaffeine not configured for MPI" >&5
     22671$as_echo "$as_me: WARNING: Ccaffeine not configured for MPI" >&2;}
    2880222672  else
    2880322673   CCAFE_MPI_ENABLE="yes"
     
    2881322683    BABEL_PYTHON_ENABLE=`$BABEL_CONFIG --query-var=SUPPORT_PYTHON`
    2881422684    if test $BABEL_PYTHON_ENABLE == "false"; then
    28815       { { echo "$as_me:$LINENO: error: Babel not properly configured for python" >&5
    28816 echo "$as_me: error: Babel not properly configured for python" >&2;}
    28817    { (exit 1); exit 1; }; }
     22685      as_fn_error $? "Babel not properly configured for python" "$LINENO" 5
    2881822686    fi
    2881922687    # check that ccafe is configured for python
    2882022688    if ! test -d $CCAFE_ROOT/lib/python$PYTHON_VERSION/site-packages/ccaffeine; then
    28821       { { echo "$as_me:$LINENO: error: Ccaffeine not properly configured for Python" >&5
    28822 echo "$as_me: error: Ccaffeine not properly configured for Python" >&2;}
    28823    { (exit 1); exit 1; }; }
     22689      as_fn_error $? "Ccaffeine not properly configured for Python" "$LINENO" 5
    2882422690    else
    2882522691      CCAFE_PYTHON_ENABLE="yes"
     
    2888122747  CPPFLAGS="$CPPFLAGS $BABEL_INCLUDE $CCA_SPEC_BABEL_INCLUDE $CCA_CHEM_INCLUDE $CCAFE_INCLUDE"
    2888222748
    28883   if test "${ac_cv_header_sidl_h+set}" = set; then
    28884   echo "$as_me:$LINENO: checking for sidl.h" >&5
    28885 echo $ECHO_N "checking for sidl.h... $ECHO_C" >&6
    28886 if test "${ac_cv_header_sidl_h+set}" = set; then
    28887   echo $ECHO_N "(cached) $ECHO_C" >&6
    28888 fi
    28889 echo "$as_me:$LINENO: result: $ac_cv_header_sidl_h" >&5
    28890 echo "${ECHO_T}$ac_cv_header_sidl_h" >&6
    28891 else
    28892   # Is the header compilable?
    28893 echo "$as_me:$LINENO: checking sidl.h usability" >&5
    28894 echo $ECHO_N "checking sidl.h usability... $ECHO_C" >&6
    28895 cat >conftest.$ac_ext <<_ACEOF
    28896 /* confdefs.h.  */
    28897 _ACEOF
    28898 cat confdefs.h >>conftest.$ac_ext
    28899 cat >>conftest.$ac_ext <<_ACEOF
    28900 /* end confdefs.h.  */
    28901 $ac_includes_default
    28902 #include <sidl.h>
    28903 _ACEOF
    28904 rm -f conftest.$ac_objext
    28905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    28906   (eval $ac_compile) 2>conftest.er1
    28907   ac_status=$?
    28908   grep -v '^ *+' conftest.er1 >conftest.err
    28909   rm -f conftest.er1
    28910   cat conftest.err >&5
    28911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    28912   (exit $ac_status); } &&
    28913          { ac_try='test -z "$ac_c_werror_flag"
    28914                          || test ! -s conftest.err'
    28915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    28916   (eval $ac_try) 2>&5
    28917   ac_status=$?
    28918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    28919   (exit $ac_status); }; } &&
    28920          { ac_try='test -s conftest.$ac_objext'
    28921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    28922   (eval $ac_try) 2>&5
    28923   ac_status=$?
    28924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    28925   (exit $ac_status); }; }; then
    28926   ac_header_compiler=yes
    28927 else
    28928   echo "$as_me: failed program was:" >&5
    28929 sed 's/^/| /' conftest.$ac_ext >&5
    28930 
    28931 ac_header_compiler=no
    28932 fi
    28933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    28934 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    28935 echo "${ECHO_T}$ac_header_compiler" >&6
    28936 
    28937 # Is the header present?
    28938 echo "$as_me:$LINENO: checking sidl.h presence" >&5
    28939 echo $ECHO_N "checking sidl.h presence... $ECHO_C" >&6
    28940 cat >conftest.$ac_ext <<_ACEOF
    28941 /* confdefs.h.  */
    28942 _ACEOF
    28943 cat confdefs.h >>conftest.$ac_ext
    28944 cat >>conftest.$ac_ext <<_ACEOF
    28945 /* end confdefs.h.  */
    28946 #include <sidl.h>
    28947 _ACEOF
    28948 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    28949   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    28950   ac_status=$?
    28951   grep -v '^ *+' conftest.er1 >conftest.err
    28952   rm -f conftest.er1
    28953   cat conftest.err >&5
    28954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    28955   (exit $ac_status); } >/dev/null; then
    28956   if test -s conftest.err; then
    28957     ac_cpp_err=$ac_c_preproc_warn_flag
    28958     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    28959   else
    28960     ac_cpp_err=
    28961   fi
    28962 else
    28963   ac_cpp_err=yes
    28964 fi
    28965 if test -z "$ac_cpp_err"; then
    28966   ac_header_preproc=yes
    28967 else
    28968   echo "$as_me: failed program was:" >&5
    28969 sed 's/^/| /' conftest.$ac_ext >&5
    28970 
    28971   ac_header_preproc=no
    28972 fi
    28973 rm -f conftest.err conftest.$ac_ext
    28974 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    28975 echo "${ECHO_T}$ac_header_preproc" >&6
    28976 
    28977 # So?  What about this header?
    28978 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    28979   yes:no: )
    28980     { echo "$as_me:$LINENO: WARNING: sidl.h: accepted by the compiler, rejected by the preprocessor!" >&5
    28981 echo "$as_me: WARNING: sidl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    28982     { echo "$as_me:$LINENO: WARNING: sidl.h: proceeding with the compiler's result" >&5
    28983 echo "$as_me: WARNING: sidl.h: proceeding with the compiler's result" >&2;}
    28984     ac_header_preproc=yes
    28985     ;;
    28986   no:yes:* )
    28987     { echo "$as_me:$LINENO: WARNING: sidl.h: present but cannot be compiled" >&5
    28988 echo "$as_me: WARNING: sidl.h: present but cannot be compiled" >&2;}
    28989     { echo "$as_me:$LINENO: WARNING: sidl.h:     check for missing prerequisite headers?" >&5
    28990 echo "$as_me: WARNING: sidl.h:     check for missing prerequisite headers?" >&2;}
    28991     { echo "$as_me:$LINENO: WARNING: sidl.h: see the Autoconf documentation" >&5
    28992 echo "$as_me: WARNING: sidl.h: see the Autoconf documentation" >&2;}
    28993     { echo "$as_me:$LINENO: WARNING: sidl.h:     section \"Present But Cannot Be Compiled\"" >&5
    28994 echo "$as_me: WARNING: sidl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    28995     { echo "$as_me:$LINENO: WARNING: sidl.h: proceeding with the preprocessor's result" >&5
    28996 echo "$as_me: WARNING: sidl.h: proceeding with the preprocessor's result" >&2;}
    28997     { echo "$as_me:$LINENO: WARNING: sidl.h: in the future, the compiler will take precedence" >&5
    28998 echo "$as_me: WARNING: sidl.h: in the future, the compiler will take precedence" >&2;}
    28999     (
    29000       cat <<\_ASBOX
    29001 ## ------------------------------------------ ##
    29002 ## Report this to the AC_PACKAGE_NAME lists.  ##
    29003 ## ------------------------------------------ ##
    29004 _ASBOX
    29005     ) |
    29006       sed "s/^/$as_me: WARNING:     /" >&2
    29007     ;;
    29008 esac
    29009 echo "$as_me:$LINENO: checking for sidl.h" >&5
    29010 echo $ECHO_N "checking for sidl.h... $ECHO_C" >&6
    29011 if test "${ac_cv_header_sidl_h+set}" = set; then
    29012   echo $ECHO_N "(cached) $ECHO_C" >&6
    29013 else
    29014   ac_cv_header_sidl_h=$ac_header_preproc
    29015 fi
    29016 echo "$as_me:$LINENO: result: $ac_cv_header_sidl_h" >&5
    29017 echo "${ECHO_T}$ac_cv_header_sidl_h" >&6
    29018 
    29019 fi
    29020 if test $ac_cv_header_sidl_h = yes; then
    29021   cat >>confdefs.h <<\_ACEOF
    29022 #define HAVE_SIDL_HEADERS 1
    29023 _ACEOF
    29024 
    29025 else
    29026   { { echo "$as_me:$LINENO: error: problem with babel headers" >&5
    29027 echo "$as_me: error: problem with babel headers" >&2;}
    29028    { (exit 1); exit 1; }; }
    29029 fi
    29030 
    29031 
    29032   if test "${ac_cv_header_gov_cca_IOR_h+set}" = set; then
    29033   echo "$as_me:$LINENO: checking for gov_cca_IOR.h" >&5
    29034 echo $ECHO_N "checking for gov_cca_IOR.h... $ECHO_C" >&6
    29035 if test "${ac_cv_header_gov_cca_IOR_h+set}" = set; then
    29036   echo $ECHO_N "(cached) $ECHO_C" >&6
    29037 fi
    29038 echo "$as_me:$LINENO: result: $ac_cv_header_gov_cca_IOR_h" >&5
    29039 echo "${ECHO_T}$ac_cv_header_gov_cca_IOR_h" >&6
    29040 else
    29041   # Is the header compilable?
    29042 echo "$as_me:$LINENO: checking gov_cca_IOR.h usability" >&5
    29043 echo $ECHO_N "checking gov_cca_IOR.h usability... $ECHO_C" >&6
    29044 cat >conftest.$ac_ext <<_ACEOF
    29045 /* confdefs.h.  */
    29046 _ACEOF
    29047 cat confdefs.h >>conftest.$ac_ext
    29048 cat >>conftest.$ac_ext <<_ACEOF
    29049 /* end confdefs.h.  */
    29050 $ac_includes_default
    29051 #include <gov_cca_IOR.h>
    29052 _ACEOF
    29053 rm -f conftest.$ac_objext
    29054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    29055   (eval $ac_compile) 2>conftest.er1
    29056   ac_status=$?
    29057   grep -v '^ *+' conftest.er1 >conftest.err
    29058   rm -f conftest.er1
    29059   cat conftest.err >&5
    29060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    29061   (exit $ac_status); } &&
    29062          { ac_try='test -z "$ac_c_werror_flag"
    29063                          || test ! -s conftest.err'
    29064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    29065   (eval $ac_try) 2>&5
    29066   ac_status=$?
    29067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    29068   (exit $ac_status); }; } &&
    29069          { ac_try='test -s conftest.$ac_objext'
    29070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    29071   (eval $ac_try) 2>&5
    29072   ac_status=$?
    29073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    29074   (exit $ac_status); }; }; then
    29075   ac_header_compiler=yes
    29076 else
    29077   echo "$as_me: failed program was:" >&5
    29078 sed 's/^/| /' conftest.$ac_ext >&5
    29079 
    29080 ac_header_compiler=no
    29081 fi
    29082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    29083 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    29084 echo "${ECHO_T}$ac_header_compiler" >&6
    29085 
    29086 # Is the header present?
    29087 echo "$as_me:$LINENO: checking gov_cca_IOR.h presence" >&5
    29088 echo $ECHO_N "checking gov_cca_IOR.h presence... $ECHO_C" >&6
    29089 cat >conftest.$ac_ext <<_ACEOF
    29090 /* confdefs.h.  */
    29091 _ACEOF
    29092 cat confdefs.h >>conftest.$ac_ext
    29093 cat >>conftest.$ac_ext <<_ACEOF
    29094 /* end confdefs.h.  */
    29095 #include <gov_cca_IOR.h>
    29096 _ACEOF
    29097 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    29098   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    29099   ac_status=$?
    29100   grep -v '^ *+' conftest.er1 >conftest.err
    29101   rm -f conftest.er1
    29102   cat conftest.err >&5
    29103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    29104   (exit $ac_status); } >/dev/null; then
    29105   if test -s conftest.err; then
    29106     ac_cpp_err=$ac_c_preproc_warn_flag
    29107     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    29108   else
    29109     ac_cpp_err=
    29110   fi
    29111 else
    29112   ac_cpp_err=yes
    29113 fi
    29114 if test -z "$ac_cpp_err"; then
    29115   ac_header_preproc=yes
    29116 else
    29117   echo "$as_me: failed program was:" >&5
    29118 sed 's/^/| /' conftest.$ac_ext >&5
    29119 
    29120   ac_header_preproc=no
    29121 fi
    29122 rm -f conftest.err conftest.$ac_ext
    29123 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    29124 echo "${ECHO_T}$ac_header_preproc" >&6
    29125 
    29126 # So?  What about this header?
    29127 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    29128   yes:no: )
    29129     { echo "$as_me:$LINENO: WARNING: gov_cca_IOR.h: accepted by the compiler, rejected by the preprocessor!" >&5
    29130 echo "$as_me: WARNING: gov_cca_IOR.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    29131     { echo "$as_me:$LINENO: WARNING: gov_cca_IOR.h: proceeding with the compiler's result" >&5
    29132 echo "$as_me: WARNING: gov_cca_IOR.h: proceeding with the compiler's result" >&2;}
    29133     ac_header_preproc=yes
    29134     ;;
    29135   no:yes:* )
    29136     { echo "$as_me:$LINENO: WARNING: gov_cca_IOR.h: present but cannot be compiled" >&5
    29137 echo "$as_me: WARNING: gov_cca_IOR.h: present but cannot be compiled" >&2;}
    29138     { echo "$as_me:$LINENO: WARNING: gov_cca_IOR.h:     check for missing prerequisite headers?" >&5
    29139 echo "$as_me: WARNING: gov_cca_IOR.h:     check for missing prerequisite headers?" >&2;}
    29140     { echo "$as_me:$LINENO: WARNING: gov_cca_IOR.h: see the Autoconf documentation" >&5
    29141 echo "$as_me: WARNING: gov_cca_IOR.h: see the Autoconf documentation" >&2;}
    29142     { echo "$as_me:$LINENO: WARNING: gov_cca_IOR.h:     section \"Present But Cannot Be Compiled\"" >&5
    29143 echo "$as_me: WARNING: gov_cca_IOR.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    29144     { echo "$as_me:$LINENO: WARNING: gov_cca_IOR.h: proceeding with the preprocessor's result" >&5
    29145 echo "$as_me: WARNING: gov_cca_IOR.h: proceeding with the preprocessor's result" >&2;}
    29146     { echo "$as_me:$LINENO: WARNING: gov_cca_IOR.h: in the future, the compiler will take precedence" >&5
    29147 echo "$as_me: WARNING: gov_cca_IOR.h: in the future, the compiler will take precedence" >&2;}
    29148     (
    29149       cat <<\_ASBOX
    29150 ## ------------------------------------------ ##
    29151 ## Report this to the AC_PACKAGE_NAME lists.  ##
    29152 ## ------------------------------------------ ##
    29153 _ASBOX
    29154     ) |
    29155       sed "s/^/$as_me: WARNING:     /" >&2
    29156     ;;
    29157 esac
    29158 echo "$as_me:$LINENO: checking for gov_cca_IOR.h" >&5
    29159 echo $ECHO_N "checking for gov_cca_IOR.h... $ECHO_C" >&6
    29160 if test "${ac_cv_header_gov_cca_IOR_h+set}" = set; then
    29161   echo $ECHO_N "(cached) $ECHO_C" >&6
    29162 else
    29163   ac_cv_header_gov_cca_IOR_h=$ac_header_preproc
    29164 fi
    29165 echo "$as_me:$LINENO: result: $ac_cv_header_gov_cca_IOR_h" >&5
    29166 echo "${ECHO_T}$ac_cv_header_gov_cca_IOR_h" >&6
    29167 
    29168 fi
    29169 if test $ac_cv_header_gov_cca_IOR_h = yes; then
    29170   cat >>confdefs.h <<\_ACEOF
    29171 #define HAVE_CCA_SPEC_BABEL_HEADERS 1
    29172 _ACEOF
    29173 
    29174 else
    29175   { { echo "$as_me:$LINENO: error: problem with cca-spec-babel headers" >&5
    29176 echo "$as_me: error: problem with cca-spec-babel headers" >&2;}
    29177    { (exit 1); exit 1; }; }
    29178 fi
    29179 
    29180 
    29181   if test "${ac_cv_header_Chemistry_QC_Model_IOR_h+set}" = set; then
    29182   echo "$as_me:$LINENO: checking for Chemistry_QC_Model_IOR.h" >&5
    29183 echo $ECHO_N "checking for Chemistry_QC_Model_IOR.h... $ECHO_C" >&6
    29184 if test "${ac_cv_header_Chemistry_QC_Model_IOR_h+set}" = set; then
    29185   echo $ECHO_N "(cached) $ECHO_C" >&6
    29186 fi
    29187 echo "$as_me:$LINENO: result: $ac_cv_header_Chemistry_QC_Model_IOR_h" >&5
    29188 echo "${ECHO_T}$ac_cv_header_Chemistry_QC_Model_IOR_h" >&6
    29189 else
    29190   # Is the header compilable?
    29191 echo "$as_me:$LINENO: checking Chemistry_QC_Model_IOR.h usability" >&5
    29192 echo $ECHO_N "checking Chemistry_QC_Model_IOR.h usability... $ECHO_C" >&6
    29193 cat >conftest.$ac_ext <<_ACEOF
    29194 /* confdefs.h.  */
    29195 _ACEOF
    29196 cat confdefs.h >>conftest.$ac_ext
    29197 cat >>conftest.$ac_ext <<_ACEOF
    29198 /* end confdefs.h.  */
    29199 $ac_includes_default
    29200 #include <Chemistry_QC_Model_IOR.h>
    29201 _ACEOF
    29202 rm -f conftest.$ac_objext
    29203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    29204   (eval $ac_compile) 2>conftest.er1
    29205   ac_status=$?
    29206   grep -v '^ *+' conftest.er1 >conftest.err
    29207   rm -f conftest.er1
    29208   cat conftest.err >&5
    29209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    29210   (exit $ac_status); } &&
    29211          { ac_try='test -z "$ac_c_werror_flag"
    29212                          || test ! -s conftest.err'
    29213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    29214   (eval $ac_try) 2>&5
    29215   ac_status=$?
    29216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    29217   (exit $ac_status); }; } &&
    29218          { ac_try='test -s conftest.$ac_objext'
    29219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    29220   (eval $ac_try) 2>&5
    29221   ac_status=$?
    29222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    29223   (exit $ac_status); }; }; then
    29224   ac_header_compiler=yes
    29225 else
    29226   echo "$as_me: failed program was:" >&5
    29227 sed 's/^/| /' conftest.$ac_ext >&5
    29228 
    29229 ac_header_compiler=no
    29230 fi
    29231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    29232 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    29233 echo "${ECHO_T}$ac_header_compiler" >&6
    29234 
    29235 # Is the header present?
    29236 echo "$as_me:$LINENO: checking Chemistry_QC_Model_IOR.h presence" >&5
    29237 echo $ECHO_N "checking Chemistry_QC_Model_IOR.h presence... $ECHO_C" >&6
    29238 cat >conftest.$ac_ext <<_ACEOF
    29239 /* confdefs.h.  */
    29240 _ACEOF
    29241 cat confdefs.h >>conftest.$ac_ext
    29242 cat >>conftest.$ac_ext <<_ACEOF
    29243 /* end confdefs.h.  */
    29244 #include <Chemistry_QC_Model_IOR.h>
    29245 _ACEOF
    29246 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    29247   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    29248   ac_status=$?
    29249   grep -v '^ *+' conftest.er1 >conftest.err
    29250   rm -f conftest.er1
    29251   cat conftest.err >&5
    29252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    29253   (exit $ac_status); } >/dev/null; then
    29254   if test -s conftest.err; then
    29255     ac_cpp_err=$ac_c_preproc_warn_flag
    29256     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    29257   else
    29258     ac_cpp_err=
    29259   fi
    29260 else
    29261   ac_cpp_err=yes
    29262 fi
    29263 if test -z "$ac_cpp_err"; then
    29264   ac_header_preproc=yes
    29265 else
    29266   echo "$as_me: failed program was:" >&5
    29267 sed 's/^/| /' conftest.$ac_ext >&5
    29268 
    29269   ac_header_preproc=no
    29270 fi
    29271 rm -f conftest.err conftest.$ac_ext
    29272 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    29273 echo "${ECHO_T}$ac_header_preproc" >&6
    29274 
    29275 # So?  What about this header?
    29276 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    29277   yes:no: )
    29278     { echo "$as_me:$LINENO: WARNING: Chemistry_QC_Model_IOR.h: accepted by the compiler, rejected by the preprocessor!" >&5
    29279 echo "$as_me: WARNING: Chemistry_QC_Model_IOR.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    29280     { echo "$as_me:$LINENO: WARNING: Chemistry_QC_Model_IOR.h: proceeding with the compiler's result" >&5
    29281 echo "$as_me: WARNING: Chemistry_QC_Model_IOR.h: proceeding with the compiler's result" >&2;}
    29282     ac_header_preproc=yes
    29283     ;;
    29284   no:yes:* )
    29285     { echo "$as_me:$LINENO: WARNING: Chemistry_QC_Model_IOR.h: present but cannot be compiled" >&5
    29286 echo "$as_me: WARNING: Chemistry_QC_Model_IOR.h: present but cannot be compiled" >&2;}
    29287     { echo "$as_me:$LINENO: WARNING: Chemistry_QC_Model_IOR.h:     check for missing prerequisite headers?" >&5
    29288 echo "$as_me: WARNING: Chemistry_QC_Model_IOR.h:     check for missing prerequisite headers?" >&2;}
    29289     { echo "$as_me:$LINENO: WARNING: Chemistry_QC_Model_IOR.h: see the Autoconf documentation" >&5
    29290 echo "$as_me: WARNING: Chemistry_QC_Model_IOR.h: see the Autoconf documentation" >&2;}
    29291     { echo "$as_me:$LINENO: WARNING: Chemistry_QC_Model_IOR.h:     section \"Present But Cannot Be Compiled\"" >&5
    29292 echo "$as_me: WARNING: Chemistry_QC_Model_IOR.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    29293     { echo "$as_me:$LINENO: WARNING: Chemistry_QC_Model_IOR.h: proceeding with the preprocessor's result" >&5
    29294 echo "$as_me: WARNING: Chemistry_QC_Model_IOR.h: proceeding with the preprocessor's result" >&2;}
    29295     { echo "$as_me:$LINENO: WARNING: Chemistry_QC_Model_IOR.h: in the future, the compiler will take precedence" >&5
    29296 echo "$as_me: WARNING: Chemistry_QC_Model_IOR.h: in the future, the compiler will take precedence" >&2;}
    29297     (
    29298       cat <<\_ASBOX
    29299 ## ------------------------------------------ ##
    29300 ## Report this to the AC_PACKAGE_NAME lists.  ##
    29301 ## ------------------------------------------ ##
    29302 _ASBOX
    29303     ) |
    29304       sed "s/^/$as_me: WARNING:     /" >&2
    29305     ;;
    29306 esac
    29307 echo "$as_me:$LINENO: checking for Chemistry_QC_Model_IOR.h" >&5
    29308 echo $ECHO_N "checking for Chemistry_QC_Model_IOR.h... $ECHO_C" >&6
    29309 if test "${ac_cv_header_Chemistry_QC_Model_IOR_h+set}" = set; then
    29310   echo $ECHO_N "(cached) $ECHO_C" >&6
    29311 else
    29312   ac_cv_header_Chemistry_QC_Model_IOR_h=$ac_header_preproc
    29313 fi
    29314 echo "$as_me:$LINENO: result: $ac_cv_header_Chemistry_QC_Model_IOR_h" >&5
    29315 echo "${ECHO_T}$ac_cv_header_Chemistry_QC_Model_IOR_h" >&6
    29316 
    29317 fi
    29318 if test $ac_cv_header_Chemistry_QC_Model_IOR_h = yes; then
    29319   cat >>confdefs.h <<\_ACEOF
    29320 #define HAVE_CCA_CHEM_HEADERS 1
    29321 _ACEOF
    29322 
    29323 else
    29324   { { echo "$as_me:$LINENO: error: problem with cca-chem-generic headers" >&5
    29325 echo "$as_me: error: problem with cca-chem-generic headers" >&2;}
    29326    { (exit 1); exit 1; }; }
     22749  ac_fn_c_check_header_mongrel "$LINENO" "sidl.h" "ac_cv_header_sidl_h" "$ac_includes_default"
     22750if test "x$ac_cv_header_sidl_h" = xyes; then :
     22751
     22752$as_echo "#define HAVE_SIDL_HEADERS 1" >>confdefs.h
     22753
     22754else
     22755  as_fn_error $? "problem with babel headers" "$LINENO" 5
     22756fi
     22757
     22758
     22759  ac_fn_c_check_header_mongrel "$LINENO" "gov_cca_IOR.h" "ac_cv_header_gov_cca_IOR_h" "$ac_includes_default"
     22760if test "x$ac_cv_header_gov_cca_IOR_h" = xyes; then :
     22761
     22762$as_echo "#define HAVE_CCA_SPEC_BABEL_HEADERS 1" >>confdefs.h
     22763
     22764else
     22765  as_fn_error $? "problem with cca-spec-babel headers" "$LINENO" 5
     22766fi
     22767
     22768
     22769  ac_fn_c_check_header_mongrel "$LINENO" "Chemistry_QC_Model_IOR.h" "ac_cv_header_Chemistry_QC_Model_IOR_h" "$ac_includes_default"
     22770if test "x$ac_cv_header_Chemistry_QC_Model_IOR_h" = xyes; then :
     22771
     22772$as_echo "#define HAVE_CCA_CHEM_HEADERS 1" >>confdefs.h
     22773
     22774else
     22775  as_fn_error $? "problem with cca-chem-generic headers" "$LINENO" 5
    2932722776fi
    2932822777
     
    2934022789if test "$enableproduction" = "no"; then
    2934122790
    29342   test "x$prefix" = xNONE && prefix="$ac_default_prefix"
    29343   test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    29344   ac_define_dir=`eval echo $srcdir/lib`
    29345   ac_define_dir=`eval echo $ac_define_dir`
    29346   cat >>confdefs.h <<_ACEOF
     22791  prefix_NONE=
     22792  exec_prefix_NONE=
     22793  test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
     22794  test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
     22795  eval ac_define_dir="\"$srcdir/lib\""
     22796  eval ac_define_dir="\"$ac_define_dir\""
     22797  SRC_SCLIBDIR="$ac_define_dir"
     22798
     22799
     22800cat >>confdefs.h <<_ACEOF
    2934722801#define SRC_SCLIBDIR "$ac_define_dir"
    2934822802_ACEOF
    2934922803
    29350 
    29351 fi
    29352 
    29353   test "x$prefix" = xNONE && prefix="$ac_default_prefix"
    29354   test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    29355   ac_define_dir=`eval echo $prefix/lib`
    29356   ac_define_dir=`eval echo $ac_define_dir`
    29357   cat >>confdefs.h <<_ACEOF
     22804  test "$prefix_NONE" && prefix=NONE
     22805  test "$exec_prefix_NONE" && exec_prefix=NONE
     22806
     22807fi
     22808
     22809  prefix_NONE=
     22810  exec_prefix_NONE=
     22811  test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
     22812  test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
     22813  eval ac_define_dir="\"$prefix/lib\""
     22814  eval ac_define_dir="\"$ac_define_dir\""
     22815  INSTALLED_SCLIBDIR="$ac_define_dir"
     22816
     22817
     22818cat >>confdefs.h <<_ACEOF
    2935822819#define INSTALLED_SCLIBDIR "$ac_define_dir"
    2935922820_ACEOF
    2936022821
    29361 
    29362 
    29363   test "x$prefix" = xNONE && prefix="$ac_default_prefix"
    29364   test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    29365   ac_define_dir=`eval echo $scdatadir`
    29366   ac_define_dir=`eval echo $ac_define_dir`
    29367   cat >>confdefs.h <<_ACEOF
     22822  test "$prefix_NONE" && prefix=NONE
     22823  test "$exec_prefix_NONE" && exec_prefix=NONE
     22824
     22825
     22826  prefix_NONE=
     22827  exec_prefix_NONE=
     22828  test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
     22829  test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
     22830  eval ac_define_dir="\"$scdatadir\""
     22831  eval ac_define_dir="\"$ac_define_dir\""
     22832  SCDATADIR="$ac_define_dir"
     22833
     22834
     22835cat >>confdefs.h <<_ACEOF
    2936822836#define SCDATADIR "$ac_define_dir"
    2936922837_ACEOF
    2937022838
     22839  test "$prefix_NONE" && prefix=NONE
     22840  test "$exec_prefix_NONE" && exec_prefix=NONE
    2937122841
    2937222842
     
    2937422844$PERL $srcdir/bin/objectdir.pl $EXCLUDED_DIRS $srcdir
    2937522845
    29376                                                                                                     ac_config_files="$ac_config_files lib/LocalMakefile lib/cca/components.cca bin/sc-config bin/mkf77sym.pl src/bin/mpqc/mpqcrun src/bin/mpqc/ccarun src/bin/mpqc/validate/makeccain.pl doc/doxygen.cfg doc/doxygen.man1.cfg doc/doxygen.man3.cfg"
     22846ac_config_files="$ac_config_files lib/LocalMakefile lib/cca/components.cca bin/sc-config bin/mkf77sym.pl src/bin/mpqc/mpqcrun src/bin/mpqc/ccarun src/bin/mpqc/validate/makeccain.pl doc/doxygen.cfg doc/doxygen.man1.cfg doc/doxygen.man3.cfg"
     22847
    2937722848
    2937822849
     
    2938122852test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    2938222853
    29383 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    29384 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
    29385 # trailing colons and then remove the whole line if VPATH becomes empty
    29386 # (actually we leave an empty line to preserve line numbers).
    29387 if test "x$srcdir" = x.; then
    29388   ac_vpsub='/^[  ]*VPATH[        ]*=/{
    29389 s/:*\$(srcdir):*/:/;
    29390 s/:*\${srcdir}:*/:/;
    29391 s/:*@srcdir@:*/:/;
    29392 s/^\([^=]*=[     ]*\):*/\1/;
    29393 s/:*$//;
    29394 s/^[^=]*=[       ]*$//;
    29395 }'
    29396 fi
    29397 
    2939822854DEFS=-DHAVE_CONFIG_H
    2939922855
    2940022856ac_libobjs=
    2940122857ac_ltlibobjs=
     22858U=
    2940222859for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    2940322860  # 1. Remove the extension, and $U if already installed.
    29404   ac_i=`echo "$ac_i" |
    29405          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
    29406   # 2. Add them.
    29407   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
    29408   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
     22861  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
     22862  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
     22863  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
     22864  #    will be set to the directory where LIBOBJS objects are built.
     22865  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
     22866  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
    2940922867done
    2941022868LIBOBJS=$ac_libobjs
     
    2941422872
    2941522873
    29416 : ${CONFIG_STATUS=./config.status}
     22874: "${CONFIG_STATUS=./config.status}"
     22875ac_write_fail=0
    2941722876ac_clean_files_save=$ac_clean_files
    2941822877ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    29419 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
    29420 echo "$as_me: creating $CONFIG_STATUS" >&6;}
    29421 cat >$CONFIG_STATUS <<_ACEOF
     22878{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
     22879$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
     22880as_write_fail=0
     22881cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
    2942222882#! $SHELL
    2942322883# Generated by $as_me.
     
    2942922889ac_cs_recheck=false
    2943022890ac_cs_silent=false
     22891
    2943122892SHELL=\${CONFIG_SHELL-$SHELL}
    29432 _ACEOF
    29433 
    29434 cat >>$CONFIG_STATUS <<\_ACEOF
    29435 ## --------------------- ##
    29436 ## M4sh Initialization.  ##
    29437 ## --------------------- ##
    29438 
    29439 # Be Bourne compatible
    29440 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     22893export SHELL
     22894_ASEOF
     22895cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
     22896## -------------------- ##
     22897## M4sh Initialization. ##
     22898## -------------------- ##
     22899
     22900# Be more Bourne compatible
     22901DUALCASE=1; export DUALCASE # for MKS sh
     22902if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    2944122903  emulate sh
    2944222904  NULLCMD=:
    29443   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     22905  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    2944422906  # is contrary to our usage.  Disable this feature.
    2944522907  alias -g '${1+"$@"}'='"$@"'
    29446 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    29447   set -o posix
    29448 fi
    29449 DUALCASE=1; export DUALCASE # for MKS sh
    29450 
    29451 # Support unset when possible.
    29452 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    29453   as_unset=unset
    29454 else
    29455   as_unset=false
    29456 fi
    29457 
    29458 
    29459 # Work around bugs in pre-3.0 UWIN ksh.
    29460 $as_unset ENV MAIL MAILPATH
     22908  setopt NO_GLOB_SUBST
     22909else
     22910  case `(set -o) 2>/dev/null` in #(
     22911  *posix*) :
     22912    set -o posix ;; #(
     22913  *) :
     22914     ;;
     22915esac
     22916fi
     22917
     22918
     22919as_nl='
     22920'
     22921export as_nl
     22922# Printing a long string crashes Solaris 7 /usr/bin/printf.
     22923as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     22924as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     22925as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     22926# Prefer a ksh shell builtin over an external printf program on Solaris,
     22927# but without wasting forks for bash or zsh.
     22928if test -z "$BASH_VERSION$ZSH_VERSION" \
     22929    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     22930  as_echo='print -r --'
     22931  as_echo_n='print -rn --'
     22932elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     22933  as_echo='printf %s\n'
     22934  as_echo_n='printf %s'
     22935else
     22936  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     22937    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     22938    as_echo_n='/usr/ucb/echo -n'
     22939  else
     22940    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     22941    as_echo_n_body='eval
     22942      arg=$1;
     22943      case $arg in #(
     22944      *"$as_nl"*)
     22945        expr "X$arg" : "X\\(.*\\)$as_nl";
     22946        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     22947      esac;
     22948      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     22949    '
     22950    export as_echo_n_body
     22951    as_echo_n='sh -c $as_echo_n_body as_echo'
     22952  fi
     22953  export as_echo_body
     22954  as_echo='sh -c $as_echo_body as_echo'
     22955fi
     22956
     22957# The user is always right.
     22958if test "${PATH_SEPARATOR+set}" != set; then
     22959  PATH_SEPARATOR=:
     22960  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     22961    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     22962      PATH_SEPARATOR=';'
     22963  }
     22964fi
     22965
     22966
     22967# IFS
     22968# We need space, tab and new line, in precisely that order.  Quoting is
     22969# there to prevent editors from complaining about space-tab.
     22970# (If _AS_PATH_WALK were called with IFS unset, it would disable word
     22971# splitting by setting IFS to empty value.)
     22972IFS=" ""        $as_nl"
     22973
     22974# Find who we are.  Look in the path if we contain no directory separator.
     22975as_myself=
     22976case $0 in #((
     22977  *[\\/]* ) as_myself=$0 ;;
     22978  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     22979for as_dir in $PATH
     22980do
     22981  IFS=$as_save_IFS
     22982  test -z "$as_dir" && as_dir=.
     22983    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     22984  done
     22985IFS=$as_save_IFS
     22986
     22987     ;;
     22988esac
     22989# We did not find ourselves, most probably we were run as `sh COMMAND'
     22990# in which case we are not to be found in the path.
     22991if test "x$as_myself" = x; then
     22992  as_myself=$0
     22993fi
     22994if test ! -f "$as_myself"; then
     22995  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     22996  exit 1
     22997fi
     22998
     22999# Unset variables that we do not need and which cause bugs (e.g. in
     23000# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     23001# suppresses any "Segmentation fault" message there.  '((' could
     23002# trigger a bug in pdksh 5.2.14.
     23003for as_var in BASH_ENV ENV MAIL MAILPATH
     23004do eval test x\${$as_var+set} = xset \
     23005  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     23006done
    2946123007PS1='$ '
    2946223008PS2='> '
     
    2946423010
    2946523011# NLS nuisances.
    29466 for as_var in \
    29467   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    29468   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    29469   LC_TELEPHONE LC_TIME
    29470 do
    29471   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    29472     eval $as_var=C; export $as_var
    29473   else
    29474     $as_unset $as_var
     23012LC_ALL=C
     23013export LC_ALL
     23014LANGUAGE=C
     23015export LANGUAGE
     23016
     23017# CDPATH.
     23018(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     23019
     23020
     23021# as_fn_error STATUS ERROR [LINENO LOG_FD]
     23022# ----------------------------------------
     23023# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     23024# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     23025# script with STATUS, using 1 if that was 0.
     23026as_fn_error ()
     23027{
     23028  as_status=$1; test $as_status -eq 0 && as_status=1
     23029  if test "$4"; then
     23030    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     23031    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    2947523032  fi
    29476 done
    29477 
    29478 # Required to use basename.
    29479 if expr a : '\(a\)' >/dev/null 2>&1; then
     23033  $as_echo "$as_me: error: $2" >&2
     23034  as_fn_exit $as_status
     23035} # as_fn_error
     23036
     23037
     23038# as_fn_set_status STATUS
     23039# -----------------------
     23040# Set $? to STATUS, without forking.
     23041as_fn_set_status ()
     23042{
     23043  return $1
     23044} # as_fn_set_status
     23045
     23046# as_fn_exit STATUS
     23047# -----------------
     23048# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     23049as_fn_exit ()
     23050{
     23051  set +e
     23052  as_fn_set_status $1
     23053  exit $1
     23054} # as_fn_exit
     23055
     23056# as_fn_unset VAR
     23057# ---------------
     23058# Portably unset VAR.
     23059as_fn_unset ()
     23060{
     23061  { eval $1=; unset $1;}
     23062}
     23063as_unset=as_fn_unset
     23064# as_fn_append VAR VALUE
     23065# ----------------------
     23066# Append the text in VALUE to the end of the definition contained in VAR. Take
     23067# advantage of any shell optimizations that allow amortized linear growth over
     23068# repeated appends, instead of the typical quadratic growth present in naive
     23069# implementations.
     23070if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     23071  eval 'as_fn_append ()
     23072  {
     23073    eval $1+=\$2
     23074  }'
     23075else
     23076  as_fn_append ()
     23077  {
     23078    eval $1=\$$1\$2
     23079  }
     23080fi # as_fn_append
     23081
     23082# as_fn_arith ARG...
     23083# ------------------
     23084# Perform arithmetic evaluation on the ARGs, and store the result in the
     23085# global $as_val. Take advantage of shells that can avoid forks. The arguments
     23086# must be portable across $(()) and expr.
     23087if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     23088  eval 'as_fn_arith ()
     23089  {
     23090    as_val=$(( $* ))
     23091  }'
     23092else
     23093  as_fn_arith ()
     23094  {
     23095    as_val=`expr "$@" || test $? -eq 1`
     23096  }
     23097fi # as_fn_arith
     23098
     23099
     23100if expr a : '\(a\)' >/dev/null 2>&1 &&
     23101   test "X`expr 00001 : '.*\(...\)'`" = X001; then
    2948023102  as_expr=expr
    2948123103else
     
    2948323105fi
    2948423106
    29485 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     23107if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    2948623108  as_basename=basename
    2948723109else
     
    2948923111fi
    2949023112
    29491 
    29492 # Name of the executable.
    29493 as_me=`$as_basename "$0" ||
     23113if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     23114  as_dirname=dirname
     23115else
     23116  as_dirname=false
     23117fi
     23118
     23119as_me=`$as_basename -- "$0" ||
    2949423120$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    2949523121         X"$0" : 'X\(//\)$' \| \
    29496          X"$0" : 'X\(/\)$' \| \
    29497          .     : '\(.\)' 2>/dev/null ||
    29498 echo X/"$0" |
    29499     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    29500           /^X\/\(\/\/\)$/{ s//\1/; q; }
    29501           /^X\/\(\/\).*/{ s//\1/; q; }
    29502           s/.*/./; q'`
    29503 
    29504 
    29505 # PATH needs CR, and LINENO needs CR and PATH.
     23122         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     23123$as_echo X/"$0" |
     23124    sed '/^.*\/\([^/][^/]*\)\/*$/{
     23125            s//\1/
     23126            q
     23127          }
     23128          /^X\/\(\/\/\)$/{
     23129            s//\1/
     23130            q
     23131          }
     23132          /^X\/\(\/\).*/{
     23133            s//\1/
     23134            q
     23135          }
     23136          s/.*/./; q'`
     23137
    2950623138# Avoid depending upon Character Ranges.
    2950723139as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    2951123143as_cr_alnum=$as_cr_Letters$as_cr_digits
    2951223144
    29513 # The user is always right.
    29514 if test "${PATH_SEPARATOR+set}" != set; then
    29515   echo "#! /bin/sh" >conf$$.sh
    29516   echo  "exit 0"   >>conf$$.sh
    29517   chmod +x conf$$.sh
    29518   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    29519     PATH_SEPARATOR=';'
     23145ECHO_C= ECHO_N= ECHO_T=
     23146case `echo -n x` in #(((((
     23147-n*)
     23148  case `echo 'xy\c'` in
     23149  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
     23150  xy)  ECHO_C='\c';;
     23151  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     23152       ECHO_T=' ';;
     23153  esac;;
     23154*)
     23155  ECHO_N='-n';;
     23156esac
     23157
     23158rm -f conf$$ conf$$.exe conf$$.file
     23159if test -d conf$$.dir; then
     23160  rm -f conf$$.dir/conf$$.file
     23161else
     23162  rm -f conf$$.dir
     23163  mkdir conf$$.dir 2>/dev/null
     23164fi
     23165if (echo >conf$$.file) 2>/dev/null; then
     23166  if ln -s conf$$.file conf$$ 2>/dev/null; then
     23167    as_ln_s='ln -s'
     23168    # ... but there are two gotchas:
     23169    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     23170    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     23171    # In both cases, we have to default to `cp -pR'.
     23172    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     23173      as_ln_s='cp -pR'
     23174  elif ln conf$$.file conf$$ 2>/dev/null; then
     23175    as_ln_s=ln
    2952023176  else
    29521     PATH_SEPARATOR=:
     23177    as_ln_s='cp -pR'
    2952223178  fi
    29523   rm -f conf$$.sh
    29524 fi
    29525 
    29526 
    29527   as_lineno_1=$LINENO
    29528   as_lineno_2=$LINENO
    29529   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    29530   test "x$as_lineno_1" != "x$as_lineno_2" &&
    29531   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    29532   # Find who we are.  Look in the path if we contain no path at all
    29533   # relative or not.
    29534   case $0 in
    29535     *[\\/]* ) as_myself=$0 ;;
    29536     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    29537 for as_dir in $PATH
    29538 do
    29539   IFS=$as_save_IFS
    29540   test -z "$as_dir" && as_dir=.
    29541   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    29542 done
    29543 
    29544        ;;
     23179else
     23180  as_ln_s='cp -pR'
     23181fi
     23182rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     23183rmdir conf$$.dir 2>/dev/null
     23184
     23185
     23186# as_fn_mkdir_p
     23187# -------------
     23188# Create "$as_dir" as a directory, including parents if necessary.
     23189as_fn_mkdir_p ()
     23190{
     23191
     23192  case $as_dir in #(
     23193  -*) as_dir=./$as_dir;;
    2954523194  esac
    29546   # We did not find ourselves, most probably we were run as `sh COMMAND'
    29547   # in which case we are not to be found in the path.
    29548   if test "x$as_myself" = x; then
    29549     as_myself=$0
    29550   fi
    29551   if test ! -f "$as_myself"; then
    29552     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
    29553 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
    29554    { (exit 1); exit 1; }; }
    29555   fi
    29556   case $CONFIG_SHELL in
    29557   '')
    29558     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    29559 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    29560 do
    29561   IFS=$as_save_IFS
    29562   test -z "$as_dir" && as_dir=.
    29563   for as_base in sh bash ksh sh5; do
    29564          case $as_dir in
    29565          /*)
    29566            if ("$as_dir/$as_base" -c '
    29567   as_lineno_1=$LINENO
    29568   as_lineno_2=$LINENO
    29569   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    29570   test "x$as_lineno_1" != "x$as_lineno_2" &&
    29571   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    29572              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    29573              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    29574              CONFIG_SHELL=$as_dir/$as_base
    29575              export CONFIG_SHELL
    29576              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    29577            fi;;
    29578          esac
    29579        done
    29580 done
    29581 ;;
    29582   esac
    29583 
    29584   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    29585   # uniformly replaced by the line number.  The first 'sed' inserts a
    29586   # line-number line before each line; the second 'sed' does the real
    29587   # work.  The second script uses 'N' to pair each line-number line
    29588   # with the numbered line, and appends trailing '-' during
    29589   # substitution so that $LINENO is not a special case at line end.
    29590   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    29591   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    29592   sed '=' <$as_myself |
    29593     sed '
    29594       N
    29595       s,$,-,
    29596       : loop
    29597       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
    29598       t loop
    29599       s,-$,,
    29600       s,^['$as_cr_digits']*\n,,
    29601     ' >$as_me.lineno &&
    29602   chmod +x $as_me.lineno ||
    29603     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
    29604 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
    29605    { (exit 1); exit 1; }; }
    29606 
    29607   # Don't try to exec as it changes $[0], causing all sort of problems
    29608   # (the dirname of $[0] is not the place where we might find the
    29609   # original and so on.  Autoconf is especially sensible to this).
    29610   . ./$as_me.lineno
    29611   # Exit status is that of the last command.
    29612   exit
    29613 }
    29614 
    29615 
    29616 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    29617   *c*,-n*) ECHO_N= ECHO_C='
    29618 ' ECHO_T='      ' ;;
    29619   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    29620   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    29621 esac
    29622 
    29623 if expr a : '\(a\)' >/dev/null 2>&1; then
    29624   as_expr=expr
    29625 else
    29626   as_expr=false
    29627 fi
    29628 
    29629 rm -f conf$$ conf$$.exe conf$$.file
    29630 echo >conf$$.file
    29631 if ln -s conf$$.file conf$$ 2>/dev/null; then
    29632   # We could just check for DJGPP; but this test a) works b) is more generic
    29633   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    29634   if test -f conf$$.exe; then
    29635     # Don't use ln at all; we don't have any links
    29636     as_ln_s='cp -p'
    29637   else
    29638     as_ln_s='ln -s'
    29639   fi
    29640 elif ln conf$$.file conf$$ 2>/dev/null; then
    29641   as_ln_s=ln
    29642 else
    29643   as_ln_s='cp -p'
    29644 fi
    29645 rm -f conf$$ conf$$.exe conf$$.file
    29646 
     23195  test -d "$as_dir" || eval $as_mkdir_p || {
     23196    as_dirs=
     23197    while :; do
     23198      case $as_dir in #(
     23199      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     23200      *) as_qdir=$as_dir;;
     23201      esac
     23202      as_dirs="'$as_qdir' $as_dirs"
     23203      as_dir=`$as_dirname -- "$as_dir" ||
     23204$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     23205         X"$as_dir" : 'X\(//\)[^/]' \| \
     23206         X"$as_dir" : 'X\(//\)$' \| \
     23207         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     23208$as_echo X"$as_dir" |
     23209    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     23210            s//\1/
     23211            q
     23212          }
     23213          /^X\(\/\/\)[^/].*/{
     23214            s//\1/
     23215            q
     23216          }
     23217          /^X\(\/\/\)$/{
     23218            s//\1/
     23219            q
     23220          }
     23221          /^X\(\/\).*/{
     23222            s//\1/
     23223            q
     23224          }
     23225          s/.*/./; q'`
     23226      test -d "$as_dir" && break
     23227    done
     23228    test -z "$as_dirs" || eval "mkdir $as_dirs"
     23229  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
     23230
     23231
     23232} # as_fn_mkdir_p
    2964723233if mkdir -p . 2>/dev/null; then
    29648   as_mkdir_p=:
     23234  as_mkdir_p='mkdir -p "$as_dir"'
    2964923235else
    2965023236  test -d ./-p && rmdir ./-p
     
    2965223238fi
    2965323239
    29654 as_executable_p="test -f"
     23240
     23241# as_fn_executable_p FILE
     23242# -----------------------
     23243# Test if FILE is an executable regular file.
     23244as_fn_executable_p ()
     23245{
     23246  test -f "$1" && test -x "$1"
     23247} # as_fn_executable_p
     23248as_test_x='test -x'
     23249as_executable_p=as_fn_executable_p
    2965523250
    2965623251# Sed expression to map a string onto a valid CPP name.
     
    2966123256
    2966223257
    29663 # IFS
    29664 # We need space, tab and new line, in precisely that order.
    29665 as_nl='
    29666 '
    29667 IFS="   $as_nl"
    29668 
    29669 # CDPATH.
    29670 $as_unset CDPATH
    29671 
    2967223258exec 6>&1
    29673 
    29674 # Open the log real soon, to keep \$[0] and so on meaningful, and to
     23259## ----------------------------------- ##
     23260## Main body of $CONFIG_STATUS script. ##
     23261## ----------------------------------- ##
     23262_ASEOF
     23263test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
     23264
     23265cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     23266# Save the log message, to keep $0 and so on meaningful, and to
    2967523267# report actual input values of CONFIG_FILES etc. instead of their
    29676 # values after options handling.  Logging --version etc. is OK.
     23268# values after options handling.
     23269ac_log="
     23270This file was extended by $as_me, which was
     23271generated by GNU Autoconf 2.69.  Invocation command line was
     23272
     23273  CONFIG_FILES    = $CONFIG_FILES
     23274  CONFIG_HEADERS  = $CONFIG_HEADERS
     23275  CONFIG_LINKS    = $CONFIG_LINKS
     23276  CONFIG_COMMANDS = $CONFIG_COMMANDS
     23277  $ $0 $@
     23278
     23279on `(hostname || uname -n) 2>/dev/null | sed 1q`
     23280"
     23281
     23282_ACEOF
     23283
     23284case $ac_config_files in *"
     23285"*) set x $ac_config_files; shift; ac_config_files=$*;;
     23286esac
     23287
     23288case $ac_config_headers in *"
     23289"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
     23290esac
     23291
     23292
     23293cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     23294# Files that config.status was made for.
     23295config_files="$ac_config_files"
     23296config_headers="$ac_config_headers"
     23297config_commands="$ac_config_commands"
     23298
     23299_ACEOF
     23300
     23301cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     23302ac_cs_usage="\
     23303\`$as_me' instantiates files and other configuration actions
     23304from templates according to the current configuration.  Unless the files
     23305and actions are specified as TAGs, all are instantiated by default.
     23306
     23307Usage: $0 [OPTION]... [TAG]...
     23308
     23309  -h, --help       print this help, then exit
     23310  -V, --version    print version number and configuration settings, then exit
     23311      --config     print configuration, then exit
     23312  -q, --quiet, --silent
     23313                   do not print progress messages
     23314  -d, --debug      don't remove temporary files
     23315      --recheck    update $as_me by reconfiguring in the same conditions
     23316      --file=FILE[:TEMPLATE]
     23317                   instantiate the configuration file FILE
     23318      --header=FILE[:TEMPLATE]
     23319                   instantiate the configuration header FILE
     23320
     23321Configuration files:
     23322$config_files
     23323
     23324Configuration headers:
     23325$config_headers
     23326
     23327Configuration commands:
     23328$config_commands
     23329
     23330Report bugs to the package provider."
     23331
     23332_ACEOF
     23333cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     23334ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
     23335ac_cs_version="\\
     23336config.status
     23337configured by $0, generated by GNU Autoconf 2.69,
     23338  with options \\"\$ac_cs_config\\"
     23339
     23340Copyright (C) 2012 Free Software Foundation, Inc.
     23341This config.status script is free software; the Free Software Foundation
     23342gives unlimited permission to copy, distribute and modify it."
     23343
     23344ac_pwd='$ac_pwd'
     23345srcdir='$srcdir'
     23346INSTALL='$INSTALL'
     23347AWK='$AWK'
     23348test -n "\$AWK" || AWK=awk
     23349_ACEOF
     23350
     23351cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     23352# The default lists apply if the user does not specify any file.
     23353ac_need_defaults=:
     23354while test $# != 0
     23355do
     23356  case $1 in
     23357  --*=?*)
     23358    ac_option=`expr "X$1" : 'X\([^=]*\)='`
     23359    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     23360    ac_shift=:
     23361    ;;
     23362  --*=)
     23363    ac_option=`expr "X$1" : 'X\([^=]*\)='`
     23364    ac_optarg=
     23365    ac_shift=:
     23366    ;;
     23367  *)
     23368    ac_option=$1
     23369    ac_optarg=$2
     23370    ac_shift=shift
     23371    ;;
     23372  esac
     23373
     23374  case $ac_option in
     23375  # Handling of the options.
     23376  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
     23377    ac_cs_recheck=: ;;
     23378  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
     23379    $as_echo "$ac_cs_version"; exit ;;
     23380  --config | --confi | --conf | --con | --co | --c )
     23381    $as_echo "$ac_cs_config"; exit ;;
     23382  --debug | --debu | --deb | --de | --d | -d )
     23383    debug=: ;;
     23384  --file | --fil | --fi | --f )
     23385    $ac_shift
     23386    case $ac_optarg in
     23387    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     23388    '') as_fn_error $? "missing file argument" ;;
     23389    esac
     23390    as_fn_append CONFIG_FILES " '$ac_optarg'"
     23391    ac_need_defaults=false;;
     23392  --header | --heade | --head | --hea )
     23393    $ac_shift
     23394    case $ac_optarg in
     23395    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     23396    esac
     23397    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
     23398    ac_need_defaults=false;;
     23399  --he | --h)
     23400    # Conflict between --help and --header
     23401    as_fn_error $? "ambiguous option: \`$1'
     23402Try \`$0 --help' for more information.";;
     23403  --help | --hel | -h )
     23404    $as_echo "$ac_cs_usage"; exit ;;
     23405  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     23406  | -silent | --silent | --silen | --sile | --sil | --si | --s)
     23407    ac_cs_silent=: ;;
     23408
     23409  # This is an error.
     23410  -*) as_fn_error $? "unrecognized option: \`$1'
     23411Try \`$0 --help' for more information." ;;
     23412
     23413  *) as_fn_append ac_config_targets " $1"
     23414     ac_need_defaults=false ;;
     23415
     23416  esac
     23417  shift
     23418done
     23419
     23420ac_configure_extra_args=
     23421
     23422if $ac_cs_silent; then
     23423  exec 6>/dev/null
     23424  ac_configure_extra_args="$ac_configure_extra_args --silent"
     23425fi
     23426
     23427_ACEOF
     23428cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     23429if \$ac_cs_recheck; then
     23430  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     23431  shift
     23432  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
     23433  CONFIG_SHELL='$SHELL'
     23434  export CONFIG_SHELL
     23435  exec "\$@"
     23436fi
     23437
     23438_ACEOF
     23439cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    2967723440exec 5>>config.log
    2967823441{
     
    2968123444## Running $as_me. ##
    2968223445_ASBOX
     23446  $as_echo "$ac_log"
    2968323447} >&5
    29684 cat >&5 <<_CSEOF
    29685 
    29686 This file was extended by $as_me, which was
    29687 generated by GNU Autoconf 2.59.  Invocation command line was
    29688 
    29689   CONFIG_FILES    = $CONFIG_FILES
    29690   CONFIG_HEADERS  = $CONFIG_HEADERS
    29691   CONFIG_LINKS    = $CONFIG_LINKS
    29692   CONFIG_COMMANDS = $CONFIG_COMMANDS
    29693   $ $0 $@
    29694 
    29695 _CSEOF
    29696 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
    29697 echo >&5
     23448
    2969823449_ACEOF
    29699 
    29700 # Files that config.status was made for.
    29701 if test -n "$ac_config_files"; then
    29702   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
    29703 fi
    29704 
    29705 if test -n "$ac_config_headers"; then
    29706   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
    29707 fi
    29708 
    29709 if test -n "$ac_config_links"; then
    29710   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
    29711 fi
    29712 
    29713 if test -n "$ac_config_commands"; then
    29714   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
    29715 fi
    29716 
    29717 cat >>$CONFIG_STATUS <<\_ACEOF
    29718 
    29719 ac_cs_usage="\
    29720 \`$as_me' instantiates files from templates according to the
    29721 current configuration.
    29722 
    29723 Usage: $0 [OPTIONS] [FILE]...
    29724 
    29725   -h, --help       print this help, then exit
    29726   -V, --version    print version number, then exit
    29727   -q, --quiet      do not print progress messages
    29728   -d, --debug      don't remove temporary files
    29729       --recheck    update $as_me by reconfiguring in the same conditions
    29730   --file=FILE[:TEMPLATE]
    29731                    instantiate the configuration file FILE
    29732   --header=FILE[:TEMPLATE]
    29733                    instantiate the configuration header FILE
    29734 
    29735 Configuration files:
    29736 $config_files
    29737 
    29738 Configuration headers:
    29739 $config_headers
    29740 
    29741 Report bugs to <bug-autoconf@gnu.org>."
     23450cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     23451#
     23452# INIT-COMMANDS
     23453#
     23454
     23455
     23456# The HP-UX ksh and POSIX shell print the target directory to stdout
     23457# if CDPATH is set.
     23458(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     23459
     23460sed_quote_subst='$sed_quote_subst'
     23461double_quote_subst='$double_quote_subst'
     23462delay_variable_subst='$delay_variable_subst'
     23463enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
     23464macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
     23465macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
     23466enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
     23467pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
     23468enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
     23469SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
     23470ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
     23471PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
     23472host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
     23473host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
     23474host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
     23475build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
     23476build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
     23477build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
     23478SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
     23479Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
     23480GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
     23481EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
     23482FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
     23483LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
     23484NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
     23485LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
     23486max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
     23487ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
     23488exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
     23489lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
     23490lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
     23491lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
     23492lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
     23493lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
     23494reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
     23495reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
     23496OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
     23497deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
     23498file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
     23499file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
     23500want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
     23501DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
     23502sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
     23503AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
     23504AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
     23505archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
     23506STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
     23507RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
     23508old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
     23509old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
     23510old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
     23511lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
     23512CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
     23513CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
     23514compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
     23515GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
     23516lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
     23517lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
     23518lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
     23519lt_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"`'
     23520nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
     23521lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
     23522objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
     23523MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
     23524lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
     23525lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
     23526lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
     23527lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
     23528lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
     23529need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
     23530MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
     23531DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
     23532NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
     23533LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
     23534OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
     23535OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
     23536libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
     23537shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
     23538extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
     23539archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
     23540enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
     23541export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
     23542whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
     23543compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
     23544old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
     23545old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
     23546archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
     23547archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
     23548module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
     23549module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
     23550with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
     23551allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
     23552no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
     23553hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
     23554hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
     23555hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
     23556hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
     23557hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
     23558hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
     23559hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
     23560inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
     23561link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
     23562always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
     23563export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
     23564exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
     23565include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
     23566prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
     23567postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
     23568file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
     23569variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
     23570need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
     23571need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
     23572version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
     23573runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
     23574shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
     23575shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
     23576libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
     23577library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
     23578soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
     23579install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
     23580postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
     23581postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
     23582finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
     23583finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
     23584hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
     23585sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
     23586sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
     23587hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
     23588enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
     23589enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
     23590enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
     23591old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
     23592striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
     23593compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
     23594predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
     23595postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
     23596predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
     23597postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
     23598compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
     23599LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
     23600LD_F77='`$ECHO "$LD_F77" | $SED "$delay_single_quote_subst"`'
     23601reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
     23602reload_flag_F77='`$ECHO "$reload_flag_F77" | $SED "$delay_single_quote_subst"`'
     23603reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     23604reload_cmds_F77='`$ECHO "$reload_cmds_F77" | $SED "$delay_single_quote_subst"`'
     23605old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     23606old_archive_cmds_F77='`$ECHO "$old_archive_cmds_F77" | $SED "$delay_single_quote_subst"`'
     23607compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
     23608compiler_F77='`$ECHO "$compiler_F77" | $SED "$delay_single_quote_subst"`'
     23609GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
     23610GCC_F77='`$ECHO "$GCC_F77" | $SED "$delay_single_quote_subst"`'
     23611lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
     23612lt_prog_compiler_no_builtin_flag_F77='`$ECHO "$lt_prog_compiler_no_builtin_flag_F77" | $SED "$delay_single_quote_subst"`'
     23613lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
     23614lt_prog_compiler_pic_F77='`$ECHO "$lt_prog_compiler_pic_F77" | $SED "$delay_single_quote_subst"`'
     23615lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
     23616lt_prog_compiler_wl_F77='`$ECHO "$lt_prog_compiler_wl_F77" | $SED "$delay_single_quote_subst"`'
     23617lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
     23618lt_prog_compiler_static_F77='`$ECHO "$lt_prog_compiler_static_F77" | $SED "$delay_single_quote_subst"`'
     23619lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
     23620lt_cv_prog_compiler_c_o_F77='`$ECHO "$lt_cv_prog_compiler_c_o_F77" | $SED "$delay_single_quote_subst"`'
     23621archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
     23622archive_cmds_need_lc_F77='`$ECHO "$archive_cmds_need_lc_F77" | $SED "$delay_single_quote_subst"`'
     23623enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
     23624enable_shared_with_static_runtimes_F77='`$ECHO "$enable_shared_with_static_runtimes_F77" | $SED "$delay_single_quote_subst"`'
     23625export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
     23626export_dynamic_flag_spec_F77='`$ECHO "$export_dynamic_flag_spec_F77" | $SED "$delay_single_quote_subst"`'
     23627whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
     23628whole_archive_flag_spec_F77='`$ECHO "$whole_archive_flag_spec_F77" | $SED "$delay_single_quote_subst"`'
     23629compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
     23630compiler_needs_object_F77='`$ECHO "$compiler_needs_object_F77" | $SED "$delay_single_quote_subst"`'
     23631old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     23632old_archive_from_new_cmds_F77='`$ECHO "$old_archive_from_new_cmds_F77" | $SED "$delay_single_quote_subst"`'
     23633old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     23634old_archive_from_expsyms_cmds_F77='`$ECHO "$old_archive_from_expsyms_cmds_F77" | $SED "$delay_single_quote_subst"`'
     23635archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     23636archive_cmds_F77='`$ECHO "$archive_cmds_F77" | $SED "$delay_single_quote_subst"`'
     23637archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     23638archive_expsym_cmds_F77='`$ECHO "$archive_expsym_cmds_F77" | $SED "$delay_single_quote_subst"`'
     23639module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     23640module_cmds_F77='`$ECHO "$module_cmds_F77" | $SED "$delay_single_quote_subst"`'
     23641module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     23642module_expsym_cmds_F77='`$ECHO "$module_expsym_cmds_F77" | $SED "$delay_single_quote_subst"`'
     23643with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
     23644with_gnu_ld_F77='`$ECHO "$with_gnu_ld_F77" | $SED "$delay_single_quote_subst"`'
     23645allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
     23646allow_undefined_flag_F77='`$ECHO "$allow_undefined_flag_F77" | $SED "$delay_single_quote_subst"`'
     23647no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
     23648no_undefined_flag_F77='`$ECHO "$no_undefined_flag_F77" | $SED "$delay_single_quote_subst"`'
     23649hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
     23650hardcode_libdir_flag_spec_F77='`$ECHO "$hardcode_libdir_flag_spec_F77" | $SED "$delay_single_quote_subst"`'
     23651hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
     23652hardcode_libdir_separator_F77='`$ECHO "$hardcode_libdir_separator_F77" | $SED "$delay_single_quote_subst"`'
     23653hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
     23654hardcode_direct_F77='`$ECHO "$hardcode_direct_F77" | $SED "$delay_single_quote_subst"`'
     23655hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
     23656hardcode_direct_absolute_F77='`$ECHO "$hardcode_direct_absolute_F77" | $SED "$delay_single_quote_subst"`'
     23657hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
     23658hardcode_minus_L_F77='`$ECHO "$hardcode_minus_L_F77" | $SED "$delay_single_quote_subst"`'
     23659hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
     23660hardcode_shlibpath_var_F77='`$ECHO "$hardcode_shlibpath_var_F77" | $SED "$delay_single_quote_subst"`'
     23661hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
     23662hardcode_automatic_F77='`$ECHO "$hardcode_automatic_F77" | $SED "$delay_single_quote_subst"`'
     23663inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
     23664inherit_rpath_F77='`$ECHO "$inherit_rpath_F77" | $SED "$delay_single_quote_subst"`'
     23665link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
     23666link_all_deplibs_F77='`$ECHO "$link_all_deplibs_F77" | $SED "$delay_single_quote_subst"`'
     23667always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
     23668always_export_symbols_F77='`$ECHO "$always_export_symbols_F77" | $SED "$delay_single_quote_subst"`'
     23669export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     23670export_symbols_cmds_F77='`$ECHO "$export_symbols_cmds_F77" | $SED "$delay_single_quote_subst"`'
     23671exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
     23672exclude_expsyms_F77='`$ECHO "$exclude_expsyms_F77" | $SED "$delay_single_quote_subst"`'
     23673include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
     23674include_expsyms_F77='`$ECHO "$include_expsyms_F77" | $SED "$delay_single_quote_subst"`'
     23675prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     23676prelink_cmds_F77='`$ECHO "$prelink_cmds_F77" | $SED "$delay_single_quote_subst"`'
     23677postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     23678postlink_cmds_F77='`$ECHO "$postlink_cmds_F77" | $SED "$delay_single_quote_subst"`'
     23679file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
     23680file_list_spec_F77='`$ECHO "$file_list_spec_F77" | $SED "$delay_single_quote_subst"`'
     23681hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
     23682hardcode_action_F77='`$ECHO "$hardcode_action_F77" | $SED "$delay_single_quote_subst"`'
     23683compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
     23684compiler_lib_search_dirs_F77='`$ECHO "$compiler_lib_search_dirs_F77" | $SED "$delay_single_quote_subst"`'
     23685predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
     23686predep_objects_F77='`$ECHO "$predep_objects_F77" | $SED "$delay_single_quote_subst"`'
     23687postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
     23688postdep_objects_F77='`$ECHO "$postdep_objects_F77" | $SED "$delay_single_quote_subst"`'
     23689predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
     23690predeps_F77='`$ECHO "$predeps_F77" | $SED "$delay_single_quote_subst"`'
     23691postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
     23692postdeps_F77='`$ECHO "$postdeps_F77" | $SED "$delay_single_quote_subst"`'
     23693compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
     23694compiler_lib_search_path_F77='`$ECHO "$compiler_lib_search_path_F77" | $SED "$delay_single_quote_subst"`'
     23695
     23696LTCC='$LTCC'
     23697LTCFLAGS='$LTCFLAGS'
     23698compiler='$compiler_DEFAULT'
     23699
     23700# A function that is used when there is no print builtin or printf.
     23701func_fallback_echo ()
     23702{
     23703  eval 'cat <<_LTECHO_EOF
     23704\$1
     23705_LTECHO_EOF'
     23706}
     23707
     23708# Quote evaled strings.
     23709for var in SHELL \
     23710ECHO \
     23711PATH_SEPARATOR \
     23712SED \
     23713GREP \
     23714EGREP \
     23715FGREP \
     23716LD \
     23717NM \
     23718LN_S \
     23719lt_SP2NL \
     23720lt_NL2SP \
     23721reload_flag \
     23722OBJDUMP \
     23723deplibs_check_method \
     23724file_magic_cmd \
     23725file_magic_glob \
     23726want_nocaseglob \
     23727DLLTOOL \
     23728sharedlib_from_linklib_cmd \
     23729AR \
     23730AR_FLAGS \
     23731archiver_list_spec \
     23732STRIP \
     23733RANLIB \
     23734CC \
     23735CFLAGS \
     23736compiler \
     23737lt_cv_sys_global_symbol_pipe \
     23738lt_cv_sys_global_symbol_to_cdecl \
     23739lt_cv_sys_global_symbol_to_c_name_address \
     23740lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
     23741nm_file_list_spec \
     23742lt_prog_compiler_no_builtin_flag \
     23743lt_prog_compiler_pic \
     23744lt_prog_compiler_wl \
     23745lt_prog_compiler_static \
     23746lt_cv_prog_compiler_c_o \
     23747need_locks \
     23748MANIFEST_TOOL \
     23749DSYMUTIL \
     23750NMEDIT \
     23751LIPO \
     23752OTOOL \
     23753OTOOL64 \
     23754shrext_cmds \
     23755export_dynamic_flag_spec \
     23756whole_archive_flag_spec \
     23757compiler_needs_object \
     23758with_gnu_ld \
     23759allow_undefined_flag \
     23760no_undefined_flag \
     23761hardcode_libdir_flag_spec \
     23762hardcode_libdir_separator \
     23763exclude_expsyms \
     23764include_expsyms \
     23765file_list_spec \
     23766variables_saved_for_relink \
     23767libname_spec \
     23768library_names_spec \
     23769soname_spec \
     23770install_override_mode \
     23771finish_eval \
     23772old_striplib \
     23773striplib \
     23774compiler_lib_search_dirs \
     23775predep_objects \
     23776postdep_objects \
     23777predeps \
     23778postdeps \
     23779compiler_lib_search_path \
     23780LD_CXX \
     23781LD_F77 \
     23782reload_flag_CXX \
     23783reload_flag_F77 \
     23784compiler_CXX \
     23785compiler_F77 \
     23786lt_prog_compiler_no_builtin_flag_CXX \
     23787lt_prog_compiler_no_builtin_flag_F77 \
     23788lt_prog_compiler_pic_CXX \
     23789lt_prog_compiler_pic_F77 \
     23790lt_prog_compiler_wl_CXX \
     23791lt_prog_compiler_wl_F77 \
     23792lt_prog_compiler_static_CXX \
     23793lt_prog_compiler_static_F77 \
     23794lt_cv_prog_compiler_c_o_CXX \
     23795lt_cv_prog_compiler_c_o_F77 \
     23796export_dynamic_flag_spec_CXX \
     23797export_dynamic_flag_spec_F77 \
     23798whole_archive_flag_spec_CXX \
     23799whole_archive_flag_spec_F77 \
     23800compiler_needs_object_CXX \
     23801compiler_needs_object_F77 \
     23802with_gnu_ld_CXX \
     23803with_gnu_ld_F77 \
     23804allow_undefined_flag_CXX \
     23805allow_undefined_flag_F77 \
     23806no_undefined_flag_CXX \
     23807no_undefined_flag_F77 \
     23808hardcode_libdir_flag_spec_CXX \
     23809hardcode_libdir_flag_spec_F77 \
     23810hardcode_libdir_separator_CXX \
     23811hardcode_libdir_separator_F77 \
     23812exclude_expsyms_CXX \
     23813exclude_expsyms_F77 \
     23814include_expsyms_CXX \
     23815include_expsyms_F77 \
     23816file_list_spec_CXX \
     23817file_list_spec_F77 \
     23818compiler_lib_search_dirs_CXX \
     23819compiler_lib_search_dirs_F77 \
     23820predep_objects_CXX \
     23821predep_objects_F77 \
     23822postdep_objects_CXX \
     23823postdep_objects_F77 \
     23824predeps_CXX \
     23825predeps_F77 \
     23826postdeps_CXX \
     23827postdeps_F77 \
     23828compiler_lib_search_path_CXX \
     23829compiler_lib_search_path_F77; do
     23830    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
     23831    *[\\\\\\\`\\"\\\$]*)
     23832      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
     23833      ;;
     23834    *)
     23835      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
     23836      ;;
     23837    esac
     23838done
     23839
     23840# Double-quote double-evaled strings.
     23841for var in reload_cmds \
     23842old_postinstall_cmds \
     23843old_postuninstall_cmds \
     23844old_archive_cmds \
     23845extract_expsyms_cmds \
     23846old_archive_from_new_cmds \
     23847old_archive_from_expsyms_cmds \
     23848archive_cmds \
     23849archive_expsym_cmds \
     23850module_cmds \
     23851module_expsym_cmds \
     23852export_symbols_cmds \
     23853prelink_cmds \
     23854postlink_cmds \
     23855postinstall_cmds \
     23856postuninstall_cmds \
     23857finish_cmds \
     23858sys_lib_search_path_spec \
     23859sys_lib_dlsearch_path_spec \
     23860reload_cmds_CXX \
     23861reload_cmds_F77 \
     23862old_archive_cmds_CXX \
     23863old_archive_cmds_F77 \
     23864old_archive_from_new_cmds_CXX \
     23865old_archive_from_new_cmds_F77 \
     23866old_archive_from_expsyms_cmds_CXX \
     23867old_archive_from_expsyms_cmds_F77 \
     23868archive_cmds_CXX \
     23869archive_cmds_F77 \
     23870archive_expsym_cmds_CXX \
     23871archive_expsym_cmds_F77 \
     23872module_cmds_CXX \
     23873module_cmds_F77 \
     23874module_expsym_cmds_CXX \
     23875module_expsym_cmds_F77 \
     23876export_symbols_cmds_CXX \
     23877export_symbols_cmds_F77 \
     23878prelink_cmds_CXX \
     23879prelink_cmds_F77 \
     23880postlink_cmds_CXX \
     23881postlink_cmds_F77; do
     23882    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
     23883    *[\\\\\\\`\\"\\\$]*)
     23884      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
     23885      ;;
     23886    *)
     23887      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
     23888      ;;
     23889    esac
     23890done
     23891
     23892ac_aux_dir='$ac_aux_dir'
     23893xsi_shell='$xsi_shell'
     23894lt_shell_append='$lt_shell_append'
     23895
     23896# See if we are running on zsh, and set the options which allow our
     23897# commands through without removal of \ escapes INIT.
     23898if test -n "\${ZSH_VERSION+set}" ; then
     23899   setopt NO_GLOB_SUBST
     23900fi
     23901
     23902
     23903    PACKAGE='$PACKAGE'
     23904    VERSION='$VERSION'
     23905    TIMESTAMP='$TIMESTAMP'
     23906    RM='$RM'
     23907    ofile='$ofile'
     23908
     23909
     23910
     23911
     23912
     23913
     23914
     23915
    2974223916_ACEOF
    2974323917
    29744 cat >>$CONFIG_STATUS <<_ACEOF
    29745 ac_cs_version="\\
    29746 config.status
    29747 configured by $0, generated by GNU Autoconf 2.59,
    29748   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
    29749 
    29750 Copyright (C) 2003 Free Software Foundation, Inc.
    29751 This config.status script is free software; the Free Software Foundation
    29752 gives unlimited permission to copy, distribute and modify it."
    29753 srcdir=$srcdir
    29754 INSTALL="$INSTALL"
    29755 _ACEOF
    29756 
    29757 cat >>$CONFIG_STATUS <<\_ACEOF
    29758 # If no file are specified by the user, then we need to provide default
    29759 # value.  By we need to know if files were specified by the user.
    29760 ac_need_defaults=:
    29761 while test $# != 0
    29762 do
    29763   case $1 in
    29764   --*=*)
    29765     ac_option=`expr "x$1" : 'x\([^=]*\)='`
    29766     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
    29767     ac_shift=:
    29768     ;;
    29769   -*)
    29770     ac_option=$1
    29771     ac_optarg=$2
    29772     ac_shift=shift
    29773     ;;
    29774   *) # This is not an option, so the user has probably given explicit
    29775      # arguments.
    29776      ac_option=$1
    29777      ac_need_defaults=false;;
    29778   esac
    29779 
    29780   case $ac_option in
    29781   # Handling of the options.
    29782 _ACEOF
    29783 cat >>$CONFIG_STATUS <<\_ACEOF
    29784   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    29785     ac_cs_recheck=: ;;
    29786   --version | --vers* | -V )
    29787     echo "$ac_cs_version"; exit 0 ;;
    29788   --he | --h)
    29789     # Conflict between --help and --header
    29790     { { echo "$as_me:$LINENO: error: ambiguous option: $1
    29791 Try \`$0 --help' for more information." >&5
    29792 echo "$as_me: error: ambiguous option: $1
    29793 Try \`$0 --help' for more information." >&2;}
    29794    { (exit 1); exit 1; }; };;
    29795   --help | --hel | -h )
    29796     echo "$ac_cs_usage"; exit 0 ;;
    29797   --debug | --d* | -d )
    29798     debug=: ;;
    29799   --file | --fil | --fi | --f )
    29800     $ac_shift
    29801     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
    29802     ac_need_defaults=false;;
    29803   --header | --heade | --head | --hea )
    29804     $ac_shift
    29805     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
    29806     ac_need_defaults=false;;
    29807   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    29808   | -silent | --silent | --silen | --sile | --sil | --si | --s)
    29809     ac_cs_silent=: ;;
    29810 
    29811   # This is an error.
    29812   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
    29813 Try \`$0 --help' for more information." >&5
    29814 echo "$as_me: error: unrecognized option: $1
    29815 Try \`$0 --help' for more information." >&2;}
    29816    { (exit 1); exit 1; }; } ;;
    29817 
    29818   *) ac_config_targets="$ac_config_targets $1" ;;
    29819 
    29820   esac
    29821   shift
    29822 done
    29823 
    29824 ac_configure_extra_args=
    29825 
    29826 if $ac_cs_silent; then
    29827   exec 6>/dev/null
    29828   ac_configure_extra_args="$ac_configure_extra_args --silent"
    29829 fi
    29830 
    29831 _ACEOF
    29832 cat >>$CONFIG_STATUS <<_ACEOF
    29833 if \$ac_cs_recheck; then
    29834   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
    29835   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    29836 fi
    29837 
    29838 _ACEOF
    29839 
    29840 
    29841 
    29842 
    29843 
    29844 cat >>$CONFIG_STATUS <<\_ACEOF
     23918cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     23919
     23920# Handling of arguments.
    2984523921for ac_config_target in $ac_config_targets
    2984623922do
    29847   case "$ac_config_target" in
    29848   # Handling of arguments.
    29849   "lib/LocalMakefile" ) CONFIG_FILES="$CONFIG_FILES lib/LocalMakefile" ;;
    29850   "lib/cca/components.cca" ) CONFIG_FILES="$CONFIG_FILES lib/cca/components.cca" ;;
    29851   "bin/sc-config" ) CONFIG_FILES="$CONFIG_FILES bin/sc-config" ;;
    29852   "bin/mkf77sym.pl" ) CONFIG_FILES="$CONFIG_FILES bin/mkf77sym.pl" ;;
    29853   "src/bin/mpqc/mpqcrun" ) CONFIG_FILES="$CONFIG_FILES src/bin/mpqc/mpqcrun" ;;
    29854   "src/bin/mpqc/ccarun" ) CONFIG_FILES="$CONFIG_FILES src/bin/mpqc/ccarun" ;;
    29855   "src/bin/mpqc/validate/makeccain.pl" ) CONFIG_FILES="$CONFIG_FILES src/bin/mpqc/validate/makeccain.pl" ;;
    29856   "doc/doxygen.cfg" ) CONFIG_FILES="$CONFIG_FILES doc/doxygen.cfg" ;;
    29857   "doc/doxygen.man1.cfg" ) CONFIG_FILES="$CONFIG_FILES doc/doxygen.man1.cfg" ;;
    29858   "doc/doxygen.man3.cfg" ) CONFIG_FILES="$CONFIG_FILES doc/doxygen.man3.cfg" ;;
    29859   "src/lib/scconfig.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/lib/scconfig.h" ;;
    29860   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    29861 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
    29862    { (exit 1); exit 1; }; };;
     23923  case $ac_config_target in
     23924    "src/lib/scconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS src/lib/scconfig.h" ;;
     23925    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
     23926    "lib/LocalMakefile") CONFIG_FILES="$CONFIG_FILES lib/LocalMakefile" ;;
     23927    "lib/cca/components.cca") CONFIG_FILES="$CONFIG_FILES lib/cca/components.cca" ;;
     23928    "bin/sc-config") CONFIG_FILES="$CONFIG_FILES bin/sc-config" ;;
     23929    "bin/mkf77sym.pl") CONFIG_FILES="$CONFIG_FILES bin/mkf77sym.pl" ;;
     23930    "src/bin/mpqc/mpqcrun") CONFIG_FILES="$CONFIG_FILES src/bin/mpqc/mpqcrun" ;;
     23931    "src/bin/mpqc/ccarun") CONFIG_FILES="$CONFIG_FILES src/bin/mpqc/ccarun" ;;
     23932    "src/bin/mpqc/validate/makeccain.pl") CONFIG_FILES="$CONFIG_FILES src/bin/mpqc/validate/makeccain.pl" ;;
     23933    "doc/doxygen.cfg") CONFIG_FILES="$CONFIG_FILES doc/doxygen.cfg" ;;
     23934    "doc/doxygen.man1.cfg") CONFIG_FILES="$CONFIG_FILES doc/doxygen.man1.cfg" ;;
     23935    "doc/doxygen.man3.cfg") CONFIG_FILES="$CONFIG_FILES doc/doxygen.man3.cfg" ;;
     23936
     23937  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
    2986323938  esac
    2986423939done
     23940
    2986523941
    2986623942# If the user did not use the arguments to specify the items to instantiate,
     
    2987123947  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
    2987223948  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
     23949  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
    2987323950fi
    2987423951
    2987523952# Have a temporary directory for convenience.  Make it in the build tree
    29876 # simply because there is no reason to put it here, and in addition,
     23953# simply because there is no reason against having it here, and in addition,
    2987723954# creating and moving files from /tmp can sometimes cause problems.
    29878 # Create a temporary directory, and hook for its removal unless debugging.
     23955# Hook for its removal unless debugging.
     23956# Note that there is a small window in which the directory will not be cleaned:
     23957# after its creation but before its name has been assigned to `$tmp'.
    2987923958$debug ||
    2988023959{
    29881   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
    29882   trap '{ (exit 1); exit 1; }' 1 2 13 15
     23960  tmp= ac_tmp=
     23961  trap 'exit_status=$?
     23962  : "${ac_tmp:=$tmp}"
     23963  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
     23964' 0
     23965  trap 'as_fn_exit 1' 1 2 13 15
    2988323966}
    29884 
    2988523967# Create a (secure) tmp directory for tmp files.
    2988623968
    2988723969{
    29888   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
    29889   test -n "$tmp" && test -d "$tmp"
     23970  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
     23971  test -d "$tmp"
    2989023972}  ||
    2989123973{
    29892   tmp=./confstat$$-$RANDOM
    29893   (umask 077 && mkdir $tmp)
    29894 } ||
     23974  tmp=./conf$$-$RANDOM
     23975  (umask 077 && mkdir "$tmp")
     23976} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
     23977ac_tmp=$tmp
     23978
     23979# Set up the scripts for CONFIG_FILES section.
     23980# No need to generate them if there are no CONFIG_FILES.
     23981# This happens for instance with `./config.status config.h'.
     23982if test -n "$CONFIG_FILES"; then
     23983
     23984
     23985ac_cr=`echo X | tr X '\015'`
     23986# On cygwin, bash can eat \r inside `` if the user requested igncr.
     23987# But we know of no other shell where ac_cr would be empty at this
     23988# point, so we can use a bashism as a fallback.
     23989if test "x$ac_cr" = x; then
     23990  eval ac_cr=\$\'\\r\'
     23991fi
     23992ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
     23993if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
     23994  ac_cs_awk_cr='\\r'
     23995else
     23996  ac_cs_awk_cr=$ac_cr
     23997fi
     23998
     23999echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
     24000_ACEOF
     24001
     24002
    2989524003{
    29896    echo "$me: cannot create a temporary directory in ." >&2
    29897    { (exit 1); exit 1; }
     24004  echo "cat >conf$$subs.awk <<_ACEOF" &&
     24005  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
     24006  echo "_ACEOF"
     24007} >conf$$subs.sh ||
     24008  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     24009ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
     24010ac_delim='%!_!# '
     24011for ac_last_try in false false false false false :; do
     24012  . ./conf$$subs.sh ||
     24013    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     24014
     24015  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
     24016  if test $ac_delim_n = $ac_delim_num; then
     24017    break
     24018  elif $ac_last_try; then
     24019    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     24020  else
     24021    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     24022  fi
     24023done
     24024rm -f conf$$subs.sh
     24025
     24026cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     24027cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
     24028_ACEOF
     24029sed -n '
     24030h
     24031s/^/S["/; s/!.*/"]=/
     24032p
     24033g
     24034s/^[^!]*!//
     24035:repl
     24036t repl
     24037s/'"$ac_delim"'$//
     24038t delim
     24039:nl
     24040h
     24041s/\(.\{148\}\)..*/\1/
     24042t more1
     24043s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
     24044p
     24045n
     24046b repl
     24047:more1
     24048s/["\\]/\\&/g; s/^/"/; s/$/"\\/
     24049p
     24050g
     24051s/.\{148\}//
     24052t nl
     24053:delim
     24054h
     24055s/\(.\{148\}\)..*/\1/
     24056t more2
     24057s/["\\]/\\&/g; s/^/"/; s/$/"/
     24058p
     24059b
     24060:more2
     24061s/["\\]/\\&/g; s/^/"/; s/$/"\\/
     24062p
     24063g
     24064s/.\{148\}//
     24065t delim
     24066' <conf$$subs.awk | sed '
     24067/^[^""]/{
     24068  N
     24069  s/\n//
    2989824070}
    29899 
     24071' >>$CONFIG_STATUS || ac_write_fail=1
     24072rm -f conf$$subs.awk
     24073cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     24074_ACAWK
     24075cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
     24076  for (key in S) S_is_set[key] = 1
     24077  FS = ""
     24078
     24079}
     24080{
     24081  line = $ 0
     24082  nfields = split(line, field, "@")
     24083  substed = 0
     24084  len = length(field[1])
     24085  for (i = 2; i < nfields; i++) {
     24086    key = field[i]
     24087    keylen = length(key)
     24088    if (S_is_set[key]) {
     24089      value = S[key]
     24090      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
     24091      len += length(value) + length(field[++i])
     24092      substed = 1
     24093    } else
     24094      len += 1 + keylen
     24095  }
     24096
     24097  print line
     24098}
     24099
     24100_ACAWK
    2990024101_ACEOF
    29901 
    29902 cat >>$CONFIG_STATUS <<_ACEOF
    29903 
    29904 #
    29905 # CONFIG_FILES section.
    29906 #
    29907 
    29908 # No need to generate the scripts if there are no CONFIG_FILES.
    29909 # This happens for instance when ./config.status config.h
    29910 if test -n "\$CONFIG_FILES"; then
    29911   # Protect against being on the right side of a sed subst in config.status.
    29912   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
    29913    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
    29914 s,@SHELL@,$SHELL,;t t
    29915 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
    29916 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
    29917 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
    29918 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
    29919 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
    29920 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
    29921 s,@exec_prefix@,$exec_prefix,;t t
    29922 s,@prefix@,$prefix,;t t
    29923 s,@program_transform_name@,$program_transform_name,;t t
    29924 s,@bindir@,$bindir,;t t
    29925 s,@sbindir@,$sbindir,;t t
    29926 s,@libexecdir@,$libexecdir,;t t
    29927 s,@datadir@,$datadir,;t t
    29928 s,@sysconfdir@,$sysconfdir,;t t
    29929 s,@sharedstatedir@,$sharedstatedir,;t t
    29930 s,@localstatedir@,$localstatedir,;t t
    29931 s,@libdir@,$libdir,;t t
    29932 s,@includedir@,$includedir,;t t
    29933 s,@oldincludedir@,$oldincludedir,;t t
    29934 s,@infodir@,$infodir,;t t
    29935 s,@mandir@,$mandir,;t t
    29936 s,@build_alias@,$build_alias,;t t
    29937 s,@host_alias@,$host_alias,;t t
    29938 s,@target_alias@,$target_alias,;t t
    29939 s,@DEFS@,$DEFS,;t t
    29940 s,@ECHO_C@,$ECHO_C,;t t
    29941 s,@ECHO_N@,$ECHO_N,;t t
    29942 s,@ECHO_T@,$ECHO_T,;t t
    29943 s,@LIBS@,$LIBS,;t t
    29944 s,@build@,$build,;t t
    29945 s,@build_cpu@,$build_cpu,;t t
    29946 s,@build_vendor@,$build_vendor,;t t
    29947 s,@build_os@,$build_os,;t t
    29948 s,@host@,$host,;t t
    29949 s,@host_cpu@,$host_cpu,;t t
    29950 s,@host_vendor@,$host_vendor,;t t
    29951 s,@host_os@,$host_os,;t t
    29952 s,@target@,$target,;t t
    29953 s,@target_cpu@,$target_cpu,;t t
    29954 s,@target_vendor@,$target_vendor,;t t
    29955 s,@target_os@,$target_os,;t t
    29956 s,@SC_SO_VERSION@,$SC_SO_VERSION,;t t
    29957 s,@DOXYGEN_MAN@,$DOXYGEN_MAN,;t t
    29958 s,@FOOTER_HTML@,$FOOTER_HTML,;t t
    29959 s,@ENABLECCA@,$ENABLECCA,;t t
    29960 s,@BUILDID@,$BUILDID,;t t
    29961 s,@SC_VERSION@,$SC_VERSION,;t t
    29962 s,@ARFLAGS@,$ARFLAGS,;t t
    29963 s,@LAUNCH@,$LAUNCH,;t t
    29964 s,@CCALAUNCH@,$CCALAUNCH,;t t
    29965 s,@scdatadir@,$scdatadir,;t t
    29966 s,@scincludedir@,$scincludedir,;t t
    29967 s,@CCA_CHEM_CONFIG@,$CCA_CHEM_CONFIG,;t t
    29968 s,@compiledir@,$compiledir,;t t
    29969 s,@scbindir@,$scbindir,;t t
    29970 s,@sclibdir@,$sclibdir,;t t
    29971 s,@LN_S@,$LN_S,;t t
    29972 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
    29973 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
    29974 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
    29975 s,@RANLIB@,$RANLIB,;t t
    29976 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
    29977 s,@CC@,$CC,;t t
    29978 s,@CFLAGS@,$CFLAGS,;t t
    29979 s,@LDFLAGS@,$LDFLAGS,;t t
    29980 s,@CPPFLAGS@,$CPPFLAGS,;t t
    29981 s,@ac_ct_CC@,$ac_ct_CC,;t t
    29982 s,@EXEEXT@,$EXEEXT,;t t
    29983 s,@OBJEXT@,$OBJEXT,;t t
    29984 s,@CXX@,$CXX,;t t
    29985 s,@CXXFLAGS@,$CXXFLAGS,;t t
    29986 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
    29987 s,@F77@,$F77,;t t
    29988 s,@FFLAGS@,$FFLAGS,;t t
    29989 s,@ac_ct_F77@,$ac_ct_F77,;t t
    29990 s,@FLIBS@,$FLIBS,;t t
    29991 s,@CPP@,$CPP,;t t
    29992 s,@CXXCPP@,$CXXCPP,;t t
    29993 s,@AR@,$AR,;t t
    29994 s,@PERL@,$PERL,;t t
    29995 s,@WISH@,$WISH,;t t
    29996 s,@HAVE_DOT@,$HAVE_DOT,;t t
    29997 s,@DOT_PATH@,$DOT_PATH,;t t
    29998 s,@EGREP@,$EGREP,;t t
    29999 s,@EXTRAINCLUDE@,$EXTRAINCLUDE,;t t
    30000 s,@LIBDIRS@,$LIBDIRS,;t t
    30001 s,@OBJSUF@,$OBJSUF,;t t
    30002 s,@LIBSUF@,$LIBSUF,;t t
    30003 s,@CCDEPENDSUF@,$CCDEPENDSUF,;t t
    30004 s,@CXXDEPENDSUF@,$CXXDEPENDSUF,;t t
    30005 s,@CCDEPENDFLAGS@,$CCDEPENDFLAGS,;t t
    30006 s,@CXXDEPENDFLAGS@,$CXXDEPENDFLAGS,;t t
    30007 s,@HAVE_PERF@,$HAVE_PERF,;t t
    30008 s,@HAVE_MPI@,$HAVE_MPI,;t t
    30009 s,@ALWAYS_USE_MPI@,$ALWAYS_USE_MPI,;t t
    30010 s,@HAVE_ARMCI@,$HAVE_ARMCI,;t t
    30011 s,@HAVE_MPIIO@,$HAVE_MPIIO,;t t
    30012 s,@HAVE_PTHREAD@,$HAVE_PTHREAD,;t t
    30013 s,@EXTRADEFINES@,$EXTRADEFINES,;t t
    30014 s,@HAVE_FCHDIR@,$HAVE_FCHDIR,;t t
    30015 s,@HAVE_IOS_FMTFLAGS@,$HAVE_IOS_FMTFLAGS,;t t
    30016 s,@HAVE_SGETN@,$HAVE_SGETN,;t t
    30017 s,@HAVE_PUBSEEKOFF@,$HAVE_PUBSEEKOFF,;t t
    30018 s,@HAVE_SEEKOFF@,$HAVE_SEEKOFF,;t t
    30019 s,@HAVE_SYSV_IPC@,$HAVE_SYSV_IPC,;t t
    30020 s,@F77_SYMBOLS@,$F77_SYMBOLS,;t t
    30021 s,@HAVE_BLAS@,$HAVE_BLAS,;t t
    30022 s,@HAVE_LAPACK@,$HAVE_LAPACK,;t t
    30023 s,@NIAMACFG@,$NIAMACFG,;t t
    30024 s,@HAVE_LIBINT@,$HAVE_LIBINT,;t t
    30025 s,@HAVE_LIBR12@,$HAVE_LIBR12,;t t
    30026 s,@HAVE_LIBDERIV@,$HAVE_LIBDERIV,;t t
    30027 s,@TMPLINST@,$TMPLINST,;t t
    30028 s,@TMPLREPO@,$TMPLREPO,;t t
    30029 s,@TMPLINLIB@,$TMPLINLIB,;t t
    30030 s,@ECHO@,$ECHO,;t t
    30031 s,@ac_ct_AR@,$ac_ct_AR,;t t
    30032 s,@STRIP@,$STRIP,;t t
    30033 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
    30034 s,@LIBTOOL@,$LIBTOOL,;t t
    30035 s,@ENABLESHARED@,$ENABLESHARED,;t t
    30036 s,@CCA_CHEM_INCLUDE@,$CCA_CHEM_INCLUDE,;t t
    30037 s,@CCA_CHEM_LIB@,$CCA_CHEM_LIB,;t t
    30038 s,@CCA_CHEM_REPO@,$CCA_CHEM_REPO,;t t
    30039 s,@CCAFE_CONFIG@,$CCAFE_CONFIG,;t t
    30040 s,@CCAFE_INCLUDE@,$CCAFE_INCLUDE,;t t
    30041 s,@CCAFE_LIB@,$CCAFE_LIB,;t t
    30042 s,@CCAFE_SHARE@,$CCAFE_SHARE,;t t
    30043 s,@CCAFE_BIN@,$CCAFE_BIN,;t t
    30044 s,@CCA_SPEC_BABEL_CONFIG@,$CCA_SPEC_BABEL_CONFIG,;t t
    30045 s,@CCA_SPEC_BABEL_INCLUDE@,$CCA_SPEC_BABEL_INCLUDE,;t t
    30046 s,@CCA_SPEC_BABEL_LIB@,$CCA_SPEC_BABEL_LIB,;t t
    30047 s,@CCA_SPEC_BABEL_SHARE@,$CCA_SPEC_BABEL_SHARE,;t t
    30048 s,@CCA_SPEC_CLASSIC_CONFIG@,$CCA_SPEC_CLASSIC_CONFIG,;t t
    30049 s,@CCA_SPEC_CLASSIC_INCLUDE@,$CCA_SPEC_CLASSIC_INCLUDE,;t t
    30050 s,@CCA_SPEC_CLASSIC_LIB@,$CCA_SPEC_CLASSIC_LIB,;t t
    30051 s,@CCA_SPEC_CLASSIC_SHARE@,$CCA_SPEC_CLASSIC_SHARE,;t t
    30052 s,@BABEL_CONFIG@,$BABEL_CONFIG,;t t
    30053 s,@BABEL_INCLUDE@,$BABEL_INCLUDE,;t t
    30054 s,@BABEL_LIB@,$BABEL_LIB,;t t
    30055 s,@BABEL_SHARE@,$BABEL_SHARE,;t t
    30056 s,@BABEL_BIN@,$BABEL_BIN,;t t
    30057 s,@BABEL_CC@,$BABEL_CC,;t t
    30058 s,@BABEL_CFLAGS@,$BABEL_CFLAGS,;t t
    30059 s,@BABEL_CXX@,$BABEL_CXX,;t t
    30060 s,@BABEL_CXXFLAGS@,$BABEL_CXXFLAGS,;t t
    30061 s,@BABEL_LIBTOOL@,$BABEL_LIBTOOL,;t t
    30062 s,@CCAFE_MPI_ENABLE@,$CCAFE_MPI_ENABLE,;t t
    30063 s,@CCAFE_MPI_INCLUDE@,$CCAFE_MPI_INCLUDE,;t t
    30064 s,@CCAFE_MPI_LIB@,$CCAFE_MPI_LIB,;t t
    30065 s,@CCAFE_MPI_BIN@,$CCAFE_MPI_BIN,;t t
    30066 s,@BABEL_PYTHON@,$BABEL_PYTHON,;t t
    30067 s,@BABEL_PYTHON_VERSION@,$BABEL_PYTHON_VERSION,;t t
    30068 s,@BABEL_PYTHON_LIB@,$BABEL_PYTHON_LIB,;t t
    30069 s,@BABEL_PYTHON_INCLUDE@,$BABEL_PYTHON_INCLUDE,;t t
    30070 s,@SCLIBS@,$SCLIBS,;t t
    30071 s,@LIBOBJS@,$LIBOBJS,;t t
    30072 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
    30073 CEOF
    30074 
     24102cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     24103if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
     24104  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
     24105else
     24106  cat
     24107fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
     24108  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
    3007524109_ACEOF
    3007624110
    30077   cat >>$CONFIG_STATUS <<\_ACEOF
    30078   # Split the substitutions into bite-sized pieces for seds with
    30079   # small command number limits, like on Digital OSF/1 and HP-UX.
    30080   ac_max_sed_lines=48
    30081   ac_sed_frag=1 # Number of current file.
    30082   ac_beg=1 # First line for current file.
    30083   ac_end=$ac_max_sed_lines # Line after last line for current file.
    30084   ac_more_lines=:
    30085   ac_sed_cmds=
    30086   while $ac_more_lines; do
    30087     if test $ac_beg -gt 1; then
    30088       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    30089     else
    30090       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     24111# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
     24112# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
     24113# trailing colons and then remove the whole line if VPATH becomes empty
     24114# (actually we leave an empty line to preserve line numbers).
     24115if test "x$srcdir" = x.; then
     24116  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
     24117h
     24118s///
     24119s/^/:/
     24120s/[      ]*$/:/
     24121s/:\$(srcdir):/:/g
     24122s/:\${srcdir}:/:/g
     24123s/:@srcdir@:/:/g
     24124s/^:*//
     24125s/:*$//
     24126x
     24127s/\(=[   ]*\).*/\1/
     24128G
     24129s/\n//
     24130s/^[^=]*=[       ]*$//
     24131}'
     24132fi
     24133
     24134cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     24135fi # test -n "$CONFIG_FILES"
     24136
     24137# Set up the scripts for CONFIG_HEADERS section.
     24138# No need to generate them if there are no CONFIG_HEADERS.
     24139# This happens for instance with `./config.status Makefile'.
     24140if test -n "$CONFIG_HEADERS"; then
     24141cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
     24142BEGIN {
     24143_ACEOF
     24144
     24145# Transform confdefs.h into an awk script `defines.awk', embedded as
     24146# here-document in config.status, that substitutes the proper values into
     24147# config.h.in to produce config.h.
     24148
     24149# Create a delimiter string that does not exist in confdefs.h, to ease
     24150# handling of long lines.
     24151ac_delim='%!_!# '
     24152for ac_last_try in false false :; do
     24153  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
     24154  if test -z "$ac_tt"; then
     24155    break
     24156  elif $ac_last_try; then
     24157    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
     24158  else
     24159    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     24160  fi
     24161done
     24162
     24163# For the awk script, D is an array of macro values keyed by name,
     24164# likewise P contains macro parameters if any.  Preserve backslash
     24165# newline sequences.
     24166
     24167ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
     24168sed -n '
     24169s/.\{148\}/&'"$ac_delim"'/g
     24170t rset
     24171:rset
     24172s/^[     ]*#[    ]*define[       ][      ]*/ /
     24173t def
     24174d
     24175:def
     24176s/\\$//
     24177t bsnl
     24178s/["\\]/\\&/g
     24179s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
     24180D["\1"]=" \3"/p
     24181s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
     24182d
     24183:bsnl
     24184s/["\\]/\\&/g
     24185s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
     24186D["\1"]=" \3\\\\\\n"\\/p
     24187t cont
     24188s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
     24189t cont
     24190d
     24191:cont
     24192n
     24193s/.\{148\}/&'"$ac_delim"'/g
     24194t clear
     24195:clear
     24196s/\\$//
     24197t bsnlc
     24198s/["\\]/\\&/g; s/^/"/; s/$/"/p
     24199d
     24200:bsnlc
     24201s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
     24202b cont
     24203' <confdefs.h | sed '
     24204s/'"$ac_delim"'/"\\\
     24205"/g' >>$CONFIG_STATUS || ac_write_fail=1
     24206
     24207cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     24208  for (key in D) D_is_set[key] = 1
     24209  FS = ""
     24210}
     24211/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
     24212  line = \$ 0
     24213  split(line, arg, " ")
     24214  if (arg[1] == "#") {
     24215    defundef = arg[2]
     24216    mac1 = arg[3]
     24217  } else {
     24218    defundef = substr(arg[1], 2)
     24219    mac1 = arg[2]
     24220  }
     24221  split(mac1, mac2, "(") #)
     24222  macro = mac2[1]
     24223  prefix = substr(line, 1, index(line, defundef) - 1)
     24224  if (D_is_set[macro]) {
     24225    # Preserve the white space surrounding the "#".
     24226    print prefix "define", macro P[macro] D[macro]
     24227    next
     24228  } else {
     24229    # Replace #undef with comments.  This is necessary, for example,
     24230    # in the case of _POSIX_SOURCE, which is predefined and required
     24231    # on some systems where configure will not decide to define it.
     24232    if (defundef == "undef") {
     24233      print "/*", prefix defundef, macro, "*/"
     24234      next
     24235    }
     24236  }
     24237}
     24238{ print }
     24239_ACAWK
     24240_ACEOF
     24241cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     24242  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
     24243fi # test -n "$CONFIG_HEADERS"
     24244
     24245
     24246eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
     24247shift
     24248for ac_tag
     24249do
     24250  case $ac_tag in
     24251  :[FHLC]) ac_mode=$ac_tag; continue;;
     24252  esac
     24253  case $ac_mode$ac_tag in
     24254  :[FHL]*:*);;
     24255  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
     24256  :[FH]-) ac_tag=-:-;;
     24257  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
     24258  esac
     24259  ac_save_IFS=$IFS
     24260  IFS=:
     24261  set x $ac_tag
     24262  IFS=$ac_save_IFS
     24263  shift
     24264  ac_file=$1
     24265  shift
     24266
     24267  case $ac_mode in
     24268  :L) ac_source=$1;;
     24269  :[FH])
     24270    ac_file_inputs=
     24271    for ac_f
     24272    do
     24273      case $ac_f in
     24274      -) ac_f="$ac_tmp/stdin";;
     24275      *) # Look for the file first in the build tree, then in the source tree
     24276         # (if the path is not absolute).  The absolute path cannot be DOS-style,
     24277         # because $ac_f cannot contain `:'.
     24278         test -f "$ac_f" ||
     24279           case $ac_f in
     24280           [\\/$]*) false;;
     24281           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
     24282           esac ||
     24283           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
     24284      esac
     24285      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
     24286      as_fn_append ac_file_inputs " '$ac_f'"
     24287    done
     24288
     24289    # Let's still pretend it is `configure' which instantiates (i.e., don't
     24290    # use $as_me), people would be surprised to read:
     24291    #    /* config.h.  Generated by config.status.  */
     24292    configure_input='Generated from '`
     24293          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
     24294        `' by configure.'
     24295    if test x"$ac_file" != x-; then
     24296      configure_input="$ac_file.  $configure_input"
     24297      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
     24298$as_echo "$as_me: creating $ac_file" >&6;}
    3009124299    fi
    30092     if test ! -s $tmp/subs.frag; then
    30093       ac_more_lines=false
    30094     else
    30095       # The purpose of the label and of the branching condition is to
    30096       # speed up the sed processing (if there are no `@' at all, there
    30097       # is no need to browse any of the substitutions).
    30098       # These are the two extra sed commands mentioned above.
    30099       (echo ':t
    30100   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
    30101       if test -z "$ac_sed_cmds"; then
    30102         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
    30103       else
    30104         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
    30105       fi
    30106       ac_sed_frag=`expr $ac_sed_frag + 1`
    30107       ac_beg=$ac_end
    30108       ac_end=`expr $ac_end + $ac_max_sed_lines`
    30109     fi
    30110   done
    30111   if test -z "$ac_sed_cmds"; then
    30112     ac_sed_cmds=cat
    30113   fi
    30114 fi # test -n "$CONFIG_FILES"
    30115 
    30116 _ACEOF
    30117 cat >>$CONFIG_STATUS <<\_ACEOF
    30118 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
    30119   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    30120   case $ac_file in
    30121   - | *:- | *:-:* ) # input from stdin
    30122         cat >$tmp/stdin
    30123         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    30124         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    30125   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    30126         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    30127   * )   ac_file_in=$ac_file.in ;;
     24300    # Neutralize special characters interpreted by sed in replacement strings.
     24301    case $configure_input in #(
     24302    *\&* | *\|* | *\\* )
     24303       ac_sed_conf_input=`$as_echo "$configure_input" |
     24304       sed 's/[\\\\&|]/\\\\&/g'`;; #(
     24305    *) ac_sed_conf_input=$configure_input;;
     24306    esac
     24307
     24308    case $ac_tag in
     24309    *:-:* | *:-) cat >"$ac_tmp/stdin" \
     24310      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
     24311    esac
     24312    ;;
    3012824313  esac
    3012924314
    30130   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
    30131   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
     24315  ac_dir=`$as_dirname -- "$ac_file" ||
    3013224316$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    3013324317         X"$ac_file" : 'X\(//\)[^/]' \| \
    3013424318         X"$ac_file" : 'X\(//\)$' \| \
    30135          X"$ac_file" : 'X\(/\)' \| \
    30136          .     : '\(.\)' 2>/dev/null ||
    30137 echo X"$ac_file" |
    30138     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    30139           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    30140           /^X\(\/\/\)$/{ s//\1/; q; }
    30141           /^X\(\/\).*/{ s//\1/; q; }
    30142           s/.*/./; q'`
    30143   { if $as_mkdir_p; then
    30144     mkdir -p "$ac_dir"
    30145   else
    30146     as_dir="$ac_dir"
    30147     as_dirs=
    30148     while test ! -d "$as_dir"; do
    30149       as_dirs="$as_dir $as_dirs"
    30150       as_dir=`(dirname "$as_dir") 2>/dev/null ||
    30151 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    30152          X"$as_dir" : 'X\(//\)[^/]' \| \
    30153          X"$as_dir" : 'X\(//\)$' \| \
    30154          X"$as_dir" : 'X\(/\)' \| \
    30155          .     : '\(.\)' 2>/dev/null ||
    30156 echo X"$as_dir" |
    30157     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    30158           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    30159           /^X\(\/\/\)$/{ s//\1/; q; }
    30160           /^X\(\/\).*/{ s//\1/; q; }
    30161           s/.*/./; q'`
    30162     done
    30163     test ! -n "$as_dirs" || mkdir $as_dirs
    30164   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    30165 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
    30166    { (exit 1); exit 1; }; }; }
    30167 
     24319         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
     24320$as_echo X"$ac_file" |
     24321    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     24322            s//\1/
     24323            q
     24324          }
     24325          /^X\(\/\/\)[^/].*/{
     24326            s//\1/
     24327            q
     24328          }
     24329          /^X\(\/\/\)$/{
     24330            s//\1/
     24331            q
     24332          }
     24333          /^X\(\/\).*/{
     24334            s//\1/
     24335            q
     24336          }
     24337          s/.*/./; q'`
     24338  as_dir="$ac_dir"; as_fn_mkdir_p
    3016824339  ac_builddir=.
    3016924340
    30170 if test "$ac_dir" != .; then
    30171   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    30172   # A "../" for each directory in $ac_dir_suffix.
    30173   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    30174 else
    30175   ac_dir_suffix= ac_top_builddir=
    30176 fi
     24341case "$ac_dir" in
     24342.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     24343*)
     24344  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
     24345  # A ".." for each directory in $ac_dir_suffix.
     24346  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
     24347  case $ac_top_builddir_sub in
     24348  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     24349  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     24350  esac ;;
     24351esac
     24352ac_abs_top_builddir=$ac_pwd
     24353ac_abs_builddir=$ac_pwd$ac_dir_suffix
     24354# for backward compatibility:
     24355ac_top_builddir=$ac_top_build_prefix
    3017724356
    3017824357case $srcdir in
    30179   .)  # No --srcdir option.  We are building in place.
     24358  .)  # We are building in place.
    3018024359    ac_srcdir=.
    30181     if test -z "$ac_top_builddir"; then
    30182        ac_top_srcdir=.
    30183     else
    30184        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    30185     fi ;;
    30186   [\\/]* | ?:[\\/]* )  # Absolute path.
     24360    ac_top_srcdir=$ac_top_builddir_sub
     24361    ac_abs_top_srcdir=$ac_pwd ;;
     24362  [\\/]* | ?:[\\/]* )  # Absolute name.
    3018724363    ac_srcdir=$srcdir$ac_dir_suffix;
    30188     ac_top_srcdir=$srcdir ;;
    30189   *) # Relative path.
    30190     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    30191     ac_top_srcdir=$ac_top_builddir$srcdir ;;
     24364    ac_top_srcdir=$srcdir
     24365    ac_abs_top_srcdir=$srcdir ;;
     24366  *) # Relative name.
     24367    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     24368    ac_top_srcdir=$ac_top_build_prefix$srcdir
     24369    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
    3019224370esac
    30193 
    30194 # Do not use `cd foo && pwd` to compute absolute paths, because
    30195 # the directories may not exist.
    30196 case `pwd` in
    30197 .) ac_abs_builddir="$ac_dir";;
    30198 *)
    30199   case "$ac_dir" in
    30200   .) ac_abs_builddir=`pwd`;;
    30201   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    30202   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    30203   esac;;
    30204 esac
    30205 case $ac_abs_builddir in
    30206 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    30207 *)
    30208   case ${ac_top_builddir}. in
    30209   .) ac_abs_top_builddir=$ac_abs_builddir;;
    30210   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    30211   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    30212   esac;;
    30213 esac
    30214 case $ac_abs_builddir in
    30215 .) ac_abs_srcdir=$ac_srcdir;;
    30216 *)
    30217   case $ac_srcdir in
    30218   .) ac_abs_srcdir=$ac_abs_builddir;;
    30219   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    30220   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    30221   esac;;
    30222 esac
    30223 case $ac_abs_builddir in
    30224 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    30225 *)
    30226   case $ac_top_srcdir in
    30227   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    30228   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    30229   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    30230   esac;;
    30231 esac
    30232 
     24371ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     24372
     24373
     24374  case $ac_mode in
     24375  :F)
     24376  #
     24377  # CONFIG_FILE
     24378  #
    3023324379
    3023424380  case $INSTALL in
    3023524381  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
    30236   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
     24382  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
    3023724383  esac
    30238 
    30239   if test x"$ac_file" != x-; then
    30240     { echo "$as_me:$LINENO: creating $ac_file" >&5
    30241 echo "$as_me: creating $ac_file" >&6;}
    30242     rm -f "$ac_file"
    30243   fi
    30244   # Let's still pretend it is `configure' which instantiates (i.e., don't
    30245   # use $as_me), people would be surprised to read:
    30246   #    /* config.h.  Generated by config.status.  */
    30247   if test x"$ac_file" = x-; then
    30248     configure_input=
    30249   else
    30250     configure_input="$ac_file.  "
    30251   fi
    30252   configure_input=$configure_input"Generated from `echo $ac_file_in |
    30253                                      sed 's,.*/,,'` by configure."
    30254 
    30255   # First look for the input files in the build tree, otherwise in the
    30256   # src tree.
    30257   ac_file_inputs=`IFS=:
    30258     for f in $ac_file_in; do
    30259       case $f in
    30260       -) echo $tmp/stdin ;;
    30261       [\\/$]*)
    30262          # Absolute (can't be DOS-style, as IFS=:)
    30263          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    30264 echo "$as_me: error: cannot find input file: $f" >&2;}
    30265    { (exit 1); exit 1; }; }
    30266          echo "$f";;
    30267       *) # Relative
    30268          if test -f "$f"; then
    30269            # Build tree
    30270            echo "$f"
    30271          elif test -f "$srcdir/$f"; then
    30272            # Source tree
    30273            echo "$srcdir/$f"
    30274          else
    30275            # /dev/null tree
    30276            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    30277 echo "$as_me: error: cannot find input file: $f" >&2;}
    30278    { (exit 1); exit 1; }; }
    30279          fi;;
    30280       esac
    30281     done` || { (exit 1); exit 1; }
    3028224384_ACEOF
    30283 cat >>$CONFIG_STATUS <<_ACEOF
    30284   sed "$ac_vpsub
     24385
     24386cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     24387# If the template does not know about datarootdir, expand it.
     24388# FIXME: This hack should be removed a few years after 2.60.
     24389ac_datarootdir_hack=; ac_datarootdir_seen=
     24390ac_sed_dataroot='
     24391/datarootdir/ {
     24392  p
     24393  q
     24394}
     24395/@datadir@/p
     24396/@docdir@/p
     24397/@infodir@/p
     24398/@localedir@/p
     24399/@mandir@/p'
     24400case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
     24401*datarootdir*) ac_datarootdir_seen=yes;;
     24402*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
     24403  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
     24404$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
     24405_ACEOF
     24406cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     24407  ac_datarootdir_hack='
     24408  s&@datadir@&$datadir&g
     24409  s&@docdir@&$docdir&g
     24410  s&@infodir@&$infodir&g
     24411  s&@localedir@&$localedir&g
     24412  s&@mandir@&$mandir&g
     24413  s&\\\${datarootdir}&$datarootdir&g' ;;
     24414esac
     24415_ACEOF
     24416
     24417# Neutralize VPATH when `$srcdir' = `.'.
     24418# Shell code in configure.ac might set extrasub.
     24419# FIXME: do we really want to maintain this feature?
     24420cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     24421ac_sed_extra="$ac_vpsub
    3028524422$extrasub
    3028624423_ACEOF
    30287 cat >>$CONFIG_STATUS <<\_ACEOF
     24424cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    3028824425:t
    3028924426/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
    30290 s,@configure_input@,$configure_input,;t t
    30291 s,@srcdir@,$ac_srcdir,;t t
    30292 s,@abs_srcdir@,$ac_abs_srcdir,;t t
    30293 s,@top_srcdir@,$ac_top_srcdir,;t t
    30294 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
    30295 s,@builddir@,$ac_builddir,;t t
    30296 s,@abs_builddir@,$ac_abs_builddir,;t t
    30297 s,@top_builddir@,$ac_top_builddir,;t t
    30298 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
    30299 s,@INSTALL@,$ac_INSTALL,;t t
    30300 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
    30301   rm -f $tmp/stdin
     24427s|@configure_input@|$ac_sed_conf_input|;t t
     24428s&@top_builddir@&$ac_top_builddir_sub&;t t
     24429s&@top_build_prefix@&$ac_top_build_prefix&;t t
     24430s&@srcdir@&$ac_srcdir&;t t
     24431s&@abs_srcdir@&$ac_abs_srcdir&;t t
     24432s&@top_srcdir@&$ac_top_srcdir&;t t
     24433s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
     24434s&@builddir@&$ac_builddir&;t t
     24435s&@abs_builddir@&$ac_abs_builddir&;t t
     24436s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
     24437s&@INSTALL@&$ac_INSTALL&;t t
     24438$ac_datarootdir_hack
     24439"
     24440eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
     24441  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     24442
     24443test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
     24444  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
     24445  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
     24446      "$ac_tmp/out"`; test -z "$ac_out"; } &&
     24447  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     24448which seems to be undefined.  Please make sure it is defined" >&5
     24449$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     24450which seems to be undefined.  Please make sure it is defined" >&2;}
     24451
     24452  rm -f "$ac_tmp/stdin"
     24453  case $ac_file in
     24454  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
     24455  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
     24456  esac \
     24457  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     24458 ;;
     24459  :H)
     24460  #
     24461  # CONFIG_HEADER
     24462  #
    3030224463  if test x"$ac_file" != x-; then
    30303     mv $tmp/out $ac_file
    30304   else
    30305     cat $tmp/out
    30306     rm -f $tmp/out
    30307   fi
    30308 
    30309 done
    30310 _ACEOF
    30311 cat >>$CONFIG_STATUS <<\_ACEOF
    30312 
    30313 #
    30314 # CONFIG_HEADER section.
    30315 #
    30316 
    30317 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
    30318 # NAME is the cpp macro being defined and VALUE is the value it is being given.
    30319 #
    30320 # ac_d sets the value in "#define NAME VALUE" lines.
    30321 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
    30322 ac_dB='[         ].*$,\1#\2'
    30323 ac_dC=' '
    30324 ac_dD=',;t'
    30325 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
    30326 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
    30327 ac_uB='$,\1#\2define\3'
    30328 ac_uC=' '
    30329 ac_uD=',;t'
    30330 
    30331 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
    30332   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    30333   case $ac_file in
    30334   - | *:- | *:-:* ) # input from stdin
    30335         cat >$tmp/stdin
    30336         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    30337         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    30338   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    30339         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    30340   * )   ac_file_in=$ac_file.in ;;
    30341   esac
    30342 
    30343   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
    30344 echo "$as_me: creating $ac_file" >&6;}
    30345 
    30346   # First look for the input files in the build tree, otherwise in the
    30347   # src tree.
    30348   ac_file_inputs=`IFS=:
    30349     for f in $ac_file_in; do
    30350       case $f in
    30351       -) echo $tmp/stdin ;;
    30352       [\\/$]*)
    30353          # Absolute (can't be DOS-style, as IFS=:)
    30354          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    30355 echo "$as_me: error: cannot find input file: $f" >&2;}
    30356    { (exit 1); exit 1; }; }
    30357          # Do quote $f, to prevent DOS paths from being IFS'd.
    30358          echo "$f";;
    30359       *) # Relative
    30360          if test -f "$f"; then
    30361            # Build tree
    30362            echo "$f"
    30363          elif test -f "$srcdir/$f"; then
    30364            # Source tree
    30365            echo "$srcdir/$f"
    30366          else
    30367            # /dev/null tree
    30368            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    30369 echo "$as_me: error: cannot find input file: $f" >&2;}
    30370    { (exit 1); exit 1; }; }
    30371          fi;;
    30372       esac
    30373     done` || { (exit 1); exit 1; }
    30374   # Remove the trailing spaces.
    30375   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
    30376 
    30377 _ACEOF
    30378 
    30379 # Transform confdefs.h into two sed scripts, `conftest.defines' and
    30380 # `conftest.undefs', that substitutes the proper values into
    30381 # config.h.in to produce config.h.  The first handles `#define'
    30382 # templates, and the second `#undef' templates.
    30383 # And first: Protect against being on the right side of a sed subst in
    30384 # config.status.  Protect against being in an unquoted here document
    30385 # in config.status.
    30386 rm -f conftest.defines conftest.undefs
    30387 # Using a here document instead of a string reduces the quoting nightmare.
    30388 # Putting comments in sed scripts is not portable.
    30389 #
    30390 # `end' is used to avoid that the second main sed command (meant for
    30391 # 0-ary CPP macros) applies to n-ary macro definitions.
    30392 # See the Autoconf documentation for `clear'.
    30393 cat >confdef2sed.sed <<\_ACEOF
    30394 s/[\\&,]/\\&/g
    30395 s,[\\$`],\\&,g
    30396 t clear
    30397 : clear
    30398 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
    30399 t end
    30400 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
    30401 : end
    30402 _ACEOF
    30403 # If some macros were called several times there might be several times
    30404 # the same #defines, which is useless.  Nevertheless, we may not want to
    30405 # sort them, since we want the *last* AC-DEFINE to be honored.
    30406 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
    30407 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
    30408 rm -f confdef2sed.sed
    30409 
    30410 # This sed command replaces #undef with comments.  This is necessary, for
    30411 # example, in the case of _POSIX_SOURCE, which is predefined and required
    30412 # on some systems where configure will not decide to define it.
    30413 cat >>conftest.undefs <<\_ACEOF
    30414 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
    30415 _ACEOF
    30416 
    30417 # Break up conftest.defines because some shells have a limit on the size
    30418 # of here documents, and old seds have small limits too (100 cmds).
    30419 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
    30420 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
    30421 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
    30422 echo '  :' >>$CONFIG_STATUS
    30423 rm -f conftest.tail
    30424 while grep . conftest.defines >/dev/null
    30425 do
    30426   # Write a limited-size here document to $tmp/defines.sed.
    30427   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
    30428   # Speed up: don't consider the non `#define' lines.
    30429   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
    30430   # Work around the forget-to-reset-the-flag bug.
    30431   echo 't clr' >>$CONFIG_STATUS
    30432   echo ': clr' >>$CONFIG_STATUS
    30433   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
    30434   echo 'CEOF
    30435   sed -f $tmp/defines.sed $tmp/in >$tmp/out
    30436   rm -f $tmp/in
    30437   mv $tmp/out $tmp/in
    30438 ' >>$CONFIG_STATUS
    30439   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
    30440   rm -f conftest.defines
    30441   mv conftest.tail conftest.defines
    30442 done
    30443 rm -f conftest.defines
    30444 echo '  fi # grep' >>$CONFIG_STATUS
    30445 echo >>$CONFIG_STATUS
    30446 
    30447 # Break up conftest.undefs because some shells have a limit on the size
    30448 # of here documents, and old seds have small limits too (100 cmds).
    30449 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
    30450 rm -f conftest.tail
    30451 while grep . conftest.undefs >/dev/null
    30452 do
    30453   # Write a limited-size here document to $tmp/undefs.sed.
    30454   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
    30455   # Speed up: don't consider the non `#undef'
    30456   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
    30457   # Work around the forget-to-reset-the-flag bug.
    30458   echo 't clr' >>$CONFIG_STATUS
    30459   echo ': clr' >>$CONFIG_STATUS
    30460   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
    30461   echo 'CEOF
    30462   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
    30463   rm -f $tmp/in
    30464   mv $tmp/out $tmp/in
    30465 ' >>$CONFIG_STATUS
    30466   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
    30467   rm -f conftest.undefs
    30468   mv conftest.tail conftest.undefs
    30469 done
    30470 rm -f conftest.undefs
    30471 
    30472 cat >>$CONFIG_STATUS <<\_ACEOF
    30473   # Let's still pretend it is `configure' which instantiates (i.e., don't
    30474   # use $as_me), people would be surprised to read:
    30475   #    /* config.h.  Generated by config.status.  */
    30476   if test x"$ac_file" = x-; then
    30477     echo "/* Generated by configure.  */" >$tmp/config.h
    30478   else
    30479     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
    30480   fi
    30481   cat $tmp/in >>$tmp/config.h
    30482   rm -f $tmp/in
    30483   if test x"$ac_file" != x-; then
    30484     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
    30485       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
    30486 echo "$as_me: $ac_file is unchanged" >&6;}
     24464    {
     24465      $as_echo "/* $configure_input  */" \
     24466      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
     24467    } >"$ac_tmp/config.h" \
     24468      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     24469    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
     24470      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
     24471$as_echo "$as_me: $ac_file is unchanged" >&6;}
    3048724472    else
    30488       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    30489 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    30490          X"$ac_file" : 'X\(//\)[^/]' \| \
    30491          X"$ac_file" : 'X\(//\)$' \| \
    30492          X"$ac_file" : 'X\(/\)' \| \
    30493          .     : '\(.\)' 2>/dev/null ||
    30494 echo X"$ac_file" |
    30495     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    30496           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    30497           /^X\(\/\/\)$/{ s//\1/; q; }
    30498           /^X\(\/\).*/{ s//\1/; q; }
    30499           s/.*/./; q'`
    30500       { if $as_mkdir_p; then
    30501     mkdir -p "$ac_dir"
    30502   else
    30503     as_dir="$ac_dir"
    30504     as_dirs=
    30505     while test ! -d "$as_dir"; do
    30506       as_dirs="$as_dir $as_dirs"
    30507       as_dir=`(dirname "$as_dir") 2>/dev/null ||
    30508 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    30509          X"$as_dir" : 'X\(//\)[^/]' \| \
    30510          X"$as_dir" : 'X\(//\)$' \| \
    30511          X"$as_dir" : 'X\(/\)' \| \
    30512          .     : '\(.\)' 2>/dev/null ||
    30513 echo X"$as_dir" |
    30514     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    30515           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    30516           /^X\(\/\/\)$/{ s//\1/; q; }
    30517           /^X\(\/\).*/{ s//\1/; q; }
    30518           s/.*/./; q'`
    30519     done
    30520     test ! -n "$as_dirs" || mkdir $as_dirs
    30521   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    30522 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
    30523    { (exit 1); exit 1; }; }; }
    30524 
    30525       rm -f $ac_file
    30526       mv $tmp/config.h $ac_file
     24473      rm -f "$ac_file"
     24474      mv "$ac_tmp/config.h" "$ac_file" \
     24475        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    3052724476    fi
    3052824477  else
    30529     cat $tmp/config.h
    30530     rm -f $tmp/config.h
     24478    $as_echo "/* $configure_input  */" \
     24479      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
     24480      || as_fn_error $? "could not create -" "$LINENO" 5
    3053124481  fi
    30532 done
     24482 ;;
     24483
     24484  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
     24485$as_echo "$as_me: executing $ac_file commands" >&6;}
     24486 ;;
     24487  esac
     24488
     24489
     24490  case $ac_file$ac_mode in
     24491    "libtool":C)
     24492
     24493    # See if we are running on zsh, and set the options which allow our
     24494    # commands through without removal of \ escapes.
     24495    if test -n "${ZSH_VERSION+set}" ; then
     24496      setopt NO_GLOB_SUBST
     24497    fi
     24498
     24499    cfgfile="${ofile}T"
     24500    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
     24501    $RM "$cfgfile"
     24502
     24503    cat <<_LT_EOF >> "$cfgfile"
     24504#! $SHELL
     24505
     24506# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
     24507# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
     24508# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
     24509# NOTE: Changes made to this file will be lost: look at ltmain.sh.
     24510#
     24511#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
     24512#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
     24513#                 Foundation, Inc.
     24514#   Written by Gordon Matzigkeit, 1996
     24515#
     24516#   This file is part of GNU Libtool.
     24517#
     24518# GNU Libtool is free software; you can redistribute it and/or
     24519# modify it under the terms of the GNU General Public License as
     24520# published by the Free Software Foundation; either version 2 of
     24521# the License, or (at your option) any later version.
     24522#
     24523# As a special exception to the GNU General Public License,
     24524# if you distribute this file as part of a program or library that
     24525# is built using GNU Libtool, you may include this file under the
     24526# same distribution terms that you use for the rest of that program.
     24527#
     24528# GNU Libtool is distributed in the hope that it will be useful,
     24529# but WITHOUT ANY WARRANTY; without even the implied warranty of
     24530# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     24531# GNU General Public License for more details.
     24532#
     24533# You should have received a copy of the GNU General Public License
     24534# along with GNU Libtool; see the file COPYING.  If not, a copy
     24535# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
     24536# obtained by writing to the Free Software Foundation, Inc.,
     24537# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
     24538
     24539
     24540# The names of the tagged configurations supported by this script.
     24541available_tags="CXX F77 "
     24542
     24543# ### BEGIN LIBTOOL CONFIG
     24544
     24545# Whether or not to build shared libraries.
     24546build_libtool_libs=$enable_shared
     24547
     24548# Which release of libtool.m4 was used?
     24549macro_version=$macro_version
     24550macro_revision=$macro_revision
     24551
     24552# Whether or not to build static libraries.
     24553build_old_libs=$enable_static
     24554
     24555# What type of objects to build.
     24556pic_mode=$pic_mode
     24557
     24558# Whether or not to optimize for fast installation.
     24559fast_install=$enable_fast_install
     24560
     24561# Shell to use when invoking shell scripts.
     24562SHELL=$lt_SHELL
     24563
     24564# An echo program that protects backslashes.
     24565ECHO=$lt_ECHO
     24566
     24567# The PATH separator for the build system.
     24568PATH_SEPARATOR=$lt_PATH_SEPARATOR
     24569
     24570# The host system.
     24571host_alias=$host_alias
     24572host=$host
     24573host_os=$host_os
     24574
     24575# The build system.
     24576build_alias=$build_alias
     24577build=$build
     24578build_os=$build_os
     24579
     24580# A sed program that does not truncate output.
     24581SED=$lt_SED
     24582
     24583# Sed that helps us avoid accidentally triggering echo(1) options like -n.
     24584Xsed="\$SED -e 1s/^X//"
     24585
     24586# A grep program that handles long lines.
     24587GREP=$lt_GREP
     24588
     24589# An ERE matcher.
     24590EGREP=$lt_EGREP
     24591
     24592# A literal string matcher.
     24593FGREP=$lt_FGREP
     24594
     24595# A BSD- or MS-compatible name lister.
     24596NM=$lt_NM
     24597
     24598# Whether we need soft or hard links.
     24599LN_S=$lt_LN_S
     24600
     24601# What is the maximum length of a command?
     24602max_cmd_len=$max_cmd_len
     24603
     24604# Object file suffix (normally "o").
     24605objext=$ac_objext
     24606
     24607# Executable file suffix (normally "").
     24608exeext=$exeext
     24609
     24610# whether the shell understands "unset".
     24611lt_unset=$lt_unset
     24612
     24613# turn spaces into newlines.
     24614SP2NL=$lt_lt_SP2NL
     24615
     24616# turn newlines into spaces.
     24617NL2SP=$lt_lt_NL2SP
     24618
     24619# convert \$build file names to \$host format.
     24620to_host_file_cmd=$lt_cv_to_host_file_cmd
     24621
     24622# convert \$build files to toolchain format.
     24623to_tool_file_cmd=$lt_cv_to_tool_file_cmd
     24624
     24625# An object symbol dumper.
     24626OBJDUMP=$lt_OBJDUMP
     24627
     24628# Method to check whether dependent libraries are shared objects.
     24629deplibs_check_method=$lt_deplibs_check_method
     24630
     24631# Command to use when deplibs_check_method = "file_magic".
     24632file_magic_cmd=$lt_file_magic_cmd
     24633
     24634# How to find potential files when deplibs_check_method = "file_magic".
     24635file_magic_glob=$lt_file_magic_glob
     24636
     24637# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
     24638want_nocaseglob=$lt_want_nocaseglob
     24639
     24640# DLL creation program.
     24641DLLTOOL=$lt_DLLTOOL
     24642
     24643# Command to associate shared and link libraries.
     24644sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
     24645
     24646# The archiver.
     24647AR=$lt_AR
     24648
     24649# Flags to create an archive.
     24650AR_FLAGS=$lt_AR_FLAGS
     24651
     24652# How to feed a file listing to the archiver.
     24653archiver_list_spec=$lt_archiver_list_spec
     24654
     24655# A symbol stripping program.
     24656STRIP=$lt_STRIP
     24657
     24658# Commands used to install an old-style archive.
     24659RANLIB=$lt_RANLIB
     24660old_postinstall_cmds=$lt_old_postinstall_cmds
     24661old_postuninstall_cmds=$lt_old_postuninstall_cmds
     24662
     24663# Whether to use a lock for old archive extraction.
     24664lock_old_archive_extraction=$lock_old_archive_extraction
     24665
     24666# A C compiler.
     24667LTCC=$lt_CC
     24668
     24669# LTCC compiler flags.
     24670LTCFLAGS=$lt_CFLAGS
     24671
     24672# Take the output of nm and produce a listing of raw symbols and C names.
     24673global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
     24674
     24675# Transform the output of nm in a proper C declaration.
     24676global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
     24677
     24678# Transform the output of nm in a C name address pair.
     24679global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
     24680
     24681# Transform the output of nm in a C name address pair when lib prefix is needed.
     24682global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
     24683
     24684# Specify filename containing input files for \$NM.
     24685nm_file_list_spec=$lt_nm_file_list_spec
     24686
     24687# The root where to search for dependent libraries,and in which our libraries should be installed.
     24688lt_sysroot=$lt_sysroot
     24689
     24690# The name of the directory that contains temporary libtool files.
     24691objdir=$objdir
     24692
     24693# Used to examine libraries when file_magic_cmd begins with "file".
     24694MAGIC_CMD=$MAGIC_CMD
     24695
     24696# Must we lock files when doing compilation?
     24697need_locks=$lt_need_locks
     24698
     24699# Manifest tool.
     24700MANIFEST_TOOL=$lt_MANIFEST_TOOL
     24701
     24702# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
     24703DSYMUTIL=$lt_DSYMUTIL
     24704
     24705# Tool to change global to local symbols on Mac OS X.
     24706NMEDIT=$lt_NMEDIT
     24707
     24708# Tool to manipulate fat objects and archives on Mac OS X.
     24709LIPO=$lt_LIPO
     24710
     24711# ldd/readelf like tool for Mach-O binaries on Mac OS X.
     24712OTOOL=$lt_OTOOL
     24713
     24714# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
     24715OTOOL64=$lt_OTOOL64
     24716
     24717# Old archive suffix (normally "a").
     24718libext=$libext
     24719
     24720# Shared library suffix (normally ".so").
     24721shrext_cmds=$lt_shrext_cmds
     24722
     24723# The commands to extract the exported symbol list from a shared archive.
     24724extract_expsyms_cmds=$lt_extract_expsyms_cmds
     24725
     24726# Variables whose values should be saved in libtool wrapper scripts and
     24727# restored at link time.
     24728variables_saved_for_relink=$lt_variables_saved_for_relink
     24729
     24730# Do we need the "lib" prefix for modules?
     24731need_lib_prefix=$need_lib_prefix
     24732
     24733# Do we need a version for libraries?
     24734need_version=$need_version
     24735
     24736# Library versioning type.
     24737version_type=$version_type
     24738
     24739# Shared library runtime path variable.
     24740runpath_var=$runpath_var
     24741
     24742# Shared library path variable.
     24743shlibpath_var=$shlibpath_var
     24744
     24745# Is shlibpath searched before the hard-coded library search path?
     24746shlibpath_overrides_runpath=$shlibpath_overrides_runpath
     24747
     24748# Format of library name prefix.
     24749libname_spec=$lt_libname_spec
     24750
     24751# List of archive names.  First name is the real one, the rest are links.
     24752# The last name is the one that the linker finds with -lNAME
     24753library_names_spec=$lt_library_names_spec
     24754
     24755# The coded name of the library, if different from the real name.
     24756soname_spec=$lt_soname_spec
     24757
     24758# Permission mode override for installation of shared libraries.
     24759install_override_mode=$lt_install_override_mode
     24760
     24761# Command to use after installation of a shared archive.
     24762postinstall_cmds=$lt_postinstall_cmds
     24763
     24764# Command to use after uninstallation of a shared archive.
     24765postuninstall_cmds=$lt_postuninstall_cmds
     24766
     24767# Commands used to finish a libtool library installation in a directory.
     24768finish_cmds=$lt_finish_cmds
     24769
     24770# As "finish_cmds", except a single script fragment to be evaled but
     24771# not shown.
     24772finish_eval=$lt_finish_eval
     24773
     24774# Whether we should hardcode library paths into libraries.
     24775hardcode_into_libs=$hardcode_into_libs
     24776
     24777# Compile-time system search path for libraries.
     24778sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
     24779
     24780# Run-time system search path for libraries.
     24781sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
     24782
     24783# Whether dlopen is supported.
     24784dlopen_support=$enable_dlopen
     24785
     24786# Whether dlopen of programs is supported.
     24787dlopen_self=$enable_dlopen_self
     24788
     24789# Whether dlopen of statically linked programs is supported.
     24790dlopen_self_static=$enable_dlopen_self_static
     24791
     24792# Commands to strip libraries.
     24793old_striplib=$lt_old_striplib
     24794striplib=$lt_striplib
     24795
     24796
     24797# The linker used to build libraries.
     24798LD=$lt_LD
     24799
     24800# How to create reloadable object files.
     24801reload_flag=$lt_reload_flag
     24802reload_cmds=$lt_reload_cmds
     24803
     24804# Commands used to build an old-style archive.
     24805old_archive_cmds=$lt_old_archive_cmds
     24806
     24807# A language specific compiler.
     24808CC=$lt_compiler
     24809
     24810# Is the compiler the GNU compiler?
     24811with_gcc=$GCC
     24812
     24813# Compiler flag to turn off builtin functions.
     24814no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
     24815
     24816# Additional compiler flags for building library objects.
     24817pic_flag=$lt_lt_prog_compiler_pic
     24818
     24819# How to pass a linker flag through the compiler.
     24820wl=$lt_lt_prog_compiler_wl
     24821
     24822# Compiler flag to prevent dynamic linking.
     24823link_static_flag=$lt_lt_prog_compiler_static
     24824
     24825# Does compiler simultaneously support -c and -o options?
     24826compiler_c_o=$lt_lt_cv_prog_compiler_c_o
     24827
     24828# Whether or not to add -lc for building shared libraries.
     24829build_libtool_need_lc=$archive_cmds_need_lc
     24830
     24831# Whether or not to disallow shared libs when runtime libs are static.
     24832allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
     24833
     24834# Compiler flag to allow reflexive dlopens.
     24835export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
     24836
     24837# Compiler flag to generate shared objects directly from archives.
     24838whole_archive_flag_spec=$lt_whole_archive_flag_spec
     24839
     24840# Whether the compiler copes with passing no objects directly.
     24841compiler_needs_object=$lt_compiler_needs_object
     24842
     24843# Create an old-style archive from a shared archive.
     24844old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
     24845
     24846# Create a temporary old-style archive to link instead of a shared archive.
     24847old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
     24848
     24849# Commands used to build a shared archive.
     24850archive_cmds=$lt_archive_cmds
     24851archive_expsym_cmds=$lt_archive_expsym_cmds
     24852
     24853# Commands used to build a loadable module if different from building
     24854# a shared archive.
     24855module_cmds=$lt_module_cmds
     24856module_expsym_cmds=$lt_module_expsym_cmds
     24857
     24858# Whether we are building with GNU ld or not.
     24859with_gnu_ld=$lt_with_gnu_ld
     24860
     24861# Flag that allows shared libraries with undefined symbols to be built.
     24862allow_undefined_flag=$lt_allow_undefined_flag
     24863
     24864# Flag that enforces no undefined symbols.
     24865no_undefined_flag=$lt_no_undefined_flag
     24866
     24867# Flag to hardcode \$libdir into a binary during linking.
     24868# This must work even if \$libdir does not exist
     24869hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
     24870
     24871# Whether we need a single "-rpath" flag with a separated argument.
     24872hardcode_libdir_separator=$lt_hardcode_libdir_separator
     24873
     24874# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
     24875# DIR into the resulting binary.
     24876hardcode_direct=$hardcode_direct
     24877
     24878# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
     24879# DIR into the resulting binary and the resulting library dependency is
     24880# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
     24881# library is relocated.
     24882hardcode_direct_absolute=$hardcode_direct_absolute
     24883
     24884# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
     24885# into the resulting binary.
     24886hardcode_minus_L=$hardcode_minus_L
     24887
     24888# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
     24889# into the resulting binary.
     24890hardcode_shlibpath_var=$hardcode_shlibpath_var
     24891
     24892# Set to "yes" if building a shared library automatically hardcodes DIR
     24893# into the library and all subsequent libraries and executables linked
     24894# against it.
     24895hardcode_automatic=$hardcode_automatic
     24896
     24897# Set to yes if linker adds runtime paths of dependent libraries
     24898# to runtime path list.
     24899inherit_rpath=$inherit_rpath
     24900
     24901# Whether libtool must link a program against all its dependency libraries.
     24902link_all_deplibs=$link_all_deplibs
     24903
     24904# Set to "yes" if exported symbols are required.
     24905always_export_symbols=$always_export_symbols
     24906
     24907# The commands to list exported symbols.
     24908export_symbols_cmds=$lt_export_symbols_cmds
     24909
     24910# Symbols that should not be listed in the preloaded symbols.
     24911exclude_expsyms=$lt_exclude_expsyms
     24912
     24913# Symbols that must always be exported.
     24914include_expsyms=$lt_include_expsyms
     24915
     24916# Commands necessary for linking programs (against libraries) with templates.
     24917prelink_cmds=$lt_prelink_cmds
     24918
     24919# Commands necessary for finishing linking programs.
     24920postlink_cmds=$lt_postlink_cmds
     24921
     24922# Specify filename containing input files.
     24923file_list_spec=$lt_file_list_spec
     24924
     24925# How to hardcode a shared library path into an executable.
     24926hardcode_action=$hardcode_action
     24927
     24928# The directories searched by this compiler when creating a shared library.
     24929compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
     24930
     24931# Dependencies to place before and after the objects being linked to
     24932# create a shared library.
     24933predep_objects=$lt_predep_objects
     24934postdep_objects=$lt_postdep_objects
     24935predeps=$lt_predeps
     24936postdeps=$lt_postdeps
     24937
     24938# The library search path used internally by the compiler when linking
     24939# a shared library.
     24940compiler_lib_search_path=$lt_compiler_lib_search_path
     24941
     24942# ### END LIBTOOL CONFIG
     24943
     24944_LT_EOF
     24945
     24946  case $host_os in
     24947  aix3*)
     24948    cat <<\_LT_EOF >> "$cfgfile"
     24949# AIX sometimes has problems with the GCC collect2 program.  For some
     24950# reason, if we set the COLLECT_NAMES environment variable, the problems
     24951# vanish in a puff of smoke.
     24952if test "X${COLLECT_NAMES+set}" != Xset; then
     24953  COLLECT_NAMES=
     24954  export COLLECT_NAMES
     24955fi
     24956_LT_EOF
     24957    ;;
     24958  esac
     24959
     24960
     24961ltmain="$ac_aux_dir/ltmain.sh"
     24962
     24963
     24964  # We use sed instead of cat because bash on DJGPP gets confused if
     24965  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
     24966  # text mode, it properly converts lines to CR/LF.  This bash problem
     24967  # is reportedly fixed, but why not run on old versions too?
     24968  sed '$q' "$ltmain" >> "$cfgfile" \
     24969     || (rm -f "$cfgfile"; exit 1)
     24970
     24971  if test x"$xsi_shell" = xyes; then
     24972  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
     24973func_dirname ()\
     24974{\
     24975\    case ${1} in\
     24976\      */*) func_dirname_result="${1%/*}${2}" ;;\
     24977\      *  ) func_dirname_result="${3}" ;;\
     24978\    esac\
     24979} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
     24980  && mv -f "$cfgfile.tmp" "$cfgfile" \
     24981    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
     24982test 0 -eq $? || _lt_function_replace_fail=:
     24983
     24984
     24985  sed -e '/^func_basename ()$/,/^} # func_basename /c\
     24986func_basename ()\
     24987{\
     24988\    func_basename_result="${1##*/}"\
     24989} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
     24990  && mv -f "$cfgfile.tmp" "$cfgfile" \
     24991    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
     24992test 0 -eq $? || _lt_function_replace_fail=:
     24993
     24994
     24995  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
     24996func_dirname_and_basename ()\
     24997{\
     24998\    case ${1} in\
     24999\      */*) func_dirname_result="${1%/*}${2}" ;;\
     25000\      *  ) func_dirname_result="${3}" ;;\
     25001\    esac\
     25002\    func_basename_result="${1##*/}"\
     25003} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
     25004  && mv -f "$cfgfile.tmp" "$cfgfile" \
     25005    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
     25006test 0 -eq $? || _lt_function_replace_fail=:
     25007
     25008
     25009  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
     25010func_stripname ()\
     25011{\
     25012\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
     25013\    # positional parameters, so assign one to ordinary parameter first.\
     25014\    func_stripname_result=${3}\
     25015\    func_stripname_result=${func_stripname_result#"${1}"}\
     25016\    func_stripname_result=${func_stripname_result%"${2}"}\
     25017} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
     25018  && mv -f "$cfgfile.tmp" "$cfgfile" \
     25019    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
     25020test 0 -eq $? || _lt_function_replace_fail=:
     25021
     25022
     25023  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
     25024func_split_long_opt ()\
     25025{\
     25026\    func_split_long_opt_name=${1%%=*}\
     25027\    func_split_long_opt_arg=${1#*=}\
     25028} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
     25029  && mv -f "$cfgfile.tmp" "$cfgfile" \
     25030    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
     25031test 0 -eq $? || _lt_function_replace_fail=:
     25032
     25033
     25034  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
     25035func_split_short_opt ()\
     25036{\
     25037\    func_split_short_opt_arg=${1#??}\
     25038\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
     25039} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
     25040  && mv -f "$cfgfile.tmp" "$cfgfile" \
     25041    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
     25042test 0 -eq $? || _lt_function_replace_fail=:
     25043
     25044
     25045  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
     25046func_lo2o ()\
     25047{\
     25048\    case ${1} in\
     25049\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
     25050\      *)    func_lo2o_result=${1} ;;\
     25051\    esac\
     25052} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
     25053  && mv -f "$cfgfile.tmp" "$cfgfile" \
     25054    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
     25055test 0 -eq $? || _lt_function_replace_fail=:
     25056
     25057
     25058  sed -e '/^func_xform ()$/,/^} # func_xform /c\
     25059func_xform ()\
     25060{\
     25061    func_xform_result=${1%.*}.lo\
     25062} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
     25063  && mv -f "$cfgfile.tmp" "$cfgfile" \
     25064    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
     25065test 0 -eq $? || _lt_function_replace_fail=:
     25066
     25067
     25068  sed -e '/^func_arith ()$/,/^} # func_arith /c\
     25069func_arith ()\
     25070{\
     25071    func_arith_result=$(( $* ))\
     25072} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
     25073  && mv -f "$cfgfile.tmp" "$cfgfile" \
     25074    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
     25075test 0 -eq $? || _lt_function_replace_fail=:
     25076
     25077
     25078  sed -e '/^func_len ()$/,/^} # func_len /c\
     25079func_len ()\
     25080{\
     25081    func_len_result=${#1}\
     25082} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
     25083  && mv -f "$cfgfile.tmp" "$cfgfile" \
     25084    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
     25085test 0 -eq $? || _lt_function_replace_fail=:
     25086
     25087fi
     25088
     25089if test x"$lt_shell_append" = xyes; then
     25090  sed -e '/^func_append ()$/,/^} # func_append /c\
     25091func_append ()\
     25092{\
     25093    eval "${1}+=\\${2}"\
     25094} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
     25095  && mv -f "$cfgfile.tmp" "$cfgfile" \
     25096    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
     25097test 0 -eq $? || _lt_function_replace_fail=:
     25098
     25099
     25100  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
     25101func_append_quoted ()\
     25102{\
     25103\    func_quote_for_eval "${2}"\
     25104\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
     25105} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
     25106  && mv -f "$cfgfile.tmp" "$cfgfile" \
     25107    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
     25108test 0 -eq $? || _lt_function_replace_fail=:
     25109
     25110
     25111  # Save a `func_append' function call where possible by direct use of '+='
     25112  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
     25113    && mv -f "$cfgfile.tmp" "$cfgfile" \
     25114      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
     25115  test 0 -eq $? || _lt_function_replace_fail=:
     25116else
     25117  # Save a `func_append' function call even when '+=' is not available
     25118  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
     25119    && mv -f "$cfgfile.tmp" "$cfgfile" \
     25120      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
     25121  test 0 -eq $? || _lt_function_replace_fail=:
     25122fi
     25123
     25124if test x"$_lt_function_replace_fail" = x":"; then
     25125  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
     25126$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
     25127fi
     25128
     25129
     25130   mv -f "$cfgfile" "$ofile" ||
     25131    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
     25132  chmod +x "$ofile"
     25133
     25134
     25135    cat <<_LT_EOF >> "$ofile"
     25136
     25137# ### BEGIN LIBTOOL TAG CONFIG: CXX
     25138
     25139# The linker used to build libraries.
     25140LD=$lt_LD_CXX
     25141
     25142# How to create reloadable object files.
     25143reload_flag=$lt_reload_flag_CXX
     25144reload_cmds=$lt_reload_cmds_CXX
     25145
     25146# Commands used to build an old-style archive.
     25147old_archive_cmds=$lt_old_archive_cmds_CXX
     25148
     25149# A language specific compiler.
     25150CC=$lt_compiler_CXX
     25151
     25152# Is the compiler the GNU compiler?
     25153with_gcc=$GCC_CXX
     25154
     25155# Compiler flag to turn off builtin functions.
     25156no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
     25157
     25158# Additional compiler flags for building library objects.
     25159pic_flag=$lt_lt_prog_compiler_pic_CXX
     25160
     25161# How to pass a linker flag through the compiler.
     25162wl=$lt_lt_prog_compiler_wl_CXX
     25163
     25164# Compiler flag to prevent dynamic linking.
     25165link_static_flag=$lt_lt_prog_compiler_static_CXX
     25166
     25167# Does compiler simultaneously support -c and -o options?
     25168compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
     25169
     25170# Whether or not to add -lc for building shared libraries.
     25171build_libtool_need_lc=$archive_cmds_need_lc_CXX
     25172
     25173# Whether or not to disallow shared libs when runtime libs are static.
     25174allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
     25175
     25176# Compiler flag to allow reflexive dlopens.
     25177export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
     25178
     25179# Compiler flag to generate shared objects directly from archives.
     25180whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
     25181
     25182# Whether the compiler copes with passing no objects directly.
     25183compiler_needs_object=$lt_compiler_needs_object_CXX
     25184
     25185# Create an old-style archive from a shared archive.
     25186old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
     25187
     25188# Create a temporary old-style archive to link instead of a shared archive.
     25189old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
     25190
     25191# Commands used to build a shared archive.
     25192archive_cmds=$lt_archive_cmds_CXX
     25193archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
     25194
     25195# Commands used to build a loadable module if different from building
     25196# a shared archive.
     25197module_cmds=$lt_module_cmds_CXX
     25198module_expsym_cmds=$lt_module_expsym_cmds_CXX
     25199
     25200# Whether we are building with GNU ld or not.
     25201with_gnu_ld=$lt_with_gnu_ld_CXX
     25202
     25203# Flag that allows shared libraries with undefined symbols to be built.
     25204allow_undefined_flag=$lt_allow_undefined_flag_CXX
     25205
     25206# Flag that enforces no undefined symbols.
     25207no_undefined_flag=$lt_no_undefined_flag_CXX
     25208
     25209# Flag to hardcode \$libdir into a binary during linking.
     25210# This must work even if \$libdir does not exist
     25211hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
     25212
     25213# Whether we need a single "-rpath" flag with a separated argument.
     25214hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
     25215
     25216# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
     25217# DIR into the resulting binary.
     25218hardcode_direct=$hardcode_direct_CXX
     25219
     25220# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
     25221# DIR into the resulting binary and the resulting library dependency is
     25222# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
     25223# library is relocated.
     25224hardcode_direct_absolute=$hardcode_direct_absolute_CXX
     25225
     25226# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
     25227# into the resulting binary.
     25228hardcode_minus_L=$hardcode_minus_L_CXX
     25229
     25230# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
     25231# into the resulting binary.
     25232hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
     25233
     25234# Set to "yes" if building a shared library automatically hardcodes DIR
     25235# into the library and all subsequent libraries and executables linked
     25236# against it.
     25237hardcode_automatic=$hardcode_automatic_CXX
     25238
     25239# Set to yes if linker adds runtime paths of dependent libraries
     25240# to runtime path list.
     25241inherit_rpath=$inherit_rpath_CXX
     25242
     25243# Whether libtool must link a program against all its dependency libraries.
     25244link_all_deplibs=$link_all_deplibs_CXX
     25245
     25246# Set to "yes" if exported symbols are required.
     25247always_export_symbols=$always_export_symbols_CXX
     25248
     25249# The commands to list exported symbols.
     25250export_symbols_cmds=$lt_export_symbols_cmds_CXX
     25251
     25252# Symbols that should not be listed in the preloaded symbols.
     25253exclude_expsyms=$lt_exclude_expsyms_CXX
     25254
     25255# Symbols that must always be exported.
     25256include_expsyms=$lt_include_expsyms_CXX
     25257
     25258# Commands necessary for linking programs (against libraries) with templates.
     25259prelink_cmds=$lt_prelink_cmds_CXX
     25260
     25261# Commands necessary for finishing linking programs.
     25262postlink_cmds=$lt_postlink_cmds_CXX
     25263
     25264# Specify filename containing input files.
     25265file_list_spec=$lt_file_list_spec_CXX
     25266
     25267# How to hardcode a shared library path into an executable.
     25268hardcode_action=$hardcode_action_CXX
     25269
     25270# The directories searched by this compiler when creating a shared library.
     25271compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
     25272
     25273# Dependencies to place before and after the objects being linked to
     25274# create a shared library.
     25275predep_objects=$lt_predep_objects_CXX
     25276postdep_objects=$lt_postdep_objects_CXX
     25277predeps=$lt_predeps_CXX
     25278postdeps=$lt_postdeps_CXX
     25279
     25280# The library search path used internally by the compiler when linking
     25281# a shared library.
     25282compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
     25283
     25284# ### END LIBTOOL TAG CONFIG: CXX
     25285_LT_EOF
     25286
     25287
     25288    cat <<_LT_EOF >> "$ofile"
     25289
     25290# ### BEGIN LIBTOOL TAG CONFIG: F77
     25291
     25292# The linker used to build libraries.
     25293LD=$lt_LD_F77
     25294
     25295# How to create reloadable object files.
     25296reload_flag=$lt_reload_flag_F77
     25297reload_cmds=$lt_reload_cmds_F77
     25298
     25299# Commands used to build an old-style archive.
     25300old_archive_cmds=$lt_old_archive_cmds_F77
     25301
     25302# A language specific compiler.
     25303CC=$lt_compiler_F77
     25304
     25305# Is the compiler the GNU compiler?
     25306with_gcc=$GCC_F77
     25307
     25308# Compiler flag to turn off builtin functions.
     25309no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
     25310
     25311# Additional compiler flags for building library objects.
     25312pic_flag=$lt_lt_prog_compiler_pic_F77
     25313
     25314# How to pass a linker flag through the compiler.
     25315wl=$lt_lt_prog_compiler_wl_F77
     25316
     25317# Compiler flag to prevent dynamic linking.
     25318link_static_flag=$lt_lt_prog_compiler_static_F77
     25319
     25320# Does compiler simultaneously support -c and -o options?
     25321compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
     25322
     25323# Whether or not to add -lc for building shared libraries.
     25324build_libtool_need_lc=$archive_cmds_need_lc_F77
     25325
     25326# Whether or not to disallow shared libs when runtime libs are static.
     25327allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
     25328
     25329# Compiler flag to allow reflexive dlopens.
     25330export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
     25331
     25332# Compiler flag to generate shared objects directly from archives.
     25333whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
     25334
     25335# Whether the compiler copes with passing no objects directly.
     25336compiler_needs_object=$lt_compiler_needs_object_F77
     25337
     25338# Create an old-style archive from a shared archive.
     25339old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
     25340
     25341# Create a temporary old-style archive to link instead of a shared archive.
     25342old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
     25343
     25344# Commands used to build a shared archive.
     25345archive_cmds=$lt_archive_cmds_F77
     25346archive_expsym_cmds=$lt_archive_expsym_cmds_F77
     25347
     25348# Commands used to build a loadable module if different from building
     25349# a shared archive.
     25350module_cmds=$lt_module_cmds_F77
     25351module_expsym_cmds=$lt_module_expsym_cmds_F77
     25352
     25353# Whether we are building with GNU ld or not.
     25354with_gnu_ld=$lt_with_gnu_ld_F77
     25355
     25356# Flag that allows shared libraries with undefined symbols to be built.
     25357allow_undefined_flag=$lt_allow_undefined_flag_F77
     25358
     25359# Flag that enforces no undefined symbols.
     25360no_undefined_flag=$lt_no_undefined_flag_F77
     25361
     25362# Flag to hardcode \$libdir into a binary during linking.
     25363# This must work even if \$libdir does not exist
     25364hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
     25365
     25366# Whether we need a single "-rpath" flag with a separated argument.
     25367hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
     25368
     25369# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
     25370# DIR into the resulting binary.
     25371hardcode_direct=$hardcode_direct_F77
     25372
     25373# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
     25374# DIR into the resulting binary and the resulting library dependency is
     25375# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
     25376# library is relocated.
     25377hardcode_direct_absolute=$hardcode_direct_absolute_F77
     25378
     25379# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
     25380# into the resulting binary.
     25381hardcode_minus_L=$hardcode_minus_L_F77
     25382
     25383# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
     25384# into the resulting binary.
     25385hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
     25386
     25387# Set to "yes" if building a shared library automatically hardcodes DIR
     25388# into the library and all subsequent libraries and executables linked
     25389# against it.
     25390hardcode_automatic=$hardcode_automatic_F77
     25391
     25392# Set to yes if linker adds runtime paths of dependent libraries
     25393# to runtime path list.
     25394inherit_rpath=$inherit_rpath_F77
     25395
     25396# Whether libtool must link a program against all its dependency libraries.
     25397link_all_deplibs=$link_all_deplibs_F77
     25398
     25399# Set to "yes" if exported symbols are required.
     25400always_export_symbols=$always_export_symbols_F77
     25401
     25402# The commands to list exported symbols.
     25403export_symbols_cmds=$lt_export_symbols_cmds_F77
     25404
     25405# Symbols that should not be listed in the preloaded symbols.
     25406exclude_expsyms=$lt_exclude_expsyms_F77
     25407
     25408# Symbols that must always be exported.
     25409include_expsyms=$lt_include_expsyms_F77
     25410
     25411# Commands necessary for linking programs (against libraries) with templates.
     25412prelink_cmds=$lt_prelink_cmds_F77
     25413
     25414# Commands necessary for finishing linking programs.
     25415postlink_cmds=$lt_postlink_cmds_F77
     25416
     25417# Specify filename containing input files.
     25418file_list_spec=$lt_file_list_spec_F77
     25419
     25420# How to hardcode a shared library path into an executable.
     25421hardcode_action=$hardcode_action_F77
     25422
     25423# The directories searched by this compiler when creating a shared library.
     25424compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
     25425
     25426# Dependencies to place before and after the objects being linked to
     25427# create a shared library.
     25428predep_objects=$lt_predep_objects_F77
     25429postdep_objects=$lt_postdep_objects_F77
     25430predeps=$lt_predeps_F77
     25431postdeps=$lt_postdeps_F77
     25432
     25433# The library search path used internally by the compiler when linking
     25434# a shared library.
     25435compiler_lib_search_path=$lt_compiler_lib_search_path_F77
     25436
     25437# ### END LIBTOOL TAG CONFIG: F77
     25438_LT_EOF
     25439
     25440 ;;
     25441
     25442  esac
     25443done # for ac_tag
     25444
     25445
     25446as_fn_exit 0
    3053325447_ACEOF
    30534 
    30535 cat >>$CONFIG_STATUS <<\_ACEOF
    30536 
    30537 { (exit 0); exit 0; }
    30538 _ACEOF
    30539 chmod +x $CONFIG_STATUS
    3054025448ac_clean_files=$ac_clean_files_save
     25449
     25450test $ac_write_fail = 0 ||
     25451  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
    3054125452
    3054225453
     
    3055925470  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
    3056025471  # would make configure fail if this is the last instruction.
    30561   $ac_cs_success || { (exit 1); exit 1; }
     25472  $ac_cs_success || as_fn_exit 1
     25473fi
     25474if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
     25475  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
     25476$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
    3056225477fi
    3056325478
Note: See TracChangeset for help on using the changeset viewer.