/ Check-in [f9391fa0]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Build amalgamation by default on autoconf-driven builds, add --disable-amalgamation option to configure script (CVS 4820)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:f9391fa06f22aea5c6af9e1c76d7f5404483189a
User & Date: mlcreech 2008-03-04 19:03:08
Context
2008-03-06
04:14
Make extension loading more easily configurable. Fixes #2977 (CVS 4821) check-in: 2a2e8b64 user: mlcreech tags: trunk
2008-03-04
19:03
Build amalgamation by default on autoconf-driven builds, add --disable-amalgamation option to configure script (CVS 4820) check-in: f9391fa0 user: mlcreech tags: trunk
17:45
Various renames & cleanups to limit exported symbols on amalgamation build (CVS 4819) check-in: 9c6694bb user: mlcreech tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Makefile.in.

   114    114   # nawk compatible awk.
   115    115   NAWK = @AWK@
   116    116   
   117    117   # You should not have to change anything below this line
   118    118   ###############################################################################
   119    119   TCC += -DSQLITE_OMIT_LOAD_EXTENSION=1
   120    120   
   121         -# Object files for the SQLite library.
          121  +# Object files for the SQLite library (non-amalgamation).
   122    122   #
   123         -LIBOBJ = alter.lo analyze.lo attach.lo auth.lo bitvec.lo btmutex.lo btree.lo \
   124         -         build.lo callback.lo complete.lo date.lo \
   125         -         delete.lo expr.lo fault.lo func.lo \
   126         -         hash.lo journal.lo insert.lo loadext.lo \
   127         -         main.lo malloc.lo mem1.lo mem2.lo mem3.lo mem4.lo mem5.lo mutex.lo \
   128         -         mutex_os2.lo mutex_unix.lo mutex_w32.lo \
   129         -         opcodes.lo os.lo os_unix.lo os_win.lo os_os2.lo \
   130         -         pager.lo parse.lo pragma.lo prepare.lo printf.lo random.lo \
   131         -         select.lo table.lo tokenize.lo trigger.lo update.lo \
   132         -         util.lo vacuum.lo \
   133         -         vdbe.lo vdbeapi.lo vdbeaux.lo vdbeblob.lo vdbefifo.lo vdbemem.lo \
   134         -         where.lo utf.lo legacy.lo vtab.lo
          123  +OBJS0 = alter.lo analyze.lo attach.lo auth.lo bitvec.lo btmutex.lo \
          124  +        btree.lo build.lo callback.lo complete.lo date.lo \
          125  +        delete.lo expr.lo fault.lo func.lo \
          126  +        hash.lo journal.lo insert.lo loadext.lo \
          127  +        main.lo malloc.lo mem1.lo mem2.lo mem3.lo mem4.lo mem5.lo mutex.lo \
          128  +        mutex_os2.lo mutex_unix.lo mutex_w32.lo \
          129  +        opcodes.lo os.lo os_unix.lo os_win.lo os_os2.lo \
          130  +        pager.lo parse.lo pragma.lo prepare.lo printf.lo random.lo \
          131  +        select.lo table.lo tokenize.lo trigger.lo update.lo \
          132  +        util.lo vacuum.lo \
          133  +        vdbe.lo vdbeapi.lo vdbeaux.lo vdbeblob.lo vdbefifo.lo vdbemem.lo \
          134  +        where.lo utf.lo legacy.lo vtab.lo
          135  +
          136  +# Object files for the amalgamation.
          137  +#
          138  +OBJS1 = sqlite3.lo
          139  +
          140  +# Determine the real value of LIBOBJ based on the 'configure' script
          141  +#
          142  +USE_AMALGAMATION = @USE_AMALGAMATION@
          143  +LIBOBJ = $(OBJS$(USE_AMALGAMATION))
          144  +
   135    145   
   136    146   # All of the source code files.
   137    147   #
   138    148   SRC = \
   139    149     $(TOP)/src/alter.c \
   140    150     $(TOP)/src/analyze.c \
   141    151     $(TOP)/src/attach.c \
................................................................................
   361    371   
   362    372   # This target creates a directory named "tsrc" and fills it with
   363    373   # copies of all of the C source code and header files needed to
   364    374   # build on the target system.  Some of the C source code and header
   365    375   # files are automatically generated.  This target takes care of
   366    376   # all that automatic generation.
   367    377   #
   368         -target_source:	$(SRC) parse.c opcodes.c keywordhash.h $(VDBEHDR) 
          378  +.target_source:	$(SRC) parse.c opcodes.c keywordhash.h $(VDBEHDR) 
   369    379   	rm -rf tsrc
   370    380   	mkdir -p tsrc
   371    381   	cp $(SRC) $(VDBEHDR) tsrc
   372    382   	rm tsrc/sqlite.h.in tsrc/parse.y
   373    383   	cp parse.c opcodes.c keywordhash.h tsrc
          384  +	touch .target_source
   374    385   
   375         -sqlite3.c:	target_source $(TOP)/tool/mksqlite3c.tcl
          386  +sqlite3.c:	.target_source $(TOP)/tool/mksqlite3c.tcl
   376    387   	tclsh $(TOP)/tool/mksqlite3c.tcl
   377    388   
   378    389   # Rules to build the LEMON compiler generator
   379    390   #
   380    391   lemon$(BEXE):	$(TOP)/tool/lemon.c $(TOP)/tool/lempar.c
   381    392   	$(BCC) -o lemon$(BEXE) $(TOP)/tool/lemon.c
   382    393   	cp $(TOP)/tool/lempar.c .
   383    394   
   384    395   
          396  +# Rule to build the amalgamation
          397  +#
          398  +sqlite3.lo:	sqlite3.c
          399  +	$(LTCOMPILE) -c $(TOP)/sqlite3.c
          400  +
   385    401   # Rules to build individual files
   386    402   #
   387    403   alter.lo:	$(TOP)/src/alter.c $(HDR)
   388    404   	$(LTCOMPILE) -c $(TOP)/src/alter.c
   389    405   
   390    406   analyze.lo:	$(TOP)/src/analyze.c $(HDR)
   391    407   	$(LTCOMPILE) -c $(TOP)/src/analyze.c
................................................................................
   641    657   	rm -f lemon$(BEXE) lempar.c parse.* sqlite*.tar.gz
   642    658   	rm -f mkkeywordhash$(BEXE) keywordhash.h
   643    659   	rm -f $(PUBLISH)
   644    660   	rm -f *.da *.bb *.bbg gmon.out
   645    661   	rm -f testfixture$(TEXE) test.db
   646    662   	rm -f common.tcl
   647    663   	rm -f sqlite3.dll sqlite3.lib sqlite3.def
          664  +	rm -f .target_source
   648    665   
   649    666   distclean:	clean
   650    667   	rm -f config.log config.status libtool Makefile config.h sqlite3.pc
   651    668   
   652    669   #
   653    670   # Windows section
   654    671   #

Changes to configure.

     1      1   #! /bin/sh
     2      2   # Guess values for system-dependent variables and create Makefiles.
     3         -# Generated by GNU Autoconf 2.59.
            3  +# Generated by GNU Autoconf 2.61.
     4      4   #
     5         -# Copyright (C) 2003 Free Software Foundation, Inc.
            5  +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
            6  +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
     6      7   # This configure script is free software; the Free Software Foundation
     7      8   # gives unlimited permission to copy, distribute and modify it.
     8      9   ## --------------------- ##
     9     10   ## M4sh Initialization.  ##
    10     11   ## --------------------- ##
    11     12   
    12         -# Be Bourne compatible
           13  +# Be more Bourne compatible
           14  +DUALCASE=1; export DUALCASE # for MKS sh
    13     15   if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    14     16     emulate sh
    15     17     NULLCMD=:
    16     18     # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    17     19     # is contrary to our usage.  Disable this feature.
    18     20     alias -g '${1+"$@"}'='"$@"'
    19         -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    20         -  set -o posix
    21         -fi
    22         -DUALCASE=1; export DUALCASE # for MKS sh
    23         -
    24         -# Support unset when possible.
    25         -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    26         -  as_unset=unset
    27         -else
    28         -  as_unset=false
    29         -fi
    30         -
    31         -
    32         -# Work around bugs in pre-3.0 UWIN ksh.
    33         -$as_unset ENV MAIL MAILPATH
    34         -PS1='$ '
    35         -PS2='> '
    36         -PS4='+ '
    37         -
    38         -# NLS nuisances.
    39         -for as_var in \
    40         -  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    41         -  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    42         -  LC_TELEPHONE LC_TIME
    43         -do
    44         -  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    45         -    eval $as_var=C; export $as_var
    46         -  else
    47         -    $as_unset $as_var
    48         -  fi
    49         -done
    50         -
    51         -# Required to use basename.
    52         -if expr a : '\(a\)' >/dev/null 2>&1; then
    53         -  as_expr=expr
    54         -else
    55         -  as_expr=false
    56         -fi
    57         -
    58         -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
    59         -  as_basename=basename
    60         -else
    61         -  as_basename=false
    62         -fi
    63         -
    64         -
    65         -# Name of the executable.
    66         -as_me=`$as_basename "$0" ||
    67         -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    68         -	 X"$0" : 'X\(//\)$' \| \
    69         -	 X"$0" : 'X\(/\)$' \| \
    70         -	 .     : '\(.\)' 2>/dev/null ||
    71         -echo X/"$0" |
    72         -    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    73         -  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
    74         -  	  /^X\/\(\/\).*/{ s//\1/; q; }
    75         -  	  s/.*/./; q'`
    76         -
    77         -
    78         -# PATH needs CR, and LINENO needs CR and PATH.
           21  +  setopt NO_GLOB_SUBST
           22  +else
           23  +  case `(set -o) 2>/dev/null` in
           24  +  *posix*) set -o posix ;;
           25  +esac
           26  +
           27  +fi
           28  +
           29  +
           30  +
           31  +
           32  +# PATH needs CR
    79     33   # Avoid depending upon Character Ranges.
    80     34   as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    81     35   as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    82     36   as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    83     37   as_cr_digits='0123456789'
    84     38   as_cr_alnum=$as_cr_Letters$as_cr_digits
    85     39   
................................................................................
    92     46       PATH_SEPARATOR=';'
    93     47     else
    94     48       PATH_SEPARATOR=:
    95     49     fi
    96     50     rm -f conf$$.sh
    97     51   fi
    98     52   
           53  +# Support unset when possible.
           54  +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
           55  +  as_unset=unset
           56  +else
           57  +  as_unset=false
           58  +fi
    99     59   
   100         -  as_lineno_1=$LINENO
   101         -  as_lineno_2=$LINENO
   102         -  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   103         -  test "x$as_lineno_1" != "x$as_lineno_2" &&
   104         -  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
   105         -  # Find who we are.  Look in the path if we contain no path at all
   106         -  # relative or not.
   107         -  case $0 in
   108         -    *[\\/]* ) as_myself=$0 ;;
   109         -    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
           60  +
           61  +# IFS
           62  +# We need space, tab and new line, in precisely that order.  Quoting is
           63  +# there to prevent editors from complaining about space-tab.
           64  +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
           65  +# splitting by setting IFS to empty value.)
           66  +as_nl='
           67  +'
           68  +IFS=" ""	$as_nl"
           69  +
           70  +# Find who we are.  Look in the path if we contain no directory separator.
           71  +case $0 in
           72  +  *[\\/]* ) as_myself=$0 ;;
           73  +  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   110     74   for as_dir in $PATH
   111     75   do
   112     76     IFS=$as_save_IFS
   113     77     test -z "$as_dir" && as_dir=.
   114     78     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   115     79   done
   116         -
   117         -       ;;
   118         -  esac
   119         -  # We did not find ourselves, most probably we were run as `sh COMMAND'
   120         -  # in which case we are not to be found in the path.
   121         -  if test "x$as_myself" = x; then
   122         -    as_myself=$0
   123         -  fi
   124         -  if test ! -f "$as_myself"; then
   125         -    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
   126         -   { (exit 1); exit 1; }; }
   127         -  fi
   128         -  case $CONFIG_SHELL in
   129         -  '')
           80  +IFS=$as_save_IFS
           81  +
           82  +     ;;
           83  +esac
           84  +# We did not find ourselves, most probably we were run as `sh COMMAND'
           85  +# in which case we are not to be found in the path.
           86  +if test "x$as_myself" = x; then
           87  +  as_myself=$0
           88  +fi
           89  +if test ! -f "$as_myself"; then
           90  +  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
           91  +  { (exit 1); exit 1; }
           92  +fi
           93  +
           94  +# Work around bugs in pre-3.0 UWIN ksh.
           95  +for as_var in ENV MAIL MAILPATH
           96  +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
           97  +done
           98  +PS1='$ '
           99  +PS2='> '
          100  +PS4='+ '
          101  +
          102  +# NLS nuisances.
          103  +for as_var in \
          104  +  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
          105  +  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
          106  +  LC_TELEPHONE LC_TIME
          107  +do
          108  +  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
          109  +    eval $as_var=C; export $as_var
          110  +  else
          111  +    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
          112  +  fi
          113  +done
          114  +
          115  +# Required to use basename.
          116  +if expr a : '\(a\)' >/dev/null 2>&1 &&
          117  +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
          118  +  as_expr=expr
          119  +else
          120  +  as_expr=false
          121  +fi
          122  +
          123  +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
          124  +  as_basename=basename
          125  +else
          126  +  as_basename=false
          127  +fi
          128  +
          129  +
          130  +# Name of the executable.
          131  +as_me=`$as_basename -- "$0" ||
          132  +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
          133  +	 X"$0" : 'X\(//\)$' \| \
          134  +	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
          135  +echo X/"$0" |
          136  +    sed '/^.*\/\([^/][^/]*\)\/*$/{
          137  +	    s//\1/
          138  +	    q
          139  +	  }
          140  +	  /^X\/\(\/\/\)$/{
          141  +	    s//\1/
          142  +	    q
          143  +	  }
          144  +	  /^X\/\(\/\).*/{
          145  +	    s//\1/
          146  +	    q
          147  +	  }
          148  +	  s/.*/./; q'`
          149  +
          150  +# CDPATH.
          151  +$as_unset CDPATH
          152  +
          153  +
          154  +if test "x$CONFIG_SHELL" = x; then
          155  +  if (eval ":") 2>/dev/null; then
          156  +  as_have_required=yes
          157  +else
          158  +  as_have_required=no
          159  +fi
          160  +
          161  +  if test $as_have_required = yes && 	 (eval ":
          162  +(as_func_return () {
          163  +  (exit \$1)
          164  +}
          165  +as_func_success () {
          166  +  as_func_return 0
          167  +}
          168  +as_func_failure () {
          169  +  as_func_return 1
          170  +}
          171  +as_func_ret_success () {
          172  +  return 0
          173  +}
          174  +as_func_ret_failure () {
          175  +  return 1
          176  +}
          177  +
          178  +exitcode=0
          179  +if as_func_success; then
          180  +  :
          181  +else
          182  +  exitcode=1
          183  +  echo as_func_success failed.
          184  +fi
          185  +
          186  +if as_func_failure; then
          187  +  exitcode=1
          188  +  echo as_func_failure succeeded.
          189  +fi
          190  +
          191  +if as_func_ret_success; then
          192  +  :
          193  +else
          194  +  exitcode=1
          195  +  echo as_func_ret_success failed.
          196  +fi
          197  +
          198  +if as_func_ret_failure; then
          199  +  exitcode=1
          200  +  echo as_func_ret_failure succeeded.
          201  +fi
          202  +
          203  +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
          204  +  :
          205  +else
          206  +  exitcode=1
          207  +  echo positional parameters were not saved.
          208  +fi
          209  +
          210  +test \$exitcode = 0) || { (exit 1); exit 1; }
          211  +
          212  +(
          213  +  as_lineno_1=\$LINENO
          214  +  as_lineno_2=\$LINENO
          215  +  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
          216  +  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
          217  +") 2> /dev/null; then
          218  +  :
          219  +else
          220  +  as_candidate_shells=
   130    221       as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   131    222   for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   132    223   do
   133    224     IFS=$as_save_IFS
   134    225     test -z "$as_dir" && as_dir=.
   135         -  for as_base in sh bash ksh sh5; do
   136         -	 case $as_dir in
          226  +  case $as_dir in
   137    227   	 /*)
   138         -	   if ("$as_dir/$as_base" -c '
          228  +	   for as_base in sh bash ksh sh5; do
          229  +	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
          230  +	   done;;
          231  +       esac
          232  +done
          233  +IFS=$as_save_IFS
          234  +
          235  +
          236  +      for as_shell in $as_candidate_shells $SHELL; do
          237  +	 # Try only shells that exist, to save several forks.
          238  +	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
          239  +		{ ("$as_shell") 2> /dev/null <<\_ASEOF
          240  +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
          241  +  emulate sh
          242  +  NULLCMD=:
          243  +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
          244  +  # is contrary to our usage.  Disable this feature.
          245  +  alias -g '${1+"$@"}'='"$@"'
          246  +  setopt NO_GLOB_SUBST
          247  +else
          248  +  case `(set -o) 2>/dev/null` in
          249  +  *posix*) set -o posix ;;
          250  +esac
          251  +
          252  +fi
          253  +
          254  +
          255  +:
          256  +_ASEOF
          257  +}; then
          258  +  CONFIG_SHELL=$as_shell
          259  +	       as_have_required=yes
          260  +	       if { "$as_shell" 2> /dev/null <<\_ASEOF
          261  +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
          262  +  emulate sh
          263  +  NULLCMD=:
          264  +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
          265  +  # is contrary to our usage.  Disable this feature.
          266  +  alias -g '${1+"$@"}'='"$@"'
          267  +  setopt NO_GLOB_SUBST
          268  +else
          269  +  case `(set -o) 2>/dev/null` in
          270  +  *posix*) set -o posix ;;
          271  +esac
          272  +
          273  +fi
          274  +
          275  +
          276  +:
          277  +(as_func_return () {
          278  +  (exit $1)
          279  +}
          280  +as_func_success () {
          281  +  as_func_return 0
          282  +}
          283  +as_func_failure () {
          284  +  as_func_return 1
          285  +}
          286  +as_func_ret_success () {
          287  +  return 0
          288  +}
          289  +as_func_ret_failure () {
          290  +  return 1
          291  +}
          292  +
          293  +exitcode=0
          294  +if as_func_success; then
          295  +  :
          296  +else
          297  +  exitcode=1
          298  +  echo as_func_success failed.
          299  +fi
          300  +
          301  +if as_func_failure; then
          302  +  exitcode=1
          303  +  echo as_func_failure succeeded.
          304  +fi
          305  +
          306  +if as_func_ret_success; then
          307  +  :
          308  +else
          309  +  exitcode=1
          310  +  echo as_func_ret_success failed.
          311  +fi
          312  +
          313  +if as_func_ret_failure; then
          314  +  exitcode=1
          315  +  echo as_func_ret_failure succeeded.
          316  +fi
          317  +
          318  +if ( set x; as_func_ret_success y && test x = "$1" ); then
          319  +  :
          320  +else
          321  +  exitcode=1
          322  +  echo positional parameters were not saved.
          323  +fi
          324  +
          325  +test $exitcode = 0) || { (exit 1); exit 1; }
          326  +
          327  +(
          328  +  as_lineno_1=$LINENO
          329  +  as_lineno_2=$LINENO
          330  +  test "x$as_lineno_1" != "x$as_lineno_2" &&
          331  +  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
          332  +
          333  +_ASEOF
          334  +}; then
          335  +  break
          336  +fi
          337  +
          338  +fi
          339  +
          340  +      done
          341  +
          342  +      if test "x$CONFIG_SHELL" != x; then
          343  +  for as_var in BASH_ENV ENV
          344  +        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
          345  +        done
          346  +        export CONFIG_SHELL
          347  +        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
          348  +fi
          349  +
          350  +
          351  +    if test $as_have_required = no; then
          352  +  echo This script requires a shell more modern than all the
          353  +      echo shells that I found on your system.  Please install a
          354  +      echo modern shell, or manually run the script under such a
          355  +      echo shell if you do have one.
          356  +      { (exit 1); exit 1; }
          357  +fi
          358  +
          359  +
          360  +fi
          361  +
          362  +fi
          363  +
          364  +
          365  +
          366  +(eval "as_func_return () {
          367  +  (exit \$1)
          368  +}
          369  +as_func_success () {
          370  +  as_func_return 0
          371  +}
          372  +as_func_failure () {
          373  +  as_func_return 1
          374  +}
          375  +as_func_ret_success () {
          376  +  return 0
          377  +}
          378  +as_func_ret_failure () {
          379  +  return 1
          380  +}
          381  +
          382  +exitcode=0
          383  +if as_func_success; then
          384  +  :
          385  +else
          386  +  exitcode=1
          387  +  echo as_func_success failed.
          388  +fi
          389  +
          390  +if as_func_failure; then
          391  +  exitcode=1
          392  +  echo as_func_failure succeeded.
          393  +fi
          394  +
          395  +if as_func_ret_success; then
          396  +  :
          397  +else
          398  +  exitcode=1
          399  +  echo as_func_ret_success failed.
          400  +fi
          401  +
          402  +if as_func_ret_failure; then
          403  +  exitcode=1
          404  +  echo as_func_ret_failure succeeded.
          405  +fi
          406  +
          407  +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
          408  +  :
          409  +else
          410  +  exitcode=1
          411  +  echo positional parameters were not saved.
          412  +fi
          413  +
          414  +test \$exitcode = 0") || {
          415  +  echo No shell found that supports shell functions.
          416  +  echo Please tell autoconf@gnu.org about your system,
          417  +  echo including any error possibly output before this
          418  +  echo message
          419  +}
          420  +
          421  +
          422  +
   139    423     as_lineno_1=$LINENO
   140    424     as_lineno_2=$LINENO
   141         -  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   142    425     test "x$as_lineno_1" != "x$as_lineno_2" &&
   143         -  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
   144         -	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
   145         -	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
   146         -	     CONFIG_SHELL=$as_dir/$as_base
   147         -	     export CONFIG_SHELL
   148         -	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
   149         -	   fi;;
   150         -	 esac
   151         -       done
   152         -done
   153         -;;
   154         -  esac
          426  +  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   155    427   
   156    428     # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   157    429     # uniformly replaced by the line number.  The first 'sed' inserts a
   158         -  # line-number line before each line; the second 'sed' does the real
   159         -  # work.  The second script uses 'N' to pair each line-number line
   160         -  # with the numbered line, and appends trailing '-' during
   161         -  # substitution so that $LINENO is not a special case at line end.
          430  +  # line-number line after each line using $LINENO; the second 'sed'
          431  +  # does the real work.  The second script uses 'N' to pair each
          432  +  # line-number line with the line containing $LINENO, and appends
          433  +  # trailing '-' during substitution so that $LINENO is not a special
          434  +  # case at line end.
   162    435     # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   163         -  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
   164         -  sed '=' <$as_myself |
          436  +  # scripts with optimization help from Paolo Bonzini.  Blame Lee
          437  +  # E. McMahon (1931-1989) for sed's syntax.  :-)
          438  +  sed -n '
          439  +    p
          440  +    /[$]LINENO/=
          441  +  ' <$as_myself |
   165    442       sed '
          443  +      s/[$]LINENO.*/&-/
          444  +      t lineno
          445  +      b
          446  +      :lineno
   166    447         N
   167         -      s,$,-,
   168         -      : loop
   169         -      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
          448  +      :loop
          449  +      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   170    450         t loop
   171         -      s,-$,,
   172         -      s,^['$as_cr_digits']*\n,,
          451  +      s/-\n.*//
   173    452       ' >$as_me.lineno &&
   174         -  chmod +x $as_me.lineno ||
          453  +  chmod +x "$as_me.lineno" ||
   175    454       { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   176    455      { (exit 1); exit 1; }; }
   177    456   
   178    457     # Don't try to exec as it changes $[0], causing all sort of problems
   179    458     # (the dirname of $[0] is not the place where we might find the
   180         -  # original and so on.  Autoconf is especially sensible to this).
   181         -  . ./$as_me.lineno
          459  +  # original and so on.  Autoconf is especially sensitive to this).
          460  +  . "./$as_me.lineno"
   182    461     # Exit status is that of the last command.
   183    462     exit
   184    463   }
   185    464   
   186    465   
   187         -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
   188         -  *c*,-n*) ECHO_N= ECHO_C='
   189         -' ECHO_T='	' ;;
   190         -  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
   191         -  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
          466  +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
          467  +  as_dirname=dirname
          468  +else
          469  +  as_dirname=false
          470  +fi
          471  +
          472  +ECHO_C= ECHO_N= ECHO_T=
          473  +case `echo -n x` in
          474  +-n*)
          475  +  case `echo 'x\c'` in
          476  +  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
          477  +  *)   ECHO_C='\c';;
          478  +  esac;;
          479  +*)
          480  +  ECHO_N='-n';;
   192    481   esac
   193    482   
   194         -if expr a : '\(a\)' >/dev/null 2>&1; then
          483  +if expr a : '\(a\)' >/dev/null 2>&1 &&
          484  +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
   195    485     as_expr=expr
   196    486   else
   197    487     as_expr=false
   198    488   fi
   199    489   
   200    490   rm -f conf$$ conf$$.exe conf$$.file
          491  +if test -d conf$$.dir; then
          492  +  rm -f conf$$.dir/conf$$.file
          493  +else
          494  +  rm -f conf$$.dir
          495  +  mkdir conf$$.dir
          496  +fi
   201    497   echo >conf$$.file
   202    498   if ln -s conf$$.file conf$$ 2>/dev/null; then
   203         -  # We could just check for DJGPP; but this test a) works b) is more generic
   204         -  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
   205         -  if test -f conf$$.exe; then
   206         -    # Don't use ln at all; we don't have any links
          499  +  as_ln_s='ln -s'
          500  +  # ... but there are two gotchas:
          501  +  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
          502  +  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
          503  +  # In both cases, we have to default to `cp -p'.
          504  +  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   207    505       as_ln_s='cp -p'
   208         -  else
   209         -    as_ln_s='ln -s'
   210         -  fi
   211    506   elif ln conf$$.file conf$$ 2>/dev/null; then
   212    507     as_ln_s=ln
   213    508   else
   214    509     as_ln_s='cp -p'
   215    510   fi
   216         -rm -f conf$$ conf$$.exe conf$$.file
          511  +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
          512  +rmdir conf$$.dir 2>/dev/null
   217    513   
   218    514   if mkdir -p . 2>/dev/null; then
   219    515     as_mkdir_p=:
   220    516   else
   221    517     test -d ./-p && rmdir ./-p
   222    518     as_mkdir_p=false
   223    519   fi
   224    520   
   225         -as_executable_p="test -f"
          521  +if test -x / >/dev/null 2>&1; then
          522  +  as_test_x='test -x'
          523  +else
          524  +  if ls -dL / >/dev/null 2>&1; then
          525  +    as_ls_L_option=L
          526  +  else
          527  +    as_ls_L_option=
          528  +  fi
          529  +  as_test_x='
          530  +    eval sh -c '\''
          531  +      if test -d "$1"; then
          532  +        test -d "$1/.";
          533  +      else
          534  +	case $1 in
          535  +        -*)set "./$1";;
          536  +	esac;
          537  +	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
          538  +	???[sx]*):;;*)false;;esac;fi
          539  +    '\'' sh
          540  +  '
          541  +fi
          542  +as_executable_p=$as_test_x
   226    543   
   227    544   # Sed expression to map a string onto a valid CPP name.
   228    545   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   229    546   
   230    547   # Sed expression to map a string onto a valid variable name.
   231    548   as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   232    549   
   233    550   
   234         -# IFS
   235         -# We need space, tab and new line, in precisely that order.
   236         -as_nl='
   237         -'
   238         -IFS=" 	$as_nl"
   239         -
   240         -# CDPATH.
   241         -$as_unset CDPATH
   242         -
   243    551   
   244    552   
   245    553   # Check that we are running under the correct shell.
   246    554   SHELL=${CONFIG_SHELL-/bin/sh}
   247    555   
   248    556   case X$ECHO in
   249    557   X*--fallback-echo)
................................................................................
   391    699   
   392    700   
   393    701   
   394    702   tagnames=${tagnames+${tagnames},}CXX
   395    703   
   396    704   tagnames=${tagnames+${tagnames},}F77
   397    705   
          706  +exec 7<&0 </dev/null 6>&1
          707  +
   398    708   # Name of the host.
   399    709   # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
   400    710   # so uname gets run too.
   401    711   ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   402    712   
   403         -exec 6>&1
   404         -
   405    713   #
   406    714   # Initializations.
   407    715   #
   408    716   ac_default_prefix=/usr/local
          717  +ac_clean_files=
   409    718   ac_config_libobj_dir=.
          719  +LIBOBJS=
   410    720   cross_compiling=no
   411    721   subdirs=
   412    722   MFLAGS=
   413    723   MAKEFLAGS=
   414    724   SHELL=${CONFIG_SHELL-/bin/sh}
   415    725   
   416         -# Maximum number of lines to put in a shell here document.
   417         -# This variable seems obsolete.  It should probably be removed, and
   418         -# only ac_max_sed_lines should be used.
   419         -: ${ac_max_here_lines=38}
   420         -
   421    726   # Identity of this package.
   422    727   PACKAGE_NAME=
   423    728   PACKAGE_TARNAME=
   424    729   PACKAGE_VERSION=
   425    730   PACKAGE_STRING=
   426    731   PACKAGE_BUGREPORT=
   427    732   
   428    733   ac_unique_file="src/sqlite.h.in"
   429    734   # Factoring default headers for most tests.
   430    735   ac_includes_default="\
   431    736   #include <stdio.h>
   432         -#if HAVE_SYS_TYPES_H
          737  +#ifdef HAVE_SYS_TYPES_H
   433    738   # include <sys/types.h>
   434    739   #endif
   435         -#if HAVE_SYS_STAT_H
          740  +#ifdef HAVE_SYS_STAT_H
   436    741   # include <sys/stat.h>
   437    742   #endif
   438         -#if STDC_HEADERS
          743  +#ifdef STDC_HEADERS
   439    744   # include <stdlib.h>
   440    745   # include <stddef.h>
   441    746   #else
   442         -# if HAVE_STDLIB_H
          747  +# ifdef HAVE_STDLIB_H
   443    748   #  include <stdlib.h>
   444    749   # endif
   445    750   #endif
   446         -#if HAVE_STRING_H
   447         -# if !STDC_HEADERS && HAVE_MEMORY_H
          751  +#ifdef HAVE_STRING_H
          752  +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
   448    753   #  include <memory.h>
   449    754   # endif
   450    755   # include <string.h>
   451    756   #endif
   452         -#if HAVE_STRINGS_H
          757  +#ifdef HAVE_STRINGS_H
   453    758   # include <strings.h>
   454    759   #endif
   455         -#if HAVE_INTTYPES_H
          760  +#ifdef HAVE_INTTYPES_H
   456    761   # include <inttypes.h>
   457         -#else
   458         -# if HAVE_STDINT_H
   459         -#  include <stdint.h>
   460         -# endif
   461    762   #endif
   462         -#if HAVE_UNISTD_H
          763  +#ifdef HAVE_STDINT_H
          764  +# include <stdint.h>
          765  +#endif
          766  +#ifdef HAVE_UNISTD_H
   463    767   # include <unistd.h>
   464    768   #endif"
   465    769   
   466         -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CPP CXX CXXFLAGS ac_ct_CXX CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AWK program_prefix VERSION RELEASE VERSION_NUMBER BUILD_CC BUILD_CFLAGS SQLITE_THREADSAFE TARGET_THREAD_LIB XTHREADCONNECT THREADSOVERRIDELOCKS ALLOWRELEASE TEMP_STORE BUILD_EXEEXT OS_UNIX OS_WIN OS_OS2 TARGET_EXEEXT TCL_VERSION TCL_BIN_DIR TCL_SRC_DIR TCL_LIBS TCL_INCLUDE_SPEC TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC HAVE_TCL TARGET_READLINE_LIBS TARGET_READLINE_INC TARGET_HAVE_READLINE TARGET_DEBUG LIBOBJS LTLIBOBJS'
          770  +ac_subst_vars='SHELL
          771  +PATH_SEPARATOR
          772  +PACKAGE_NAME
          773  +PACKAGE_TARNAME
          774  +PACKAGE_VERSION
          775  +PACKAGE_STRING
          776  +PACKAGE_BUGREPORT
          777  +exec_prefix
          778  +prefix
          779  +program_transform_name
          780  +bindir
          781  +sbindir
          782  +libexecdir
          783  +datarootdir
          784  +datadir
          785  +sysconfdir
          786  +sharedstatedir
          787  +localstatedir
          788  +includedir
          789  +oldincludedir
          790  +docdir
          791  +infodir
          792  +htmldir
          793  +dvidir
          794  +pdfdir
          795  +psdir
          796  +libdir
          797  +localedir
          798  +mandir
          799  +DEFS
          800  +ECHO_C
          801  +ECHO_N
          802  +ECHO_T
          803  +LIBS
          804  +build_alias
          805  +host_alias
          806  +target_alias
          807  +build
          808  +build_cpu
          809  +build_vendor
          810  +build_os
          811  +host
          812  +host_cpu
          813  +host_vendor
          814  +host_os
          815  +CC
          816  +CFLAGS
          817  +LDFLAGS
          818  +CPPFLAGS
          819  +ac_ct_CC
          820  +EXEEXT
          821  +OBJEXT
          822  +GREP
          823  +EGREP
          824  +LN_S
          825  +ECHO
          826  +AR
          827  +RANLIB
          828  +STRIP
          829  +CPP
          830  +CXX
          831  +CXXFLAGS
          832  +ac_ct_CXX
          833  +CXXCPP
          834  +F77
          835  +FFLAGS
          836  +ac_ct_F77
          837  +LIBTOOL
          838  +INSTALL_PROGRAM
          839  +INSTALL_SCRIPT
          840  +INSTALL_DATA
          841  +AWK
          842  +program_prefix
          843  +VERSION
          844  +RELEASE
          845  +VERSION_NUMBER
          846  +BUILD_CC
          847  +BUILD_CFLAGS
          848  +SQLITE_THREADSAFE
          849  +TARGET_THREAD_LIB
          850  +XTHREADCONNECT
          851  +THREADSOVERRIDELOCKS
          852  +ALLOWRELEASE
          853  +TEMP_STORE
          854  +BUILD_EXEEXT
          855  +OS_UNIX
          856  +OS_WIN
          857  +OS_OS2
          858  +TARGET_EXEEXT
          859  +TCL_VERSION
          860  +TCL_BIN_DIR
          861  +TCL_SRC_DIR
          862  +TCL_LIBS
          863  +TCL_INCLUDE_SPEC
          864  +TCL_LIB_FILE
          865  +TCL_LIB_FLAG
          866  +TCL_LIB_SPEC
          867  +TCL_STUB_LIB_FILE
          868  +TCL_STUB_LIB_FLAG
          869  +TCL_STUB_LIB_SPEC
          870  +HAVE_TCL
          871  +TARGET_READLINE_LIBS
          872  +TARGET_READLINE_INC
          873  +TARGET_HAVE_READLINE
          874  +TARGET_DEBUG
          875  +USE_AMALGAMATION
          876  +LIBOBJS
          877  +LTLIBOBJS'
   467    878   ac_subst_files=''
          879  +      ac_precious_vars='build_alias
          880  +host_alias
          881  +target_alias
          882  +CC
          883  +CFLAGS
          884  +LDFLAGS
          885  +LIBS
          886  +CPPFLAGS
          887  +CPP
          888  +CXX
          889  +CXXFLAGS
          890  +CCC
          891  +CXXCPP
          892  +F77
          893  +FFLAGS'
          894  +
   468    895   
   469    896   # Initialize some variables set by options.
   470    897   ac_init_help=
   471    898   ac_init_version=false
   472    899   # The variables have the same names as the options, with
   473    900   # dashes changed to underlines.
   474    901   cache_file=/dev/null
................................................................................
   487    914   x_libraries=NONE
   488    915   
   489    916   # Installation directory options.
   490    917   # These are left unexpanded so users can "make install exec_prefix=/foo"
   491    918   # and all the variables that are supposed to be based on exec_prefix
   492    919   # by default will actually change.
   493    920   # Use braces instead of parens because sh, perl, etc. also accept them.
          921  +# (The list follows the same order as the GNU Coding Standards.)
   494    922   bindir='${exec_prefix}/bin'
   495    923   sbindir='${exec_prefix}/sbin'
   496    924   libexecdir='${exec_prefix}/libexec'
   497         -datadir='${prefix}/share'
          925  +datarootdir='${prefix}/share'
          926  +datadir='${datarootdir}'
   498    927   sysconfdir='${prefix}/etc'
   499    928   sharedstatedir='${prefix}/com'
   500    929   localstatedir='${prefix}/var'
   501         -libdir='${exec_prefix}/lib'
   502    930   includedir='${prefix}/include'
   503    931   oldincludedir='/usr/include'
   504         -infodir='${prefix}/info'
   505         -mandir='${prefix}/man'
          932  +docdir='${datarootdir}/doc/${PACKAGE}'
          933  +infodir='${datarootdir}/info'
          934  +htmldir='${docdir}'
          935  +dvidir='${docdir}'
          936  +pdfdir='${docdir}'
          937  +psdir='${docdir}'
          938  +libdir='${exec_prefix}/lib'
          939  +localedir='${datarootdir}/locale'
          940  +mandir='${datarootdir}/man'
   506    941   
   507    942   ac_prev=
          943  +ac_dashdash=
   508    944   for ac_option
   509    945   do
   510    946     # If the previous option needs an argument, assign it.
   511    947     if test -n "$ac_prev"; then
   512         -    eval "$ac_prev=\$ac_option"
          948  +    eval $ac_prev=\$ac_option
   513    949       ac_prev=
   514    950       continue
   515    951     fi
   516    952   
   517         -  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
          953  +  case $ac_option in
          954  +  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
          955  +  *)	ac_optarg=yes ;;
          956  +  esac
   518    957   
   519    958     # Accept the important Cygnus configure options, so we can diagnose typos.
   520    959   
   521         -  case $ac_option in
          960  +  case $ac_dashdash$ac_option in
          961  +  --)
          962  +    ac_dashdash=yes ;;
   522    963   
   523    964     -bindir | --bindir | --bindi | --bind | --bin | --bi)
   524    965       ac_prev=bindir ;;
   525    966     -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   526    967       bindir=$ac_optarg ;;
   527    968   
   528    969     -build | --build | --buil | --bui | --bu)
................................................................................
   536    977     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   537    978     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   538    979       cache_file=$ac_optarg ;;
   539    980   
   540    981     --config-cache | -C)
   541    982       cache_file=config.cache ;;
   542    983   
   543         -  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
          984  +  -datadir | --datadir | --datadi | --datad)
   544    985       ac_prev=datadir ;;
   545         -  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
   546         -  | --da=*)
          986  +  -datadir=* | --datadir=* | --datadi=* | --datad=*)
   547    987       datadir=$ac_optarg ;;
          988  +
          989  +  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
          990  +  | --dataroo | --dataro | --datar)
          991  +    ac_prev=datarootdir ;;
          992  +  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
          993  +  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
          994  +    datarootdir=$ac_optarg ;;
   548    995   
   549    996     -disable-* | --disable-*)
   550    997       ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   551    998       # Reject names that are not valid shell variable names.
   552         -    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
          999  +    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   553   1000         { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   554   1001      { (exit 1); exit 1; }; }
   555         -    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
   556         -    eval "enable_$ac_feature=no" ;;
         1002  +    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
         1003  +    eval enable_$ac_feature=no ;;
         1004  +
         1005  +  -docdir | --docdir | --docdi | --doc | --do)
         1006  +    ac_prev=docdir ;;
         1007  +  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
         1008  +    docdir=$ac_optarg ;;
         1009  +
         1010  +  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
         1011  +    ac_prev=dvidir ;;
         1012  +  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
         1013  +    dvidir=$ac_optarg ;;
   557   1014   
   558   1015     -enable-* | --enable-*)
   559   1016       ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   560   1017       # Reject names that are not valid shell variable names.
   561         -    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
         1018  +    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   562   1019         { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   563   1020      { (exit 1); exit 1; }; }
   564         -    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
   565         -    case $ac_option in
   566         -      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
   567         -      *) ac_optarg=yes ;;
   568         -    esac
   569         -    eval "enable_$ac_feature='$ac_optarg'" ;;
         1021  +    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
         1022  +    eval enable_$ac_feature=\$ac_optarg ;;
   570   1023   
   571   1024     -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   572   1025     | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   573   1026     | --exec | --exe | --ex)
   574   1027       ac_prev=exec_prefix ;;
   575   1028     -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   576   1029     | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
................................................................................
   588   1041     -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   589   1042       ac_init_help=short ;;
   590   1043   
   591   1044     -host | --host | --hos | --ho)
   592   1045       ac_prev=host_alias ;;
   593   1046     -host=* | --host=* | --hos=* | --ho=*)
   594   1047       host_alias=$ac_optarg ;;
         1048  +
         1049  +  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
         1050  +    ac_prev=htmldir ;;
         1051  +  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
         1052  +  | --ht=*)
         1053  +    htmldir=$ac_optarg ;;
   595   1054   
   596   1055     -includedir | --includedir | --includedi | --included | --include \
   597   1056     | --includ | --inclu | --incl | --inc)
   598   1057       ac_prev=includedir ;;
   599   1058     -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   600   1059     | --includ=* | --inclu=* | --incl=* | --inc=*)
   601   1060       includedir=$ac_optarg ;;
................................................................................
   612   1071   
   613   1072     -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   614   1073     | --libexe | --libex | --libe)
   615   1074       ac_prev=libexecdir ;;
   616   1075     -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   617   1076     | --libexe=* | --libex=* | --libe=*)
   618   1077       libexecdir=$ac_optarg ;;
         1078  +
         1079  +  -localedir | --localedir | --localedi | --localed | --locale)
         1080  +    ac_prev=localedir ;;
         1081  +  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
         1082  +    localedir=$ac_optarg ;;
   619   1083   
   620   1084     -localstatedir | --localstatedir | --localstatedi | --localstated \
   621         -  | --localstate | --localstat | --localsta | --localst \
   622         -  | --locals | --local | --loca | --loc | --lo)
         1085  +  | --localstate | --localstat | --localsta | --localst | --locals)
   623   1086       ac_prev=localstatedir ;;
   624   1087     -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   625         -  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
   626         -  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
         1088  +  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   627   1089       localstatedir=$ac_optarg ;;
   628   1090   
   629   1091     -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   630   1092       ac_prev=mandir ;;
   631   1093     -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   632   1094       mandir=$ac_optarg ;;
   633   1095   
................................................................................
   683   1145     | --program-transform-nam=* | --program-transform-na=* \
   684   1146     | --program-transform-n=* | --program-transform-=* \
   685   1147     | --program-transform=* | --program-transfor=* \
   686   1148     | --program-transfo=* | --program-transf=* \
   687   1149     | --program-trans=* | --program-tran=* \
   688   1150     | --progr-tra=* | --program-tr=* | --program-t=*)
   689   1151       program_transform_name=$ac_optarg ;;
         1152  +
         1153  +  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
         1154  +    ac_prev=pdfdir ;;
         1155  +  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
         1156  +    pdfdir=$ac_optarg ;;
         1157  +
         1158  +  -psdir | --psdir | --psdi | --psd | --ps)
         1159  +    ac_prev=psdir ;;
         1160  +  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
         1161  +    psdir=$ac_optarg ;;
   690   1162   
   691   1163     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   692   1164     | -silent | --silent | --silen | --sile | --sil)
   693   1165       silent=yes ;;
   694   1166   
   695   1167     -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   696   1168       ac_prev=sbindir ;;
................................................................................
   736   1208   
   737   1209     -version | --version | --versio | --versi | --vers | -V)
   738   1210       ac_init_version=: ;;
   739   1211   
   740   1212     -with-* | --with-*)
   741   1213       ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   742   1214       # Reject names that are not valid shell variable names.
   743         -    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
         1215  +    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   744   1216         { echo "$as_me: error: invalid package name: $ac_package" >&2
   745   1217      { (exit 1); exit 1; }; }
   746         -    ac_package=`echo $ac_package| sed 's/-/_/g'`
   747         -    case $ac_option in
   748         -      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
   749         -      *) ac_optarg=yes ;;
   750         -    esac
   751         -    eval "with_$ac_package='$ac_optarg'" ;;
         1218  +    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
         1219  +    eval with_$ac_package=\$ac_optarg ;;
   752   1220   
   753   1221     -without-* | --without-*)
   754   1222       ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   755   1223       # Reject names that are not valid shell variable names.
   756         -    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
         1224  +    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   757   1225         { echo "$as_me: error: invalid package name: $ac_package" >&2
   758   1226      { (exit 1); exit 1; }; }
   759         -    ac_package=`echo $ac_package | sed 's/-/_/g'`
   760         -    eval "with_$ac_package=no" ;;
         1227  +    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
         1228  +    eval with_$ac_package=no ;;
   761   1229   
   762   1230     --x)
   763   1231       # Obsolete; use --with-x.
   764   1232       with_x=yes ;;
   765   1233   
   766   1234     -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   767   1235     | --x-incl | --x-inc | --x-in | --x-i)
................................................................................
   784   1252   
   785   1253     *=*)
   786   1254       ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   787   1255       # Reject names that are not valid shell variable names.
   788   1256       expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   789   1257         { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   790   1258      { (exit 1); exit 1; }; }
   791         -    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
   792         -    eval "$ac_envvar='$ac_optarg'"
         1259  +    eval $ac_envvar=\$ac_optarg
   793   1260       export $ac_envvar ;;
   794   1261   
   795   1262     *)
   796   1263       # FIXME: should be removed in autoconf 3.0.
   797   1264       echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   798   1265       expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   799   1266         echo "$as_me: WARNING: invalid host type: $ac_option" >&2
................................................................................
   805   1272   
   806   1273   if test -n "$ac_prev"; then
   807   1274     ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   808   1275     { echo "$as_me: error: missing argument to $ac_option" >&2
   809   1276      { (exit 1); exit 1; }; }
   810   1277   fi
   811   1278   
   812         -# Be sure to have absolute paths.
   813         -for ac_var in exec_prefix prefix
         1279  +# Be sure to have absolute directory names.
         1280  +for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
         1281  +		datadir sysconfdir sharedstatedir localstatedir includedir \
         1282  +		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
         1283  +		libdir localedir mandir
   814   1284   do
   815         -  eval ac_val=$`echo $ac_var`
         1285  +  eval ac_val=\$$ac_var
   816   1286     case $ac_val in
   817         -    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
   818         -    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   819         -   { (exit 1); exit 1; }; };;
         1287  +    [\\/$]* | ?:[\\/]* )  continue;;
         1288  +    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   820   1289     esac
   821         -done
   822         -
   823         -# Be sure to have absolute paths.
   824         -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
   825         -	      localstatedir libdir includedir oldincludedir infodir mandir
   826         -do
   827         -  eval ac_val=$`echo $ac_var`
   828         -  case $ac_val in
   829         -    [\\/$]* | ?:[\\/]* ) ;;
   830         -    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   831         -   { (exit 1); exit 1; }; };;
   832         -  esac
         1290  +  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
         1291  +   { (exit 1); exit 1; }; }
   833   1292   done
   834   1293   
   835   1294   # There might be people who depend on the old broken behavior: `$host'
   836   1295   # used to hold the argument of --host etc.
   837   1296   # FIXME: To remove some day.
   838   1297   build=$build_alias
   839   1298   host=$host_alias
................................................................................
   851   1310   fi
   852   1311   
   853   1312   ac_tool_prefix=
   854   1313   test -n "$host_alias" && ac_tool_prefix=$host_alias-
   855   1314   
   856   1315   test "$silent" = yes && exec 6>/dev/null
   857   1316   
         1317  +
         1318  +ac_pwd=`pwd` && test -n "$ac_pwd" &&
         1319  +ac_ls_di=`ls -di .` &&
         1320  +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
         1321  +  { echo "$as_me: error: Working directory cannot be determined" >&2
         1322  +   { (exit 1); exit 1; }; }
         1323  +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
         1324  +  { echo "$as_me: error: pwd does not report name of working directory" >&2
         1325  +   { (exit 1); exit 1; }; }
         1326  +
   858   1327   
   859   1328   # Find the source files, if location was not specified.
   860   1329   if test -z "$srcdir"; then
   861   1330     ac_srcdir_defaulted=yes
   862         -  # Try the directory containing this script, then its parent.
   863         -  ac_confdir=`(dirname "$0") 2>/dev/null ||
         1331  +  # Try the directory containing this script, then the parent directory.
         1332  +  ac_confdir=`$as_dirname -- "$0" ||
   864   1333   $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   865   1334   	 X"$0" : 'X\(//\)[^/]' \| \
   866   1335   	 X"$0" : 'X\(//\)$' \| \
   867         -	 X"$0" : 'X\(/\)' \| \
   868         -	 .     : '\(.\)' 2>/dev/null ||
         1336  +	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   869   1337   echo X"$0" |
   870         -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   871         -  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   872         -  	  /^X\(\/\/\)$/{ s//\1/; q; }
   873         -  	  /^X\(\/\).*/{ s//\1/; q; }
   874         -  	  s/.*/./; q'`
         1338  +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
         1339  +	    s//\1/
         1340  +	    q
         1341  +	  }
         1342  +	  /^X\(\/\/\)[^/].*/{
         1343  +	    s//\1/
         1344  +	    q
         1345  +	  }
         1346  +	  /^X\(\/\/\)$/{
         1347  +	    s//\1/
         1348  +	    q
         1349  +	  }
         1350  +	  /^X\(\/\).*/{
         1351  +	    s//\1/
         1352  +	    q
         1353  +	  }
         1354  +	  s/.*/./; q'`
   875   1355     srcdir=$ac_confdir
   876         -  if test ! -r $srcdir/$ac_unique_file; then
         1356  +  if test ! -r "$srcdir/$ac_unique_file"; then
   877   1357       srcdir=..
   878   1358     fi
   879   1359   else
   880   1360     ac_srcdir_defaulted=no
   881   1361   fi
   882         -if test ! -r $srcdir/$ac_unique_file; then
   883         -  if test "$ac_srcdir_defaulted" = yes; then
   884         -    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
   885         -   { (exit 1); exit 1; }; }
   886         -  else
   887         -    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   888         -   { (exit 1); exit 1; }; }
   889         -  fi
   890         -fi
   891         -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
   892         -  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
   893         -   { (exit 1); exit 1; }; }
   894         -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
   895         -ac_env_build_alias_set=${build_alias+set}
   896         -ac_env_build_alias_value=$build_alias
   897         -ac_cv_env_build_alias_set=${build_alias+set}
   898         -ac_cv_env_build_alias_value=$build_alias
   899         -ac_env_host_alias_set=${host_alias+set}
   900         -ac_env_host_alias_value=$host_alias
   901         -ac_cv_env_host_alias_set=${host_alias+set}
   902         -ac_cv_env_host_alias_value=$host_alias
   903         -ac_env_target_alias_set=${target_alias+set}
   904         -ac_env_target_alias_value=$target_alias
   905         -ac_cv_env_target_alias_set=${target_alias+set}
   906         -ac_cv_env_target_alias_value=$target_alias
   907         -ac_env_CC_set=${CC+set}
   908         -ac_env_CC_value=$CC
   909         -ac_cv_env_CC_set=${CC+set}
   910         -ac_cv_env_CC_value=$CC
   911         -ac_env_CFLAGS_set=${CFLAGS+set}
   912         -ac_env_CFLAGS_value=$CFLAGS
   913         -ac_cv_env_CFLAGS_set=${CFLAGS+set}
   914         -ac_cv_env_CFLAGS_value=$CFLAGS
   915         -ac_env_LDFLAGS_set=${LDFLAGS+set}
   916         -ac_env_LDFLAGS_value=$LDFLAGS
   917         -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
   918         -ac_cv_env_LDFLAGS_value=$LDFLAGS
   919         -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
   920         -ac_env_CPPFLAGS_value=$CPPFLAGS
   921         -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
   922         -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
   923         -ac_env_CPP_set=${CPP+set}
   924         -ac_env_CPP_value=$CPP
   925         -ac_cv_env_CPP_set=${CPP+set}
   926         -ac_cv_env_CPP_value=$CPP
   927         -ac_env_CXX_set=${CXX+set}
   928         -ac_env_CXX_value=$CXX
   929         -ac_cv_env_CXX_set=${CXX+set}
   930         -ac_cv_env_CXX_value=$CXX
   931         -ac_env_CXXFLAGS_set=${CXXFLAGS+set}
   932         -ac_env_CXXFLAGS_value=$CXXFLAGS
   933         -ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
   934         -ac_cv_env_CXXFLAGS_value=$CXXFLAGS
   935         -ac_env_CXXCPP_set=${CXXCPP+set}
   936         -ac_env_CXXCPP_value=$CXXCPP
   937         -ac_cv_env_CXXCPP_set=${CXXCPP+set}
   938         -ac_cv_env_CXXCPP_value=$CXXCPP
   939         -ac_env_F77_set=${F77+set}
   940         -ac_env_F77_value=$F77
   941         -ac_cv_env_F77_set=${F77+set}
   942         -ac_cv_env_F77_value=$F77
   943         -ac_env_FFLAGS_set=${FFLAGS+set}
   944         -ac_env_FFLAGS_value=$FFLAGS
   945         -ac_cv_env_FFLAGS_set=${FFLAGS+set}
   946         -ac_cv_env_FFLAGS_value=$FFLAGS
         1362  +if test ! -r "$srcdir/$ac_unique_file"; then
         1363  +  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
         1364  +  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
         1365  +   { (exit 1); exit 1; }; }
         1366  +fi
         1367  +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
         1368  +ac_abs_confdir=`(
         1369  +	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
         1370  +   { (exit 1); exit 1; }; }
         1371  +	pwd)`
         1372  +# When building in place, set srcdir=.
         1373  +if test "$ac_abs_confdir" = "$ac_pwd"; then
         1374  +  srcdir=.
         1375  +fi
         1376  +# Remove unnecessary trailing slashes from srcdir.
         1377  +# Double slashes in file names in object file debugging info
         1378  +# mess up M-x gdb in Emacs.
         1379  +case $srcdir in
         1380  +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
         1381  +esac
         1382  +for ac_var in $ac_precious_vars; do
         1383  +  eval ac_env_${ac_var}_set=\${${ac_var}+set}
         1384  +  eval ac_env_${ac_var}_value=\$${ac_var}
         1385  +  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
         1386  +  eval ac_cv_env_${ac_var}_value=\$${ac_var}
         1387  +done
   947   1388   
   948   1389   #
   949   1390   # Report the --help message.
   950   1391   #
   951   1392   if test "$ac_init_help" = "long"; then
   952   1393     # Omit some internal or obsolete options to make the list less imposing.
   953   1394     # This message is too long to be a string in the A/UX 3.1 sh.
................................................................................
   968   1409     -V, --version           display version information and exit
   969   1410     -q, --quiet, --silent   do not print \`checking...' messages
   970   1411         --cache-file=FILE   cache test results in FILE [disabled]
   971   1412     -C, --config-cache      alias for \`--cache-file=config.cache'
   972   1413     -n, --no-create         do not create output files
   973   1414         --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   974   1415   
   975         -_ACEOF
   976         -
   977         -  cat <<_ACEOF
   978   1416   Installation directories:
   979   1417     --prefix=PREFIX         install architecture-independent files in PREFIX
   980   1418   			  [$ac_default_prefix]
   981   1419     --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   982   1420   			  [PREFIX]
   983   1421   
   984   1422   By default, \`make install' will install all the files in
................................................................................
   988   1426   
   989   1427   For better control, use the options below.
   990   1428   
   991   1429   Fine tuning of the installation directories:
   992   1430     --bindir=DIR           user executables [EPREFIX/bin]
   993   1431     --sbindir=DIR          system admin executables [EPREFIX/sbin]
   994   1432     --libexecdir=DIR       program executables [EPREFIX/libexec]
   995         -  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
   996   1433     --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   997   1434     --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   998   1435     --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   999   1436     --libdir=DIR           object code libraries [EPREFIX/lib]
  1000   1437     --includedir=DIR       C header files [PREFIX/include]
  1001   1438     --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  1002         -  --infodir=DIR          info documentation [PREFIX/info]
  1003         -  --mandir=DIR           man documentation [PREFIX/man]
         1439  +  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
         1440  +  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
         1441  +  --infodir=DIR          info documentation [DATAROOTDIR/info]
         1442  +  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
         1443  +  --mandir=DIR           man documentation [DATAROOTDIR/man]
         1444  +  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
         1445  +  --htmldir=DIR          html documentation [DOCDIR]
         1446  +  --dvidir=DIR           dvi documentation [DOCDIR]
         1447  +  --pdfdir=DIR           pdf documentation [DOCDIR]
         1448  +  --psdir=DIR            ps documentation [DOCDIR]
  1004   1449   _ACEOF
  1005   1450   
  1006   1451     cat <<\_ACEOF
  1007   1452   
  1008   1453   System types:
  1009   1454     --build=BUILD     configure for building on BUILD [guessed]
  1010   1455     --host=HOST       cross-compile to build programs to run on HOST [BUILD]
................................................................................
  1014   1459   if test -n "$ac_init_help"; then
  1015   1460   
  1016   1461     cat <<\_ACEOF
  1017   1462   
  1018   1463   Optional Features:
  1019   1464     --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1020   1465     --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1021         -  --enable-shared[=PKGS]
  1022         -                          build shared libraries [default=yes]
  1023         -  --enable-static[=PKGS]
  1024         -                          build static libraries [default=yes]
         1466  +  --enable-shared[=PKGS]  build shared libraries [default=yes]
         1467  +  --enable-static[=PKGS]  build static libraries [default=yes]
  1025   1468     --enable-fast-install[=PKGS]
  1026   1469                             optimize for fast installation [default=yes]
  1027   1470     --disable-libtool-lock  avoid locking (might break parallel builds)
  1028   1471     --enable-threadsafe     Support threadsafe operation
  1029   1472     --enable-cross-thread-connections
  1030   1473                             Allow connection sharing across threads
  1031   1474     --enable-threads-override-locks
................................................................................
  1032   1475                             Threads can override each others locks
  1033   1476     --enable-releasemode    Support libtool link to release mode
  1034   1477     --enable-tempstore      Use an in-ram database for temporary tables
  1035   1478                             (never,no,yes,always)
  1036   1479     --disable-tcl           do not build TCL extension
  1037   1480     --disable-readline      disable readline support [default=detect]
  1038   1481     --enable-debug          enable debugging & verbose explain
         1482  +  --disable-amalgamation  Disable the amalgamation and instead build all files
         1483  +                          separately (currently needed to build the test
         1484  +                          fixture)
  1039   1485   
  1040   1486   Optional Packages:
  1041   1487     --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1042   1488     --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1043   1489     --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  1044   1490     --with-pic              try to use only PIC/non-PIC objects [default=use
  1045   1491                             both]
  1046         -  --with-tags[=TAGS]
  1047         -                          include additional configurations [automatic]
         1492  +  --with-tags[=TAGS]      include additional configurations [automatic]
  1048   1493     --with-hints=FILE       Read configuration options from FILE
  1049   1494     --with-tcl=DIR          directory containing tcl configuration
  1050   1495                             (tclConfig.sh)
  1051   1496     --with-readline-lib     specify readline library
  1052   1497     --with-readline-inc     specify readline include paths
  1053   1498   
  1054   1499   Some influential environment variables:
  1055   1500     CC          C compiler command
  1056   1501     CFLAGS      C compiler flags
  1057   1502     LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1058   1503                 nonstandard directory <lib dir>
  1059         -  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
  1060         -              headers in a nonstandard directory <include dir>
         1504  +  LIBS        libraries to pass to the linker, e.g. -l<library>
         1505  +  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
         1506  +              you have headers in a nonstandard directory <include dir>
  1061   1507     CPP         C preprocessor
  1062   1508     CXX         C++ compiler command
  1063   1509     CXXFLAGS    C++ compiler flags
  1064   1510     CXXCPP      C++ preprocessor
  1065   1511     F77         Fortran 77 compiler command
  1066   1512     FFLAGS      Fortran 77 compiler flags
  1067   1513   
  1068   1514   Use these variables to override the choices made by `configure' or to help
  1069   1515   it to find libraries and programs with nonstandard names/locations.
  1070   1516   
  1071   1517   _ACEOF
         1518  +ac_status=$?
  1072   1519   fi
  1073   1520   
  1074   1521   if test "$ac_init_help" = "recursive"; then
  1075   1522     # If there are subdirs, report their specific --help.
  1076         -  ac_popdir=`pwd`
  1077   1523     for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1078         -    test -d $ac_dir || continue
         1524  +    test -d "$ac_dir" || continue
  1079   1525       ac_builddir=.
  1080   1526   
  1081         -if test "$ac_dir" != .; then
         1527  +case "$ac_dir" in
         1528  +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
         1529  +*)
  1082   1530     ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1083         -  # A "../" for each directory in $ac_dir_suffix.
  1084         -  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  1085         -else
  1086         -  ac_dir_suffix= ac_top_builddir=
  1087         -fi
         1531  +  # A ".." for each directory in $ac_dir_suffix.
         1532  +  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
         1533  +  case $ac_top_builddir_sub in
         1534  +  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
         1535  +  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
         1536  +  esac ;;
         1537  +esac
         1538  +ac_abs_top_builddir=$ac_pwd
         1539  +ac_abs_builddir=$ac_pwd$ac_dir_suffix
         1540  +# for backward compatibility:
         1541  +ac_top_builddir=$ac_top_build_prefix
  1088   1542   
  1089   1543   case $srcdir in
  1090         -  .)  # No --srcdir option.  We are building in place.
         1544  +  .)  # We are building in place.
  1091   1545       ac_srcdir=.
  1092         -    if test -z "$ac_top_builddir"; then
  1093         -       ac_top_srcdir=.
  1094         -    else
  1095         -       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  1096         -    fi ;;
  1097         -  [\\/]* | ?:[\\/]* )  # Absolute path.
         1546  +    ac_top_srcdir=$ac_top_builddir_sub
         1547  +    ac_abs_top_srcdir=$ac_pwd ;;
         1548  +  [\\/]* | ?:[\\/]* )  # Absolute name.
  1098   1549       ac_srcdir=$srcdir$ac_dir_suffix;
  1099         -    ac_top_srcdir=$srcdir ;;
  1100         -  *) # Relative path.
  1101         -    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  1102         -    ac_top_srcdir=$ac_top_builddir$srcdir ;;
  1103         -esac
  1104         -
  1105         -# Do not use `cd foo && pwd` to compute absolute paths, because
  1106         -# the directories may not exist.
  1107         -case `pwd` in
  1108         -.) ac_abs_builddir="$ac_dir";;
  1109         -*)
  1110         -  case "$ac_dir" in
  1111         -  .) ac_abs_builddir=`pwd`;;
  1112         -  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  1113         -  *) ac_abs_builddir=`pwd`/"$ac_dir";;
  1114         -  esac;;
  1115         -esac
  1116         -case $ac_abs_builddir in
  1117         -.) ac_abs_top_builddir=${ac_top_builddir}.;;
  1118         -*)
  1119         -  case ${ac_top_builddir}. in
  1120         -  .) ac_abs_top_builddir=$ac_abs_builddir;;
  1121         -  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  1122         -  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  1123         -  esac;;
  1124         -esac
  1125         -case $ac_abs_builddir in
  1126         -.) ac_abs_srcdir=$ac_srcdir;;
  1127         -*)
  1128         -  case $ac_srcdir in
  1129         -  .) ac_abs_srcdir=$ac_abs_builddir;;
  1130         -  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  1131         -  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  1132         -  esac;;
  1133         -esac
  1134         -case $ac_abs_builddir in
  1135         -.) ac_abs_top_srcdir=$ac_top_srcdir;;
  1136         -*)
  1137         -  case $ac_top_srcdir in
  1138         -  .) ac_abs_top_srcdir=$ac_abs_builddir;;
  1139         -  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  1140         -  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  1141         -  esac;;
  1142         -esac
  1143         -
  1144         -    cd $ac_dir
  1145         -    # Check for guested configure; otherwise get Cygnus style configure.
  1146         -    if test -f $ac_srcdir/configure.gnu; then
  1147         -      echo
  1148         -      $SHELL $ac_srcdir/configure.gnu  --help=recursive
  1149         -    elif test -f $ac_srcdir/configure; then
  1150         -      echo
  1151         -      $SHELL $ac_srcdir/configure  --help=recursive
  1152         -    elif test -f $ac_srcdir/configure.ac ||
  1153         -	   test -f $ac_srcdir/configure.in; then
  1154         -      echo
  1155         -      $ac_configure --help
         1550  +    ac_top_srcdir=$srcdir
         1551  +    ac_abs_top_srcdir=$srcdir ;;
         1552  +  *) # Relative name.
         1553  +    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
         1554  +    ac_top_srcdir=$ac_top_build_prefix$srcdir
         1555  +    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
         1556  +esac
         1557  +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
         1558  +
         1559  +    cd "$ac_dir" || { ac_status=$?; continue; }
         1560  +    # Check for guested configure.
         1561  +    if test -f "$ac_srcdir/configure.gnu"; then
         1562  +      echo &&
         1563  +      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
         1564  +    elif test -f "$ac_srcdir/configure"; then
         1565  +      echo &&
         1566  +      $SHELL "$ac_srcdir/configure" --help=recursive
  1156   1567       else
  1157   1568         echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1158         -    fi
  1159         -    cd $ac_popdir
         1569  +    fi || ac_status=$?
         1570  +    cd "$ac_pwd" || { ac_status=$?; break; }
  1160   1571     done
  1161   1572   fi
  1162   1573   
  1163         -test -n "$ac_init_help" && exit 0
         1574  +test -n "$ac_init_help" && exit $ac_status
  1164   1575   if $ac_init_version; then
  1165   1576     cat <<\_ACEOF
         1577  +configure
         1578  +generated by GNU Autoconf 2.61
  1166   1579   
  1167         -Copyright (C) 2003 Free Software Foundation, Inc.
         1580  +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
         1581  +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  1168   1582   This configure script is free software; the Free Software Foundation
  1169   1583   gives unlimited permission to copy, distribute and modify it.
  1170   1584   _ACEOF
  1171         -  exit 0
         1585  +  exit
  1172   1586   fi
  1173         -exec 5>config.log
  1174         -cat >&5 <<_ACEOF
         1587  +cat >config.log <<_ACEOF
  1175   1588   This file contains any messages produced by compilers while
  1176   1589   running configure, to aid debugging if configure makes a mistake.
  1177   1590   
  1178   1591   It was created by $as_me, which was
  1179         -generated by GNU Autoconf 2.59.  Invocation command line was
         1592  +generated by GNU Autoconf 2.61.  Invocation command line was
  1180   1593   
  1181   1594     $ $0 $@
  1182   1595   
  1183   1596   _ACEOF
         1597  +exec 5>>config.log
  1184   1598   {
  1185   1599   cat <<_ASUNAME
  1186   1600   ## --------- ##
  1187   1601   ## Platform. ##
  1188   1602   ## --------- ##
  1189   1603   
  1190   1604   hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
................................................................................
  1195   1609   
  1196   1610   /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1197   1611   /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1198   1612   
  1199   1613   /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1200   1614   /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1201   1615   /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1202         -hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
         1616  +/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1203   1617   /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1204   1618   /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1205   1619   /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1206   1620   
  1207   1621   _ASUNAME
  1208   1622   
  1209   1623   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1210   1624   for as_dir in $PATH
  1211   1625   do
  1212   1626     IFS=$as_save_IFS
  1213   1627     test -z "$as_dir" && as_dir=.
  1214   1628     echo "PATH: $as_dir"
  1215   1629   done
         1630  +IFS=$as_save_IFS
  1216   1631   
  1217   1632   } >&5
  1218   1633   
  1219   1634   cat >&5 <<_ACEOF
  1220   1635   
  1221   1636   
  1222   1637   ## ----------- ##
................................................................................
  1230   1645   # Strip out --no-create and --no-recursion so they do not pile up.
  1231   1646   # Strip out --silent because we don't want to record it for future runs.
  1232   1647   # Also quote any args containing shell meta-characters.
  1233   1648   # Make two passes to allow for proper duplicate-argument suppression.
  1234   1649   ac_configure_args=
  1235   1650   ac_configure_args0=
  1236   1651   ac_configure_args1=
  1237         -ac_sep=
  1238   1652   ac_must_keep_next=false
  1239   1653   for ac_pass in 1 2
  1240   1654   do
  1241   1655     for ac_arg
  1242   1656     do
  1243   1657       case $ac_arg in
  1244   1658       -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1245   1659       -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1246   1660       | -silent | --silent | --silen | --sile | --sil)
  1247   1661         continue ;;
  1248         -    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
         1662  +    *\'*)
  1249   1663         ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1250   1664       esac
  1251   1665       case $ac_pass in
  1252   1666       1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1253   1667       2)
  1254   1668         ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1255   1669         if test $ac_must_keep_next = true; then
................................................................................
  1263   1677   	    case "$ac_configure_args0 " in
  1264   1678   	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1265   1679   	    esac
  1266   1680   	    ;;
  1267   1681   	  -* ) ac_must_keep_next=true ;;
  1268   1682   	esac
  1269   1683         fi
  1270         -      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  1271         -      # Get rid of the leading space.
  1272         -      ac_sep=" "
         1684  +      ac_configure_args="$ac_configure_args '$ac_arg'"
  1273   1685         ;;
  1274   1686       esac
  1275   1687     done
  1276   1688   done
  1277   1689   $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1278   1690   $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1279   1691   
  1280   1692   # When interrupted or exit'd, cleanup temporary files, and complete
  1281   1693   # config.log.  We remove comments because anyway the quotes in there
  1282   1694   # would cause problems or look ugly.
  1283         -# WARNING: Be sure not to use single quotes in there, as some shells,
  1284         -# such as our DU 5.0 friend, will then `close' the trap.
         1695  +# WARNING: Use '\'' to represent an apostrophe within the trap.
         1696  +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1285   1697   trap 'exit_status=$?
  1286   1698     # Save into config.log some information that might help in debugging.
  1287   1699     {
  1288   1700       echo
  1289   1701   
  1290   1702       cat <<\_ASBOX
  1291   1703   ## ---------------- ##
  1292   1704   ## Cache variables. ##
  1293   1705   ## ---------------- ##
  1294   1706   _ASBOX
  1295   1707       echo
  1296   1708       # The following way of writing the cache mishandles newlines in values,
  1297         -{
         1709  +(
         1710  +  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
         1711  +    eval ac_val=\$$ac_var
         1712  +    case $ac_val in #(
         1713  +    *${as_nl}*)
         1714  +      case $ac_var in #(
         1715  +      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
         1716  +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
         1717  +      esac
         1718  +      case $ac_var in #(
         1719  +      _ | IFS | as_nl) ;; #(
         1720  +      *) $as_unset $ac_var ;;
         1721  +      esac ;;
         1722  +    esac
         1723  +  done
  1298   1724     (set) 2>&1 |
  1299         -    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
  1300         -    *ac_space=\ *)
  1301         -      sed -n \
  1302         -	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
  1303         -	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
  1304         -      ;;
  1305         -    *)
         1725  +    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
         1726  +    *${as_nl}ac_space=\ *)
  1306   1727         sed -n \
  1307         -	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
         1728  +	"s/'\''/'\''\\\\'\'''\''/g;
         1729  +	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
         1730  +      ;; #(
         1731  +    *)
         1732  +      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1308   1733         ;;
  1309         -    esac;
  1310         -}
         1734  +    esac |
         1735  +    sort
         1736  +)
  1311   1737       echo
  1312   1738   
  1313   1739       cat <<\_ASBOX
  1314   1740   ## ----------------- ##
  1315   1741   ## Output variables. ##
  1316   1742   ## ----------------- ##
  1317   1743   _ASBOX
  1318   1744       echo
  1319   1745       for ac_var in $ac_subst_vars
  1320   1746       do
  1321         -      eval ac_val=$`echo $ac_var`
  1322         -      echo "$ac_var='"'"'$ac_val'"'"'"
         1747  +      eval ac_val=\$$ac_var
         1748  +      case $ac_val in
         1749  +      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
         1750  +      esac
         1751  +      echo "$ac_var='\''$ac_val'\''"
  1323   1752       done | sort
  1324   1753       echo
  1325   1754   
  1326   1755       if test -n "$ac_subst_files"; then
  1327   1756         cat <<\_ASBOX
  1328         -## ------------- ##
  1329         -## Output files. ##
  1330         -## ------------- ##
         1757  +## ------------------- ##
         1758  +## File substitutions. ##
         1759  +## ------------------- ##
  1331   1760   _ASBOX
  1332   1761         echo
  1333   1762         for ac_var in $ac_subst_files
  1334   1763         do
  1335         -	eval ac_val=$`echo $ac_var`
  1336         -	echo "$ac_var='"'"'$ac_val'"'"'"
         1764  +	eval ac_val=\$$ac_var
         1765  +	case $ac_val in
         1766  +	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
         1767  +	esac
         1768  +	echo "$ac_var='\''$ac_val'\''"
  1337   1769         done | sort
  1338   1770         echo
  1339   1771       fi
  1340   1772   
  1341   1773       if test -s confdefs.h; then
  1342   1774         cat <<\_ASBOX
  1343   1775   ## ----------- ##
  1344   1776   ## confdefs.h. ##
  1345   1777   ## ----------- ##
  1346   1778   _ASBOX
  1347   1779         echo
  1348         -      sed "/^$/d" confdefs.h | sort
         1780  +      cat confdefs.h
  1349   1781         echo
  1350   1782       fi
  1351   1783       test "$ac_signal" != 0 &&
  1352   1784         echo "$as_me: caught signal $ac_signal"
  1353   1785       echo "$as_me: exit $exit_status"
  1354   1786     } >&5
  1355         -  rm -f core *.core &&
  1356         -  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
         1787  +  rm -f core *.core core.conftest.* &&
         1788  +    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1357   1789       exit $exit_status
  1358         -     ' 0
         1790  +' 0
  1359   1791   for ac_signal in 1 2 13 15; do
  1360   1792     trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1361   1793   done
  1362   1794   ac_signal=0
  1363   1795   
  1364   1796   # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1365         -rm -rf conftest* confdefs.h
  1366         -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
  1367         -echo >confdefs.h
         1797  +rm -f -r conftest* confdefs.h
  1368   1798   
  1369   1799   # Predefined preprocessor variables.
  1370   1800   
  1371   1801   cat >>confdefs.h <<_ACEOF
  1372   1802   #define PACKAGE_NAME "$PACKAGE_NAME"
  1373   1803   _ACEOF
  1374   1804   
................................................................................
  1391   1821   cat >>confdefs.h <<_ACEOF
  1392   1822   #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1393   1823   _ACEOF
  1394   1824   
  1395   1825   
  1396   1826   # Let the site file select an alternate cache file if it wants to.
  1397   1827   # Prefer explicitly selected file to automatically selected ones.
  1398         -if test -z "$CONFIG_SITE"; then
  1399         -  if test "x$prefix" != xNONE; then
  1400         -    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  1401         -  else
  1402         -    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  1403         -  fi
         1828  +if test -n "$CONFIG_SITE"; then
         1829  +  set x "$CONFIG_SITE"
         1830  +elif test "x$prefix" != xNONE; then
         1831  +  set x "$prefix/share/config.site" "$prefix/etc/config.site"
         1832  +else
         1833  +  set x "$ac_default_prefix/share/config.site" \
         1834  +	"$ac_default_prefix/etc/config.site"
  1404   1835   fi
  1405         -for ac_site_file in $CONFIG_SITE; do
         1836  +shift
         1837  +for ac_site_file
         1838  +do
  1406   1839     if test -r "$ac_site_file"; then
  1407   1840       { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1408   1841   echo "$as_me: loading site script $ac_site_file" >&6;}
  1409   1842       sed 's/^/| /' "$ac_site_file" >&5
  1410   1843       . "$ac_site_file"
  1411   1844     fi
  1412   1845   done
................................................................................
  1414   1847   if test -r "$cache_file"; then
  1415   1848     # Some versions of bash will fail to source /dev/null (special
  1416   1849     # files actually), so we avoid doing that.
  1417   1850     if test -f "$cache_file"; then
  1418   1851       { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1419   1852   echo "$as_me: loading cache $cache_file" >&6;}
  1420   1853       case $cache_file in
  1421         -      [\\/]* | ?:[\\/]* ) . $cache_file;;
  1422         -      *)                      . ./$cache_file;;
         1854  +      [\\/]* | ?:[\\/]* ) . "$cache_file";;
         1855  +      *)                      . "./$cache_file";;
  1423   1856       esac
  1424   1857     fi
  1425   1858   else
  1426   1859     { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1427   1860   echo "$as_me: creating cache $cache_file" >&6;}
  1428   1861     >$cache_file
  1429   1862   fi
  1430   1863   
  1431   1864   # Check that the precious variables saved in the cache have kept the same
  1432   1865   # value.
  1433   1866   ac_cache_corrupted=false
  1434         -for ac_var in `(set) 2>&1 |
  1435         -	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
         1867  +for ac_var in $ac_precious_vars; do
  1436   1868     eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1437   1869     eval ac_new_set=\$ac_env_${ac_var}_set
  1438         -  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  1439         -  eval ac_new_val="\$ac_env_${ac_var}_value"
         1870  +  eval ac_old_val=\$ac_cv_env_${ac_var}_value
         1871  +  eval ac_new_val=\$ac_env_${ac_var}_value
  1440   1872     case $ac_old_set,$ac_new_set in
  1441   1873       set,)
  1442   1874         { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1443   1875   echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1444   1876         ac_cache_corrupted=: ;;
  1445   1877       ,set)
  1446   1878         { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
................................................................................
  1457   1889   echo "$as_me:   current value: $ac_new_val" >&2;}
  1458   1890   	ac_cache_corrupted=:
  1459   1891         fi;;
  1460   1892     esac
  1461   1893     # Pass precious variables to config.status.
  1462   1894     if test "$ac_new_set" = set; then
  1463   1895       case $ac_new_val in
  1464         -    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1465         -      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
         1896  +    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1466   1897       *) ac_arg=$ac_var=$ac_new_val ;;
  1467   1898       esac
  1468   1899       case " $ac_configure_args " in
  1469   1900         *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1470   1901         *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1471   1902       esac
  1472   1903     fi
................................................................................
  1475   1906     { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1476   1907   echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1477   1908     { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1478   1909   echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1479   1910      { (exit 1); exit 1; }; }
  1480   1911   fi
  1481   1912   
  1482         -ac_ext=c
  1483         -ac_cpp='$CPP $CPPFLAGS'
  1484         -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1485         -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1486         -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1487         -
  1488         -
  1489         -
  1490         -
  1491         -
  1492         -
  1493         -
  1494         -
  1495         -
  1496         -
  1497         -
  1498         -
  1499         -
  1500         -
  1501         -
  1502         -
  1503         -
         1913  +
         1914  +
         1915  +
         1916  +
         1917  +
         1918  +
         1919  +
         1920  +
         1921  +
         1922  +
         1923  +
         1924  +
         1925  +
         1926  +
         1927  +
         1928  +
         1929  +ac_ext=c
         1930  +ac_cpp='$CPP $CPPFLAGS'
         1931  +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
         1932  +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
         1933  +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1504   1934   
  1505   1935   
  1506   1936   
  1507   1937   # The following RCS revision string applies to configure.in
  1508         -# $Revision: 1.45 $
         1938  +# $Revision: 1.46 $
  1509   1939   
  1510   1940   #########
  1511   1941   # Programs needed
  1512   1942   #
  1513         -# Check whether --enable-shared or --disable-shared was given.
         1943  +# Check whether --enable-shared was given.
  1514   1944   if test "${enable_shared+set}" = set; then
  1515         -  enableval="$enable_shared"
  1516         -  p=${PACKAGE-default}
         1945  +  enableval=$enable_shared; p=${PACKAGE-default}
  1517   1946       case $enableval in
  1518   1947       yes) enable_shared=yes ;;
  1519   1948       no) enable_shared=no ;;
  1520   1949       *)
  1521   1950         enable_shared=no
  1522   1951         # Look at the argument we got.  We use all the common list separators.
  1523   1952         lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
................................................................................
  1528   1957   	fi
  1529   1958         done
  1530   1959         IFS="$lt_save_ifs"
  1531   1960         ;;
  1532   1961       esac
  1533   1962   else
  1534   1963     enable_shared=yes
  1535         -fi;
         1964  +fi
  1536   1965   
  1537         -# Check whether --enable-static or --disable-static was given.
         1966  +
         1967  +# Check whether --enable-static was given.
  1538   1968   if test "${enable_static+set}" = set; then
  1539         -  enableval="$enable_static"
  1540         -  p=${PACKAGE-default}
         1969  +  enableval=$enable_static; p=${PACKAGE-default}
  1541   1970       case $enableval in
  1542   1971       yes) enable_static=yes ;;
  1543   1972       no) enable_static=no ;;
  1544   1973       *)
  1545   1974        enable_static=no
  1546   1975         # Look at the argument we got.  We use all the common list separators.
  1547   1976         lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
................................................................................
  1552   1981   	fi
  1553   1982         done
  1554   1983         IFS="$lt_save_ifs"
  1555   1984         ;;
  1556   1985       esac
  1557   1986   else
  1558   1987     enable_static=yes
  1559         -fi;
         1988  +fi
  1560   1989   
  1561         -# Check whether --enable-fast-install or --disable-fast-install was given.
         1990  +
         1991  +# Check whether --enable-fast-install was given.
  1562   1992   if test "${enable_fast_install+set}" = set; then
  1563         -  enableval="$enable_fast_install"
  1564         -  p=${PACKAGE-default}
         1993  +  enableval=$enable_fast_install; p=${PACKAGE-default}
  1565   1994       case $enableval in
  1566   1995       yes) enable_fast_install=yes ;;
  1567   1996       no) enable_fast_install=no ;;
  1568   1997       *)
  1569   1998         enable_fast_install=no
  1570   1999         # Look at the argument we got.  We use all the common list separators.
  1571   2000         lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
................................................................................
  1576   2005   	fi
  1577   2006         done
  1578   2007         IFS="$lt_save_ifs"
  1579   2008         ;;
  1580   2009       esac
  1581   2010   else
  1582   2011     enable_fast_install=yes
  1583         -fi;
         2012  +fi
         2013  +
  1584   2014   
  1585   2015   ac_aux_dir=
  1586         -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  1587         -  if test -f $ac_dir/install-sh; then
         2016  +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
         2017  +  if test -f "$ac_dir/install-sh"; then
  1588   2018       ac_aux_dir=$ac_dir
  1589   2019       ac_install_sh="$ac_aux_dir/install-sh -c"
  1590   2020       break
  1591         -  elif test -f $ac_dir/install.sh; then
         2021  +  elif test -f "$ac_dir/install.sh"; then
  1592   2022       ac_aux_dir=$ac_dir
  1593   2023       ac_install_sh="$ac_aux_dir/install.sh -c"
  1594   2024       break
  1595         -  elif test -f $ac_dir/shtool; then
         2025  +  elif test -f "$ac_dir/shtool"; then
  1596   2026       ac_aux_dir=$ac_dir
  1597   2027       ac_install_sh="$ac_aux_dir/shtool install -c"
  1598   2028       break
  1599   2029     fi
  1600   2030   done
  1601   2031   if test -z "$ac_aux_dir"; then
  1602         -  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
  1603         -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
         2032  +  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
         2033  +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  1604   2034      { (exit 1); exit 1; }; }
  1605   2035   fi
  1606         -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
  1607         -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
  1608         -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
         2036  +
         2037  +# These three variables are undocumented and unsupported,
         2038  +# and are intended to be withdrawn in a future Autoconf release.
         2039  +# They can cause serious problems if a builder's source tree is in a directory
         2040  +# whose full name contains unusual characters.
         2041  +ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
         2042  +ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
         2043  +ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
         2044  +
  1609   2045   
  1610   2046   # Make sure we can run config.sub.
  1611         -$ac_config_sub sun4 >/dev/null 2>&1 ||
  1612         -  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
  1613         -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
         2047  +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
         2048  +  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
         2049  +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  1614   2050      { (exit 1); exit 1; }; }
  1615   2051   
  1616         -echo "$as_me:$LINENO: checking build system type" >&5
  1617         -echo $ECHO_N "checking build system type... $ECHO_C" >&6
         2052  +{ echo "$as_me:$LINENO: checking build system type" >&5
         2053  +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
  1618   2054   if test "${ac_cv_build+set}" = set; then
  1619   2055     echo $ECHO_N "(cached) $ECHO_C" >&6
  1620   2056   else
  1621         -  ac_cv_build_alias=$build_alias
  1622         -test -z "$ac_cv_build_alias" &&
  1623         -  ac_cv_build_alias=`$ac_config_guess`
  1624         -test -z "$ac_cv_build_alias" &&
         2057  +  ac_build_alias=$build_alias
         2058  +test "x$ac_build_alias" = x &&
         2059  +  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
         2060  +test "x$ac_build_alias" = x &&
  1625   2061     { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  1626   2062   echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  1627   2063      { (exit 1); exit 1; }; }
  1628         -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
  1629         -  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
  1630         -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
         2064  +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
         2065  +  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
         2066  +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  1631   2067      { (exit 1); exit 1; }; }
  1632   2068   
  1633   2069   fi
  1634         -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  1635         -echo "${ECHO_T}$ac_cv_build" >&6
         2070  +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
         2071  +echo "${ECHO_T}$ac_cv_build" >&6; }
         2072  +case $ac_cv_build in
         2073  +*-*-*) ;;
         2074  +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
         2075  +echo "$as_me: error: invalid value of canonical build" >&2;}
         2076  +   { (exit 1); exit 1; }; };;
         2077  +esac
  1636   2078   build=$ac_cv_build
  1637         -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  1638         -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  1639         -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
         2079  +ac_save_IFS=$IFS; IFS='-'
         2080  +set x $ac_cv_build
         2081  +shift
         2082  +build_cpu=$1
         2083  +build_vendor=$2
         2084  +shift; shift
         2085  +# Remember, the first character of IFS is used to create $*,
         2086  +# except with old shells:
         2087  +build_os=$*
         2088  +IFS=$ac_save_IFS
         2089  +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  1640   2090   
  1641   2091   
  1642         -echo "$as_me:$LINENO: checking host system type" >&5
  1643         -echo $ECHO_N "checking host system type... $ECHO_C" >&6
         2092  +{ echo "$as_me:$LINENO: checking host system type" >&5
         2093  +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
  1644   2094   if test "${ac_cv_host+set}" = set; then
  1645   2095     echo $ECHO_N "(cached) $ECHO_C" >&6
  1646   2096   else
  1647         -  ac_cv_host_alias=$host_alias
  1648         -test -z "$ac_cv_host_alias" &&
  1649         -  ac_cv_host_alias=$ac_cv_build_alias
  1650         -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
  1651         -  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
  1652         -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
         2097  +  if test "x$host_alias" = x; then
         2098  +  ac_cv_host=$ac_cv_build
         2099  +else
         2100  +  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
         2101  +    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
         2102  +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  1653   2103      { (exit 1); exit 1; }; }
         2104  +fi
  1654   2105   
  1655   2106   fi
  1656         -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  1657         -echo "${ECHO_T}$ac_cv_host" >&6
         2107  +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
         2108  +echo "${ECHO_T}$ac_cv_host" >&6; }
         2109  +case $ac_cv_host in
         2110  +*-*-*) ;;
         2111  +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
         2112  +echo "$as_me: error: invalid value of canonical host" >&2;}
         2113  +   { (exit 1); exit 1; }; };;
         2114  +esac
  1658   2115   host=$ac_cv_host
  1659         -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  1660         -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  1661         -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
         2116  +ac_save_IFS=$IFS; IFS='-'
         2117  +set x $ac_cv_host
         2118  +shift
         2119  +host_cpu=$1
         2120  +host_vendor=$2
         2121  +shift; shift
         2122  +# Remember, the first character of IFS is used to create $*,
         2123  +# except with old shells:
         2124  +host_os=$*
         2125  +IFS=$ac_save_IFS
         2126  +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  1662   2127   
  1663   2128   
  1664   2129   ac_ext=c
  1665   2130   ac_cpp='$CPP $CPPFLAGS'
  1666   2131   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1667   2132   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1668   2133   ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1669   2134   if test -n "$ac_tool_prefix"; then
  1670   2135     # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  1671   2136   set dummy ${ac_tool_prefix}gcc; ac_word=$2
  1672         -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1673         -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
         2137  +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
         2138  +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1674   2139   if test "${ac_cv_prog_CC+set}" = set; then
  1675   2140     echo $ECHO_N "(cached) $ECHO_C" >&6
  1676   2141   else
  1677   2142     if test -n "$CC"; then
  1678   2143     ac_cv_prog_CC="$CC" # Let the user override the test.
  1679   2144   else
  1680   2145   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1681   2146   for as_dir in $PATH
  1682   2147   do
  1683   2148     IFS=$as_save_IFS
  1684   2149     test -z "$as_dir" && as_dir=.
  1685   2150     for ac_exec_ext in '' $ac_executable_extensions; do
  1686         -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
         2151  +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1687   2152       ac_cv_prog_CC="${ac_tool_prefix}gcc"
  1688   2153       echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1689   2154       break 2
  1690   2155     fi
  1691   2156   done
  1692   2157   done
         2158  +IFS=$as_save_IFS
  1693   2159   
  1694   2160   fi
  1695   2161   fi
  1696   2162   CC=$ac_cv_prog_CC
  1697   2163   if test -n "$CC"; then
  1698         -  echo "$as_me:$LINENO: result: $CC" >&5
  1699         -echo "${ECHO_T}$CC" >&6
         2164  +  { echo "$as_me:$LINENO: result: $CC" >&5
         2165  +echo "${ECHO_T}$CC" >&6; }
  1700   2166   else
  1701         -  echo "$as_me:$LINENO: result: no" >&5
  1702         -echo "${ECHO_T}no" >&6
         2167  +  { echo "$as_me:$LINENO: result: no" >&5
         2168  +echo "${ECHO_T}no" >&6; }
  1703   2169   fi
         2170  +
  1704   2171   
  1705   2172   fi
  1706   2173   if test -z "$ac_cv_prog_CC"; then
  1707   2174     ac_ct_CC=$CC
  1708   2175     # Extract the first word of "gcc", so it can be a program name with args.
  1709   2176   set dummy gcc; ac_word=$2
  1710         -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1711         -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
         2177  +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
         2178  +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1712   2179   if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1713   2180     echo $ECHO_N "(cached) $ECHO_C" >&6
  1714   2181   else
  1715   2182     if test -n "$ac_ct_CC"; then
  1716   2183     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1717   2184   else
  1718   2185   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1719   2186   for as_dir in $PATH
  1720   2187   do
  1721   2188     IFS=$as_save_IFS
  1722   2189     test -z "$as_dir" && as_dir=.
  1723   2190     for ac_exec_ext in '' $ac_executable_extensions; do
  1724         -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
         2191  +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1725   2192       ac_cv_prog_ac_ct_CC="gcc"
  1726   2193       echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1727   2194       break 2
  1728   2195     fi
  1729   2196   done
  1730   2197   done
         2198  +IFS=$as_save_IFS
  1731   2199   
  1732   2200   fi
  1733   2201   fi
  1734   2202   ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1735   2203   if test -n "$ac_ct_CC"; then
  1736         -  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1737         -echo "${ECHO_T}$ac_ct_CC" >&6
         2204  +  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
         2205  +echo "${ECHO_T}$ac_ct_CC" >&6; }
  1738   2206   else
  1739         -  echo "$as_me:$LINENO: result: no" >&5
  1740         -echo "${ECHO_T}no" >&6
         2207  +  { echo "$as_me:$LINENO: result: no" >&5
         2208  +echo "${ECHO_T}no" >&6; }
  1741   2209   fi
  1742   2210   
  1743         -  CC=$ac_ct_CC
         2211  +  if test "x$ac_ct_CC" = x; then
         2212  +    CC=""
         2213  +  else
         2214  +    case $cross_compiling:$ac_tool_warned in
         2215  +yes:)
         2216  +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
         2217  +whose name does not start with the host triplet.  If you think this
         2218  +configuration is useful to you, please write to autoconf@gnu.org." >&5
         2219  +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
         2220  +whose name does not start with the host triplet.  If you think this
         2221  +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
         2222  +ac_tool_warned=yes ;;
         2223  +esac
         2224  +    CC=$ac_ct_CC
         2225  +  fi
  1744   2226   else
  1745   2227     CC="$ac_cv_prog_CC"
  1746   2228   fi
  1747   2229   
  1748   2230   if test -z "$CC"; then
  1749         -  if test -n "$ac_tool_prefix"; then
  1750         -  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
         2231  +          if test -n "$ac_tool_prefix"; then
         2232  +    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  1751   2233   set dummy ${ac_tool_prefix}cc; ac_word=$2
  1752         -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1753         -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
         2234  +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
         2235  +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1754   2236   if test "${ac_cv_prog_CC+set}" = set; then
  1755   2237     echo $ECHO_N "(cached) $ECHO_C" >&6
  1756   2238   else
  1757   2239     if test -n "$CC"; then
  1758   2240     ac_cv_prog_CC="$CC" # Let the user override the test.
  1759   2241   else
  1760   2242   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1761   2243   for as_dir in $PATH
  1762   2244   do
  1763   2245     IFS=$as_save_IFS
  1764   2246     test -z "$as_dir" && as_dir=.
  1765   2247     for ac_exec_ext in '' $ac_executable_extensions; do
  1766         -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
         2248  +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1767   2249       ac_cv_prog_CC="${ac_tool_prefix}cc"
  1768   2250       echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1769   2251       break 2
  1770   2252     fi
  1771   2253   done
  1772   2254   done
         2255  +IFS=$as_save_IFS
  1773   2256   
  1774   2257   fi
  1775   2258   fi
  1776   2259   CC=$ac_cv_prog_CC
  1777   2260   if test -n "$CC"; then
  1778         -  echo "$as_me:$LINENO: result: $CC" >&5
  1779         -echo "${ECHO_T}$CC" >&6
  1780         -else
  1781         -  echo "$as_me:$LINENO: result: no" >&5
  1782         -echo "${ECHO_T}no" >&6
  1783         -fi
  1784         -
  1785         -fi
  1786         -if test -z "$ac_cv_prog_CC"; then
  1787         -  ac_ct_CC=$CC
  1788         -  # Extract the first word of "cc", so it can be a program name with args.
  1789         -set dummy cc; ac_word=$2
  1790         -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1791         -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1792         -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1793         -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1794         -else
  1795         -  if test -n "$ac_ct_CC"; then
  1796         -  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1797         -else
  1798         -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1799         -for as_dir in $PATH
  1800         -do
  1801         -  IFS=$as_save_IFS
  1802         -  test -z "$as_dir" && as_dir=.
  1803         -  for ac_exec_ext in '' $ac_executable_extensions; do
  1804         -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1805         -    ac_cv_prog_ac_ct_CC="cc"
  1806         -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1807         -    break 2
  1808         -  fi
  1809         -done
  1810         -done
  1811         -
  1812         -fi
  1813         -fi
  1814         -ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1815         -if test -n "$ac_ct_CC"; then
  1816         -  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1817         -echo "${ECHO_T}$ac_ct_CC" >&6
  1818         -else
  1819         -  echo "$as_me:$LINENO: result: no" >&5
  1820         -echo "${ECHO_T}no" >&6
  1821         -fi
  1822         -
  1823         -  CC=$ac_ct_CC
  1824         -else
  1825         -  CC="$ac_cv_prog_CC"
  1826         -fi
  1827         -
         2261  +  { echo "$as_me:$LINENO: result: $CC" >&5
         2262  +echo "${ECHO_T}$CC" >&6; }
         2263  +else
         2264  +  { echo "$as_me:$LINENO: result: no" >&5
         2265  +echo "${ECHO_T}no" >&6; }
         2266  +fi
         2267  +
         2268  +
         2269  +  fi
  1828   2270   fi
  1829   2271   if test -z "$CC"; then
  1830   2272     # Extract the first word of "cc", so it can be a program name with args.
  1831   2273   set dummy cc; ac_word=$2
  1832         -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1833         -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
         2274  +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
         2275  +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1834   2276   if test "${ac_cv_prog_CC+set}" = set; then
  1835   2277     echo $ECHO_N "(cached) $ECHO_C" >&6
  1836   2278   else
  1837   2279     if test -n "$CC"; then
  1838   2280     ac_cv_prog_CC="$CC" # Let the user override the test.
  1839   2281   else
  1840   2282     ac_prog_rejected=no
  1841   2283   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1842   2284   for as_dir in $PATH
  1843   2285   do
  1844   2286     IFS=$as_save_IFS
  1845   2287     test -z "$as_dir" && as_dir=.
  1846   2288     for ac_exec_ext in '' $ac_executable_extensions; do
  1847         -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
         2289  +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1848   2290       if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  1849   2291          ac_prog_rejected=yes
  1850   2292          continue
  1851   2293        fi
  1852   2294       ac_cv_prog_CC="cc"
  1853   2295       echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1854   2296       break 2
  1855   2297     fi
  1856   2298   done
  1857   2299   done
         2300  +IFS=$as_save_IFS
  1858   2301   
  1859   2302   if test $ac_prog_rejected = yes; then
  1860   2303     # We found a bogon in the path, so make sure we never use it.
  1861   2304     set dummy $ac_cv_prog_CC
  1862   2305     shift
  1863   2306     if test $# != 0; then
  1864   2307       # We chose a different compiler from the bogus one.
................................................................................
  1868   2311       ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  1869   2312     fi
  1870   2313   fi
  1871   2314   fi
  1872   2315   fi
  1873   2316   CC=$ac_cv_prog_CC
  1874   2317   if test -n "$CC"; then
  1875         -  echo "$as_me:$LINENO: result: $CC" >&5
  1876         -echo "${ECHO_T}$CC" >&6
         2318  +  { echo "$as_me:$LINENO: result: $CC" >&5
         2319  +echo "${ECHO_T}$CC" >&6; }
  1877   2320   else
  1878         -  echo "$as_me:$LINENO: result: no" >&5
  1879         -echo "${ECHO_T}no" >&6
         2321  +  { echo "$as_me:$LINENO: result: no" >&5
         2322  +echo "${ECHO_T}no" >&6; }
  1880   2323   fi
         2324  +
  1881   2325   
  1882   2326   fi
  1883   2327   if test -z "$CC"; then
  1884   2328     if test -n "$ac_tool_prefix"; then
  1885         -  for ac_prog in cl
         2329  +  for ac_prog in cl.exe
  1886   2330     do
  1887   2331       # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  1888   2332   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  1889         -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1890         -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
         2333  +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
         2334  +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1891   2335   if test "${ac_cv_prog_CC+set}" = set; then
  1892   2336     echo $ECHO_N "(cached) $ECHO_C" >&6
  1893   2337   else
  1894   2338     if test -n "$CC"; then
  1895   2339     ac_cv_prog_CC="$CC" # Let the user override the test.
  1896   2340   else
  1897   2341   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1898   2342   for as_dir in $PATH
  1899   2343   do
  1900   2344     IFS=$as_save_IFS
  1901   2345     test -z "$as_dir" && as_dir=.
  1902   2346     for ac_exec_ext in '' $ac_executable_extensions; do
  1903         -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
         2347  +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1904   2348       ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  1905   2349       echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1906   2350       break 2
  1907   2351     fi
  1908   2352   done
  1909   2353   done
         2354  +IFS=$as_save_IFS
  1910   2355   
  1911   2356   fi
  1912   2357   fi
  1913   2358   CC=$ac_cv_prog_CC
  1914   2359   if test -n "$CC"; then
  1915         -  echo "$as_me:$LINENO: result: $CC" >&5
  1916         -echo "${ECHO_T}$CC" >&6
         2360  +  { echo "$as_me:$LINENO: result: $CC" >&5
         2361  +echo "${ECHO_T}$CC" >&6; }
  1917   2362   else
  1918         -  echo "$as_me:$LINENO: result: no" >&5
  1919         -echo "${ECHO_T}no" >&6
         2363  +  { echo "$as_me:$LINENO: result: no" >&5
         2364  +echo "${ECHO_T}no" >&6; }
  1920   2365   fi
         2366  +
  1921   2367   
  1922   2368       test -n "$CC" && break
  1923   2369     done
  1924   2370   fi
  1925   2371   if test -z "$CC"; then
  1926   2372     ac_ct_CC=$CC
  1927         -  for ac_prog in cl
         2373  +  for ac_prog in cl.exe
  1928   2374   do
  1929   2375     # Extract the first word of "$ac_prog", so it can be a program name with args.
  1930   2376   set dummy $ac_prog; ac_word=$2
  1931         -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1932         -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
         2377  +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
         2378  +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1933   2379   if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1934   2380     echo $ECHO_N "(cached) $ECHO_C" >&6
  1935   2381   else
  1936   2382     if test -n "$ac_ct_CC"; then
  1937   2383     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1938   2384   else
  1939   2385   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1940   2386   for as_dir in $PATH
  1941   2387   do
  1942   2388     IFS=$as_save_IFS
  1943   2389     test -z "$as_dir" && as_dir=.
  1944   2390     for ac_exec_ext in '' $ac_executable_extensions; do
  1945         -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
         2391  +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1946   2392       ac_cv_prog_ac_ct_CC="$ac_prog"
  1947   2393       echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1948   2394       break 2
  1949   2395     fi
  1950   2396   done
  1951   2397   done
         2398  +IFS=$as_save_IFS
  1952   2399   
  1953   2400   fi
  1954   2401   fi
  1955   2402   ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1956   2403   if test -n "$ac_ct_CC"; then
  1957         -  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1958         -echo "${ECHO_T}$ac_ct_CC" >&6
         2404  +  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
         2405  +echo "${ECHO_T}$ac_ct_CC" >&6; }
  1959   2406   else
  1960         -  echo "$as_me:$LINENO: result: no" >&5
  1961         -echo "${ECHO_T}no" >&6
         2407  +  { echo "$as_me:$LINENO: result: no" >&5
         2408  +echo "${ECHO_T}no" >&6; }
  1962   2409   fi
         2410  +
  1963   2411   
  1964   2412     test -n "$ac_ct_CC" && break
  1965   2413   done
  1966   2414   
  1967         -  CC=$ac_ct_CC
         2415  +  if test "x$ac_ct_CC" = x; then
         2416  +    CC=""
         2417  +  else
         2418  +    case $cross_compiling:$ac_tool_warned in
         2419  +yes:)
         2420  +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
         2421  +whose name does not start with the host triplet.  If you think this
         2422  +configuration is useful to you, please write to autoconf@gnu.org." >&5
         2423  +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
         2424  +whose name does not start with the host triplet.  If you think this
         2425  +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
         2426  +ac_tool_warned=yes ;;
         2427  +esac
         2428  +    CC=$ac_ct_CC
         2429  +  fi
  1968   2430   fi
  1969   2431   
  1970   2432   fi
  1971   2433   
  1972   2434   
  1973   2435   test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  1974   2436   See \`config.log' for more details." >&5
  1975   2437   echo "$as_me: error: no acceptable C compiler found in \$PATH
  1976   2438   See \`config.log' for more details." >&2;}
  1977   2439      { (exit 1); exit 1; }; }
  1978   2440   
  1979   2441   # Provide some information about the compiler.
  1980         -echo "$as_me:$LINENO:" \
  1981         -     "checking for C compiler version" >&5
         2442  +echo "$as_me:$LINENO: checking for C compiler version" >&5
  1982   2443   ac_compiler=`set X $ac_compile; echo $2`
  1983         -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
  1984         -  (eval $ac_compiler --version </dev/null >&5) 2>&5
         2444  +{ (ac_try="$ac_compiler --version >&5"
         2445  +case "(($ac_try" in
         2446  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         2447  +  *) ac_try_echo=$ac_try;;
         2448  +esac
         2449  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         2450  +  (eval "$ac_compiler --version >&5") 2>&5
  1985   2451     ac_status=$?
  1986   2452     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1987   2453     (exit $ac_status); }
  1988         -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
  1989         -  (eval $ac_compiler -v </dev/null >&5) 2>&5
         2454  +{ (ac_try="$ac_compiler -v >&5"
         2455  +case "(($ac_try" in
         2456  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         2457  +  *) ac_try_echo=$ac_try;;
         2458  +esac
         2459  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         2460  +  (eval "$ac_compiler -v >&5") 2>&5
  1990   2461     ac_status=$?
  1991   2462     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1992   2463     (exit $ac_status); }
  1993         -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
  1994         -  (eval $ac_compiler -V </dev/null >&5) 2>&5
         2464  +{ (ac_try="$ac_compiler -V >&5"
         2465  +case "(($ac_try" in
         2466  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         2467  +  *) ac_try_echo=$ac_try;;
         2468  +esac
         2469  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         2470  +  (eval "$ac_compiler -V >&5") 2>&5
  1995   2471     ac_status=$?
  1996   2472     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1997   2473     (exit $ac_status); }
  1998   2474   
  1999   2475   cat >conftest.$ac_ext <<_ACEOF
  2000   2476   /* confdefs.h.  */
  2001   2477   _ACEOF
................................................................................
  2012   2488   }
  2013   2489   _ACEOF
  2014   2490   ac_clean_files_save=$ac_clean_files
  2015   2491   ac_clean_files="$ac_clean_files a.out a.exe b.out"
  2016   2492   # Try to create an executable without -o first, disregard a.out.
  2017   2493   # It will help us diagnose broken compilers, and finding out an intuition
  2018   2494   # of exeext.
  2019         -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2020         -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
         2495  +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
         2496  +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
  2021   2497   ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2022         -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
  2023         -  (eval $ac_link_default) 2>&5
         2498  +#
         2499  +# List of possible output files, starting from the most likely.
         2500  +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
         2501  +# only as a last resort.  b.out is created by i960 compilers.
         2502  +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
         2503  +#
         2504  +# The IRIX 6 linker writes into existing files which may not be
         2505  +# executable, retaining their permissions.  Remove them first so a
         2506  +# subsequent execution test works.
         2507  +ac_rmfiles=
         2508  +for ac_file in $ac_files
         2509  +do
         2510  +  case $ac_file in
         2511  +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
         2512  +    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
         2513  +  esac
         2514  +done
         2515  +rm -f $ac_rmfiles
         2516  +
         2517  +if { (ac_try="$ac_link_default"
         2518  +case "(($ac_try" in
         2519  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         2520  +  *) ac_try_echo=$ac_try;;
         2521  +esac
         2522  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         2523  +  (eval "$ac_link_default") 2>&5
  2024   2524     ac_status=$?
  2025   2525     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2026   2526     (exit $ac_status); }; then
  2027         -  # Find the output, starting from the most likely.  This scheme is
  2028         -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
  2029         -# resort.
  2030         -
  2031         -# Be careful to initialize this variable, since it used to be cached.
  2032         -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
  2033         -ac_cv_exeext=
  2034         -# b.out is created by i960 compilers.
  2035         -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
         2527  +  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
         2528  +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
         2529  +# in a Makefile.  We should not override ac_cv_exeext if it was cached,
         2530  +# so that the user can short-circuit this test for compilers unknown to
         2531  +# Autoconf.
         2532  +for ac_file in $ac_files ''
  2036   2533   do
  2037   2534     test -f "$ac_file" || continue
  2038   2535     case $ac_file in
  2039         -    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
  2040         -	;;
  2041         -    conftest.$ac_ext )
  2042         -	# This is the source file.
         2536  +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
  2043   2537   	;;
  2044   2538       [ab].out )
  2045   2539   	# We found the default executable, but exeext='' is most
  2046   2540   	# certainly right.
  2047   2541   	break;;
  2048   2542       *.* )
  2049         -	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2050         -	# FIXME: I believe we export ac_cv_exeext for Libtool,
  2051         -	# but it would be cool to find out if it's true.  Does anybody
  2052         -	# maintain Libtool? --akim.
  2053         -	export ac_cv_exeext
         2543  +        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
         2544  +	then :; else
         2545  +	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
         2546  +	fi
         2547  +	# We set ac_cv_exeext here because the later test for it is not
         2548  +	# safe: cross compilers may not add the suffix if given an `-o'
         2549  +	# argument, so we may need to know it at that point already.
         2550  +	# Even if this section looks crufty: it has the advantage of
         2551  +	# actually working.
  2054   2552   	break;;
  2055   2553       * )
  2056   2554   	break;;
  2057   2555     esac
  2058   2556   done
         2557  +test "$ac_cv_exeext" = no && ac_cv_exeext=
         2558  +
  2059   2559   else
         2560  +  ac_file=''
         2561  +fi
         2562  +
         2563  +{ echo "$as_me:$LINENO: result: $ac_file" >&5
         2564  +echo "${ECHO_T}$ac_file" >&6; }
         2565  +if test -z "$ac_file"; then
  2060   2566     echo "$as_me: failed program was:" >&5
  2061   2567   sed 's/^/| /' conftest.$ac_ext >&5
  2062   2568   
  2063   2569   { { echo "$as_me:$LINENO: error: C compiler cannot create executables
  2064   2570   See \`config.log' for more details." >&5
  2065   2571   echo "$as_me: error: C compiler cannot create executables
  2066   2572   See \`config.log' for more details." >&2;}
  2067   2573      { (exit 77); exit 77; }; }
  2068   2574   fi
  2069   2575   
  2070   2576   ac_exeext=$ac_cv_exeext
  2071         -echo "$as_me:$LINENO: result: $ac_file" >&5
  2072         -echo "${ECHO_T}$ac_file" >&6
  2073   2577   
  2074         -# Check the compiler produces executables we can run.  If not, either
         2578  +# Check that the compiler produces executables we can run.  If not, either
  2075   2579   # the compiler is broken, or we cross compile.
  2076         -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2077         -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
         2580  +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
         2581  +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
  2078   2582   # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2079   2583   # If not cross compiling, check that we can run a simple program.
  2080   2584   if test "$cross_compiling" != yes; then
  2081   2585     if { ac_try='./$ac_file'
  2082         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2083         -  (eval $ac_try) 2>&5
         2586  +  { (case "(($ac_try" in
         2587  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         2588  +  *) ac_try_echo=$ac_try;;
         2589  +esac
         2590  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         2591  +  (eval "$ac_try") 2>&5
  2084   2592     ac_status=$?
  2085   2593     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2086   2594     (exit $ac_status); }; }; then
  2087   2595       cross_compiling=no
  2088   2596     else
  2089   2597       if test "$cross_compiling" = maybe; then
  2090   2598   	cross_compiling=yes
................................................................................
  2095   2603   echo "$as_me: error: cannot run C compiled programs.
  2096   2604   If you meant to cross compile, use \`--host'.
  2097   2605   See \`config.log' for more details." >&2;}
  2098   2606      { (exit 1); exit 1; }; }
  2099   2607       fi
  2100   2608     fi
  2101   2609   fi
  2102         -echo "$as_me:$LINENO: result: yes" >&5
  2103         -echo "${ECHO_T}yes" >&6
         2610  +{ echo "$as_me:$LINENO: result: yes" >&5
         2611  +echo "${ECHO_T}yes" >&6; }
  2104   2612   
  2105   2613   rm -f a.out a.exe conftest$ac_cv_exeext b.out
  2106   2614   ac_clean_files=$ac_clean_files_save
  2107         -# Check the compiler produces executables we can run.  If not, either
         2615  +# Check that the compiler produces executables we can run.  If not, either
  2108   2616   # the compiler is broken, or we cross compile.
  2109         -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  2110         -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
  2111         -echo "$as_me:$LINENO: result: $cross_compiling" >&5
  2112         -echo "${ECHO_T}$cross_compiling" >&6
         2617  +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
         2618  +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
         2619  +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
         2620  +echo "${ECHO_T}$cross_compiling" >&6; }
  2113   2621   
  2114         -echo "$as_me:$LINENO: checking for suffix of executables" >&5
  2115         -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
  2116         -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2117         -  (eval $ac_link) 2>&5
         2622  +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
         2623  +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
         2624  +if { (ac_try="$ac_link"
         2625  +case "(($ac_try" in
         2626  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         2627  +  *) ac_try_echo=$ac_try;;
         2628  +esac
         2629  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         2630  +  (eval "$ac_link") 2>&5
  2118   2631     ac_status=$?
  2119   2632     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2120   2633     (exit $ac_status); }; then
  2121   2634     # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2122   2635   # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  2123   2636   # work properly (i.e., refer to `conftest.exe'), while it won't with
  2124   2637   # `rm'.
  2125   2638   for ac_file in conftest.exe conftest conftest.*; do
  2126   2639     test -f "$ac_file" || continue
  2127   2640     case $ac_file in
  2128         -    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
         2641  +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2129   2642       *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2130         -	  export ac_cv_exeext
  2131   2643   	  break;;
  2132   2644       * ) break;;
  2133   2645     esac
  2134   2646   done
  2135   2647   else
  2136   2648     { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  2137   2649   See \`config.log' for more details." >&5
  2138   2650   echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  2139   2651   See \`config.log' for more details." >&2;}
  2140   2652      { (exit 1); exit 1; }; }
  2141   2653   fi
  2142   2654   
  2143   2655   rm -f conftest$ac_cv_exeext
  2144         -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  2145         -echo "${ECHO_T}$ac_cv_exeext" >&6
         2656  +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
         2657  +echo "${ECHO_T}$ac_cv_exeext" >&6; }
  2146   2658   
  2147   2659   rm -f conftest.$ac_ext
  2148   2660   EXEEXT=$ac_cv_exeext
  2149   2661   ac_exeext=$EXEEXT
  2150         -echo "$as_me:$LINENO: checking for suffix of object files" >&5
  2151         -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
         2662  +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
         2663  +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
  2152   2664   if test "${ac_cv_objext+set}" = set; then
  2153   2665     echo $ECHO_N "(cached) $ECHO_C" >&6
  2154   2666   else
  2155   2667     cat >conftest.$ac_ext <<_ACEOF
  2156   2668   /* confdefs.h.  */
  2157   2669   _ACEOF
  2158   2670   cat confdefs.h >>conftest.$ac_ext
................................................................................
  2164   2676   {
  2165   2677   
  2166   2678     ;
  2167   2679     return 0;
  2168   2680   }
  2169   2681   _ACEOF
  2170   2682   rm -f conftest.o conftest.obj
  2171         -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2172         -  (eval $ac_compile) 2>&5
         2683  +if { (ac_try="$ac_compile"
         2684  +case "(($ac_try" in
         2685  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         2686  +  *) ac_try_echo=$ac_try;;
         2687  +esac
         2688  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         2689  +  (eval "$ac_compile") 2>&5
  2173   2690     ac_status=$?
  2174   2691     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2175   2692     (exit $ac_status); }; then
  2176         -  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
         2693  +  for ac_file in conftest.o conftest.obj conftest.*; do
         2694  +  test -f "$ac_file" || continue;
  2177   2695     case $ac_file in
  2178         -    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
         2696  +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
  2179   2697       *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2180   2698          break;;
  2181   2699     esac
  2182   2700   done
  2183   2701   else
  2184   2702     echo "$as_me: failed program was:" >&5
  2185   2703   sed 's/^/| /' conftest.$ac_ext >&5
................................................................................
  2189   2707   echo "$as_me: error: cannot compute suffix of object files: cannot compile
  2190   2708   See \`config.log' for more details." >&2;}
  2191   2709      { (exit 1); exit 1; }; }
  2192   2710   fi
  2193   2711   
  2194   2712   rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2195   2713   fi
  2196         -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  2197         -echo "${ECHO_T}$ac_cv_objext" >&6
         2714  +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
         2715  +echo "${ECHO_T}$ac_cv_objext" >&6; }
  2198   2716   OBJEXT=$ac_cv_objext
  2199   2717   ac_objext=$OBJEXT
  2200         -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  2201         -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
         2718  +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
         2719  +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  2202   2720   if test "${ac_cv_c_compiler_gnu+set}" = set; then
  2203   2721     echo $ECHO_N "(cached) $ECHO_C" >&6
  2204   2722   else
  2205   2723     cat >conftest.$ac_ext <<_ACEOF
  2206   2724   /* confdefs.h.  */
  2207   2725   _ACEOF
  2208   2726   cat confdefs.h >>conftest.$ac_ext
................................................................................
  2217   2735   #endif
  2218   2736   
  2219   2737     ;
  2220   2738     return 0;
  2221   2739   }
  2222   2740   _ACEOF
  2223   2741   rm -f conftest.$ac_objext
  2224         -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2225         -  (eval $ac_compile) 2>conftest.er1
         2742  +if { (ac_try="$ac_compile"
         2743  +case "(($ac_try" in
         2744  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         2745  +  *) ac_try_echo=$ac_try;;
         2746  +esac
         2747  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         2748  +  (eval "$ac_compile") 2>conftest.er1
  2226   2749     ac_status=$?
  2227   2750     grep -v '^ *+' conftest.er1 >conftest.err
  2228   2751     rm -f conftest.er1
  2229   2752     cat conftest.err >&5
  2230   2753     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2231         -  (exit $ac_status); } &&
  2232         -	 { ac_try='test -z "$ac_c_werror_flag"
  2233         -			 || test ! -s conftest.err'
  2234         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2235         -  (eval $ac_try) 2>&5
  2236         -  ac_status=$?
  2237         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2238         -  (exit $ac_status); }; } &&
  2239         -	 { ac_try='test -s conftest.$ac_objext'
  2240         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2241         -  (eval $ac_try) 2>&5
  2242         -  ac_status=$?
  2243         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2244         -  (exit $ac_status); }; }; then
         2754  +  (exit $ac_status); } && {
         2755  +	 test -z "$ac_c_werror_flag" ||
         2756  +	 test ! -s conftest.err
         2757  +       } && test -s conftest.$ac_objext; then
  2245   2758     ac_compiler_gnu=yes
  2246   2759   else
  2247   2760     echo "$as_me: failed program was:" >&5
  2248   2761   sed 's/^/| /' conftest.$ac_ext >&5
  2249   2762   
  2250         -ac_compiler_gnu=no
         2763  +	ac_compiler_gnu=no
  2251   2764   fi
  2252         -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
         2765  +
         2766  +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2253   2767   ac_cv_c_compiler_gnu=$ac_compiler_gnu
  2254   2768   
  2255   2769   fi
  2256         -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  2257         -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
         2770  +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
         2771  +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  2258   2772   GCC=`test $ac_compiler_gnu = yes && echo yes`
  2259   2773   ac_test_CFLAGS=${CFLAGS+set}
  2260   2774   ac_save_CFLAGS=$CFLAGS
  2261         -CFLAGS="-g"
  2262         -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  2263         -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
         2775  +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
         2776  +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  2264   2777   if test "${ac_cv_prog_cc_g+set}" = set; then
  2265   2778     echo $ECHO_N "(cached) $ECHO_C" >&6
  2266   2779   else
  2267         -  cat >conftest.$ac_ext <<_ACEOF
         2780  +  ac_save_c_werror_flag=$ac_c_werror_flag
         2781  +   ac_c_werror_flag=yes
         2782  +   ac_cv_prog_cc_g=no
         2783  +   CFLAGS="-g"
         2784  +   cat >conftest.$ac_ext <<_ACEOF
         2785  +/* confdefs.h.  */
         2786  +_ACEOF
         2787  +cat confdefs.h >>conftest.$ac_ext
         2788  +cat >>conftest.$ac_ext <<_ACEOF
         2789  +/* end confdefs.h.  */
         2790  +
         2791  +int
         2792  +main ()
         2793  +{
         2794  +
         2795  +  ;
         2796  +  return 0;
         2797  +}
         2798  +_ACEOF
         2799  +rm -f conftest.$ac_objext
         2800  +if { (ac_try="$ac_compile"
         2801  +case "(($ac_try" in
         2802  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         2803  +  *) ac_try_echo=$ac_try;;
         2804  +esac
         2805  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         2806  +  (eval "$ac_compile") 2>conftest.er1
         2807  +  ac_status=$?
         2808  +  grep -v '^ *+' conftest.er1 >conftest.err
         2809  +  rm -f conftest.er1
         2810  +  cat conftest.err >&5
         2811  +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
         2812  +  (exit $ac_status); } && {
         2813  +	 test -z "$ac_c_werror_flag" ||
         2814  +	 test ! -s conftest.err
         2815  +       } && test -s conftest.$ac_objext; then
         2816  +  ac_cv_prog_cc_g=yes
         2817  +else
         2818  +  echo "$as_me: failed program was:" >&5
         2819  +sed 's/^/| /' conftest.$ac_ext >&5
         2820  +
         2821  +	CFLAGS=""
         2822  +      cat >conftest.$ac_ext <<_ACEOF
         2823  +/* confdefs.h.  */
         2824  +_ACEOF
         2825  +cat confdefs.h >>conftest.$ac_ext
         2826  +cat >>conftest.$ac_ext <<_ACEOF
         2827  +/* end confdefs.h.  */
         2828  +
         2829  +int
         2830  +main ()
         2831  +{
         2832  +
         2833  +  ;
         2834  +  return 0;
         2835  +}
         2836  +_ACEOF
         2837  +rm -f conftest.$ac_objext
         2838  +if { (ac_try="$ac_compile"
         2839  +case "(($ac_try" in
         2840  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         2841  +  *) ac_try_echo=$ac_try;;
         2842  +esac
         2843  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         2844  +  (eval "$ac_compile") 2>conftest.er1
         2845  +  ac_status=$?
         2846  +  grep -v '^ *+' conftest.er1 >conftest.err
         2847  +  rm -f conftest.er1
         2848  +  cat conftest.err >&5
         2849  +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
         2850  +  (exit $ac_status); } && {
         2851  +	 test -z "$ac_c_werror_flag" ||
         2852  +	 test ! -s conftest.err
         2853  +       } && test -s conftest.$ac_objext; then
         2854  +  :
         2855  +else
         2856  +  echo "$as_me: failed program was:" >&5
         2857  +sed 's/^/| /' conftest.$ac_ext >&5
         2858  +
         2859  +	ac_c_werror_flag=$ac_save_c_werror_flag
         2860  +	 CFLAGS="-g"
         2861  +	 cat >conftest.$ac_ext <<_ACEOF
  2268   2862   /* confdefs.h.  */
  2269   2863   _ACEOF
  2270   2864   cat confdefs.h >>conftest.$ac_ext
  2271   2865   cat >>conftest.$ac_ext <<_ACEOF
  2272   2866   /* end confdefs.h.  */
  2273   2867   
  2274   2868   int
................................................................................
  2276   2870   {
  2277   2871   
  2278   2872     ;
  2279   2873     return 0;
  2280   2874   }
  2281   2875   _ACEOF
  2282   2876   rm -f conftest.$ac_objext
  2283         -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2284         -  (eval $ac_compile) 2>conftest.er1
         2877  +if { (ac_try="$ac_compile"
         2878  +case "(($ac_try" in
         2879  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         2880  +  *) ac_try_echo=$ac_try;;
         2881  +esac
         2882  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         2883  +  (eval "$ac_compile") 2>conftest.er1
  2285   2884     ac_status=$?
  2286   2885     grep -v '^ *+' conftest.er1 >conftest.err
  2287   2886     rm -f conftest.er1
  2288   2887     cat conftest.err >&5
  2289   2888     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2290         -  (exit $ac_status); } &&
  2291         -	 { ac_try='test -z "$ac_c_werror_flag"
  2292         -			 || test ! -s conftest.err'
  2293         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2294         -  (eval $ac_try) 2>&5
  2295         -  ac_status=$?
  2296         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2297         -  (exit $ac_status); }; } &&
  2298         -	 { ac_try='test -s conftest.$ac_objext'
  2299         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2300         -  (eval $ac_try) 2>&5
  2301         -  ac_status=$?
  2302         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2303         -  (exit $ac_status); }; }; then
         2889  +  (exit $ac_status); } && {
         2890  +	 test -z "$ac_c_werror_flag" ||
         2891  +	 test ! -s conftest.err
         2892  +       } && test -s conftest.$ac_objext; then
  2304   2893     ac_cv_prog_cc_g=yes
  2305   2894   else
  2306   2895     echo "$as_me: failed program was:" >&5
  2307   2896   sed 's/^/| /' conftest.$ac_ext >&5
  2308   2897   
  2309         -ac_cv_prog_cc_g=no
         2898  +
  2310   2899   fi
  2311         -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
         2900  +
         2901  +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2312   2902   fi
  2313         -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  2314         -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
         2903  +
         2904  +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
         2905  +fi
         2906  +
         2907  +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
         2908  +   ac_c_werror_flag=$ac_save_c_werror_flag
         2909  +fi
         2910  +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
         2911  +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  2315   2912   if test "$ac_test_CFLAGS" = set; then
  2316   2913     CFLAGS=$ac_save_CFLAGS
  2317   2914   elif test $ac_cv_prog_cc_g = yes; then
  2318   2915     if test "$GCC" = yes; then
  2319   2916       CFLAGS="-g -O2"
  2320   2917     else
  2321   2918       CFLAGS="-g"
................................................................................
  2323   2920   else
  2324   2921     if test "$GCC" = yes; then
  2325   2922       CFLAGS="-O2"
  2326   2923     else
  2327   2924       CFLAGS=
  2328   2925     fi
  2329   2926   fi
  2330         -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
  2331         -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
  2332         -if test "${ac_cv_prog_cc_stdc+set}" = set; then
         2927  +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
         2928  +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
         2929  +if test "${ac_cv_prog_cc_c89+set}" = set; then
  2333   2930     echo $ECHO_N "(cached) $ECHO_C" >&6
  2334   2931   else
  2335         -  ac_cv_prog_cc_stdc=no
         2932  +  ac_cv_prog_cc_c89=no
  2336   2933   ac_save_CC=$CC
  2337   2934   cat >conftest.$ac_ext <<_ACEOF
  2338   2935   /* confdefs.h.  */
  2339   2936   _ACEOF
  2340   2937   cat confdefs.h >>conftest.$ac_ext
  2341   2938   cat >>conftest.$ac_ext <<_ACEOF
  2342   2939   /* end confdefs.h.  */
................................................................................
  2362   2959     va_end (v);
  2363   2960     return s;
  2364   2961   }
  2365   2962   
  2366   2963   /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  2367   2964      function prototypes and stuff, but not '\xHH' hex character constants.
  2368   2965      These don't provoke an error unfortunately, instead are silently treated
  2369         -   as 'x'.  The following induces an error, until -std1 is added to get
         2966  +   as 'x'.  The following induces an error, until -std is added to get
  2370   2967      proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  2371   2968      array size at least.  It's necessary to write '\x00'==0 to get something
  2372         -   that's true only with -std1.  */
         2969  +   that's true only with -std.  */
  2373   2970   int osf4_cc_array ['\x00' == 0 ? 1 : -1];
         2971  +
         2972  +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
         2973  +   inside strings and character constants.  */
         2974  +#define FOO(x) 'x'
         2975  +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  2374   2976   
  2375   2977   int test (int i, double x);
  2376   2978   struct s1 {int (*f) (int a);};
  2377   2979   struct s2 {int (*f) (double a);};
  2378   2980   int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  2379   2981   int argc;
  2380   2982   char **argv;
................................................................................
  2382   2984   main ()
  2383   2985   {
  2384   2986   return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  2385   2987     ;
  2386   2988     return 0;
  2387   2989   }
  2388   2990   _ACEOF
  2389         -# Don't try gcc -ansi; that turns off useful extensions and
  2390         -# breaks some systems' header files.
  2391         -# AIX			-qlanglvl=ansi
  2392         -# Ultrix and OSF/1	-std1
  2393         -# HP-UX 10.20 and later	-Ae
  2394         -# HP-UX older versions	-Aa -D_HPUX_SOURCE
  2395         -# SVR4			-Xc -D__EXTENSIONS__
  2396         -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
         2991  +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
         2992  +	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  2397   2993   do
  2398   2994     CC="$ac_save_CC $ac_arg"
  2399   2995     rm -f conftest.$ac_objext
  2400         -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2401         -  (eval $ac_compile) 2>conftest.er1
  2402         -  ac_status=$?
  2403         -  grep -v '^ *+' conftest.er1 >conftest.err
  2404         -  rm -f conftest.er1
  2405         -  cat conftest.err >&5
  2406         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2407         -  (exit $ac_status); } &&
  2408         -	 { ac_try='test -z "$ac_c_werror_flag"
  2409         -			 || test ! -s conftest.err'
  2410         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2411         -  (eval $ac_try) 2>&5
  2412         -  ac_status=$?
  2413         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2414         -  (exit $ac_status); }; } &&
  2415         -	 { ac_try='test -s conftest.$ac_objext'
  2416         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2417         -  (eval $ac_try) 2>&5
  2418         -  ac_status=$?
  2419         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2420         -  (exit $ac_status); }; }; then
  2421         -  ac_cv_prog_cc_stdc=$ac_arg
  2422         -break
  2423         -else
  2424         -  echo "$as_me: failed program was:" >&5
  2425         -sed 's/^/| /' conftest.$ac_ext >&5
  2426         -
  2427         -fi
  2428         -rm -f conftest.err conftest.$ac_objext
  2429         -done
  2430         -rm -f conftest.$ac_ext conftest.$ac_objext
         2996  +if { (ac_try="$ac_compile"
         2997  +case "(($ac_try" in
         2998  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         2999  +  *) ac_try_echo=$ac_try;;
         3000  +esac
         3001  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         3002  +  (eval "$ac_compile") 2>conftest.er1
         3003  +  ac_status=$?
         3004  +  grep -v '^ *+' conftest.er1 >conftest.err
         3005  +  rm -f conftest.er1
         3006  +  cat conftest.err >&5
         3007  +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
         3008  +  (exit $ac_status); } && {
         3009  +	 test -z "$ac_c_werror_flag" ||
         3010  +	 test ! -s conftest.err
         3011  +       } && test -s conftest.$ac_objext; then
         3012  +  ac_cv_prog_cc_c89=$ac_arg
         3013  +else
         3014  +  echo "$as_me: failed program was:" >&5
         3015  +sed 's/^/| /' conftest.$ac_ext >&5
         3016  +
         3017  +
         3018  +fi
         3019  +
         3020  +rm -f core conftest.err conftest.$ac_objext
         3021  +  test "x$ac_cv_prog_cc_c89" != "xno" && break
         3022  +done
         3023  +rm -f conftest.$ac_ext
  2431   3024   CC=$ac_save_CC
  2432   3025   
  2433   3026   fi
  2434         -
  2435         -case "x$ac_cv_prog_cc_stdc" in
  2436         -  x|xno)
  2437         -    echo "$as_me:$LINENO: result: none needed" >&5
  2438         -echo "${ECHO_T}none needed" >&6 ;;
  2439         -  *)
  2440         -    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
  2441         -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
  2442         -    CC="$CC $ac_cv_prog_cc_stdc" ;;
  2443         -esac
  2444         -
  2445         -# Some people use a C++ compiler to compile C.  Since we use `exit',
  2446         -# in C++ we need to declare it.  In case someone uses the same compiler
  2447         -# for both compiling C and C++ we need to have the C++ compiler decide
  2448         -# the declaration of exit, since it's the most demanding environment.
  2449         -cat >conftest.$ac_ext <<_ACEOF
  2450         -#ifndef __cplusplus
  2451         -  choke me
  2452         -#endif
  2453         -_ACEOF
  2454         -rm -f conftest.$ac_objext
  2455         -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2456         -  (eval $ac_compile) 2>conftest.er1
  2457         -  ac_status=$?
  2458         -  grep -v '^ *+' conftest.er1 >conftest.err
  2459         -  rm -f conftest.er1
  2460         -  cat conftest.err >&5
  2461         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2462         -  (exit $ac_status); } &&
  2463         -	 { ac_try='test -z "$ac_c_werror_flag"
  2464         -			 || test ! -s conftest.err'
  2465         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2466         -  (eval $ac_try) 2>&5
  2467         -  ac_status=$?
  2468         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2469         -  (exit $ac_status); }; } &&
  2470         -	 { ac_try='test -s conftest.$ac_objext'
  2471         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2472         -  (eval $ac_try) 2>&5
  2473         -  ac_status=$?
  2474         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2475         -  (exit $ac_status); }; }; then
  2476         -  for ac_declaration in \
  2477         -   '' \
  2478         -   'extern "C" void std::exit (int) throw (); using std::exit;' \
  2479         -   'extern "C" void std::exit (int); using std::exit;' \
  2480         -   'extern "C" void exit (int) throw ();' \
  2481         -   'extern "C" void exit (int);' \
  2482         -   'void exit (int);'
  2483         -do
  2484         -  cat >conftest.$ac_ext <<_ACEOF
  2485         -/* confdefs.h.  */
  2486         -_ACEOF
  2487         -cat confdefs.h >>conftest.$ac_ext
  2488         -cat >>conftest.$ac_ext <<_ACEOF
  2489         -/* end confdefs.h.  */
  2490         -$ac_declaration
  2491         -#include <stdlib.h>
  2492         -int
  2493         -main ()
  2494         -{
  2495         -exit (42);
  2496         -  ;
  2497         -  return 0;
  2498         -}
  2499         -_ACEOF
  2500         -rm -f conftest.$ac_objext
  2501         -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2502         -  (eval $ac_compile) 2>conftest.er1
  2503         -  ac_status=$?
  2504         -  grep -v '^ *+' conftest.er1 >conftest.err
  2505         -  rm -f conftest.er1
  2506         -  cat conftest.err >&5
  2507         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2508         -  (exit $ac_status); } &&
  2509         -	 { ac_try='test -z "$ac_c_werror_flag"
  2510         -			 || test ! -s conftest.err'
  2511         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2512         -  (eval $ac_try) 2>&5
  2513         -  ac_status=$?
  2514         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2515         -  (exit $ac_status); }; } &&
  2516         -	 { ac_try='test -s conftest.$ac_objext'
  2517         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2518         -  (eval $ac_try) 2>&5
  2519         -  ac_status=$?
  2520         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2521         -  (exit $ac_status); }; }; then
  2522         -  :
  2523         -else
  2524         -  echo "$as_me: failed program was:" >&5
  2525         -sed 's/^/| /' conftest.$ac_ext >&5
  2526         -
  2527         -continue
  2528         -fi
  2529         -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2530         -  cat >conftest.$ac_ext <<_ACEOF
  2531         -/* confdefs.h.  */
  2532         -_ACEOF
  2533         -cat confdefs.h >>conftest.$ac_ext
  2534         -cat >>conftest.$ac_ext <<_ACEOF
  2535         -/* end confdefs.h.  */
  2536         -$ac_declaration
  2537         -int
  2538         -main ()
  2539         -{
  2540         -exit (42);
  2541         -  ;
  2542         -  return 0;
  2543         -}
  2544         -_ACEOF
  2545         -rm -f conftest.$ac_objext
  2546         -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2547         -  (eval $ac_compile) 2>conftest.er1
  2548         -  ac_status=$?
  2549         -  grep -v '^ *+' conftest.er1 >conftest.err
  2550         -  rm -f conftest.er1
  2551         -  cat conftest.err >&5
  2552         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2553         -  (exit $ac_status); } &&
  2554         -	 { ac_try='test -z "$ac_c_werror_flag"
  2555         -			 || test ! -s conftest.err'
  2556         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2557         -  (eval $ac_try) 2>&5
  2558         -  ac_status=$?
  2559         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2560         -  (exit $ac_status); }; } &&
  2561         -	 { ac_try='test -s conftest.$ac_objext'
  2562         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2563         -  (eval $ac_try) 2>&5
  2564         -  ac_status=$?
  2565         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2566         -  (exit $ac_status); }; }; then
  2567         -  break
  2568         -else
  2569         -  echo "$as_me: failed program was:" >&5
  2570         -sed 's/^/| /' conftest.$ac_ext >&5
  2571         -
  2572         -fi
  2573         -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2574         -done
  2575         -rm -f conftest*
  2576         -if test -n "$ac_declaration"; then
  2577         -  echo '#ifdef __cplusplus' >>confdefs.h
  2578         -  echo $ac_declaration      >>confdefs.h
  2579         -  echo '#endif'             >>confdefs.h
  2580         -fi
  2581         -
  2582         -else
  2583         -  echo "$as_me: failed program was:" >&5
  2584         -sed 's/^/| /' conftest.$ac_ext >&5
  2585         -
  2586         -fi
  2587         -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
         3027  +# AC_CACHE_VAL
         3028  +case "x$ac_cv_prog_cc_c89" in
         3029  +  x)
         3030  +    { echo "$as_me:$LINENO: result: none needed" >&5
         3031  +echo "${ECHO_T}none needed" >&6; } ;;
         3032  +  xno)
         3033  +    { echo "$as_me:$LINENO: result: unsupported" >&5
         3034  +echo "${ECHO_T}unsupported" >&6; } ;;
         3035  +  *)
         3036  +    CC="$CC $ac_cv_prog_cc_c89"
         3037  +    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
         3038  +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
         3039  +esac
         3040  +
         3041  +
  2588   3042   ac_ext=c
  2589   3043   ac_cpp='$CPP $CPPFLAGS'
  2590   3044   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2591   3045   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2592   3046   ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2593   3047   
  2594         -echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
  2595         -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
         3048  +{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
         3049  +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
  2596   3050   if test "${lt_cv_path_SED+set}" = set; then
  2597   3051     echo $ECHO_N "(cached) $ECHO_C" >&6
  2598   3052   else
  2599   3053     # Loop through the user's path and test for sed and gsed.
  2600   3054   # Then use that list of sed's as ones to test for truncation.
  2601   3055   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2602   3056   for as_dir in $PATH
................................................................................
  2641   3095       fi
  2642   3096     done
  2643   3097   done
  2644   3098   
  2645   3099   fi
  2646   3100   
  2647   3101   SED=$lt_cv_path_SED
  2648         -echo "$as_me:$LINENO: result: $SED" >&5
  2649         -echo "${ECHO_T}$SED" >&6
  2650         -
  2651         -echo "$as_me:$LINENO: checking for egrep" >&5
  2652         -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
  2653         -if test "${ac_cv_prog_egrep+set}" = set; then
  2654         -  echo $ECHO_N "(cached) $ECHO_C" >&6
  2655         -else
  2656         -  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
  2657         -    then ac_cv_prog_egrep='grep -E'
  2658         -    else ac_cv_prog_egrep='egrep'
  2659         -    fi
  2660         -fi
  2661         -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
  2662         -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
  2663         - EGREP=$ac_cv_prog_egrep
  2664         -
  2665         -
  2666         -
  2667         -# Check whether --with-gnu-ld or --without-gnu-ld was given.
         3102  +{ echo "$as_me:$LINENO: result: $SED" >&5
         3103  +echo "${ECHO_T}$SED" >&6; }
         3104  +
         3105  +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
         3106  +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
         3107  +if test "${ac_cv_path_GREP+set}" = set; then
         3108  +  echo $ECHO_N "(cached) $ECHO_C" >&6
         3109  +else
         3110  +  # Extract the first word of "grep ggrep" to use in msg output
         3111  +if test -z "$GREP"; then
         3112  +set dummy grep ggrep; ac_prog_name=$2
         3113  +if test "${ac_cv_path_GREP+set}" = set; then
         3114  +  echo $ECHO_N "(cached) $ECHO_C" >&6
         3115  +else
         3116  +  ac_path_GREP_found=false
         3117  +# Loop through the user's path and test for each of PROGNAME-LIST
         3118  +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
         3119  +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
         3120  +do
         3121  +  IFS=$as_save_IFS
         3122  +  test -z "$as_dir" && as_dir=.
         3123  +  for ac_prog in grep ggrep; do
         3124  +  for ac_exec_ext in '' $ac_executable_extensions; do
         3125  +    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
         3126  +    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
         3127  +    # Check for GNU ac_path_GREP and select it if it is found.
         3128  +  # Check for GNU $ac_path_GREP
         3129  +case `"$ac_path_GREP" --version 2>&1` in
         3130  +*GNU*)
         3131  +  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
         3132  +*)
         3133  +  ac_count=0
         3134  +  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
         3135  +  while :
         3136  +  do
         3137  +    cat "conftest.in" "conftest.in" >"conftest.tmp"
         3138  +    mv "conftest.tmp" "conftest.in"
         3139  +    cp "conftest.in" "conftest.nl"
         3140  +    echo 'GREP' >> "conftest.nl"
         3141  +    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
         3142  +    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
         3143  +    ac_count=`expr $ac_count + 1`
         3144  +    if test $ac_count -gt ${ac_path_GREP_max-0}; then
         3145  +      # Best one so far, save it but keep looking for a better one
         3146  +      ac_cv_path_GREP="$ac_path_GREP"
         3147  +      ac_path_GREP_max=$ac_count
         3148  +    fi
         3149  +    # 10*(2^10) chars as input seems more than enough
         3150  +    test $ac_count -gt 10 && break
         3151  +  done
         3152  +  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
         3153  +esac
         3154  +
         3155  +
         3156  +    $ac_path_GREP_found && break 3
         3157  +  done
         3158  +done
         3159  +
         3160  +done
         3161  +IFS=$as_save_IFS
         3162  +
         3163  +
         3164  +fi
         3165  +
         3166  +GREP="$ac_cv_path_GREP"
         3167  +if test -z "$GREP"; then
         3168  +  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
         3169  +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
         3170  +   { (exit 1); exit 1; }; }
         3171  +fi
         3172  +
         3173  +else
         3174  +  ac_cv_path_GREP=$GREP
         3175  +fi
         3176  +
         3177  +
         3178  +fi
         3179  +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
         3180  +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
         3181  + GREP="$ac_cv_path_GREP"
         3182  +
         3183  +
         3184  +{ echo "$as_me:$LINENO: checking for egrep" >&5
         3185  +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
         3186  +if test "${ac_cv_path_EGREP+set}" = set; then
         3187  +  echo $ECHO_N "(cached) $ECHO_C" >&6
         3188  +else
         3189  +  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
         3190  +   then ac_cv_path_EGREP="$GREP -E"
         3191  +   else
         3192  +     # Extract the first word of "egrep" to use in msg output
         3193  +if test -z "$EGREP"; then
         3194  +set dummy egrep; ac_prog_name=$2
         3195  +if test "${ac_cv_path_EGREP+set}" = set; then
         3196  +  echo $ECHO_N "(cached) $ECHO_C" >&6
         3197  +else
         3198  +  ac_path_EGREP_found=false
         3199  +# Loop through the user's path and test for each of PROGNAME-LIST
         3200  +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
         3201  +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
         3202  +do
         3203  +  IFS=$as_save_IFS
         3204  +  test -z "$as_dir" && as_dir=.
         3205  +  for ac_prog in egrep; do
         3206  +  for ac_exec_ext in '' $ac_executable_extensions; do
         3207  +    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
         3208  +    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
         3209  +    # Check for GNU ac_path_EGREP and select it if it is found.
         3210  +  # Check for GNU $ac_path_EGREP
         3211  +case `"$ac_path_EGREP" --version 2>&1` in
         3212  +*GNU*)
         3213  +  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
         3214  +*)
         3215  +  ac_count=0
         3216  +  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
         3217  +  while :
         3218  +  do
         3219  +    cat "conftest.in" "conftest.in" >"conftest.tmp"
         3220  +    mv "conftest.tmp" "conftest.in"
         3221  +    cp "conftest.in" "conftest.nl"
         3222  +    echo 'EGREP' >> "conftest.nl"
         3223  +    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
         3224  +    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
         3225  +    ac_count=`expr $ac_count + 1`
         3226  +    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
         3227  +      # Best one so far, save it but keep looking for a better one
         3228  +      ac_cv_path_EGREP="$ac_path_EGREP"
         3229  +      ac_path_EGREP_max=$ac_count
         3230  +    fi
         3231  +    # 10*(2^10) chars as input seems more than enough
         3232  +    test $ac_count -gt 10 && break
         3233  +  done
         3234  +  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
         3235  +esac
         3236  +
         3237  +
         3238  +    $ac_path_EGREP_found && break 3
         3239  +  done
         3240  +done
         3241  +
         3242  +done
         3243  +IFS=$as_save_IFS
         3244  +
         3245  +
         3246  +fi
         3247  +
         3248  +EGREP="$ac_cv_path_EGREP"
         3249  +if test -z "$EGREP"; then
         3250  +  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
         3251  +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
         3252  +   { (exit 1); exit 1; }; }
         3253  +fi
         3254  +
         3255  +else
         3256  +  ac_cv_path_EGREP=$EGREP
         3257  +fi
         3258  +
         3259  +
         3260  +   fi
         3261  +fi
         3262  +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
         3263  +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
         3264  + EGREP="$ac_cv_path_EGREP"
         3265  +
         3266  +
         3267  +
         3268  +# Check whether --with-gnu-ld was given.
  2668   3269   if test "${with_gnu_ld+set}" = set; then
  2669         -  withval="$with_gnu_ld"
  2670         -  test "$withval" = no || with_gnu_ld=yes
         3270  +  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  2671   3271   else
  2672   3272     with_gnu_ld=no
  2673         -fi;
         3273  +fi
         3274  +
  2674   3275   ac_prog=ld
  2675   3276   if test "$GCC" = yes; then
  2676   3277     # Check if gcc -print-prog-name=ld gives a path.
  2677         -  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
  2678         -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
         3278  +  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
         3279  +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
  2679   3280     case $host in
  2680   3281     *-*-mingw*)
  2681   3282       # gcc leaves a trailing carriage return which upsets mingw
  2682   3283       ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  2683   3284     *)
  2684   3285       ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  2685   3286     esac
................................................................................
  2700   3301       ;;
  2701   3302     *)
  2702   3303       # If it is relative, then search for the first ld in PATH.
  2703   3304       with_gnu_ld=unknown
  2704   3305       ;;
  2705   3306     esac
  2706   3307   elif test "$with_gnu_ld" = yes; then
  2707         -  echo "$as_me:$LINENO: checking for GNU ld" >&5
  2708         -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
         3308  +  { echo "$as_me:$LINENO: checking for GNU ld" >&5
         3309  +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
  2709   3310   else
  2710         -  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
  2711         -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
         3311  +  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
         3312  +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
  2712   3313   fi
  2713   3314   if test "${lt_cv_path_LD+set}" = set; then
  2714   3315     echo $ECHO_N "(cached) $ECHO_C" >&6
  2715   3316   else
  2716   3317     if test -z "$LD"; then
  2717   3318     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  2718   3319     for ac_dir in $PATH; do
................................................................................
  2737   3338   else
  2738   3339     lt_cv_path_LD="$LD" # Let the user override the test with a path.
  2739   3340   fi
  2740   3341   fi
  2741   3342   
  2742   3343   LD="$lt_cv_path_LD"
  2743   3344   if test -n "$LD"; then
  2744         -  echo "$as_me:$LINENO: result: $LD" >&5
  2745         -echo "${ECHO_T}$LD" >&6
         3345  +  { echo "$as_me:$LINENO: result: $LD" >&5
         3346  +echo "${ECHO_T}$LD" >&6; }
  2746   3347   else
  2747         -  echo "$as_me:$LINENO: result: no" >&5
  2748         -echo "${ECHO_T}no" >&6
         3348  +  { echo "$as_me:$LINENO: result: no" >&5
         3349  +echo "${ECHO_T}no" >&6; }
  2749   3350   fi
  2750   3351   test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
  2751   3352   echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
  2752   3353      { (exit 1); exit 1; }; }
  2753         -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
  2754         -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
         3354  +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
         3355  +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
  2755   3356   if test "${lt_cv_prog_gnu_ld+set}" = set; then
  2756   3357     echo $ECHO_N "(cached) $ECHO_C" >&6
  2757   3358   else
  2758   3359     # I'd rather use --version here, but apparently some GNU lds only accept -v.
  2759   3360   case `$LD -v 2>&1 </dev/null` in
  2760   3361   *GNU* | *'with BFD'*)
  2761   3362     lt_cv_prog_gnu_ld=yes
  2762   3363     ;;
  2763   3364   *)
  2764   3365     lt_cv_prog_gnu_ld=no
  2765   3366     ;;
  2766   3367   esac
  2767   3368   fi
  2768         -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
  2769         -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
         3369  +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
         3370  +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
  2770   3371   with_gnu_ld=$lt_cv_prog_gnu_ld
  2771   3372   
  2772   3373   
  2773         -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
  2774         -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
         3374  +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
         3375  +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
  2775   3376   if test "${lt_cv_ld_reload_flag+set}" = set; then
  2776   3377     echo $ECHO_N "(cached) $ECHO_C" >&6
  2777   3378   else
  2778   3379     lt_cv_ld_reload_flag='-r'
  2779   3380   fi
  2780         -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
  2781         -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
         3381  +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
         3382  +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
  2782   3383   reload_flag=$lt_cv_ld_reload_flag
  2783   3384   case $reload_flag in
  2784   3385   "" | " "*) ;;
  2785   3386   *) reload_flag=" $reload_flag" ;;
  2786   3387   esac
  2787   3388   reload_cmds='$LD$reload_flag -o $output$reload_objs'
  2788   3389   case $host_os in
................................................................................
  2791   3392         reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  2792   3393       else
  2793   3394         reload_cmds='$LD$reload_flag -o $output$reload_objs'
  2794   3395       fi
  2795   3396       ;;
  2796   3397   esac
  2797   3398   
  2798         -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
  2799         -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
         3399  +{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
         3400  +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
  2800   3401   if test "${lt_cv_path_NM+set}" = set; then
  2801   3402     echo $ECHO_N "(cached) $ECHO_C" >&6
  2802   3403   else
  2803   3404     if test -n "$NM"; then
  2804   3405     # Let the user override the test.
  2805   3406     lt_cv_path_NM="$NM"
  2806   3407   else
................................................................................
  2840   3441         fi
  2841   3442       done
  2842   3443       IFS="$lt_save_ifs"
  2843   3444     done
  2844   3445     test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
  2845   3446   fi
  2846   3447   fi
  2847         -echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
  2848         -echo "${ECHO_T}$lt_cv_path_NM" >&6
         3448  +{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
         3449  +echo "${ECHO_T}$lt_cv_path_NM" >&6; }
  2849   3450   NM="$lt_cv_path_NM"
  2850   3451   
  2851         -echo "$as_me:$LINENO: checking whether ln -s works" >&5
  2852         -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
         3452  +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
         3453  +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
  2853   3454   LN_S=$as_ln_s
  2854   3455   if test "$LN_S" = "ln -s"; then
  2855         -  echo "$as_me:$LINENO: result: yes" >&5
  2856         -echo "${ECHO_T}yes" >&6
         3456  +  { echo "$as_me:$LINENO: result: yes" >&5
         3457  +echo "${ECHO_T}yes" >&6; }
  2857   3458   else
  2858         -  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
  2859         -echo "${ECHO_T}no, using $LN_S" >&6
         3459  +  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
         3460  +echo "${ECHO_T}no, using $LN_S" >&6; }
  2860   3461   fi
  2861   3462   
  2862         -echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
  2863         -echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
         3463  +{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
         3464  +echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
  2864   3465   if test "${lt_cv_deplibs_check_method+set}" = set; then
  2865   3466     echo $ECHO_N "(cached) $ECHO_C" >&6
  2866   3467   else
  2867   3468     lt_cv_file_magic_cmd='$MAGIC_CMD'
  2868   3469   lt_cv_file_magic_test_file=
  2869   3470   lt_cv_deplibs_check_method='unknown'
  2870   3471   # Need to set the preceding variable on all platforms that support
................................................................................
  3031   3632   
  3032   3633   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  3033   3634     lt_cv_deplibs_check_method=pass_all
  3034   3635     ;;
  3035   3636   esac
  3036   3637   
  3037   3638   fi
  3038         -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
  3039         -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
         3639  +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
         3640  +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
  3040   3641   file_magic_cmd=$lt_cv_file_magic_cmd
  3041   3642   deplibs_check_method=$lt_cv_deplibs_check_method
  3042   3643   test -z "$deplibs_check_method" && deplibs_check_method=unknown
  3043   3644   
  3044   3645   
  3045   3646   
  3046   3647   
................................................................................
  3050   3651   # If no C compiler flags were specified, use CFLAGS.
  3051   3652   LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  3052   3653   
  3053   3654   # Allow CC to be a program name with arguments.
  3054   3655   compiler=$CC
  3055   3656   
  3056   3657   
  3057         -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
         3658  +# Check whether --enable-libtool-lock was given.
  3058   3659   if test "${enable_libtool_lock+set}" = set; then
  3059         -  enableval="$enable_libtool_lock"
         3660  +  enableval=$enable_libtool_lock;
         3661  +fi
  3060   3662   
  3061         -fi;
  3062   3663   test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  3063   3664   
  3064   3665   # Some flags need to be propagated to the compiler or linker for good
  3065   3666   # libtool support.
  3066   3667   case $host in
  3067   3668   ia64-*-hpux*)
  3068   3669     # Find out which ABI we are using.
................................................................................
  3081   3682         ;;
  3082   3683       esac
  3083   3684     fi
  3084   3685     rm -rf conftest*
  3085   3686     ;;
  3086   3687   *-*-irix6*)
  3087   3688     # Find out which ABI we are using.
  3088         -  echo '#line 3088 "configure"' > conftest.$ac_ext
         3689  +  echo '#line 3689 "configure"' > conftest.$ac_ext
  3089   3690     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3090   3691     (eval $ac_compile) 2>&5
  3091   3692     ac_status=$?
  3092   3693     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3093   3694     (exit $ac_status); }; then
  3094   3695      if test "$lt_cv_prog_gnu_ld" = yes; then
  3095   3696       case `/usr/bin/file conftest.$ac_objext` in
................................................................................
  3166   3767     rm -rf conftest*
  3167   3768     ;;
  3168   3769   
  3169   3770   *-*-sco3.2v5*)
  3170   3771     # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  3171   3772     SAVE_CFLAGS="$CFLAGS"
  3172   3773     CFLAGS="$CFLAGS -belf"
  3173         -  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
  3174         -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
         3774  +  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
         3775  +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
  3175   3776   if test "${lt_cv_cc_needs_belf+set}" = set; then
  3176   3777     echo $ECHO_N "(cached) $ECHO_C" >&6
  3177   3778   else
  3178   3779     ac_ext=c
  3179   3780   ac_cpp='$CPP $CPPFLAGS'
  3180   3781   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3181   3782   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
................................................................................
  3193   3794   {
  3194   3795   
  3195   3796     ;
  3196   3797     return 0;
  3197   3798   }
  3198   3799   _ACEOF
  3199   3800   rm -f conftest.$ac_objext conftest$ac_exeext
  3200         -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3201         -  (eval $ac_link) 2>conftest.er1
         3801  +if { (ac_try="$ac_link"
         3802  +case "(($ac_try" in
         3803  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         3804  +  *) ac_try_echo=$ac_try;;
         3805  +esac
         3806  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         3807  +  (eval "$ac_link") 2>conftest.er1
  3202   3808     ac_status=$?
  3203   3809     grep -v '^ *+' conftest.er1 >conftest.err
  3204   3810     rm -f conftest.er1
  3205   3811     cat conftest.err >&5
  3206   3812     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3207         -  (exit $ac_status); } &&
  3208         -	 { ac_try='test -z "$ac_c_werror_flag"
  3209         -			 || test ! -s conftest.err'
  3210         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3211         -  (eval $ac_try) 2>&5
  3212         -  ac_status=$?
  3213         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3214         -  (exit $ac_status); }; } &&
  3215         -	 { ac_try='test -s conftest$ac_exeext'
  3216         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3217         -  (eval $ac_try) 2>&5
  3218         -  ac_status=$?
  3219         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3220         -  (exit $ac_status); }; }; then
         3813  +  (exit $ac_status); } && {
         3814  +	 test -z "$ac_c_werror_flag" ||
         3815  +	 test ! -s conftest.err
         3816  +       } && test -s conftest$ac_exeext &&
         3817  +       $as_test_x conftest$ac_exeext; then
  3221   3818     lt_cv_cc_needs_belf=yes
  3222   3819   else
  3223   3820     echo "$as_me: failed program was:" >&5
  3224   3821   sed 's/^/| /' conftest.$ac_ext >&5
  3225   3822   
  3226         -lt_cv_cc_needs_belf=no
         3823  +	lt_cv_cc_needs_belf=no
  3227   3824   fi
  3228         -rm -f conftest.err conftest.$ac_objext \
         3825  +
         3826  +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  3229   3827         conftest$ac_exeext conftest.$ac_ext
  3230   3828        ac_ext=c
  3231   3829   ac_cpp='$CPP $CPPFLAGS'
  3232   3830   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3233   3831   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3234   3832   ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3235   3833   
  3236   3834   fi
  3237         -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
  3238         -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
         3835  +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
         3836  +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
  3239   3837     if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  3240   3838       # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  3241   3839       CFLAGS="$SAVE_CFLAGS"
  3242   3840     fi
  3243   3841     ;;
  3244   3842   sparc*-*solaris*)
  3245   3843     # Find out which ABI we are using.
................................................................................
  3268   3866   
  3269   3867   
  3270   3868   ac_ext=c
  3271   3869   ac_cpp='$CPP $CPPFLAGS'
  3272   3870   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3273   3871   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3274   3872   ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3275         -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  3276         -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
         3873  +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
         3874  +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  3277   3875   # On Suns, sometimes $CPP names a directory.
  3278   3876   if test -n "$CPP" && test -d "$CPP"; then
  3279   3877     CPP=
  3280   3878   fi
  3281   3879   if test -z "$CPP"; then
  3282   3880     if test "${ac_cv_prog_CPP+set}" = set; then
  3283   3881     echo $ECHO_N "(cached) $ECHO_C" >&6
................................................................................
  3303   3901   #ifdef __STDC__
  3304   3902   # include <limits.h>
  3305   3903   #else
  3306   3904   # include <assert.h>
  3307   3905   #endif
  3308   3906   		     Syntax error
  3309   3907   _ACEOF
  3310         -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3311         -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
         3908  +if { (ac_try="$ac_cpp conftest.$ac_ext"
         3909  +case "(($ac_try" in
         3910  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         3911  +  *) ac_try_echo=$ac_try;;
         3912  +esac
         3913  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         3914  +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3312   3915     ac_status=$?
  3313   3916     grep -v '^ *+' conftest.er1 >conftest.err
  3314   3917     rm -f conftest.er1
  3315   3918     cat conftest.err >&5
  3316   3919     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3317         -  (exit $ac_status); } >/dev/null; then
  3318         -  if test -s conftest.err; then
  3319         -    ac_cpp_err=$ac_c_preproc_warn_flag
  3320         -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3321         -  else
  3322         -    ac_cpp_err=
  3323         -  fi
  3324         -else
  3325         -  ac_cpp_err=yes
  3326         -fi
  3327         -if test -z "$ac_cpp_err"; then
         3920  +  (exit $ac_status); } >/dev/null && {
         3921  +	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
         3922  +	 test ! -s conftest.err
         3923  +       }; then
  3328   3924     :
  3329   3925   else
  3330   3926     echo "$as_me: failed program was:" >&5
  3331   3927   sed 's/^/| /' conftest.$ac_ext >&5
  3332   3928   
  3333   3929     # Broken: fails on valid input.
  3334   3930   continue
  3335   3931   fi
         3932  +
  3336   3933   rm -f conftest.err conftest.$ac_ext
  3337   3934   
  3338         -  # OK, works on sane cases.  Now check whether non-existent headers
         3935  +  # OK, works on sane cases.  Now check whether nonexistent headers
  3339   3936     # can be detected and how.
  3340   3937     cat >conftest.$ac_ext <<_ACEOF
  3341   3938   /* confdefs.h.  */
  3342   3939   _ACEOF
  3343   3940   cat confdefs.h >>conftest.$ac_ext
  3344   3941   cat >>conftest.$ac_ext <<_ACEOF
  3345   3942   /* end confdefs.h.  */
  3346   3943   #include <ac_nonexistent.h>
  3347   3944   _ACEOF
  3348         -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3349         -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
         3945  +if { (ac_try="$ac_cpp conftest.$ac_ext"
         3946  +case "(($ac_try" in
         3947  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         3948  +  *) ac_try_echo=$ac_try;;
         3949  +esac
         3950  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         3951  +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3350   3952     ac_status=$?
  3351   3953     grep -v '^ *+' conftest.er1 >conftest.err
  3352   3954     rm -f conftest.er1
  3353   3955     cat conftest.err >&5
  3354   3956     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3355         -  (exit $ac_status); } >/dev/null; then
  3356         -  if test -s conftest.err; then
  3357         -    ac_cpp_err=$ac_c_preproc_warn_flag
  3358         -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3359         -  else
  3360         -    ac_cpp_err=
  3361         -  fi
  3362         -else
  3363         -  ac_cpp_err=yes
  3364         -fi
  3365         -if test -z "$ac_cpp_err"; then
         3957  +  (exit $ac_status); } >/dev/null && {
         3958  +	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
         3959  +	 test ! -s conftest.err
         3960  +       }; then
  3366   3961     # Broken: success on invalid input.
  3367   3962   continue
  3368   3963   else
  3369   3964     echo "$as_me: failed program was:" >&5
  3370   3965   sed 's/^/| /' conftest.$ac_ext >&5
  3371   3966   
  3372   3967     # Passes both tests.
  3373   3968   ac_preproc_ok=:
  3374   3969   break
  3375   3970   fi
         3971  +
  3376   3972   rm -f conftest.err conftest.$ac_ext
  3377   3973   
  3378   3974   done
  3379   3975   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3380   3976   rm -f conftest.err conftest.$ac_ext
  3381   3977   if $ac_preproc_ok; then
  3382   3978     break
................................................................................
  3386   3982       ac_cv_prog_CPP=$CPP
  3387   3983   
  3388   3984   fi
  3389   3985     CPP=$ac_cv_prog_CPP
  3390   3986   else
  3391   3987     ac_cv_prog_CPP=$CPP
  3392   3988   fi
  3393         -echo "$as_me:$LINENO: result: $CPP" >&5
  3394         -echo "${ECHO_T}$CPP" >&6
         3989  +{ echo "$as_me:$LINENO: result: $CPP" >&5
         3990  +echo "${ECHO_T}$CPP" >&6; }
  3395   3991   ac_preproc_ok=false
  3396   3992   for ac_c_preproc_warn_flag in '' yes
  3397   3993   do
  3398   3994     # Use a header file that comes with gcc, so configuring glibc
  3399   3995     # with a fresh cross-compiler works.
  3400   3996     # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3401   3997     # <limits.h> exists even on freestanding compilers.
................................................................................
  3410   4006   #ifdef __STDC__
  3411   4007   # include <limits.h>
  3412   4008   #else
  3413   4009   # include <assert.h>
  3414   4010   #endif
  3415   4011   		     Syntax error
  3416   4012   _ACEOF
  3417         -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3418         -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
         4013  +if { (ac_try="$ac_cpp conftest.$ac_ext"
         4014  +case "(($ac_try" in
         4015  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         4016  +  *) ac_try_echo=$ac_try;;
         4017  +esac
         4018  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         4019  +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3419   4020     ac_status=$?
  3420   4021     grep -v '^ *+' conftest.er1 >conftest.err
  3421   4022     rm -f conftest.er1
  3422   4023     cat conftest.err >&5
  3423   4024     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3424         -  (exit $ac_status); } >/dev/null; then
  3425         -  if test -s conftest.err; then
  3426         -    ac_cpp_err=$ac_c_preproc_warn_flag
  3427         -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3428         -  else
  3429         -    ac_cpp_err=
  3430         -  fi
  3431         -else
  3432         -  ac_cpp_err=yes
  3433         -fi
  3434         -if test -z "$ac_cpp_err"; then
         4025  +  (exit $ac_status); } >/dev/null && {
         4026  +	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
         4027  +	 test ! -s conftest.err
         4028  +       }; then
  3435   4029     :
  3436   4030   else
  3437   4031     echo "$as_me: failed program was:" >&5
  3438   4032   sed 's/^/| /' conftest.$ac_ext >&5
  3439   4033   
  3440   4034     # Broken: fails on valid input.
  3441   4035   continue
  3442   4036   fi
         4037  +
  3443   4038   rm -f conftest.err conftest.$ac_ext
  3444   4039   
  3445         -  # OK, works on sane cases.  Now check whether non-existent headers
         4040  +  # OK, works on sane cases.  Now check whether nonexistent headers
  3446   4041     # can be detected and how.
  3447   4042     cat >conftest.$ac_ext <<_ACEOF
  3448   4043   /* confdefs.h.  */
  3449   4044   _ACEOF
  3450   4045   cat confdefs.h >>conftest.$ac_ext
  3451   4046   cat >>conftest.$ac_ext <<_ACEOF
  3452   4047   /* end confdefs.h.  */
  3453   4048   #include <ac_nonexistent.h>
  3454   4049   _ACEOF
  3455         -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3456         -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
         4050  +if { (ac_try="$ac_cpp conftest.$ac_ext"
         4051  +case "(($ac_try" in
         4052  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         4053  +  *) ac_try_echo=$ac_try;;
         4054  +esac
         4055  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         4056  +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3457   4057     ac_status=$?
  3458   4058     grep -v '^ *+' conftest.er1 >conftest.err
  3459   4059     rm -f conftest.er1
  3460   4060     cat conftest.err >&5
  3461   4061     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3462         -  (exit $ac_status); } >/dev/null; then
  3463         -  if test -s conftest.err; then
  3464         -    ac_cpp_err=$ac_c_preproc_warn_flag
  3465         -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3466         -  else
  3467         -    ac_cpp_err=
  3468         -  fi
  3469         -else
  3470         -  ac_cpp_err=yes
  3471         -fi
  3472         -if test -z "$ac_cpp_err"; then
         4062  +  (exit $ac_status); } >/dev/null && {
         4063  +	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
         4064  +	 test ! -s conftest.err
         4065  +       }; then
  3473   4066     # Broken: success on invalid input.
  3474   4067   continue
  3475   4068   else
  3476   4069     echo "$as_me: failed program was:" >&5
  3477   4070   sed 's/^/| /' conftest.$ac_ext >&5
  3478   4071   
  3479   4072     # Passes both tests.
  3480   4073   ac_preproc_ok=:
  3481   4074   break
  3482   4075   fi
         4076  +
  3483   4077   rm -f conftest.err conftest.$ac_ext
  3484   4078   
  3485   4079   done
  3486   4080   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3487   4081   rm -f conftest.err conftest.$ac_ext
  3488   4082   if $ac_preproc_ok; then
  3489   4083     :
................................................................................
  3498   4092   ac_ext=c
  3499   4093   ac_cpp='$CPP $CPPFLAGS'
  3500   4094   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3501   4095   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3502   4096   ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3503   4097   
  3504   4098   
  3505         -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  3506         -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
         4099  +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
         4100  +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
  3507   4101   if test "${ac_cv_header_stdc+set}" = set; then
  3508   4102     echo $ECHO_N "(cached) $ECHO_C" >&6
  3509   4103   else
  3510   4104     cat >conftest.$ac_ext <<_ACEOF
  3511   4105   /* confdefs.h.  */
  3512   4106   _ACEOF
  3513   4107   cat confdefs.h >>conftest.$ac_ext
................................................................................
  3523   4117   {
  3524   4118   
  3525   4119     ;
  3526   4120     return 0;
  3527   4121   }
  3528   4122   _ACEOF
  3529   4123   rm -f conftest.$ac_objext
  3530         -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3531         -  (eval $ac_compile) 2>conftest.er1
         4124  +if { (ac_try="$ac_compile"
         4125  +case "(($ac_try" in
         4126  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         4127  +  *) ac_try_echo=$ac_try;;
         4128  +esac
         4129  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         4130  +  (eval "$ac_compile") 2>conftest.er1
  3532   4131     ac_status=$?
  3533   4132     grep -v '^ *+' conftest.er1 >conftest.err
  3534   4133     rm -f conftest.er1
  3535   4134     cat conftest.err >&5
  3536   4135     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3537         -  (exit $ac_status); } &&
  3538         -	 { ac_try='test -z "$ac_c_werror_flag"
  3539         -			 || test ! -s conftest.err'
  3540         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3541         -  (eval $ac_try) 2>&5
  3542         -  ac_status=$?
  3543         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3544         -  (exit $ac_status); }; } &&
  3545         -	 { ac_try='test -s conftest.$ac_objext'
  3546         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3547         -  (eval $ac_try) 2>&5
  3548         -  ac_status=$?
  3549         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3550         -  (exit $ac_status); }; }; then
         4136  +  (exit $ac_status); } && {
         4137  +	 test -z "$ac_c_werror_flag" ||
         4138  +	 test ! -s conftest.err
         4139  +       } && test -s conftest.$ac_objext; then
  3551   4140     ac_cv_header_stdc=yes
  3552   4141   else
  3553   4142     echo "$as_me: failed program was:" >&5
  3554   4143   sed 's/^/| /' conftest.$ac_ext >&5
  3555   4144   
  3556         -ac_cv_header_stdc=no
         4145  +	ac_cv_header_stdc=no
  3557   4146   fi
  3558         -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
         4147  +
         4148  +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3559   4149   
  3560   4150   if test $ac_cv_header_stdc = yes; then
  3561   4151     # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  3562   4152     cat >conftest.$ac_ext <<_ACEOF
  3563   4153   /* confdefs.h.  */
  3564   4154   _ACEOF
  3565   4155   cat confdefs.h >>conftest.$ac_ext
................................................................................
  3607   4197     cat >conftest.$ac_ext <<_ACEOF
  3608   4198   /* confdefs.h.  */
  3609   4199   _ACEOF
  3610   4200   cat confdefs.h >>conftest.$ac_ext
  3611   4201   cat >>conftest.$ac_ext <<_ACEOF
  3612   4202   /* end confdefs.h.  */
  3613   4203   #include <ctype.h>
         4204  +#include <stdlib.h>
  3614   4205   #if ((' ' & 0x0FF) == 0x020)
  3615   4206   # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  3616   4207   # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  3617   4208   #else
  3618   4209   # define ISLOWER(c) \
  3619   4210   		   (('a' <= (c) && (c) <= 'i') \
  3620   4211   		     || ('j' <= (c) && (c) <= 'r') \
................................................................................
  3626   4217   int
  3627   4218   main ()
  3628   4219   {
  3629   4220     int i;
  3630   4221     for (i = 0; i < 256; i++)
  3631   4222       if (XOR (islower (i), ISLOWER (i))
  3632   4223   	|| toupper (i) != TOUPPER (i))
  3633         -      exit(2);
  3634         -  exit (0);
         4224  +      return 2;
         4225  +  return 0;
  3635   4226   }
  3636   4227   _ACEOF
  3637   4228   rm -f conftest$ac_exeext
  3638         -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3639         -  (eval $ac_link) 2>&5
         4229  +if { (ac_try="$ac_link"
         4230  +case "(($ac_try" in
         4231  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         4232  +  *) ac_try_echo=$ac_try;;
         4233  +esac
         4234  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         4235  +  (eval "$ac_link") 2>&5
  3640   4236     ac_status=$?
  3641   4237     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3642   4238     (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  3643         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3644         -  (eval $ac_try) 2>&5
         4239  +  { (case "(($ac_try" in
         4240  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         4241  +  *) ac_try_echo=$ac_try;;
         4242  +esac
         4243  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         4244  +  (eval "$ac_try") 2>&5
  3645   4245     ac_status=$?
  3646   4246     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3647   4247     (exit $ac_status); }; }; then
  3648   4248     :
  3649   4249   else
  3650   4250     echo "$as_me: program exited with status $ac_status" >&5
  3651   4251   echo "$as_me: failed program was:" >&5
  3652   4252   sed 's/^/| /' conftest.$ac_ext >&5
  3653   4253   
  3654   4254   ( exit $ac_status )
  3655   4255   ac_cv_header_stdc=no
  3656   4256   fi
  3657         -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
         4257  +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
         4258  +fi
         4259  +
         4260  +
  3658   4261   fi
  3659   4262   fi
  3660         -fi
  3661         -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  3662         -echo "${ECHO_T}$ac_cv_header_stdc" >&6
         4263  +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
         4264  +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
  3663   4265   if test $ac_cv_header_stdc = yes; then
  3664   4266   
  3665   4267   cat >>confdefs.h <<\_ACEOF
  3666   4268   #define STDC_HEADERS 1
  3667   4269   _ACEOF
  3668   4270   
  3669   4271   fi
................................................................................
  3678   4280   
  3679   4281   
  3680   4282   
  3681   4283   for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  3682   4284   		  inttypes.h stdint.h unistd.h
  3683   4285   do
  3684   4286   as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  3685         -echo "$as_me:$LINENO: checking for $ac_header" >&5
  3686         -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  3687         -if eval "test \"\${$as_ac_Header+set}\" = set"; then
         4287  +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
         4288  +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
         4289  +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  3688   4290     echo $ECHO_N "(cached) $ECHO_C" >&6
  3689   4291   else
  3690   4292     cat >conftest.$ac_ext <<_ACEOF
  3691   4293   /* confdefs.h.  */
  3692   4294   _ACEOF
  3693   4295   cat confdefs.h >>conftest.$ac_ext
  3694   4296   cat >>conftest.$ac_ext <<_ACEOF
  3695   4297   /* end confdefs.h.  */
  3696   4298   $ac_includes_default
  3697   4299   
  3698   4300   #include <$ac_header>
  3699   4301   _ACEOF
  3700   4302   rm -f conftest.$ac_objext
  3701         -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3702         -  (eval $ac_compile) 2>conftest.er1
         4303  +if { (ac_try="$ac_compile"
         4304  +case "(($ac_try" in
         4305  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         4306  +  *) ac_try_echo=$ac_try;;
         4307  +esac
         4308  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         4309  +  (eval "$ac_compile") 2>conftest.er1
  3703   4310     ac_status=$?
  3704   4311     grep -v '^ *+' conftest.er1 >conftest.err
  3705   4312     rm -f conftest.er1
  3706   4313     cat conftest.err >&5
  3707   4314     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3708         -  (exit $ac_status); } &&
  3709         -	 { ac_try='test -z "$ac_c_werror_flag"
  3710         -			 || test ! -s conftest.err'
  3711         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3712         -  (eval $ac_try) 2>&5
  3713         -  ac_status=$?
  3714         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3715         -  (exit $ac_status); }; } &&
  3716         -	 { ac_try='test -s conftest.$ac_objext'
  3717         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3718         -  (eval $ac_try) 2>&5
  3719         -  ac_status=$?
  3720         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3721         -  (exit $ac_status); }; }; then
         4315  +  (exit $ac_status); } && {
         4316  +	 test -z "$ac_c_werror_flag" ||
         4317  +	 test ! -s conftest.err
         4318  +       } && test -s conftest.$ac_objext; then
  3722   4319     eval "$as_ac_Header=yes"
  3723   4320   else
  3724   4321     echo "$as_me: failed program was:" >&5
  3725   4322   sed 's/^/| /' conftest.$ac_ext >&5
  3726   4323   
  3727         -eval "$as_ac_Header=no"
         4324  +	eval "$as_ac_Header=no"
  3728   4325   fi
  3729         -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
         4326  +
         4327  +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3730   4328   fi
  3731         -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  3732         -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
         4329  +ac_res=`eval echo '${'$as_ac_Header'}'`
         4330  +	       { echo "$as_me:$LINENO: result: $ac_res" >&5
         4331  +echo "${ECHO_T}$ac_res" >&6; }
  3733   4332   if test `eval echo '${'$as_ac_Header'}'` = yes; then
  3734   4333     cat >>confdefs.h <<_ACEOF
  3735   4334   #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  3736   4335   _ACEOF
  3737   4336   
  3738   4337   fi
  3739   4338   
................................................................................
  3740   4339   done
  3741   4340   
  3742   4341   
  3743   4342   
  3744   4343   for ac_header in dlfcn.h
  3745   4344   do
  3746   4345   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
         4346  +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
         4347  +  { echo "$as_me:$LINENO: checking for $ac_header" >&5
         4348  +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
         4349  +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  3751   4350     echo $ECHO_N "(cached) $ECHO_C" >&6
  3752   4351   fi
  3753         -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  3754         -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
         4352  +ac_res=`eval echo '${'$as_ac_Header'}'`
         4353  +	       { echo "$as_me:$LINENO: result: $ac_res" >&5
         4354  +echo "${ECHO_T}$ac_res" >&6; }
  3755   4355   else
  3756   4356     # 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
         4357  +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
         4358  +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  3759   4359   cat >conftest.$ac_ext <<_ACEOF
  3760   4360   /* confdefs.h.  */
  3761   4361   _ACEOF
  3762   4362   cat confdefs.h >>conftest.$ac_ext
  3763   4363   cat >>conftest.$ac_ext <<_ACEOF
  3764   4364   /* end confdefs.h.  */
  3765   4365   $ac_includes_default
  3766   4366   #include <$ac_header>
  3767   4367   _ACEOF
  3768   4368   rm -f conftest.$ac_objext
  3769         -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3770         -  (eval $ac_compile) 2>conftest.er1
         4369  +if { (ac_try="$ac_compile"
         4370  +case "(($ac_try" in
         4371  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         4372  +  *) ac_try_echo=$ac_try;;
         4373  +esac
         4374  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         4375  +  (eval "$ac_compile") 2>conftest.er1
  3771   4376     ac_status=$?
  3772   4377     grep -v '^ *+' conftest.er1 >conftest.err
  3773   4378     rm -f conftest.er1
  3774   4379     cat conftest.err >&5
  3775   4380     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3776         -  (exit $ac_status); } &&
  3777         -	 { ac_try='test -z "$ac_c_werror_flag"
  3778         -			 || test ! -s conftest.err'
  3779         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3780         -  (eval $ac_try) 2>&5
  3781         -  ac_status=$?
  3782         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3783         -  (exit $ac_status); }; } &&
  3784         -	 { ac_try='test -s conftest.$ac_objext'
  3785         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3786         -  (eval $ac_try) 2>&5
  3787         -  ac_status=$?
  3788         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3789         -  (exit $ac_status); }; }; then
         4381  +  (exit $ac_status); } && {
         4382  +	 test -z "$ac_c_werror_flag" ||
         4383  +	 test ! -s conftest.err
         4384  +       } && test -s conftest.$ac_objext; then
  3790   4385     ac_header_compiler=yes
  3791   4386   else
  3792   4387     echo "$as_me: failed program was:" >&5
  3793   4388   sed 's/^/| /' conftest.$ac_ext >&5
  3794   4389   
  3795         -ac_header_compiler=no
         4390  +	ac_header_compiler=no
  3796   4391   fi
  3797         -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3798         -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  3799         -echo "${ECHO_T}$ac_header_compiler" >&6
         4392  +
         4393  +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
         4394  +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
         4395  +echo "${ECHO_T}$ac_header_compiler" >&6; }
  3800   4396   
  3801   4397   # Is the header present?
  3802         -echo "$as_me:$LINENO: checking $ac_header presence" >&5
  3803         -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
         4398  +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
         4399  +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  3804   4400   cat >conftest.$ac_ext <<_ACEOF
  3805   4401   /* confdefs.h.  */
  3806   4402   _ACEOF
  3807   4403   cat confdefs.h >>conftest.$ac_ext
  3808   4404   cat >>conftest.$ac_ext <<_ACEOF
  3809   4405   /* end confdefs.h.  */
  3810   4406   #include <$ac_header>
  3811   4407   _ACEOF
  3812         -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3813         -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
         4408  +if { (ac_try="$ac_cpp conftest.$ac_ext"
         4409  +case "(($ac_try" in
         4410  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         4411  +  *) ac_try_echo=$ac_try;;
         4412  +esac
         4413  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         4414  +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3814   4415     ac_status=$?
  3815   4416     grep -v '^ *+' conftest.er1 >conftest.err
  3816   4417     rm -f conftest.er1
  3817   4418     cat conftest.err >&5
  3818   4419     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3819         -  (exit $ac_status); } >/dev/null; then
  3820         -  if test -s conftest.err; then
  3821         -    ac_cpp_err=$ac_c_preproc_warn_flag
  3822         -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3823         -  else
  3824         -    ac_cpp_err=
  3825         -  fi
  3826         -else
  3827         -  ac_cpp_err=yes
  3828         -fi
  3829         -if test -z "$ac_cpp_err"; then
         4420  +  (exit $ac_status); } >/dev/null && {
         4421  +	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
         4422  +	 test ! -s conftest.err
         4423  +       }; then
  3830   4424     ac_header_preproc=yes
  3831   4425   else
  3832   4426     echo "$as_me: failed program was:" >&5
  3833   4427   sed 's/^/| /' conftest.$ac_ext >&5
  3834   4428   
  3835   4429     ac_header_preproc=no
  3836   4430   fi
         4431  +
  3837   4432   rm -f conftest.err conftest.$ac_ext
  3838         -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  3839         -echo "${ECHO_T}$ac_header_preproc" >&6
         4433  +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
         4434  +echo "${ECHO_T}$ac_header_preproc" >&6; }
  3840   4435   
  3841   4436   # So?  What about this header?
  3842   4437   case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  3843   4438     yes:no: )
  3844   4439       { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  3845   4440   echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  3846   4441       { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
................................................................................
  3856   4451   echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  3857   4452       { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
  3858   4453   echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
  3859   4454       { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  3860   4455   echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  3861   4456       { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  3862   4457   echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  3863         -    (
  3864         -      cat <<\_ASBOX
  3865         -## ------------------------------------------ ##
  3866         -## Report this to the AC_PACKAGE_NAME lists.  ##
  3867         -## ------------------------------------------ ##
  3868         -_ASBOX
  3869         -    ) |
  3870         -      sed "s/^/$as_me: WARNING:     /" >&2
         4458  +
  3871   4459       ;;
  3872   4460   esac
  3873         -echo "$as_me:$LINENO: checking for $ac_header" >&5
  3874         -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  3875         -if eval "test \"\${$as_ac_Header+set}\" = set"; then
         4461  +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
         4462  +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
         4463  +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  3876   4464     echo $ECHO_N "(cached) $ECHO_C" >&6
  3877   4465   else
  3878   4466     eval "$as_ac_Header=\$ac_header_preproc"
  3879   4467   fi
  3880         -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  3881         -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
         4468  +ac_res=`eval echo '${'$as_ac_Header'}'`
         4469  +	       { echo "$as_me:$LINENO: result: $ac_res" >&5
         4470  +echo "${ECHO_T}$ac_res" >&6; }
  3882   4471   
  3883   4472   fi
  3884   4473   if test `eval echo '${'$as_ac_Header'}'` = yes; then
  3885   4474     cat >>confdefs.h <<_ACEOF
  3886   4475   #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  3887   4476   _ACEOF
  3888   4477   
  3889   4478   fi
  3890   4479   
  3891   4480   done
  3892   4481   
  3893         -ac_ext=cc
         4482  +ac_ext=cpp
  3894   4483   ac_cpp='$CXXCPP $CPPFLAGS'
  3895   4484   ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3896   4485   ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3897   4486   ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  3898         -if test -n "$ac_tool_prefix"; then
  3899         -  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
         4487  +if test -z "$CXX"; then
         4488  +  if test -n "$CCC"; then
         4489  +    CXX=$CCC
         4490  +  else
         4491  +    if test -n "$ac_tool_prefix"; then
         4492  +  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  3900   4493     do
  3901   4494       # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3902   4495   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3903         -echo "$as_me:$LINENO: checking for $ac_word" >&5
  3904         -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
         4496  +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
         4497  +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3905   4498   if test "${ac_cv_prog_CXX+set}" = set; then
  3906   4499     echo $ECHO_N "(cached) $ECHO_C" >&6
  3907   4500   else
  3908   4501     if test -n "$CXX"; then
  3909   4502     ac_cv_prog_CXX="$CXX" # Let the user override the test.
  3910   4503   else
  3911   4504   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3912   4505   for as_dir in $PATH
  3913   4506   do
  3914   4507     IFS=$as_save_IFS
  3915   4508     test -z "$as_dir" && as_dir=.
  3916   4509     for ac_exec_ext in '' $ac_executable_extensions; do
  3917         -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
         4510  +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3918   4511       ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  3919   4512       echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3920   4513       break 2
  3921   4514     fi
  3922   4515   done
  3923   4516   done
         4517  +IFS=$as_save_IFS
  3924   4518   
  3925   4519   fi
  3926   4520   fi
  3927   4521   CXX=$ac_cv_prog_CXX
  3928   4522   if test -n "$CXX"; then
  3929         -  echo "$as_me:$LINENO: result: $CXX" >&5
  3930         -echo "${ECHO_T}$CXX" >&6
         4523  +  { echo "$as_me:$LINENO: result: $CXX" >&5
         4524  +echo "${ECHO_T}$CXX" >&6; }
  3931   4525   else
  3932         -  echo "$as_me:$LINENO: result: no" >&5
  3933         -echo "${ECHO_T}no" >&6
         4526  +  { echo "$as_me:$LINENO: result: no" >&5
         4527  +echo "${ECHO_T}no" >&6; }
  3934   4528   fi
         4529  +
  3935   4530   
  3936   4531       test -n "$CXX" && break
  3937   4532     done
  3938   4533   fi
  3939   4534   if test -z "$CXX"; then
  3940   4535     ac_ct_CXX=$CXX
  3941         -  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
         4536  +  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  3942   4537   do
  3943   4538     # Extract the first word of "$ac_prog", so it can be a program name with args.
  3944   4539   set dummy $ac_prog; ac_word=$2
  3945         -echo "$as_me:$LINENO: checking for $ac_word" >&5
  3946         -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
         4540  +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
         4541  +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3947   4542   if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
  3948   4543     echo $ECHO_N "(cached) $ECHO_C" >&6
  3949   4544   else
  3950   4545     if test -n "$ac_ct_CXX"; then
  3951   4546     ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
  3952   4547   else
  3953   4548   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3954   4549   for as_dir in $PATH
  3955   4550   do
  3956   4551     IFS=$as_save_IFS
  3957   4552     test -z "$as_dir" && as_dir=.
  3958   4553     for ac_exec_ext in '' $ac_executable_extensions; do
  3959         -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
         4554  +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3960   4555       ac_cv_prog_ac_ct_CXX="$ac_prog"
  3961   4556       echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3962   4557       break 2
  3963   4558     fi
  3964   4559   done
  3965   4560   done
         4561  +IFS=$as_save_IFS
  3966   4562   
  3967   4563   fi
  3968   4564   fi
  3969   4565   ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  3970   4566   if test -n "$ac_ct_CXX"; then
  3971         -  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
  3972         -echo "${ECHO_T}$ac_ct_CXX" >&6
         4567  +  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
         4568  +echo "${ECHO_T}$ac_ct_CXX" >&6; }
  3973   4569   else
  3974         -  echo "$as_me:$LINENO: result: no" >&5
  3975         -echo "${ECHO_T}no" >&6
         4570  +  { echo "$as_me:$LINENO: result: no" >&5
         4571  +echo "${ECHO_T}no" >&6; }
  3976   4572   fi
         4573  +
  3977   4574   
  3978   4575     test -n "$ac_ct_CXX" && break
  3979   4576   done
  3980         -test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
  3981   4577   
  3982         -  CXX=$ac_ct_CXX
         4578  +  if test "x$ac_ct_CXX" = x; then
         4579  +    CXX="g++"
         4580  +  else
         4581  +    case $cross_compiling:$ac_tool_warned in
         4582  +yes:)
         4583  +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
         4584  +whose name does not start with the host triplet.  If you think this
         4585  +configuration is useful to you, please write to autoconf@gnu.org." >&5
         4586  +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
         4587  +whose name does not start with the host triplet.  If you think this
         4588  +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
         4589  +ac_tool_warned=yes ;;
         4590  +esac
         4591  +    CXX=$ac_ct_CXX
         4592  +  fi
  3983   4593   fi
  3984   4594   
  3985         -
         4595  +  fi
         4596  +fi
  3986   4597   # Provide some information about the compiler.
  3987         -echo "$as_me:$LINENO:" \
  3988         -     "checking for C++ compiler version" >&5
         4598  +echo "$as_me:$LINENO: checking for C++ compiler version" >&5
  3989   4599   ac_compiler=`set X $ac_compile; echo $2`
  3990         -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
  3991         -  (eval $ac_compiler --version </dev/null >&5) 2>&5
         4600  +{ (ac_try="$ac_compiler --version >&5"
         4601  +case "(($ac_try" in
         4602  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         4603  +  *) ac_try_echo=$ac_try;;
         4604  +esac
         4605  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         4606  +  (eval "$ac_compiler --version >&5") 2>&5
         4607  +  ac_status=$?
         4608  +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
         4609  +  (exit $ac_status); }
         4610  +{ (ac_try="$ac_compiler -v >&5"
         4611  +case "(($ac_try" in
         4612  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         4613  +  *) ac_try_echo=$ac_try;;
         4614  +esac
         4615  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         4616  +  (eval "$ac_compiler -v >&5") 2>&5
  3992   4617     ac_status=$?
  3993   4618     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3994   4619     (exit $ac_status); }
  3995         -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
  3996         -  (eval $ac_compiler -v </dev/null >&5) 2>&5
  3997         -  ac_status=$?
  3998         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3999         -  (exit $ac_status); }
  4000         -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
  4001         -  (eval $ac_compiler -V </dev/null >&5) 2>&5
         4620  +{ (ac_try="$ac_compiler -V >&5"
         4621  +case "(($ac_try" in
         4622  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         4623  +  *) ac_try_echo=$ac_try;;
         4624  +esac
         4625  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         4626  +  (eval "$ac_compiler -V >&5") 2>&5
  4002   4627     ac_status=$?
  4003   4628     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4004   4629     (exit $ac_status); }
  4005   4630   
  4006         -echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
  4007         -echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
         4631  +{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
         4632  +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
  4008   4633   if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
  4009   4634     echo $ECHO_N "(cached) $ECHO_C" >&6
  4010   4635   else
  4011   4636     cat >conftest.$ac_ext <<_ACEOF
  4012   4637   /* confdefs.h.  */
  4013   4638   _ACEOF
  4014   4639   cat confdefs.h >>conftest.$ac_ext
................................................................................
  4023   4648   #endif
  4024   4649   
  4025   4650     ;
  4026   4651     return 0;
  4027   4652   }
  4028   4653   _ACEOF
  4029   4654   rm -f conftest.$ac_objext
  4030         -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4031         -  (eval $ac_compile) 2>conftest.er1
         4655  +if { (ac_try="$ac_compile"
         4656  +case "(($ac_try" in
         4657  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         4658  +  *) ac_try_echo=$ac_try;;
         4659  +esac
         4660  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         4661  +  (eval "$ac_compile") 2>conftest.er1
  4032   4662     ac_status=$?
  4033   4663     grep -v '^ *+' conftest.er1 >conftest.err
  4034   4664     rm -f conftest.er1
  4035   4665     cat conftest.err >&5
  4036   4666     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4037         -  (exit $ac_status); } &&
  4038         -	 { ac_try='test -z "$ac_cxx_werror_flag"
  4039         -			 || test ! -s conftest.err'
  4040         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4041         -  (eval $ac_try) 2>&5
  4042         -  ac_status=$?
  4043         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4044         -  (exit $ac_status); }; } &&
  4045         -	 { ac_try='test -s conftest.$ac_objext'
  4046         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4047         -  (eval $ac_try) 2>&5
  4048         -  ac_status=$?
  4049         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4050         -  (exit $ac_status); }; }; then
         4667  +  (exit $ac_status); } && {
         4668  +	 test -z "$ac_cxx_werror_flag" ||
         4669  +	 test ! -s conftest.err
         4670  +       } && test -s conftest.$ac_objext; then
  4051   4671     ac_compiler_gnu=yes
  4052   4672   else
  4053   4673     echo "$as_me: failed program was:" >&5
  4054   4674   sed 's/^/| /' conftest.$ac_ext >&5
  4055   4675   
  4056         -ac_compiler_gnu=no
         4676  +	ac_compiler_gnu=no
  4057   4677   fi
  4058         -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
         4678  +
         4679  +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4059   4680   ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  4060   4681   
  4061   4682   fi
  4062         -echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
  4063         -echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
         4683  +{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
         4684  +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
  4064   4685   GXX=`test $ac_compiler_gnu = yes && echo yes`
  4065   4686   ac_test_CXXFLAGS=${CXXFLAGS+set}
  4066   4687   ac_save_CXXFLAGS=$CXXFLAGS
  4067         -CXXFLAGS="-g"
  4068         -echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
  4069         -echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
         4688  +{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
         4689  +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
  4070   4690   if test "${ac_cv_prog_cxx_g+set}" = set; then
  4071   4691     echo $ECHO_N "(cached) $ECHO_C" >&6
  4072   4692   else
  4073         -  cat >conftest.$ac_ext <<_ACEOF
         4693  +  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
         4694  +   ac_cxx_werror_flag=yes
         4695  +   ac_cv_prog_cxx_g=no
         4696  +   CXXFLAGS="-g"
         4697  +   cat >conftest.$ac_ext <<_ACEOF
         4698  +/* confdefs.h.  */
         4699  +_ACEOF
         4700  +cat confdefs.h >>conftest.$ac_ext
         4701  +cat >>conftest.$ac_ext <<_ACEOF
         4702  +/* end confdefs.h.  */
         4703  +
         4704  +int
         4705  +main ()
         4706  +{
         4707  +
         4708  +  ;
         4709  +  return 0;
         4710  +}
         4711  +_ACEOF
         4712  +rm -f conftest.$ac_objext
         4713  +if { (ac_try="$ac_compile"
         4714  +case "(($ac_try" in
         4715  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         4716  +  *) ac_try_echo=$ac_try;;
         4717  +esac
         4718  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         4719  +  (eval "$ac_compile") 2>conftest.er1
         4720  +  ac_status=$?
         4721  +  grep -v '^ *+' conftest.er1 >conftest.err
         4722  +  rm -f conftest.er1
         4723  +  cat conftest.err >&5
         4724  +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
         4725  +  (exit $ac_status); } && {
         4726  +	 test -z "$ac_cxx_werror_flag" ||
         4727  +	 test ! -s conftest.err
         4728  +       } && test -s conftest.$ac_objext; then
         4729  +  ac_cv_prog_cxx_g=yes
         4730  +else
         4731  +  echo "$as_me: failed program was:" >&5
         4732  +sed 's/^/| /' conftest.$ac_ext >&5
         4733  +
         4734  +	CXXFLAGS=""
         4735  +      cat >conftest.$ac_ext <<_ACEOF
         4736  +/* confdefs.h.  */
         4737  +_ACEOF
         4738  +cat confdefs.h >>conftest.$ac_ext
         4739  +cat >>conftest.$ac_ext <<_ACEOF
         4740  +/* end confdefs.h.  */
         4741  +
         4742  +int
         4743  +main ()
         4744  +{
         4745  +
         4746  +  ;
         4747  +  return 0;
         4748  +}
         4749  +_ACEOF
         4750  +rm -f conftest.$ac_objext
         4751  +if { (ac_try="$ac_compile"
         4752  +case "(($ac_try" in
         4753  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         4754  +  *) ac_try_echo=$ac_try;;
         4755  +esac
         4756  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         4757  +  (eval "$ac_compile") 2>conftest.er1
         4758  +  ac_status=$?
         4759  +  grep -v '^ *+' conftest.er1 >conftest.err
         4760  +  rm -f conftest.er1
         4761  +  cat conftest.err >&5
         4762  +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
         4763  +  (exit $ac_status); } && {
         4764  +	 test -z "$ac_cxx_werror_flag" ||
         4765  +	 test ! -s conftest.err
         4766  +       } && test -s conftest.$ac_objext; then
         4767  +  :
         4768  +else
         4769  +  echo "$as_me: failed program was:" >&5
         4770  +sed 's/^/| /' conftest.$ac_ext >&5
         4771  +
         4772  +	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
         4773  +	 CXXFLAGS="-g"
         4774  +	 cat >conftest.$ac_ext <<_ACEOF
  4074   4775   /* confdefs.h.  */
  4075   4776   _ACEOF
  4076   4777   cat confdefs.h >>conftest.$ac_ext
  4077   4778   cat >>conftest.$ac_ext <<_ACEOF
  4078   4779   /* end confdefs.h.  */
  4079   4780   
  4080   4781   int
................................................................................
  4082   4783   {
  4083   4784   
  4084   4785     ;
  4085   4786     return 0;
  4086   4787   }
  4087   4788   _ACEOF
  4088   4789   rm -f conftest.$ac_objext
  4089         -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4090         -  (eval $ac_compile) 2>conftest.er1
         4790  +if { (ac_try="$ac_compile"
         4791  +case "(($ac_try" in
         4792  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         4793  +  *) ac_try_echo=$ac_try;;
         4794  +esac
         4795  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         4796  +  (eval "$ac_compile") 2>conftest.er1
  4091   4797     ac_status=$?
  4092   4798     grep -v '^ *+' conftest.er1 >conftest.err
  4093   4799     rm -f conftest.er1
  4094   4800     cat conftest.err >&5
  4095   4801     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4096         -  (exit $ac_status); } &&
  4097         -	 { ac_try='test -z "$ac_cxx_werror_flag"
  4098         -			 || test ! -s conftest.err'
  4099         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4100         -  (eval $ac_try) 2>&5
  4101         -  ac_status=$?
  4102         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4103         -  (exit $ac_status); }; } &&
  4104         -	 { ac_try='test -s conftest.$ac_objext'
  4105         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4106         -  (eval $ac_try) 2>&5
  4107         -  ac_status=$?
  4108         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4109         -  (exit $ac_status); }; }; then
         4802  +  (exit $ac_status); } && {
         4803  +	 test -z "$ac_cxx_werror_flag" ||
         4804  +	 test ! -s conftest.err
         4805  +       } && test -s conftest.$ac_objext; then
  4110   4806     ac_cv_prog_cxx_g=yes
  4111   4807   else
  4112   4808     echo "$as_me: failed program was:" >&5
  4113   4809   sed 's/^/| /' conftest.$ac_ext >&5
  4114   4810   
  4115         -ac_cv_prog_cxx_g=no
         4811  +
  4116   4812   fi
  4117         -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
         4813  +
         4814  +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4118   4815   fi
  4119         -echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
  4120         -echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
         4816  +
         4817  +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
         4818  +fi
         4819  +
         4820  +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
         4821  +   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
         4822  +fi
         4823  +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
         4824  +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
  4121   4825   if test "$ac_test_CXXFLAGS" = set; then
  4122   4826     CXXFLAGS=$ac_save_CXXFLAGS
  4123   4827   elif test $ac_cv_prog_cxx_g = yes; then
  4124   4828     if test "$GXX" = yes; then
  4125   4829       CXXFLAGS="-g -O2"
  4126   4830     else
  4127   4831       CXXFLAGS="-g"
................................................................................
  4129   4833   else
  4130   4834     if test "$GXX" = yes; then
  4131   4835       CXXFLAGS="-O2"
  4132   4836     else
  4133   4837       CXXFLAGS=
  4134   4838     fi
  4135   4839   fi
  4136         -for ac_declaration in \
  4137         -   '' \
  4138         -   'extern "C" void std::exit (int) throw (); using std::exit;' \
  4139         -   'extern "C" void std::exit (int); using std::exit;' \
  4140         -   'extern "C" void exit (int) throw ();' \
  4141         -   'extern "C" void exit (int);' \
  4142         -   'void exit (int);'
  4143         -do
  4144         -  cat >conftest.$ac_ext <<_ACEOF
  4145         -/* confdefs.h.  */
  4146         -_ACEOF
  4147         -cat confdefs.h >>conftest.$ac_ext
  4148         -cat >>conftest.$ac_ext <<_ACEOF
  4149         -/* end confdefs.h.  */
  4150         -$ac_declaration
  4151         -#include <stdlib.h>
  4152         -int
  4153         -main ()
  4154         -{
  4155         -exit (42);
  4156         -  ;
  4157         -  return 0;
  4158         -}
  4159         -_ACEOF
  4160         -rm -f conftest.$ac_objext
  4161         -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4162         -  (eval $ac_compile) 2>conftest.er1
  4163         -  ac_status=$?
  4164         -  grep -v '^ *+' conftest.er1 >conftest.err
  4165         -  rm -f conftest.er1
  4166         -  cat conftest.err >&5
  4167         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4168         -  (exit $ac_status); } &&
  4169         -	 { ac_try='test -z "$ac_cxx_werror_flag"
  4170         -			 || test ! -s conftest.err'
  4171         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4172         -  (eval $ac_try) 2>&5
  4173         -  ac_status=$?
  4174         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4175         -  (exit $ac_status); }; } &&
  4176         -	 { ac_try='test -s conftest.$ac_objext'
  4177         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4178         -  (eval $ac_try) 2>&5
  4179         -  ac_status=$?
  4180         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4181         -  (exit $ac_status); }; }; then
  4182         -  :
  4183         -else
  4184         -  echo "$as_me: failed program was:" >&5
  4185         -sed 's/^/| /' conftest.$ac_ext >&5
  4186         -
  4187         -continue
  4188         -fi
  4189         -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4190         -  cat >conftest.$ac_ext <<_ACEOF
  4191         -/* confdefs.h.  */
  4192         -_ACEOF
  4193         -cat confdefs.h >>conftest.$ac_ext
  4194         -cat >>conftest.$ac_ext <<_ACEOF
  4195         -/* end confdefs.h.  */
  4196         -$ac_declaration
  4197         -int
  4198         -main ()
  4199         -{
  4200         -exit (42);
  4201         -  ;
  4202         -  return 0;
  4203         -}
  4204         -_ACEOF
  4205         -rm -f conftest.$ac_objext
  4206         -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4207         -  (eval $ac_compile) 2>conftest.er1
  4208         -  ac_status=$?
  4209         -  grep -v '^ *+' conftest.er1 >conftest.err
  4210         -  rm -f conftest.er1
  4211         -  cat conftest.err >&5
  4212         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4213         -  (exit $ac_status); } &&
  4214         -	 { ac_try='test -z "$ac_cxx_werror_flag"
  4215         -			 || test ! -s conftest.err'
  4216         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4217         -  (eval $ac_try) 2>&5
  4218         -  ac_status=$?
  4219         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4220         -  (exit $ac_status); }; } &&
  4221         -	 { ac_try='test -s conftest.$ac_objext'
  4222         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4223         -  (eval $ac_try) 2>&5
  4224         -  ac_status=$?
  4225         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4226         -  (exit $ac_status); }; }; then
  4227         -  break
  4228         -else
  4229         -  echo "$as_me: failed program was:" >&5
  4230         -sed 's/^/| /' conftest.$ac_ext >&5
  4231         -
  4232         -fi
  4233         -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4234         -done
  4235         -rm -f conftest*
  4236         -if test -n "$ac_declaration"; then
  4237         -  echo '#ifdef __cplusplus' >>confdefs.h
  4238         -  echo $ac_declaration      >>confdefs.h
  4239         -  echo '#endif'             >>confdefs.h
  4240         -fi
  4241         -
  4242         -ac_ext=cc
         4840  +ac_ext=cpp
  4243   4841   ac_cpp='$CXXCPP $CPPFLAGS'
  4244   4842   ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4245   4843   ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4246   4844   ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  4247   4845   
  4248   4846   
  4249   4847   
  4250   4848   if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  4251   4849       ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  4252   4850       (test "X$CXX" != "Xg++"))) ; then
  4253         -  ac_ext=cc
         4851  +  ac_ext=cpp
  4254   4852   ac_cpp='$CXXCPP $CPPFLAGS'
  4255   4853   ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4256   4854   ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4257   4855   ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  4258         -echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
  4259         -echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
         4856  +{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
         4857  +echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
  4260   4858   if test -z "$CXXCPP"; then
  4261   4859     if test "${ac_cv_prog_CXXCPP+set}" = set; then
  4262   4860     echo $ECHO_N "(cached) $ECHO_C" >&6
  4263   4861   else
  4264   4862         # Double quotes because CXXCPP needs to be expanded
  4265   4863       for CXXCPP in "$CXX -E" "/lib/cpp"
  4266   4864       do
................................................................................
  4282   4880   #ifdef __STDC__
  4283   4881   # include <limits.h>
  4284   4882   #else
  4285   4883   # include <assert.h>
  4286   4884   #endif
  4287   4885   		     Syntax error
  4288   4886   _ACEOF
  4289         -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  4290         -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
         4887  +if { (ac_try="$ac_cpp conftest.$ac_ext"
         4888  +case "(($ac_try" in
         4889  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         4890  +  *) ac_try_echo=$ac_try;;
         4891  +esac
         4892  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         4893  +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4291   4894     ac_status=$?
  4292   4895     grep -v '^ *+' conftest.er1 >conftest.err
  4293   4896     rm -f conftest.er1
  4294   4897     cat conftest.err >&5
  4295   4898     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4296         -  (exit $ac_status); } >/dev/null; then
  4297         -  if test -s conftest.err; then
  4298         -    ac_cpp_err=$ac_cxx_preproc_warn_flag
  4299         -    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
  4300         -  else
  4301         -    ac_cpp_err=
  4302         -  fi
  4303         -else
  4304         -  ac_cpp_err=yes
  4305         -fi
  4306         -if test -z "$ac_cpp_err"; then
         4899  +  (exit $ac_status); } >/dev/null && {
         4900  +	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
         4901  +	 test ! -s conftest.err
         4902  +       }; then
  4307   4903     :
  4308   4904   else
  4309   4905     echo "$as_me: failed program was:" >&5
  4310   4906   sed 's/^/| /' conftest.$ac_ext >&5
  4311   4907   
  4312   4908     # Broken: fails on valid input.
  4313   4909   continue
  4314   4910   fi
         4911  +
  4315   4912   rm -f conftest.err conftest.$ac_ext
  4316   4913   
  4317         -  # OK, works on sane cases.  Now check whether non-existent headers
         4914  +  # OK, works on sane cases.  Now check whether nonexistent headers
  4318   4915     # can be detected and how.
  4319   4916     cat >conftest.$ac_ext <<_ACEOF
  4320   4917   /* confdefs.h.  */
  4321   4918   _ACEOF
  4322   4919   cat confdefs.h >>conftest.$ac_ext
  4323   4920   cat >>conftest.$ac_ext <<_ACEOF
  4324   4921   /* end confdefs.h.  */
  4325   4922   #include <ac_nonexistent.h>
  4326   4923   _ACEOF
  4327         -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  4328         -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
         4924  +if { (ac_try="$ac_cpp conftest.$ac_ext"
         4925  +case "(($ac_try" in
         4926  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         4927  +  *) ac_try_echo=$ac_try;;
         4928  +esac
         4929  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         4930  +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4329   4931     ac_status=$?
  4330   4932     grep -v '^ *+' conftest.er1 >conftest.err
  4331   4933     rm -f conftest.er1
  4332   4934     cat conftest.err >&5
  4333   4935     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4334         -  (exit $ac_status); } >/dev/null; then
  4335         -  if test -s conftest.err; then
  4336         -    ac_cpp_err=$ac_cxx_preproc_warn_flag
  4337         -    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
  4338         -  else
  4339         -    ac_cpp_err=
  4340         -  fi
  4341         -else
  4342         -  ac_cpp_err=yes
  4343         -fi
  4344         -if test -z "$ac_cpp_err"; then
         4936  +  (exit $ac_status); } >/dev/null && {
         4937  +	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
         4938  +	 test ! -s conftest.err
         4939  +       }; then
  4345   4940     # Broken: success on invalid input.
  4346   4941   continue
  4347   4942   else
  4348   4943     echo "$as_me: failed program was:" >&5
  4349   4944   sed 's/^/| /' conftest.$ac_ext >&5
  4350   4945   
  4351   4946     # Passes both tests.
  4352   4947   ac_preproc_ok=:
  4353   4948   break
  4354   4949   fi
         4950  +
  4355   4951   rm -f conftest.err conftest.$ac_ext
  4356   4952   
  4357   4953   done
  4358   4954   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  4359   4955   rm -f conftest.err conftest.$ac_ext
  4360   4956   if $ac_preproc_ok; then
  4361   4957     break
................................................................................
  4365   4961       ac_cv_prog_CXXCPP=$CXXCPP
  4366   4962   
  4367   4963   fi
  4368   4964     CXXCPP=$ac_cv_prog_CXXCPP
  4369   4965   else
  4370   4966     ac_cv_prog_CXXCPP=$CXXCPP
  4371   4967   fi
  4372         -echo "$as_me:$LINENO: result: $CXXCPP" >&5
  4373         -echo "${ECHO_T}$CXXCPP" >&6
         4968  +{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
         4969  +echo "${ECHO_T}$CXXCPP" >&6; }
  4374   4970   ac_preproc_ok=false
  4375   4971   for ac_cxx_preproc_warn_flag in '' yes
  4376   4972   do
  4377   4973     # Use a header file that comes with gcc, so configuring glibc
  4378   4974     # with a fresh cross-compiler works.
  4379   4975     # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4380   4976     # <limits.h> exists even on freestanding compilers.
................................................................................
  4389   4985   #ifdef __STDC__
  4390   4986   # include <limits.h>
  4391   4987   #else
  4392   4988   # include <assert.h>
  4393   4989   #endif
  4394   4990   		     Syntax error
  4395   4991   _ACEOF
  4396         -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  4397         -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
         4992  +if { (ac_try="$ac_cpp conftest.$ac_ext"
         4993  +case "(($ac_try" in
         4994  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         4995  +  *) ac_try_echo=$ac_try;;
         4996  +esac
         4997  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         4998  +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4398   4999     ac_status=$?
  4399   5000     grep -v '^ *+' conftest.er1 >conftest.err
  4400   5001     rm -f conftest.er1
  4401   5002     cat conftest.err >&5
  4402   5003     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4403         -  (exit $ac_status); } >/dev/null; then
  4404         -  if test -s conftest.err; then
  4405         -    ac_cpp_err=$ac_cxx_preproc_warn_flag
  4406         -    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
  4407         -  else
  4408         -    ac_cpp_err=
  4409         -  fi
  4410         -else
  4411         -  ac_cpp_err=yes
  4412         -fi
  4413         -if test -z "$ac_cpp_err"; then
         5004  +  (exit $ac_status); } >/dev/null && {
         5005  +	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
         5006  +	 test ! -s conftest.err
         5007  +       }; then
  4414   5008     :
  4415   5009   else
  4416   5010     echo "$as_me: failed program was:" >&5
  4417   5011   sed 's/^/| /' conftest.$ac_ext >&5
  4418   5012   
  4419   5013     # Broken: fails on valid input.
  4420   5014   continue
  4421   5015   fi
         5016  +
  4422   5017   rm -f conftest.err conftest.$ac_ext
  4423   5018   
  4424         -  # OK, works on sane cases.  Now check whether non-existent headers
         5019  +  # OK, works on sane cases.  Now check whether nonexistent headers
  4425   5020     # can be detected and how.
  4426   5021     cat >conftest.$ac_ext <<_ACEOF
  4427   5022   /* confdefs.h.  */
  4428   5023   _ACEOF
  4429   5024   cat confdefs.h >>conftest.$ac_ext
  4430   5025   cat >>conftest.$ac_ext <<_ACEOF
  4431   5026   /* end confdefs.h.  */
  4432   5027   #include <ac_nonexistent.h>
  4433   5028   _ACEOF
  4434         -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  4435         -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
         5029  +if { (ac_try="$ac_cpp conftest.$ac_ext"
         5030  +case "(($ac_try" in
         5031  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         5032  +  *) ac_try_echo=$ac_try;;
         5033  +esac
         5034  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         5035  +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4436   5036     ac_status=$?
  4437   5037     grep -v '^ *+' conftest.er1 >conftest.err
  4438   5038     rm -f conftest.er1
  4439   5039     cat conftest.err >&5
  4440   5040     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4441         -  (exit $ac_status); } >/dev/null; then
  4442         -  if test -s conftest.err; then
  4443         -    ac_cpp_err=$ac_cxx_preproc_warn_flag
  4444         -    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
  4445         -  else
  4446         -    ac_cpp_err=
  4447         -  fi
  4448         -else
  4449         -  ac_cpp_err=yes
  4450         -fi
  4451         -if test -z "$ac_cpp_err"; then
         5041  +  (exit $ac_status); } >/dev/null && {
         5042  +	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
         5043  +	 test ! -s conftest.err
         5044  +       }; then
  4452   5045     # Broken: success on invalid input.
  4453   5046   continue
  4454   5047   else
  4455   5048     echo "$as_me: failed program was:" >&5
  4456   5049   sed 's/^/| /' conftest.$ac_ext >&5
  4457   5050   
  4458   5051     # Passes both tests.
  4459   5052   ac_preproc_ok=:
  4460   5053   break
  4461   5054   fi
         5055  +
  4462   5056   rm -f conftest.err conftest.$ac_ext
  4463   5057   
  4464   5058   done
  4465   5059   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  4466   5060   rm -f conftest.err conftest.$ac_ext
  4467   5061   if $ac_preproc_ok; then
  4468   5062     :
................................................................................
  4470   5064     { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
  4471   5065   See \`config.log' for more details." >&5
  4472   5066   echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
  4473   5067   See \`config.log' for more details." >&2;}
  4474   5068      { (exit 1); exit 1; }; }
  4475   5069   fi
  4476   5070   
  4477         -ac_ext=cc
         5071  +ac_ext=cpp
  4478   5072   ac_cpp='$CXXCPP $CPPFLAGS'
  4479   5073   ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4480   5074   ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4481   5075   ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  4482   5076   
  4483   5077   fi
  4484   5078   
  4485   5079   
  4486   5080   ac_ext=f
  4487   5081   ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
  4488   5082   ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4489   5083   ac_compiler_gnu=$ac_cv_f77_compiler_gnu
  4490   5084   if test -n "$ac_tool_prefix"; then
  4491         -  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
         5085  +  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
  4492   5086     do
  4493   5087       # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4494   5088   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4495         -echo "$as_me:$LINENO: checking for $ac_word" >&5
  4496         -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
         5089  +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
         5090  +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4497   5091   if test "${ac_cv_prog_F77+set}" = set; then
  4498   5092     echo $ECHO_N "(cached) $ECHO_C" >&6
  4499   5093   else
  4500   5094     if test -n "$F77"; then
  4501   5095     ac_cv_prog_F77="$F77" # Let the user override the test.
  4502   5096   else
  4503   5097   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4504   5098   for as_dir in $PATH
  4505   5099   do
  4506   5100     IFS=$as_save_IFS
  4507   5101     test -z "$as_dir" && as_dir=.
  4508   5102     for ac_exec_ext in '' $ac_executable_extensions; do
  4509         -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
         5103  +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4510   5104       ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
  4511   5105       echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4512   5106       break 2
  4513   5107     fi
  4514   5108   done
  4515   5109   done
         5110  +IFS=$as_save_IFS
  4516   5111   
  4517   5112   fi
  4518   5113   fi
  4519   5114   F77=$ac_cv_prog_F77
  4520   5115   if test -n "$F77"; then
  4521         -  echo "$as_me:$LINENO: result: $F77" >&5
  4522         -echo "${ECHO_T}$F77" >&6
         5116  +  { echo "$as_me:$LINENO: result: $F77" >&5
         5117  +echo "${ECHO_T}$F77" >&6; }
  4523   5118   else
  4524         -  echo "$as_me:$LINENO: result: no" >&5
  4525         -echo "${ECHO_T}no" >&6
         5119  +  { echo "$as_me:$LINENO: result: no" >&5
         5120  +echo "${ECHO_T}no" >&6; }
  4526   5121   fi
         5122  +
  4527   5123   
  4528   5124       test -n "$F77" && break
  4529   5125     done
  4530   5126   fi
  4531   5127   if test -z "$F77"; then
  4532   5128     ac_ct_F77=$F77
  4533         -  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
         5129  +  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
  4534   5130   do
  4535   5131     # Extract the first word of "$ac_prog", so it can be a program name with args.
  4536   5132   set dummy $ac_prog; ac_word=$2
  4537         -echo "$as_me:$LINENO: checking for $ac_word" >&5
  4538         -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
         5133  +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
         5134  +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4539   5135   if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
  4540   5136     echo $ECHO_N "(cached) $ECHO_C" >&6
  4541   5137   else
  4542   5138     if test -n "$ac_ct_F77"; then
  4543   5139     ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
  4544   5140   else
  4545   5141   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4546   5142   for as_dir in $PATH
  4547   5143   do
  4548   5144     IFS=$as_save_IFS
  4549   5145     test -z "$as_dir" && as_dir=.
  4550   5146     for ac_exec_ext in '' $ac_executable_extensions; do
  4551         -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
         5147  +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4552   5148       ac_cv_prog_ac_ct_F77="$ac_prog"
  4553   5149       echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4554   5150       break 2
  4555   5151     fi
  4556   5152   done
  4557   5153   done
         5154  +IFS=$as_save_IFS
  4558   5155   
  4559   5156   fi
  4560   5157   fi
  4561   5158   ac_ct_F77=$ac_cv_prog_ac_ct_F77
  4562   5159   if test -n "$ac_ct_F77"; then
  4563         -  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
  4564         -echo "${ECHO_T}$ac_ct_F77" >&6
         5160  +  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
         5161  +echo "${ECHO_T}$ac_ct_F77" >&6; }
  4565   5162   else
  4566         -  echo "$as_me:$LINENO: result: no" >&5
  4567         -echo "${ECHO_T}no" >&6
         5163  +  { echo "$as_me:$LINENO: result: no" >&5
         5164  +echo "${ECHO_T}no" >&6; }
  4568   5165   fi
         5166  +
  4569   5167   
  4570   5168     test -n "$ac_ct_F77" && break
  4571   5169   done
  4572   5170   
  4573         -  F77=$ac_ct_F77
         5171  +  if test "x$ac_ct_F77" = x; then
         5172  +    F77=""
         5173  +  else
         5174  +    case $cross_compiling:$ac_tool_warned in
         5175  +yes:)
         5176  +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
         5177  +whose name does not start with the host triplet.  If you think this
         5178  +configuration is useful to you, please write to autoconf@gnu.org." >&5
         5179  +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
         5180  +whose name does not start with the host triplet.  If you think this
         5181  +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
         5182  +ac_tool_warned=yes ;;
         5183  +esac
         5184  +    F77=$ac_ct_F77
         5185  +  fi
  4574   5186   fi
  4575   5187   
  4576   5188   
  4577   5189   # Provide some information about the compiler.
  4578         -echo "$as_me:4578:" \
  4579         -     "checking for Fortran 77 compiler version" >&5
         5190  +echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
  4580   5191   ac_compiler=`set X $ac_compile; echo $2`
  4581         -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
  4582         -  (eval $ac_compiler --version </dev/null >&5) 2>&5
         5192  +{ (ac_try="$ac_compiler --version >&5"
         5193  +case "(($ac_try" in
         5194  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         5195  +  *) ac_try_echo=$ac_try;;
         5196  +esac
         5197  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         5198  +  (eval "$ac_compiler --version >&5") 2>&5
  4583   5199     ac_status=$?
  4584   5200     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4585   5201     (exit $ac_status); }
  4586         -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
  4587         -  (eval $ac_compiler -v </dev/null >&5) 2>&5
         5202  +{ (ac_try="$ac_compiler -v >&5"
         5203  +case "(($ac_try" in
         5204  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         5205  +  *) ac_try_echo=$ac_try;;
         5206  +esac
         5207  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         5208  +  (eval "$ac_compiler -v >&5") 2>&5
  4588   5209     ac_status=$?
  4589   5210     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4590   5211     (exit $ac_status); }
  4591         -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
  4592         -  (eval $ac_compiler -V </dev/null >&5) 2>&5
         5212  +{ (ac_try="$ac_compiler -V >&5"
         5213  +case "(($ac_try" in
         5214  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         5215  +  *) ac_try_echo=$ac_try;;
         5216  +esac
         5217  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         5218  +  (eval "$ac_compiler -V >&5") 2>&5
  4593   5219     ac_status=$?
  4594   5220     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4595   5221     (exit $ac_status); }
  4596   5222   rm -f a.out
  4597   5223   
  4598   5224   # If we don't use `.F' as extension, the preprocessor is not run on the
  4599   5225   # input file.  (Note that this only needs to work for GNU compilers.)
  4600   5226   ac_save_ext=$ac_ext
  4601   5227   ac_ext=F
  4602         -echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
  4603         -echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
         5228  +{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
         5229  +echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
  4604   5230   if test "${ac_cv_f77_compiler_gnu+set}" = set; then
  4605   5231     echo $ECHO_N "(cached) $ECHO_C" >&6
  4606   5232   else
  4607   5233     cat >conftest.$ac_ext <<_ACEOF
  4608   5234         program main
  4609   5235   #ifndef __GNUC__
  4610   5236          choke me
  4611   5237   #endif
  4612   5238   
  4613   5239         end
  4614   5240   _ACEOF
  4615   5241   rm -f conftest.$ac_objext
  4616         -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4617         -  (eval $ac_compile) 2>conftest.er1
         5242  +if { (ac_try="$ac_compile"
         5243  +case "(($ac_try" in
         5244  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         5245  +  *) ac_try_echo=$ac_try;;
         5246  +esac
         5247  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         5248  +  (eval "$ac_compile") 2>conftest.er1
  4618   5249     ac_status=$?
  4619   5250     grep -v '^ *+' conftest.er1 >conftest.err
  4620   5251     rm -f conftest.er1
  4621   5252     cat conftest.err >&5
  4622   5253     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4623         -  (exit $ac_status); } &&
  4624         -	 { ac_try='test -z "$ac_f77_werror_flag"
  4625         -			 || test ! -s conftest.err'
  4626         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4627         -  (eval $ac_try) 2>&5
  4628         -  ac_status=$?
  4629         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4630         -  (exit $ac_status); }; } &&
  4631         -	 { ac_try='test -s conftest.$ac_objext'
  4632         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4633         -  (eval $ac_try) 2>&5
  4634         -  ac_status=$?
  4635         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4636         -  (exit $ac_status); }; }; then
         5254  +  (exit $ac_status); } && {
         5255  +	 test -z "$ac_f77_werror_flag" ||
         5256  +	 test ! -s conftest.err
         5257  +       } && test -s conftest.$ac_objext; then
  4637   5258     ac_compiler_gnu=yes
  4638   5259   else
  4639   5260     echo "$as_me: failed program was:" >&5
  4640   5261   sed 's/^/| /' conftest.$ac_ext >&5
  4641   5262   
  4642         -ac_compiler_gnu=no
         5263  +	ac_compiler_gnu=no
  4643   5264   fi
  4644         -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
         5265  +
         5266  +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4645   5267   ac_cv_f77_compiler_gnu=$ac_compiler_gnu
  4646   5268   
  4647   5269   fi
  4648         -echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
  4649         -echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
         5270  +{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
         5271  +echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
  4650   5272   ac_ext=$ac_save_ext
  4651   5273   ac_test_FFLAGS=${FFLAGS+set}
  4652   5274   ac_save_FFLAGS=$FFLAGS
  4653   5275   FFLAGS=
  4654         -echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
  4655         -echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
         5276  +{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
         5277  +echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
  4656   5278   if test "${ac_cv_prog_f77_g+set}" = set; then
  4657   5279     echo $ECHO_N "(cached) $ECHO_C" >&6
  4658   5280   else
  4659   5281     FFLAGS=-g
  4660   5282   cat >conftest.$ac_ext <<_ACEOF
  4661   5283         program main
  4662   5284   
  4663   5285         end
  4664   5286   _ACEOF
  4665   5287   rm -f conftest.$ac_objext
  4666         -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4667         -  (eval $ac_compile) 2>conftest.er1
         5288  +if { (ac_try="$ac_compile"
         5289  +case "(($ac_try" in
         5290  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         5291  +  *) ac_try_echo=$ac_try;;
         5292  +esac
         5293  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         5294  +  (eval "$ac_compile") 2>conftest.er1
  4668   5295     ac_status=$?
  4669   5296     grep -v '^ *+' conftest.er1 >conftest.err
  4670   5297     rm -f conftest.er1
  4671   5298     cat conftest.err >&5
  4672   5299     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4673         -  (exit $ac_status); } &&
  4674         -	 { ac_try='test -z "$ac_f77_werror_flag"
  4675         -			 || test ! -s conftest.err'
  4676         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4677         -  (eval $ac_try) 2>&5
  4678         -  ac_status=$?
  4679         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4680         -  (exit $ac_status); }; } &&
  4681         -	 { ac_try='test -s conftest.$ac_objext'
  4682         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4683         -  (eval $ac_try) 2>&5
  4684         -  ac_status=$?
  4685         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4686         -  (exit $ac_status); }; }; then
         5300  +  (exit $ac_status); } && {
         5301  +	 test -z "$ac_f77_werror_flag" ||
         5302  +	 test ! -s conftest.err
         5303  +       } && test -s conftest.$ac_objext; then
  4687   5304     ac_cv_prog_f77_g=yes
  4688   5305   else
  4689   5306     echo "$as_me: failed program was:" >&5
  4690   5307   sed 's/^/| /' conftest.$ac_ext >&5
  4691   5308   
  4692         -ac_cv_prog_f77_g=no
         5309  +	ac_cv_prog_f77_g=no
  4693   5310   fi
  4694         -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
         5311  +
         5312  +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4695   5313   
  4696   5314   fi
  4697         -echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
  4698         -echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
         5315  +{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
         5316  +echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
  4699   5317   if test "$ac_test_FFLAGS" = set; then
  4700   5318     FFLAGS=$ac_save_FFLAGS
  4701   5319   elif test $ac_cv_prog_f77_g = yes; then
  4702   5320     if test "x$ac_cv_f77_compiler_gnu" = xyes; then
  4703   5321       FFLAGS="-g -O2"
  4704   5322     else
  4705   5323       FFLAGS="-g"
................................................................................
  4720   5338   ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4721   5339   
  4722   5340   
  4723   5341   
  4724   5342   # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
  4725   5343   
  4726   5344   # find the maximum length of command line arguments
  4727         -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
  4728         -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
         5345  +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
         5346  +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
  4729   5347   if test "${lt_cv_sys_max_cmd_len+set}" = set; then
  4730   5348     echo $ECHO_N "(cached) $ECHO_C" >&6
  4731   5349   else
  4732   5350       i=0
  4733   5351     teststring="ABCD"
  4734   5352   
  4735   5353     case $build_os in
................................................................................
  4829   5447       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  4830   5448       ;;
  4831   5449     esac
  4832   5450   
  4833   5451   fi
  4834   5452   
  4835   5453   if test -n $lt_cv_sys_max_cmd_len ; then
  4836         -  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
  4837         -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
         5454  +  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
         5455  +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
  4838   5456   else
  4839         -  echo "$as_me:$LINENO: result: none" >&5
  4840         -echo "${ECHO_T}none" >&6
         5457  +  { echo "$as_me:$LINENO: result: none" >&5
         5458  +echo "${ECHO_T}none" >&6; }
  4841   5459   fi
  4842   5460   
  4843   5461   
  4844   5462   
  4845   5463   
  4846   5464   # Check for command to grab the raw symbol name followed by C symbol from nm.
  4847         -echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
  4848         -echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
         5465  +{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
         5466  +echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
  4849   5467   if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
  4850   5468     echo $ECHO_N "(cached) $ECHO_C" >&6
  4851   5469   else
  4852   5470   
  4853   5471   # These are sane defaults that work on at least a few old systems.
  4854   5472   # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
  4855   5473   
................................................................................
  5045   5663   
  5046   5664   fi
  5047   5665   
  5048   5666   if test -z "$lt_cv_sys_global_symbol_pipe"; then
  5049   5667     lt_cv_sys_global_symbol_to_cdecl=
  5050   5668   fi
  5051   5669   if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  5052         -  echo "$as_me:$LINENO: result: failed" >&5
  5053         -echo "${ECHO_T}failed" >&6
         5670  +  { echo "$as_me:$LINENO: result: failed" >&5
         5671  +echo "${ECHO_T}failed" >&6; }
  5054   5672   else
  5055         -  echo "$as_me:$LINENO: result: ok" >&5
  5056         -echo "${ECHO_T}ok" >&6
         5673  +  { echo "$as_me:$LINENO: result: ok" >&5
         5674  +echo "${ECHO_T}ok" >&6; }
  5057   5675   fi
  5058   5676   
  5059         -echo "$as_me:$LINENO: checking for objdir" >&5
  5060         -echo $ECHO_N "checking for objdir... $ECHO_C" >&6
         5677  +{ echo "$as_me:$LINENO: checking for objdir" >&5
         5678  +echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
  5061   5679   if test "${lt_cv_objdir+set}" = set; then
  5062   5680     echo $ECHO_N "(cached) $ECHO_C" >&6
  5063   5681   else
  5064   5682     rm -f .libs 2>/dev/null
  5065   5683   mkdir .libs 2>/dev/null
  5066   5684   if test -d .libs; then
  5067   5685     lt_cv_objdir=.libs
  5068   5686   else
  5069   5687     # MS-DOS does not allow filenames that begin with a dot.
  5070   5688     lt_cv_objdir=_libs
  5071   5689   fi
  5072   5690   rmdir .libs 2>/dev/null
  5073   5691   fi
  5074         -echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
  5075         -echo "${ECHO_T}$lt_cv_objdir" >&6
         5692  +{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
         5693  +echo "${ECHO_T}$lt_cv_objdir" >&6; }
  5076   5694   objdir=$lt_cv_objdir
  5077   5695   
  5078   5696   
  5079   5697   
  5080   5698   
  5081   5699   
  5082   5700   case $host_os in
................................................................................
  5119   5737   ltmain="$ac_aux_dir/ltmain.sh"
  5120   5738   ofile="$default_ofile"
  5121   5739   with_gnu_ld="$lt_cv_prog_gnu_ld"
  5122   5740   
  5123   5741   if test -n "$ac_tool_prefix"; then
  5124   5742     # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  5125   5743   set dummy ${ac_tool_prefix}ar; ac_word=$2
  5126         -echo "$as_me:$LINENO: checking for $ac_word" >&5
  5127         -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
         5744  +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
         5745  +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5128   5746   if test "${ac_cv_prog_AR+set}" = set; then
  5129   5747     echo $ECHO_N "(cached) $ECHO_C" >&6
  5130   5748   else
  5131   5749     if test -n "$AR"; then
  5132   5750     ac_cv_prog_AR="$AR" # Let the user override the test.
  5133   5751   else
  5134   5752   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5135   5753   for as_dir in $PATH
  5136   5754   do
  5137   5755     IFS=$as_save_IFS
  5138   5756     test -z "$as_dir" && as_dir=.
  5139   5757     for ac_exec_ext in '' $ac_executable_extensions; do
  5140         -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
         5758  +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5141   5759       ac_cv_prog_AR="${ac_tool_prefix}ar"
  5142   5760       echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5143   5761       break 2
  5144   5762     fi
  5145   5763   done
  5146   5764   done
         5765  +IFS=$as_save_IFS
  5147   5766   
  5148   5767   fi
  5149   5768   fi
  5150   5769   AR=$ac_cv_prog_AR
  5151   5770   if test -n "$AR"; then
  5152         -  echo "$as_me:$LINENO: result: $AR" >&5
  5153         -echo "${ECHO_T}$AR" >&6
         5771  +  { echo "$as_me:$LINENO: result: $AR" >&5
         5772  +echo "${ECHO_T}$AR" >&6; }
  5154   5773   else
  5155         -  echo "$as_me:$LINENO: result: no" >&5
  5156         -echo "${ECHO_T}no" >&6
         5774  +  { echo "$as_me:$LINENO: result: no" >&5
         5775  +echo "${ECHO_T}no" >&6; }
  5157   5776   fi
         5777  +
  5158   5778   
  5159   5779   fi
  5160   5780   if test -z "$ac_cv_prog_AR"; then
  5161   5781     ac_ct_AR=$AR
  5162   5782     # Extract the first word of "ar", so it can be a program name with args.
  5163   5783   set dummy ar; ac_word=$2
  5164         -echo "$as_me:$LINENO: checking for $ac_word" >&5
  5165         -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
         5784  +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
         5785  +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5166   5786   if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
  5167   5787     echo $ECHO_N "(cached) $ECHO_C" >&6
  5168   5788   else
  5169   5789     if test -n "$ac_ct_AR"; then
  5170   5790     ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  5171   5791   else
  5172   5792   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5173   5793   for as_dir in $PATH
  5174   5794   do
  5175   5795     IFS=$as_save_IFS
  5176   5796     test -z "$as_dir" && as_dir=.
  5177   5797     for ac_exec_ext in '' $ac_executable_extensions; do
  5178         -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
         5798  +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5179   5799       ac_cv_prog_ac_ct_AR="ar"
  5180   5800       echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5181   5801       break 2
  5182   5802     fi
  5183   5803   done
  5184   5804   done
         5805  +IFS=$as_save_IFS
  5185   5806   
  5186         -  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
  5187   5807   fi
  5188   5808   fi
  5189   5809   ac_ct_AR=$ac_cv_prog_ac_ct_AR
  5190   5810   if test -n "$ac_ct_AR"; then
  5191         -  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
  5192         -echo "${ECHO_T}$ac_ct_AR" >&6
         5811  +  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
         5812  +echo "${ECHO_T}$ac_ct_AR" >&6; }
  5193   5813   else
  5194         -  echo "$as_me:$LINENO: result: no" >&5
  5195         -echo "${ECHO_T}no" >&6
         5814  +  { echo "$as_me:$LINENO: result: no" >&5
         5815  +echo "${ECHO_T}no" >&6; }
  5196   5816   fi
  5197   5817   
  5198         -  AR=$ac_ct_AR
         5818  +  if test "x$ac_ct_AR" = x; then
         5819  +    AR="false"
         5820  +  else
         5821  +    case $cross_compiling:$ac_tool_warned in
         5822  +yes:)
         5823  +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
         5824  +whose name does not start with the host triplet.  If you think this
         5825  +configuration is useful to you, please write to autoconf@gnu.org." >&5
         5826  +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
         5827  +whose name does not start with the host triplet.  If you think this
         5828  +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
         5829  +ac_tool_warned=yes ;;
         5830  +esac
         5831  +    AR=$ac_ct_AR
         5832  +  fi
  5199   5833   else
  5200   5834     AR="$ac_cv_prog_AR"
  5201   5835   fi
  5202   5836   
  5203   5837   if test -n "$ac_tool_prefix"; then
  5204   5838     # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  5205   5839   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  5206         -echo "$as_me:$LINENO: checking for $ac_word" >&5
  5207         -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
         5840  +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
         5841  +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5208   5842   if test "${ac_cv_prog_RANLIB+set}" = set; then
  5209   5843     echo $ECHO_N "(cached) $ECHO_C" >&6
  5210   5844   else
  5211   5845     if test -n "$RANLIB"; then
  5212   5846     ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  5213   5847   else
  5214   5848   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5215   5849   for as_dir in $PATH
  5216   5850   do
  5217   5851     IFS=$as_save_IFS
  5218   5852     test -z "$as_dir" && as_dir=.
  5219   5853     for ac_exec_ext in '' $ac_executable_extensions; do
  5220         -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
         5854  +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5221   5855       ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  5222   5856       echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5223   5857       break 2
  5224   5858     fi
  5225   5859   done
  5226   5860   done
         5861  +IFS=$as_save_IFS
  5227   5862   
  5228   5863   fi
  5229   5864   fi
  5230   5865   RANLIB=$ac_cv_prog_RANLIB
  5231   5866   if test -n "$RANLIB"; then
  5232         -  echo "$as_me:$LINENO: result: $RANLIB" >&5
  5233         -echo "${ECHO_T}$RANLIB" >&6
         5867  +  { echo "$as_me:$LINENO: result: $RANLIB" >&5
         5868  +echo "${ECHO_T}$RANLIB" >&6; }
  5234   5869   else
  5235         -  echo "$as_me:$LINENO: result: no" >&5
  5236         -echo "${ECHO_T}no" >&6
         5870  +  { echo "$as_me:$LINENO: result: no" >&5
         5871  +echo "${ECHO_T}no" >&6; }
  5237   5872   fi
         5873  +
  5238   5874   
  5239   5875   fi
  5240   5876   if test -z "$ac_cv_prog_RANLIB"; then
  5241   5877     ac_ct_RANLIB=$RANLIB
  5242   5878     # Extract the first word of "ranlib", so it can be a program name with args.
  5243   5879   set dummy ranlib; ac_word=$2
  5244         -echo "$as_me:$LINENO: checking for $ac_word" >&5
  5245         -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
         5880  +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
         5881  +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5246   5882   if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
  5247   5883     echo $ECHO_N "(cached) $ECHO_C" >&6
  5248   5884   else
  5249   5885     if test -n "$ac_ct_RANLIB"; then
  5250   5886     ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  5251   5887   else
  5252   5888   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5253   5889   for as_dir in $PATH
  5254   5890   do
  5255   5891     IFS=$as_save_IFS
  5256   5892     test -z "$as_dir" && as_dir=.
  5257   5893     for ac_exec_ext in '' $ac_executable_extensions; do
  5258         -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
         5894  +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5259   5895       ac_cv_prog_ac_ct_RANLIB="ranlib"
  5260   5896       echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5261   5897       break 2
  5262   5898     fi
  5263   5899   done
  5264   5900   done
         5901  +IFS=$as_save_IFS
  5265   5902   
  5266         -  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
  5267   5903   fi
  5268   5904   fi
  5269   5905   ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  5270   5906   if test -n "$ac_ct_RANLIB"; then
  5271         -  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
  5272         -echo "${ECHO_T}$ac_ct_RANLIB" >&6
         5907  +  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
         5908  +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
  5273   5909   else
  5274         -  echo "$as_me:$LINENO: result: no" >&5
  5275         -echo "${ECHO_T}no" >&6
         5910  +  { echo "$as_me:$LINENO: result: no" >&5
         5911  +echo "${ECHO_T}no" >&6; }
  5276   5912   fi
  5277   5913   
  5278         -  RANLIB=$ac_ct_RANLIB
         5914  +  if test "x$ac_ct_RANLIB" = x; then
         5915  +    RANLIB=":"
         5916  +  else
         5917  +    case $cross_compiling:$ac_tool_warned in
         5918  +yes:)
         5919  +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
         5920  +whose name does not start with the host triplet.  If you think this
         5921  +configuration is useful to you, please write to autoconf@gnu.org." >&5
         5922  +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
         5923  +whose name does not start with the host triplet.  If you think this
         5924  +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
         5925  +ac_tool_warned=yes ;;
         5926  +esac
         5927  +    RANLIB=$ac_ct_RANLIB
         5928  +  fi
  5279   5929   else
  5280   5930     RANLIB="$ac_cv_prog_RANLIB"
  5281   5931   fi
  5282   5932   
  5283   5933   if test -n "$ac_tool_prefix"; then
  5284   5934     # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  5285   5935   set dummy ${ac_tool_prefix}strip; ac_word=$2
  5286         -echo "$as_me:$LINENO: checking for $ac_word" >&5
  5287         -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
         5936  +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
         5937  +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5288   5938   if test "${ac_cv_prog_STRIP+set}" = set; then
  5289   5939     echo $ECHO_N "(cached) $ECHO_C" >&6
  5290   5940   else
  5291   5941     if test -n "$STRIP"; then
  5292   5942     ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  5293   5943   else
  5294   5944   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5295   5945   for as_dir in $PATH
  5296   5946   do
  5297   5947     IFS=$as_save_IFS
  5298   5948     test -z "$as_dir" && as_dir=.
  5299   5949     for ac_exec_ext in '' $ac_executable_extensions; do
  5300         -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
         5950  +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5301   5951       ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  5302   5952       echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5303   5953       break 2
  5304   5954     fi
  5305   5955   done
  5306   5956   done
         5957  +IFS=$as_save_IFS
  5307   5958   
  5308   5959   fi
  5309   5960   fi
  5310   5961   STRIP=$ac_cv_prog_STRIP
  5311   5962   if test -n "$STRIP"; then
  5312         -  echo "$as_me:$LINENO: result: $STRIP" >&5
  5313         -echo "${ECHO_T}$STRIP" >&6
         5963  +  { echo "$as_me:$LINENO: result: $STRIP" >&5
         5964  +echo "${ECHO_T}$STRIP" >&6; }
  5314   5965   else
  5315         -  echo "$as_me:$LINENO: result: no" >&5
  5316         -echo "${ECHO_T}no" >&6
         5966  +  { echo "$as_me:$LINENO: result: no" >&5
         5967  +echo "${ECHO_T}no" >&6; }
  5317   5968   fi
         5969  +
  5318   5970   
  5319   5971   fi
  5320   5972   if test -z "$ac_cv_prog_STRIP"; then
  5321   5973     ac_ct_STRIP=$STRIP
  5322   5974     # Extract the first word of "strip", so it can be a program name with args.
  5323   5975   set dummy strip; ac_word=$2
  5324         -echo "$as_me:$LINENO: checking for $ac_word" >&5
  5325         -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
         5976  +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
         5977  +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5326   5978   if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  5327   5979     echo $ECHO_N "(cached) $ECHO_C" >&6
  5328   5980   else
  5329   5981     if test -n "$ac_ct_STRIP"; then
  5330   5982     ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  5331   5983   else
  5332   5984   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5333   5985   for as_dir in $PATH
  5334   5986   do
  5335   5987     IFS=$as_save_IFS
  5336   5988     test -z "$as_dir" && as_dir=.
  5337   5989     for ac_exec_ext in '' $ac_executable_extensions; do
  5338         -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
         5990  +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5339   5991       ac_cv_prog_ac_ct_STRIP="strip"
  5340   5992       echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5341   5993       break 2
  5342   5994     fi
  5343   5995   done
  5344   5996   done
         5997  +IFS=$as_save_IFS
  5345   5998   
  5346         -  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
  5347   5999   fi
  5348   6000   fi
  5349   6001   ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  5350   6002   if test -n "$ac_ct_STRIP"; then
  5351         -  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  5352         -echo "${ECHO_T}$ac_ct_STRIP" >&6
         6003  +  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
         6004  +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
  5353   6005   else
  5354         -  echo "$as_me:$LINENO: result: no" >&5
  5355         -echo "${ECHO_T}no" >&6
         6006  +  { echo "$as_me:$LINENO: result: no" >&5
         6007  +echo "${ECHO_T}no" >&6; }
  5356   6008   fi
  5357   6009   
  5358         -  STRIP=$ac_ct_STRIP
         6010  +  if test "x$ac_ct_STRIP" = x; then
         6011  +    STRIP=":"
         6012  +  else
         6013  +    case $cross_compiling:$ac_tool_warned in
         6014  +yes:)
         6015  +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
         6016  +whose name does not start with the host triplet.  If you think this
         6017  +configuration is useful to you, please write to autoconf@gnu.org." >&5
         6018  +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
         6019  +whose name does not start with the host triplet.  If you think this
         6020  +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
         6021  +ac_tool_warned=yes ;;
         6022  +esac
         6023  +    STRIP=$ac_ct_STRIP
         6024  +  fi
  5359   6025   else
  5360   6026     STRIP="$ac_cv_prog_STRIP"
  5361   6027   fi
  5362   6028   
  5363   6029   
  5364   6030   old_CC="$CC"
  5365   6031   old_CFLAGS="$CFLAGS"
................................................................................
  5410   6076   cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  5411   6077   
  5412   6078   
  5413   6079   # Only perform the check for file, if the check method requires it
  5414   6080   case $deplibs_check_method in
  5415   6081   file_magic*)
  5416   6082     if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  5417         -    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
  5418         -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
         6083  +    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
         6084  +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
  5419   6085   if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
  5420   6086     echo $ECHO_N "(cached) $ECHO_C" >&6
  5421   6087   else
  5422   6088     case $MAGIC_CMD in
  5423   6089   [\\/*] |  ?:[\\/]*)
  5424   6090     lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  5425   6091     ;;
................................................................................
  5463   6129     MAGIC_CMD="$lt_save_MAGIC_CMD"
  5464   6130     ;;
  5465   6131   esac
  5466   6132   fi
  5467   6133   
  5468   6134   MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  5469   6135   if test -n "$MAGIC_CMD"; then
  5470         -  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
  5471         -echo "${ECHO_T}$MAGIC_CMD" >&6
         6136  +  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
         6137  +echo "${ECHO_T}$MAGIC_CMD" >&6; }
  5472   6138   else
  5473         -  echo "$as_me:$LINENO: result: no" >&5
  5474         -echo "${ECHO_T}no" >&6
         6139  +  { echo "$as_me:$LINENO: result: no" >&5
         6140  +echo "${ECHO_T}no" >&6; }
  5475   6141   fi
  5476   6142   
  5477   6143   if test -z "$lt_cv_path_MAGIC_CMD"; then
  5478   6144     if test -n "$ac_tool_prefix"; then
  5479         -    echo "$as_me:$LINENO: checking for file" >&5
  5480         -echo $ECHO_N "checking for file... $ECHO_C" >&6
         6145  +    { echo "$as_me:$LINENO: checking for file" >&5
         6146  +echo $ECHO_N "checking for file... $ECHO_C" >&6; }
  5481   6147   if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
  5482   6148     echo $ECHO_N "(cached) $ECHO_C" >&6
  5483   6149   else
  5484   6150     case $MAGIC_CMD in
  5485   6151   [\\/*] |  ?:[\\/]*)
  5486   6152     lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  5487   6153     ;;
................................................................................
  5525   6191     MAGIC_CMD="$lt_save_MAGIC_CMD"
  5526   6192     ;;
  5527   6193   esac
  5528   6194   fi
  5529   6195   
  5530   6196   MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  5531   6197   if test -n "$MAGIC_CMD"; then
  5532         -  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
  5533         -echo "${ECHO_T}$MAGIC_CMD" >&6
         6198  +  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
         6199  +echo "${ECHO_T}$MAGIC_CMD" >&6; }
  5534   6200   else
  5535         -  echo "$as_me:$LINENO: result: no" >&5
  5536         -echo "${ECHO_T}no" >&6
         6201  +  { echo "$as_me:$LINENO: result: no" >&5
         6202  +echo "${ECHO_T}no" >&6; }
  5537   6203   fi
  5538   6204   
  5539   6205     else
  5540   6206       MAGIC_CMD=:
  5541   6207     fi
  5542   6208   fi
  5543   6209   
................................................................................
  5544   6210     fi
  5545   6211     ;;
  5546   6212   esac
  5547   6213   
  5548   6214   enable_dlopen=no
  5549   6215   enable_win32_dll=no
  5550   6216   
  5551         -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
         6217  +# Check whether --enable-libtool-lock was given.
  5552   6218   if test "${enable_libtool_lock+set}" = set; then
  5553         -  enableval="$enable_libtool_lock"
         6219  +  enableval=$enable_libtool_lock;
         6220  +fi
  5554   6221   
  5555         -fi;
  5556   6222   test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  5557   6223   
  5558   6224   
  5559         -# Check whether --with-pic or --without-pic was given.
         6225  +# Check whether --with-pic was given.
  5560   6226   if test "${with_pic+set}" = set; then
  5561         -  withval="$with_pic"
  5562         -  pic_mode="$withval"
         6227  +  withval=$with_pic; pic_mode="$withval"
  5563   6228   else
  5564   6229     pic_mode=default
  5565         -fi;
         6230  +fi
         6231  +
  5566   6232   test -z "$pic_mode" && pic_mode=default
  5567   6233   
  5568   6234   # Check if we have a version mismatch between libtool.m4 and ltmain.sh.
  5569   6235   #
  5570   6236   # Note:  This should be in AC_LIBTOOL_SETUP, _after_ $ltmain have been defined.
  5571   6237   #        We also should do it _before_ AC_LIBTOOL_LANG_C_CONFIG that actually
  5572   6238   #        calls AC_LIBTOOL_CONFIG and creates libtool.
  5573   6239   #
  5574         -echo "$as_me:$LINENO: checking for correct ltmain.sh version" >&5
  5575         -echo $ECHO_N "checking for correct ltmain.sh version... $ECHO_C" >&6
         6240  +{ echo "$as_me:$LINENO: checking for correct ltmain.sh version" >&5
         6241  +echo $ECHO_N "checking for correct ltmain.sh version... $ECHO_C" >&6; }
  5576   6242   if test "x$ltmain" = "x" ; then
  5577         -  echo "$as_me:$LINENO: result: no" >&5
  5578         -echo "${ECHO_T}no" >&6
         6243  +  { echo "$as_me:$LINENO: result: no" >&5
         6244  +echo "${ECHO_T}no" >&6; }
  5579   6245     { { echo "$as_me:$LINENO: error:
  5580   6246   
  5581   6247   *** [Gentoo] sanity check failed! ***
  5582   6248   *** \$ltmain is not defined, please check the patch for consistency! ***
  5583   6249   " >&5
  5584   6250   echo "$as_me: error:
  5585   6251   
................................................................................
  5587   6253   *** \$ltmain is not defined, please check the patch for consistency! ***
  5588   6254   " >&2;}
  5589   6255      { (exit 1); exit 1; }; }
  5590   6256   fi
  5591   6257   gentoo_lt_version="1.5.22"
  5592   6258   gentoo_ltmain_version=`sed -n '/^[ 	]*VERSION=/{s/^[ 	]*VERSION=//;p;q;}' "$ltmain"`
  5593   6259   if test "x$gentoo_lt_version" != "x$gentoo_ltmain_version" ; then
  5594         -  echo "$as_me:$LINENO: result: no" >&5
  5595         -echo "${ECHO_T}no" >&6
         6260  +  { echo "$as_me:$LINENO: result: no" >&5
         6261  +echo "${ECHO_T}no" >&6; }
  5596   6262     { { echo "$as_me:$LINENO: error:
  5597   6263   
  5598   6264   *** [Gentoo] sanity check failed! ***
  5599   6265   *** libtool.m4 and ltmain.sh have a version mismatch! ***
  5600   6266   *** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***
  5601   6267   
  5602   6268   Please run:
................................................................................
  5617   6283     libtoolize --copy --force
  5618   6284   
  5619   6285   if appropriate, please contact the maintainer of this
  5620   6286   package (or your distribution) for help.
  5621   6287   " >&2;}
  5622   6288      { (exit 1); exit 1; }; }
  5623   6289   else
  5624         -  echo "$as_me:$LINENO: result: yes" >&5
  5625         -echo "${ECHO_T}yes" >&6
         6290  +  { echo "$as_me:$LINENO: result: yes" >&5
         6291  +echo "${ECHO_T}yes" >&6; }
  5626   6292   fi
  5627   6293   
  5628   6294   
  5629   6295   # Use C for the default configuration in the libtool script
  5630   6296   tagname=
  5631   6297   lt_save_CC="$CC"
  5632   6298   ac_ext=c
................................................................................
  5677   6343   
  5678   6344   lt_prog_compiler_no_builtin_flag=
  5679   6345   
  5680   6346   if test "$GCC" = yes; then
  5681   6347     lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  5682   6348   
  5683   6349   
  5684         -echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  5685         -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
         6350  +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
         6351  +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
  5686   6352   if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
  5687   6353     echo $ECHO_N "(cached) $ECHO_C" >&6
  5688   6354   else
  5689   6355     lt_cv_prog_compiler_rtti_exceptions=no
  5690   6356     ac_outfile=conftest.$ac_objext
  5691   6357      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  5692   6358      lt_compiler_flag="-fno-rtti -fno-exceptions"
................................................................................
  5695   6361      # Note that $ac_compile itself does not contain backslashes and begins
  5696   6362      # with a dollar sign (not a hyphen), so the echo should work correctly.
  5697   6363      # The option is referenced via a variable to avoid confusing sed.
  5698   6364      lt_compile=`echo "$ac_compile" | $SED \
  5699   6365      -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  5700   6366      -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  5701   6367      -e 's:$: $lt_compiler_flag:'`
  5702         -   (eval echo "\"\$as_me:5702: $lt_compile\"" >&5)
         6368  +   (eval echo "\"\$as_me:6368: $lt_compile\"" >&5)
  5703   6369      (eval "$lt_compile" 2>conftest.err)
  5704   6370      ac_status=$?
  5705   6371      cat conftest.err >&5
  5706         -   echo "$as_me:5706: \$? = $ac_status" >&5
         6372  +   echo "$as_me:6372: \$? = $ac_status" >&5
  5707   6373      if (exit $ac_status) && test -s "$ac_outfile"; then
  5708   6374        # The compiler can only warn and ignore the option if not recognized
  5709   6375        # So say no if there are warnings other than the usual output.
  5710   6376        $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  5711   6377        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  5712   6378        if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  5713   6379          lt_cv_prog_compiler_rtti_exceptions=yes
  5714   6380        fi
  5715   6381      fi
  5716   6382      $rm conftest*
  5717   6383   
  5718   6384   fi
  5719         -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  5720         -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
         6385  +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
         6386  +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  5721   6387   
  5722   6388   if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  5723   6389       lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  5724   6390   else
  5725   6391       :
  5726   6392   fi
  5727   6393   
  5728   6394   fi
  5729   6395   
  5730   6396   lt_prog_compiler_wl=
  5731   6397   lt_prog_compiler_pic=
  5732   6398   lt_prog_compiler_static=
  5733   6399   
  5734         -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
  5735         -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
         6400  +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
         6401  +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
  5736   6402   
  5737   6403     if test "$GCC" = yes; then
  5738   6404       lt_prog_compiler_wl='-Wl,'
  5739   6405       lt_prog_compiler_static='-static'
  5740   6406   
  5741   6407       case $host_os in
  5742   6408         aix*)
................................................................................
  5937   6603   
  5938   6604       *)
  5939   6605         lt_prog_compiler_can_build_shared=no
  5940   6606         ;;
  5941   6607       esac
  5942   6608     fi
  5943   6609   
  5944         -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
  5945         -echo "${ECHO_T}$lt_prog_compiler_pic" >&6
         6610  +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
         6611  +echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
  5946   6612   
  5947   6613   #
  5948   6614   # Check to make sure the PIC flag actually works.
  5949   6615   #
  5950   6616   if test -n "$lt_prog_compiler_pic"; then
  5951   6617   
  5952         -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  5953         -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
         6618  +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
         6619  +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
  5954   6620   if test "${lt_prog_compiler_pic_works+set}" = set; then
  5955   6621     echo $ECHO_N "(cached) $ECHO_C" >&6
  5956   6622   else
  5957   6623     lt_prog_compiler_pic_works=no
  5958   6624     ac_outfile=conftest.$ac_objext
  5959   6625      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  5960   6626      lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
................................................................................
  5963   6629      # Note that $ac_compile itself does not contain backslashes and begins
  5964   6630      # with a dollar sign (not a hyphen), so the echo should work correctly.
  5965   6631      # The option is referenced via a variable to avoid confusing sed.
  5966   6632      lt_compile=`echo "$ac_compile" | $SED \
  5967   6633      -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  5968   6634      -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  5969   6635      -e 's:$: $lt_compiler_flag:'`
  5970         -   (eval echo "\"\$as_me:5970: $lt_compile\"" >&5)
         6636  +   (eval echo "\"\$as_me:6636: $lt_compile\"" >&5)
  5971   6637      (eval "$lt_compile" 2>conftest.err)
  5972   6638      ac_status=$?
  5973   6639      cat conftest.err >&5
  5974         -   echo "$as_me:5974: \$? = $ac_status" >&5
         6640  +   echo "$as_me:6640: \$? = $ac_status" >&5
  5975   6641      if (exit $ac_status) && test -s "$ac_outfile"; then
  5976   6642        # The compiler can only warn and ignore the option if not recognized
  5977   6643        # So say no if there are warnings other than the usual output.
  5978   6644        $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  5979   6645        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  5980   6646        if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  5981   6647          lt_prog_compiler_pic_works=yes
  5982   6648        fi
  5983   6649      fi
  5984   6650      $rm conftest*
  5985   6651   
  5986   6652   fi
  5987         -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
  5988         -echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
         6653  +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
         6654  +echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
  5989   6655   
  5990   6656   if test x"$lt_prog_compiler_pic_works" = xyes; then
  5991   6657       case $lt_prog_compiler_pic in
  5992   6658        "" | " "*) ;;
  5993   6659        *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  5994   6660        esac
  5995   6661   else
................................................................................
  6008   6674       ;;
  6009   6675   esac
  6010   6676   
  6011   6677   #
  6012   6678   # Check to make sure the static flag actually works.
  6013   6679   #
  6014   6680   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  6015         -echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  6016         -echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
         6681  +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
         6682  +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
  6017   6683   if test "${lt_prog_compiler_static_works+set}" = set; then
  6018   6684     echo $ECHO_N "(cached) $ECHO_C" >&6
  6019   6685   else
  6020   6686     lt_prog_compiler_static_works=no
  6021   6687      save_LDFLAGS="$LDFLAGS"
  6022   6688      LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  6023   6689      printf "$lt_simple_link_test_code" > conftest.$ac_ext
................................................................................
  6036   6702          lt_prog_compiler_static_works=yes
  6037   6703        fi
  6038   6704      fi
  6039   6705      $rm conftest*
  6040   6706      LDFLAGS="$save_LDFLAGS"
  6041   6707   
  6042   6708   fi
  6043         -echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
  6044         -echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
         6709  +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
         6710  +echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
  6045   6711   
  6046   6712   if test x"$lt_prog_compiler_static_works" = xyes; then
  6047   6713       :
  6048   6714   else
  6049   6715       lt_prog_compiler_static=
  6050   6716   fi
  6051   6717   
  6052   6718   
  6053         -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  6054         -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
         6719  +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
         6720  +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
  6055   6721   if test "${lt_cv_prog_compiler_c_o+set}" = set; then
  6056   6722     echo $ECHO_N "(cached) $ECHO_C" >&6
  6057   6723   else
  6058   6724     lt_cv_prog_compiler_c_o=no
  6059   6725      $rm -r conftest 2>/dev/null
  6060   6726      mkdir conftest
  6061   6727      cd conftest
................................................................................
  6067   6733      # (2) before a word containing "conftest.", or (3) at the end.
  6068   6734      # Note that $ac_compile itself does not contain backslashes and begins
  6069   6735      # with a dollar sign (not a hyphen), so the echo should work correctly.
  6070   6736      lt_compile=`echo "$ac_compile" | $SED \
  6071   6737      -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  6072   6738      -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  6073   6739      -e 's:$: $lt_compiler_flag:'`
  6074         -   (eval echo "\"\$as_me:6074: $lt_compile\"" >&5)
         6740  +   (eval echo "\"\$as_me:6740: $lt_compile\"" >&5)
  6075   6741      (eval "$lt_compile" 2>out/conftest.err)
  6076   6742      ac_status=$?
  6077   6743      cat out/conftest.err >&5
  6078         -   echo "$as_me:6078: \$? = $ac_status" >&5
         6744  +   echo "$as_me:6744: \$? = $ac_status" >&5
  6079   6745      if (exit $ac_status) && test -s out/conftest2.$ac_objext
  6080   6746      then
  6081   6747        # The compiler can only warn and ignore the option if not recognized
  6082   6748        # So say no if there are warnings
  6083   6749        $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  6084   6750        $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  6085   6751        if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
................................................................................
  6093   6759      test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
  6094   6760      $rm out/* && rmdir out
  6095   6761      cd ..
  6096   6762      rmdir conftest
  6097   6763      $rm conftest*
  6098   6764   
  6099   6765   fi
  6100         -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
  6101         -echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
         6766  +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
         6767  +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
  6102   6768   
  6103   6769   
  6104   6770   hard_links="nottested"
  6105   6771   if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  6106   6772     # do not overwrite the value of need_locks provided by the user
  6107         -  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
  6108         -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
         6773  +  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
         6774  +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
  6109   6775     hard_links=yes
  6110   6776     $rm conftest*
  6111   6777     ln conftest.a conftest.b 2>/dev/null && hard_links=no
  6112   6778     touch conftest.a
  6113   6779     ln conftest.a conftest.b 2>&5 || hard_links=no
  6114   6780     ln conftest.a conftest.b 2>/dev/null && hard_links=no
  6115         -  echo "$as_me:$LINENO: result: $hard_links" >&5
  6116         -echo "${ECHO_T}$hard_links" >&6
         6781  +  { echo "$as_me:$LINENO: result: $hard_links" >&5
         6782  +echo "${ECHO_T}$hard_links" >&6; }
  6117   6783     if test "$hard_links" = no; then
  6118   6784       { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  6119   6785   echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  6120   6786       need_locks=warn
  6121   6787     fi
  6122   6788   else
  6123   6789     need_locks=no
  6124   6790   fi
  6125   6791   
  6126         -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  6127         -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
         6792  +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
         6793  +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
  6128   6794   
  6129   6795     runpath_var=
  6130   6796     allow_undefined_flag=
  6131   6797     enable_shared_with_static_runtimes=no
  6132   6798     archive_cmds=
  6133   6799     archive_expsym_cmds=
  6134   6800     old_archive_From_new_cmds=
................................................................................
  6535   7201   {
  6536   7202   
  6537   7203     ;
  6538   7204     return 0;
  6539   7205   }
  6540   7206   _ACEOF
  6541   7207   rm -f conftest.$ac_objext conftest$ac_exeext
  6542         -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6543         -  (eval $ac_link) 2>conftest.er1
         7208  +if { (ac_try="$ac_link"
         7209  +case "(($ac_try" in
         7210  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         7211  +  *) ac_try_echo=$ac_try;;
         7212  +esac
         7213  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         7214  +  (eval "$ac_link") 2>conftest.er1
  6544   7215     ac_status=$?
  6545   7216     grep -v '^ *+' conftest.er1 >conftest.err
  6546   7217     rm -f conftest.er1
  6547   7218     cat conftest.err >&5
  6548   7219     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6549         -  (exit $ac_status); } &&
  6550         -	 { ac_try='test -z "$ac_c_werror_flag"
  6551         -			 || test ! -s conftest.err'
  6552         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6553         -  (eval $ac_try) 2>&5
  6554         -  ac_status=$?
  6555         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6556         -  (exit $ac_status); }; } &&
  6557         -	 { ac_try='test -s conftest$ac_exeext'
  6558         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6559         -  (eval $ac_try) 2>&5
  6560         -  ac_status=$?
  6561         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6562         -  (exit $ac_status); }; }; then
         7220  +  (exit $ac_status); } && {
         7221  +	 test -z "$ac_c_werror_flag" ||
         7222  +	 test ! -s conftest.err
         7223  +       } && test -s conftest$ac_exeext &&
         7224  +       $as_test_x conftest$ac_exeext; then
  6563   7225   
  6564   7226   aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
  6565   7227   }'`
  6566   7228   # Check for a 64-bit object if we didn't find anything.
  6567   7229   if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
  6568   7230   }'`; fi
  6569   7231   else
  6570   7232     echo "$as_me: failed program was:" >&5
  6571   7233   sed 's/^/| /' conftest.$ac_ext >&5
         7234  +
  6572   7235   
  6573   7236   fi
  6574         -rm -f conftest.err conftest.$ac_objext \
         7237  +
         7238  +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6575   7239         conftest$ac_exeext conftest.$ac_ext
  6576   7240   if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  6577   7241   
  6578   7242          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  6579   7243   	archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  6580   7244          else
  6581   7245   	if test "$host_cpu" = ia64; then
................................................................................
  6596   7260   {
  6597   7261   
  6598   7262     ;
  6599   7263     return 0;
  6600   7264   }
  6601   7265   _ACEOF
  6602   7266   rm -f conftest.$ac_objext conftest$ac_exeext
  6603         -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6604         -  (eval $ac_link) 2>conftest.er1
         7267  +if { (ac_try="$ac_link"
         7268  +case "(($ac_try" in
         7269  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         7270  +  *) ac_try_echo=$ac_try;;
         7271  +esac
         7272  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         7273  +  (eval "$ac_link") 2>conftest.er1
  6605   7274     ac_status=$?
  6606   7275     grep -v '^ *+' conftest.er1 >conftest.err
  6607   7276     rm -f conftest.er1
  6608   7277     cat conftest.err >&5
  6609   7278     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6610         -  (exit $ac_status); } &&
  6611         -	 { ac_try='test -z "$ac_c_werror_flag"
  6612         -			 || test ! -s conftest.err'
  6613         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6614         -  (eval $ac_try) 2>&5
  6615         -  ac_status=$?
  6616         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6617         -  (exit $ac_status); }; } &&
  6618         -	 { ac_try='test -s conftest$ac_exeext'
  6619         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6620         -  (eval $ac_try) 2>&5
  6621         -  ac_status=$?
  6622         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6623         -  (exit $ac_status); }; }; then
         7279  +  (exit $ac_status); } && {
         7280  +	 test -z "$ac_c_werror_flag" ||
         7281  +	 test ! -s conftest.err
         7282  +       } && test -s conftest$ac_exeext &&
         7283  +       $as_test_x conftest$ac_exeext; then
  6624   7284   
  6625   7285   aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
  6626   7286   }'`
  6627   7287   # Check for a 64-bit object if we didn't find anything.
  6628   7288   if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
  6629   7289   }'`; fi
  6630   7290   else
  6631   7291     echo "$as_me: failed program was:" >&5
  6632   7292   sed 's/^/| /' conftest.$ac_ext >&5
         7293  +
  6633   7294   
  6634   7295   fi
  6635         -rm -f conftest.err conftest.$ac_objext \
         7296  +
         7297  +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6636   7298         conftest$ac_exeext conftest.$ac_ext
  6637   7299   if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  6638   7300   
  6639   7301   	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  6640   7302   	  # Warning - without using the other run time loading flags,
  6641   7303   	  # -berok will link without error, but may produce a broken library.
  6642   7304   	  no_undefined_flag=' ${wl}-bernotok'
................................................................................
  7077   7739   
  7078   7740       *)
  7079   7741         ld_shlibs=no
  7080   7742         ;;
  7081   7743       esac
  7082   7744     fi
  7083   7745   
  7084         -echo "$as_me:$LINENO: result: $ld_shlibs" >&5
  7085         -echo "${ECHO_T}$ld_shlibs" >&6
         7746  +{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
         7747  +echo "${ECHO_T}$ld_shlibs" >&6; }
  7086   7748   test "$ld_shlibs" = no && can_build_shared=no
  7087   7749   
  7088   7750   #
  7089   7751   # Do we need to explicitly link libc?
  7090   7752   #
  7091   7753   case "x$archive_cmds_need_lc" in
  7092   7754   x|xyes)
................................................................................
  7098   7760       *'~'*)
  7099   7761         # FIXME: we may have to deal with multi-command sequences.
  7100   7762         ;;
  7101   7763       '$CC '*)
  7102   7764         # Test whether the compiler implicitly links with -lc since on some
  7103   7765         # systems, -lgcc has to come before -lc. If gcc already passes -lc
  7104   7766         # to ld, don't add -lc before -lgcc.
  7105         -      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
  7106         -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
         7767  +      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
         7768  +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
  7107   7769         $rm conftest*
  7108   7770         printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  7109   7771   
  7110   7772         if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  7111   7773     (eval $ac_compile) 2>&5
  7112   7774     ac_status=$?
  7113   7775     echo "$as_me:$LINENO: \$? = $ac_status" >&5
................................................................................
  7136   7798   	  archive_cmds_need_lc=yes
  7137   7799           fi
  7138   7800           allow_undefined_flag=$lt_save_allow_undefined_flag
  7139   7801         else
  7140   7802           cat conftest.err 1>&5
  7141   7803         fi
  7142   7804         $rm conftest*
  7143         -      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
  7144         -echo "${ECHO_T}$archive_cmds_need_lc" >&6
         7805  +      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
         7806  +echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
  7145   7807         ;;
  7146   7808       esac
  7147   7809     fi
  7148   7810     ;;
  7149   7811   esac
  7150   7812   
  7151         -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
  7152         -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
         7813  +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
         7814  +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
  7153   7815   library_names_spec=
  7154   7816   libname_spec='lib$name'
  7155   7817   soname_spec=
  7156   7818   shrext_cmds=".so"
  7157   7819   postinstall_cmds=
  7158   7820   postuninstall_cmds=
  7159   7821   finish_cmds=
................................................................................
  7769   8431     shlibpath_var=LD_LIBRARY_PATH
  7770   8432     ;;
  7771   8433   
  7772   8434   *)
  7773   8435     dynamic_linker=no
  7774   8436     ;;
  7775   8437   esac
  7776         -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
  7777         -echo "${ECHO_T}$dynamic_linker" >&6
         8438  +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
         8439  +echo "${ECHO_T}$dynamic_linker" >&6; }
  7778   8440   test "$dynamic_linker" = no && can_build_shared=no
  7779   8441   
  7780   8442   variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  7781   8443   if test "$GCC" = yes; then
  7782   8444     variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  7783   8445   fi
  7784   8446   
  7785         -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
  7786         -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
         8447  +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
         8448  +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
  7787   8449   hardcode_action=
  7788   8450   if test -n "$hardcode_libdir_flag_spec" || \
  7789   8451      test -n "$runpath_var" || \
  7790   8452      test "X$hardcode_automatic" = "Xyes" ; then
  7791   8453   
  7792   8454     # We can hardcode non-existant directories.
  7793   8455     if test "$hardcode_direct" != no &&
................................................................................
  7803   8465       hardcode_action=immediate
  7804   8466     fi
  7805   8467   else
  7806   8468     # We cannot hardcode anything, or else we can only hardcode existing
  7807   8469     # directories.
  7808   8470     hardcode_action=unsupported
  7809   8471   fi
  7810         -echo "$as_me:$LINENO: result: $hardcode_action" >&5
  7811         -echo "${ECHO_T}$hardcode_action" >&6
         8472  +{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
         8473  +echo "${ECHO_T}$hardcode_action" >&6; }
  7812   8474   
  7813   8475   if test "$hardcode_action" = relink; then
  7814   8476     # Fast installation is not supported
  7815   8477     enable_fast_install=no
  7816   8478   elif test "$shlibpath_overrides_runpath" = yes ||
  7817   8479        test "$enable_shared" = no; then
  7818   8480     # Fast installation is not necessary
  7819   8481     enable_fast_install=needless
  7820   8482   fi
  7821   8483   
  7822   8484   striplib=
  7823   8485   old_striplib=
  7824         -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
  7825         -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
         8486  +{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
         8487  +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
  7826   8488   if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
  7827   8489     test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  7828   8490     test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  7829         -  echo "$as_me:$LINENO: result: yes" >&5
  7830         -echo "${ECHO_T}yes" >&6
         8491  +  { echo "$as_me:$LINENO: result: yes" >&5
         8492  +echo "${ECHO_T}yes" >&6; }
  7831   8493   else
  7832   8494   # FIXME - insert some real tests, host_os isn't really good enough
  7833   8495     case $host_os in
  7834   8496      darwin*)
  7835   8497          if test -n "$STRIP" ; then
  7836   8498            striplib="$STRIP -x"
  7837         -         echo "$as_me:$LINENO: result: yes" >&5
  7838         -echo "${ECHO_T}yes" >&6
         8499  +         { echo "$as_me:$LINENO: result: yes" >&5
         8500  +echo "${ECHO_T}yes" >&6; }
  7839   8501          else
  7840         -  echo "$as_me:$LINENO: result: no" >&5
  7841         -echo "${ECHO_T}no" >&6
         8502  +  { echo "$as_me:$LINENO: result: no" >&5
         8503  +echo "${ECHO_T}no" >&6; }
  7842   8504   fi
  7843   8505          ;;
  7844   8506      *)
  7845         -  echo "$as_me:$LINENO: result: no" >&5
  7846         -echo "${ECHO_T}no" >&6
         8507  +  { echo "$as_me:$LINENO: result: no" >&5
         8508  +echo "${ECHO_T}no" >&6; }
  7847   8509       ;;
  7848   8510     esac
  7849   8511   fi
  7850   8512   
  7851   8513   if test "x$enable_dlopen" != xyes; then
  7852   8514     enable_dlopen=unknown
  7853   8515     enable_dlopen_self=unknown
................................................................................
  7871   8533     cygwin*)
  7872   8534       lt_cv_dlopen="dlopen"
  7873   8535       lt_cv_dlopen_libs=
  7874   8536      ;;
  7875   8537   
  7876   8538     darwin*)
  7877   8539     # if libdl is installed we need to link against it
  7878         -    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
  7879         -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
         8540  +    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
         8541  +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
  7880   8542   if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  7881   8543     echo $ECHO_N "(cached) $ECHO_C" >&6
  7882   8544   else
  7883   8545     ac_check_lib_save_LIBS=$LIBS
  7884   8546   LIBS="-ldl  $LIBS"
  7885   8547   cat >conftest.$ac_ext <<_ACEOF
  7886   8548   /* confdefs.h.  */
  7887   8549   _ACEOF
  7888   8550   cat confdefs.h >>conftest.$ac_ext
  7889   8551   cat >>conftest.$ac_ext <<_ACEOF
  7890   8552   /* end confdefs.h.  */
  7891   8553   
  7892         -/* Override any gcc2 internal prototype to avoid an error.  */
         8554  +/* Override any GCC internal prototype to avoid an error.
         8555  +   Use char because int might match the return type of a GCC
         8556  +   builtin and then its argument prototype would still apply.  */
  7893   8557   #ifdef __cplusplus
  7894   8558   extern "C"
  7895   8559   #endif
  7896         -/* We use char because int might match the return type of a gcc2
  7897         -   builtin and then its argument prototype would still apply.  */
  7898   8560   char dlopen ();
  7899   8561   int
  7900   8562   main ()
  7901   8563   {
  7902         -dlopen ();
  7903         -  ;
  7904         -  return 0;
  7905         -}
  7906         -_ACEOF
  7907         -rm -f conftest.$ac_objext conftest$ac_exeext
  7908         -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7909         -  (eval $ac_link) 2>conftest.er1
  7910         -  ac_status=$?
  7911         -  grep -v '^ *+' conftest.er1 >conftest.err
  7912         -  rm -f conftest.er1
  7913         -  cat conftest.err >&5
  7914         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7915         -  (exit $ac_status); } &&
  7916         -	 { ac_try='test -z "$ac_c_werror_flag"
  7917         -			 || test ! -s conftest.err'
  7918         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7919         -  (eval $ac_try) 2>&5
  7920         -  ac_status=$?
  7921         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7922         -  (exit $ac_status); }; } &&
  7923         -	 { ac_try='test -s conftest$ac_exeext'
  7924         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7925         -  (eval $ac_try) 2>&5
  7926         -  ac_status=$?
  7927         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7928         -  (exit $ac_status); }; }; then
         8564  +return dlopen ();
         8565  +  ;
         8566  +  return 0;
         8567  +}
         8568  +_ACEOF
         8569  +rm -f conftest.$ac_objext conftest$ac_exeext
         8570  +if { (ac_try="$ac_link"
         8571  +case "(($ac_try" in
         8572  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         8573  +  *) ac_try_echo=$ac_try;;
         8574  +esac
         8575  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         8576  +  (eval "$ac_link") 2>conftest.er1
         8577  +  ac_status=$?
         8578  +  grep -v '^ *+' conftest.er1 >conftest.err
         8579  +  rm -f conftest.er1
         8580  +  cat conftest.err >&5
         8581  +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
         8582  +  (exit $ac_status); } && {
         8583  +	 test -z "$ac_c_werror_flag" ||
         8584  +	 test ! -s conftest.err
         8585  +       } && test -s conftest$ac_exeext &&
         8586  +       $as_test_x conftest$ac_exeext; then
  7929   8587     ac_cv_lib_dl_dlopen=yes
  7930   8588   else
  7931   8589     echo "$as_me: failed program was:" >&5
  7932   8590   sed 's/^/| /' conftest.$ac_ext >&5
  7933   8591   
  7934         -ac_cv_lib_dl_dlopen=no
         8592  +	ac_cv_lib_dl_dlopen=no
  7935   8593   fi
  7936         -rm -f conftest.err conftest.$ac_objext \
         8594  +
         8595  +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7937   8596         conftest$ac_exeext conftest.$ac_ext
  7938   8597   LIBS=$ac_check_lib_save_LIBS
  7939   8598   fi
  7940         -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  7941         -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
         8599  +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
         8600  +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
  7942   8601   if test $ac_cv_lib_dl_dlopen = yes; then
  7943   8602     lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  7944   8603   else
  7945   8604   
  7946   8605       lt_cv_dlopen="dyld"
  7947   8606       lt_cv_dlopen_libs=
  7948   8607       lt_cv_dlopen_self=yes
  7949   8608   
  7950   8609   fi
  7951   8610   
  7952   8611      ;;
  7953   8612   
  7954   8613     *)
  7955         -    echo "$as_me:$LINENO: checking for shl_load" >&5
  7956         -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
         8614  +    { echo "$as_me:$LINENO: checking for shl_load" >&5
         8615  +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
  7957   8616   if test "${ac_cv_func_shl_load+set}" = set; then
  7958   8617     echo $ECHO_N "(cached) $ECHO_C" >&6
  7959   8618   else
  7960   8619     cat >conftest.$ac_ext <<_ACEOF
  7961   8620   /* confdefs.h.  */
  7962   8621   _ACEOF
  7963   8622   cat confdefs.h >>conftest.$ac_ext
................................................................................
  7976   8635   # include <limits.h>
  7977   8636   #else
  7978   8637   # include <assert.h>
  7979   8638   #endif
  7980   8639   
  7981   8640   #undef shl_load
  7982   8641   
  7983         -/* Override any gcc2 internal prototype to avoid an error.  */
         8642  +/* Override any GCC internal prototype to avoid an error.
         8643  +   Use char because int might match the return type of a GCC
         8644  +   builtin and then its argument prototype would still apply.  */
  7984   8645   #ifdef __cplusplus
  7985   8646   extern "C"
  7986         -{
  7987   8647   #endif
  7988         -/* We use char because int might match the return type of a gcc2
  7989         -   builtin and then its argument prototype would still apply.  */
  7990   8648   char shl_load ();
  7991   8649   /* The GNU C library defines this for functions which it implements
  7992   8650       to always fail with ENOSYS.  Some functions are actually named
  7993   8651       something starting with __ and the normal name is an alias.  */
  7994         -#if defined (__stub_shl_load) || defined (__stub___shl_load)
         8652  +#if defined __stub_shl_load || defined __stub___shl_load
  7995   8653   choke me
  7996         -#else
  7997         -char (*f) () = shl_load;
  7998         -#endif
  7999         -#ifdef __cplusplus
  8000         -}
  8001         -#endif
  8002         -
  8003         -int
  8004         -main ()
  8005         -{
  8006         -return f != shl_load;
  8007         -  ;
  8008         -  return 0;
  8009         -}
  8010         -_ACEOF
  8011         -rm -f conftest.$ac_objext conftest$ac_exeext
  8012         -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8013         -  (eval $ac_link) 2>conftest.er1
  8014         -  ac_status=$?
  8015         -  grep -v '^ *+' conftest.er1 >conftest.err
  8016         -  rm -f conftest.er1
  8017         -  cat conftest.err >&5
  8018         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8019         -  (exit $ac_status); } &&
  8020         -	 { ac_try='test -z "$ac_c_werror_flag"
  8021         -			 || test ! -s conftest.err'
  8022         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8023         -  (eval $ac_try) 2>&5
  8024         -  ac_status=$?
  8025         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8026         -  (exit $ac_status); }; } &&
  8027         -	 { ac_try='test -s conftest$ac_exeext'
  8028         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8029         -  (eval $ac_try) 2>&5
  8030         -  ac_status=$?
  8031         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8032         -  (exit $ac_status); }; }; then
         8654  +#endif
         8655  +
         8656  +int
         8657  +main ()
         8658  +{
         8659  +return shl_load ();
         8660  +  ;
         8661  +  return 0;
         8662  +}
         8663  +_ACEOF
         8664  +rm -f conftest.$ac_objext conftest$ac_exeext
         8665  +if { (ac_try="$ac_link"
         8666  +case "(($ac_try" in
         8667  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         8668  +  *) ac_try_echo=$ac_try;;
         8669  +esac
         8670  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         8671  +  (eval "$ac_link") 2>conftest.er1
         8672  +  ac_status=$?
         8673  +  grep -v '^ *+' conftest.er1 >conftest.err
         8674  +  rm -f conftest.er1
         8675  +  cat conftest.err >&5
         8676  +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
         8677  +  (exit $ac_status); } && {
         8678  +	 test -z "$ac_c_werror_flag" ||
         8679  +	 test ! -s conftest.err
         8680  +       } && test -s conftest$ac_exeext &&
         8681  +       $as_test_x conftest$ac_exeext; then
  8033   8682     ac_cv_func_shl_load=yes
  8034   8683   else
  8035   8684     echo "$as_me: failed program was:" >&5
  8036   8685   sed 's/^/| /' conftest.$ac_ext >&5
  8037   8686   
  8038         -ac_cv_func_shl_load=no
         8687  +	ac_cv_func_shl_load=no
  8039   8688   fi
  8040         -rm -f conftest.err conftest.$ac_objext \
         8689  +
         8690  +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8041   8691         conftest$ac_exeext conftest.$ac_ext
  8042   8692   fi
  8043         -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
  8044         -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
         8693  +{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
         8694  +echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
  8045   8695   if test $ac_cv_func_shl_load = yes; then
  8046   8696     lt_cv_dlopen="shl_load"
  8047   8697   else
  8048         -  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
  8049         -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
         8698  +  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
         8699  +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
  8050   8700   if test "${ac_cv_lib_dld_shl_load+set}" = set; then
  8051   8701     echo $ECHO_N "(cached) $ECHO_C" >&6
  8052   8702   else
  8053   8703     ac_check_lib_save_LIBS=$LIBS
  8054   8704   LIBS="-ldld  $LIBS"
  8055   8705   cat >conftest.$ac_ext <<_ACEOF
  8056   8706   /* confdefs.h.  */
  8057   8707   _ACEOF
  8058   8708   cat confdefs.h >>conftest.$ac_ext
  8059   8709   cat >>conftest.$ac_ext <<_ACEOF
  8060   8710   /* end confdefs.h.  */
  8061   8711   
  8062         -/* Override any gcc2 internal prototype to avoid an error.  */
         8712  +/* Override any GCC internal prototype to avoid an error.
         8713  +   Use char because int might match the return type of a GCC
         8714  +   builtin and then its argument prototype would still apply.  */
  8063   8715   #ifdef __cplusplus
  8064   8716   extern "C"
  8065   8717   #endif
  8066         -/* We use char because int might match the return type of a gcc2
  8067         -   builtin and then its argument prototype would still apply.  */
  8068   8718   char shl_load ();
  8069   8719   int
  8070   8720   main ()
  8071   8721   {
  8072         -shl_load ();
  8073         -  ;
  8074         -  return 0;
  8075         -}
  8076         -_ACEOF
  8077         -rm -f conftest.$ac_objext conftest$ac_exeext
  8078         -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8079         -  (eval $ac_link) 2>conftest.er1
  8080         -  ac_status=$?
  8081         -  grep -v '^ *+' conftest.er1 >conftest.err
  8082         -  rm -f conftest.er1
  8083         -  cat conftest.err >&5
  8084         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8085         -  (exit $ac_status); } &&
  8086         -	 { ac_try='test -z "$ac_c_werror_flag"
  8087         -			 || test ! -s conftest.err'
  8088         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8089         -  (eval $ac_try) 2>&5
  8090         -  ac_status=$?
  8091         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8092         -  (exit $ac_status); }; } &&
  8093         -	 { ac_try='test -s conftest$ac_exeext'
  8094         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8095         -  (eval $ac_try) 2>&5
  8096         -  ac_status=$?
  8097         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8098         -  (exit $ac_status); }; }; then
         8722  +return shl_load ();
         8723  +  ;
         8724  +  return 0;
         8725  +}
         8726  +_ACEOF
         8727  +rm -f conftest.$ac_objext conftest$ac_exeext
         8728  +if { (ac_try="$ac_link"
         8729  +case "(($ac_try" in
         8730  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         8731  +  *) ac_try_echo=$ac_try;;
         8732  +esac
         8733  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         8734  +  (eval "$ac_link") 2>conftest.er1
         8735  +  ac_status=$?
         8736  +  grep -v '^ *+' conftest.er1 >conftest.err
         8737  +  rm -f conftest.er1
         8738  +  cat conftest.err >&5
         8739  +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
         8740  +  (exit $ac_status); } && {
         8741  +	 test -z "$ac_c_werror_flag" ||
         8742  +	 test ! -s conftest.err
         8743  +       } && test -s conftest$ac_exeext &&
         8744  +       $as_test_x conftest$ac_exeext; then
  8099   8745     ac_cv_lib_dld_shl_load=yes
  8100   8746   else
  8101   8747     echo "$as_me: failed program was:" >&5
  8102   8748   sed 's/^/| /' conftest.$ac_ext >&5
  8103   8749   
  8104         -ac_cv_lib_dld_shl_load=no
         8750  +	ac_cv_lib_dld_shl_load=no
  8105   8751   fi
  8106         -rm -f conftest.err conftest.$ac_objext \
         8752  +
         8753  +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8107   8754         conftest$ac_exeext conftest.$ac_ext
  8108   8755   LIBS=$ac_check_lib_save_LIBS
  8109   8756   fi
  8110         -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
  8111         -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
         8757  +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
         8758  +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
  8112   8759   if test $ac_cv_lib_dld_shl_load = yes; then
  8113   8760     lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
  8114   8761   else
  8115         -  echo "$as_me:$LINENO: checking for dlopen" >&5
  8116         -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
         8762  +  { echo "$as_me:$LINENO: checking for dlopen" >&5
         8763  +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
  8117   8764   if test "${ac_cv_func_dlopen+set}" = set; then
  8118   8765     echo $ECHO_N "(cached) $ECHO_C" >&6
  8119   8766   else
  8120   8767     cat >conftest.$ac_ext <<_ACEOF
  8121   8768   /* confdefs.h.  */
  8122   8769   _ACEOF
  8123   8770   cat confdefs.h >>conftest.$ac_ext
................................................................................
  8136   8783   # include <limits.h>
  8137   8784   #else
  8138   8785   # include <assert.h>
  8139   8786   #endif
  8140   8787   
  8141   8788   #undef dlopen
  8142   8789   
  8143         -/* Override any gcc2 internal prototype to avoid an error.  */
         8790  +/* Override any GCC internal prototype to avoid an error.
         8791  +   Use char because int might match the return type of a GCC
         8792  +   builtin and then its argument prototype would still apply.  */
  8144   8793   #ifdef __cplusplus
  8145   8794   extern "C"
  8146         -{
  8147   8795   #endif
  8148         -/* We use char because int might match the return type of a gcc2
  8149         -   builtin and then its argument prototype would still apply.  */
  8150   8796   char dlopen ();
  8151   8797   /* The GNU C library defines this for functions which it implements
  8152   8798       to always fail with ENOSYS.  Some functions are actually named
  8153   8799       something starting with __ and the normal name is an alias.  */
  8154         -#if defined (__stub_dlopen) || defined (__stub___dlopen)
         8800  +#if defined __stub_dlopen || defined __stub___dlopen
  8155   8801   choke me
  8156         -#else
  8157         -char (*f) () = dlopen;
  8158         -#endif
  8159         -#ifdef __cplusplus
  8160         -}
  8161         -#endif
  8162         -
  8163         -int
  8164         -main ()
  8165         -{
  8166         -return f != dlopen;
  8167         -  ;
  8168         -  return 0;
  8169         -}
  8170         -_ACEOF
  8171         -rm -f conftest.$ac_objext conftest$ac_exeext
  8172         -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8173         -  (eval $ac_link) 2>conftest.er1
  8174         -  ac_status=$?
  8175         -  grep -v '^ *+' conftest.er1 >conftest.err
  8176         -  rm -f conftest.er1
  8177         -  cat conftest.err >&5
  8178         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8179         -  (exit $ac_status); } &&
  8180         -	 { ac_try='test -z "$ac_c_werror_flag"
  8181         -			 || test ! -s conftest.err'
  8182         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8183         -  (eval $ac_try) 2>&5
  8184         -  ac_status=$?
  8185         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8186         -  (exit $ac_status); }; } &&
  8187         -	 { ac_try='test -s conftest$ac_exeext'
  8188         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8189         -  (eval $ac_try) 2>&5
  8190         -  ac_status=$?
  8191         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8192         -  (exit $ac_status); }; }; then
         8802  +#endif
         8803  +
         8804  +int
         8805  +main ()
         8806  +{
         8807  +return dlopen ();
         8808  +  ;
         8809  +  return 0;
         8810  +}
         8811  +_ACEOF
         8812  +rm -f conftest.$ac_objext conftest$ac_exeext
         8813  +if { (ac_try="$ac_link"
         8814  +case "(($ac_try" in
         8815  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         8816  +  *) ac_try_echo=$ac_try;;
         8817  +esac
         8818  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         8819  +  (eval "$ac_link") 2>conftest.er1
         8820  +  ac_status=$?
         8821  +  grep -v '^ *+' conftest.er1 >conftest.err
         8822  +  rm -f conftest.er1
         8823  +  cat conftest.err >&5
         8824  +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
         8825  +  (exit $ac_status); } && {
         8826  +	 test -z "$ac_c_werror_flag" ||
         8827  +	 test ! -s conftest.err
         8828  +       } && test -s conftest$ac_exeext &&
         8829  +       $as_test_x conftest$ac_exeext; then
  8193   8830     ac_cv_func_dlopen=yes
  8194   8831   else
  8195   8832     echo "$as_me: failed program was:" >&5
  8196   8833   sed 's/^/| /' conftest.$ac_ext >&5
  8197   8834   
  8198         -ac_cv_func_dlopen=no
         8835  +	ac_cv_func_dlopen=no
  8199   8836   fi
  8200         -rm -f conftest.err conftest.$ac_objext \
         8837  +
         8838  +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8201   8839         conftest$ac_exeext conftest.$ac_ext
  8202   8840   fi
  8203         -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
  8204         -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
         8841  +{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
         8842  +echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
  8205   8843   if test $ac_cv_func_dlopen = yes; then
  8206   8844     lt_cv_dlopen="dlopen"
  8207   8845   else
  8208         -  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
  8209         -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
         8846  +  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
         8847  +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
  8210   8848   if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  8211   8849     echo $ECHO_N "(cached) $ECHO_C" >&6
  8212   8850   else
  8213   8851     ac_check_lib_save_LIBS=$LIBS
  8214   8852   LIBS="-ldl  $LIBS"
  8215   8853   cat >conftest.$ac_ext <<_ACEOF
  8216   8854   /* confdefs.h.  */
  8217   8855   _ACEOF
  8218   8856   cat confdefs.h >>conftest.$ac_ext
  8219   8857   cat >>conftest.$ac_ext <<_ACEOF
  8220   8858   /* end confdefs.h.  */
  8221   8859   
  8222         -/* Override any gcc2 internal prototype to avoid an error.  */
         8860  +/* Override any GCC internal prototype to avoid an error.
         8861  +   Use char because int might match the return type of a GCC
         8862  +   builtin and then its argument prototype would still apply.  */
  8223   8863   #ifdef __cplusplus
  8224   8864   extern "C"
  8225   8865   #endif
  8226         -/* We use char because int might match the return type of a gcc2
  8227         -   builtin and then its argument prototype would still apply.  */
  8228   8866   char dlopen ();
  8229   8867   int
  8230   8868   main ()
  8231   8869   {
  8232         -dlopen ();
  8233         -  ;
  8234         -  return 0;
  8235         -}
  8236         -_ACEOF
  8237         -rm -f conftest.$ac_objext conftest$ac_exeext
  8238         -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8239         -  (eval $ac_link) 2>conftest.er1
  8240         -  ac_status=$?
  8241         -  grep -v '^ *+' conftest.er1 >conftest.err
  8242         -  rm -f conftest.er1
  8243         -  cat conftest.err >&5
  8244         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8245         -  (exit $ac_status); } &&
  8246         -	 { ac_try='test -z "$ac_c_werror_flag"
  8247         -			 || test ! -s conftest.err'
  8248         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8249         -  (eval $ac_try) 2>&5
  8250         -  ac_status=$?
  8251         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8252         -  (exit $ac_status); }; } &&
  8253         -	 { ac_try='test -s conftest$ac_exeext'
  8254         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8255         -  (eval $ac_try) 2>&5
  8256         -  ac_status=$?
  8257         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8258         -  (exit $ac_status); }; }; then
         8870  +return dlopen ();
         8871  +  ;
         8872  +  return 0;
         8873  +}
         8874  +_ACEOF
         8875  +rm -f conftest.$ac_objext conftest$ac_exeext
         8876  +if { (ac_try="$ac_link"
         8877  +case "(($ac_try" in
         8878  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         8879  +  *) ac_try_echo=$ac_try;;
         8880  +esac
         8881  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         8882  +  (eval "$ac_link") 2>conftest.er1
         8883  +  ac_status=$?
         8884  +  grep -v '^ *+' conftest.er1 >conftest.err
         8885  +  rm -f conftest.er1
         8886  +  cat conftest.err >&5
         8887  +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
         8888  +  (exit $ac_status); } && {
         8889  +	 test -z "$ac_c_werror_flag" ||
         8890  +	 test ! -s conftest.err
         8891  +       } && test -s conftest$ac_exeext &&
         8892  +       $as_test_x conftest$ac_exeext; then
  8259   8893     ac_cv_lib_dl_dlopen=yes
  8260   8894   else
  8261   8895     echo "$as_me: failed program was:" >&5
  8262   8896   sed 's/^/| /' conftest.$ac_ext >&5
  8263   8897   
  8264         -ac_cv_lib_dl_dlopen=no
         8898  +	ac_cv_lib_dl_dlopen=no
  8265   8899   fi
  8266         -rm -f conftest.err conftest.$ac_objext \
         8900  +
         8901  +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8267   8902         conftest$ac_exeext conftest.$ac_ext
  8268   8903   LIBS=$ac_check_lib_save_LIBS
  8269   8904   fi
  8270         -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  8271         -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
         8905  +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
         8906  +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
  8272   8907   if test $ac_cv_lib_dl_dlopen = yes; then
  8273   8908     lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  8274   8909   else
  8275         -  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
  8276         -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
         8910  +  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
         8911  +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
  8277   8912   if test "${ac_cv_lib_svld_dlopen+set}" = set; then
  8278   8913     echo $ECHO_N "(cached) $ECHO_C" >&6
  8279   8914   else
  8280   8915     ac_check_lib_save_LIBS=$LIBS
  8281   8916   LIBS="-lsvld  $LIBS"
  8282   8917   cat >conftest.$ac_ext <<_ACEOF
  8283   8918   /* confdefs.h.  */
  8284   8919   _ACEOF
  8285   8920   cat confdefs.h >>conftest.$ac_ext
  8286   8921   cat >>conftest.$ac_ext <<_ACEOF
  8287   8922   /* end confdefs.h.  */
  8288   8923   
  8289         -/* Override any gcc2 internal prototype to avoid an error.  */
         8924  +/* Override any GCC internal prototype to avoid an error.
         8925  +   Use char because int might match the return type of a GCC
         8926  +   builtin and then its argument prototype would still apply.  */
  8290   8927   #ifdef __cplusplus
  8291   8928   extern "C"
  8292   8929   #endif
  8293         -/* We use char because int might match the return type of a gcc2
  8294         -   builtin and then its argument prototype would still apply.  */
  8295   8930   char dlopen ();
  8296   8931   int
  8297   8932   main ()
  8298   8933   {
  8299         -dlopen ();
         8934  +return dlopen ();
  8300   8935     ;
  8301   8936     return 0;
  8302   8937   }
  8303   8938   _ACEOF
  8304   8939   rm -f conftest.$ac_objext conftest$ac_exeext
  8305         -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8306         -  (eval $ac_link) 2>conftest.er1
         8940  +if { (ac_try="$ac_link"
         8941  +case "(($ac_try" in
         8942  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         8943  +  *) ac_try_echo=$ac_try;;
         8944  +esac
         8945  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         8946  +  (eval "$ac_link") 2>conftest.er1
  8307   8947     ac_status=$?
  8308   8948     grep -v '^ *+' conftest.er1 >conftest.err
  8309   8949     rm -f conftest.er1
  8310   8950     cat conftest.err >&5
  8311   8951     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8312         -  (exit $ac_status); } &&
  8313         -	 { ac_try='test -z "$ac_c_werror_flag"
  8314         -			 || test ! -s conftest.err'
  8315         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8316         -  (eval $ac_try) 2>&5
  8317         -  ac_status=$?
  8318         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8319         -  (exit $ac_status); }; } &&
  8320         -	 { ac_try='test -s conftest$ac_exeext'
  8321         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8322         -  (eval $ac_try) 2>&5
  8323         -  ac_status=$?
  8324         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8325         -  (exit $ac_status); }; }; then
         8952  +  (exit $ac_status); } && {
         8953  +	 test -z "$ac_c_werror_flag" ||
         8954  +	 test ! -s conftest.err
         8955  +       } && test -s conftest$ac_exeext &&
         8956  +       $as_test_x conftest$ac_exeext; then
  8326   8957     ac_cv_lib_svld_dlopen=yes
  8327   8958   else
  8328   8959     echo "$as_me: failed program was:" >&5
  8329   8960   sed 's/^/| /' conftest.$ac_ext >&5
  8330   8961   
  8331         -ac_cv_lib_svld_dlopen=no
         8962  +	ac_cv_lib_svld_dlopen=no
  8332   8963   fi
  8333         -rm -f conftest.err conftest.$ac_objext \
         8964  +
         8965  +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8334   8966         conftest$ac_exeext conftest.$ac_ext
  8335   8967   LIBS=$ac_check_lib_save_LIBS
  8336   8968   fi
  8337         -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
  8338         -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
         8969  +{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
         8970  +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
  8339   8971   if test $ac_cv_lib_svld_dlopen = yes; then
  8340   8972     lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  8341   8973   else
  8342         -  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
  8343         -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
         8974  +  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
         8975  +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
  8344   8976   if test "${ac_cv_lib_dld_dld_link+set}" = set; then
  8345   8977     echo $ECHO_N "(cached) $ECHO_C" >&6
  8346   8978   else
  8347   8979     ac_check_lib_save_LIBS=$LIBS
  8348   8980   LIBS="-ldld  $LIBS"
  8349   8981   cat >conftest.$ac_ext <<_ACEOF
  8350   8982   /* confdefs.h.  */
  8351   8983   _ACEOF
  8352   8984   cat confdefs.h >>conftest.$ac_ext
  8353   8985   cat >>conftest.$ac_ext <<_ACEOF
  8354   8986   /* end confdefs.h.  */
  8355   8987   
  8356         -/* Override any gcc2 internal prototype to avoid an error.  */
         8988  +/* Override any GCC internal prototype to avoid an error.
         8989  +   Use char because int might match the return type of a GCC
         8990  +   builtin and then its argument prototype would still apply.  */
  8357   8991   #ifdef __cplusplus
  8358   8992   extern "C"
  8359   8993   #endif
  8360         -/* We use char because int might match the return type of a gcc2
  8361         -   builtin and then its argument prototype would still apply.  */
  8362   8994   char dld_link ();
  8363   8995   int
  8364   8996   main ()
  8365   8997   {
  8366         -dld_link ();
         8998  +return dld_link ();
  8367   8999     ;
  8368   9000     return 0;
  8369   9001   }
  8370   9002   _ACEOF
  8371   9003   rm -f conftest.$ac_objext conftest$ac_exeext
  8372         -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  8373         -  (eval $ac_link) 2>conftest.er1
         9004  +if { (ac_try="$ac_link"
         9005  +case "(($ac_try" in
         9006  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
         9007  +  *) ac_try_echo=$ac_try;;
         9008  +esac
         9009  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
         9010  +  (eval "$ac_link") 2>conftest.er1
  8374   9011     ac_status=$?
  8375   9012     grep -v '^ *+' conftest.er1 >conftest.err
  8376   9013     rm -f conftest.er1
  8377   9014     cat conftest.err >&5
  8378   9015     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8379         -  (exit $ac_status); } &&
  8380         -	 { ac_try='test -z "$ac_c_werror_flag"
  8381         -			 || test ! -s conftest.err'
  8382         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8383         -  (eval $ac_try) 2>&5
  8384         -  ac_status=$?
  8385         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8386         -  (exit $ac_status); }; } &&
  8387         -	 { ac_try='test -s conftest$ac_exeext'
  8388         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8389         -  (eval $ac_try) 2>&5
  8390         -  ac_status=$?
  8391         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8392         -  (exit $ac_status); }; }; then
         9016  +  (exit $ac_status); } && {
         9017  +	 test -z "$ac_c_werror_flag" ||
         9018  +	 test ! -s conftest.err
         9019  +       } && test -s conftest$ac_exeext &&
         9020  +       $as_test_x conftest$ac_exeext; then
  8393   9021     ac_cv_lib_dld_dld_link=yes
  8394   9022   else
  8395   9023     echo "$as_me: failed program was:" >&5
  8396   9024   sed 's/^/| /' conftest.$ac_ext >&5
  8397   9025   
  8398         -ac_cv_lib_dld_dld_link=no
         9026  +	ac_cv_lib_dld_dld_link=no
  8399   9027   fi
  8400         -rm -f conftest.err conftest.$ac_objext \
         9028  +
         9029  +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8401   9030         conftest$ac_exeext conftest.$ac_ext
  8402   9031   LIBS=$ac_check_lib_save_LIBS
  8403   9032   fi
  8404         -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
  8405         -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
         9033  +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
         9034  +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
  8406   9035   if test $ac_cv_lib_dld_dld_link = yes; then
  8407   9036     lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
  8408   9037   fi
  8409   9038   
  8410   9039   
  8411   9040   fi
  8412   9041   
................................................................................
  8438   9067   
  8439   9068       save_LDFLAGS="$LDFLAGS"
  8440   9069       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  8441   9070   
  8442   9071       save_LIBS="$LIBS"
  8443   9072       LIBS="$lt_cv_dlopen_libs $LIBS"
  8444   9073   
  8445         -    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
  8446         -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
         9074  +    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
         9075  +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
  8447   9076   if test "${lt_cv_dlopen_self+set}" = set; then
  8448   9077     echo $ECHO_N "(cached) $ECHO_C" >&6
  8449   9078   else
  8450   9079     	  if test "$cross_compiling" = yes; then :
  8451   9080     lt_cv_dlopen_self=cross
  8452   9081   else
  8453   9082     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  8454   9083     lt_status=$lt_dlunknown
  8455   9084     cat > conftest.$ac_ext <<EOF
  8456         -#line 8456 "configure"
         9085  +#line 9085 "configure"
  8457   9086   #include "confdefs.h"
  8458   9087   
  8459   9088   #if HAVE_DLFCN_H
  8460   9089   #include <dlfcn.h>
  8461   9090   #endif
  8462   9091   
  8463   9092   #include <stdio.h>
................................................................................
  8533   9162       lt_cv_dlopen_self=no
  8534   9163     fi
  8535   9164   fi
  8536   9165   rm -fr conftest*
  8537   9166   
  8538   9167   
  8539   9168   fi
  8540         -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
  8541         -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
         9169  +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
         9170  +echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
  8542   9171   
  8543   9172       if test "x$lt_cv_dlopen_self" = xyes; then
  8544   9173         wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  8545         -      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
  8546         -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
         9174  +      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
         9175  +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
  8547   9176   if test "${lt_cv_dlopen_self_static+set}" = set; then
  8548   9177     echo $ECHO_N "(cached) $ECHO_C" >&6
  8549   9178   else
  8550   9179     	  if test "$cross_compiling" = yes; then :
  8551   9180     lt_cv_dlopen_self_static=cross
  8552   9181   else
  8553   9182     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  8554   9183     lt_status=$lt_dlunknown
  8555   9184     cat > conftest.$ac_ext <<EOF
  8556         -#line 8556 "configure"
         9185  +#line 9185 "configure"
  8557   9186   #include "confdefs.h"
  8558   9187   
  8559   9188   #if HAVE_DLFCN_H
  8560   9189   #include <dlfcn.h>
  8561   9190   #endif
  8562   9191   
  8563   9192   #include <stdio.h>
................................................................................
  8633   9262       lt_cv_dlopen_self_static=no
  8634   9263     fi
  8635   9264   fi
  8636   9265   rm -fr conftest*
  8637   9266   
  8638   9267   
  8639   9268   fi
  8640         -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
  8641         -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
         9269  +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
         9270  +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
  8642   9271       fi
  8643   9272   
  8644   9273       CPPFLAGS="$save_CPPFLAGS"
  8645   9274       LDFLAGS="$save_LDFLAGS"
  8646   9275       LIBS="$save_LIBS"
  8647   9276       ;;
  8648   9277     esac
................................................................................
  8656   9285     yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  8657   9286     *) enable_dlopen_self_static=unknown ;;
  8658   9287     esac
  8659   9288   fi
  8660   9289   
  8661   9290   
  8662   9291   # Report which library types will actually be built
  8663         -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
  8664         -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
  8665         -echo "$as_me:$LINENO: result: $can_build_shared" >&5
  8666         -echo "${ECHO_T}$can_build_shared" >&6
         9292  +{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
         9293  +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
         9294  +{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
         9295  +echo "${ECHO_T}$can_build_shared" >&6; }
  8667   9296   
  8668         -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
  8669         -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
         9297  +{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
         9298  +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
  8670   9299   test "$can_build_shared" = "no" && enable_shared=no
  8671   9300   
  8672   9301   # On AIX, shared libraries and static libraries use the same namespace, and
  8673   9302   # are all built from PIC.
  8674   9303   case $host_os in
  8675   9304   aix3*)
  8676   9305     test "$enable_shared" = yes && enable_static=no
................................................................................
  8682   9311   
  8683   9312   aix4* | aix5*)
  8684   9313     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  8685   9314       test "$enable_shared" = yes && enable_static=no
  8686   9315     fi
  8687   9316       ;;
  8688   9317   esac
  8689         -echo "$as_me:$LINENO: result: $enable_shared" >&5
  8690         -echo "${ECHO_T}$enable_shared" >&6
         9318  +{ echo "$as_me:$LINENO: result: $enable_shared" >&5
         9319  +echo "${ECHO_T}$enable_shared" >&6; }
  8691   9320   
  8692         -echo "$as_me:$LINENO: checking whether to build static libraries" >&5
  8693         -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
         9321  +{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
         9322  +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
  8694   9323   # Make sure either enable_shared or enable_static is yes.
  8695   9324   test "$enable_shared" = yes || enable_static=yes
  8696         -echo "$as_me:$LINENO: result: $enable_static" >&5
  8697         -echo "${ECHO_T}$enable_static" >&6
         9325  +{ echo "$as_me:$LINENO: result: $enable_static" >&5
         9326  +echo "${ECHO_T}$enable_static" >&6; }
  8698   9327   
  8699   9328   # The else clause should only fire when bootstrapping the
  8700   9329   # libtool distribution, otherwise you forgot to ship ltmain.sh
  8701   9330   # with your package, and you will get complaints that there are
  8702   9331   # no rules to generate ltmain.sh.
  8703   9332   if test -f "$ltmain"; then
  8704   9333     # See if we are running on zsh, and set the options which allow our commands through
................................................................................
  9182   9811   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9183   9812   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9184   9813   ac_compiler_gnu=$ac_cv_c_compiler_gnu
  9185   9814   
  9186   9815   CC="$lt_save_CC"
  9187   9816   
  9188   9817   
  9189         -# Check whether --with-tags or --without-tags was given.
         9818  +# Check whether --with-tags was given.
  9190   9819   if test "${with_tags+set}" = set; then
  9191         -  withval="$with_tags"
  9192         -  tagnames="$withval"
  9193         -fi;
         9820  +  withval=$with_tags; tagnames="$withval"
         9821  +fi
         9822  +
  9194   9823   
  9195   9824   if test -f "$ltmain" && test -n "$tagnames"; then
  9196   9825     if test ! -f "${ofile}"; then
  9197   9826       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
  9198   9827   echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
  9199   9828     fi
  9200   9829   
................................................................................
  9240   9869         echo appending configuration tag \"$tagname\" to $ofile
  9241   9870   
  9242   9871         case $tagname in
  9243   9872         CXX)
  9244   9873   	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  9245   9874   	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  9246   9875   	    (test "X$CXX" != "Xg++"))) ; then
  9247         -	  ac_ext=cc
         9876  +	  ac_ext=cpp
  9248   9877   ac_cpp='$CXXCPP $CPPFLAGS'
  9249   9878   ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9250   9879   ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9251   9880   ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  9252   9881   
  9253   9882   
  9254   9883   
................................................................................
  9359   9988     lt_prog_compiler_no_builtin_flag_CXX=
  9360   9989   fi
  9361   9990   
  9362   9991   if test "$GXX" = yes; then
  9363   9992     # Set up default GNU C++ configuration
  9364   9993   
  9365   9994   
  9366         -# Check whether --with-gnu-ld or --without-gnu-ld was given.
         9995  +# Check whether --with-gnu-ld was given.
  9367   9996   if test "${with_gnu_ld+set}" = set; then
  9368         -  withval="$with_gnu_ld"
  9369         -  test "$withval" = no || with_gnu_ld=yes
         9997  +  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  9370   9998   else
  9371   9999     with_gnu_ld=no
  9372         -fi;
        10000  +fi
        10001  +
  9373  10002   ac_prog=ld
  9374  10003   if test "$GCC" = yes; then
  9375  10004     # Check if gcc -print-prog-name=ld gives a path.
  9376         -  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
  9377         -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
        10005  +  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
        10006  +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
  9378  10007     case $host in
  9379  10008     *-*-mingw*)
  9380  10009       # gcc leaves a trailing carriage return which upsets mingw
  9381  10010       ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  9382  10011     *)
  9383  10012       ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  9384  10013     esac
................................................................................
  9399  10028       ;;
  9400  10029     *)
  9401  10030       # If it is relative, then search for the first ld in PATH.
  9402  10031       with_gnu_ld=unknown
  9403  10032       ;;
  9404  10033     esac
  9405  10034   elif test "$with_gnu_ld" = yes; then
  9406         -  echo "$as_me:$LINENO: checking for GNU ld" >&5
  9407         -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
        10035  +  { echo "$as_me:$LINENO: checking for GNU ld" >&5
        10036  +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
  9408  10037   else
  9409         -  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
  9410         -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
        10038  +  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
        10039  +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
  9411  10040   fi
  9412  10041   if test "${lt_cv_path_LD+set}" = set; then
  9413  10042     echo $ECHO_N "(cached) $ECHO_C" >&6
  9414  10043   else
  9415  10044     if test -z "$LD"; then
  9416  10045     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  9417  10046     for ac_dir in $PATH; do
................................................................................
  9436  10065   else
  9437  10066     lt_cv_path_LD="$LD" # Let the user override the test with a path.
  9438  10067   fi
  9439  10068   fi
  9440  10069   
  9441  10070   LD="$lt_cv_path_LD"
  9442  10071   if test -n "$LD"; then
  9443         -  echo "$as_me:$LINENO: result: $LD" >&5
  9444         -echo "${ECHO_T}$LD" >&6
        10072  +  { echo "$as_me:$LINENO: result: $LD" >&5
        10073  +echo "${ECHO_T}$LD" >&6; }
  9445  10074   else
  9446         -  echo "$as_me:$LINENO: result: no" >&5
  9447         -echo "${ECHO_T}no" >&6
        10075  +  { echo "$as_me:$LINENO: result: no" >&5
        10076  +echo "${ECHO_T}no" >&6; }
  9448  10077   fi
  9449  10078   test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
  9450  10079   echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
  9451  10080      { (exit 1); exit 1; }; }
  9452         -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
  9453         -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
        10081  +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
        10082  +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
  9454  10083   if test "${lt_cv_prog_gnu_ld+set}" = set; then
  9455  10084     echo $ECHO_N "(cached) $ECHO_C" >&6
  9456  10085   else
  9457  10086     # I'd rather use --version here, but apparently some GNU lds only accept -v.
  9458  10087   case `$LD -v 2>&1 </dev/null` in
  9459  10088   *GNU* | *'with BFD'*)
  9460  10089     lt_cv_prog_gnu_ld=yes
  9461  10090     ;;
  9462  10091   *)
  9463  10092     lt_cv_prog_gnu_ld=no
  9464  10093     ;;
  9465  10094   esac
  9466  10095   fi
  9467         -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
  9468         -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
        10096  +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
        10097  +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
  9469  10098   with_gnu_ld=$lt_cv_prog_gnu_ld
  9470  10099   
  9471  10100   
  9472  10101   
  9473  10102     # Check if GNU C++ uses GNU ld as the underlying linker, since the
  9474  10103     # archiving commands below assume that GNU ld is being used.
  9475  10104     if test "$with_gnu_ld" = yes; then
................................................................................
  9511  10140   else
  9512  10141     GXX=no
  9513  10142     with_gnu_ld=no
  9514  10143     wlarc=
  9515  10144   fi
  9516  10145   
  9517  10146   # PORTME: fill in a description of your system's C++ link characteristics
  9518         -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  9519         -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
        10147  +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
        10148  +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
  9520  10149   ld_shlibs_CXX=yes
  9521  10150   case $host_os in
  9522  10151     aix3*)
  9523  10152       # FIXME: insert proper C++ library support
  9524  10153       ld_shlibs_CXX=no
  9525  10154       ;;
  9526  10155     aix4* | aix5*)
................................................................................
  9624  10253   {
  9625  10254   
  9626  10255     ;
  9627  10256     return 0;
  9628  10257   }
  9629  10258   _ACEOF
  9630  10259   rm -f conftest.$ac_objext conftest$ac_exeext
  9631         -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  9632         -  (eval $ac_link) 2>conftest.er1
        10260  +if { (ac_try="$ac_link"
        10261  +case "(($ac_try" in
        10262  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        10263  +  *) ac_try_echo=$ac_try;;
        10264  +esac
        10265  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        10266  +  (eval "$ac_link") 2>conftest.er1
  9633  10267     ac_status=$?
  9634  10268     grep -v '^ *+' conftest.er1 >conftest.err
  9635  10269     rm -f conftest.er1
  9636  10270     cat conftest.err >&5
  9637  10271     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9638         -  (exit $ac_status); } &&
  9639         -	 { ac_try='test -z "$ac_cxx_werror_flag"
  9640         -			 || test ! -s conftest.err'
  9641         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9642         -  (eval $ac_try) 2>&5
  9643         -  ac_status=$?
  9644         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9645         -  (exit $ac_status); }; } &&
  9646         -	 { ac_try='test -s conftest$ac_exeext'
  9647         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9648         -  (eval $ac_try) 2>&5
  9649         -  ac_status=$?
  9650         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9651         -  (exit $ac_status); }; }; then
        10272  +  (exit $ac_status); } && {
        10273  +	 test -z "$ac_cxx_werror_flag" ||
        10274  +	 test ! -s conftest.err
        10275  +       } && test -s conftest$ac_exeext &&
        10276  +       $as_test_x conftest$ac_exeext; then
  9652  10277   
  9653  10278   aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
  9654  10279   }'`
  9655  10280   # Check for a 64-bit object if we didn't find anything.
  9656  10281   if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
  9657  10282   }'`; fi
  9658  10283   else
  9659  10284     echo "$as_me: failed program was:" >&5
  9660  10285   sed 's/^/| /' conftest.$ac_ext >&5
        10286  +
  9661  10287   
  9662  10288   fi
  9663         -rm -f conftest.err conftest.$ac_objext \
        10289  +
        10290  +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9664  10291         conftest$ac_exeext conftest.$ac_ext
  9665  10292   if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  9666  10293   
  9667  10294         hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
  9668  10295   
  9669  10296         archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  9670  10297        else
................................................................................
  9686  10313   {
  9687  10314   
  9688  10315     ;
  9689  10316     return 0;
  9690  10317   }
  9691  10318   _ACEOF
  9692  10319   rm -f conftest.$ac_objext conftest$ac_exeext
  9693         -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  9694         -  (eval $ac_link) 2>conftest.er1
        10320  +if { (ac_try="$ac_link"
        10321  +case "(($ac_try" in
        10322  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        10323  +  *) ac_try_echo=$ac_try;;
        10324  +esac
        10325  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        10326  +  (eval "$ac_link") 2>conftest.er1
  9695  10327     ac_status=$?
  9696  10328     grep -v '^ *+' conftest.er1 >conftest.err
  9697  10329     rm -f conftest.er1
  9698  10330     cat conftest.err >&5
  9699  10331     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9700         -  (exit $ac_status); } &&
  9701         -	 { ac_try='test -z "$ac_cxx_werror_flag"
  9702         -			 || test ! -s conftest.err'
  9703         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9704         -  (eval $ac_try) 2>&5
  9705         -  ac_status=$?
  9706         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9707         -  (exit $ac_status); }; } &&
  9708         -	 { ac_try='test -s conftest$ac_exeext'
  9709         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  9710         -  (eval $ac_try) 2>&5
  9711         -  ac_status=$?
  9712         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9713         -  (exit $ac_status); }; }; then
        10332  +  (exit $ac_status); } && {
        10333  +	 test -z "$ac_cxx_werror_flag" ||
        10334  +	 test ! -s conftest.err
        10335  +       } && test -s conftest$ac_exeext &&
        10336  +       $as_test_x conftest$ac_exeext; then
  9714  10337   
  9715  10338   aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
  9716  10339   }'`
  9717  10340   # Check for a 64-bit object if we didn't find anything.
  9718  10341   if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
  9719  10342   }'`; fi
  9720  10343   else
  9721  10344     echo "$as_me: failed program was:" >&5
  9722  10345   sed 's/^/| /' conftest.$ac_ext >&5
        10346  +
  9723  10347   
  9724  10348   fi
  9725         -rm -f conftest.err conftest.$ac_objext \
        10349  +
        10350  +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9726  10351         conftest$ac_exeext conftest.$ac_ext
  9727  10352   if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  9728  10353   
  9729  10354   	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
  9730  10355   	# Warning - without using the other run time loading flags,
  9731  10356   	# -berok will link without error, but may produce a broken library.
  9732  10357   	no_undefined_flag_CXX=' ${wl}-bernotok'
................................................................................
 10449  11074       ld_shlibs_CXX=no
 10450  11075       ;;
 10451  11076     *)
 10452  11077       # FIXME: insert proper C++ library support
 10453  11078       ld_shlibs_CXX=no
 10454  11079       ;;
 10455  11080   esac
 10456         -echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 10457         -echo "${ECHO_T}$ld_shlibs_CXX" >&6
        11081  +{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
        11082  +echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
 10458  11083   test "$ld_shlibs_CXX" = no && can_build_shared=no
 10459  11084   
 10460  11085   GCC_CXX="$GXX"
 10461  11086   LD_CXX="$LD"
 10462  11087   
 10463  11088   
 10464  11089   cat > conftest.$ac_ext <<EOF
................................................................................
 10589  11214   *" -lc "*) archive_cmds_need_lc_CXX=no ;;
 10590  11215   esac
 10591  11216   
 10592  11217   lt_prog_compiler_wl_CXX=
 10593  11218   lt_prog_compiler_pic_CXX=
 10594  11219   lt_prog_compiler_static_CXX=
 10595  11220   
 10596         -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 10597         -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
        11221  +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
        11222  +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 10598  11223   
 10599  11224     # C++ specific cases for pic, static, wl, etc.
 10600  11225     if test "$GXX" = yes; then
 10601  11226       lt_prog_compiler_wl_CXX='-Wl,'
 10602  11227       lt_prog_compiler_static_CXX='-static'
 10603  11228   
 10604  11229       case $host_os in
................................................................................
 10863  11488   	;;
 10864  11489         *)
 10865  11490   	lt_prog_compiler_can_build_shared_CXX=no
 10866  11491   	;;
 10867  11492       esac
 10868  11493     fi
 10869  11494   
 10870         -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 10871         -echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
        11495  +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
        11496  +echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
 10872  11497   
 10873  11498   #
 10874  11499   # Check to make sure the PIC flag actually works.
 10875  11500   #
 10876  11501   if test -n "$lt_prog_compiler_pic_CXX"; then
 10877  11502   
 10878         -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 10879         -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
        11503  +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
        11504  +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
 10880  11505   if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
 10881  11506     echo $ECHO_N "(cached) $ECHO_C" >&6
 10882  11507   else
 10883  11508     lt_prog_compiler_pic_works_CXX=no
 10884  11509     ac_outfile=conftest.$ac_objext
 10885  11510      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 10886  11511      lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
................................................................................
 10889  11514      # Note that $ac_compile itself does not contain backslashes and begins
 10890  11515      # with a dollar sign (not a hyphen), so the echo should work correctly.
 10891  11516      # The option is referenced via a variable to avoid confusing sed.
 10892  11517      lt_compile=`echo "$ac_compile" | $SED \
 10893  11518      -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 10894  11519      -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 10895  11520      -e 's:$: $lt_compiler_flag:'`
 10896         -   (eval echo "\"\$as_me:10896: $lt_compile\"" >&5)
        11521  +   (eval echo "\"\$as_me:11521: $lt_compile\"" >&5)
 10897  11522      (eval "$lt_compile" 2>conftest.err)
 10898  11523      ac_status=$?
 10899  11524      cat conftest.err >&5
 10900         -   echo "$as_me:10900: \$? = $ac_status" >&5
        11525  +   echo "$as_me:11525: \$? = $ac_status" >&5
 10901  11526      if (exit $ac_status) && test -s "$ac_outfile"; then
 10902  11527        # The compiler can only warn and ignore the option if not recognized
 10903  11528        # So say no if there are warnings other than the usual output.
 10904  11529        $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 10905  11530        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 10906  11531        if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 10907  11532          lt_prog_compiler_pic_works_CXX=yes
 10908  11533        fi
 10909  11534      fi
 10910  11535      $rm conftest*
 10911  11536   
 10912  11537   fi
 10913         -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
 10914         -echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
        11538  +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
        11539  +echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
 10915  11540   
 10916  11541   if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
 10917  11542       case $lt_prog_compiler_pic_CXX in
 10918  11543        "" | " "*) ;;
 10919  11544        *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
 10920  11545        esac
 10921  11546   else
................................................................................
 10934  11559       ;;
 10935  11560   esac
 10936  11561   
 10937  11562   #
 10938  11563   # Check to make sure the static flag actually works.
 10939  11564   #
 10940  11565   wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
 10941         -echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 10942         -echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
        11566  +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
        11567  +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 10943  11568   if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
 10944  11569     echo $ECHO_N "(cached) $ECHO_C" >&6
 10945  11570   else
 10946  11571     lt_prog_compiler_static_works_CXX=no
 10947  11572      save_LDFLAGS="$LDFLAGS"
 10948  11573      LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 10949  11574      printf "$lt_simple_link_test_code" > conftest.$ac_ext
................................................................................
 10962  11587          lt_prog_compiler_static_works_CXX=yes
 10963  11588        fi
 10964  11589      fi
 10965  11590      $rm conftest*
 10966  11591      LDFLAGS="$save_LDFLAGS"
 10967  11592   
 10968  11593   fi
 10969         -echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
 10970         -echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
        11594  +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
        11595  +echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
 10971  11596   
 10972  11597   if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
 10973  11598       :
 10974  11599   else
 10975  11600       lt_prog_compiler_static_CXX=
 10976  11601   fi
 10977  11602   
 10978  11603   
 10979         -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 10980         -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
        11604  +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
        11605  +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 10981  11606   if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
 10982  11607     echo $ECHO_N "(cached) $ECHO_C" >&6
 10983  11608   else
 10984  11609     lt_cv_prog_compiler_c_o_CXX=no
 10985  11610      $rm -r conftest 2>/dev/null
 10986  11611      mkdir conftest
 10987  11612      cd conftest
................................................................................
 10993  11618      # (2) before a word containing "conftest.", or (3) at the end.
 10994  11619      # Note that $ac_compile itself does not contain backslashes and begins
 10995  11620      # with a dollar sign (not a hyphen), so the echo should work correctly.
 10996  11621      lt_compile=`echo "$ac_compile" | $SED \
 10997  11622      -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 10998  11623      -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 10999  11624      -e 's:$: $lt_compiler_flag:'`
 11000         -   (eval echo "\"\$as_me:11000: $lt_compile\"" >&5)
        11625  +   (eval echo "\"\$as_me:11625: $lt_compile\"" >&5)
 11001  11626      (eval "$lt_compile" 2>out/conftest.err)
 11002  11627      ac_status=$?
 11003  11628      cat out/conftest.err >&5
 11004         -   echo "$as_me:11004: \$? = $ac_status" >&5
        11629  +   echo "$as_me:11629: \$? = $ac_status" >&5
 11005  11630      if (exit $ac_status) && test -s out/conftest2.$ac_objext
 11006  11631      then
 11007  11632        # The compiler can only warn and ignore the option if not recognized
 11008  11633        # So say no if there are warnings
 11009  11634        $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 11010  11635        $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 11011  11636        if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
................................................................................
 11019  11644      test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 11020  11645      $rm out/* && rmdir out
 11021  11646      cd ..
 11022  11647      rmdir conftest
 11023  11648      $rm conftest*
 11024  11649   
 11025  11650   fi
 11026         -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 11027         -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
        11651  +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
        11652  +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
 11028  11653   
 11029  11654   
 11030  11655   hard_links="nottested"
 11031  11656   if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
 11032  11657     # do not overwrite the value of need_locks provided by the user
 11033         -  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 11034         -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
        11658  +  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
        11659  +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 11035  11660     hard_links=yes
 11036  11661     $rm conftest*
 11037  11662     ln conftest.a conftest.b 2>/dev/null && hard_links=no
 11038  11663     touch conftest.a
 11039  11664     ln conftest.a conftest.b 2>&5 || hard_links=no
 11040  11665     ln conftest.a conftest.b 2>/dev/null && hard_links=no
 11041         -  echo "$as_me:$LINENO: result: $hard_links" >&5
 11042         -echo "${ECHO_T}$hard_links" >&6
        11666  +  { echo "$as_me:$LINENO: result: $hard_links" >&5
        11667  +echo "${ECHO_T}$hard_links" >&6; }
 11043  11668     if test "$hard_links" = no; then
 11044  11669       { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 11045  11670   echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 11046  11671       need_locks=warn
 11047  11672     fi
 11048  11673   else
 11049  11674     need_locks=no
 11050  11675   fi
 11051  11676   
 11052         -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 11053         -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
        11677  +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
        11678  +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 11054  11679   
 11055  11680     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 11056  11681     case $host_os in
 11057  11682     aix4* | aix5*)
 11058  11683       # If we're using GNU nm, then we don't want the "-C" option.
 11059  11684       # -C means demangle to AIX nm, but means don't demangle with GNU nm
 11060  11685       if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
................................................................................
 11070  11695       export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 11071  11696     ;;
 11072  11697     *)
 11073  11698       export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 11074  11699     ;;
 11075  11700     esac
 11076  11701   
 11077         -echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 11078         -echo "${ECHO_T}$ld_shlibs_CXX" >&6
        11702  +{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
        11703  +echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
 11079  11704   test "$ld_shlibs_CXX" = no && can_build_shared=no
 11080  11705   
 11081  11706   #
 11082  11707   # Do we need to explicitly link libc?
 11083  11708   #
 11084  11709   case "x$archive_cmds_need_lc_CXX" in
 11085  11710   x|xyes)
................................................................................
 11091  11716       *'~'*)
 11092  11717         # FIXME: we may have to deal with multi-command sequences.
 11093  11718         ;;
 11094  11719       '$CC '*)
 11095  11720         # Test whether the compiler implicitly links with -lc since on some
 11096  11721         # systems, -lgcc has to come before -lc. If gcc already passes -lc
 11097  11722         # to ld, don't add -lc before -lgcc.
 11098         -      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 11099         -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
        11723  +      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
        11724  +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
 11100  11725         $rm conftest*
 11101  11726         printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 11102  11727   
 11103  11728         if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 11104  11729     (eval $ac_compile) 2>&5
 11105  11730     ac_status=$?
 11106  11731     echo "$as_me:$LINENO: \$? = $ac_status" >&5
................................................................................
 11129  11754   	  archive_cmds_need_lc_CXX=yes
 11130  11755           fi
 11131  11756           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
 11132  11757         else
 11133  11758           cat conftest.err 1>&5
 11134  11759         fi
 11135  11760         $rm conftest*
 11136         -      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 11137         -echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
        11761  +      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
        11762  +echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
 11138  11763         ;;
 11139  11764       esac
 11140  11765     fi
 11141  11766     ;;
 11142  11767   esac
 11143  11768   
 11144         -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 11145         -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
        11769  +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
        11770  +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 11146  11771   library_names_spec=
 11147  11772   libname_spec='lib$name'
 11148  11773   soname_spec=
 11149  11774   shrext_cmds=".so"
 11150  11775   postinstall_cmds=
 11151  11776   postuninstall_cmds=
 11152  11777   finish_cmds=
................................................................................
 11762  12387     shlibpath_var=LD_LIBRARY_PATH
 11763  12388     ;;
 11764  12389   
 11765  12390   *)
 11766  12391     dynamic_linker=no
 11767  12392     ;;
 11768  12393   esac
 11769         -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 11770         -echo "${ECHO_T}$dynamic_linker" >&6
        12394  +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
        12395  +echo "${ECHO_T}$dynamic_linker" >&6; }
 11771  12396   test "$dynamic_linker" = no && can_build_shared=no
 11772  12397   
 11773  12398   variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 11774  12399   if test "$GCC" = yes; then
 11775  12400     variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 11776  12401   fi
 11777  12402   
 11778         -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 11779         -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
        12403  +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
        12404  +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 11780  12405   hardcode_action_CXX=
 11781  12406   if test -n "$hardcode_libdir_flag_spec_CXX" || \
 11782  12407      test -n "$runpath_var_CXX" || \
 11783  12408      test "X$hardcode_automatic_CXX" = "Xyes" ; then
 11784  12409   
 11785  12410     # We can hardcode non-existant directories.
 11786  12411     if test "$hardcode_direct_CXX" != no &&
................................................................................
 11796  12421       hardcode_action_CXX=immediate
 11797  12422     fi
 11798  12423   else
 11799  12424     # We cannot hardcode anything, or else we can only hardcode existing
 11800  12425     # directories.
 11801  12426     hardcode_action_CXX=unsupported
 11802  12427   fi
 11803         -echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 11804         -echo "${ECHO_T}$hardcode_action_CXX" >&6
        12428  +{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
        12429  +echo "${ECHO_T}$hardcode_action_CXX" >&6; }
 11805  12430   
 11806  12431   if test "$hardcode_action_CXX" = relink; then
 11807  12432     # Fast installation is not supported
 11808  12433     enable_fast_install=no
 11809  12434   elif test "$shlibpath_overrides_runpath" = yes ||
 11810  12435        test "$enable_shared" = no; then
 11811  12436     # Fast installation is not necessary
................................................................................
 12322  12947       \-*) ;;
 12323  12948       *) break;;
 12324  12949     esac
 12325  12950   done
 12326  12951   cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 12327  12952   
 12328  12953   
 12329         -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 12330         -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
 12331         -echo "$as_me:$LINENO: result: $can_build_shared" >&5
 12332         -echo "${ECHO_T}$can_build_shared" >&6
        12954  +{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
        12955  +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
        12956  +{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
        12957  +echo "${ECHO_T}$can_build_shared" >&6; }
 12333  12958   
 12334         -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 12335         -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
        12959  +{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
        12960  +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
 12336  12961   test "$can_build_shared" = "no" && enable_shared=no
 12337  12962   
 12338  12963   # On AIX, shared libraries and static libraries use the same namespace, and
 12339  12964   # are all built from PIC.
 12340  12965   case $host_os in
 12341  12966   aix3*)
 12342  12967     test "$enable_shared" = yes && enable_static=no
................................................................................
 12347  12972     ;;
 12348  12973   aix4* | aix5*)
 12349  12974     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 12350  12975       test "$enable_shared" = yes && enable_static=no
 12351  12976     fi
 12352  12977     ;;
 12353  12978   esac
 12354         -echo "$as_me:$LINENO: result: $enable_shared" >&5
 12355         -echo "${ECHO_T}$enable_shared" >&6
        12979  +{ echo "$as_me:$LINENO: result: $enable_shared" >&5
        12980  +echo "${ECHO_T}$enable_shared" >&6; }
 12356  12981   
 12357         -echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 12358         -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
        12982  +{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
        12983  +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
 12359  12984   # Make sure either enable_shared or enable_static is yes.
 12360  12985   test "$enable_shared" = yes || enable_static=yes
 12361         -echo "$as_me:$LINENO: result: $enable_static" >&5
 12362         -echo "${ECHO_T}$enable_static" >&6
        12986  +{ echo "$as_me:$LINENO: result: $enable_static" >&5
        12987  +echo "${ECHO_T}$enable_static" >&6; }
 12363  12988   
 12364  12989   GCC_F77="$G77"
 12365  12990   LD_F77="$LD"
 12366  12991   
 12367  12992   lt_prog_compiler_wl_F77=
 12368  12993   lt_prog_compiler_pic_F77=
 12369  12994   lt_prog_compiler_static_F77=
 12370  12995   
 12371         -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 12372         -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
        12996  +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
        12997  +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 12373  12998   
 12374  12999     if test "$GCC" = yes; then
 12375  13000       lt_prog_compiler_wl_F77='-Wl,'
 12376  13001       lt_prog_compiler_static_F77='-static'
 12377  13002   
 12378  13003       case $host_os in
 12379  13004         aix*)
................................................................................
 12574  13199   
 12575  13200       *)
 12576  13201         lt_prog_compiler_can_build_shared_F77=no
 12577  13202         ;;
 12578  13203       esac
 12579  13204     fi
 12580  13205   
 12581         -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 12582         -echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
        13206  +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
        13207  +echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
 12583  13208   
 12584  13209   #
 12585  13210   # Check to make sure the PIC flag actually works.
 12586  13211   #
 12587  13212   if test -n "$lt_prog_compiler_pic_F77"; then
 12588  13213   
 12589         -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 12590         -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
        13214  +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
        13215  +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
 12591  13216   if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
 12592  13217     echo $ECHO_N "(cached) $ECHO_C" >&6
 12593  13218   else
 12594  13219     lt_prog_compiler_pic_works_F77=no
 12595  13220     ac_outfile=conftest.$ac_objext
 12596  13221      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 12597  13222      lt_compiler_flag="$lt_prog_compiler_pic_F77"
................................................................................
 12600  13225      # Note that $ac_compile itself does not contain backslashes and begins
 12601  13226      # with a dollar sign (not a hyphen), so the echo should work correctly.
 12602  13227      # The option is referenced via a variable to avoid confusing sed.
 12603  13228      lt_compile=`echo "$ac_compile" | $SED \
 12604  13229      -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 12605  13230      -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 12606  13231      -e 's:$: $lt_compiler_flag:'`
 12607         -   (eval echo "\"\$as_me:12607: $lt_compile\"" >&5)
        13232  +   (eval echo "\"\$as_me:13232: $lt_compile\"" >&5)
 12608  13233      (eval "$lt_compile" 2>conftest.err)
 12609  13234      ac_status=$?
 12610  13235      cat conftest.err >&5
 12611         -   echo "$as_me:12611: \$? = $ac_status" >&5
        13236  +   echo "$as_me:13236: \$? = $ac_status" >&5
 12612  13237      if (exit $ac_status) && test -s "$ac_outfile"; then
 12613  13238        # The compiler can only warn and ignore the option if not recognized
 12614  13239        # So say no if there are warnings other than the usual output.
 12615  13240        $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 12616  13241        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 12617  13242        if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 12618  13243          lt_prog_compiler_pic_works_F77=yes
 12619  13244        fi
 12620  13245      fi
 12621  13246      $rm conftest*
 12622  13247   
 12623  13248   fi
 12624         -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
 12625         -echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
        13249  +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
        13250  +echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
 12626  13251   
 12627  13252   if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
 12628  13253       case $lt_prog_compiler_pic_F77 in
 12629  13254        "" | " "*) ;;
 12630  13255        *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
 12631  13256        esac
 12632  13257   else
................................................................................
 12645  13270       ;;
 12646  13271   esac
 12647  13272   
 12648  13273   #
 12649  13274   # Check to make sure the static flag actually works.
 12650  13275   #
 12651  13276   wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
 12652         -echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 12653         -echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
        13277  +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
        13278  +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 12654  13279   if test "${lt_prog_compiler_static_works_F77+set}" = set; then
 12655  13280     echo $ECHO_N "(cached) $ECHO_C" >&6
 12656  13281   else
 12657  13282     lt_prog_compiler_static_works_F77=no
 12658  13283      save_LDFLAGS="$LDFLAGS"
 12659  13284      LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 12660  13285      printf "$lt_simple_link_test_code" > conftest.$ac_ext
................................................................................
 12673  13298          lt_prog_compiler_static_works_F77=yes
 12674  13299        fi
 12675  13300      fi
 12676  13301      $rm conftest*
 12677  13302      LDFLAGS="$save_LDFLAGS"
 12678  13303   
 12679  13304   fi
 12680         -echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
 12681         -echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
        13305  +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
        13306  +echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
 12682  13307   
 12683  13308   if test x"$lt_prog_compiler_static_works_F77" = xyes; then
 12684  13309       :
 12685  13310   else
 12686  13311       lt_prog_compiler_static_F77=
 12687  13312   fi
 12688  13313   
 12689  13314   
 12690         -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 12691         -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
        13315  +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
        13316  +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 12692  13317   if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
 12693  13318     echo $ECHO_N "(cached) $ECHO_C" >&6
 12694  13319   else
 12695  13320     lt_cv_prog_compiler_c_o_F77=no
 12696  13321      $rm -r conftest 2>/dev/null
 12697  13322      mkdir conftest
 12698  13323      cd conftest
................................................................................
 12704  13329      # (2) before a word containing "conftest.", or (3) at the end.
 12705  13330      # Note that $ac_compile itself does not contain backslashes and begins
 12706  13331      # with a dollar sign (not a hyphen), so the echo should work correctly.
 12707  13332      lt_compile=`echo "$ac_compile" | $SED \
 12708  13333      -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 12709  13334      -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 12710  13335      -e 's:$: $lt_compiler_flag:'`
 12711         -   (eval echo "\"\$as_me:12711: $lt_compile\"" >&5)
        13336  +   (eval echo "\"\$as_me:13336: $lt_compile\"" >&5)
 12712  13337      (eval "$lt_compile" 2>out/conftest.err)
 12713  13338      ac_status=$?
 12714  13339      cat out/conftest.err >&5
 12715         -   echo "$as_me:12715: \$? = $ac_status" >&5
        13340  +   echo "$as_me:13340: \$? = $ac_status" >&5
 12716  13341      if (exit $ac_status) && test -s out/conftest2.$ac_objext
 12717  13342      then
 12718  13343        # The compiler can only warn and ignore the option if not recognized
 12719  13344        # So say no if there are warnings
 12720  13345        $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 12721  13346        $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 12722  13347        if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
................................................................................
 12730  13355      test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 12731  13356      $rm out/* && rmdir out
 12732  13357      cd ..
 12733  13358      rmdir conftest
 12734  13359      $rm conftest*
 12735  13360   
 12736  13361   fi
 12737         -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 12738         -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
        13362  +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
        13363  +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
 12739  13364   
 12740  13365   
 12741  13366   hard_links="nottested"
 12742  13367   if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
 12743  13368     # do not overwrite the value of need_locks provided by the user
 12744         -  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 12745         -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
        13369  +  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
        13370  +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 12746  13371     hard_links=yes
 12747  13372     $rm conftest*
 12748  13373     ln conftest.a conftest.b 2>/dev/null && hard_links=no
 12749  13374     touch conftest.a
 12750  13375     ln conftest.a conftest.b 2>&5 || hard_links=no
 12751  13376     ln conftest.a conftest.b 2>/dev/null && hard_links=no
 12752         -  echo "$as_me:$LINENO: result: $hard_links" >&5
 12753         -echo "${ECHO_T}$hard_links" >&6
        13377  +  { echo "$as_me:$LINENO: result: $hard_links" >&5
        13378  +echo "${ECHO_T}$hard_links" >&6; }
 12754  13379     if test "$hard_links" = no; then
 12755  13380       { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 12756  13381   echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 12757  13382       need_locks=warn
 12758  13383     fi
 12759  13384   else
 12760  13385     need_locks=no
 12761  13386   fi
 12762  13387   
 12763         -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 12764         -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
        13388  +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
        13389  +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 12765  13390   
 12766  13391     runpath_var=
 12767  13392     allow_undefined_flag_F77=
 12768  13393     enable_shared_with_static_runtimes_F77=no
 12769  13394     archive_cmds_F77=
 12770  13395     archive_expsym_cmds_F77=
 12771  13396     old_archive_From_new_cmds_F77=
................................................................................
 13162  13787          # Determine the default libpath from the value encoded in an empty executable.
 13163  13788          cat >conftest.$ac_ext <<_ACEOF
 13164  13789         program main
 13165  13790   
 13166  13791         end
 13167  13792   _ACEOF
 13168  13793   rm -f conftest.$ac_objext conftest$ac_exeext
 13169         -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 13170         -  (eval $ac_link) 2>conftest.er1
        13794  +if { (ac_try="$ac_link"
        13795  +case "(($ac_try" in
        13796  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        13797  +  *) ac_try_echo=$ac_try;;
        13798  +esac
        13799  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        13800  +  (eval "$ac_link") 2>conftest.er1
 13171  13801     ac_status=$?
 13172  13802     grep -v '^ *+' conftest.er1 >conftest.err
 13173  13803     rm -f conftest.er1
 13174  13804     cat conftest.err >&5
 13175  13805     echo "$as_me:$LINENO: \$? = $ac_status" >&5
 13176         -  (exit $ac_status); } &&
 13177         -	 { ac_try='test -z "$ac_f77_werror_flag"
 13178         -			 || test ! -s conftest.err'
 13179         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 13180         -  (eval $ac_try) 2>&5
 13181         -  ac_status=$?
 13182         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 13183         -  (exit $ac_status); }; } &&
 13184         -	 { ac_try='test -s conftest$ac_exeext'
 13185         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 13186         -  (eval $ac_try) 2>&5
 13187         -  ac_status=$?
 13188         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 13189         -  (exit $ac_status); }; }; then
        13806  +  (exit $ac_status); } && {
        13807  +	 test -z "$ac_f77_werror_flag" ||
        13808  +	 test ! -s conftest.err
        13809  +       } && test -s conftest$ac_exeext &&
        13810  +       $as_test_x conftest$ac_exeext; then
 13190  13811   
 13191  13812   aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 13192  13813   }'`
 13193  13814   # Check for a 64-bit object if we didn't find anything.
 13194  13815   if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 13195  13816   }'`; fi
 13196  13817   else
 13197  13818     echo "$as_me: failed program was:" >&5
 13198  13819   sed 's/^/| /' conftest.$ac_ext >&5
        13820  +
 13199  13821   
 13200  13822   fi
 13201         -rm -f conftest.err conftest.$ac_objext \
        13823  +
        13824  +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 13202  13825         conftest$ac_exeext conftest.$ac_ext
 13203  13826   if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 13204  13827   
 13205  13828          hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
 13206  13829   	archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 13207  13830          else
 13208  13831   	if test "$host_cpu" = ia64; then
................................................................................
 13213  13836   	 # Determine the default libpath from the value encoded in an empty executable.
 13214  13837   	 cat >conftest.$ac_ext <<_ACEOF
 13215  13838         program main
 13216  13839   
 13217  13840         end
 13218  13841   _ACEOF
 13219  13842   rm -f conftest.$ac_objext conftest$ac_exeext
 13220         -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 13221         -  (eval $ac_link) 2>conftest.er1
        13843  +if { (ac_try="$ac_link"
        13844  +case "(($ac_try" in
        13845  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        13846  +  *) ac_try_echo=$ac_try;;
        13847  +esac
        13848  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        13849  +  (eval "$ac_link") 2>conftest.er1
 13222  13850     ac_status=$?
 13223  13851     grep -v '^ *+' conftest.er1 >conftest.err
 13224  13852     rm -f conftest.er1
 13225  13853     cat conftest.err >&5
 13226  13854     echo "$as_me:$LINENO: \$? = $ac_status" >&5
 13227         -  (exit $ac_status); } &&
 13228         -	 { ac_try='test -z "$ac_f77_werror_flag"
 13229         -			 || test ! -s conftest.err'
 13230         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 13231         -  (eval $ac_try) 2>&5
 13232         -  ac_status=$?
 13233         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 13234         -  (exit $ac_status); }; } &&
 13235         -	 { ac_try='test -s conftest$ac_exeext'
 13236         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 13237         -  (eval $ac_try) 2>&5
 13238         -  ac_status=$?
 13239         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 13240         -  (exit $ac_status); }; }; then
        13855  +  (exit $ac_status); } && {
        13856  +	 test -z "$ac_f77_werror_flag" ||
        13857  +	 test ! -s conftest.err
        13858  +       } && test -s conftest$ac_exeext &&
        13859  +       $as_test_x conftest$ac_exeext; then
 13241  13860   
 13242  13861   aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 13243  13862   }'`
 13244  13863   # Check for a 64-bit object if we didn't find anything.
 13245  13864   if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 13246  13865   }'`; fi
 13247  13866   else
 13248  13867     echo "$as_me: failed program was:" >&5
 13249  13868   sed 's/^/| /' conftest.$ac_ext >&5
        13869  +
 13250  13870   
 13251  13871   fi
 13252         -rm -f conftest.err conftest.$ac_objext \
        13872  +
        13873  +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 13253  13874         conftest$ac_exeext conftest.$ac_ext
 13254  13875   if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 13255  13876   
 13256  13877   	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
 13257  13878   	  # Warning - without using the other run time loading flags,
 13258  13879   	  # -berok will link without error, but may produce a broken library.
 13259  13880   	  no_undefined_flag_F77=' ${wl}-bernotok'
................................................................................
 13694  14315   
 13695  14316       *)
 13696  14317         ld_shlibs_F77=no
 13697  14318         ;;
 13698  14319       esac
 13699  14320     fi
 13700  14321   
 13701         -echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 13702         -echo "${ECHO_T}$ld_shlibs_F77" >&6
        14322  +{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
        14323  +echo "${ECHO_T}$ld_shlibs_F77" >&6; }
 13703  14324   test "$ld_shlibs_F77" = no && can_build_shared=no
 13704  14325   
 13705  14326   #
 13706  14327   # Do we need to explicitly link libc?
 13707  14328   #
 13708  14329   case "x$archive_cmds_need_lc_F77" in
 13709  14330   x|xyes)
................................................................................
 13715  14336       *'~'*)
 13716  14337         # FIXME: we may have to deal with multi-command sequences.
 13717  14338         ;;
 13718  14339       '$CC '*)
 13719  14340         # Test whether the compiler implicitly links with -lc since on some
 13720  14341         # systems, -lgcc has to come before -lc. If gcc already passes -lc
 13721  14342         # to ld, don't add -lc before -lgcc.
 13722         -      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 13723         -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
        14343  +      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
        14344  +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
 13724  14345         $rm conftest*
 13725  14346         printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 13726  14347   
 13727  14348         if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 13728  14349     (eval $ac_compile) 2>&5
 13729  14350     ac_status=$?
 13730  14351     echo "$as_me:$LINENO: \$? = $ac_status" >&5
................................................................................
 13753  14374   	  archive_cmds_need_lc_F77=yes
 13754  14375           fi
 13755  14376           allow_undefined_flag_F77=$lt_save_allow_undefined_flag
 13756  14377         else
 13757  14378           cat conftest.err 1>&5
 13758  14379         fi
 13759  14380         $rm conftest*
 13760         -      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 13761         -echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
        14381  +      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
        14382  +echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
 13762  14383         ;;
 13763  14384       esac
 13764  14385     fi
 13765  14386     ;;
 13766  14387   esac
 13767  14388   
 13768         -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 13769         -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
        14389  +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
        14390  +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 13770  14391   library_names_spec=
 13771  14392   libname_spec='lib$name'
 13772  14393   soname_spec=
 13773  14394   shrext_cmds=".so"
 13774  14395   postinstall_cmds=
 13775  14396   postuninstall_cmds=
 13776  14397   finish_cmds=
................................................................................
 14386  15007     shlibpath_var=LD_LIBRARY_PATH
 14387  15008     ;;
 14388  15009   
 14389  15010   *)
 14390  15011     dynamic_linker=no
 14391  15012     ;;
 14392  15013   esac
 14393         -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 14394         -echo "${ECHO_T}$dynamic_linker" >&6
        15014  +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
        15015  +echo "${ECHO_T}$dynamic_linker" >&6; }
 14395  15016   test "$dynamic_linker" = no && can_build_shared=no
 14396  15017   
 14397  15018   variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 14398  15019   if test "$GCC" = yes; then
 14399  15020     variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 14400  15021   fi
 14401  15022   
 14402         -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 14403         -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
        15023  +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
        15024  +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 14404  15025   hardcode_action_F77=
 14405  15026   if test -n "$hardcode_libdir_flag_spec_F77" || \
 14406  15027      test -n "$runpath_var_F77" || \
 14407  15028      test "X$hardcode_automatic_F77" = "Xyes" ; then
 14408  15029   
 14409  15030     # We can hardcode non-existant directories.
 14410  15031     if test "$hardcode_direct_F77" != no &&
................................................................................
 14420  15041       hardcode_action_F77=immediate
 14421  15042     fi
 14422  15043   else
 14423  15044     # We cannot hardcode anything, or else we can only hardcode existing
 14424  15045     # directories.
 14425  15046     hardcode_action_F77=unsupported
 14426  15047   fi
 14427         -echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 14428         -echo "${ECHO_T}$hardcode_action_F77" >&6
        15048  +{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
        15049  +echo "${ECHO_T}$hardcode_action_F77" >&6; }
 14429  15050   
 14430  15051   if test "$hardcode_action_F77" = relink; then
 14431  15052     # Fast installation is not supported
 14432  15053     enable_fast_install=no
 14433  15054   elif test "$shlibpath_overrides_runpath" = yes ||
 14434  15055        test "$enable_shared" = no; then
 14435  15056     # Fast installation is not necessary
................................................................................
 14858  15479   	fi
 14859  15480   	;;
 14860  15481   
 14861  15482         GCJ)
 14862  15483   	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
 14863  15484   
 14864  15485   
 14865         -
 14866  15486   # Source file extension for Java test sources.
 14867  15487   ac_ext=java
 14868  15488   
 14869  15489   # Object file extension for compiled Java test sources.
 14870  15490   objext=o
 14871  15491   objext_GCJ=$objext
 14872  15492   
................................................................................
 14926  15546   
 14927  15547   lt_prog_compiler_no_builtin_flag_GCJ=
 14928  15548   
 14929  15549   if test "$GCC" = yes; then
 14930  15550     lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
 14931  15551   
 14932  15552   
 14933         -echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 14934         -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
        15553  +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
        15554  +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
 14935  15555   if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 14936  15556     echo $ECHO_N "(cached) $ECHO_C" >&6
 14937  15557   else
 14938  15558     lt_cv_prog_compiler_rtti_exceptions=no
 14939  15559     ac_outfile=conftest.$ac_objext
 14940  15560      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 14941  15561      lt_compiler_flag="-fno-rtti -fno-exceptions"
................................................................................
 14944  15564      # Note that $ac_compile itself does not contain backslashes and begins
 14945  15565      # with a dollar sign (not a hyphen), so the echo should work correctly.
 14946  15566      # The option is referenced via a variable to avoid confusing sed.
 14947  15567      lt_compile=`echo "$ac_compile" | $SED \
 14948  15568      -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 14949  15569      -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 14950  15570      -e 's:$: $lt_compiler_flag:'`
 14951         -   (eval echo "\"\$as_me:14951: $lt_compile\"" >&5)
        15571  +   (eval echo "\"\$as_me:15571: $lt_compile\"" >&5)
 14952  15572      (eval "$lt_compile" 2>conftest.err)
 14953  15573      ac_status=$?
 14954  15574      cat conftest.err >&5
 14955         -   echo "$as_me:14955: \$? = $ac_status" >&5
        15575  +   echo "$as_me:15575: \$? = $ac_status" >&5
 14956  15576      if (exit $ac_status) && test -s "$ac_outfile"; then
 14957  15577        # The compiler can only warn and ignore the option if not recognized
 14958  15578        # So say no if there are warnings other than the usual output.
 14959  15579        $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 14960  15580        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 14961  15581        if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 14962  15582          lt_cv_prog_compiler_rtti_exceptions=yes
 14963  15583        fi
 14964  15584      fi
 14965  15585      $rm conftest*
 14966  15586   
 14967  15587   fi
 14968         -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 14969         -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
        15588  +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
        15589  +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 14970  15590   
 14971  15591   if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 14972  15592       lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
 14973  15593   else
 14974  15594       :
 14975  15595   fi
 14976  15596   
 14977  15597   fi
 14978  15598   
 14979  15599   lt_prog_compiler_wl_GCJ=
 14980  15600   lt_prog_compiler_pic_GCJ=
 14981  15601   lt_prog_compiler_static_GCJ=
 14982  15602   
 14983         -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 14984         -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
        15603  +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
        15604  +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 14985  15605   
 14986  15606     if test "$GCC" = yes; then
 14987  15607       lt_prog_compiler_wl_GCJ='-Wl,'
 14988  15608       lt_prog_compiler_static_GCJ='-static'
 14989  15609   
 14990  15610       case $host_os in
 14991  15611         aix*)
................................................................................
 15186  15806   
 15187  15807       *)
 15188  15808         lt_prog_compiler_can_build_shared_GCJ=no
 15189  15809         ;;
 15190  15810       esac
 15191  15811     fi
 15192  15812   
 15193         -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 15194         -echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
        15813  +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
        15814  +echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
 15195  15815   
 15196  15816   #
 15197  15817   # Check to make sure the PIC flag actually works.
 15198  15818   #
 15199  15819   if test -n "$lt_prog_compiler_pic_GCJ"; then
 15200  15820   
 15201         -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 15202         -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
        15821  +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
        15822  +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
 15203  15823   if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
 15204  15824     echo $ECHO_N "(cached) $ECHO_C" >&6
 15205  15825   else
 15206  15826     lt_prog_compiler_pic_works_GCJ=no
 15207  15827     ac_outfile=conftest.$ac_objext
 15208  15828      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 15209  15829      lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
................................................................................
 15212  15832      # Note that $ac_compile itself does not contain backslashes and begins
 15213  15833      # with a dollar sign (not a hyphen), so the echo should work correctly.
 15214  15834      # The option is referenced via a variable to avoid confusing sed.
 15215  15835      lt_compile=`echo "$ac_compile" | $SED \
 15216  15836      -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 15217  15837      -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 15218  15838      -e 's:$: $lt_compiler_flag:'`
 15219         -   (eval echo "\"\$as_me:15219: $lt_compile\"" >&5)
        15839  +   (eval echo "\"\$as_me:15839: $lt_compile\"" >&5)
 15220  15840      (eval "$lt_compile" 2>conftest.err)
 15221  15841      ac_status=$?
 15222  15842      cat conftest.err >&5
 15223         -   echo "$as_me:15223: \$? = $ac_status" >&5
        15843  +   echo "$as_me:15843: \$? = $ac_status" >&5
 15224  15844      if (exit $ac_status) && test -s "$ac_outfile"; then
 15225  15845        # The compiler can only warn and ignore the option if not recognized
 15226  15846        # So say no if there are warnings other than the usual output.
 15227  15847        $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 15228  15848        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 15229  15849        if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 15230  15850          lt_prog_compiler_pic_works_GCJ=yes
 15231  15851        fi
 15232  15852      fi
 15233  15853      $rm conftest*
 15234  15854   
 15235  15855   fi
 15236         -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
 15237         -echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
        15856  +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
        15857  +echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
 15238  15858   
 15239  15859   if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
 15240  15860       case $lt_prog_compiler_pic_GCJ in
 15241  15861        "" | " "*) ;;
 15242  15862        *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
 15243  15863        esac
 15244  15864   else
................................................................................
 15257  15877       ;;
 15258  15878   esac
 15259  15879   
 15260  15880   #
 15261  15881   # Check to make sure the static flag actually works.
 15262  15882   #
 15263  15883   wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
 15264         -echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 15265         -echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
        15884  +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
        15885  +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 15266  15886   if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
 15267  15887     echo $ECHO_N "(cached) $ECHO_C" >&6
 15268  15888   else
 15269  15889     lt_prog_compiler_static_works_GCJ=no
 15270  15890      save_LDFLAGS="$LDFLAGS"
 15271  15891      LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 15272  15892      printf "$lt_simple_link_test_code" > conftest.$ac_ext
................................................................................
 15285  15905          lt_prog_compiler_static_works_GCJ=yes
 15286  15906        fi
 15287  15907      fi
 15288  15908      $rm conftest*
 15289  15909      LDFLAGS="$save_LDFLAGS"
 15290  15910   
 15291  15911   fi
 15292         -echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
 15293         -echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
        15912  +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
        15913  +echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
 15294  15914   
 15295  15915   if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
 15296  15916       :
 15297  15917   else
 15298  15918       lt_prog_compiler_static_GCJ=
 15299  15919   fi
 15300  15920   
 15301  15921   
 15302         -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 15303         -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
        15922  +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
        15923  +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 15304  15924   if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
 15305  15925     echo $ECHO_N "(cached) $ECHO_C" >&6
 15306  15926   else
 15307  15927     lt_cv_prog_compiler_c_o_GCJ=no
 15308  15928      $rm -r conftest 2>/dev/null
 15309  15929      mkdir conftest
 15310  15930      cd conftest
................................................................................
 15316  15936      # (2) before a word containing "conftest.", or (3) at the end.
 15317  15937      # Note that $ac_compile itself does not contain backslashes and begins
 15318  15938      # with a dollar sign (not a hyphen), so the echo should work correctly.
 15319  15939      lt_compile=`echo "$ac_compile" | $SED \
 15320  15940      -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 15321  15941      -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 15322  15942      -e 's:$: $lt_compiler_flag:'`
 15323         -   (eval echo "\"\$as_me:15323: $lt_compile\"" >&5)
        15943  +   (eval echo "\"\$as_me:15943: $lt_compile\"" >&5)
 15324  15944      (eval "$lt_compile" 2>out/conftest.err)
 15325  15945      ac_status=$?
 15326  15946      cat out/conftest.err >&5
 15327         -   echo "$as_me:15327: \$? = $ac_status" >&5
        15947  +   echo "$as_me:15947: \$? = $ac_status" >&5
 15328  15948      if (exit $ac_status) && test -s out/conftest2.$ac_objext
 15329  15949      then
 15330  15950        # The compiler can only warn and ignore the option if not recognized
 15331  15951        # So say no if there are warnings
 15332  15952        $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 15333  15953        $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 15334  15954        if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
................................................................................
 15342  15962      test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 15343  15963      $rm out/* && rmdir out
 15344  15964      cd ..
 15345  15965      rmdir conftest
 15346  15966      $rm conftest*
 15347  15967   
 15348  15968   fi
 15349         -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 15350         -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
        15969  +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
        15970  +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
 15351  15971   
 15352  15972   
 15353  15973   hard_links="nottested"
 15354  15974   if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
 15355  15975     # do not overwrite the value of need_locks provided by the user
 15356         -  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 15357         -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
        15976  +  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
        15977  +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 15358  15978     hard_links=yes
 15359  15979     $rm conftest*
 15360  15980     ln conftest.a conftest.b 2>/dev/null && hard_links=no
 15361  15981     touch conftest.a
 15362  15982     ln conftest.a conftest.b 2>&5 || hard_links=no
 15363  15983     ln conftest.a conftest.b 2>/dev/null && hard_links=no
 15364         -  echo "$as_me:$LINENO: result: $hard_links" >&5
 15365         -echo "${ECHO_T}$hard_links" >&6
        15984  +  { echo "$as_me:$LINENO: result: $hard_links" >&5
        15985  +echo "${ECHO_T}$hard_links" >&6; }
 15366  15986     if test "$hard_links" = no; then
 15367  15987       { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 15368  15988   echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 15369  15989       need_locks=warn
 15370  15990     fi
 15371  15991   else
 15372  15992     need_locks=no
 15373  15993   fi
 15374  15994   
 15375         -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 15376         -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
        15995  +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
        15996  +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 15377  15997   
 15378  15998     runpath_var=
 15379  15999     allow_undefined_flag_GCJ=
 15380  16000     enable_shared_with_static_runtimes_GCJ=no
 15381  16001     archive_cmds_GCJ=
 15382  16002     archive_expsym_cmds_GCJ=
 15383  16003     old_archive_From_new_cmds_GCJ=
................................................................................
 15784  16404   {
 15785  16405   
 15786  16406     ;
 15787  16407     return 0;
 15788  16408   }
 15789  16409   _ACEOF
 15790  16410   rm -f conftest.$ac_objext conftest$ac_exeext
 15791         -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 15792         -  (eval $ac_link) 2>conftest.er1
        16411  +if { (ac_try="$ac_link"
        16412  +case "(($ac_try" in
        16413  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        16414  +  *) ac_try_echo=$ac_try;;
        16415  +esac
        16416  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        16417  +  (eval "$ac_link") 2>conftest.er1
 15793  16418     ac_status=$?
 15794  16419     grep -v '^ *+' conftest.er1 >conftest.err
 15795  16420     rm -f conftest.er1
 15796  16421     cat conftest.err >&5
 15797  16422     echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15798         -  (exit $ac_status); } &&
 15799         -	 { ac_try='test -z "$ac_c_werror_flag"
 15800         -			 || test ! -s conftest.err'
 15801         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 15802         -  (eval $ac_try) 2>&5
 15803         -  ac_status=$?
 15804         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15805         -  (exit $ac_status); }; } &&
 15806         -	 { ac_try='test -s conftest$ac_exeext'
 15807         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 15808         -  (eval $ac_try) 2>&5
 15809         -  ac_status=$?
 15810         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15811         -  (exit $ac_status); }; }; then
        16423  +  (exit $ac_status); } && {
        16424  +	 test -z "$ac_c_werror_flag" ||
        16425  +	 test ! -s conftest.err
        16426  +       } && test -s conftest$ac_exeext &&
        16427  +       $as_test_x conftest$ac_exeext; then
 15812  16428   
 15813  16429   aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 15814  16430   }'`
 15815  16431   # Check for a 64-bit object if we didn't find anything.
 15816  16432   if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 15817  16433   }'`; fi
 15818  16434   else
 15819  16435     echo "$as_me: failed program was:" >&5
 15820  16436   sed 's/^/| /' conftest.$ac_ext >&5
        16437  +
 15821  16438   
 15822  16439   fi
 15823         -rm -f conftest.err conftest.$ac_objext \
        16440  +
        16441  +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 15824  16442         conftest$ac_exeext conftest.$ac_ext
 15825  16443   if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 15826  16444   
 15827  16445          hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
 15828  16446   	archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 15829  16447          else
 15830  16448   	if test "$host_cpu" = ia64; then
................................................................................
 15845  16463   {
 15846  16464   
 15847  16465     ;
 15848  16466     return 0;
 15849  16467   }
 15850  16468   _ACEOF
 15851  16469   rm -f conftest.$ac_objext conftest$ac_exeext
 15852         -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 15853         -  (eval $ac_link) 2>conftest.er1
        16470  +if { (ac_try="$ac_link"
        16471  +case "(($ac_try" in
        16472  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        16473  +  *) ac_try_echo=$ac_try;;
        16474  +esac
        16475  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        16476  +  (eval "$ac_link") 2>conftest.er1
 15854  16477     ac_status=$?
 15855  16478     grep -v '^ *+' conftest.er1 >conftest.err
 15856  16479     rm -f conftest.er1
 15857  16480     cat conftest.err >&5
 15858  16481     echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15859         -  (exit $ac_status); } &&
 15860         -	 { ac_try='test -z "$ac_c_werror_flag"
 15861         -			 || test ! -s conftest.err'
 15862         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 15863         -  (eval $ac_try) 2>&5
 15864         -  ac_status=$?
 15865         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15866         -  (exit $ac_status); }; } &&
 15867         -	 { ac_try='test -s conftest$ac_exeext'
 15868         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 15869         -  (eval $ac_try) 2>&5
 15870         -  ac_status=$?
 15871         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15872         -  (exit $ac_status); }; }; then
        16482  +  (exit $ac_status); } && {
        16483  +	 test -z "$ac_c_werror_flag" ||
        16484  +	 test ! -s conftest.err
        16485  +       } && test -s conftest$ac_exeext &&
        16486  +       $as_test_x conftest$ac_exeext; then
 15873  16487   
 15874  16488   aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 15875  16489   }'`
 15876  16490   # Check for a 64-bit object if we didn't find anything.
 15877  16491   if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 15878  16492   }'`; fi
 15879  16493   else
 15880  16494     echo "$as_me: failed program was:" >&5
 15881  16495   sed 's/^/| /' conftest.$ac_ext >&5
        16496  +
 15882  16497   
 15883  16498   fi
 15884         -rm -f conftest.err conftest.$ac_objext \
        16499  +
        16500  +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 15885  16501         conftest$ac_exeext conftest.$ac_ext
 15886  16502   if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 15887  16503   
 15888  16504   	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
 15889  16505   	  # Warning - without using the other run time loading flags,
 15890  16506   	  # -berok will link without error, but may produce a broken library.
 15891  16507   	  no_undefined_flag_GCJ=' ${wl}-bernotok'
................................................................................
 16326  16942   
 16327  16943       *)
 16328  16944         ld_shlibs_GCJ=no
 16329  16945         ;;
 16330  16946       esac
 16331  16947     fi
 16332  16948   
 16333         -echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 16334         -echo "${ECHO_T}$ld_shlibs_GCJ" >&6
        16949  +{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
        16950  +echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
 16335  16951   test "$ld_shlibs_GCJ" = no && can_build_shared=no
 16336  16952   
 16337  16953   #
 16338  16954   # Do we need to explicitly link libc?
 16339  16955   #
 16340  16956   case "x$archive_cmds_need_lc_GCJ" in
 16341  16957   x|xyes)
................................................................................
 16347  16963       *'~'*)
 16348  16964         # FIXME: we may have to deal with multi-command sequences.
 16349  16965         ;;
 16350  16966       '$CC '*)
 16351  16967         # Test whether the compiler implicitly links with -lc since on some
 16352  16968         # systems, -lgcc has to come before -lc. If gcc already passes -lc
 16353  16969         # to ld, don't add -lc before -lgcc.
 16354         -      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 16355         -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
        16970  +      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
        16971  +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
 16356  16972         $rm conftest*
 16357  16973         printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 16358  16974   
 16359  16975         if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 16360  16976     (eval $ac_compile) 2>&5
 16361  16977     ac_status=$?
 16362  16978     echo "$as_me:$LINENO: \$? = $ac_status" >&5
................................................................................
 16385  17001   	  archive_cmds_need_lc_GCJ=yes
 16386  17002           fi
 16387  17003           allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
 16388  17004         else
 16389  17005           cat conftest.err 1>&5
 16390  17006         fi
 16391  17007         $rm conftest*
 16392         -      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 16393         -echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
        17008  +      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
        17009  +echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
 16394  17010         ;;
 16395  17011       esac
 16396  17012     fi
 16397  17013     ;;
 16398  17014   esac
 16399  17015   
 16400         -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 16401         -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
        17016  +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
        17017  +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 16402  17018   library_names_spec=
 16403  17019   libname_spec='lib$name'
 16404  17020   soname_spec=
 16405  17021   shrext_cmds=".so"
 16406  17022   postinstall_cmds=
 16407  17023   postuninstall_cmds=
 16408  17024   finish_cmds=
................................................................................
 17018  17634     shlibpath_var=LD_LIBRARY_PATH
 17019  17635     ;;
 17020  17636   
 17021  17637   *)
 17022  17638     dynamic_linker=no
 17023  17639     ;;
 17024  17640   esac
 17025         -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 17026         -echo "${ECHO_T}$dynamic_linker" >&6
        17641  +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
        17642  +echo "${ECHO_T}$dynamic_linker" >&6; }
 17027  17643   test "$dynamic_linker" = no && can_build_shared=no
 17028  17644   
 17029  17645   variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 17030  17646   if test "$GCC" = yes; then
 17031  17647     variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 17032  17648   fi
 17033  17649   
 17034         -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 17035         -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
        17650  +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
        17651  +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 17036  17652   hardcode_action_GCJ=
 17037  17653   if test -n "$hardcode_libdir_flag_spec_GCJ" || \
 17038  17654      test -n "$runpath_var_GCJ" || \
 17039  17655      test "X$hardcode_automatic_GCJ" = "Xyes" ; then
 17040  17656   
 17041  17657     # We can hardcode non-existant directories.
 17042  17658     if test "$hardcode_direct_GCJ" != no &&
................................................................................
 17052  17668       hardcode_action_GCJ=immediate
 17053  17669     fi
 17054  17670   else
 17055  17671     # We cannot hardcode anything, or else we can only hardcode existing
 17056  17672     # directories.
 17057  17673     hardcode_action_GCJ=unsupported
 17058  17674   fi
 17059         -echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 17060         -echo "${ECHO_T}$hardcode_action_GCJ" >&6
        17675  +{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
        17676  +echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
 17061  17677   
 17062  17678   if test "$hardcode_action_GCJ" = relink; then
 17063  17679     # Fast installation is not supported
 17064  17680     enable_fast_install=no
 17065  17681   elif test "$shlibpath_overrides_runpath" = yes ||
 17066  17682        test "$enable_shared" = no; then
 17067  17683     # Fast installation is not necessary
................................................................................
 17487  18103   
 17488  18104   	else
 17489  18105   	  tagname=""
 17490  18106   	fi
 17491  18107   	;;
 17492  18108   
 17493  18109         RC)
 17494         -
 17495  18110   
 17496  18111   
 17497  18112   # Source file extension for RC test sources.
 17498  18113   ac_ext=rc
 17499  18114   
 17500  18115   # Object file extension for compiled RC test sources.
 17501  18116   objext=o
................................................................................
 18033  18648   # AIX /bin/install
 18034  18649   # AmigaOS /C/install, which installs bootblocks on floppy discs
 18035  18650   # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 18036  18651   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 18037  18652   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 18038  18653   # OS/2's system install, which has a completely different semantic
 18039  18654   # ./install, which can be erroneously created by make from ./install.sh.
 18040         -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 18041         -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
        18655  +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
        18656  +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 18042  18657   if test -z "$INSTALL"; then
 18043  18658   if test "${ac_cv_path_install+set}" = set; then
 18044  18659     echo $ECHO_N "(cached) $ECHO_C" >&6
 18045  18660   else
 18046  18661     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 18047  18662   for as_dir in $PATH
 18048  18663   do
................................................................................
 18056  18671     /usr/ucb/* ) ;;
 18057  18672     *)
 18058  18673       # OSF1 and SCO ODT 3.0 have their own names for install.
 18059  18674       # Don't use installbsd from OSF since it installs stuff as root
 18060  18675       # by default.
 18061  18676       for ac_prog in ginstall scoinst install; do
 18062  18677         for ac_exec_ext in '' $ac_executable_extensions; do
 18063         -	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
        18678  +	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 18064  18679   	  if test $ac_prog = install &&
 18065  18680   	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 18066  18681   	    # AIX install.  It has an incompatible calling convention.
 18067  18682   	    :
 18068  18683   	  elif test $ac_prog = install &&
 18069  18684   	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 18070  18685   	    # program-specific install script used by HP pwplus--don't use.
................................................................................
 18075  18690   	  fi
 18076  18691   	fi
 18077  18692         done
 18078  18693       done
 18079  18694       ;;
 18080  18695   esac
 18081  18696   done
        18697  +IFS=$as_save_IFS
 18082  18698   
 18083  18699   
 18084  18700   fi
 18085  18701     if test "${ac_cv_path_install+set}" = set; then
 18086  18702       INSTALL=$ac_cv_path_install
 18087  18703     else
 18088         -    # As a last resort, use the slow shell script.  We don't cache a
 18089         -    # path for INSTALL within a source directory, because that will
        18704  +    # As a last resort, use the slow shell script.  Don't cache a
        18705  +    # value for INSTALL within a source directory, because that will
 18090  18706       # break other packages using the cache if that directory is
 18091         -    # removed, or if the path is relative.
        18707  +    # removed, or if the value is a relative name.
 18092  18708       INSTALL=$ac_install_sh
 18093  18709     fi
 18094  18710   fi
 18095         -echo "$as_me:$LINENO: result: $INSTALL" >&5
 18096         -echo "${ECHO_T}$INSTALL" >&6
        18711  +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
        18712  +echo "${ECHO_T}$INSTALL" >&6; }
 18097  18713   
 18098  18714   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 18099  18715   # It thinks the first close brace ends the variable substitution.
 18100  18716   test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 18101  18717   
 18102  18718   test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 18103  18719   
 18104  18720   test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 18105  18721   
 18106  18722   for ac_prog in gawk mawk nawk awk
 18107  18723   do
 18108  18724     # Extract the first word of "$ac_prog", so it can be a program name with args.
 18109  18725   set dummy $ac_prog; ac_word=$2
 18110         -echo "$as_me:$LINENO: checking for $ac_word" >&5
 18111         -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        18726  +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
        18727  +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 18112  18728   if test "${ac_cv_prog_AWK+set}" = set; then
 18113  18729     echo $ECHO_N "(cached) $ECHO_C" >&6
 18114  18730   else
 18115  18731     if test -n "$AWK"; then
 18116  18732     ac_cv_prog_AWK="$AWK" # Let the user override the test.
 18117  18733   else
 18118  18734   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 18119  18735   for as_dir in $PATH
 18120  18736   do
 18121  18737     IFS=$as_save_IFS
 18122  18738     test -z "$as_dir" && as_dir=.
 18123  18739     for ac_exec_ext in '' $ac_executable_extensions; do
 18124         -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        18740  +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 18125  18741       ac_cv_prog_AWK="$ac_prog"
 18126  18742       echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 18127  18743       break 2
 18128  18744     fi
 18129  18745   done
 18130  18746   done
        18747  +IFS=$as_save_IFS
 18131  18748   
 18132  18749   fi
 18133  18750   fi
 18134  18751   AWK=$ac_cv_prog_AWK
 18135  18752   if test -n "$AWK"; then
 18136         -  echo "$as_me:$LINENO: result: $AWK" >&5
 18137         -echo "${ECHO_T}$AWK" >&6
        18753  +  { echo "$as_me:$LINENO: result: $AWK" >&5
        18754  +echo "${ECHO_T}$AWK" >&6; }
 18138  18755   else
 18139         -  echo "$as_me:$LINENO: result: no" >&5
 18140         -echo "${ECHO_T}no" >&6
        18756  +  { echo "$as_me:$LINENO: result: no" >&5
        18757  +echo "${ECHO_T}no" >&6; }
 18141  18758   fi
        18759  +
 18142  18760   
 18143  18761     test -n "$AWK" && break
 18144  18762   done
 18145  18763   
 18146  18764   
 18147  18765   #########
 18148  18766   # Set up an appropriate program prefix
................................................................................
 18168  18786   # Check to see if the --with-hints=FILE option is used.  If there is none,
 18169  18787   # then check for a files named "$host.hints" and ../$hosts.hints where
 18170  18788   # $host is the hostname of the build system.  If still no hints are
 18171  18789   # found, try looking in $system.hints and ../$system.hints where
 18172  18790   # $system is the result of uname -s.
 18173  18791   #
 18174  18792   
 18175         -# Check whether --with-hints or --without-hints was given.
        18793  +# Check whether --with-hints was given.
 18176  18794   if test "${with_hints+set}" = set; then
 18177         -  withval="$with_hints"
 18178         -  hints=$withval
 18179         -fi;
        18795  +  withval=$with_hints; hints=$withval
        18796  +fi
        18797  +
 18180  18798   if test "$hints" = ""; then
 18181  18799     host=`hostname | sed 's/\..*//'`
 18182  18800     if test -r $host.hints; then
 18183  18801       hints=$host.hints
 18184  18802     else
 18185  18803        if test -r ../$host.hints; then
 18186  18804          hints=../$host.hints
................................................................................
 18194  18812     else
 18195  18813        if test -r ../$sys.hints; then
 18196  18814          hints=../$sys.hints
 18197  18815        fi
 18198  18816     fi
 18199  18817   fi
 18200  18818   if test "$hints" != ""; then
 18201         -  echo "$as_me:$LINENO: result: reading hints from $hints" >&5
 18202         -echo "${ECHO_T}reading hints from $hints" >&6
        18819  +  { echo "$as_me:$LINENO: result: reading hints from $hints" >&5
        18820  +echo "${ECHO_T}reading hints from $hints" >&6; }
 18203  18821     . $hints
 18204  18822   fi
 18205  18823   
 18206  18824   #########
 18207  18825   # Locate a compiler for the build machine.  This compiler should
 18208  18826   # generate command-line programs that run on the build machine.
 18209  18827   #
................................................................................
 18212  18830   	BUILD_CFLAGS=$CFLAGS
 18213  18831   else
 18214  18832   	if test "${BUILD_CC+set}" != set; then
 18215  18833   		for ac_prog in gcc cc cl
 18216  18834   do
 18217  18835     # Extract the first word of "$ac_prog", so it can be a program name with args.
 18218  18836   set dummy $ac_prog; ac_word=$2
 18219         -echo "$as_me:$LINENO: checking for $ac_word" >&5
 18220         -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        18837  +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
        18838  +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 18221  18839   if test "${ac_cv_prog_BUILD_CC+set}" = set; then
 18222  18840     echo $ECHO_N "(cached) $ECHO_C" >&6
 18223  18841   else
 18224  18842     if test -n "$BUILD_CC"; then
 18225  18843     ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
 18226  18844   else
 18227  18845   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 18228  18846   for as_dir in $PATH
 18229  18847   do
 18230  18848     IFS=$as_save_IFS
 18231  18849     test -z "$as_dir" && as_dir=.
 18232  18850     for ac_exec_ext in '' $ac_executable_extensions; do
 18233         -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        18851  +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 18234  18852       ac_cv_prog_BUILD_CC="$ac_prog"
 18235  18853       echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 18236  18854       break 2
 18237  18855     fi
 18238  18856   done
 18239  18857   done
        18858  +IFS=$as_save_IFS
 18240  18859   
 18241  18860   fi
 18242  18861   fi
 18243  18862   BUILD_CC=$ac_cv_prog_BUILD_CC
 18244  18863   if test -n "$BUILD_CC"; then
 18245         -  echo "$as_me:$LINENO: result: $BUILD_CC" >&5
 18246         -echo "${ECHO_T}$BUILD_CC" >&6
        18864  +  { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
        18865  +echo "${ECHO_T}$BUILD_CC" >&6; }
 18247  18866   else
 18248         -  echo "$as_me:$LINENO: result: no" >&5
 18249         -echo "${ECHO_T}no" >&6
        18867  +  { echo "$as_me:$LINENO: result: no" >&5
        18868  +echo "${ECHO_T}no" >&6; }
 18250  18869   fi
        18870  +
 18251  18871   
 18252  18872     test -n "$BUILD_CC" && break
 18253  18873   done
 18254  18874   
 18255  18875   	fi
 18256  18876   	if test "${BUILD_CFLAGS+set}" != set; then
 18257  18877   		BUILD_CFLAGS="-g"
................................................................................
 18259  18879   fi
 18260  18880   
 18261  18881   
 18262  18882   
 18263  18883   ##########
 18264  18884   # Do we want to support multithreaded use of sqlite
 18265  18885   #
 18266         -# Check whether --enable-threadsafe or --disable-threadsafe was given.
        18886  +# Check whether --enable-threadsafe was given.
 18267  18887   if test "${enable_threadsafe+set}" = set; then
 18268         -  enableval="$enable_threadsafe"
 18269         -
        18888  +  enableval=$enable_threadsafe;
 18270  18889   else
 18271  18890     enable_threadsafe=yes
 18272         -fi;
 18273         -echo "$as_me:$LINENO: checking whether to support threadsafe operation" >&5
 18274         -echo $ECHO_N "checking whether to support threadsafe operation... $ECHO_C" >&6
        18891  +fi
        18892  +
        18893  +{ echo "$as_me:$LINENO: checking whether to support threadsafe operation" >&5
        18894  +echo $ECHO_N "checking whether to support threadsafe operation... $ECHO_C" >&6; }
 18275  18895   if test "$enable_threadsafe" = "no"; then
 18276  18896     SQLITE_THREADSAFE=0
 18277         -  echo "$as_me:$LINENO: result: no" >&5
 18278         -echo "${ECHO_T}no" >&6
        18897  +  { echo "$as_me:$LINENO: result: no" >&5
        18898  +echo "${ECHO_T}no" >&6; }
 18279  18899   else
 18280  18900     SQLITE_THREADSAFE=1
 18281         -  echo "$as_me:$LINENO: result: yes" >&5
 18282         -echo "${ECHO_T}yes" >&6
        18901  +  { echo "$as_me:$LINENO: result: yes" >&5
        18902  +echo "${ECHO_T}yes" >&6; }
 18283  18903   fi
 18284  18904   
 18285  18905   
 18286  18906   if test "$SQLITE_THREADSAFE" = "1"; then
 18287  18907     LIBS=""
 18288  18908   
 18289         -echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
 18290         -echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
        18909  +{ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
        18910  +echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
 18291  18911   if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
 18292  18912     echo $ECHO_N "(cached) $ECHO_C" >&6
 18293  18913   else
 18294  18914     ac_check_lib_save_LIBS=$LIBS
 18295  18915   LIBS="-lpthread  $LIBS"
 18296  18916   cat >conftest.$ac_ext <<_ACEOF
 18297  18917   /* confdefs.h.  */
 18298  18918   _ACEOF
 18299  18919   cat confdefs.h >>conftest.$ac_ext
 18300  18920   cat >>conftest.$ac_ext <<_ACEOF
 18301  18921   /* end confdefs.h.  */
 18302  18922   
 18303         -/* Override any gcc2 internal prototype to avoid an error.  */
        18923  +/* Override any GCC internal prototype to avoid an error.
        18924  +   Use char because int might match the return type of a GCC
        18925  +   builtin and then its argument prototype would still apply.  */
 18304  18926   #ifdef __cplusplus
 18305  18927   extern "C"
 18306  18928   #endif
 18307         -/* We use char because int might match the return type of a gcc2
 18308         -   builtin and then its argument prototype would still apply.  */
 18309  18929   char pthread_create ();
 18310  18930   int
 18311  18931   main ()
 18312  18932   {
 18313         -pthread_create ();
        18933  +return pthread_create ();
 18314  18934     ;
 18315  18935     return 0;
 18316  18936   }
 18317  18937   _ACEOF
 18318  18938   rm -f conftest.$ac_objext conftest$ac_exeext
 18319         -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 18320         -  (eval $ac_link) 2>conftest.er1
        18939  +if { (ac_try="$ac_link"
        18940  +case "(($ac_try" in
        18941  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        18942  +  *) ac_try_echo=$ac_try;;
        18943  +esac
        18944  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        18945  +  (eval "$ac_link") 2>conftest.er1
 18321  18946     ac_status=$?
 18322  18947     grep -v '^ *+' conftest.er1 >conftest.err
 18323  18948     rm -f conftest.er1
 18324  18949     cat conftest.err >&5
 18325  18950     echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18326         -  (exit $ac_status); } &&
 18327         -	 { ac_try='test -z "$ac_c_werror_flag"
 18328         -			 || test ! -s conftest.err'
 18329         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18330         -  (eval $ac_try) 2>&5
 18331         -  ac_status=$?
 18332         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18333         -  (exit $ac_status); }; } &&
 18334         -	 { ac_try='test -s conftest$ac_exeext'
 18335         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18336         -  (eval $ac_try) 2>&5
 18337         -  ac_status=$?
 18338         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18339         -  (exit $ac_status); }; }; then
        18951  +  (exit $ac_status); } && {
        18952  +	 test -z "$ac_c_werror_flag" ||
        18953  +	 test ! -s conftest.err
        18954  +       } && test -s conftest$ac_exeext &&
        18955  +       $as_test_x conftest$ac_exeext; then
 18340  18956     ac_cv_lib_pthread_pthread_create=yes
 18341  18957   else
 18342  18958     echo "$as_me: failed program was:" >&5
 18343  18959   sed 's/^/| /' conftest.$ac_ext >&5
 18344  18960   
 18345         -ac_cv_lib_pthread_pthread_create=no
        18961  +	ac_cv_lib_pthread_pthread_create=no
 18346  18962   fi
 18347         -rm -f conftest.err conftest.$ac_objext \
        18963  +
        18964  +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 18348  18965         conftest$ac_exeext conftest.$ac_ext
 18349  18966   LIBS=$ac_check_lib_save_LIBS
 18350  18967   fi
 18351         -echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
 18352         -echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
        18968  +{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
        18969  +echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
 18353  18970   if test $ac_cv_lib_pthread_pthread_create = yes; then
 18354  18971     cat >>confdefs.h <<_ACEOF
 18355  18972   #define HAVE_LIBPTHREAD 1
 18356  18973   _ACEOF
 18357  18974   
 18358  18975     LIBS="-lpthread $LIBS"
 18359  18976   
................................................................................
 18367  18984   
 18368  18985   
 18369  18986   ##########
 18370  18987   # Do we want to allow a connection created in one thread to be used
 18371  18988   # in another thread.  This does not work on many Linux systems (ex: RedHat 9)
 18372  18989   # due to bugs in the threading implementations.  This is thus off by default.
 18373  18990   #
 18374         -# Check whether --enable-cross-thread-connections or --disable-cross-thread-connections was given.
        18991  +# Check whether --enable-cross-thread-connections was given.
 18375  18992   if test "${enable_cross_thread_connections+set}" = set; then
 18376         -  enableval="$enable_cross_thread_connections"
 18377         -
        18993  +  enableval=$enable_cross_thread_connections;
 18378  18994   else
 18379  18995     enable_xthreadconnect=no
 18380         -fi;
 18381         -echo "$as_me:$LINENO: checking whether to allow connections to be shared across threads" >&5
 18382         -echo $ECHO_N "checking whether to allow connections to be shared across threads... $ECHO_C" >&6
        18996  +fi
        18997  +
        18998  +{ echo "$as_me:$LINENO: checking whether to allow connections to be shared across threads" >&5
        18999  +echo $ECHO_N "checking whether to allow connections to be shared across threads... $ECHO_C" >&6; }
 18383  19000   if test "$enable_xthreadconnect" = "no"; then
 18384  19001     XTHREADCONNECT=''
 18385         -  echo "$as_me:$LINENO: result: no" >&5
 18386         -echo "${ECHO_T}no" >&6
        19002  +  { echo "$as_me:$LINENO: result: no" >&5
        19003  +echo "${ECHO_T}no" >&6; }
 18387  19004   else
 18388  19005     XTHREADCONNECT='-DSQLITE_ALLOW_XTHREAD_CONNECT=1'
 18389         -  echo "$as_me:$LINENO: result: yes" >&5
 18390         -echo "${ECHO_T}yes" >&6
        19006  +  { echo "$as_me:$LINENO: result: yes" >&5
        19007  +echo "${ECHO_T}yes" >&6; }
 18391  19008   fi
 18392  19009   
 18393  19010   
 18394  19011   ##########
 18395  19012   # Do we want to set threadsOverrideEachOthersLocks variable to be 1 (true) by
 18396  19013   # default. Normally, a test at runtime is performed to determine the
 18397  19014   # appropriate value of this variable. Use this option only if you're sure that
 18398  19015   # threads can safely override each others locks in all runtime situations.
 18399  19016   #
 18400         -# Check whether --enable-threads-override-locks or --disable-threads-override-locks was given.
        19017  +# Check whether --enable-threads-override-locks was given.
 18401  19018   if test "${enable_threads_override_locks+set}" = set; then
 18402         -  enableval="$enable_threads_override_locks"
 18403         -
        19019  +  enableval=$enable_threads_override_locks;
 18404  19020   else
 18405  19021     enable_threads_override_locks=no
 18406         -fi;
 18407         -echo "$as_me:$LINENO: checking whether threads can override each others locks" >&5
 18408         -echo $ECHO_N "checking whether threads can override each others locks... $ECHO_C" >&6
        19022  +fi
        19023  +
        19024  +{ echo "$as_me:$LINENO: checking whether threads can override each others locks" >&5
        19025  +echo $ECHO_N "checking whether threads can override each others locks... $ECHO_C" >&6; }
 18409  19026   if test "$enable_threads_override_locks" = "no"; then
 18410  19027     THREADSOVERRIDELOCKS='-1'
 18411         -  echo "$as_me:$LINENO: result: no" >&5
 18412         -echo "${ECHO_T}no" >&6
        19028  +  { echo "$as_me:$LINENO: result: no" >&5
        19029  +echo "${ECHO_T}no" >&6; }
 18413  19030   else
 18414  19031     THREADSOVERRIDELOCKS='1'
 18415         -  echo "$as_me:$LINENO: result: yes" >&5
 18416         -echo "${ECHO_T}yes" >&6
        19032  +  { echo "$as_me:$LINENO: result: yes" >&5
        19033  +echo "${ECHO_T}yes" >&6; }
 18417  19034   fi
 18418  19035   
 18419  19036   
 18420  19037   ##########
 18421  19038   # Do we want to support release
 18422  19039   #
 18423         -# Check whether --enable-releasemode or --disable-releasemode was given.
        19040  +# Check whether --enable-releasemode was given.
 18424  19041   if test "${enable_releasemode+set}" = set; then
 18425         -  enableval="$enable_releasemode"
 18426         -
        19042  +  enableval=$enable_releasemode;
 18427  19043   else
 18428  19044     enable_releasemode=no
 18429         -fi;
 18430         -echo "$as_me:$LINENO: checking whether to support shared library linked as release mode or not" >&5
 18431         -echo $ECHO_N "checking whether to support shared library linked as release mode or not... $ECHO_C" >&6
        19045  +fi
        19046  +
        19047  +{ echo "$as_me:$LINENO: checking whether to support shared library linked as release mode or not" >&5
        19048  +echo $ECHO_N "checking whether to support shared library linked as release mode or not... $ECHO_C" >&6; }
 18432  19049   if test "$enable_releasemode" = "no"; then
 18433  19050     ALLOWRELEASE=""
 18434         -  echo "$as_me:$LINENO: result: no" >&5
 18435         -echo "${ECHO_T}no" >&6
        19051  +  { echo "$as_me:$LINENO: result: no" >&5
        19052  +echo "${ECHO_T}no" >&6; }
 18436  19053   else
 18437  19054     ALLOWRELEASE="-release `cat $srcdir/VERSION`"
 18438         -  echo "$as_me:$LINENO: result: yes" >&5
 18439         -echo "${ECHO_T}yes" >&6
        19055  +  { echo "$as_me:$LINENO: result: yes" >&5
        19056  +echo "${ECHO_T}yes" >&6; }
 18440  19057   fi
 18441  19058   
 18442  19059   
 18443  19060   ##########
 18444  19061   # Do we want temporary databases in memory
 18445  19062   #
 18446         -# Check whether --enable-tempstore or --disable-tempstore was given.
        19063  +# Check whether --enable-tempstore was given.
 18447  19064   if test "${enable_tempstore+set}" = set; then
 18448         -  enableval="$enable_tempstore"
 18449         -
        19065  +  enableval=$enable_tempstore;
 18450  19066   else
 18451  19067     enable_tempstore=no
 18452         -fi;
 18453         -echo "$as_me:$LINENO: checking whether to use an in-ram database for temporary tables" >&5
 18454         -echo $ECHO_N "checking whether to use an in-ram database for temporary tables... $ECHO_C" >&6
        19068  +fi
        19069  +
        19070  +{ echo "$as_me:$LINENO: checking whether to use an in-ram database for temporary tables" >&5
        19071  +echo $ECHO_N "checking whether to use an in-ram database for temporary tables... $ECHO_C" >&6; }
 18455  19072   case "$enable_tempstore" in
 18456  19073     never )
 18457  19074       TEMP_STORE=0
 18458         -    echo "$as_me:$LINENO: result: never" >&5
 18459         -echo "${ECHO_T}never" >&6
        19075  +    { echo "$as_me:$LINENO: result: never" >&5
        19076  +echo "${ECHO_T}never" >&6; }
 18460  19077     ;;
 18461  19078     no )
 18462  19079       TEMP_STORE=1
 18463         -    echo "$as_me:$LINENO: result: no" >&5
 18464         -echo "${ECHO_T}no" >&6
        19080  +    { echo "$as_me:$LINENO: result: no" >&5
        19081  +echo "${ECHO_T}no" >&6; }
 18465  19082     ;;
 18466  19083     always )
 18467  19084        TEMP_STORE=3
 18468         -    echo "$as_me:$LINENO: result: always" >&5
 18469         -echo "${ECHO_T}always" >&6
        19085  +    { echo "$as_me:$LINENO: result: always" >&5
        19086  +echo "${ECHO_T}always" >&6; }
 18470  19087     ;;
 18471  19088     yes )
 18472  19089        TEMP_STORE=3
 18473         -    echo "$as_me:$LINENO: result: always" >&5
 18474         -echo "${ECHO_T}always" >&6
        19090  +    { echo "$as_me:$LINENO: result: always" >&5
        19091  +echo "${ECHO_T}always" >&6; }
 18475  19092     ;;
 18476  19093     * )
 18477  19094       TEMP_STORE=1
 18478         -    echo "$as_me:$LINENO: result: yes" >&5
 18479         -echo "${ECHO_T}yes" >&6
        19095  +    { echo "$as_me:$LINENO: result: yes" >&5
        19096  +echo "${ECHO_T}yes" >&6; }
 18480  19097     ;;
 18481  19098   esac
 18482  19099   
 18483  19100   
 18484  19101   
 18485  19102   ###########
 18486  19103   # Lots of things are different if we are compiling for Windows using
 18487  19104   # the CYGWIN environment.  So check for that special case and handle
 18488  19105   # things accordingly.
 18489  19106   #
 18490         -echo "$as_me:$LINENO: checking if executables have the .exe suffix" >&5
 18491         -echo $ECHO_N "checking if executables have the .exe suffix... $ECHO_C" >&6
        19107  +{ echo "$as_me:$LINENO: checking if executables have the .exe suffix" >&5
        19108  +echo $ECHO_N "checking if executables have the .exe suffix... $ECHO_C" >&6; }
 18492  19109   if test "$config_BUILD_EXEEXT" = ".exe"; then
 18493  19110     CYGWIN=yes
 18494         -  echo "$as_me:$LINENO: result: yes" >&5
 18495         -echo "${ECHO_T}yes" >&6
        19111  +  { echo "$as_me:$LINENO: result: yes" >&5
        19112  +echo "${ECHO_T}yes" >&6; }
 18496  19113   else
 18497         -  echo "$as_me:$LINENO: result: unknown" >&5
 18498         -echo "${ECHO_T}unknown" >&6
        19114  +  { echo "$as_me:$LINENO: result: unknown" >&5
        19115  +echo "${ECHO_T}unknown" >&6; }
 18499  19116   fi
 18500  19117   if test "$CYGWIN" != "yes"; then
        19118  +  { echo "$as_me:$LINENO: checking host system type" >&5
        19119  +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
        19120  +if test "${ac_cv_host+set}" = set; then
        19121  +  echo $ECHO_N "(cached) $ECHO_C" >&6
        19122  +else
        19123  +  if test "x$host_alias" = x; then
        19124  +  ac_cv_host=$ac_cv_build
        19125  +else
        19126  +  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
        19127  +    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
        19128  +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
        19129  +   { (exit 1); exit 1; }; }
        19130  +fi
        19131  +
        19132  +fi
        19133  +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
        19134  +echo "${ECHO_T}$ac_cv_host" >&6; }
        19135  +case $ac_cv_host in
        19136  +*-*-*) ;;
        19137  +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
        19138  +echo "$as_me: error: invalid value of canonical host" >&2;}
        19139  +   { (exit 1); exit 1; }; };;
        19140  +esac
        19141  +host=$ac_cv_host
        19142  +ac_save_IFS=$IFS; IFS='-'
        19143  +set x $ac_cv_host
        19144  +shift
        19145  +host_cpu=$1
        19146  +host_vendor=$2
        19147  +shift; shift
        19148  +# Remember, the first character of IFS is used to create $*,
        19149  +# except with old shells:
        19150  +host_os=$*
        19151  +IFS=$ac_save_IFS
        19152  +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
        19153  +
 18501  19154   
 18502  19155   case $host_os in
 18503  19156     *cygwin* ) CYGWIN=yes;;
 18504  19157   	 * ) CYGWIN=no;;
 18505  19158   esac
 18506  19159   
 18507  19160   fi
................................................................................
 18550  19203   # Figure out all the parameters needed to compile against Tcl.
 18551  19204   #
 18552  19205   # This code is derived from the SC_PATH_TCLCONFIG and SC_LOAD_TCLCONFIG
 18553  19206   # macros in the in the tcl.m4 file of the standard TCL distribution.
 18554  19207   # Those macros could not be used directly since we have to make some
 18555  19208   # minor changes to accomodate systems that do not have TCL installed.
 18556  19209   #
 18557         -# Check whether --enable-tcl or --disable-tcl was given.
        19210  +# Check whether --enable-tcl was given.
 18558  19211   if test "${enable_tcl+set}" = set; then
 18559         -  enableval="$enable_tcl"
 18560         -  use_tcl=$enableval
        19212  +  enableval=$enable_tcl; use_tcl=$enableval
 18561  19213   else
 18562  19214     use_tcl=yes
 18563         -fi;
        19215  +fi
        19216  +
 18564  19217   if test "${use_tcl}" = "yes" ; then
 18565  19218   
 18566         -# Check whether --with-tcl or --without-tcl was given.
        19219  +# Check whether --with-tcl was given.
 18567  19220   if test "${with_tcl+set}" = set; then
 18568         -  withval="$with_tcl"
 18569         -  with_tclconfig=${withval}
 18570         -fi;
 18571         -  echo "$as_me:$LINENO: checking for Tcl configuration" >&5
 18572         -echo $ECHO_N "checking for Tcl configuration... $ECHO_C" >&6
        19221  +  withval=$with_tcl; with_tclconfig=${withval}
        19222  +fi
        19223  +
        19224  +  { echo "$as_me:$LINENO: checking for Tcl configuration" >&5
        19225  +echo $ECHO_N "checking for Tcl configuration... $ECHO_C" >&6; }
 18573  19226     if test "${ac_cv_c_tclconfig+set}" = set; then
 18574  19227     echo $ECHO_N "(cached) $ECHO_C" >&6
 18575  19228   else
 18576  19229   
 18577  19230       # First check to see if --with-tcl was specified.
 18578  19231       if test x"${with_tclconfig}" != x ; then
 18579  19232         if test -f "${with_tclconfig}/tclConfig.sh" ; then
................................................................................
 18646  19299   echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
 18647  19300       { echo "$as_me:$LINENO: WARNING: *** Without Tcl the regression tests cannot be executed ***" >&5
 18648  19301   echo "$as_me: WARNING: *** Without Tcl the regression tests cannot be executed ***" >&2;}
 18649  19302       { echo "$as_me:$LINENO: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***" >&5
 18650  19303   echo "$as_me: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***" >&2;}
 18651  19304     else
 18652  19305       TCL_BIN_DIR=${ac_cv_c_tclconfig}
 18653         -    echo "$as_me:$LINENO: result: found $TCL_BIN_DIR/tclConfig.sh" >&5
 18654         -echo "${ECHO_T}found $TCL_BIN_DIR/tclConfig.sh" >&6
        19306  +    { echo "$as_me:$LINENO: result: found $TCL_BIN_DIR/tclConfig.sh" >&5
        19307  +echo "${ECHO_T}found $TCL_BIN_DIR/tclConfig.sh" >&6; }
 18655  19308   
 18656         -    echo "$as_me:$LINENO: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
 18657         -echo $ECHO_N "checking for existence of $TCL_BIN_DIR/tclConfig.sh... $ECHO_C" >&6
        19309  +    { echo "$as_me:$LINENO: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
        19310  +echo $ECHO_N "checking for existence of $TCL_BIN_DIR/tclConfig.sh... $ECHO_C" >&6; }
 18658  19311       if test -f "$TCL_BIN_DIR/tclConfig.sh" ; then
 18659         -      echo "$as_me:$LINENO: result: loading" >&5
 18660         -echo "${ECHO_T}loading" >&6
        19312  +      { echo "$as_me:$LINENO: result: loading" >&5
        19313  +echo "${ECHO_T}loading" >&6; }
 18661  19314         . $TCL_BIN_DIR/tclConfig.sh
 18662  19315       else
 18663         -      echo "$as_me:$LINENO: result: file not found" >&5
 18664         -echo "${ECHO_T}file not found" >&6
        19316  +      { echo "$as_me:$LINENO: result: file not found" >&5
        19317  +echo "${ECHO_T}file not found" >&6; }
 18665  19318       fi
 18666  19319   
 18667  19320       #
 18668  19321       # If the TCL_BIN_DIR is the build directory (not the install directory),
 18669  19322       # then set the common variable name to the value of the build variables.
 18670  19323       # For example, the variable TCL_LIB_SPEC will be set to the value
 18671  19324       # of TCL_BUILD_LIB_SPEC. An extension should make use of TCL_LIB_SPEC
................................................................................
 18716  19369   ##########
 18717  19370   # Figure out what C libraries are required to compile programs
 18718  19371   # that use "readline()" library.
 18719  19372   #
 18720  19373   TARGET_READLINE_LIBS=""
 18721  19374   TARGET_READLINE_INC=""
 18722  19375   TARGET_HAVE_READLINE=0
 18723         -# Check whether --enable-readline or --disable-readline was given.
        19376  +# Check whether --enable-readline was given.
 18724  19377   if test "${enable_readline+set}" = set; then
 18725         -  enableval="$enable_readline"
 18726         -  with_readline=$enableval
        19378  +  enableval=$enable_readline; with_readline=$enableval
 18727  19379   else
 18728  19380     with_readline=auto
 18729         -fi;
        19381  +fi
        19382  +
 18730  19383   
 18731  19384   if test x"$with_readline" != xno; then
 18732  19385   	found="yes"
 18733  19386   
 18734  19387   
 18735         -# Check whether --with-readline-lib or --without-readline-lib was given.
        19388  +# Check whether --with-readline-lib was given.
 18736  19389   if test "${with_readline_lib+set}" = set; then
 18737         -  withval="$with_readline_lib"
 18738         -  with_readline_lib=$withval
        19390  +  withval=$with_readline_lib; with_readline_lib=$withval
 18739  19391   else
 18740  19392     with_readline_lib="auto"
 18741         -fi;
        19393  +fi
        19394  +
 18742  19395   	if test "x$with_readline_lib" = xauto; then
 18743  19396   		save_LIBS="$LIBS"
 18744  19397   		LIBS=""
 18745         -		echo "$as_me:$LINENO: checking for library containing tgetent" >&5
 18746         -echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6
        19398  +		{ echo "$as_me:$LINENO: checking for library containing tgetent" >&5
        19399  +echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6; }
 18747  19400   if test "${ac_cv_search_tgetent+set}" = set; then
 18748  19401     echo $ECHO_N "(cached) $ECHO_C" >&6
 18749  19402   else
 18750  19403     ac_func_search_save_LIBS=$LIBS
 18751         -ac_cv_search_tgetent=no
 18752  19404   cat >conftest.$ac_ext <<_ACEOF
 18753  19405   /* confdefs.h.  */
 18754  19406   _ACEOF
 18755  19407   cat confdefs.h >>conftest.$ac_ext
 18756  19408   cat >>conftest.$ac_ext <<_ACEOF
 18757  19409   /* end confdefs.h.  */
 18758  19410   
 18759         -/* Override any gcc2 internal prototype to avoid an error.  */
        19411  +/* Override any GCC internal prototype to avoid an error.
        19412  +   Use char because int might match the return type of a GCC
        19413  +   builtin and then its argument prototype would still apply.  */
 18760  19414   #ifdef __cplusplus
 18761  19415   extern "C"
 18762  19416   #endif
 18763         -/* We use char because int might match the return type of a gcc2
 18764         -   builtin and then its argument prototype would still apply.  */
 18765  19417   char tgetent ();
 18766  19418   int
 18767  19419   main ()
 18768  19420   {
 18769         -tgetent ();
        19421  +return tgetent ();
 18770  19422     ;
 18771  19423     return 0;
 18772  19424   }
 18773  19425   _ACEOF
 18774         -rm -f conftest.$ac_objext conftest$ac_exeext
 18775         -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 18776         -  (eval $ac_link) 2>conftest.er1
        19426  +for ac_lib in '' readline ncurses curses termcap; do
        19427  +  if test -z "$ac_lib"; then
        19428  +    ac_res="none required"
        19429  +  else
        19430  +    ac_res=-l$ac_lib
        19431  +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
        19432  +  fi
        19433  +  rm -f conftest.$ac_objext conftest$ac_exeext
        19434  +if { (ac_try="$ac_link"
        19435  +case "(($ac_try" in
        19436  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        19437  +  *) ac_try_echo=$ac_try;;
        19438  +esac
        19439  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        19440  +  (eval "$ac_link") 2>conftest.er1
 18777  19441     ac_status=$?
 18778  19442     grep -v '^ *+' conftest.er1 >conftest.err
 18779  19443     rm -f conftest.er1
 18780  19444     cat conftest.err >&5
 18781  19445     echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18782         -  (exit $ac_status); } &&
 18783         -	 { ac_try='test -z "$ac_c_werror_flag"
 18784         -			 || test ! -s conftest.err'
 18785         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18786         -  (eval $ac_try) 2>&5
 18787         -  ac_status=$?
 18788         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18789         -  (exit $ac_status); }; } &&
 18790         -	 { ac_try='test -s conftest$ac_exeext'
 18791         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18792         -  (eval $ac_try) 2>&5
 18793         -  ac_status=$?
 18794         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18795         -  (exit $ac_status); }; }; then
 18796         -  ac_cv_search_tgetent="none required"
        19446  +  (exit $ac_status); } && {
        19447  +	 test -z "$ac_c_werror_flag" ||
        19448  +	 test ! -s conftest.err
        19449  +       } && test -s conftest$ac_exeext &&
        19450  +       $as_test_x conftest$ac_exeext; then
        19451  +  ac_cv_search_tgetent=$ac_res
 18797  19452   else
 18798  19453     echo "$as_me: failed program was:" >&5
 18799  19454   sed 's/^/| /' conftest.$ac_ext >&5
 18800  19455   
 18801         -fi
 18802         -rm -f conftest.err conftest.$ac_objext \
 18803         -      conftest$ac_exeext conftest.$ac_ext
 18804         -if test "$ac_cv_search_tgetent" = no; then
 18805         -  for ac_lib in readline ncurses curses termcap; do
 18806         -    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 18807         -    cat >conftest.$ac_ext <<_ACEOF
 18808         -/* confdefs.h.  */
 18809         -_ACEOF
 18810         -cat confdefs.h >>conftest.$ac_ext
 18811         -cat >>conftest.$ac_ext <<_ACEOF
 18812         -/* end confdefs.h.  */
 18813         -
 18814         -/* Override any gcc2 internal prototype to avoid an error.  */
 18815         -#ifdef __cplusplus
 18816         -extern "C"
 18817         -#endif
 18818         -/* We use char because int might match the return type of a gcc2
 18819         -   builtin and then its argument prototype would still apply.  */
 18820         -char tgetent ();
 18821         -int
 18822         -main ()
 18823         -{
 18824         -tgetent ();
 18825         -  ;
 18826         -  return 0;
 18827         -}
 18828         -_ACEOF
 18829         -rm -f conftest.$ac_objext conftest$ac_exeext
 18830         -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 18831         -  (eval $ac_link) 2>conftest.er1
 18832         -  ac_status=$?
 18833         -  grep -v '^ *+' conftest.er1 >conftest.err
 18834         -  rm -f conftest.er1
 18835         -  cat conftest.err >&5
 18836         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18837         -  (exit $ac_status); } &&
 18838         -	 { ac_try='test -z "$ac_c_werror_flag"
 18839         -			 || test ! -s conftest.err'
 18840         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18841         -  (eval $ac_try) 2>&5
 18842         -  ac_status=$?
 18843         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18844         -  (exit $ac_status); }; } &&
 18845         -	 { ac_try='test -s conftest$ac_exeext'
 18846         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18847         -  (eval $ac_try) 2>&5
 18848         -  ac_status=$?
 18849         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18850         -  (exit $ac_status); }; }; then
 18851         -  ac_cv_search_tgetent="-l$ac_lib"
 18852         -break
 18853         -else
 18854         -  echo "$as_me: failed program was:" >&5
 18855         -sed 's/^/| /' conftest.$ac_ext >&5
 18856         -
 18857         -fi
 18858         -rm -f conftest.err conftest.$ac_objext \
 18859         -      conftest$ac_exeext conftest.$ac_ext
 18860         -  done
 18861         -fi
        19456  +
        19457  +fi
        19458  +
        19459  +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
        19460  +      conftest$ac_exeext
        19461  +  if test "${ac_cv_search_tgetent+set}" = set; then
        19462  +  break
        19463  +fi
        19464  +done
        19465  +if test "${ac_cv_search_tgetent+set}" = set; then
        19466  +  :
        19467  +else
        19468  +  ac_cv_search_tgetent=no
        19469  +fi
        19470  +rm conftest.$ac_ext
 18862  19471   LIBS=$ac_func_search_save_LIBS
 18863  19472   fi
 18864         -echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
 18865         -echo "${ECHO_T}$ac_cv_search_tgetent" >&6
 18866         -if test "$ac_cv_search_tgetent" != no; then
 18867         -  test "$ac_cv_search_tgetent" = "none required" || LIBS="$ac_cv_search_tgetent $LIBS"
        19473  +{ echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
        19474  +echo "${ECHO_T}$ac_cv_search_tgetent" >&6; }
        19475  +ac_res=$ac_cv_search_tgetent
        19476  +if test "$ac_res" != no; then
        19477  +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 18868  19478     term_LIBS="$LIBS"
 18869  19479   else
 18870  19480     term_LIBS=""
 18871  19481   fi
 18872  19482   
 18873         -		echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
 18874         -echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6
        19483  +		{ echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
        19484  +echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6; }
 18875  19485   if test "${ac_cv_lib_readline_readline+set}" = set; then
 18876  19486     echo $ECHO_N "(cached) $ECHO_C" >&6
 18877  19487   else
 18878  19488     ac_check_lib_save_LIBS=$LIBS
 18879  19489   LIBS="-lreadline  $LIBS"
 18880  19490   cat >conftest.$ac_ext <<_ACEOF
 18881  19491   /* confdefs.h.  */
 18882  19492   _ACEOF
 18883  19493   cat confdefs.h >>conftest.$ac_ext
 18884  19494   cat >>conftest.$ac_ext <<_ACEOF
 18885  19495   /* end confdefs.h.  */
 18886  19496   
 18887         -/* Override any gcc2 internal prototype to avoid an error.  */
        19497  +/* Override any GCC internal prototype to avoid an error.
        19498  +   Use char because int might match the return type of a GCC
        19499  +   builtin and then its argument prototype would still apply.  */
 18888  19500   #ifdef __cplusplus
 18889  19501   extern "C"
 18890  19502   #endif
 18891         -/* We use char because int might match the return type of a gcc2
 18892         -   builtin and then its argument prototype would still apply.  */
 18893  19503   char readline ();
 18894  19504   int
 18895  19505   main ()
 18896  19506   {
 18897         -readline ();
        19507  +return readline ();
 18898  19508     ;
 18899  19509     return 0;
 18900  19510   }
 18901  19511   _ACEOF
 18902  19512   rm -f conftest.$ac_objext conftest$ac_exeext
 18903         -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 18904         -  (eval $ac_link) 2>conftest.er1
        19513  +if { (ac_try="$ac_link"
        19514  +case "(($ac_try" in
        19515  +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        19516  +  *) ac_try_echo=$ac_try;;
        19517  +esac
        19518  +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        19519  +  (eval "$ac_link") 2>conftest.er1
 18905  19520     ac_status=$?
 18906  19521     grep -v '^ *+' conftest.er1 >conftest.err
 18907  19522     rm -f conftest.er1
 18908  19523     cat conftest.err >&5
 18909  19524     echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18910         -  (exit $ac_status); } &&
 18911         -	 { ac_try='test -z "$ac_c_werror_flag"
 18912         -			 || test ! -s conftest.err'
 18913         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18914         -  (eval $ac_try) 2>&5
 18915         -  ac_status=$?
 18916         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18917         -  (exit $ac_status); }; } &&
 18918         -	 { ac_try='test -s conftest$ac_exeext'
 18919         -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18920         -  (eval $ac_try) 2>&5
 18921         -  ac_status=$?
 18922         -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18923         -  (exit $ac_status); }; }; then
        19525  +  (exit $ac_status); } && {
        19526  +	 test -z "$ac_c_werror_flag" ||
        19527  +	 test ! -s conftest.err
        19528  +       } && test -s conftest$ac_exeext &&
        19529  +       $as_test_x conftest$ac_exeext; then
 18924  19530     ac_cv_lib_readline_readline=yes
 18925  19531   else
 18926  19532     echo "$as_me: failed program was:" >&5
 18927  19533   sed 's/^/| /' conftest.$ac_ext >&5
 18928  19534   
 18929         -ac_cv_lib_readline_readline=no
        19535  +	ac_cv_lib_readline_readline=no
 18930  19536   fi
 18931         -rm -f conftest.err conftest.$ac_objext \
        19537  +
        19538  +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 18932  19539         conftest$ac_exeext conftest.$ac_ext
 18933  19540   LIBS=$ac_check_lib_save_LIBS
 18934  19541   fi
 18935         -echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
 18936         -echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6
        19542  +{ echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
        19543  +echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6; }
 18937  19544   if test $ac_cv_lib_readline_readline = yes; then
 18938  19545     TARGET_READLINE_LIBS="-lreadline"
 18939  19546   else
 18940  19547     found="no"
 18941  19548   fi
 18942  19549   
 18943  19550   		TARGET_READLINE_LIBS="$TARGET_READLINE_LIBS $term_LIBS"
 18944  19551   		LIBS="$save_LIBS"
 18945  19552   	else
 18946  19553   		TARGET_READLINE_LIBS="$with_readline_lib"
 18947  19554   	fi
 18948  19555   
 18949  19556   
 18950         -# Check whether --with-readline-inc or --without-readline-inc was given.
        19557  +# Check whether --with-readline-inc was given.
 18951  19558   if test "${with_readline_inc+set}" = set; then
 18952         -  withval="$with_readline_inc"
 18953         -  with_readline_inc=$withval
        19559  +  withval=$with_readline_inc; with_readline_inc=$withval
 18954  19560   else
 18955  19561     with_readline_inc="auto"
 18956         -fi;
        19562  +fi
        19563  +
 18957  19564   	if test "x$with_readline_inc" = xauto; then
 18958  19565   		if test "${ac_cv_header_readline_h+set}" = set; then
 18959         -  echo "$as_me:$LINENO: checking for readline.h" >&5
 18960         -echo $ECHO_N "checking for readline.h... $ECHO_C" >&6
        19566  +  { echo "$as_me:$LINENO: checking for readline.h" >&5
        19567  +echo $ECHO_N "checking for readline.h... $ECHO_C" >&6; }
 18961  19568   if test "${ac_cv_header_readline_h+set}" = set; then
 18962  19569     echo $ECHO_N "(cached) $ECHO_C" >&6
 18963  19570   fi
 18964         -echo "$as_me:$LINENO: result: $ac_cv_header_readline_h" >&5
 18965         -echo "${ECHO_T}$ac_cv_header_readline_h" >&6
        19571  +{ echo "$as_me:$LINENO: result: $ac_cv_header_readline_h" >&5
        19572  +echo "${ECHO_T}$ac_cv_header_readline_h" >&6; }