Changeset ffe76f8 for configure


Ignore:
Timestamp:
08/11/04 14:52:23 (17 years ago)
Author:
Daniel Lawson <dlawson@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
ac50951
Parents:
1f3696b
Message:

updated the ChangeLog, NEWS files etc, bumped version to 2.0.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r1f3696b rffe76f8  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.59 for libtrace 2.0.0.
     3# Generated by GNU Autoconf 2.53 for libtrace 2.0.1.
    44#
    55# Report bugs to <libtrace@wand.net.nz>.
    66#
    7 # Copyright (C) 2003 Free Software Foundation, Inc.
     7# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
     8# Free Software Foundation, Inc.
    89# This configure script is free software; the Free Software Foundation
    910# gives unlimited permission to copy, distribute and modify it.
    10 ## --------------------- ##
    11 ## M4sh Initialization.  ##
    12 ## --------------------- ##
    13 
    14 # Be Bourne compatible
    15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    16   emulate sh
    17   NULLCMD=:
    18   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    19   # is contrary to our usage.  Disable this feature.
    20   alias -g '${1+"$@"}'='"$@"'
    21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    22   set -o posix
    23 fi
    24 DUALCASE=1; export DUALCASE # for MKS sh
    25 
    26 # Support unset when possible.
    27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    28   as_unset=unset
    29 else
    30   as_unset=false
    31 fi
    32 
    33 
    34 # Work around bugs in pre-3.0 UWIN ksh.
    35 $as_unset ENV MAIL MAILPATH
    36 PS1='$ '
    37 PS2='> '
    38 PS4='+ '
    39 
    40 # NLS nuisances.
    41 for as_var in \
    42   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    43   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    44   LC_TELEPHONE LC_TIME
    45 do
    46   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    47     eval $as_var=C; export $as_var
    48   else
    49     $as_unset $as_var
    50   fi
    51 done
    52 
    53 # Required to use basename.
    54 if expr a : '\(a\)' >/dev/null 2>&1; then
    55   as_expr=expr
    56 else
    57   as_expr=false
    58 fi
    59 
    60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
    61   as_basename=basename
    62 else
    63   as_basename=false
    64 fi
    65 
    66 
    67 # Name of the executable.
    68 as_me=`$as_basename "$0" ||
    69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    70          X"$0" : 'X\(//\)$' \| \
    71          X"$0" : 'X\(/\)$' \| \
    72          .     : '\(.\)' 2>/dev/null ||
    73 echo X/"$0" |
    74     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    75           /^X\/\(\/\/\)$/{ s//\1/; q; }
    76           /^X\/\(\/\).*/{ s//\1/; q; }
    77           s/.*/./; q'`
    78 
    79 
    80 # PATH needs CR, and LINENO needs CR and PATH.
    81 # Avoid depending upon Character Ranges.
    82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    85 as_cr_digits='0123456789'
    86 as_cr_alnum=$as_cr_Letters$as_cr_digits
    87 
    88 # The user is always right.
    89 if test "${PATH_SEPARATOR+set}" != set; then
    90   echo "#! /bin/sh" >conf$$.sh
    91   echo  "exit 0"   >>conf$$.sh
    92   chmod +x conf$$.sh
    93   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    94     PATH_SEPARATOR=';'
    95   else
    96     PATH_SEPARATOR=:
    97   fi
    98   rm -f conf$$.sh
    99 fi
    100 
    101 
    102   as_lineno_1=$LINENO
    103   as_lineno_2=$LINENO
    104   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    105   test "x$as_lineno_1" != "x$as_lineno_2" &&
    106   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    107   # Find who we are.  Look in the path if we contain no path at all
    108   # relative or not.
    109   case $0 in
    110     *[\\/]* ) as_myself=$0 ;;
    111     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    112 for as_dir in $PATH
    113 do
    114   IFS=$as_save_IFS
    115   test -z "$as_dir" && as_dir=.
    116   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    117 done
    118 
    119        ;;
     11
     12# Find the correct PATH separator.  Usually this is `:', but
     13# DJGPP uses `;' like DOS.
     14if test "X${PATH_SEPARATOR+set}" != Xset; then
     15  UNAME=${UNAME-`uname 2>/dev/null`}
     16  case X$UNAME in
     17    *-DOS) lt_cv_sys_path_separator=';' ;;
     18    *)     lt_cv_sys_path_separator=':' ;;
    12019  esac
    121   # We did not find ourselves, most probably we were run as `sh COMMAND'
    122   # in which case we are not to be found in the path.
    123   if test "x$as_myself" = x; then
    124     as_myself=$0
    125   fi
    126   if test ! -f "$as_myself"; then
    127     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
    128    { (exit 1); exit 1; }; }
    129   fi
    130   case $CONFIG_SHELL in
    131   '')
    132     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    134 do
    135   IFS=$as_save_IFS
    136   test -z "$as_dir" && as_dir=.
    137   for as_base in sh bash ksh sh5; do
    138          case $as_dir in
    139          /*)
    140            if ("$as_dir/$as_base" -c '
    141   as_lineno_1=$LINENO
    142   as_lineno_2=$LINENO
    143   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    144   test "x$as_lineno_1" != "x$as_lineno_2" &&
    145   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    146              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    147              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    148              CONFIG_SHELL=$as_dir/$as_base
    149              export CONFIG_SHELL
    150              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    151            fi;;
    152          esac
    153        done
    154 done
    155 ;;
    156   esac
    157 
    158   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    159   # uniformly replaced by the line number.  The first 'sed' inserts a
    160   # line-number line before each line; the second 'sed' does the real
    161   # work.  The second script uses 'N' to pair each line-number line
    162   # with the numbered line, and appends trailing '-' during
    163   # substitution so that $LINENO is not a special case at line end.
    164   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    165   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    166   sed '=' <$as_myself |
    167     sed '
    168       N
    169       s,$,-,
    170       : loop
    171       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
    172       t loop
    173       s,-$,,
    174       s,^['$as_cr_digits']*\n,,
    175     ' >$as_me.lineno &&
    176   chmod +x $as_me.lineno ||
    177     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    178    { (exit 1); exit 1; }; }
    179 
    180   # Don't try to exec as it changes $[0], causing all sort of problems
    181   # (the dirname of $[0] is not the place where we might find the
    182   # original and so on.  Autoconf is especially sensible to this).
    183   . ./$as_me.lineno
    184   # Exit status is that of the last command.
    185   exit
    186 }
    187 
    188 
    189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    190   *c*,-n*) ECHO_N= ECHO_C='
    191 ' ECHO_T='      ' ;;
    192   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    193   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    194 esac
    195 
    196 if expr a : '\(a\)' >/dev/null 2>&1; then
    197   as_expr=expr
    198 else
    199   as_expr=false
    200 fi
    201 
    202 rm -f conf$$ conf$$.exe conf$$.file
    203 echo >conf$$.file
    204 if ln -s conf$$.file conf$$ 2>/dev/null; then
    205   # We could just check for DJGPP; but this test a) works b) is more generic
    206   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    207   if test -f conf$$.exe; then
    208     # Don't use ln at all; we don't have any links
    209     as_ln_s='cp -p'
    210   else
    211     as_ln_s='ln -s'
    212   fi
    213 elif ln conf$$.file conf$$ 2>/dev/null; then
    214   as_ln_s=ln
    215 else
    216   as_ln_s='cp -p'
    217 fi
    218 rm -f conf$$ conf$$.exe conf$$.file
    219 
    220 if mkdir -p . 2>/dev/null; then
    221   as_mkdir_p=:
    222 else
    223   test -d ./-p && rmdir ./-p
    224   as_mkdir_p=false
    225 fi
    226 
    227 as_executable_p="test -f"
    228 
    229 # Sed expression to map a string onto a valid CPP name.
    230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    231 
    232 # Sed expression to map a string onto a valid variable name.
    233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    234 
    235 
    236 # IFS
    237 # We need space, tab and new line, in precisely that order.
    238 as_nl='
    239 '
    240 IFS="   $as_nl"
    241 
    242 # CDPATH.
    243 $as_unset CDPATH
    244 
     20  PATH_SEPARATOR=$lt_cv_sys_path_separator
     21fi
    24522
    24623
     
    26239  # Avoid inline document here, it may be left over
    26340  :
    264 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
     41elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
    26542  # Yippee, $echo works!
    26643  :
     
    27451  shift
    27552  cat <<EOF
    276 $*
     53
    27754EOF
    27855  exit 0
     
    30885  # So, first we look for a working echo in the user's PATH.
    30986
    310   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     87  IFS="${IFS=   }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    31188  for dir in $PATH /usr/ucb; do
    312     IFS="$lt_save_ifs"
    31389    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    31490       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
     
    31995    fi
    32096  done
    321   IFS="$lt_save_ifs"
     97  IFS="$save_ifs"
    32298
    32399  if test "X$echo" = Xecho; then
     
    393169
    394170
    395 
    396 tagnames=${tagnames+${tagnames},}CXX
    397 
    398 tagnames=${tagnames+${tagnames},}F77
     171if expr a : '\(a\)' >/dev/null 2>&1; then
     172  as_expr=expr
     173else
     174  as_expr=false
     175fi
     176
     177
     178## --------------------- ##
     179## M4sh Initialization.  ##
     180## --------------------- ##
     181
     182# Be Bourne compatible
     183if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     184  emulate sh
     185  NULLCMD=:
     186elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     187  set -o posix
     188fi
     189
     190# NLS nuisances.
     191# Support unset when possible.
     192if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
     193  as_unset=unset
     194else
     195  as_unset=false
     196fi
     197
     198(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
     199    { $as_unset LANG || test "${LANG+set}" != set; } ||
     200      { LANG=C; export LANG; }
     201(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
     202    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
     203      { LC_ALL=C; export LC_ALL; }
     204(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
     205    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
     206      { LC_TIME=C; export LC_TIME; }
     207(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
     208    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
     209      { LC_CTYPE=C; export LC_CTYPE; }
     210(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
     211    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
     212      { LANGUAGE=C; export LANGUAGE; }
     213(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
     214    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
     215      { LC_COLLATE=C; export LC_COLLATE; }
     216(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
     217    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
     218      { LC_NUMERIC=C; export LC_NUMERIC; }
     219(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
     220    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
     221      { LC_MESSAGES=C; export LC_MESSAGES; }
     222
     223
     224# Name of the executable.
     225as_me=`(basename "$0") 2>/dev/null ||
     226$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     227         X"$0" : 'X\(//\)$' \| \
     228         X"$0" : 'X\(/\)$' \| \
     229         .     : '\(.\)' 2>/dev/null ||
     230echo X/"$0" |
     231    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     232          /^X\/\(\/\/\)$/{ s//\1/; q; }
     233          /^X\/\(\/\).*/{ s//\1/; q; }
     234          s/.*/./; q'`
     235
     236# PATH needs CR, and LINENO needs CR and PATH.
     237# Avoid depending upon Character Ranges.
     238as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     239as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     240as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     241as_cr_digits='0123456789'
     242as_cr_alnum=$as_cr_Letters$as_cr_digits
     243
     244# The user is always right.
     245if test "${PATH_SEPARATOR+set}" != set; then
     246  echo "#! /bin/sh" >conftest.sh
     247  echo  "exit 0"   >>conftest.sh
     248  chmod +x conftest.sh
     249  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
     250    PATH_SEPARATOR=';'
     251  else
     252    PATH_SEPARATOR=:
     253  fi
     254  rm -f conftest.sh
     255fi
     256
     257
     258  as_lineno_1=$LINENO
     259  as_lineno_2=$LINENO
     260  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     261  test "x$as_lineno_1" != "x$as_lineno_2" &&
     262  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
     263  # Find who we are.  Look in the path if we contain no path at all
     264  # relative or not.
     265  case $0 in
     266    *[\\/]* ) as_myself=$0 ;;
     267    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     268for as_dir in $PATH
     269do
     270  IFS=$as_save_IFS
     271  test -z "$as_dir" && as_dir=.
     272  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     273done
     274
     275       ;;
     276  esac
     277  # We did not find ourselves, most probably we were run as `sh COMMAND'
     278  # in which case we are not to be found in the path.
     279  if test "x$as_myself" = x; then
     280    as_myself=$0
     281  fi
     282  if test ! -f "$as_myself"; then
     283    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
     284   { (exit 1); exit 1; }; }
     285  fi
     286  case $CONFIG_SHELL in
     287  '')
     288    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     289for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     290do
     291  IFS=$as_save_IFS
     292  test -z "$as_dir" && as_dir=.
     293  for as_base in sh bash ksh sh5; do
     294         case $as_dir in
     295         /*)
     296           if ("$as_dir/$as_base" -c '
     297  as_lineno_1=$LINENO
     298  as_lineno_2=$LINENO
     299  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     300  test "x$as_lineno_1" != "x$as_lineno_2" &&
     301  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
     302             CONFIG_SHELL=$as_dir/$as_base
     303             export CONFIG_SHELL
     304             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
     305           fi;;
     306         esac
     307       done
     308done
     309;;
     310  esac
     311
     312  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
     313  # uniformly replaced by the line number.  The first 'sed' inserts a
     314  # line-number line before each line; the second 'sed' does the real
     315  # work.  The second script uses 'N' to pair each line-number line
     316  # with the numbered line, and appends trailing '-' during
     317  # substitution so that $LINENO is not a special case at line end.
     318  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
     319  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
     320  sed '=' <$as_myself |
     321    sed '
     322      N
     323      s,$,-,
     324      : loop
     325      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     326      t loop
     327      s,-$,,
     328      s,^['$as_cr_digits']*\n,,
     329    ' >$as_me.lineno &&
     330  chmod +x $as_me.lineno ||
     331    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
     332   { (exit 1); exit 1; }; }
     333
     334  # Don't try to exec as it changes $[0], causing all sort of problems
     335  # (the dirname of $[0] is not the place where we might find the
     336  # original and so on.  Autoconf is especially sensible to this).
     337  . ./$as_me.lineno
     338  # Exit status is that of the last command.
     339  exit
     340}
     341
     342
     343case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
     344  *c*,-n*) ECHO_N= ECHO_C='
     345' ECHO_T='      ' ;;
     346  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
     347  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
     348esac
     349
     350if expr a : '\(a\)' >/dev/null 2>&1; then
     351  as_expr=expr
     352else
     353  as_expr=false
     354fi
     355
     356rm -f conf$$ conf$$.exe conf$$.file
     357echo >conf$$.file
     358if ln -s conf$$.file conf$$ 2>/dev/null; then
     359  # We could just check for DJGPP; but this test a) works b) is more generic
     360  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
     361  if test -f conf$$.exe; then
     362    # Don't use ln at all; we don't have any links
     363    as_ln_s='cp -p'
     364  else
     365    as_ln_s='ln -s'
     366  fi
     367elif ln conf$$.file conf$$ 2>/dev/null; then
     368  as_ln_s=ln
     369else
     370  as_ln_s='cp -p'
     371fi
     372rm -f conf$$ conf$$.exe conf$$.file
     373
     374as_executable_p="test -f"
     375
     376# Sed expression to map a string onto a valid CPP name.
     377as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
     378
     379# Sed expression to map a string onto a valid variable name.
     380as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
     381
     382
     383# IFS
     384# We need space, tab and new line, in precisely that order.
     385as_nl='
     386'
     387IFS="   $as_nl"
     388
     389# CDPATH.
     390$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
     391
    399392
    400393# Name of the host.
     
    409402#
    410403ac_default_prefix=/usr/local
    411 ac_config_libobj_dir=.
    412404cross_compiling=no
    413405subdirs=
     
    424416PACKAGE_NAME='libtrace'
    425417PACKAGE_TARNAME='libtrace'
    426 PACKAGE_VERSION='2.0.0'
    427 PACKAGE_STRING='libtrace 2.0.0'
     418PACKAGE_VERSION='2.0.1'
     419PACKAGE_STRING='libtrace 2.0.1'
    428420PACKAGE_BUGREPORT='libtrace@wand.net.nz'
    429421
     
    466458#endif"
    467459
    468 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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION EXEEXT OBJEXT ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh INSTALL_STRIP_PROGRAM AWK SET_MAKE AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH DEPDIR CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC am__include am__quote CCDEPMODE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBPCAP LIBPCAP_PATH LIBZ LIBZ_PATH LIBOBJS LTLIBOBJS'
    469 ac_subst_files=''
    470460
    471461# Initialize some variables set by options.
     
    825815# Be sure to have absolute paths.
    826816for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    827               localstatedir libdir includedir oldincludedir infodir mandir
     817              localstatedir libdir includedir oldincludedir infodir mandir
    828818do
    829819  eval ac_val=$`echo $ac_var`
     
    865855  ac_confdir=`(dirname "$0") 2>/dev/null ||
    866856$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    867         X"$0" : 'X\(//\)[^/]' \| \
    868         X"$0" : 'X\(//\)$' \| \
    869         X"$0" : 'X\(/\)' \| \
    870         .     : '\(.\)' 2>/dev/null ||
     857        X"$0" : 'X\(//\)[^/]' \| \
     858        X"$0" : 'X\(//\)$' \| \
     859        X"$0" : 'X\(/\)' \| \
     860        .     : '\(.\)' 2>/dev/null ||
    871861echo X"$0" |
    872862    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    891881  fi
    892882fi
    893 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
    894   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
    895    { (exit 1); exit 1; }; }
    896883srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    897884ac_env_build_alias_set=${build_alias+set}
     
    927914ac_cv_env_CPP_set=${CPP+set}
    928915ac_cv_env_CPP_value=$CPP
    929 ac_env_CXX_set=${CXX+set}
    930 ac_env_CXX_value=$CXX
    931 ac_cv_env_CXX_set=${CXX+set}
    932 ac_cv_env_CXX_value=$CXX
    933 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
    934 ac_env_CXXFLAGS_value=$CXXFLAGS
    935 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
    936 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
    937 ac_env_CXXCPP_set=${CXXCPP+set}
    938 ac_env_CXXCPP_value=$CXXCPP
    939 ac_cv_env_CXXCPP_set=${CXXCPP+set}
    940 ac_cv_env_CXXCPP_value=$CXXCPP
    941 ac_env_F77_set=${F77+set}
    942 ac_env_F77_value=$F77
    943 ac_cv_env_F77_set=${F77+set}
    944 ac_cv_env_F77_value=$F77
    945 ac_env_FFLAGS_set=${FFLAGS+set}
    946 ac_env_FFLAGS_value=$FFLAGS
    947 ac_cv_env_FFLAGS_set=${FFLAGS+set}
    948 ac_cv_env_FFLAGS_value=$FFLAGS
    949916
    950917#
     
    955922  # This message is too long to be a string in the A/UX 3.1 sh.
    956923  cat <<_ACEOF
    957 \`configure' configures libtrace 2.0.0 to adapt to many kinds of systems.
     924\`configure' configures libtrace 2.0.1 to adapt to many kinds of systems.
    958925
    959926Usage: $0 [OPTION]... [VAR=VALUE]...
     
    980947Installation directories:
    981948  --prefix=PREFIX         install architecture-independent files in PREFIX
    982                           [$ac_default_prefix]
     949                          [$ac_default_prefix]
    983950  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    984                           [PREFIX]
     951                          [PREFIX]
    985952
    986953By default, \`make install' will install all the files in
     
    1021988if test -n "$ac_init_help"; then
    1022989  case $ac_init_help in
    1023      short | recursive ) echo "Configuration of libtrace 2.0.0:";;
     990     short | recursive ) echo "Configuration of libtrace 2.0.1:";;
    1024991   esac
    1025992  cat <<\_ACEOF
     
    1030997  --disable-dependency-tracking Speeds up one-time builds
    1031998  --enable-dependency-tracking  Do not reject slow dependency extractors
    1032   --enable-shared[=PKGS]
    1033                           build shared libraries [default=yes]
    1034   --enable-static[=PKGS]
    1035                           build static libraries [default=yes]
    1036   --enable-fast-install[=PKGS]
    1037                           optimize for fast installation [default=yes]
     999  --enable-shared=PKGS  build shared libraries default=yes
     1000  --enable-static=PKGS  build static libraries default=yes
     1001  --enable-fast-install=PKGS  optimize for fast installation default=yes
    10381002  --disable-libtool-lock  avoid locking (might break parallel builds)
    10391003  --disable-largefile     omit support for large files
     
    10421006  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
    10431007  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    1044   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
    1045   --with-pic              try to use only PIC/non-PIC objects [default=use
    1046                           both]
    1047   --with-tags[=TAGS]
    1048                           include additional configurations [automatic]
     1008  --with-gnu-ld           assume the C compiler uses GNU ld default=no
     1009  --with-pic              try to use only PIC/non-PIC objects default=use both
    10491010  --with-pcap             name of pcap library (default is pcap)
    10501011  --with-pcap-path        location of pcap library (default is /usr/lib)
     
    10601021              headers in a nonstandard directory <include dir>
    10611022  CPP         C preprocessor
    1062   CXX         C++ compiler command
    1063   CXXFLAGS    C++ compiler flags
    1064   CXXCPP      C++ preprocessor
    1065   F77         Fortran 77 compiler command
    1066   FFLAGS      Fortran 77 compiler flags
    10671023
    10681024Use these variables to override the choices made by `configure' or to help
     
    11031059    ac_top_srcdir=$ac_top_builddir$srcdir ;;
    11041060esac
    1105 
    1106 # Do not use `cd foo && pwd` to compute absolute paths, because
    1107 # the directories may not exist.
    1108 case `pwd` in
    1109 .) ac_abs_builddir="$ac_dir";;
    1110 *)
    1111   case "$ac_dir" in
    1112   .) ac_abs_builddir=`pwd`;;
    1113   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    1114   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    1115   esac;;
    1116 esac
    1117 case $ac_abs_builddir in
    1118 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    1119 *)
    1120   case ${ac_top_builddir}. in
    1121   .) ac_abs_top_builddir=$ac_abs_builddir;;
    1122   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    1123   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    1124   esac;;
    1125 esac
    1126 case $ac_abs_builddir in
    1127 .) ac_abs_srcdir=$ac_srcdir;;
    1128 *)
    1129   case $ac_srcdir in
    1130   .) ac_abs_srcdir=$ac_abs_builddir;;
    1131   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    1132   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    1133   esac;;
    1134 esac
    1135 case $ac_abs_builddir in
    1136 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    1137 *)
    1138   case $ac_top_srcdir in
    1139   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    1140   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    1141   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    1142   esac;;
    1143 esac
     1061# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
     1062# absolute.
     1063ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
     1064ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
     1065ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
     1066ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
    11441067
    11451068    cd $ac_dir
     
    11521075      $SHELL $ac_srcdir/configure  --help=recursive
    11531076    elif test -f $ac_srcdir/configure.ac ||
    1154            test -f $ac_srcdir/configure.in; then
     1077           test -f $ac_srcdir/configure.in; then
    11551078      echo
    11561079      $ac_configure --help
     
    11651088if $ac_init_version; then
    11661089  cat <<\_ACEOF
    1167 libtrace configure 2.0.0
    1168 generated by GNU Autoconf 2.59
    1169 
    1170 Copyright (C) 2003 Free Software Foundation, Inc.
     1090libtrace configure 2.0.1
     1091generated by GNU Autoconf 2.53
     1092
     1093Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
     1094Free Software Foundation, Inc.
    11711095This configure script is free software; the Free Software Foundation
    11721096gives unlimited permission to copy, distribute and modify it.
     
    11791103running configure, to aid debugging if configure makes a mistake.
    11801104
    1181 It was created by libtrace $as_me 2.0.0, which was
    1182 generated by GNU Autoconf 2.59.  Invocation command line was
     1105It was created by libtrace $as_me 2.0.1, which was
     1106generated by GNU Autoconf 2.53.  Invocation command line was
    11831107
    11841108  $ $0 $@
     
    12321156# Keep a trace of the command line.
    12331157# Strip out --no-create and --no-recursion so they do not pile up.
    1234 # Strip out --silent because we don't want to record it for future runs.
    12351158# Also quote any args containing shell meta-characters.
    1236 # Make two passes to allow for proper duplicate-argument suppression.
    12371159ac_configure_args=
    1238 ac_configure_args0=
    1239 ac_configure_args1=
    12401160ac_sep=
    1241 ac_must_keep_next=false
    1242 for ac_pass in 1 2
     1161for ac_arg
    12431162do
    1244   for ac_arg
    1245   do
    1246     case $ac_arg in
    1247     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
    1248     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    1249     | -silent | --silent | --silen | --sile | --sil)
    1250       continue ;;
    1251     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1252       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    1253     esac
    1254     case $ac_pass in
    1255     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
    1256     2)
    1257       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
    1258       if test $ac_must_keep_next = true; then
    1259         ac_must_keep_next=false # Got value, back to normal.
    1260       else
    1261         case $ac_arg in
    1262           *=* | --config-cache | -C | -disable-* | --disable-* \
    1263           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
    1264           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
    1265           | -with-* | --with-* | -without-* | --without-* | --x)
    1266             case "$ac_configure_args0 " in
    1267               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
    1268             esac
    1269             ;;
    1270           -* ) ac_must_keep_next=true ;;
    1271         esac
    1272       fi
    1273       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
    1274       # Get rid of the leading space.
    1275       ac_sep=" "
    1276       ;;
    1277     esac
    1278   done
     1163  case $ac_arg in
     1164  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
     1165  | --no-cr | --no-c | -n ) continue ;;
     1166  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
     1167  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
     1168    continue ;;
     1169  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1170    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     1171  esac
     1172  case " $ac_configure_args " in
     1173    *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
     1174    *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
     1175       ac_sep=" " ;;
     1176  esac
     1177  # Get rid of the leading space.
    12791178done
    1280 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    1281 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
    12821179
    12831180# When interrupted or exit'd, cleanup temporary files, and complete
     
    12901187  {
    12911188    echo
    1292 
    12931189    cat <<\_ASBOX
    12941190## ---------------- ##
     
    13031199    *ac_space=\ *)
    13041200      sed -n \
    1305         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    1306           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1201        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
     1202          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
    13071203      ;;
    13081204    *)
    13091205      sed -n \
    1310         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     1206        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    13111207      ;;
    13121208    esac;
    13131209}
    13141210    echo
    1315 
    1316     cat <<\_ASBOX
    1317 ## ----------------- ##
    1318 ## Output variables. ##
    1319 ## ----------------- ##
    1320 _ASBOX
    1321     echo
    1322     for ac_var in $ac_subst_vars
    1323     do
    1324       eval ac_val=$`echo $ac_var`
    1325       echo "$ac_var='"'"'$ac_val'"'"'"
    1326     done | sort
    1327     echo
    1328 
    1329     if test -n "$ac_subst_files"; then
    1330       cat <<\_ASBOX
    1331 ## ------------- ##
    1332 ## Output files. ##
    1333 ## ------------- ##
    1334 _ASBOX
    1335       echo
    1336       for ac_var in $ac_subst_files
    1337       do
    1338         eval ac_val=$`echo $ac_var`
    1339         echo "$ac_var='"'"'$ac_val'"'"'"
    1340       done | sort
    1341       echo
    1342     fi
    1343 
    13441211    if test -s confdefs.h; then
    13451212      cat <<\_ASBOX
     
    13491216_ASBOX
    13501217      echo
    1351       sed "/^$/d" confdefs.h | sort
     1218      sed "/^$/d" confdefs.h
    13521219      echo
    13531220    fi
     
    13561223    echo "$as_me: exit $exit_status"
    13571224  } >&5
    1358   rm -f core *.core &&
     1225  rm -f core core.* *.core &&
    13591226  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
    13601227    exit $exit_status
     
    14361303ac_cache_corrupted=false
    14371304for ac_var in `(set) 2>&1 |
    1438                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     1305               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
    14391306  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    14401307  eval ac_new_set=\$ac_env_${ac_var}_set
     
    14531320    *)
    14541321      if test "x$ac_old_val" != "x$ac_new_val"; then
    1455         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     1322        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    14561323echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    1457         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
     1324        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
    14581325echo "$as_me:   former value:  $ac_old_val" >&2;}
    1459         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
     1326        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
    14601327echo "$as_me:   current value: $ac_new_val" >&2;}
    1461         ac_cache_corrupted=:
     1328        ac_cache_corrupted=:
    14621329      fi;;
    14631330  esac
     
    15151382
    15161383
    1517 
    15181384ac_aux_dir=
    15191385for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
     
    15521418# AFS /usr/afsws/bin/install, which mishandles nonexistent args
    15531419# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    1554 # OS/2's system install, which has a completely different semantic
    15551420# ./install, which can be erroneously created by make from ./install.sh.
    15561421echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     
    15691434  ./ | .// | /cC/* | \
    15701435  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    1571   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    15721436  /usr/ucb/* ) ;;
    15731437  *)
     
    15771441    for ac_prog in ginstall scoinst install; do
    15781442      for ac_exec_ext in '' $ac_executable_extensions; do
    1579         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    1580           if test $ac_prog = install &&
    1581             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    1582             # AIX install.  It has an incompatible calling convention.
    1583             :
    1584           elif test $ac_prog = install &&
    1585             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    1586             # program-specific install script used by HP pwplus--don't use.
    1587             :
    1588           else
    1589             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    1590             break 3
    1591           fi
    1592         fi
     1443        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     1444          if test $ac_prog = install &&
     1445            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     1446            # AIX install.  It has an incompatible calling convention.
     1447            :
     1448          elif test $ac_prog = install &&
     1449            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     1450            # program-specific install script used by HP pwplus--don't use.
     1451            :
     1452          else
     1453            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     1454            break 3
     1455          fi
     1456        fi
    15931457      done
    15941458    done
     
    17331597done
    17341598
    1735 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    1736 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
    1737 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
     1599echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
     1600echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
     1601set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
    17381602if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
    17391603  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    17411605  cat >conftest.make <<\_ACEOF
    17421606all:
    1743         @echo 'ac_maketemp="$(MAKE)"'
     1607        @echo 'ac_maketemp="${MAKE}"'
    17441608_ACEOF
    17451609# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
     
    18051669# Define the identity of the package.
    18061670PACKAGE=libtrace
    1807 VERSION=2.0.0
     1671VERSION=2.0.1
    18081672
    18091673cat >>confdefs.h <<_ACEOF
     
    18581722
    18591723
    1860 
    1861 cat >>confdefs.h <<\_ACEOF
    1862 #define _GNU_SOURCE 1
    1863 _ACEOF
    1864 
    1865 
    1866 
    1867 
    1868 
    1869 
    1870                                                               ac_config_headers="$ac_config_headers config.h"
     1724AC_GNU_SOURCE
     1725
     1726
     1727
     1728
     1729                                                    ac_config_headers="$ac_config_headers config.h"
    18711730
    18721731ac_ext=c
     
    20741933    # first if we set CC to just the basename; use the full file name.
    20751934    shift
    2076     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
     1935    set dummy "$as_dir/$ac_word" ${1+"$@"}
     1936    shift
     1937    ac_cv_prog_CC="$@"
    20771938  fi
    20781939fi
     
    21792040
    21802041
    2181 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    2182 See \`config.log' for more details." >&5
    2183 echo "$as_me: error: no acceptable C compiler found in \$PATH
    2184 See \`config.log' for more details." >&2;}
     2042test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
     2043echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
    21852044   { (exit 1); exit 1; }; }
    21862045
     
    22062065
    22072066cat >conftest.$ac_ext <<_ACEOF
    2208 /* confdefs.h.  */
    2209 _ACEOF
    2210 cat confdefs.h >>conftest.$ac_ext
    2211 cat >>conftest.$ac_ext <<_ACEOF
    2212 /* end confdefs.h.  */
    2213 
     2067#line $LINENO "configure"
     2068#include "confdefs.h"
     2069
     2070#ifdef F77_DUMMY_MAIN
     2071#  ifdef __cplusplus
     2072     extern "C"
     2073#  endif
     2074   int F77_DUMMY_MAIN() { return 1; }
     2075#endif
    22142076int
    22152077main ()
     
    22212083_ACEOF
    22222084ac_clean_files_save=$ac_clean_files
    2223 ac_clean_files="$ac_clean_files a.out a.exe b.out"
     2085ac_clean_files="$ac_clean_files a.out a.exe"
    22242086# Try to create an executable without -o first, disregard a.out.
    22252087# It will help us diagnose broken compilers, and finding out an intuition
    22262088# of exeext.
    2227 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2228 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
     2089echo "$as_me:$LINENO: checking for C compiler default output" >&5
     2090echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
    22292091ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    22302092if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
     
    22402102# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
    22412103ac_cv_exeext=
    2242 # b.out is created by i960 compilers.
    2243 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
    2244 do
    2245   test -f "$ac_file" || continue
     2104for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
     2105                ls a.out conftest 2>/dev/null;
     2106                ls a.* conftest.* 2>/dev/null`; do
    22462107  case $ac_file in
    2247     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
    2248         ;;
    2249     conftest.$ac_ext )
    2250         # This is the source file.
    2251         ;;
    2252     [ab].out )
    2253         # We found the default executable, but exeext='' is most
    2254         # certainly right.
    2255         break;;
    2256     *.* )
    2257         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2258         # FIXME: I believe we export ac_cv_exeext for Libtool,
    2259         # but it would be cool to find out if it's true.  Does anybody
    2260         # maintain Libtool? --akim.
    2261         export ac_cv_exeext
    2262         break;;
    2263     * )
    2264         break;;
     2108    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
     2109    a.out ) # We found the default executable, but exeext='' is most
     2110            # certainly right.
     2111            break;;
     2112    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     2113          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
     2114          export ac_cv_exeext
     2115          break;;
     2116    * ) break;;
    22652117  esac
    22662118done
    22672119else
    22682120  echo "$as_me: failed program was:" >&5
    2269 sed 's/^/| /' conftest.$ac_ext >&5
    2270 
    2271 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
    2272 See \`config.log' for more details." >&5
    2273 echo "$as_me: error: C compiler cannot create executables
    2274 See \`config.log' for more details." >&2;}
     2121cat conftest.$ac_ext >&5
     2122{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
     2123echo "$as_me: error: C compiler cannot create executables" >&2;}
    22752124   { (exit 77); exit 77; }; }
    22762125fi
     
    22992148    else
    23002149        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
    2301 If you meant to cross compile, use \`--host'.
    2302 See \`config.log' for more details." >&5
     2150If you meant to cross compile, use \`--host'." >&5
    23032151echo "$as_me: error: cannot run C compiled programs.
    2304 If you meant to cross compile, use \`--host'.
    2305 See \`config.log' for more details." >&2;}
     2152If you meant to cross compile, use \`--host'." >&2;}
    23062153   { (exit 1); exit 1; }; }
    23072154    fi
     
    23112158echo "${ECHO_T}yes" >&6
    23122159
    2313 rm -f a.out a.exe conftest$ac_cv_exeext b.out
     2160rm -f a.out a.exe conftest$ac_cv_exeext
    23142161ac_clean_files=$ac_clean_files_save
    23152162# Check the compiler produces executables we can run.  If not, either
     
    23312178# work properly (i.e., refer to `conftest.exe'), while it won't with
    23322179# `rm'.
    2333 for ac_file in conftest.exe conftest conftest.*; do
    2334   test -f "$ac_file" || continue
     2180for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
    23352181  case $ac_file in
    2336     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
     2182    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
    23372183    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2338           export ac_cv_exeext
    2339           break;;
     2184          export ac_cv_exeext
     2185          break;;
    23402186    * ) break;;
    23412187  esac
    23422188done
    23432189else
    2344   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    2345 See \`config.log' for more details." >&5
    2346 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    2347 See \`config.log' for more details." >&2;}
     2190  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
     2191echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
    23482192   { (exit 1); exit 1; }; }
    23492193fi
     
    23622206else
    23632207  cat >conftest.$ac_ext <<_ACEOF
    2364 /* confdefs.h.  */
    2365 _ACEOF
    2366 cat confdefs.h >>conftest.$ac_ext
    2367 cat >>conftest.$ac_ext <<_ACEOF
    2368 /* end confdefs.h.  */
    2369 
     2208#line $LINENO "configure"
     2209#include "confdefs.h"
     2210
     2211#ifdef F77_DUMMY_MAIN
     2212#  ifdef __cplusplus
     2213     extern "C"
     2214#  endif
     2215   int F77_DUMMY_MAIN() { return 1; }
     2216#endif
    23702217int
    23712218main ()
     
    23842231  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
    23852232  case $ac_file in
    2386     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
     2233    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
    23872234    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    23882235       break;;
     
    23912238else
    23922239  echo "$as_me: failed program was:" >&5
    2393 sed 's/^/| /' conftest.$ac_ext >&5
    2394 
    2395 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    2396 See \`config.log' for more details." >&5
    2397 echo "$as_me: error: cannot compute suffix of object files: cannot compile
    2398 See \`config.log' for more details." >&2;}
     2240cat conftest.$ac_ext >&5
     2241{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
     2242echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
    23992243   { (exit 1); exit 1; }; }
    24002244fi
     
    24122256else
    24132257  cat >conftest.$ac_ext <<_ACEOF
    2414 /* confdefs.h.  */
    2415 _ACEOF
    2416 cat confdefs.h >>conftest.$ac_ext
    2417 cat >>conftest.$ac_ext <<_ACEOF
    2418 /* end confdefs.h.  */
    2419 
     2258#line $LINENO "configure"
     2259#include "confdefs.h"
     2260
     2261#ifdef F77_DUMMY_MAIN
     2262#  ifdef __cplusplus
     2263     extern "C"
     2264#  endif
     2265   int F77_DUMMY_MAIN() { return 1; }
     2266#endif
    24202267int
    24212268main ()
     
    24312278rm -f conftest.$ac_objext
    24322279if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2433   (eval $ac_compile) 2>conftest.er1
     2280  (eval $ac_compile) 2>&5
    24342281  ac_status=$?
    2435   grep -v '^ *+' conftest.er1 >conftest.err
    2436   rm -f conftest.er1
    2437   cat conftest.err >&5
    24382282  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24392283  (exit $ac_status); } &&
    2440          { ac_try='test -z "$ac_c_werror_flag"
    2441                          || test ! -s conftest.err'
    2442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2443   (eval $ac_try) 2>&5
    2444   ac_status=$?
    2445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2446   (exit $ac_status); }; } &&
    2447          { ac_try='test -s conftest.$ac_objext'
     2284         { ac_try='test -s conftest.$ac_objext'
    24482285  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24492286  (eval $ac_try) 2>&5
     
    24542291else
    24552292  echo "$as_me: failed program was:" >&5
    2456 sed 's/^/| /' conftest.$ac_ext >&5
    2457 
     2293cat conftest.$ac_ext >&5
    24582294ac_compiler_gnu=no
    24592295fi
    2460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2296rm -f conftest.$ac_objext conftest.$ac_ext
    24612297ac_cv_c_compiler_gnu=$ac_compiler_gnu
    24622298
     
    24742310else
    24752311  cat >conftest.$ac_ext <<_ACEOF
    2476 /* confdefs.h.  */
    2477 _ACEOF
    2478 cat confdefs.h >>conftest.$ac_ext
    2479 cat >>conftest.$ac_ext <<_ACEOF
    2480 /* end confdefs.h.  */
    2481 
     2312#line $LINENO "configure"
     2313#include "confdefs.h"
     2314
     2315#ifdef F77_DUMMY_MAIN
     2316#  ifdef __cplusplus
     2317     extern "C"
     2318#  endif
     2319   int F77_DUMMY_MAIN() { return 1; }
     2320#endif
    24822321int
    24832322main ()
     
    24902329rm -f conftest.$ac_objext
    24912330if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2492   (eval $ac_compile) 2>conftest.er1
     2331  (eval $ac_compile) 2>&5
    24932332  ac_status=$?
    2494   grep -v '^ *+' conftest.er1 >conftest.err
    2495   rm -f conftest.er1
    2496   cat conftest.err >&5
    24972333  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24982334  (exit $ac_status); } &&
    2499          { ac_try='test -z "$ac_c_werror_flag"
    2500                          || test ! -s conftest.err'
    2501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2502   (eval $ac_try) 2>&5
    2503   ac_status=$?
    2504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2505   (exit $ac_status); }; } &&
    2506          { ac_try='test -s conftest.$ac_objext'
     2335         { ac_try='test -s conftest.$ac_objext'
    25072336  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25082337  (eval $ac_try) 2>&5
     
    25132342else
    25142343  echo "$as_me: failed program was:" >&5
    2515 sed 's/^/| /' conftest.$ac_ext >&5
    2516 
     2344cat conftest.$ac_ext >&5
    25172345ac_cv_prog_cc_g=no
    25182346fi
    2519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2347rm -f conftest.$ac_objext conftest.$ac_ext
    25202348fi
    25212349echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     
    25362364  fi
    25372365fi
    2538 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
    2539 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
    2540 if test "${ac_cv_prog_cc_stdc+set}" = set; then
    2541   echo $ECHO_N "(cached) $ECHO_C" >&6
    2542 else
    2543   ac_cv_prog_cc_stdc=no
    2544 ac_save_CC=$CC
    2545 cat >conftest.$ac_ext <<_ACEOF
    2546 /* confdefs.h.  */
    2547 _ACEOF
    2548 cat confdefs.h >>conftest.$ac_ext
    2549 cat >>conftest.$ac_ext <<_ACEOF
    2550 /* end confdefs.h.  */
    2551 #include <stdarg.h>
    2552 #include <stdio.h>
    2553 #include <sys/types.h>
    2554 #include <sys/stat.h>
    2555 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    2556 struct buf { int x; };
    2557 FILE * (*rcsopen) (struct buf *, struct stat *, int);
    2558 static char *e (p, i)
    2559      char **p;
    2560      int i;
    2561 {
    2562   return p[i];
    2563 }
    2564 static char *f (char * (*g) (char **, int), char **p, ...)
    2565 {
    2566   char *s;
    2567   va_list v;
    2568   va_start (v,p);
    2569   s = g (p, va_arg (v,int));
    2570   va_end (v);
    2571   return s;
    2572 }
    2573 
    2574 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
    2575    function prototypes and stuff, but not '\xHH' hex character constants.
    2576    These don't provoke an error unfortunately, instead are silently treated
    2577    as 'x'.  The following induces an error, until -std1 is added to get
    2578    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    2579    array size at least.  It's necessary to write '\x00'==0 to get something
    2580    that's true only with -std1.  */
    2581 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
    2582 
    2583 int test (int i, double x);
    2584 struct s1 {int (*f) (int a);};
    2585 struct s2 {int (*f) (double a);};
    2586 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
    2587 int argc;
    2588 char **argv;
    2589 int
    2590 main ()
    2591 {
    2592 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
    2593   ;
    2594   return 0;
    2595 }
    2596 _ACEOF
    2597 # Don't try gcc -ansi; that turns off useful extensions and
    2598 # breaks some systems' header files.
    2599 # AIX                   -qlanglvl=ansi
    2600 # Ultrix and OSF/1      -std1
    2601 # HP-UX 10.20 and later -Ae
    2602 # HP-UX older versions  -Aa -D_HPUX_SOURCE
    2603 # SVR4                  -Xc -D__EXTENSIONS__
    2604 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    2605 do
    2606   CC="$ac_save_CC $ac_arg"
    2607   rm -f conftest.$ac_objext
    2608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2609   (eval $ac_compile) 2>conftest.er1
    2610   ac_status=$?
    2611   grep -v '^ *+' conftest.er1 >conftest.err
    2612   rm -f conftest.er1
    2613   cat conftest.err >&5
    2614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2615   (exit $ac_status); } &&
    2616          { ac_try='test -z "$ac_c_werror_flag"
    2617                          || test ! -s conftest.err'
    2618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2619   (eval $ac_try) 2>&5
    2620   ac_status=$?
    2621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2622   (exit $ac_status); }; } &&
    2623          { ac_try='test -s conftest.$ac_objext'
    2624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2625   (eval $ac_try) 2>&5
    2626   ac_status=$?
    2627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2628   (exit $ac_status); }; }; then
    2629   ac_cv_prog_cc_stdc=$ac_arg
    2630 break
    2631 else
    2632   echo "$as_me: failed program was:" >&5
    2633 sed 's/^/| /' conftest.$ac_ext >&5
    2634 
    2635 fi
    2636 rm -f conftest.err conftest.$ac_objext
    2637 done
    2638 rm -f conftest.$ac_ext conftest.$ac_objext
    2639 CC=$ac_save_CC
    2640 
    2641 fi
    2642 
    2643 case "x$ac_cv_prog_cc_stdc" in
    2644   x|xno)
    2645     echo "$as_me:$LINENO: result: none needed" >&5
    2646 echo "${ECHO_T}none needed" >&6 ;;
    2647   *)
    2648     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    2649 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    2650     CC="$CC $ac_cv_prog_cc_stdc" ;;
    2651 esac
    2652 
    26532366# Some people use a C++ compiler to compile C.  Since we use `exit',
    26542367# in C++ we need to declare it.  In case someone uses the same compiler
     
    26622375rm -f conftest.$ac_objext
    26632376if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2664   (eval $ac_compile) 2>conftest.er1
     2377  (eval $ac_compile) 2>&5
    26652378  ac_status=$?
    2666   grep -v '^ *+' conftest.er1 >conftest.err
    2667   rm -f conftest.er1
    2668   cat conftest.err >&5
    26692379  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    26702380  (exit $ac_status); } &&
    2671          { ac_try='test -z "$ac_c_werror_flag"
    2672                          || test ! -s conftest.err'
    2673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2674   (eval $ac_try) 2>&5
    2675   ac_status=$?
    2676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2677   (exit $ac_status); }; } &&
    2678          { ac_try='test -s conftest.$ac_objext'
     2381         { ac_try='test -s conftest.$ac_objext'
    26792382  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    26802383  (eval $ac_try) 2>&5
     
    26832386  (exit $ac_status); }; }; then
    26842387  for ac_declaration in \
    2685    '' \
     2388   ''\
     2389   '#include <stdlib.h>' \
    26862390   'extern "C" void std::exit (int) throw (); using std::exit;' \
    26872391   'extern "C" void std::exit (int); using std::exit;' \
     
    26912395do
    26922396  cat >conftest.$ac_ext <<_ACEOF
    2693 /* confdefs.h.  */
    2694 _ACEOF
    2695 cat confdefs.h >>conftest.$ac_ext
    2696 cat >>conftest.$ac_ext <<_ACEOF
    2697 /* end confdefs.h.  */
     2397#line $LINENO "configure"
     2398#include "confdefs.h"
     2399#include <stdlib.h>
    26982400$ac_declaration
    2699 #include <stdlib.h>
     2401#ifdef F77_DUMMY_MAIN
     2402#  ifdef __cplusplus
     2403     extern "C"
     2404#  endif
     2405   int F77_DUMMY_MAIN() { return 1; }
     2406#endif
    27002407int
    27012408main ()
     
    27082415rm -f conftest.$ac_objext
    27092416if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2710   (eval $ac_compile) 2>conftest.er1
     2417  (eval $ac_compile) 2>&5
    27112418  ac_status=$?
    2712   grep -v '^ *+' conftest.er1 >conftest.err
    2713   rm -f conftest.er1
    2714   cat conftest.err >&5
    27152419  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    27162420  (exit $ac_status); } &&
    2717          { ac_try='test -z "$ac_c_werror_flag"
    2718                          || test ! -s conftest.err'
    2719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2720   (eval $ac_try) 2>&5
    2721   ac_status=$?
    2722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2723   (exit $ac_status); }; } &&
    2724          { ac_try='test -s conftest.$ac_objext'
     2421         { ac_try='test -s conftest.$ac_objext'
    27252422  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    27262423  (eval $ac_try) 2>&5
     
    27312428else
    27322429  echo "$as_me: failed program was:" >&5
    2733 sed 's/^/| /' conftest.$ac_ext >&5
    2734 
     2430cat conftest.$ac_ext >&5
    27352431continue
    27362432fi
    2737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2433rm -f conftest.$ac_objext conftest.$ac_ext
    27382434  cat >conftest.$ac_ext <<_ACEOF
    2739 /* confdefs.h.  */
    2740 _ACEOF
    2741 cat confdefs.h >>conftest.$ac_ext
    2742 cat >>conftest.$ac_ext <<_ACEOF
    2743 /* end confdefs.h.  */
     2435#line $LINENO "configure"
     2436#include "confdefs.h"
    27442437$ac_declaration
     2438#ifdef F77_DUMMY_MAIN
     2439#  ifdef __cplusplus
     2440     extern "C"
     2441#  endif
     2442   int F77_DUMMY_MAIN() { return 1; }
     2443#endif
    27452444int
    27462445main ()
     
    27532452rm -f conftest.$ac_objext
    27542453if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2755   (eval $ac_compile) 2>conftest.er1
     2454  (eval $ac_compile) 2>&5
    27562455  ac_status=$?
    2757   grep -v '^ *+' conftest.er1 >conftest.err
    2758   rm -f conftest.er1
    2759   cat conftest.err >&5
    27602456  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    27612457  (exit $ac_status); } &&
    2762          { ac_try='test -z "$ac_c_werror_flag"
    2763                          || test ! -s conftest.err'
    2764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2765   (eval $ac_try) 2>&5
    2766   ac_status=$?
    2767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2768   (exit $ac_status); }; } &&
    2769          { ac_try='test -s conftest.$ac_objext'
     2458         { ac_try='test -s conftest.$ac_objext'
    27702459  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    27712460  (eval $ac_try) 2>&5
     
    27762465else
    27772466  echo "$as_me: failed program was:" >&5
    2778 sed 's/^/| /' conftest.$ac_ext >&5
    2779 
    2780 fi
    2781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2467cat conftest.$ac_ext >&5
     2468fi
     2469rm -f conftest.$ac_objext conftest.$ac_ext
    27822470done
    27832471rm -f conftest*
     
    27902478else
    27912479  echo "$as_me: failed program was:" >&5
    2792 sed 's/^/| /' conftest.$ac_ext >&5
    2793 
    2794 fi
    2795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2480cat conftest.$ac_ext >&5
     2481fi
     2482rm -f conftest.$ac_objext conftest.$ac_ext
    27962483ac_ext=c
    27972484ac_cpp='$CPP $CPPFLAGS'
     
    28002487ac_compiler_gnu=$ac_cv_c_compiler_gnu
    28012488
    2802           ac_config_commands="$ac_config_commands default-1"
     2489ac_config_commands="$ac_config_commands default-1"
    28032490
    28042491am_make=${MAKE-make}
     
    29212608# AFS /usr/afsws/bin/install, which mishandles nonexistent args
    29222609# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    2923 # OS/2's system install, which has a completely different semantic
    29242610# ./install, which can be erroneously created by make from ./install.sh.
    29252611echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     
    29382624  ./ | .// | /cC/* | \
    29392625  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    2940   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    29412626  /usr/ucb/* ) ;;
    29422627  *)
     
    29462631    for ac_prog in ginstall scoinst install; do
    29472632      for ac_exec_ext in '' $ac_executable_extensions; do
    2948         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    2949           if test $ac_prog = install &&
    2950             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    2951             # AIX install.  It has an incompatible calling convention.
    2952             :
    2953           elif test $ac_prog = install &&
    2954             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    2955             # program-specific install script used by HP pwplus--don't use.
    2956             :
    2957           else
    2958             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    2959             break 3
    2960           fi
    2961         fi
     2633        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     2634          if test $ac_prog = install &&
     2635            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     2636            # AIX install.  It has an incompatible calling convention.
     2637            :
     2638          elif test $ac_prog = install &&
     2639            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     2640            # program-specific install script used by HP pwplus--don't use.
     2641            :
     2642          else
     2643            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     2644            break 3
     2645          fi
     2646        fi
    29622647      done
    29632648    done
     
    29932678  enableval="$enable_shared"
    29942679  p=${PACKAGE-default}
    2995     case $enableval in
    2996     yes) enable_shared=yes ;;
    2997     no) enable_shared=no ;;
    2998     *)
    2999       enable_shared=no
    3000       # Look at the argument we got.  We use all the common list separators.
    3001       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
    3002       for pkg in $enableval; do
    3003         IFS="$lt_save_ifs"
    3004         if test "X$pkg" = "X$p"; then
    3005           enable_shared=yes
    3006         fi
    3007       done
    3008       IFS="$lt_save_ifs"
    3009       ;;
    3010     esac
     2680case $enableval in
     2681yes) enable_shared=yes ;;
     2682no) enable_shared=no ;;
     2683*)
     2684  enable_shared=no
     2685  # Look at the argument we got.  We use all the common list separators.
     2686  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
     2687  for pkg in $enableval; do
     2688    if test "X$pkg" = "X$p"; then
     2689      enable_shared=yes
     2690    fi
     2691  done
     2692  IFS="$ac_save_ifs"
     2693  ;;
     2694esac
    30112695else
    30122696  enable_shared=yes
    30132697fi;
    3014 
    30152698# Check whether --enable-static or --disable-static was given.
    30162699if test "${enable_static+set}" = set; then
    30172700  enableval="$enable_static"
    30182701  p=${PACKAGE-default}
    3019     case $enableval in
    3020     yes) enable_static=yes ;;
    3021     no) enable_static=no ;;
    3022     *)
    3023      enable_static=no
    3024       # Look at the argument we got.  We use all the common list separators.
    3025       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
    3026       for pkg in $enableval; do
    3027         IFS="$lt_save_ifs"
    3028         if test "X$pkg" = "X$p"; then
    3029           enable_static=yes
    3030         fi
    3031       done
    3032       IFS="$lt_save_ifs"
    3033       ;;
    3034     esac
     2702case $enableval in
     2703yes) enable_static=yes ;;
     2704no) enable_static=no ;;
     2705*)
     2706  enable_static=no
     2707  # Look at the argument we got.  We use all the common list separators.
     2708  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
     2709  for pkg in $enableval; do
     2710    if test "X$pkg" = "X$p"; then
     2711      enable_static=yes
     2712    fi
     2713  done
     2714  IFS="$ac_save_ifs"
     2715  ;;
     2716esac
    30352717else
    30362718  enable_static=yes
    30372719fi;
    3038 
    30392720# Check whether --enable-fast-install or --disable-fast-install was given.
    30402721if test "${enable_fast_install+set}" = set; then
    30412722  enableval="$enable_fast_install"
    30422723  p=${PACKAGE-default}
    3043     case $enableval in
    3044     yes) enable_fast_install=yes ;;
    3045     no) enable_fast_install=no ;;
    3046     *)
    3047       enable_fast_install=no
    3048       # Look at the argument we got.  We use all the common list separators.
    3049       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
    3050       for pkg in $enableval; do
    3051         IFS="$lt_save_ifs"
    3052         if test "X$pkg" = "X$p"; then
    3053           enable_fast_install=yes
    3054         fi
    3055       done
    3056       IFS="$lt_save_ifs"
    3057       ;;
    3058     esac
     2724case $enableval in
     2725yes) enable_fast_install=yes ;;
     2726no) enable_fast_install=no ;;
     2727*)
     2728  enable_fast_install=no
     2729  # Look at the argument we got.  We use all the common list separators.
     2730  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
     2731  for pkg in $enableval; do
     2732    if test "X$pkg" = "X$p"; then
     2733      enable_fast_install=yes
     2734    fi
     2735  done
     2736  IFS="$ac_save_ifs"
     2737  ;;
     2738esac
    30592739else
    30602740  enable_fast_install=yes
    30612741fi;
    3062 
    30632742# Make sure we can run config.sub.
    30642743$ac_config_sub sun4 >/dev/null 2>&1 ||
     
    31152794
    31162795
    3117 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
    3118 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
    3119 if test "${lt_cv_path_SED+set}" = set; then
    3120   echo $ECHO_N "(cached) $ECHO_C" >&6
    3121 else
    3122   # Loop through the user's path and test for sed and gsed.
    3123 # Then use that list of sed's as ones to test for truncation.
    3124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3125 for as_dir in $PATH
    3126 do
    3127   IFS=$as_save_IFS
    3128   test -z "$as_dir" && as_dir=.
    3129   for lt_ac_prog in sed gsed; do
    3130     for ac_exec_ext in '' $ac_executable_extensions; do
    3131       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
    3132         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
    3133       fi
    3134     done
    3135   done
    3136 done
    3137 lt_ac_max=0
    3138 lt_ac_count=0
    3139 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
    3140 # along with /bin/sed that truncates output.
    3141 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
    3142   test ! -f $lt_ac_sed && break
    3143   cat /dev/null > conftest.in
    3144   lt_ac_count=0
    3145   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
    3146   # Check for GNU sed and select it if it is found.
    3147   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
    3148     lt_cv_path_SED=$lt_ac_sed
    3149     break
    3150   fi
    3151   while true; do
    3152     cat conftest.in conftest.in >conftest.tmp
    3153     mv conftest.tmp conftest.in
    3154     cp conftest.in conftest.nl
    3155     echo >>conftest.nl
    3156     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
    3157     cmp -s conftest.out conftest.nl || break
    3158     # 10000 chars as input seems more than enough
    3159     test $lt_ac_count -gt 10 && break
    3160     lt_ac_count=`expr $lt_ac_count + 1`
    3161     if test $lt_ac_count -gt $lt_ac_max; then
    3162       lt_ac_max=$lt_ac_count
    3163       lt_cv_path_SED=$lt_ac_sed
    3164     fi
    3165   done
    3166 done
    3167 SED=$lt_cv_path_SED
    3168 
    3169 fi
    3170 
    3171 echo "$as_me:$LINENO: result: $SED" >&5
    3172 echo "${ECHO_T}$SED" >&6
    3173 
    3174 echo "$as_me:$LINENO: checking for egrep" >&5
    3175 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    3176 if test "${ac_cv_prog_egrep+set}" = set; then
    3177   echo $ECHO_N "(cached) $ECHO_C" >&6
    3178 else
    3179   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    3180     then ac_cv_prog_egrep='grep -E'
    3181     else ac_cv_prog_egrep='egrep'
    3182     fi
    3183 fi
    3184 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
    3185 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    3186  EGREP=$ac_cv_prog_egrep
    3187 
     2796# Find the correct PATH separator.  Usually this is `:', but
     2797# DJGPP uses `;' like DOS.
     2798if test "X${PATH_SEPARATOR+set}" != Xset; then
     2799  UNAME=${UNAME-`uname 2>/dev/null`}
     2800  case X$UNAME in
     2801    *-DOS) lt_cv_sys_path_separator=';' ;;
     2802    *)     lt_cv_sys_path_separator=':' ;;
     2803  esac
     2804  PATH_SEPARATOR=$lt_cv_sys_path_separator
     2805fi
    31882806
    31892807
     
    31982816if test "$GCC" = yes; then
    31992817  # Check if gcc -print-prog-name=ld gives a path.
    3200   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
    3201 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
     2818  echo "$as_me:$LINENO: checking for ld used by GCC" >&5
     2819echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
    32022820  case $host in
    32032821  *-*-mingw*)
     
    32092827  case $ac_prog in
    32102828    # Accept absolute paths.
    3211     [\\/]* | ?:[\\/]*)
     2829    [\\/]* | [A-Za-z]:[\\/]*)
    32122830      re_direlt='/[^/][^/]*/\.\./'
    3213       # Canonicalize the pathname of ld
    3214       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
     2831      # Canonicalize the path of ld
     2832      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
    32152833      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
    3216         ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
     2834        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
    32172835      done
    32182836      test -z "$LD" && LD="$ac_prog"
     
    32382856else
    32392857  if test -z "$LD"; then
    3240   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     2858  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    32412859  for ac_dir in $PATH; do
    3242     IFS="$lt_save_ifs"
    32432860    test -z "$ac_dir" && ac_dir=.
    32442861    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
     
    32472864      # but apparently some GNU ld's only accept -v.
    32482865      # Break only if it was the GNU/non-GNU ld that we prefer.
    3249       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
    3250       *GNU* | *'with BFD'*)
     2866      if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
    32512867        test "$with_gnu_ld" != no && break
    3252         ;;
    3253       *)
     2868      else
    32542869        test "$with_gnu_ld" != yes && break
    3255         ;;
    3256       esac
     2870      fi
    32572871    fi
    32582872  done
    3259   IFS="$lt_save_ifs"
     2873  IFS="$ac_save_ifs"
    32602874else
    32612875  lt_cv_path_LD="$LD" # Let the user override the test with a path.
     
    32802894else
    32812895  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
    3282 case `$LD -v 2>&1 </dev/null` in
    3283 *GNU* | *'with BFD'*)
     2896if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
    32842897  lt_cv_prog_gnu_ld=yes
    3285   ;;
    3286 *)
     2898else
    32872899  lt_cv_prog_gnu_ld=no
    3288   ;;
    3289 esac
     2900fi
    32902901fi
    32912902echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
     
    33042915echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
    33052916reload_flag=$lt_cv_ld_reload_flag
    3306 case $reload_flag in
    3307 "" | " "*) ;;
    3308 *) reload_flag=" $reload_flag" ;;
    3309 esac
    3310 reload_cmds='$LD$reload_flag -o $output$reload_objs'
     2917test -n "$reload_flag" && reload_flag=" $reload_flag"
    33112918
    33122919echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
     
    33192926  lt_cv_path_NM="$NM"
    33202927else
    3321   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     2928  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    33222929  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
    3323     IFS="$lt_save_ifs"
    33242930    test -z "$ac_dir" && ac_dir=.
    3325     tmp_nm="$ac_dir/${ac_tool_prefix}nm"
    3326     if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
     2931    tmp_nm=$ac_dir/${ac_tool_prefix}nm
     2932    if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
    33272933      # Check to see if the nm accepts a BSD-compat flag.
    33282934      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
    33292935      #   nm: unknown option "B" ignored
    33302936      # Tru64's nm complains that /dev/null is an invalid object file
    3331       case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
    3332       */dev/null* | *'Invalid file or object type'*)
     2937      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
    33332938        lt_cv_path_NM="$tmp_nm -B"
    33342939        break
    3335         ;;
    3336       *)
    3337         case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
    3338         */dev/null*)
    3339           lt_cv_path_NM="$tmp_nm -p"
    3340           break
    3341           ;;
    3342         *)
    3343           lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
    3344           continue # so that we can try to find one that supports BSD flags
    3345           ;;
    3346         esac
    3347       esac
     2940      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
     2941        lt_cv_path_NM="$tmp_nm -p"
     2942        break
     2943      else
     2944        lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
     2945        continue # so that we can try to find one that supports BSD flags
     2946      fi
    33482947    fi
    33492948  done
    3350   IFS="$lt_save_ifs"
     2949  IFS="$ac_save_ifs"
    33512950  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
    33522951fi
    33532952fi
    3354 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
    3355 echo "${ECHO_T}$lt_cv_path_NM" >&6
     2953
    33562954NM="$lt_cv_path_NM"
     2955echo "$as_me:$LINENO: result: $NM" >&5
     2956echo "${ECHO_T}$NM" >&6
    33572957
    33582958echo "$as_me:$LINENO: checking whether ln -s works" >&5
     
    33672967fi
    33682968
    3369 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
    3370 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
     2969echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
     2970echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
    33712971if test "${lt_cv_deplibs_check_method+set}" = set; then
    33722972  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    33822982# 'test_compile' -- check by making test program.
    33832983# 'file_magic [[regex]]' -- check by looking for files in library path
    3384 # which responds to the $file_magic_cmd with a given extended regex.
     2984# which responds to the $file_magic_cmd with a given egrep regex.
    33852985# If you have `file' or equivalent on your system and you're not sure
    33862986# whether `pass_all' will *always* work, you probably want this one.
     
    34013001  ;;
    34023002
    3403 cygwin*)
    3404   # win32_libid is a shell function defined in ltmain.sh
    3405   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
    3406   lt_cv_file_magic_cmd='win32_libid'
    3407   ;;
    3408 
    3409 mingw* | pw32*)
    3410   # Base MSYS/MinGW do not provide the 'file' command needed by
    3411   # win32_libid shell function, so use a weaker test based on 'objdump'.
     3003cygwin* | mingw* | pw32*)
    34123004  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
    34133005  lt_cv_file_magic_cmd='$OBJDUMP -f'
     
    34153007
    34163008darwin* | rhapsody*)
    3417   lt_cv_deplibs_check_method=pass_all
     3009  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
     3010  lt_cv_file_magic_cmd='/usr/bin/file -L'
     3011  case "$host_os" in
     3012  rhapsody* | darwin1.[012])
     3013    lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
     3014    ;;
     3015  *) # Darwin 1.3 on
     3016    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
     3017    ;;
     3018  esac
    34183019  ;;
    34193020
    3420 freebsd* | kfreebsd*-gnu)
     3021freebsd*)
    34213022  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
    34223023    case $host_cpu in
     
    34383039  ;;
    34393040
    3440 hpux10.20* | hpux11*)
     3041hpux10.20*|hpux11*)
     3042  lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
    34413043  lt_cv_file_magic_cmd=/usr/bin/file
    3442   case "$host_cpu" in
    3443   ia64*)
    3444     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
    3445     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
    3446     ;;
    3447   hppa*64*)
    3448     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]'
    3449     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
     3044  lt_cv_file_magic_test_file=/usr/lib/libc.sl
     3045  ;;
     3046
     3047irix5* | irix6* | nonstopux*)
     3048  case $host_os in
     3049  irix5* | nonstopux*)
     3050    # this will be overridden with pass_all, but let us keep it just in case
     3051    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
    34503052    ;;
    34513053  *)
    3452     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
    3453     lt_cv_file_magic_test_file=/usr/lib/libc.sl
     3054    case $LD in
     3055    *-32|*"-32 ") libmagic=32-bit;;
     3056    *-n32|*"-n32 ") libmagic=N32;;
     3057    *-64|*"-64 ") libmagic=64-bit;;
     3058    *) libmagic=never-match;;
     3059    esac
     3060    # this will be overridden with pass_all, but let us keep it just in case
     3061    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
    34543062    ;;
    34553063  esac
    3456   ;;
    3457 
    3458 irix5* | irix6* | nonstopux*)
    3459   case $LD in
    3460   *-32|*"-32 ") libmagic=32-bit;;
    3461   *-n32|*"-n32 ") libmagic=N32;;
    3462   *-64|*"-64 ") libmagic=64-bit;;
    3463   *) libmagic=never-match;;
    3464   esac
     3064  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
    34653065  lt_cv_deplibs_check_method=pass_all
    34663066  ;;
    34673067
    34683068# This must be Linux ELF.
    3469 linux*)
    3470   case $host_cpu in
    3471   alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64*)
    3472     lt_cv_deplibs_check_method=pass_all ;;
    3473   *)
    3474     # glibc up to 2.1.1 does not perform some relocations on ARM
    3475     # this will be overridden with pass_all, but let us keep it just in case
    3476     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
    3477   esac
     3069linux-gnu*)
     3070  lt_cv_deplibs_check_method=pass_all
    34783071  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
    3479   lt_cv_deplibs_check_method=pass_all
    34803072  ;;
    34813073
    34823074netbsd*)
    34833075  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
    3484     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
     3076    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
    34853077  else
    3486     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
     3078    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
    34873079  fi
    34883080  ;;
     
    34923084  lt_cv_file_magic_cmd=/usr/bin/file
    34933085  lt_cv_file_magic_test_file=/usr/lib/libnls.so
    3494   ;;
    3495 
    3496 nto-qnx*)
    3497   lt_cv_deplibs_check_method=unknown
    34983086  ;;
    34993087
     
    35093097
    35103098osf3* | osf4* | osf5*)
     3099  # this will be overridden with pass_all, but let us keep it just in case
     3100  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
     3101  lt_cv_file_magic_test_file=/shlib/libc.so
    35113102  lt_cv_deplibs_check_method=pass_all
    35123103  ;;
     
    35173108
    35183109solaris*)
     3110  lt_cv_deplibs_check_method=pass_all
     3111  lt_cv_file_magic_test_file=/lib/libc.so
     3112  ;;
     3113
     3114sysv5uw[78]* | sysv4*uw2*)
    35193115  lt_cv_deplibs_check_method=pass_all
    35203116  ;;
     
    35383134    lt_cv_file_magic_test_file=/lib/libc.so
    35393135    ;;
    3540   siemens)
    3541     lt_cv_deplibs_check_method=pass_all
    3542     ;;
    35433136  esac
    3544   ;;
    3545 
    3546 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
    3547   lt_cv_deplibs_check_method=pass_all
    35483137  ;;
    35493138esac
     
    35543143file_magic_cmd=$lt_cv_file_magic_cmd
    35553144deplibs_check_method=$lt_cv_deplibs_check_method
    3556 test -z "$deplibs_check_method" && deplibs_check_method=unknown
    3557 
    3558 
    3559 
    3560 
    3561 # If no C compiler was specified, use CC.
    3562 LTCC=${LTCC-"$CC"}
    3563 
    3564 # Allow CC to be a program name with arguments.
    3565 compiler=$CC
    3566 
    3567 
    3568 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
    3569 if test "${enable_libtool_lock+set}" = set; then
    3570   enableval="$enable_libtool_lock"
    3571 
    3572 fi;
    3573 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
    3574 
    3575 # Some flags need to be propagated to the compiler or linker for good
    3576 # libtool support.
    3577 case $host in
    3578 ia64-*-hpux*)
    3579   # Find out which ABI we are using.
    3580   echo 'int i;' > conftest.$ac_ext
    3581   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3582   (eval $ac_compile) 2>&5
    3583   ac_status=$?
    3584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3585   (exit $ac_status); }; then
    3586     case `/usr/bin/file conftest.$ac_objext` in
    3587     *ELF-32*)
    3588       HPUX_IA64_MODE="32"
    3589       ;;
    3590     *ELF-64*)
    3591       HPUX_IA64_MODE="64"
    3592       ;;
    3593     esac
    3594   fi
    3595   rm -rf conftest*
    3596   ;;
    3597 *-*-irix6*)
    3598   # Find out which ABI we are using.
    3599   echo '#line 3599 "configure"' > conftest.$ac_ext
    3600   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3601   (eval $ac_compile) 2>&5
    3602   ac_status=$?
    3603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3604   (exit $ac_status); }; then
    3605    if test "$lt_cv_prog_gnu_ld" = yes; then
    3606     case `/usr/bin/file conftest.$ac_objext` in
    3607     *32-bit*)
    3608       LD="${LD-ld} -melf32bsmip"
    3609       ;;
    3610     *N32*)
    3611       LD="${LD-ld} -melf32bmipn32"
    3612       ;;
    3613     *64-bit*)
    3614       LD="${LD-ld} -melf64bmip"
    3615       ;;
    3616     esac
    3617    else
    3618     case `/usr/bin/file conftest.$ac_objext` in
    3619     *32-bit*)
    3620       LD="${LD-ld} -32"
    3621       ;;
    3622     *N32*)
    3623       LD="${LD-ld} -n32"
    3624       ;;
    3625     *64-bit*)
    3626       LD="${LD-ld} -64"
    3627       ;;
    3628     esac
    3629    fi
    3630   fi
    3631   rm -rf conftest*
    3632   ;;
    3633 
    3634 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
    3635   # Find out which ABI we are using.
    3636   echo 'int i;' > conftest.$ac_ext
    3637   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3638   (eval $ac_compile) 2>&5
    3639   ac_status=$?
    3640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3641   (exit $ac_status); }; then
    3642     case "`/usr/bin/file conftest.o`" in
    3643     *32-bit*)
    3644       case $host in
    3645         x86_64-*linux*)
    3646           LD="${LD-ld} -m elf_i386"
    3647           ;;
    3648         ppc64-*linux*|powerpc64-*linux*)
    3649           LD="${LD-ld} -m elf32ppclinux"
    3650           ;;
    3651         s390x-*linux*)
    3652           LD="${LD-ld} -m elf_s390"
    3653           ;;
    3654         sparc64-*linux*)
    3655           LD="${LD-ld} -m elf32_sparc"
    3656           ;;
    3657       esac
    3658       ;;
    3659     *64-bit*)
    3660       case $host in
    3661         x86_64-*linux*)
    3662           LD="${LD-ld} -m elf_x86_64"
    3663           ;;
    3664         ppc*-*linux*|powerpc*-*linux*)
    3665           LD="${LD-ld} -m elf64ppc"
    3666           ;;
    3667         s390*-*linux*)
    3668           LD="${LD-ld} -m elf64_s390"
    3669           ;;
    3670         sparc*-*linux*)
    3671           LD="${LD-ld} -m elf64_sparc"
    3672           ;;
    3673       esac
    3674       ;;
    3675     esac
    3676   fi
    3677   rm -rf conftest*
    3678   ;;
    3679 
    3680 *-*-linux*)
    3681   # Test if the compiler is 64bit
    3682   echo 'int i;' > conftest.$ac_ext
    3683   lt_cv_cc_64bit_output=no
    3684   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3685   (eval $ac_compile) 2>&5
    3686   ac_status=$?
    3687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3688   (exit $ac_status); }; then
    3689     case `/usr/bin/file conftest.$ac_objext` in
    3690     *"ELF 64"*)
    3691       lt_cv_cc_64bit_output=yes
    3692       ;;
    3693     esac
    3694   fi
    3695   rm -rf conftest*
    3696   ;;
    3697 
    3698 *-*-sco3.2v5*)
    3699   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
    3700   SAVE_CFLAGS="$CFLAGS"
    3701   CFLAGS="$CFLAGS -belf"
    3702   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
    3703 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
    3704 if test "${lt_cv_cc_needs_belf+set}" = set; then
    3705   echo $ECHO_N "(cached) $ECHO_C" >&6
    3706 else
    3707   ac_ext=c
    3708 ac_cpp='$CPP $CPPFLAGS'
    3709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3712 
    3713      cat >conftest.$ac_ext <<_ACEOF
    3714 /* confdefs.h.  */
    3715 _ACEOF
    3716 cat confdefs.h >>conftest.$ac_ext
    3717 cat >>conftest.$ac_ext <<_ACEOF
    3718 /* end confdefs.h.  */
    3719 
    3720 int
    3721 main ()
    3722 {
    3723 
    3724   ;
    3725   return 0;
    3726 }
    3727 _ACEOF
    3728 rm -f conftest.$ac_objext conftest$ac_exeext
    3729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3730   (eval $ac_link) 2>conftest.er1
    3731   ac_status=$?
    3732   grep -v '^ *+' conftest.er1 >conftest.err
    3733   rm -f conftest.er1
    3734   cat conftest.err >&5
    3735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3736   (exit $ac_status); } &&
    3737          { ac_try='test -z "$ac_c_werror_flag"
    3738                          || test ! -s conftest.err'
    3739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3740   (eval $ac_try) 2>&5
    3741   ac_status=$?
    3742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3743   (exit $ac_status); }; } &&
    3744          { ac_try='test -s conftest$ac_exeext'
    3745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3746   (eval $ac_try) 2>&5
    3747   ac_status=$?
    3748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3749   (exit $ac_status); }; }; then
    3750   lt_cv_cc_needs_belf=yes
    3751 else
    3752   echo "$as_me: failed program was:" >&5
    3753 sed 's/^/| /' conftest.$ac_ext >&5
    3754 
    3755 lt_cv_cc_needs_belf=no
    3756 fi
    3757 rm -f conftest.err conftest.$ac_objext \
    3758       conftest$ac_exeext conftest.$ac_ext
    3759      ac_ext=c
    3760 ac_cpp='$CPP $CPPFLAGS'
    3761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3764 
    3765 fi
    3766 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
    3767 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
    3768   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
    3769     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
    3770     CFLAGS="$SAVE_CFLAGS"
    3771   fi
    3772   ;;
    3773 
    3774 esac
    3775 
    3776 need_locks="$enable_libtool_lock"
    3777 
    3778 
    3779 ac_ext=c
    3780 ac_cpp='$CPP $CPPFLAGS'
    3781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3784 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    3785 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
    3786 # On Suns, sometimes $CPP names a directory.
    3787 if test -n "$CPP" && test -d "$CPP"; then
    3788   CPP=
    3789 fi
    3790 if test -z "$CPP"; then
    3791   if test "${ac_cv_prog_CPP+set}" = set; then
    3792   echo $ECHO_N "(cached) $ECHO_C" >&6
    3793 else
    3794       # Double quotes because CPP needs to be expanded
    3795     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
    3796     do
    3797       ac_preproc_ok=false
    3798 for ac_c_preproc_warn_flag in '' yes
    3799 do
    3800   # Use a header file that comes with gcc, so configuring glibc
    3801   # with a fresh cross-compiler works.
    3802   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    3803   # <limits.h> exists even on freestanding compilers.
    3804   # On the NeXT, cc -E runs the code through the compiler's parser,
    3805   # not just through cpp. "Syntax error" is here to catch this case.
    3806   cat >conftest.$ac_ext <<_ACEOF
    3807 /* confdefs.h.  */
    3808 _ACEOF
    3809 cat confdefs.h >>conftest.$ac_ext
    3810 cat >>conftest.$ac_ext <<_ACEOF
    3811 /* end confdefs.h.  */
    3812 #ifdef __STDC__
    3813 # include <limits.h>
    3814 #else
    3815 # include <assert.h>
    3816 #endif
    3817                      Syntax error
    3818 _ACEOF
    3819 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3820   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    3821   ac_status=$?
    3822   grep -v '^ *+' conftest.er1 >conftest.err
    3823   rm -f conftest.er1
    3824   cat conftest.err >&5
    3825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3826   (exit $ac_status); } >/dev/null; then
    3827   if test -s conftest.err; then
    3828     ac_cpp_err=$ac_c_preproc_warn_flag
    3829     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3830   else
    3831     ac_cpp_err=
    3832   fi
    3833 else
    3834   ac_cpp_err=yes
    3835 fi
    3836 if test -z "$ac_cpp_err"; then
    3837   :
    3838 else
    3839   echo "$as_me: failed program was:" >&5
    3840 sed 's/^/| /' conftest.$ac_ext >&5
    3841 
    3842   # Broken: fails on valid input.
    3843 continue
    3844 fi
    3845 rm -f conftest.err conftest.$ac_ext
    3846 
    3847   # OK, works on sane cases.  Now check whether non-existent headers
    3848   # can be detected and how.
    3849   cat >conftest.$ac_ext <<_ACEOF
    3850 /* confdefs.h.  */
    3851 _ACEOF
    3852 cat confdefs.h >>conftest.$ac_ext
    3853 cat >>conftest.$ac_ext <<_ACEOF
    3854 /* end confdefs.h.  */
    3855 #include <ac_nonexistent.h>
    3856 _ACEOF
    3857 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3858   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    3859   ac_status=$?
    3860   grep -v '^ *+' conftest.er1 >conftest.err
    3861   rm -f conftest.er1
    3862   cat conftest.err >&5
    3863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3864   (exit $ac_status); } >/dev/null; then
    3865   if test -s conftest.err; then
    3866     ac_cpp_err=$ac_c_preproc_warn_flag
    3867     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3868   else
    3869     ac_cpp_err=
    3870   fi
    3871 else
    3872   ac_cpp_err=yes
    3873 fi
    3874 if test -z "$ac_cpp_err"; then
    3875   # Broken: success on invalid input.
    3876 continue
    3877 else
    3878   echo "$as_me: failed program was:" >&5
    3879 sed 's/^/| /' conftest.$ac_ext >&5
    3880 
    3881   # Passes both tests.
    3882 ac_preproc_ok=:
    3883 break
    3884 fi
    3885 rm -f conftest.err conftest.$ac_ext
    3886 
    3887 done
    3888 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3889 rm -f conftest.err conftest.$ac_ext
    3890 if $ac_preproc_ok; then
    3891   break
    3892 fi
    3893 
    3894     done
    3895     ac_cv_prog_CPP=$CPP
    3896 
    3897 fi
    3898   CPP=$ac_cv_prog_CPP
    3899 else
    3900   ac_cv_prog_CPP=$CPP
    3901 fi
    3902 echo "$as_me:$LINENO: result: $CPP" >&5
    3903 echo "${ECHO_T}$CPP" >&6
    3904 ac_preproc_ok=false
    3905 for ac_c_preproc_warn_flag in '' yes
    3906 do
    3907   # Use a header file that comes with gcc, so configuring glibc
    3908   # with a fresh cross-compiler works.
    3909   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    3910   # <limits.h> exists even on freestanding compilers.
    3911   # On the NeXT, cc -E runs the code through the compiler's parser,
    3912   # not just through cpp. "Syntax error" is here to catch this case.
    3913   cat >conftest.$ac_ext <<_ACEOF
    3914 /* confdefs.h.  */
    3915 _ACEOF
    3916 cat confdefs.h >>conftest.$ac_ext
    3917 cat >>conftest.$ac_ext <<_ACEOF
    3918 /* end confdefs.h.  */
    3919 #ifdef __STDC__
    3920 # include <limits.h>
    3921 #else
    3922 # include <assert.h>
    3923 #endif
    3924                      Syntax error
    3925 _ACEOF
    3926 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3927   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    3928   ac_status=$?
    3929   grep -v '^ *+' conftest.er1 >conftest.err
    3930   rm -f conftest.er1
    3931   cat conftest.err >&5
    3932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3933   (exit $ac_status); } >/dev/null; then
    3934   if test -s conftest.err; then
    3935     ac_cpp_err=$ac_c_preproc_warn_flag
    3936     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3937   else
    3938     ac_cpp_err=
    3939   fi
    3940 else
    3941   ac_cpp_err=yes
    3942 fi
    3943 if test -z "$ac_cpp_err"; then
    3944   :
    3945 else
    3946   echo "$as_me: failed program was:" >&5
    3947 sed 's/^/| /' conftest.$ac_ext >&5
    3948 
    3949   # Broken: fails on valid input.
    3950 continue
    3951 fi
    3952 rm -f conftest.err conftest.$ac_ext
    3953 
    3954   # OK, works on sane cases.  Now check whether non-existent headers
    3955   # can be detected and how.
    3956   cat >conftest.$ac_ext <<_ACEOF
    3957 /* confdefs.h.  */
    3958 _ACEOF
    3959 cat confdefs.h >>conftest.$ac_ext
    3960 cat >>conftest.$ac_ext <<_ACEOF
    3961 /* end confdefs.h.  */
    3962 #include <ac_nonexistent.h>
    3963 _ACEOF
    3964 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3965   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    3966   ac_status=$?
    3967   grep -v '^ *+' conftest.er1 >conftest.err
    3968   rm -f conftest.er1
    3969   cat conftest.err >&5
    3970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3971   (exit $ac_status); } >/dev/null; then
    3972   if test -s conftest.err; then
    3973     ac_cpp_err=$ac_c_preproc_warn_flag
    3974     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3975   else
    3976     ac_cpp_err=
    3977   fi
    3978 else
    3979   ac_cpp_err=yes
    3980 fi
    3981 if test -z "$ac_cpp_err"; then
    3982   # Broken: success on invalid input.
    3983 continue
    3984 else
    3985   echo "$as_me: failed program was:" >&5
    3986 sed 's/^/| /' conftest.$ac_ext >&5
    3987 
    3988   # Passes both tests.
    3989 ac_preproc_ok=:
    3990 break
    3991 fi
    3992 rm -f conftest.err conftest.$ac_ext
    3993 
    3994 done
    3995 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3996 rm -f conftest.err conftest.$ac_ext
    3997 if $ac_preproc_ok; then
    3998   :
    3999 else
    4000   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    4001 See \`config.log' for more details." >&5
    4002 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    4003 See \`config.log' for more details." >&2;}
    4004    { (exit 1); exit 1; }; }
    4005 fi
    4006 
    4007 ac_ext=c
    4008 ac_cpp='$CPP $CPPFLAGS'
    4009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    4010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    4012 
    4013 
    4014 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    4015 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    4016 if test "${ac_cv_header_stdc+set}" = set; then
    4017   echo $ECHO_N "(cached) $ECHO_C" >&6
    4018 else
    4019   cat >conftest.$ac_ext <<_ACEOF
    4020 /* confdefs.h.  */
    4021 _ACEOF
    4022 cat confdefs.h >>conftest.$ac_ext
    4023 cat >>conftest.$ac_ext <<_ACEOF
    4024 /* end confdefs.h.  */
    4025 #include <stdlib.h>
    4026 #include <stdarg.h>
    4027 #include <string.h>
    4028 #include <float.h>
    4029 
    4030 int
    4031 main ()
    4032 {
    4033 
    4034   ;
    4035   return 0;
    4036 }
    4037 _ACEOF
    4038 rm -f conftest.$ac_objext
    4039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4040   (eval $ac_compile) 2>conftest.er1
    4041   ac_status=$?
    4042   grep -v '^ *+' conftest.er1 >conftest.err
    4043   rm -f conftest.er1
    4044   cat conftest.err >&5
    4045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4046   (exit $ac_status); } &&
    4047          { ac_try='test -z "$ac_c_werror_flag"
    4048                          || test ! -s conftest.err'
    4049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4050   (eval $ac_try) 2>&5
    4051   ac_status=$?
    4052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4053   (exit $ac_status); }; } &&
    4054          { ac_try='test -s conftest.$ac_objext'
    4055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4056   (eval $ac_try) 2>&5
    4057   ac_status=$?
    4058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4059   (exit $ac_status); }; }; then
    4060   ac_cv_header_stdc=yes
    4061 else
    4062   echo "$as_me: failed program was:" >&5
    4063 sed 's/^/| /' conftest.$ac_ext >&5
    4064 
    4065 ac_cv_header_stdc=no
    4066 fi
    4067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4068 
    4069 if test $ac_cv_header_stdc = yes; then
    4070   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    4071   cat >conftest.$ac_ext <<_ACEOF
    4072 /* confdefs.h.  */
    4073 _ACEOF
    4074 cat confdefs.h >>conftest.$ac_ext
    4075 cat >>conftest.$ac_ext <<_ACEOF
    4076 /* end confdefs.h.  */
    4077 #include <string.h>
    4078 
    4079 _ACEOF
    4080 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4081   $EGREP "memchr" >/dev/null 2>&1; then
    4082   :
    4083 else
    4084   ac_cv_header_stdc=no
    4085 fi
    4086 rm -f conftest*
    4087 
    4088 fi
    4089 
    4090 if test $ac_cv_header_stdc = yes; then
    4091   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    4092   cat >conftest.$ac_ext <<_ACEOF
    4093 /* confdefs.h.  */
    4094 _ACEOF
    4095 cat confdefs.h >>conftest.$ac_ext
    4096 cat >>conftest.$ac_ext <<_ACEOF
    4097 /* end confdefs.h.  */
    4098 #include <stdlib.h>
    4099 
    4100 _ACEOF
    4101 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4102   $EGREP "free" >/dev/null 2>&1; then
    4103   :
    4104 else
    4105   ac_cv_header_stdc=no
    4106 fi
    4107 rm -f conftest*
    4108 
    4109 fi
    4110 
    4111 if test $ac_cv_header_stdc = yes; then
    4112   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    4113   if test "$cross_compiling" = yes; then
    4114   :
    4115 else
    4116   cat >conftest.$ac_ext <<_ACEOF
    4117 /* confdefs.h.  */
    4118 _ACEOF
    4119 cat confdefs.h >>conftest.$ac_ext
    4120 cat >>conftest.$ac_ext <<_ACEOF
    4121 /* end confdefs.h.  */
    4122 #include <ctype.h>
    4123 #if ((' ' & 0x0FF) == 0x020)
    4124 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
    4125 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
    4126 #else
    4127 # define ISLOWER(c) \
    4128                    (('a' <= (c) && (c) <= 'i') \
    4129                      || ('j' <= (c) && (c) <= 'r') \
    4130                      || ('s' <= (c) && (c) <= 'z'))
    4131 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
    4132 #endif
    4133 
    4134 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
    4135 int
    4136 main ()
    4137 {
    4138   int i;
    4139   for (i = 0; i < 256; i++)
    4140     if (XOR (islower (i), ISLOWER (i))
    4141         || toupper (i) != TOUPPER (i))
    4142       exit(2);
    4143   exit (0);
    4144 }
    4145 _ACEOF
    4146 rm -f conftest$ac_exeext
    4147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4148   (eval $ac_link) 2>&5
    4149   ac_status=$?
    4150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4151   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4153   (eval $ac_try) 2>&5
    4154   ac_status=$?
    4155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4156   (exit $ac_status); }; }; then
    4157   :
    4158 else
    4159   echo "$as_me: program exited with status $ac_status" >&5
    4160 echo "$as_me: failed program was:" >&5
    4161 sed 's/^/| /' conftest.$ac_ext >&5
    4162 
    4163 ( exit $ac_status )
    4164 ac_cv_header_stdc=no
    4165 fi
    4166 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    4167 fi
    4168 fi
    4169 fi
    4170 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    4171 echo "${ECHO_T}$ac_cv_header_stdc" >&6
    4172 if test $ac_cv_header_stdc = yes; then
    4173 
    4174 cat >>confdefs.h <<\_ACEOF
    4175 #define STDC_HEADERS 1
    4176 _ACEOF
    4177 
    4178 fi
    4179 
    4180 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
    4181 
    4182 
    4183 
    4184 
    4185 
    4186 
    4187 
    4188 
    4189 
    4190 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    4191                   inttypes.h stdint.h unistd.h
    4192 do
    4193 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4194 echo "$as_me:$LINENO: checking for $ac_header" >&5
    4195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4197   echo $ECHO_N "(cached) $ECHO_C" >&6
    4198 else
    4199   cat >conftest.$ac_ext <<_ACEOF
    4200 /* confdefs.h.  */
    4201 _ACEOF
    4202 cat confdefs.h >>conftest.$ac_ext
    4203 cat >>conftest.$ac_ext <<_ACEOF
    4204 /* end confdefs.h.  */
    4205 $ac_includes_default
    4206 
    4207 #include <$ac_header>
    4208 _ACEOF
    4209 rm -f conftest.$ac_objext
    4210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4211   (eval $ac_compile) 2>conftest.er1
    4212   ac_status=$?
    4213   grep -v '^ *+' conftest.er1 >conftest.err
    4214   rm -f conftest.er1
    4215   cat conftest.err >&5
    4216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4217   (exit $ac_status); } &&
    4218          { ac_try='test -z "$ac_c_werror_flag"
    4219                          || test ! -s conftest.err'
    4220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4221   (eval $ac_try) 2>&5
    4222   ac_status=$?
    4223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4224   (exit $ac_status); }; } &&
    4225          { ac_try='test -s conftest.$ac_objext'
    4226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4227   (eval $ac_try) 2>&5
    4228   ac_status=$?
    4229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4230   (exit $ac_status); }; }; then
    4231   eval "$as_ac_Header=yes"
    4232 else
    4233   echo "$as_me: failed program was:" >&5
    4234 sed 's/^/| /' conftest.$ac_ext >&5
    4235 
    4236 eval "$as_ac_Header=no"
    4237 fi
    4238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4239 fi
    4240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4241 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4242 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    4243   cat >>confdefs.h <<_ACEOF
    4244 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    4245 _ACEOF
    4246 
    4247 fi
    4248 
    4249 done
    4250 
    4251 
    4252 
    4253 for ac_header in dlfcn.h
    4254 do
    4255 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4257   echo "$as_me:$LINENO: checking for $ac_header" >&5
    4258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4260   echo $ECHO_N "(cached) $ECHO_C" >&6
    4261 fi
    4262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4263 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4264 else
    4265   # Is the header compilable?
    4266 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    4267 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    4268 cat >conftest.$ac_ext <<_ACEOF
    4269 /* confdefs.h.  */
    4270 _ACEOF
    4271 cat confdefs.h >>conftest.$ac_ext
    4272 cat >>conftest.$ac_ext <<_ACEOF
    4273 /* end confdefs.h.  */
    4274 $ac_includes_default
    4275 #include <$ac_header>
    4276 _ACEOF
    4277 rm -f conftest.$ac_objext
    4278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4279   (eval $ac_compile) 2>conftest.er1
    4280   ac_status=$?
    4281   grep -v '^ *+' conftest.er1 >conftest.err
    4282   rm -f conftest.er1
    4283   cat conftest.err >&5
    4284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4285   (exit $ac_status); } &&
    4286          { ac_try='test -z "$ac_c_werror_flag"
    4287                          || test ! -s conftest.err'
    4288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4289   (eval $ac_try) 2>&5
    4290   ac_status=$?
    4291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4292   (exit $ac_status); }; } &&
    4293          { ac_try='test -s conftest.$ac_objext'
    4294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4295   (eval $ac_try) 2>&5
    4296   ac_status=$?
    4297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4298   (exit $ac_status); }; }; then
    4299   ac_header_compiler=yes
    4300 else
    4301   echo "$as_me: failed program was:" >&5
    4302 sed 's/^/| /' conftest.$ac_ext >&5
    4303 
    4304 ac_header_compiler=no
    4305 fi
    4306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4307 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4308 echo "${ECHO_T}$ac_header_compiler" >&6
    4309 
    4310 # Is the header present?
    4311 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    4312 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    4313 cat >conftest.$ac_ext <<_ACEOF
    4314 /* confdefs.h.  */
    4315 _ACEOF
    4316 cat confdefs.h >>conftest.$ac_ext
    4317 cat >>conftest.$ac_ext <<_ACEOF
    4318 /* end confdefs.h.  */
    4319 #include <$ac_header>
    4320 _ACEOF
    4321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    4322   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4323   ac_status=$?
    4324   grep -v '^ *+' conftest.er1 >conftest.err
    4325   rm -f conftest.er1
    4326   cat conftest.err >&5
    4327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4328   (exit $ac_status); } >/dev/null; then
    4329   if test -s conftest.err; then
    4330     ac_cpp_err=$ac_c_preproc_warn_flag
    4331     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    4332   else
    4333     ac_cpp_err=
    4334   fi
    4335 else
    4336   ac_cpp_err=yes
    4337 fi
    4338 if test -z "$ac_cpp_err"; then
    4339   ac_header_preproc=yes
    4340 else
    4341   echo "$as_me: failed program was:" >&5
    4342 sed 's/^/| /' conftest.$ac_ext >&5
    4343 
    4344   ac_header_preproc=no
    4345 fi
    4346 rm -f conftest.err conftest.$ac_ext
    4347 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4348 echo "${ECHO_T}$ac_header_preproc" >&6
    4349 
    4350 # So?  What about this header?
    4351 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    4352   yes:no: )
    4353     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    4354 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4355     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    4356 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    4357     ac_header_preproc=yes
    4358     ;;
    4359   no:yes:* )
    4360     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    4361 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    4362     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    4363 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    4364     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    4365 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    4366     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    4367 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    4368     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    4369 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    4370     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    4371 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    4372     (
    4373       cat <<\_ASBOX
    4374 ## ----------------------------------- ##
    4375 ## Report this to libtrace@wand.net.nz ##
    4376 ## ----------------------------------- ##
    4377 _ASBOX
    4378     ) |
    4379       sed "s/^/$as_me: WARNING:     /" >&2
    4380     ;;
    4381 esac
    4382 echo "$as_me:$LINENO: checking for $ac_header" >&5
    4383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4384 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4385   echo $ECHO_N "(cached) $ECHO_C" >&6
    4386 else
    4387   eval "$as_ac_Header=\$ac_header_preproc"
    4388 fi
    4389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4390 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4391 
    4392 fi
    4393 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    4394   cat >>confdefs.h <<_ACEOF
    4395 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    4396 _ACEOF
    4397 
    4398 fi
    4399 
    4400 done
    4401 
    4402 ac_ext=cc
    4403 ac_cpp='$CXXCPP $CPPFLAGS'
    4404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    4405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    4407 if test -n "$ac_tool_prefix"; then
    4408   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
    4409   do
    4410     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    4411 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    4412 echo "$as_me:$LINENO: checking for $ac_word" >&5
    4413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4414 if test "${ac_cv_prog_CXX+set}" = set; then
    4415   echo $ECHO_N "(cached) $ECHO_C" >&6
    4416 else
    4417   if test -n "$CXX"; then
    4418   ac_cv_prog_CXX="$CXX" # Let the user override the test.
    4419 else
    4420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4421 for as_dir in $PATH
    4422 do
    4423   IFS=$as_save_IFS
    4424   test -z "$as_dir" && as_dir=.
    4425   for ac_exec_ext in '' $ac_executable_extensions; do
    4426   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    4427     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    4428     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    4429     break 2
    4430   fi
    4431 done
    4432 done
    4433 
    4434 fi
    4435 fi
    4436 CXX=$ac_cv_prog_CXX
    4437 if test -n "$CXX"; then
    4438   echo "$as_me:$LINENO: result: $CXX" >&5
    4439 echo "${ECHO_T}$CXX" >&6
    4440 else
    4441   echo "$as_me:$LINENO: result: no" >&5
    4442 echo "${ECHO_T}no" >&6
    4443 fi
    4444 
    4445     test -n "$CXX" && break
    4446   done
    4447 fi
    4448 if test -z "$CXX"; then
    4449   ac_ct_CXX=$CXX
    4450   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
    4451 do
    4452   # Extract the first word of "$ac_prog", so it can be a program name with args.
    4453 set dummy $ac_prog; ac_word=$2
    4454 echo "$as_me:$LINENO: checking for $ac_word" >&5
    4455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4456 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    4457   echo $ECHO_N "(cached) $ECHO_C" >&6
    4458 else
    4459   if test -n "$ac_ct_CXX"; then
    4460   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
    4461 else
    4462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4463 for as_dir in $PATH
    4464 do
    4465   IFS=$as_save_IFS
    4466   test -z "$as_dir" && as_dir=.
    4467   for ac_exec_ext in '' $ac_executable_extensions; do
    4468   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    4469     ac_cv_prog_ac_ct_CXX="$ac_prog"
    4470     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    4471     break 2
    4472   fi
    4473 done
    4474 done
    4475 
    4476 fi
    4477 fi
    4478 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    4479 if test -n "$ac_ct_CXX"; then
    4480   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    4481 echo "${ECHO_T}$ac_ct_CXX" >&6
    4482 else
    4483   echo "$as_me:$LINENO: result: no" >&5
    4484 echo "${ECHO_T}no" >&6
    4485 fi
    4486 
    4487   test -n "$ac_ct_CXX" && break
    4488 done
    4489 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
    4490 
    4491   CXX=$ac_ct_CXX
    4492 fi
    4493 
    4494 
    4495 # Provide some information about the compiler.
    4496 echo "$as_me:$LINENO:" \
    4497      "checking for C++ compiler version" >&5
    4498 ac_compiler=`set X $ac_compile; echo $2`
    4499 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    4500   (eval $ac_compiler --version </dev/null >&5) 2>&5
    4501   ac_status=$?
    4502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4503   (exit $ac_status); }
    4504 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    4505   (eval $ac_compiler -v </dev/null >&5) 2>&5
    4506   ac_status=$?
    4507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4508   (exit $ac_status); }
    4509 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    4510   (eval $ac_compiler -V </dev/null >&5) 2>&5
    4511   ac_status=$?
    4512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4513   (exit $ac_status); }
    4514 
    4515 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    4516 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
    4517 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    4518   echo $ECHO_N "(cached) $ECHO_C" >&6
    4519 else
    4520   cat >conftest.$ac_ext <<_ACEOF
    4521 /* confdefs.h.  */
    4522 _ACEOF
    4523 cat confdefs.h >>conftest.$ac_ext
    4524 cat >>conftest.$ac_ext <<_ACEOF
    4525 /* end confdefs.h.  */
    4526 
    4527 int
    4528 main ()
    4529 {
    4530 #ifndef __GNUC__
    4531        choke me
    4532 #endif
    4533 
    4534   ;
    4535   return 0;
    4536 }
    4537 _ACEOF
    4538 rm -f conftest.$ac_objext
    4539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4540   (eval $ac_compile) 2>conftest.er1
    4541   ac_status=$?
    4542   grep -v '^ *+' conftest.er1 >conftest.err
    4543   rm -f conftest.er1
    4544   cat conftest.err >&5
    4545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4546   (exit $ac_status); } &&
    4547          { ac_try='test -z "$ac_cxx_werror_flag"
    4548                          || test ! -s conftest.err'
    4549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4550   (eval $ac_try) 2>&5
    4551   ac_status=$?
    4552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4553   (exit $ac_status); }; } &&
    4554          { ac_try='test -s conftest.$ac_objext'
    4555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4556   (eval $ac_try) 2>&5
    4557   ac_status=$?
    4558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4559   (exit $ac_status); }; }; then
    4560   ac_compiler_gnu=yes
    4561 else
    4562   echo "$as_me: failed program was:" >&5
    4563 sed 's/^/| /' conftest.$ac_ext >&5
    4564 
    4565 ac_compiler_gnu=no
    4566 fi
    4567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4568 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    4569 
    4570 fi
    4571 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    4572 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
    4573 GXX=`test $ac_compiler_gnu = yes && echo yes`
    4574 ac_test_CXXFLAGS=${CXXFLAGS+set}
    4575 ac_save_CXXFLAGS=$CXXFLAGS
    4576 CXXFLAGS="-g"
    4577 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    4578 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
    4579 if test "${ac_cv_prog_cxx_g+set}" = set; then
    4580   echo $ECHO_N "(cached) $ECHO_C" >&6
    4581 else
    4582   cat >conftest.$ac_ext <<_ACEOF
    4583 /* confdefs.h.  */
    4584 _ACEOF
    4585 cat confdefs.h >>conftest.$ac_ext
    4586 cat >>conftest.$ac_ext <<_ACEOF
    4587 /* end confdefs.h.  */
    4588 
    4589 int
    4590 main ()
    4591 {
    4592 
    4593   ;
    4594   return 0;
    4595 }
    4596 _ACEOF
    4597 rm -f conftest.$ac_objext
    4598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4599   (eval $ac_compile) 2>conftest.er1
    4600   ac_status=$?
    4601   grep -v '^ *+' conftest.er1 >conftest.err
    4602   rm -f conftest.er1
    4603   cat conftest.err >&5
    4604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4605   (exit $ac_status); } &&
    4606          { ac_try='test -z "$ac_cxx_werror_flag"
    4607                          || test ! -s conftest.err'
    4608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4609   (eval $ac_try) 2>&5
    4610   ac_status=$?
    4611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4612   (exit $ac_status); }; } &&
    4613          { ac_try='test -s conftest.$ac_objext'
    4614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4615   (eval $ac_try) 2>&5
    4616   ac_status=$?
    4617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4618   (exit $ac_status); }; }; then
    4619   ac_cv_prog_cxx_g=yes
    4620 else
    4621   echo "$as_me: failed program was:" >&5
    4622 sed 's/^/| /' conftest.$ac_ext >&5
    4623 
    4624 ac_cv_prog_cxx_g=no
    4625 fi
    4626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4627 fi
    4628 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    4629 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
    4630 if test "$ac_test_CXXFLAGS" = set; then
    4631   CXXFLAGS=$ac_save_CXXFLAGS
    4632 elif test $ac_cv_prog_cxx_g = yes; then
    4633   if test "$GXX" = yes; then
    4634     CXXFLAGS="-g -O2"
    4635   else
    4636     CXXFLAGS="-g"
    4637   fi
    4638 else
    4639   if test "$GXX" = yes; then
    4640     CXXFLAGS="-O2"
    4641   else
    4642     CXXFLAGS=
    4643   fi
    4644 fi
    4645 for ac_declaration in \
    4646    '' \
    4647    'extern "C" void std::exit (int) throw (); using std::exit;' \
    4648    'extern "C" void std::exit (int); using std::exit;' \
    4649    'extern "C" void exit (int) throw ();' \
    4650    'extern "C" void exit (int);' \
    4651    'void exit (int);'
    4652 do
    4653   cat >conftest.$ac_ext <<_ACEOF
    4654 /* confdefs.h.  */
    4655 _ACEOF
    4656 cat confdefs.h >>conftest.$ac_ext
    4657 cat >>conftest.$ac_ext <<_ACEOF
    4658 /* end confdefs.h.  */
    4659 $ac_declaration
    4660 #include <stdlib.h>
    4661 int
    4662 main ()
    4663 {
    4664 exit (42);
    4665   ;
    4666   return 0;
    4667 }
    4668 _ACEOF
    4669 rm -f conftest.$ac_objext
    4670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4671   (eval $ac_compile) 2>conftest.er1
    4672   ac_status=$?
    4673   grep -v '^ *+' conftest.er1 >conftest.err
    4674   rm -f conftest.er1
    4675   cat conftest.err >&5
    4676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4677   (exit $ac_status); } &&
    4678          { ac_try='test -z "$ac_cxx_werror_flag"
    4679                          || test ! -s conftest.err'
    4680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4681   (eval $ac_try) 2>&5
    4682   ac_status=$?
    4683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4684   (exit $ac_status); }; } &&
    4685          { ac_try='test -s conftest.$ac_objext'
    4686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4687   (eval $ac_try) 2>&5
    4688   ac_status=$?
    4689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4690   (exit $ac_status); }; }; then
    4691   :
    4692 else
    4693   echo "$as_me: failed program was:" >&5
    4694 sed 's/^/| /' conftest.$ac_ext >&5
    4695 
    4696 continue
    4697 fi
    4698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4699   cat >conftest.$ac_ext <<_ACEOF
    4700 /* confdefs.h.  */
    4701 _ACEOF
    4702 cat confdefs.h >>conftest.$ac_ext
    4703 cat >>conftest.$ac_ext <<_ACEOF
    4704 /* end confdefs.h.  */
    4705 $ac_declaration
    4706 int
    4707 main ()
    4708 {
    4709 exit (42);
    4710   ;
    4711   return 0;
    4712 }
    4713 _ACEOF
    4714 rm -f conftest.$ac_objext
    4715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4716   (eval $ac_compile) 2>conftest.er1
    4717   ac_status=$?
    4718   grep -v '^ *+' conftest.er1 >conftest.err
    4719   rm -f conftest.er1
    4720   cat conftest.err >&5
    4721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4722   (exit $ac_status); } &&
    4723          { ac_try='test -z "$ac_cxx_werror_flag"
    4724                          || test ! -s conftest.err'
    4725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4726   (eval $ac_try) 2>&5
    4727   ac_status=$?
    4728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4729   (exit $ac_status); }; } &&
    4730          { ac_try='test -s conftest.$ac_objext'
    4731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4732   (eval $ac_try) 2>&5
    4733   ac_status=$?
    4734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4735   (exit $ac_status); }; }; then
    4736   break
    4737 else
    4738   echo "$as_me: failed program was:" >&5
    4739 sed 's/^/| /' conftest.$ac_ext >&5
    4740 
    4741 fi
    4742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4743 done
    4744 rm -f conftest*
    4745 if test -n "$ac_declaration"; then
    4746   echo '#ifdef __cplusplus' >>confdefs.h
    4747   echo $ac_declaration      >>confdefs.h
    4748   echo '#endif'             >>confdefs.h
    4749 fi
    4750 
    4751 ac_ext=cc
    4752 ac_cpp='$CXXCPP $CPPFLAGS'
    4753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    4754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    4756 
    4757 depcc="$CXX"  am_compiler_list=
    4758 
    4759 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
    4760 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
    4761 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
    4762   echo $ECHO_N "(cached) $ECHO_C" >&6
    4763 else
    4764   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
    4765   # We make a subdir and do the tests there.  Otherwise we can end up
    4766   # making bogus files that we don't know about and never remove.  For
    4767   # instance it was reported that on HP-UX the gcc test will end up
    4768   # making a dummy file named `D' -- because `-MD' means `put the output
    4769   # in D'.
    4770   mkdir conftest.dir
    4771   # Copy depcomp to subdir because otherwise we won't find it if we're
    4772   # using a relative directory.
    4773   cp "$am_depcomp" conftest.dir
    4774   cd conftest.dir
    4775 
    4776   am_cv_CXX_dependencies_compiler_type=none
    4777   if test "$am_compiler_list" = ""; then
    4778      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
    4779   fi
    4780   for depmode in $am_compiler_list; do
    4781     # We need to recreate these files for each test, as the compiler may
    4782     # overwrite some of them when testing with obscure command lines.
    4783     # This happens at least with the AIX C compiler.
    4784     echo '#include "conftest.h"' > conftest.c
    4785     echo 'int i;' > conftest.h
    4786     echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
    4787 
    4788     case $depmode in
    4789     nosideeffect)
    4790       # after this tag, mechanisms are not by side-effect, so they'll
    4791       # only be used when explicitly requested
    4792       if test "x$enable_dependency_tracking" = xyes; then
    4793         continue
    4794       else
    4795         break
    4796       fi
    4797       ;;
    4798     none) break ;;
    4799     esac
    4800     # We check with `-c' and `-o' for the sake of the "dashmstdout"
    4801     # mode.  It turns out that the SunPro C++ compiler does not properly
    4802     # handle `-M -o', and we need to detect this.
    4803     if depmode=$depmode \
    4804        source=conftest.c object=conftest.o \
    4805        depfile=conftest.Po tmpdepfile=conftest.TPo \
    4806        $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
    4807        grep conftest.h conftest.Po > /dev/null 2>&1 &&
    4808        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    4809       am_cv_CXX_dependencies_compiler_type=$depmode
    4810       break
    4811     fi
    4812   done
    4813 
    4814   cd ..
    4815   rm -rf conftest.dir
    4816 else
    4817   am_cv_CXX_dependencies_compiler_type=none
    4818 fi
    4819 
    4820 fi
    4821 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
    4822 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
    4823 CXXDEPMODE="depmode=$am_cv_CXX_dependencies_compiler_type"
    4824 
    4825 
    4826 ac_ext=cc
    4827 ac_cpp='$CXXCPP $CPPFLAGS'
    4828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    4829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    4831 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
    4832 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
    4833 if test -z "$CXXCPP"; then
    4834   if test "${ac_cv_prog_CXXCPP+set}" = set; then
    4835   echo $ECHO_N "(cached) $ECHO_C" >&6
    4836 else
    4837       # Double quotes because CXXCPP needs to be expanded
    4838     for CXXCPP in "$CXX -E" "/lib/cpp"
    4839     do
    4840       ac_preproc_ok=false
    4841 for ac_cxx_preproc_warn_flag in '' yes
    4842 do
    4843   # Use a header file that comes with gcc, so configuring glibc
    4844   # with a fresh cross-compiler works.
    4845   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    4846   # <limits.h> exists even on freestanding compilers.
    4847   # On the NeXT, cc -E runs the code through the compiler's parser,
    4848   # not just through cpp. "Syntax error" is here to catch this case.
    4849   cat >conftest.$ac_ext <<_ACEOF
    4850 /* confdefs.h.  */
    4851 _ACEOF
    4852 cat confdefs.h >>conftest.$ac_ext
    4853 cat >>conftest.$ac_ext <<_ACEOF
    4854 /* end confdefs.h.  */
    4855 #ifdef __STDC__
    4856 # include <limits.h>
    4857 #else
    4858 # include <assert.h>
    4859 #endif
    4860                      Syntax error
    4861 _ACEOF
    4862 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    4863   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4864   ac_status=$?
    4865   grep -v '^ *+' conftest.er1 >conftest.err
    4866   rm -f conftest.er1
    4867   cat conftest.err >&5
    4868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4869   (exit $ac_status); } >/dev/null; then
    4870   if test -s conftest.err; then
    4871     ac_cpp_err=$ac_cxx_preproc_warn_flag
    4872     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    4873   else
    4874     ac_cpp_err=
    4875   fi
    4876 else
    4877   ac_cpp_err=yes
    4878 fi
    4879 if test -z "$ac_cpp_err"; then
    4880   :
    4881 else
    4882   echo "$as_me: failed program was:" >&5
    4883 sed 's/^/| /' conftest.$ac_ext >&5
    4884 
    4885   # Broken: fails on valid input.
    4886 continue
    4887 fi
    4888 rm -f conftest.err conftest.$ac_ext
    4889 
    4890   # OK, works on sane cases.  Now check whether non-existent headers
    4891   # can be detected and how.
    4892   cat >conftest.$ac_ext <<_ACEOF
    4893 /* confdefs.h.  */
    4894 _ACEOF
    4895 cat confdefs.h >>conftest.$ac_ext
    4896 cat >>conftest.$ac_ext <<_ACEOF
    4897 /* end confdefs.h.  */
    4898 #include <ac_nonexistent.h>
    4899 _ACEOF
    4900 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    4901   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4902   ac_status=$?
    4903   grep -v '^ *+' conftest.er1 >conftest.err
    4904   rm -f conftest.er1
    4905   cat conftest.err >&5
    4906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4907   (exit $ac_status); } >/dev/null; then
    4908   if test -s conftest.err; then
    4909     ac_cpp_err=$ac_cxx_preproc_warn_flag
    4910     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    4911   else
    4912     ac_cpp_err=
    4913   fi
    4914 else
    4915   ac_cpp_err=yes
    4916 fi
    4917 if test -z "$ac_cpp_err"; then
    4918   # Broken: success on invalid input.
    4919 continue
    4920 else
    4921   echo "$as_me: failed program was:" >&5
    4922 sed 's/^/| /' conftest.$ac_ext >&5
    4923 
    4924   # Passes both tests.
    4925 ac_preproc_ok=:
    4926 break
    4927 fi
    4928 rm -f conftest.err conftest.$ac_ext
    4929 
    4930 done
    4931 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4932 rm -f conftest.err conftest.$ac_ext
    4933 if $ac_preproc_ok; then
    4934   break
    4935 fi
    4936 
    4937     done
    4938     ac_cv_prog_CXXCPP=$CXXCPP
    4939 
    4940 fi
    4941   CXXCPP=$ac_cv_prog_CXXCPP
    4942 else
    4943   ac_cv_prog_CXXCPP=$CXXCPP
    4944 fi
    4945 echo "$as_me:$LINENO: result: $CXXCPP" >&5
    4946 echo "${ECHO_T}$CXXCPP" >&6
    4947 ac_preproc_ok=false
    4948 for ac_cxx_preproc_warn_flag in '' yes
    4949 do
    4950   # Use a header file that comes with gcc, so configuring glibc
    4951   # with a fresh cross-compiler works.
    4952   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    4953   # <limits.h> exists even on freestanding compilers.
    4954   # On the NeXT, cc -E runs the code through the compiler's parser,
    4955   # not just through cpp. "Syntax error" is here to catch this case.
    4956   cat >conftest.$ac_ext <<_ACEOF
    4957 /* confdefs.h.  */
    4958 _ACEOF
    4959 cat confdefs.h >>conftest.$ac_ext
    4960 cat >>conftest.$ac_ext <<_ACEOF
    4961 /* end confdefs.h.  */
    4962 #ifdef __STDC__
    4963 # include <limits.h>
    4964 #else
    4965 # include <assert.h>
    4966 #endif
    4967                      Syntax error
    4968 _ACEOF
    4969 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    4970   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4971   ac_status=$?
    4972   grep -v '^ *+' conftest.er1 >conftest.err
    4973   rm -f conftest.er1
    4974   cat conftest.err >&5
    4975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4976   (exit $ac_status); } >/dev/null; then
    4977   if test -s conftest.err; then
    4978     ac_cpp_err=$ac_cxx_preproc_warn_flag
    4979     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    4980   else
    4981     ac_cpp_err=
    4982   fi
    4983 else
    4984   ac_cpp_err=yes
    4985 fi
    4986 if test -z "$ac_cpp_err"; then
    4987   :
    4988 else
    4989   echo "$as_me: failed program was:" >&5
    4990 sed 's/^/| /' conftest.$ac_ext >&5
    4991 
    4992   # Broken: fails on valid input.
    4993 continue
    4994 fi
    4995 rm -f conftest.err conftest.$ac_ext
    4996 
    4997   # OK, works on sane cases.  Now check whether non-existent headers
    4998   # can be detected and how.
    4999   cat >conftest.$ac_ext <<_ACEOF
    5000 /* confdefs.h.  */
    5001 _ACEOF
    5002 cat confdefs.h >>conftest.$ac_ext
    5003 cat >>conftest.$ac_ext <<_ACEOF
    5004 /* end confdefs.h.  */
    5005 #include <ac_nonexistent.h>
    5006 _ACEOF
    5007 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    5008   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    5009   ac_status=$?
    5010   grep -v '^ *+' conftest.er1 >conftest.err
    5011   rm -f conftest.er1
    5012   cat conftest.err >&5
    5013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5014   (exit $ac_status); } >/dev/null; then
    5015   if test -s conftest.err; then
    5016     ac_cpp_err=$ac_cxx_preproc_warn_flag
    5017     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    5018   else
    5019     ac_cpp_err=
    5020   fi
    5021 else
    5022   ac_cpp_err=yes
    5023 fi
    5024 if test -z "$ac_cpp_err"; then
    5025   # Broken: success on invalid input.
    5026 continue
    5027 else
    5028   echo "$as_me: failed program was:" >&5
    5029 sed 's/^/| /' conftest.$ac_ext >&5
    5030 
    5031   # Passes both tests.
    5032 ac_preproc_ok=:
    5033 break
    5034 fi
    5035 rm -f conftest.err conftest.$ac_ext
    5036 
    5037 done
    5038 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    5039 rm -f conftest.err conftest.$ac_ext
    5040 if $ac_preproc_ok; then
    5041   :
    5042 else
    5043   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    5044 See \`config.log' for more details." >&5
    5045 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    5046 See \`config.log' for more details." >&2;}
    5047    { (exit 1); exit 1; }; }
    5048 fi
    5049 
    5050 ac_ext=cc
    5051 ac_cpp='$CXXCPP $CPPFLAGS'
    5052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    5053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    5054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    5055 
    5056 
    5057 ac_ext=f
    5058 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    5059 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    5060 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    5061 if test -n "$ac_tool_prefix"; then
    5062   for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
    5063   do
    5064     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    5065 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    5066 echo "$as_me:$LINENO: checking for $ac_word" >&5
    5067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    5068 if test "${ac_cv_prog_F77+set}" = set; then
    5069   echo $ECHO_N "(cached) $ECHO_C" >&6
    5070 else
    5071   if test -n "$F77"; then
    5072   ac_cv_prog_F77="$F77" # Let the user override the test.
    5073 else
    5074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5075 for as_dir in $PATH
    5076 do
    5077   IFS=$as_save_IFS
    5078   test -z "$as_dir" && as_dir=.
    5079   for ac_exec_ext in '' $ac_executable_extensions; do
    5080   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5081     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
    5082     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    5083     break 2
    5084   fi
    5085 done
    5086 done
    5087 
    5088 fi
    5089 fi
    5090 F77=$ac_cv_prog_F77
    5091 if test -n "$F77"; then
    5092   echo "$as_me:$LINENO: result: $F77" >&5
    5093 echo "${ECHO_T}$F77" >&6
    5094 else
    5095   echo "$as_me:$LINENO: result: no" >&5
    5096 echo "${ECHO_T}no" >&6
    5097 fi
    5098 
    5099     test -n "$F77" && break
    5100   done
    5101 fi
    5102 if test -z "$F77"; then
    5103   ac_ct_F77=$F77
    5104   for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
    5105 do
    5106   # Extract the first word of "$ac_prog", so it can be a program name with args.
    5107 set dummy $ac_prog; ac_word=$2
    5108 echo "$as_me:$LINENO: checking for $ac_word" >&5
    5109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    5110 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
    5111   echo $ECHO_N "(cached) $ECHO_C" >&6
    5112 else
    5113   if test -n "$ac_ct_F77"; then
    5114   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
    5115 else
    5116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5117 for as_dir in $PATH
    5118 do
    5119   IFS=$as_save_IFS
    5120   test -z "$as_dir" && as_dir=.
    5121   for ac_exec_ext in '' $ac_executable_extensions; do
    5122   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5123     ac_cv_prog_ac_ct_F77="$ac_prog"
    5124     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    5125     break 2
    5126   fi
    5127 done
    5128 done
    5129 
    5130 fi
    5131 fi
    5132 ac_ct_F77=$ac_cv_prog_ac_ct_F77
    5133 if test -n "$ac_ct_F77"; then
    5134   echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
    5135 echo "${ECHO_T}$ac_ct_F77" >&6
    5136 else
    5137   echo "$as_me:$LINENO: result: no" >&5
    5138 echo "${ECHO_T}no" >&6
    5139 fi
    5140 
    5141   test -n "$ac_ct_F77" && break
    5142 done
    5143 
    5144   F77=$ac_ct_F77
    5145 fi
    5146 
    5147 
    5148 # Provide some information about the compiler.
    5149 echo "$as_me:5149:" \
    5150      "checking for Fortran 77 compiler version" >&5
    5151 ac_compiler=`set X $ac_compile; echo $2`
    5152 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    5153   (eval $ac_compiler --version </dev/null >&5) 2>&5
    5154   ac_status=$?
    5155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5156   (exit $ac_status); }
    5157 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    5158   (eval $ac_compiler -v </dev/null >&5) 2>&5
    5159   ac_status=$?
    5160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5161   (exit $ac_status); }
    5162 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    5163   (eval $ac_compiler -V </dev/null >&5) 2>&5
    5164   ac_status=$?
    5165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5166   (exit $ac_status); }
    5167 rm -f a.out
    5168 
    5169 # If we don't use `.F' as extension, the preprocessor is not run on the
    5170 # input file.  (Note that this only needs to work for GNU compilers.)
    5171 ac_save_ext=$ac_ext
    5172 ac_ext=F
    5173 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
    5174 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
    5175 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
    5176   echo $ECHO_N "(cached) $ECHO_C" >&6
    5177 else
    5178   cat >conftest.$ac_ext <<_ACEOF
    5179       program main
    5180 #ifndef __GNUC__
    5181        choke me
    5182 #endif
    5183 
    5184       end
    5185 _ACEOF
    5186 rm -f conftest.$ac_objext
    5187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5188   (eval $ac_compile) 2>conftest.er1
    5189   ac_status=$?
    5190   grep -v '^ *+' conftest.er1 >conftest.err
    5191   rm -f conftest.er1
    5192   cat conftest.err >&5
    5193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5194   (exit $ac_status); } &&
    5195          { ac_try='test -z "$ac_f77_werror_flag"
    5196                          || test ! -s conftest.err'
    5197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5198   (eval $ac_try) 2>&5
    5199   ac_status=$?
    5200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5201   (exit $ac_status); }; } &&
    5202          { ac_try='test -s conftest.$ac_objext'
    5203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5204   (eval $ac_try) 2>&5
    5205   ac_status=$?
    5206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5207   (exit $ac_status); }; }; then
    5208   ac_compiler_gnu=yes
    5209 else
    5210   echo "$as_me: failed program was:" >&5
    5211 sed 's/^/| /' conftest.$ac_ext >&5
    5212 
    5213 ac_compiler_gnu=no
    5214 fi
    5215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5216 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
    5217 
    5218 fi
    5219 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
    5220 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
    5221 ac_ext=$ac_save_ext
    5222 ac_test_FFLAGS=${FFLAGS+set}
    5223 ac_save_FFLAGS=$FFLAGS
    5224 FFLAGS=
    5225 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
    5226 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
    5227 if test "${ac_cv_prog_f77_g+set}" = set; then
    5228   echo $ECHO_N "(cached) $ECHO_C" >&6
    5229 else
    5230   FFLAGS=-g
    5231 cat >conftest.$ac_ext <<_ACEOF
    5232       program main
    5233 
    5234       end
    5235 _ACEOF
    5236 rm -f conftest.$ac_objext
    5237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5238   (eval $ac_compile) 2>conftest.er1
    5239   ac_status=$?
    5240   grep -v '^ *+' conftest.er1 >conftest.err
    5241   rm -f conftest.er1
    5242   cat conftest.err >&5
    5243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5244   (exit $ac_status); } &&
    5245          { ac_try='test -z "$ac_f77_werror_flag"
    5246                          || test ! -s conftest.err'
    5247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5248   (eval $ac_try) 2>&5
    5249   ac_status=$?
    5250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5251   (exit $ac_status); }; } &&
    5252          { ac_try='test -s conftest.$ac_objext'
    5253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5254   (eval $ac_try) 2>&5
    5255   ac_status=$?
    5256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5257   (exit $ac_status); }; }; then
    5258   ac_cv_prog_f77_g=yes
    5259 else
    5260   echo "$as_me: failed program was:" >&5
    5261 sed 's/^/| /' conftest.$ac_ext >&5
    5262 
    5263 ac_cv_prog_f77_g=no
    5264 fi
    5265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5266 
    5267 fi
    5268 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
    5269 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
    5270 if test "$ac_test_FFLAGS" = set; then
    5271   FFLAGS=$ac_save_FFLAGS
    5272 elif test $ac_cv_prog_f77_g = yes; then
    5273   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
    5274     FFLAGS="-g -O2"
    5275   else
    5276     FFLAGS="-g"
    5277   fi
    5278 else
    5279   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
    5280     FFLAGS="-O2"
    5281   else
    5282     FFLAGS=
    5283   fi
    5284 fi
    5285 
    5286 G77=`test $ac_compiler_gnu = yes && echo yes`
    5287 ac_ext=c
    5288 ac_cpp='$CPP $CPPFLAGS'
    5289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    5290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    5291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    5292 
    5293 
    5294 
    5295 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
    5296 
    5297 # find the maximum length of command line arguments
    5298 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
    5299 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
    5300 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
    5301   echo $ECHO_N "(cached) $ECHO_C" >&6
    5302 else
    5303     i=0
    5304   testring="ABCD"
    5305 
    5306   case $build_os in
    5307   msdosdjgpp*)
    5308     # On DJGPP, this test can blow up pretty badly due to problems in libc
    5309     # (any single argument exceeding 2000 bytes causes a buffer overrun
    5310     # during glob expansion).  Even if it were fixed, the result of this
    5311     # check would be larger than it should be.
    5312     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
    5313     ;;
    5314 
    5315   gnu*)
    5316     # Under GNU Hurd, this test is not required because there is
    5317     # no limit to the length of command line arguments.
    5318     # Libtool will interpret -1 as no limit whatsoever
    5319     lt_cv_sys_max_cmd_len=-1;
    5320     ;;
    5321 
    5322   cygwin* | mingw*)
    5323     # On Win9x/ME, this test blows up -- it succeeds, but takes
    5324     # about 5 minutes as the teststring grows exponentially.
    5325     # Worse, since 9x/ME are not pre-emptively multitasking,
    5326     # you end up with a "frozen" computer, even though with patience
    5327     # the test eventually succeeds (with a max line length of 256k).
    5328     # Instead, let's just punt: use the minimum linelength reported by
    5329     # all of the supported platforms: 8192 (on NT/2K/XP).
    5330     lt_cv_sys_max_cmd_len=8192;
    5331     ;;
    5332 
    5333   amigaos*)
    5334     # On AmigaOS with pdksh, this test takes hours, literally.
    5335     # So we just punt and use a minimum line length of 8192.
    5336     lt_cv_sys_max_cmd_len=8192;
    5337     ;;
    5338 
    5339  *)
    5340     # If test is not a shell built-in, we'll probably end up computing a
    5341     # maximum length that is only half of the actual maximum length, but
    5342     # we can't tell.
    5343     while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
    5344                = "XX$testring") >/dev/null 2>&1 &&
    5345             new_result=`expr "X$testring" : ".*" 2>&1` &&
    5346             lt_cv_sys_max_cmd_len=$new_result &&
    5347             test $i != 17 # 1/2 MB should be enough
    5348     do
    5349       i=`expr $i + 1`
    5350       testring=$testring$testring
    5351     done
    5352     testring=
    5353     # Add a significant safety factor because C++ compilers can tack on massive
    5354     # amounts of additional arguments before passing them to the linker.
    5355     # It appears as though 1/2 is a usable value.
    5356     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
    5357     ;;
    5358   esac
    5359 
    5360 fi
    5361 
    5362 if test -n $lt_cv_sys_max_cmd_len ; then
    5363   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
    5364 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
    5365 else
    5366   echo "$as_me:$LINENO: result: none" >&5
    5367 echo "${ECHO_T}none" >&6
    5368 fi
     3145
     3146
     3147
     3148
    53693149
    53703150
     
    53723152
    53733153# Check for command to grab the raw symbol name followed by C symbol from nm.
    5374 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
    5375 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
     3154echo "$as_me:$LINENO: checking command to parse $NM output" >&5
     3155echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
    53763156if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
    53773157  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    53913171
    53923172# Transform an extracted symbol line into a proper C declaration
    5393 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
     3173lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
    53943174
    53953175# Transform an extracted symbol line into symbol name and symbol address
    5396 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'"
     3176lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
    53973177
    53983178# Define system-specific variables.
     
    54053185  ;;
    54063186hpux*) # Its linker distinguishes data from code symbols
    5407   if test "$host_cpu" = ia64; then
    5408     symcode='[ABCDEGRST]'
    5409   fi
    5410   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
    5411   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'"
     3187  lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
     3188  lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
    54123189  ;;
    54133190irix* | nonstopux*)
    54143191  symcode='[BCDEGRST]'
    54153192  ;;
    5416 osf*)
    5417   symcode='[BCDEGQRST]'
    5418   ;;
    54193193solaris* | sysv5*)
    5420   symcode='[BDRT]'
     3194  symcode='[BDT]'
    54213195  ;;
    54223196sysv4)
     
    54273201# Handle CRLF in mingw tool chain
    54283202opt_cr=
    5429 case $build_os in
     3203case $host_os in
    54303204mingw*)
    54313205  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
     
    54343208
    54353209# If we're using GNU nm, then use its standard symbol codes.
    5436 case `$NM -V 2>&1` in
    5437 *GNU* | *'with BFD'*)
    5438   symcode='[ABCDGIRSTW]' ;;
    5439 esac
     3210if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
     3211  symcode='[ABCDGISTW]'
     3212fi
    54403213
    54413214# Try without a prefix undercore, then with it.
     
    54433216
    54443217  # Write the raw and C identifiers.
    5445   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
     3218lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[         ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
    54463219
    54473220  # Check to see that the pipe works correctly.
    54483221  pipe_works=no
    5449 
    54503222  rm -f conftest*
    54513223  cat > conftest.$ac_ext <<EOF
     
    54813253
    54823254      # Make sure that we snagged all the symbols we need.
    5483       if grep ' nm_test_var$' "$nlist" >/dev/null; then
    5484         if grep ' nm_test_func$' "$nlist" >/dev/null; then
     3255      if egrep ' nm_test_var$' "$nlist" >/dev/null; then
     3256        if egrep ' nm_test_func$' "$nlist" >/dev/null; then
    54853257          cat <<EOF > conftest.$ac_ext
    54863258#ifdef __cplusplus
     
    54903262EOF
    54913263          # Now generate the symbol file.
    5492           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
     3264          eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
    54933265
    54943266          cat <<EOF >> conftest.$ac_ext
    54953267#if defined (__STDC__) && __STDC__
    5496 # define lt_ptr_t void *
     3268# define lt_ptr void *
    54973269#else
    5498 # define lt_ptr_t char *
     3270# define lt_ptr char *
    54993271# define const
    55003272#endif
     
    55033275const struct {
    55043276  const char *name;
    5505   lt_ptr_t address;
     3277  lt_ptr address;
    55063278}
    55073279lt_preloaded_symbols[] =
    55083280{
    55093281EOF
    5510           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
     3282          sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
    55113283          cat <<\EOF >> conftest.$ac_ext
    5512   {0, (lt_ptr_t) 0}
     3284  {0, (lt_ptr) 0}
    55133285};
    55143286
     
    55193291          # Now try linking the two files.
    55203292          mv conftest.$ac_objext conftstm.$ac_objext
    5521           lt_save_LIBS="$LIBS"
    5522           lt_save_CFLAGS="$CFLAGS"
     3293          save_LIBS="$LIBS"
     3294          save_CFLAGS="$CFLAGS"
    55233295          LIBS="conftstm.$ac_objext"
    5524           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
     3296          CFLAGS="$CFLAGS$no_builtin_flag"
    55253297          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    55263298  (eval $ac_link) 2>&5
    55273299  ac_status=$?
    55283300  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5529   (exit $ac_status); } && test -s conftest${ac_exeext}; then
     3301  (exit $ac_status); } && test -s conftest; then
    55303302            pipe_works=yes
    55313303          fi
    5532           LIBS="$lt_save_LIBS"
    5533           CFLAGS="$lt_save_CFLAGS"
     3304          LIBS="$save_LIBS"
     3305          CFLAGS="$save_CFLAGS"
    55343306        else
    55353307          echo "cannot find nm_test_func in $nlist" >&5
     
    55573329fi
    55583330
     3331global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
    55593332if test -z "$lt_cv_sys_global_symbol_pipe"; then
    5560   lt_cv_sys_global_symbol_to_cdecl=
    5561 fi
    5562 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
     3333  global_symbol_to_cdecl=
     3334  global_symbol_to_c_name_address=
     3335else
     3336  global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
     3337  global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
     3338fi
     3339if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
     3340then
    55633341  echo "$as_me:$LINENO: result: failed" >&5
    55643342echo "${ECHO_T}failed" >&6
     
    55683346fi
    55693347
    5570 echo "$as_me:$LINENO: checking for objdir" >&5
    5571 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
    5572 if test "${lt_cv_objdir+set}" = set; then
     3348ac_ext=c
     3349ac_cpp='$CPP $CPPFLAGS'
     3350ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3351ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3352ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3353echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3354echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
     3355# On Suns, sometimes $CPP names a directory.
     3356if test -n "$CPP" && test -d "$CPP"; then
     3357  CPP=
     3358fi
     3359if test -z "$CPP"; then
     3360  if test "${ac_cv_prog_CPP+set}" = set; then
    55733361  echo $ECHO_N "(cached) $ECHO_C" >&6
    55743362else
    5575   rm -f .libs 2>/dev/null
    5576 mkdir .libs 2>/dev/null
    5577 if test -d .libs; then
    5578   lt_cv_objdir=.libs
    5579 else
    5580   # MS-DOS does not allow filenames that begin with a dot.
    5581   lt_cv_objdir=_libs
    5582 fi
    5583 rmdir .libs 2>/dev/null
    5584 fi
    5585 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
    5586 echo "${ECHO_T}$lt_cv_objdir" >&6
    5587 objdir=$lt_cv_objdir
    5588 
    5589 
    5590 
    5591 
    5592 
    5593 case $host_os in
    5594 aix3*)
    5595   # AIX sometimes has problems with the GCC collect2 program.  For some
    5596   # reason, if we set the COLLECT_NAMES environment variable, the problems
    5597   # vanish in a puff of smoke.
    5598   if test "X${COLLECT_NAMES+set}" != Xset; then
    5599     COLLECT_NAMES=
    5600     export COLLECT_NAMES
     3363      # Double quotes because CPP needs to be expanded
     3364    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
     3365    do
     3366      ac_preproc_ok=false
     3367for ac_c_preproc_warn_flag in '' yes
     3368do
     3369  # Use a header file that comes with gcc, so configuring glibc
     3370  # with a fresh cross-compiler works.
     3371  # On the NeXT, cc -E runs the code through the compiler's parser,
     3372  # not just through cpp. "Syntax error" is here to catch this case.
     3373  cat >conftest.$ac_ext <<_ACEOF
     3374#line $LINENO "configure"
     3375#include "confdefs.h"
     3376#include <assert.h>
     3377                     Syntax error
     3378_ACEOF
     3379if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3380  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3381  ac_status=$?
     3382  egrep -v '^ *\+' conftest.er1 >conftest.err
     3383  rm -f conftest.er1
     3384  cat conftest.err >&5
     3385  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3386  (exit $ac_status); } >/dev/null; then
     3387  if test -s conftest.err; then
     3388    ac_cpp_err=$ac_c_preproc_warn_flag
     3389  else
     3390    ac_cpp_err=
     3391  fi
     3392else
     3393  ac_cpp_err=yes
     3394fi
     3395if test -z "$ac_cpp_err"; then
     3396  :
     3397else
     3398  echo "$as_me: failed program was:" >&5
     3399  cat conftest.$ac_ext >&5
     3400  # Broken: fails on valid input.
     3401continue
     3402fi
     3403rm -f conftest.err conftest.$ac_ext
     3404
     3405  # OK, works on sane cases.  Now check whether non-existent headers
     3406  # can be detected and how.
     3407  cat >conftest.$ac_ext <<_ACEOF
     3408#line $LINENO "configure"
     3409#include "confdefs.h"
     3410#include <ac_nonexistent.h>
     3411_ACEOF
     3412if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3413  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3414  ac_status=$?
     3415  egrep -v '^ *\+' conftest.er1 >conftest.err
     3416  rm -f conftest.er1
     3417  cat conftest.err >&5
     3418  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3419  (exit $ac_status); } >/dev/null; then
     3420  if test -s conftest.err; then
     3421    ac_cpp_err=$ac_c_preproc_warn_flag
     3422  else
     3423    ac_cpp_err=
     3424  fi
     3425else
     3426  ac_cpp_err=yes
     3427fi
     3428if test -z "$ac_cpp_err"; then
     3429  # Broken: success on invalid input.
     3430continue
     3431else
     3432  echo "$as_me: failed program was:" >&5
     3433  cat conftest.$ac_ext >&5
     3434  # Passes both tests.
     3435ac_preproc_ok=:
     3436break
     3437fi
     3438rm -f conftest.err conftest.$ac_ext
     3439
     3440done
     3441# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     3442rm -f conftest.err conftest.$ac_ext
     3443if $ac_preproc_ok; then
     3444  break
     3445fi
     3446
     3447    done
     3448    ac_cv_prog_CPP=$CPP
     3449
     3450fi
     3451  CPP=$ac_cv_prog_CPP
     3452else
     3453  ac_cv_prog_CPP=$CPP
     3454fi
     3455echo "$as_me:$LINENO: result: $CPP" >&5
     3456echo "${ECHO_T}$CPP" >&6
     3457ac_preproc_ok=false
     3458for ac_c_preproc_warn_flag in '' yes
     3459do
     3460  # Use a header file that comes with gcc, so configuring glibc
     3461  # with a fresh cross-compiler works.
     3462  # On the NeXT, cc -E runs the code through the compiler's parser,
     3463  # not just through cpp. "Syntax error" is here to catch this case.
     3464  cat >conftest.$ac_ext <<_ACEOF
     3465#line $LINENO "configure"
     3466#include "confdefs.h"
     3467#include <assert.h>
     3468                     Syntax error
     3469_ACEOF
     3470if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3471  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3472  ac_status=$?
     3473  egrep -v '^ *\+' conftest.er1 >conftest.err
     3474  rm -f conftest.er1
     3475  cat conftest.err >&5
     3476  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3477  (exit $ac_status); } >/dev/null; then
     3478  if test -s conftest.err; then
     3479    ac_cpp_err=$ac_c_preproc_warn_flag
     3480  else
     3481    ac_cpp_err=
     3482  fi
     3483else
     3484  ac_cpp_err=yes
     3485fi
     3486if test -z "$ac_cpp_err"; then
     3487  :
     3488else
     3489  echo "$as_me: failed program was:" >&5
     3490  cat conftest.$ac_ext >&5
     3491  # Broken: fails on valid input.
     3492continue
     3493fi
     3494rm -f conftest.err conftest.$ac_ext
     3495
     3496  # OK, works on sane cases.  Now check whether non-existent headers
     3497  # can be detected and how.
     3498  cat >conftest.$ac_ext <<_ACEOF
     3499#line $LINENO "configure"
     3500#include "confdefs.h"
     3501#include <ac_nonexistent.h>
     3502_ACEOF
     3503if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3504  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3505  ac_status=$?
     3506  egrep -v '^ *\+' conftest.er1 >conftest.err
     3507  rm -f conftest.er1
     3508  cat conftest.err >&5
     3509  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3510  (exit $ac_status); } >/dev/null; then
     3511  if test -s conftest.err; then
     3512    ac_cpp_err=$ac_c_preproc_warn_flag
     3513  else
     3514    ac_cpp_err=
     3515  fi
     3516else
     3517  ac_cpp_err=yes
     3518fi
     3519if test -z "$ac_cpp_err"; then
     3520  # Broken: success on invalid input.
     3521continue
     3522else
     3523  echo "$as_me: failed program was:" >&5
     3524  cat conftest.$ac_ext >&5
     3525  # Passes both tests.
     3526ac_preproc_ok=:
     3527break
     3528fi
     3529rm -f conftest.err conftest.$ac_ext
     3530
     3531done
     3532# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     3533rm -f conftest.err conftest.$ac_ext
     3534if $ac_preproc_ok; then
     3535  :
     3536else
     3537  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
     3538echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
     3539   { (exit 1); exit 1; }; }
     3540fi
     3541
     3542ac_ext=c
     3543ac_cpp='$CPP $CPPFLAGS'
     3544ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3545ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3546ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3547
     3548
     3549echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     3550echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     3551if test "${ac_cv_header_stdc+set}" = set; then
     3552  echo $ECHO_N "(cached) $ECHO_C" >&6
     3553else
     3554  cat >conftest.$ac_ext <<_ACEOF
     3555#line $LINENO "configure"
     3556#include "confdefs.h"
     3557#include <stdlib.h>
     3558#include <stdarg.h>
     3559#include <string.h>
     3560#include <float.h>
     3561
     3562_ACEOF
     3563if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3564  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3565  ac_status=$?
     3566  egrep -v '^ *\+' conftest.er1 >conftest.err
     3567  rm -f conftest.er1
     3568  cat conftest.err >&5
     3569  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3570  (exit $ac_status); } >/dev/null; then
     3571  if test -s conftest.err; then
     3572    ac_cpp_err=$ac_c_preproc_warn_flag
     3573  else
     3574    ac_cpp_err=
     3575  fi
     3576else
     3577  ac_cpp_err=yes
     3578fi
     3579if test -z "$ac_cpp_err"; then
     3580  ac_cv_header_stdc=yes
     3581else
     3582  echo "$as_me: failed program was:" >&5
     3583  cat conftest.$ac_ext >&5
     3584  ac_cv_header_stdc=no
     3585fi
     3586rm -f conftest.err conftest.$ac_ext
     3587
     3588if test $ac_cv_header_stdc = yes; then
     3589  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
     3590  cat >conftest.$ac_ext <<_ACEOF
     3591#line $LINENO "configure"
     3592#include "confdefs.h"
     3593#include <string.h>
     3594
     3595_ACEOF
     3596if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     3597  egrep "memchr" >/dev/null 2>&1; then
     3598  :
     3599else
     3600  ac_cv_header_stdc=no
     3601fi
     3602rm -f conftest*
     3603
     3604fi
     3605
     3606if test $ac_cv_header_stdc = yes; then
     3607  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
     3608  cat >conftest.$ac_ext <<_ACEOF
     3609#line $LINENO "configure"
     3610#include "confdefs.h"
     3611#include <stdlib.h>
     3612
     3613_ACEOF
     3614if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     3615  egrep "free" >/dev/null 2>&1; then
     3616  :
     3617else
     3618  ac_cv_header_stdc=no
     3619fi
     3620rm -f conftest*
     3621
     3622fi
     3623
     3624if test $ac_cv_header_stdc = yes; then
     3625  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
     3626  if test "$cross_compiling" = yes; then
     3627  :
     3628else
     3629  cat >conftest.$ac_ext <<_ACEOF
     3630#line $LINENO "configure"
     3631#include "confdefs.h"
     3632#include <ctype.h>
     3633#if ((' ' & 0x0FF) == 0x020)
     3634# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     3635# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
     3636#else
     3637# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
     3638                     || ('j' <= (c) && (c) <= 'r') \
     3639                     || ('s' <= (c) && (c) <= 'z'))
     3640# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
     3641#endif
     3642
     3643#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
     3644int
     3645main ()
     3646{
     3647  int i;
     3648  for (i = 0; i < 256; i++)
     3649    if (XOR (islower (i), ISLOWER (i))
     3650        || toupper (i) != TOUPPER (i))
     3651      exit(2);
     3652  exit (0);
     3653}
     3654_ACEOF
     3655rm -f conftest$ac_exeext
     3656if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3657  (eval $ac_link) 2>&5
     3658  ac_status=$?
     3659  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3660  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     3661  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3662  (eval $ac_try) 2>&5
     3663  ac_status=$?
     3664  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3665  (exit $ac_status); }; }; then
     3666  :
     3667else
     3668  echo "$as_me: program exited with status $ac_status" >&5
     3669echo "$as_me: failed program was:" >&5
     3670cat conftest.$ac_ext >&5
     3671( exit $ac_status )
     3672ac_cv_header_stdc=no
     3673fi
     3674rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     3675fi
     3676fi
     3677fi
     3678echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     3679echo "${ECHO_T}$ac_cv_header_stdc" >&6
     3680if test $ac_cv_header_stdc = yes; then
     3681
     3682cat >>confdefs.h <<\_ACEOF
     3683#define STDC_HEADERS 1
     3684_ACEOF
     3685
     3686fi
     3687
     3688# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     3689
     3690
     3691
     3692
     3693
     3694
     3695
     3696
     3697
     3698for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
     3699                  inttypes.h stdint.h unistd.h
     3700do
     3701as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     3702echo "$as_me:$LINENO: checking for $ac_header" >&5
     3703echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     3704if eval "test \"\${$as_ac_Header+set}\" = set"; then
     3705  echo $ECHO_N "(cached) $ECHO_C" >&6
     3706else
     3707  cat >conftest.$ac_ext <<_ACEOF
     3708#line $LINENO "configure"
     3709#include "confdefs.h"
     3710$ac_includes_default
     3711
     3712#include <$ac_header>
     3713_ACEOF
     3714rm -f conftest.$ac_objext
     3715if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3716  (eval $ac_compile) 2>&5
     3717  ac_status=$?
     3718  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3719  (exit $ac_status); } &&
     3720         { ac_try='test -s conftest.$ac_objext'
     3721  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3722  (eval $ac_try) 2>&5
     3723  ac_status=$?
     3724  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3725  (exit $ac_status); }; }; then
     3726  eval "$as_ac_Header=yes"
     3727else
     3728  echo "$as_me: failed program was:" >&5
     3729cat conftest.$ac_ext >&5
     3730eval "$as_ac_Header=no"
     3731fi
     3732rm -f conftest.$ac_objext conftest.$ac_ext
     3733fi
     3734echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     3735echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     3736if test `eval echo '${'$as_ac_Header'}'` = yes; then
     3737  cat >>confdefs.h <<_ACEOF
     3738#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     3739_ACEOF
     3740
     3741fi
     3742
     3743done
     3744
     3745
     3746
     3747for ac_header in dlfcn.h
     3748do
     3749as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     3750if eval "test \"\${$as_ac_Header+set}\" = set"; then
     3751  echo "$as_me:$LINENO: checking for $ac_header" >&5
     3752echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     3753if eval "test \"\${$as_ac_Header+set}\" = set"; then
     3754  echo $ECHO_N "(cached) $ECHO_C" >&6
     3755fi
     3756echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     3757echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     3758else
     3759  # Is the header compilable?
     3760echo "$as_me:$LINENO: checking $ac_header usability" >&5
     3761echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     3762cat >conftest.$ac_ext <<_ACEOF
     3763#line $LINENO "configure"
     3764#include "confdefs.h"
     3765$ac_includes_default
     3766#include <$ac_header>
     3767_ACEOF
     3768rm -f conftest.$ac_objext
     3769if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3770  (eval $ac_compile) 2>&5
     3771  ac_status=$?
     3772  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3773  (exit $ac_status); } &&
     3774         { ac_try='test -s conftest.$ac_objext'
     3775  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3776  (eval $ac_try) 2>&5
     3777  ac_status=$?
     3778  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3779  (exit $ac_status); }; }; then
     3780  ac_header_compiler=yes
     3781else
     3782  echo "$as_me: failed program was:" >&5
     3783cat conftest.$ac_ext >&5
     3784ac_header_compiler=no
     3785fi
     3786rm -f conftest.$ac_objext conftest.$ac_ext
     3787echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     3788echo "${ECHO_T}$ac_header_compiler" >&6
     3789
     3790# Is the header present?
     3791echo "$as_me:$LINENO: checking $ac_header presence" >&5
     3792echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     3793cat >conftest.$ac_ext <<_ACEOF
     3794#line $LINENO "configure"
     3795#include "confdefs.h"
     3796#include <$ac_header>
     3797_ACEOF
     3798if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3799  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3800  ac_status=$?
     3801  egrep -v '^ *\+' conftest.er1 >conftest.err
     3802  rm -f conftest.er1
     3803  cat conftest.err >&5
     3804  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3805  (exit $ac_status); } >/dev/null; then
     3806  if test -s conftest.err; then
     3807    ac_cpp_err=$ac_c_preproc_warn_flag
     3808  else
     3809    ac_cpp_err=
     3810  fi
     3811else
     3812  ac_cpp_err=yes
     3813fi
     3814if test -z "$ac_cpp_err"; then
     3815  ac_header_preproc=yes
     3816else
     3817  echo "$as_me: failed program was:" >&5
     3818  cat conftest.$ac_ext >&5
     3819  ac_header_preproc=no
     3820fi
     3821rm -f conftest.err conftest.$ac_ext
     3822echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     3823echo "${ECHO_T}$ac_header_preproc" >&6
     3824
     3825# So?  What about this header?
     3826case $ac_header_compiler:$ac_header_preproc in
     3827  yes:no )
     3828    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     3829echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     3830    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     3831echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
     3832  no:yes )
     3833    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     3834echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     3835    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
     3836echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
     3837    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     3838echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
     3839esac
     3840echo "$as_me:$LINENO: checking for $ac_header" >&5
     3841echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     3842if eval "test \"\${$as_ac_Header+set}\" = set"; then
     3843  echo $ECHO_N "(cached) $ECHO_C" >&6
     3844else
     3845  eval "$as_ac_Header=$ac_header_preproc"
     3846fi
     3847echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     3848echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     3849
     3850fi
     3851if test `eval echo '${'$as_ac_Header'}'` = yes; then
     3852  cat >>confdefs.h <<_ACEOF
     3853#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     3854_ACEOF
     3855
     3856fi
     3857
     3858done
     3859
     3860
     3861
     3862
     3863
     3864# Only perform the check for file, if the check method requires it
     3865case $deplibs_check_method in
     3866file_magic*)
     3867  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
     3868    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
     3869echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
     3870if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
     3871  echo $ECHO_N "(cached) $ECHO_C" >&6
     3872else
     3873  case $MAGIC_CMD in
     3874  /*)
     3875  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     3876  ;;
     3877  ?:/*)
     3878  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
     3879  ;;
     3880  *)
     3881  ac_save_MAGIC_CMD="$MAGIC_CMD"
     3882  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     3883  ac_dummy="/usr/bin:$PATH"
     3884  for ac_dir in $ac_dummy; do
     3885    test -z "$ac_dir" && ac_dir=.
     3886    if test -f $ac_dir/${ac_tool_prefix}file; then
     3887      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
     3888      if test -n "$file_magic_test_file"; then
     3889        case $deplibs_check_method in
     3890        "file_magic "*)
     3891          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
     3892          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
     3893          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
     3894            egrep "$file_magic_regex" > /dev/null; then
     3895            :
     3896          else
     3897            cat <<EOF 1>&2
     3898
     3899*** Warning: the command libtool uses to detect shared libraries,
     3900*** $file_magic_cmd, produces output that libtool cannot recognize.
     3901*** The result is that libtool may fail to recognize shared libraries
     3902*** as such.  This will affect the creation of libtool libraries that
     3903*** depend on shared libraries, but programs linked with such libtool
     3904*** libraries will work regardless of this problem.  Nevertheless, you
     3905*** may want to report the problem to your system manager and/or to
     3906*** bug-libtool@gnu.org
     3907
     3908EOF
     3909          fi ;;
     3910        esac
     3911      fi
     3912      break
     3913    fi
     3914  done
     3915  IFS="$ac_save_ifs"
     3916  MAGIC_CMD="$ac_save_MAGIC_CMD"
     3917  ;;
     3918esac
     3919fi
     3920
     3921MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
     3922if test -n "$MAGIC_CMD"; then
     3923  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
     3924echo "${ECHO_T}$MAGIC_CMD" >&6
     3925else
     3926  echo "$as_me:$LINENO: result: no" >&5
     3927echo "${ECHO_T}no" >&6
     3928fi
     3929
     3930if test -z "$lt_cv_path_MAGIC_CMD"; then
     3931  if test -n "$ac_tool_prefix"; then
     3932    echo "$as_me:$LINENO: checking for file" >&5
     3933echo $ECHO_N "checking for file... $ECHO_C" >&6
     3934if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
     3935  echo $ECHO_N "(cached) $ECHO_C" >&6
     3936else
     3937  case $MAGIC_CMD in
     3938  /*)
     3939  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     3940  ;;
     3941  ?:/*)
     3942  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
     3943  ;;
     3944  *)
     3945  ac_save_MAGIC_CMD="$MAGIC_CMD"
     3946  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     3947  ac_dummy="/usr/bin:$PATH"
     3948  for ac_dir in $ac_dummy; do
     3949    test -z "$ac_dir" && ac_dir=.
     3950    if test -f $ac_dir/file; then
     3951      lt_cv_path_MAGIC_CMD="$ac_dir/file"
     3952      if test -n "$file_magic_test_file"; then
     3953        case $deplibs_check_method in
     3954        "file_magic "*)
     3955          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
     3956          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
     3957          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
     3958            egrep "$file_magic_regex" > /dev/null; then
     3959            :
     3960          else
     3961            cat <<EOF 1>&2
     3962
     3963*** Warning: the command libtool uses to detect shared libraries,
     3964*** $file_magic_cmd, produces output that libtool cannot recognize.
     3965*** The result is that libtool may fail to recognize shared libraries
     3966*** as such.  This will affect the creation of libtool libraries that
     3967*** depend on shared libraries, but programs linked with such libtool
     3968*** libraries will work regardless of this problem.  Nevertheless, you
     3969*** may want to report the problem to your system manager and/or to
     3970*** bug-libtool@gnu.org
     3971
     3972EOF
     3973          fi ;;
     3974        esac
     3975      fi
     3976      break
     3977    fi
     3978  done
     3979  IFS="$ac_save_ifs"
     3980  MAGIC_CMD="$ac_save_MAGIC_CMD"
     3981  ;;
     3982esac
     3983fi
     3984
     3985MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
     3986if test -n "$MAGIC_CMD"; then
     3987  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
     3988echo "${ECHO_T}$MAGIC_CMD" >&6
     3989else
     3990  echo "$as_me:$LINENO: result: no" >&5
     3991echo "${ECHO_T}no" >&6
     3992fi
     3993
     3994  else
     3995    MAGIC_CMD=:
     3996  fi
     3997fi
     3998
    56013999  fi
    56024000  ;;
    56034001esac
    5604 
    5605 # Sed substitution that helps us do robust quoting.  It backslashifies
    5606 # metacharacters that are still active within double-quoted strings.
    5607 Xsed='sed -e s/^X//'
    5608 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
    5609 
    5610 # Same as above, but do not quote variable references.
    5611 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
    5612 
    5613 # Sed substitution to delay expansion of an escaped shell variable in a
    5614 # double_quote_subst'ed string.
    5615 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
    5616 
    5617 # Sed substitution to avoid accidental globbing in evaled expressions
    5618 no_glob_subst='s/\*/\\\*/g'
    5619 
    5620 # Constants:
    5621 rm="rm -f"
    5622 
    5623 # Global variables:
    5624 default_ofile=libtool
    5625 can_build_shared=yes
    5626 
    5627 # All known linkers require a `.a' archive for static linking (except M$VC,
    5628 # which needs '.lib').
    5629 libext=a
    5630 ltmain="$ac_aux_dir/ltmain.sh"
    5631 ofile="$default_ofile"
    5632 with_gnu_ld="$lt_cv_prog_gnu_ld"
    5633 
    5634 if test -n "$ac_tool_prefix"; then
    5635   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
    5636 set dummy ${ac_tool_prefix}ar; ac_word=$2
    5637 echo "$as_me:$LINENO: checking for $ac_word" >&5
    5638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    5639 if test "${ac_cv_prog_AR+set}" = set; then
    5640   echo $ECHO_N "(cached) $ECHO_C" >&6
    5641 else
    5642   if test -n "$AR"; then
    5643   ac_cv_prog_AR="$AR" # Let the user override the test.
    5644 else
    5645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5646 for as_dir in $PATH
    5647 do
    5648   IFS=$as_save_IFS
    5649   test -z "$as_dir" && as_dir=.
    5650   for ac_exec_ext in '' $ac_executable_extensions; do
    5651   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5652     ac_cv_prog_AR="${ac_tool_prefix}ar"
    5653     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    5654     break 2
    5655   fi
    5656 done
    5657 done
    5658 
    5659 fi
    5660 fi
    5661 AR=$ac_cv_prog_AR
    5662 if test -n "$AR"; then
    5663   echo "$as_me:$LINENO: result: $AR" >&5
    5664 echo "${ECHO_T}$AR" >&6
    5665 else
    5666   echo "$as_me:$LINENO: result: no" >&5
    5667 echo "${ECHO_T}no" >&6
    5668 fi
    5669 
    5670 fi
    5671 if test -z "$ac_cv_prog_AR"; then
    5672   ac_ct_AR=$AR
    5673   # Extract the first word of "ar", so it can be a program name with args.
    5674 set dummy ar; ac_word=$2
    5675 echo "$as_me:$LINENO: checking for $ac_word" >&5
    5676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    5677 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
    5678   echo $ECHO_N "(cached) $ECHO_C" >&6
    5679 else
    5680   if test -n "$ac_ct_AR"; then
    5681   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
    5682 else
    5683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5684 for as_dir in $PATH
    5685 do
    5686   IFS=$as_save_IFS
    5687   test -z "$as_dir" && as_dir=.
    5688   for ac_exec_ext in '' $ac_executable_extensions; do
    5689   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5690     ac_cv_prog_ac_ct_AR="ar"
    5691     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    5692     break 2
    5693   fi
    5694 done
    5695 done
    5696 
    5697   test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
    5698 fi
    5699 fi
    5700 ac_ct_AR=$ac_cv_prog_ac_ct_AR
    5701 if test -n "$ac_ct_AR"; then
    5702   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
    5703 echo "${ECHO_T}$ac_ct_AR" >&6
    5704 else
    5705   echo "$as_me:$LINENO: result: no" >&5
    5706 echo "${ECHO_T}no" >&6
    5707 fi
    5708 
    5709   AR=$ac_ct_AR
    5710 else
    5711   AR="$ac_cv_prog_AR"
    5712 fi
    57134002
    57144003if test -n "$ac_tool_prefix"; then
     
    58734162
    58744163
     4164enable_dlopen=no
     4165enable_win32_dll=no
     4166
     4167# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
     4168if test "${enable_libtool_lock+set}" = set; then
     4169  enableval="$enable_libtool_lock"
     4170
     4171fi;
     4172test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
     4173
     4174# Some flags need to be propagated to the compiler or linker for good
     4175# libtool support.
     4176case $host in
     4177*-*-irix6*)
     4178  # Find out which ABI we are using.
     4179  echo '#line 4179 "configure"' > conftest.$ac_ext
     4180  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4181  (eval $ac_compile) 2>&5
     4182  ac_status=$?
     4183  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4184  (exit $ac_status); }; then
     4185    case `/usr/bin/file conftest.$ac_objext` in
     4186    *32-bit*)
     4187      LD="${LD-ld} -32"
     4188      ;;
     4189    *N32*)
     4190      LD="${LD-ld} -n32"
     4191      ;;
     4192    *64-bit*)
     4193      LD="${LD-ld} -64"
     4194      ;;
     4195    esac
     4196  fi
     4197  rm -rf conftest*
     4198  ;;
     4199
     4200*-*-sco3.2v5*)
     4201  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
     4202  SAVE_CFLAGS="$CFLAGS"
     4203  CFLAGS="$CFLAGS -belf"
     4204  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
     4205echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
     4206if test "${lt_cv_cc_needs_belf+set}" = set; then
     4207  echo $ECHO_N "(cached) $ECHO_C" >&6
     4208else
     4209
     4210
     4211     ac_ext=c
     4212ac_cpp='$CPP $CPPFLAGS'
     4213ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4214ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4215ac_compiler_gnu=$ac_cv_c_compiler_gnu
     4216
     4217     cat >conftest.$ac_ext <<_ACEOF
     4218#line $LINENO "configure"
     4219#include "confdefs.h"
     4220
     4221#ifdef F77_DUMMY_MAIN
     4222#  ifdef __cplusplus
     4223     extern "C"
     4224#  endif
     4225   int F77_DUMMY_MAIN() { return 1; }
     4226#endif
     4227int
     4228main ()
     4229{
     4230
     4231  ;
     4232  return 0;
     4233}
     4234_ACEOF
     4235rm -f conftest.$ac_objext conftest$ac_exeext
     4236if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4237  (eval $ac_link) 2>&5
     4238  ac_status=$?
     4239  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4240  (exit $ac_status); } &&
     4241         { ac_try='test -s conftest$ac_exeext'
     4242  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4243  (eval $ac_try) 2>&5
     4244  ac_status=$?
     4245  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4246  (exit $ac_status); }; }; then
     4247  lt_cv_cc_needs_belf=yes
     4248else
     4249  echo "$as_me: failed program was:" >&5
     4250cat conftest.$ac_ext >&5
     4251lt_cv_cc_needs_belf=no
     4252fi
     4253rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     4254     ac_ext=c
     4255ac_cpp='$CPP $CPPFLAGS'
     4256ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4257ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4258ac_compiler_gnu=$ac_cv_c_compiler_gnu
     4259
     4260fi
     4261echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
     4262echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
     4263  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
     4264    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
     4265    CFLAGS="$SAVE_CFLAGS"
     4266  fi
     4267  ;;
     4268
     4269
     4270esac
     4271
     4272# Sed substitution that helps us do robust quoting.  It backslashifies
     4273# metacharacters that are still active within double-quoted strings.
     4274Xsed='sed -e s/^X//'
     4275sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
     4276
     4277# Same as above, but do not quote variable references.
     4278double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
     4279
     4280# Sed substitution to delay expansion of an escaped shell variable in a
     4281# double_quote_subst'ed string.
     4282delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
     4283
     4284# Constants:
     4285rm="rm -f"
     4286
     4287# Global variables:
     4288default_ofile=libtool
     4289can_build_shared=yes
     4290
     4291# All known linkers require a `.a' archive for static linking (except M$VC,
     4292# which needs '.lib').
     4293libext=a
     4294ltmain="$ac_aux_dir/ltmain.sh"
     4295ofile="$default_ofile"
     4296with_gnu_ld="$lt_cv_prog_gnu_ld"
     4297need_locks="$enable_libtool_lock"
     4298
    58754299old_CC="$CC"
    58764300old_CFLAGS="$CFLAGS"
     
    58814305test -z "$AS" && AS=as
    58824306test -z "$CC" && CC=cc
    5883 test -z "$LTCC" && LTCC=$CC
    58844307test -z "$DLLTOOL" && DLLTOOL=dlltool
    58854308test -z "$LD" && LD=ld
     
    58874310test -z "$MAGIC_CMD" && MAGIC_CMD=file
    58884311test -z "$NM" && NM=nm
    5889 test -z "$SED" && SED=sed
    58904312test -z "$OBJDUMP" && OBJDUMP=objdump
    58914313test -z "$RANLIB" && RANLIB=:
    58924314test -z "$STRIP" && STRIP=:
    58934315test -z "$ac_objext" && ac_objext=o
     4316
     4317if test x"$host" != x"$build"; then
     4318  ac_tool_prefix=${host_alias}-
     4319else
     4320  ac_tool_prefix=
     4321fi
     4322
     4323# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
     4324case $host_os in
     4325linux-gnu*) ;;
     4326linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
     4327esac
     4328
     4329case $host_os in
     4330aix3*)
     4331  # AIX sometimes has problems with the GCC collect2 program.  For some
     4332  # reason, if we set the COLLECT_NAMES environment variable, the problems
     4333  # vanish in a puff of smoke.
     4334  if test "X${COLLECT_NAMES+set}" != Xset; then
     4335    COLLECT_NAMES=
     4336    export COLLECT_NAMES
     4337  fi
     4338  ;;
     4339esac
    58944340
    58954341# Determine commands to create old-style static archives.
     
    59104356fi
    59114357
    5912 # Only perform the check for file, if the check method requires it
    5913 case $deplibs_check_method in
    5914 file_magic*)
    5915   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
    5916     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
    5917 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
    5918 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
    5919   echo $ECHO_N "(cached) $ECHO_C" >&6
    5920 else
    5921   case $MAGIC_CMD in
    5922 [\\/*] |  ?:[\\/]*)
    5923   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
    5924   ;;
    5925 *)
    5926   lt_save_MAGIC_CMD="$MAGIC_CMD"
    5927   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    5928   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
    5929   for ac_dir in $ac_dummy; do
    5930     IFS="$lt_save_ifs"
    5931     test -z "$ac_dir" && ac_dir=.
    5932     if test -f $ac_dir/${ac_tool_prefix}file; then
    5933       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
    5934       if test -n "$file_magic_test_file"; then
    5935         case $deplibs_check_method in
    5936         "file_magic "*)
    5937           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
    5938           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
    5939           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
    5940             $EGREP "$file_magic_regex" > /dev/null; then
    5941             :
    5942           else
    5943             cat <<EOF 1>&2
    5944 
    5945 *** Warning: the command libtool uses to detect shared libraries,
    5946 *** $file_magic_cmd, produces output that libtool cannot recognize.
    5947 *** The result is that libtool may fail to recognize shared libraries
    5948 *** as such.  This will affect the creation of libtool libraries that
    5949 *** depend on shared libraries, but programs linked with such libtool
    5950 *** libraries will work regardless of this problem.  Nevertheless, you
    5951 *** may want to report the problem to your system manager and/or to
    5952 *** bug-libtool@gnu.org
    5953 
    5954 EOF
    5955           fi ;;
    5956         esac
    5957       fi
    5958       break
    5959     fi
    5960   done
    5961   IFS="$lt_save_ifs"
    5962   MAGIC_CMD="$lt_save_MAGIC_CMD"
    5963   ;;
    5964 esac
    5965 fi
    5966 
    5967 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
    5968 if test -n "$MAGIC_CMD"; then
    5969   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
    5970 echo "${ECHO_T}$MAGIC_CMD" >&6
    5971 else
    5972   echo "$as_me:$LINENO: result: no" >&5
    5973 echo "${ECHO_T}no" >&6
    5974 fi
    5975 
    5976 if test -z "$lt_cv_path_MAGIC_CMD"; then
    5977   if test -n "$ac_tool_prefix"; then
    5978     echo "$as_me:$LINENO: checking for file" >&5
    5979 echo $ECHO_N "checking for file... $ECHO_C" >&6
    5980 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
    5981   echo $ECHO_N "(cached) $ECHO_C" >&6
    5982 else
    5983   case $MAGIC_CMD in
    5984 [\\/*] |  ?:[\\/]*)
    5985   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
    5986   ;;
    5987 *)
    5988   lt_save_MAGIC_CMD="$MAGIC_CMD"
    5989   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    5990   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
    5991   for ac_dir in $ac_dummy; do
    5992     IFS="$lt_save_ifs"
    5993     test -z "$ac_dir" && ac_dir=.
    5994     if test -f $ac_dir/file; then
    5995       lt_cv_path_MAGIC_CMD="$ac_dir/file"
    5996       if test -n "$file_magic_test_file"; then
    5997         case $deplibs_check_method in
    5998         "file_magic "*)
    5999           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
    6000           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
    6001           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
    6002             $EGREP "$file_magic_regex" > /dev/null; then
    6003             :
    6004           else
    6005             cat <<EOF 1>&2
    6006 
    6007 *** Warning: the command libtool uses to detect shared libraries,
    6008 *** $file_magic_cmd, produces output that libtool cannot recognize.
    6009 *** The result is that libtool may fail to recognize shared libraries
    6010 *** as such.  This will affect the creation of libtool libraries that
    6011 *** depend on shared libraries, but programs linked with such libtool
    6012 *** libraries will work regardless of this problem.  Nevertheless, you
    6013 *** may want to report the problem to your system manager and/or to
    6014 *** bug-libtool@gnu.org
    6015 
    6016 EOF
    6017           fi ;;
    6018         esac
    6019       fi
    6020       break
    6021     fi
    6022   done
    6023   IFS="$lt_save_ifs"
    6024   MAGIC_CMD="$lt_save_MAGIC_CMD"
    6025   ;;
    6026 esac
    6027 fi
    6028 
    6029 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
    6030 if test -n "$MAGIC_CMD"; then
    6031   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
    6032 echo "${ECHO_T}$MAGIC_CMD" >&6
    6033 else
    6034   echo "$as_me:$LINENO: result: no" >&5
    6035 echo "${ECHO_T}no" >&6
    6036 fi
    6037 
    6038   else
    6039     MAGIC_CMD=:
    6040   fi
    6041 fi
    6042 
    6043   fi
    6044   ;;
    6045 esac
    6046 
    6047 enable_dlopen=no
    6048 enable_win32_dll=no
    6049 
    6050 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
    6051 if test "${enable_libtool_lock+set}" = set; then
    6052   enableval="$enable_libtool_lock"
    6053 
    6054 fi;
    6055 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
     4358# Allow CC to be a program name with arguments.
     4359set dummy $CC
     4360compiler="$2"
     4361
     4362echo "$as_me:$LINENO: checking for objdir" >&5
     4363echo $ECHO_N "checking for objdir... $ECHO_C" >&6
     4364rm -f .libs 2>/dev/null
     4365mkdir .libs 2>/dev/null
     4366if test -d .libs; then
     4367  objdir=.libs
     4368else
     4369  # MS-DOS does not allow filenames that begin with a dot.
     4370  objdir=_libs
     4371fi
     4372rmdir .libs 2>/dev/null
     4373echo "$as_me:$LINENO: result: $objdir" >&5
     4374echo "${ECHO_T}$objdir" >&6
     4375
    60564376
    60574377
     
    60654385test -z "$pic_mode" && pic_mode=default
    60664386
    6067 # Use C for the default configuration in the libtool script
    6068 tagname=
    6069 lt_save_CC="$CC"
    6070 ac_ext=c
    6071 ac_cpp='$CPP $CPPFLAGS'
    6072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    6073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    6074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    6075 
    6076 
    6077 # Source file extension for C test sources.
    6078 ac_ext=c
    6079 
    6080 # Object file extension for compiled C test sources.
    6081 objext=o
    6082 objext=$objext
    6083 
    6084 # Code to be used in simple compile tests
    6085 lt_simple_compile_test_code="int some_variable = 0;\n"
    6086 
    6087 # Code to be used in simple link tests
    6088 lt_simple_link_test_code='int main(){return(0);}\n'
    6089 
    6090 
    6091 # If no C compiler was specified, use CC.
    6092 LTCC=${LTCC-"$CC"}
    6093 
    6094 # Allow CC to be a program name with arguments.
    6095 compiler=$CC
    6096 
    6097 
    6098 #
    6099 # Check for any special shared library compilation flags.
    6100 #
    6101 lt_prog_cc_shlib=
    6102 if test "$GCC" = no; then
    6103   case $host_os in
    6104   sco3.2v5*)
    6105     lt_prog_cc_shlib='-belf'
    6106     ;;
    6107   esac
    6108 fi
    6109 if test -n "$lt_prog_cc_shlib"; then
    6110   { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
    6111 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
    6112   if echo "$old_CC $old_CFLAGS " | grep "[      ]$lt_prog_cc_shlib[     ]" >/dev/null; then :
    6113   else
    6114     { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
    6115 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
    6116     lt_cv_prog_cc_can_build_shared=no
    6117   fi
    6118 fi
    6119 
    6120 
    6121 #
    6122 # Check to make sure the static flag actually works.
    6123 #
    6124 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
    6125 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
    6126 if test "${lt_prog_compiler_static_works+set}" = set; then
    6127   echo $ECHO_N "(cached) $ECHO_C" >&6
    6128 else
    6129   lt_prog_compiler_static_works=no
    6130    save_LDFLAGS="$LDFLAGS"
    6131    LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
    6132    printf "$lt_simple_link_test_code" > conftest.$ac_ext
    6133    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
    6134      # The compiler can only warn and ignore the option if not recognized
    6135      # So say no if there are warnings
    6136      if test -s conftest.err; then
    6137        # Append any errors to the config.log.
    6138        cat conftest.err 1>&5
    6139      else
    6140        lt_prog_compiler_static_works=yes
    6141      fi
    6142    fi
    6143    $rm conftest*
    6144    LDFLAGS="$save_LDFLAGS"
    6145 
    6146 fi
    6147 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
    6148 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
    6149 
    6150 if test x"$lt_prog_compiler_static_works" = xyes; then
    6151     :
    6152 else
    6153     lt_prog_compiler_static=
    6154 fi
    6155 
    6156 
    6157 
    6158 
    6159 lt_prog_compiler_no_builtin_flag=
    6160 
    6161 if test "$GCC" = yes; then
    6162   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
    6163 
    6164 
    6165 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
    6166 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
    6167 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
    6168   echo $ECHO_N "(cached) $ECHO_C" >&6
    6169 else
    6170   lt_cv_prog_compiler_rtti_exceptions=no
    6171   ac_outfile=conftest.$ac_objext
    6172    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
    6173    lt_compiler_flag="-fno-rtti -fno-exceptions"
    6174    # Insert the option either (1) after the last *FLAGS variable, or
    6175    # (2) before a word containing "conftest.", or (3) at the end.
    6176    # Note that $ac_compile itself does not contain backslashes and begins
    6177    # with a dollar sign (not a hyphen), so the echo should work correctly.
    6178    # The option is referenced via a variable to avoid confusing sed.
    6179    lt_compile=`echo "$ac_compile" | $SED \
    6180    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    6181    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    6182    -e 's:$: $lt_compiler_flag:'`
    6183    (eval echo "\"\$as_me:6183: $lt_compile\"" >&5)
    6184    (eval "$lt_compile" 2>conftest.err)
    6185    ac_status=$?
    6186    cat conftest.err >&5
    6187    echo "$as_me:6187: \$? = $ac_status" >&5
    6188    if (exit $ac_status) && test -s "$ac_outfile"; then
    6189      # The compiler can only warn and ignore the option if not recognized
    6190      # So say no if there are warnings
    6191      if test ! -s conftest.err; then
    6192        lt_cv_prog_compiler_rtti_exceptions=yes
    6193      fi
    6194    fi
    6195    $rm conftest*
    6196 
    6197 fi
    6198 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
    6199 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
    6200 
    6201 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
    6202     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
    6203 else
    6204     :
    6205 fi
    6206 
    6207 fi
    6208 
    6209 lt_prog_compiler_wl=
    6210 lt_prog_compiler_pic=
    6211 lt_prog_compiler_static=
    6212 
     4387# We assume here that the value for lt_cv_prog_cc_pic will not be cached
     4388# in isolation, and that seeing it set (from the cache) indicates that
     4389# the associated values are set (in the cache) correctly too.
    62134390echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
    62144391echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
     4392if test "${lt_cv_prog_cc_pic+set}" = set; then
     4393  echo $ECHO_N "(cached) $ECHO_C" >&6
     4394else
     4395   lt_cv_prog_cc_pic=
     4396  lt_cv_prog_cc_shlib=
     4397  lt_cv_prog_cc_wl=
     4398  lt_cv_prog_cc_static=
     4399  lt_cv_prog_cc_no_builtin=
     4400  lt_cv_prog_cc_can_build_shared=$can_build_shared
    62154401
    62164402  if test "$GCC" = yes; then
    6217     lt_prog_compiler_wl='-Wl,'
    6218     lt_prog_compiler_static='-static'
     4403    lt_cv_prog_cc_wl='-Wl,'
     4404    lt_cv_prog_cc_static='-static'
    62194405
    62204406    case $host_os in
    6221       aix*)
    6222       # All AIX code is PIC.
    6223       if test "$host_cpu" = ia64; then
    6224         # AIX 5 now supports IA64 processor
    6225         lt_prog_compiler_static='-Bstatic'
    6226       fi
     4407    aix*)
     4408      # Below there is a dirty hack to force normal static linking with -ldl
     4409      # The problem is because libdl dynamically linked with both libc and
     4410      # libC (AIX C++ library), which obviously doesn't included in libraries
     4411      # list by gcc. This cause undefined symbols with -static flags.
     4412      # This hack allows C programs to be linked with "-static -ldl", but
     4413      # not sure about C++ programs.
     4414      lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
    62274415      ;;
    6228 
    62294416    amigaos*)
    62304417      # FIXME: we need at least 68020 code to build shared libraries, but
    62314418      # adding the `-m68020' flag to GCC prevents building anything better,
    62324419      # like `-m68040'.
    6233       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
     4420      lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
    62344421      ;;
    6235 
    6236     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
     4422    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
    62374423      # PIC is the default for these OSes.
    62384424      ;;
    6239 
    6240     mingw* | pw32* | os2*)
    6241       # This hack is so that the source file can tell whether it is being
    6242       # built for inclusion in a dll (and should export symbols for example).
    6243       lt_prog_compiler_pic='-DDLL_EXPORT'
    6244       ;;
    6245 
    62464425    darwin* | rhapsody*)
    62474426      # PIC is the default on this platform
    62484427      # Common symbols not allowed in MH_DYLIB files
    6249       lt_prog_compiler_pic='-fno-common'
     4428      lt_cv_prog_cc_pic='-fno-common'
    62504429      ;;
    6251 
    6252     msdosdjgpp*)
    6253       # Just because we use GCC doesn't mean we suddenly get shared libraries
    6254       # on systems that don't support them.
    6255       lt_prog_compiler_can_build_shared=no
    6256       enable_shared=no
     4430    cygwin* | mingw* | pw32* | os2*)
     4431      # This hack is so that the source file can tell whether it is being
     4432      # built for inclusion in a dll (and should export symbols for example).
     4433      lt_cv_prog_cc_pic='-DDLL_EXPORT'
    62574434      ;;
    6258 
    62594435    sysv4*MP*)
    62604436      if test -d /usr/nec; then
    6261         lt_prog_compiler_pic=-Kconform_pic
     4437         lt_cv_prog_cc_pic=-Kconform_pic
    62624438      fi
    62634439      ;;
    6264 
    6265     hpux*)
    6266       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
    6267       # not for PA HP-UX.
    6268       case "$host_cpu" in
    6269       hppa*64*|ia64*)
    6270         # +Z the default
    6271         ;;
    6272       *)
    6273         lt_prog_compiler_pic='-fPIC'
    6274         ;;
    6275       esac
    6276       ;;
    6277 
    62784440    *)
    6279       lt_prog_compiler_pic='-fPIC'
     4441      lt_cv_prog_cc_pic='-fPIC'
    62804442      ;;
    62814443    esac
    62824444  else
    6283     # PORTME Check for flag to pass linker flags through the system compiler.
     4445    # PORTME Check for PIC flags for the system compiler.
    62844446    case $host_os in
    6285     aix*)
    6286       lt_prog_compiler_wl='-Wl,'
     4447    aix3* | aix4* | aix5*)
     4448      lt_cv_prog_cc_wl='-Wl,'
     4449      # All AIX code is PIC.
    62874450      if test "$host_cpu" = ia64; then
    62884451        # AIX 5 now supports IA64 processor
    6289         lt_prog_compiler_static='-Bstatic'
     4452        lt_cv_prog_cc_static='-Bstatic'
    62904453      else
    6291         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
     4454        lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
    62924455      fi
    62934456      ;;
    62944457
    6295     mingw* | pw32* | os2*)
     4458    hpux9* | hpux10* | hpux11*)
     4459      # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
     4460      lt_cv_prog_cc_wl='-Wl,'
     4461      lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
     4462      lt_cv_prog_cc_pic='+Z'
     4463      ;;
     4464
     4465    irix5* | irix6* | nonstopux*)
     4466      lt_cv_prog_cc_wl='-Wl,'
     4467      lt_cv_prog_cc_static='-non_shared'
     4468      # PIC (with -KPIC) is the default.
     4469      ;;
     4470
     4471    cygwin* | mingw* | pw32* | os2*)
    62964472      # This hack is so that the source file can tell whether it is being
    62974473      # built for inclusion in a dll (and should export symbols for example).
    6298       lt_prog_compiler_pic='-DDLL_EXPORT'
     4474      lt_cv_prog_cc_pic='-DDLL_EXPORT'
    62994475      ;;
    63004476
    6301     hpux9* | hpux10* | hpux11*)
    6302       lt_prog_compiler_wl='-Wl,'
    6303       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
    6304       # not for PA HP-UX.
    6305       case "$host_cpu" in
    6306       hppa*64*|ia64*)
    6307         # +Z the default
    6308         ;;
    6309       *)
    6310         lt_prog_compiler_pic='+Z'
    6311         ;;
    6312       esac
    6313       # Is there a better lt_prog_compiler_static that works with the bundled CC?
    6314       lt_prog_compiler_static='${wl}-a ${wl}archive'
     4477    newsos6)
     4478      lt_cv_prog_cc_pic='-KPIC'
     4479      lt_cv_prog_cc_static='-Bstatic'
    63154480      ;;
    63164481
    6317     irix5* | irix6* | nonstopux*)
    6318       lt_prog_compiler_wl='-Wl,'
    6319       # PIC (with -KPIC) is the default.
    6320       lt_prog_compiler_static='-non_shared'
     4482    osf3* | osf4* | osf5*)
     4483      # All OSF/1 code is PIC.
     4484      lt_cv_prog_cc_wl='-Wl,'
     4485      lt_cv_prog_cc_static='-non_shared'
    63214486      ;;
    63224487
    6323     newsos6)
    6324       lt_prog_compiler_pic='-KPIC'
    6325       lt_prog_compiler_static='-Bstatic'
     4488    sco3.2v5*)
     4489      lt_cv_prog_cc_pic='-Kpic'
     4490      lt_cv_prog_cc_static='-dn'
     4491      lt_cv_prog_cc_shlib='-belf'
    63264492      ;;
    63274493
    6328     linux*)
    6329       case $CC in
    6330       icc* | ecc*)
    6331         lt_prog_compiler_wl='-Wl,'
    6332         lt_prog_compiler_pic='-KPIC'
    6333         lt_prog_compiler_static='-static'
    6334         ;;
    6335       ccc*)
    6336         lt_prog_compiler_wl='-Wl,'
    6337         # All Alpha code is PIC.
    6338         lt_prog_compiler_static='-non_shared'
    6339         ;;
    6340       esac
     4494    solaris*)
     4495      lt_cv_prog_cc_pic='-KPIC'
     4496      lt_cv_prog_cc_static='-Bstatic'
     4497      lt_cv_prog_cc_wl='-Wl,'
    63414498      ;;
    63424499
    6343     osf3* | osf4* | osf5*)
    6344       lt_prog_compiler_wl='-Wl,'
    6345       # All OSF/1 code is PIC.
    6346       lt_prog_compiler_static='-non_shared'
     4500    sunos4*)
     4501      lt_cv_prog_cc_pic='-PIC'
     4502      lt_cv_prog_cc_static='-Bstatic'
     4503      lt_cv_prog_cc_wl='-Qoption ld '
    63474504      ;;
    63484505
    6349     sco3.2v5*)
    6350       lt_prog_compiler_pic='-Kpic'
    6351       lt_prog_compiler_static='-dn'
     4506    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
     4507      lt_cv_prog_cc_pic='-KPIC'
     4508      lt_cv_prog_cc_static='-Bstatic'
     4509      if test "x$host_vendor" = xsni; then
     4510        lt_cv_prog_cc_wl='-LD'
     4511      else
     4512        lt_cv_prog_cc_wl='-Wl,'
     4513      fi
    63524514      ;;
    63534515
    6354     solaris*)
    6355       lt_prog_compiler_wl='-Wl,'
    6356       lt_prog_compiler_pic='-KPIC'
    6357       lt_prog_compiler_static='-Bstatic'
    6358       ;;
    6359 
    6360     sunos4*)
    6361       lt_prog_compiler_wl='-Qoption ld '
    6362       lt_prog_compiler_pic='-PIC'
    6363       lt_prog_compiler_static='-Bstatic'
    6364       ;;
    6365 
    6366     sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
    6367       lt_prog_compiler_wl='-Wl,'
    6368       lt_prog_compiler_pic='-KPIC'
    6369       lt_prog_compiler_static='-Bstatic'
     4516    uts4*)
     4517      lt_cv_prog_cc_pic='-pic'
     4518      lt_cv_prog_cc_static='-Bstatic'
    63704519      ;;
    63714520
    63724521    sysv4*MP*)
    63734522      if test -d /usr/nec ;then
    6374         lt_prog_compiler_pic='-Kconform_pic'
    6375         lt_prog_compiler_static='-Bstatic'
     4523        lt_cv_prog_cc_pic='-Kconform_pic'
     4524        lt_cv_prog_cc_static='-Bstatic'
    63764525      fi
    63774526      ;;
    63784527
    6379     uts4*)
    6380       lt_prog_compiler_pic='-pic'
    6381       lt_prog_compiler_static='-Bstatic'
    6382       ;;
    6383 
    63844528    *)
    6385       lt_prog_compiler_can_build_shared=no
     4529      lt_cv_prog_cc_can_build_shared=no
    63864530      ;;
    63874531    esac
    63884532  fi
    63894533
    6390 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
    6391 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
    6392 
    6393 #
    6394 # Check to make sure the PIC flag actually works.
    6395 #
    6396 if test -n "$lt_prog_compiler_pic"; then
    6397 
    6398 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
    6399 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
    6400 if test "${lt_prog_compiler_pic_works+set}" = set; then
     4534fi
     4535
     4536if test -z "$lt_cv_prog_cc_pic"; then
     4537  echo "$as_me:$LINENO: result: none" >&5
     4538echo "${ECHO_T}none" >&6
     4539else
     4540  echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
     4541echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
     4542
     4543  # Check to make sure the pic_flag actually works.
     4544  echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
     4545echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
     4546  if test "${lt_cv_prog_cc_pic_works+set}" = set; then
    64014547  echo $ECHO_N "(cached) $ECHO_C" >&6
    64024548else
    6403   lt_prog_compiler_pic_works=no
    6404   ac_outfile=conftest.$ac_objext
    6405    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
    6406    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
    6407    # Insert the option either (1) after the last *FLAGS variable, or
    6408    # (2) before a word containing "conftest.", or (3) at the end.
    6409    # Note that $ac_compile itself does not contain backslashes and begins
    6410    # with a dollar sign (not a hyphen), so the echo should work correctly.
    6411    # The option is referenced via a variable to avoid confusing sed.
    6412    lt_compile=`echo "$ac_compile" | $SED \
    6413    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    6414    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    6415    -e 's:$: $lt_compiler_flag:'`
    6416    (eval echo "\"\$as_me:6416: $lt_compile\"" >&5)
    6417    (eval "$lt_compile" 2>conftest.err)
    6418    ac_status=$?
    6419    cat conftest.err >&5
    6420    echo "$as_me:6420: \$? = $ac_status" >&5
    6421    if (exit $ac_status) && test -s "$ac_outfile"; then
    6422      # The compiler can only warn and ignore the option if not recognized
    6423      # So say no if there are warnings
    6424      if test ! -s conftest.err; then
    6425        lt_prog_compiler_pic_works=yes
    6426      fi
    6427    fi
    6428    $rm conftest*
    6429 
    6430 fi
    6431 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
    6432 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
    6433 
    6434 if test x"$lt_prog_compiler_pic_works" = xyes; then
    6435     case $lt_prog_compiler_pic in
    6436      "" | " "*) ;;
    6437      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
    6438      esac
    6439 else
    6440     lt_prog_compiler_pic=
    6441      lt_prog_compiler_can_build_shared=no
    6442 fi
    6443 
    6444 fi
    6445 case "$host_os" in
    6446   # For platforms which do not support PIC, -DPIC is meaningless:
    6447   *djgpp*)
    6448     lt_prog_compiler_pic=
    6449     ;;
    6450   *)
    6451     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
    6452     ;;
    6453 esac
    6454 
     4549      save_CFLAGS="$CFLAGS"
     4550    CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
     4551    cat >conftest.$ac_ext <<_ACEOF
     4552#line $LINENO "configure"
     4553#include "confdefs.h"
     4554
     4555#ifdef F77_DUMMY_MAIN
     4556#  ifdef __cplusplus
     4557     extern "C"
     4558#  endif
     4559   int F77_DUMMY_MAIN() { return 1; }
     4560#endif
     4561int
     4562main ()
     4563{
     4564
     4565  ;
     4566  return 0;
     4567}
     4568_ACEOF
     4569rm -f conftest.$ac_objext
     4570if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4571  (eval $ac_compile) 2>&5
     4572  ac_status=$?
     4573  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4574  (exit $ac_status); } &&
     4575         { ac_try='test -s conftest.$ac_objext'
     4576  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4577  (eval $ac_try) 2>&5
     4578  ac_status=$?
     4579  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4580  (exit $ac_status); }; }; then
     4581        case $host_os in
     4582      hpux9* | hpux10* | hpux11*)
     4583        # On HP-UX, both CC and GCC only warn that PIC is supported... then
     4584        # they create non-PIC objects.  So, if there were any warnings, we
     4585        # assume that PIC is not supported.
     4586        if test -s conftest.err; then
     4587          lt_cv_prog_cc_pic_works=no
     4588        else
     4589          lt_cv_prog_cc_pic_works=yes
     4590        fi
     4591        ;;
     4592      *)
     4593        lt_cv_prog_cc_pic_works=yes
     4594        ;;
     4595      esac
     4596
     4597else
     4598  echo "$as_me: failed program was:" >&5
     4599cat conftest.$ac_ext >&5
     4600      lt_cv_prog_cc_pic_works=no
     4601
     4602fi
     4603rm -f conftest.$ac_objext conftest.$ac_ext
     4604    CFLAGS="$save_CFLAGS"
     4605
     4606fi
     4607
     4608
     4609  if test "X$lt_cv_prog_cc_pic_works" = Xno; then
     4610    lt_cv_prog_cc_pic=
     4611    lt_cv_prog_cc_can_build_shared=no
     4612  else
     4613    lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
     4614  fi
     4615
     4616  echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
     4617echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
     4618fi
     4619
     4620# Check for any special shared library compilation flags.
     4621if test -n "$lt_cv_prog_cc_shlib"; then
     4622  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
     4623echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
     4624  if echo "$old_CC $old_CFLAGS " | egrep -e "[  ]$lt_cv_prog_cc_shlib[  ]" >/dev/null; then :
     4625  else
     4626   { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
     4627echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
     4628    lt_cv_prog_cc_can_build_shared=no
     4629  fi
     4630fi
     4631
     4632echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
     4633echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
     4634if test "${lt_cv_prog_cc_static_works+set}" = set; then
     4635  echo $ECHO_N "(cached) $ECHO_C" >&6
     4636else
     4637    lt_cv_prog_cc_static_works=no
     4638  save_LDFLAGS="$LDFLAGS"
     4639  LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
     4640  cat >conftest.$ac_ext <<_ACEOF
     4641#line $LINENO "configure"
     4642#include "confdefs.h"
     4643
     4644#ifdef F77_DUMMY_MAIN
     4645#  ifdef __cplusplus
     4646     extern "C"
     4647#  endif
     4648   int F77_DUMMY_MAIN() { return 1; }
     4649#endif
     4650int
     4651main ()
     4652{
     4653
     4654  ;
     4655  return 0;
     4656}
     4657_ACEOF
     4658rm -f conftest.$ac_objext conftest$ac_exeext
     4659if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4660  (eval $ac_link) 2>&5
     4661  ac_status=$?
     4662  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4663  (exit $ac_status); } &&
     4664         { ac_try='test -s conftest$ac_exeext'
     4665  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4666  (eval $ac_try) 2>&5
     4667  ac_status=$?
     4668  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4669  (exit $ac_status); }; }; then
     4670  lt_cv_prog_cc_static_works=yes
     4671else
     4672  echo "$as_me: failed program was:" >&5
     4673cat conftest.$ac_ext >&5
     4674fi
     4675rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     4676  LDFLAGS="$save_LDFLAGS"
     4677
     4678fi
     4679
     4680
     4681# Belt *and* braces to stop my trousers falling down:
     4682test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
     4683echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
     4684echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
     4685
     4686pic_flag="$lt_cv_prog_cc_pic"
     4687special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
     4688wl="$lt_cv_prog_cc_wl"
     4689link_static_flag="$lt_cv_prog_cc_static"
     4690no_builtin_flag="$lt_cv_prog_cc_no_builtin"
     4691can_build_shared="$lt_cv_prog_cc_can_build_shared"
     4692
     4693
     4694# Check to see if options -o and -c are simultaneously supported by compiler
    64554695echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
    64564696echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
    6457 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
     4697if test "${lt_cv_compiler_c_o+set}" = set; then
    64584698  echo $ECHO_N "(cached) $ECHO_C" >&6
    64594699else
    6460   lt_cv_prog_compiler_c_o=no
    6461    $rm -r conftest 2>/dev/null
    6462    mkdir conftest
    6463    cd conftest
    6464    mkdir out
    6465    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
    6466 
    6467    lt_compiler_flag="-o out/conftest2.$ac_objext"
    6468    # Insert the option either (1) after the last *FLAGS variable, or
    6469    # (2) before a word containing "conftest.", or (3) at the end.
    6470    # Note that $ac_compile itself does not contain backslashes and begins
    6471    # with a dollar sign (not a hyphen), so the echo should work correctly.
    6472    lt_compile=`echo "$ac_compile" | $SED \
    6473    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    6474    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    6475    -e 's:$: $lt_compiler_flag:'`
    6476    (eval echo "\"\$as_me:6476: $lt_compile\"" >&5)
    6477    (eval "$lt_compile" 2>out/conftest.err)
    6478    ac_status=$?
    6479    cat out/conftest.err >&5
    6480    echo "$as_me:6480: \$? = $ac_status" >&5
    6481    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    6482    then
    6483      # The compiler can only warn and ignore the option if not recognized
    6484      # So say no if there are warnings
    6485      if test ! -s out/conftest.err; then
    6486        lt_cv_prog_compiler_c_o=yes
    6487      fi
    6488    fi
    6489    chmod u+w .
    6490    $rm conftest*
    6491    # SGI C++ compiler will create directory out/ii_files/ for
    6492    # template instantiation
    6493    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
    6494    $rm out/* && rmdir out
    6495    cd ..
    6496    rmdir conftest
    6497    $rm conftest*
    6498 
    6499 fi
    6500 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
    6501 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
    6502 
    6503 
     4700
     4701$rm -r conftest 2>/dev/null
     4702mkdir conftest
     4703cd conftest
     4704echo "int some_variable = 0;" > conftest.$ac_ext
     4705mkdir out
     4706# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
     4707# that will create temporary files in the current directory regardless of
     4708# the output directory.  Thus, making CWD read-only will cause this test
     4709# to fail, enabling locking or at least warning the user not to do parallel
     4710# builds.
     4711chmod -w .
     4712save_CFLAGS="$CFLAGS"
     4713CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
     4714compiler_c_o=no
     4715if { (eval echo configure:4715: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
     4716  # The compiler can only warn and ignore the option if not recognized
     4717  # So say no if there are warnings
     4718  if test -s out/conftest.err; then
     4719    lt_cv_compiler_c_o=no
     4720  else
     4721    lt_cv_compiler_c_o=yes
     4722  fi
     4723else
     4724  # Append any errors to the config.log.
     4725  cat out/conftest.err 1>&5
     4726  lt_cv_compiler_c_o=no
     4727fi
     4728CFLAGS="$save_CFLAGS"
     4729chmod u+w .
     4730$rm conftest* out/*
     4731rmdir out
     4732cd ..
     4733rmdir conftest
     4734$rm -r conftest 2>/dev/null
     4735
     4736fi
     4737
     4738compiler_c_o=$lt_cv_compiler_c_o
     4739echo "$as_me:$LINENO: result: $compiler_c_o" >&5
     4740echo "${ECHO_T}$compiler_c_o" >&6
     4741
     4742if test x"$compiler_c_o" = x"yes"; then
     4743  # Check to see if we can write to a .lo
     4744  echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5
     4745echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
     4746  if test "${lt_cv_compiler_o_lo+set}" = set; then
     4747  echo $ECHO_N "(cached) $ECHO_C" >&6
     4748else
     4749
     4750  lt_cv_compiler_o_lo=no
     4751  save_CFLAGS="$CFLAGS"
     4752  CFLAGS="$CFLAGS -c -o conftest.lo"
     4753  save_objext="$ac_objext"
     4754  ac_objext=lo
     4755  cat >conftest.$ac_ext <<_ACEOF
     4756#line $LINENO "configure"
     4757#include "confdefs.h"
     4758
     4759#ifdef F77_DUMMY_MAIN
     4760#  ifdef __cplusplus
     4761     extern "C"
     4762#  endif
     4763   int F77_DUMMY_MAIN() { return 1; }
     4764#endif
     4765int
     4766main ()
     4767{
     4768int some_variable = 0;
     4769  ;
     4770  return 0;
     4771}
     4772_ACEOF
     4773rm -f conftest.$ac_objext
     4774if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4775  (eval $ac_compile) 2>&5
     4776  ac_status=$?
     4777  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4778  (exit $ac_status); } &&
     4779         { ac_try='test -s conftest.$ac_objext'
     4780  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4781  (eval $ac_try) 2>&5
     4782  ac_status=$?
     4783  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4784  (exit $ac_status); }; }; then
     4785      # The compiler can only warn and ignore the option if not recognized
     4786    # So say no if there are warnings
     4787    if test -s conftest.err; then
     4788      lt_cv_compiler_o_lo=no
     4789    else
     4790      lt_cv_compiler_o_lo=yes
     4791    fi
     4792
     4793else
     4794  echo "$as_me: failed program was:" >&5
     4795cat conftest.$ac_ext >&5
     4796fi
     4797rm -f conftest.$ac_objext conftest.$ac_ext
     4798  ac_objext="$save_objext"
     4799  CFLAGS="$save_CFLAGS"
     4800
     4801fi
     4802
     4803  compiler_o_lo=$lt_cv_compiler_o_lo
     4804  echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
     4805echo "${ECHO_T}$compiler_o_lo" >&6
     4806else
     4807  compiler_o_lo=no
     4808fi
     4809
     4810# Check to see if we can do hard links to lock some files if needed
    65044811hard_links="nottested"
    6505 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
     4812if test "$compiler_c_o" = no && test "$need_locks" != no; then
    65064813  # do not overwrite the value of need_locks provided by the user
    65074814  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
     
    65244831fi
    65254832
    6526 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
    6527 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
    6528 
    6529   runpath_var=
    6530   allow_undefined_flag=
    6531   enable_shared_with_static_runtimes=no
    6532   archive_cmds=
    6533   archive_expsym_cmds=
    6534   old_archive_From_new_cmds=
    6535   old_archive_from_expsyms_cmds=
    6536   export_dynamic_flag_spec=
    6537   whole_archive_flag_spec=
    6538   thread_safe_flag_spec=
    6539   hardcode_libdir_flag_spec=
    6540   hardcode_libdir_flag_spec_ld=
    6541   hardcode_libdir_separator=
    6542   hardcode_direct=no
    6543   hardcode_minus_L=no
    6544   hardcode_shlibpath_var=unsupported
    6545   link_all_deplibs=unknown
    6546   hardcode_automatic=no
    6547   module_cmds=
    6548   module_expsym_cmds=
    6549   always_export_symbols=no
    6550   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
    6551   # include_expsyms should be a list of space-separated symbols to be *always*
    6552   # included in the symbol list
    6553   include_expsyms=
    6554   # exclude_expsyms can be an extended regexp of symbols to exclude
    6555   # it will be wrapped by ` (' and `)$', so one must not match beginning or
    6556   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
    6557   # as well as any symbol that contains `d'.
    6558   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
    6559   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
    6560   # platforms (ab)use it in PIC code, but their linkers get confused if
    6561   # the symbol is explicitly referenced.  Since portable code cannot
    6562   # rely on this symbol name, it's probably fine to never include it in
    6563   # preloaded symbol tables.
    6564   extract_expsyms_cmds=
    6565 
     4833if test "$GCC" = yes; then
     4834  # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
     4835  echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
     4836echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
     4837  echo "int some_variable = 0;" > conftest.$ac_ext
     4838  save_CFLAGS="$CFLAGS"
     4839  CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
     4840  compiler_rtti_exceptions=no
     4841  cat >conftest.$ac_ext <<_ACEOF
     4842#line $LINENO "configure"
     4843#include "confdefs.h"
     4844
     4845#ifdef F77_DUMMY_MAIN
     4846#  ifdef __cplusplus
     4847     extern "C"
     4848#  endif
     4849   int F77_DUMMY_MAIN() { return 1; }
     4850#endif
     4851int
     4852main ()
     4853{
     4854int some_variable = 0;
     4855  ;
     4856  return 0;
     4857}
     4858_ACEOF
     4859rm -f conftest.$ac_objext
     4860if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4861  (eval $ac_compile) 2>&5
     4862  ac_status=$?
     4863  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4864  (exit $ac_status); } &&
     4865         { ac_try='test -s conftest.$ac_objext'
     4866  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4867  (eval $ac_try) 2>&5
     4868  ac_status=$?
     4869  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4870  (exit $ac_status); }; }; then
     4871      # The compiler can only warn and ignore the option if not recognized
     4872    # So say no if there are warnings
     4873    if test -s conftest.err; then
     4874      compiler_rtti_exceptions=no
     4875    else
     4876      compiler_rtti_exceptions=yes
     4877    fi
     4878
     4879else
     4880  echo "$as_me: failed program was:" >&5
     4881cat conftest.$ac_ext >&5
     4882fi
     4883rm -f conftest.$ac_objext conftest.$ac_ext
     4884  CFLAGS="$save_CFLAGS"
     4885  echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
     4886echo "${ECHO_T}$compiler_rtti_exceptions" >&6
     4887
     4888  if test "$compiler_rtti_exceptions" = "yes"; then
     4889    no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
     4890  else
     4891    no_builtin_flag=' -fno-builtin'
     4892  fi
     4893fi
     4894
     4895# See if the linker supports building shared libraries.
     4896echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5
     4897echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
     4898
     4899allow_undefined_flag=
     4900no_undefined_flag=
     4901need_lib_prefix=unknown
     4902need_version=unknown
     4903# when you set need_version to no, make sure it does not cause -set_version
     4904# flags to be left without arguments
     4905archive_cmds=
     4906archive_expsym_cmds=
     4907old_archive_from_new_cmds=
     4908old_archive_from_expsyms_cmds=
     4909export_dynamic_flag_spec=
     4910whole_archive_flag_spec=
     4911thread_safe_flag_spec=
     4912hardcode_into_libs=no
     4913hardcode_libdir_flag_spec=
     4914hardcode_libdir_separator=
     4915hardcode_direct=no
     4916hardcode_minus_L=no
     4917hardcode_shlibpath_var=unsupported
     4918runpath_var=
     4919link_all_deplibs=unknown
     4920always_export_symbols=no
     4921export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
     4922# include_expsyms should be a list of space-separated symbols to be *always*
     4923# included in the symbol list
     4924include_expsyms=
     4925# exclude_expsyms can be an egrep regular expression of symbols to exclude
     4926# it will be wrapped by ` (' and `)$', so one must not match beginning or
     4927# end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
     4928# as well as any symbol that contains `d'.
     4929exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
     4930# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
     4931# platforms (ab)use it in PIC code, but their linkers get confused if
     4932# the symbol is explicitly referenced.  Since portable code cannot
     4933# rely on this symbol name, it's probably fine to never include it in
     4934# preloaded symbol tables.
     4935extract_expsyms_cmds=
     4936
     4937case $host_os in
     4938cygwin* | mingw* | pw32*)
     4939  # FIXME: the MSVC++ port hasn't been tested in a loooong time
     4940  # When not using gcc, we currently assume that we are using
     4941  # Microsoft Visual C++.
     4942  if test "$GCC" != yes; then
     4943    with_gnu_ld=no
     4944  fi
     4945  ;;
     4946openbsd*)
     4947  with_gnu_ld=no
     4948  ;;
     4949esac
     4950
     4951ld_shlibs=yes
     4952if test "$with_gnu_ld" = yes; then
     4953  # If archive_cmds runs LD, not CC, wlarc should be empty
     4954  wlarc='${wl}'
     4955
     4956  # See if GNU ld supports shared libraries.
    65664957  case $host_os in
    6567   cygwin* | mingw* | pw32*)
    6568     # FIXME: the MSVC++ port hasn't been tested in a loooong time
    6569     # When not using gcc, we currently assume that we are using
    6570     # Microsoft Visual C++.
    6571     if test "$GCC" != yes; then
    6572       with_gnu_ld=no
    6573     fi
    6574     ;;
    6575   openbsd*)
    6576     with_gnu_ld=no
    6577     ;;
    6578   esac
    6579 
    6580   ld_shlibs=yes
    6581   if test "$with_gnu_ld" = yes; then
    6582     # If archive_cmds runs LD, not CC, wlarc should be empty
    6583     wlarc='${wl}'
    6584 
    6585     # See if GNU ld supports shared libraries.
    6586     case $host_os in
    6587     aix3* | aix4* | aix5*)
    6588       # On AIX/PPC, the GNU linker is very broken
    6589       if test "$host_cpu" != ia64; then
    6590         ld_shlibs=no
    6591         cat <<EOF 1>&2
     4958  aix3* | aix4* | aix5*)
     4959    # On AIX, the GNU linker is very broken
     4960    # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
     4961    ld_shlibs=no
     4962    cat <<EOF 1>&2
    65924963
    65934964*** Warning: the GNU linker, at least up to release 2.9.1, is reported
     
    65984969
    65994970EOF
    6600       fi
     4971    ;;
     4972
     4973  amigaos*)
     4974    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)'
     4975    hardcode_libdir_flag_spec='-L$libdir'
     4976    hardcode_minus_L=yes
     4977
     4978    # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
     4979    # that the semantics of dynamic libraries on AmigaOS, at least up
     4980    # to version 4, is to share data among multiple programs linked
     4981    # with the same dynamic library.  Since this doesn't match the
     4982    # behavior of shared libraries on other platforms, we can use
     4983    # them.
     4984    ld_shlibs=no
     4985    ;;
     4986
     4987  beos*)
     4988    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
     4989      allow_undefined_flag=unsupported
     4990      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
     4991      # support --undefined.  This deserves some investigation.  FIXME
     4992      archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     4993    else
     4994      ld_shlibs=no
     4995    fi
     4996    ;;
     4997
     4998  cygwin* | mingw* | pw32*)
     4999    # hardcode_libdir_flag_spec is actually meaningless, as there is
     5000    # no search path for DLLs.
     5001    hardcode_libdir_flag_spec='-L$libdir'
     5002    allow_undefined_flag=unsupported
     5003    always_export_symbols=yes
     5004
     5005    extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
     5006      sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
     5007      test -f $output_objdir/impgen.exe || (cd $output_objdir && \
     5008      if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
     5009      else $CC -o impgen impgen.c ; fi)~
     5010      $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
     5011
     5012    old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
     5013
     5014    # cygwin and mingw dlls have different entry points and sets of symbols
     5015    # to exclude.
     5016    # FIXME: what about values for MSVC?
     5017    dll_entry=__cygwin_dll_entry@12
     5018    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
     5019    case $host_os in
     5020    mingw*)
     5021      # mingw values
     5022      dll_entry=_DllMainCRTStartup@12
     5023      dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
    66015024      ;;
    6602 
    6603     amigaos*)
    6604       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)'
    6605       hardcode_libdir_flag_spec='-L$libdir'
    6606       hardcode_minus_L=yes
    6607 
    6608       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
    6609       # that the semantics of dynamic libraries on AmigaOS, at least up
    6610       # to version 4, is to share data among multiple programs linked
    6611       # with the same dynamic library.  Since this doesn't match the
    6612       # behavior of shared libraries on other platforms, we can't use
    6613       # them.
     5025    esac
     5026
     5027    # mingw and cygwin differ, and it's simplest to just exclude the union
     5028    # of the two symbol sets.
     5029    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
     5030
     5031    # recent cygwin and mingw systems supply a stub DllMain which the user
     5032    # can override, but on older systems we have to supply one (in ltdll.c)
     5033    if test "x$lt_cv_need_dllmain" = "xyes"; then
     5034      ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
     5035      ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
     5036        test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
     5037    else
     5038      ltdll_obj=
     5039      ltdll_cmds=
     5040    fi
     5041
     5042    # Extract the symbol export list from an `--export-all' def file,
     5043    # then regenerate the def file from the symbol export list, so that
     5044    # the compiled dll only exports the symbol export list.
     5045    # Be careful not to strip the DATA tag left be newer dlltools.
     5046    export_symbols_cmds="$ltdll_cmds"'
     5047      $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
     5048      sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
     5049
     5050    # If the export-symbols file already is a .def file (1st line
     5051    # is EXPORTS), use it as is.
     5052    # If DATA tags from a recent dlltool are present, honour them!
     5053    archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
     5054        cp $export_symbols $output_objdir/$soname-def;
     5055      else
     5056        echo EXPORTS > $output_objdir/$soname-def;
     5057        _lt_hint=1;
     5058        cat $export_symbols | while read symbol; do
     5059         set dummy \$symbol;
     5060         case \$# in
     5061           2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
     5062           *) echo "     \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
     5063         esac;
     5064         _lt_hint=`expr 1 + \$_lt_hint`;
     5065        done;
     5066      fi~
     5067      '"$ltdll_cmds"'
     5068      $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
     5069      $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
     5070      $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
     5071      $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
     5072      $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
     5073    ;;
     5074
     5075  netbsd*)
     5076    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
     5077      archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
     5078      wlarc=
     5079    else
     5080      archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     5081      archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     5082    fi
     5083    ;;
     5084
     5085  solaris* | sysv5*)
     5086    if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
    66145087      ld_shlibs=no
    6615       ;;
    6616 
    6617     beos*)
    6618       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    6619         allow_undefined_flag=unsupported
    6620         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
    6621         # support --undefined.  This deserves some investigation.  FIXME
    6622         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    6623       else
    6624         ld_shlibs=no
    6625       fi
    6626       ;;
    6627 
    6628     cygwin* | mingw* | pw32*)
    6629       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
    6630       # as there is no search path for DLLs.
    6631       hardcode_libdir_flag_spec='-L$libdir'
    6632       allow_undefined_flag=unsupported
    6633       always_export_symbols=no
    6634       enable_shared_with_static_runtimes=yes
    6635       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
    6636 
    6637       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
    6638         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
    6639         # If the export-symbols file already is a .def file (1st line
    6640         # is EXPORTS), use it as is; otherwise, prepend...
    6641         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
    6642           cp $export_symbols $output_objdir/$soname.def;
    6643         else
    6644           echo EXPORTS > $output_objdir/$soname.def;
    6645           cat $export_symbols >> $output_objdir/$soname.def;
    6646         fi~
    6647         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
    6648       else
    6649         ld_shlibs=no
    6650       fi
    6651       ;;
    6652 
    6653     netbsd*)
    6654       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
    6655         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
    6656         wlarc=
    6657       else
    6658         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    6659         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    6660       fi