Changeset 82f2b7b for configure


Ignore:
Timestamp:
08/13/04 10:44:45 (18 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:
257e35b
Parents:
ac96828
Message:

poink

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r6a9feb2 r82f2b7b  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.53 for libtrace 2.0.2.
     3# Generated by GNU Autoconf 2.59 for libtrace 2.0.2.
    44#
    55# Report bugs to <libtrace@wand.net.nz>.
    66#
    7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
    8 # Free Software Foundation, Inc.
     7# Copyright (C) 2003 Free Software Foundation, Inc.
    98# This configure script is free software; the Free Software Foundation
    109# gives unlimited permission to copy, distribute and modify it.
    11 
    12 # Find the correct PATH separator.  Usually this is `:', but
    13 # DJGPP uses `;' like DOS.
    14 if 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=':' ;;
     10## --------------------- ##
     11## M4sh Initialization.  ##
     12## --------------------- ##
     13
     14# Be Bourne compatible
     15if 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+"$@"}'='"$@"'
     21elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     22  set -o posix
     23fi
     24DUALCASE=1; export DUALCASE # for MKS sh
     25
     26# Support unset when possible.
     27if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     28  as_unset=unset
     29else
     30  as_unset=false
     31fi
     32
     33
     34# Work around bugs in pre-3.0 UWIN ksh.
     35$as_unset ENV MAIL MAILPATH
     36PS1='$ '
     37PS2='> '
     38PS4='+ '
     39
     40# NLS nuisances.
     41for 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
     45do
     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
     51done
     52
     53# Required to use basename.
     54if expr a : '\(a\)' >/dev/null 2>&1; then
     55  as_expr=expr
     56else
     57  as_expr=false
     58fi
     59
     60if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     61  as_basename=basename
     62else
     63  as_basename=false
     64fi
     65
     66
     67# Name of the executable.
     68as_me=`$as_basename "$0" ||
     69$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     70         X"$0" : 'X\(//\)$' \| \
     71         X"$0" : 'X\(/\)$' \| \
     72         .     : '\(.\)' 2>/dev/null ||
     73echo 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.
     82as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     83as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     84as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     85as_cr_digits='0123456789'
     86as_cr_alnum=$as_cr_Letters$as_cr_digits
     87
     88# The user is always right.
     89if 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
     99fi
     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
     112for as_dir in $PATH
     113do
     114  IFS=$as_save_IFS
     115  test -z "$as_dir" && as_dir=.
     116  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     117done
     118
     119       ;;
    19120  esac
    20   PATH_SEPARATOR=$lt_cv_sys_path_separator
    21 fi
     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
     133for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     134do
     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
     154done
     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
     189case `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= ;;
     194esac
     195
     196if expr a : '\(a\)' >/dev/null 2>&1; then
     197  as_expr=expr
     198else
     199  as_expr=false
     200fi
     201
     202rm -f conf$$ conf$$.exe conf$$.file
     203echo >conf$$.file
     204if 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
     213elif ln conf$$.file conf$$ 2>/dev/null; then
     214  as_ln_s=ln
     215else
     216  as_ln_s='cp -p'
     217fi
     218rm -f conf$$ conf$$.exe conf$$.file
     219
     220if mkdir -p . 2>/dev/null; then
     221  as_mkdir_p=:
     222else
     223  test -d ./-p && rmdir ./-p
     224  as_mkdir_p=false
     225fi
     226
     227as_executable_p="test -f"
     228
     229# Sed expression to map a string onto a valid CPP name.
     230as_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.
     233as_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.
     238as_nl='
     239'
     240IFS="   $as_nl"
     241
     242# CDPATH.
     243$as_unset CDPATH
     244
    22245
    23246
     
    39262  # Avoid inline document here, it may be left over
    40263  :
    41 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
     264elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
    42265  # Yippee, $echo works!
    43266  :
     
    51274  shift
    52275  cat <<EOF
    53 
     276$*
    54277EOF
    55278  exit 0
     
    85308  # So, first we look for a working echo in the user's PATH.
    86309
    87   IFS="${IFS=   }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     310  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    88311  for dir in $PATH /usr/ucb; do
     312    IFS="$lt_save_ifs"
    89313    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    90314       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
     
    95319    fi
    96320  done
    97   IFS="$save_ifs"
     321  IFS="$lt_save_ifs"
    98322
    99323  if test "X$echo" = Xecho; then
     
    169393
    170394
    171 if expr a : '\(a\)' >/dev/null 2>&1; then
    172   as_expr=expr
    173 else
    174   as_expr=false
    175 fi
    176 
    177 
    178 ## --------------------- ##
    179 ## M4sh Initialization.  ##
    180 ## --------------------- ##
    181 
    182 # Be Bourne compatible
    183 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    184   emulate sh
    185   NULLCMD=:
    186 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    187   set -o posix
    188 fi
    189 
    190 # NLS nuisances.
    191 # Support unset when possible.
    192 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
    193   as_unset=unset
    194 else
    195   as_unset=false
    196 fi
    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.
    225 as_me=`(basename "$0") 2>/dev/null ||
    226 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    227          X"$0" : 'X\(//\)$' \| \
    228          X"$0" : 'X\(/\)$' \| \
    229          .     : '\(.\)' 2>/dev/null ||
    230 echo 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.
    238 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    239 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    240 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    241 as_cr_digits='0123456789'
    242 as_cr_alnum=$as_cr_Letters$as_cr_digits
    243 
    244 # The user is always right.
    245 if 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
    255 fi
    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
    268 for as_dir in $PATH
    269 do
    270   IFS=$as_save_IFS
    271   test -z "$as_dir" && as_dir=.
    272   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    273 done
    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
    289 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    290 do
    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
    308 done
    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 
    343 case `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= ;;
    348 esac
    349 
    350 if expr a : '\(a\)' >/dev/null 2>&1; then
    351   as_expr=expr
    352 else
    353   as_expr=false
    354 fi
    355 
    356 rm -f conf$$ conf$$.exe conf$$.file
    357 echo >conf$$.file
    358 if 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
    367 elif ln conf$$.file conf$$ 2>/dev/null; then
    368   as_ln_s=ln
    369 else
    370   as_ln_s='cp -p'
    371 fi
    372 rm -f conf$$ conf$$.exe conf$$.file
    373 
    374 as_executable_p="test -f"
    375 
    376 # Sed expression to map a string onto a valid CPP name.
    377 as_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.
    380 as_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.
    385 as_nl='
    386 '
    387 IFS="   $as_nl"
    388 
    389 # CDPATH.
    390 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
    391 
     395
     396tagnames=${tagnames+${tagnames},}CXX
     397
     398tagnames=${tagnames+${tagnames},}F77
    392399
    393400# Name of the host.
     
    402409#
    403410ac_default_prefix=/usr/local
     411ac_config_libobj_dir=.
    404412cross_compiling=no
    405413subdirs=
     
    458466#endif"
    459467
     468ac_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'
     469ac_subst_files=''
    460470
    461471# Initialize some variables set by options.
     
    815825# Be sure to have absolute paths.
    816826for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    817               localstatedir libdir includedir oldincludedir infodir mandir
     827              localstatedir libdir includedir oldincludedir infodir mandir
    818828do
    819829  eval ac_val=$`echo $ac_var`
     
    855865  ac_confdir=`(dirname "$0") 2>/dev/null ||
    856866$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    857         X"$0" : 'X\(//\)[^/]' \| \
    858         X"$0" : 'X\(//\)$' \| \
    859         X"$0" : 'X\(/\)' \| \
    860         .     : '\(.\)' 2>/dev/null ||
     867        X"$0" : 'X\(//\)[^/]' \| \
     868        X"$0" : 'X\(//\)$' \| \
     869        X"$0" : 'X\(/\)' \| \
     870        .     : '\(.\)' 2>/dev/null ||
    861871echo X"$0" |
    862872    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    881891  fi
    882892fi
     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; }; }
    883896srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    884897ac_env_build_alias_set=${build_alias+set}
     
    914927ac_cv_env_CPP_set=${CPP+set}
    915928ac_cv_env_CPP_value=$CPP
     929ac_env_CXX_set=${CXX+set}
     930ac_env_CXX_value=$CXX
     931ac_cv_env_CXX_set=${CXX+set}
     932ac_cv_env_CXX_value=$CXX
     933ac_env_CXXFLAGS_set=${CXXFLAGS+set}
     934ac_env_CXXFLAGS_value=$CXXFLAGS
     935ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
     936ac_cv_env_CXXFLAGS_value=$CXXFLAGS
     937ac_env_CXXCPP_set=${CXXCPP+set}
     938ac_env_CXXCPP_value=$CXXCPP
     939ac_cv_env_CXXCPP_set=${CXXCPP+set}
     940ac_cv_env_CXXCPP_value=$CXXCPP
     941ac_env_F77_set=${F77+set}
     942ac_env_F77_value=$F77
     943ac_cv_env_F77_set=${F77+set}
     944ac_cv_env_F77_value=$F77
     945ac_env_FFLAGS_set=${FFLAGS+set}
     946ac_env_FFLAGS_value=$FFLAGS
     947ac_cv_env_FFLAGS_set=${FFLAGS+set}
     948ac_cv_env_FFLAGS_value=$FFLAGS
    916949
    917950#
     
    947980Installation directories:
    948981  --prefix=PREFIX         install architecture-independent files in PREFIX
    949                           [$ac_default_prefix]
     982                          [$ac_default_prefix]
    950983  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    951                           [PREFIX]
     984                          [PREFIX]
    952985
    953986By default, \`make install' will install all the files in
     
    9971030  --disable-dependency-tracking Speeds up one-time builds
    9981031  --enable-dependency-tracking  Do not reject slow dependency extractors
    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
     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]
    10021038  --disable-libtool-lock  avoid locking (might break parallel builds)
    10031039  --disable-largefile     omit support for large files
     
    10061042  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
    10071043  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    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
     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]
    10101049  --with-pcap             name of pcap library (default is pcap)
    10111050  --with-pcap-path        location of pcap library (default is /usr/lib)
     
    10211060              headers in a nonstandard directory <include dir>
    10221061  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
    10231067
    10241068Use these variables to override the choices made by `configure' or to help
     
    10591103    ac_top_srcdir=$ac_top_builddir$srcdir ;;
    10601104esac
    1061 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
    1062 # absolute.
    1063 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
    1064 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
    1065 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
    1066 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
     1105
     1106# Do not use `cd foo && pwd` to compute absolute paths, because
     1107# the directories may not exist.
     1108case `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;;
     1116esac
     1117case $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;;
     1125esac
     1126case $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;;
     1134esac
     1135case $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;;
     1143esac
    10671144
    10681145    cd $ac_dir
     
    10751152      $SHELL $ac_srcdir/configure  --help=recursive
    10761153    elif test -f $ac_srcdir/configure.ac ||
    1077            test -f $ac_srcdir/configure.in; then
     1154           test -f $ac_srcdir/configure.in; then
    10781155      echo
    10791156      $ac_configure --help
     
    10891166  cat <<\_ACEOF
    10901167libtrace configure 2.0.2
    1091 generated by GNU Autoconf 2.53
    1092 
    1093 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
    1094 Free Software Foundation, Inc.
     1168generated by GNU Autoconf 2.59
     1169
     1170Copyright (C) 2003 Free Software Foundation, Inc.
    10951171This configure script is free software; the Free Software Foundation
    10961172gives unlimited permission to copy, distribute and modify it.
     
    11041180
    11051181It was created by libtrace $as_me 2.0.2, which was
    1106 generated by GNU Autoconf 2.53.  Invocation command line was
     1182generated by GNU Autoconf 2.59.  Invocation command line was
    11071183
    11081184  $ $0 $@
     
    11561232# Keep a trace of the command line.
    11571233# 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.
    11581235# Also quote any args containing shell meta-characters.
     1236# Make two passes to allow for proper duplicate-argument suppression.
    11591237ac_configure_args=
     1238ac_configure_args0=
     1239ac_configure_args1=
    11601240ac_sep=
    1161 for ac_arg
     1241ac_must_keep_next=false
     1242for ac_pass in 1 2
    11621243do
    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.
     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
    11781279done
     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; }
    11791282
    11801283# When interrupted or exit'd, cleanup temporary files, and complete
     
    11871290  {
    11881291    echo
     1292
    11891293    cat <<\_ASBOX
    11901294## ---------------- ##
     
    11991303    *ac_space=\ *)
    12001304      sed -n \
    1201         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    1202           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1305        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
     1306          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
    12031307      ;;
    12041308    *)
    12051309      sed -n \
    1206         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     1310        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    12071311      ;;
    12081312    esac;
    12091313}
    12101314    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
    12111344    if test -s confdefs.h; then
    12121345      cat <<\_ASBOX
     
    12161349_ASBOX
    12171350      echo
    1218       sed "/^$/d" confdefs.h
     1351      sed "/^$/d" confdefs.h | sort
    12191352      echo
    12201353    fi
     
    12231356    echo "$as_me: exit $exit_status"
    12241357  } >&5
    1225   rm -f core core.* *.core &&
     1358  rm -f core *.core &&
    12261359  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
    12271360    exit $exit_status
     
    13031436ac_cache_corrupted=false
    13041437for ac_var in `(set) 2>&1 |
    1305                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     1438               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
    13061439  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    13071440  eval ac_new_set=\$ac_env_${ac_var}_set
     
    13201453    *)
    13211454      if test "x$ac_old_val" != "x$ac_new_val"; then
    1322         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     1455        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    13231456echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    1324         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
     1457        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
    13251458echo "$as_me:   former value:  $ac_old_val" >&2;}
    1326         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
     1459        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
    13271460echo "$as_me:   current value: $ac_new_val" >&2;}
    1328         ac_cache_corrupted=:
     1461        ac_cache_corrupted=:
    13291462      fi;;
    13301463  esac
     
    13821515
    13831516
     1517
    13841518ac_aux_dir=
    13851519for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
     
    14181552# AFS /usr/afsws/bin/install, which mishandles nonexistent args
    14191553# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
     1554# OS/2's system install, which has a completely different semantic
    14201555# ./install, which can be erroneously created by make from ./install.sh.
    14211556echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     
    14341569  ./ | .// | /cC/* | \
    14351570  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
     1571  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    14361572  /usr/ucb/* ) ;;
    14371573  *)
     
    14411577    for ac_prog in ginstall scoinst install; do
    14421578      for ac_exec_ext in '' $ac_executable_extensions; do
    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
     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
    14571593      done
    14581594    done
     
    15971733done
    15981734
    1599 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
    1600 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
    1601 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
     1735echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     1736echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
     1737set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
    16021738if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
    16031739  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    16051741  cat >conftest.make <<\_ACEOF
    16061742all:
    1607         @echo 'ac_maketemp="${MAKE}"'
     1743        @echo 'ac_maketemp="$(MAKE)"'
    16081744_ACEOF
    16091745# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
     
    17241860
    17251861
    1726                                                     ac_config_headers="$ac_config_headers config.h"
     1862                                                              ac_config_headers="$ac_config_headers config.h"
    17271863
    17281864ac_ext=c
     
    19302066    # first if we set CC to just the basename; use the full file name.
    19312067    shift
    1932     set dummy "$as_dir/$ac_word" ${1+"$@"}
    1933     shift
    1934     ac_cv_prog_CC="$@"
     2068    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
    19352069  fi
    19362070fi
     
    20372171
    20382172
    2039 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
    2040 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
     2173test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
     2174See \`config.log' for more details." >&5
     2175echo "$as_me: error: no acceptable C compiler found in \$PATH
     2176See \`config.log' for more details." >&2;}
    20412177   { (exit 1); exit 1; }; }
    20422178
     
    20622198
    20632199cat >conftest.$ac_ext <<_ACEOF
    2064 #line $LINENO "configure"
    2065 #include "confdefs.h"
    2066 
    2067 #ifdef F77_DUMMY_MAIN
    2068 #  ifdef __cplusplus
    2069      extern "C"
    2070 #  endif
    2071    int F77_DUMMY_MAIN() { return 1; }
    2072 #endif
     2200/* confdefs.h.  */
     2201_ACEOF
     2202cat confdefs.h >>conftest.$ac_ext
     2203cat >>conftest.$ac_ext <<_ACEOF
     2204/* end confdefs.h.  */
     2205
    20732206int
    20742207main ()
     
    20802213_ACEOF
    20812214ac_clean_files_save=$ac_clean_files
    2082 ac_clean_files="$ac_clean_files a.out a.exe"
     2215ac_clean_files="$ac_clean_files a.out a.exe b.out"
    20832216# Try to create an executable without -o first, disregard a.out.
    20842217# It will help us diagnose broken compilers, and finding out an intuition
    20852218# of exeext.
    2086 echo "$as_me:$LINENO: checking for C compiler default output" >&5
    2087 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
     2219echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     2220echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
    20882221ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    20892222if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
     
    20992232# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
    21002233ac_cv_exeext=
    2101 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
    2102                 ls a.out conftest 2>/dev/null;
    2103                 ls a.* conftest.* 2>/dev/null`; do
     2234# b.out is created by i960 compilers.
     2235for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
     2236do
     2237  test -f "$ac_file" || continue
    21042238  case $ac_file in
    2105     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
    2106     a.out ) # We found the default executable, but exeext='' is most
    2107             # certainly right.
    2108             break;;
    2109     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2110           # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
    2111           export ac_cv_exeext
    2112           break;;
    2113     * ) break;;
     2239    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
     2240        ;;
     2241    conftest.$ac_ext )
     2242        # This is the source file.
     2243        ;;
     2244    [ab].out )
     2245        # We found the default executable, but exeext='' is most
     2246        # certainly right.
     2247        break;;
     2248    *.* )
     2249        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     2250        # FIXME: I believe we export ac_cv_exeext for Libtool,
     2251        # but it would be cool to find out if it's true.  Does anybody
     2252        # maintain Libtool? --akim.
     2253        export ac_cv_exeext
     2254        break;;
     2255    * )
     2256        break;;
    21142257  esac
    21152258done
    21162259else
    21172260  echo "$as_me: failed program was:" >&5
    2118 cat conftest.$ac_ext >&5
    2119 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
    2120 echo "$as_me: error: C compiler cannot create executables" >&2;}
     2261sed 's/^/| /' conftest.$ac_ext >&5
     2262
     2263{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
     2264See \`config.log' for more details." >&5
     2265echo "$as_me: error: C compiler cannot create executables
     2266See \`config.log' for more details." >&2;}
    21212267   { (exit 77); exit 77; }; }
    21222268fi
     
    21452291    else
    21462292        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
    2147 If you meant to cross compile, use \`--host'." >&5
     2293If you meant to cross compile, use \`--host'.
     2294See \`config.log' for more details." >&5
    21482295echo "$as_me: error: cannot run C compiled programs.
    2149 If you meant to cross compile, use \`--host'." >&2;}
     2296If you meant to cross compile, use \`--host'.
     2297See \`config.log' for more details." >&2;}
    21502298   { (exit 1); exit 1; }; }
    21512299    fi
     
    21552303echo "${ECHO_T}yes" >&6
    21562304
    2157 rm -f a.out a.exe conftest$ac_cv_exeext
     2305rm -f a.out a.exe conftest$ac_cv_exeext b.out
    21582306ac_clean_files=$ac_clean_files_save
    21592307# Check the compiler produces executables we can run.  If not, either
     
    21752323# work properly (i.e., refer to `conftest.exe'), while it won't with
    21762324# `rm'.
    2177 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
     2325for ac_file in conftest.exe conftest conftest.*; do
     2326  test -f "$ac_file" || continue
    21782327  case $ac_file in
    2179     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
     2328    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
    21802329    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2181           export ac_cv_exeext
    2182           break;;
     2330          export ac_cv_exeext
     2331          break;;
    21832332    * ) break;;
    21842333  esac
    21852334done
    21862335else
    2187   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
    2188 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
     2336  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
     2337See \`config.log' for more details." >&5
     2338echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
     2339See \`config.log' for more details." >&2;}
    21892340   { (exit 1); exit 1; }; }
    21902341fi
     
    22032354else
    22042355  cat >conftest.$ac_ext <<_ACEOF
    2205 #line $LINENO "configure"
    2206 #include "confdefs.h"
    2207 
    2208 #ifdef F77_DUMMY_MAIN
    2209 #  ifdef __cplusplus
    2210      extern "C"
    2211 #  endif
    2212    int F77_DUMMY_MAIN() { return 1; }
    2213 #endif
     2356/* confdefs.h.  */
     2357_ACEOF
     2358cat confdefs.h >>conftest.$ac_ext
     2359cat >>conftest.$ac_ext <<_ACEOF
     2360/* end confdefs.h.  */
     2361
    22142362int
    22152363main ()
     
    22282376  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
    22292377  case $ac_file in
    2230     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
     2378    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
    22312379    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    22322380       break;;
     
    22352383else
    22362384  echo "$as_me: failed program was:" >&5
    2237 cat conftest.$ac_ext >&5
    2238 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
    2239 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
     2385sed 's/^/| /' conftest.$ac_ext >&5
     2386
     2387{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
     2388See \`config.log' for more details." >&5
     2389echo "$as_me: error: cannot compute suffix of object files: cannot compile
     2390See \`config.log' for more details." >&2;}
    22402391   { (exit 1); exit 1; }; }
    22412392fi
     
    22532404else
    22542405  cat >conftest.$ac_ext <<_ACEOF
    2255 #line $LINENO "configure"
    2256 #include "confdefs.h"
    2257 
    2258 #ifdef F77_DUMMY_MAIN
    2259 #  ifdef __cplusplus
    2260      extern "C"
    2261 #  endif
    2262    int F77_DUMMY_MAIN() { return 1; }
    2263 #endif
     2406/* confdefs.h.  */
     2407_ACEOF
     2408cat confdefs.h >>conftest.$ac_ext
     2409cat >>conftest.$ac_ext <<_ACEOF
     2410/* end confdefs.h.  */
     2411
    22642412int
    22652413main ()
     
    22752423rm -f conftest.$ac_objext
    22762424if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2277   (eval $ac_compile) 2>&5
    2278   ac_status=$?
     2425  (eval $ac_compile) 2>conftest.er1
     2426  ac_status=$?
     2427  grep -v '^ *+' conftest.er1 >conftest.err
     2428  rm -f conftest.er1
     2429  cat conftest.err >&5
    22792430  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22802431  (exit $ac_status); } &&
    2281          { ac_try='test -s conftest.$ac_objext'
     2432         { ac_try='test -z "$ac_c_werror_flag"
     2433                         || test ! -s conftest.err'
    22822434  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22832435  (eval $ac_try) 2>&5
    22842436  ac_status=$?
    22852437  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2438  (exit $ac_status); }; } &&
     2439         { ac_try='test -s conftest.$ac_objext'
     2440  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2441  (eval $ac_try) 2>&5
     2442  ac_status=$?
     2443  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22862444  (exit $ac_status); }; }; then
    22872445  ac_compiler_gnu=yes
    22882446else
    22892447  echo "$as_me: failed program was:" >&5
    2290 cat conftest.$ac_ext >&5
     2448sed 's/^/| /' conftest.$ac_ext >&5
     2449
    22912450ac_compiler_gnu=no
    22922451fi
    2293 rm -f conftest.$ac_objext conftest.$ac_ext
     2452rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    22942453ac_cv_c_compiler_gnu=$ac_compiler_gnu
    22952454
     
    23072466else
    23082467  cat >conftest.$ac_ext <<_ACEOF
    2309 #line $LINENO "configure"
    2310 #include "confdefs.h"
    2311 
    2312 #ifdef F77_DUMMY_MAIN
    2313 #  ifdef __cplusplus
    2314      extern "C"
    2315 #  endif
    2316    int F77_DUMMY_MAIN() { return 1; }
    2317 #endif
     2468/* confdefs.h.  */
     2469_ACEOF
     2470cat confdefs.h >>conftest.$ac_ext
     2471cat >>conftest.$ac_ext <<_ACEOF
     2472/* end confdefs.h.  */
     2473
    23182474int
    23192475main ()
     
    23262482rm -f conftest.$ac_objext
    23272483if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2328   (eval $ac_compile) 2>&5
    2329   ac_status=$?
     2484  (eval $ac_compile) 2>conftest.er1
     2485  ac_status=$?
     2486  grep -v '^ *+' conftest.er1 >conftest.err
     2487  rm -f conftest.er1
     2488  cat conftest.err >&5
    23302489  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23312490  (exit $ac_status); } &&
    2332          { ac_try='test -s conftest.$ac_objext'
     2491         { ac_try='test -z "$ac_c_werror_flag"
     2492                         || test ! -s conftest.err'
    23332493  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23342494  (eval $ac_try) 2>&5
    23352495  ac_status=$?
    23362496  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2497  (exit $ac_status); }; } &&
     2498         { ac_try='test -s conftest.$ac_objext'
     2499  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2500  (eval $ac_try) 2>&5
     2501  ac_status=$?
     2502  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23372503  (exit $ac_status); }; }; then
    23382504  ac_cv_prog_cc_g=yes
    23392505else
    23402506  echo "$as_me: failed program was:" >&5
    2341 cat conftest.$ac_ext >&5
     2507sed 's/^/| /' conftest.$ac_ext >&5
     2508
    23422509ac_cv_prog_cc_g=no
    23432510fi
    2344 rm -f conftest.$ac_objext conftest.$ac_ext
     2511rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    23452512fi
    23462513echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     
    23612528  fi
    23622529fi
     2530echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
     2531echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
     2532if test "${ac_cv_prog_cc_stdc+set}" = set; then
     2533  echo $ECHO_N "(cached) $ECHO_C" >&6
     2534else
     2535  ac_cv_prog_cc_stdc=no
     2536ac_save_CC=$CC
     2537cat >conftest.$ac_ext <<_ACEOF
     2538/* confdefs.h.  */
     2539_ACEOF
     2540cat confdefs.h >>conftest.$ac_ext
     2541cat >>conftest.$ac_ext <<_ACEOF
     2542/* end confdefs.h.  */
     2543#include <stdarg.h>
     2544#include <stdio.h>
     2545#include <sys/types.h>
     2546#include <sys/stat.h>
     2547/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
     2548struct buf { int x; };
     2549FILE * (*rcsopen) (struct buf *, struct stat *, int);
     2550static char *e (p, i)
     2551     char **p;
     2552     int i;
     2553{
     2554  return p[i];
     2555}
     2556static char *f (char * (*g) (char **, int), char **p, ...)
     2557{
     2558  char *s;
     2559  va_list v;
     2560  va_start (v,p);
     2561  s = g (p, va_arg (v,int));
     2562  va_end (v);
     2563  return s;
     2564}
     2565
     2566/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
     2567   function prototypes and stuff, but not '\xHH' hex character constants.
     2568   These don't provoke an error unfortunately, instead are silently treated
     2569   as 'x'.  The following induces an error, until -std1 is added to get
     2570   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
     2571   array size at least.  It's necessary to write '\x00'==0 to get something
     2572   that's true only with -std1.  */
     2573int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     2574
     2575int test (int i, double x);
     2576struct s1 {int (*f) (int a);};
     2577struct s2 {int (*f) (double a);};
     2578int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
     2579int argc;
     2580char **argv;
     2581int
     2582main ()
     2583{
     2584return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
     2585  ;
     2586  return 0;
     2587}
     2588_ACEOF
     2589# Don't try gcc -ansi; that turns off useful extensions and
     2590# breaks some systems' header files.
     2591# AIX                   -qlanglvl=ansi
     2592# Ultrix and OSF/1      -std1
     2593# HP-UX 10.20 and later -Ae
     2594# HP-UX older versions  -Aa -D_HPUX_SOURCE
     2595# SVR4                  -Xc -D__EXTENSIONS__
     2596for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     2597do
     2598  CC="$ac_save_CC $ac_arg"
     2599  rm -f conftest.$ac_objext
     2600if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2601  (eval $ac_compile) 2>conftest.er1
     2602  ac_status=$?
     2603  grep -v '^ *+' conftest.er1 >conftest.err
     2604  rm -f conftest.er1
     2605  cat conftest.err >&5
     2606  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2607  (exit $ac_status); } &&
     2608         { ac_try='test -z "$ac_c_werror_flag"
     2609                         || test ! -s conftest.err'
     2610  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2611  (eval $ac_try) 2>&5
     2612  ac_status=$?
     2613  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2614  (exit $ac_status); }; } &&
     2615         { ac_try='test -s conftest.$ac_objext'
     2616  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2617  (eval $ac_try) 2>&5
     2618  ac_status=$?
     2619  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2620  (exit $ac_status); }; }; then
     2621  ac_cv_prog_cc_stdc=$ac_arg
     2622break
     2623else
     2624  echo "$as_me: failed program was:" >&5
     2625sed 's/^/| /' conftest.$ac_ext >&5
     2626
     2627fi
     2628rm -f conftest.err conftest.$ac_objext
     2629done
     2630rm -f conftest.$ac_ext conftest.$ac_objext
     2631CC=$ac_save_CC
     2632
     2633fi
     2634
     2635case "x$ac_cv_prog_cc_stdc" in
     2636  x|xno)
     2637    echo "$as_me:$LINENO: result: none needed" >&5
     2638echo "${ECHO_T}none needed" >&6 ;;
     2639  *)
     2640    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     2641echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
     2642    CC="$CC $ac_cv_prog_cc_stdc" ;;
     2643esac
     2644
    23632645# Some people use a C++ compiler to compile C.  Since we use `exit',
    23642646# in C++ we need to declare it.  In case someone uses the same compiler
     
    23722654rm -f conftest.$ac_objext
    23732655if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2374   (eval $ac_compile) 2>&5
    2375   ac_status=$?
     2656  (eval $ac_compile) 2>conftest.er1
     2657  ac_status=$?
     2658  grep -v '^ *+' conftest.er1 >conftest.err
     2659  rm -f conftest.er1
     2660  cat conftest.err >&5
    23762661  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23772662  (exit $ac_status); } &&
    2378          { ac_try='test -s conftest.$ac_objext'
     2663         { ac_try='test -z "$ac_c_werror_flag"
     2664                         || test ! -s conftest.err'
    23792665  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23802666  (eval $ac_try) 2>&5
    23812667  ac_status=$?
    23822668  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2669  (exit $ac_status); }; } &&
     2670         { ac_try='test -s conftest.$ac_objext'
     2671  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2672  (eval $ac_try) 2>&5
     2673  ac_status=$?
     2674  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23832675  (exit $ac_status); }; }; then
    23842676  for ac_declaration in \
    2385    ''\
    2386    '#include <stdlib.h>' \
     2677   '' \
    23872678   'extern "C" void std::exit (int) throw (); using std::exit;' \
    23882679   'extern "C" void std::exit (int); using std::exit;' \
     
    23922683do
    23932684  cat >conftest.$ac_ext <<_ACEOF
    2394 #line $LINENO "configure"
    2395 #include "confdefs.h"
     2685/* confdefs.h.  */
     2686_ACEOF
     2687cat confdefs.h >>conftest.$ac_ext
     2688cat >>conftest.$ac_ext <<_ACEOF
     2689/* end confdefs.h.  */
     2690$ac_declaration
    23962691#include <stdlib.h>
    2397 $ac_declaration
    2398 #ifdef F77_DUMMY_MAIN
    2399 #  ifdef __cplusplus
    2400      extern "C"
    2401 #  endif
    2402    int F77_DUMMY_MAIN() { return 1; }
    2403 #endif
    24042692int
    24052693main ()
     
    24122700rm -f conftest.$ac_objext
    24132701if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2414   (eval $ac_compile) 2>&5
    2415   ac_status=$?
     2702  (eval $ac_compile) 2>conftest.er1
     2703  ac_status=$?
     2704  grep -v '^ *+' conftest.er1 >conftest.err
     2705  rm -f conftest.er1
     2706  cat conftest.err >&5
    24162707  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24172708  (exit $ac_status); } &&
    2418          { ac_try='test -s conftest.$ac_objext'
     2709         { ac_try='test -z "$ac_c_werror_flag"
     2710                         || test ! -s conftest.err'
    24192711  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24202712  (eval $ac_try) 2>&5
    24212713  ac_status=$?
    24222714  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2715  (exit $ac_status); }; } &&
     2716         { ac_try='test -s conftest.$ac_objext'
     2717  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2718  (eval $ac_try) 2>&5
     2719  ac_status=$?
     2720  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24232721  (exit $ac_status); }; }; then
    24242722  :
    24252723else
    24262724  echo "$as_me: failed program was:" >&5
    2427 cat conftest.$ac_ext >&5
     2725sed 's/^/| /' conftest.$ac_ext >&5
     2726
    24282727continue
    24292728fi
    2430 rm -f conftest.$ac_objext conftest.$ac_ext
     2729rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    24312730  cat >conftest.$ac_ext <<_ACEOF
    2432 #line $LINENO "configure"
    2433 #include "confdefs.h"
     2731/* confdefs.h.  */
     2732_ACEOF
     2733cat confdefs.h >>conftest.$ac_ext
     2734cat >>conftest.$ac_ext <<_ACEOF
     2735/* end confdefs.h.  */
    24342736$ac_declaration
    2435 #ifdef F77_DUMMY_MAIN
    2436 #  ifdef __cplusplus
    2437      extern "C"
    2438 #  endif
    2439    int F77_DUMMY_MAIN() { return 1; }
    2440 #endif
    24412737int
    24422738main ()
     
    24492745rm -f conftest.$ac_objext
    24502746if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2451   (eval $ac_compile) 2>&5
    2452   ac_status=$?
     2747  (eval $ac_compile) 2>conftest.er1
     2748  ac_status=$?
     2749  grep -v '^ *+' conftest.er1 >conftest.err
     2750  rm -f conftest.er1
     2751  cat conftest.err >&5
    24532752  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24542753  (exit $ac_status); } &&
    2455          { ac_try='test -s conftest.$ac_objext'
     2754         { ac_try='test -z "$ac_c_werror_flag"
     2755                         || test ! -s conftest.err'
    24562756  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24572757  (eval $ac_try) 2>&5
    24582758  ac_status=$?
    24592759  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2760  (exit $ac_status); }; } &&
     2761         { ac_try='test -s conftest.$ac_objext'
     2762  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2763  (eval $ac_try) 2>&5
     2764  ac_status=$?
     2765  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24602766  (exit $ac_status); }; }; then
    24612767  break
    24622768else
    24632769  echo "$as_me: failed program was:" >&5
    2464 cat conftest.$ac_ext >&5
    2465 fi
    2466 rm -f conftest.$ac_objext conftest.$ac_ext
     2770sed 's/^/| /' conftest.$ac_ext >&5
     2771
     2772fi
     2773rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    24672774done
    24682775rm -f conftest*
     
    24752782else
    24762783  echo "$as_me: failed program was:" >&5
    2477 cat conftest.$ac_ext >&5
    2478 fi
    2479 rm -f conftest.$ac_objext conftest.$ac_ext
     2784sed 's/^/| /' conftest.$ac_ext >&5
     2785
     2786fi
     2787rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    24802788ac_ext=c
    24812789ac_cpp='$CPP $CPPFLAGS'
     
    24842792ac_compiler_gnu=$ac_cv_c_compiler_gnu
    24852793
    2486 ac_config_commands="$ac_config_commands default-1"
     2794          ac_config_commands="$ac_config_commands default-1"
    24872795
    24882796am_make=${MAKE-make}
     
    26052913# AFS /usr/afsws/bin/install, which mishandles nonexistent args
    26062914# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
     2915# OS/2's system install, which has a completely different semantic
    26072916# ./install, which can be erroneously created by make from ./install.sh.
    26082917echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     
    26212930  ./ | .// | /cC/* | \
    26222931  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
     2932  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    26232933  /usr/ucb/* ) ;;
    26242934  *)
     
    26282938    for ac_prog in ginstall scoinst install; do
    26292939      for ac_exec_ext in '' $ac_executable_extensions; do
    2630         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    2631           if test $ac_prog = install &&
    2632             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    2633             # AIX install.  It has an incompatible calling convention.
    2634             :
    2635           elif test $ac_prog = install &&
    2636             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    2637             # program-specific install script used by HP pwplus--don't use.
    2638             :
    2639           else
    2640             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    2641             break 3
    2642           fi
    2643         fi
     2940        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     2941          if test $ac_prog = install &&
     2942            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     2943            # AIX install.  It has an incompatible calling convention.
     2944            :
     2945          elif test $ac_prog = install &&
     2946            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     2947            # program-specific install script used by HP pwplus--don't use.
     2948            :
     2949          else
     2950            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     2951            break 3
     2952          fi
     2953        fi
    26442954      done
    26452955    done
     
    26752985  enableval="$enable_shared"
    26762986  p=${PACKAGE-default}
    2677 case $enableval in
    2678 yes) enable_shared=yes ;;
    2679 no) enable_shared=no ;;
    2680 *)
    2681   enable_shared=no
    2682   # Look at the argument we got.  We use all the common list separators.
    2683   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
    2684   for pkg in $enableval; do
    2685     if test "X$pkg" = "X$p"; then
    2686       enable_shared=yes
    2687     fi
    2688   done
    2689   IFS="$ac_save_ifs"
    2690   ;;
    2691 esac
     2987    case $enableval in
     2988    yes) enable_shared=yes ;;
     2989    no) enable_shared=no ;;
     2990    *)
     2991      enable_shared=no
     2992      # Look at the argument we got.  We use all the common list separators.
     2993      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
     2994      for pkg in $enableval; do
     2995        IFS="$lt_save_ifs"
     2996        if test "X$pkg" = "X$p"; then
     2997          enable_shared=yes
     2998        fi
     2999      done
     3000      IFS="$lt_save_ifs"
     3001      ;;
     3002    esac
    26923003else
    26933004  enable_shared=yes
    26943005fi;
     3006
    26953007# Check whether --enable-static or --disable-static was given.
    26963008if test "${enable_static+set}" = set; then
    26973009  enableval="$enable_static"
    26983010  p=${PACKAGE-default}
    2699 case $enableval in
    2700 yes) enable_static=yes ;;
    2701 no) enable_static=no ;;
    2702 *)
    2703   enable_static=no
    2704   # Look at the argument we got.  We use all the common list separators.
    2705   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
    2706   for pkg in $enableval; do
    2707     if test "X$pkg" = "X$p"; then
    2708       enable_static=yes
    2709     fi
    2710   done
    2711   IFS="$ac_save_ifs"
    2712   ;;
    2713 esac
     3011    case $enableval in
     3012    yes) enable_static=yes ;;
     3013    no) enable_static=no ;;
     3014    *)
     3015     enable_static=no
     3016      # Look at the argument we got.  We use all the common list separators.
     3017      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
     3018      for pkg in $enableval; do
     3019        IFS="$lt_save_ifs"
     3020        if test "X$pkg" = "X$p"; then
     3021          enable_static=yes
     3022        fi
     3023      done
     3024      IFS="$lt_save_ifs"
     3025      ;;
     3026    esac
    27143027else
    27153028  enable_static=yes
    27163029fi;
     3030
    27173031# Check whether --enable-fast-install or --disable-fast-install was given.
    27183032if test "${enable_fast_install+set}" = set; then
    27193033  enableval="$enable_fast_install"
    27203034  p=${PACKAGE-default}
    2721 case $enableval in
    2722 yes) enable_fast_install=yes ;;
    2723 no) enable_fast_install=no ;;
    2724 *)
    2725   enable_fast_install=no
    2726   # Look at the argument we got.  We use all the common list separators.
    2727   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
    2728   for pkg in $enableval; do
    2729     if test "X$pkg" = "X$p"; then
    2730       enable_fast_install=yes
    2731     fi
    2732   done
    2733   IFS="$ac_save_ifs"
    2734   ;;
    2735 esac
     3035    case $enableval in
     3036    yes) enable_fast_install=yes ;;
     3037    no) enable_fast_install=no ;;
     3038    *)
     3039      enable_fast_install=no
     3040      # Look at the argument we got.  We use all the common list separators.
     3041      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
     3042      for pkg in $enableval; do
     3043        IFS="$lt_save_ifs"
     3044        if test "X$pkg" = "X$p"; then
     3045          enable_fast_install=yes
     3046        fi
     3047      done
     3048      IFS="$lt_save_ifs"
     3049      ;;
     3050    esac
    27363051else
    27373052  enable_fast_install=yes
    27383053fi;
     3054
    27393055# Make sure we can run config.sub.
    27403056$ac_config_sub sun4 >/dev/null 2>&1 ||
     
    27913107
    27923108
    2793 # Find the correct PATH separator.  Usually this is `:', but
    2794 # DJGPP uses `;' like DOS.
    2795 if test "X${PATH_SEPARATOR+set}" != Xset; then
    2796   UNAME=${UNAME-`uname 2>/dev/null`}
    2797   case X$UNAME in
    2798     *-DOS) lt_cv_sys_path_separator=';' ;;
    2799     *)     lt_cv_sys_path_separator=':' ;;
    2800   esac
    2801   PATH_SEPARATOR=$lt_cv_sys_path_separator
    2802 fi
     3109echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
     3110echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
     3111if test "${lt_cv_path_SED+set}" = set; then
     3112  echo $ECHO_N "(cached) $ECHO_C" >&6
     3113else
     3114  # Loop through the user's path and test for sed and gsed.
     3115# Then use that list of sed's as ones to test for truncation.
     3116as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3117for as_dir in $PATH
     3118do
     3119  IFS=$as_save_IFS
     3120  test -z "$as_dir" && as_dir=.
     3121  for lt_ac_prog in sed gsed; do
     3122    for ac_exec_ext in '' $ac_executable_extensions; do
     3123      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
     3124        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
     3125      fi
     3126    done
     3127  done
     3128done
     3129lt_ac_max=0
     3130lt_ac_count=0
     3131# Add /usr/xpg4/bin/sed as it is typically found on Solaris
     3132# along with /bin/sed that truncates output.
     3133for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
     3134  test ! -f $lt_ac_sed && break
     3135  cat /dev/null > conftest.in
     3136  lt_ac_count=0
     3137  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
     3138  # Check for GNU sed and select it if it is found.
     3139  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
     3140    lt_cv_path_SED=$lt_ac_sed
     3141    break
     3142  fi
     3143  while true; do
     3144    cat conftest.in conftest.in >conftest.tmp
     3145    mv conftest.tmp conftest.in
     3146    cp conftest.in conftest.nl
     3147    echo >>conftest.nl
     3148    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
     3149    cmp -s conftest.out conftest.nl || break
     3150    # 10000 chars as input seems more than enough
     3151    test $lt_ac_count -gt 10 && break
     3152    lt_ac_count=`expr $lt_ac_count + 1`
     3153    if test $lt_ac_count -gt $lt_ac_max; then
     3154      lt_ac_max=$lt_ac_count
     3155      lt_cv_path_SED=$lt_ac_sed
     3156    fi
     3157  done
     3158done
     3159SED=$lt_cv_path_SED
     3160
     3161fi
     3162
     3163echo "$as_me:$LINENO: result: $SED" >&5
     3164echo "${ECHO_T}$SED" >&6
     3165
     3166echo "$as_me:$LINENO: checking for egrep" >&5
     3167echo $ECHO_N "checking for egrep... $ECHO_C" >&6
     3168if test "${ac_cv_prog_egrep+set}" = set; then
     3169  echo $ECHO_N "(cached) $ECHO_C" >&6
     3170else
     3171  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
     3172    then ac_cv_prog_egrep='grep -E'
     3173    else ac_cv_prog_egrep='egrep'
     3174    fi
     3175fi
     3176echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
     3177echo "${ECHO_T}$ac_cv_prog_egrep" >&6
     3178 EGREP=$ac_cv_prog_egrep
     3179
    28033180
    28043181
     
    28133190if test "$GCC" = yes; then
    28143191  # Check if gcc -print-prog-name=ld gives a path.
    2815   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
    2816 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
     3192  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
     3193echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
    28173194  case $host in
    28183195  *-*-mingw*)
     
    28243201  case $ac_prog in
    28253202    # Accept absolute paths.
    2826     [\\/]* | [A-Za-z]:[\\/]*)
     3203    [\\/]* | ?:[\\/]*)
    28273204      re_direlt='/[^/][^/]*/\.\./'
    2828       # Canonicalize the path of ld
    2829       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
     3205      # Canonicalize the pathname of ld
     3206      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
    28303207      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
    2831         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
     3208        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
    28323209      done
    28333210      test -z "$LD" && LD="$ac_prog"
     
    28533230else
    28543231  if test -z "$LD"; then
    2855   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     3232  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    28563233  for ac_dir in $PATH; do
     3234    IFS="$lt_save_ifs"
    28573235    test -z "$ac_dir" && ac_dir=.
    28583236    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
     
    28613239      # but apparently some GNU ld's only accept -v.
    28623240      # Break only if it was the GNU/non-GNU ld that we prefer.
    2863       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
     3241      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
     3242      *GNU* | *'with BFD'*)
    28643243        test "$with_gnu_ld" != no && break
    2865       else
     3244        ;;
     3245      *)
    28663246        test "$with_gnu_ld" != yes && break
    2867       fi
     3247        ;;
     3248      esac
    28683249    fi
    28693250  done
    2870   IFS="$ac_save_ifs"
     3251  IFS="$lt_save_ifs"
    28713252else
    28723253  lt_cv_path_LD="$LD" # Let the user override the test with a path.
     
    28913272else
    28923273  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
    2893 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
     3274case `$LD -v 2>&1 </dev/null` in
     3275*GNU* | *'with BFD'*)
    28943276  lt_cv_prog_gnu_ld=yes
    2895 else
     3277  ;;
     3278*)
    28963279  lt_cv_prog_gnu_ld=no
    2897 fi
     3280  ;;
     3281esac
    28983282fi
    28993283echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
     
    29123296echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
    29133297reload_flag=$lt_cv_ld_reload_flag
    2914 test -n "$reload_flag" && reload_flag=" $reload_flag"
     3298case $reload_flag in
     3299"" | " "*) ;;
     3300*) reload_flag=" $reload_flag" ;;
     3301esac
     3302reload_cmds='$LD$reload_flag -o $output$reload_objs'
    29153303
    29163304echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
     
    29233311  lt_cv_path_NM="$NM"
    29243312else
    2925   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     3313  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    29263314  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
     3315    IFS="$lt_save_ifs"
    29273316    test -z "$ac_dir" && ac_dir=.
    2928     tmp_nm=$ac_dir/${ac_tool_prefix}nm
    2929     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
     3317    tmp_nm="$ac_dir/${ac_tool_prefix}nm"
     3318    if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
    29303319      # Check to see if the nm accepts a BSD-compat flag.
    29313320      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
    29323321      #   nm: unknown option "B" ignored
    29333322      # Tru64's nm complains that /dev/null is an invalid object file
    2934       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
     3323      case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
     3324      */dev/null* | *'Invalid file or object type'*)
    29353325        lt_cv_path_NM="$tmp_nm -B"
    29363326        break
    2937       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
    2938         lt_cv_path_NM="$tmp_nm -p"
    2939         break
    2940       else
    2941         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
    2942         continue # so that we can try to find one that supports BSD flags
    2943       fi
     3327        ;;
     3328      *)
     3329        case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
     3330        */dev/null*)
     3331          lt_cv_path_NM="$tmp_nm -p"
     3332          break
     3333          ;;
     3334        *)
     3335          lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
     3336          continue # so that we can try to find one that supports BSD flags
     3337          ;;
     3338        esac
     3339      esac
    29443340    fi
    29453341  done
    2946   IFS="$ac_save_ifs"
     3342  IFS="$lt_save_ifs"
    29473343  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
    29483344fi
    29493345fi
    2950 
     3346echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
     3347echo "${ECHO_T}$lt_cv_path_NM" >&6
    29513348NM="$lt_cv_path_NM"
    2952 echo "$as_me:$LINENO: result: $NM" >&5
    2953 echo "${ECHO_T}$NM" >&6
    29543349
    29553350echo "$as_me:$LINENO: checking whether ln -s works" >&5
     
    29643359fi
    29653360
    2966 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
    2967 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
     3361echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
     3362echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
    29683363if test "${lt_cv_deplibs_check_method+set}" = set; then
    29693364  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    29793374# 'test_compile' -- check by making test program.
    29803375# 'file_magic [[regex]]' -- check by looking for files in library path
    2981 # which responds to the $file_magic_cmd with a given egrep regex.
     3376# which responds to the $file_magic_cmd with a given extended regex.
    29823377# If you have `file' or equivalent on your system and you're not sure
    29833378# whether `pass_all' will *always* work, you probably want this one.
     
    29983393  ;;
    29993394
    3000 cygwin* | mingw* | pw32*)
     3395cygwin*)
     3396  # win32_libid is a shell function defined in ltmain.sh
     3397  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
     3398  lt_cv_file_magic_cmd='win32_libid'
     3399  ;;
     3400
     3401mingw* | pw32*)
     3402  # Base MSYS/MinGW do not provide the 'file' command needed by
     3403  # win32_libid shell function, so use a weaker test based on 'objdump'.
    30013404  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
    30023405  lt_cv_file_magic_cmd='$OBJDUMP -f'
     
    30043407
    30053408darwin* | rhapsody*)
    3006   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
    3007   lt_cv_file_magic_cmd='/usr/bin/file -L'
    3008   case "$host_os" in
    3009   rhapsody* | darwin1.[012])
    3010     lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
    3011     ;;
    3012   *) # Darwin 1.3 on
    3013     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
    3014     ;;
    3015   esac
     3409  lt_cv_deplibs_check_method=pass_all
    30163410  ;;
    30173411
    3018 freebsd*)
     3412freebsd* | kfreebsd*-gnu)
    30193413  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
    30203414    case $host_cpu in
     
    30363430  ;;
    30373431
    3038 hpux10.20*|hpux11*)
    3039   lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
     3432hpux10.20* | hpux11*)
    30403433  lt_cv_file_magic_cmd=/usr/bin/file
    3041   lt_cv_file_magic_test_file=/usr/lib/libc.sl
    3042   ;;
    3043 
    3044 irix5* | irix6* | nonstopux*)
    3045   case $host_os in
    3046   irix5* | nonstopux*)
    3047     # this will be overridden with pass_all, but let us keep it just in case
    3048     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
     3434  case "$host_cpu" in
     3435  ia64*)
     3436    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
     3437    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
     3438    ;;
     3439  hppa*64*)
     3440    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]'
     3441    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
    30493442    ;;
    30503443  *)
    3051     case $LD in
    3052     *-32|*"-32 ") libmagic=32-bit;;
    3053     *-n32|*"-n32 ") libmagic=N32;;
    3054     *-64|*"-64 ") libmagic=64-bit;;
    3055     *) libmagic=never-match;;
    3056     esac
    3057     # this will be overridden with pass_all, but let us keep it just in case
    3058     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
     3444    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
     3445    lt_cv_file_magic_test_file=/usr/lib/libc.sl
    30593446    ;;
    30603447  esac
    3061   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
     3448  ;;
     3449
     3450irix5* | irix6* | nonstopux*)
     3451  case $LD in
     3452  *-32|*"-32 ") libmagic=32-bit;;
     3453  *-n32|*"-n32 ") libmagic=N32;;
     3454  *-64|*"-64 ") libmagic=64-bit;;
     3455  *) libmagic=never-match;;
     3456  esac
    30623457  lt_cv_deplibs_check_method=pass_all
    30633458  ;;
    30643459
    30653460# This must be Linux ELF.
    3066 linux-gnu*)
     3461linux*)
     3462  case $host_cpu in
     3463  alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64*)
     3464    lt_cv_deplibs_check_method=pass_all ;;
     3465  *)
     3466    # glibc up to 2.1.1 does not perform some relocations on ARM
     3467    # this will be overridden with pass_all, but let us keep it just in case
     3468    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
     3469  esac
     3470  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
    30673471  lt_cv_deplibs_check_method=pass_all
    3068   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
    30693472  ;;
    30703473
    30713474netbsd*)
    30723475  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
    3073     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
     3476    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
    30743477  else
    3075     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
     3478    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
    30763479  fi
    30773480  ;;
     
    30813484  lt_cv_file_magic_cmd=/usr/bin/file
    30823485  lt_cv_file_magic_test_file=/usr/lib/libnls.so
     3486  ;;
     3487
     3488nto-qnx*)
     3489  lt_cv_deplibs_check_method=unknown
    30833490  ;;
    30843491
     
    30943501
    30953502osf3* | osf4* | osf5*)
    3096   # this will be overridden with pass_all, but let us keep it just in case
    3097   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
    3098   lt_cv_file_magic_test_file=/shlib/libc.so
    30993503  lt_cv_deplibs_check_method=pass_all
    31003504  ;;
     
    31053509
    31063510solaris*)
    3107   lt_cv_deplibs_check_method=pass_all
    3108   lt_cv_file_magic_test_file=/lib/libc.so
    3109   ;;
    3110 
    3111 sysv5uw[78]* | sysv4*uw2*)
    31123511  lt_cv_deplibs_check_method=pass_all
    31133512  ;;
     
    31313530    lt_cv_file_magic_test_file=/lib/libc.so
    31323531    ;;
     3532  siemens)
     3533    lt_cv_deplibs_check_method=pass_all
     3534    ;;
    31333535  esac
     3536  ;;
     3537
     3538sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
     3539  lt_cv_deplibs_check_method=pass_all
    31343540  ;;
    31353541esac
     
    31403546file_magic_cmd=$lt_cv_file_magic_cmd
    31413547deplibs_check_method=$lt_cv_deplibs_check_method
    3142 
    3143 
    3144 
    3145 
     3548test -z "$deplibs_check_method" && deplibs_check_method=unknown
     3549
     3550
     3551
     3552
     3553# If no C compiler was specified, use CC.
     3554LTCC=${LTCC-"$CC"}
     3555
     3556# Allow CC to be a program name with arguments.
     3557compiler=$CC
     3558
     3559
     3560# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
     3561if test "${enable_libtool_lock+set}" = set; then
     3562  enableval="$enable_libtool_lock"
     3563
     3564fi;
     3565test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
     3566
     3567# Some flags need to be propagated to the compiler or linker for good
     3568# libtool support.
     3569case $host in
     3570ia64-*-hpux*)
     3571  # Find out which ABI we are using.
     3572  echo 'int i;' > conftest.$ac_ext
     3573  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3574  (eval $ac_compile) 2>&5
     3575  ac_status=$?
     3576  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3577  (exit $ac_status); }; then
     3578    case `/usr/bin/file conftest.$ac_objext` in
     3579    *ELF-32*)
     3580      HPUX_IA64_MODE="32"
     3581      ;;
     3582    *ELF-64*)
     3583      HPUX_IA64_MODE="64"
     3584      ;;
     3585    esac
     3586  fi
     3587  rm -rf conftest*
     3588  ;;
     3589*-*-irix6*)
     3590  # Find out which ABI we are using.
     3591  echo '#line 3591 "configure"' > conftest.$ac_ext
     3592  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3593  (eval $ac_compile) 2>&5
     3594  ac_status=$?
     3595  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3596  (exit $ac_status); }; then
     3597   if test "$lt_cv_prog_gnu_ld" = yes; then
     3598    case `/usr/bin/file conftest.$ac_objext` in
     3599    *32-bit*)
     3600      LD="${LD-ld} -melf32bsmip"
     3601      ;;
     3602    *N32*)
     3603      LD="${LD-ld} -melf32bmipn32"
     3604      ;;
     3605    *64-bit*)
     3606      LD="${LD-ld} -melf64bmip"
     3607      ;;
     3608    esac
     3609   else
     3610    case `/usr/bin/file conftest.$ac_objext` in
     3611    *32-bit*)
     3612      LD="${LD-ld} -32"
     3613      ;;
     3614    *N32*)
     3615      LD="${LD-ld} -n32"
     3616      ;;
     3617    *64-bit*)
     3618      LD="${LD-ld} -64"
     3619      ;;
     3620    esac
     3621   fi
     3622  fi
     3623  rm -rf conftest*
     3624  ;;
     3625
     3626x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
     3627  # Find out which ABI we are using.
     3628  echo 'int i;' > conftest.$ac_ext
     3629  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3630  (eval $ac_compile) 2>&5
     3631  ac_status=$?
     3632  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3633  (exit $ac_status); }; then
     3634    case "`/usr/bin/file conftest.o`" in
     3635    *32-bit*)
     3636      case $host in
     3637        x86_64-*linux*)
     3638          LD="${LD-ld} -m elf_i386"
     3639          ;;
     3640        ppc64-*linux*|powerpc64-*linux*)
     3641          LD="${LD-ld} -m elf32ppclinux"
     3642          ;;
     3643        s390x-*linux*)
     3644          LD="${LD-ld} -m elf_s390"
     3645          ;;
     3646        sparc64-*linux*)
     3647          LD="${LD-ld} -m elf32_sparc"
     3648          ;;
     3649      esac
     3650      ;;
     3651    *64-bit*)
     3652      case $host in
     3653        x86_64-*linux*)
     3654          LD="${LD-ld} -m elf_x86_64"
     3655          ;;
     3656        ppc*-*linux*|powerpc*-*linux*)
     3657          LD="${LD-ld} -m elf64ppc"
     3658          ;;
     3659        s390*-*linux*)
     3660          LD="${LD-ld} -m elf64_s390"
     3661          ;;
     3662        sparc*-*linux*)
     3663          LD="${LD-ld} -m elf64_sparc"
     3664          ;;
     3665      esac
     3666      ;;
     3667    esac
     3668  fi
     3669  rm -rf conftest*
     3670  ;;
     3671
     3672*-*-linux*)
     3673  # Test if the compiler is 64bit
     3674  echo 'int i;' > conftest.$ac_ext
     3675  lt_cv_cc_64bit_output=no
     3676  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3677  (eval $ac_compile) 2>&5
     3678  ac_status=$?
     3679  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3680  (exit $ac_status); }; then
     3681    case `/usr/bin/file conftest.$ac_objext` in
     3682    *"ELF 64"*)
     3683      lt_cv_cc_64bit_output=yes
     3684      ;;
     3685    esac
     3686  fi
     3687  rm -rf conftest*
     3688  ;;
     3689
     3690*-*-sco3.2v5*)
     3691  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
     3692  SAVE_CFLAGS="$CFLAGS"
     3693  CFLAGS="$CFLAGS -belf"
     3694  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
     3695echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
     3696if test "${lt_cv_cc_needs_belf+set}" = set; then
     3697  echo $ECHO_N "(cached) $ECHO_C" >&6
     3698else
     3699  ac_ext=c
     3700ac_cpp='$CPP $CPPFLAGS'
     3701ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3702ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3703ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3704
     3705     cat >conftest.$ac_ext <<_ACEOF
     3706/* confdefs.h.  */
     3707_ACEOF
     3708cat confdefs.h >>conftest.$ac_ext
     3709cat >>conftest.$ac_ext <<_ACEOF
     3710/* end confdefs.h.  */
     3711
     3712int
     3713main ()
     3714{
     3715
     3716  ;
     3717  return 0;
     3718}
     3719_ACEOF
     3720rm -f conftest.$ac_objext conftest$ac_exeext
     3721if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3722  (eval $ac_link) 2>conftest.er1
     3723  ac_status=$?
     3724  grep -v '^ *+' conftest.er1 >conftest.err
     3725  rm -f conftest.er1
     3726  cat conftest.err >&5
     3727  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3728  (exit $ac_status); } &&
     3729         { ac_try='test -z "$ac_c_werror_flag"
     3730                         || test ! -s conftest.err'
     3731  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3732  (eval $ac_try) 2>&5
     3733  ac_status=$?
     3734  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3735  (exit $ac_status); }; } &&
     3736         { ac_try='test -s conftest$ac_exeext'
     3737  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3738  (eval $ac_try) 2>&5
     3739  ac_status=$?
     3740  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3741  (exit $ac_status); }; }; then
     3742  lt_cv_cc_needs_belf=yes
     3743else
     3744  echo "$as_me: failed program was:" >&5
     3745sed 's/^/| /' conftest.$ac_ext >&5
     3746
     3747lt_cv_cc_needs_belf=no
     3748fi
     3749rm -f conftest.err conftest.$ac_objext \
     3750      conftest$ac_exeext conftest.$ac_ext
     3751     ac_ext=c
     3752ac_cpp='$CPP $CPPFLAGS'
     3753ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3754ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3755ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3756
     3757fi
     3758echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
     3759echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
     3760  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
     3761    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
     3762    CFLAGS="$SAVE_CFLAGS"
     3763  fi
     3764  ;;
     3765
     3766esac
     3767
     3768need_locks="$enable_libtool_lock"
     3769
     3770
     3771ac_ext=c
     3772ac_cpp='$CPP $CPPFLAGS'
     3773ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3774ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3775ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3776echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3777echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
     3778# On Suns, sometimes $CPP names a directory.
     3779if test -n "$CPP" && test -d "$CPP"; then
     3780  CPP=
     3781fi
     3782if test -z "$CPP"; then
     3783  if test "${ac_cv_prog_CPP+set}" = set; then
     3784  echo $ECHO_N "(cached) $ECHO_C" >&6
     3785else
     3786      # Double quotes because CPP needs to be expanded
     3787    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
     3788    do
     3789      ac_preproc_ok=false
     3790for ac_c_preproc_warn_flag in '' yes
     3791do
     3792  # Use a header file that comes with gcc, so configuring glibc
     3793  # with a fresh cross-compiler works.
     3794  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     3795  # <limits.h> exists even on freestanding compilers.
     3796  # On the NeXT, cc -E runs the code through the compiler's parser,
     3797  # not just through cpp. "Syntax error" is here to catch this case.
     3798  cat >conftest.$ac_ext <<_ACEOF
     3799/* confdefs.h.  */
     3800_ACEOF
     3801cat confdefs.h >>conftest.$ac_ext
     3802cat >>conftest.$ac_ext <<_ACEOF
     3803/* end confdefs.h.  */
     3804#ifdef __STDC__
     3805# include <limits.h>
     3806#else
     3807# include <assert.h>
     3808#endif
     3809                     Syntax error
     3810_ACEOF
     3811if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3812  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3813  ac_status=$?
     3814  grep -v '^ *+' conftest.er1 >conftest.err
     3815  rm -f conftest.er1
     3816  cat conftest.err >&5
     3817  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3818  (exit $ac_status); } >/dev/null; then
     3819  if test -s conftest.err; then
     3820    ac_cpp_err=$ac_c_preproc_warn_flag
     3821    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3822  else
     3823    ac_cpp_err=
     3824  fi
     3825else
     3826  ac_cpp_err=yes
     3827fi
     3828if test -z "$ac_cpp_err"; then
     3829  :
     3830else
     3831  echo "$as_me: failed program was:" >&5
     3832sed 's/^/| /' conftest.$ac_ext >&5
     3833
     3834  # Broken: fails on valid input.
     3835continue
     3836fi
     3837rm -f conftest.err conftest.$ac_ext
     3838
     3839  # OK, works on sane cases.  Now check whether non-existent headers
     3840  # can be detected and how.
     3841  cat >conftest.$ac_ext <<_ACEOF
     3842/* confdefs.h.  */
     3843_ACEOF
     3844cat confdefs.h >>conftest.$ac_ext
     3845cat >>conftest.$ac_ext <<_ACEOF
     3846/* end confdefs.h.  */
     3847#include <ac_nonexistent.h>
     3848_ACEOF
     3849if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3850  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3851  ac_status=$?
     3852  grep -v '^ *+' conftest.er1 >conftest.err
     3853  rm -f conftest.er1
     3854  cat conftest.err >&5
     3855  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3856  (exit $ac_status); } >/dev/null; then
     3857  if test -s conftest.err; then
     3858    ac_cpp_err=$ac_c_preproc_warn_flag
     3859    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3860  else
     3861    ac_cpp_err=
     3862  fi
     3863else
     3864  ac_cpp_err=yes
     3865fi
     3866if test -z "$ac_cpp_err"; then
     3867  # Broken: success on invalid input.
     3868continue
     3869else
     3870  echo "$as_me: failed program was:" >&5
     3871sed 's/^/| /' conftest.$ac_ext >&5
     3872
     3873  # Passes both tests.
     3874ac_preproc_ok=:
     3875break
     3876fi
     3877rm -f conftest.err conftest.$ac_ext
     3878
     3879done
     3880# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     3881rm -f conftest.err conftest.$ac_ext
     3882if $ac_preproc_ok; then
     3883  break
     3884fi
     3885
     3886    done
     3887    ac_cv_prog_CPP=$CPP
     3888
     3889fi
     3890  CPP=$ac_cv_prog_CPP
     3891else
     3892  ac_cv_prog_CPP=$CPP
     3893fi
     3894echo "$as_me:$LINENO: result: $CPP" >&5
     3895echo "${ECHO_T}$CPP" >&6
     3896ac_preproc_ok=false
     3897for ac_c_preproc_warn_flag in '' yes
     3898do
     3899  # Use a header file that comes with gcc, so configuring glibc
     3900  # with a fresh cross-compiler works.
     3901  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     3902  # <limits.h> exists even on freestanding compilers.
     3903  # On the NeXT, cc -E runs the code through the compiler's parser,
     3904  # not just through cpp. "Syntax error" is here to catch this case.
     3905  cat >conftest.$ac_ext <<_ACEOF
     3906/* confdefs.h.  */
     3907_ACEOF
     3908cat confdefs.h >>conftest.$ac_ext
     3909cat >>conftest.$ac_ext <<_ACEOF
     3910/* end confdefs.h.  */
     3911#ifdef __STDC__
     3912# include <limits.h>
     3913#else
     3914# include <assert.h>
     3915#endif
     3916                     Syntax error
     3917_ACEOF
     3918if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3919  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3920  ac_status=$?
     3921  grep -v '^ *+' conftest.er1 >conftest.err
     3922  rm -f conftest.er1
     3923  cat conftest.err >&5
     3924  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3925  (exit $ac_status); } >/dev/null; then
     3926  if test -s conftest.err; then
     3927    ac_cpp_err=$ac_c_preproc_warn_flag
     3928    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3929  else
     3930    ac_cpp_err=
     3931  fi
     3932else
     3933  ac_cpp_err=yes
     3934fi
     3935if test -z "$ac_cpp_err"; then
     3936  :
     3937else
     3938  echo "$as_me: failed program was:" >&5
     3939sed 's/^/| /' conftest.$ac_ext >&5
     3940
     3941  # Broken: fails on valid input.
     3942continue
     3943fi
     3944rm -f conftest.err conftest.$ac_ext
     3945
     3946  # OK, works on sane cases.  Now check whether non-existent headers
     3947  # can be detected and how.
     3948  cat >conftest.$ac_ext <<_ACEOF
     3949/* confdefs.h.  */
     3950_ACEOF
     3951cat confdefs.h >>conftest.$ac_ext
     3952cat >>conftest.$ac_ext <<_ACEOF
     3953/* end confdefs.h.  */
     3954#include <ac_nonexistent.h>
     3955_ACEOF
     3956if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3957  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3958  ac_status=$?
     3959  grep -v '^ *+' conftest.er1 >conftest.err
     3960  rm -f conftest.er1
     3961  cat conftest.err >&5
     3962  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3963  (exit $ac_status); } >/dev/null; then
     3964  if test -s conftest.err; then
     3965    ac_cpp_err=$ac_c_preproc_warn_flag
     3966    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3967  else
     3968    ac_cpp_err=
     3969  fi
     3970else
     3971  ac_cpp_err=yes
     3972fi
     3973if test -z "$ac_cpp_err"; then
     3974  # Broken: success on invalid input.
     3975continue
     3976else
     3977  echo "$as_me: failed program was:" >&5
     3978sed 's/^/| /' conftest.$ac_ext >&5
     3979
     3980  # Passes both tests.
     3981ac_preproc_ok=:
     3982break
     3983fi
     3984rm -f conftest.err conftest.$ac_ext
     3985
     3986done
     3987# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     3988rm -f conftest.err conftest.$ac_ext
     3989if $ac_preproc_ok; then
     3990  :
     3991else
     3992  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
     3993See \`config.log' for more details." >&5
     3994echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
     3995See \`config.log' for more details." >&2;}
     3996   { (exit 1); exit 1; }; }
     3997fi
     3998
     3999ac_ext=c
     4000ac_cpp='$CPP $CPPFLAGS'
     4001ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4002ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4003ac_compiler_gnu=$ac_cv_c_compiler_gnu
     4004
     4005
     4006echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     4007echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     4008if test "${ac_cv_header_stdc+set}" = set; then
     4009  echo $ECHO_N "(cached) $ECHO_C" >&6
     4010else
     4011  cat >conftest.$ac_ext <<_ACEOF
     4012/* confdefs.h.  */
     4013_ACEOF
     4014cat confdefs.h >>conftest.$ac_ext
     4015cat >>conftest.$ac_ext <<_ACEOF
     4016/* end confdefs.h.  */
     4017#include <stdlib.h>
     4018#include <stdarg.h>
     4019#include <string.h>
     4020#include <float.h>
     4021
     4022int
     4023main ()
     4024{
     4025
     4026  ;
     4027  return 0;
     4028}
     4029_ACEOF
     4030rm -f conftest.$ac_objext
     4031if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4032  (eval $ac_compile) 2>conftest.er1
     4033  ac_status=$?
     4034  grep -v '^ *+' conftest.er1 >conftest.err
     4035  rm -f conftest.er1
     4036  cat conftest.err >&5
     4037  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4038  (exit $ac_status); } &&
     4039         { ac_try='test -z "$ac_c_werror_flag"
     4040                         || test ! -s conftest.err'
     4041  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4042  (eval $ac_try) 2>&5
     4043  ac_status=$?
     4044  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4045  (exit $ac_status); }; } &&
     4046         { ac_try='test -s conftest.$ac_objext'
     4047  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4048  (eval $ac_try) 2>&5
     4049  ac_status=$?
     4050  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4051  (exit $ac_status); }; }; then
     4052  ac_cv_header_stdc=yes
     4053else
     4054  echo "$as_me: failed program was:" >&5
     4055sed 's/^/| /' conftest.$ac_ext >&5
     4056
     4057ac_cv_header_stdc=no
     4058fi
     4059rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4060
     4061if test $ac_cv_header_stdc = yes; then
     4062  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
     4063  cat >conftest.$ac_ext <<_ACEOF
     4064/* confdefs.h.  */
     4065_ACEOF
     4066cat confdefs.h >>conftest.$ac_ext
     4067cat >>conftest.$ac_ext <<_ACEOF
     4068/* end confdefs.h.  */
     4069#include <string.h>
     4070
     4071_ACEOF
     4072if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     4073  $EGREP "memchr" >/dev/null 2>&1; then
     4074  :
     4075else
     4076  ac_cv_header_stdc=no
     4077fi
     4078rm -f conftest*
     4079
     4080fi
     4081
     4082if test $ac_cv_header_stdc = yes; then
     4083  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
     4084  cat >conftest.$ac_ext <<_ACEOF
     4085/* confdefs.h.  */
     4086_ACEOF
     4087cat confdefs.h >>conftest.$ac_ext
     4088cat >>conftest.$ac_ext <<_ACEOF
     4089/* end confdefs.h.  */
     4090#include <stdlib.h>
     4091
     4092_ACEOF
     4093if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     4094  $EGREP "free" >/dev/null 2>&1; then
     4095  :
     4096else
     4097  ac_cv_header_stdc=no
     4098fi
     4099rm -f conftest*
     4100
     4101fi
     4102
     4103if test $ac_cv_header_stdc = yes; then
     4104  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
     4105  if test "$cross_compiling" = yes; then
     4106  :
     4107else
     4108  cat >conftest.$ac_ext <<_ACEOF
     4109/* confdefs.h.  */
     4110_ACEOF
     4111cat confdefs.h >>conftest.$ac_ext
     4112cat >>conftest.$ac_ext <<_ACEOF
     4113/* end confdefs.h.  */
     4114#include <ctype.h>
     4115#if ((' ' & 0x0FF) == 0x020)
     4116# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     4117# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
     4118#else
     4119# define ISLOWER(c) \
     4120                   (('a' <= (c) && (c) <= 'i') \
     4121                     || ('j' <= (c) && (c) <= 'r') \
     4122                     || ('s' <= (c) && (c) <= 'z'))
     4123# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
     4124#endif
     4125
     4126#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
     4127int
     4128main ()
     4129{
     4130  int i;
     4131  for (i = 0; i < 256; i++)
     4132    if (XOR (islower (i), ISLOWER (i))
     4133        || toupper (i) != TOUPPER (i))
     4134      exit(2);
     4135  exit (0);
     4136}
     4137_ACEOF
     4138rm -f conftest$ac_exeext
     4139if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4140  (eval $ac_link) 2>&5
     4141  ac_status=$?
     4142  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4143  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     4144  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4145  (eval $ac_try) 2>&5
     4146  ac_status=$?
     4147  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4148  (exit $ac_status); }; }; then
     4149  :
     4150else
     4151  echo "$as_me: program exited with status $ac_status" >&5
     4152echo "$as_me: failed program was:" >&5
     4153sed 's/^/| /' conftest.$ac_ext >&5
     4154
     4155( exit $ac_status )
     4156ac_cv_header_stdc=no
     4157fi
     4158rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     4159fi
     4160fi
     4161fi
     4162echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     4163echo "${ECHO_T}$ac_cv_header_stdc" >&6
     4164if test $ac_cv_header_stdc = yes; then
     4165
     4166cat >>confdefs.h <<\_ACEOF
     4167#define STDC_HEADERS 1
     4168_ACEOF
     4169
     4170fi
     4171
     4172# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     4173
     4174
     4175
     4176
     4177
     4178
     4179
     4180
     4181
     4182for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
     4183                  inttypes.h stdint.h unistd.h
     4184do
     4185as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4186echo "$as_me:$LINENO: checking for $ac_header" >&5
     4187echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4188if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4189  echo $ECHO_N "(cached) $ECHO_C" >&6
     4190else
     4191  cat >conftest.$ac_ext <<_ACEOF
     4192/* confdefs.h.  */
     4193_ACEOF
     4194cat confdefs.h >>conftest.$ac_ext
     4195cat >>conftest.$ac_ext <<_ACEOF
     4196/* end confdefs.h.  */
     4197$ac_includes_default
     4198
     4199#include <$ac_header>
     4200_ACEOF
     4201rm -f conftest.$ac_objext
     4202if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4203  (eval $ac_compile) 2>conftest.er1
     4204  ac_status=$?
     4205  grep -v '^ *+' conftest.er1 >conftest.err
     4206  rm -f conftest.er1
     4207  cat conftest.err >&5
     4208  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4209  (exit $ac_status); } &&
     4210         { ac_try='test -z "$ac_c_werror_flag"
     4211                         || test ! -s conftest.err'
     4212  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4213  (eval $ac_try) 2>&5
     4214  ac_status=$?
     4215  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4216  (exit $ac_status); }; } &&
     4217         { ac_try='test -s conftest.$ac_objext'
     4218  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4219  (eval $ac_try) 2>&5
     4220  ac_status=$?
     4221  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4222  (exit $ac_status); }; }; then
     4223  eval "$as_ac_Header=yes"
     4224else
     4225  echo "$as_me: failed program was:" >&5
     4226sed 's/^/| /' conftest.$ac_ext >&5
     4227
     4228eval "$as_ac_Header=no"
     4229fi
     4230rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4231fi
     4232echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4233echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4234if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4235  cat >>confdefs.h <<_ACEOF
     4236#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4237_ACEOF
     4238
     4239fi
     4240
     4241done
     4242
     4243
     4244
     4245for ac_header in dlfcn.h
     4246do
     4247as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4248if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4249  echo "$as_me:$LINENO: checking for $ac_header" >&5
     4250echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4251if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4252  echo $ECHO_N "(cached) $ECHO_C" >&6
     4253fi
     4254echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4255echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4256else
     4257  # Is the header compilable?
     4258echo "$as_me:$LINENO: checking $ac_header usability" >&5
     4259echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     4260cat >conftest.$ac_ext <<_ACEOF
     4261/* confdefs.h.  */
     4262_ACEOF
     4263cat confdefs.h >>conftest.$ac_ext
     4264cat >>conftest.$ac_ext <<_ACEOF
     4265/* end confdefs.h.  */
     4266$ac_includes_default
     4267#include <$ac_header>
     4268_ACEOF
     4269rm -f conftest.$ac_objext
     4270if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4271  (eval $ac_compile) 2>conftest.er1
     4272  ac_status=$?
     4273  grep -v '^ *+' conftest.er1 >conftest.err
     4274  rm -f conftest.er1
     4275  cat conftest.err >&5
     4276  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4277  (exit $ac_status); } &&
     4278         { ac_try='test -z "$ac_c_werror_flag"
     4279                         || test ! -s conftest.err'
     4280  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4281  (eval $ac_try) 2>&5
     4282  ac_status=$?
     4283  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4284  (exit $ac_status); }; } &&
     4285         { ac_try='test -s conftest.$ac_objext'
     4286  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4287  (eval $ac_try) 2>&5
     4288  ac_status=$?
     4289  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4290  (exit $ac_status); }; }; then
     4291  ac_header_compiler=yes
     4292else
     4293  echo "$as_me: failed program was:" >&5
     4294sed 's/^/| /' conftest.$ac_ext >&5
     4295
     4296ac_header_compiler=no
     4297fi
     4298rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4299echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4300echo "${ECHO_T}$ac_header_compiler" >&6
     4301
     4302# Is the header present?
     4303echo "$as_me:$LINENO: checking $ac_header presence" >&5
     4304echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     4305cat >conftest.$ac_ext <<_ACEOF
     4306/* confdefs.h.  */
     4307_ACEOF
     4308cat confdefs.h >>conftest.$ac_ext
     4309cat >>conftest.$ac_ext <<_ACEOF
     4310/* end confdefs.h.  */
     4311#include <$ac_header>
     4312_ACEOF
     4313if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     4314  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4315  ac_status=$?
     4316  grep -v '^ *+' conftest.er1 >conftest.err
     4317  rm -f conftest.er1
     4318  cat conftest.err >&5
     4319  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4320  (exit $ac_status); } >/dev/null; then
     4321  if test -s conftest.err; then
     4322    ac_cpp_err=$ac_c_preproc_warn_flag
     4323    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     4324  else
     4325    ac_cpp_err=
     4326  fi
     4327else
     4328  ac_cpp_err=yes
     4329fi
     4330if test -z "$ac_cpp_err"; then
     4331  ac_header_preproc=yes
     4332else
     4333  echo "$as_me: failed program was:" >&5
     4334sed 's/^/| /' conftest.$ac_ext >&5
     4335
     4336  ac_header_preproc=no
     4337fi
     4338rm -f conftest.err conftest.$ac_ext
     4339echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4340echo "${ECHO_T}$ac_header_preproc" >&6
     4341
     4342# So?  What about this header?
     4343case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     4344  yes:no: )
     4345    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     4346echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4347    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     4348echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     4349    ac_header_preproc=yes
     4350    ;;
     4351  no:yes:* )
     4352    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     4353echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     4354    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     4355echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     4356    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     4357echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     4358    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     4359echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     4360    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     4361echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4362    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     4363echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     4364    (
     4365      cat <<\_ASBOX
     4366## ----------------------------------- ##
     4367## Report this to libtrace@wand.net.nz ##
     4368## ----------------------------------- ##
     4369_ASBOX
     4370    ) |
     4371      sed "s/^/$as_me: WARNING:     /" >&2
     4372    ;;
     4373esac
     4374echo "$as_me:$LINENO: checking for $ac_header" >&5
     4375echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4376if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4377  echo $ECHO_N "(cached) $ECHO_C" >&6
     4378else
     4379  eval "$as_ac_Header=\$ac_header_preproc"
     4380fi
     4381echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4382echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4383
     4384fi
     4385if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4386  cat >>confdefs.h <<_ACEOF
     4387#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4388_ACEOF
     4389
     4390fi
     4391
     4392done
     4393
     4394ac_ext=cc
     4395ac_cpp='$CXXCPP $CPPFLAGS'
     4396ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4397ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4398ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     4399if test -n "$ac_tool_prefix"; then
     4400  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     4401  do
     4402    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     4403set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     4404echo "$as_me:$LINENO: checking for $ac_word" >&5
     4405echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     4406if test "${ac_cv_prog_CXX+set}" = set; then
     4407  echo $ECHO_N "(cached) $ECHO_C" >&6
     4408else
     4409  if test -n "$CXX"; then
     4410  ac_cv_prog_CXX="$CXX" # Let the user override the test.
     4411else
     4412as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4413for as_dir in $PATH
     4414do
     4415  IFS=$as_save_IFS
     4416  test -z "$as_dir" && as_dir=.
     4417  for ac_exec_ext in '' $ac_executable_extensions; do
     4418  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4419    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
     4420    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4421    break 2
     4422  fi
     4423done
     4424done
     4425
     4426fi
     4427fi
     4428CXX=$ac_cv_prog_CXX
     4429if test -n "$CXX"; then
     4430  echo "$as_me:$LINENO: result: $CXX" >&5
     4431echo "${ECHO_T}$CXX" >&6
     4432else
     4433  echo "$as_me:$LINENO: result: no" >&5
     4434echo "${ECHO_T}no" >&6
     4435fi
     4436
     4437    test -n "$CXX" && break
     4438  done
     4439fi
     4440if test -z "$CXX"; then
     4441  ac_ct_CXX=$CXX
     4442  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     4443do
     4444  # Extract the first word of "$ac_prog", so it can be a program name with args.
     4445set dummy $ac_prog; ac_word=$2
     4446echo "$as_me:$LINENO: checking for $ac_word" >&5
     4447echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     4448if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
     4449  echo $ECHO_N "(cached) $ECHO_C" >&6
     4450else
     4451  if test -n "$ac_ct_CXX"; then
     4452  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
     4453else
     4454as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4455for as_dir in $PATH
     4456do
     4457  IFS=$as_save_IFS
     4458  test -z "$as_dir" && as_dir=.
     4459  for ac_exec_ext in '' $ac_executable_extensions; do
     4460  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4461    ac_cv_prog_ac_ct_CXX="$ac_prog"
     4462    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4463    break 2
     4464  fi
     4465done
     4466done
     4467
     4468fi
     4469fi
     4470ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
     4471if test -n "$ac_ct_CXX"; then
     4472  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     4473echo "${ECHO_T}$ac_ct_CXX" >&6
     4474else
     4475  echo "$as_me:$LINENO: result: no" >&5
     4476echo "${ECHO_T}no" >&6
     4477fi
     4478
     4479  test -n "$ac_ct_CXX" && break
     4480done
     4481test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
     4482
     4483  CXX=$ac_ct_CXX
     4484fi
     4485
     4486
     4487# Provide some information about the compiler.
     4488echo "$as_me:$LINENO:" \
     4489     "checking for C++ compiler version" >&5
     4490ac_compiler=`set X $ac_compile; echo $2`
     4491{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
     4492  (eval $ac_compiler --version </dev/null >&5) 2>&5
     4493  ac_status=$?
     4494  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4495  (exit $ac_status); }
     4496{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
     4497  (eval $ac_compiler -v </dev/null >&5) 2>&5
     4498  ac_status=$?
     4499  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4500  (exit $ac_status); }
     4501{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
     4502  (eval $ac_compiler -V </dev/null >&5) 2>&5
     4503  ac_status=$?
     4504  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4505  (exit $ac_status); }
     4506
     4507echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     4508echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
     4509if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
     4510  echo $ECHO_N "(cached) $ECHO_C" >&6
     4511else
     4512  cat >conftest.$ac_ext <<_ACEOF
     4513/* confdefs.h.  */
     4514_ACEOF
     4515cat confdefs.h >>conftest.$ac_ext
     4516cat >>conftest.$ac_ext <<_ACEOF
     4517/* end confdefs.h.  */
     4518
     4519int
     4520main ()
     4521{
     4522#ifndef __GNUC__
     4523       choke me
     4524#endif
     4525
     4526  ;
     4527  return 0;
     4528}
     4529_ACEOF
     4530rm -f conftest.$ac_objext
     4531if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4532  (eval $ac_compile) 2>conftest.er1
     4533  ac_status=$?
     4534  grep -v '^ *+' conftest.er1 >conftest.err
     4535  rm -f conftest.er1
     4536  cat conftest.err >&5
     4537  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4538  (exit $ac_status); } &&
     4539         { ac_try='test -z "$ac_cxx_werror_flag"
     4540                         || test ! -s conftest.err'
     4541  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4542  (eval $ac_try) 2>&5
     4543  ac_status=$?
     4544  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4545  (exit $ac_status); }; } &&
     4546         { ac_try='test -s conftest.$ac_objext'
     4547  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4548  (eval $ac_try) 2>&5
     4549  ac_status=$?
     4550  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4551  (exit $ac_status); }; }; then
     4552  ac_compiler_gnu=yes
     4553else
     4554  echo "$as_me: failed program was:" >&5
     4555sed 's/^/| /' conftest.$ac_ext >&5
     4556
     4557ac_compiler_gnu=no
     4558fi
     4559rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4560ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
     4561
     4562fi
     4563echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     4564echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
     4565GXX=`test $ac_compiler_gnu = yes && echo yes`
     4566ac_test_CXXFLAGS=${CXXFLAGS+set}
     4567ac_save_CXXFLAGS=$CXXFLAGS
     4568CXXFLAGS="-g"
     4569echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     4570echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
     4571if test "${ac_cv_prog_cxx_g+set}" = set; then
     4572  echo $ECHO_N "(cached) $ECHO_C" >&6
     4573else
     4574  cat >conftest.$ac_ext <<_ACEOF
     4575/* confdefs.h.  */
     4576_ACEOF
     4577cat confdefs.h >>conftest.$ac_ext
     4578cat >>conftest.$ac_ext <<_ACEOF
     4579/* end confdefs.h.  */
     4580
     4581int
     4582main ()
     4583{
     4584
     4585  ;
     4586  return 0;
     4587}
     4588_ACEOF
     4589rm -f conftest.$ac_objext
     4590if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4591  (eval $ac_compile) 2>conftest.er1
     4592  ac_status=$?
     4593  grep -v '^ *+' conftest.er1 >conftest.err
     4594  rm -f conftest.er1
     4595  cat conftest.err >&5
     4596  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4597  (exit $ac_status); } &&
     4598         { ac_try='test -z "$ac_cxx_werror_flag"
     4599                         || test ! -s conftest.err'
     4600  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4601  (eval $ac_try) 2>&5
     4602  ac_status=$?
     4603  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4604  (exit $ac_status); }; } &&
     4605         { ac_try='test -s conftest.$ac_objext'
     4606  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4607  (eval $ac_try) 2>&5
     4608  ac_status=$?
     4609  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4610  (exit $ac_status); }; }; then
     4611  ac_cv_prog_cxx_g=yes
     4612else
     4613  echo "$as_me: failed program was:" >&5
     4614sed 's/^/| /' conftest.$ac_ext >&5
     4615
     4616ac_cv_prog_cxx_g=no
     4617fi
     4618rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4619fi
     4620echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     4621echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
     4622if test "$ac_test_CXXFLAGS" = set; then
     4623  CXXFLAGS=$ac_save_CXXFLAGS
     4624elif test $ac_cv_prog_cxx_g = yes; then
     4625  if test "$GXX" = yes; then
     4626    CXXFLAGS="-g -O2"
     4627  else
     4628    CXXFLAGS="-g"
     4629  fi
     4630else
     4631  if test "$GXX" = yes; then
     4632    CXXFLAGS="-O2"
     4633  else
     4634    CXXFLAGS=
     4635  fi
     4636fi
     4637for ac_declaration in \
     4638   '' \
     4639   'extern "C" void std::exit (int) throw (); using std::exit;' \
     4640   'extern "C" void std::exit (int); using std::exit;' \
     4641   'extern "C" void exit (int) throw ();' \
     4642   'extern "C" void exit (int);' \
     4643   'void exit (int);'
     4644do
     4645  cat >conftest.$ac_ext <<_ACEOF
     4646/* confdefs.h.  */
     4647_ACEOF
     4648cat confdefs.h >>conftest.$ac_ext
     4649cat >>conftest.$ac_ext <<_ACEOF
     4650/* end confdefs.h.  */
     4651$ac_declaration
     4652#include <stdlib.h>
     4653int
     4654main ()
     4655{
     4656exit (42);
     4657  ;
     4658  return 0;
     4659}
     4660_ACEOF
     4661rm -f conftest.$ac_objext
     4662if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4663  (eval $ac_compile) 2>conftest.er1
     4664  ac_status=$?
     4665  grep -v '^ *+' conftest.er1 >conftest.err
     4666  rm -f conftest.er1
     4667  cat conftest.err >&5
     4668  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4669  (exit $ac_status); } &&
     4670         { ac_try='test -z "$ac_cxx_werror_flag"
     4671                         || test ! -s conftest.err'
     4672  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4673  (eval $ac_try) 2>&5
     4674  ac_status=$?
     4675  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4676  (exit $ac_status); }; } &&
     4677         { ac_try='test -s conftest.$ac_objext'
     4678  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4679  (eval $ac_try) 2>&5
     4680  ac_status=$?
     4681  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4682  (exit $ac_status); }; }; then
     4683  :
     4684else
     4685  echo "$as_me: failed program was:" >&5
     4686sed 's/^/| /' conftest.$ac_ext >&5
     4687
     4688continue
     4689fi
     4690rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4691  cat >conftest.$ac_ext <<_ACEOF
     4692/* confdefs.h.  */
     4693_ACEOF
     4694cat confdefs.h >>conftest.$ac_ext
     4695cat >>conftest.$ac_ext <<_ACEOF
     4696/* end confdefs.h.  */
     4697$ac_declaration
     4698int
     4699main ()
     4700{
     4701exit (42);
     4702  ;
     4703  return 0;
     4704}
     4705_ACEOF
     4706rm -f conftest.$ac_objext
     4707if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4708  (eval $ac_compile) 2>conftest.er1
     4709  ac_status=$?
     4710  grep -v '^ *+' conftest.er1 >conftest.err
     4711  rm -f conftest.er1
     4712  cat conftest.err >&5
     4713  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4714  (exit $ac_status); } &&
     4715         { ac_try='test -z "$ac_cxx_werror_flag"
     4716                         || test ! -s conftest.err'
     4717  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4718  (eval $ac_try) 2>&5
     4719  ac_status=$?
     4720  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4721  (exit $ac_status); }; } &&
     4722         { ac_try='test -s conftest.$ac_objext'
     4723  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4724  (eval $ac_try) 2>&5
     4725  ac_status=$?
     4726  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4727  (exit $ac_status); }; }; then
     4728  break
     4729else
     4730  echo "$as_me: failed program was:" >&5
     4731sed 's/^/| /' conftest.$ac_ext >&5
     4732
     4733fi
     4734rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4735done
     4736rm -f conftest*
     4737if test -n "$ac_declaration"; then
     4738  echo '#ifdef __cplusplus' >>confdefs.h
     4739  echo $ac_declaration      >>confdefs.h
     4740  echo '#endif'             >>confdefs.h
     4741fi
     4742
     4743ac_ext=cc
     4744ac_cpp='$CXXCPP $CPPFLAGS'
     4745ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4746ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4747ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     4748
     4749depcc="$CXX"  am_compiler_list=
     4750
     4751echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
     4752echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
     4753if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
     4754  echo $ECHO_N "(cached) $ECHO_C" >&6
     4755else
     4756  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
     4757  # We make a subdir and do the tests there.  Otherwise we can end up
     4758  # making bogus files that we don't know about and never remove.  For
     4759  # instance it was reported that on HP-UX the gcc test will end up
     4760  # making a dummy file named `D' -- because `-MD' means `put the output
     4761  # in D'.
     4762  mkdir conftest.dir
     4763  # Copy depcomp to subdir because otherwise we won't find it if we're
     4764  # using a relative directory.
     4765  cp "$am_depcomp" conftest.dir
     4766  cd conftest.dir
     4767
     4768  am_cv_CXX_dependencies_compiler_type=none
     4769  if test "$am_compiler_list" = ""; then
     4770     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
     4771  fi
     4772  for depmode in $am_compiler_list; do
     4773    # We need to recreate these files for each test, as the compiler may
     4774    # overwrite some of them when testing with obscure command lines.
     4775    # This happens at least with the AIX C compiler.
     4776    echo '#include "conftest.h"' > conftest.c
     4777    echo 'int i;' > conftest.h
     4778    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
     4779
     4780    case $depmode in
     4781    nosideeffect)
     4782      # after this tag, mechanisms are not by side-effect, so they'll
     4783      # only be used when explicitly requested
     4784      if test "x$enable_dependency_tracking" = xyes; then
     4785        continue
     4786      else
     4787        break
     4788      fi
     4789      ;;
     4790    none) break ;;
     4791    esac
     4792    # We check with `-c' and `-o' for the sake of the "dashmstdout"
     4793    # mode.  It turns out that the SunPro C++ compiler does not properly
     4794    # handle `-M -o', and we need to detect this.
     4795    if depmode=$depmode \
     4796       source=conftest.c object=conftest.o \
     4797       depfile=conftest.Po tmpdepfile=conftest.TPo \
     4798       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
     4799       grep conftest.h conftest.Po > /dev/null 2>&1 &&
     4800       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
     4801      am_cv_CXX_dependencies_compiler_type=$depmode
     4802      break
     4803    fi
     4804  done
     4805
     4806  cd ..
     4807  rm -rf conftest.dir
     4808else
     4809  am_cv_CXX_dependencies_compiler_type=none
     4810fi
     4811
     4812fi
     4813echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
     4814echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
     4815CXXDEPMODE="depmode=$am_cv_CXX_dependencies_compiler_type"
     4816
     4817
     4818ac_ext=cc
     4819ac_cpp='$CXXCPP $CPPFLAGS'
     4820ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4821ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4822ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     4823echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
     4824echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
     4825if test -z "$CXXCPP"; then
     4826  if test "${ac_cv_prog_CXXCPP+set}" = set; then
     4827  echo $ECHO_N "(cached) $ECHO_C" >&6
     4828else
     4829      # Double quotes because CXXCPP needs to be expanded
     4830    for CXXCPP in "$CXX -E" "/lib/cpp"
     4831    do
     4832      ac_preproc_ok=false
     4833for ac_cxx_preproc_warn_flag in '' yes
     4834do
     4835  # Use a header file that comes with gcc, so configuring glibc
     4836  # with a fresh cross-compiler works.
     4837  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     4838  # <limits.h> exists even on freestanding compilers.
     4839  # On the NeXT, cc -E runs the code through the compiler's parser,
     4840  # not just through cpp. "Syntax error" is here to catch this case.
     4841  cat >conftest.$ac_ext <<_ACEOF
     4842/* confdefs.h.  */
     4843_ACEOF
     4844cat confdefs.h >>conftest.$ac_ext
     4845cat >>conftest.$ac_ext <<_ACEOF
     4846/* end confdefs.h.  */
     4847#ifdef __STDC__
     4848# include <limits.h>
     4849#else
     4850# include <assert.h>
     4851#endif
     4852                     Syntax error
     4853_ACEOF
     4854if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     4855  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4856  ac_status=$?
     4857  grep -v '^ *+' conftest.er1 >conftest.err
     4858  rm -f conftest.er1
     4859  cat conftest.err >&5
     4860  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4861  (exit $ac_status); } >/dev/null; then
     4862  if test -s conftest.err; then
     4863    ac_cpp_err=$ac_cxx_preproc_warn_flag
     4864    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     4865  else
     4866    ac_cpp_err=
     4867  fi
     4868else
     4869  ac_cpp_err=yes
     4870fi
     4871if test -z "$ac_cpp_err"; then
     4872  :
     4873else
     4874  echo "$as_me: failed program was:" >&5
     4875sed 's/^/| /' conftest.$ac_ext >&5
     4876
     4877  # Broken: fails on valid input.
     4878continue
     4879fi
     4880rm -f conftest.err conftest.$ac_ext
     4881
     4882  # OK, works on sane cases.  Now check whether non-existent headers
     4883  # can be detected and how.
     4884  cat >conftest.$ac_ext <<_ACEOF
     4885/* confdefs.h.  */
     4886_ACEOF
     4887cat confdefs.h >>conftest.$ac_ext
     4888cat >>conftest.$ac_ext <<_ACEOF
     4889/* end confdefs.h.  */
     4890#include <ac_nonexistent.h>
     4891_ACEOF
     4892if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     4893  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4894  ac_status=$?
     4895  grep -v '^ *+' conftest.er1 >conftest.err
     4896  rm -f conftest.er1
     4897  cat conftest.err >&5
     4898  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4899  (exit $ac_status); } >/dev/null; then
     4900  if test -s conftest.err; then
     4901    ac_cpp_err=$ac_cxx_preproc_warn_flag
     4902    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     4903  else
     4904    ac_cpp_err=
     4905  fi
     4906else
     4907  ac_cpp_err=yes
     4908fi
     4909if test -z "$ac_cpp_err"; then
     4910  # Broken: success on invalid input.
     4911continue
     4912else
     4913  echo "$as_me: failed program was:" >&5
     4914sed 's/^/| /' conftest.$ac_ext >&5
     4915
     4916  # Passes both tests.
     4917ac_preproc_ok=:
     4918break
     4919fi
     4920rm -f conftest.err conftest.$ac_ext
     4921
     4922done
     4923# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     4924rm -f conftest.err conftest.$ac_ext
     4925if $ac_preproc_ok; then
     4926  break
     4927fi
     4928
     4929    done
     4930    ac_cv_prog_CXXCPP=$CXXCPP
     4931
     4932fi
     4933  CXXCPP=$ac_cv_prog_CXXCPP
     4934else
     4935  ac_cv_prog_CXXCPP=$CXXCPP
     4936fi
     4937echo "$as_me:$LINENO: result: $CXXCPP" >&5
     4938echo "${ECHO_T}$CXXCPP" >&6
     4939ac_preproc_ok=false
     4940for ac_cxx_preproc_warn_flag in '' yes
     4941do
     4942  # Use a header file that comes with gcc, so configuring glibc
     4943  # with a fresh cross-compiler works.
     4944  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     4945  # <limits.h> exists even on freestanding compilers.
     4946  # On the NeXT, cc -E runs the code through the compiler's parser,
     4947  # not just through cpp. "Syntax error" is here to catch this case.
     4948  cat >conftest.$ac_ext <<_ACEOF
     4949/* confdefs.h.  */
     4950_ACEOF
     4951cat confdefs.h >>conftest.$ac_ext
     4952cat >>conftest.$ac_ext <<_ACEOF
     4953/* end confdefs.h.  */
     4954#ifdef __STDC__
     4955# include <limits.h>
     4956#else
     4957# include <assert.h>
     4958#endif
     4959                     Syntax error
     4960_ACEOF
     4961if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     4962  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4963  ac_status=$?
     4964  grep -v '^ *+' conftest.er1 >conftest.err
     4965  rm -f conftest.er1
     4966  cat conftest.err >&5
     4967  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4968  (exit $ac_status); } >/dev/null; then
     4969  if test -s conftest.err; then
     4970    ac_cpp_err=$ac_cxx_preproc_warn_flag
     4971    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     4972  else
     4973    ac_cpp_err=
     4974  fi
     4975else
     4976  ac_cpp_err=yes
     4977fi
     4978if test -z "$ac_cpp_err"; then
     4979  :
     4980else
     4981  echo "$as_me: failed program was:" >&5
     4982sed 's/^/| /' conftest.$ac_ext >&5
     4983
     4984  # Broken: fails on valid input.
     4985continue
     4986fi
     4987rm -f conftest.err conftest.$ac_ext
     4988
     4989  # OK, works on sane cases.  Now check whether non-existent headers
     4990  # can be detected and how.
     4991  cat >conftest.$ac_ext <<_ACEOF
     4992/* confdefs.h.  */
     4993_ACEOF
     4994cat confdefs.h >>conftest.$ac_ext
     4995cat >>conftest.$ac_ext <<_ACEOF
     4996/* end confdefs.h.  */
     4997#include <ac_nonexistent.h>
     4998_ACEOF
     4999if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     5000  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     5001  ac_status=$?
     5002  grep -v '^ *+' conftest.er1 >conftest.err
     5003  rm -f conftest.er1
     5004  cat conftest.err >&5
     5005  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5006  (exit $ac_status); } >/dev/null; then
     5007  if test -s conftest.err; then
     5008    ac_cpp_err=$ac_cxx_preproc_warn_flag
     5009    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     5010  else
     5011    ac_cpp_err=
     5012  fi
     5013else
     5014  ac_cpp_err=yes
     5015fi
     5016if test -z "$ac_cpp_err"; then
     5017  # Broken: success on invalid input.
     5018continue
     5019else
     5020  echo "$as_me: failed program was:" >&5
     5021sed 's/^/| /' conftest.$ac_ext >&5
     5022
     5023  # Passes both tests.
     5024ac_preproc_ok=:
     5025break
     5026fi
     5027rm -f conftest.err conftest.$ac_ext
     5028
     5029done
     5030# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     5031rm -f conftest.err conftest.$ac_ext
     5032if $ac_preproc_ok; then
     5033  :
     5034else
     5035  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
     5036See \`config.log' for more details." >&5
     5037echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
     5038See \`config.log' for more details." >&2;}
     5039   { (exit 1); exit 1; }; }
     5040fi
     5041
     5042ac_ext=cc
     5043ac_cpp='$CXXCPP $CPPFLAGS'
     5044ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     5045ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     5046ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     5047
     5048
     5049ac_ext=f
     5050ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     5051ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     5052ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     5053if test -n "$ac_tool_prefix"; then
     5054  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
     5055  do
     5056    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     5057set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     5058echo "$as_me:$LINENO: checking for $ac_word" >&5
     5059echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     5060if test "${ac_cv_prog_F77+set}" = set; then
     5061  echo $ECHO_N "(cached) $ECHO_C" >&6
     5062else
     5063  if test -n "$F77"; then
     5064  ac_cv_prog_F77="$F77" # Let the user override the test.
     5065else
     5066as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5067for as_dir in $PATH
     5068do
     5069  IFS=$as_save_IFS
     5070  test -z "$as_dir" && as_dir=.
     5071  for ac_exec_ext in '' $ac_executable_extensions; do
     5072  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5073    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
     5074    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     5075    break 2
     5076  fi
     5077done
     5078done
     5079
     5080fi
     5081fi
     5082F77=$ac_cv_prog_F77
     5083if test -n "$F77"; then
     5084  echo "$as_me:$LINENO: result: $F77" >&5
     5085echo "${ECHO_T}$F77" >&6
     5086else
     5087  echo "$as_me:$LINENO: result: no" >&5
     5088echo "${ECHO_T}no" >&6
     5089fi
     5090
     5091    test -n "$F77" && break
     5092  done
     5093fi
     5094if test -z "$F77"; then
     5095  ac_ct_F77=$F77
     5096  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
     5097do
     5098  # Extract the first word of "$ac_prog", so it can be a program name with args.
     5099set dummy $ac_prog; ac_word=$2
     5100echo "$as_me:$LINENO: checking for $ac_word" >&5
     5101echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     5102if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
     5103  echo $ECHO_N "(cached) $ECHO_C" >&6
     5104else
     5105  if test -n "$ac_ct_F77"; then
     5106  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
     5107else
     5108as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5109for as_dir in $PATH
     5110do
     5111  IFS=$as_save_IFS
     5112  test -z "$as_dir" && as_dir=.
     5113  for ac_exec_ext in '' $ac_executable_extensions; do
     5114  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5115    ac_cv_prog_ac_ct_F77="$ac_prog"
     5116    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     5117    break 2
     5118  fi
     5119done
     5120done
     5121
     5122fi
     5123fi
     5124ac_ct_F77=$ac_cv_prog_ac_ct_F77
     5125if test -n "$ac_ct_F77"; then
     5126  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
     5127echo "${ECHO_T}$ac_ct_F77" >&6
     5128else
     5129  echo "$as_me:$LINENO: result: no" >&5
     5130echo "${ECHO_T}no" >&6
     5131fi
     5132
     5133  test -n "$ac_ct_F77" && break
     5134done
     5135
     5136  F77=$ac_ct_F77
     5137fi
     5138
     5139
     5140# Provide some information about the compiler.
     5141echo "$as_me:5141:" \
     5142     "checking for Fortran 77 compiler version" >&5
     5143ac_compiler=`set X $ac_compile; echo $2`
     5144{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
     5145  (eval $ac_compiler --version </dev/null >&5) 2>&5
     5146  ac_status=$?
     5147  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5148  (exit $ac_status); }
     5149{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
     5150  (eval $ac_compiler -v </dev/null >&5) 2>&5
     5151  ac_status=$?
     5152  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5153  (exit $ac_status); }
     5154{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
     5155  (eval $ac_compiler -V </dev/null >&5) 2>&5
     5156  ac_status=$?
     5157  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5158  (exit $ac_status); }
     5159rm -f a.out
     5160
     5161# If we don't use `.F' as extension, the preprocessor is not run on the
     5162# input file.  (Note that this only needs to work for GNU compilers.)
     5163ac_save_ext=$ac_ext
     5164ac_ext=F
     5165echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
     5166echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
     5167if test "${ac_cv_f77_compiler_gnu+set}" = set; then
     5168  echo $ECHO_N "(cached) $ECHO_C" >&6
     5169else
     5170  cat >conftest.$ac_ext <<_ACEOF
     5171      program main
     5172#ifndef __GNUC__
     5173       choke me
     5174#endif
     5175
     5176      end
     5177_ACEOF
     5178rm -f conftest.$ac_objext
     5179if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5180  (eval $ac_compile) 2>conftest.er1
     5181  ac_status=$?
     5182  grep -v '^ *+' conftest.er1 >conftest.err
     5183  rm -f conftest.er1
     5184  cat conftest.err >&5
     5185  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5186  (exit $ac_status); } &&
     5187         { ac_try='test -z "$ac_f77_werror_flag"
     5188                         || test ! -s conftest.err'
     5189  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5190  (eval $ac_try) 2>&5
     5191  ac_status=$?
     5192  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5193  (exit $ac_status); }; } &&
     5194         { ac_try='test -s conftest.$ac_objext'
     5195  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5196  (eval $ac_try) 2>&5
     5197  ac_status=$?
     5198  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5199  (exit $ac_status); }; }; then
     5200  ac_compiler_gnu=yes
     5201else
     5202  echo "$as_me: failed program was:" >&5
     5203sed 's/^/| /' conftest.$ac_ext >&5
     5204
     5205ac_compiler_gnu=no
     5206fi
     5207rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5208ac_cv_f77_compiler_gnu=$ac_compiler_gnu
     5209
     5210fi
     5211echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
     5212echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
     5213ac_ext=$ac_save_ext
     5214ac_test_FFLAGS=${FFLAGS+set}
     5215ac_save_FFLAGS=$FFLAGS
     5216FFLAGS=
     5217echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
     5218echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
     5219if test "${ac_cv_prog_f77_g+set}" = set; then
     5220  echo $ECHO_N "(cached) $ECHO_C" >&6
     5221else
     5222  FFLAGS=-g
     5223cat >conftest.$ac_ext <<_ACEOF
     5224      program main
     5225
     5226      end
     5227_ACEOF
     5228rm -f conftest.$ac_objext
     5229if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5230  (eval $ac_compile) 2>conftest.er1
     5231  ac_status=$?
     5232  grep -v '^ *+' conftest.er1 >conftest.err
     5233  rm -f conftest.er1
     5234  cat conftest.err >&5
     5235  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5236  (exit $ac_status); } &&
     5237         { ac_try='test -z "$ac_f77_werror_flag"
     5238                         || test ! -s conftest.err'
     5239  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5240  (eval $ac_try) 2>&5
     5241  ac_status=$?
     5242  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5243  (exit $ac_status); }; } &&
     5244         { ac_try='test -s conftest.$ac_objext'
     5245  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5246  (eval $ac_try) 2>&5
     5247  ac_status=$?
     5248  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5249  (exit $ac_status); }; }; then
     5250  ac_cv_prog_f77_g=yes
     5251else
     5252  echo "$as_me: failed program was:" >&5
     5253sed 's/^/| /' conftest.$ac_ext >&5
     5254
     5255ac_cv_prog_f77_g=no
     5256fi
     5257rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5258
     5259fi
     5260echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
     5261echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
     5262if test "$ac_test_FFLAGS" = set; then
     5263  FFLAGS=$ac_save_FFLAGS
     5264elif test $ac_cv_prog_f77_g = yes; then
     5265  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
     5266    FFLAGS="-g -O2"
     5267  else
     5268    FFLAGS="-g"
     5269  fi
     5270else
     5271  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
     5272    FFLAGS="-O2"
     5273  else
     5274    FFLAGS=
     5275  fi
     5276fi
     5277
     5278G77=`test $ac_compiler_gnu = yes && echo yes`
     5279ac_ext=c
     5280ac_cpp='$CPP $CPPFLAGS'
     5281ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     5282ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     5283ac_compiler_gnu=$ac_cv_c_compiler_gnu
     5284
     5285
     5286
     5287# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
     5288
     5289# find the maximum length of command line arguments
     5290echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
     5291echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
     5292if test "${lt_cv_sys_max_cmd_len+set}" = set; then
     5293  echo $ECHO_N "(cached) $ECHO_C" >&6
     5294else
     5295    i=0
     5296  testring="ABCD"
     5297
     5298  case $build_os in
     5299  msdosdjgpp*)
     5300    # On DJGPP, this test can blow up pretty badly due to problems in libc
     5301    # (any single argument exceeding 2000 bytes causes a buffer overrun
     5302    # during glob expansion).  Even if it were fixed, the result of this
     5303    # check would be larger than it should be.
     5304    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
     5305    ;;
     5306
     5307  gnu*)
     5308    # Under GNU Hurd, this test is not required because there is
     5309    # no limit to the length of command line arguments.
     5310    # Libtool will interpret -1 as no limit whatsoever
     5311    lt_cv_sys_max_cmd_len=-1;
     5312    ;;
     5313
     5314  cygwin* | mingw*)
     5315    # On Win9x/ME, this test blows up -- it succeeds, but takes
     5316    # about 5 minutes as the teststring grows exponentially.
     5317    # Worse, since 9x/ME are not pre-emptively multitasking,
     5318    # you end up with a "frozen" computer, even though with patience
     5319    # the test eventually succeeds (with a max line length of 256k).
     5320    # Instead, let's just punt: use the minimum linelength reported by
     5321    # all of the supported platforms: 8192 (on NT/2K/XP).
     5322    lt_cv_sys_max_cmd_len=8192;
     5323    ;;
     5324
     5325  amigaos*)
     5326    # On AmigaOS with pdksh, this test takes hours, literally.
     5327    # So we just punt and use a minimum line length of 8192.
     5328    lt_cv_sys_max_cmd_len=8192;
     5329    ;;
     5330
     5331 *)
     5332    # If test is not a shell built-in, we'll probably end up computing a
     5333    # maximum length that is only half of the actual maximum length, but
     5334    # we can't tell.
     5335    while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
     5336               = "XX$testring") >/dev/null 2>&1 &&
     5337            new_result=`expr "X$testring" : ".*" 2>&1` &&
     5338            lt_cv_sys_max_cmd_len=$new_result &&
     5339            test $i != 17 # 1/2 MB should be enough
     5340    do
     5341      i=`expr $i + 1`
     5342      testring=$testring$testring
     5343    done
     5344    testring=
     5345    # Add a significant safety factor because C++ compilers can tack on massive
     5346    # amounts of additional arguments before passing them to the linker.
     5347    # It appears as though 1/2 is a usable value.
     5348    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
     5349    ;;
     5350  esac
     5351
     5352fi
     5353
     5354if test -n $lt_cv_sys_max_cmd_len ; then
     5355  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
     5356echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
     5357else
     5358  echo "$as_me:$LINENO: result: none" >&5
     5359echo "${ECHO_T}none" >&6
     5360fi
    31465361
    31475362
     
    31495364
    31505365# Check for command to grab the raw symbol name followed by C symbol from nm.
    3151 echo "$as_me:$LINENO: checking command to parse $NM output" >&5
    3152 echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
     5366echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
     5367echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
    31535368if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
    31545369  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    31685383
    31695384# Transform an extracted symbol line into a proper C declaration
    3170 lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
     5385lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
    31715386
    31725387# Transform an extracted symbol line into symbol name and symbol address
    3173 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'"
     5388lt_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'"
    31745389
    31755390# Define system-specific variables.
     
    31825397  ;;
    31835398hpux*) # Its linker distinguishes data from code symbols
    3184   lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
    3185   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'"
     5399  if test "$host_cpu" = ia64; then
     5400    symcode='[ABCDEGRST]'
     5401  fi
     5402  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
     5403  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'"
    31865404  ;;
    31875405irix* | nonstopux*)
    31885406  symcode='[BCDEGRST]'
    31895407  ;;
     5408osf*)
     5409  symcode='[BCDEGQRST]'
     5410  ;;
    31905411solaris* | sysv5*)
    3191   symcode='[BDT]'
     5412  symcode='[BDRT]'
    31925413  ;;
    31935414sysv4)
     
    31985419# Handle CRLF in mingw tool chain
    31995420opt_cr=
    3200 case $host_os in
     5421case $build_os in
    32015422mingw*)
    32025423  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
     
    32055426
    32065427# If we're using GNU nm, then use its standard symbol codes.
    3207 if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
    3208   symcode='[ABCDGISTW]'
    3209 fi
     5428case `$NM -V 2>&1` in
     5429*GNU* | *'with BFD'*)
     5430  symcode='[ABCDGIRSTW]' ;;
     5431esac
    32105432
    32115433# Try without a prefix undercore, then with it.
     
    32135435
    32145436  # Write the raw and C identifiers.
    3215 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[         ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
     5437  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
    32165438
    32175439  # Check to see that the pipe works correctly.
    32185440  pipe_works=no
     5441
    32195442  rm -f conftest*
    32205443  cat > conftest.$ac_ext <<EOF
     
    32505473
    32515474      # Make sure that we snagged all the symbols we need.
    3252       if egrep ' nm_test_var$' "$nlist" >/dev/null; then
    3253         if egrep ' nm_test_func$' "$nlist" >/dev/null; then
     5475      if grep ' nm_test_var$' "$nlist" >/dev/null; then
     5476        if grep ' nm_test_func$' "$nlist" >/dev/null; then
    32545477          cat <<EOF > conftest.$ac_ext
    32555478#ifdef __cplusplus
     
    32595482EOF
    32605483          # Now generate the symbol file.
    3261           eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
     5484          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
    32625485
    32635486          cat <<EOF >> conftest.$ac_ext
    32645487#if defined (__STDC__) && __STDC__
    3265 # define lt_ptr void *
     5488# define lt_ptr_t void *
    32665489#else
    3267 # define lt_ptr char *
     5490# define lt_ptr_t char *
    32685491# define const
    32695492#endif
     
    32725495const struct {
    32735496  const char *name;
    3274   lt_ptr address;
     5497  lt_ptr_t address;
    32755498}
    32765499lt_preloaded_symbols[] =
    32775500{
    32785501EOF
    3279           sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
     5502          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
    32805503          cat <<\EOF >> conftest.$ac_ext
    3281   {0, (lt_ptr) 0}
     5504  {0, (lt_ptr_t) 0}
    32825505};
    32835506
     
    32885511          # Now try linking the two files.
    32895512          mv conftest.$ac_objext conftstm.$ac_objext
    3290           save_LIBS="$LIBS"
    3291           save_CFLAGS="$CFLAGS"
     5513          lt_save_LIBS="$LIBS"
     5514          lt_save_CFLAGS="$CFLAGS"
    32925515          LIBS="conftstm.$ac_objext"
    3293           CFLAGS="$CFLAGS$no_builtin_flag"
     5516          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
    32945517          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    32955518  (eval $ac_link) 2>&5
    32965519  ac_status=$?
    32975520  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3298   (exit $ac_status); } && test -s conftest; then
     5521  (exit $ac_status); } && test -s conftest${ac_exeext}; then
    32995522            pipe_works=yes
    33005523          fi
    3301           LIBS="$save_LIBS"
    3302           CFLAGS="$save_CFLAGS"
     5524          LIBS="$lt_save_LIBS"
     5525          CFLAGS="$lt_save_CFLAGS"
    33035526        else
    33045527          echo "cannot find nm_test_func in $nlist" >&5
     
    33265549fi
    33275550
    3328 global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
    33295551if test -z "$lt_cv_sys_global_symbol_pipe"; then
    3330   global_symbol_to_cdecl=
    3331   global_symbol_to_c_name_address=
    3332 else
    3333   global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
    3334   global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
    3335 fi
    3336 if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
    3337 then
     5552  lt_cv_sys_global_symbol_to_cdecl=
     5553fi
     5554if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
    33385555  echo "$as_me:$LINENO: result: failed" >&5
    33395556echo "${ECHO_T}failed" >&6
     
    33435560fi
    33445561
    3345 ac_ext=c
    3346 ac_cpp='$CPP $CPPFLAGS'
    3347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3350 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    3351 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
    3352 # On Suns, sometimes $CPP names a directory.
    3353 if test -n "$CPP" && test -d "$CPP"; then
    3354   CPP=
    3355 fi
    3356 if test -z "$CPP"; then
    3357   if test "${ac_cv_prog_CPP+set}" = set; then
     5562echo "$as_me:$LINENO: checking for objdir" >&5
     5563echo $ECHO_N "checking for objdir... $ECHO_C" >&6
     5564if test "${lt_cv_objdir+set}" = set; then
    33585565  echo $ECHO_N "(cached) $ECHO_C" >&6
    33595566else
    3360       # Double quotes because CPP needs to be expanded
    3361     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
    3362     do
    3363       ac_preproc_ok=false
    3364 for ac_c_preproc_warn_flag in '' yes
    3365 do
    3366   # Use a header file that comes with gcc, so configuring glibc
    3367   # with a fresh cross-compiler works.
    3368   # On the NeXT, cc -E runs the code through the compiler's parser,
    3369   # not just through cpp. "Syntax error" is here to catch this case.
    3370   cat >conftest.$ac_ext <<_ACEOF
    3371 #line $LINENO "configure"
    3372 #include "confdefs.h"
    3373 #include <assert.h>
    3374                      Syntax error
    3375 _ACEOF
    3376 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3377   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    3378   ac_status=$?
    3379   egrep -v '^ *\+' conftest.er1 >conftest.err
    3380   rm -f conftest.er1
    3381   cat conftest.err >&5
    3382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3383   (exit $ac_status); } >/dev/null; then
    3384   if test -s conftest.err; then
    3385     ac_cpp_err=$ac_c_preproc_warn_flag
    3386   else
    3387     ac_cpp_err=
    3388   fi
    3389 else
    3390   ac_cpp_err=yes
    3391 fi
    3392 if test -z "$ac_cpp_err"; then
    3393   :
    3394 else
    3395   echo "$as_me: failed program was:" >&5
    3396   cat conftest.$ac_ext >&5
    3397   # Broken: fails on valid input.
    3398 continue
    3399 fi
    3400 rm -f conftest.err conftest.$ac_ext
    3401 
    3402   # OK, works on sane cases.  Now check whether non-existent headers
    3403   # can be detected and how.
    3404   cat >conftest.$ac_ext <<_ACEOF
    3405 #line $LINENO "configure"
    3406 #include "confdefs.h"
    3407 #include <ac_nonexistent.h>
    3408 _ACEOF
    3409 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3410   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    3411   ac_status=$?
    3412   egrep -v '^ *\+' conftest.er1 >conftest.err
    3413   rm -f conftest.er1
    3414   cat conftest.err >&5
    3415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3416   (exit $ac_status); } >/dev/null; then
    3417   if test -s conftest.err; then
    3418     ac_cpp_err=$ac_c_preproc_warn_flag
    3419   else
    3420     ac_cpp_err=
    3421   fi
    3422 else
    3423   ac_cpp_err=yes
    3424 fi
    3425 if test -z "$ac_cpp_err"; then
    3426   # Broken: success on invalid input.
    3427 continue
    3428 else
    3429   echo "$as_me: failed program was:" >&5
    3430   cat conftest.$ac_ext >&5
    3431   # Passes both tests.
    3432 ac_preproc_ok=:
    3433 break
    3434 fi
    3435 rm -f conftest.err conftest.$ac_ext
    3436 
    3437 done
    3438 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3439 rm -f conftest.err conftest.$ac_ext
    3440 if $ac_preproc_ok; then
    3441   break
    3442 fi
    3443 
    3444     done
    3445     ac_cv_prog_CPP=$CPP
    3446 
    3447 fi
    3448   CPP=$ac_cv_prog_CPP
    3449 else
    3450   ac_cv_prog_CPP=$CPP
    3451 fi
    3452 echo "$as_me:$LINENO: result: $CPP" >&5
    3453 echo "${ECHO_T}$CPP" >&6
    3454 ac_preproc_ok=false
    3455 for ac_c_preproc_warn_flag in '' yes
    3456 do
    3457   # Use a header file that comes with gcc, so configuring glibc
    3458   # with a fresh cross-compiler works.
    3459   # On the NeXT, cc -E runs the code through the compiler's parser,
    3460   # not just through cpp. "Syntax error" is here to catch this case.
    3461   cat >conftest.$ac_ext <<_ACEOF
    3462 #line $LINENO "configure"
    3463 #include "confdefs.h"
    3464 #include <assert.h>
    3465                      Syntax error
    3466 _ACEOF
    3467 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3468   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    3469   ac_status=$?
    3470   egrep -v '^ *\+' conftest.er1 >conftest.err
    3471   rm -f conftest.er1
    3472   cat conftest.err >&5
    3473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3474   (exit $ac_status); } >/dev/null; then
    3475   if test -s conftest.err; then
    3476     ac_cpp_err=$ac_c_preproc_warn_flag
    3477   else
    3478     ac_cpp_err=
    3479   fi
    3480 else
    3481   ac_cpp_err=yes
    3482 fi
    3483 if test -z "$ac_cpp_err"; then
    3484   :
    3485 else
    3486   echo "$as_me: failed program was:" >&5
    3487   cat conftest.$ac_ext >&5
    3488   # Broken: fails on valid input.
    3489 continue
    3490 fi
    3491 rm -f conftest.err conftest.$ac_ext
    3492 
    3493   # OK, works on sane cases.  Now check whether non-existent headers
    3494   # can be detected and how.
    3495   cat >conftest.$ac_ext <<_ACEOF
    3496 #line $LINENO "configure"
    3497 #include "confdefs.h"
    3498 #include <ac_nonexistent.h>
    3499 _ACEOF
    3500 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3501   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    3502   ac_status=$?
    3503   egrep -v '^ *\+' conftest.er1 >conftest.err
    3504   rm -f conftest.er1
    3505   cat conftest.err >&5
    3506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3507   (exit $ac_status); } >/dev/null; then
    3508   if test -s conftest.err; then
    3509     ac_cpp_err=$ac_c_preproc_warn_flag
    3510   else
    3511     ac_cpp_err=
    3512   fi
    3513 else
    3514   ac_cpp_err=yes
    3515 fi
    3516 if test -z "$ac_cpp_err"; then
    3517   # Broken: success on invalid input.
    3518 continue
    3519 else
    3520   echo "$as_me: failed program was:" >&5
    3521   cat conftest.$ac_ext >&5
    3522   # Passes both tests.
    3523 ac_preproc_ok=:
    3524 break
    3525 fi
    3526 rm -f conftest.err conftest.$ac_ext
    3527 
    3528 done
    3529 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3530 rm -f conftest.err conftest.$ac_ext
    3531 if $ac_preproc_ok; then
    3532   :
    3533 else
    3534   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
    3535 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
    3536    { (exit 1); exit 1; }; }
    3537 fi
    3538 
    3539 ac_ext=c
    3540 ac_cpp='$CPP $CPPFLAGS'
    3541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3544 
    3545 
    3546 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    3547 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    3548 if test "${ac_cv_header_stdc+set}" = set; then
    3549   echo $ECHO_N "(cached) $ECHO_C" >&6
    3550 else
    3551   cat >conftest.$ac_ext <<_ACEOF
    3552 #line $LINENO "configure"
    3553 #include "confdefs.h"
    3554 #include <stdlib.h>
    3555 #include <stdarg.h>
    3556 #include <string.h>
    3557 #include <float.h>
    3558 
    3559 _ACEOF
    3560 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3561   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    3562   ac_status=$?
    3563   egrep -v '^ *\+' conftest.er1 >conftest.err
    3564   rm -f conftest.er1
    3565   cat conftest.err >&5
    3566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3567   (exit $ac_status); } >/dev/null; then
    3568   if test -s conftest.err; then
    3569     ac_cpp_err=$ac_c_preproc_warn_flag
    3570   else
    3571     ac_cpp_err=
    3572   fi
    3573 else
    3574   ac_cpp_err=yes
    3575 fi
    3576 if test -z "$ac_cpp_err"; then
    3577   ac_cv_header_stdc=yes
    3578 else
    3579   echo "$as_me: failed program was:" >&5
    3580   cat conftest.$ac_ext >&5
    3581   ac_cv_header_stdc=no
    3582 fi
    3583 rm -f conftest.err conftest.$ac_ext
    3584 
    3585 if test $ac_cv_header_stdc = yes; then
    3586   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    3587   cat >conftest.$ac_ext <<_ACEOF
    3588 #line $LINENO "configure"
    3589 #include "confdefs.h"
    3590 #include <string.h>
    3591 
    3592 _ACEOF
    3593 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3594   egrep "memchr" >/dev/null 2>&1; then
    3595   :
    3596 else
    3597   ac_cv_header_stdc=no
    3598 fi
    3599 rm -f conftest*
    3600 
    3601 fi
    3602 
    3603 if test $ac_cv_header_stdc = yes; then
    3604   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    3605   cat >conftest.$ac_ext <<_ACEOF
    3606 #line $LINENO "configure"
    3607 #include "confdefs.h"
    3608 #include <stdlib.h>
    3609 
    3610 _ACEOF
    3611 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3612   egrep "free" >/dev/null 2>&1; then
    3613   :
    3614 else
    3615   ac_cv_header_stdc=no
    3616 fi
    3617 rm -f conftest*
    3618 
    3619 fi
    3620 
    3621 if test $ac_cv_header_stdc = yes; then
    3622   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    3623   if test "$cross_compiling" = yes; then
    3624   :
    3625 else
    3626   cat >conftest.$ac_ext <<_ACEOF
    3627 #line $LINENO "configure"
    3628 #include "confdefs.h"
    3629 #include <ctype.h>
    3630 #if ((' ' & 0x0FF) == 0x020)
    3631 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
    3632 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
    3633 #else
    3634 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
    3635                      || ('j' <= (c) && (c) <= 'r') \
    3636                      || ('s' <= (c) && (c) <= 'z'))
    3637 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
    3638 #endif
    3639 
    3640 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
    3641 int
    3642 main ()
    3643 {
    3644   int i;
    3645   for (i = 0; i < 256; i++)
    3646     if (XOR (islower (i), ISLOWER (i))
    3647         || toupper (i) != TOUPPER (i))
    3648       exit(2);
    3649   exit (0);
    3650 }
    3651 _ACEOF
    3652 rm -f conftest$ac_exeext
    3653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3654   (eval $ac_link) 2>&5
    3655   ac_status=$?
    3656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3657   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    3658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3659   (eval $ac_try) 2>&5
    3660   ac_status=$?
    3661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3662   (exit $ac_status); }; }; then
    3663   :
    3664 else
    3665   echo "$as_me: program exited with status $ac_status" >&5
    3666 echo "$as_me: failed program was:" >&5
    3667 cat conftest.$ac_ext >&5
    3668 ( exit $ac_status )
    3669 ac_cv_header_stdc=no
    3670 fi
    3671 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    3672 fi
    3673 fi
    3674 fi
    3675 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    3676 echo "${ECHO_T}$ac_cv_header_stdc" >&6
    3677 if test $ac_cv_header_stdc = yes; then
    3678 
    3679 cat >>confdefs.h <<\_ACEOF
    3680 #define STDC_HEADERS 1
    3681 _ACEOF
    3682 
    3683 fi
    3684 
    3685 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
    3686 
    3687 
    3688 
    3689 
    3690 
    3691 
    3692 
    3693 
    3694 
    3695 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    3696                   inttypes.h stdint.h unistd.h
    3697 do
    3698 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3699 echo "$as_me:$LINENO: checking for $ac_header" >&5
    3700 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    3701 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    3702   echo $ECHO_N "(cached) $ECHO_C" >&6
    3703 else
    3704   cat >conftest.$ac_ext <<_ACEOF
    3705 #line $LINENO "configure"
    3706 #include "confdefs.h"
    3707 $ac_includes_default
    3708 
    3709 #include <$ac_header>
    3710 _ACEOF
    3711 rm -f conftest.$ac_objext
    3712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3713   (eval $ac_compile) 2>&5
    3714   ac_status=$?
    3715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3716   (exit $ac_status); } &&
    3717          { ac_try='test -s conftest.$ac_objext'
    3718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3719   (eval $ac_try) 2>&5
    3720   ac_status=$?
    3721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3722   (exit $ac_status); }; }; then
    3723   eval "$as_ac_Header=yes"
    3724 else
    3725   echo "$as_me: failed program was:" >&5
    3726 cat conftest.$ac_ext >&5
    3727 eval "$as_ac_Header=no"
    3728 fi
    3729 rm -f conftest.$ac_objext conftest.$ac_ext
    3730 fi
    3731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    3732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    3733 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    3734   cat >>confdefs.h <<_ACEOF
    3735 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    3736 _ACEOF
    3737 
    3738 fi
    3739 
    3740 done
    3741 
    3742 
    3743 
    3744 for ac_header in dlfcn.h
    3745 do
    3746 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    3748   echo "$as_me:$LINENO: checking for $ac_header" >&5
    3749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    3750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    3751   echo $ECHO_N "(cached) $ECHO_C" >&6
    3752 fi
    3753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    3754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    3755 else
    3756   # Is the header compilable?
    3757 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    3758 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    3759 cat >conftest.$ac_ext <<_ACEOF
    3760 #line $LINENO "configure"
    3761 #include "confdefs.h"
    3762 $ac_includes_default
    3763 #include <$ac_header>
    3764 _ACEOF
    3765 rm -f conftest.$ac_objext
    3766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3767   (eval $ac_compile) 2>&5
    3768   ac_status=$?
    3769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3770   (exit $ac_status); } &&
    3771          { ac_try='test -s conftest.$ac_objext'
    3772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3773   (eval $ac_try) 2>&5
    3774   ac_status=$?
    3775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3776   (exit $ac_status); }; }; then
    3777   ac_header_compiler=yes
    3778 else
    3779   echo "$as_me: failed program was:" >&5
    3780 cat conftest.$ac_ext >&5
    3781 ac_header_compiler=no
    3782 fi
    3783 rm -f conftest.$ac_objext conftest.$ac_ext
    3784 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    3785 echo "${ECHO_T}$ac_header_compiler" >&6
    3786 
    3787 # Is the header present?
    3788 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    3789 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    3790 cat >conftest.$ac_ext <<_ACEOF
    3791 #line $LINENO "configure"
    3792 #include "confdefs.h"
    3793 #include <$ac_header>
    3794 _ACEOF
    3795 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3796   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    3797   ac_status=$?
    3798   egrep -v '^ *\+' conftest.er1 >conftest.err
    3799   rm -f conftest.er1
    3800   cat conftest.err >&5
    3801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3802   (exit $ac_status); } >/dev/null; then
    3803   if test -s conftest.err; then
    3804     ac_cpp_err=$ac_c_preproc_warn_flag
    3805   else
    3806     ac_cpp_err=
    3807   fi
    3808 else
    3809   ac_cpp_err=yes
    3810 fi
    3811 if test -z "$ac_cpp_err"; then
    3812   ac_header_preproc=yes
    3813 else
    3814   echo "$as_me: failed program was:" >&5
    3815   cat conftest.$ac_ext >&5
    3816   ac_header_preproc=no
    3817 fi
    3818 rm -f conftest.err conftest.$ac_ext
    3819 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    3820 echo "${ECHO_T}$ac_header_preproc" >&6
    3821 
    3822 # So?  What about this header?
    3823 case $ac_header_compiler:$ac_header_preproc in
    3824   yes:no )
    3825     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    3826 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    3827     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    3828 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
    3829   no:yes )
    3830     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    3831 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    3832     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
    3833 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
    3834     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    3835 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
    3836 esac
    3837 echo "$as_me:$LINENO: checking for $ac_header" >&5
    3838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    3839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    3840   echo $ECHO_N "(cached) $ECHO_C" >&6
    3841 else
    3842   eval "$as_ac_Header=$ac_header_preproc"
    3843 fi
    3844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    3845 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    3846 
    3847 fi
    3848 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    3849   cat >>confdefs.h <<_ACEOF
    3850 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    3851 _ACEOF
    3852 
    3853 fi
    3854 
    3855 done
    3856 
    3857 
    3858 
    3859 
    3860 
    3861 # Only perform the check for file, if the check method requires it
    3862 case $deplibs_check_method in
    3863 file_magic*)
    3864   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
    3865     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
    3866 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
    3867 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
    3868   echo $ECHO_N "(cached) $ECHO_C" >&6
    3869 else
    3870   case $MAGIC_CMD in
    3871   /*)
    3872   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
    3873   ;;
    3874   ?:/*)
    3875   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
    3876   ;;
    3877   *)
    3878   ac_save_MAGIC_CMD="$MAGIC_CMD"
    3879   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    3880   ac_dummy="/usr/bin:$PATH"
    3881   for ac_dir in $ac_dummy; do
    3882     test -z "$ac_dir" && ac_dir=.
    3883     if test -f $ac_dir/${ac_tool_prefix}file; then
    3884       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
    3885       if test -n "$file_magic_test_file"; then
    3886         case $deplibs_check_method in
    3887         "file_magic "*)
    3888           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
    3889           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
    3890           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
    3891             egrep "$file_magic_regex" > /dev/null; then
    3892             :
    3893           else
    3894             cat <<EOF 1>&2
    3895 
    3896 *** Warning: the command libtool uses to detect shared libraries,
    3897 *** $file_magic_cmd, produces output that libtool cannot recognize.
    3898 *** The result is that libtool may fail to recognize shared libraries
    3899 *** as such.  This will affect the creation of libtool libraries that
    3900 *** depend on shared libraries, but programs linked with such libtool
    3901 *** libraries will work regardless of this problem.  Nevertheless, you
    3902 *** may want to report the problem to your system manager and/or to
    3903 *** bug-libtool@gnu.org
    3904 
    3905 EOF
    3906           fi ;;
    3907         esac
    3908       fi
    3909       break
    3910     fi
    3911   done
    3912   IFS="$ac_save_ifs"
    3913   MAGIC_CMD="$ac_save_MAGIC_CMD"
    3914   ;;
    3915 esac
    3916 fi
    3917 
    3918 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
    3919 if test -n "$MAGIC_CMD"; then
    3920   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
    3921 echo "${ECHO_T}$MAGIC_CMD" >&6
    3922 else
    3923   echo "$as_me:$LINENO: result: no" >&5
    3924 echo "${ECHO_T}no" >&6
    3925 fi
    3926 
    3927 if test -z "$lt_cv_path_MAGIC_CMD"; then
    3928   if test -n "$ac_tool_prefix"; then
    3929     echo "$as_me:$LINENO: checking for file" >&5
    3930 echo $ECHO_N "checking for file... $ECHO_C" >&6
    3931 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
    3932   echo $ECHO_N "(cached) $ECHO_C" >&6
    3933 else
    3934   case $MAGIC_CMD in
    3935   /*)
    3936   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
    3937   ;;
    3938   ?:/*)
    3939   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
    3940   ;;
    3941   *)
    3942   ac_save_MAGIC_CMD="$MAGIC_CMD"
    3943   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    3944   ac_dummy="/usr/bin:$PATH"
    3945   for ac_dir in $ac_dummy; do
    3946     test -z "$ac_dir" && ac_dir=.
    3947     if test -f $ac_dir/file; then
    3948       lt_cv_path_MAGIC_CMD="$ac_dir/file"
    3949       if test -n "$file_magic_test_file"; then
    3950         case $deplibs_check_method in
    3951         "file_magic "*)
    3952           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
    3953           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
    3954           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
    3955             egrep "$file_magic_regex" > /dev/null; then
    3956             :
    3957           else
    3958             cat <<EOF 1>&2
    3959 
    3960 *** Warning: the command libtool uses to detect shared libraries,
    3961 *** $file_magic_cmd, produces output that libtool cannot recognize.
    3962 *** The result is that libtool may fail to recognize shared libraries
    3963 *** as such.  This will affect the creation of libtool libraries that
    3964 *** depend on shared libraries, but programs linked with such libtool
    3965 *** libraries will work regardless of this problem.  Nevertheless, you
    3966 *** may want to report the problem to your system manager and/or to
    3967 *** bug-libtool@gnu.org
    3968 
    3969 EOF
    3970           fi ;;
    3971         esac
    3972       fi
    3973       break
    3974     fi
    3975   done
    3976   IFS="$ac_save_ifs"
    3977   MAGIC_CMD="$ac_save_MAGIC_CMD"
    3978   ;;
    3979 esac
    3980 fi
    3981 
    3982 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
    3983 if test -n "$MAGIC_CMD"; then
    3984   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
    3985 echo "${ECHO_T}$MAGIC_CMD" >&6
    3986 else
    3987   echo "$as_me:$LINENO: result: no" >&5
    3988 echo "${ECHO_T}no" >&6
    3989 fi
    3990 
    3991   else
    3992     MAGIC_CMD=:
    3993   fi
    3994 fi
    3995 
     5567  rm -f .libs 2>/dev/null
     5568mkdir .libs 2>/dev/null
     5569if test -d .libs; then
     5570  lt_cv_objdir=.libs
     5571else
     5572  # MS-DOS does not allow filenames that begin with a dot.
     5573  lt_cv_objdir=_libs
     5574fi
     5575rmdir .libs 2>/dev/null
     5576fi
     5577echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
     5578echo "${ECHO_T}$lt_cv_objdir" >&6
     5579objdir=$lt_cv_objdir
     5580
     5581
     5582
     5583
     5584
     5585case $host_os in
     5586aix3*)
     5587  # AIX sometimes has problems with the GCC collect2 program.  For some
     5588  # reason, if we set the COLLECT_NAMES environment variable, the problems
     5589  # vanish in a puff of smoke.
     5590  if test "X${COLLECT_NAMES+set}" != Xset; then
     5591    COLLECT_NAMES=
     5592    export COLLECT_NAMES
    39965593  fi
    39975594  ;;
    39985595esac
     5596
     5597# Sed substitution that helps us do robust quoting.  It backslashifies
     5598# metacharacters that are still active within double-quoted strings.
     5599Xsed='sed -e s/^X//'
     5600sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
     5601
     5602# Same as above, but do not quote variable references.
     5603double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
     5604
     5605# Sed substitution to delay expansion of an escaped shell variable in a
     5606# double_quote_subst'ed string.
     5607delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
     5608
     5609# Sed substitution to avoid accidental globbing in evaled expressions
     5610no_glob_subst='s/\*/\\\*/g'
     5611
     5612# Constants:
     5613rm="rm -f"
     5614
     5615# Global variables:
     5616default_ofile=libtool
     5617can_build_shared=yes
     5618
     5619# All known linkers require a `.a' archive for static linking (except M$VC,
     5620# which needs '.lib').
     5621libext=a
     5622ltmain="$ac_aux_dir/ltmain.sh"
     5623ofile="$default_ofile"
     5624with_gnu_ld="$lt_cv_prog_gnu_ld"
     5625
     5626if test -n "$ac_tool_prefix"; then
     5627  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
     5628set dummy ${ac_tool_prefix}ar; ac_word=$2
     5629echo "$as_me:$LINENO: checking for $ac_word" >&5
     5630echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     5631if test "${ac_cv_prog_AR+set}" = set; then
     5632  echo $ECHO_N "(cached) $ECHO_C" >&6
     5633else
     5634  if test -n "$AR"; then
     5635  ac_cv_prog_AR="$AR" # Let the user override the test.
     5636else
     5637as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5638for as_dir in $PATH
     5639do
     5640  IFS=$as_save_IFS
     5641  test -z "$as_dir" && as_dir=.
     5642  for ac_exec_ext in '' $ac_executable_extensions; do
     5643  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5644    ac_cv_prog_AR="${ac_tool_prefix}ar"
     5645    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     5646    break 2
     5647  fi
     5648done
     5649done
     5650
     5651fi
     5652fi
     5653AR=$ac_cv_prog_AR
     5654if test -n "$AR"; then
     5655  echo "$as_me:$LINENO: result: $AR" >&5
     5656echo "${ECHO_T}$AR" >&6
     5657else
     5658  echo "$as_me:$LINENO: result: no" >&5
     5659echo "${ECHO_T}no" >&6
     5660fi
     5661
     5662fi
     5663if test -z "$ac_cv_prog_AR"; then
     5664  ac_ct_AR=$AR
     5665  # Extract the first word of "ar", so it can be a program name with args.
     5666set dummy ar; ac_word=$2
     5667echo "$as_me:$LINENO: checking for $ac_word" >&5
     5668echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     5669if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
     5670  echo $ECHO_N "(cached) $ECHO_C" >&6
     5671else
     5672  if test -n "$ac_ct_AR"; then
     5673  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
     5674else
     5675as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5676for as_dir in $PATH
     5677do
     5678  IFS=$as_save_IFS
     5679  test -z "$as_dir" && as_dir=.
     5680  for ac_exec_ext in '' $ac_executable_extensions; do
     5681  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5682    ac_cv_prog_ac_ct_AR="ar"
     5683    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     5684    break 2
     5685  fi
     5686done
     5687done
     5688
     5689  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
     5690fi
     5691fi
     5692ac_ct_AR=$ac_cv_prog_ac_ct_AR
     5693if test -n "$ac_ct_AR"; then
     5694  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
     5695echo "${ECHO_T}$ac_ct_AR" >&6
     5696else
     5697  echo "$as_me:$LINENO: result: no" >&5
     5698echo "${ECHO_T}no" >&6
     5699fi
     5700
     5701  AR=$ac_ct_AR
     5702else
     5703  AR="$ac_cv_prog_AR"
     5704fi
    39995705
    40005706if test -n "$ac_tool_prefix"; then
     
    41595865
    41605866
    4161 enable_dlopen=no
    4162 enable_win32_dll=no
    4163 
    4164 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
    4165 if test "${enable_libtool_lock+set}" = set; then
    4166   enableval="$enable_libtool_lock"
    4167 
    4168 fi;
    4169 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
    4170 
    4171 # Some flags need to be propagated to the compiler or linker for good
    4172 # libtool support.
    4173 case $host in
    4174 *-*-irix6*)
    4175   # Find out which ABI we are using.
    4176   echo '#line 4176 "configure"' > conftest.$ac_ext
    4177   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4178   (eval $ac_compile) 2>&5
    4179   ac_status=$?
    4180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4181   (exit $ac_status); }; then
    4182     case `/usr/bin/file conftest.$ac_objext` in
    4183     *32-bit*)
    4184       LD="${LD-ld} -32"
    4185       ;;
    4186     *N32*)
    4187       LD="${LD-ld} -n32"
    4188       ;;
    4189     *64-bit*)
    4190       LD="${LD-ld} -64"
    4191       ;;
    4192     esac
    4193   fi
    4194   rm -rf conftest*
    4195   ;;
    4196 
    4197 *-*-sco3.2v5*)
    4198   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
    4199   SAVE_CFLAGS="$CFLAGS"
    4200   CFLAGS="$CFLAGS -belf"
    4201   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
    4202 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
    4203 if test "${lt_cv_cc_needs_belf+set}" = set; then
    4204   echo $ECHO_N "(cached) $ECHO_C" >&6
    4205 else
    4206 
    4207 
    4208      ac_ext=c
    4209 ac_cpp='$CPP $CPPFLAGS'
    4210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    4211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    4213 
    4214      cat >conftest.$ac_ext <<_ACEOF
    4215 #line $LINENO "configure"
    4216 #include "confdefs.h"
    4217 
    4218 #ifdef F77_DUMMY_MAIN
    4219 #  ifdef __cplusplus
    4220      extern "C"
    4221 #  endif
    4222    int F77_DUMMY_MAIN() { return 1; }
    4223 #endif
    4224 int
    4225 main ()
    4226 {
    4227 
    4228   ;
    4229   return 0;
    4230 }
    4231 _ACEOF
    4232 rm -f conftest.$ac_objext conftest$ac_exeext
    4233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4234   (eval $ac_link) 2>&5
    4235   ac_status=$?
    4236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4237   (exit $ac_status); } &&
    4238          { ac_try='test -s conftest$ac_exeext'
    4239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4240   (eval $ac_try) 2>&5
    4241   ac_status=$?
    4242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4243   (exit $ac_status); }; }; then
    4244   lt_cv_cc_needs_belf=yes
    4245 else
    4246   echo "$as_me: failed program was:" >&5
    4247 cat conftest.$ac_ext >&5
    4248 lt_cv_cc_needs_belf=no
    4249 fi
    4250 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4251      ac_ext=c
    4252 ac_cpp='$CPP $CPPFLAGS'
    4253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    4254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    4256 
    4257 fi
    4258 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
    4259 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
    4260   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
    4261     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
    4262     CFLAGS="$SAVE_CFLAGS"
    4263   fi
    4264   ;;
    4265 
    4266 
    4267 esac
    4268 
    4269 # Sed substitution that helps us do robust quoting.  It backslashifies
    4270 # metacharacters that are still active within double-quoted strings.
    4271 Xsed='sed -e s/^X//'
    4272 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
    4273 
    4274 # Same as above, but do not quote variable references.
    4275 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
    4276 
    4277 # Sed substitution to delay expansion of an escaped shell variable in a
    4278 # double_quote_subst'ed string.
    4279 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
    4280 
    4281 # Constants:
    4282 rm="rm -f"
    4283 
    4284 # Global variables:
    4285 default_ofile=libtool
    4286 can_build_shared=yes
    4287 
    4288 # All known linkers require a `.a' archive for static linking (except M$VC,
    4289 # which needs '.lib').
    4290 libext=a
    4291 ltmain="$ac_aux_dir/ltmain.sh"
    4292 ofile="$default_ofile"
    4293 with_gnu_ld="$lt_cv_prog_gnu_ld"
    4294 need_locks="$enable_libtool_lock"
    4295 
    42965867old_CC="$CC"
    42975868old_CFLAGS="$CFLAGS"
     
    43025873test -z "$AS" && AS=as
    43035874test -z "$CC" && CC=cc
     5875test -z "$LTCC" && LTCC=$CC
    43045876test -z "$DLLTOOL" && DLLTOOL=dlltool
    43055877test -z "$LD" && LD=ld
     
    43075879test -z "$MAGIC_CMD" && MAGIC_CMD=file
    43085880test -z "$NM" && NM=nm
     5881test -z "$SED" && SED=sed
    43095882test -z "$OBJDUMP" && OBJDUMP=objdump
    43105883test -z "$RANLIB" && RANLIB=:
    43115884test -z "$STRIP" && STRIP=:
    43125885test -z "$ac_objext" && ac_objext=o
    4313 
    4314 if test x"$host" != x"$build"; then
    4315   ac_tool_prefix=${host_alias}-
    4316 else
    4317   ac_tool_prefix=
    4318 fi
    4319 
    4320 # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
    4321 case $host_os in
    4322 linux-gnu*) ;;
    4323 linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
    4324 esac
    4325 
    4326 case $host_os in
    4327 aix3*)
    4328   # AIX sometimes has problems with the GCC collect2 program.  For some
    4329   # reason, if we set the COLLECT_NAMES environment variable, the problems
    4330   # vanish in a puff of smoke.
    4331   if test "X${COLLECT_NAMES+set}" != Xset; then
    4332     COLLECT_NAMES=
    4333     export COLLECT_NAMES
    4334   fi
    4335   ;;
    4336 esac
    43375886
    43385887# Determine commands to create old-style static archives.
     
    43535902fi
    43545903
    4355 # Allow CC to be a program name with arguments.
    4356 set dummy $CC
    4357 compiler="$2"
    4358 
    4359 echo "$as_me:$LINENO: checking for objdir" >&5
    4360 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
    4361 rm -f .libs 2>/dev/null
    4362 mkdir .libs 2>/dev/null
    4363 if test -d .libs; then
    4364   objdir=.libs
    4365 else
    4366   # MS-DOS does not allow filenames that begin with a dot.
    4367   objdir=_libs
    4368 fi
    4369 rmdir .libs 2>/dev/null
    4370 echo "$as_me:$LINENO: result: $objdir" >&5
    4371 echo "${ECHO_T}$objdir" >&6
    4372 
     5904# Only perform the check for file, if the check method requires it
     5905case $deplibs_check_method in
     5906file_magic*)
     5907  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
     5908    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
     5909echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
     5910if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
     5911  echo $ECHO_N "(cached) $ECHO_C" >&6
     5912else
     5913  case $MAGIC_CMD in
     5914[\\/*] |  ?:[\\/]*)
     5915  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     5916  ;;
     5917*)
     5918  lt_save_MAGIC_CMD="$MAGIC_CMD"
     5919  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     5920  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
     5921  for ac_dir in $ac_dummy; do
     5922    IFS="$lt_save_ifs"
     5923    test -z "$ac_dir" && ac_dir=.
     5924    if test -f $ac_dir/${ac_tool_prefix}file; then
     5925      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
     5926      if test -n "$file_magic_test_file"; then
     5927        case $deplibs_check_method in
     5928        "file_magic "*)
     5929          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
     5930          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
     5931          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
     5932            $EGREP "$file_magic_regex" > /dev/null; then
     5933            :
     5934          else
     5935            cat <<EOF 1>&2
     5936
     5937*** Warning: the command libtool uses to detect shared libraries,
     5938*** $file_magic_cmd, produces output that libtool cannot recognize.
     5939*** The result is that libtool may fail to recognize shared libraries
     5940*** as such.  This will affect the creation of libtool libraries that
     5941*** depend on shared libraries, but programs linked with such libtool
     5942*** libraries will work regardless of this problem.  Nevertheless, you
     5943*** may want to report the problem to your system manager and/or to
     5944*** bug-libtool@gnu.org
     5945
     5946EOF
     5947          fi ;;
     5948        esac
     5949      fi
     5950      break
     5951    fi
     5952  done
     5953  IFS="$lt_save_ifs"
     5954  MAGIC_CMD="$lt_save_MAGIC_CMD"
     5955  ;;
     5956esac
     5957fi
     5958
     5959MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
     5960if test -n "$MAGIC_CMD"; then
     5961  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
     5962echo "${ECHO_T}$MAGIC_CMD" >&6
     5963else
     5964  echo "$as_me:$LINENO: result: no" >&5
     5965echo "${ECHO_T}no" >&6
     5966fi
     5967
     5968if test -z "$lt_cv_path_MAGIC_CMD"; then
     5969  if test -n "$ac_tool_prefix"; then
     5970    echo "$as_me:$LINENO: checking for file" >&5
     5971echo $ECHO_N "checking for file... $ECHO_C" >&6
     5972if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
     5973  echo $ECHO_N "(cached) $ECHO_C" >&6
     5974else
     5975  case $MAGIC_CMD in
     5976[\\/*] |  ?:[\\/]*)
     5977  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     5978  ;;
     5979*)
     5980  lt_save_MAGIC_CMD="$MAGIC_CMD"
     5981  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     5982  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
     5983  for ac_dir in $ac_dummy; do
     5984    IFS="$lt_save_ifs"
     5985    test -z "$ac_dir" && ac_dir=.
     5986    if test -f $ac_dir/file; then
     5987      lt_cv_path_MAGIC_CMD="$ac_dir/file"
     5988      if test -n "$file_magic_test_file"; then
     5989        case $deplibs_check_method in
     5990        "file_magic "*)
     5991          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
     5992          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
     5993          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
     5994            $EGREP "$file_magic_regex" > /dev/null; then
     5995            :
     5996          else
     5997            cat <<EOF 1>&2
     5998
     5999*** Warning: the command libtool uses to detect shared libraries,
     6000*** $file_magic_cmd, produces output that libtool cannot recognize.
     6001*** The result is that libtool may fail to recognize shared libraries
     6002*** as such.  This will affect the creation of libtool libraries that
     6003*** depend on shared libraries, but programs linked with such libtool
     6004*** libraries will work regardless of this problem.  Nevertheless, you
     6005*** may want to report the problem to your system manager and/or to
     6006*** bug-libtool@gnu.org
     6007
     6008EOF
     6009          fi ;;
     6010        esac
     6011      fi
     6012      break
     6013    fi
     6014  done
     6015  IFS="$lt_save_ifs"
     6016  MAGIC_CMD="$lt_save_MAGIC_CMD"
     6017  ;;
     6018esac
     6019fi
     6020
     6021MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
     6022if test -n "$MAGIC_CMD"; then
     6023  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
     6024echo "${ECHO_T}$MAGIC_CMD" >&6
     6025else
     6026  echo "$as_me:$LINENO: result: no" >&5
     6027echo "${ECHO_T}no" >&6
     6028fi
     6029
     6030  else
     6031    MAGIC_CMD=:
     6032  fi
     6033fi
     6034
     6035  fi
     6036  ;;
     6037esac
     6038
     6039enable_dlopen=no
     6040enable_win32_dll=no
     6041
     6042# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
     6043if test "${enable_libtool_lock+set}" = set; then
     6044  enableval="$enable_libtool_lock"
     6045
     6046fi;
     6047test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
    43736048
    43746049
     
    43826057test -z "$pic_mode" && pic_mode=default
    43836058
    4384 # We assume here that the value for lt_cv_prog_cc_pic will not be cached
    4385 # in isolation, and that seeing it set (from the cache) indicates that
    4386 # the associated values are set (in the cache) correctly too.
     6059# Use C for the default configuration in the libtool script
     6060tagname=
     6061lt_save_CC="$CC"
     6062ac_ext=c
     6063ac_cpp='$CPP $CPPFLAGS'
     6064ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     6065ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     6066ac_compiler_gnu=$ac_cv_c_compiler_gnu
     6067
     6068
     6069# Source file extension for C test sources.
     6070ac_ext=c
     6071
     6072# Object file extension for compiled C test sources.
     6073objext=o
     6074objext=$objext
     6075
     6076# Code to be used in simple compile tests
     6077lt_simple_compile_test_code="int some_variable = 0;\n"
     6078
     6079# Code to be used in simple link tests
     6080lt_simple_link_test_code='int main(){return(0);}\n'
     6081
     6082
     6083# If no C compiler was specified, use CC.
     6084LTCC=${LTCC-"$CC"}
     6085
     6086# Allow CC to be a program name with arguments.
     6087compiler=$CC
     6088
     6089
     6090#
     6091# Check for any special shared library compilation flags.
     6092#
     6093lt_prog_cc_shlib=
     6094if test "$GCC" = no; then
     6095  case $host_os in
     6096  sco3.2v5*)
     6097    lt_prog_cc_shlib='-belf'
     6098    ;;
     6099  esac
     6100fi
     6101if test -n "$lt_prog_cc_shlib"; then
     6102  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
     6103echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
     6104  if echo "$old_CC $old_CFLAGS " | grep "[      ]$lt_prog_cc_shlib[     ]" >/dev/null; then :
     6105  else
     6106    { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
     6107echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
     6108    lt_cv_prog_cc_can_build_shared=no
     6109  fi
     6110fi
     6111
     6112
     6113#
     6114# Check to make sure the static flag actually works.
     6115#
     6116echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
     6117echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
     6118if test "${lt_prog_compiler_static_works+set}" = set; then
     6119  echo $ECHO_N "(cached) $ECHO_C" >&6
     6120else
     6121  lt_prog_compiler_static_works=no
     6122   save_LDFLAGS="$LDFLAGS"
     6123   LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
     6124   printf "$lt_simple_link_test_code" > conftest.$ac_ext
     6125   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
     6126     # The compiler can only warn and ignore the option if not recognized
     6127     # So say no if there are warnings
     6128     if test -s conftest.err; then
     6129       # Append any errors to the config.log.
     6130       cat conftest.err 1>&5
     6131     else
     6132       lt_prog_compiler_static_works=yes
     6133     fi
     6134   fi
     6135   $rm conftest*
     6136   LDFLAGS="$save_LDFLAGS"
     6137
     6138fi
     6139echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
     6140echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
     6141
     6142if test x"$lt_prog_compiler_static_works" = xyes; then
     6143    :
     6144else
     6145    lt_prog_compiler_static=
     6146fi
     6147
     6148
     6149
     6150
     6151lt_prog_compiler_no_builtin_flag=
     6152
     6153if test "$GCC" = yes; then
     6154  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
     6155
     6156
     6157echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
     6158echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
     6159if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
     6160  echo $ECHO_N "(cached) $ECHO_C" >&6
     6161else
     6162  lt_cv_prog_compiler_rtti_exceptions=no
     6163  ac_outfile=conftest.$ac_objext
     6164   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
     6165   lt_compiler_flag="-fno-rtti -fno-exceptions"
     6166   # Insert the option either (1) after the last *FLAGS variable, or
     6167   # (2) before a word containing "conftest.", or (3) at the end.
     6168   # Note that $ac_compile itself does not contain backslashes and begins
     6169   # with a dollar sign (not a hyphen), so the echo should work correctly.
     6170   # The option is referenced via a variable to avoid confusing sed.
     6171   lt_compile=`echo "$ac_compile" | $SED \
     6172   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
     6173   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     6174   -e 's:$: $lt_compiler_flag:'`
     6175   (eval echo "\"\$as_me:6175: $lt_compile\"" >&5)
     6176   (eval "$lt_compile" 2>conftest.err)
     6177   ac_status=$?
     6178   cat conftest.err >&5
     6179   echo "$as_me:6179: \$? = $ac_status" >&5
     6180   if (exit $ac_status) && test -s "$ac_outfile"; then
     6181     # The compiler can only warn and ignore the option if not recognized
     6182     # So say no if there are warnings
     6183     if test ! -s conftest.err; then
     6184       lt_cv_prog_compiler_rtti_exceptions=yes
     6185     fi
     6186   fi
     6187   $rm conftest*
     6188
     6189fi
     6190echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
     6191echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
     6192
     6193if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
     6194    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
     6195else
     6196    :
     6197fi
     6198
     6199fi
     6200
     6201lt_prog_compiler_wl=
     6202lt_prog_compiler_pic=
     6203lt_prog_compiler_static=
     6204
    43876205echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
    43886206echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
    4389 if test "${lt_cv_prog_cc_pic+set}" = set; then
    4390   echo $ECHO_N "(cached) $ECHO_C" >&6
    4391 else
    4392    lt_cv_prog_cc_pic=
    4393   lt_cv_prog_cc_shlib=
    4394   lt_cv_prog_cc_wl=
    4395   lt_cv_prog_cc_static=
    4396   lt_cv_prog_cc_no_builtin=
    4397   lt_cv_prog_cc_can_build_shared=$can_build_shared
    43986207
    43996208  if test "$GCC" = yes; then
    4400     lt_cv_prog_cc_wl='-Wl,'
    4401     lt_cv_prog_cc_static='-static'
     6209    lt_prog_compiler_wl='-Wl,'
     6210    lt_prog_compiler_static='-static'
    44026211
    44036212    case $host_os in
    4404     aix*)
    4405       # Below there is a dirty hack to force normal static linking with -ldl
    4406       # The problem is because libdl dynamically linked with both libc and
    4407       # libC (AIX C++ library), which obviously doesn't included in libraries
    4408       # list by gcc. This cause undefined symbols with -static flags.
    4409       # This hack allows C programs to be linked with "-static -ldl", but
    4410       # not sure about C++ programs.
    4411       lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
    4412       ;;
     6213      aix*)
     6214      # All AIX code is PIC.
     6215      if test "$host_cpu" = ia64; then
     6216        # AIX 5 now supports IA64 processor
     6217        lt_prog_compiler_static='-Bstatic'
     6218      fi
     6219      ;;
     6220
    44136221    amigaos*)
    44146222      # FIXME: we need at least 68020 code to build shared libraries, but
    44156223      # adding the `-m68020' flag to GCC prevents building anything better,
    44166224      # like `-m68040'.
    4417       lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
    4418       ;;
    4419     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
     6225      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
     6226      ;;
     6227
     6228    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
    44206229      # PIC is the default for these OSes.
    44216230      ;;
     6231
     6232    mingw* | pw32* | os2*)
     6233      # This hack is so that the source file can tell whether it is being
     6234      # built for inclusion in a dll (and should export symbols for example).
     6235      lt_prog_compiler_pic='-DDLL_EXPORT'
     6236      ;;
     6237
    44226238    darwin* | rhapsody*)
    44236239      # PIC is the default on this platform
    44246240      # Common symbols not allowed in MH_DYLIB files
    4425       lt_cv_prog_cc_pic='-fno-common'
    4426       ;;
    4427     cygwin* | mingw* | pw32* | os2*)
     6241      lt_prog_compiler_pic='-fno-common'
     6242      ;;
     6243
     6244    msdosdjgpp*)
     6245      # Just because we use GCC doesn't mean we suddenly get shared libraries
     6246      # on systems that don't support them.
     6247      lt_prog_compiler_can_build_shared=no
     6248      enable_shared=no
     6249      ;;
     6250
     6251    sysv4*MP*)
     6252      if test -d /usr/nec; then
     6253        lt_prog_compiler_pic=-Kconform_pic
     6254      fi
     6255      ;;
     6256
     6257    hpux*)
     6258      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
     6259      # not for PA HP-UX.
     6260      case "$host_cpu" in
     6261      hppa*64*|ia64*)
     6262        # +Z the default
     6263        ;;
     6264      *)
     6265        lt_prog_compiler_pic='-fPIC'
     6266        ;;
     6267      esac
     6268      ;;
     6269
     6270    *)
     6271      lt_prog_compiler_pic='-fPIC'
     6272      ;;
     6273    esac
     6274  else
     6275    # PORTME Check for flag to pass linker flags through the system compiler.
     6276    case $host_os in
     6277    aix*)
     6278      lt_prog_compiler_wl='-Wl,'
     6279      if test "$host_cpu" = ia64; then
     6280        # AIX 5 now supports IA64 processor
     6281        lt_prog_compiler_static='-Bstatic'
     6282      else
     6283        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
     6284      fi
     6285      ;;
     6286
     6287    mingw* | pw32* | os2*)
    44286288      # This hack is so that the source file can tell whether it is being
    44296289      # built for inclusion in a dll (and should export symbols for example).
    4430       lt_cv_prog_cc_pic='-DDLL_EXPORT'
    4431       ;;
    4432     sysv4*MP*)
    4433       if test -d /usr/nec; then
    4434          lt_cv_prog_cc_pic=-Kconform_pic
    4435       fi
    4436       ;;
    4437     *)
    4438       lt_cv_prog_cc_pic='-fPIC'
    4439       ;;
    4440     esac
    4441   else
    4442     # PORTME Check for PIC flags for the system compiler.
    4443     case $host_os in
    4444     aix3* | aix4* | aix5*)
    4445       lt_cv_prog_cc_wl='-Wl,'
    4446       # All AIX code is PIC.
    4447       if test "$host_cpu" = ia64; then
    4448         # AIX 5 now supports IA64 processor
    4449         lt_cv_prog_cc_static='-Bstatic'
    4450       else
    4451         lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
    4452       fi
     6290      lt_prog_compiler_pic='-DDLL_EXPORT'
    44536291      ;;
    44546292
    44556293    hpux9* | hpux10* | hpux11*)
    4456       # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
    4457       lt_cv_prog_cc_wl='-Wl,'
    4458       lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
    4459       lt_cv_prog_cc_pic='+Z'
     6294      lt_prog_compiler_wl='-Wl,'
     6295      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
     6296      # not for PA HP-UX.
     6297      case "$host_cpu" in
     6298      hppa*64*|ia64*)
     6299        # +Z the default
     6300        ;;
     6301      *)
     6302        lt_prog_compiler_pic='+Z'
     6303        ;;
     6304      esac
     6305      # Is there a better lt_prog_compiler_static that works with the bundled CC?
     6306      lt_prog_compiler_static='${wl}-a ${wl}archive'
    44606307      ;;
    44616308
    44626309    irix5* | irix6* | nonstopux*)
    4463       lt_cv_prog_cc_wl='-Wl,'
    4464       lt_cv_prog_cc_static='-non_shared'
     6310      lt_prog_compiler_wl='-Wl,'
    44656311      # PIC (with -KPIC) is the default.
    4466       ;;
    4467 
    4468     cygwin* | mingw* | pw32* | os2*)
    4469       # This hack is so that the source file can tell whether it is being
    4470       # built for inclusion in a dll (and should export symbols for example).
    4471       lt_cv_prog_cc_pic='-DDLL_EXPORT'
     6312      lt_prog_compiler_static='-non_shared'
    44726313      ;;
    44736314
    44746315    newsos6)
    4475       lt_cv_prog_cc_pic='-KPIC'
    4476       lt_cv_prog_cc_static='-Bstatic'
     6316      lt_prog_compiler_pic='-KPIC'
     6317      lt_prog_compiler_static='-Bstatic'
     6318      ;;
     6319
     6320    linux*)
     6321      case $CC in
     6322      icc* | ecc*)
     6323        lt_prog_compiler_wl='-Wl,'
     6324        lt_prog_compiler_pic='-KPIC'
     6325        lt_prog_compiler_static='-static'
     6326        ;;
     6327      ccc*)
     6328        lt_prog_compiler_wl='-Wl,'
     6329        # All Alpha code is PIC.
     6330        lt_prog_compiler_static='-non_shared'
     6331        ;;
     6332      esac
    44776333      ;;
    44786334
    44796335    osf3* | osf4* | osf5*)
     6336      lt_prog_compiler_wl='-Wl,'
    44806337      # All OSF/1 code is PIC.
    4481       lt_cv_prog_cc_wl='-Wl,'
    4482       lt_cv_prog_cc_static='-non_shared'
     6338      lt_prog_compiler_static='-non_shared'
    44836339      ;;
    44846340
    44856341    sco3.2v5*)
    4486       lt_cv_prog_cc_pic='-Kpic'
    4487       lt_cv_prog_cc_static='-dn'
    4488       lt_cv_prog_cc_shlib='-belf'
     6342      lt_prog_compiler_pic='-Kpic'
     6343      lt_prog_compiler_static='-dn'
    44896344      ;;
    44906345
    44916346    solaris*)
    4492       lt_cv_prog_cc_pic='-KPIC'
    4493       lt_cv_prog_cc_static='-Bstatic'
    4494       lt_cv_prog_cc_wl='-Wl,'
     6347      lt_prog_compiler_wl='-Wl,'
     6348      lt_prog_compiler_pic='-KPIC'
     6349      lt_prog_compiler_static='-Bstatic'
    44956350      ;;
    44966351
    44976352    sunos4*)
    4498       lt_cv_prog_cc_pic='-PIC'
    4499       lt_cv_prog_cc_static='-Bstatic'
    4500       lt_cv_prog_cc_wl='-Qoption ld '
     6353      lt_prog_compiler_wl='-Qoption ld '
     6354      lt_prog_compiler_pic='-PIC'
     6355      lt_prog_compiler_static='-Bstatic'
    45016356      ;;
    45026357
    45036358    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
    4504       lt_cv_prog_cc_pic='-KPIC'
    4505       lt_cv_prog_cc_static='-Bstatic'
    4506       if test "x$host_vendor" = xsni; then
    4507         lt_cv_prog_cc_wl='-LD'
    4508       else
    4509         lt_cv_prog_cc_wl='-Wl,'
    4510       fi
    4511       ;;
    4512 
    4513     uts4*)
    4514       lt_cv_prog_cc_pic='-pic'
    4515       lt_cv_prog_cc_static='-Bstatic'
     6359      lt_prog_compiler_wl='-Wl,'
     6360      lt_prog_compiler_pic='-KPIC'
     6361      lt_prog_compiler_static='-Bstatic'
    45166362      ;;
    45176363
    45186364    sysv4*MP*)
    45196365      if test -d /usr/nec ;then
    4520         lt_cv_prog_cc_pic='-Kconform_pic'
    4521         lt_cv_prog_cc_static='-Bstatic'
     6366        lt_prog_compiler_pic='-Kconform_pic'
     6367        lt_prog_compiler_static='-Bstatic'
    45226368      fi
    45236369      ;;
    45246370
     6371    uts4*)
     6372      lt_prog_compiler_pic='-pic'
     6373      lt_prog_compiler_static='-Bstatic'
     6374      ;;
     6375
    45256376    *)
    4526       lt_cv_prog_cc_can_build_shared=no
     6377      lt_prog_compiler_can_build_shared=no
    45276378      ;;
    45286379    esac
    45296380  fi
    45306381
    4531 fi
    4532 
    4533 if test -z "$lt_cv_prog_cc_pic"; then
    4534   echo "$as_me:$LINENO: result: none" >&5
    4535 echo "${ECHO_T}none" >&6
    4536 else
    4537   echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
    4538 echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
    4539 
    4540   # Check to make sure the pic_flag actually works.
    4541   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
    4542 echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
    4543   if test "${lt_cv_prog_cc_pic_works+set}" = set; then
     6382echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
     6383echo "${ECHO_T}$lt_prog_compiler_pic" >&6
     6384
     6385#
     6386# Check to make sure the PIC flag actually works.
     6387#
     6388if test -n "$lt_prog_compiler_pic"; then
     6389
     6390echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
     6391echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
     6392if test "${lt_prog_compiler_pic_works+set}" = set; then
    45446393  echo $ECHO_N "(cached) $ECHO_C" >&6
    45456394else
    4546       save_CFLAGS="$CFLAGS"
    4547     CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
    4548     cat >conftest.$ac_ext <<_ACEOF
    4549 #line $LINENO "configure"
    4550 #include "confdefs.h"
    4551 
    4552 #ifdef F77_DUMMY_MAIN
    4553 #  ifdef __cplusplus
    4554      extern "C"
    4555 #  endif
    4556    int F77_DUMMY_MAIN() { return 1; }
    4557 #endif
    4558 int
    4559 main ()
    4560 {
    4561 
    4562   ;
    4563   return 0;
    4564 }
    4565 _ACEOF
    4566 rm -f conftest.$ac_objext
    4567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4568   (eval $ac_compile) 2>&5
    4569   ac_status=$?
    4570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4571   (exit $ac_status); } &&
    4572          { ac_try='test -s conftest.$ac_objext'
    4573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4574   (eval $ac_try) 2>&5
    4575   ac_status=$?
    4576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4577   (exit $ac_status); }; }; then
    4578         case $host_os in
    4579       hpux9* | hpux10* | hpux11*)
    4580         # On HP-UX, both CC and GCC only warn that PIC is supported... then
    4581         # they create non-PIC objects.  So, if there were any warnings, we
    4582         # assume that PIC is not supported.
    4583         if test -s conftest.err; then
    4584           lt_cv_prog_cc_pic_works=no
    4585         else
    4586           lt_cv_prog_cc_pic_works=yes
    4587         fi
    4588         ;;
    4589       *)
    4590         lt_cv_prog_cc_pic_works=yes
    4591         ;;
    4592       esac
    4593 
    4594 else
    4595   echo "$as_me: failed program was:" >&5
    4596 cat conftest.$ac_ext >&5
    4597       lt_cv_prog_cc_pic_works=no
    4598 
    4599 fi
    4600 rm -f conftest.$ac_objext conftest.$ac_ext
    4601     CFLAGS="$save_CFLAGS"
    4602 
    4603 fi
    4604 
    4605 
    4606   if test "X$lt_cv_prog_cc_pic_works" = Xno; then
    4607     lt_cv_prog_cc_pic=
    4608     lt_cv_prog_cc_can_build_shared=no
    4609   else
    4610     lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
    4611   fi
    4612 
    4613   echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
    4614 echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
    4615 fi
    4616 
    4617 # Check for any special shared library compilation flags.
    4618 if test -n "$lt_cv_prog_cc_shlib"; then
    4619   { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
    4620 echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
    4621   if echo "$old_CC $old_CFLAGS " | egrep -e "[  ]$lt_cv_prog_cc_shlib[  ]" >/dev/null; then :
    4622   else
    4623    { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
    4624 echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
    4625     lt_cv_prog_cc_can_build_shared=no
    4626   fi
    4627 fi
    4628 
    4629 echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
    4630 echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
    4631 if test "${lt_cv_prog_cc_static_works+set}" = set; then
    4632   echo $ECHO_N "(cached) $ECHO_C" >&6
    4633 else
    4634     lt_cv_prog_cc_static_works=no
    4635   save_LDFLAGS="$LDFLAGS"
    4636   LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
    4637   cat >conftest.$ac_ext <<_ACEOF
    4638 #line $LINENO "configure"
    4639 #include "confdefs.h"
    4640 
    4641 #ifdef F77_DUMMY_MAIN
    4642 #  ifdef __cplusplus
    4643      extern "C"
    4644 #  endif
    4645    int F77_DUMMY_MAIN() { return 1; }
    4646 #endif
    4647 int
    4648 main ()
    4649 {
    4650 
    4651   ;
    4652   return 0;
    4653 }
    4654 _ACEOF
    4655 rm -f conftest.$ac_objext conftest$ac_exeext
    4656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4657   (eval $ac_link) 2>&5
    4658   ac_status=$?
    4659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4660   (exit $ac_status); } &&
    4661          { ac_try='test -s conftest$ac_exeext'
    4662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4663   (eval $ac_try) 2>&5
    4664   ac_status=$?
    4665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4666   (exit $ac_status); }; }; then
    4667   lt_cv_prog_cc_static_works=yes
    4668 else
    4669   echo "$as_me: failed program was:" >&5
    4670 cat conftest.$ac_ext >&5
    4671 fi
    4672 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4673   LDFLAGS="$save_LDFLAGS"
    4674 
    4675 fi
    4676 
    4677 
    4678 # Belt *and* braces to stop my trousers falling down:
    4679 test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
    4680 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
    4681 echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
    4682 
    4683 pic_flag="$lt_cv_prog_cc_pic"
    4684 special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
    4685 wl="$lt_cv_prog_cc_wl"
    4686 link_static_flag="$lt_cv_prog_cc_static"
    4687 no_builtin_flag="$lt_cv_prog_cc_no_builtin"
    4688 can_build_shared="$lt_cv_prog_cc_can_build_shared"
    4689 
    4690 
    4691 # Check to see if options -o and -c are simultaneously supported by compiler
     6395  lt_prog_compiler_pic_works=no
     6396  ac_outfile=conftest.$ac_objext
     6397   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
     6398   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
     6399   # Insert the option either (1) after the last *FLAGS variable, or
     6400   # (2) before a word containing "conftest.", or (3) at the end.
     6401   # Note that $ac_compile itself does not contain backslashes and begins
     6402   # with a dollar sign (not a hyphen), so the echo should work correctly.
     6403   # The option is referenced via a variable to avoid confusing sed.
     6404   lt_compile=`echo "$ac_compile" | $SED \
     6405   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
     6406   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     6407   -e 's:$: $lt_compiler_flag:'`
     6408   (eval echo "\"\$as_me:6408: $lt_compile\"" >&5)
     6409   (eval "$lt_compile" 2>conftest.err)
     6410   ac_status=$?
     6411   cat conftest.err >&5
     6412   echo "$as_me:6412: \$? = $ac_status" >&5
     6413   if (exit $ac_status) && test -s "$ac_outfile"; then
     6414     # The compiler can only warn and ignore the option if not recognized
     6415     # So say no if there are warnings
     6416     if test ! -s conftest.err; then
     6417       lt_prog_compiler_pic_works=yes
     6418     fi
     6419   fi
     6420   $rm conftest*
     6421
     6422fi
     6423echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
     6424echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
     6425
     6426if test x"$lt_prog_compiler_pic_works" = xyes; then
     6427    case $lt_prog_compiler_pic in
     6428     "" | " "*) ;;
     6429     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
     6430     esac
     6431else
     6432    lt_prog_compiler_pic=
     6433     lt_prog_compiler_can_build_shared=no
     6434fi
     6435
     6436fi
     6437case "$host_os" in
     6438  # For platforms which do not support PIC, -DPIC is meaningless:
     6439  *djgpp*)
     6440    lt_prog_compiler_pic=
     6441    ;;
     6442  *)
     6443    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
     6444    ;;
     6445esac
     6446
    46926447echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
    46936448echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
    4694 if test "${lt_cv_compiler_c_o+set}" = set; then
     6449if test "${lt_cv_prog_compiler_c_o+set}" = set; then
    46956450  echo $ECHO_N "(cached) $ECHO_C" >&6
    46966451else
    4697 
    4698 $rm -r conftest 2>/dev/null
    4699 mkdir conftest
    4700 cd conftest
    4701 echo "int some_variable = 0;" > conftest.$ac_ext
    4702 mkdir out
    4703 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
    4704 # that will create temporary files in the current directory regardless of
    4705 # the output directory.  Thus, making CWD read-only will cause this test
    4706 # to fail, enabling locking or at least warning the user not to do parallel
    4707 # builds.
    4708 chmod -w .
    4709 save_CFLAGS="$CFLAGS"
    4710 CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
    4711 compiler_c_o=no
    4712 if { (eval echo configure:4712: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
    4713   # The compiler can only warn and ignore the option if not recognized
    4714   # So say no if there are warnings
    4715   if test -s out/conftest.err; then
    4716     lt_cv_compiler_c_o=no
    4717   else
    4718     lt_cv_compiler_c_o=yes
    4719   fi
    4720 else
    4721   # Append any errors to the config.log.
    4722   cat out/conftest.err 1>&5
    4723   lt_cv_compiler_c_o=no
    4724 fi
    4725 CFLAGS="$save_CFLAGS"
    4726 chmod u+w .
    4727 $rm conftest* out/*
    4728 rmdir out
    4729 cd ..
    4730 rmdir conftest
    4731 $rm -r conftest 2>/dev/null
    4732 
    4733 fi
    4734 
    4735 compiler_c_o=$lt_cv_compiler_c_o
    4736 echo "$as_me:$LINENO: result: $compiler_c_o" >&5
    4737 echo "${ECHO_T}$compiler_c_o" >&6
    4738 
    4739 if test x"$compiler_c_o" = x"yes"; then
    4740   # Check to see if we can write to a .lo
    4741   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5
    4742 echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
    4743   if test "${lt_cv_compiler_o_lo+set}" = set; then
    4744   echo $ECHO_N "(cached) $ECHO_C" >&6
    4745 else
    4746 
    4747   lt_cv_compiler_o_lo=no
    4748   save_CFLAGS="$CFLAGS"
    4749   CFLAGS="$CFLAGS -c -o conftest.lo"
    4750   save_objext="$ac_objext"
    4751   ac_objext=lo
    4752   cat >conftest.$ac_ext <<_ACEOF
    4753 #line $LINENO "configure"
    4754 #include "confdefs.h"
    4755 
    4756 #ifdef F77_DUMMY_MAIN
    4757 #  ifdef __cplusplus
    4758      extern "C"
    4759 #  endif
    4760    int F77_DUMMY_MAIN() { return 1; }
    4761 #endif
    4762 int
    4763 main ()
    4764 {
    4765 int some_variable = 0;
    4766   ;
    4767   return 0;
    4768 }
    4769 _ACEOF
    4770 rm -f conftest.$ac_objext
    4771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4772   (eval $ac_compile) 2>&5
    4773   ac_status=$?
    4774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4775   (exit $ac_status); } &&
    4776          { ac_try='test -s conftest.$ac_objext'
    4777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4778   (eval $ac_try) 2>&5
    4779   ac_status=$?
    4780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4781   (exit $ac_status); }; }; then
    4782       # The compiler can only warn and ignore the option if not recognized
    4783     # So say no if there are warnings
    4784     if test -s conftest.err; then
    4785       lt_cv_compiler_o_lo=no
    4786     else
    4787       lt_cv_compiler_o_lo=yes
    4788     fi
    4789 
    4790 else
    4791   echo "$as_me: failed program was:" >&5
    4792 cat conftest.$ac_ext >&5
    4793 fi
    4794 rm -f conftest.$ac_objext conftest.$ac_ext
    4795   ac_objext="$save_objext"
    4796   CFLAGS="$save_CFLAGS"
    4797 
    4798 fi
    4799 
    4800   compiler_o_lo=$lt_cv_compiler_o_lo
    4801   echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
    4802 echo "${ECHO_T}$compiler_o_lo" >&6
    4803 else
    4804   compiler_o_lo=no
    4805 fi
    4806 
    4807 # Check to see if we can do hard links to lock some files if needed
     6452  lt_cv_prog_compiler_c_o=no
     6453   $rm -r conftest 2>/dev/null
     6454   mkdir conftest
     6455   cd conftest
     6456   mkdir out
     6457   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
     6458
     6459   lt_compiler_flag="-o out/conftest2.$ac_objext"
     6460   # Insert the option either (1) after the last *FLAGS variable, or
     6461   # (2) before a word containing "conftest.", or (3) at the end.
     6462   # Note that $ac_compile itself does not contain backslashes and begins
     6463   # with a dollar sign (not a hyphen), so the echo should work correctly.
     6464   lt_compile=`echo "$ac_compile" | $SED \
     6465   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
     6466   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     6467   -e 's:$: $lt_compiler_flag:'`
     6468   (eval echo "\"\$as_me:6468: $lt_compile\"" >&5)
     6469   (eval "$lt_compile" 2>out/conftest.err)
     6470   ac_status=$?
     6471   cat out/conftest.err >&5
     6472   echo "$as_me:6472: \$? = $ac_status" >&5
     6473   if (exit $ac_status) && test -s out/conftest2.$ac_objext
     6474   then
     6475     # The compiler can only warn and ignore the option if not recognized
     6476     # So say no if there are warnings
     6477     if test ! -s out/conftest.err; then
     6478       lt_cv_prog_compiler_c_o=yes
     6479     fi
     6480   fi
     6481   chmod u+w .
     6482   $rm conftest*
     6483   # SGI C++ compiler will create directory out/ii_files/ for
     6484   # template instantiation
     6485   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
     6486   $rm out/* && rmdir out
     6487   cd ..
     6488   rmdir conftest
     6489   $rm conftest*
     6490
     6491fi
     6492echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
     6493echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
     6494
     6495
    48086496hard_links="nottested"
    4809 if test "$compiler_c_o" = no && test "$need_locks" != no; then
     6497if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
    48106498  # do not overwrite the value of need_locks provided by the user
    48116499  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
     
    48286516fi
    48296517
    4830 if test "$GCC" = yes; then
    4831   # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
    4832   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
    4833 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
    4834   echo "int some_variable = 0;" > conftest.$ac_ext
    4835   save_CFLAGS="$CFLAGS"
    4836   CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
    4837   compiler_rtti_exceptions=no
    4838   cat >conftest.$ac_ext <<_ACEOF
    4839 #line $LINENO "configure"
    4840 #include "confdefs.h"
    4841 
    4842 #ifdef F77_DUMMY_MAIN
    4843 #  ifdef __cplusplus
    4844      extern "C"
    4845 #  endif
    4846    int F77_DUMMY_MAIN() { return 1; }
    4847 #endif
    4848 int
    4849 main ()
    4850 {
    4851 int some_variable = 0;
    4852   ;
    4853   return 0;
    4854 }
    4855 _ACEOF
    4856 rm -f conftest.$ac_objext
    4857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4858   (eval $ac_compile) 2>&5
    4859   ac_status=$?
    4860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4861   (exit $ac_status); } &&
    4862          { ac_try='test -s conftest.$ac_objext'
    4863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4864   (eval $ac_try) 2>&5
    4865   ac_status=$?
    4866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4867   (exit $ac_status); }; }; then
    4868       # The compiler can only warn and ignore the option if not recognized
    4869     # So say no if there are warnings
    4870     if test -s conftest.err; then
    4871       compiler_rtti_exceptions=no
    4872     else
    4873       compiler_rtti_exceptions=yes
     6518echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
     6519echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
     6520
     6521  runpath_var=
     6522  allow_undefined_flag=
     6523  enable_shared_with_static_runtimes=no
     6524  archive_cmds=
     6525  archive_expsym_cmds=
     6526  old_archive_From_new_cmds=
     6527  old_archive_from_expsyms_cmds=
     6528  export_dynamic_flag_spec=
     6529  whole_archive_flag_spec=
     6530  thread_safe_flag_spec=
     6531  hardcode_libdir_flag_spec=
     6532  hardcode_libdir_flag_spec_ld=
     6533  hardcode_libdir_separator=
     6534  hardcode_direct=no
     6535  hardcode_minus_L=no
     6536  hardcode_shlibpath_var=unsupported
     6537  link_all_deplibs=unknown
     6538  hardcode_automatic=no
     6539  module_cmds=
     6540  module_expsym_cmds=
     6541  always_export_symbols=no
     6542  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
     6543  # include_expsyms should be a list of space-separated symbols to be *always*
     6544  # included in the symbol list
     6545  include_expsyms=
     6546  # exclude_expsyms can be an extended regexp of symbols to exclude
     6547  # it will be wrapped by ` (' and `)$', so one must not match beginning or
     6548  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
     6549  # as well as any symbol that contains `d'.
     6550  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
     6551  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
     6552  # platforms (ab)use it in PIC code, but their linkers get confused if
     6553  # the symbol is explicitly referenced.  Since portable code cannot
     6554  # rely on this symbol name, it's probably fine to never include it in
     6555  # preloaded symbol tables.
     6556  extract_expsyms_cmds=
     6557
     6558  case $host_os in
     6559  cygwin* | mingw* | pw32*)
     6560    # FIXME: the MSVC++ port hasn't been tested in a loooong time
     6561    # When not using gcc, we currently assume that we are using
     6562    # Microsoft Visual C++.
     6563    if test "$GCC" != yes; then
     6564      with_gnu_ld=no
    48746565    fi
    4875 
    4876 else
    4877   echo "$as_me: failed program was:" >&5
    4878 cat conftest.$ac_ext >&5
    4879 fi
    4880 rm -f conftest.$ac_objext conftest.$ac_ext
    4881   CFLAGS="$save_CFLAGS"
    4882   echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
    4883 echo "${ECHO_T}$compiler_rtti_exceptions" >&6
    4884 
    4885   if test "$compiler_rtti_exceptions" = "yes"; then
    4886     no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
    4887   else
    4888     no_builtin_flag=' -fno-builtin'
    4889   fi
    4890 fi
    4891 
    4892 # See if the linker supports building shared libraries.
    4893 echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5
    4894 echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
    4895 
    4896 allow_undefined_flag=
    4897 no_undefined_flag=
    4898 need_lib_prefix=unknown
    4899 need_version=unknown
    4900 # when you set need_version to no, make sure it does not cause -set_version
    4901 # flags to be left without arguments
    4902 archive_cmds=
    4903 archive_expsym_cmds=
    4904 old_archive_from_new_cmds=
    4905 old_archive_from_expsyms_cmds=
    4906 export_dynamic_flag_spec=
    4907 whole_archive_flag_spec=
    4908 thread_safe_flag_spec=
    4909 hardcode_into_libs=no
    4910 hardcode_libdir_flag_spec=
    4911 hardcode_libdir_separator=
    4912 hardcode_direct=no
    4913 hardcode_minus_L=no
    4914 hardcode_shlibpath_var=unsupported
    4915 runpath_var=
    4916 link_all_deplibs=unknown
    4917 always_export_symbols=no
    4918 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
    4919 # include_expsyms should be a list of space-separated symbols to be *always*
    4920 # included in the symbol list
    4921 include_expsyms=
    4922 # exclude_expsyms can be an egrep regular expression of symbols to exclude
    4923 # it will be wrapped by ` (' and `)$', so one must not match beginning or
    4924 # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
    4925 # as well as any symbol that contains `d'.
    4926 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
    4927 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
    4928 # platforms (ab)use it in PIC code, but their linkers get confused if
    4929 # the symbol is explicitly referenced.  Since portable code cannot
    4930 # rely on this symbol name, it's probably fine to never include it in
    4931 # preloaded symbol tables.
    4932 extract_expsyms_cmds=
    4933 
    4934 case $host_os in
    4935 cygwin* | mingw* | pw32*)
    4936   # FIXME: the MSVC++ port hasn't been tested in a loooong time
    4937   # When not using gcc, we currently assume that we are using
    4938   # Microsoft Visual C++.
    4939   if test "$GCC" != yes; then
     6566    ;;
     6567  openbsd*)
    49406568    with_gnu_ld=no
    4941   fi
    4942   ;;
    4943 openbsd*)
    4944   with_gnu_ld=no
    4945   ;;
    4946 esac
    4947 
    4948 ld_shlibs=yes
    4949 if test "$with_gnu_ld" = yes; then
    4950   # If archive_cmds runs LD, not CC, wlarc should be empty
    4951   wlarc='${wl}'
    4952 
    4953   # See if GNU ld supports shared libraries.
    4954   case $host_os in
    4955   aix3* | aix4* | aix5*)
    4956     # On AIX, the GNU linker is very broken
    4957     # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
    4958     ld_shlibs=no
    4959     cat <<EOF 1>&2
     6569    ;;
     6570  esac
     6571
     6572  ld_shlibs=yes
     6573  if test "$with_gnu_ld" = yes; then
     6574    # If archive_cmds runs LD, not CC, wlarc should be empty
     6575    wlarc='${wl}'
     6576
     6577    # See if GNU ld supports shared libraries.
     6578    case $host_os in
     6579    aix3* | aix4* | aix5*)
     6580      # On AIX/PPC, the GNU linker is very broken
     6581      if test "$host_cpu" != ia64; then
     6582        ld_shlibs=no
     6583        cat <<EOF 1>&2
    49606584
    49616585*** Warning: the GNU linker, at least up to release 2.9.1, is reported
     
    49666590
    49676591EOF
    4968     ;;
    4969 
    4970   amigaos*)
    4971     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)'
    4972     hardcode_libdir_flag_spec='-L$libdir'
    4973     hardcode_minus_L=yes
    4974 
    4975     # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
    4976     # that the semantics of dynamic libraries on AmigaOS, at least up
    4977     # to version 4, is to share data among multiple programs linked
    4978     # with the same dynamic library.  Since this doesn't match the
    4979     # behavior of shared libraries on other platforms, we can use
    4980     # them.
    4981     ld_shlibs=no
    4982     ;;
    4983 
    4984   beos*)
    4985     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
     6592      fi
     6593      ;;
     6594
     6595    amigaos*)
     6596      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)'
     6597      hardcode_libdir_flag_spec='-L$libdir'
     6598      hardcode_minus_L=yes
     6599
     6600      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
     6601      # that the semantics of dynamic libraries on AmigaOS, at least up
     6602      # to version 4, is to share data among multiple programs linked
     6603      # with the same dynamic library.  Since this doesn't match the
     6604      # behavior of shared libraries on other platforms, we can't use
     6605      # them.
     6606      ld_shlibs=no
     6607      ;;
     6608
     6609    beos*)
     6610      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
     6611        allow_undefined_flag=unsupported
     6612        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
     6613        # support --undefined.  This deserves some investigation.  FIXME
     6614        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     6615      else
     6616        ld_shlibs=no
     6617      fi
     6618      ;;
     6619
     6620    cygwin* | mingw* | pw32*)
     6621      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
     6622      # as there is no search path for DLLs.
     6623      hardcode_libdir_flag_spec='-L$libdir'
    49866624      allow_undefined_flag=unsupported
    4987       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
    4988       # support --undefined.  This deserves some investigation.  FIXME
    4989       archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    4990     else
    4991       ld_shlibs=no
    4992     fi
    4993     ;;
    4994 
    4995   cygwin* | mingw* | pw32*)
    4996     # hardcode_libdir_flag_spec is actually meaningless, as there is
    4997     # no search path for DLLs.
    4998     hardcode_libdir_flag_spec='-L$libdir'
    4999     allow_undefined_flag=unsupported
    5000     always_export_symbols=yes
    5001 
    5002     extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
    5003       sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
    5004       test -f $output_objdir/impgen.exe || (cd $output_objdir && \
    5005       if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
    5006       else $CC -o impgen impgen.c ; fi)~
    5007       $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
    5008 
    5009     old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
    5010 
    5011     # cygwin and mingw dlls have different entry points and sets of symbols
    5012     # to exclude.
    5013     # FIXME: what about values for MSVC?
    5014     dll_entry=__cygwin_dll_entry@12
    5015     dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
    5016     case $host_os in
    5017     mingw*)
    5018       # mingw values
    5019       dll_entry=_DllMainCRTStartup@12
    5020       dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
    5021       ;;
    5022     esac
    5023 
    5024     # mingw and cygwin differ, and it's simplest to just exclude the union
    5025     # of the two symbol sets.
    5026     dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
    5027 
    5028     # recent cygwin and mingw systems supply a stub DllMain which the user
    5029     # can override, but on older systems we have to supply one (in ltdll.c)
    5030     if test "x$lt_cv_need_dllmain" = "xyes"; then
    5031       ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
    5032       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~
    5033         test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
    5034     else
    5035       ltdll_obj=
    5036       ltdll_cmds=
    5037     fi
    5038 
    5039     # Extract the symbol export list from an `--export-all' def file,
    5040     # then regenerate the def file from the symbol export list, so that
    5041     # the compiled dll only exports the symbol export list.
    5042     # Be careful not to strip the DATA tag left be newer dlltools.
    5043     export_symbols_cmds="$ltdll_cmds"'
    5044       $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
    5045       sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
    5046 
    5047     # If the export-symbols file already is a .def file (1st line
    5048     # is EXPORTS), use it as is.
    5049     # If DATA tags from a recent dlltool are present, honour them!
    5050     archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
    5051         cp $export_symbols $output_objdir/$soname-def;
     6625      always_export_symbols=no
     6626      enable_shared_with_static_runtimes=yes
     6627      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
     6628
     6629      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
     6630        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
     6631        # If the export-symbols file already is a .def file (1st line
     6632        # is EXPORTS), use it as is; otherwise, prepend...
     6633        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
     6634          cp $export_symbols $output_objdir/$soname.def;
     6635        else
     6636          echo EXPORTS > $output_objdir/$soname.def;
     6637          cat $export_symbols >> $output_objdir/$soname.def;
     6638        fi~
     6639        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
    50526640      else
    5053         echo EXPORTS > $output_objdir/$soname-def;
    5054         _lt_hint=1;
    5055         cat $export_symbols | while read symbol; do
    5056          set dummy \$symbol;
    5057          case \$# in
    5058            2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
    5059            *) echo "     \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
    5060          esac;
    5061          _lt_hint=`expr 1 + \$_lt_hint`;
    5062         done;
    5063       fi~
    5064       '"$ltdll_cmds"'
    5065       $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~
    5066       $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~
    5067       $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~
    5068       $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~
    5069       $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
    5070     ;;
    5071 
    5072   netbsd*)
    5073     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
    5074       archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
    5075       wlarc=
    5076     else
    5077       archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    5078       archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    5079     fi
    5080     ;;
    5081 
    5082   solaris* | sysv5*)
    5083     if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
    5084       ld_shlibs=no
    5085       cat <<EOF 1>&2
     6641        ld_shlibs=no
     6642      fi
     6643      ;;
     6644
     6645    netbsd*)
     6646      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
     6647        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
     6648        wlarc=
     6649      else
     6650        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     6651        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     6652      fi
     6653      ;;
     6654
     6655    solaris* | sysv5*)
     6656      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
     6657        ld_shlibs=no
     6658        cat <<EOF 1>&2
    50866659
    50876660*** Warning: The releases 2.8.* of the GNU linker cannot reliably
     
    50936666
    50946667EOF
    5095     elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
    5096       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    5097       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     6668      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
     6669        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     6670        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     6671      else
     6672        ld_shlibs=no
     6673      fi
     6674      ;;
     6675
     6676    sunos4*)
     6677      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
     6678      wlarc=
     6679      hardcode_direct=yes
     6680      hardcode_shlibpath_var=no
     6681      ;;
     6682
     6683  linux*)
     6684    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
     6685        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     6686        archive_cmds="$tmp_archive_cmds"
     6687      supports_anon_versioning=no
     6688      case `$LD -v 2>/dev/null` in
     6689        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
     6690        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
     6691        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
     6692        *\ 2.11.*) ;; # other 2.11 versions
     6693        *) supports_anon_versioning=yes ;;
     6694      esac
     6695      if test $supports_anon_versioning = yes; then
     6696        archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
     6697cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     6698$echo "local: *; };" >> $output_objdir/$libname.ver~
     6699        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
     6700      else
     6701        archive_expsym_cmds="$tmp_archive_cmds"