Make more agressive use of offset addressing.
authorAnthony Green <green@spindazzle.org>
Fri Oct 03 10:02:40 2008 -0700 (23 months ago)
changeset 453f5953419657
parent 44 fa6d71a71bb7
child 46 37b963cee079
Make more agressive use of offset addressing.
gcc/gcc/ChangeLog.ggx
gcc/gcc/config/ggx/ggx.c
gcc/gcc/config/ggx/ggx.h
gcc/gcc/config/ggx/ggx.md
gcc/libgcc/.svn/entries
gcc/libgcc/config.host
gcc/libgcc/config.host.mine
gcc/libgcc/config.host.r134920
gcc/libgcc/config.host.r139605
scripts/sum.bc~
src/binutils/configure.~1.110.~
src/gdb/ChangeLog.ggx~
src/gdb/ChangeLog.~1.9607.~
src/gdb/ggx-tdep.c~
src/gdb/ggx-tdep.h~
src/gdb/ggx2-tdep.c~
src/opcodes/ChangeLog.ggx
src/opcodes/ggx-opc.c
src/sim/ggx/ChangeLog
src/sim/ggx/interp.c
     1.1 --- a/gcc/gcc/ChangeLog.ggx	Wed Oct 01 11:51:50 2008 -0700
     1.2 +++ b/gcc/gcc/ChangeLog.ggx	Fri Oct 03 10:02:40 2008 -0700
     1.3 @@ -1,3 +1,15 @@
     1.4 +2008-10-03  Anthony Green  <green@spindazzle.org>
     1.5 +
     1.6 +	* config/ggx/ggx.md: Add "A" and "B" constraints.
     1.7 +	(ggx_general_movsrc_operand): Don't allow offset addressing.
     1.8 +	(*movqi, *loadqi_offset, *storeqi_offset): Add new patterns for
     1.9 +	offset addressing.
    1.10 +	(*movhi, *loadhi_offset, *storehi_offset): Add new patterns for
    1.11 +	offset addressing.
    1.12 +	(*movsi): Add new patterns for offset addressing.
    1.13 +	* config/ggx/ggx.h (GO_IF_LEGITIMATE_ADDRESS): Allow for offset addressing.
    1.14 +	* config/ggx/ggx.c (ggx_print_operand_address): Handle offset addressing.
    1.15 +
    1.16  2008-09-04  Anthony Green  <green@spindazzle.org>
    1.17  
    1.18  	* config/ggx/ggx.md (addsi3, subsi3): Add inc and dec support.
     2.1 --- a/gcc/gcc/config/ggx/ggx.c	Wed Oct 01 11:51:50 2008 -0700
     2.2 +++ b/gcc/gcc/config/ggx/ggx.c	Fri Oct 03 10:02:40 2008 -0700
     2.3 @@ -108,6 +108,10 @@
     2.4        fprintf (file, "(%s)", reg_names[REGNO (x)]);
     2.5        break;
     2.6        
     2.7 +    case PLUS:
     2.8 +      fprintf (file, "%d(%s)", INTVAL(XEXP (x, 1)), reg_names[REGNO (XEXP (x, 0))]);
     2.9 +      break;
    2.10 +
    2.11      default:
    2.12        output_addr_const (file, x);
    2.13        break;
     3.1 --- a/gcc/gcc/config/ggx/ggx.h	Wed Oct 01 11:51:50 2008 -0700
     3.2 +++ b/gcc/gcc/config/ggx/ggx.h	Fri Oct 03 10:02:40 2008 -0700
     3.3 @@ -519,6 +519,16 @@
     3.4     for a memory operand of mode MODE.  */
     3.5  #define GO_IF_LEGITIMATE_ADDRESS(MODE,X,LABEL)		\
     3.6    do {                                                  \
     3.7 +    if (GET_CODE(X)==PLUS)				\
     3.8 +      {							\
     3.9 +	rtx op1,op2;					\
    3.10 +	op1 = XEXP(X,0);				\
    3.11 +	op2 = XEXP(X,1);				\
    3.12 +	if (GET_CODE(op1) == REG			\
    3.13 +	    && CONSTANT_ADDRESS_P(op2)			\
    3.14 +	    && REGNO_OK_FOR_BASE_P(REGNO(op1)))		\
    3.15 +	  goto LABEL;					\
    3.16 +      }							\
    3.17      if (REG_P (X) && REGNO_OK_FOR_BASE_P (REGNO (X)))	\
    3.18        goto LABEL;					\
    3.19      if (GET_CODE (X) == SYMBOL_REF			\
     4.1 --- a/gcc/gcc/config/ggx/ggx.md	Wed Oct 01 11:51:50 2008 -0700
     4.2 +++ b/gcc/gcc/config/ggx/ggx.md	Fri Oct 03 10:02:40 2008 -0700
     4.3 @@ -2,6 +2,18 @@
     4.4  ;; Constraints
     4.5  ;; -------------------------------------------------------------------------
     4.6  
     4.7 +(define_constraint "A"
     4.8 +  "An absolute address."
     4.9 +  (and (match_code "mem")
    4.10 +       (match_test "GET_CODE (XEXP (op, 0)) == SYMBOL_REF
    4.11 +                  ||GET_CODE (XEXP (op, 0)) == LABEL_REF
    4.12 +                  ||GET_CODE (XEXP (op, 0)) == CONST")))
    4.13 +
    4.14 +(define_constraint "B"
    4.15 +  "An offset address."
    4.16 +  (and (match_code "mem")
    4.17 +       (match_test "GET_CODE (XEXP (op, 0)) == PLUS")))
    4.18 +
    4.19  (define_constraint "W"
    4.20    "A register indirect memory operand."
    4.21    (and (match_code "mem")
    4.22 @@ -174,6 +186,11 @@
    4.23    if (GET_CODE (op) == MEM && GET_CODE (XEXP (op, 0)) == LABEL_REF)
    4.24      return 1;
    4.25  
    4.26 +  if (GET_CODE (op) == MEM 
    4.27 +      && GET_CODE (XEXP (op, 0)) == PLUS
    4.28 +      && GET_CODE (XEXP (XEXP (op, 0), 0)) == REG)
    4.29 +    return 0;
    4.30 +
    4.31    return general_operand (op, mode);
    4.32  })
    4.33  
    4.34 @@ -232,8 +249,8 @@
    4.35    "sto.l  %2(%1), %0")
    4.36  
    4.37  (define_insn "*movsi"
    4.38 -  [(set (match_operand:SI 0 "general_operand" "=r,r,W,m,r,r")
    4.39 -	(match_operand:SI 1 "ggx_general_movsrc_operand" "r,i,r,r,W,m"))]
    4.40 +  [(set (match_operand:SI 0 "general_operand" "=r,r,W,A,r,r,B,r")
    4.41 +	(match_operand:SI 1 "ggx_general_movsrc_operand" "r,i,r,r,W,A,r,B"))]
    4.42    "register_operand (operands[0], SImode)
    4.43     || register_operand (operands[1], SImode)"
    4.44    "@
    4.45 @@ -242,7 +259,9 @@
    4.46     st.l   %0, %1
    4.47     sta.l  %0, %1
    4.48     ld.l   %0, %1
    4.49 -   lda.l  %0, %1")
    4.50 +   lda.l  %0, %1
    4.51 +   sto.l  %0, %1
    4.52 +   ldo.l  %0, %1")
    4.53  
    4.54  (define_expand "movqi"
    4.55    [(set (match_operand:QI 0 "general_operand" "")
    4.56 @@ -255,9 +274,25 @@
    4.57      operands[1] = force_reg (QImode, operands[1]);
    4.58  }")
    4.59  
    4.60 +(define_insn "*loadqi_offset"
    4.61 +  [(set (match_operand:QI 0 "register_operand" "=r")
    4.62 + 	(mem:QI (plus:SI
    4.63 +		  (match_operand:SI 1 "register_operand" "r")
    4.64 +		  (match_operand:SI 2 "immediate_operand" "i"))))]
    4.65 +  ""
    4.66 +  "ldo.b  %0, %2(%1)")
    4.67 +
    4.68 +(define_insn "*storeqi_offset"
    4.69 +  [(set (mem:QI (plus:SI
    4.70 +		  (match_operand:SI 1 "register_operand" "r")
    4.71 +		  (match_operand:SI 2 "immediate_operand" "i")))
    4.72 +        (match_operand:QI 0 "register_operand" "r"))]
    4.73 +  ""
    4.74 +  "sto.b  %2(%1), %0")
    4.75 +
    4.76  (define_insn "*movqi"
    4.77 -  [(set (match_operand:QI 0 "general_operand" "=r,r,W,m,r,r")
    4.78 -	(match_operand:QI 1 "general_operand" "r,i,r,r,W,m"))]
    4.79 +  [(set (match_operand:QI 0 "general_operand" "=r,r,W,A,r,r,B,r")
    4.80 +	(match_operand:QI 1 "ggx_general_movsrc_operand" "r,i,r,r,W,A,r,B"))]
    4.81    "register_operand (operands[0], QImode)
    4.82     || register_operand (operands[1], QImode)"
    4.83    "@
    4.84 @@ -266,7 +301,9 @@
    4.85     st.b   %0, %1
    4.86     sta.b  %0, %1
    4.87     ld.b   %0, %1
    4.88 -   lda.b  %0, %1")
    4.89 +   lda.b  %0, %1
    4.90 +   sto.b  %0, %1
    4.91 +   ldo.b  %0, %1")
    4.92  
    4.93  (define_expand "movhi"
    4.94    [(set (match_operand:HI 0 "general_operand" "")
    4.95 @@ -279,18 +316,36 @@
    4.96      operands[1] = force_reg (HImode, operands[1]);
    4.97  }")
    4.98  
    4.99 +(define_insn "*loadhi_offset"
   4.100 +  [(set (match_operand:HI 0 "register_operand" "=r")
   4.101 + 	(mem:HI (plus:SI
   4.102 +		  (match_operand:SI 1 "register_operand" "r")
   4.103 +		  (match_operand:SI 2 "immediate_operand" "i"))))]
   4.104 +  ""
   4.105 +  "ldo.s  %0, %2(%1)")
   4.106 +
   4.107 +(define_insn "*storehi_offset"
   4.108 +  [(set (mem:HI (plus:SI
   4.109 +		  (match_operand:SI 1 "register_operand" "r")
   4.110 +		  (match_operand:SI 2 "immediate_operand" "i")))
   4.111 +        (match_operand:HI 0 "register_operand" "r"))]
   4.112 +  ""
   4.113 +  "sto.s  %2(%1), %0")
   4.114 +
   4.115  (define_insn "*movhi"
   4.116 -  [(set (match_operand:HI 0 "general_operand" "=r,r,W,m,r,r")
   4.117 -	(match_operand:HI 1 "general_operand" "r,i,r,r,W,m"))]
   4.118 -  "register_operand (operands[0], HImode)
   4.119 -   || register_operand (operands[1], HImode)"
   4.120 +  [(set (match_operand:HI 0 "general_operand" "=r,r,W,A,r,r,B,r")
   4.121 +	(match_operand:HI 1 "ggx_general_movsrc_operand" "r,i,r,r,W,A,r,B"))]
   4.122 +  "(register_operand (operands[0], HImode)
   4.123 +    || register_operand (operands[1], HImode))"
   4.124    "@
   4.125     mov    %0, %1
   4.126     ldi.s  %0, %1
   4.127     st.s   %0, %1
   4.128     sta.s  %0, %1
   4.129     ld.s   %0, %1
   4.130 -   lda.s  %0, %1")
   4.131 +   lda.s  %0, %1
   4.132 +   sto.s  %0, %1
   4.133 +   ldo.s  %0, %1")
   4.134  
   4.135  ;; -------------------------------------------------------------------------
   4.136  ;; Compare instructions
     5.1 --- a/gcc/libgcc/.svn/entries	Wed Oct 01 11:51:50 2008 -0700
     5.2 +++ b/gcc/libgcc/.svn/entries	Fri Oct 03 10:02:40 2008 -0700
     5.3 @@ -73,14 +73,6 @@
     5.4  2008-09-03T12:10:49.831798Z
     5.5  139932
     5.6  pbrook
     5.7 -
     5.8 -
     5.9 -
    5.10 -
    5.11 -
    5.12 -config.host.r134920
    5.13 -config.host.r139605
    5.14 -config.host.mine
    5.15  
    5.16  configure
    5.17  file
     6.1 --- a/gcc/libgcc/config.host	Wed Oct 01 11:51:50 2008 -0700
     6.2 +++ b/gcc/libgcc/config.host	Fri Oct 03 10:02:40 2008 -0700
     6.3 @@ -85,14 +85,8 @@
     6.4  	;;
     6.5  frv*)	cpu_type=frv
     6.6  	;;
     6.7 -<<<<<<< .mine
     6.8  ggx*)	cpu_type=ggx
     6.9  	;;
    6.10 -xscale-*-*)
    6.11 -	cpu_type=arm
    6.12 -	;;
    6.13 -=======
    6.14 ->>>>>>> .r139605
    6.15  i[34567]86-*-*)
    6.16  	cpu_type=i386
    6.17  	;;
     7.1 --- a/gcc/libgcc/config.host.mine	Wed Oct 01 11:51:50 2008 -0700
     7.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.3 @@ -1,659 +0,0 @@
     7.4 -# libgcc host-specific configuration file.
     7.5 -# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
     7.6 -# 2008 Free Software Foundation, Inc.
     7.7 -
     7.8 -#This file is part of GCC.
     7.9 -
    7.10 -#GCC is free software; you can redistribute it and/or modify it under
    7.11 -#the terms of the GNU General Public License as published by the Free
    7.12 -#Software Foundation; either version 2, or (at your option) any later
    7.13 -#version.
    7.14 -
    7.15 -#GCC is distributed in the hope that it will be useful, but WITHOUT
    7.16 -#ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    7.17 -#FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    7.18 -#for more details.
    7.19 -
    7.20 -#You should have received a copy of the GNU General Public License
    7.21 -#along with GCC; see the file COPYING.  If not, write to the Free
    7.22 -#Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
    7.23 -#02110-1301, USA.
    7.24 -
    7.25 -# This is the libgcc host-specific configuration file
    7.26 -# where a configuration type is mapped to different system-specific
    7.27 -# definitions and files.  This is invoked by the autoconf-generated
    7.28 -# configure script.  Putting it in a separate shell file lets us skip
    7.29 -# running autoconf when modifying host-specific information.
    7.30 -
    7.31 -# This file bears an obvious resemblance to gcc/config.gcc.  The cases
    7.32 -# should be kept similar, to ease moving library-specific settings
    7.33 -# from config.gcc to this file.  That is also why tmake_file is
    7.34 -# left as tmake_file, rather than hmake_file, even though this library
    7.35 -# switches on ${host}.
    7.36 -
    7.37 -# This file switches on the shell variable ${host}, and also uses the
    7.38 -# following shell variables:
    7.39 -#
    7.40 -#  with_*		Various variables as set by configure.
    7.41 -
    7.42 -# This file sets the following shell variables for use by the
    7.43 -# autoconf-generated configure script:
    7.44 -#
    7.45 -#  asm_hidden_op	The assembler pseudo-op to use for hide
    7.46 -#			lists for object files implemented in
    7.47 -#			assembly (with -fvisibility=hidden for C).
    7.48 -#			The default is ".hidden".
    7.49 -#  cpu_type		The name of the cpu, if different from the first
    7.50 -#			chunk of the canonical host name.
    7.51 -#  extra_parts		List of extra object files that should be compiled
    7.52 -#			for this target machine.  This may be overridden
    7.53 -#			by setting EXTRA_PARTS in a tmake_file fragment.
    7.54 -#			If either is set, EXTRA_PARTS and
    7.55 -#			EXTRA_MULTILIB_PARTS inherited from the GCC
    7.56 -#			subdirectory will be ignored.
    7.57 -#  tmake_file		A list of machine-description-specific
    7.58 -#			makefile-fragments, if different from
    7.59 -#			"$cpu_type/t-$cpu_type".
    7.60 -
    7.61 -asm_hidden_op=.hidden
    7.62 -extra_parts=
    7.63 -tmake_file=
    7.64 -
    7.65 -# Set default cpu_type so it can be updated in each machine entry.
    7.66 -cpu_type=`echo ${host} | sed 's/-.*$//'`
    7.67 -case ${host} in
    7.68 -m32c*-*-*)
    7.69 -        cpu_type=m32c
    7.70 -        ;;
    7.71 -alpha*-*-*)
    7.72 -	cpu_type=alpha
    7.73 -	;;
    7.74 -am33_2.0-*-linux*)
    7.75 -	cpu_type=mn10300
    7.76 -	;;
    7.77 -strongarm*-*-*)
    7.78 -	cpu_type=arm
    7.79 -	;;
    7.80 -arm*-*-*)
    7.81 -	cpu_type=arm
    7.82 -	;;
    7.83 -avr-*-*)
    7.84 -	cpu_type=avr
    7.85 -	;;    
    7.86 -bfin*-*)
    7.87 -	cpu_type=bfin
    7.88 -	;;
    7.89 -ep9312*-*-*)
    7.90 -	cpu_type=arm
    7.91 -	;;
    7.92 -fido-*-*)
    7.93 -	cpu_type=m68k
    7.94 -	;;
    7.95 -frv*)	cpu_type=frv
    7.96 -	;;
    7.97 -ggx*)	cpu_type=ggx
    7.98 -	;;
    7.99 -xscale-*-*)
   7.100 -	cpu_type=arm
   7.101 -	;;
   7.102 -i[34567]86-*-*)
   7.103 -	cpu_type=i386
   7.104 -	;;
   7.105 -x86_64-*-*)
   7.106 -	cpu_type=i386
   7.107 -	;;
   7.108 -ia64-*-*)
   7.109 -	;;
   7.110 -hppa*-*-* | parisc*-*-*)
   7.111 -	cpu_type=pa
   7.112 -	;;
   7.113 -m32r*-*-*)
   7.114 -        cpu_type=m32r
   7.115 -        ;;
   7.116 -m680[012]0-*-*)
   7.117 -	cpu_type=m68k
   7.118 -	;;
   7.119 -m68k-*-*)
   7.120 -	;;
   7.121 -mips*-*-*)
   7.122 -	cpu_type=mips
   7.123 -	;;
   7.124 -powerpc*-*-*)
   7.125 -	cpu_type=rs6000
   7.126 -	;;
   7.127 -rs6000*-*-*)
   7.128 -	;;
   7.129 -score*-*-*)
   7.130 -	cpu_type=score
   7.131 -	;;
   7.132 -sparc64*-*-*)
   7.133 -	cpu_type=sparc
   7.134 -	;;
   7.135 -sparc*-*-*)
   7.136 -	cpu_type=sparc
   7.137 -	;;
   7.138 -spu*-*-*)
   7.139 -	cpu_type=spu
   7.140 -	;;
   7.141 -s390*-*-*)
   7.142 -	cpu_type=s390
   7.143 -	;;
   7.144 -# Note the 'l'; we need to be able to match e.g. "shle" or "shl".
   7.145 -sh[123456789lbe]*-*-*)
   7.146 -	cpu_type=sh
   7.147 -	;;
   7.148 -esac
   7.149 -
   7.150 -# Common parts for widely ported systems.
   7.151 -case ${host} in
   7.152 -*-*-darwin*)
   7.153 -  asm_hidden_op=.private_extern
   7.154 -  tmake_file="t-darwin ${cpu_type}/t-darwin t-slibgcc-darwin"
   7.155 -  ;;
   7.156 -*-*-freebsd[12] | *-*-freebsd[12].* | *-*-freebsd*aout*)
   7.157 -  # This is the place-holder for the generic a.out configuration
   7.158 -  # of FreeBSD.  No actual configuration resides here since
   7.159 -  # there was only ever a bare-bones ix86 configuration for
   7.160 -  # a.out and it exists solely in the machine-specific section.
   7.161 -  # This place-holder must exist to avoid dropping into
   7.162 -  # the generic ELF configuration of FreeBSD (i.e. it must be
   7.163 -  # ordered before that section).
   7.164 -  ;;
   7.165 -*-*-freebsd*)
   7.166 -  # This is the generic ELF configuration of FreeBSD.  Later
   7.167 -  # machine-specific sections may refine and add to this
   7.168 -  # configuration.
   7.169 -  ;;
   7.170 -*-*-linux*libc1* | *-*-linux*aout*)
   7.171 -  # Avoid the generic linux case.
   7.172 -  ;;
   7.173 -*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu)
   7.174 -  # Must come before *-*-gnu* (because of *-*-linux-gnu* systems).
   7.175 -  extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
   7.176 -  ;;
   7.177 -*-*-gnu*)
   7.178 -  ;;
   7.179 -*-*-netbsd*)
   7.180 -  ;;
   7.181 -*-*-openbsd*)
   7.182 -  ;;
   7.183 -*-*-rtems*)
   7.184 -  ;;
   7.185 -*-*-vxworks*)
   7.186 -  ;;
   7.187 -*-*-elf)
   7.188 -  ;;
   7.189 -esac
   7.190 -
   7.191 -case ${host} in
   7.192 -# Support site-specific machine types.
   7.193 -*local*)
   7.194 -	rest=`echo ${host} | sed -e "s/$cpu_type-//"`
   7.195 -	if test -f $srcdir/config/${cpu_type}/t-$rest
   7.196 -	then tmake_file=${cpu_type}/t-$rest
   7.197 -	fi
   7.198 -	;;
   7.199 -alpha*-*-unicosmk*)
   7.200 -	;;
   7.201 -alpha*-*-linux*)
   7.202 -	tmake_file="${tmake_file} alpha/t-crtfm"
   7.203 -	extra_parts="$extra_parts crtfastmath.o"
   7.204 -	;;
   7.205 -alpha*-*-gnu*)
   7.206 -	;;
   7.207 -alpha*-*-freebsd*)
   7.208 -	;;
   7.209 -alpha*-*-netbsd*)
   7.210 -	;;
   7.211 -alpha*-*-openbsd*)
   7.212 -	;;
   7.213 -alpha*-dec-osf[45]*)
   7.214 -	;;
   7.215 -alpha64-dec-*vms*)
   7.216 -	;;
   7.217 -alpha*-dec-*vms*)
   7.218 -	;;
   7.219 -arc-*-elf*)
   7.220 -	;;
   7.221 -arm-*-coff* | armel-*-coff*)
   7.222 -	;;
   7.223 -arm-semi-aof | armel-semi-aof)
   7.224 -	;;
   7.225 -arm-wrs-vxworks)
   7.226 -	;;
   7.227 -arm*-*-freebsd*|strongarm*-*-freebsd*)
   7.228 -	;;
   7.229 -arm*-*-netbsdelf*)
   7.230 -	;;
   7.231 -arm*-*-netbsd*)
   7.232 -	;;
   7.233 -arm*-*-linux*)			# ARM GNU/Linux with ELF
   7.234 -	;;
   7.235 -arm*-*-uclinux*)		# ARM ucLinux
   7.236 -	;;
   7.237 -arm*-*-ecos-elf)
   7.238 -	;;
   7.239 -arm*-*-eabi* | arm*-*-symbianelf* )
   7.240 -	;;
   7.241 -arm*-*-rtems*)
   7.242 -	;;
   7.243 -arm*-*-elf | ep9312-*-elf)
   7.244 -	;;
   7.245 -arm*-wince-pe*)
   7.246 -	;;
   7.247 -arm-*-pe*)
   7.248 -	;;
   7.249 -arm*-*-kaos*)
   7.250 -	;;
   7.251 -avr-*-rtems*)
   7.252 -	;;
   7.253 -avr-*-*)
   7.254 -    # Make HImode functions for AVR
   7.255 -    tmake_file=${cpu_type}/t-avr
   7.256 -	;;
   7.257 -bfin*-elf*)
   7.258 -        ;;
   7.259 -bfin*-uclinux*)
   7.260 -        ;;
   7.261 -bfin*-linux-uclibc*)
   7.262 -	# No need to build crtbeginT.o on uClibc systems.  Should probably
   7.263 -	# be moved to the OS specific section above.
   7.264 -	extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
   7.265 -	;;
   7.266 -bfin*-*)
   7.267 -        ;;
   7.268 -cris-*-aout)
   7.269 -	;;
   7.270 -crisv32-*-elf | crisv32-*-none | cris-*-elf | cris-*-none)
   7.271 -	extra_parts="crtbegin.o crtend.o"
   7.272 -	;;
   7.273 -cris-*-linux* | crisv32-*-linux*)
   7.274 -	;;
   7.275 -crx-*-elf)
   7.276 -	;;
   7.277 -fido-*-elf)
   7.278 -	;;
   7.279 -fr30-*-elf)
   7.280 -	;;
   7.281 -frv-*-elf)
   7.282 -	;;
   7.283 -frv-*-*linux*)
   7.284 -	;;
   7.285 -ggx-*-elf)
   7.286 -	;;
   7.287 -h8300-*-rtems*)
   7.288 -	;;
   7.289 -h8300-*-elf*)
   7.290 -	;;
   7.291 -h8300-*-*)
   7.292 -	;;
   7.293 -hppa*64*-*-linux* | parisc*64*-*-linux*)
   7.294 -	;;
   7.295 -hppa*-*-linux* | parisc*-*-linux*)
   7.296 -	;;
   7.297 -hppa1.1-*-pro*)
   7.298 -	;;
   7.299 -hppa1.1-*-osf*)
   7.300 -	;;
   7.301 -hppa1.1-*-bsd*)
   7.302 -	;;
   7.303 -hppa[12]*-*-hpux10*)
   7.304 -	;;
   7.305 -hppa*64*-*-hpux11*)
   7.306 -	;;
   7.307 -hppa[12]*-*-hpux11*)
   7.308 -	;;
   7.309 -i[34567]86-*-darwin*)
   7.310 -	;;
   7.311 -x86_64-*-darwin*)
   7.312 -	tmake_file="t-darwin ${cpu_type}/t-darwin64 t-slibgcc-darwin"
   7.313 -	;;
   7.314 -i[34567]86-*-elf*)
   7.315 -	;;
   7.316 -x86_64-*-elf*)
   7.317 -	;;
   7.318 -i[34567]86-sequent-ptx4* | i[34567]86-sequent-sysv4*)
   7.319 -	;;
   7.320 -i[34567]86-*-aout*)
   7.321 -	;;
   7.322 -i[34567]86-*-beoself* | i[34567]86-*-beos*)
   7.323 -	;;
   7.324 -i[34567]86-*-freebsd*)
   7.325 -	;;
   7.326 -x86_64-*-freebsd*)
   7.327 -	;;
   7.328 -i[34567]86-*-netbsdelf*)
   7.329 -	;;
   7.330 -i[34567]86-*-netbsd*)
   7.331 -	;;
   7.332 -x86_64-*-netbsd*)
   7.333 -	;;
   7.334 -i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123])
   7.335 -	;;
   7.336 -i[34567]86-*-openbsd*)
   7.337 -	;;
   7.338 -i[34567]86-*-coff*)
   7.339 -	;;
   7.340 -i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu)
   7.341 -	extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
   7.342 -	tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm"
   7.343 -	;;
   7.344 -x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu)
   7.345 -	extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
   7.346 -	tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm"
   7.347 -	;;
   7.348 -i[34567]86-*-gnu*)
   7.349 -	;;
   7.350 -i[34567]86-pc-msdosdjgpp*)
   7.351 -	;;
   7.352 -i[34567]86-*-lynxos*)
   7.353 -	;;
   7.354 -i[3456x]86-*-netware*)
   7.355 -	case /${with_ld} in
   7.356 -	*/nwld)
   7.357 -	 	tmake_file="${tmake_file} i386/t-nwld"
   7.358 -		;;
   7.359 -	esac
   7.360 -	;;
   7.361 -i[34567]86-*-nto-qnx*)
   7.362 -	;;
   7.363 -i[34567]86-*-rtems*)
   7.364 -	;;
   7.365 -i[34567]86-*-sco3.2v5*)	# 80386 running SCO Open Server 5
   7.366 -	;;
   7.367 -i[34567]86-*-solaris2*)
   7.368 -	;;
   7.369 -i[34567]86-*-sysv5*)           # Intel x86 on System V Release 5
   7.370 -       ;;
   7.371 -i[34567]86-*-sysv4*)		# Intel 80386's running system V.4
   7.372 -	;;
   7.373 -i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae)
   7.374 -	;;
   7.375 -i[34567]86-*-pe)
   7.376 -	;;
   7.377 -i[34567]86-*-cygwin* | i[34567]86-*-mingw*)
   7.378 -	extra_parts="crtbegin.o crtend.o crtfastmath.o"
   7.379 -	tmake_file="i386/t-cygming i386/t-crtfm"
   7.380 -	;;
   7.381 -x86_64-*-mingw*)
   7.382 -	;;
   7.383 -i[34567]86-*-uwin*)
   7.384 -	;;
   7.385 -i[34567]86-*-interix3*)
   7.386 -	;;
   7.387 -i[34567]86-*-kaos*)
   7.388 -	;;
   7.389 -ia64*-*-elf*)
   7.390 -	extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
   7.391 -	tmake_file="ia64/t-ia64"
   7.392 -	;;
   7.393 -ia64*-*-freebsd*)
   7.394 -	;;
   7.395 -ia64*-*-linux*)
   7.396 -	extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
   7.397 -	tmake_file="ia64/t-ia64"
   7.398 -	;;
   7.399 -ia64*-*-hpux*)
   7.400 -	;;
   7.401 -iq2000*-*-elf*)
   7.402 -        ;;
   7.403 -m32r-*-elf*)
   7.404 - 	;;
   7.405 -m32rle-*-elf*)
   7.406 -	;;
   7.407 -m32r-*-linux*)
   7.408 - 	;;
   7.409 -m32rle-*-linux*)
   7.410 -	;;
   7.411 -m68hc11-*-*|m6811-*-*)
   7.412 -        ;;
   7.413 -m68hc12-*-*|m6812-*-*)
   7.414 -        ;;
   7.415 -m68k-*-aout*)
   7.416 -	;;
   7.417 -m68k-*-coff*)
   7.418 -	;;
   7.419 -m68020-*-elf* | m68k-*-elf*)
   7.420 -	;;
   7.421 -m68010-*-netbsdelf* | m68k*-*-netbsdelf*)
   7.422 -	;;
   7.423 -m68k*-*-openbsd*)
   7.424 -	;;
   7.425 -m68k-*-uclinux*)		# Motorola m68k/ColdFire running uClinux with uClibc
   7.426 -	;;
   7.427 -m68k-*-linux*)		# Motorola m68k's running GNU/Linux
   7.428 -				# with ELF format using glibc 2
   7.429 -				# aka the GNU/Linux C library 6.
   7.430 -	;;
   7.431 -m68k-*-rtems*)
   7.432 -	;;
   7.433 -mcore-*-elf)
   7.434 -	;;
   7.435 -mcore-*-pe*)
   7.436 -	;;
   7.437 -mips-sgi-irix[56]*)
   7.438 -	;;
   7.439 -mips*-*-netbsd*)			# NetBSD/mips, either endian.
   7.440 -	;;
   7.441 -mips64*-*-linux*)
   7.442 -	;;
   7.443 -mips*-*-linux*)				# Linux MIPS, either endian.
   7.444 -	;;
   7.445 -mips*-*-openbsd*)
   7.446 -	;;
   7.447 -mipsisa32-*-elf* | mipsisa32el-*-elf*)
   7.448 -	;;
   7.449 -mipsisa32r2-*-elf* | mipsisa32r2el-*-elf*)
   7.450 -	;;
   7.451 -mipsisa64-*-elf* | mipsisa64el-*-elf*)
   7.452 -	;;
   7.453 -mipsisa64sr71k-*-elf*)
   7.454 -        ;;
   7.455 -mipsisa64sb1-*-elf* | mipsisa64sb1el-*-elf*)
   7.456 -	;;
   7.457 -mips-*-elf* | mipsel-*-elf*)
   7.458 -	;;
   7.459 -mips64-*-elf* | mips64el-*-elf*)
   7.460 -	;;
   7.461 -mips64vr-*-elf* | mips64vrel-*-elf*)
   7.462 -        ;;
   7.463 -mips64orion-*-elf* | mips64orionel-*-elf*)
   7.464 -	;;
   7.465 -mips*-*-rtems*)
   7.466 -	;;
   7.467 -mips-wrs-vxworks)
   7.468 -	;;
   7.469 -mips-wrs-windiss)	# Instruction-level simulator for VxWorks.
   7.470 -	;;
   7.471 -mipstx39-*-elf* | mipstx39el-*-elf*)
   7.472 -	;;
   7.473 -mmix-knuth-mmixware)
   7.474 -	;;
   7.475 -mn10300-*-*)
   7.476 -	;;
   7.477 -mt-*-elf)
   7.478 -        ;;
   7.479 -pdp11-*-bsd)
   7.480 -        ;;
   7.481 -pdp11-*-*)
   7.482 -	;;
   7.483 -powerpc64-*-linux*)
   7.484 -	tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128"
   7.485 -	;;
   7.486 -powerpc64-*-gnu*)
   7.487 -	tmake_file="${tmake_file} rs6000/t-ldbl128"
   7.488 -	;;
   7.489 -powerpc-*-beos*)
   7.490 -	;;
   7.491 -powerpc-*-darwin*)
   7.492 -	;;
   7.493 -powerpc64-*-darwin*)
   7.494 -	;;
   7.495 -powerpc*-*-freebsd*)
   7.496 -	;;
   7.497 -powerpc-*-netbsd*)
   7.498 -	;;
   7.499 -powerpc-*-chorusos*)
   7.500 -	;;
   7.501 -powerpc-*-eabispe*)
   7.502 -	;;
   7.503 -powerpc-*-eabisimaltivec*)
   7.504 -	;;
   7.505 -powerpc-*-eabisim*)
   7.506 -	;;
   7.507 -powerpc-*-elf*)
   7.508 -	;;
   7.509 -powerpc-*-eabialtivec*)
   7.510 -	;;
   7.511 -powerpc-*-eabi*)
   7.512 -	;;
   7.513 -powerpc-*-rtems*)
   7.514 -	;;
   7.515 -powerpc-*-linux*altivec*)
   7.516 -	tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128"
   7.517 -	;;
   7.518 -powerpc-*-linux*spe*)
   7.519 -	tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128"
   7.520 -	;;
   7.521 -powerpc-*-linux*)
   7.522 -	tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128"
   7.523 -	;;
   7.524 -powerpc-*-gnu-gnualtivec*)
   7.525 -	tmake_file="${tmake_file} rs6000/t-ldbl128"
   7.526 -	;;
   7.527 -powerpc-*-gnu*)
   7.528 -	tmake_file="${tmake_file} rs6000/t-ldbl128"
   7.529 -	;;
   7.530 -powerpc-wrs-vxworks|powerpc-wrs-vxworksae)
   7.531 -	;;
   7.532 -powerpc-wrs-windiss*)  # Instruction-level simulator for VxWorks.
   7.533 -	;;
   7.534 -powerpc-*-lynxos*)
   7.535 -	;;
   7.536 -powerpcle-*-sysv*)
   7.537 -	;;
   7.538 -powerpcle-*-elf*)
   7.539 -	;;
   7.540 -powerpcle-*-eabisim*)
   7.541 -	;;
   7.542 -powerpcle-*-eabi*)
   7.543 -	;;
   7.544 -powerpc-*-kaos*)
   7.545 -	;;
   7.546 -powerpcle-*-kaos*)
   7.547 -	;;
   7.548 -rs6000-ibm-aix4.[12]* | powerpc-ibm-aix4.[12]*)
   7.549 -	;;
   7.550 -rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*)
   7.551 -	;;
   7.552 -rs6000-ibm-aix5.1.* | powerpc-ibm-aix5.1.*)
   7.553 -	;;
   7.554 -rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*)
   7.555 -	;;
   7.556 -s390-*-linux*)
   7.557 -	;;
   7.558 -s390x-*-linux*)
   7.559 -	;;
   7.560 -s390x-ibm-tpf*)
   7.561 -	;;
   7.562 -score-*-elf)
   7.563 -        ;;
   7.564 -sh-*-elf* | sh[12346l]*-*-elf* | sh*-*-kaos* | \
   7.565 -sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \
   7.566 -  sh-*-linux* | sh[346lbe]*-*-linux* | \
   7.567 -  sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
   7.568 -   sh64-*-netbsd* | sh64l*-*-netbsd*)
   7.569 -	case ${host} in
   7.570 -	sh*-*-linux*)
   7.571 -		tmake_file="${tmake_file} sh/t-linux"
   7.572 -		;;
   7.573 -	esac
   7.574 -	;;
   7.575 -sh-*-rtems*)
   7.576 -	;;
   7.577 -sh-wrs-vxworks)
   7.578 -	;;
   7.579 -sh-*-*)
   7.580 -	;;
   7.581 -sparc-*-netbsdelf*)
   7.582 -	;;
   7.583 -sparc64-*-openbsd*)
   7.584 -	;;
   7.585 -sparc-*-elf*)
   7.586 -	;;
   7.587 -sparc-*-linux*)		# SPARC's running GNU/Linux, libc6
   7.588 -	extra_parts="$extra_parts crtfastmath.o"
   7.589 -	tmake_file="${tmake_file} sparc/t-crtfm"
   7.590 -	;;
   7.591 -sparc-*-rtems*)
   7.592 -	;;
   7.593 -sparc64-*-solaris2* | sparcv9-*-solaris2*)
   7.594 -	;;
   7.595 -sparc-*-solaris2*)
   7.596 -	;;
   7.597 -sparc-*-sysv4*)
   7.598 -	;;
   7.599 -sparc64-*-elf*)
   7.600 -	;;
   7.601 -sparc-wrs-vxworks)
   7.602 -	;;
   7.603 -sparc64-*-freebsd*|ultrasparc-*-freebsd*)
   7.604 -	;;
   7.605 -sparc64-*-linux*)		# 64-bit SPARC's running GNU/Linux
   7.606 -	extra_parts="$extra_parts crtfastmath.o"
   7.607 -	tmake_file="${tmake_file} sparc/t-crtfm"
   7.608 -	;;
   7.609 -sparc64-*-netbsd*)
   7.610 -	;;
   7.611 -spu-*-elf*)
   7.612 -	;;
   7.613 -strongarm-*-elf*)
   7.614 -	;;
   7.615 -strongarm-*-pe)
   7.616 -	;;
   7.617 -strongarm-*-kaos*)
   7.618 -	;;
   7.619 -v850e1-*-*)
   7.620 -	;;
   7.621 -v850e-*-*)
   7.622 -	;;
   7.623 -v850-*-*)
   7.624 -	;;
   7.625 -vax-*-bsd*)			# VAXen running BSD
   7.626 -	;;
   7.627 -vax-*-sysv*)			# VAXen running system V
   7.628 -	;;
   7.629 -vax-*-netbsdelf*)
   7.630 -	;;
   7.631 -vax-*-netbsd*)
   7.632 -	;;
   7.633 -vax-*-openbsd*)
   7.634 -	;;
   7.635 -vax-*-ultrix*)			# VAXen running ultrix
   7.636 -	;;
   7.637 -xscale-*-elf)
   7.638 -	;;
   7.639 -xscale-*-coff)
   7.640 -	;;
   7.641 -xstormy16-*-elf)
   7.642 -	;;
   7.643 -xtensa-*-elf*)
   7.644 -	;;
   7.645 -xtensa-*-linux*)
   7.646 -	;;
   7.647 -am33_2.0-*-linux*)
   7.648 -	extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
   7.649 -	;;
   7.650 -m32c-*-elf*)
   7.651 - 	;;
   7.652 -*)
   7.653 -	echo "*** Configuration ${host} not supported" 1>&2
   7.654 -	exit 1
   7.655 -	;;
   7.656 -esac
   7.657 -
   7.658 -case ${host} in
   7.659 -i[34567]86-*-linux* | x86_64-*-linux*)
   7.660 -	tmake_file="${tmake_file} t-tls"
   7.661 -	;;
   7.662 -esac
     8.1 --- a/gcc/libgcc/config.host.r134920	Wed Oct 01 11:51:50 2008 -0700
     8.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.3 @@ -1,655 +0,0 @@
     8.4 -# libgcc host-specific configuration file.
     8.5 -# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
     8.6 -# 2008 Free Software Foundation, Inc.
     8.7 -
     8.8 -#This file is part of GCC.
     8.9 -
    8.10 -#GCC is free software; you can redistribute it and/or modify it under
    8.11 -#the terms of the GNU General Public License as published by the Free
    8.12 -#Software Foundation; either version 2, or (at your option) any later
    8.13 -#version.
    8.14 -
    8.15 -#GCC is distributed in the hope that it will be useful, but WITHOUT
    8.16 -#ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    8.17 -#FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    8.18 -#for more details.
    8.19 -
    8.20 -#You should have received a copy of the GNU General Public License
    8.21 -#along with GCC; see the file COPYING.  If not, write to the Free
    8.22 -#Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
    8.23 -#02110-1301, USA.
    8.24 -
    8.25 -# This is the libgcc host-specific configuration file
    8.26 -# where a configuration type is mapped to different system-specific
    8.27 -# definitions and files.  This is invoked by the autoconf-generated
    8.28 -# configure script.  Putting it in a separate shell file lets us skip
    8.29 -# running autoconf when modifying host-specific information.
    8.30 -
    8.31 -# This file bears an obvious resemblance to gcc/config.gcc.  The cases
    8.32 -# should be kept similar, to ease moving library-specific settings
    8.33 -# from config.gcc to this file.  That is also why tmake_file is
    8.34 -# left as tmake_file, rather than hmake_file, even though this library
    8.35 -# switches on ${host}.
    8.36 -
    8.37 -# This file switches on the shell variable ${host}, and also uses the
    8.38 -# following shell variables:
    8.39 -#
    8.40 -#  with_*		Various variables as set by configure.
    8.41 -
    8.42 -# This file sets the following shell variables for use by the
    8.43 -# autoconf-generated configure script:
    8.44 -#
    8.45 -#  asm_hidden_op	The assembler pseudo-op to use for hide
    8.46 -#			lists for object files implemented in
    8.47 -#			assembly (with -fvisibility=hidden for C).
    8.48 -#			The default is ".hidden".
    8.49 -#  cpu_type		The name of the cpu, if different from the first
    8.50 -#			chunk of the canonical host name.
    8.51 -#  extra_parts		List of extra object files that should be compiled
    8.52 -#			for this target machine.  This may be overridden
    8.53 -#			by setting EXTRA_PARTS in a tmake_file fragment.
    8.54 -#			If either is set, EXTRA_PARTS and
    8.55 -#			EXTRA_MULTILIB_PARTS inherited from the GCC
    8.56 -#			subdirectory will be ignored.
    8.57 -#  tmake_file		A list of machine-description-specific
    8.58 -#			makefile-fragments, if different from
    8.59 -#			"$cpu_type/t-$cpu_type".
    8.60 -
    8.61 -asm_hidden_op=.hidden
    8.62 -extra_parts=
    8.63 -tmake_file=
    8.64 -
    8.65 -# Set default cpu_type so it can be updated in each machine entry.
    8.66 -cpu_type=`echo ${host} | sed 's/-.*$//'`
    8.67 -case ${host} in
    8.68 -m32c*-*-*)
    8.69 -        cpu_type=m32c
    8.70 -        ;;
    8.71 -alpha*-*-*)
    8.72 -	cpu_type=alpha
    8.73 -	;;
    8.74 -am33_2.0-*-linux*)
    8.75 -	cpu_type=mn10300
    8.76 -	;;
    8.77 -strongarm*-*-*)
    8.78 -	cpu_type=arm
    8.79 -	;;
    8.80 -arm*-*-*)
    8.81 -	cpu_type=arm
    8.82 -	;;
    8.83 -avr-*-*)
    8.84 -	cpu_type=avr
    8.85 -	;;    
    8.86 -bfin*-*)
    8.87 -	cpu_type=bfin
    8.88 -	;;
    8.89 -ep9312*-*-*)
    8.90 -	cpu_type=arm
    8.91 -	;;
    8.92 -fido-*-*)
    8.93 -	cpu_type=m68k
    8.94 -	;;
    8.95 -frv*)	cpu_type=frv
    8.96 -	;;
    8.97 -xscale-*-*)
    8.98 -	cpu_type=arm
    8.99 -	;;
   8.100 -i[34567]86-*-*)
   8.101 -	cpu_type=i386
   8.102 -	;;
   8.103 -x86_64-*-*)
   8.104 -	cpu_type=i386
   8.105 -	;;
   8.106 -ia64-*-*)
   8.107 -	;;
   8.108 -hppa*-*-* | parisc*-*-*)
   8.109 -	cpu_type=pa
   8.110 -	;;
   8.111 -m32r*-*-*)
   8.112 -        cpu_type=m32r
   8.113 -        ;;
   8.114 -m680[012]0-*-*)
   8.115 -	cpu_type=m68k
   8.116 -	;;
   8.117 -m68k-*-*)
   8.118 -	;;
   8.119 -mips*-*-*)
   8.120 -	cpu_type=mips
   8.121 -	;;
   8.122 -powerpc*-*-*)
   8.123 -	cpu_type=rs6000
   8.124 -	;;
   8.125 -rs6000*-*-*)
   8.126 -	;;
   8.127 -score*-*-*)
   8.128 -	cpu_type=score
   8.129 -	;;
   8.130 -sparc64*-*-*)
   8.131 -	cpu_type=sparc
   8.132 -	;;
   8.133 -sparc*-*-*)
   8.134 -	cpu_type=sparc
   8.135 -	;;
   8.136 -spu*-*-*)
   8.137 -	cpu_type=spu
   8.138 -	;;
   8.139 -s390*-*-*)
   8.140 -	cpu_type=s390
   8.141 -	;;
   8.142 -# Note the 'l'; we need to be able to match e.g. "shle" or "shl".
   8.143 -sh[123456789lbe]*-*-*)
   8.144 -	cpu_type=sh
   8.145 -	;;
   8.146 -esac
   8.147 -
   8.148 -# Common parts for widely ported systems.
   8.149 -case ${host} in
   8.150 -*-*-darwin*)
   8.151 -  asm_hidden_op=.private_extern
   8.152 -  tmake_file="t-darwin ${cpu_type}/t-darwin t-slibgcc-darwin"
   8.153 -  ;;
   8.154 -*-*-freebsd[12] | *-*-freebsd[12].* | *-*-freebsd*aout*)
   8.155 -  # This is the place-holder for the generic a.out configuration
   8.156 -  # of FreeBSD.  No actual configuration resides here since
   8.157 -  # there was only ever a bare-bones ix86 configuration for
   8.158 -  # a.out and it exists solely in the machine-specific section.
   8.159 -  # This place-holder must exist to avoid dropping into
   8.160 -  # the generic ELF configuration of FreeBSD (i.e. it must be
   8.161 -  # ordered before that section).
   8.162 -  ;;
   8.163 -*-*-freebsd*)
   8.164 -  # This is the generic ELF configuration of FreeBSD.  Later
   8.165 -  # machine-specific sections may refine and add to this
   8.166 -  # configuration.
   8.167 -  ;;
   8.168 -*-*-linux*libc1* | *-*-linux*aout*)
   8.169 -  # Avoid the generic linux case.
   8.170 -  ;;
   8.171 -*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu)
   8.172 -  # Must come before *-*-gnu* (because of *-*-linux-gnu* systems).
   8.173 -  extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
   8.174 -  ;;
   8.175 -*-*-gnu*)
   8.176 -  ;;
   8.177 -*-*-netbsd*)
   8.178 -  ;;
   8.179 -*-*-openbsd*)
   8.180 -  ;;
   8.181 -*-*-rtems*)
   8.182 -  ;;
   8.183 -*-*-vxworks*)
   8.184 -  ;;
   8.185 -*-*-elf)
   8.186 -  ;;
   8.187 -esac
   8.188 -
   8.189 -case ${host} in
   8.190 -# Support site-specific machine types.
   8.191 -*local*)
   8.192 -	rest=`echo ${host} | sed -e "s/$cpu_type-//"`
   8.193 -	if test -f $srcdir/config/${cpu_type}/t-$rest
   8.194 -	then tmake_file=${cpu_type}/t-$rest
   8.195 -	fi
   8.196 -	;;
   8.197 -alpha*-*-unicosmk*)
   8.198 -	;;
   8.199 -alpha*-*-linux*)
   8.200 -	tmake_file="${tmake_file} alpha/t-crtfm"
   8.201 -	extra_parts="$extra_parts crtfastmath.o"
   8.202 -	;;
   8.203 -alpha*-*-gnu*)
   8.204 -	;;
   8.205 -alpha*-*-freebsd*)
   8.206 -	;;
   8.207 -alpha*-*-netbsd*)
   8.208 -	;;
   8.209 -alpha*-*-openbsd*)
   8.210 -	;;
   8.211 -alpha*-dec-osf[45]*)
   8.212 -	;;
   8.213 -alpha64-dec-*vms*)
   8.214 -	;;
   8.215 -alpha*-dec-*vms*)
   8.216 -	;;
   8.217 -arc-*-elf*)
   8.218 -	;;
   8.219 -arm-*-coff* | armel-*-coff*)
   8.220 -	;;
   8.221 -arm-semi-aof | armel-semi-aof)
   8.222 -	;;
   8.223 -arm-wrs-vxworks)
   8.224 -	;;
   8.225 -arm*-*-freebsd*|strongarm*-*-freebsd*)
   8.226 -	;;
   8.227 -arm*-*-netbsdelf*)
   8.228 -	;;
   8.229 -arm*-*-netbsd*)
   8.230 -	;;
   8.231 -arm*-*-linux*)			# ARM GNU/Linux with ELF
   8.232 -	;;
   8.233 -arm*-*-uclinux*)		# ARM ucLinux
   8.234 -	;;
   8.235 -arm*-*-ecos-elf)
   8.236 -	;;
   8.237 -arm*-*-eabi* | arm*-*-symbianelf* )
   8.238 -	;;
   8.239 -arm*-*-rtems*)
   8.240 -	;;
   8.241 -arm*-*-elf | ep9312-*-elf)
   8.242 -	;;
   8.243 -arm*-wince-pe*)
   8.244 -	;;
   8.245 -arm-*-pe*)
   8.246 -	;;
   8.247 -arm*-*-kaos*)
   8.248 -	;;
   8.249 -avr-*-rtems*)
   8.250 -	;;
   8.251 -avr-*-*)
   8.252 -    # Make HImode functions for AVR
   8.253 -    tmake_file=${cpu_type}/t-avr
   8.254 -	;;
   8.255 -bfin*-elf*)
   8.256 -        ;;
   8.257 -bfin*-uclinux*)
   8.258 -        ;;
   8.259 -bfin*-linux-uclibc*)
   8.260 -	# No need to build crtbeginT.o on uClibc systems.  Should probably
   8.261 -	# be moved to the OS specific section above.
   8.262 -	extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
   8.263 -	;;
   8.264 -bfin*-*)
   8.265 -        ;;
   8.266 -cris-*-aout)
   8.267 -	;;
   8.268 -crisv32-*-elf | crisv32-*-none | cris-*-elf | cris-*-none)
   8.269 -	extra_parts="crtbegin.o crtend.o"
   8.270 -	;;
   8.271 -cris-*-linux* | crisv32-*-linux*)
   8.272 -	;;
   8.273 -crx-*-elf)
   8.274 -	;;
   8.275 -fido-*-elf)
   8.276 -	;;
   8.277 -fr30-*-elf)
   8.278 -	;;
   8.279 -frv-*-elf)
   8.280 -	;;
   8.281 -frv-*-*linux*)
   8.282 -	;;
   8.283 -h8300-*-rtems*)
   8.284 -	;;
   8.285 -h8300-*-elf*)
   8.286 -	;;
   8.287 -h8300-*-*)
   8.288 -	;;
   8.289 -hppa*64*-*-linux* | parisc*64*-*-linux*)
   8.290 -	;;
   8.291 -hppa*-*-linux* | parisc*-*-linux*)
   8.292 -	;;
   8.293 -hppa1.1-*-pro*)
   8.294 -	;;
   8.295 -hppa1.1-*-osf*)
   8.296 -	;;
   8.297 -hppa1.1-*-bsd*)
   8.298 -	;;
   8.299 -hppa[12]*-*-hpux10*)
   8.300 -	;;
   8.301 -hppa*64*-*-hpux11*)
   8.302 -	;;
   8.303 -hppa[12]*-*-hpux11*)
   8.304 -	;;
   8.305 -i[34567]86-*-darwin*)
   8.306 -	;;
   8.307 -x86_64-*-darwin*)
   8.308 -	tmake_file="t-darwin ${cpu_type}/t-darwin64 t-slibgcc-darwin"
   8.309 -	;;
   8.310 -i[34567]86-*-elf*)
   8.311 -	;;
   8.312 -x86_64-*-elf*)
   8.313 -	;;
   8.314 -i[34567]86-sequent-ptx4* | i[34567]86-sequent-sysv4*)
   8.315 -	;;
   8.316 -i[34567]86-*-aout*)
   8.317 -	;;
   8.318 -i[34567]86-*-beoself* | i[34567]86-*-beos*)
   8.319 -	;;
   8.320 -i[34567]86-*-freebsd*)
   8.321 -	;;
   8.322 -x86_64-*-freebsd*)
   8.323 -	;;
   8.324 -i[34567]86-*-netbsdelf*)
   8.325 -	;;
   8.326 -i[34567]86-*-netbsd*)
   8.327 -	;;
   8.328 -x86_64-*-netbsd*)
   8.329 -	;;
   8.330 -i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123])
   8.331 -	;;
   8.332 -i[34567]86-*-openbsd*)
   8.333 -	;;
   8.334 -i[34567]86-*-coff*)
   8.335 -	;;
   8.336 -i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu)
   8.337 -	extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
   8.338 -	tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm"
   8.339 -	;;
   8.340 -x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu)
   8.341 -	extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
   8.342 -	tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm"
   8.343 -	;;
   8.344 -i[34567]86-*-gnu*)
   8.345 -	;;
   8.346 -i[34567]86-pc-msdosdjgpp*)
   8.347 -	;;
   8.348 -i[34567]86-*-lynxos*)
   8.349 -	;;
   8.350 -i[3456x]86-*-netware*)
   8.351 -	case /${with_ld} in
   8.352 -	*/nwld)
   8.353 -	 	tmake_file="${tmake_file} i386/t-nwld"
   8.354 -		;;
   8.355 -	esac
   8.356 -	;;
   8.357 -i[34567]86-*-nto-qnx*)
   8.358 -	;;
   8.359 -i[34567]86-*-rtems*)
   8.360 -	;;
   8.361 -i[34567]86-*-sco3.2v5*)	# 80386 running SCO Open Server 5
   8.362 -	;;
   8.363 -i[34567]86-*-solaris2*)
   8.364 -	;;
   8.365 -i[34567]86-*-sysv5*)           # Intel x86 on System V Release 5
   8.366 -       ;;
   8.367 -i[34567]86-*-sysv4*)		# Intel 80386's running system V.4
   8.368 -	;;
   8.369 -i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae)
   8.370 -	;;
   8.371 -i[34567]86-*-pe)
   8.372 -	;;
   8.373 -i[34567]86-*-cygwin* | i[34567]86-*-mingw*)
   8.374 -	extra_parts="crtbegin.o crtend.o crtfastmath.o"
   8.375 -	tmake_file="i386/t-cygming i386/t-crtfm"
   8.376 -	;;
   8.377 -x86_64-*-mingw*)
   8.378 -	;;
   8.379 -i[34567]86-*-uwin*)
   8.380 -	;;
   8.381 -i[34567]86-*-interix3*)
   8.382 -	;;
   8.383 -i[34567]86-*-kaos*)
   8.384 -	;;
   8.385 -ia64*-*-elf*)
   8.386 -	extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
   8.387 -	tmake_file="ia64/t-ia64"
   8.388 -	;;
   8.389 -ia64*-*-freebsd*)
   8.390 -	;;
   8.391 -ia64*-*-linux*)
   8.392 -	extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
   8.393 -	tmake_file="ia64/t-ia64"
   8.394 -	;;
   8.395 -ia64*-*-hpux*)
   8.396 -	;;
   8.397 -iq2000*-*-elf*)
   8.398 -        ;;
   8.399 -m32r-*-elf*)
   8.400 - 	;;
   8.401 -m32rle-*-elf*)
   8.402 -	;;
   8.403 -m32r-*-linux*)
   8.404 - 	;;
   8.405 -m32rle-*-linux*)
   8.406 -	;;
   8.407 -m68hc11-*-*|m6811-*-*)
   8.408 -        ;;
   8.409 -m68hc12-*-*|m6812-*-*)
   8.410 -        ;;
   8.411 -m68k-*-aout*)
   8.412 -	;;
   8.413 -m68k-*-coff*)
   8.414 -	;;
   8.415 -m68020-*-elf* | m68k-*-elf*)
   8.416 -	;;
   8.417 -m68010-*-netbsdelf* | m68k*-*-netbsdelf*)
   8.418 -	;;
   8.419 -m68k*-*-openbsd*)
   8.420 -	;;
   8.421 -m68k-*-uclinux*)		# Motorola m68k/ColdFire running uClinux with uClibc
   8.422 -	;;
   8.423 -m68k-*-linux*)		# Motorola m68k's running GNU/Linux
   8.424 -				# with ELF format using glibc 2
   8.425 -				# aka the GNU/Linux C library 6.
   8.426 -	;;
   8.427 -m68k-*-rtems*)
   8.428 -	;;
   8.429 -mcore-*-elf)
   8.430 -	;;
   8.431 -mcore-*-pe*)
   8.432 -	;;
   8.433 -mips-sgi-irix[56]*)
   8.434 -	;;
   8.435 -mips*-*-netbsd*)			# NetBSD/mips, either endian.
   8.436 -	;;
   8.437 -mips64*-*-linux*)
   8.438 -	;;
   8.439 -mips*-*-linux*)				# Linux MIPS, either endian.
   8.440 -	;;
   8.441 -mips*-*-openbsd*)
   8.442 -	;;
   8.443 -mipsisa32-*-elf* | mipsisa32el-*-elf*)
   8.444 -	;;
   8.445 -mipsisa32r2-*-elf* | mipsisa32r2el-*-elf*)
   8.446 -	;;
   8.447 -mipsisa64-*-elf* | mipsisa64el-*-elf*)
   8.448 -	;;
   8.449 -mipsisa64sr71k-*-elf*)
   8.450 -        ;;
   8.451 -mipsisa64sb1-*-elf* | mipsisa64sb1el-*-elf*)
   8.452 -	;;
   8.453 -mips-*-elf* | mipsel-*-elf*)
   8.454 -	;;
   8.455 -mips64-*-elf* | mips64el-*-elf*)
   8.456 -	;;
   8.457 -mips64vr-*-elf* | mips64vrel-*-elf*)
   8.458 -        ;;
   8.459 -mips64orion-*-elf* | mips64orionel-*-elf*)
   8.460 -	;;
   8.461 -mips*-*-rtems*)
   8.462 -	;;
   8.463 -mips-wrs-vxworks)
   8.464 -	;;
   8.465 -mips-wrs-windiss)	# Instruction-level simulator for VxWorks.
   8.466 -	;;
   8.467 -mipstx39-*-elf* | mipstx39el-*-elf*)
   8.468 -	;;
   8.469 -mmix-knuth-mmixware)
   8.470 -	;;
   8.471 -mn10300-*-*)
   8.472 -	;;
   8.473 -mt-*-elf)
   8.474 -        ;;
   8.475 -pdp11-*-bsd)
   8.476 -        ;;
   8.477 -pdp11-*-*)
   8.478 -	;;
   8.479 -powerpc64-*-linux*)
   8.480 -	tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128"
   8.481 -	;;
   8.482 -powerpc64-*-gnu*)
   8.483 -	tmake_file="${tmake_file} rs6000/t-ldbl128"
   8.484 -	;;
   8.485 -powerpc-*-beos*)
   8.486 -	;;
   8.487 -powerpc-*-darwin*)
   8.488 -	;;
   8.489 -powerpc64-*-darwin*)
   8.490 -	;;
   8.491 -powerpc*-*-freebsd*)
   8.492 -	;;
   8.493 -powerpc-*-netbsd*)
   8.494 -	;;
   8.495 -powerpc-*-chorusos*)
   8.496 -	;;
   8.497 -powerpc-*-eabispe*)
   8.498 -	;;
   8.499 -powerpc-*-eabisimaltivec*)
   8.500 -	;;
   8.501 -powerpc-*-eabisim*)
   8.502 -	;;
   8.503 -powerpc-*-elf*)
   8.504 -	;;
   8.505 -powerpc-*-eabialtivec*)
   8.506 -	;;
   8.507 -powerpc-*-eabi*)
   8.508 -	;;
   8.509 -powerpc-*-rtems*)
   8.510 -	;;
   8.511 -powerpc-*-linux*altivec*)
   8.512 -	tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128"
   8.513 -	;;
   8.514 -powerpc-*-linux*spe*)
   8.515 -	tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128"
   8.516 -	;;
   8.517 -powerpc-*-linux*)
   8.518 -	tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128"
   8.519 -	;;
   8.520 -powerpc-*-gnu-gnualtivec*)
   8.521 -	tmake_file="${tmake_file} rs6000/t-ldbl128"
   8.522 -	;;
   8.523 -powerpc-*-gnu*)
   8.524 -	tmake_file="${tmake_file} rs6000/t-ldbl128"
   8.525 -	;;
   8.526 -powerpc-wrs-vxworks|powerpc-wrs-vxworksae)
   8.527 -	;;
   8.528 -powerpc-wrs-windiss*)  # Instruction-level simulator for VxWorks.
   8.529 -	;;
   8.530 -powerpc-*-lynxos*)
   8.531 -	;;
   8.532 -powerpcle-*-sysv*)
   8.533 -	;;
   8.534 -powerpcle-*-elf*)
   8.535 -	;;
   8.536 -powerpcle-*-eabisim*)
   8.537 -	;;
   8.538 -powerpcle-*-eabi*)
   8.539 -	;;
   8.540 -powerpc-*-kaos*)
   8.541 -	;;
   8.542 -powerpcle-*-kaos*)
   8.543 -	;;
   8.544 -rs6000-ibm-aix4.[12]* | powerpc-ibm-aix4.[12]*)
   8.545 -	;;
   8.546 -rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*)
   8.547 -	;;
   8.548 -rs6000-ibm-aix5.1.* | powerpc-ibm-aix5.1.*)
   8.549 -	;;
   8.550 -rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*)
   8.551 -	;;
   8.552 -s390-*-linux*)
   8.553 -	;;
   8.554 -s390x-*-linux*)
   8.555 -	;;
   8.556 -s390x-ibm-tpf*)
   8.557 -	;;
   8.558 -score-*-elf)
   8.559 -        ;;
   8.560 -sh-*-elf* | sh[12346l]*-*-elf* | sh*-*-kaos* | \
   8.561 -sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \
   8.562 -  sh-*-linux* | sh[346lbe]*-*-linux* | \
   8.563 -  sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
   8.564 -   sh64-*-netbsd* | sh64l*-*-netbsd*)
   8.565 -	case ${host} in
   8.566 -	sh*-*-linux*)
   8.567 -		tmake_file="${tmake_file} sh/t-linux"
   8.568 -		;;
   8.569 -	esac
   8.570 -	;;
   8.571 -sh-*-rtems*)
   8.572 -	;;
   8.573 -sh-wrs-vxworks)
   8.574 -	;;
   8.575 -sh-*-*)
   8.576 -	;;
   8.577 -sparc-*-netbsdelf*)
   8.578 -	;;
   8.579 -sparc64-*-openbsd*)
   8.580 -	;;
   8.581 -sparc-*-elf*)
   8.582 -	;;
   8.583 -sparc-*-linux*)		# SPARC's running GNU/Linux, libc6
   8.584 -	extra_parts="$extra_parts crtfastmath.o"
   8.585 -	tmake_file="${tmake_file} sparc/t-crtfm"
   8.586 -	;;
   8.587 -sparc-*-rtems*)
   8.588 -	;;
   8.589 -sparc64-*-solaris2* | sparcv9-*-solaris2*)
   8.590 -	;;
   8.591 -sparc-*-solaris2*)
   8.592 -	;;
   8.593 -sparc-*-sysv4*)
   8.594 -	;;
   8.595 -sparc64-*-elf*)
   8.596 -	;;
   8.597 -sparc-wrs-vxworks)
   8.598 -	;;
   8.599 -sparc64-*-freebsd*|ultrasparc-*-freebsd*)
   8.600 -	;;
   8.601 -sparc64-*-linux*)		# 64-bit SPARC's running GNU/Linux
   8.602 -	extra_parts="$extra_parts crtfastmath.o"
   8.603 -	tmake_file="${tmake_file} sparc/t-crtfm"
   8.604 -	;;
   8.605 -sparc64-*-netbsd*)
   8.606 -	;;
   8.607 -spu-*-elf*)
   8.608 -	;;
   8.609 -strongarm-*-elf*)
   8.610 -	;;
   8.611 -strongarm-*-pe)
   8.612 -	;;
   8.613 -strongarm-*-kaos*)
   8.614 -	;;
   8.615 -v850e1-*-*)
   8.616 -	;;
   8.617 -v850e-*-*)
   8.618 -	;;
   8.619 -v850-*-*)
   8.620 -	;;
   8.621 -vax-*-bsd*)			# VAXen running BSD
   8.622 -	;;
   8.623 -vax-*-sysv*)			# VAXen running system V
   8.624 -	;;
   8.625 -vax-*-netbsdelf*)
   8.626 -	;;
   8.627 -vax-*-netbsd*)
   8.628 -	;;
   8.629 -vax-*-openbsd*)
   8.630 -	;;
   8.631 -vax-*-ultrix*)			# VAXen running ultrix
   8.632 -	;;
   8.633 -xscale-*-elf)
   8.634 -	;;
   8.635 -xscale-*-coff)
   8.636 -	;;
   8.637 -xstormy16-*-elf)
   8.638 -	;;
   8.639 -xtensa-*-elf*)
   8.640 -	;;
   8.641 -xtensa-*-linux*)
   8.642 -	;;
   8.643 -am33_2.0-*-linux*)
   8.644 -	extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
   8.645 -	;;
   8.646 -m32c-*-elf*)
   8.647 - 	;;
   8.648 -*)
   8.649 -	echo "*** Configuration ${host} not supported" 1>&2
   8.650 -	exit 1
   8.651 -	;;
   8.652 -esac
   8.653 -
   8.654 -case ${host} in
   8.655 -i[34567]86-*-linux* | x86_64-*-linux*)
   8.656 -	tmake_file="${tmake_file} t-tls"
   8.657 -	;;
   8.658 -esac
     9.1 --- a/gcc/libgcc/config.host.r139605	Wed Oct 01 11:51:50 2008 -0700
     9.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.3 @@ -1,598 +0,0 @@
     9.4 -# libgcc host-specific configuration file.
     9.5 -# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
     9.6 -# 2008 Free Software Foundation, Inc.
     9.7 -
     9.8 -#This file is part of GCC.
     9.9 -
    9.10 -#GCC is free software; you can redistribute it and/or modify it under
    9.11 -#the terms of the GNU General Public License as published by the Free
    9.12 -#Software Foundation; either version 2, or (at your option) any later
    9.13 -#version.
    9.14 -
    9.15 -#GCC is distributed in the hope that it will be useful, but WITHOUT
    9.16 -#ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    9.17 -#FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    9.18 -#for more details.
    9.19 -
    9.20 -#You should have received a copy of the GNU General Public License
    9.21 -#along with GCC; see the file COPYING.  If not, write to the Free
    9.22 -#Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
    9.23 -#02110-1301, USA.
    9.24 -
    9.25 -# This is the libgcc host-specific configuration file
    9.26 -# where a configuration type is mapped to different system-specific
    9.27 -# definitions and files.  This is invoked by the autoconf-generated
    9.28 -# configure script.  Putting it in a separate shell file lets us skip
    9.29 -# running autoconf when modifying host-specific information.
    9.30 -
    9.31 -# This file bears an obvious resemblance to gcc/config.gcc.  The cases
    9.32 -# should be kept similar, to ease moving library-specific settings
    9.33 -# from config.gcc to this file.  That is also why tmake_file is
    9.34 -# left as tmake_file, rather than hmake_file, even though this library
    9.35 -# switches on ${host}.
    9.36 -
    9.37 -# This file switches on the shell variable ${host}, and also uses the
    9.38 -# following shell variables:
    9.39 -#
    9.40 -#  with_*		Various variables as set by configure.
    9.41 -
    9.42 -# This file sets the following shell variables for use by the
    9.43 -# autoconf-generated configure script:
    9.44 -#
    9.45 -#  asm_hidden_op	The assembler pseudo-op to use for hide
    9.46 -#			lists for object files implemented in
    9.47 -#			assembly (with -fvisibility=hidden for C).
    9.48 -#			The default is ".hidden".
    9.49 -#  cpu_type		The name of the cpu, if different from the first
    9.50 -#			chunk of the canonical host name.
    9.51 -#  extra_parts		List of extra object files that should be compiled
    9.52 -#			for this target machine.  This may be overridden
    9.53 -#			by setting EXTRA_PARTS in a tmake_file fragment.
    9.54 -#			If either is set, EXTRA_PARTS and
    9.55 -#			EXTRA_MULTILIB_PARTS inherited from the GCC
    9.56 -#			subdirectory will be ignored.
    9.57 -#  tmake_file		A list of machine-description-specific
    9.58 -#			makefile-fragments, if different from
    9.59 -#			"$cpu_type/t-$cpu_type".
    9.60 -
    9.61 -asm_hidden_op=.hidden
    9.62 -extra_parts=
    9.63 -tmake_file=
    9.64 -
    9.65 -# Set default cpu_type so it can be updated in each machine entry.
    9.66 -cpu_type=`echo ${host} | sed 's/-.*$//'`
    9.67 -case ${host} in
    9.68 -m32c*-*-*)
    9.69 -        cpu_type=m32c
    9.70 -        ;;
    9.71 -alpha*-*-*)
    9.72 -	cpu_type=alpha
    9.73 -	;;
    9.74 -am33_2.0-*-linux*)
    9.75 -	cpu_type=mn10300
    9.76 -	;;
    9.77 -arm*-*-*)
    9.78 -	cpu_type=arm
    9.79 -	;;
    9.80 -avr-*-*)
    9.81 -	cpu_type=avr
    9.82 -	;;    
    9.83 -bfin*-*)
    9.84 -	cpu_type=bfin
    9.85 -	;;
    9.86 -fido-*-*)
    9.87 -	cpu_type=m68k
    9.88 -	;;
    9.89 -frv*)	cpu_type=frv
    9.90 -	;;
    9.91 -i[34567]86-*-*)
    9.92 -	cpu_type=i386
    9.93 -	;;
    9.94 -x86_64-*-*)
    9.95 -	cpu_type=i386
    9.96 -	;;
    9.97 -ia64-*-*)
    9.98 -	;;
    9.99 -hppa*-*-*)
   9.100 -	cpu_type=pa
   9.101 -	;;
   9.102 -m32r*-*-*)
   9.103 -        cpu_type=m32r
   9.104 -        ;;
   9.105 -m68k-*-*)
   9.106 -	;;
   9.107 -mips*-*-*)
   9.108 -	cpu_type=mips
   9.109 -	;;
   9.110 -powerpc*-*-*)
   9.111 -	cpu_type=rs6000
   9.112 -	;;
   9.113 -rs6000*-*-*)
   9.114 -	;;
   9.115 -score*-*-*)
   9.116 -	cpu_type=score
   9.117 -	;;
   9.118 -sparc64*-*-*)
   9.119 -	cpu_type=sparc
   9.120 -	;;
   9.121 -sparc*-*-*)
   9.122 -	cpu_type=sparc
   9.123 -	;;
   9.124 -spu*-*-*)
   9.125 -	cpu_type=spu
   9.126 -	;;
   9.127 -s390*-*-*)
   9.128 -	cpu_type=s390
   9.129 -	;;
   9.130 -# Note the 'l'; we need to be able to match e.g. "shle" or "shl".
   9.131 -sh[123456789lbe]*-*-*)
   9.132 -	cpu_type=sh
   9.133 -	;;
   9.134 -esac
   9.135 -
   9.136 -# Common parts for widely ported systems.
   9.137 -case ${host} in
   9.138 -*-*-darwin*)
   9.139 -  asm_hidden_op=.private_extern
   9.140 -  tmake_file="t-darwin ${cpu_type}/t-darwin t-slibgcc-darwin"
   9.141 -  ;;
   9.142 -*-*-freebsd[12] | *-*-freebsd[12].* | *-*-freebsd*aout*)
   9.143 -  # This is the place-holder for the generic a.out configuration
   9.144 -  # of FreeBSD.  No actual configuration resides here since
   9.145 -  # there was only ever a bare-bones ix86 configuration for
   9.146 -  # a.out and it exists solely in the machine-specific section.
   9.147 -  # This place-holder must exist to avoid dropping into
   9.148 -  # the generic ELF configuration of FreeBSD (i.e. it must be
   9.149 -  # ordered before that section).
   9.150 -  ;;
   9.151 -*-*-freebsd*)
   9.152 -  # This is the generic ELF configuration of FreeBSD.  Later
   9.153 -  # machine-specific sections may refine and add to this
   9.154 -  # configuration.
   9.155 -  ;;
   9.156 -*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu)
   9.157 -  # Must come before *-*-gnu* (because of *-*-linux-gnu* systems).
   9.158 -  extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
   9.159 -  ;;
   9.160 -*-*-gnu*)
   9.161 -  ;;
   9.162 -*-*-netbsd*)
   9.163 -  ;;
   9.164 -*-*-openbsd*)
   9.165 -  ;;
   9.166 -*-*-rtems*)
   9.167 -  ;;
   9.168 -*-*-vxworks*)
   9.169 -  ;;
   9.170 -*-*-elf)
   9.171 -  ;;
   9.172 -esac
   9.173 -
   9.174 -case ${host} in
   9.175 -# Support site-specific machine types.
   9.176 -*local*)
   9.177 -	rest=`echo ${host} | sed -e "s/$cpu_type-//"`
   9.178 -	if test -f $srcdir/config/${cpu_type}/t-$rest
   9.179 -	then tmake_file=${cpu_type}/t-$rest
   9.180 -	fi
   9.181 -	;;
   9.182 -alpha*-*-linux*)
   9.183 -	tmake_file="${tmake_file} alpha/t-crtfm"
   9.184 -	extra_parts="$extra_parts crtfastmath.o"
   9.185 -	;;
   9.186 -alpha*-*-gnu*)
   9.187 -	;;
   9.188 -alpha*-*-freebsd*)
   9.189 -	;;
   9.190 -alpha*-*-netbsd*)
   9.191 -	;;
   9.192 -alpha*-*-openbsd*)
   9.193 -	;;
   9.194 -alpha*-dec-osf[45]*)
   9.195 -	;;
   9.196 -alpha64-dec-*vms*)
   9.197 -	;;
   9.198 -alpha*-dec-*vms*)
   9.199 -	;;
   9.200 -arc-*-elf*)
   9.201 -	;;
   9.202 -arm-*-coff* | armel-*-coff*)
   9.203 -	;;
   9.204 -arm-semi-aof | armel-semi-aof)
   9.205 -	;;
   9.206 -arm-wrs-vxworks)
   9.207 -	;;
   9.208 -arm*-*-freebsd*)
   9.209 -	;;
   9.210 -arm*-*-netbsdelf*)
   9.211 -	;;
   9.212 -arm*-*-netbsd*)
   9.213 -	;;
   9.214 -arm*-*-linux*)			# ARM GNU/Linux with ELF
   9.215 -	;;
   9.216 -arm*-*-uclinux*)		# ARM ucLinux
   9.217 -	;;
   9.218 -arm*-*-ecos-elf)
   9.219 -	;;
   9.220 -arm*-*-eabi* | arm*-*-symbianelf* )
   9.221 -	;;
   9.222 -arm*-*-rtems*)
   9.223 -	;;
   9.224 -arm*-*-elf)
   9.225 -	;;
   9.226 -arm*-wince-pe*)
   9.227 -	;;
   9.228 -arm-*-pe*)
   9.229 -	;;
   9.230 -avr-*-rtems*)
   9.231 -	;;
   9.232 -avr-*-*)
   9.233 -    # Make HImode functions for AVR
   9.234 -    tmake_file=${cpu_type}/t-avr
   9.235 -	;;
   9.236 -bfin*-elf*)
   9.237 -        ;;
   9.238 -bfin*-uclinux*)
   9.239 -        ;;
   9.240 -bfin*-linux-uclibc*)
   9.241 -	# No need to build crtbeginT.o on uClibc systems.  Should probably
   9.242 -	# be moved to the OS specific section above.
   9.243 -	extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
   9.244 -	;;
   9.245 -bfin*-*)
   9.246 -        ;;
   9.247 -crisv32-*-elf | crisv32-*-none | cris-*-elf | cris-*-none)
   9.248 -	extra_parts="crtbegin.o crtend.o"
   9.249 -	;;
   9.250 -cris-*-linux* | crisv32-*-linux*)
   9.251 -	;;
   9.252 -crx-*-elf)
   9.253 -	;;
   9.254 -fido-*-elf)
   9.255 -	;;
   9.256 -fr30-*-elf)
   9.257 -	;;
   9.258 -frv-*-elf)
   9.259 -	;;
   9.260 -frv-*-*linux*)
   9.261 -	;;
   9.262 -h8300-*-rtems*)
   9.263 -	;;
   9.264 -h8300-*-elf*)
   9.265 -	;;
   9.266 -h8300-*-*)
   9.267 -	;;
   9.268 -hppa*64*-*-linux*)
   9.269 -	;;
   9.270 -hppa*-*-linux*)
   9.271 -	;;
   9.272 -hppa[12]*-*-hpux10*)
   9.273 -	;;
   9.274 -hppa*64*-*-hpux11*)
   9.275 -	;;
   9.276 -hppa[12]*-*-hpux11*)
   9.277 -	;;
   9.278 -i[34567]86-*-darwin*)
   9.279 -	;;
   9.280 -x86_64-*-darwin*)
   9.281 -	tmake_file="t-darwin ${cpu_type}/t-darwin64 t-slibgcc-darwin"
   9.282 -	;;
   9.283 -i[34567]86-*-elf*)
   9.284 -	;;
   9.285 -x86_64-*-elf*)
   9.286 -	;;
   9.287 -i[34567]86-*-aout*)
   9.288 -	;;
   9.289 -i[34567]86-*-freebsd*)
   9.290 -	;;
   9.291 -x86_64-*-freebsd*)
   9.292 -	;;
   9.293 -i[34567]86-*-netbsdelf*)
   9.294 -	;;
   9.295 -i[34567]86-*-netbsd*)
   9.296 -	;;
   9.297 -x86_64-*-netbsd*)
   9.298 -	;;
   9.299 -i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123])
   9.300 -	;;
   9.301 -i[34567]86-*-openbsd*)
   9.302 -	;;
   9.303 -i[34567]86-*-coff*)
   9.304 -	;;
   9.305 -i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu)
   9.306 -	extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
   9.307 -	tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm"
   9.308 -	;;
   9.309 -x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu)
   9.310 -	extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
   9.311 -	tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm"
   9.312 -	;;
   9.313 -i[34567]86-*-gnu*)
   9.314 -	;;
   9.315 -i[34567]86-pc-msdosdjgpp*)
   9.316 -	;;
   9.317 -i[34567]86-*-lynxos*)
   9.318 -	;;
   9.319 -i[3456x]86-*-netware*)
   9.320 -	case /${with_ld} in
   9.321 -	*/nwld)
   9.322 -	 	tmake_file="${tmake_file} i386/t-nwld"
   9.323 -		;;
   9.324 -	esac
   9.325 -	;;
   9.326 -i[34567]86-*-nto-qnx*)
   9.327 -	;;
   9.328 -i[34567]86-*-rtems*)
   9.329 -	;;
   9.330 -i[34567]86-*-solaris2*)
   9.331 -	;;
   9.332 -i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae)
   9.333 -	;;
   9.334 -i[34567]86-*-pe)
   9.335 -	;;
   9.336 -i[34567]86-*-cygwin* | i[34567]86-*-mingw*)
   9.337 -	extra_parts="crtbegin.o crtend.o crtfastmath.o"
   9.338 -	tmake_file="i386/t-cygming i386/t-crtfm"
   9.339 -	;;
   9.340 -x86_64-*-mingw*)
   9.341 -	;;
   9.342 -i[34567]86-*-interix3*)
   9.343 -	;;
   9.344 -ia64*-*-elf*)
   9.345 -	extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
   9.346 -	tmake_file="ia64/t-ia64"
   9.347 -	;;
   9.348 -ia64*-*-freebsd*)
   9.349 -	;;
   9.350 -ia64*-*-linux*)
   9.351 -	extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
   9.352 -	tmake_file="ia64/t-ia64"
   9.353 -	;;
   9.354 -ia64*-*-hpux*)
   9.355 -	;;
   9.356 -iq2000*-*-elf*)
   9.357 -        ;;
   9.358 -m32r-*-elf*)
   9.359 - 	;;
   9.360 -m32rle-*-elf*)
   9.361 -	;;
   9.362 -m32r-*-linux*)
   9.363 - 	;;
   9.364 -m32rle-*-linux*)
   9.365 -	;;
   9.366 -m68hc11-*-*|m6811-*-*)
   9.367 -        ;;
   9.368 -m68hc12-*-*|m6812-*-*)
   9.369 -        ;;
   9.370 -m68k-*-aout*)
   9.371 -	;;
   9.372 -m68k-*-coff*)
   9.373 -	;;
   9.374 -m68k-*-elf*)
   9.375 -	;;
   9.376 -m68k*-*-netbsdelf*)
   9.377 -	;;
   9.378 -m68k*-*-openbsd*)
   9.379 -	;;
   9.380 -m68k-*-uclinux*)		# Motorola m68k/ColdFire running uClinux with uClibc
   9.381 -	;;
   9.382 -m68k-*-linux*)		# Motorola m68k's running GNU/Linux
   9.383 -				# with ELF format using glibc 2
   9.384 -				# aka the GNU/Linux C library 6.
   9.385 -	;;
   9.386 -m68k-*-rtems*)
   9.387 -	;;
   9.388 -mcore-*-elf)
   9.389 -	;;
   9.390 -mcore-*-pe*)
   9.391 -	;;
   9.392 -mips-sgi-irix[56]*)
   9.393 -	;;
   9.394 -mips*-*-netbsd*)			# NetBSD/mips, either endian.
   9.395 -	;;
   9.396 -mips64*-*-linux*)
   9.397 -	;;
   9.398 -mips*-*-linux*)				# Linux MIPS, either endian.
   9.399 -	;;
   9.400 -mips*-*-openbsd*)
   9.401 -	;;
   9.402 -mipsisa32-*-elf* | mipsisa32el-*-elf*)
   9.403 -	;;
   9.404 -mipsisa32r2-*-elf* | mipsisa32r2el-*-elf*)
   9.405 -	;;
   9.406 -mipsisa64-*-elf* | mipsisa64el-*-elf*)
   9.407 -	;;
   9.408 -mipsisa64sr71k-*-elf*)
   9.409 -        ;;
   9.410 -mipsisa64sb1-*-elf* | mipsisa64sb1el-*-elf*)
   9.411 -	;;
   9.412 -mips-*-elf* | mipsel-*-elf*)
   9.413 -	;;
   9.414 -mips64-*-elf* | mips64el-*-elf*)
   9.415 -	;;
   9.416 -mips64vr-*-elf* | mips64vrel-*-elf*)
   9.417 -        ;;
   9.418 -mips64orion-*-elf* | mips64orionel-*-elf*)
   9.419 -	;;
   9.420 -mips*-*-rtems*)
   9.421 -	;;
   9.422 -mips-wrs-vxworks)
   9.423 -	;;
   9.424 -mipstx39-*-elf* | mipstx39el-*-elf*)
   9.425 -	;;
   9.426 -mmix-knuth-mmixware)
   9.427 -	;;
   9.428 -mn10300-*-*)
   9.429 -	;;
   9.430 -pdp11-*-bsd)
   9.431 -        ;;
   9.432 -pdp11-*-*)
   9.433 -	;;
   9.434 -powerpc64-*-linux*)
   9.435 -	tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128"
   9.436 -	;;
   9.437 -powerpc64-*-gnu*)
   9.438 -	tmake_file="${tmake_file} rs6000/t-ldbl128"
   9.439 -	;;
   9.440 -powerpc-*-darwin*)
   9.441 -	;;
   9.442 -powerpc64-*-darwin*)
   9.443 -	;;
   9.444 -powerpc*-*-freebsd*)
   9.445 -	;;
   9.446 -powerpc-*-netbsd*)
   9.447 -	;;
   9.448 -powerpc-*-eabispe*)
   9.449 -	;;
   9.450 -powerpc-*-eabisimaltivec*)
   9.451 -	;;
   9.452 -powerpc-*-eabisim*)
   9.453 -	;;
   9.454 -powerpc-*-elf*)
   9.455 -	;;
   9.456 -powerpc-*-eabialtivec*)
   9.457 -	;;
   9.458 -powerpc-*-eabi*)
   9.459 -	;;
   9.460 -powerpc-*-rtems*)
   9.461 -	;;
   9.462 -powerpc-*-linux*altivec*)
   9.463 -	tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128"
   9.464 -	;;
   9.465 -powerpc-*-linux*spe*)
   9.466 -	tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128"
   9.467 -	;;
   9.468 -powerpc-*-linux*)
   9.469 -	tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128"
   9.470 -	;;
   9.471 -powerpc-*-gnu-gnualtivec*)
   9.472 -	tmake_file="${tmake_file} rs6000/t-ldbl128"
   9.473 -	;;
   9.474 -powerpc-*-gnu*)
   9.475 -	tmake_file="${tmake_file} rs6000/t-ldbl128"
   9.476 -	;;
   9.477 -powerpc-wrs-vxworks|powerpc-wrs-vxworksae)
   9.478 -	;;
   9.479 -powerpc-*-lynxos*)
   9.480 -	;;
   9.481 -powerpcle-*-elf*)
   9.482 -	;;
   9.483 -powerpcle-*-eabisim*)
   9.484 -	;;
   9.485 -powerpcle-*-eabi*)
   9.486 -	;;
   9.487 -rs6000-ibm-aix4.[12]* | powerpc-ibm-aix4.[12]*)
   9.488 -	;;
   9.489 -rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*)
   9.490 -	;;
   9.491 -rs6000-ibm-aix5.1.* | powerpc-ibm-aix5.1.*)
   9.492 -	;;
   9.493 -rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*)
   9.494 -	;;
   9.495 -s390-*-linux*)
   9.496 -	;;
   9.497 -s390x-*-linux*)
   9.498 -	;;
   9.499 -s390x-ibm-tpf*)
   9.500 -	;;
   9.501 -score-*-elf)
   9.502 -        ;;
   9.503 -sh-*-elf* | sh[12346l]*-*-elf* | \
   9.504 -sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \
   9.505 -  sh-*-linux* | sh[2346lbe]*-*-linux* | \
   9.506 -  sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
   9.507 -   sh64-*-netbsd* | sh64l*-*-netbsd*)
   9.508 -	case ${host} in
   9.509 -	sh*-*-linux*)
   9.510 -		tmake_file="${tmake_file} sh/t-linux"
   9.511 -		;;
   9.512 -	esac
   9.513 -	;;
   9.514 -sh-*-rtems*)
   9.515 -	;;
   9.516 -sh-wrs-vxworks)
   9.517 -	;;
   9.518 -sh-*-*)
   9.519 -	;;
   9.520 -sparc-*-netbsdelf*)
   9.521 -	;;
   9.522 -sparc64-*-openbsd*)
   9.523 -	;;
   9.524 -sparc-*-elf*)
   9.525 -	;;
   9.526 -sparc-*-linux*)		# SPARC's running GNU/Linux, libc6
   9.527 -	extra_parts="$extra_parts crtfastmath.o"
   9.528 -	tmake_file="${tmake_file} sparc/t-crtfm"
   9.529 -	;;
   9.530 -sparc-*-rtems*)
   9.531 -	;;
   9.532 -sparc64-*-solaris2* | sparcv9-*-solaris2*)
   9.533 -	;;
   9.534 -sparc-*-solaris2*)
   9.535 -	;;
   9.536 -sparc64-*-elf*)
   9.537 -	;;
   9.538 -sparc-wrs-vxworks)
   9.539 -	;;
   9.540 -sparc64-*-freebsd*|ultrasparc-*-freebsd*)
   9.541 -	;;
   9.542 -sparc64-*-linux*)		# 64-bit SPARC's running GNU/Linux
   9.543 -	extra_parts="$extra_parts crtfastmath.o"
   9.544 -	tmake_file="${tmake_file} sparc/t-crtfm"
   9.545 -	;;
   9.546 -sparc64-*-netbsd*)
   9.547 -	;;
   9.548 -spu-*-elf*)
   9.549 -	;;
   9.550 -v850e1-*-*)
   9.551 -	;;
   9.552 -v850e-*-*)
   9.553 -	;;
   9.554 -v850-*-*)
   9.555 -	;;
   9.556 -vax-*-netbsdelf*)
   9.557 -	;;
   9.558 -vax-*-netbsd*)
   9.559 -	;;
   9.560 -vax-*-openbsd*)
   9.561 -	;;
   9.562 -xstormy16-*-elf)
   9.563 -	;;
   9.564 -xtensa*-*-elf*)
   9.565 -	;;
   9.566 -xtensa*-*-linux*)
   9.567 -	;;
   9.568 -am33_2.0-*-linux*)
   9.569 -	extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
   9.570 -	;;
   9.571 -m32c-*-elf*)
   9.572 - 	;;
   9.573 -*)
   9.574 -	echo "*** Configuration ${host} not supported" 1>&2
   9.575 -	exit 1
   9.576 -	;;
   9.577 -esac
   9.578 -
   9.579 -case ${host} in
   9.580 -i[34567]86-*-linux* | x86_64-*-linux*)
   9.581 -	tmake_file="${tmake_file} t-tls"
   9.582 -	;;
   9.583 -esac
   9.584 -
   9.585 -case ${host} in
   9.586 -i[34567]86-*-darwin* | x86_64-*-darwin* | \
   9.587 -  i[34567]86-*-linux* | x86_64-*-linux*)
   9.588 -	if test "${host_address}" = 32; then
   9.589 -		tmake_file="${tmake_file} i386/${host_address}/t-fprules-softfp"
   9.590 -	fi
   9.591 -	;;
   9.592 -esac
   9.593 -
   9.594 -case ${host} in
   9.595 -i[34567]86-*-linux* | x86_64-*-linux*)
   9.596 -	# Provide backward binary compatibility for 64bit Linux/x86.
   9.597 -	if test "${host_address}" = 64; then
   9.598 -		tmake_file="${tmake_file} i386/${host_address}/t-softfp-compat"
   9.599 -	fi
   9.600 -	;;
   9.601 -esac
    10.1 --- a/scripts/sum.bc~	Wed Oct 01 11:51:50 2008 -0700
    10.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.3 @@ -1,13 +0,0 @@
    10.4 -print "benchmark summer!\n"
    10.5 -total = 0
    10.6 -while (1) {
    10.7 -  count = read()
    10.8 -  if (count == 0)
    10.9 -  {
   10.10 -    print total
   10.11 -    print "\n"
   10.12 -    break
   10.13 -  }
   10.14 -  total = total + count
   10.15 -}
   10.16 -quit
    11.1 --- a/src/binutils/configure.~1.110.~	Wed Oct 01 11:51:50 2008 -0700
    11.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.3 @@ -1,17317 +0,0 @@
    11.4 -#! /bin/sh
    11.5 -# Guess values for system-dependent variables and create Makefiles.
    11.6 -# Generated by GNU Autoconf 2.59.
    11.7 -#
    11.8 -# Copyright (C) 2003 Free Software Foundation, Inc.
    11.9 -# This configure script is free software; the Free Software Foundation
   11.10 -# gives unlimited permission to copy, distribute and modify it.
   11.11 -## --------------------- ##
   11.12 -## M4sh Initialization.  ##
   11.13 -## --------------------- ##
   11.14 -
   11.15 -# Be Bourne compatible
   11.16 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   11.17 -  emulate sh
   11.18 -  NULLCMD=:
   11.19 -  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   11.20 -  # is contrary to our usage.  Disable this feature.
   11.21 -  alias -g '${1+"$@"}'='"$@"'
   11.22 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   11.23 -  set -o posix
   11.24 -fi
   11.25 -DUALCASE=1; export DUALCASE # for MKS sh
   11.26 -
   11.27 -# Support unset when possible.
   11.28 -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   11.29 -  as_unset=unset
   11.30 -else
   11.31 -  as_unset=false
   11.32 -fi
   11.33 -
   11.34 -
   11.35 -# Work around bugs in pre-3.0 UWIN ksh.
   11.36 -$as_unset ENV MAIL MAILPATH
   11.37 -PS1='$ '
   11.38 -PS2='> '
   11.39 -PS4='+ '
   11.40 -
   11.41 -# NLS nuisances.
   11.42 -for as_var in \
   11.43 -  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   11.44 -  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   11.45 -  LC_TELEPHONE LC_TIME
   11.46 -do
   11.47 -  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   11.48 -    eval $as_var=C; export $as_var
   11.49 -  else
   11.50 -    $as_unset $as_var
   11.51 -  fi
   11.52 -done
   11.53 -
   11.54 -# Required to use basename.
   11.55 -if expr a : '\(a\)' >/dev/null 2>&1; then
   11.56 -  as_expr=expr
   11.57 -else
   11.58 -  as_expr=false
   11.59 -fi
   11.60 -
   11.61 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
   11.62 -  as_basename=basename
   11.63 -else
   11.64 -  as_basename=false
   11.65 -fi
   11.66 -
   11.67 -
   11.68 -# Name of the executable.
   11.69 -as_me=`$as_basename "$0" ||
   11.70 -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11.71 -	 X"$0" : 'X\(//\)$' \| \
   11.72 -	 X"$0" : 'X\(/\)$' \| \
   11.73 -	 .     : '\(.\)' 2>/dev/null ||
   11.74 -echo X/"$0" |
   11.75 -    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
   11.76 -  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
   11.77 -  	  /^X\/\(\/\).*/{ s//\1/; q; }
   11.78 -  	  s/.*/./; q'`
   11.79 -
   11.80 -
   11.81 -# PATH needs CR, and LINENO needs CR and PATH.
   11.82 -# Avoid depending upon Character Ranges.
   11.83 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11.84 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11.85 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11.86 -as_cr_digits='0123456789'
   11.87 -as_cr_alnum=$as_cr_Letters$as_cr_digits
   11.88 -
   11.89 -# The user is always right.
   11.90 -if test "${PATH_SEPARATOR+set}" != set; then
   11.91 -  echo "#! /bin/sh" >conf$$.sh
   11.92 -  echo  "exit 0"   >>conf$$.sh
   11.93 -  chmod +x conf$$.sh
   11.94 -  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   11.95 -    PATH_SEPARATOR=';'
   11.96 -  else
   11.97 -    PATH_SEPARATOR=:
   11.98 -  fi
   11.99 -  rm -f conf$$.sh
  11.100 -fi
  11.101 -
  11.102 -
  11.103 -  as_lineno_1=$LINENO
  11.104 -  as_lineno_2=$LINENO
  11.105 -  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  11.106 -  test "x$as_lineno_1" != "x$as_lineno_2" &&
  11.107 -  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  11.108 -  # Find who we are.  Look in the path if we contain no path at all
  11.109 -  # relative or not.
  11.110 -  case $0 in
  11.111 -    *[\\/]* ) as_myself=$0 ;;
  11.112 -    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11.113 -for as_dir in $PATH
  11.114 -do
  11.115 -  IFS=$as_save_IFS
  11.116 -  test -z "$as_dir" && as_dir=.
  11.117 -  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  11.118 -done
  11.119 -
  11.120 -       ;;
  11.121 -  esac
  11.122 -  # We did not find ourselves, most probably we were run as `sh COMMAND'
  11.123 -  # in which case we are not to be found in the path.
  11.124 -  if test "x$as_myself" = x; then
  11.125 -    as_myself=$0
  11.126 -  fi
  11.127 -  if test ! -f "$as_myself"; then
  11.128 -    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
  11.129 -   { (exit 1); exit 1; }; }
  11.130 -  fi
  11.131 -  case $CONFIG_SHELL in
  11.132 -  '')
  11.133 -    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11.134 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  11.135 -do
  11.136 -  IFS=$as_save_IFS
  11.137 -  test -z "$as_dir" && as_dir=.
  11.138 -  for as_base in sh bash ksh sh5; do
  11.139 -	 case $as_dir in
  11.140 -	 /*)
  11.141 -	   if ("$as_dir/$as_base" -c '
  11.142 -  as_lineno_1=$LINENO
  11.143 -  as_lineno_2=$LINENO
  11.144 -  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  11.145 -  test "x$as_lineno_1" != "x$as_lineno_2" &&
  11.146 -  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
  11.147 -	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  11.148 -	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  11.149 -	     CONFIG_SHELL=$as_dir/$as_base
  11.150 -	     export CONFIG_SHELL
  11.151 -	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  11.152 -	   fi;;
  11.153 -	 esac
  11.154 -       done
  11.155 -done
  11.156 -;;
  11.157 -  esac
  11.158 -
  11.159 -  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  11.160 -  # uniformly replaced by the line number.  The first 'sed' inserts a
  11.161 -  # line-number line before each line; the second 'sed' does the real
  11.162 -  # work.  The second script uses 'N' to pair each line-number line
  11.163 -  # with the numbered line, and appends trailing '-' during
  11.164 -  # substitution so that $LINENO is not a special case at line end.
  11.165 -  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  11.166 -  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  11.167 -  sed '=' <$as_myself |
  11.168 -    sed '
  11.169 -      N
  11.170 -      s,$,-,
  11.171 -      : loop
  11.172 -      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  11.173 -      t loop
  11.174 -      s,-$,,
  11.175 -      s,^['$as_cr_digits']*\n,,
  11.176 -    ' >$as_me.lineno &&
  11.177 -  chmod +x $as_me.lineno ||
  11.178 -    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  11.179 -   { (exit 1); exit 1; }; }
  11.180 -
  11.181 -  # Don't try to exec as it changes $[0], causing all sort of problems
  11.182 -  # (the dirname of $[0] is not the place where we might find the
  11.183 -  # original and so on.  Autoconf is especially sensible to this).
  11.184 -  . ./$as_me.lineno
  11.185 -  # Exit status is that of the last command.
  11.186 -  exit
  11.187 -}
  11.188 -
  11.189 -
  11.190 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  11.191 -  *c*,-n*) ECHO_N= ECHO_C='
  11.192 -' ECHO_T='	' ;;
  11.193 -  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  11.194 -  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
  11.195 -esac
  11.196 -
  11.197 -if expr a : '\(a\)' >/dev/null 2>&1; then
  11.198 -  as_expr=expr
  11.199 -else
  11.200 -  as_expr=false
  11.201 -fi
  11.202 -
  11.203 -rm -f conf$$ conf$$.exe conf$$.file
  11.204 -echo >conf$$.file
  11.205 -if ln -s conf$$.file conf$$ 2>/dev/null; then
  11.206 -  # We could just check for DJGPP; but this test a) works b) is more generic
  11.207 -  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  11.208 -  if test -f conf$$.exe; then
  11.209 -    # Don't use ln at all; we don't have any links
  11.210 -    as_ln_s='cp -p'
  11.211 -  else
  11.212 -    as_ln_s='ln -s'
  11.213 -  fi
  11.214 -elif ln conf$$.file conf$$ 2>/dev/null; then
  11.215 -  as_ln_s=ln
  11.216 -else
  11.217 -  as_ln_s='cp -p'
  11.218 -fi
  11.219 -rm -f conf$$ conf$$.exe conf$$.file
  11.220 -
  11.221 -if mkdir -p . 2>/dev/null; then
  11.222 -  as_mkdir_p=:
  11.223 -else
  11.224 -  test -d ./-p && rmdir ./-p
  11.225 -  as_mkdir_p=false
  11.226 -fi
  11.227 -
  11.228 -as_executable_p="test -f"
  11.229 -
  11.230 -# Sed expression to map a string onto a valid CPP name.
  11.231 -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  11.232 -
  11.233 -# Sed expression to map a string onto a valid variable name.
  11.234 -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  11.235 -
  11.236 -
  11.237 -# IFS
  11.238 -# We need space, tab and new line, in precisely that order.
  11.239 -as_nl='
  11.240 -'
  11.241 -IFS=" 	$as_nl"
  11.242 -
  11.243 -# CDPATH.
  11.244 -$as_unset CDPATH
  11.245 -
  11.246 -
  11.247 -
  11.248 -# Check that we are running under the correct shell.
  11.249 -SHELL=${CONFIG_SHELL-/bin/sh}
  11.250 -
  11.251 -case X$lt_ECHO in
  11.252 -X*--fallback-echo)
  11.253 -  # Remove one level of quotation (which was required for Make).
  11.254 -  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
  11.255 -  ;;
  11.256 -esac
  11.257 -
  11.258 -ECHO=${lt_ECHO-echo}
  11.259 -if test "X$1" = X--no-reexec; then
  11.260 -  # Discard the --no-reexec flag, and continue.
  11.261 -  shift
  11.262 -elif test "X$1" = X--fallback-echo; then
  11.263 -  # Avoid inline document here, it may be left over
  11.264 -  :
  11.265 -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
  11.266 -  # Yippee, $ECHO works!
  11.267 -  :
  11.268 -else
  11.269 -  # Restart under the correct shell.
  11.270 -  exec $SHELL "$0" --no-reexec ${1+"$@"}
  11.271 -fi
  11.272 -
  11.273 -if test "X$1" = X--fallback-echo; then
  11.274 -  # used as fallback echo
  11.275 -  shift
  11.276 -  cat <<_LT_EOF
  11.277 -$*
  11.278 -_LT_EOF
  11.279 -  exit 0
  11.280 -fi
  11.281 -
  11.282 -# The HP-UX ksh and POSIX shell print the target directory to stdout
  11.283 -# if CDPATH is set.
  11.284 -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  11.285 -
  11.286 -if test -z "$lt_ECHO"; then
  11.287 -  if test "X${echo_test_string+set}" != Xset; then
  11.288 -    # find a string as large as possible, as long as the shell can cope with it
  11.289 -    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  11.290 -      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  11.291 -      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
  11.292 -	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
  11.293 -      then
  11.294 -        break
  11.295 -      fi
  11.296 -    done
  11.297 -  fi
  11.298 -
  11.299 -  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  11.300 -     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  11.301 -     test "X$echo_testing_string" = "X$echo_test_string"; then
  11.302 -    :
  11.303 -  else
  11.304 -    # The Solaris, AIX, and Digital Unix default echo programs unquote
  11.305 -    # backslashes.  This makes it impossible to quote backslashes using
  11.306 -    #   echo "$something" | sed 's/\\/\\\\/g'
  11.307 -    #
  11.308 -    # So, first we look for a working echo in the user's PATH.
  11.309 -
  11.310 -    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  11.311 -    for dir in $PATH /usr/ucb; do
  11.312 -      IFS="$lt_save_ifs"
  11.313 -      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  11.314 -         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  11.315 -         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  11.316 -         test "X$echo_testing_string" = "X$echo_test_string"; then
  11.317 -        ECHO="$dir/echo"
  11.318 -        break
  11.319 -      fi
  11.320 -    done
  11.321 -    IFS="$lt_save_ifs"
  11.322 -
  11.323 -    if test "X$ECHO" = Xecho; then
  11.324 -      # We didn't find a better echo, so look for alternatives.
  11.325 -      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
  11.326 -         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
  11.327 -         test "X$echo_testing_string" = "X$echo_test_string"; then
  11.328 -        # This shell has a builtin print -r that does the trick.
  11.329 -        ECHO='print -r'
  11.330 -      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
  11.331 -	   test "X$CONFIG_SHELL" != X/bin/ksh; then
  11.332 -        # If we have ksh, try running configure again with it.
  11.333 -        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  11.334 -        export ORIGINAL_CONFIG_SHELL
  11.335 -        CONFIG_SHELL=/bin/ksh
  11.336 -        export CONFIG_SHELL
  11.337 -        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  11.338 -      else
  11.339 -        # Try using printf.
  11.340 -        ECHO='printf %s\n'
  11.341 -        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  11.342 -	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  11.343 -	   test "X$echo_testing_string" = "X$echo_test_string"; then
  11.344 -	  # Cool, printf works
  11.345 -	  :
  11.346 -        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  11.347 -	     test "X$echo_testing_string" = 'X\t' &&
  11.348 -	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  11.349 -	     test "X$echo_testing_string" = "X$echo_test_string"; then
  11.350 -	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  11.351 -	  export CONFIG_SHELL
  11.352 -	  SHELL="$CONFIG_SHELL"
  11.353 -	  export SHELL
  11.354 -	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
  11.355 -        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  11.356 -	     test "X$echo_testing_string" = 'X\t' &&
  11.357 -	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  11.358 -	     test "X$echo_testing_string" = "X$echo_test_string"; then
  11.359 -	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
  11.360 -        else
  11.361 -	  # maybe with a smaller string...
  11.362 -	  prev=:
  11.363 -
  11.364 -	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  11.365 -	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
  11.366 -	    then
  11.367 -	      break
  11.368 -	    fi
  11.369 -	    prev="$cmd"
  11.370 -	  done
  11.371 -
  11.372 -	  if test "$prev" != 'sed 50q "$0"'; then
  11.373 -	    echo_test_string=`eval $prev`
  11.374 -	    export echo_test_string
  11.375 -	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  11.376 -	  else
  11.377 -	    # Oops.  We lost completely, so just stick with echo.
  11.378 -	    ECHO=echo
  11.379 -	  fi
  11.380 -        fi
  11.381 -      fi
  11.382 -    fi
  11.383 -  fi
  11.384 -fi
  11.385 -
  11.386 -# Copy echo and quote the copy suitably for passing to libtool from
  11.387 -# the Makefile, instead of quoting the original, which is used later.
  11.388 -lt_ECHO=$ECHO
  11.389 -if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  11.390 -   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  11.391 -fi
  11.392 -
  11.393 -
  11.394 -
  11.395 -
  11.396 -# Name of the host.
  11.397 -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  11.398 -# so uname gets run too.
  11.399 -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  11.400 -
  11.401 -exec 6>&1
  11.402 -
  11.403 -#
  11.404 -# Initializations.
  11.405 -#
  11.406 -ac_default_prefix=/usr/local
  11.407 -ac_config_libobj_dir=.
  11.408 -cross_compiling=no
  11.409 -subdirs=
  11.410 -MFLAGS=
  11.411 -MAKEFLAGS=
  11.412 -SHELL=${CONFIG_SHELL-/bin/sh}
  11.413 -
  11.414 -# Maximum number of lines to put in a shell here document.
  11.415 -# This variable seems obsolete.  It should probably be removed, and
  11.416 -# only ac_max_sed_lines should be used.
  11.417 -: ${ac_max_here_lines=38}
  11.418 -
  11.419 -# Identity of this package.
  11.420 -PACKAGE_NAME=
  11.421 -PACKAGE_TARNAME=
  11.422 -PACKAGE_VERSION=
  11.423 -PACKAGE_STRING=
  11.424 -PACKAGE_BUGREPORT=
  11.425 -
  11.426 -ac_unique_file="ar.c"
  11.427 -# Factoring default headers for most tests.
  11.428 -ac_includes_default="\
  11.429 -#include <stdio.h>
  11.430 -#if HAVE_SYS_TYPES_H
  11.431 -# include <sys/types.h>
  11.432 -#endif
  11.433 -#if HAVE_SYS_STAT_H
  11.434 -# include <sys/stat.h>
  11.435 -#endif
  11.436 -#if STDC_HEADERS
  11.437 -# include <stdlib.h>
  11.438 -# include <stddef.h>
  11.439 -#else
  11.440 -# if HAVE_STDLIB_H
  11.441 -#  include <stdlib.h>
  11.442 -# endif
  11.443 -#endif
  11.444 -#if HAVE_STRING_H
  11.445 -# if !STDC_HEADERS && HAVE_MEMORY_H
  11.446 -#  include <memory.h>
  11.447 -# endif
  11.448 -# include <string.h>
  11.449 -#endif
  11.450 -#if HAVE_STRINGS_H
  11.451 -# include <strings.h>
  11.452 -#endif
  11.453 -#if HAVE_INTTYPES_H
  11.454 -# include <inttypes.h>
  11.455 -#else
  11.456 -# if HAVE_STDINT_H
  11.457 -#  include <stdint.h>
  11.458 -# endif
  11.459 -#endif
  11.460 -#if HAVE_UNISTD_H
  11.461 -# include <unistd.h>
  11.462 -#endif"
  11.463 -
  11.464 -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LIBTOOL SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S AR ac_ct_AR RANLIB ac_ct_RANLIB lt_ECHO CPP WARN_CFLAGS NO_WERROR YACC LEX LEXLIB LEX_OUTPUT_ROOT USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GENINSRC_NEVER_TRUE GENINSRC_NEVER_FALSE HDEFINES CC_FOR_BUILD EXEEXT_FOR_BUILD DEMANGLER_NAME ALLOCA LIBICONV LTLIBICONV NLMCONV_DEFS BUILD_NLMCONV BUILD_SRCONV BUILD_DLLTOOL DLLTOOL_DEFS BUILD_WINDRES BUILD_WINDMC BUILD_DLLWRAP BUILD_MISC BUILD_INSTALL_MISC OBJDUMP_DEFS EMULATION EMULATION_VECTOR datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
  11.465 -ac_subst_files=''
  11.466 -ac_pwd=`pwd`
  11.467 -
  11.468 -# Initialize some variables set by options.
  11.469 -ac_init_help=
  11.470 -ac_init_version=false
  11.471 -# The variables have the same names as the options, with
  11.472 -# dashes changed to underlines.
  11.473 -cache_file=/dev/null
  11.474 -exec_prefix=NONE
  11.475 -no_create=
  11.476 -no_recursion=
  11.477 -prefix=NONE
  11.478 -program_prefix=NONE
  11.479 -program_suffix=NONE
  11.480 -program_transform_name=s,x,x,
  11.481 -silent=
  11.482 -site=
  11.483 -srcdir=
  11.484 -verbose=
  11.485 -x_includes=NONE
  11.486 -x_libraries=NONE
  11.487 -
  11.488 -# Installation directory options.
  11.489 -# These are left unexpanded so users can "make install exec_prefix=/foo"
  11.490 -# and all the variables that are supposed to be based on exec_prefix
  11.491 -# by default will actually change.
  11.492 -# Use braces instead of parens because sh, perl, etc. also accept them.
  11.493 -bindir='${exec_prefix}/bin'
  11.494 -sbindir='${exec_prefix}/sbin'
  11.495 -libexecdir='${exec_prefix}/libexec'
  11.496 -datadir='${prefix}/share'
  11.497 -sysconfdir='${prefix}/etc'
  11.498 -sharedstatedir='${prefix}/com'
  11.499 -localstatedir='${prefix}/var'
  11.500 -libdir='${exec_prefix}/lib'
  11.501 -includedir='${prefix}/include'
  11.502 -oldincludedir='/usr/include'
  11.503 -infodir='${prefix}/info'
  11.504 -mandir='${prefix}/man'
  11.505 -
  11.506 -ac_prev=
  11.507 -for ac_option
  11.508 -do
  11.509 -  # If the previous option needs an argument, assign it.
  11.510 -  if test -n "$ac_prev"; then
  11.511 -    eval "$ac_prev=\$ac_option"
  11.512 -    ac_prev=
  11.513 -    continue
  11.514 -  fi
  11.515 -
  11.516 -  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  11.517 -
  11.518 -  # Accept the important Cygnus configure options, so we can diagnose typos.
  11.519 -
  11.520 -  case $ac_option in
  11.521 -
  11.522 -  -bindir | --bindir | --bindi | --bind | --bin | --bi)
  11.523 -    ac_prev=bindir ;;
  11.524 -  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  11.525 -    bindir=$ac_optarg ;;
  11.526 -
  11.527 -  -build | --build | --buil | --bui | --bu)
  11.528 -    ac_prev=build_alias ;;
  11.529 -  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  11.530 -    build_alias=$ac_optarg ;;
  11.531 -
  11.532 -  -cache-file | --cache-file | --cache-fil | --cache-fi \
  11.533 -  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  11.534 -    ac_prev=cache_file ;;
  11.535 -  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  11.536 -  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  11.537 -    cache_file=$ac_optarg ;;
  11.538 -
  11.539 -  --config-cache | -C)
  11.540 -    cache_file=config.cache ;;
  11.541 -
  11.542 -  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  11.543 -    ac_prev=datadir ;;
  11.544 -  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  11.545 -  | --da=*)
  11.546 -    datadir=$ac_optarg ;;
  11.547 -
  11.548 -  -disable-* | --disable-*)
  11.549 -    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  11.550 -    # Reject names that are not valid shell variable names.
  11.551 -    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  11.552 -      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  11.553 -   { (exit 1); exit 1; }; }
  11.554 -    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  11.555 -    eval "enable_$ac_feature=no" ;;
  11.556 -
  11.557 -  -enable-* | --enable-*)
  11.558 -    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  11.559 -    # Reject names that are not valid shell variable names.
  11.560 -    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  11.561 -      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  11.562 -   { (exit 1); exit 1; }; }
  11.563 -    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  11.564 -    case $ac_option in
  11.565 -      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  11.566 -      *) ac_optarg=yes ;;
  11.567 -    esac
  11.568 -    eval "enable_$ac_feature='$ac_optarg'" ;;
  11.569 -
  11.570 -  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  11.571 -  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  11.572 -  | --exec | --exe | --ex)
  11.573 -    ac_prev=exec_prefix ;;
  11.574 -  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  11.575 -  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  11.576 -  | --exec=* | --exe=* | --ex=*)
  11.577 -    exec_prefix=$ac_optarg ;;
  11.578 -
  11.579 -  -gas | --gas | --ga | --g)
  11.580 -    # Obsolete; use --with-gas.
  11.581 -    with_gas=yes ;;
  11.582 -
  11.583 -  -help | --help | --hel | --he | -h)
  11.584 -    ac_init_help=long ;;
  11.585 -  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  11.586 -    ac_init_help=recursive ;;
  11.587 -  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  11.588 -    ac_init_help=short ;;
  11.589 -
  11.590 -  -host | --host | --hos | --ho)
  11.591 -    ac_prev=host_alias ;;
  11.592 -  -host=* | --host=* | --hos=* | --ho=*)
  11.593 -    host_alias=$ac_optarg ;;
  11.594 -
  11.595 -  -includedir | --includedir | --includedi | --included | --include \
  11.596 -  | --includ | --inclu | --incl | --inc)
  11.597 -    ac_prev=includedir ;;
  11.598 -  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  11.599 -  | --includ=* | --inclu=* | --incl=* | --inc=*)
  11.600 -    includedir=$ac_optarg ;;
  11.601 -
  11.602 -  -infodir | --infodir | --infodi | --infod | --info | --inf)
  11.603 -    ac_prev=infodir ;;
  11.604 -  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  11.605 -    infodir=$ac_optarg ;;
  11.606 -
  11.607 -  -libdir | --libdir | --libdi | --libd)
  11.608 -    ac_prev=libdir ;;
  11.609 -  -libdir=* | --libdir=* | --libdi=* | --libd=*)
  11.610 -    libdir=$ac_optarg ;;
  11.611 -
  11.612 -  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  11.613 -  | --libexe | --libex | --libe)
  11.614 -    ac_prev=libexecdir ;;
  11.615 -  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  11.616 -  | --libexe=* | --libex=* | --libe=*)
  11.617 -    libexecdir=$ac_optarg ;;
  11.618 -
  11.619 -  -localstatedir | --localstatedir | --localstatedi | --localstated \
  11.620 -  | --localstate | --localstat | --localsta | --localst \
  11.621 -  | --locals | --local | --loca | --loc | --lo)
  11.622 -    ac_prev=localstatedir ;;
  11.623 -  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  11.624 -  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  11.625 -  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  11.626 -    localstatedir=$ac_optarg ;;
  11.627 -
  11.628 -  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  11.629 -    ac_prev=mandir ;;
  11.630 -  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  11.631 -    mandir=$ac_optarg ;;
  11.632 -
  11.633 -  -nfp | --nfp | --nf)
  11.634 -    # Obsolete; use --without-fp.
  11.635 -    with_fp=no ;;
  11.636 -
  11.637 -  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  11.638 -  | --no-cr | --no-c | -n)
  11.639 -    no_create=yes ;;
  11.640 -
  11.641 -  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  11.642 -  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  11.643 -    no_recursion=yes ;;
  11.644 -
  11.645 -  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  11.646 -  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  11.647 -  | --oldin | --oldi | --old | --ol | --o)
  11.648 -    ac_prev=oldincludedir ;;
  11.649 -  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  11.650 -  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  11.651 -  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  11.652 -    oldincludedir=$ac_optarg ;;
  11.653 -
  11.654 -  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  11.655 -    ac_prev=prefix ;;
  11.656 -  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  11.657 -    prefix=$ac_optarg ;;
  11.658 -
  11.659 -  -program-prefix | --program-prefix | --program-prefi | --program-pref \
  11.660 -  | --program-pre | --program-pr | --program-p)
  11.661 -    ac_prev=program_prefix ;;
  11.662 -  -program-prefix=* | --program-prefix=* | --program-prefi=* \
  11.663 -  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  11.664 -    program_prefix=$ac_optarg ;;
  11.665 -
  11.666 -  -program-suffix | --program-suffix | --program-suffi | --program-suff \
  11.667 -  | --program-suf | --program-su | --program-s)
  11.668 -    ac_prev=program_suffix ;;
  11.669 -  -program-suffix=* | --program-suffix=* | --program-suffi=* \
  11.670 -  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  11.671 -    program_suffix=$ac_optarg ;;
  11.672 -
  11.673 -  -program-transform-name | --program-transform-name \
  11.674 -  | --program-transform-nam | --program-transform-na \
  11.675 -  | --program-transform-n | --program-transform- \
  11.676 -  | --program-transform | --program-transfor \
  11.677 -  | --program-transfo | --program-transf \
  11.678 -  | --program-trans | --program-tran \
  11.679 -  | --progr-tra | --program-tr | --program-t)
  11.680 -    ac_prev=program_transform_name ;;
  11.681 -  -program-transform-name=* | --program-transform-name=* \
  11.682 -  | --program-transform-nam=* | --program-transform-na=* \
  11.683 -  | --program-transform-n=* | --program-transform-=* \
  11.684 -  | --program-transform=* | --program-transfor=* \
  11.685 -  | --program-transfo=* | --program-transf=* \
  11.686 -  | --program-trans=* | --program-tran=* \
  11.687 -  | --progr-tra=* | --program-tr=* | --program-t=*)
  11.688 -    program_transform_name=$ac_optarg ;;
  11.689 -
  11.690 -  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  11.691 -  | -silent | --silent | --silen | --sile | --sil)
  11.692 -    silent=yes ;;
  11.693 -
  11.694 -  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  11.695 -    ac_prev=sbindir ;;
  11.696 -  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  11.697 -  | --sbi=* | --sb=*)
  11.698 -    sbindir=$ac_optarg ;;
  11.699 -
  11.700 -  -sharedstatedir | --sharedstatedir | --sharedstatedi \
  11.701 -  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  11.702 -  | --sharedst | --shareds | --shared | --share | --shar \
  11.703 -  | --sha | --sh)
  11.704 -    ac_prev=sharedstatedir ;;
  11.705 -  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  11.706 -  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  11.707 -  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  11.708 -  | --sha=* | --sh=*)
  11.709 -    sharedstatedir=$ac_optarg ;;
  11.710 -
  11.711 -  -site | --site | --sit)
  11.712 -    ac_prev=site ;;
  11.713 -  -site=* | --site=* | --sit=*)
  11.714 -    site=$ac_optarg ;;
  11.715 -
  11.716 -  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  11.717 -    ac_prev=srcdir ;;
  11.718 -  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  11.719 -    srcdir=$ac_optarg ;;
  11.720 -
  11.721 -  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  11.722 -  | --syscon | --sysco | --sysc | --sys | --sy)
  11.723 -    ac_prev=sysconfdir ;;
  11.724 -  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  11.725 -  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  11.726 -    sysconfdir=$ac_optarg ;;
  11.727 -
  11.728 -  -target | --target | --targe | --targ | --tar | --ta | --t)
  11.729 -    ac_prev=target_alias ;;
  11.730 -  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  11.731 -    target_alias=$ac_optarg ;;
  11.732 -
  11.733 -  -v | -verbose | --verbose | --verbos | --verbo | --verb)
  11.734 -    verbose=yes ;;
  11.735 -
  11.736 -  -version | --version | --versio | --versi | --vers | -V)
  11.737 -    ac_init_version=: ;;
  11.738 -
  11.739 -  -with-* | --with-*)
  11.740 -    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  11.741 -    # Reject names that are not valid shell variable names.
  11.742 -    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  11.743 -      { echo "$as_me: error: invalid package name: $ac_package" >&2
  11.744 -   { (exit 1); exit 1; }; }
  11.745 -    ac_package=`echo $ac_package| sed 's/-/_/g'`
  11.746 -    case $ac_option in
  11.747 -      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  11.748 -      *) ac_optarg=yes ;;
  11.749 -    esac
  11.750 -    eval "with_$ac_package='$ac_optarg'" ;;
  11.751 -
  11.752 -  -without-* | --without-*)
  11.753 -    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  11.754 -    # Reject names that are not valid shell variable names.
  11.755 -    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  11.756 -      { echo "$as_me: error: invalid package name: $ac_package" >&2
  11.757 -   { (exit 1); exit 1; }; }
  11.758 -    ac_package=`echo $ac_package | sed 's/-/_/g'`
  11.759 -    eval "with_$ac_package=no" ;;
  11.760 -
  11.761 -  --x)
  11.762 -    # Obsolete; use --with-x.
  11.763 -    with_x=yes ;;
  11.764 -
  11.765 -  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  11.766 -  | --x-incl | --x-inc | --x-in | --x-i)
  11.767 -    ac_prev=x_includes ;;
  11.768 -  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  11.769 -  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  11.770 -    x_includes=$ac_optarg ;;
  11.771 -
  11.772 -  -x-libraries | --x-libraries | --x-librarie | --x-librari \
  11.773 -  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  11.774 -    ac_prev=x_libraries ;;
  11.775 -  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  11.776 -  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  11.777 -    x_libraries=$ac_optarg ;;
  11.778 -
  11.779 -  -*) { echo "$as_me: error: unrecognized option: $ac_option
  11.780 -Try \`$0 --help' for more information." >&2
  11.781 -   { (exit 1); exit 1; }; }
  11.782 -    ;;
  11.783 -
  11.784 -  *=*)
  11.785 -    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  11.786 -    # Reject names that are not valid shell variable names.
  11.787 -    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  11.788 -      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  11.789 -   { (exit 1); exit 1; }; }
  11.790 -    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  11.791 -    eval "$ac_envvar='$ac_optarg'"
  11.792 -    export $ac_envvar ;;
  11.793 -
  11.794 -  *)
  11.795 -    # FIXME: should be removed in autoconf 3.0.
  11.796 -    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  11.797 -    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  11.798 -      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  11.799 -    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  11.800 -    ;;
  11.801 -
  11.802 -  esac
  11.803 -done
  11.804 -
  11.805 -if test -n "$ac_prev"; then
  11.806 -  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  11.807 -  { echo "$as_me: error: missing argument to $ac_option" >&2
  11.808 -   { (exit 1); exit 1; }; }
  11.809 -fi
  11.810 -
  11.811 -# Be sure to have absolute paths.
  11.812 -for ac_var in exec_prefix prefix
  11.813 -do
  11.814 -  eval ac_val=$`echo $ac_var`
  11.815 -  case $ac_val in
  11.816 -    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  11.817 -    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  11.818 -   { (exit 1); exit 1; }; };;
  11.819 -  esac
  11.820 -done
  11.821 -
  11.822 -# Be sure to have absolute paths.
  11.823 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  11.824 -	      localstatedir libdir includedir oldincludedir infodir mandir
  11.825 -do
  11.826 -  eval ac_val=$`echo $ac_var`
  11.827 -  case $ac_val in
  11.828 -    [\\/$]* | ?:[\\/]* ) ;;
  11.829 -    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  11.830 -   { (exit 1); exit 1; }; };;
  11.831 -  esac
  11.832 -done
  11.833 -
  11.834 -# There might be people who depend on the old broken behavior: `$host'
  11.835 -# used to hold the argument of --host etc.
  11.836 -# FIXME: To remove some day.
  11.837 -build=$build_alias
  11.838 -host=$host_alias
  11.839 -target=$target_alias
  11.840 -
  11.841 -# FIXME: To remove some day.
  11.842 -if test "x$host_alias" != x; then
  11.843 -  if test "x$build_alias" = x; then
  11.844 -    cross_compiling=maybe
  11.845 -    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  11.846 -    If a cross compiler is detected then cross compile mode will be used." >&2
  11.847 -  elif test "x$build_alias" != "x$host_alias"; then
  11.848 -    cross_compiling=yes
  11.849 -  fi
  11.850 -fi
  11.851 -
  11.852 -ac_tool_prefix=
  11.853 -test -n "$host_alias" && ac_tool_prefix=$host_alias-
  11.854 -
  11.855 -test "$silent" = yes && exec 6>/dev/null
  11.856 -
  11.857 -
  11.858 -# Find the source files, if location was not specified.
  11.859 -if test -z "$srcdir"; then
  11.860 -  ac_srcdir_defaulted=yes
  11.861 -  # Try the directory containing this script, then its parent.
  11.862 -  ac_confdir=`(dirname "$0") 2>/dev/null ||
  11.863 -$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  11.864 -	 X"$0" : 'X\(//\)[^/]' \| \
  11.865 -	 X"$0" : 'X\(//\)$' \| \
  11.866 -	 X"$0" : 'X\(/\)' \| \
  11.867 -	 .     : '\(.\)' 2>/dev/null ||
  11.868 -echo X"$0" |
  11.869 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  11.870 -  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  11.871 -  	  /^X\(\/\/\)$/{ s//\1/; q; }
  11.872 -  	  /^X\(\/\).*/{ s//\1/; q; }
  11.873 -  	  s/.*/./; q'`
  11.874 -  srcdir=$ac_confdir
  11.875 -  if test ! -r $srcdir/$ac_unique_file; then
  11.876 -    srcdir=..
  11.877 -  fi
  11.878 -else
  11.879 -  ac_srcdir_defaulted=no
  11.880 -fi
  11.881 -if test ! -r $srcdir/$ac_unique_file; then
  11.882 -  if test "$ac_srcdir_defaulted" = yes; then
  11.883 -    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  11.884 -   { (exit 1); exit 1; }; }
  11.885 -  else
  11.886 -    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  11.887 -   { (exit 1); exit 1; }; }
  11.888 -  fi
  11.889 -fi
  11.890 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  11.891 -  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
  11.892 -   { (exit 1); exit 1; }; }
  11.893 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  11.894 -ac_env_build_alias_set=${build_alias+set}
  11.895 -ac_env_build_alias_value=$build_alias
  11.896 -ac_cv_env_build_alias_set=${build_alias+set}
  11.897 -ac_cv_env_build_alias_value=$build_alias
  11.898 -ac_env_host_alias_set=${host_alias+set}
  11.899 -ac_env_host_alias_value=$host_alias
  11.900 -ac_cv_env_host_alias_set=${host_alias+set}
  11.901 -ac_cv_env_host_alias_value=$host_alias
  11.902 -ac_env_target_alias_set=${target_alias+set}
  11.903 -ac_env_target_alias_value=$target_alias
  11.904 -ac_cv_env_target_alias_set=${target_alias+set}
  11.905 -ac_cv_env_target_alias_value=$target_alias
  11.906 -ac_env_CC_set=${CC+set}
  11.907 -ac_env_CC_value=$CC
  11.908 -ac_cv_env_CC_set=${CC+set}
  11.909 -ac_cv_env_CC_value=$CC
  11.910 -ac_env_CFLAGS_set=${CFLAGS+set}
  11.911 -ac_env_CFLAGS_value=$CFLAGS
  11.912 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
  11.913 -ac_cv_env_CFLAGS_value=$CFLAGS
  11.914 -ac_env_LDFLAGS_set=${LDFLAGS+set}
  11.915 -ac_env_LDFLAGS_value=$LDFLAGS
  11.916 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
  11.917 -ac_cv_env_LDFLAGS_value=$LDFLAGS
  11.918 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
  11.919 -ac_env_CPPFLAGS_value=$CPPFLAGS
  11.920 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
  11.921 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
  11.922 -ac_env_CPP_set=${CPP+set}
  11.923 -ac_env_CPP_value=$CPP
  11.924 -ac_cv_env_CPP_set=${CPP+set}
  11.925 -ac_cv_env_CPP_value=$CPP
  11.926 -
  11.927 -#
  11.928 -# Report the --help message.
  11.929 -#
  11.930 -if test "$ac_init_help" = "long"; then
  11.931 -  # Omit some internal or obsolete options to make the list less imposing.
  11.932 -  # This message is too long to be a string in the A/UX 3.1 sh.
  11.933 -  cat <<_ACEOF
  11.934 -\`configure' configures this package to adapt to many kinds of systems.
  11.935 -
  11.936 -Usage: $0 [OPTION]... [VAR=VALUE]...
  11.937 -
  11.938 -To assign environment variables (e.g., CC, CFLAGS...), specify them as
  11.939 -VAR=VALUE.  See below for descriptions of some of the useful variables.
  11.940 -
  11.941 -Defaults for the options are specified in brackets.
  11.942 -
  11.943 -Configuration:
  11.944 -  -h, --help              display this help and exit
  11.945 -      --help=short        display options specific to this package
  11.946 -      --help=recursive    display the short help of all the included packages
  11.947 -  -V, --version           display version information and exit
  11.948 -  -q, --quiet, --silent   do not print \`checking...' messages
  11.949 -      --cache-file=FILE   cache test results in FILE [disabled]
  11.950 -  -C, --config-cache      alias for \`--cache-file=config.cache'
  11.951 -  -n, --no-create         do not create output files
  11.952 -      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  11.953 -
  11.954 -_ACEOF
  11.955 -
  11.956 -  cat <<_ACEOF
  11.957 -Installation directories:
  11.958 -  --prefix=PREFIX         install architecture-independent files in PREFIX
  11.959 -			  [$ac_default_prefix]
  11.960 -  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  11.961 -			  [PREFIX]
  11.962 -
  11.963 -By default, \`make install' will install all the files in
  11.964 -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  11.965 -an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  11.966 -for instance \`--prefix=\$HOME'.
  11.967 -
  11.968 -For better control, use the options below.
  11.969 -
  11.970 -Fine tuning of the installation directories:
  11.971 -  --bindir=DIR           user executables [EPREFIX/bin]
  11.972 -  --sbindir=DIR          system admin executables [EPREFIX/sbin]
  11.973 -  --libexecdir=DIR       program executables [EPREFIX/libexec]
  11.974 -  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
  11.975 -  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  11.976 -  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  11.977 -  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  11.978 -  --libdir=DIR           object code libraries [EPREFIX/lib]
  11.979 -  --includedir=DIR       C header files [PREFIX/include]
  11.980 -  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  11.981 -  --infodir=DIR          info documentation [PREFIX/info]
  11.982 -  --mandir=DIR           man documentation [PREFIX/man]
  11.983 -_ACEOF
  11.984 -
  11.985 -  cat <<\_ACEOF
  11.986 -
  11.987 -Program names:
  11.988 -  --program-prefix=PREFIX            prepend PREFIX to installed program names
  11.989 -  --program-suffix=SUFFIX            append SUFFIX to installed program names
  11.990 -  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  11.991 -
  11.992 -System types:
  11.993 -  --build=BUILD     configure for building on BUILD [guessed]
  11.994 -  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  11.995 -  --target=TARGET   configure for building compilers for TARGET [HOST]
  11.996 -_ACEOF
  11.997 -fi
  11.998 -
  11.999 -if test -n "$ac_init_help"; then
 11.1000 -
 11.1001 -  cat <<\_ACEOF
 11.1002 -
 11.1003 -Optional Features:
 11.1004 -  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 11.1005 -  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 11.1006 -  --disable-dependency-tracking  speeds up one-time build
 11.1007 -  --enable-dependency-tracking   do not reject slow dependency extractors
 11.1008 -  --enable-shared[=PKGS]
 11.1009 -                          build shared libraries [default=yes]
 11.1010 -  --enable-static[=PKGS]
 11.1011 -                          build static libraries [default=yes]
 11.1012 -  --enable-fast-install[=PKGS]
 11.1013 -                          optimize for fast installation [default=yes]
 11.1014 -  --disable-libtool-lock  avoid locking (might break parallel builds)
 11.1015 -  --enable-targets        alternative target configurations
 11.1016 -  --enable-commonbfdlib   build shared BFD/opcodes/libiberty library
 11.1017 -  --enable-werror         treat compile warnings as errors
 11.1018 -  --enable-build-warnings enable build-time compiler warnings
 11.1019 -  --disable-nls           do not use Native Language Support
 11.1020 -  --enable-maintainer-mode  enable make rules and dependencies not useful
 11.1021 -			  (and sometimes confusing) to the casual installer
 11.1022 -  --disable-rpath         do not hardcode runtime library paths
 11.1023 -
 11.1024 -Optional Packages:
 11.1025 -  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 11.1026 -  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 11.1027 -  --with-pic              try to use only PIC/non-PIC objects [default=use
 11.1028 -                          both]
 11.1029 -  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 11.1030 -  --with-gnu-ld           assume the C compiler uses GNU ld default=no
 11.1031 -  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
 11.1032 -  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
 11.1033 -
 11.1034 -Some influential environment variables:
 11.1035 -  CC          C compiler command
 11.1036 -  CFLAGS      C compiler flags
 11.1037 -  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 11.1038 -              nonstandard directory <lib dir>
 11.1039 -  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
 11.1040 -              headers in a nonstandard directory <include dir>
 11.1041 -  CPP         C preprocessor
 11.1042 -
 11.1043 -Use these variables to override the choices made by `configure' or to help
 11.1044 -it to find libraries and programs with nonstandard names/locations.
 11.1045 -
 11.1046 -_ACEOF
 11.1047 -fi
 11.1048 -
 11.1049 -if test "$ac_init_help" = "recursive"; then
 11.1050 -  # If there are subdirs, report their specific --help.
 11.1051 -  ac_popdir=`pwd`
 11.1052 -  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 11.1053 -    test -d $ac_dir || continue
 11.1054 -    ac_builddir=.
 11.1055 -
 11.1056 -if test "$ac_dir" != .; then
 11.1057 -  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 11.1058 -  # A "../" for each directory in $ac_dir_suffix.
 11.1059 -  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 11.1060 -else
 11.1061 -  ac_dir_suffix= ac_top_builddir=
 11.1062 -fi
 11.1063 -
 11.1064 -case $srcdir in
 11.1065 -  .)  # No --srcdir option.  We are building in place.
 11.1066 -    ac_srcdir=.
 11.1067 -    if test -z "$ac_top_builddir"; then
 11.1068 -       ac_top_srcdir=.
 11.1069 -    else
 11.1070 -       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 11.1071 -    fi ;;
 11.1072 -  [\\/]* | ?:[\\/]* )  # Absolute path.
 11.1073 -    ac_srcdir=$srcdir$ac_dir_suffix;
 11.1074 -    ac_top_srcdir=$srcdir ;;
 11.1075 -  *) # Relative path.
 11.1076 -    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 11.1077 -    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 11.1078 -esac
 11.1079 -
 11.1080 -# Do not use `cd foo && pwd` to compute absolute paths, because
 11.1081 -# the directories may not exist.
 11.1082 -case `pwd` in
 11.1083 -.) ac_abs_builddir="$ac_dir";;
 11.1084 -*)
 11.1085 -  case "$ac_dir" in
 11.1086 -  .) ac_abs_builddir=`pwd`;;
 11.1087 -  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 11.1088 -  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 11.1089 -  esac;;
 11.1090 -esac
 11.1091 -case $ac_abs_builddir in
 11.1092 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
 11.1093 -*)
 11.1094 -  case ${ac_top_builddir}. in
 11.1095 -  .) ac_abs_top_builddir=$ac_abs_builddir;;
 11.1096 -  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 11.1097 -  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 11.1098 -  esac;;
 11.1099 -esac
 11.1100 -case $ac_abs_builddir in
 11.1101 -.) ac_abs_srcdir=$ac_srcdir;;
 11.1102 -*)
 11.1103 -  case $ac_srcdir in
 11.1104 -  .) ac_abs_srcdir=$ac_abs_builddir;;
 11.1105 -  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 11.1106 -  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 11.1107 -  esac;;
 11.1108 -esac
 11.1109 -case $ac_abs_builddir in
 11.1110 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
 11.1111 -*)
 11.1112 -  case $ac_top_srcdir in
 11.1113 -  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 11.1114 -  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 11.1115 -  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 11.1116 -  esac;;
 11.1117 -esac
 11.1118 -
 11.1119 -    cd $ac_dir
 11.1120 -    # Check for guested configure; otherwise get Cygnus style configure.
 11.1121 -    if test -f $ac_srcdir/configure.gnu; then
 11.1122 -      echo
 11.1123 -      $SHELL $ac_srcdir/configure.gnu  --help=recursive
 11.1124 -    elif test -f $ac_srcdir/configure; then
 11.1125 -      echo
 11.1126 -      $SHELL $ac_srcdir/configure  --help=recursive
 11.1127 -    elif test -f $ac_srcdir/configure.ac ||
 11.1128 -	   test -f $ac_srcdir/configure.in; then
 11.1129 -      echo
 11.1130 -      $ac_configure --help
 11.1131 -    else
 11.1132 -      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 11.1133 -    fi
 11.1134 -    cd "$ac_popdir"
 11.1135 -  done
 11.1136 -fi
 11.1137 -
 11.1138 -test -n "$ac_init_help" && exit 0
 11.1139 -if $ac_init_version; then
 11.1140 -  cat <<\_ACEOF
 11.1141 -
 11.1142 -Copyright (C) 2003 Free Software Foundation, Inc.
 11.1143 -This configure script is free software; the Free Software Foundation
 11.1144 -gives unlimited permission to copy, distribute and modify it.
 11.1145 -_ACEOF
 11.1146 -  exit 0
 11.1147 -fi
 11.1148 -exec 5>config.log
 11.1149 -cat >&5 <<_ACEOF
 11.1150 -This file contains any messages produced by compilers while
 11.1151 -running configure, to aid debugging if configure makes a mistake.
 11.1152 -
 11.1153 -It was created by $as_me, which was
 11.1154 -generated by GNU Autoconf 2.59.  Invocation command line was
 11.1155 -
 11.1156 -  $ $0 $@
 11.1157 -
 11.1158 -_ACEOF
 11.1159 -{
 11.1160 -cat <<_ASUNAME
 11.1161 -## --------- ##
 11.1162 -## Platform. ##
 11.1163 -## --------- ##
 11.1164 -
 11.1165 -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 11.1166 -uname -m = `(uname -m) 2>/dev/null || echo unknown`
 11.1167 -uname -r = `(uname -r) 2>/dev/null || echo unknown`
 11.1168 -uname -s = `(uname -s) 2>/dev/null || echo unknown`
 11.1169 -uname -v = `(uname -v) 2>/dev/null || echo unknown`
 11.1170 -
 11.1171 -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 11.1172 -/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 11.1173 -
 11.1174 -/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 11.1175 -/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 11.1176 -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 11.1177 -hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 11.1178 -/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 11.1179 -/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 11.1180 -/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 11.1181 -
 11.1182 -_ASUNAME
 11.1183 -
 11.1184 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11.1185 -for as_dir in $PATH
 11.1186 -do
 11.1187 -  IFS=$as_save_IFS
 11.1188 -  test -z "$as_dir" && as_dir=.
 11.1189 -  echo "PATH: $as_dir"
 11.1190 -done
 11.1191 -
 11.1192 -} >&5
 11.1193 -
 11.1194 -cat >&5 <<_ACEOF
 11.1195 -
 11.1196 -
 11.1197 -## ----------- ##
 11.1198 -## Core tests. ##
 11.1199 -## ----------- ##
 11.1200 -
 11.1201 -_ACEOF
 11.1202 -
 11.1203 -
 11.1204 -# Keep a trace of the command line.
 11.1205 -# Strip out --no-create and --no-recursion so they do not pile up.
 11.1206 -# Strip out --silent because we don't want to record it for future runs.
 11.1207 -# Also quote any args containing shell meta-characters.
 11.1208 -# Make two passes to allow for proper duplicate-argument suppression.
 11.1209 -ac_configure_args=
 11.1210 -ac_configure_args0=
 11.1211 -ac_configure_args1=
 11.1212 -ac_sep=
 11.1213 -ac_must_keep_next=false
 11.1214 -for ac_pass in 1 2
 11.1215 -do
 11.1216 -  for ac_arg
 11.1217 -  do
 11.1218 -    case $ac_arg in
 11.1219 -    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 11.1220 -    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 11.1221 -    | -silent | --silent | --silen | --sile | --sil)
 11.1222 -      continue ;;
 11.1223 -    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 11.1224 -      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 11.1225 -    esac
 11.1226 -    case $ac_pass in
 11.1227 -    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 11.1228 -    2)
 11.1229 -      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 11.1230 -      if test $ac_must_keep_next = true; then
 11.1231 -	ac_must_keep_next=false # Got value, back to normal.
 11.1232 -      else
 11.1233 -	case $ac_arg in
 11.1234 -	  *=* | --config-cache | -C | -disable-* | --disable-* \
 11.1235 -	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 11.1236 -	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 11.1237 -	  | -with-* | --with-* | -without-* | --without-* | --x)
 11.1238 -	    case "$ac_configure_args0 " in
 11.1239 -	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 11.1240 -	    esac
 11.1241 -	    ;;
 11.1242 -	  -* ) ac_must_keep_next=true ;;
 11.1243 -	esac
 11.1244 -      fi
 11.1245 -      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 11.1246 -      # Get rid of the leading space.
 11.1247 -      ac_sep=" "
 11.1248 -      ;;
 11.1249 -    esac
 11.1250 -  done
 11.1251 -done
 11.1252 -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 11.1253 -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 11.1254 -
 11.1255 -# When interrupted or exit'd, cleanup temporary files, and complete
 11.1256 -# config.log.  We remove comments because anyway the quotes in there
 11.1257 -# would cause problems or look ugly.
 11.1258 -# WARNING: Be sure not to use single quotes in there, as some shells,
 11.1259 -# such as our DU 5.0 friend, will then `close' the trap.
 11.1260 -trap 'exit_status=$?
 11.1261 -  # Save into config.log some information that might help in debugging.
 11.1262 -  {
 11.1263 -    echo
 11.1264 -
 11.1265 -    cat <<\_ASBOX
 11.1266 -## ---------------- ##
 11.1267 -## Cache variables. ##
 11.1268 -## ---------------- ##
 11.1269 -_ASBOX
 11.1270 -    echo
 11.1271 -    # The following way of writing the cache mishandles newlines in values,
 11.1272 -{
 11.1273 -  (set) 2>&1 |
 11.1274 -    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
 11.1275 -    *ac_space=\ *)
 11.1276 -      sed -n \
 11.1277 -	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 11.1278 -	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 11.1279 -      ;;
 11.1280 -    *)
 11.1281 -      sed -n \
 11.1282 -	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 11.1283 -      ;;
 11.1284 -    esac;
 11.1285 -}
 11.1286 -    echo
 11.1287 -
 11.1288 -    cat <<\_ASBOX
 11.1289 -## ----------------- ##
 11.1290 -## Output variables. ##
 11.1291 -## ----------------- ##
 11.1292 -_ASBOX
 11.1293 -    echo
 11.1294 -    for ac_var in $ac_subst_vars
 11.1295 -    do
 11.1296 -      eval ac_val=$`echo $ac_var`
 11.1297 -      echo "$ac_var='"'"'$ac_val'"'"'"
 11.1298 -    done | sort
 11.1299 -    echo
 11.1300 -
 11.1301 -    if test -n "$ac_subst_files"; then
 11.1302 -      cat <<\_ASBOX
 11.1303 -## ------------- ##
 11.1304 -## Output files. ##
 11.1305 -## ------------- ##
 11.1306 -_ASBOX
 11.1307 -      echo
 11.1308 -      for ac_var in $ac_subst_files
 11.1309 -      do
 11.1310 -	eval ac_val=$`echo $ac_var`
 11.1311 -	echo "$ac_var='"'"'$ac_val'"'"'"
 11.1312 -      done | sort
 11.1313 -      echo
 11.1314 -    fi
 11.1315 -
 11.1316 -    if test -s confdefs.h; then
 11.1317 -      cat <<\_ASBOX
 11.1318 -## ----------- ##
 11.1319 -## confdefs.h. ##
 11.1320 -## ----------- ##
 11.1321 -_ASBOX
 11.1322 -      echo
 11.1323 -      sed "/^$/d" confdefs.h | sort
 11.1324 -      echo
 11.1325 -    fi
 11.1326 -    test "$ac_signal" != 0 &&
 11.1327 -      echo "$as_me: caught signal $ac_signal"
 11.1328 -    echo "$as_me: exit $exit_status"
 11.1329 -  } >&5
 11.1330 -  rm -f core *.core &&
 11.1331 -  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 11.1332 -    exit $exit_status
 11.1333 -     ' 0
 11.1334 -for ac_signal in 1 2 13 15; do
 11.1335 -  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 11.1336 -done
 11.1337 -ac_signal=0
 11.1338 -
 11.1339 -# confdefs.h avoids OS command line length limits that DEFS can exceed.
 11.1340 -rm -rf conftest* confdefs.h
 11.1341 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
 11.1342 -echo >confdefs.h
 11.1343 -
 11.1344 -# Predefined preprocessor variables.
 11.1345 -
 11.1346 -cat >>confdefs.h <<_ACEOF
 11.1347 -#define PACKAGE_NAME "$PACKAGE_NAME"
 11.1348 -_ACEOF
 11.1349 -
 11.1350 -
 11.1351 -cat >>confdefs.h <<_ACEOF
 11.1352 -#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 11.1353 -_ACEOF
 11.1354 -
 11.1355 -
 11.1356 -cat >>confdefs.h <<_ACEOF
 11.1357 -#define PACKAGE_VERSION "$PACKAGE_VERSION"
 11.1358 -_ACEOF
 11.1359 -
 11.1360 -
 11.1361 -cat >>confdefs.h <<_ACEOF
 11.1362 -#define PACKAGE_STRING "$PACKAGE_STRING"
 11.1363 -_ACEOF
 11.1364 -
 11.1365 -
 11.1366 -cat >>confdefs.h <<_ACEOF
 11.1367 -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 11.1368 -_ACEOF
 11.1369 -
 11.1370 -
 11.1371 -# Let the site file select an alternate cache file if it wants to.
 11.1372 -# Prefer explicitly selected file to automatically selected ones.
 11.1373 -if test -z "$CONFIG_SITE"; then
 11.1374 -  if test "x$prefix" != xNONE; then
 11.1375 -    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
 11.1376 -  else
 11.1377 -    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
 11.1378 -  fi
 11.1379 -fi
 11.1380 -for ac_site_file in $CONFIG_SITE; do
 11.1381 -  if test -r "$ac_site_file"; then
 11.1382 -    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 11.1383 -echo "$as_me: loading site script $ac_site_file" >&6;}
 11.1384 -    sed 's/^/| /' "$ac_site_file" >&5
 11.1385 -    . "$ac_site_file"
 11.1386 -  fi
 11.1387 -done
 11.1388 -
 11.1389 -if test -r "$cache_file"; then
 11.1390 -  # Some versions of bash will fail to source /dev/null (special
 11.1391 -  # files actually), so we avoid doing that.
 11.1392 -  if test -f "$cache_file"; then
 11.1393 -    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
 11.1394 -echo "$as_me: loading cache $cache_file" >&6;}
 11.1395 -    case $cache_file in
 11.1396 -      [\\/]* | ?:[\\/]* ) . $cache_file;;
 11.1397 -      *)                      . ./$cache_file;;
 11.1398 -    esac
 11.1399 -  fi
 11.1400 -else
 11.1401 -  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 11.1402 -echo "$as_me: creating cache $cache_file" >&6;}
 11.1403 -  >$cache_file
 11.1404 -fi
 11.1405 -
 11.1406 -# Check that the precious variables saved in the cache have kept the same
 11.1407 -# value.
 11.1408 -ac_cache_corrupted=false
 11.1409 -for ac_var in `(set) 2>&1 |
 11.1410 -	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 11.1411 -  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 11.1412 -  eval ac_new_set=\$ac_env_${ac_var}_set
 11.1413 -  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
 11.1414 -  eval ac_new_val="\$ac_env_${ac_var}_value"
 11.1415 -  case $ac_old_set,$ac_new_set in
 11.1416 -    set,)
 11.1417 -      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 11.1418 -echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 11.1419 -      ac_cache_corrupted=: ;;
 11.1420 -    ,set)
 11.1421 -      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 11.1422 -echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 11.1423 -      ac_cache_corrupted=: ;;
 11.1424 -    ,);;
 11.1425 -    *)
 11.1426 -      if test "x$ac_old_val" != "x$ac_new_val"; then
 11.1427 -        # differences in whitespace do not lead to failure.
 11.1428 -        ac_old_val_w=`echo x $ac_old_val`
 11.1429 -        ac_new_val_w=`echo x $ac_new_val`
 11.1430 -        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 11.1431 -          { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 11.1432 -echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 11.1433 -          ac_cache_corrupted=:
 11.1434 -        else
 11.1435 -          { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 11.1436 -echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 11.1437 -          eval $ac_var=\$ac_old_val
 11.1438 -        fi
 11.1439 -        { echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 11.1440 -echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 11.1441 -        { echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 11.1442 -echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 11.1443 -      fi;;
 11.1444 -  esac
 11.1445 -  # Pass precious variables to config.status.
 11.1446 -  if test "$ac_new_set" = set; then
 11.1447 -    case $ac_new_val in
 11.1448 -    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 11.1449 -      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 11.1450 -    *) ac_arg=$ac_var=$ac_new_val ;;
 11.1451 -    esac
 11.1452 -    case " $ac_configure_args " in
 11.1453 -      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 11.1454 -      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 11.1455 -    esac
 11.1456 -  fi
 11.1457 -done
 11.1458 -if $ac_cache_corrupted; then
 11.1459 -  { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 11.1460 -echo "$as_me: error: in \`$ac_pwd':" >&2;}
 11.1461 -  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 11.1462 -echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 11.1463 -  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 11.1464 -echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 11.1465 -   { (exit 1); exit 1; }; }
 11.1466 -fi
 11.1467 -
 11.1468 -ac_ext=c
 11.1469 -ac_cpp='$CPP $CPPFLAGS'
 11.1470 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 11.1471 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 11.1472 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
 11.1473 -
 11.1474 -
 11.1475 -
 11.1476 -
 11.1477 -
 11.1478 -
 11.1479 -
 11.1480 -
 11.1481 -
 11.1482 -
 11.1483 -
 11.1484 -
 11.1485 -
 11.1486 -
 11.1487 -
 11.1488 -
 11.1489 -
 11.1490 -
 11.1491 -
 11.1492 -
 11.1493 -
 11.1494 -
 11.1495 -
 11.1496 -ac_aux_dir=
 11.1497 -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
 11.1498 -  if test -f $ac_dir/install-sh; then
 11.1499 -    ac_aux_dir=$ac_dir
 11.1500 -    ac_install_sh="$ac_aux_dir/install-sh -c"
 11.1501 -    break
 11.1502 -  elif test -f $ac_dir/install.sh; then
 11.1503 -    ac_aux_dir=$ac_dir
 11.1504 -    ac_install_sh="$ac_aux_dir/install.sh -c"
 11.1505 -    break
 11.1506 -  elif test -f $ac_dir/shtool; then
 11.1507 -    ac_aux_dir=$ac_dir
 11.1508 -    ac_install_sh="$ac_aux_dir/shtool install -c"
 11.1509 -    break
 11.1510 -  fi
 11.1511 -done
 11.1512 -if test -z "$ac_aux_dir"; then
 11.1513 -  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
 11.1514 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 11.1515 -   { (exit 1); exit 1; }; }
 11.1516 -fi
 11.1517 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
 11.1518 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
 11.1519 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 11.1520 -
 11.1521 -# Make sure we can run config.sub.
 11.1522 -$ac_config_sub sun4 >/dev/null 2>&1 ||
 11.1523 -  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
 11.1524 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 11.1525 -   { (exit 1); exit 1; }; }
 11.1526 -
 11.1527 -echo "$as_me:$LINENO: checking build system type" >&5
 11.1528 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
 11.1529 -if test "${ac_cv_build+set}" = set; then
 11.1530 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.1531 -else
 11.1532 -  ac_cv_build_alias=$build_alias
 11.1533 -test -z "$ac_cv_build_alias" &&
 11.1534 -  ac_cv_build_alias=`$ac_config_guess`
 11.1535 -test -z "$ac_cv_build_alias" &&
 11.1536 -  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 11.1537 -echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 11.1538 -   { (exit 1); exit 1; }; }
 11.1539 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
 11.1540 -  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
 11.1541 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 11.1542 -   { (exit 1); exit 1; }; }
 11.1543 -
 11.1544 -fi
 11.1545 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 11.1546 -echo "${ECHO_T}$ac_cv_build" >&6
 11.1547 -build=$ac_cv_build
 11.1548 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 11.1549 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 11.1550 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 11.1551 -
 11.1552 -
 11.1553 -echo "$as_me:$LINENO: checking host system type" >&5
 11.1554 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
 11.1555 -if test "${ac_cv_host+set}" = set; then
 11.1556 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.1557 -else
 11.1558 -  ac_cv_host_alias=$host_alias
 11.1559 -test -z "$ac_cv_host_alias" &&
 11.1560 -  ac_cv_host_alias=$ac_cv_build_alias
 11.1561 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
 11.1562 -  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
 11.1563 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 11.1564 -   { (exit 1); exit 1; }; }
 11.1565 -
 11.1566 -fi
 11.1567 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 11.1568 -echo "${ECHO_T}$ac_cv_host" >&6
 11.1569 -host=$ac_cv_host
 11.1570 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 11.1571 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 11.1572 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 11.1573 -
 11.1574 -
 11.1575 -echo "$as_me:$LINENO: checking target system type" >&5
 11.1576 -echo $ECHO_N "checking target system type... $ECHO_C" >&6
 11.1577 -if test "${ac_cv_target+set}" = set; then
 11.1578 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.1579 -else
 11.1580 -  ac_cv_target_alias=$target_alias
 11.1581 -test "x$ac_cv_target_alias" = "x" &&
 11.1582 -  ac_cv_target_alias=$ac_cv_host_alias
 11.1583 -ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
 11.1584 -  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
 11.1585 -echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
 11.1586 -   { (exit 1); exit 1; }; }
 11.1587 -
 11.1588 -fi
 11.1589 -echo "$as_me:$LINENO: result: $ac_cv_target" >&5
 11.1590 -echo "${ECHO_T}$ac_cv_target" >&6
 11.1591 -target=$ac_cv_target
 11.1592 -target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 11.1593 -target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 11.1594 -target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 11.1595 -
 11.1596 -
 11.1597 -# The aliases save the names the user supplied, while $host etc.
 11.1598 -# will get canonicalized.
 11.1599 -test -n "$target_alias" &&
 11.1600 -  test "$program_prefix$program_suffix$program_transform_name" = \
 11.1601 -    NONENONEs,x,x, &&
 11.1602 -  program_prefix=${target_alias}-
 11.1603 -ac_ext=c
 11.1604 -ac_cpp='$CPP $CPPFLAGS'
 11.1605 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 11.1606 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 11.1607 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
 11.1608 -if test -n "$ac_tool_prefix"; then
 11.1609 -  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 11.1610 -set dummy ${ac_tool_prefix}gcc; ac_word=$2
 11.1611 -echo "$as_me:$LINENO: checking for $ac_word" >&5
 11.1612 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 11.1613 -if test "${ac_cv_prog_CC+set}" = set; then
 11.1614 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.1615 -else
 11.1616 -  if test -n "$CC"; then
 11.1617 -  ac_cv_prog_CC="$CC" # Let the user override the test.
 11.1618 -else
 11.1619 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11.1620 -for as_dir in $PATH
 11.1621 -do
 11.1622 -  IFS=$as_save_IFS
 11.1623 -  test -z "$as_dir" && as_dir=.
 11.1624 -  for ac_exec_ext in '' $ac_executable_extensions; do
 11.1625 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 11.1626 -    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 11.1627 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 11.1628 -    break 2
 11.1629 -  fi
 11.1630 -done
 11.1631 -done
 11.1632 -
 11.1633 -fi
 11.1634 -fi
 11.1635 -CC=$ac_cv_prog_CC
 11.1636 -if test -n "$CC"; then
 11.1637 -  echo "$as_me:$LINENO: result: $CC" >&5
 11.1638 -echo "${ECHO_T}$CC" >&6
 11.1639 -else
 11.1640 -  echo "$as_me:$LINENO: result: no" >&5
 11.1641 -echo "${ECHO_T}no" >&6
 11.1642 -fi
 11.1643 -
 11.1644 -fi
 11.1645 -if test -z "$ac_cv_prog_CC"; then
 11.1646 -  ac_ct_CC=$CC
 11.1647 -  # Extract the first word of "gcc", so it can be a program name with args.
 11.1648 -set dummy gcc; ac_word=$2
 11.1649 -echo "$as_me:$LINENO: checking for $ac_word" >&5
 11.1650 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 11.1651 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 11.1652 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.1653 -else
 11.1654 -  if test -n "$ac_ct_CC"; then
 11.1655 -  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 11.1656 -else
 11.1657 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11.1658 -for as_dir in $PATH
 11.1659 -do
 11.1660 -  IFS=$as_save_IFS
 11.1661 -  test -z "$as_dir" && as_dir=.
 11.1662 -  for ac_exec_ext in '' $ac_executable_extensions; do
 11.1663 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 11.1664 -    ac_cv_prog_ac_ct_CC="gcc"
 11.1665 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 11.1666 -    break 2
 11.1667 -  fi
 11.1668 -done
 11.1669 -done
 11.1670 -
 11.1671 -fi
 11.1672 -fi
 11.1673 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
 11.1674 -if test -n "$ac_ct_CC"; then
 11.1675 -  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 11.1676 -echo "${ECHO_T}$ac_ct_CC" >&6
 11.1677 -else
 11.1678 -  echo "$as_me:$LINENO: result: no" >&5
 11.1679 -echo "${ECHO_T}no" >&6
 11.1680 -fi
 11.1681 -
 11.1682 -  CC=$ac_ct_CC
 11.1683 -else
 11.1684 -  CC="$ac_cv_prog_CC"
 11.1685 -fi
 11.1686 -
 11.1687 -if test -z "$CC"; then
 11.1688 -  if test -n "$ac_tool_prefix"; then
 11.1689 -  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 11.1690 -set dummy ${ac_tool_prefix}cc; ac_word=$2
 11.1691 -echo "$as_me:$LINENO: checking for $ac_word" >&5
 11.1692 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 11.1693 -if test "${ac_cv_prog_CC+set}" = set; then
 11.1694 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.1695 -else
 11.1696 -  if test -n "$CC"; then
 11.1697 -  ac_cv_prog_CC="$CC" # Let the user override the test.
 11.1698 -else
 11.1699 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11.1700 -for as_dir in $PATH
 11.1701 -do
 11.1702 -  IFS=$as_save_IFS
 11.1703 -  test -z "$as_dir" && as_dir=.
 11.1704 -  for ac_exec_ext in '' $ac_executable_extensions; do
 11.1705 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 11.1706 -    ac_cv_prog_CC="${ac_tool_prefix}cc"
 11.1707 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 11.1708 -    break 2
 11.1709 -  fi
 11.1710 -done
 11.1711 -done
 11.1712 -
 11.1713 -fi
 11.1714 -fi
 11.1715 -CC=$ac_cv_prog_CC
 11.1716 -if test -n "$CC"; then
 11.1717 -  echo "$as_me:$LINENO: result: $CC" >&5
 11.1718 -echo "${ECHO_T}$CC" >&6
 11.1719 -else
 11.1720 -  echo "$as_me:$LINENO: result: no" >&5
 11.1721 -echo "${ECHO_T}no" >&6
 11.1722 -fi
 11.1723 -
 11.1724 -fi
 11.1725 -if test -z "$ac_cv_prog_CC"; then
 11.1726 -  ac_ct_CC=$CC
 11.1727 -  # Extract the first word of "cc", so it can be a program name with args.
 11.1728 -set dummy cc; ac_word=$2
 11.1729 -echo "$as_me:$LINENO: checking for $ac_word" >&5
 11.1730 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 11.1731 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 11.1732 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.1733 -else
 11.1734 -  if test -n "$ac_ct_CC"; then
 11.1735 -  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 11.1736 -else
 11.1737 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11.1738 -for as_dir in $PATH
 11.1739 -do
 11.1740 -  IFS=$as_save_IFS
 11.1741 -  test -z "$as_dir" && as_dir=.
 11.1742 -  for ac_exec_ext in '' $ac_executable_extensions; do
 11.1743 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 11.1744 -    ac_cv_prog_ac_ct_CC="cc"
 11.1745 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 11.1746 -    break 2
 11.1747 -  fi
 11.1748 -done
 11.1749 -done
 11.1750 -
 11.1751 -fi
 11.1752 -fi
 11.1753 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
 11.1754 -if test -n "$ac_ct_CC"; then
 11.1755 -  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 11.1756 -echo "${ECHO_T}$ac_ct_CC" >&6
 11.1757 -else
 11.1758 -  echo "$as_me:$LINENO: result: no" >&5
 11.1759 -echo "${ECHO_T}no" >&6
 11.1760 -fi
 11.1761 -
 11.1762 -  CC=$ac_ct_CC
 11.1763 -else
 11.1764 -  CC="$ac_cv_prog_CC"
 11.1765 -fi
 11.1766 -
 11.1767 -fi
 11.1768 -if test -z "$CC"; then
 11.1769 -  # Extract the first word of "cc", so it can be a program name with args.
 11.1770 -set dummy cc; ac_word=$2
 11.1771 -echo "$as_me:$LINENO: checking for $ac_word" >&5
 11.1772 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 11.1773 -if test "${ac_cv_prog_CC+set}" = set; then
 11.1774 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.1775 -else
 11.1776 -  if test -n "$CC"; then
 11.1777 -  ac_cv_prog_CC="$CC" # Let the user override the test.
 11.1778 -else
 11.1779 -  ac_prog_rejected=no
 11.1780 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11.1781 -for as_dir in $PATH
 11.1782 -do
 11.1783 -  IFS=$as_save_IFS
 11.1784 -  test -z "$as_dir" && as_dir=.
 11.1785 -  for ac_exec_ext in '' $ac_executable_extensions; do
 11.1786 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 11.1787 -    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 11.1788 -       ac_prog_rejected=yes
 11.1789 -       continue
 11.1790 -     fi
 11.1791 -    ac_cv_prog_CC="cc"
 11.1792 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 11.1793 -    break 2
 11.1794 -  fi
 11.1795 -done
 11.1796 -done
 11.1797 -
 11.1798 -if test $ac_prog_rejected = yes; then
 11.1799 -  # We found a bogon in the path, so make sure we never use it.
 11.1800 -  set dummy $ac_cv_prog_CC
 11.1801 -  shift
 11.1802 -  if test $# != 0; then
 11.1803 -    # We chose a different compiler from the bogus one.
 11.1804 -    # However, it has the same basename, so the bogon will be chosen
 11.1805 -    # first if we set CC to just the basename; use the full file name.
 11.1806 -    shift
 11.1807 -    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 11.1808 -  fi
 11.1809 -fi
 11.1810 -fi
 11.1811 -fi
 11.1812 -CC=$ac_cv_prog_CC
 11.1813 -if test -n "$CC"; then
 11.1814 -  echo "$as_me:$LINENO: result: $CC" >&5
 11.1815 -echo "${ECHO_T}$CC" >&6
 11.1816 -else
 11.1817 -  echo "$as_me:$LINENO: result: no" >&5
 11.1818 -echo "${ECHO_T}no" >&6
 11.1819 -fi
 11.1820 -
 11.1821 -fi
 11.1822 -if test -z "$CC"; then
 11.1823 -  if test -n "$ac_tool_prefix"; then
 11.1824 -  for ac_prog in cl
 11.1825 -  do
 11.1826 -    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 11.1827 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 11.1828 -echo "$as_me:$LINENO: checking for $ac_word" >&5
 11.1829 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 11.1830 -if test "${ac_cv_prog_CC+set}" = set; then
 11.1831 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.1832 -else
 11.1833 -  if test -n "$CC"; then
 11.1834 -  ac_cv_prog_CC="$CC" # Let the user override the test.
 11.1835 -else
 11.1836 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11.1837 -for as_dir in $PATH
 11.1838 -do
 11.1839 -  IFS=$as_save_IFS
 11.1840 -  test -z "$as_dir" && as_dir=.
 11.1841 -  for ac_exec_ext in '' $ac_executable_extensions; do
 11.1842 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 11.1843 -    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 11.1844 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 11.1845 -    break 2
 11.1846 -  fi
 11.1847 -done
 11.1848 -done
 11.1849 -
 11.1850 -fi
 11.1851 -fi
 11.1852 -CC=$ac_cv_prog_CC
 11.1853 -if test -n "$CC"; then
 11.1854 -  echo "$as_me:$LINENO: result: $CC" >&5
 11.1855 -echo "${ECHO_T}$CC" >&6
 11.1856 -else
 11.1857 -  echo "$as_me:$LINENO: result: no" >&5
 11.1858 -echo "${ECHO_T}no" >&6
 11.1859 -fi
 11.1860 -
 11.1861 -    test -n "$CC" && break
 11.1862 -  done
 11.1863 -fi
 11.1864 -if test -z "$CC"; then
 11.1865 -  ac_ct_CC=$CC
 11.1866 -  for ac_prog in cl
 11.1867 -do
 11.1868 -  # Extract the first word of "$ac_prog", so it can be a program name with args.
 11.1869 -set dummy $ac_prog; ac_word=$2
 11.1870 -echo "$as_me:$LINENO: checking for $ac_word" >&5
 11.1871 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 11.1872 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 11.1873 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.1874 -else
 11.1875 -  if test -n "$ac_ct_CC"; then
 11.1876 -  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 11.1877 -else
 11.1878 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11.1879 -for as_dir in $PATH
 11.1880 -do
 11.1881 -  IFS=$as_save_IFS
 11.1882 -  test -z "$as_dir" && as_dir=.
 11.1883 -  for ac_exec_ext in '' $ac_executable_extensions; do
 11.1884 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 11.1885 -    ac_cv_prog_ac_ct_CC="$ac_prog"
 11.1886 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 11.1887 -    break 2
 11.1888 -  fi
 11.1889 -done
 11.1890 -done
 11.1891 -
 11.1892 -fi
 11.1893 -fi
 11.1894 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
 11.1895 -if test -n "$ac_ct_CC"; then
 11.1896 -  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 11.1897 -echo "${ECHO_T}$ac_ct_CC" >&6
 11.1898 -else
 11.1899 -  echo "$as_me:$LINENO: result: no" >&5
 11.1900 -echo "${ECHO_T}no" >&6
 11.1901 -fi
 11.1902 -
 11.1903 -  test -n "$ac_ct_CC" && break
 11.1904 -done
 11.1905 -
 11.1906 -  CC=$ac_ct_CC
 11.1907 -fi
 11.1908 -
 11.1909 -fi
 11.1910 -
 11.1911 -
 11.1912 -test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 11.1913 -echo "$as_me: error: in \`$ac_pwd':" >&2;}
 11.1914 -{ { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 11.1915 -See \`config.log' for more details." >&5
 11.1916 -echo "$as_me: error: no acceptable C compiler found in \$PATH
 11.1917 -See \`config.log' for more details." >&2;}
 11.1918 -   { (exit 1); exit 1; }; }; }
 11.1919 -
 11.1920 -# Provide some information about the compiler.
 11.1921 -echo "$as_me:$LINENO:" \
 11.1922 -     "checking for C compiler version" >&5
 11.1923 -ac_compiler=`set X $ac_compile; echo $2`
 11.1924 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 11.1925 -  (eval $ac_compiler --version </dev/null >&5) 2>&5
 11.1926 -  ac_status=$?
 11.1927 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.1928 -  (exit $ac_status); }
 11.1929 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 11.1930 -  (eval $ac_compiler -v </dev/null >&5) 2>&5
 11.1931 -  ac_status=$?
 11.1932 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.1933 -  (exit $ac_status); }
 11.1934 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 11.1935 -  (eval $ac_compiler -V </dev/null >&5) 2>&5
 11.1936 -  ac_status=$?
 11.1937 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.1938 -  (exit $ac_status); }
 11.1939 -
 11.1940 -cat >conftest.$ac_ext <<_ACEOF
 11.1941 -/* confdefs.h.  */
 11.1942 -_ACEOF
 11.1943 -cat confdefs.h >>conftest.$ac_ext
 11.1944 -cat >>conftest.$ac_ext <<_ACEOF
 11.1945 -/* end confdefs.h.  */
 11.1946 -
 11.1947 -int
 11.1948 -main ()
 11.1949 -{
 11.1950 -
 11.1951 -  ;
 11.1952 -  return 0;
 11.1953 -}
 11.1954 -_ACEOF
 11.1955 -ac_clean_files_save=$ac_clean_files
 11.1956 -ac_clean_files="$ac_clean_files a.out a.exe b.out"
 11.1957 -# Try to create an executable without -o first, disregard a.out.
 11.1958 -# It will help us diagnose broken compilers, and finding out an intuition
 11.1959 -# of exeext.
 11.1960 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 11.1961 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 11.1962 -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 11.1963 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
 11.1964 -  (eval $ac_link_default) 2>&5
 11.1965 -  ac_status=$?
 11.1966 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.1967 -  (exit $ac_status); }; then
 11.1968 -  # Find the output, starting from the most likely.  This scheme is
 11.1969 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
 11.1970 -# resort.
 11.1971 -
 11.1972 -# Be careful to initialize this variable, since it used to be cached.
 11.1973 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
 11.1974 -ac_cv_exeext=
 11.1975 -# b.out is created by i960 compilers.
 11.1976 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 11.1977 -do
 11.1978 -  test -f "$ac_file" || continue
 11.1979 -  case $ac_file in
 11.1980 -    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
 11.1981 -	;;
 11.1982 -    conftest.$ac_ext )
 11.1983 -	# This is the source file.
 11.1984 -	;;
 11.1985 -    [ab].out )
 11.1986 -	# We found the default executable, but exeext='' is most
 11.1987 -	# certainly right.
 11.1988 -	break;;
 11.1989 -    *.* )
 11.1990 -	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 11.1991 -	# FIXME: I believe we export ac_cv_exeext for Libtool,
 11.1992 -	# but it would be cool to find out if it's true.  Does anybody
 11.1993 -	# maintain Libtool? --akim.
 11.1994 -	export ac_cv_exeext
 11.1995 -	break;;
 11.1996 -    * )
 11.1997 -	break;;
 11.1998 -  esac
 11.1999 -done
 11.2000 -else
 11.2001 -  echo "$as_me: failed program was:" >&5
 11.2002 -sed 's/^/| /' conftest.$ac_ext >&5
 11.2003 -
 11.2004 -{ { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 11.2005 -echo "$as_me: error: in \`$ac_pwd':" >&2;}
 11.2006 -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 11.2007 -See \`config.log' for more details." >&5
 11.2008 -echo "$as_me: error: C compiler cannot create executables
 11.2009 -See \`config.log' for more details." >&2;}
 11.2010 -   { (exit 77); exit 77; }; }; }
 11.2011 -fi
 11.2012 -
 11.2013 -ac_exeext=$ac_cv_exeext
 11.2014 -echo "$as_me:$LINENO: result: $ac_file" >&5
 11.2015 -echo "${ECHO_T}$ac_file" >&6
 11.2016 -
 11.2017 -# Check the compiler produces executables we can run.  If not, either
 11.2018 -# the compiler is broken, or we cross compile.
 11.2019 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 11.2020 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 11.2021 -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 11.2022 -# If not cross compiling, check that we can run a simple program.
 11.2023 -if test "$cross_compiling" != yes; then
 11.2024 -  if { ac_try='./$ac_file'
 11.2025 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.2026 -  (eval $ac_try) 2>&5
 11.2027 -  ac_status=$?
 11.2028 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.2029 -  (exit $ac_status); }; }; then
 11.2030 -    cross_compiling=no
 11.2031 -  else
 11.2032 -    if test "$cross_compiling" = maybe; then
 11.2033 -	cross_compiling=yes
 11.2034 -    else
 11.2035 -	{ { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 11.2036 -echo "$as_me: error: in \`$ac_pwd':" >&2;}
 11.2037 -{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 11.2038 -If you meant to cross compile, use \`--host'.
 11.2039 -See \`config.log' for more details." >&5
 11.2040 -echo "$as_me: error: cannot run C compiled programs.
 11.2041 -If you meant to cross compile, use \`--host'.
 11.2042 -See \`config.log' for more details." >&2;}
 11.2043 -   { (exit 1); exit 1; }; }; }
 11.2044 -    fi
 11.2045 -  fi
 11.2046 -fi
 11.2047 -echo "$as_me:$LINENO: result: yes" >&5
 11.2048 -echo "${ECHO_T}yes" >&6
 11.2049 -
 11.2050 -rm -f a.out a.exe conftest$ac_cv_exeext b.out
 11.2051 -ac_clean_files=$ac_clean_files_save
 11.2052 -# Check the compiler produces executables we can run.  If not, either
 11.2053 -# the compiler is broken, or we cross compile.
 11.2054 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 11.2055 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
 11.2056 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
 11.2057 -echo "${ECHO_T}$cross_compiling" >&6
 11.2058 -
 11.2059 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
 11.2060 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
 11.2061 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 11.2062 -  (eval $ac_link) 2>&5
 11.2063 -  ac_status=$?
 11.2064 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.2065 -  (exit $ac_status); }; then
 11.2066 -  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 11.2067 -# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 11.2068 -# work properly (i.e., refer to `conftest.exe'), while it won't with
 11.2069 -# `rm'.
 11.2070 -for ac_file in conftest.exe conftest conftest.*; do
 11.2071 -  test -f "$ac_file" || continue
 11.2072 -  case $ac_file in
 11.2073 -    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 11.2074 -    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 11.2075 -	  export ac_cv_exeext
 11.2076 -	  break;;
 11.2077 -    * ) break;;
 11.2078 -  esac
 11.2079 -done
 11.2080 -else
 11.2081 -  { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 11.2082 -echo "$as_me: error: in \`$ac_pwd':" >&2;}
 11.2083 -{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 11.2084 -See \`config.log' for more details." >&5
 11.2085 -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 11.2086 -See \`config.log' for more details." >&2;}
 11.2087 -   { (exit 1); exit 1; }; }; }
 11.2088 -fi
 11.2089 -
 11.2090 -rm -f conftest$ac_cv_exeext
 11.2091 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 11.2092 -echo "${ECHO_T}$ac_cv_exeext" >&6
 11.2093 -
 11.2094 -rm -f conftest.$ac_ext
 11.2095 -EXEEXT=$ac_cv_exeext
 11.2096 -ac_exeext=$EXEEXT
 11.2097 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
 11.2098 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 11.2099 -if test "${ac_cv_objext+set}" = set; then
 11.2100 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.2101 -else
 11.2102 -  cat >conftest.$ac_ext <<_ACEOF
 11.2103 -/* confdefs.h.  */
 11.2104 -_ACEOF
 11.2105 -cat confdefs.h >>conftest.$ac_ext
 11.2106 -cat >>conftest.$ac_ext <<_ACEOF
 11.2107 -/* end confdefs.h.  */
 11.2108 -
 11.2109 -int
 11.2110 -main ()
 11.2111 -{
 11.2112 -
 11.2113 -  ;
 11.2114 -  return 0;
 11.2115 -}
 11.2116 -_ACEOF
 11.2117 -rm -f conftest.o conftest.obj
 11.2118 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 11.2119 -  (eval $ac_compile) 2>&5
 11.2120 -  ac_status=$?
 11.2121 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.2122 -  (exit $ac_status); }; then
 11.2123 -  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 11.2124 -  case $ac_file in
 11.2125 -    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 11.2126 -    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 11.2127 -       break;;
 11.2128 -  esac
 11.2129 -done
 11.2130 -else
 11.2131 -  echo "$as_me: failed program was:" >&5
 11.2132 -sed 's/^/| /' conftest.$ac_ext >&5
 11.2133 -
 11.2134 -{ { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 11.2135 -echo "$as_me: error: in \`$ac_pwd':" >&2;}
 11.2136 -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 11.2137 -See \`config.log' for more details." >&5
 11.2138 -echo "$as_me: error: cannot compute suffix of object files: cannot compile
 11.2139 -See \`config.log' for more details." >&2;}
 11.2140 -   { (exit 1); exit 1; }; }; }
 11.2141 -fi
 11.2142 -
 11.2143 -rm -f conftest.$ac_cv_objext conftest.$ac_ext
 11.2144 -fi
 11.2145 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 11.2146 -echo "${ECHO_T}$ac_cv_objext" >&6
 11.2147 -OBJEXT=$ac_cv_objext
 11.2148 -ac_objext=$OBJEXT
 11.2149 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 11.2150 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 11.2151 -if test "${ac_cv_c_compiler_gnu+set}" = set; then
 11.2152 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.2153 -else
 11.2154 -  cat >conftest.$ac_ext <<_ACEOF
 11.2155 -/* confdefs.h.  */
 11.2156 -_ACEOF
 11.2157 -cat confdefs.h >>conftest.$ac_ext
 11.2158 -cat >>conftest.$ac_ext <<_ACEOF
 11.2159 -/* end confdefs.h.  */
 11.2160 -
 11.2161 -int
 11.2162 -main ()
 11.2163 -{
 11.2164 -#ifndef __GNUC__
 11.2165 -       choke me
 11.2166 -#endif
 11.2167 -
 11.2168 -  ;
 11.2169 -  return 0;
 11.2170 -}
 11.2171 -_ACEOF
 11.2172 -rm -f conftest.$ac_objext
 11.2173 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 11.2174 -  (eval $ac_compile) 2>conftest.er1
 11.2175 -  ac_status=$?
 11.2176 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.2177 -  rm -f conftest.er1
 11.2178 -  cat conftest.err >&5
 11.2179 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.2180 -  (exit $ac_status); } &&
 11.2181 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 11.2182 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.2183 -  (eval $ac_try) 2>&5
 11.2184 -  ac_status=$?
 11.2185 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.2186 -  (exit $ac_status); }; } &&
 11.2187 -	 { ac_try='test -s conftest.$ac_objext'
 11.2188 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.2189 -  (eval $ac_try) 2>&5
 11.2190 -  ac_status=$?
 11.2191 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.2192 -  (exit $ac_status); }; }; then
 11.2193 -  ac_compiler_gnu=yes
 11.2194 -else
 11.2195 -  echo "$as_me: failed program was:" >&5
 11.2196 -sed 's/^/| /' conftest.$ac_ext >&5
 11.2197 -
 11.2198 -ac_compiler_gnu=no
 11.2199 -fi
 11.2200 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 11.2201 -ac_cv_c_compiler_gnu=$ac_compiler_gnu
 11.2202 -
 11.2203 -fi
 11.2204 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 11.2205 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 11.2206 -GCC=`test $ac_compiler_gnu = yes && echo yes`
 11.2207 -ac_test_CFLAGS=${CFLAGS+set}
 11.2208 -ac_save_CFLAGS=$CFLAGS
 11.2209 -CFLAGS="-g"
 11.2210 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 11.2211 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 11.2212 -if test "${ac_cv_prog_cc_g+set}" = set; then
 11.2213 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.2214 -else
 11.2215 -  cat >conftest.$ac_ext <<_ACEOF
 11.2216 -/* confdefs.h.  */
 11.2217 -_ACEOF
 11.2218 -cat confdefs.h >>conftest.$ac_ext
 11.2219 -cat >>conftest.$ac_ext <<_ACEOF
 11.2220 -/* end confdefs.h.  */
 11.2221 -
 11.2222 -int
 11.2223 -main ()
 11.2224 -{
 11.2225 -
 11.2226 -  ;
 11.2227 -  return 0;
 11.2228 -}
 11.2229 -_ACEOF
 11.2230 -rm -f conftest.$ac_objext
 11.2231 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 11.2232 -  (eval $ac_compile) 2>conftest.er1
 11.2233 -  ac_status=$?
 11.2234 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.2235 -  rm -f conftest.er1
 11.2236 -  cat conftest.err >&5
 11.2237 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.2238 -  (exit $ac_status); } &&
 11.2239 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 11.2240 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.2241 -  (eval $ac_try) 2>&5
 11.2242 -  ac_status=$?
 11.2243 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.2244 -  (exit $ac_status); }; } &&
 11.2245 -	 { ac_try='test -s conftest.$ac_objext'
 11.2246 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.2247 -  (eval $ac_try) 2>&5
 11.2248 -  ac_status=$?
 11.2249 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.2250 -  (exit $ac_status); }; }; then
 11.2251 -  ac_cv_prog_cc_g=yes
 11.2252 -else
 11.2253 -  echo "$as_me: failed program was:" >&5
 11.2254 -sed 's/^/| /' conftest.$ac_ext >&5
 11.2255 -
 11.2256 -ac_cv_prog_cc_g=no
 11.2257 -fi
 11.2258 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 11.2259 -fi
 11.2260 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 11.2261 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 11.2262 -if test "$ac_test_CFLAGS" = set; then
 11.2263 -  CFLAGS=$ac_save_CFLAGS
 11.2264 -elif test $ac_cv_prog_cc_g = yes; then
 11.2265 -  if test "$GCC" = yes; then
 11.2266 -    CFLAGS="-g -O2"
 11.2267 -  else
 11.2268 -    CFLAGS="-g"
 11.2269 -  fi
 11.2270 -else
 11.2271 -  if test "$GCC" = yes; then
 11.2272 -    CFLAGS="-O2"
 11.2273 -  else
 11.2274 -    CFLAGS=
 11.2275 -  fi
 11.2276 -fi
 11.2277 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
 11.2278 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 11.2279 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
 11.2280 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.2281 -else
 11.2282 -  ac_cv_prog_cc_stdc=no
 11.2283 -ac_save_CC=$CC
 11.2284 -cat >conftest.$ac_ext <<_ACEOF
 11.2285 -/* confdefs.h.  */
 11.2286 -_ACEOF
 11.2287 -cat confdefs.h >>conftest.$ac_ext
 11.2288 -cat >>conftest.$ac_ext <<_ACEOF
 11.2289 -/* end confdefs.h.  */
 11.2290 -#include <stdarg.h>
 11.2291 -#include <stdio.h>
 11.2292 -#include <sys/types.h>
 11.2293 -#include <sys/stat.h>
 11.2294 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 11.2295 -struct buf { int x; };
 11.2296 -FILE * (*rcsopen) (struct buf *, struct stat *, int);
 11.2297 -static char *e (p, i)
 11.2298 -     char **p;
 11.2299 -     int i;
 11.2300 -{
 11.2301 -  return p[i];
 11.2302 -}
 11.2303 -static char *f (char * (*g) (char **, int), char **p, ...)
 11.2304 -{
 11.2305 -  char *s;
 11.2306 -  va_list v;
 11.2307 -  va_start (v,p);
 11.2308 -  s = g (p, va_arg (v,int));
 11.2309 -  va_end (v);
 11.2310 -  return s;
 11.2311 -}
 11.2312 -
 11.2313 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 11.2314 -   function prototypes and stuff, but not '\xHH' hex character constants.
 11.2315 -   These don't provoke an error unfortunately, instead are silently treated
 11.2316 -   as 'x'.  The following induces an error, until -std1 is added to get
 11.2317 -   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 11.2318 -   array size at least.  It's necessary to write '\x00'==0 to get something
 11.2319 -   that's true only with -std1.  */
 11.2320 -int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 11.2321 -
 11.2322 -int test (int i, double x);
 11.2323 -struct s1 {int (*f) (int a);};
 11.2324 -struct s2 {int (*f) (double a);};
 11.2325 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 11.2326 -int argc;
 11.2327 -char **argv;
 11.2328 -int
 11.2329 -main ()
 11.2330 -{
 11.2331 -return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 11.2332 -  ;
 11.2333 -  return 0;
 11.2334 -}
 11.2335 -_ACEOF
 11.2336 -# Don't try gcc -ansi; that turns off useful extensions and
 11.2337 -# breaks some systems' header files.
 11.2338 -# AIX			-qlanglvl=ansi
 11.2339 -# Ultrix and OSF/1	-std1
 11.2340 -# HP-UX 10.20 and later	-Ae
 11.2341 -# HP-UX older versions	-Aa -D_HPUX_SOURCE
 11.2342 -# SVR4			-Xc -D__EXTENSIONS__
 11.2343 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 11.2344 -do
 11.2345 -  CC="$ac_save_CC $ac_arg"
 11.2346 -  rm -f conftest.$ac_objext
 11.2347 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 11.2348 -  (eval $ac_compile) 2>conftest.er1
 11.2349 -  ac_status=$?
 11.2350 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.2351 -  rm -f conftest.er1
 11.2352 -  cat conftest.err >&5
 11.2353 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.2354 -  (exit $ac_status); } &&
 11.2355 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 11.2356 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.2357 -  (eval $ac_try) 2>&5
 11.2358 -  ac_status=$?
 11.2359 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.2360 -  (exit $ac_status); }; } &&
 11.2361 -	 { ac_try='test -s conftest.$ac_objext'
 11.2362 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.2363 -  (eval $ac_try) 2>&5
 11.2364 -  ac_status=$?
 11.2365 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.2366 -  (exit $ac_status); }; }; then
 11.2367 -  ac_cv_prog_cc_stdc=$ac_arg
 11.2368 -break
 11.2369 -else
 11.2370 -  echo "$as_me: failed program was:" >&5
 11.2371 -sed 's/^/| /' conftest.$ac_ext >&5
 11.2372 -
 11.2373 -fi
 11.2374 -rm -f conftest.err conftest.$ac_objext
 11.2375 -done
 11.2376 -rm -f conftest.$ac_ext conftest.$ac_objext
 11.2377 -CC=$ac_save_CC
 11.2378 -
 11.2379 -fi
 11.2380 -
 11.2381 -case "x$ac_cv_prog_cc_stdc" in
 11.2382 -  x|xno)
 11.2383 -    echo "$as_me:$LINENO: result: none needed" >&5
 11.2384 -echo "${ECHO_T}none needed" >&6 ;;
 11.2385 -  *)
 11.2386 -    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 11.2387 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
 11.2388 -    CC="$CC $ac_cv_prog_cc_stdc" ;;
 11.2389 -esac
 11.2390 -
 11.2391 -# Some people use a C++ compiler to compile C.  Since we use `exit',
 11.2392 -# in C++ we need to declare it.  In case someone uses the same compiler
 11.2393 -# for both compiling C and C++ we need to have the C++ compiler decide
 11.2394 -# the declaration of exit, since it's the most demanding environment.
 11.2395 -cat >conftest.$ac_ext <<_ACEOF
 11.2396 -#ifndef __cplusplus
 11.2397 -  choke me
 11.2398 -#endif
 11.2399 -_ACEOF
 11.2400 -rm -f conftest.$ac_objext
 11.2401 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 11.2402 -  (eval $ac_compile) 2>conftest.er1
 11.2403 -  ac_status=$?
 11.2404 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.2405 -  rm -f conftest.er1
 11.2406 -  cat conftest.err >&5
 11.2407 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.2408 -  (exit $ac_status); } &&
 11.2409 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 11.2410 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.2411 -  (eval $ac_try) 2>&5
 11.2412 -  ac_status=$?
 11.2413 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.2414 -  (exit $ac_status); }; } &&
 11.2415 -	 { ac_try='test -s conftest.$ac_objext'
 11.2416 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.2417 -  (eval $ac_try) 2>&5
 11.2418 -  ac_status=$?
 11.2419 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.2420 -  (exit $ac_status); }; }; then
 11.2421 -  for ac_declaration in \
 11.2422 -   '' \
 11.2423 -   'extern "C" void std::exit (int) throw (); using std::exit;' \
 11.2424 -   'extern "C" void std::exit (int); using std::exit;' \
 11.2425 -   'extern "C" void exit (int) throw ();' \
 11.2426 -   'extern "C" void exit (int);' \
 11.2427 -   'void exit (int);'
 11.2428 -do
 11.2429 -  cat >conftest.$ac_ext <<_ACEOF
 11.2430 -/* confdefs.h.  */
 11.2431 -_ACEOF
 11.2432 -cat confdefs.h >>conftest.$ac_ext
 11.2433 -cat >>conftest.$ac_ext <<_ACEOF
 11.2434 -/* end confdefs.h.  */
 11.2435 -$ac_declaration
 11.2436 -#include <stdlib.h>
 11.2437 -int
 11.2438 -main ()
 11.2439 -{
 11.2440 -exit (42);
 11.2441 -  ;
 11.2442 -  return 0;
 11.2443 -}
 11.2444 -_ACEOF
 11.2445 -rm -f conftest.$ac_objext
 11.2446 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 11.2447 -  (eval $ac_compile) 2>conftest.er1
 11.2448 -  ac_status=$?
 11.2449 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.2450 -  rm -f conftest.er1
 11.2451 -  cat conftest.err >&5
 11.2452 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.2453 -  (exit $ac_status); } &&
 11.2454 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 11.2455 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.2456 -  (eval $ac_try) 2>&5
 11.2457 -  ac_status=$?
 11.2458 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.2459 -  (exit $ac_status); }; } &&
 11.2460 -	 { ac_try='test -s conftest.$ac_objext'
 11.2461 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.2462 -  (eval $ac_try) 2>&5
 11.2463 -  ac_status=$?
 11.2464 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.2465 -  (exit $ac_status); }; }; then
 11.2466 -  :
 11.2467 -else
 11.2468 -  echo "$as_me: failed program was:" >&5
 11.2469 -sed 's/^/| /' conftest.$ac_ext >&5
 11.2470 -
 11.2471 -continue
 11.2472 -fi
 11.2473 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 11.2474 -  cat >conftest.$ac_ext <<_ACEOF
 11.2475 -/* confdefs.h.  */
 11.2476 -_ACEOF
 11.2477 -cat confdefs.h >>conftest.$ac_ext
 11.2478 -cat >>conftest.$ac_ext <<_ACEOF
 11.2479 -/* end confdefs.h.  */
 11.2480 -$ac_declaration
 11.2481 -int
 11.2482 -main ()
 11.2483 -{
 11.2484 -exit (42);
 11.2485 -  ;
 11.2486 -  return 0;
 11.2487 -}
 11.2488 -_ACEOF
 11.2489 -rm -f conftest.$ac_objext
 11.2490 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 11.2491 -  (eval $ac_compile) 2>conftest.er1
 11.2492 -  ac_status=$?
 11.2493 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.2494 -  rm -f conftest.er1
 11.2495 -  cat conftest.err >&5
 11.2496 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.2497 -  (exit $ac_status); } &&
 11.2498 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 11.2499 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.2500 -  (eval $ac_try) 2>&5
 11.2501 -  ac_status=$?
 11.2502 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.2503 -  (exit $ac_status); }; } &&
 11.2504 -	 { ac_try='test -s conftest.$ac_objext'
 11.2505 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.2506 -  (eval $ac_try) 2>&5
 11.2507 -  ac_status=$?
 11.2508 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.2509 -  (exit $ac_status); }; }; then
 11.2510 -  break
 11.2511 -else
 11.2512 -  echo "$as_me: failed program was:" >&5
 11.2513 -sed 's/^/| /' conftest.$ac_ext >&5
 11.2514 -
 11.2515 -fi
 11.2516 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 11.2517 -done
 11.2518 -rm -f conftest*
 11.2519 -if test -n "$ac_declaration"; then
 11.2520 -  echo '#ifdef __cplusplus' >>confdefs.h
 11.2521 -  echo $ac_declaration      >>confdefs.h
 11.2522 -  echo '#endif'             >>confdefs.h
 11.2523 -fi
 11.2524 -
 11.2525 -else
 11.2526 -  echo "$as_me: failed program was:" >&5
 11.2527 -sed 's/^/| /' conftest.$ac_ext >&5
 11.2528 -
 11.2529 -fi
 11.2530 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 11.2531 -ac_ext=c
 11.2532 -ac_cpp='$CPP $CPPFLAGS'
 11.2533 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 11.2534 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 11.2535 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
 11.2536 -
 11.2537 -
 11.2538 -echo "$as_me:$LINENO: checking for library containing strerror" >&5
 11.2539 -echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
 11.2540 -if test "${ac_cv_search_strerror+set}" = set; then
 11.2541 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.2542 -else
 11.2543 -  ac_func_search_save_LIBS=$LIBS
 11.2544 -ac_cv_search_strerror=no
 11.2545 -cat >conftest.$ac_ext <<_ACEOF
 11.2546 -/* confdefs.h.  */
 11.2547 -_ACEOF
 11.2548 -cat confdefs.h >>conftest.$ac_ext
 11.2549 -cat >>conftest.$ac_ext <<_ACEOF
 11.2550 -/* end confdefs.h.  */
 11.2551 -
 11.2552 -/* Override any gcc2 internal prototype to avoid an error.  */
 11.2553 -#ifdef __cplusplus
 11.2554 -extern "C"
 11.2555 -#endif
 11.2556 -/* We use char because int might match the return type of a gcc2
 11.2557 -   builtin and then its argument prototype would still apply.  */
 11.2558 -char strerror ();
 11.2559 -int
 11.2560 -main ()
 11.2561 -{
 11.2562 -strerror ();
 11.2563 -  ;
 11.2564 -  return 0;
 11.2565 -}
 11.2566 -_ACEOF
 11.2567 -rm -f conftest.$ac_objext conftest$ac_exeext
 11.2568 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 11.2569 -  (eval $ac_link) 2>conftest.er1
 11.2570 -  ac_status=$?
 11.2571 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.2572 -  rm -f conftest.er1
 11.2573 -  cat conftest.err >&5
 11.2574 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.2575 -  (exit $ac_status); } &&
 11.2576 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 11.2577 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.2578 -  (eval $ac_try) 2>&5
 11.2579 -  ac_status=$?
 11.2580 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.2581 -  (exit $ac_status); }; } &&
 11.2582 -	 { ac_try='test -s conftest$ac_exeext'
 11.2583 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.2584 -  (eval $ac_try) 2>&5
 11.2585 -  ac_status=$?
 11.2586 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.2587 -  (exit $ac_status); }; }; then
 11.2588 -  ac_cv_search_strerror="none required"
 11.2589 -else
 11.2590 -  echo "$as_me: failed program was:" >&5
 11.2591 -sed 's/^/| /' conftest.$ac_ext >&5
 11.2592 -
 11.2593 -fi
 11.2594 -rm -f conftest.err conftest.$ac_objext \
 11.2595 -      conftest$ac_exeext conftest.$ac_ext
 11.2596 -if test "$ac_cv_search_strerror" = no; then
 11.2597 -  for ac_lib in cposix; do
 11.2598 -    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 11.2599 -    cat >conftest.$ac_ext <<_ACEOF
 11.2600 -/* confdefs.h.  */
 11.2601 -_ACEOF
 11.2602 -cat confdefs.h >>conftest.$ac_ext
 11.2603 -cat >>conftest.$ac_ext <<_ACEOF
 11.2604 -/* end confdefs.h.  */
 11.2605 -
 11.2606 -/* Override any gcc2 internal prototype to avoid an error.  */
 11.2607 -#ifdef __cplusplus
 11.2608 -extern "C"
 11.2609 -#endif
 11.2610 -/* We use char because int might match the return type of a gcc2
 11.2611 -   builtin and then its argument prototype would still apply.  */
 11.2612 -char strerror ();
 11.2613 -int
 11.2614 -main ()
 11.2615 -{
 11.2616 -strerror ();
 11.2617 -  ;
 11.2618 -  return 0;
 11.2619 -}
 11.2620 -_ACEOF
 11.2621 -rm -f conftest.$ac_objext conftest$ac_exeext
 11.2622 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 11.2623 -  (eval $ac_link) 2>conftest.er1
 11.2624 -  ac_status=$?
 11.2625 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.2626 -  rm -f conftest.er1
 11.2627 -  cat conftest.err >&5
 11.2628 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.2629 -  (exit $ac_status); } &&
 11.2630 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 11.2631 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.2632 -  (eval $ac_try) 2>&5
 11.2633 -  ac_status=$?
 11.2634 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.2635 -  (exit $ac_status); }; } &&
 11.2636 -	 { ac_try='test -s conftest$ac_exeext'
 11.2637 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.2638 -  (eval $ac_try) 2>&5
 11.2639 -  ac_status=$?
 11.2640 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.2641 -  (exit $ac_status); }; }; then
 11.2642 -  ac_cv_search_strerror="-l$ac_lib"
 11.2643 -break
 11.2644 -else
 11.2645 -  echo "$as_me: failed program was:" >&5
 11.2646 -sed 's/^/| /' conftest.$ac_ext >&5
 11.2647 -
 11.2648 -fi
 11.2649 -rm -f conftest.err conftest.$ac_objext \
 11.2650 -      conftest$ac_exeext conftest.$ac_ext
 11.2651 -  done
 11.2652 -fi
 11.2653 -LIBS=$ac_func_search_save_LIBS
 11.2654 -fi
 11.2655 -echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
 11.2656 -echo "${ECHO_T}$ac_cv_search_strerror" >&6
 11.2657 -if test "$ac_cv_search_strerror" != no; then
 11.2658 -  test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
 11.2659 -
 11.2660 -fi
 11.2661 -
 11.2662 -
 11.2663 -BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ 	]*\([^ 	]*\)[ 	]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
 11.2664 -am__api_version="1.9"
 11.2665 -# Find a good install program.  We prefer a C program (faster),
 11.2666 -# so one script is as good as another.  But avoid the broken or
 11.2667 -# incompatible versions:
 11.2668 -# SysV /etc/install, /usr/sbin/install
 11.2669 -# SunOS /usr/etc/install
 11.2670 -# IRIX /sbin/install
 11.2671 -# AIX /bin/install
 11.2672 -# AmigaOS /C/install, which installs bootblocks on floppy discs
 11.2673 -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 11.2674 -# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 11.2675 -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 11.2676 -# OS/2's system install, which has a completely different semantic
 11.2677 -# ./install, which can be erroneously created by make from ./install.sh.
 11.2678 -# Reject install programs that cannot install multiple files.
 11.2679 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 11.2680 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 11.2681 -if test -z "$INSTALL"; then
 11.2682 -if test "${ac_cv_path_install+set}" = set; then
 11.2683 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.2684 -else
 11.2685 -  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11.2686 -for as_dir in $PATH
 11.2687 -do
 11.2688 -  IFS=$as_save_IFS
 11.2689 -  test -z "$as_dir" && as_dir=.
 11.2690 -  # Account for people who put trailing slashes in PATH elements.
 11.2691 -case $as_dir/ in
 11.2692 -  ./ | .// | /cC/* | \
 11.2693 -  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 11.2694 -  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 11.2695 -  /usr/ucb/* ) ;;
 11.2696 -  *)
 11.2697 -    # OSF1 and SCO ODT 3.0 have their own names for install.
 11.2698 -    # Don't use installbsd from OSF since it installs stuff as root
 11.2699 -    # by default.
 11.2700 -    for ac_prog in ginstall scoinst install; do
 11.2701 -      for ac_exec_ext in '' $ac_executable_extensions; do
 11.2702 -	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 11.2703 -	  if test $ac_prog = install &&
 11.2704 -	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 11.2705 -	    # AIX install.  It has an incompatible calling convention.
 11.2706 -	    :
 11.2707 -	  elif test $ac_prog = install &&
 11.2708 -	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 11.2709 -	    # program-specific install script used by HP pwplus--don't use.
 11.2710 -	    :
 11.2711 -	  else
 11.2712 -	    rm -rf conftest.one conftest.two conftest.dir
 11.2713 -	    echo one > conftest.one
 11.2714 -	    echo two > conftest.two
 11.2715 -	    mkdir conftest.dir
 11.2716 -	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 11.2717 -	      test -s conftest.one && test -s conftest.two &&
 11.2718 -	      test -s conftest.dir/conftest.one &&
 11.2719 -	      test -s conftest.dir/conftest.two
 11.2720 -	    then
 11.2721 -	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 11.2722 -	      break 3
 11.2723 -	    fi
 11.2724 -	  fi
 11.2725 -	fi
 11.2726 -      done
 11.2727 -    done
 11.2728 -    ;;
 11.2729 -esac
 11.2730 -done
 11.2731 -
 11.2732 -rm -rf conftest.one conftest.two conftest.dir
 11.2733 -
 11.2734 -fi
 11.2735 -  if test "${ac_cv_path_install+set}" = set; then
 11.2736 -    INSTALL=$ac_cv_path_install
 11.2737 -  else
 11.2738 -    # As a last resort, use the slow shell script.  Don't cache a
 11.2739 -    # value for INSTALL within a source directory, because that will
 11.2740 -    # break other packages using the cache if that directory is
 11.2741 -    # removed, or if the value is a relative name.
 11.2742 -    INSTALL=$ac_install_sh
 11.2743 -  fi
 11.2744 -fi
 11.2745 -echo "$as_me:$LINENO: result: $INSTALL" >&5
 11.2746 -echo "${ECHO_T}$INSTALL" >&6
 11.2747 -
 11.2748 -# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 11.2749 -# It thinks the first close brace ends the variable substitution.
 11.2750 -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 11.2751 -
 11.2752 -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 11.2753 -
 11.2754 -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 11.2755 -
 11.2756 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 11.2757 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 11.2758 -# Just in case
 11.2759 -sleep 1
 11.2760 -echo timestamp > conftest.file
 11.2761 -# Do `set' in a subshell so we don't clobber the current shell's
 11.2762 -# arguments.  Must try -L first in case configure is actually a
 11.2763 -# symlink; some systems play weird games with the mod time of symlinks
 11.2764 -# (eg FreeBSD returns the mod time of the symlink's containing
 11.2765 -# directory).
 11.2766 -if (
 11.2767 -   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 11.2768 -   if test "$*" = "X"; then
 11.2769 -      # -L didn't work.
 11.2770 -      set X `ls -t $srcdir/configure conftest.file`
 11.2771 -   fi
 11.2772 -   rm -f conftest.file
 11.2773 -   if test "$*" != "X $srcdir/configure conftest.file" \
 11.2774 -      && test "$*" != "X conftest.file $srcdir/configure"; then
 11.2775 -
 11.2776 -      # If neither matched, then we have a broken ls.  This can happen
 11.2777 -      # if, for instance, CONFIG_SHELL is bash and it inherits a
 11.2778 -      # broken ls alias from the environment.  This has actually
 11.2779 -      # happened.  Such a system could not be considered "sane".
 11.2780 -      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 11.2781 -alias in your environment" >&5
 11.2782 -echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 11.2783 -alias in your environment" >&2;}
 11.2784 -   { (exit 1); exit 1; }; }
 11.2785 -   fi
 11.2786 -
 11.2787 -   test "$2" = conftest.file
 11.2788 -   )
 11.2789 -then
 11.2790 -   # Ok.
 11.2791 -   :
 11.2792 -else
 11.2793 -   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 11.2794 -Check your system clock" >&5
 11.2795 -echo "$as_me: error: newly created file is older than distributed files!
 11.2796 -Check your system clock" >&2;}
 11.2797 -   { (exit 1); exit 1; }; }
 11.2798 -fi
 11.2799 -echo "$as_me:$LINENO: result: yes" >&5
 11.2800 -echo "${ECHO_T}yes" >&6
 11.2801 -test "$program_prefix" != NONE &&
 11.2802 -  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 11.2803 -# Use a double $ so make ignores it.
 11.2804 -test "$program_suffix" != NONE &&
 11.2805 -  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 11.2806 -# Double any \ or $.  echo might interpret backslashes.
 11.2807 -# By default was `s,x,x', remove it if useless.
 11.2808 -cat <<\_ACEOF >conftest.sed
 11.2809 -s/[\\$]/&&/g;s/;s,x,x,$//
 11.2810 -_ACEOF
 11.2811 -program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
 11.2812 -rm conftest.sed
 11.2813 -
 11.2814 -# expand $ac_aux_dir to an absolute path
 11.2815 -am_aux_dir=`cd $ac_aux_dir && pwd`
 11.2816 -
 11.2817 -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 11.2818 -# Use eval to expand $SHELL
 11.2819 -if eval "$MISSING --run true"; then
 11.2820 -  am_missing_run="$MISSING --run "
 11.2821 -else
 11.2822 -  am_missing_run=
 11.2823 -  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 11.2824 -echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 11.2825 -fi
 11.2826 -
 11.2827 -if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 11.2828 -  # We used to keeping the `.' as first argument, in order to
 11.2829 -  # allow $(mkdir_p) to be used without argument.  As in
 11.2830 -  #   $(mkdir_p) $(somedir)
 11.2831 -  # where $(somedir) is conditionally defined.  However this is wrong
 11.2832 -  # for two reasons:
 11.2833 -  #  1. if the package is installed by a user who cannot write `.'
 11.2834 -  #     make install will fail,
 11.2835 -  #  2. the above comment should most certainly read
 11.2836 -  #     $(mkdir_p) $(DESTDIR)$(somedir)
 11.2837 -  #     so it does not work when $(somedir) is undefined and
 11.2838 -  #     $(DESTDIR) is not.
 11.2839 -  #  To support the latter case, we have to write
 11.2840 -  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
 11.2841 -  #  so the `.' trick is pointless.
 11.2842 -  mkdir_p='mkdir -p --'
 11.2843 -else
 11.2844 -  # On NextStep and OpenStep, the `mkdir' command does not
 11.2845 -  # recognize any option.  It will interpret all options as
 11.2846 -  # directories to create, and then abort because `.' already
 11.2847 -  # exists.
 11.2848 -  for d in ./-p ./--version;
 11.2849 -  do
 11.2850 -    test -d $d && rmdir $d
 11.2851 -  done
 11.2852 -  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 11.2853 -  if test -f "$ac_aux_dir/mkinstalldirs"; then
 11.2854 -    mkdir_p='$(mkinstalldirs)'
 11.2855 -  else
 11.2856 -    mkdir_p='$(install_sh) -d'
 11.2857 -  fi
 11.2858 -fi
 11.2859 -
 11.2860 -for ac_prog in gawk mawk nawk awk
 11.2861 -do
 11.2862 -  # Extract the first word of "$ac_prog", so it can be a program name with args.
 11.2863 -set dummy $ac_prog; ac_word=$2
 11.2864 -echo "$as_me:$LINENO: checking for $ac_word" >&5
 11.2865 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 11.2866 -if test "${ac_cv_prog_AWK+set}" = set; then
 11.2867 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.2868 -else
 11.2869 -  if test -n "$AWK"; then
 11.2870 -  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 11.2871 -else
 11.2872 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11.2873 -for as_dir in $PATH
 11.2874 -do
 11.2875 -  IFS=$as_save_IFS
 11.2876 -  test -z "$as_dir" && as_dir=.
 11.2877 -  for ac_exec_ext in '' $ac_executable_extensions; do
 11.2878 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 11.2879 -    ac_cv_prog_AWK="$ac_prog"
 11.2880 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 11.2881 -    break 2
 11.2882 -  fi
 11.2883 -done
 11.2884 -done
 11.2885 -
 11.2886 -fi
 11.2887 -fi
 11.2888 -AWK=$ac_cv_prog_AWK
 11.2889 -if test -n "$AWK"; then
 11.2890 -  echo "$as_me:$LINENO: result: $AWK" >&5
 11.2891 -echo "${ECHO_T}$AWK" >&6
 11.2892 -else
 11.2893 -  echo "$as_me:$LINENO: result: no" >&5
 11.2894 -echo "${ECHO_T}no" >&6
 11.2895 -fi
 11.2896 -
 11.2897 -  test -n "$AWK" && break
 11.2898 -done
 11.2899 -
 11.2900 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 11.2901 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
 11.2902 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
 11.2903 -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 11.2904 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.2905 -else
 11.2906 -  cat >conftest.make <<\_ACEOF
 11.2907 -all:
 11.2908 -	@echo 'ac_maketemp="$(MAKE)"'
 11.2909 -_ACEOF
 11.2910 -# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 11.2911 -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 11.2912 -if test -n "$ac_maketemp"; then
 11.2913 -  eval ac_cv_prog_make_${ac_make}_set=yes
 11.2914 -else
 11.2915 -  eval ac_cv_prog_make_${ac_make}_set=no
 11.2916 -fi
 11.2917 -rm -f conftest.make
 11.2918 -fi
 11.2919 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 11.2920 -  echo "$as_me:$LINENO: result: yes" >&5
 11.2921 -echo "${ECHO_T}yes" >&6
 11.2922 -  SET_MAKE=
 11.2923 -else
 11.2924 -  echo "$as_me:$LINENO: result: no" >&5
 11.2925 -echo "${ECHO_T}no" >&6
 11.2926 -  SET_MAKE="MAKE=${MAKE-make}"
 11.2927 -fi
 11.2928 -
 11.2929 -rm -rf .tst 2>/dev/null
 11.2930 -mkdir .tst 2>/dev/null
 11.2931 -if test -d .tst; then
 11.2932 -  am__leading_dot=.
 11.2933 -else
 11.2934 -  am__leading_dot=_
 11.2935 -fi
 11.2936 -rmdir .tst 2>/dev/null
 11.2937 -
 11.2938 -DEPDIR="${am__leading_dot}deps"
 11.2939 -
 11.2940 -          ac_config_commands="$ac_config_commands depfiles"
 11.2941 -
 11.2942 -
 11.2943 -am_make=${MAKE-make}
 11.2944 -cat > confinc << 'END'
 11.2945 -am__doit:
 11.2946 -	@echo done
 11.2947 -.PHONY: am__doit
 11.2948 -END
 11.2949 -# If we don't find an include directive, just comment out the code.
 11.2950 -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 11.2951 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 11.2952 -am__include="#"
 11.2953 -am__quote=
 11.2954 -_am_result=none
 11.2955 -# First try GNU make style include.
 11.2956 -echo "include confinc" > confmf
 11.2957 -# We grep out `Entering directory' and `Leaving directory'
 11.2958 -# messages which can occur if `w' ends up in MAKEFLAGS.
 11.2959 -# In particular we don't look at `^make:' because GNU make might
 11.2960 -# be invoked under some other name (usually "gmake"), in which
 11.2961 -# case it prints its new name instead of `make'.
 11.2962 -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 11.2963 -   am__include=include
 11.2964 -   am__quote=
 11.2965 -   _am_result=GNU
 11.2966 -fi
 11.2967 -# Now try BSD make style include.
 11.2968 -if test "$am__include" = "#"; then
 11.2969 -   echo '.include "confinc"' > confmf
 11.2970 -   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 11.2971 -      am__include=.include
 11.2972 -      am__quote="\""
 11.2973 -      _am_result=BSD
 11.2974 -   fi
 11.2975 -fi
 11.2976 -
 11.2977 -
 11.2978 -echo "$as_me:$LINENO: result: $_am_result" >&5
 11.2979 -echo "${ECHO_T}$_am_result" >&6
 11.2980 -rm -f confinc confmf
 11.2981 -
 11.2982 -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 11.2983 -if test "${enable_dependency_tracking+set}" = set; then
 11.2984 -  enableval="$enable_dependency_tracking"
 11.2985 -
 11.2986 -fi;
 11.2987 -if test "x$enable_dependency_tracking" != xno; then
 11.2988 -  am_depcomp="$ac_aux_dir/depcomp"
 11.2989 -  AMDEPBACKSLASH='\'
 11.2990 -fi
 11.2991 -
 11.2992 -
 11.2993 -if test "x$enable_dependency_tracking" != xno; then
 11.2994 -  AMDEP_TRUE=
 11.2995 -  AMDEP_FALSE='#'
 11.2996 -else
 11.2997 -  AMDEP_TRUE='#'
 11.2998 -  AMDEP_FALSE=
 11.2999 -fi
 11.3000 -
 11.3001 -
 11.3002 -
 11.3003 -# test to see if srcdir already configured
 11.3004 -if test "`cd $srcdir && pwd`" != "`pwd`" &&
 11.3005 -   test -f $srcdir/config.status; then
 11.3006 -  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 11.3007 -echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 11.3008 -   { (exit 1); exit 1; }; }
 11.3009 -fi
 11.3010 -
 11.3011 -# test whether we have cygpath
 11.3012 -if test -z "$CYGPATH_W"; then
 11.3013 -  if (cygpath --version) >/dev/null 2>/dev/null; then
 11.3014 -    CYGPATH_W='cygpath -w'
 11.3015 -  else
 11.3016 -    CYGPATH_W=echo
 11.3017 -  fi
 11.3018 -fi
 11.3019 -
 11.3020 -
 11.3021 -# Define the identity of the package.
 11.3022 - PACKAGE=binutils
 11.3023 - VERSION=${BFD_VERSION}
 11.3024 -
 11.3025 -
 11.3026 -cat >>confdefs.h <<_ACEOF
 11.3027 -#define PACKAGE "$PACKAGE"
 11.3028 -_ACEOF
 11.3029 -
 11.3030 -
 11.3031 -cat >>confdefs.h <<_ACEOF
 11.3032 -#define VERSION "$VERSION"
 11.3033 -_ACEOF
 11.3034 -
 11.3035 -# Some tools Automake needs.
 11.3036 -
 11.3037 -ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 11.3038 -
 11.3039 -
 11.3040 -AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 11.3041 -
 11.3042 -
 11.3043 -AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 11.3044 -
 11.3045 -
 11.3046 -AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 11.3047 -
 11.3048 -
 11.3049 -MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 11.3050 -
 11.3051 -install_sh=${install_sh-"$am_aux_dir/install-sh"}
 11.3052 -
 11.3053 -# Installed binaries are usually stripped using `strip' when the user
 11.3054 -# run `make install-strip'.  However `strip' might not be the right
 11.3055 -# tool to use in cross-compilation environments, therefore Automake
 11.3056 -# will honor the `STRIP' environment variable to overrule this program.
 11.3057 -if test "$cross_compiling" != no; then
 11.3058 -  if test -n "$ac_tool_prefix"; then
 11.3059 -  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 11.3060 -set dummy ${ac_tool_prefix}strip; ac_word=$2
 11.3061 -echo "$as_me:$LINENO: checking for $ac_word" >&5
 11.3062 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 11.3063 -if test "${ac_cv_prog_STRIP+set}" = set; then
 11.3064 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.3065 -else
 11.3066 -  if test -n "$STRIP"; then
 11.3067 -  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 11.3068 -else
 11.3069 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11.3070 -for as_dir in $PATH
 11.3071 -do
 11.3072 -  IFS=$as_save_IFS
 11.3073 -  test -z "$as_dir" && as_dir=.
 11.3074 -  for ac_exec_ext in '' $ac_executable_extensions; do
 11.3075 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 11.3076 -    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 11.3077 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 11.3078 -    break 2
 11.3079 -  fi
 11.3080 -done
 11.3081 -done
 11.3082 -
 11.3083 -fi
 11.3084 -fi
 11.3085 -STRIP=$ac_cv_prog_STRIP
 11.3086 -if test -n "$STRIP"; then
 11.3087 -  echo "$as_me:$LINENO: result: $STRIP" >&5
 11.3088 -echo "${ECHO_T}$STRIP" >&6
 11.3089 -else
 11.3090 -  echo "$as_me:$LINENO: result: no" >&5
 11.3091 -echo "${ECHO_T}no" >&6
 11.3092 -fi
 11.3093 -
 11.3094 -fi
 11.3095 -if test -z "$ac_cv_prog_STRIP"; then
 11.3096 -  ac_ct_STRIP=$STRIP
 11.3097 -  # Extract the first word of "strip", so it can be a program name with args.
 11.3098 -set dummy strip; ac_word=$2
 11.3099 -echo "$as_me:$LINENO: checking for $ac_word" >&5
 11.3100 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 11.3101 -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 11.3102 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.3103 -else
 11.3104 -  if test -n "$ac_ct_STRIP"; then
 11.3105 -  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 11.3106 -else
 11.3107 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11.3108 -for as_dir in $PATH
 11.3109 -do
 11.3110 -  IFS=$as_save_IFS
 11.3111 -  test -z "$as_dir" && as_dir=.
 11.3112 -  for ac_exec_ext in '' $ac_executable_extensions; do
 11.3113 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 11.3114 -    ac_cv_prog_ac_ct_STRIP="strip"
 11.3115 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 11.3116 -    break 2
 11.3117 -  fi
 11.3118 -done
 11.3119 -done
 11.3120 -
 11.3121 -  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
 11.3122 -fi
 11.3123 -fi
 11.3124 -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 11.3125 -if test -n "$ac_ct_STRIP"; then
 11.3126 -  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 11.3127 -echo "${ECHO_T}$ac_ct_STRIP" >&6
 11.3128 -else
 11.3129 -  echo "$as_me:$LINENO: result: no" >&5
 11.3130 -echo "${ECHO_T}no" >&6
 11.3131 -fi
 11.3132 -
 11.3133 -  STRIP=$ac_ct_STRIP
 11.3134 -else
 11.3135 -  STRIP="$ac_cv_prog_STRIP"
 11.3136 -fi
 11.3137 -
 11.3138 -fi
 11.3139 -INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 11.3140 -
 11.3141 -# We need awk for the "check" target.  The system "awk" is bad on
 11.3142 -# some platforms.
 11.3143 -# Always define AMTAR for backward compatibility.
 11.3144 -
 11.3145 -AMTAR=${AMTAR-"${am_missing_run}tar"}
 11.3146 -
 11.3147 -am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 11.3148 -
 11.3149 -
 11.3150 -
 11.3151 -
 11.3152 -depcc="$CC"   am_compiler_list=
 11.3153 -
 11.3154 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 11.3155 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 11.3156 -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 11.3157 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.3158 -else
 11.3159 -  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 11.3160 -  # We make a subdir and do the tests there.  Otherwise we can end up
 11.3161 -  # making bogus files that we don't know about and never remove.  For
 11.3162 -  # instance it was reported that on HP-UX the gcc test will end up
 11.3163 -  # making a dummy file named `D' -- because `-MD' means `put the output
 11.3164 -  # in D'.
 11.3165 -  mkdir conftest.dir
 11.3166 -  # Copy depcomp to subdir because otherwise we won't find it if we're
 11.3167 -  # using a relative directory.
 11.3168 -  cp "$am_depcomp" conftest.dir
 11.3169 -  cd conftest.dir
 11.3170 -  # We will build objects and dependencies in a subdirectory because
 11.3171 -  # it helps to detect inapplicable dependency modes.  For instance
 11.3172 -  # both Tru64's cc and ICC support -MD to output dependencies as a
 11.3173 -  # side effect of compilation, but ICC will put the dependencies in
 11.3174 -  # the current directory while Tru64 will put them in the object
 11.3175 -  # directory.
 11.3176 -  mkdir sub
 11.3177 -
 11.3178 -  am_cv_CC_dependencies_compiler_type=none
 11.3179 -  if test "$am_compiler_list" = ""; then
 11.3180 -     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 11.3181 -  fi
 11.3182 -  for depmode in $am_compiler_list; do
 11.3183 -    # Setup a source with many dependencies, because some compilers
 11.3184 -    # like to wrap large dependency lists on column 80 (with \), and
 11.3185 -    # we should not choose a depcomp mode which is confused by this.
 11.3186 -    #
 11.3187 -    # We need to recreate these files for each test, as the compiler may
 11.3188 -    # overwrite some of them when testing with obscure command lines.
 11.3189 -    # This happens at least with the AIX C compiler.
 11.3190 -    : > sub/conftest.c
 11.3191 -    for i in 1 2 3 4 5 6; do
 11.3192 -      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 11.3193 -      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 11.3194 -      # Solaris 8's {/usr,}/bin/sh.
 11.3195 -      touch sub/conftst$i.h
 11.3196 -    done
 11.3197 -    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 11.3198 -
 11.3199 -    case $depmode in
 11.3200 -    nosideeffect)
 11.3201 -      # after this tag, mechanisms are not by side-effect, so they'll
 11.3202 -      # only be used when explicitly requested
 11.3203 -      if test "x$enable_dependency_tracking" = xyes; then
 11.3204 -	continue
 11.3205 -      else
 11.3206 -	break
 11.3207 -      fi
 11.3208 -      ;;
 11.3209 -    none) break ;;
 11.3210 -    esac
 11.3211 -    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 11.3212 -    # mode.  It turns out that the SunPro C++ compiler does not properly
 11.3213 -    # handle `-M -o', and we need to detect this.
 11.3214 -    if depmode=$depmode \
 11.3215 -       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 11.3216 -       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 11.3217 -       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 11.3218 -         >/dev/null 2>conftest.err &&
 11.3219 -       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 11.3220 -       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 11.3221 -       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 11.3222 -      # icc doesn't choke on unknown options, it will just issue warnings
 11.3223 -      # or remarks (even with -Werror).  So we grep stderr for any message
 11.3224 -      # that says an option was ignored or not supported.
 11.3225 -      # When given -MP, icc 7.0 and 7.1 complain thusly:
 11.3226 -      #   icc: Command line warning: ignoring option '-M'; no argument required
 11.3227 -      # The diagnosis changed in icc 8.0:
 11.3228 -      #   icc: Command line remark: option '-MP' not supported
 11.3229 -      if (grep 'ignoring option' conftest.err ||
 11.3230 -          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 11.3231 -        am_cv_CC_dependencies_compiler_type=$depmode
 11.3232 -        break
 11.3233 -      fi
 11.3234 -    fi
 11.3235 -  done
 11.3236 -
 11.3237 -  cd ..
 11.3238 -  rm -rf conftest.dir
 11.3239 -else
 11.3240 -  am_cv_CC_dependencies_compiler_type=none
 11.3241 -fi
 11.3242 -
 11.3243 -fi
 11.3244 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 11.3245 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 11.3246 -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 11.3247 -
 11.3248 -
 11.3249 -
 11.3250 -if
 11.3251 -  test "x$enable_dependency_tracking" != xno \
 11.3252 -  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 11.3253 -  am__fastdepCC_TRUE=
 11.3254 -  am__fastdepCC_FALSE='#'
 11.3255 -else
 11.3256 -  am__fastdepCC_TRUE='#'
 11.3257 -  am__fastdepCC_FALSE=
 11.3258 -fi
 11.3259 -
 11.3260 -
 11.3261 -
 11.3262 -
 11.3263 -ac_ext=c
 11.3264 -ac_cpp='$CPP $CPPFLAGS'
 11.3265 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 11.3266 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 11.3267 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
 11.3268 -if test -n "$ac_tool_prefix"; then
 11.3269 -  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 11.3270 -set dummy ${ac_tool_prefix}gcc; ac_word=$2
 11.3271 -echo "$as_me:$LINENO: checking for $ac_word" >&5
 11.3272 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 11.3273 -if test "${ac_cv_prog_CC+set}" = set; then
 11.3274 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.3275 -else
 11.3276 -  if test -n "$CC"; then
 11.3277 -  ac_cv_prog_CC="$CC" # Let the user override the test.
 11.3278 -else
 11.3279 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11.3280 -for as_dir in $PATH
 11.3281 -do
 11.3282 -  IFS=$as_save_IFS
 11.3283 -  test -z "$as_dir" && as_dir=.
 11.3284 -  for ac_exec_ext in '' $ac_executable_extensions; do
 11.3285 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 11.3286 -    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 11.3287 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 11.3288 -    break 2
 11.3289 -  fi
 11.3290 -done
 11.3291 -done
 11.3292 -
 11.3293 -fi
 11.3294 -fi
 11.3295 -CC=$ac_cv_prog_CC
 11.3296 -if test -n "$CC"; then
 11.3297 -  echo "$as_me:$LINENO: result: $CC" >&5
 11.3298 -echo "${ECHO_T}$CC" >&6
 11.3299 -else
 11.3300 -  echo "$as_me:$LINENO: result: no" >&5
 11.3301 -echo "${ECHO_T}no" >&6
 11.3302 -fi
 11.3303 -
 11.3304 -fi
 11.3305 -if test -z "$ac_cv_prog_CC"; then
 11.3306 -  ac_ct_CC=$CC
 11.3307 -  # Extract the first word of "gcc", so it can be a program name with args.
 11.3308 -set dummy gcc; ac_word=$2
 11.3309 -echo "$as_me:$LINENO: checking for $ac_word" >&5
 11.3310 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 11.3311 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 11.3312 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.3313 -else
 11.3314 -  if test -n "$ac_ct_CC"; then
 11.3315 -  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 11.3316 -else
 11.3317 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11.3318 -for as_dir in $PATH
 11.3319 -do
 11.3320 -  IFS=$as_save_IFS
 11.3321 -  test -z "$as_dir" && as_dir=.
 11.3322 -  for ac_exec_ext in '' $ac_executable_extensions; do
 11.3323 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 11.3324 -    ac_cv_prog_ac_ct_CC="gcc"
 11.3325 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 11.3326 -    break 2
 11.3327 -  fi
 11.3328 -done
 11.3329 -done
 11.3330 -
 11.3331 -fi
 11.3332 -fi
 11.3333 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
 11.3334 -if test -n "$ac_ct_CC"; then
 11.3335 -  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 11.3336 -echo "${ECHO_T}$ac_ct_CC" >&6
 11.3337 -else
 11.3338 -  echo "$as_me:$LINENO: result: no" >&5
 11.3339 -echo "${ECHO_T}no" >&6
 11.3340 -fi
 11.3341 -
 11.3342 -  CC=$ac_ct_CC
 11.3343 -else
 11.3344 -  CC="$ac_cv_prog_CC"
 11.3345 -fi
 11.3346 -
 11.3347 -if test -z "$CC"; then
 11.3348 -  if test -n "$ac_tool_prefix"; then
 11.3349 -  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 11.3350 -set dummy ${ac_tool_prefix}cc; ac_word=$2
 11.3351 -echo "$as_me:$LINENO: checking for $ac_word" >&5
 11.3352 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 11.3353 -if test "${ac_cv_prog_CC+set}" = set; then
 11.3354 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.3355 -else
 11.3356 -  if test -n "$CC"; then
 11.3357 -  ac_cv_prog_CC="$CC" # Let the user override the test.
 11.3358 -else
 11.3359 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11.3360 -for as_dir in $PATH
 11.3361 -do
 11.3362 -  IFS=$as_save_IFS
 11.3363 -  test -z "$as_dir" && as_dir=.
 11.3364 -  for ac_exec_ext in '' $ac_executable_extensions; do
 11.3365 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 11.3366 -    ac_cv_prog_CC="${ac_tool_prefix}cc"
 11.3367 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 11.3368 -    break 2
 11.3369 -  fi
 11.3370 -done
 11.3371 -done
 11.3372 -
 11.3373 -fi
 11.3374 -fi
 11.3375 -CC=$ac_cv_prog_CC
 11.3376 -if test -n "$CC"; then
 11.3377 -  echo "$as_me:$LINENO: result: $CC" >&5
 11.3378 -echo "${ECHO_T}$CC" >&6
 11.3379 -else
 11.3380 -  echo "$as_me:$LINENO: result: no" >&5
 11.3381 -echo "${ECHO_T}no" >&6
 11.3382 -fi
 11.3383 -
 11.3384 -fi
 11.3385 -if test -z "$ac_cv_prog_CC"; then
 11.3386 -  ac_ct_CC=$CC
 11.3387 -  # Extract the first word of "cc", so it can be a program name with args.
 11.3388 -set dummy cc; ac_word=$2
 11.3389 -echo "$as_me:$LINENO: checking for $ac_word" >&5
 11.3390 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 11.3391 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 11.3392 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.3393 -else
 11.3394 -  if test -n "$ac_ct_CC"; then
 11.3395 -  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 11.3396 -else
 11.3397 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11.3398 -for as_dir in $PATH
 11.3399 -do
 11.3400 -  IFS=$as_save_IFS
 11.3401 -  test -z "$as_dir" && as_dir=.
 11.3402 -  for ac_exec_ext in '' $ac_executable_extensions; do
 11.3403 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 11.3404 -    ac_cv_prog_ac_ct_CC="cc"
 11.3405 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 11.3406 -    break 2
 11.3407 -  fi
 11.3408 -done
 11.3409 -done
 11.3410 -
 11.3411 -fi
 11.3412 -fi
 11.3413 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
 11.3414 -if test -n "$ac_ct_CC"; then
 11.3415 -  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 11.3416 -echo "${ECHO_T}$ac_ct_CC" >&6
 11.3417 -else
 11.3418 -  echo "$as_me:$LINENO: result: no" >&5
 11.3419 -echo "${ECHO_T}no" >&6
 11.3420 -fi
 11.3421 -
 11.3422 -  CC=$ac_ct_CC
 11.3423 -else
 11.3424 -  CC="$ac_cv_prog_CC"
 11.3425 -fi
 11.3426 -
 11.3427 -fi
 11.3428 -if test -z "$CC"; then
 11.3429 -  # Extract the first word of "cc", so it can be a program name with args.
 11.3430 -set dummy cc; ac_word=$2
 11.3431 -echo "$as_me:$LINENO: checking for $ac_word" >&5
 11.3432 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 11.3433 -if test "${ac_cv_prog_CC+set}" = set; then
 11.3434 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.3435 -else
 11.3436 -  if test -n "$CC"; then
 11.3437 -  ac_cv_prog_CC="$CC" # Let the user override the test.
 11.3438 -else
 11.3439 -  ac_prog_rejected=no
 11.3440 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11.3441 -for as_dir in $PATH
 11.3442 -do
 11.3443 -  IFS=$as_save_IFS
 11.3444 -  test -z "$as_dir" && as_dir=.
 11.3445 -  for ac_exec_ext in '' $ac_executable_extensions; do
 11.3446 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 11.3447 -    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 11.3448 -       ac_prog_rejected=yes
 11.3449 -       continue
 11.3450 -     fi
 11.3451 -    ac_cv_prog_CC="cc"
 11.3452 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 11.3453 -    break 2
 11.3454 -  fi
 11.3455 -done
 11.3456 -done
 11.3457 -
 11.3458 -if test $ac_prog_rejected = yes; then
 11.3459 -  # We found a bogon in the path, so make sure we never use it.
 11.3460 -  set dummy $ac_cv_prog_CC
 11.3461 -  shift
 11.3462 -  if test $# != 0; then
 11.3463 -    # We chose a different compiler from the bogus one.
 11.3464 -    # However, it has the same basename, so the bogon will be chosen
 11.3465 -    # first if we set CC to just the basename; use the full file name.
 11.3466 -    shift
 11.3467 -    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 11.3468 -  fi
 11.3469 -fi
 11.3470 -fi
 11.3471 -fi
 11.3472 -CC=$ac_cv_prog_CC
 11.3473 -if test -n "$CC"; then
 11.3474 -  echo "$as_me:$LINENO: result: $CC" >&5
 11.3475 -echo "${ECHO_T}$CC" >&6
 11.3476 -else
 11.3477 -  echo "$as_me:$LINENO: result: no" >&5
 11.3478 -echo "${ECHO_T}no" >&6
 11.3479 -fi
 11.3480 -
 11.3481 -fi
 11.3482 -if test -z "$CC"; then
 11.3483 -  if test -n "$ac_tool_prefix"; then
 11.3484 -  for ac_prog in cl
 11.3485 -  do
 11.3486 -    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 11.3487 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 11.3488 -echo "$as_me:$LINENO: checking for $ac_word" >&5
 11.3489 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 11.3490 -if test "${ac_cv_prog_CC+set}" = set; then
 11.3491 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.3492 -else
 11.3493 -  if test -n "$CC"; then
 11.3494 -  ac_cv_prog_CC="$CC" # Let the user override the test.
 11.3495 -else
 11.3496 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11.3497 -for as_dir in $PATH
 11.3498 -do
 11.3499 -  IFS=$as_save_IFS
 11.3500 -  test -z "$as_dir" && as_dir=.
 11.3501 -  for ac_exec_ext in '' $ac_executable_extensions; do
 11.3502 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 11.3503 -    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 11.3504 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 11.3505 -    break 2
 11.3506 -  fi
 11.3507 -done
 11.3508 -done
 11.3509 -
 11.3510 -fi
 11.3511 -fi
 11.3512 -CC=$ac_cv_prog_CC
 11.3513 -if test -n "$CC"; then
 11.3514 -  echo "$as_me:$LINENO: result: $CC" >&5
 11.3515 -echo "${ECHO_T}$CC" >&6
 11.3516 -else
 11.3517 -  echo "$as_me:$LINENO: result: no" >&5
 11.3518 -echo "${ECHO_T}no" >&6
 11.3519 -fi
 11.3520 -
 11.3521 -    test -n "$CC" && break
 11.3522 -  done
 11.3523 -fi
 11.3524 -if test -z "$CC"; then
 11.3525 -  ac_ct_CC=$CC
 11.3526 -  for ac_prog in cl
 11.3527 -do
 11.3528 -  # Extract the first word of "$ac_prog", so it can be a program name with args.
 11.3529 -set dummy $ac_prog; ac_word=$2
 11.3530 -echo "$as_me:$LINENO: checking for $ac_word" >&5
 11.3531 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 11.3532 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 11.3533 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.3534 -else
 11.3535 -  if test -n "$ac_ct_CC"; then
 11.3536 -  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 11.3537 -else
 11.3538 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11.3539 -for as_dir in $PATH
 11.3540 -do
 11.3541 -  IFS=$as_save_IFS
 11.3542 -  test -z "$as_dir" && as_dir=.
 11.3543 -  for ac_exec_ext in '' $ac_executable_extensions; do
 11.3544 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 11.3545 -    ac_cv_prog_ac_ct_CC="$ac_prog"
 11.3546 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 11.3547 -    break 2
 11.3548 -  fi
 11.3549 -done
 11.3550 -done
 11.3551 -
 11.3552 -fi
 11.3553 -fi
 11.3554 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
 11.3555 -if test -n "$ac_ct_CC"; then
 11.3556 -  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 11.3557 -echo "${ECHO_T}$ac_ct_CC" >&6
 11.3558 -else
 11.3559 -  echo "$as_me:$LINENO: result: no" >&5
 11.3560 -echo "${ECHO_T}no" >&6
 11.3561 -fi
 11.3562 -
 11.3563 -  test -n "$ac_ct_CC" && break
 11.3564 -done
 11.3565 -
 11.3566 -  CC=$ac_ct_CC
 11.3567 -fi
 11.3568 -
 11.3569 -fi
 11.3570 -
 11.3571 -
 11.3572 -test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 11.3573 -echo "$as_me: error: in \`$ac_pwd':" >&2;}
 11.3574 -{ { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 11.3575 -See \`config.log' for more details." >&5
 11.3576 -echo "$as_me: error: no acceptable C compiler found in \$PATH
 11.3577 -See \`config.log' for more details." >&2;}
 11.3578 -   { (exit 1); exit 1; }; }; }
 11.3579 -
 11.3580 -# Provide some information about the compiler.
 11.3581 -echo "$as_me:$LINENO:" \
 11.3582 -     "checking for C compiler version" >&5
 11.3583 -ac_compiler=`set X $ac_compile; echo $2`
 11.3584 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 11.3585 -  (eval $ac_compiler --version </dev/null >&5) 2>&5
 11.3586 -  ac_status=$?
 11.3587 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.3588 -  (exit $ac_status); }
 11.3589 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 11.3590 -  (eval $ac_compiler -v </dev/null >&5) 2>&5
 11.3591 -  ac_status=$?
 11.3592 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.3593 -  (exit $ac_status); }
 11.3594 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 11.3595 -  (eval $ac_compiler -V </dev/null >&5) 2>&5
 11.3596 -  ac_status=$?
 11.3597 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.3598 -  (exit $ac_status); }
 11.3599 -
 11.3600 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 11.3601 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 11.3602 -if test "${ac_cv_c_compiler_gnu+set}" = set; then
 11.3603 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.3604 -else
 11.3605 -  cat >conftest.$ac_ext <<_ACEOF
 11.3606 -/* confdefs.h.  */
 11.3607 -_ACEOF
 11.3608 -cat confdefs.h >>conftest.$ac_ext
 11.3609 -cat >>conftest.$ac_ext <<_ACEOF
 11.3610 -/* end confdefs.h.  */
 11.3611 -
 11.3612 -int
 11.3613 -main ()
 11.3614 -{
 11.3615 -#ifndef __GNUC__
 11.3616 -       choke me
 11.3617 -#endif
 11.3618 -
 11.3619 -  ;
 11.3620 -  return 0;
 11.3621 -}
 11.3622 -_ACEOF
 11.3623 -rm -f conftest.$ac_objext
 11.3624 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 11.3625 -  (eval $ac_compile) 2>conftest.er1
 11.3626 -  ac_status=$?
 11.3627 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.3628 -  rm -f conftest.er1
 11.3629 -  cat conftest.err >&5
 11.3630 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.3631 -  (exit $ac_status); } &&
 11.3632 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 11.3633 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.3634 -  (eval $ac_try) 2>&5
 11.3635 -  ac_status=$?
 11.3636 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.3637 -  (exit $ac_status); }; } &&
 11.3638 -	 { ac_try='test -s conftest.$ac_objext'
 11.3639 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.3640 -  (eval $ac_try) 2>&5
 11.3641 -  ac_status=$?
 11.3642 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.3643 -  (exit $ac_status); }; }; then
 11.3644 -  ac_compiler_gnu=yes
 11.3645 -else
 11.3646 -  echo "$as_me: failed program was:" >&5
 11.3647 -sed 's/^/| /' conftest.$ac_ext >&5
 11.3648 -
 11.3649 -ac_compiler_gnu=no
 11.3650 -fi
 11.3651 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 11.3652 -ac_cv_c_compiler_gnu=$ac_compiler_gnu
 11.3653 -
 11.3654 -fi
 11.3655 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 11.3656 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 11.3657 -GCC=`test $ac_compiler_gnu = yes && echo yes`
 11.3658 -ac_test_CFLAGS=${CFLAGS+set}
 11.3659 -ac_save_CFLAGS=$CFLAGS
 11.3660 -CFLAGS="-g"
 11.3661 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 11.3662 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 11.3663 -if test "${ac_cv_prog_cc_g+set}" = set; then
 11.3664 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.3665 -else
 11.3666 -  cat >conftest.$ac_ext <<_ACEOF
 11.3667 -/* confdefs.h.  */
 11.3668 -_ACEOF
 11.3669 -cat confdefs.h >>conftest.$ac_ext
 11.3670 -cat >>conftest.$ac_ext <<_ACEOF
 11.3671 -/* end confdefs.h.  */
 11.3672 -
 11.3673 -int
 11.3674 -main ()
 11.3675 -{
 11.3676 -
 11.3677 -  ;
 11.3678 -  return 0;
 11.3679 -}
 11.3680 -_ACEOF
 11.3681 -rm -f conftest.$ac_objext
 11.3682 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 11.3683 -  (eval $ac_compile) 2>conftest.er1
 11.3684 -  ac_status=$?
 11.3685 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.3686 -  rm -f conftest.er1
 11.3687 -  cat conftest.err >&5
 11.3688 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.3689 -  (exit $ac_status); } &&
 11.3690 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 11.3691 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.3692 -  (eval $ac_try) 2>&5
 11.3693 -  ac_status=$?
 11.3694 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.3695 -  (exit $ac_status); }; } &&
 11.3696 -	 { ac_try='test -s conftest.$ac_objext'
 11.3697 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.3698 -  (eval $ac_try) 2>&5
 11.3699 -  ac_status=$?
 11.3700 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.3701 -  (exit $ac_status); }; }; then
 11.3702 -  ac_cv_prog_cc_g=yes
 11.3703 -else
 11.3704 -  echo "$as_me: failed program was:" >&5
 11.3705 -sed 's/^/| /' conftest.$ac_ext >&5
 11.3706 -
 11.3707 -ac_cv_prog_cc_g=no
 11.3708 -fi
 11.3709 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 11.3710 -fi
 11.3711 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 11.3712 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 11.3713 -if test "$ac_test_CFLAGS" = set; then
 11.3714 -  CFLAGS=$ac_save_CFLAGS
 11.3715 -elif test $ac_cv_prog_cc_g = yes; then
 11.3716 -  if test "$GCC" = yes; then
 11.3717 -    CFLAGS="-g -O2"
 11.3718 -  else
 11.3719 -    CFLAGS="-g"
 11.3720 -  fi
 11.3721 -else
 11.3722 -  if test "$GCC" = yes; then
 11.3723 -    CFLAGS="-O2"
 11.3724 -  else
 11.3725 -    CFLAGS=
 11.3726 -  fi
 11.3727 -fi
 11.3728 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
 11.3729 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 11.3730 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
 11.3731 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.3732 -else
 11.3733 -  ac_cv_prog_cc_stdc=no
 11.3734 -ac_save_CC=$CC
 11.3735 -cat >conftest.$ac_ext <<_ACEOF
 11.3736 -/* confdefs.h.  */
 11.3737 -_ACEOF
 11.3738 -cat confdefs.h >>conftest.$ac_ext
 11.3739 -cat >>conftest.$ac_ext <<_ACEOF
 11.3740 -/* end confdefs.h.  */
 11.3741 -#include <stdarg.h>
 11.3742 -#include <stdio.h>
 11.3743 -#include <sys/types.h>
 11.3744 -#include <sys/stat.h>
 11.3745 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 11.3746 -struct buf { int x; };
 11.3747 -FILE * (*rcsopen) (struct buf *, struct stat *, int);
 11.3748 -static char *e (p, i)
 11.3749 -     char **p;
 11.3750 -     int i;
 11.3751 -{
 11.3752 -  return p[i];
 11.3753 -}
 11.3754 -static char *f (char * (*g) (char **, int), char **p, ...)
 11.3755 -{
 11.3756 -  char *s;
 11.3757 -  va_list v;
 11.3758 -  va_start (v,p);
 11.3759 -  s = g (p, va_arg (v,int));
 11.3760 -  va_end (v);
 11.3761 -  return s;
 11.3762 -}
 11.3763 -
 11.3764 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 11.3765 -   function prototypes and stuff, but not '\xHH' hex character constants.
 11.3766 -   These don't provoke an error unfortunately, instead are silently treated
 11.3767 -   as 'x'.  The following induces an error, until -std1 is added to get
 11.3768 -   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 11.3769 -   array size at least.  It's necessary to write '\x00'==0 to get something
 11.3770 -   that's true only with -std1.  */
 11.3771 -int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 11.3772 -
 11.3773 -int test (int i, double x);
 11.3774 -struct s1 {int (*f) (int a);};
 11.3775 -struct s2 {int (*f) (double a);};
 11.3776 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 11.3777 -int argc;
 11.3778 -char **argv;
 11.3779 -int
 11.3780 -main ()
 11.3781 -{
 11.3782 -return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 11.3783 -  ;
 11.3784 -  return 0;
 11.3785 -}
 11.3786 -_ACEOF
 11.3787 -# Don't try gcc -ansi; that turns off useful extensions and
 11.3788 -# breaks some systems' header files.
 11.3789 -# AIX			-qlanglvl=ansi
 11.3790 -# Ultrix and OSF/1	-std1
 11.3791 -# HP-UX 10.20 and later	-Ae
 11.3792 -# HP-UX older versions	-Aa -D_HPUX_SOURCE
 11.3793 -# SVR4			-Xc -D__EXTENSIONS__
 11.3794 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 11.3795 -do
 11.3796 -  CC="$ac_save_CC $ac_arg"
 11.3797 -  rm -f conftest.$ac_objext
 11.3798 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 11.3799 -  (eval $ac_compile) 2>conftest.er1
 11.3800 -  ac_status=$?
 11.3801 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.3802 -  rm -f conftest.er1
 11.3803 -  cat conftest.err >&5
 11.3804 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.3805 -  (exit $ac_status); } &&
 11.3806 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 11.3807 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.3808 -  (eval $ac_try) 2>&5
 11.3809 -  ac_status=$?
 11.3810 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.3811 -  (exit $ac_status); }; } &&
 11.3812 -	 { ac_try='test -s conftest.$ac_objext'
 11.3813 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.3814 -  (eval $ac_try) 2>&5
 11.3815 -  ac_status=$?
 11.3816 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.3817 -  (exit $ac_status); }; }; then
 11.3818 -  ac_cv_prog_cc_stdc=$ac_arg
 11.3819 -break
 11.3820 -else
 11.3821 -  echo "$as_me: failed program was:" >&5
 11.3822 -sed 's/^/| /' conftest.$ac_ext >&5
 11.3823 -
 11.3824 -fi
 11.3825 -rm -f conftest.err conftest.$ac_objext
 11.3826 -done
 11.3827 -rm -f conftest.$ac_ext conftest.$ac_objext
 11.3828 -CC=$ac_save_CC
 11.3829 -
 11.3830 -fi
 11.3831 -
 11.3832 -case "x$ac_cv_prog_cc_stdc" in
 11.3833 -  x|xno)
 11.3834 -    echo "$as_me:$LINENO: result: none needed" >&5
 11.3835 -echo "${ECHO_T}none needed" >&6 ;;
 11.3836 -  *)
 11.3837 -    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 11.3838 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
 11.3839 -    CC="$CC $ac_cv_prog_cc_stdc" ;;
 11.3840 -esac
 11.3841 -
 11.3842 -# Some people use a C++ compiler to compile C.  Since we use `exit',
 11.3843 -# in C++ we need to declare it.  In case someone uses the same compiler
 11.3844 -# for both compiling C and C++ we need to have the C++ compiler decide
 11.3845 -# the declaration of exit, since it's the most demanding environment.
 11.3846 -cat >conftest.$ac_ext <<_ACEOF
 11.3847 -#ifndef __cplusplus
 11.3848 -  choke me
 11.3849 -#endif
 11.3850 -_ACEOF
 11.3851 -rm -f conftest.$ac_objext
 11.3852 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 11.3853 -  (eval $ac_compile) 2>conftest.er1
 11.3854 -  ac_status=$?
 11.3855 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.3856 -  rm -f conftest.er1
 11.3857 -  cat conftest.err >&5
 11.3858 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.3859 -  (exit $ac_status); } &&
 11.3860 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 11.3861 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.3862 -  (eval $ac_try) 2>&5
 11.3863 -  ac_status=$?
 11.3864 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.3865 -  (exit $ac_status); }; } &&
 11.3866 -	 { ac_try='test -s conftest.$ac_objext'
 11.3867 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.3868 -  (eval $ac_try) 2>&5
 11.3869 -  ac_status=$?
 11.3870 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.3871 -  (exit $ac_status); }; }; then
 11.3872 -  for ac_declaration in \
 11.3873 -   '' \
 11.3874 -   'extern "C" void std::exit (int) throw (); using std::exit;' \
 11.3875 -   'extern "C" void std::exit (int); using std::exit;' \
 11.3876 -   'extern "C" void exit (int) throw ();' \
 11.3877 -   'extern "C" void exit (int);' \
 11.3878 -   'void exit (int);'
 11.3879 -do
 11.3880 -  cat >conftest.$ac_ext <<_ACEOF
 11.3881 -/* confdefs.h.  */
 11.3882 -_ACEOF
 11.3883 -cat confdefs.h >>conftest.$ac_ext
 11.3884 -cat >>conftest.$ac_ext <<_ACEOF
 11.3885 -/* end confdefs.h.  */
 11.3886 -$ac_declaration
 11.3887 -#include <stdlib.h>
 11.3888 -int
 11.3889 -main ()
 11.3890 -{
 11.3891 -exit (42);
 11.3892 -  ;
 11.3893 -  return 0;
 11.3894 -}
 11.3895 -_ACEOF
 11.3896 -rm -f conftest.$ac_objext
 11.3897 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 11.3898 -  (eval $ac_compile) 2>conftest.er1
 11.3899 -  ac_status=$?
 11.3900 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.3901 -  rm -f conftest.er1
 11.3902 -  cat conftest.err >&5
 11.3903 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.3904 -  (exit $ac_status); } &&
 11.3905 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 11.3906 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.3907 -  (eval $ac_try) 2>&5
 11.3908 -  ac_status=$?
 11.3909 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.3910 -  (exit $ac_status); }; } &&
 11.3911 -	 { ac_try='test -s conftest.$ac_objext'
 11.3912 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.3913 -  (eval $ac_try) 2>&5
 11.3914 -  ac_status=$?
 11.3915 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.3916 -  (exit $ac_status); }; }; then
 11.3917 -  :
 11.3918 -else
 11.3919 -  echo "$as_me: failed program was:" >&5
 11.3920 -sed 's/^/| /' conftest.$ac_ext >&5
 11.3921 -
 11.3922 -continue
 11.3923 -fi
 11.3924 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 11.3925 -  cat >conftest.$ac_ext <<_ACEOF
 11.3926 -/* confdefs.h.  */
 11.3927 -_ACEOF
 11.3928 -cat confdefs.h >>conftest.$ac_ext
 11.3929 -cat >>conftest.$ac_ext <<_ACEOF
 11.3930 -/* end confdefs.h.  */
 11.3931 -$ac_declaration
 11.3932 -int
 11.3933 -main ()
 11.3934 -{
 11.3935 -exit (42);
 11.3936 -  ;
 11.3937 -  return 0;
 11.3938 -}
 11.3939 -_ACEOF
 11.3940 -rm -f conftest.$ac_objext
 11.3941 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 11.3942 -  (eval $ac_compile) 2>conftest.er1
 11.3943 -  ac_status=$?
 11.3944 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.3945 -  rm -f conftest.er1
 11.3946 -  cat conftest.err >&5
 11.3947 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.3948 -  (exit $ac_status); } &&
 11.3949 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 11.3950 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.3951 -  (eval $ac_try) 2>&5
 11.3952 -  ac_status=$?
 11.3953 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.3954 -  (exit $ac_status); }; } &&
 11.3955 -	 { ac_try='test -s conftest.$ac_objext'
 11.3956 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.3957 -  (eval $ac_try) 2>&5
 11.3958 -  ac_status=$?
 11.3959 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.3960 -  (exit $ac_status); }; }; then
 11.3961 -  break
 11.3962 -else
 11.3963 -  echo "$as_me: failed program was:" >&5
 11.3964 -sed 's/^/| /' conftest.$ac_ext >&5
 11.3965 -
 11.3966 -fi
 11.3967 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 11.3968 -done
 11.3969 -rm -f conftest*
 11.3970 -if test -n "$ac_declaration"; then
 11.3971 -  echo '#ifdef __cplusplus' >>confdefs.h
 11.3972 -  echo $ac_declaration      >>confdefs.h
 11.3973 -  echo '#endif'             >>confdefs.h
 11.3974 -fi
 11.3975 -
 11.3976 -else
 11.3977 -  echo "$as_me: failed program was:" >&5
 11.3978 -sed 's/^/| /' conftest.$ac_ext >&5
 11.3979 -
 11.3980 -fi
 11.3981 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 11.3982 -ac_ext=c
 11.3983 -ac_cpp='$CPP $CPPFLAGS'
 11.3984 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 11.3985 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 11.3986 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
 11.3987 -
 11.3988 -
 11.3989 -cat >>confdefs.h <<\_ACEOF
 11.3990 -#define _GNU_SOURCE 1
 11.3991 -_ACEOF
 11.3992 -
 11.3993 -
 11.3994 -
 11.3995 -
 11.3996 -macro_version='2.1a'
 11.3997 -macro_revision='1.2435'
 11.3998 -
 11.3999 -
 11.4000 -
 11.4001 -
 11.4002 -
 11.4003 -
 11.4004 -
 11.4005 -
 11.4006 -
 11.4007 -
 11.4008 -
 11.4009 -
 11.4010 -ltmain="$ac_aux_dir/ltmain.sh"
 11.4011 -
 11.4012 -# Set options
 11.4013 -
 11.4014 -enable_dlopen=no
 11.4015 -
 11.4016 -
 11.4017 -enable_win32_dll=no
 11.4018 -
 11.4019 -
 11.4020 -# Check whether --enable-shared or --disable-shared was given.
 11.4021 -if test "${enable_shared+set}" = set; then
 11.4022 -  enableval="$enable_shared"
 11.4023 -  p=${PACKAGE-default}
 11.4024 -    case $enableval in
 11.4025 -    yes) enable_shared=yes ;;
 11.4026 -    no) enable_shared=no ;;
 11.4027 -    *)
 11.4028 -      enable_shared=no
 11.4029 -      # Look at the argument we got.  We use all the common list separators.
 11.4030 -      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 11.4031 -      for pkg in $enableval; do
 11.4032 -	IFS="$lt_save_ifs"
 11.4033 -	if test "X$pkg" = "X$p"; then
 11.4034 -	  enable_shared=yes
 11.4035 -	fi
 11.4036 -      done
 11.4037 -      IFS="$lt_save_ifs"
 11.4038 -      ;;
 11.4039 -    esac
 11.4040 -else
 11.4041 -  enable_shared=yes
 11.4042 -fi;
 11.4043 -
 11.4044 -
 11.4045 -
 11.4046 -
 11.4047 -
 11.4048 -
 11.4049 -
 11.4050 -
 11.4051 -# Check whether --enable-static or --disable-static was given.
 11.4052 -if test "${enable_static+set}" = set; then
 11.4053 -  enableval="$enable_static"
 11.4054 -  p=${PACKAGE-default}
 11.4055 -    case $enableval in
 11.4056 -    yes) enable_static=yes ;;
 11.4057 -    no) enable_static=no ;;
 11.4058 -    *)
 11.4059 -     enable_static=no
 11.4060 -      # Look at the argument we got.  We use all the common list separators.
 11.4061 -      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 11.4062 -      for pkg in $enableval; do
 11.4063 -	IFS="$lt_save_ifs"
 11.4064 -	if test "X$pkg" = "X$p"; then
 11.4065 -	  enable_static=yes
 11.4066 -	fi
 11.4067 -      done
 11.4068 -      IFS="$lt_save_ifs"
 11.4069 -      ;;
 11.4070 -    esac
 11.4071 -else
 11.4072 -  enable_static=yes
 11.4073 -fi;
 11.4074 -
 11.4075 -
 11.4076 -
 11.4077 -
 11.4078 -
 11.4079 -
 11.4080 -
 11.4081 -
 11.4082 -
 11.4083 -# Check whether --with-pic or --without-pic was given.
 11.4084 -if test "${with_pic+set}" = set; then
 11.4085 -  withval="$with_pic"
 11.4086 -  pic_mode="$withval"
 11.4087 -else
 11.4088 -  pic_mode=default
 11.4089 -fi;
 11.4090 -
 11.4091 -test -z "$pic_mode" && pic_mode=default
 11.4092 -
 11.4093 -
 11.4094 -
 11.4095 -
 11.4096 -
 11.4097 -
 11.4098 -
 11.4099 -# Check whether --enable-fast-install or --disable-fast-install was given.
 11.4100 -if test "${enable_fast_install+set}" = set; then
 11.4101 -  enableval="$enable_fast_install"
 11.4102 -  p=${PACKAGE-default}
 11.4103 -    case $enableval in
 11.4104 -    yes) enable_fast_install=yes ;;
 11.4105 -    no) enable_fast_install=no ;;
 11.4106 -    *)
 11.4107 -      enable_fast_install=no
 11.4108 -      # Look at the argument we got.  We use all the common list separators.
 11.4109 -      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 11.4110 -      for pkg in $enableval; do
 11.4111 -	IFS="$lt_save_ifs"
 11.4112 -	if test "X$pkg" = "X$p"; then
 11.4113 -	  enable_fast_install=yes
 11.4114 -	fi
 11.4115 -      done
 11.4116 -      IFS="$lt_save_ifs"
 11.4117 -      ;;
 11.4118 -    esac
 11.4119 -else
 11.4120 -  enable_fast_install=yes
 11.4121 -fi;
 11.4122 -
 11.4123 -
 11.4124 -
 11.4125 -
 11.4126 -
 11.4127 -
 11.4128 -
 11.4129 -
 11.4130 -echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 11.4131 -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 11.4132 -if test "${lt_cv_path_SED+set}" = set; then
 11.4133 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.4134 -else
 11.4135 -  # Loop through the user's path and test for sed and gsed.
 11.4136 -# Then use that list of sed's as ones to test for truncation.
 11.4137 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11.4138 -for as_dir in $PATH
 11.4139 -do
 11.4140 -  IFS=$as_save_IFS
 11.4141 -  test -z "$as_dir" && as_dir=.
 11.4142 -  for lt_ac_prog in sed gsed; do
 11.4143 -    for ac_exec_ext in '' $ac_executable_extensions; do
 11.4144 -      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 11.4145 -        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
 11.4146 -      fi
 11.4147 -    done
 11.4148 -  done
 11.4149 -done
 11.4150 -IFS=$as_save_IFS
 11.4151 -lt_ac_max=0
 11.4152 -lt_ac_count=0
 11.4153 -# Add /usr/xpg4/bin/sed as it is typically found on Solaris
 11.4154 -# along with /bin/sed that truncates output.
 11.4155 -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
 11.4156 -  test ! -f $lt_ac_sed && continue
 11.4157 -  cat /dev/null > conftest.in
 11.4158 -  lt_ac_count=0
 11.4159 -  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
 11.4160 -  # Check for GNU sed and select it if it is found.
 11.4161 -  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
 11.4162 -    lt_cv_path_SED=$lt_ac_sed
 11.4163 -    break
 11.4164 -  fi
 11.4165 -  while true; do
 11.4166 -    cat conftest.in conftest.in >conftest.tmp
 11.4167 -    mv conftest.tmp conftest.in
 11.4168 -    cp conftest.in conftest.nl
 11.4169 -    echo >>conftest.nl
 11.4170 -    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
 11.4171 -    cmp -s conftest.out conftest.nl || break
 11.4172 -    # 10000 chars as input seems more than enough
 11.4173 -    test $lt_ac_count -gt 10 && break
 11.4174 -    lt_ac_count=`expr $lt_ac_count + 1`
 11.4175 -    if test $lt_ac_count -gt $lt_ac_max; then
 11.4176 -      lt_ac_max=$lt_ac_count
 11.4177 -      lt_cv_path_SED=$lt_ac_sed
 11.4178 -    fi
 11.4179 -  done
 11.4180 -done
 11.4181 -
 11.4182 -fi
 11.4183 -
 11.4184 -SED=$lt_cv_path_SED
 11.4185 -
 11.4186 -echo "$as_me:$LINENO: result: $SED" >&5
 11.4187 -echo "${ECHO_T}$SED" >&6
 11.4188 -
 11.4189 -test -z "$SED" && SED=sed
 11.4190 -Xsed="$SED -e 1s/^X//"
 11.4191 -
 11.4192 -
 11.4193 -
 11.4194 -
 11.4195 -
 11.4196 -
 11.4197 -
 11.4198 -
 11.4199 -
 11.4200 -
 11.4201 -
 11.4202 -echo "$as_me:$LINENO: checking for egrep" >&5
 11.4203 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
 11.4204 -if test "${ac_cv_prog_egrep+set}" = set; then
 11.4205 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.4206 -else
 11.4207 -  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
 11.4208 -    then ac_cv_prog_egrep='grep -E'
 11.4209 -    else ac_cv_prog_egrep='egrep'
 11.4210 -    fi
 11.4211 -fi
 11.4212 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
 11.4213 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
 11.4214 - EGREP=$ac_cv_prog_egrep
 11.4215 -
 11.4216 -
 11.4217 -echo "$as_me:$LINENO: checking for fgrep" >&5
 11.4218 -echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
 11.4219 -if test "${ac_cv_prog_fgrep+set}" = set; then
 11.4220 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.4221 -else
 11.4222 -  if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
 11.4223 -    then ac_cv_prog_fgrep='grep -F'
 11.4224 -    else ac_cv_prog_fgrep='fgrep'
 11.4225 -    fi
 11.4226 -fi
 11.4227 -echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
 11.4228 -echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
 11.4229 - FGREP=$ac_cv_prog_fgrep
 11.4230 -
 11.4231 -
 11.4232 -test -z "$GREP" && GREP=grep
 11.4233 -
 11.4234 -
 11.4235 -
 11.4236 -
 11.4237 -
 11.4238 -
 11.4239 -
 11.4240 -
 11.4241 -
 11.4242 -
 11.4243 -
 11.4244 -
 11.4245 -
 11.4246 -
 11.4247 -
 11.4248 -
 11.4249 -
 11.4250 -
 11.4251 -
 11.4252 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
 11.4253 -if test "${with_gnu_ld+set}" = set; then
 11.4254 -  withval="$with_gnu_ld"
 11.4255 -  test "$withval" = no || with_gnu_ld=yes
 11.4256 -else
 11.4257 -  with_gnu_ld=no
 11.4258 -fi;
 11.4259 -ac_prog=ld
 11.4260 -if test "$GCC" = yes; then
 11.4261 -  # Check if gcc -print-prog-name=ld gives a path.
 11.4262 -  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 11.4263 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 11.4264 -  case $host in
 11.4265 -  *-*-mingw*)
 11.4266 -    # gcc leaves a trailing carriage return which upsets mingw
 11.4267 -    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 11.4268 -  *)
 11.4269 -    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 11.4270 -  esac
 11.4271 -  case $ac_prog in
 11.4272 -    # Accept absolute paths.
 11.4273 -    [\\/]* | ?:[\\/]*)
 11.4274 -      re_direlt='/[^/][^/]*/\.\./'
 11.4275 -      # Canonicalize the pathname of ld
 11.4276 -      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 11.4277 -      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 11.4278 -	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 11.4279 -      done
 11.4280 -      test -z "$LD" && LD="$ac_prog"
 11.4281 -      ;;
 11.4282 -  "")
 11.4283 -    # If it fails, then pretend we aren't using GCC.
 11.4284 -    ac_prog=ld
 11.4285 -    ;;
 11.4286 -  *)
 11.4287 -    # If it is relative, then search for the first ld in PATH.
 11.4288 -    with_gnu_ld=unknown
 11.4289 -    ;;
 11.4290 -  esac
 11.4291 -elif test "$with_gnu_ld" = yes; then
 11.4292 -  echo "$as_me:$LINENO: checking for GNU ld" >&5
 11.4293 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 11.4294 -else
 11.4295 -  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 11.4296 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 11.4297 -fi
 11.4298 -if test "${lt_cv_path_LD+set}" = set; then
 11.4299 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.4300 -else
 11.4301 -  if test -z "$LD"; then
 11.4302 -  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 11.4303 -  for ac_dir in $PATH; do
 11.4304 -    IFS="$lt_save_ifs"
 11.4305 -    test -z "$ac_dir" && ac_dir=.
 11.4306 -    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 11.4307 -      lt_cv_path_LD="$ac_dir/$ac_prog"
 11.4308 -      # Check to see if the program is GNU ld.  I'd rather use --version,
 11.4309 -      # but apparently some variants of GNU ld only accept -v.
 11.4310 -      # Break only if it was the GNU/non-GNU ld that we prefer.
 11.4311 -      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 11.4312 -      *GNU* | *'with BFD'*)
 11.4313 -	test "$with_gnu_ld" != no && break
 11.4314 -	;;
 11.4315 -      *)
 11.4316 -	test "$with_gnu_ld" != yes && break
 11.4317 -	;;
 11.4318 -      esac
 11.4319 -    fi
 11.4320 -  done
 11.4321 -  IFS="$lt_save_ifs"
 11.4322 -else
 11.4323 -  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 11.4324 -fi
 11.4325 -fi
 11.4326 -
 11.4327 -LD="$lt_cv_path_LD"
 11.4328 -if test -n "$LD"; then
 11.4329 -  echo "$as_me:$LINENO: result: $LD" >&5
 11.4330 -echo "${ECHO_T}$LD" >&6
 11.4331 -else
 11.4332 -  echo "$as_me:$LINENO: result: no" >&5
 11.4333 -echo "${ECHO_T}no" >&6
 11.4334 -fi
 11.4335 -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 11.4336 -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 11.4337 -   { (exit 1); exit 1; }; }
 11.4338 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 11.4339 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 11.4340 -if test "${lt_cv_prog_gnu_ld+set}" = set; then
 11.4341 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.4342 -else
 11.4343 -  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 11.4344 -case `$LD -v 2>&1 </dev/null` in
 11.4345 -*GNU* | *'with BFD'*)
 11.4346 -  lt_cv_prog_gnu_ld=yes
 11.4347 -  ;;
 11.4348 -*)
 11.4349 -  lt_cv_prog_gnu_ld=no
 11.4350 -  ;;
 11.4351 -esac
 11.4352 -fi
 11.4353 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 11.4354 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 11.4355 -with_gnu_ld=$lt_cv_prog_gnu_ld
 11.4356 -
 11.4357 -
 11.4358 -
 11.4359 -
 11.4360 -
 11.4361 -
 11.4362 -
 11.4363 -
 11.4364 -
 11.4365 -
 11.4366 -echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 11.4367 -echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
 11.4368 -if test "${lt_cv_path_NM+set}" = set; then
 11.4369 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.4370 -else
 11.4371 -  if test -n "$NM"; then
 11.4372 -  # Let the user override the test.
 11.4373 -  lt_cv_path_NM="$NM"
 11.4374 -else
 11.4375 -  lt_nm_to_check="${ac_tool_prefix}nm"
 11.4376 -  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 11.4377 -    lt_nm_to_check="$lt_nm_to_check nm"
 11.4378 -  fi
 11.4379 -  for lt_tmp_nm in $lt_nm_to_check; do
 11.4380 -    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 11.4381 -    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 11.4382 -      IFS="$lt_save_ifs"
 11.4383 -      test -z "$ac_dir" && ac_dir=.
 11.4384 -      tmp_nm="$ac_dir/$lt_tmp_nm"
 11.4385 -      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 11.4386 -	# Check to see if the nm accepts a BSD-compat flag.
 11.4387 -	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
 11.4388 -	#   nm: unknown option "B" ignored
 11.4389 -	# Tru64's nm complains that /dev/null is an invalid object file
 11.4390 -	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 11.4391 -	*/dev/null* | *'Invalid file or object type'*)
 11.4392 -	  lt_cv_path_NM="$tmp_nm -B"
 11.4393 -	  break
 11.4394 -	  ;;
 11.4395 -	*)
 11.4396 -	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 11.4397 -	  */dev/null*)
 11.4398 -	    lt_cv_path_NM="$tmp_nm -p"
 11.4399 -	    break
 11.4400 -	    ;;
 11.4401 -	  *)
 11.4402 -	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 11.4403 -	    continue # so that we can try to find one that supports BSD flags
 11.4404 -	    ;;
 11.4405 -	  esac
 11.4406 -	  ;;
 11.4407 -	esac
 11.4408 -      fi
 11.4409 -    done
 11.4410 -    IFS="$lt_save_ifs"
 11.4411 -  done
 11.4412 -  : ${lt_cv_path_NM=no}
 11.4413 -fi
 11.4414 -fi
 11.4415 -echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 11.4416 -echo "${ECHO_T}$lt_cv_path_NM" >&6
 11.4417 -if test "$lt_cv_path_NM" != "no"; then
 11.4418 -  NM="$lt_cv_path_NM"
 11.4419 -else
 11.4420 -  # Didn't find any BSD compatible name lister, look for dumpbin.
 11.4421 -  if test -n "$ac_tool_prefix"; then
 11.4422 -  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 11.4423 -  do
 11.4424 -    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 11.4425 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 11.4426 -echo "$as_me:$LINENO: checking for $ac_word" >&5
 11.4427 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 11.4428 -if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 11.4429 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.4430 -else
 11.4431 -  if test -n "$DUMPBIN"; then
 11.4432 -  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 11.4433 -else
 11.4434 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11.4435 -for as_dir in $PATH
 11.4436 -do
 11.4437 -  IFS=$as_save_IFS
 11.4438 -  test -z "$as_dir" && as_dir=.
 11.4439 -  for ac_exec_ext in '' $ac_executable_extensions; do
 11.4440 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 11.4441 -    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 11.4442 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 11.4443 -    break 2
 11.4444 -  fi
 11.4445 -done
 11.4446 -done
 11.4447 -
 11.4448 -fi
 11.4449 -fi
 11.4450 -DUMPBIN=$ac_cv_prog_DUMPBIN
 11.4451 -if test -n "$DUMPBIN"; then
 11.4452 -  echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 11.4453 -echo "${ECHO_T}$DUMPBIN" >&6
 11.4454 -else
 11.4455 -  echo "$as_me:$LINENO: result: no" >&5
 11.4456 -echo "${ECHO_T}no" >&6
 11.4457 -fi
 11.4458 -
 11.4459 -    test -n "$DUMPBIN" && break
 11.4460 -  done
 11.4461 -fi
 11.4462 -if test -z "$DUMPBIN"; then
 11.4463 -  ac_ct_DUMPBIN=$DUMPBIN
 11.4464 -  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 11.4465 -do
 11.4466 -  # Extract the first word of "$ac_prog", so it can be a program name with args.
 11.4467 -set dummy $ac_prog; ac_word=$2
 11.4468 -echo "$as_me:$LINENO: checking for $ac_word" >&5
 11.4469 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 11.4470 -if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 11.4471 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.4472 -else
 11.4473 -  if test -n "$ac_ct_DUMPBIN"; then
 11.4474 -  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 11.4475 -else
 11.4476 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11.4477 -for as_dir in $PATH
 11.4478 -do
 11.4479 -  IFS=$as_save_IFS
 11.4480 -  test -z "$as_dir" && as_dir=.
 11.4481 -  for ac_exec_ext in '' $ac_executable_extensions; do
 11.4482 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 11.4483 -    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 11.4484 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 11.4485 -    break 2
 11.4486 -  fi
 11.4487 -done
 11.4488 -done
 11.4489 -
 11.4490 -fi
 11.4491 -fi
 11.4492 -ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 11.4493 -if test -n "$ac_ct_DUMPBIN"; then
 11.4494 -  echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 11.4495 -echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
 11.4496 -else
 11.4497 -  echo "$as_me:$LINENO: result: no" >&5
 11.4498 -echo "${ECHO_T}no" >&6
 11.4499 -fi
 11.4500 -
 11.4501 -  test -n "$ac_ct_DUMPBIN" && break
 11.4502 -done
 11.4503 -test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
 11.4504 -
 11.4505 -  DUMPBIN=$ac_ct_DUMPBIN
 11.4506 -fi
 11.4507 -
 11.4508 -
 11.4509 -  if test "$DUMPBIN" != ":"; then
 11.4510 -    NM="$DUMPBIN"
 11.4511 -  fi
 11.4512 -fi
 11.4513 -test -z "$NM" && NM=nm
 11.4514 -
 11.4515 -
 11.4516 -
 11.4517 -
 11.4518 -
 11.4519 -
 11.4520 -echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 11.4521 -echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
 11.4522 -if test "${lt_cv_nm_interface+set}" = set; then
 11.4523 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.4524 -else
 11.4525 -  lt_cv_nm_interface="BSD nm"
 11.4526 -  echo "int some_variable = 0;" > conftest.$ac_ext
 11.4527 -  (eval echo "\"\$as_me:4524: $ac_compile\"" >&5)
 11.4528 -  (eval "$ac_compile" 2>conftest.err)
 11.4529 -  cat conftest.err >&5
 11.4530 -  (eval echo "\"\$as_me:4527: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 11.4531 -  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 11.4532 -  cat conftest.err >&5
 11.4533 -  (eval echo "\"\$as_me:4530: output\"" >&5)
 11.4534 -  cat conftest.out >&5
 11.4535 -  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 11.4536 -    lt_cv_nm_interface="MS dumpbin"
 11.4537 -  fi
 11.4538 -  rm -f conftest*
 11.4539 -fi
 11.4540 -echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 11.4541 -echo "${ECHO_T}$lt_cv_nm_interface" >&6
 11.4542 -
 11.4543 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
 11.4544 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 11.4545 -LN_S=$as_ln_s
 11.4546 -if test "$LN_S" = "ln -s"; then
 11.4547 -  echo "$as_me:$LINENO: result: yes" >&5
 11.4548 -echo "${ECHO_T}yes" >&6
 11.4549 -else
 11.4550 -  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 11.4551 -echo "${ECHO_T}no, using $LN_S" >&6
 11.4552 -fi
 11.4553 -
 11.4554 -# find the maximum length of command line arguments
 11.4555 -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 11.4556 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
 11.4557 -if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 11.4558 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.4559 -else
 11.4560 -    i=0
 11.4561 -  teststring="ABCD"
 11.4562 -
 11.4563 -  case $build_os in
 11.4564 -  msdosdjgpp*)
 11.4565 -    # On DJGPP, this test can blow up pretty badly due to problems in libc
 11.4566 -    # (any single argument exceeding 2000 bytes causes a buffer overrun
 11.4567 -    # during glob expansion).  Even if it were fixed, the result of this
 11.4568 -    # check would be larger than it should be.
 11.4569 -    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 11.4570 -    ;;
 11.4571 -
 11.4572 -  gnu*)
 11.4573 -    # Under GNU Hurd, this test is not required because there is
 11.4574 -    # no limit to the length of command line arguments.
 11.4575 -    # Libtool will interpret -1 as no limit whatsoever
 11.4576 -    lt_cv_sys_max_cmd_len=-1;
 11.4577 -    ;;
 11.4578 -
 11.4579 -  cygwin* | mingw*)
 11.4580 -    # On Win9x/ME, this test blows up -- it succeeds, but takes
 11.4581 -    # about 5 minutes as the teststring grows exponentially.
 11.4582 -    # Worse, since 9x/ME are not pre-emptively multitasking,
 11.4583 -    # you end up with a "frozen" computer, even though with patience
 11.4584 -    # the test eventually succeeds (with a max line length of 256k).
 11.4585 -    # Instead, let's just punt: use the minimum linelength reported by
 11.4586 -    # all of the supported platforms: 8192 (on NT/2K/XP).
 11.4587 -    lt_cv_sys_max_cmd_len=8192;
 11.4588 -    ;;
 11.4589 -
 11.4590 -  amigaos*)
 11.4591 -    # On AmigaOS with pdksh, this test takes hours, literally.
 11.4592 -    # So we just punt and use a minimum line length of 8192.
 11.4593 -    lt_cv_sys_max_cmd_len=8192;
 11.4594 -    ;;
 11.4595 -
 11.4596 -  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 11.4597 -    # This has been around since 386BSD, at least.  Likely further.
 11.4598 -    if test -x /sbin/sysctl; then
 11.4599 -      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 11.4600 -    elif test -x /usr/sbin/sysctl; then
 11.4601 -      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 11.4602 -    else
 11.4603 -      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
 11.4604 -    fi
 11.4605 -    # And add a safety zone
 11.4606 -    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 11.4607 -    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 11.4608 -    ;;
 11.4609 -
 11.4610 -  interix*)
 11.4611 -    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 11.4612 -    lt_cv_sys_max_cmd_len=196608
 11.4613 -    ;;
 11.4614 -
 11.4615 -  osf*)
 11.4616 -    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 11.4617 -    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 11.4618 -    # nice to cause kernel panics so lets avoid the loop below.
 11.4619 -    # First set a reasonable default.
 11.4620 -    lt_cv_sys_max_cmd_len=16384
 11.4621 -    #
 11.4622 -    if test -x /sbin/sysconfig; then
 11.4623 -      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 11.4624 -        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 11.4625 -      esac
 11.4626 -    fi
 11.4627 -    ;;
 11.4628 -  sco3.2v5*)
 11.4629 -    lt_cv_sys_max_cmd_len=102400
 11.4630 -    ;;
 11.4631 -  sysv5* | sco5v6* | sysv4.2uw2*)
 11.4632 -    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 11.4633 -    if test -n "$kargmax"; then
 11.4634 -      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
 11.4635 -    else
 11.4636 -      lt_cv_sys_max_cmd_len=32768
 11.4637 -    fi
 11.4638 -    ;;
 11.4639 -  *)
 11.4640 -    lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
 11.4641 -    if test -n $lt_cv_sys_max_cmd_len; then
 11.4642 -      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 11.4643 -      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 11.4644 -    else
 11.4645 -      # Make teststring a little bigger before we do anything with it.
 11.4646 -      # a 1K string should be a reasonable start.
 11.4647 -      for i in 1 2 3 4 5 6 7 8 ; do
 11.4648 -        teststring=$teststring$teststring
 11.4649 -      done
 11.4650 -      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 11.4651 -      # If test is not a shell built-in, we'll probably end up computing a
 11.4652 -      # maximum length that is only half of the actual maximum length, but
 11.4653 -      # we can't tell.
 11.4654 -      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 11.4655 -	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 11.4656 -	      test $i != 17 # 1/2 MB should be enough
 11.4657 -      do
 11.4658 -        i=`expr $i + 1`
 11.4659 -        teststring=$teststring$teststring
 11.4660 -      done
 11.4661 -      # Only check the string length outside the loop.
 11.4662 -      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 11.4663 -      teststring=
 11.4664 -      # Add a significant safety factor because C++ compilers can tack on
 11.4665 -      # massive amounts of additional arguments before passing them to the
 11.4666 -      # linker.  It appears as though 1/2 is a usable value.
 11.4667 -      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 11.4668 -    fi
 11.4669 -    ;;
 11.4670 -  esac
 11.4671 -
 11.4672 -fi
 11.4673 -
 11.4674 -if test -n $lt_cv_sys_max_cmd_len ; then
 11.4675 -  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 11.4676 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
 11.4677 -else
 11.4678 -  echo "$as_me:$LINENO: result: none" >&5
 11.4679 -echo "${ECHO_T}none" >&6
 11.4680 -fi
 11.4681 -max_cmd_len=$lt_cv_sys_max_cmd_len
 11.4682 -
 11.4683 -
 11.4684 -
 11.4685 -
 11.4686 -
 11.4687 -
 11.4688 -
 11.4689 -: ${CP="cp -f"}
 11.4690 -: ${MV="mv -f"}
 11.4691 -: ${RM="rm -f"}
 11.4692 -
 11.4693 -echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 11.4694 -echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
 11.4695 -# Try some XSI features
 11.4696 -xsi_shell=no
 11.4697 -( _lt_dummy="a/b/c"
 11.4698 -  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 11.4699 -      = c,a/b,, ) >/dev/null 2>&1 \
 11.4700 -  && xsi_shell=yes
 11.4701 -echo "$as_me:$LINENO: result: $xsi_shell" >&5
 11.4702 -echo "${ECHO_T}$xsi_shell" >&6
 11.4703 -
 11.4704 -
 11.4705 -echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 11.4706 -echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
 11.4707 -lt_shell_append=no
 11.4708 -( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 11.4709 -    >/dev/null 2>&1 \
 11.4710 -  && lt_shell_append=yes
 11.4711 -echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 11.4712 -echo "${ECHO_T}$lt_shell_append" >&6
 11.4713 -
 11.4714 -
 11.4715 -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 11.4716 -  lt_unset=unset
 11.4717 -else
 11.4718 -  lt_unset=false
 11.4719 -fi
 11.4720 -
 11.4721 -
 11.4722 -
 11.4723 -
 11.4724 -
 11.4725 -# test EBCDIC or ASCII
 11.4726 -case `echo X|tr X '\101'` in
 11.4727 - A) # ASCII based system
 11.4728 -    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 11.4729 -  lt_SP2NL='tr \040 \012'
 11.4730 -  lt_NL2SP='tr \015\012 \040\040'
 11.4731 -  ;;
 11.4732 - *) # EBCDIC based system
 11.4733 -  lt_SP2NL='tr \100 \n'
 11.4734 -  lt_NL2SP='tr \r\n \100\100'
 11.4735 -  ;;
 11.4736 -esac
 11.4737 -
 11.4738 -
 11.4739 -
 11.4740 -
 11.4741 -
 11.4742 -
 11.4743 -
 11.4744 -
 11.4745 -
 11.4746 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 11.4747 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 11.4748 -if test "${lt_cv_ld_reload_flag+set}" = set; then
 11.4749 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.4750 -else
 11.4751 -  lt_cv_ld_reload_flag='-r'
 11.4752 -fi
 11.4753 -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 11.4754 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 11.4755 -reload_flag=$lt_cv_ld_reload_flag
 11.4756 -case $reload_flag in
 11.4757 -"" | " "*) ;;
 11.4758 -*) reload_flag=" $reload_flag" ;;
 11.4759 -esac
 11.4760 -reload_cmds='$LD$reload_flag -o $output$reload_objs'
 11.4761 -case $host_os in
 11.4762 -  darwin*)
 11.4763 -    if test "$GCC" = yes; then
 11.4764 -      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 11.4765 -    else
 11.4766 -      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 11.4767 -    fi
 11.4768 -    ;;
 11.4769 -esac
 11.4770 -
 11.4771 -
 11.4772 -
 11.4773 -
 11.4774 -
 11.4775 -
 11.4776 -
 11.4777 -
 11.4778 -
 11.4779 -
 11.4780 -echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 11.4781 -echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
 11.4782 -if test "${lt_cv_deplibs_check_method+set}" = set; then
 11.4783 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.4784 -else
 11.4785 -  lt_cv_file_magic_cmd='$MAGIC_CMD'
 11.4786 -lt_cv_file_magic_test_file=
 11.4787 -lt_cv_deplibs_check_method='unknown'
 11.4788 -# Need to set the preceding variable on all platforms that support
 11.4789 -# interlibrary dependencies.
 11.4790 -# 'none' -- dependencies not supported.
 11.4791 -# `unknown' -- same as none, but documents that we really don't know.
 11.4792 -# 'pass_all' -- all dependencies passed with no checks.
 11.4793 -# 'test_compile' -- check by making test program.
 11.4794 -# 'file_magic [[regex]]' -- check by looking for files in library path
 11.4795 -# which responds to the $file_magic_cmd with a given extended regex.
 11.4796 -# If you have `file' or equivalent on your system and you're not sure
 11.4797 -# whether `pass_all' will *always* work, you probably want this one.
 11.4798 -
 11.4799 -case $host_os in
 11.4800 -aix[4-9]*)
 11.4801 -  lt_cv_deplibs_check_method=pass_all
 11.4802 -  ;;
 11.4803 -
 11.4804 -beos*)
 11.4805 -  lt_cv_deplibs_check_method=pass_all
 11.4806 -  ;;
 11.4807 -
 11.4808 -bsdi[45]*)
 11.4809 -  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 11.4810 -  lt_cv_file_magic_cmd='/usr/bin/file -L'
 11.4811 -  lt_cv_file_magic_test_file=/shlib/libc.so
 11.4812 -  ;;
 11.4813 -
 11.4814 -cygwin*)
 11.4815 -  # func_win32_libid is a shell function defined in ltmain.sh
 11.4816 -  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 11.4817 -  lt_cv_file_magic_cmd='func_win32_libid'
 11.4818 -  ;;
 11.4819 -
 11.4820 -mingw* | pw32*)
 11.4821 -  # Base MSYS/MinGW do not provide the 'file' command needed by
 11.4822 -  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 11.4823 -  # unless we find 'file', for example because we are cross-compiling.
 11.4824 -  if ( file / ) >/dev/null 2>&1; then
 11.4825 -    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 11.4826 -    lt_cv_file_magic_cmd='func_win32_libid'
 11.4827 -  else
 11.4828 -    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 11.4829 -    lt_cv_file_magic_cmd='$OBJDUMP -f'
 11.4830 -  fi
 11.4831 -  ;;
 11.4832 -
 11.4833 -darwin* | rhapsody*)
 11.4834 -  lt_cv_deplibs_check_method=pass_all
 11.4835 -  ;;
 11.4836 -
 11.4837 -freebsd* | dragonfly*)
 11.4838 -  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 11.4839 -    case $host_cpu in
 11.4840 -    i*86 )
 11.4841 -      # Not sure whether the presence of OpenBSD here was a mistake.
 11.4842 -      # Let's accept both of them until this is cleared up.
 11.4843 -      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 11.4844 -      lt_cv_file_magic_cmd=/usr/bin/file
 11.4845 -      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 11.4846 -      ;;
 11.4847 -    esac
 11.4848 -  else
 11.4849 -    lt_cv_deplibs_check_method=pass_all
 11.4850 -  fi
 11.4851 -  ;;
 11.4852 -
 11.4853 -gnu*)
 11.4854 -  lt_cv_deplibs_check_method=pass_all
 11.4855 -  ;;
 11.4856 -
 11.4857 -hpux10.20* | hpux11*)
 11.4858 -  lt_cv_file_magic_cmd=/usr/bin/file
 11.4859 -  case $host_cpu in
 11.4860 -  ia64*)
 11.4861 -    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 11.4862 -    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 11.4863 -    ;;
 11.4864 -  hppa*64*)
 11.4865 -    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
 11.4866 -    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 11.4867 -    ;;
 11.4868 -  *)
 11.4869 -    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 11.4870 -    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 11.4871 -    ;;
 11.4872 -  esac
 11.4873 -  ;;
 11.4874 -
 11.4875 -interix[3-9]*)
 11.4876 -  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 11.4877 -  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 11.4878 -  ;;
 11.4879 -
 11.4880 -irix5* | irix6* | nonstopux*)
 11.4881 -  case $LD in
 11.4882 -  *-32|*"-32 ") libmagic=32-bit;;
 11.4883 -  *-n32|*"-n32 ") libmagic=N32;;
 11.4884 -  *-64|*"-64 ") libmagic=64-bit;;
 11.4885 -  *) libmagic=never-match;;
 11.4886 -  esac
 11.4887 -  lt_cv_deplibs_check_method=pass_all
 11.4888 -  ;;
 11.4889 -
 11.4890 -# This must be Linux ELF.
 11.4891 -linux* | k*bsd*-gnu)
 11.4892 -  lt_cv_deplibs_check_method=pass_all
 11.4893 -  ;;
 11.4894 -
 11.4895 -netbsd*)
 11.4896 -  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 11.4897 -    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 11.4898 -  else
 11.4899 -    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 11.4900 -  fi
 11.4901 -  ;;
 11.4902 -
 11.4903 -newos6*)
 11.4904 -  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 11.4905 -  lt_cv_file_magic_cmd=/usr/bin/file
 11.4906 -  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 11.4907 -  ;;
 11.4908 -
 11.4909 -*nto* | *qnx*)
 11.4910 -  lt_cv_deplibs_check_method=pass_all
 11.4911 -  ;;
 11.4912 -
 11.4913 -openbsd*)
 11.4914 -  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 11.4915 -    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 11.4916 -  else
 11.4917 -    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 11.4918 -  fi
 11.4919 -  ;;
 11.4920 -
 11.4921 -osf3* | osf4* | osf5*)
 11.4922 -  lt_cv_deplibs_check_method=pass_all
 11.4923 -  ;;
 11.4924 -
 11.4925 -rdos*)
 11.4926 -  lt_cv_deplibs_check_method=pass_all
 11.4927 -  ;;
 11.4928 -
 11.4929 -solaris*)
 11.4930 -  lt_cv_deplibs_check_method=pass_all
 11.4931 -  ;;
 11.4932 -
 11.4933 -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 11.4934 -  lt_cv_deplibs_check_method=pass_all
 11.4935 -  ;;
 11.4936 -
 11.4937 -sysv4 | sysv4.3*)
 11.4938 -  case $host_vendor in
 11.4939 -  motorola)
 11.4940 -    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
 11.4941 -    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 11.4942 -    ;;
 11.4943 -  ncr)
 11.4944 -    lt_cv_deplibs_check_method=pass_all
 11.4945 -    ;;
 11.4946 -  sequent)
 11.4947 -    lt_cv_file_magic_cmd='/bin/file'
 11.4948 -    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 11.4949 -    ;;
 11.4950 -  sni)
 11.4951 -    lt_cv_file_magic_cmd='/bin/file'
 11.4952 -    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 11.4953 -    lt_cv_file_magic_test_file=/lib/libc.so
 11.4954 -    ;;
 11.4955 -  siemens)
 11.4956 -    lt_cv_deplibs_check_method=pass_all
 11.4957 -    ;;
 11.4958 -  pc)
 11.4959 -    lt_cv_deplibs_check_method=pass_all
 11.4960 -    ;;
 11.4961 -  esac
 11.4962 -  ;;
 11.4963 -
 11.4964 -tpf*)
 11.4965 -  lt_cv_deplibs_check_method=pass_all
 11.4966 -  ;;
 11.4967 -esac
 11.4968 -
 11.4969 -fi
 11.4970 -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 11.4971 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 11.4972 -file_magic_cmd=$lt_cv_file_magic_cmd
 11.4973 -deplibs_check_method=$lt_cv_deplibs_check_method
 11.4974 -test -z "$deplibs_check_method" && deplibs_check_method=unknown
 11.4975 -
 11.4976 -
 11.4977 -
 11.4978 -
 11.4979 -
 11.4980 -
 11.4981 -
 11.4982 -
 11.4983 -
 11.4984 -
 11.4985 -
 11.4986 -
 11.4987 -if test -n "$ac_tool_prefix"; then
 11.4988 -  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 11.4989 -set dummy ${ac_tool_prefix}ar; ac_word=$2
 11.4990 -echo "$as_me:$LINENO: checking for $ac_word" >&5
 11.4991 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 11.4992 -if test "${ac_cv_prog_AR+set}" = set; then
 11.4993 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.4994 -else
 11.4995 -  if test -n "$AR"; then
 11.4996 -  ac_cv_prog_AR="$AR" # Let the user override the test.
 11.4997 -else
 11.4998 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11.4999 -for as_dir in $PATH
 11.5000 -do
 11.5001 -  IFS=$as_save_IFS
 11.5002 -  test -z "$as_dir" && as_dir=.
 11.5003 -  for ac_exec_ext in '' $ac_executable_extensions; do
 11.5004 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 11.5005 -    ac_cv_prog_AR="${ac_tool_prefix}ar"
 11.5006 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 11.5007 -    break 2
 11.5008 -  fi
 11.5009 -done
 11.5010 -done
 11.5011 -
 11.5012 -fi
 11.5013 -fi
 11.5014 -AR=$ac_cv_prog_AR
 11.5015 -if test -n "$AR"; then
 11.5016 -  echo "$as_me:$LINENO: result: $AR" >&5
 11.5017 -echo "${ECHO_T}$AR" >&6
 11.5018 -else
 11.5019 -  echo "$as_me:$LINENO: result: no" >&5
 11.5020 -echo "${ECHO_T}no" >&6
 11.5021 -fi
 11.5022 -
 11.5023 -fi
 11.5024 -if test -z "$ac_cv_prog_AR"; then
 11.5025 -  ac_ct_AR=$AR
 11.5026 -  # Extract the first word of "ar", so it can be a program name with args.
 11.5027 -set dummy ar; ac_word=$2
 11.5028 -echo "$as_me:$LINENO: checking for $ac_word" >&5
 11.5029 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 11.5030 -if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 11.5031 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.5032 -else
 11.5033 -  if test -n "$ac_ct_AR"; then
 11.5034 -  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 11.5035 -else
 11.5036 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11.5037 -for as_dir in $PATH
 11.5038 -do
 11.5039 -  IFS=$as_save_IFS
 11.5040 -  test -z "$as_dir" && as_dir=.
 11.5041 -  for ac_exec_ext in '' $ac_executable_extensions; do
 11.5042 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 11.5043 -    ac_cv_prog_ac_ct_AR="ar"
 11.5044 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 11.5045 -    break 2
 11.5046 -  fi
 11.5047 -done
 11.5048 -done
 11.5049 -
 11.5050 -  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
 11.5051 -fi
 11.5052 -fi
 11.5053 -ac_ct_AR=$ac_cv_prog_ac_ct_AR
 11.5054 -if test -n "$ac_ct_AR"; then
 11.5055 -  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 11.5056 -echo "${ECHO_T}$ac_ct_AR" >&6
 11.5057 -else
 11.5058 -  echo "$as_me:$LINENO: result: no" >&5
 11.5059 -echo "${ECHO_T}no" >&6
 11.5060 -fi
 11.5061 -
 11.5062 -  AR=$ac_ct_AR
 11.5063 -else
 11.5064 -  AR="$ac_cv_prog_AR"
 11.5065 -fi
 11.5066 -
 11.5067 -test -z "$AR" && AR=ar
 11.5068 -test -z "$AR_FLAGS" && AR_FLAGS=cru
 11.5069 -
 11.5070 -
 11.5071 -
 11.5072 -
 11.5073 -
 11.5074 -
 11.5075 -
 11.5076 -
 11.5077 -
 11.5078 -
 11.5079 -
 11.5080 -if test -n "$ac_tool_prefix"; then
 11.5081 -  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 11.5082 -set dummy ${ac_tool_prefix}strip; ac_word=$2
 11.5083 -echo "$as_me:$LINENO: checking for $ac_word" >&5
 11.5084 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 11.5085 -if test "${ac_cv_prog_STRIP+set}" = set; then
 11.5086 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.5087 -else
 11.5088 -  if test -n "$STRIP"; then
 11.5089 -  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 11.5090 -else
 11.5091 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11.5092 -for as_dir in $PATH
 11.5093 -do
 11.5094 -  IFS=$as_save_IFS
 11.5095 -  test -z "$as_dir" && as_dir=.
 11.5096 -  for ac_exec_ext in '' $ac_executable_extensions; do
 11.5097 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 11.5098 -    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 11.5099 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 11.5100 -    break 2
 11.5101 -  fi
 11.5102 -done
 11.5103 -done
 11.5104 -
 11.5105 -fi
 11.5106 -fi
 11.5107 -STRIP=$ac_cv_prog_STRIP
 11.5108 -if test -n "$STRIP"; then
 11.5109 -  echo "$as_me:$LINENO: result: $STRIP" >&5
 11.5110 -echo "${ECHO_T}$STRIP" >&6
 11.5111 -else
 11.5112 -  echo "$as_me:$LINENO: result: no" >&5
 11.5113 -echo "${ECHO_T}no" >&6
 11.5114 -fi
 11.5115 -
 11.5116 -fi
 11.5117 -if test -z "$ac_cv_prog_STRIP"; then
 11.5118 -  ac_ct_STRIP=$STRIP
 11.5119 -  # Extract the first word of "strip", so it can be a program name with args.
 11.5120 -set dummy strip; ac_word=$2
 11.5121 -echo "$as_me:$LINENO: checking for $ac_word" >&5
 11.5122 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 11.5123 -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 11.5124 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.5125 -else
 11.5126 -  if test -n "$ac_ct_STRIP"; then
 11.5127 -  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 11.5128 -else
 11.5129 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11.5130 -for as_dir in $PATH
 11.5131 -do
 11.5132 -  IFS=$as_save_IFS
 11.5133 -  test -z "$as_dir" && as_dir=.
 11.5134 -  for ac_exec_ext in '' $ac_executable_extensions; do
 11.5135 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 11.5136 -    ac_cv_prog_ac_ct_STRIP="strip"
 11.5137 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 11.5138 -    break 2
 11.5139 -  fi
 11.5140 -done
 11.5141 -done
 11.5142 -
 11.5143 -  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
 11.5144 -fi
 11.5145 -fi
 11.5146 -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 11.5147 -if test -n "$ac_ct_STRIP"; then
 11.5148 -  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 11.5149 -echo "${ECHO_T}$ac_ct_STRIP" >&6
 11.5150 -else
 11.5151 -  echo "$as_me:$LINENO: result: no" >&5
 11.5152 -echo "${ECHO_T}no" >&6
 11.5153 -fi
 11.5154 -
 11.5155 -  STRIP=$ac_ct_STRIP
 11.5156 -else
 11.5157 -  STRIP="$ac_cv_prog_STRIP"
 11.5158 -fi
 11.5159 -
 11.5160 -test -z "$STRIP" && STRIP=:
 11.5161 -
 11.5162 -
 11.5163 -
 11.5164 -
 11.5165 -
 11.5166 -
 11.5167 -if test -n "$ac_tool_prefix"; then
 11.5168 -  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 11.5169 -set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 11.5170 -echo "$as_me:$LINENO: checking for $ac_word" >&5
 11.5171 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 11.5172 -if test "${ac_cv_prog_RANLIB+set}" = set; then
 11.5173 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.5174 -else
 11.5175 -  if test -n "$RANLIB"; then
 11.5176 -  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 11.5177 -else
 11.5178 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11.5179 -for as_dir in $PATH
 11.5180 -do
 11.5181 -  IFS=$as_save_IFS
 11.5182 -  test -z "$as_dir" && as_dir=.
 11.5183 -  for ac_exec_ext in '' $ac_executable_extensions; do
 11.5184 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 11.5185 -    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 11.5186 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 11.5187 -    break 2
 11.5188 -  fi
 11.5189 -done
 11.5190 -done
 11.5191 -
 11.5192 -fi
 11.5193 -fi
 11.5194 -RANLIB=$ac_cv_prog_RANLIB
 11.5195 -if test -n "$RANLIB"; then
 11.5196 -  echo "$as_me:$LINENO: result: $RANLIB" >&5
 11.5197 -echo "${ECHO_T}$RANLIB" >&6
 11.5198 -else
 11.5199 -  echo "$as_me:$LINENO: result: no" >&5
 11.5200 -echo "${ECHO_T}no" >&6
 11.5201 -fi
 11.5202 -
 11.5203 -fi
 11.5204 -if test -z "$ac_cv_prog_RANLIB"; then
 11.5205 -  ac_ct_RANLIB=$RANLIB
 11.5206 -  # Extract the first word of "ranlib", so it can be a program name with args.
 11.5207 -set dummy ranlib; ac_word=$2
 11.5208 -echo "$as_me:$LINENO: checking for $ac_word" >&5
 11.5209 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 11.5210 -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 11.5211 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.5212 -else
 11.5213 -  if test -n "$ac_ct_RANLIB"; then
 11.5214 -  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 11.5215 -else
 11.5216 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11.5217 -for as_dir in $PATH
 11.5218 -do
 11.5219 -  IFS=$as_save_IFS
 11.5220 -  test -z "$as_dir" && as_dir=.
 11.5221 -  for ac_exec_ext in '' $ac_executable_extensions; do
 11.5222 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 11.5223 -    ac_cv_prog_ac_ct_RANLIB="ranlib"
 11.5224 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 11.5225 -    break 2
 11.5226 -  fi
 11.5227 -done
 11.5228 -done
 11.5229 -
 11.5230 -  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
 11.5231 -fi
 11.5232 -fi
 11.5233 -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 11.5234 -if test -n "$ac_ct_RANLIB"; then
 11.5235 -  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 11.5236 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
 11.5237 -else
 11.5238 -  echo "$as_me:$LINENO: result: no" >&5
 11.5239 -echo "${ECHO_T}no" >&6
 11.5240 -fi
 11.5241 -
 11.5242 -  RANLIB=$ac_ct_RANLIB
 11.5243 -else
 11.5244 -  RANLIB="$ac_cv_prog_RANLIB"
 11.5245 -fi
 11.5246 -
 11.5247 -test -z "$RANLIB" && RANLIB=:
 11.5248 -
 11.5249 -
 11.5250 -
 11.5251 -
 11.5252 -
 11.5253 -
 11.5254 -# Determine commands to create old-style static archives.
 11.5255 -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
 11.5256 -old_postinstall_cmds='chmod 644 $oldlib'
 11.5257 -old_postuninstall_cmds=
 11.5258 -
 11.5259 -if test -n "$RANLIB"; then
 11.5260 -  case $host_os in
 11.5261 -  openbsd*)
 11.5262 -    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 11.5263 -    ;;
 11.5264 -  *)
 11.5265 -    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 11.5266 -    ;;
 11.5267 -  esac
 11.5268 -  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 11.5269 -fi
 11.5270 -
 11.5271 -
 11.5272 -
 11.5273 -
 11.5274 -
 11.5275 -
 11.5276 -
 11.5277 -
 11.5278 -
 11.5279 -
 11.5280 -
 11.5281 -
 11.5282 -
 11.5283 -
 11.5284 -
 11.5285 -
 11.5286 -
 11.5287 -
 11.5288 -
 11.5289 -
 11.5290 -
 11.5291 -
 11.5292 -
 11.5293 -
 11.5294 -
 11.5295 -
 11.5296 -
 11.5297 -
 11.5298 -
 11.5299 -
 11.5300 -
 11.5301 -
 11.5302 -
 11.5303 -
 11.5304 -# If no C compiler was specified, use CC.
 11.5305 -LTCC=${LTCC-"$CC"}
 11.5306 -
 11.5307 -# If no C compiler flags were specified, use CFLAGS.
 11.5308 -LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 11.5309 -
 11.5310 -# Allow CC to be a program name with arguments.
 11.5311 -compiler=$CC
 11.5312 -
 11.5313 -
 11.5314 -# Check for command to grab the raw symbol name followed by C symbol from nm.
 11.5315 -echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 11.5316 -echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 11.5317 -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 11.5318 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.5319 -else
 11.5320 -
 11.5321 -# These are sane defaults that work on at least a few old systems.
 11.5322 -# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 11.5323 -
 11.5324 -# Character class describing NM global symbol codes.
 11.5325 -symcode='[BCDEGRST]'
 11.5326 -
 11.5327 -# Regexp to match symbols that can be accessed directly from C.
 11.5328 -sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 11.5329 -
 11.5330 -# Define system-specific variables.
 11.5331 -case $host_os in
 11.5332 -aix*)
 11.5333 -  symcode='[BCDT]'
 11.5334 -  ;;
 11.5335 -cygwin* | mingw* | pw32*)
 11.5336 -  symcode='[ABCDGISTW]'
 11.5337 -  ;;
 11.5338 -hpux*)
 11.5339 -  if test "$host_cpu" = ia64; then
 11.5340 -    symcode='[ABCDEGRST]'
 11.5341 -  fi
 11.5342 -  ;;
 11.5343 -irix* | nonstopux*)
 11.5344 -  symcode='[BCDEGRST]'
 11.5345 -  ;;
 11.5346 -osf*)
 11.5347 -  symcode='[BCDEGQRST]'
 11.5348 -  ;;
 11.5349 -solaris*)
 11.5350 -  symcode='[BDRT]'
 11.5351 -  ;;
 11.5352 -sco3.2v5*)
 11.5353 -  symcode='[DT]'
 11.5354 -  ;;
 11.5355 -sysv4.2uw2*)
 11.5356 -  symcode='[DT]'
 11.5357 -  ;;
 11.5358 -sysv5* | sco5v6* | unixware* | OpenUNIX*)
 11.5359 -  symcode='[ABDT]'
 11.5360 -  ;;
 11.5361 -sysv4)
 11.5362 -  symcode='[DFNSTU]'
 11.5363 -  ;;
 11.5364 -esac
 11.5365 -
 11.5366 -# If we're using GNU nm, then use its standard symbol codes.
 11.5367 -case `$NM -V 2>&1` in
 11.5368 -*GNU* | *'with BFD'*)
 11.5369 -  symcode='[ABCDGIRSTW]' ;;
 11.5370 -esac
 11.5371 -
 11.5372 -# Transform an extracted symbol line into a proper C declaration.
 11.5373 -# Some systems (esp. on ia64) link data and code symbols differently,
 11.5374 -# so use this general approach.
 11.5375 -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 11.5376 -
 11.5377 -# Transform an extracted symbol line into symbol name and symbol address
 11.5378 -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 11.5379 -
 11.5380 -# Handle CRLF in mingw tool chain
 11.5381 -opt_cr=
 11.5382 -case $build_os in
 11.5383 -mingw*)
 11.5384 -  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 11.5385 -  ;;
 11.5386 -esac
 11.5387 -
 11.5388 -# Try without a prefix underscore, then with it.
 11.5389 -for ac_symprfx in "" "_"; do
 11.5390 -
 11.5391 -  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 11.5392 -  symxfrm="\\1 $ac_symprfx\\2 \\2"
 11.5393 -
 11.5394 -  # Write the raw and C identifiers.
 11.5395 -  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 11.5396 -    # Fake it for dumpbin and say T for any non-static function
 11.5397 -    # and D for any global variable.
 11.5398 -    # Also find C++ and __fastcall symbols from MSVC++,
 11.5399 -    # which start with @ or ?.
 11.5400 -    lt_cv_sys_global_symbol_pipe="$AWK '"\
 11.5401 -"     {last_section=section; section=\$ 3};"\
 11.5402 -"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 11.5403 -"     \$ 0!~/External *\|/{next};"\
 11.5404 -"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 11.5405 -"     {if(hide[section]) next};"\
 11.5406 -"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 11.5407 -"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 11.5408 -"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 11.5409 -"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 11.5410 -"     ' prfx=^$ac_symprfx"
 11.5411 -  else
 11.5412 -    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 11.5413 -  fi
 11.5414 -
 11.5415 -  # Check to see that the pipe works correctly.
 11.5416 -  pipe_works=no
 11.5417 -
 11.5418 -  rm -f conftest*
 11.5419 -  cat > conftest.$ac_ext <<_LT_EOF
 11.5420 -#ifdef __cplusplus
 11.5421 -extern "C" {
 11.5422 -#endif
 11.5423 -char nm_test_var;
 11.5424 -void nm_test_func(void);
 11.5425 -void nm_test_func(void){}
 11.5426 -#ifdef __cplusplus
 11.5427 -}
 11.5428 -#endif
 11.5429 -int main(){nm_test_var='a';nm_test_func();return(0);}
 11.5430 -_LT_EOF
 11.5431 -
 11.5432 -  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 11.5433 -  (eval $ac_compile) 2>&5
 11.5434 -  ac_status=$?
 11.5435 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.5436 -  (exit $ac_status); }; then
 11.5437 -    # Now try to grab the symbols.
 11.5438 -    nlist=conftest.nm
 11.5439 -    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 11.5440 -  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 11.5441 -  ac_status=$?
 11.5442 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.5443 -  (exit $ac_status); } && test -s "$nlist"; then
 11.5444 -      # Try sorting and uniquifying the output.
 11.5445 -      if sort "$nlist" | uniq > "$nlist"T; then
 11.5446 -	mv -f "$nlist"T "$nlist"
 11.5447 -      else
 11.5448 -	rm -f "$nlist"T
 11.5449 -      fi
 11.5450 -
 11.5451 -      # Make sure that we snagged all the symbols we need.
 11.5452 -      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 11.5453 -	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 11.5454 -	  cat <<_LT_EOF > conftest.$ac_ext
 11.5455 -#ifdef __cplusplus
 11.5456 -extern "C" {
 11.5457 -#endif
 11.5458 -
 11.5459 -_LT_EOF
 11.5460 -	  # Now generate the symbol file.
 11.5461 -	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 11.5462 -
 11.5463 -	  cat <<_LT_EOF >> conftest.$ac_ext
 11.5464 -
 11.5465 -/* The mapping between symbol names and symbols.  */
 11.5466 -const struct {
 11.5467 -  const char *name;
 11.5468 -  void       *address;
 11.5469 -}
 11.5470 -lt__PROGRAM__LTX_preloaded_symbols[] =
 11.5471 -{
 11.5472 -  { "@PROGRAM@", (void *) 0 },
 11.5473 -_LT_EOF
 11.5474 -	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 11.5475 -	  cat <<\_LT_EOF >> conftest.$ac_ext
 11.5476 -  {0, (void *) 0}
 11.5477 -};
 11.5478 -
 11.5479 -/* This works around a problem in FreeBSD linker */
 11.5480 -#ifdef FREEBSD_WORKAROUND
 11.5481 -static const void *lt_preloaded_setup() {
 11.5482 -  return lt__PROGRAM__LTX_preloaded_symbols;
 11.5483 -}
 11.5484 -#endif
 11.5485 -
 11.5486 -#ifdef __cplusplus
 11.5487 -}
 11.5488 -#endif
 11.5489 -_LT_EOF
 11.5490 -	  # Now try linking the two files.
 11.5491 -	  mv conftest.$ac_objext conftstm.$ac_objext
 11.5492 -	  lt_save_LIBS="$LIBS"
 11.5493 -	  lt_save_CFLAGS="$CFLAGS"
 11.5494 -	  LIBS="conftstm.$ac_objext"
 11.5495 -	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 11.5496 -	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 11.5497 -  (eval $ac_link) 2>&5
 11.5498 -  ac_status=$?
 11.5499 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.5500 -  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 11.5501 -	    pipe_works=yes
 11.5502 -	  fi
 11.5503 -	  LIBS="$lt_save_LIBS"
 11.5504 -	  CFLAGS="$lt_save_CFLAGS"
 11.5505 -	else
 11.5506 -	  echo "cannot find nm_test_func in $nlist" >&5
 11.5507 -	fi
 11.5508 -      else
 11.5509 -	echo "cannot find nm_test_var in $nlist" >&5
 11.5510 -      fi
 11.5511 -    else
 11.5512 -      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 11.5513 -    fi
 11.5514 -  else
 11.5515 -    echo "$progname: failed program was:" >&5
 11.5516 -    cat conftest.$ac_ext >&5
 11.5517 -  fi
 11.5518 -  rm -f conftest* conftst*
 11.5519 -
 11.5520 -  # Do not use the global_symbol_pipe unless it works.
 11.5521 -  if test "$pipe_works" = yes; then
 11.5522 -    break
 11.5523 -  else
 11.5524 -    lt_cv_sys_global_symbol_pipe=
 11.5525 -  fi
 11.5526 -done
 11.5527 -
 11.5528 -fi
 11.5529 -
 11.5530 -if test -z "$lt_cv_sys_global_symbol_pipe"; then
 11.5531 -  lt_cv_sys_global_symbol_to_cdecl=
 11.5532 -fi
 11.5533 -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 11.5534 -  echo "$as_me:$LINENO: result: failed" >&5
 11.5535 -echo "${ECHO_T}failed" >&6
 11.5536 -else
 11.5537 -  echo "$as_me:$LINENO: result: ok" >&5
 11.5538 -echo "${ECHO_T}ok" >&6
 11.5539 -fi
 11.5540 -
 11.5541 -
 11.5542 -
 11.5543 -
 11.5544 -
 11.5545 -
 11.5546 -
 11.5547 -
 11.5548 -
 11.5549 -
 11.5550 -
 11.5551 -
 11.5552 -
 11.5553 -
 11.5554 -
 11.5555 -
 11.5556 -
 11.5557 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 11.5558 -if test "${enable_libtool_lock+set}" = set; then
 11.5559 -  enableval="$enable_libtool_lock"
 11.5560 -
 11.5561 -fi;
 11.5562 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 11.5563 -
 11.5564 -# Some flags need to be propagated to the compiler or linker for good
 11.5565 -# libtool support.
 11.5566 -case $host in
 11.5567 -ia64-*-hpux*)
 11.5568 -  # Find out which ABI we are using.
 11.5569 -  echo 'int i;' > conftest.$ac_ext
 11.5570 -  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 11.5571 -  (eval $ac_compile) 2>&5
 11.5572 -  ac_status=$?
 11.5573 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.5574 -  (exit $ac_status); }; then
 11.5575 -    case `/usr/bin/file conftest.$ac_objext` in
 11.5576 -      *ELF-32*)
 11.5577 -	HPUX_IA64_MODE="32"
 11.5578 -	;;
 11.5579 -      *ELF-64*)
 11.5580 -	HPUX_IA64_MODE="64"
 11.5581 -	;;
 11.5582 -    esac
 11.5583 -  fi
 11.5584 -  rm -rf conftest*
 11.5585 -  ;;
 11.5586 -*-*-irix6*)
 11.5587 -  # Find out which ABI we are using.
 11.5588 -  echo '#line 5585 "configure"' > conftest.$ac_ext
 11.5589 -  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 11.5590 -  (eval $ac_compile) 2>&5
 11.5591 -  ac_status=$?
 11.5592 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.5593 -  (exit $ac_status); }; then
 11.5594 -    if test "$lt_cv_prog_gnu_ld" = yes; then
 11.5595 -      case `/usr/bin/file conftest.$ac_objext` in
 11.5596 -	*32-bit*)
 11.5597 -	  LD="${LD-ld} -melf32bsmip"
 11.5598 -	  ;;
 11.5599 -	*N32*)
 11.5600 -	  LD="${LD-ld} -melf32bmipn32"
 11.5601 -	  ;;
 11.5602 -	*64-bit*)
 11.5603 -	  LD="${LD-ld} -melf64bmip"
 11.5604 -	;;
 11.5605 -      esac
 11.5606 -    else
 11.5607 -      case `/usr/bin/file conftest.$ac_objext` in
 11.5608 -	*32-bit*)
 11.5609 -	  LD="${LD-ld} -32"
 11.5610 -	  ;;
 11.5611 -	*N32*)
 11.5612 -	  LD="${LD-ld} -n32"
 11.5613 -	  ;;
 11.5614 -	*64-bit*)
 11.5615 -	  LD="${LD-ld} -64"
 11.5616 -	  ;;
 11.5617 -      esac
 11.5618 -    fi
 11.5619 -  fi
 11.5620 -  rm -rf conftest*
 11.5621 -  ;;
 11.5622 -
 11.5623 -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 11.5624 -s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 11.5625 -  # Find out which ABI we are using.
 11.5626 -  echo 'int i;' > conftest.$ac_ext
 11.5627 -  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 11.5628 -  (eval $ac_compile) 2>&5
 11.5629 -  ac_status=$?
 11.5630 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.5631 -  (exit $ac_status); }; then
 11.5632 -    case `/usr/bin/file conftest.o` in
 11.5633 -      *32-bit*)
 11.5634 -	case $host in
 11.5635 -	  x86_64-*kfreebsd*-gnu)
 11.5636 -	    LD="${LD-ld} -m elf_i386_fbsd"
 11.5637 -	    ;;
 11.5638 -	  x86_64-*linux*)
 11.5639 -	    LD="${LD-ld} -m elf_i386"
 11.5640 -	    ;;
 11.5641 -	  ppc64-*linux*|powerpc64-*linux*)
 11.5642 -	    LD="${LD-ld} -m elf32ppclinux"
 11.5643 -	    ;;
 11.5644 -	  s390x-*linux*)
 11.5645 -	    LD="${LD-ld} -m elf_s390"
 11.5646 -	    ;;
 11.5647 -	  sparc64-*linux*)
 11.5648 -	    LD="${LD-ld} -m elf32_sparc"
 11.5649 -	    ;;
 11.5650 -	esac
 11.5651 -	;;
 11.5652 -      *64-bit*)
 11.5653 -	case $host in
 11.5654 -	  x86_64-*kfreebsd*-gnu)
 11.5655 -	    LD="${LD-ld} -m elf_x86_64_fbsd"
 11.5656 -	    ;;
 11.5657 -	  x86_64-*linux*)
 11.5658 -	    LD="${LD-ld} -m elf_x86_64"
 11.5659 -	    ;;
 11.5660 -	  ppc*-*linux*|powerpc*-*linux*)
 11.5661 -	    LD="${LD-ld} -m elf64ppc"
 11.5662 -	    ;;
 11.5663 -	  s390*-*linux*|s390*-*tpf*)
 11.5664 -	    LD="${LD-ld} -m elf64_s390"
 11.5665 -	    ;;
 11.5666 -	  sparc*-*linux*)
 11.5667 -	    LD="${LD-ld} -m elf64_sparc"
 11.5668 -	    ;;
 11.5669 -	esac
 11.5670 -	;;
 11.5671 -    esac
 11.5672 -  fi
 11.5673 -  rm -rf conftest*
 11.5674 -  ;;
 11.5675 -
 11.5676 -*-*-sco3.2v5*)
 11.5677 -  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 11.5678 -  SAVE_CFLAGS="$CFLAGS"
 11.5679 -  CFLAGS="$CFLAGS -belf"
 11.5680 -  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 11.5681 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 11.5682 -if test "${lt_cv_cc_needs_belf+set}" = set; then
 11.5683 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.5684 -else
 11.5685 -  ac_ext=c
 11.5686 -ac_cpp='$CPP $CPPFLAGS'
 11.5687 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 11.5688 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 11.5689 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
 11.5690 -
 11.5691 -     cat >conftest.$ac_ext <<_ACEOF
 11.5692 -/* confdefs.h.  */
 11.5693 -_ACEOF
 11.5694 -cat confdefs.h >>conftest.$ac_ext
 11.5695 -cat >>conftest.$ac_ext <<_ACEOF
 11.5696 -/* end confdefs.h.  */
 11.5697 -
 11.5698 -int
 11.5699 -main ()
 11.5700 -{
 11.5701 -
 11.5702 -  ;
 11.5703 -  return 0;
 11.5704 -}
 11.5705 -_ACEOF
 11.5706 -rm -f conftest.$ac_objext conftest$ac_exeext
 11.5707 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 11.5708 -  (eval $ac_link) 2>conftest.er1
 11.5709 -  ac_status=$?
 11.5710 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.5711 -  rm -f conftest.er1
 11.5712 -  cat conftest.err >&5
 11.5713 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.5714 -  (exit $ac_status); } &&
 11.5715 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 11.5716 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.5717 -  (eval $ac_try) 2>&5
 11.5718 -  ac_status=$?
 11.5719 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.5720 -  (exit $ac_status); }; } &&
 11.5721 -	 { ac_try='test -s conftest$ac_exeext'
 11.5722 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.5723 -  (eval $ac_try) 2>&5
 11.5724 -  ac_status=$?
 11.5725 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.5726 -  (exit $ac_status); }; }; then
 11.5727 -  lt_cv_cc_needs_belf=yes
 11.5728 -else
 11.5729 -  echo "$as_me: failed program was:" >&5
 11.5730 -sed 's/^/| /' conftest.$ac_ext >&5
 11.5731 -
 11.5732 -lt_cv_cc_needs_belf=no
 11.5733 -fi
 11.5734 -rm -f conftest.err conftest.$ac_objext \
 11.5735 -      conftest$ac_exeext conftest.$ac_ext
 11.5736 -     ac_ext=c
 11.5737 -ac_cpp='$CPP $CPPFLAGS'
 11.5738 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 11.5739 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 11.5740 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
 11.5741 -
 11.5742 -fi
 11.5743 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 11.5744 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 11.5745 -  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 11.5746 -    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 11.5747 -    CFLAGS="$SAVE_CFLAGS"
 11.5748 -  fi
 11.5749 -  ;;
 11.5750 -sparc*-*solaris*)
 11.5751 -  # Find out which ABI we are using.
 11.5752 -  echo 'int i;' > conftest.$ac_ext
 11.5753 -  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 11.5754 -  (eval $ac_compile) 2>&5
 11.5755 -  ac_status=$?
 11.5756 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.5757 -  (exit $ac_status); }; then
 11.5758 -    case `/usr/bin/file conftest.o` in
 11.5759 -    *64-bit*)
 11.5760 -      case $lt_cv_prog_gnu_ld in
 11.5761 -      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 11.5762 -      *)    LD="${LD-ld} -64" ;;
 11.5763 -      esac
 11.5764 -      ;;
 11.5765 -    esac
 11.5766 -  fi
 11.5767 -  rm -rf conftest*
 11.5768 -  ;;
 11.5769 -esac
 11.5770 -
 11.5771 -need_locks="$enable_libtool_lock"
 11.5772 -
 11.5773 -ac_ext=c
 11.5774 -ac_cpp='$CPP $CPPFLAGS'
 11.5775 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 11.5776 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 11.5777 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
 11.5778 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 11.5779 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 11.5780 -# On Suns, sometimes $CPP names a directory.
 11.5781 -if test -n "$CPP" && test -d "$CPP"; then
 11.5782 -  CPP=
 11.5783 -fi
 11.5784 -if test -z "$CPP"; then
 11.5785 -  if test "${ac_cv_prog_CPP+set}" = set; then
 11.5786 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.5787 -else
 11.5788 -      # Double quotes because CPP needs to be expanded
 11.5789 -    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 11.5790 -    do
 11.5791 -      ac_preproc_ok=false
 11.5792 -for ac_c_preproc_warn_flag in '' yes
 11.5793 -do
 11.5794 -  # Use a header file that comes with gcc, so configuring glibc
 11.5795 -  # with a fresh cross-compiler works.
 11.5796 -  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 11.5797 -  # <limits.h> exists even on freestanding compilers.
 11.5798 -  # On the NeXT, cc -E runs the code through the compiler's parser,
 11.5799 -  # not just through cpp. "Syntax error" is here to catch this case.
 11.5800 -  cat >conftest.$ac_ext <<_ACEOF
 11.5801 -/* confdefs.h.  */
 11.5802 -_ACEOF
 11.5803 -cat confdefs.h >>conftest.$ac_ext
 11.5804 -cat >>conftest.$ac_ext <<_ACEOF
 11.5805 -/* end confdefs.h.  */
 11.5806 -#ifdef __STDC__
 11.5807 -# include <limits.h>
 11.5808 -#else
 11.5809 -# include <assert.h>
 11.5810 -#endif
 11.5811 -		     Syntax error
 11.5812 -_ACEOF
 11.5813 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 11.5814 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 11.5815 -  ac_status=$?
 11.5816 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.5817 -  rm -f conftest.er1
 11.5818 -  cat conftest.err >&5
 11.5819 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.5820 -  (exit $ac_status); } >/dev/null; then
 11.5821 -  if test -s conftest.err; then
 11.5822 -    ac_cpp_err=$ac_c_preproc_warn_flag
 11.5823 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 11.5824 -  else
 11.5825 -    ac_cpp_err=
 11.5826 -  fi
 11.5827 -else
 11.5828 -  ac_cpp_err=yes
 11.5829 -fi
 11.5830 -if test -z "$ac_cpp_err"; then
 11.5831 -  :
 11.5832 -else
 11.5833 -  echo "$as_me: failed program was:" >&5
 11.5834 -sed 's/^/| /' conftest.$ac_ext >&5
 11.5835 -
 11.5836 -  # Broken: fails on valid input.
 11.5837 -continue
 11.5838 -fi
 11.5839 -rm -f conftest.err conftest.$ac_ext
 11.5840 -
 11.5841 -  # OK, works on sane cases.  Now check whether non-existent headers
 11.5842 -  # can be detected and how.
 11.5843 -  cat >conftest.$ac_ext <<_ACEOF
 11.5844 -/* confdefs.h.  */
 11.5845 -_ACEOF
 11.5846 -cat confdefs.h >>conftest.$ac_ext
 11.5847 -cat >>conftest.$ac_ext <<_ACEOF
 11.5848 -/* end confdefs.h.  */
 11.5849 -#include <ac_nonexistent.h>
 11.5850 -_ACEOF
 11.5851 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 11.5852 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 11.5853 -  ac_status=$?
 11.5854 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.5855 -  rm -f conftest.er1
 11.5856 -  cat conftest.err >&5
 11.5857 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.5858 -  (exit $ac_status); } >/dev/null; then
 11.5859 -  if test -s conftest.err; then
 11.5860 -    ac_cpp_err=$ac_c_preproc_warn_flag
 11.5861 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 11.5862 -  else
 11.5863 -    ac_cpp_err=
 11.5864 -  fi
 11.5865 -else
 11.5866 -  ac_cpp_err=yes
 11.5867 -fi
 11.5868 -if test -z "$ac_cpp_err"; then
 11.5869 -  # Broken: success on invalid input.
 11.5870 -continue
 11.5871 -else
 11.5872 -  echo "$as_me: failed program was:" >&5
 11.5873 -sed 's/^/| /' conftest.$ac_ext >&5
 11.5874 -
 11.5875 -  # Passes both tests.
 11.5876 -ac_preproc_ok=:
 11.5877 -break
 11.5878 -fi
 11.5879 -rm -f conftest.err conftest.$ac_ext
 11.5880 -
 11.5881 -done
 11.5882 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 11.5883 -rm -f conftest.err conftest.$ac_ext
 11.5884 -if $ac_preproc_ok; then
 11.5885 -  break
 11.5886 -fi
 11.5887 -
 11.5888 -    done
 11.5889 -    ac_cv_prog_CPP=$CPP
 11.5890 -
 11.5891 -fi
 11.5892 -  CPP=$ac_cv_prog_CPP
 11.5893 -else
 11.5894 -  ac_cv_prog_CPP=$CPP
 11.5895 -fi
 11.5896 -echo "$as_me:$LINENO: result: $CPP" >&5
 11.5897 -echo "${ECHO_T}$CPP" >&6
 11.5898 -ac_preproc_ok=false
 11.5899 -for ac_c_preproc_warn_flag in '' yes
 11.5900 -do
 11.5901 -  # Use a header file that comes with gcc, so configuring glibc
 11.5902 -  # with a fresh cross-compiler works.
 11.5903 -  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 11.5904 -  # <limits.h> exists even on freestanding compilers.
 11.5905 -  # On the NeXT, cc -E runs the code through the compiler's parser,
 11.5906 -  # not just through cpp. "Syntax error" is here to catch this case.
 11.5907 -  cat >conftest.$ac_ext <<_ACEOF
 11.5908 -/* confdefs.h.  */
 11.5909 -_ACEOF
 11.5910 -cat confdefs.h >>conftest.$ac_ext
 11.5911 -cat >>conftest.$ac_ext <<_ACEOF
 11.5912 -/* end confdefs.h.  */
 11.5913 -#ifdef __STDC__
 11.5914 -# include <limits.h>
 11.5915 -#else
 11.5916 -# include <assert.h>
 11.5917 -#endif
 11.5918 -		     Syntax error
 11.5919 -_ACEOF
 11.5920 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 11.5921 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 11.5922 -  ac_status=$?
 11.5923 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.5924 -  rm -f conftest.er1
 11.5925 -  cat conftest.err >&5
 11.5926 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.5927 -  (exit $ac_status); } >/dev/null; then
 11.5928 -  if test -s conftest.err; then
 11.5929 -    ac_cpp_err=$ac_c_preproc_warn_flag
 11.5930 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 11.5931 -  else
 11.5932 -    ac_cpp_err=
 11.5933 -  fi
 11.5934 -else
 11.5935 -  ac_cpp_err=yes
 11.5936 -fi
 11.5937 -if test -z "$ac_cpp_err"; then
 11.5938 -  :
 11.5939 -else
 11.5940 -  echo "$as_me: failed program was:" >&5
 11.5941 -sed 's/^/| /' conftest.$ac_ext >&5
 11.5942 -
 11.5943 -  # Broken: fails on valid input.
 11.5944 -continue
 11.5945 -fi
 11.5946 -rm -f conftest.err conftest.$ac_ext
 11.5947 -
 11.5948 -  # OK, works on sane cases.  Now check whether non-existent headers
 11.5949 -  # can be detected and how.
 11.5950 -  cat >conftest.$ac_ext <<_ACEOF
 11.5951 -/* confdefs.h.  */
 11.5952 -_ACEOF
 11.5953 -cat confdefs.h >>conftest.$ac_ext
 11.5954 -cat >>conftest.$ac_ext <<_ACEOF
 11.5955 -/* end confdefs.h.  */
 11.5956 -#include <ac_nonexistent.h>
 11.5957 -_ACEOF
 11.5958 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 11.5959 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 11.5960 -  ac_status=$?
 11.5961 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.5962 -  rm -f conftest.er1
 11.5963 -  cat conftest.err >&5
 11.5964 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.5965 -  (exit $ac_status); } >/dev/null; then
 11.5966 -  if test -s conftest.err; then
 11.5967 -    ac_cpp_err=$ac_c_preproc_warn_flag
 11.5968 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 11.5969 -  else
 11.5970 -    ac_cpp_err=
 11.5971 -  fi
 11.5972 -else
 11.5973 -  ac_cpp_err=yes
 11.5974 -fi
 11.5975 -if test -z "$ac_cpp_err"; then
 11.5976 -  # Broken: success on invalid input.
 11.5977 -continue
 11.5978 -else
 11.5979 -  echo "$as_me: failed program was:" >&5
 11.5980 -sed 's/^/| /' conftest.$ac_ext >&5
 11.5981 -
 11.5982 -  # Passes both tests.
 11.5983 -ac_preproc_ok=:
 11.5984 -break
 11.5985 -fi
 11.5986 -rm -f conftest.err conftest.$ac_ext
 11.5987 -
 11.5988 -done
 11.5989 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 11.5990 -rm -f conftest.err conftest.$ac_ext
 11.5991 -if $ac_preproc_ok; then
 11.5992 -  :
 11.5993 -else
 11.5994 -  { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 11.5995 -echo "$as_me: error: in \`$ac_pwd':" >&2;}
 11.5996 -{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 11.5997 -See \`config.log' for more details." >&5
 11.5998 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 11.5999 -See \`config.log' for more details." >&2;}
 11.6000 -   { (exit 1); exit 1; }; }; }
 11.6001 -fi
 11.6002 -
 11.6003 -ac_ext=c
 11.6004 -ac_cpp='$CPP $CPPFLAGS'
 11.6005 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 11.6006 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 11.6007 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
 11.6008 -
 11.6009 -
 11.6010 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 11.6011 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 11.6012 -if test "${ac_cv_header_stdc+set}" = set; then
 11.6013 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.6014 -else
 11.6015 -  cat >conftest.$ac_ext <<_ACEOF
 11.6016 -/* confdefs.h.  */
 11.6017 -_ACEOF
 11.6018 -cat confdefs.h >>conftest.$ac_ext
 11.6019 -cat >>conftest.$ac_ext <<_ACEOF
 11.6020 -/* end confdefs.h.  */
 11.6021 -#include <stdlib.h>
 11.6022 -#include <stdarg.h>
 11.6023 -#include <string.h>
 11.6024 -#include <float.h>
 11.6025 -
 11.6026 -int
 11.6027 -main ()
 11.6028 -{
 11.6029 -
 11.6030 -  ;
 11.6031 -  return 0;
 11.6032 -}
 11.6033 -_ACEOF
 11.6034 -rm -f conftest.$ac_objext
 11.6035 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 11.6036 -  (eval $ac_compile) 2>conftest.er1
 11.6037 -  ac_status=$?
 11.6038 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.6039 -  rm -f conftest.er1
 11.6040 -  cat conftest.err >&5
 11.6041 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.6042 -  (exit $ac_status); } &&
 11.6043 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 11.6044 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.6045 -  (eval $ac_try) 2>&5
 11.6046 -  ac_status=$?
 11.6047 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.6048 -  (exit $ac_status); }; } &&
 11.6049 -	 { ac_try='test -s conftest.$ac_objext'
 11.6050 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.6051 -  (eval $ac_try) 2>&5
 11.6052 -  ac_status=$?
 11.6053 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.6054 -  (exit $ac_status); }; }; then
 11.6055 -  ac_cv_header_stdc=yes
 11.6056 -else
 11.6057 -  echo "$as_me: failed program was:" >&5
 11.6058 -sed 's/^/| /' conftest.$ac_ext >&5
 11.6059 -
 11.6060 -ac_cv_header_stdc=no
 11.6061 -fi
 11.6062 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 11.6063 -
 11.6064 -if test $ac_cv_header_stdc = yes; then
 11.6065 -  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 11.6066 -  cat >conftest.$ac_ext <<_ACEOF
 11.6067 -/* confdefs.h.  */
 11.6068 -_ACEOF
 11.6069 -cat confdefs.h >>conftest.$ac_ext
 11.6070 -cat >>conftest.$ac_ext <<_ACEOF
 11.6071 -/* end confdefs.h.  */
 11.6072 -#include <string.h>
 11.6073 -
 11.6074 -_ACEOF
 11.6075 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 11.6076 -  $EGREP "memchr" >/dev/null 2>&1; then
 11.6077 -  :
 11.6078 -else
 11.6079 -  ac_cv_header_stdc=no
 11.6080 -fi
 11.6081 -rm -f conftest*
 11.6082 -
 11.6083 -fi
 11.6084 -
 11.6085 -if test $ac_cv_header_stdc = yes; then
 11.6086 -  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 11.6087 -  cat >conftest.$ac_ext <<_ACEOF
 11.6088 -/* confdefs.h.  */
 11.6089 -_ACEOF
 11.6090 -cat confdefs.h >>conftest.$ac_ext
 11.6091 -cat >>conftest.$ac_ext <<_ACEOF
 11.6092 -/* end confdefs.h.  */
 11.6093 -#include <stdlib.h>
 11.6094 -
 11.6095 -_ACEOF
 11.6096 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 11.6097 -  $EGREP "free" >/dev/null 2>&1; then
 11.6098 -  :
 11.6099 -else
 11.6100 -  ac_cv_header_stdc=no
 11.6101 -fi
 11.6102 -rm -f conftest*
 11.6103 -
 11.6104 -fi
 11.6105 -
 11.6106 -if test $ac_cv_header_stdc = yes; then
 11.6107 -  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 11.6108 -  if test "$cross_compiling" = yes; then
 11.6109 -  :
 11.6110 -else
 11.6111 -  cat >conftest.$ac_ext <<_ACEOF
 11.6112 -/* confdefs.h.  */
 11.6113 -_ACEOF
 11.6114 -cat confdefs.h >>conftest.$ac_ext
 11.6115 -cat >>conftest.$ac_ext <<_ACEOF
 11.6116 -/* end confdefs.h.  */
 11.6117 -#include <ctype.h>
 11.6118 -#if ((' ' & 0x0FF) == 0x020)
 11.6119 -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 11.6120 -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 11.6121 -#else
 11.6122 -# define ISLOWER(c) \
 11.6123 -		   (('a' <= (c) && (c) <= 'i') \
 11.6124 -		     || ('j' <= (c) && (c) <= 'r') \
 11.6125 -		     || ('s' <= (c) && (c) <= 'z'))
 11.6126 -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 11.6127 -#endif
 11.6128 -
 11.6129 -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 11.6130 -int
 11.6131 -main ()
 11.6132 -{
 11.6133 -  int i;
 11.6134 -  for (i = 0; i < 256; i++)
 11.6135 -    if (XOR (islower (i), ISLOWER (i))
 11.6136 -	|| toupper (i) != TOUPPER (i))
 11.6137 -      exit(2);
 11.6138 -  exit (0);
 11.6139 -}
 11.6140 -_ACEOF
 11.6141 -rm -f conftest$ac_exeext
 11.6142 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 11.6143 -  (eval $ac_link) 2>&5
 11.6144 -  ac_status=$?
 11.6145 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.6146 -  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 11.6147 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.6148 -  (eval $ac_try) 2>&5
 11.6149 -  ac_status=$?
 11.6150 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.6151 -  (exit $ac_status); }; }; then
 11.6152 -  :
 11.6153 -else
 11.6154 -  echo "$as_me: program exited with status $ac_status" >&5
 11.6155 -echo "$as_me: failed program was:" >&5
 11.6156 -sed 's/^/| /' conftest.$ac_ext >&5
 11.6157 -
 11.6158 -( exit $ac_status )
 11.6159 -ac_cv_header_stdc=no
 11.6160 -fi
 11.6161 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 11.6162 -fi
 11.6163 -fi
 11.6164 -fi
 11.6165 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 11.6166 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
 11.6167 -if test $ac_cv_header_stdc = yes; then
 11.6168 -
 11.6169 -cat >>confdefs.h <<\_ACEOF
 11.6170 -#define STDC_HEADERS 1
 11.6171 -_ACEOF
 11.6172 -
 11.6173 -fi
 11.6174 -
 11.6175 -# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 11.6176 -
 11.6177 -
 11.6178 -
 11.6179 -
 11.6180 -
 11.6181 -
 11.6182 -
 11.6183 -
 11.6184 -
 11.6185 -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 11.6186 -		  inttypes.h stdint.h unistd.h
 11.6187 -do
 11.6188 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 11.6189 -echo "$as_me:$LINENO: checking for $ac_header" >&5
 11.6190 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 11.6191 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
 11.6192 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.6193 -else
 11.6194 -  cat >conftest.$ac_ext <<_ACEOF
 11.6195 -/* confdefs.h.  */
 11.6196 -_ACEOF
 11.6197 -cat confdefs.h >>conftest.$ac_ext
 11.6198 -cat >>conftest.$ac_ext <<_ACEOF
 11.6199 -/* end confdefs.h.  */
 11.6200 -$ac_includes_default
 11.6201 -
 11.6202 -#include <$ac_header>
 11.6203 -_ACEOF
 11.6204 -rm -f conftest.$ac_objext
 11.6205 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 11.6206 -  (eval $ac_compile) 2>conftest.er1
 11.6207 -  ac_status=$?
 11.6208 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.6209 -  rm -f conftest.er1
 11.6210 -  cat conftest.err >&5
 11.6211 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.6212 -  (exit $ac_status); } &&
 11.6213 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 11.6214 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.6215 -  (eval $ac_try) 2>&5
 11.6216 -  ac_status=$?
 11.6217 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.6218 -  (exit $ac_status); }; } &&
 11.6219 -	 { ac_try='test -s conftest.$ac_objext'
 11.6220 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.6221 -  (eval $ac_try) 2>&5
 11.6222 -  ac_status=$?
 11.6223 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.6224 -  (exit $ac_status); }; }; then
 11.6225 -  eval "$as_ac_Header=yes"
 11.6226 -else
 11.6227 -  echo "$as_me: failed program was:" >&5
 11.6228 -sed 's/^/| /' conftest.$ac_ext >&5
 11.6229 -
 11.6230 -eval "$as_ac_Header=no"
 11.6231 -fi
 11.6232 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 11.6233 -fi
 11.6234 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 11.6235 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 11.6236 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
 11.6237 -  cat >>confdefs.h <<_ACEOF
 11.6238 -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 11.6239 -_ACEOF
 11.6240 -
 11.6241 -fi
 11.6242 -
 11.6243 -done
 11.6244 -
 11.6245 -
 11.6246 -
 11.6247 -for ac_header in dlfcn.h
 11.6248 -do
 11.6249 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 11.6250 -echo "$as_me:$LINENO: checking for $ac_header" >&5
 11.6251 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 11.6252 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
 11.6253 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.6254 -else
 11.6255 -  cat >conftest.$ac_ext <<_ACEOF
 11.6256 -/* confdefs.h.  */
 11.6257 -_ACEOF
 11.6258 -cat confdefs.h >>conftest.$ac_ext
 11.6259 -cat >>conftest.$ac_ext <<_ACEOF
 11.6260 -/* end confdefs.h.  */
 11.6261 -$ac_includes_default
 11.6262 -
 11.6263 -#include <$ac_header>
 11.6264 -_ACEOF
 11.6265 -rm -f conftest.$ac_objext
 11.6266 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 11.6267 -  (eval $ac_compile) 2>conftest.er1
 11.6268 -  ac_status=$?
 11.6269 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.6270 -  rm -f conftest.er1
 11.6271 -  cat conftest.err >&5
 11.6272 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.6273 -  (exit $ac_status); } &&
 11.6274 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 11.6275 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.6276 -  (eval $ac_try) 2>&5
 11.6277 -  ac_status=$?
 11.6278 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.6279 -  (exit $ac_status); }; } &&
 11.6280 -	 { ac_try='test -s conftest.$ac_objext'
 11.6281 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.6282 -  (eval $ac_try) 2>&5
 11.6283 -  ac_status=$?
 11.6284 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.6285 -  (exit $ac_status); }; }; then
 11.6286 -  eval "$as_ac_Header=yes"
 11.6287 -else
 11.6288 -  echo "$as_me: failed program was:" >&5
 11.6289 -sed 's/^/| /' conftest.$ac_ext >&5
 11.6290 -
 11.6291 -eval "$as_ac_Header=no"
 11.6292 -fi
 11.6293 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 11.6294 -fi
 11.6295 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 11.6296 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 11.6297 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
 11.6298 -  cat >>confdefs.h <<_ACEOF
 11.6299 -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 11.6300 -_ACEOF
 11.6301 -
 11.6302 -fi
 11.6303 -
 11.6304 -done
 11.6305 -
 11.6306 -
 11.6307 -
 11.6308 -# This can be used to rebuild libtool when needed
 11.6309 -LIBTOOL_DEPS="$ltmain"
 11.6310 -
 11.6311 -# Always use our own libtool.
 11.6312 -LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 11.6313 -
 11.6314 -
 11.6315 -
 11.6316 -
 11.6317 -
 11.6318 -
 11.6319 -
 11.6320 -
 11.6321 -
 11.6322 -
 11.6323 -
 11.6324 -
 11.6325 -
 11.6326 -
 11.6327 -
 11.6328 -
 11.6329 -
 11.6330 -
 11.6331 -
 11.6332 -
 11.6333 -
 11.6334 -
 11.6335 -
 11.6336 -
 11.6337 -
 11.6338 -test -z "$LN_S" && LN_S="ln -s"
 11.6339 -
 11.6340 -
 11.6341 -
 11.6342 -
 11.6343 -
 11.6344 -
 11.6345 -
 11.6346 -
 11.6347 -
 11.6348 -
 11.6349 -
 11.6350 -
 11.6351 -
 11.6352 -
 11.6353 -if test -n "${ZSH_VERSION+set}" ; then
 11.6354 -   setopt NO_GLOB_SUBST
 11.6355 -fi
 11.6356 -
 11.6357 -echo "$as_me:$LINENO: checking for objdir" >&5
 11.6358 -echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 11.6359 -if test "${lt_cv_objdir+set}" = set; then
 11.6360 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.6361 -else
 11.6362 -  rm -f .libs 2>/dev/null
 11.6363 -mkdir .libs 2>/dev/null
 11.6364 -if test -d .libs; then
 11.6365 -  lt_cv_objdir=.libs
 11.6366 -else
 11.6367 -  # MS-DOS does not allow filenames that begin with a dot.
 11.6368 -  lt_cv_objdir=_libs
 11.6369 -fi
 11.6370 -rmdir .libs 2>/dev/null
 11.6371 -fi
 11.6372 -echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 11.6373 -echo "${ECHO_T}$lt_cv_objdir" >&6
 11.6374 -objdir=$lt_cv_objdir
 11.6375 -
 11.6376 -
 11.6377 -
 11.6378 -
 11.6379 -
 11.6380 -cat >>confdefs.h <<_ACEOF
 11.6381 -#define LT_OBJDIR "$lt_cv_objdir/"
 11.6382 -_ACEOF
 11.6383 -
 11.6384 -
 11.6385 -
 11.6386 -
 11.6387 -
 11.6388 -
 11.6389 -
 11.6390 -
 11.6391 -
 11.6392 -
 11.6393 -
 11.6394 -
 11.6395 -
 11.6396 -
 11.6397 -
 11.6398 -
 11.6399 -
 11.6400 -case $host_os in
 11.6401 -aix3*)
 11.6402 -  # AIX sometimes has problems with the GCC collect2 program.  For some
 11.6403 -  # reason, if we set the COLLECT_NAMES environment variable, the problems
 11.6404 -  # vanish in a puff of smoke.
 11.6405 -  if test "X${COLLECT_NAMES+set}" != Xset; then
 11.6406 -    COLLECT_NAMES=
 11.6407 -    export COLLECT_NAMES
 11.6408 -  fi
 11.6409 -  ;;
 11.6410 -esac
 11.6411 -
 11.6412 -# Sed substitution that helps us do robust quoting.  It backslashifies
 11.6413 -# metacharacters that are still active within double-quoted strings.
 11.6414 -sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 11.6415 -
 11.6416 -# Same as above, but do not quote variable references.
 11.6417 -double_quote_subst='s/\(["`\\]\)/\\\1/g'
 11.6418 -
 11.6419 -# Sed substitution to delay expansion of an escaped shell variable in a
 11.6420 -# double_quote_subst'ed string.
 11.6421 -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 11.6422 -
 11.6423 -# Sed substitution to delay expansion of an escaped single quote.
 11.6424 -delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 11.6425 -
 11.6426 -# Sed substitution to avoid accidental globbing in evaled expressions
 11.6427 -no_glob_subst='s/\*/\\\*/g'
 11.6428 -
 11.6429 -# Global variables:
 11.6430 -ofile=libtool
 11.6431 -can_build_shared=yes
 11.6432 -
 11.6433 -# All known linkers require a `.a' archive for static linking (except MSVC,
 11.6434 -# which needs '.lib').
 11.6435 -libext=a
 11.6436 -
 11.6437 -with_gnu_ld="$lt_cv_prog_gnu_ld"
 11.6438 -
 11.6439 -old_CC="$CC"
 11.6440 -old_CFLAGS="$CFLAGS"
 11.6441 -
 11.6442 -# Set sane defaults for various variables
 11.6443 -test -z "$CC" && CC=cc
 11.6444 -test -z "$LTCC" && LTCC=$CC
 11.6445 -test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 11.6446 -test -z "$LD" && LD=ld
 11.6447 -test -z "$ac_objext" && ac_objext=o
 11.6448 -
 11.6449 -for cc_temp in $compiler""; do
 11.6450 -  case $cc_temp in
 11.6451 -    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 11.6452 -    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 11.6453 -    \-*) ;;
 11.6454 -    *) break;;
 11.6455 -  esac
 11.6456 -done
 11.6457 -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 11.6458 -
 11.6459 -
 11.6460 -# Only perform the check for file, if the check method requires it
 11.6461 -test -z "$MAGIC_CMD" && MAGIC_CMD=file
 11.6462 -case $deplibs_check_method in
 11.6463 -file_magic*)
 11.6464 -  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 11.6465 -    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 11.6466 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 11.6467 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 11.6468 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.6469 -else
 11.6470 -  case $MAGIC_CMD in
 11.6471 -[\\/*] |  ?:[\\/]*)
 11.6472 -  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 11.6473 -  ;;
 11.6474 -*)
 11.6475 -  lt_save_MAGIC_CMD="$MAGIC_CMD"
 11.6476 -  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 11.6477 -  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 11.6478 -  for ac_dir in $ac_dummy; do
 11.6479 -    IFS="$lt_save_ifs"
 11.6480 -    test -z "$ac_dir" && ac_dir=.
 11.6481 -    if test -f $ac_dir/${ac_tool_prefix}file; then
 11.6482 -      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 11.6483 -      if test -n "$file_magic_test_file"; then
 11.6484 -	case $deplibs_check_method in
 11.6485 -	"file_magic "*)
 11.6486 -	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 11.6487 -	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 11.6488 -	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 11.6489 -	    $EGREP "$file_magic_regex" > /dev/null; then
 11.6490 -	    :
 11.6491 -	  else
 11.6492 -	    cat <<_LT_EOF 1>&2
 11.6493 -
 11.6494 -*** Warning: the command libtool uses to detect shared libraries,
 11.6495 -*** $file_magic_cmd, produces output that libtool cannot recognize.
 11.6496 -*** The result is that libtool may fail to recognize shared libraries
 11.6497 -*** as such.  This will affect the creation of libtool libraries that
 11.6498 -*** depend on shared libraries, but programs linked with such libtool
 11.6499 -*** libraries will work regardless of this problem.  Nevertheless, you
 11.6500 -*** may want to report the problem to your system manager and/or to
 11.6501 -*** bug-libtool@gnu.org
 11.6502 -
 11.6503 -_LT_EOF
 11.6504 -	  fi ;;
 11.6505 -	esac
 11.6506 -      fi
 11.6507 -      break
 11.6508 -    fi
 11.6509 -  done
 11.6510 -  IFS="$lt_save_ifs"
 11.6511 -  MAGIC_CMD="$lt_save_MAGIC_CMD"
 11.6512 -  ;;
 11.6513 -esac
 11.6514 -fi
 11.6515 -
 11.6516 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 11.6517 -if test -n "$MAGIC_CMD"; then
 11.6518 -  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 11.6519 -echo "${ECHO_T}$MAGIC_CMD" >&6
 11.6520 -else
 11.6521 -  echo "$as_me:$LINENO: result: no" >&5
 11.6522 -echo "${ECHO_T}no" >&6
 11.6523 -fi
 11.6524 -
 11.6525 -
 11.6526 -
 11.6527 -
 11.6528 -
 11.6529 -if test -z "$lt_cv_path_MAGIC_CMD"; then
 11.6530 -  if test -n "$ac_tool_prefix"; then
 11.6531 -    echo "$as_me:$LINENO: checking for file" >&5
 11.6532 -echo $ECHO_N "checking for file... $ECHO_C" >&6
 11.6533 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 11.6534 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.6535 -else
 11.6536 -  case $MAGIC_CMD in
 11.6537 -[\\/*] |  ?:[\\/]*)
 11.6538 -  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 11.6539 -  ;;
 11.6540 -*)
 11.6541 -  lt_save_MAGIC_CMD="$MAGIC_CMD"
 11.6542 -  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 11.6543 -  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 11.6544 -  for ac_dir in $ac_dummy; do
 11.6545 -    IFS="$lt_save_ifs"
 11.6546 -    test -z "$ac_dir" && ac_dir=.
 11.6547 -    if test -f $ac_dir/file; then
 11.6548 -      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 11.6549 -      if test -n "$file_magic_test_file"; then
 11.6550 -	case $deplibs_check_method in
 11.6551 -	"file_magic "*)
 11.6552 -	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 11.6553 -	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 11.6554 -	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 11.6555 -	    $EGREP "$file_magic_regex" > /dev/null; then
 11.6556 -	    :
 11.6557 -	  else
 11.6558 -	    cat <<_LT_EOF 1>&2
 11.6559 -
 11.6560 -*** Warning: the command libtool uses to detect shared libraries,
 11.6561 -*** $file_magic_cmd, produces output that libtool cannot recognize.
 11.6562 -*** The result is that libtool may fail to recognize shared libraries
 11.6563 -*** as such.  This will affect the creation of libtool libraries that
 11.6564 -*** depend on shared libraries, but programs linked with such libtool
 11.6565 -*** libraries will work regardless of this problem.  Nevertheless, you
 11.6566 -*** may want to report the problem to your system manager and/or to
 11.6567 -*** bug-libtool@gnu.org
 11.6568 -
 11.6569 -_LT_EOF
 11.6570 -	  fi ;;
 11.6571 -	esac
 11.6572 -      fi
 11.6573 -      break
 11.6574 -    fi
 11.6575 -  done
 11.6576 -  IFS="$lt_save_ifs"
 11.6577 -  MAGIC_CMD="$lt_save_MAGIC_CMD"
 11.6578 -  ;;
 11.6579 -esac
 11.6580 -fi
 11.6581 -
 11.6582 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 11.6583 -if test -n "$MAGIC_CMD"; then
 11.6584 -  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 11.6585 -echo "${ECHO_T}$MAGIC_CMD" >&6
 11.6586 -else
 11.6587 -  echo "$as_me:$LINENO: result: no" >&5
 11.6588 -echo "${ECHO_T}no" >&6
 11.6589 -fi
 11.6590 -
 11.6591 -
 11.6592 -  else
 11.6593 -    MAGIC_CMD=:
 11.6594 -  fi
 11.6595 -fi
 11.6596 -
 11.6597 -  fi
 11.6598 -  ;;
 11.6599 -esac
 11.6600 -
 11.6601 -# Use C for the default configuration in the libtool script
 11.6602 -
 11.6603 -lt_save_CC="$CC"
 11.6604 -ac_ext=c
 11.6605 -ac_cpp='$CPP $CPPFLAGS'
 11.6606 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 11.6607 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 11.6608 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
 11.6609 -
 11.6610 -
 11.6611 -# Source file extension for C test sources.
 11.6612 -ac_ext=c
 11.6613 -
 11.6614 -# Object file extension for compiled C test sources.
 11.6615 -objext=o
 11.6616 -objext=$objext
 11.6617 -
 11.6618 -# Code to be used in simple compile tests
 11.6619 -lt_simple_compile_test_code="int some_variable = 0;"
 11.6620 -
 11.6621 -# Code to be used in simple link tests
 11.6622 -lt_simple_link_test_code='int main(){return(0);}'
 11.6623 -
 11.6624 -
 11.6625 -
 11.6626 -
 11.6627 -
 11.6628 -
 11.6629 -
 11.6630 -# If no C compiler was specified, use CC.
 11.6631 -LTCC=${LTCC-"$CC"}
 11.6632 -
 11.6633 -# If no C compiler flags were specified, use CFLAGS.
 11.6634 -LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 11.6635 -
 11.6636 -# Allow CC to be a program name with arguments.
 11.6637 -compiler=$CC
 11.6638 -
 11.6639 -# Save the default compiler, since it gets overwritten when the other
 11.6640 -# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 11.6641 -compiler_DEFAULT=$CC
 11.6642 -
 11.6643 -# save warnings/boilerplate of simple test code
 11.6644 -ac_outfile=conftest.$ac_objext
 11.6645 -echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 11.6646 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 11.6647 -_lt_compiler_boilerplate=`cat conftest.err`
 11.6648 -$RM conftest*
 11.6649 -
 11.6650 -ac_outfile=conftest.$ac_objext
 11.6651 -echo "$lt_simple_link_test_code" >conftest.$ac_ext
 11.6652 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 11.6653 -_lt_linker_boilerplate=`cat conftest.err`
 11.6654 -$RM conftest*
 11.6655 -
 11.6656 -
 11.6657 -## CAVEAT EMPTOR:
 11.6658 -## There is no encapsulation within the following macros, do not change
 11.6659 -## the running order or otherwise move them around unless you know exactly
 11.6660 -## what you are doing...
 11.6661 -if test -n "$compiler"; then
 11.6662 -
 11.6663 -lt_prog_compiler_no_builtin_flag=
 11.6664 -
 11.6665 -if test "$GCC" = yes; then
 11.6666 -  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 11.6667 -
 11.6668 -  echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 11.6669 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 11.6670 -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 11.6671 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.6672 -else
 11.6673 -  lt_cv_prog_compiler_rtti_exceptions=no
 11.6674 -   ac_outfile=conftest.$ac_objext
 11.6675 -   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 11.6676 -   lt_compiler_flag="-fno-rtti -fno-exceptions"
 11.6677 -   # Insert the option either (1) after the last *FLAGS variable, or
 11.6678 -   # (2) before a word containing "conftest.", or (3) at the end.
 11.6679 -   # Note that $ac_compile itself does not contain backslashes and begins
 11.6680 -   # with a dollar sign (not a hyphen), so the echo should work correctly.
 11.6681 -   # The option is referenced via a variable to avoid confusing sed.
 11.6682 -   lt_compile=`echo "$ac_compile" | $SED \
 11.6683 -   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 11.6684 -   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 11.6685 -   -e 's:$: $lt_compiler_flag:'`
 11.6686 -   (eval echo "\"\$as_me:6683: $lt_compile\"" >&5)
 11.6687 -   (eval "$lt_compile" 2>conftest.err)
 11.6688 -   ac_status=$?
 11.6689 -   cat conftest.err >&5
 11.6690 -   echo "$as_me:6687: \$? = $ac_status" >&5
 11.6691 -   if (exit $ac_status) && test -s "$ac_outfile"; then
 11.6692 -     # The compiler can only warn and ignore the option if not recognized
 11.6693 -     # So say no if there are warnings other than the usual output.
 11.6694 -     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 11.6695 -     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 11.6696 -     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 11.6697 -       lt_cv_prog_compiler_rtti_exceptions=yes
 11.6698 -     fi
 11.6699 -   fi
 11.6700 -   $RM conftest*
 11.6701 -
 11.6702 -fi
 11.6703 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 11.6704 -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 11.6705 -
 11.6706 -if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 11.6707 -    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 11.6708 -else
 11.6709 -    :
 11.6710 -fi
 11.6711 -
 11.6712 -fi
 11.6713 -
 11.6714 -
 11.6715 -
 11.6716 -
 11.6717 -
 11.6718 -
 11.6719 -  lt_prog_compiler_wl=
 11.6720 -lt_prog_compiler_pic=
 11.6721 -lt_prog_compiler_static=
 11.6722 -
 11.6723 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 11.6724 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 11.6725 -
 11.6726 -  if test "$GCC" = yes; then
 11.6727 -    lt_prog_compiler_wl='-Wl,'
 11.6728 -    lt_prog_compiler_static='-static'
 11.6729 -
 11.6730 -    case $host_os in
 11.6731 -      aix*)
 11.6732 -      # All AIX code is PIC.
 11.6733 -      if test "$host_cpu" = ia64; then
 11.6734 -	# AIX 5 now supports IA64 processor
 11.6735 -	lt_prog_compiler_static='-Bstatic'
 11.6736 -      fi
 11.6737 -      ;;
 11.6738 -
 11.6739 -    amigaos*)
 11.6740 -      if test "$host_cpu" = m68k; then
 11.6741 -        # FIXME: we need at least 68020 code to build shared libraries, but
 11.6742 -        # adding the `-m68020' flag to GCC prevents building anything better,
 11.6743 -        # like `-m68040'.
 11.6744 -        lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 11.6745 -      fi
 11.6746 -      ;;
 11.6747 -
 11.6748 -    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 11.6749 -      # PIC is the default for these OSes.
 11.6750 -      ;;
 11.6751 -
 11.6752 -    mingw* | cygwin* | pw32* | os2*)
 11.6753 -      # This hack is so that the source file can tell whether it is being
 11.6754 -      # built for inclusion in a dll (and should export symbols for example).
 11.6755 -      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 11.6756 -      # (--disable-auto-import) libraries
 11.6757 -      lt_prog_compiler_pic='-DDLL_EXPORT'
 11.6758 -      ;;
 11.6759 -
 11.6760 -    darwin* | rhapsody*)
 11.6761 -      # PIC is the default on this platform
 11.6762 -      # Common symbols not allowed in MH_DYLIB files
 11.6763 -      lt_prog_compiler_pic='-fno-common'
 11.6764 -      ;;
 11.6765 -
 11.6766 -    hpux*)
 11.6767 -      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 11.6768 -      # not for PA HP-UX.
 11.6769 -      case $host_cpu in
 11.6770 -      hppa*64*|ia64*)
 11.6771 -	# +Z the default
 11.6772 -	;;
 11.6773 -      *)
 11.6774 -	lt_prog_compiler_pic='-fPIC'
 11.6775 -	;;
 11.6776 -      esac
 11.6777 -      ;;
 11.6778 -
 11.6779 -    interix[3-9]*)
 11.6780 -      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 11.6781 -      # Instead, we relocate shared libraries at runtime.
 11.6782 -      ;;
 11.6783 -
 11.6784 -    msdosdjgpp*)
 11.6785 -      # Just because we use GCC doesn't mean we suddenly get shared libraries
 11.6786 -      # on systems that don't support them.
 11.6787 -      lt_prog_compiler_can_build_shared=no
 11.6788 -      enable_shared=no
 11.6789 -      ;;
 11.6790 -
 11.6791 -    *nto* | *qnx*)
 11.6792 -      # QNX uses GNU C++, but need to define -shared option too, otherwise
 11.6793 -      # it will coredump.
 11.6794 -      lt_prog_compiler_pic='-fPIC -shared'
 11.6795 -      ;;
 11.6796 -
 11.6797 -    sysv4*MP*)
 11.6798 -      if test -d /usr/nec; then
 11.6799 -	lt_prog_compiler_pic=-Kconform_pic
 11.6800 -      fi
 11.6801 -      ;;
 11.6802 -
 11.6803 -    *)
 11.6804 -      lt_prog_compiler_pic='-fPIC'
 11.6805 -      ;;
 11.6806 -    esac
 11.6807 -  else
 11.6808 -    # PORTME Check for flag to pass linker flags through the system compiler.
 11.6809 -    case $host_os in
 11.6810 -    aix*)
 11.6811 -      lt_prog_compiler_wl='-Wl,'
 11.6812 -      if test "$host_cpu" = ia64; then
 11.6813 -	# AIX 5 now supports IA64 processor
 11.6814 -	lt_prog_compiler_static='-Bstatic'
 11.6815 -      else
 11.6816 -	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 11.6817 -      fi
 11.6818 -      ;;
 11.6819 -    darwin*)
 11.6820 -      # PIC is the default on this platform
 11.6821 -      # Common symbols not allowed in MH_DYLIB files
 11.6822 -      case $cc_basename in
 11.6823 -      xlc*)
 11.6824 -        lt_prog_compiler_pic='-qnocommon'
 11.6825 -        lt_prog_compiler_wl='-Wl,'
 11.6826 -        ;;
 11.6827 -      esac
 11.6828 -      ;;
 11.6829 -
 11.6830 -    mingw* | cygwin* | pw32* | os2*)
 11.6831 -      # This hack is so that the source file can tell whether it is being
 11.6832 -      # built for inclusion in a dll (and should export symbols for example).
 11.6833 -      lt_prog_compiler_pic='-DDLL_EXPORT'
 11.6834 -      ;;
 11.6835 -
 11.6836 -    hpux9* | hpux10* | hpux11*)
 11.6837 -      lt_prog_compiler_wl='-Wl,'
 11.6838 -      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 11.6839 -      # not for PA HP-UX.
 11.6840 -      case $host_cpu in
 11.6841 -      hppa*64*|ia64*)
 11.6842 -	# +Z the default
 11.6843 -	;;
 11.6844 -      *)
 11.6845 -	lt_prog_compiler_pic='+Z'
 11.6846 -	;;
 11.6847 -      esac
 11.6848 -      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 11.6849 -      lt_prog_compiler_static='${wl}-a ${wl}archive'
 11.6850 -      ;;
 11.6851 -
 11.6852 -    irix5* | irix6* | nonstopux*)
 11.6853 -      lt_prog_compiler_wl='-Wl,'
 11.6854 -      # PIC (with -KPIC) is the default.
 11.6855 -      lt_prog_compiler_static='-non_shared'
 11.6856 -      ;;
 11.6857 -
 11.6858 -    linux* | k*bsd*-gnu)
 11.6859 -      case $cc_basename in
 11.6860 -      icc* | ecc*)
 11.6861 -	lt_prog_compiler_wl='-Wl,'
 11.6862 -	lt_prog_compiler_pic='-KPIC'
 11.6863 -	lt_prog_compiler_static='-static'
 11.6864 -        ;;
 11.6865 -      pgcc* | pgf77* | pgf90* | pgf95*)
 11.6866 -        # Portland Group compilers (*not* the Pentium gcc compiler,
 11.6867 -	# which looks to be a dead project)
 11.6868 -	lt_prog_compiler_wl='-Wl,'
 11.6869 -	lt_prog_compiler_pic='-fpic'
 11.6870 -	lt_prog_compiler_static='-Bstatic'
 11.6871 -        ;;
 11.6872 -      ccc*)
 11.6873 -        lt_prog_compiler_wl='-Wl,'
 11.6874 -        # All Alpha code is PIC.
 11.6875 -        lt_prog_compiler_static='-non_shared'
 11.6876 -        ;;
 11.6877 -      *)
 11.6878 -	case `$CC -V 2>&1 | sed 5q` in
 11.6879 -	*Sun\ C*)
 11.6880 -	  # Sun C 5.9
 11.6881 -	  lt_prog_compiler_pic='-KPIC'
 11.6882 -	  lt_prog_compiler_static='-Bstatic'
 11.6883 -	  lt_prog_compiler_wl='-Wl,'
 11.6884 -	  ;;
 11.6885 -	*Sun\ F*)
 11.6886 -	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
 11.6887 -	  lt_prog_compiler_pic='-KPIC'
 11.6888 -	  lt_prog_compiler_static='-Bstatic'
 11.6889 -	  lt_prog_compiler_wl=''
 11.6890 -	  ;;
 11.6891 -	esac
 11.6892 -	;;
 11.6893 -      esac
 11.6894 -      ;;
 11.6895 -
 11.6896 -    newsos6)
 11.6897 -      lt_prog_compiler_pic='-KPIC'
 11.6898 -      lt_prog_compiler_static='-Bstatic'
 11.6899 -      ;;
 11.6900 -
 11.6901 -    *nto* | *qnx*)
 11.6902 -      # QNX uses GNU C++, but need to define -shared option too, otherwise
 11.6903 -      # it will coredump.
 11.6904 -      lt_prog_compiler_pic='-fPIC -shared'
 11.6905 -      ;;
 11.6906 -
 11.6907 -    osf3* | osf4* | osf5*)
 11.6908 -      lt_prog_compiler_wl='-Wl,'
 11.6909 -      # All OSF/1 code is PIC.
 11.6910 -      lt_prog_compiler_static='-non_shared'
 11.6911 -      ;;
 11.6912 -
 11.6913 -    rdos*)
 11.6914 -      lt_prog_compiler_static='-non_shared'
 11.6915 -      ;;
 11.6916 -
 11.6917 -    solaris*)
 11.6918 -      lt_prog_compiler_pic='-KPIC'
 11.6919 -      lt_prog_compiler_static='-Bstatic'
 11.6920 -      case $cc_basename in
 11.6921 -      f77* | f90* | f95*)
 11.6922 -	lt_prog_compiler_wl='-Qoption ld ';;
 11.6923 -      *)
 11.6924 -	lt_prog_compiler_wl='-Wl,';;
 11.6925 -      esac
 11.6926 -      ;;
 11.6927 -
 11.6928 -    sunos4*)
 11.6929 -      lt_prog_compiler_wl='-Qoption ld '
 11.6930 -      lt_prog_compiler_pic='-PIC'
 11.6931 -      lt_prog_compiler_static='-Bstatic'
 11.6932 -      ;;
 11.6933 -
 11.6934 -    sysv4 | sysv4.2uw2* | sysv4.3*)
 11.6935 -      lt_prog_compiler_wl='-Wl,'
 11.6936 -      lt_prog_compiler_pic='-KPIC'
 11.6937 -      lt_prog_compiler_static='-Bstatic'
 11.6938 -      ;;
 11.6939 -
 11.6940 -    sysv4*MP*)
 11.6941 -      if test -d /usr/nec ;then
 11.6942 -	lt_prog_compiler_pic='-Kconform_pic'
 11.6943 -	lt_prog_compiler_static='-Bstatic'
 11.6944 -      fi
 11.6945 -      ;;
 11.6946 -
 11.6947 -    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 11.6948 -      lt_prog_compiler_wl='-Wl,'
 11.6949 -      lt_prog_compiler_pic='-KPIC'
 11.6950 -      lt_prog_compiler_static='-Bstatic'
 11.6951 -      ;;
 11.6952 -
 11.6953 -    unicos*)
 11.6954 -      lt_prog_compiler_wl='-Wl,'
 11.6955 -      lt_prog_compiler_can_build_shared=no
 11.6956 -      ;;
 11.6957 -
 11.6958 -    uts4*)
 11.6959 -      lt_prog_compiler_pic='-pic'
 11.6960 -      lt_prog_compiler_static='-Bstatic'
 11.6961 -      ;;
 11.6962 -
 11.6963 -    *)
 11.6964 -      lt_prog_compiler_can_build_shared=no
 11.6965 -      ;;
 11.6966 -    esac
 11.6967 -  fi
 11.6968 -
 11.6969 -case $host_os in
 11.6970 -  # For platforms which do not support PIC, -DPIC is meaningless:
 11.6971 -  *djgpp*)
 11.6972 -    lt_prog_compiler_pic=
 11.6973 -    ;;
 11.6974 -  *)
 11.6975 -    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 11.6976 -    ;;
 11.6977 -esac
 11.6978 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 11.6979 -echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 11.6980 -
 11.6981 -
 11.6982 -
 11.6983 -
 11.6984 -
 11.6985 -
 11.6986 -#
 11.6987 -# Check to make sure the PIC flag actually works.
 11.6988 -#
 11.6989 -if test -n "$lt_prog_compiler_pic"; then
 11.6990 -  echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 11.6991 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
 11.6992 -if test "${lt_prog_compiler_pic_works+set}" = set; then
 11.6993 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.6994 -else
 11.6995 -  lt_prog_compiler_pic_works=no
 11.6996 -   ac_outfile=conftest.$ac_objext
 11.6997 -   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 11.6998 -   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
 11.6999 -   # Insert the option either (1) after the last *FLAGS variable, or
 11.7000 -   # (2) before a word containing "conftest.", or (3) at the end.
 11.7001 -   # Note that $ac_compile itself does not contain backslashes and begins
 11.7002 -   # with a dollar sign (not a hyphen), so the echo should work correctly.
 11.7003 -   # The option is referenced via a variable to avoid confusing sed.
 11.7004 -   lt_compile=`echo "$ac_compile" | $SED \
 11.7005 -   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 11.7006 -   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 11.7007 -   -e 's:$: $lt_compiler_flag:'`
 11.7008 -   (eval echo "\"\$as_me:7005: $lt_compile\"" >&5)
 11.7009 -   (eval "$lt_compile" 2>conftest.err)
 11.7010 -   ac_status=$?
 11.7011 -   cat conftest.err >&5
 11.7012 -   echo "$as_me:7009: \$? = $ac_status" >&5
 11.7013 -   if (exit $ac_status) && test -s "$ac_outfile"; then
 11.7014 -     # The compiler can only warn and ignore the option if not recognized
 11.7015 -     # So say no if there are warnings other than the usual output.
 11.7016 -     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 11.7017 -     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 11.7018 -     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 11.7019 -       lt_prog_compiler_pic_works=yes
 11.7020 -     fi
 11.7021 -   fi
 11.7022 -   $RM conftest*
 11.7023 -
 11.7024 -fi
 11.7025 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
 11.7026 -echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 11.7027 -
 11.7028 -if test x"$lt_prog_compiler_pic_works" = xyes; then
 11.7029 -    case $lt_prog_compiler_pic in
 11.7030 -     "" | " "*) ;;
 11.7031 -     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 11.7032 -     esac
 11.7033 -else
 11.7034 -    lt_prog_compiler_pic=
 11.7035 -     lt_prog_compiler_can_build_shared=no
 11.7036 -fi
 11.7037 -
 11.7038 -fi
 11.7039 -
 11.7040 -
 11.7041 -
 11.7042 -
 11.7043 -
 11.7044 -
 11.7045 -#
 11.7046 -# Check to make sure the static flag actually works.
 11.7047 -#
 11.7048 -wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 11.7049 -echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 11.7050 -echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 11.7051 -if test "${lt_prog_compiler_static_works+set}" = set; then
 11.7052 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.7053 -else
 11.7054 -  lt_prog_compiler_static_works=no
 11.7055 -   save_LDFLAGS="$LDFLAGS"
 11.7056 -   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 11.7057 -   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 11.7058 -   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 11.7059 -     # The linker can only warn and ignore the option if not recognized
 11.7060 -     # So say no if there are warnings
 11.7061 -     if test -s conftest.err; then
 11.7062 -       # Append any errors to the config.log.
 11.7063 -       cat conftest.err 1>&5
 11.7064 -       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 11.7065 -       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 11.7066 -       if diff conftest.exp conftest.er2 >/dev/null; then
 11.7067 -         lt_prog_compiler_static_works=yes
 11.7068 -       fi
 11.7069 -     else
 11.7070 -       lt_prog_compiler_static_works=yes
 11.7071 -     fi
 11.7072 -   fi
 11.7073 -   $RM conftest*
 11.7074 -   LDFLAGS="$save_LDFLAGS"
 11.7075 -
 11.7076 -fi
 11.7077 -echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
 11.7078 -echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
 11.7079 -
 11.7080 -if test x"$lt_prog_compiler_static_works" = xyes; then
 11.7081 -    :
 11.7082 -else
 11.7083 -    lt_prog_compiler_static=
 11.7084 -fi
 11.7085 -
 11.7086 -
 11.7087 -
 11.7088 -
 11.7089 -
 11.7090 -
 11.7091 -
 11.7092 -  echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 11.7093 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 11.7094 -if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 11.7095 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.7096 -else
 11.7097 -  lt_cv_prog_compiler_c_o=no
 11.7098 -   $RM -r conftest 2>/dev/null
 11.7099 -   mkdir conftest
 11.7100 -   cd conftest
 11.7101 -   mkdir out
 11.7102 -   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 11.7103 -
 11.7104 -   lt_compiler_flag="-o out/conftest2.$ac_objext"
 11.7105 -   # Insert the option either (1) after the last *FLAGS variable, or
 11.7106 -   # (2) before a word containing "conftest.", or (3) at the end.
 11.7107 -   # Note that $ac_compile itself does not contain backslashes and begins
 11.7108 -   # with a dollar sign (not a hyphen), so the echo should work correctly.
 11.7109 -   lt_compile=`echo "$ac_compile" | $SED \
 11.7110 -   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 11.7111 -   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 11.7112 -   -e 's:$: $lt_compiler_flag:'`
 11.7113 -   (eval echo "\"\$as_me:7110: $lt_compile\"" >&5)
 11.7114 -   (eval "$lt_compile" 2>out/conftest.err)
 11.7115 -   ac_status=$?
 11.7116 -   cat out/conftest.err >&5
 11.7117 -   echo "$as_me:7114: \$? = $ac_status" >&5
 11.7118 -   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 11.7119 -   then
 11.7120 -     # The compiler can only warn and ignore the option if not recognized
 11.7121 -     # So say no if there are warnings
 11.7122 -     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 11.7123 -     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 11.7124 -     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 11.7125 -       lt_cv_prog_compiler_c_o=yes
 11.7126 -     fi
 11.7127 -   fi
 11.7128 -   chmod u+w . 2>&5
 11.7129 -   $RM conftest*
 11.7130 -   # SGI C++ compiler will create directory out/ii_files/ for
 11.7131 -   # template instantiation
 11.7132 -   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 11.7133 -   $RM out/* && rmdir out
 11.7134 -   cd ..
 11.7135 -   $RM -r conftest
 11.7136 -   $RM conftest*
 11.7137 -
 11.7138 -fi
 11.7139 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 11.7140 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 11.7141 -
 11.7142 -
 11.7143 -
 11.7144 -
 11.7145 -
 11.7146 -
 11.7147 -  echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 11.7148 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 11.7149 -if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 11.7150 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.7151 -else
 11.7152 -  lt_cv_prog_compiler_c_o=no
 11.7153 -   $RM -r conftest 2>/dev/null
 11.7154 -   mkdir conftest
 11.7155 -   cd conftest
 11.7156 -   mkdir out
 11.7157 -   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 11.7158 -
 11.7159 -   lt_compiler_flag="-o out/conftest2.$ac_objext"
 11.7160 -   # Insert the option either (1) after the last *FLAGS variable, or
 11.7161 -   # (2) before a word containing "conftest.", or (3) at the end.
 11.7162 -   # Note that $ac_compile itself does not contain backslashes and begins
 11.7163 -   # with a dollar sign (not a hyphen), so the echo should work correctly.
 11.7164 -   lt_compile=`echo "$ac_compile" | $SED \
 11.7165 -   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 11.7166 -   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 11.7167 -   -e 's:$: $lt_compiler_flag:'`
 11.7168 -   (eval echo "\"\$as_me:7165: $lt_compile\"" >&5)
 11.7169 -   (eval "$lt_compile" 2>out/conftest.err)
 11.7170 -   ac_status=$?
 11.7171 -   cat out/conftest.err >&5
 11.7172 -   echo "$as_me:7169: \$? = $ac_status" >&5
 11.7173 -   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 11.7174 -   then
 11.7175 -     # The compiler can only warn and ignore the option if not recognized
 11.7176 -     # So say no if there are warnings
 11.7177 -     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 11.7178 -     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 11.7179 -     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 11.7180 -       lt_cv_prog_compiler_c_o=yes
 11.7181 -     fi
 11.7182 -   fi
 11.7183 -   chmod u+w . 2>&5
 11.7184 -   $RM conftest*
 11.7185 -   # SGI C++ compiler will create directory out/ii_files/ for
 11.7186 -   # template instantiation
 11.7187 -   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 11.7188 -   $RM out/* && rmdir out
 11.7189 -   cd ..
 11.7190 -   $RM -r conftest
 11.7191 -   $RM conftest*
 11.7192 -
 11.7193 -fi
 11.7194 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 11.7195 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 11.7196 -
 11.7197 -
 11.7198 -
 11.7199 -
 11.7200 -hard_links="nottested"
 11.7201 -if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 11.7202 -  # do not overwrite the value of need_locks provided by the user
 11.7203 -  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 11.7204 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 11.7205 -  hard_links=yes
 11.7206 -  $RM conftest*
 11.7207 -  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 11.7208 -  touch conftest.a
 11.7209 -  ln conftest.a conftest.b 2>&5 || hard_links=no
 11.7210 -  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 11.7211 -  echo "$as_me:$LINENO: result: $hard_links" >&5
 11.7212 -echo "${ECHO_T}$hard_links" >&6
 11.7213 -  if test "$hard_links" = no; then
 11.7214 -    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 11.7215 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 11.7216 -    need_locks=warn
 11.7217 -  fi
 11.7218 -else
 11.7219 -  need_locks=no
 11.7220 -fi
 11.7221 -
 11.7222 -
 11.7223 -
 11.7224 -
 11.7225 -
 11.7226 -
 11.7227 -  echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 11.7228 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 11.7229 -
 11.7230 -  runpath_var=
 11.7231 -  allow_undefined_flag=
 11.7232 -  always_export_symbols=no
 11.7233 -  archive_cmds=
 11.7234 -  archive_expsym_cmds=
 11.7235 -  compiler_needs_object=no
 11.7236 -  enable_shared_with_static_runtimes=no
 11.7237 -  export_dynamic_flag_spec=
 11.7238 -  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 11.7239 -  hardcode_automatic=no
 11.7240 -  hardcode_direct=no
 11.7241 -  hardcode_direct_absolute=no
 11.7242 -  hardcode_libdir_flag_spec=
 11.7243 -  hardcode_libdir_flag_spec_ld=
 11.7244 -  hardcode_libdir_separator=
 11.7245 -  hardcode_minus_L=no
 11.7246 -  hardcode_shlibpath_var=unsupported
 11.7247 -  inherit_rpath=no
 11.7248 -  link_all_deplibs=unknown
 11.7249 -  module_cmds=
 11.7250 -  module_expsym_cmds=
 11.7251 -  old_archive_from_new_cmds=
 11.7252 -  old_archive_from_expsyms_cmds=
 11.7253 -  thread_safe_flag_spec=
 11.7254 -  whole_archive_flag_spec=
 11.7255 -  # include_expsyms should be a list of space-separated symbols to be *always*
 11.7256 -  # included in the symbol list
 11.7257 -  include_expsyms=
 11.7258 -  # exclude_expsyms can be an extended regexp of symbols to exclude
 11.7259 -  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 11.7260 -  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 11.7261 -  # as well as any symbol that contains `d'.
 11.7262 -  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 11.7263 -  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 11.7264 -  # platforms (ab)use it in PIC code, but their linkers get confused if
 11.7265 -  # the symbol is explicitly referenced.  Since portable code cannot
 11.7266 -  # rely on this symbol name, it's probably fine to never include it in
 11.7267 -  # preloaded symbol tables.
 11.7268 -  extract_expsyms_cmds=
 11.7269 -
 11.7270 -  case $host_os in
 11.7271 -  cygwin* | mingw* | pw32*)
 11.7272 -    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 11.7273 -    # When not using gcc, we currently assume that we are using
 11.7274 -    # Microsoft Visual C++.
 11.7275 -    if test "$GCC" != yes; then
 11.7276 -      with_gnu_ld=no
 11.7277 -    fi
 11.7278 -    ;;
 11.7279 -  interix*)
 11.7280 -    # we just hope/assume this is gcc and not c89 (= MSVC++)
 11.7281 -    with_gnu_ld=yes
 11.7282 -    ;;
 11.7283 -  openbsd*)
 11.7284 -    with_gnu_ld=no
 11.7285 -    ;;
 11.7286 -  esac
 11.7287 -
 11.7288 -  ld_shlibs=yes
 11.7289 -  if test "$with_gnu_ld" = yes; then
 11.7290 -    # If archive_cmds runs LD, not CC, wlarc should be empty
 11.7291 -    wlarc='${wl}'
 11.7292 -
 11.7293 -    # Set some defaults for GNU ld with shared library support. These
 11.7294 -    # are reset later if shared libraries are not supported. Putting them
 11.7295 -    # here allows them to be overridden if necessary.
 11.7296 -    runpath_var=LD_RUN_PATH
 11.7297 -    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 11.7298 -    export_dynamic_flag_spec='${wl}--export-dynamic'
 11.7299 -    # ancient GNU ld didn't support --whole-archive et. al.
 11.7300 -    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 11.7301 -      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 11.7302 -    else
 11.7303 -      whole_archive_flag_spec=
 11.7304 -    fi
 11.7305 -    supports_anon_versioning=no
 11.7306 -    case `$LD -v 2>&1` in
 11.7307 -      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 11.7308 -      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 11.7309 -      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 11.7310 -      *\ 2.11.*) ;; # other 2.11 versions
 11.7311 -      *) supports_anon_versioning=yes ;;
 11.7312 -    esac
 11.7313 -
 11.7314 -    # See if GNU ld supports shared libraries.
 11.7315 -    case $host_os in
 11.7316 -    aix[3-9]*)
 11.7317 -      # On AIX/PPC, the GNU linker is very broken
 11.7318 -      if test "$host_cpu" != ia64; then
 11.7319 -	ld_shlibs=no
 11.7320 -	cat <<_LT_EOF 1>&2
 11.7321 -
 11.7322 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 11.7323 -*** to be unable to reliably create shared libraries on AIX.
 11.7324 -*** Therefore, libtool is disabling shared libraries support.  If you
 11.7325 -*** really care for shared libraries, you may want to modify your PATH
 11.7326 -*** so that a non-GNU linker is found, and then restart.
 11.7327 -
 11.7328 -_LT_EOF
 11.7329 -      fi
 11.7330 -      ;;
 11.7331 -
 11.7332 -    amigaos*)
 11.7333 -      if test "$host_cpu" = m68k; then
 11.7334 -        archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 11.7335 -        hardcode_libdir_flag_spec='-L$libdir'
 11.7336 -        hardcode_minus_L=yes
 11.7337 -      fi
 11.7338 -
 11.7339 -      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
 11.7340 -      # that the semantics of dynamic libraries on AmigaOS, at least up
 11.7341 -      # to version 4, is to share data among multiple programs linked
 11.7342 -      # with the same dynamic library.  Since this doesn't match the
 11.7343 -      # behavior of shared libraries on other platforms, we can't use
 11.7344 -      # them.
 11.7345 -      ld_shlibs=no
 11.7346 -      ;;
 11.7347 -
 11.7348 -    beos*)
 11.7349 -      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 11.7350 -	allow_undefined_flag=unsupported
 11.7351 -	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 11.7352 -	# support --undefined.  This deserves some investigation.  FIXME
 11.7353 -	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 11.7354 -      else
 11.7355 -	ld_shlibs=no
 11.7356 -      fi
 11.7357 -      ;;
 11.7358 -
 11.7359 -    cygwin* | mingw* | pw32*)
 11.7360 -      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 11.7361 -      # as there is no search path for DLLs.
 11.7362 -      hardcode_libdir_flag_spec='-L$libdir'
 11.7363 -      allow_undefined_flag=unsupported
 11.7364 -      always_export_symbols=no
 11.7365 -      enable_shared_with_static_runtimes=yes
 11.7366 -      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 11.7367 -
 11.7368 -      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 11.7369 -        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 11.7370 -	# If the export-symbols file already is a .def file (1st line
 11.7371 -	# is EXPORTS), use it as is; otherwise, prepend...
 11.7372 -	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 11.7373 -	  cp $export_symbols $output_objdir/$soname.def;
 11.7374 -	else
 11.7375 -	  echo EXPORTS > $output_objdir/$soname.def;
 11.7376 -	  cat $export_symbols >> $output_objdir/$soname.def;
 11.7377 -	fi~
 11.7378 -	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 11.7379 -      else
 11.7380 -	ld_shlibs=no
 11.7381 -      fi
 11.7382 -      ;;
 11.7383 -
 11.7384 -    interix[3-9]*)
 11.7385 -      hardcode_direct=no
 11.7386 -      hardcode_shlibpath_var=no
 11.7387 -      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 11.7388 -      export_dynamic_flag_spec='${wl}-E'
 11.7389 -      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 11.7390 -      # Instead, shared libraries are loaded at an image base (0x10000000 by
 11.7391 -      # default) and relocated if they conflict, which is a slow very memory
 11.7392 -      # consuming and fragmenting process.  To avoid this, we pick a random,
 11.7393 -      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 11.7394 -      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 11.7395 -      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 11.7396 -      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 11.7397 -      ;;
 11.7398 -
 11.7399 -    gnu* | linux* | tpf* | k*bsd*-gnu)
 11.7400 -      tmp_diet=no
 11.7401 -      if test "$host_os" = linux-dietlibc; then
 11.7402 -	case $cc_basename in
 11.7403 -	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
 11.7404 -	esac
 11.7405 -      fi
 11.7406 -      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 11.7407 -	 && test "$tmp_diet" = no
 11.7408 -      then
 11.7409 -	tmp_addflag=
 11.7410 -	case $cc_basename,$host_cpu in
 11.7411 -        pgcc*)				# Portland Group C compiler
 11.7412 -	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 11.7413 -	  tmp_addflag=' $pic_flag'
 11.7414 -	  ;;
 11.7415 -	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
 11.7416 -	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 11.7417 -	  tmp_addflag=' $pic_flag -Mnomain' ;;
 11.7418 -	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
 11.7419 -	  tmp_addflag=' -i_dynamic' ;;
 11.7420 -	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
 11.7421 -	  tmp_addflag=' -i_dynamic -nofor_main' ;;
 11.7422 -	ifc* | ifort*)			# Intel Fortran compiler
 11.7423 -	  tmp_addflag=' -nofor_main' ;;
 11.7424 -	esac
 11.7425 -	case `$CC -V 2>&1 | sed 5q` in
 11.7426 -	*Sun\ C*)			# Sun C 5.9
 11.7427 -	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 11.7428 -	  compiler_needs_object=yes
 11.7429 -	  tmp_sharedflag='-G' ;;
 11.7430 -	*Sun\ F*)			# Sun Fortran 8.3
 11.7431 -	  tmp_sharedflag='-G' ;;
 11.7432 -	*)
 11.7433 -	  tmp_sharedflag='-shared' ;;
 11.7434 -	esac
 11.7435 -	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 11.7436 -
 11.7437 -        if test "x$supports_anon_versioning" = xyes; then
 11.7438 -          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 11.7439 -	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 11.7440 -	    echo "local: *; };" >> $output_objdir/$libname.ver~
 11.7441 -	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 11.7442 -        fi
 11.7443 -      else
 11.7444 -        ld_shlibs=no
 11.7445 -      fi
 11.7446 -      ;;
 11.7447 -
 11.7448 -    netbsd*)
 11.7449 -      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 11.7450 -	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 11.7451 -	wlarc=
 11.7452 -      else
 11.7453 -	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 11.7454 -	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 11.7455 -      fi
 11.7456 -      ;;
 11.7457 -
 11.7458 -    solaris*)
 11.7459 -      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 11.7460 -	ld_shlibs=no
 11.7461 -	cat <<_LT_EOF 1>&2
 11.7462 -
 11.7463 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 11.7464 -*** create shared libraries on Solaris systems.  Therefore, libtool
 11.7465 -*** is disabling shared libraries support.  We urge you to upgrade GNU
 11.7466 -*** binutils to release 2.9.1 or newer.  Another option is to modify
 11.7467 -*** your PATH or compiler configuration so that the native linker is
 11.7468 -*** used, and then restart.
 11.7469 -
 11.7470 -_LT_EOF
 11.7471 -      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 11.7472 -	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 11.7473 -	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 11.7474 -      else
 11.7475 -	ld_shlibs=no
 11.7476 -      fi
 11.7477 -      ;;
 11.7478 -
 11.7479 -    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 11.7480 -      case `$LD -v 2>&1` in
 11.7481 -        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 11.7482 -	ld_shlibs=no
 11.7483 -	cat <<_LT_EOF 1>&2
 11.7484 -
 11.7485 -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 11.7486 -*** reliably create shared libraries on SCO systems.  Therefore, libtool
 11.7487 -*** is disabling shared libraries support.  We urge you to upgrade GNU
 11.7488 -*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 11.7489 -*** your PATH or compiler configuration so that the native linker is
 11.7490 -*** used, and then restart.
 11.7491 -
 11.7492 -_LT_EOF
 11.7493 -	;;
 11.7494 -	*)
 11.7495 -	  # For security reasons, it is highly recommended that you always
 11.7496 -	  # use absolute paths for naming shared libraries, and exclude the
 11.7497 -	  # DT_RUNPATH tag from executables and libraries.  But doing so
 11.7498 -	  # requires that you compile everything twice, which is a pain.
 11.7499 -	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 11.7500 -	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 11.7501 -	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 11.7502 -	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 11.7503 -	  else
 11.7504 -	    ld_shlibs=no
 11.7505 -	  fi
 11.7506 -	;;
 11.7507 -      esac
 11.7508 -      ;;
 11.7509 -
 11.7510 -    sunos4*)
 11.7511 -      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 11.7512 -      wlarc=
 11.7513 -      hardcode_direct=yes
 11.7514 -      hardcode_shlibpath_var=no
 11.7515 -      ;;
 11.7516 -
 11.7517 -    *)
 11.7518 -      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 11.7519 -	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 11.7520 -	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 11.7521 -      else
 11.7522 -	ld_shlibs=no
 11.7523 -      fi
 11.7524 -      ;;
 11.7525 -    esac
 11.7526 -
 11.7527 -    if test "$ld_shlibs" = no; then
 11.7528 -      runpath_var=
 11.7529 -      hardcode_libdir_flag_spec=
 11.7530 -      export_dynamic_flag_spec=
 11.7531 -      whole_archive_flag_spec=
 11.7532 -    fi
 11.7533 -  else
 11.7534 -    # PORTME fill in a description of your system's linker (not GNU ld)
 11.7535 -    case $host_os in
 11.7536 -    aix3*)
 11.7537 -      allow_undefined_flag=unsupported
 11.7538 -      always_export_symbols=yes
 11.7539 -      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
 11.7540 -      # Note: this linker hardcodes the directories in LIBPATH if there
 11.7541 -      # are no directories specified by -L.
 11.7542 -      hardcode_minus_L=yes
 11.7543 -      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 11.7544 -	# Neither direct hardcoding nor static linking is supported with a
 11.7545 -	# broken collect2.
 11.7546 -	hardcode_direct=unsupported
 11.7547 -      fi
 11.7548 -      ;;
 11.7549 -
 11.7550 -    aix[4-9]*)
 11.7551 -      if test "$host_cpu" = ia64; then
 11.7552 -	# On IA64, the linker does run time linking by default, so we don't
 11.7553 -	# have to do anything special.
 11.7554 -	aix_use_runtimelinking=no
 11.7555 -	exp_sym_flag='-Bexport'
 11.7556 -	no_entry_flag=""
 11.7557 -      else
 11.7558 -	# If we're using GNU nm, then we don't want the "-C" option.
 11.7559 -	# -C means demangle to AIX nm, but means don't demangle with GNU nm
 11.7560 -	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 11.7561 -	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 11.7562 -	else
 11.7563 -	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 11.7564 -	fi
 11.7565 -	aix_use_runtimelinking=no
 11.7566 -
 11.7567 -	# Test if we are trying to use run time linking or normal
 11.7568 -	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
 11.7569 -	# need to do runtime linking.
 11.7570 -	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 11.7571 -	  for ld_flag in $LDFLAGS; do
 11.7572 -	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 11.7573 -	    aix_use_runtimelinking=yes
 11.7574 -	    break
 11.7575 -	  fi
 11.7576 -	  done
 11.7577 -	  ;;
 11.7578 -	esac
 11.7579 -
 11.7580 -	exp_sym_flag='-bexport'
 11.7581 -	no_entry_flag='-bnoentry'
 11.7582 -      fi
 11.7583 -
 11.7584 -      # When large executables or shared objects are built, AIX ld can
 11.7585 -      # have problems creating the table of contents.  If linking a library
 11.7586 -      # or program results in "error TOC overflow" add -mminimal-toc to
 11.7587 -      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 11.7588 -      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 11.7589 -
 11.7590 -      archive_cmds=''
 11.7591 -      hardcode_direct=yes
 11.7592 -      hardcode_direct_absolute=yes
 11.7593 -      hardcode_libdir_separator=':'
 11.7594 -      link_all_deplibs=yes
 11.7595 -      file_list_spec='${wl}-f,'
 11.7596 -
 11.7597 -      if test "$GCC" = yes; then
 11.7598 -	case $host_os in aix4.[012]|aix4.[012].*)
 11.7599 -	# We only want to do this on AIX 4.2 and lower, the check
 11.7600 -	# below for broken collect2 doesn't work under 4.3+
 11.7601 -	  collect2name=`${CC} -print-prog-name=collect2`
 11.7602 -	  if test -f "$collect2name" &&
 11.7603 -	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 11.7604 -	  then
 11.7605 -	  # We have reworked collect2
 11.7606 -	  :
 11.7607 -	  else
 11.7608 -	  # We have old collect2
 11.7609 -	  hardcode_direct=unsupported
 11.7610 -	  # It fails to find uninstalled libraries when the uninstalled
 11.7611 -	  # path is not listed in the libpath.  Setting hardcode_minus_L
 11.7612 -	  # to unsupported forces relinking
 11.7613 -	  hardcode_minus_L=yes
 11.7614 -	  hardcode_libdir_flag_spec='-L$libdir'
 11.7615 -	  hardcode_libdir_separator=
 11.7616 -	  fi
 11.7617 -	  ;;
 11.7618 -	esac
 11.7619 -	shared_flag='-shared'
 11.7620 -	if test "$aix_use_runtimelinking" = yes; then
 11.7621 -	  shared_flag="$shared_flag "'${wl}-G'
 11.7622 -	fi
 11.7623 -      else
 11.7624 -	# not using gcc
 11.7625 -	if test "$host_cpu" = ia64; then
 11.7626 -	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 11.7627 -	# chokes on -Wl,-G. The following line is correct:
 11.7628 -	  shared_flag='-G'
 11.7629 -	else
 11.7630 -	  if test "$aix_use_runtimelinking" = yes; then
 11.7631 -	    shared_flag='${wl}-G'
 11.7632 -	  else
 11.7633 -	    shared_flag='${wl}-bM:SRE'
 11.7634 -	  fi
 11.7635 -	fi
 11.7636 -      fi
 11.7637 -
 11.7638 -      # It seems that -bexpall does not export symbols beginning with
 11.7639 -      # underscore (_), so it is better to generate a list of symbols to export.
 11.7640 -      always_export_symbols=yes
 11.7641 -      if test "$aix_use_runtimelinking" = yes; then
 11.7642 -	# Warning - without using the other runtime loading flags (-brtl),
 11.7643 -	# -berok will link without error, but may produce a broken library.
 11.7644 -	allow_undefined_flag='-berok'
 11.7645 -        # Determine the default libpath from the value encoded in an
 11.7646 -        # empty executable.
 11.7647 -        cat >conftest.$ac_ext <<_ACEOF
 11.7648 -/* confdefs.h.  */
 11.7649 -_ACEOF
 11.7650 -cat confdefs.h >>conftest.$ac_ext
 11.7651 -cat >>conftest.$ac_ext <<_ACEOF
 11.7652 -/* end confdefs.h.  */
 11.7653 -
 11.7654 -int
 11.7655 -main ()
 11.7656 -{
 11.7657 -
 11.7658 -  ;
 11.7659 -  return 0;
 11.7660 -}
 11.7661 -_ACEOF
 11.7662 -rm -f conftest.$ac_objext conftest$ac_exeext
 11.7663 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 11.7664 -  (eval $ac_link) 2>conftest.er1
 11.7665 -  ac_status=$?
 11.7666 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.7667 -  rm -f conftest.er1
 11.7668 -  cat conftest.err >&5
 11.7669 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.7670 -  (exit $ac_status); } &&
 11.7671 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 11.7672 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.7673 -  (eval $ac_try) 2>&5
 11.7674 -  ac_status=$?
 11.7675 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.7676 -  (exit $ac_status); }; } &&
 11.7677 -	 { ac_try='test -s conftest$ac_exeext'
 11.7678 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.7679 -  (eval $ac_try) 2>&5
 11.7680 -  ac_status=$?
 11.7681 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.7682 -  (exit $ac_status); }; }; then
 11.7683 -
 11.7684 -lt_aix_libpath_sed='
 11.7685 -    /Import File Strings/,/^$/ {
 11.7686 -	/^0/ {
 11.7687 -	    s/^0  *\(.*\)$/\1/
 11.7688 -	    p
 11.7689 -	}
 11.7690 -    }'
 11.7691 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 11.7692 -# Check for a 64-bit object if we didn't find anything.
 11.7693 -if test -z "$aix_libpath"; then
 11.7694 -  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 11.7695 -fi
 11.7696 -else
 11.7697 -  echo "$as_me: failed program was:" >&5
 11.7698 -sed 's/^/| /' conftest.$ac_ext >&5
 11.7699 -
 11.7700 -fi
 11.7701 -rm -f conftest.err conftest.$ac_objext \
 11.7702 -      conftest$ac_exeext conftest.$ac_ext
 11.7703 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 11.7704 -
 11.7705 -        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 11.7706 -        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 "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 11.7707 -      else
 11.7708 -	if test "$host_cpu" = ia64; then
 11.7709 -	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 11.7710 -	  allow_undefined_flag="-z nodefs"
 11.7711 -	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
 11.7712 -	else
 11.7713 -	 # Determine the default libpath from the value encoded in an
 11.7714 -	 # empty executable.
 11.7715 -	 cat >conftest.$ac_ext <<_ACEOF
 11.7716 -/* confdefs.h.  */
 11.7717 -_ACEOF
 11.7718 -cat confdefs.h >>conftest.$ac_ext
 11.7719 -cat >>conftest.$ac_ext <<_ACEOF
 11.7720 -/* end confdefs.h.  */
 11.7721 -
 11.7722 -int
 11.7723 -main ()
 11.7724 -{
 11.7725 -
 11.7726 -  ;
 11.7727 -  return 0;
 11.7728 -}
 11.7729 -_ACEOF
 11.7730 -rm -f conftest.$ac_objext conftest$ac_exeext
 11.7731 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 11.7732 -  (eval $ac_link) 2>conftest.er1
 11.7733 -  ac_status=$?
 11.7734 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.7735 -  rm -f conftest.er1
 11.7736 -  cat conftest.err >&5
 11.7737 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.7738 -  (exit $ac_status); } &&
 11.7739 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 11.7740 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.7741 -  (eval $ac_try) 2>&5
 11.7742 -  ac_status=$?
 11.7743 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.7744 -  (exit $ac_status); }; } &&
 11.7745 -	 { ac_try='test -s conftest$ac_exeext'
 11.7746 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.7747 -  (eval $ac_try) 2>&5
 11.7748 -  ac_status=$?
 11.7749 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.7750 -  (exit $ac_status); }; }; then
 11.7751 -
 11.7752 -lt_aix_libpath_sed='
 11.7753 -    /Import File Strings/,/^$/ {
 11.7754 -	/^0/ {
 11.7755 -	    s/^0  *\(.*\)$/\1/
 11.7756 -	    p
 11.7757 -	}
 11.7758 -    }'
 11.7759 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 11.7760 -# Check for a 64-bit object if we didn't find anything.
 11.7761 -if test -z "$aix_libpath"; then
 11.7762 -  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 11.7763 -fi
 11.7764 -else
 11.7765 -  echo "$as_me: failed program was:" >&5
 11.7766 -sed 's/^/| /' conftest.$ac_ext >&5
 11.7767 -
 11.7768 -fi
 11.7769 -rm -f conftest.err conftest.$ac_objext \
 11.7770 -      conftest$ac_exeext conftest.$ac_ext
 11.7771 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 11.7772 -
 11.7773 -	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 11.7774 -	  # Warning - without using the other run time loading flags,
 11.7775 -	  # -berok will link without error, but may produce a broken library.
 11.7776 -	  no_undefined_flag=' ${wl}-bernotok'
 11.7777 -	  allow_undefined_flag=' ${wl}-berok'
 11.7778 -	  # Exported symbols can be pulled into shared objects from archives
 11.7779 -	  whole_archive_flag_spec='$convenience'
 11.7780 -	  archive_cmds_need_lc=yes
 11.7781 -	  # This is similar to how AIX traditionally builds its shared libraries.
 11.7782 -	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 11.7783 -	fi
 11.7784 -      fi
 11.7785 -      ;;
 11.7786 -
 11.7787 -    amigaos*)
 11.7788 -      if test "$host_cpu" = m68k; then
 11.7789 -        archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 11.7790 -        hardcode_libdir_flag_spec='-L$libdir'
 11.7791 -        hardcode_minus_L=yes
 11.7792 -      fi
 11.7793 -      # see comment about different semantics on the GNU ld section
 11.7794 -      ld_shlibs=no
 11.7795 -      ;;
 11.7796 -
 11.7797 -    bsdi[45]*)
 11.7798 -      export_dynamic_flag_spec=-rdynamic
 11.7799 -      ;;
 11.7800 -
 11.7801 -    cygwin* | mingw* | pw32*)
 11.7802 -      # When not using gcc, we currently assume that we are using
 11.7803 -      # Microsoft Visual C++.
 11.7804 -      # hardcode_libdir_flag_spec is actually meaningless, as there is
 11.7805 -      # no search path for DLLs.
 11.7806 -      hardcode_libdir_flag_spec=' '
 11.7807 -      allow_undefined_flag=unsupported
 11.7808 -      # Tell ltmain to make .lib files, not .a files.
 11.7809 -      libext=lib
 11.7810 -      # Tell ltmain to make .dll files, not .so files.
 11.7811 -      shrext_cmds=".dll"
 11.7812 -      # FIXME: Setting linknames here is a bad hack.
 11.7813 -      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
 11.7814 -      # The linker will automatically build a .lib file if we build a DLL.
 11.7815 -      old_archive_from_new_cmds='true'
 11.7816 -      # FIXME: Should let the user specify the lib program.
 11.7817 -      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 11.7818 -      fix_srcfile_path='`cygpath -w "$srcfile"`'
 11.7819 -      enable_shared_with_static_runtimes=yes
 11.7820 -      ;;
 11.7821 -
 11.7822 -    darwin* | rhapsody*)
 11.7823 -      case $host_os in
 11.7824 -      rhapsody* | darwin1.[012])
 11.7825 -	allow_undefined_flag='${wl}-undefined ${wl}suppress'
 11.7826 -	;;
 11.7827 -      *) # Darwin 1.3 on
 11.7828 -	case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
 11.7829 -	10.[012])
 11.7830 -	  allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 11.7831 -	  ;;
 11.7832 -	10.*)
 11.7833 -	  allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
 11.7834 -	  ;;
 11.7835 -	esac
 11.7836 -	;;
 11.7837 -      esac
 11.7838 -      archive_cmds_need_lc=no
 11.7839 -      hardcode_direct=no
 11.7840 -      hardcode_automatic=yes
 11.7841 -      hardcode_shlibpath_var=unsupported
 11.7842 -      whole_archive_flag_spec=''
 11.7843 -      link_all_deplibs=yes
 11.7844 -      if test "$GCC" = yes ; then
 11.7845 -	if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 11.7846 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.7847 -else
 11.7848 -  lt_cv_apple_cc_single_mod=no
 11.7849 -	if test -z "${LT_MULTI_MODULE}"; then
 11.7850 -	  # By default we will add the -single_module flag. You can override
 11.7851 -	  # by either setting the environment variable LT_MULTI_MODULE
 11.7852 -	  # non-empty at configure time, or by adding -multi-module to the
 11.7853 -	  # link flags.
 11.7854 -	  echo "int foo(void){return 1;}" > conftest.c
 11.7855 -	  $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 11.7856 -	      -dynamiclib ${wl}-single_module conftest.c
 11.7857 -	  if test -f libconftest.dylib; then
 11.7858 -	      lt_cv_apple_cc_single_mod=yes
 11.7859 -	      rm libconftest.dylib
 11.7860 -	  fi
 11.7861 -	  rm conftest.$ac_ext
 11.7862 -	fi
 11.7863 -fi
 11.7864 -
 11.7865 -	output_verbose_link_cmd=echo
 11.7866 -	if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
 11.7867 -	  archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 11.7868 -	  archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 11.7869 -	else
 11.7870 -	  archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 11.7871 -	  archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 11.7872 -	fi
 11.7873 -	module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 11.7874 -	module_expsym_cmds='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 11.7875 -      else
 11.7876 -	case $cc_basename in
 11.7877 -	xlc*)
 11.7878 -	  output_verbose_link_cmd=echo
 11.7879 -	  archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
 11.7880 -	  module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 11.7881 -	  # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 11.7882 -	  archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 11.7883 -	  module_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 11.7884 -	  ;;
 11.7885 -	*)
 11.7886 -	  ld_shlibs=no
 11.7887 -	  ;;
 11.7888 -	esac
 11.7889 -      fi
 11.7890 -      ;;
 11.7891 -
 11.7892 -    dgux*)
 11.7893 -      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 11.7894 -      hardcode_libdir_flag_spec='-L$libdir'
 11.7895 -      hardcode_shlibpath_var=no
 11.7896 -      ;;
 11.7897 -
 11.7898 -    freebsd1*)
 11.7899 -      ld_shlibs=no
 11.7900 -      ;;
 11.7901 -
 11.7902 -    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 11.7903 -    # support.  Future versions do this automatically, but an explicit c++rt0.o
 11.7904 -    # does not break anything, and helps significantly (at the cost of a little
 11.7905 -    # extra space).
 11.7906 -    freebsd2.2*)
 11.7907 -      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 11.7908 -      hardcode_libdir_flag_spec='-R$libdir'
 11.7909 -      hardcode_direct=yes
 11.7910 -      hardcode_shlibpath_var=no
 11.7911 -      ;;
 11.7912 -
 11.7913 -    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 11.7914 -    freebsd2*)
 11.7915 -      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 11.7916 -      hardcode_direct=yes
 11.7917 -      hardcode_minus_L=yes
 11.7918 -      hardcode_shlibpath_var=no
 11.7919 -      ;;
 11.7920 -
 11.7921 -    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 11.7922 -    freebsd* | dragonfly*)
 11.7923 -      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 11.7924 -      hardcode_libdir_flag_spec='-R$libdir'
 11.7925 -      hardcode_direct=yes
 11.7926 -      hardcode_shlibpath_var=no
 11.7927 -      ;;
 11.7928 -
 11.7929 -    hpux9*)
 11.7930 -      if test "$GCC" = yes; then
 11.7931 -	archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 11.7932 -      else
 11.7933 -	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 11.7934 -      fi
 11.7935 -      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 11.7936 -      hardcode_libdir_separator=:
 11.7937 -      hardcode_direct=yes
 11.7938 -
 11.7939 -      # hardcode_minus_L: Not really in the search PATH,
 11.7940 -      # but as the default location of the library.
 11.7941 -      hardcode_minus_L=yes
 11.7942 -      export_dynamic_flag_spec='${wl}-E'
 11.7943 -      ;;
 11.7944 -
 11.7945 -    hpux10*)
 11.7946 -      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 11.7947 -	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 11.7948 -      else
 11.7949 -	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 11.7950 -      fi
 11.7951 -      if test "$with_gnu_ld" = no; then
 11.7952 -	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 11.7953 -	hardcode_libdir_flag_spec_ld='+b $libdir'
 11.7954 -	hardcode_libdir_separator=:
 11.7955 -	hardcode_direct=yes
 11.7956 -	hardcode_direct_absolute=yes
 11.7957 -	export_dynamic_flag_spec='${wl}-E'
 11.7958 -	# hardcode_minus_L: Not really in the search PATH,
 11.7959 -	# but as the default location of the library.
 11.7960 -	hardcode_minus_L=yes
 11.7961 -      fi
 11.7962 -      ;;
 11.7963 -
 11.7964 -    hpux11*)
 11.7965 -      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 11.7966 -	case $host_cpu in
 11.7967 -	hppa*64*)
 11.7968 -	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 11.7969 -	  ;;
 11.7970 -	ia64*)
 11.7971 -	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 11.7972 -	  ;;
 11.7973 -	*)
 11.7974 -	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 11.7975 -	  ;;
 11.7976 -	esac
 11.7977 -      else
 11.7978 -	case $host_cpu in
 11.7979 -	hppa*64*)
 11.7980 -	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 11.7981 -	  ;;
 11.7982 -	ia64*)
 11.7983 -	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 11.7984 -	  ;;
 11.7985 -	*)
 11.7986 -	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 11.7987 -	  ;;
 11.7988 -	esac
 11.7989 -      fi
 11.7990 -      if test "$with_gnu_ld" = no; then
 11.7991 -	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 11.7992 -	hardcode_libdir_separator=:
 11.7993 -
 11.7994 -	case $host_cpu in
 11.7995 -	hppa*64*|ia64*)
 11.7996 -	  hardcode_direct=no
 11.7997 -	  hardcode_shlibpath_var=no
 11.7998 -	  ;;
 11.7999 -	*)
 11.8000 -	  hardcode_direct=yes
 11.8001 -	  hardcode_direct_absolute=yes
 11.8002 -	  export_dynamic_flag_spec='${wl}-E'
 11.8003 -
 11.8004 -	  # hardcode_minus_L: Not really in the search PATH,
 11.8005 -	  # but as the default location of the library.
 11.8006 -	  hardcode_minus_L=yes
 11.8007 -	  ;;
 11.8008 -	esac
 11.8009 -      fi
 11.8010 -      ;;
 11.8011 -
 11.8012 -    irix5* | irix6* | nonstopux*)
 11.8013 -      if test "$GCC" = yes; then
 11.8014 -	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 11.8015 -	# Try to use the -exported_symbol ld option, if it does not
 11.8016 -	# work, assume that -exports_file does not work either and
 11.8017 -	# implicitly export all symbols.
 11.8018 -        save_LDFLAGS="$LDFLAGS"
 11.8019 -        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 11.8020 -        cat >conftest.$ac_ext <<_ACEOF
 11.8021 -int foo(void) {}
 11.8022 -_ACEOF
 11.8023 -rm -f conftest.$ac_objext conftest$ac_exeext
 11.8024 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 11.8025 -  (eval $ac_link) 2>conftest.er1
 11.8026 -  ac_status=$?
 11.8027 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.8028 -  rm -f conftest.er1
 11.8029 -  cat conftest.err >&5
 11.8030 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.8031 -  (exit $ac_status); } &&
 11.8032 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 11.8033 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.8034 -  (eval $ac_try) 2>&5
 11.8035 -  ac_status=$?
 11.8036 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.8037 -  (exit $ac_status); }; } &&
 11.8038 -	 { ac_try='test -s conftest$ac_exeext'
 11.8039 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.8040 -  (eval $ac_try) 2>&5
 11.8041 -  ac_status=$?
 11.8042 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.8043 -  (exit $ac_status); }; }; then
 11.8044 -  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 11.8045 -
 11.8046 -else
 11.8047 -  echo "$as_me: failed program was:" >&5
 11.8048 -sed 's/^/| /' conftest.$ac_ext >&5
 11.8049 -
 11.8050 -fi
 11.8051 -rm -f conftest.err conftest.$ac_objext \
 11.8052 -      conftest$ac_exeext conftest.$ac_ext
 11.8053 -        LDFLAGS="$save_LDFLAGS"
 11.8054 -      else
 11.8055 -	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 11.8056 -	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
 11.8057 -      fi
 11.8058 -      archive_cmds_need_lc='no'
 11.8059 -      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 11.8060 -      hardcode_libdir_separator=:
 11.8061 -      inherit_rpath=yes
 11.8062 -      link_all_deplibs=yes
 11.8063 -      ;;
 11.8064 -
 11.8065 -    netbsd*)
 11.8066 -      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 11.8067 -	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 11.8068 -      else
 11.8069 -	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 11.8070 -      fi
 11.8071 -      hardcode_libdir_flag_spec='-R$libdir'
 11.8072 -      hardcode_direct=yes
 11.8073 -      hardcode_shlibpath_var=no
 11.8074 -      ;;
 11.8075 -
 11.8076 -    newsos6)
 11.8077 -      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 11.8078 -      hardcode_direct=yes
 11.8079 -      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 11.8080 -      hardcode_libdir_separator=:
 11.8081 -      hardcode_shlibpath_var=no
 11.8082 -      ;;
 11.8083 -
 11.8084 -    *nto* | *qnx*)
 11.8085 -      ;;
 11.8086 -
 11.8087 -    openbsd*)
 11.8088 -      hardcode_direct=yes
 11.8089 -      hardcode_shlibpath_var=no
 11.8090 -      hardcode_direct_absolute=yes
 11.8091 -      if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 11.8092 -	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 11.8093 -	archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 11.8094 -	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 11.8095 -	export_dynamic_flag_spec='${wl}-E'
 11.8096 -      else
 11.8097 -        case $host_os in
 11.8098 -	openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 11.8099 -	  archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 11.8100 -	  hardcode_libdir_flag_spec='-R$libdir'
 11.8101 -	  ;;
 11.8102 -	*)
 11.8103 -	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 11.8104 -	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 11.8105 -	  ;;
 11.8106 -        esac
 11.8107 -      fi
 11.8108 -      ;;
 11.8109 -
 11.8110 -    os2*)
 11.8111 -      hardcode_libdir_flag_spec='-L$libdir'
 11.8112 -      hardcode_minus_L=yes
 11.8113 -      allow_undefined_flag=unsupported
 11.8114 -      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
 11.8115 -      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 11.8116 -      ;;
 11.8117 -
 11.8118 -    osf3*)
 11.8119 -      if test "$GCC" = yes; then
 11.8120 -	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 11.8121 -	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 11.8122 -      else
 11.8123 -	allow_undefined_flag=' -expect_unresolved \*'
 11.8124 -	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 11.8125 -      fi
 11.8126 -      archive_cmds_need_lc='no'
 11.8127 -      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 11.8128 -      hardcode_libdir_separator=:
 11.8129 -      ;;
 11.8130 -
 11.8131 -    osf4* | osf5*)	# as osf3* with the addition of -msym flag
 11.8132 -      if test "$GCC" = yes; then
 11.8133 -	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 11.8134 -	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 11.8135 -	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 11.8136 -      else
 11.8137 -	allow_undefined_flag=' -expect_unresolved \*'
 11.8138 -	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 11.8139 -	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
 11.8140 -	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 11.8141 -
 11.8142 -	# Both c and cxx compiler support -rpath directly
 11.8143 -	hardcode_libdir_flag_spec='-rpath $libdir'
 11.8144 -      fi
 11.8145 -      archive_cmds_need_lc='no'
 11.8146 -      hardcode_libdir_separator=:
 11.8147 -      ;;
 11.8148 -
 11.8149 -    solaris*)
 11.8150 -      no_undefined_flag=' -z defs'
 11.8151 -      if test "$GCC" = yes; then
 11.8152 -	wlarc='${wl}'
 11.8153 -	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 11.8154 -	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 11.8155 -	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 11.8156 -      else
 11.8157 -	case `$CC -V 2>&1` in
 11.8158 -	*"Compilers 5.0"*)
 11.8159 -	  wlarc=''
 11.8160 -	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 11.8161 -	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 11.8162 -	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 11.8163 -	  ;;
 11.8164 -	*)
 11.8165 -	  wlarc='${wl}'
 11.8166 -	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 11.8167 -	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 11.8168 -	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 11.8169 -	  ;;
 11.8170 -	esac
 11.8171 -      fi
 11.8172 -      hardcode_libdir_flag_spec='-R$libdir'
 11.8173 -      hardcode_shlibpath_var=no
 11.8174 -      case $host_os in
 11.8175 -      solaris2.[0-5] | solaris2.[0-5].*) ;;
 11.8176 -      *)
 11.8177 -	# The compiler driver will combine and reorder linker options,
 11.8178 -	# but understands `-z linker_flag'.  GCC discards it without `$wl',
 11.8179 -	# but is careful enough not to reorder.
 11.8180 -	# Supported since Solaris 2.6 (maybe 2.5.1?)
 11.8181 -	if test "$GCC" = yes; then
 11.8182 -	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 11.8183 -	else
 11.8184 -	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 11.8185 -	fi
 11.8186 -	;;
 11.8187 -      esac
 11.8188 -      link_all_deplibs=yes
 11.8189 -      ;;
 11.8190 -
 11.8191 -    sunos4*)
 11.8192 -      if test "x$host_vendor" = xsequent; then
 11.8193 -	# Use $CC to link under sequent, because it throws in some extra .o
 11.8194 -	# files that make .init and .fini sections work.
 11.8195 -	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 11.8196 -      else
 11.8197 -	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 11.8198 -      fi
 11.8199 -      hardcode_libdir_flag_spec='-L$libdir'
 11.8200 -      hardcode_direct=yes
 11.8201 -      hardcode_minus_L=yes
 11.8202 -      hardcode_shlibpath_var=no
 11.8203 -      ;;
 11.8204 -
 11.8205 -    sysv4)
 11.8206 -      case $host_vendor in
 11.8207 -	sni)
 11.8208 -	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 11.8209 -	  hardcode_direct=yes # is this really true???
 11.8210 -	;;
 11.8211 -	siemens)
 11.8212 -	  ## LD is ld it makes a PLAMLIB
 11.8213 -	  ## CC just makes a GrossModule.
 11.8214 -	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 11.8215 -	  reload_cmds='$CC -r -o $output$reload_objs'
 11.8216 -	  hardcode_direct=no
 11.8217 -        ;;
 11.8218 -	motorola)
 11.8219 -	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 11.8220 -	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 11.8221 -	;;
 11.8222 -      esac
 11.8223 -      runpath_var='LD_RUN_PATH'
 11.8224 -      hardcode_shlibpath_var=no
 11.8225 -      ;;
 11.8226 -
 11.8227 -    sysv4.3*)
 11.8228 -      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 11.8229 -      hardcode_shlibpath_var=no
 11.8230 -      export_dynamic_flag_spec='-Bexport'
 11.8231 -      ;;
 11.8232 -
 11.8233 -    sysv4*MP*)
 11.8234 -      if test -d /usr/nec; then
 11.8235 -	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 11.8236 -	hardcode_shlibpath_var=no
 11.8237 -	runpath_var=LD_RUN_PATH
 11.8238 -	hardcode_runpath_var=yes
 11.8239 -	ld_shlibs=yes
 11.8240 -      fi
 11.8241 -      ;;
 11.8242 -
 11.8243 -    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 11.8244 -      no_undefined_flag='${wl}-z,text'
 11.8245 -      archive_cmds_need_lc=no
 11.8246 -      hardcode_shlibpath_var=no
 11.8247 -      runpath_var='LD_RUN_PATH'
 11.8248 -
 11.8249 -      if test "$GCC" = yes; then
 11.8250 -	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 11.8251 -	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 11.8252 -      else
 11.8253 -	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 11.8254 -	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 11.8255 -      fi
 11.8256 -      ;;
 11.8257 -
 11.8258 -    sysv5* | sco3.2v5* | sco5v6*)
 11.8259 -      # Note: We can NOT use -z defs as we might desire, because we do not
 11.8260 -      # link with -lc, and that would cause any symbols used from libc to
 11.8261 -      # always be unresolved, which means just about no library would
 11.8262 -      # ever link correctly.  If we're not using GNU ld we use -z text
 11.8263 -      # though, which does catch some bad symbols but isn't as heavy-handed
 11.8264 -      # as -z defs.
 11.8265 -      no_undefined_flag='${wl}-z,text'
 11.8266 -      allow_undefined_flag='${wl}-z,nodefs'
 11.8267 -      archive_cmds_need_lc=no
 11.8268 -      hardcode_shlibpath_var=no
 11.8269 -      hardcode_libdir_flag_spec='${wl}-R,$libdir'
 11.8270 -      hardcode_libdir_separator=':'
 11.8271 -      link_all_deplibs=yes
 11.8272 -      export_dynamic_flag_spec='${wl}-Bexport'
 11.8273 -      runpath_var='LD_RUN_PATH'
 11.8274 -
 11.8275 -      if test "$GCC" = yes; then
 11.8276 -	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 11.8277 -	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 11.8278 -      else
 11.8279 -	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 11.8280 -	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 11.8281 -      fi
 11.8282 -      ;;
 11.8283 -
 11.8284 -    uts4*)
 11.8285 -      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 11.8286 -      hardcode_libdir_flag_spec='-L$libdir'
 11.8287 -      hardcode_shlibpath_var=no
 11.8288 -      ;;
 11.8289 -
 11.8290 -    *)
 11.8291 -      ld_shlibs=no
 11.8292 -      ;;
 11.8293 -    esac
 11.8294 -
 11.8295 -    if test x$host_vendor = xsni; then
 11.8296 -      case $host in
 11.8297 -      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 11.8298 -	export_dynamic_flag_spec='${wl}-Blargedynsym'
 11.8299 -	;;
 11.8300 -      esac
 11.8301 -    fi
 11.8302 -  fi
 11.8303 -
 11.8304 -echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 11.8305 -echo "${ECHO_T}$ld_shlibs" >&6
 11.8306 -test "$ld_shlibs" = no && can_build_shared=no
 11.8307 -
 11.8308 -with_gnu_ld=$with_gnu_ld
 11.8309 -
 11.8310 -
 11.8311 -
 11.8312 -
 11.8313 -
 11.8314 -
 11.8315 -
 11.8316 -
 11.8317 -
 11.8318 -
 11.8319 -
 11.8320 -
 11.8321 -
 11.8322 -
 11.8323 -
 11.8324 -#
 11.8325 -# Do we need to explicitly link libc?
 11.8326 -#
 11.8327 -case "x$archive_cmds_need_lc" in
 11.8328 -x|xyes)
 11.8329 -  # Assume -lc should be added
 11.8330 -  archive_cmds_need_lc=yes
 11.8331 -
 11.8332 -  if test "$enable_shared" = yes && test "$GCC" = yes; then
 11.8333 -    case $archive_cmds in
 11.8334 -    *'~'*)
 11.8335 -      # FIXME: we may have to deal with multi-command sequences.
 11.8336 -      ;;
 11.8337 -    '$CC '*)
 11.8338 -      # Test whether the compiler implicitly links with -lc since on some
 11.8339 -      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 11.8340 -      # to ld, don't add -lc before -lgcc.
 11.8341 -      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 11.8342 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 11.8343 -      $RM conftest*
 11.8344 -      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 11.8345 -
 11.8346 -      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 11.8347 -  (eval $ac_compile) 2>&5
 11.8348 -  ac_status=$?
 11.8349 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.8350 -  (exit $ac_status); } 2>conftest.err; then
 11.8351 -        soname=conftest
 11.8352 -        lib=conftest
 11.8353 -        libobjs=conftest.$ac_objext
 11.8354 -        deplibs=
 11.8355 -        wl=$lt_prog_compiler_wl
 11.8356 -	pic_flag=$lt_prog_compiler_pic
 11.8357 -        compiler_flags=-v
 11.8358 -        linker_flags=-v
 11.8359 -        verstring=
 11.8360 -        output_objdir=.
 11.8361 -        libname=conftest
 11.8362 -        lt_save_allow_undefined_flag=$allow_undefined_flag
 11.8363 -        allow_undefined_flag=
 11.8364 -        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 11.8365 -  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 11.8366 -  ac_status=$?
 11.8367 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.8368 -  (exit $ac_status); }
 11.8369 -        then
 11.8370 -	  archive_cmds_need_lc=no
 11.8371 -        else
 11.8372 -	  archive_cmds_need_lc=yes
 11.8373 -        fi
 11.8374 -        allow_undefined_flag=$lt_save_allow_undefined_flag
 11.8375 -      else
 11.8376 -        cat conftest.err 1>&5
 11.8377 -      fi
 11.8378 -      $RM conftest*
 11.8379 -      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 11.8380 -echo "${ECHO_T}$archive_cmds_need_lc" >&6
 11.8381 -      ;;
 11.8382 -    esac
 11.8383 -  fi
 11.8384 -  ;;
 11.8385 -esac
 11.8386 -
 11.8387 -
 11.8388 -
 11.8389 -
 11.8390 -
 11.8391 -
 11.8392 -
 11.8393 -
 11.8394 -
 11.8395 -
 11.8396 -
 11.8397 -
 11.8398 -
 11.8399 -
 11.8400 -
 11.8401 -
 11.8402 -
 11.8403 -
 11.8404 -
 11.8405 -
 11.8406 -
 11.8407 -
 11.8408 -
 11.8409 -
 11.8410 -
 11.8411 -
 11.8412 -
 11.8413 -
 11.8414 -
 11.8415 -
 11.8416 -
 11.8417 -
 11.8418 -
 11.8419 -
 11.8420 -
 11.8421 -
 11.8422 -
 11.8423 -
 11.8424 -
 11.8425 -
 11.8426 -
 11.8427 -
 11.8428 -
 11.8429 -
 11.8430 -
 11.8431 -
 11.8432 -
 11.8433 -
 11.8434 -
 11.8435 -
 11.8436 -
 11.8437 -
 11.8438 -
 11.8439 -
 11.8440 -
 11.8441 -
 11.8442 -
 11.8443 -
 11.8444 -
 11.8445 -
 11.8446 -
 11.8447 -
 11.8448 -
 11.8449 -
 11.8450 -
 11.8451 -
 11.8452 -
 11.8453 -
 11.8454 -
 11.8455 -
 11.8456 -
 11.8457 -
 11.8458 -
 11.8459 -
 11.8460 -
 11.8461 -
 11.8462 -
 11.8463 -
 11.8464 -
 11.8465 -
 11.8466 -
 11.8467 -
 11.8468 -
 11.8469 -
 11.8470 -
 11.8471 -
 11.8472 -
 11.8473 -
 11.8474 -
 11.8475 -
 11.8476 -
 11.8477 -
 11.8478 -
 11.8479 -
 11.8480 -
 11.8481 -
 11.8482 -
 11.8483 -
 11.8484 -
 11.8485 -
 11.8486 -
 11.8487 -
 11.8488 -
 11.8489 -
 11.8490 -
 11.8491 -
 11.8492 -
 11.8493 -
 11.8494 -
 11.8495 -
 11.8496 -
 11.8497 -
 11.8498 -
 11.8499 -
 11.8500 -
 11.8501 -
 11.8502 -
 11.8503 -
 11.8504 -
 11.8505 -
 11.8506 -
 11.8507 -
 11.8508 -
 11.8509 -
 11.8510 -
 11.8511 -
 11.8512 -
 11.8513 -
 11.8514 -
 11.8515 -
 11.8516 -
 11.8517 -
 11.8518 -
 11.8519 -
 11.8520 -
 11.8521 -
 11.8522 -
 11.8523 -
 11.8524 -
 11.8525 -
 11.8526 -
 11.8527 -
 11.8528 -
 11.8529 -
 11.8530 -
 11.8531 -
 11.8532 -
 11.8533 -
 11.8534 -
 11.8535 -
 11.8536 -
 11.8537 -
 11.8538 -
 11.8539 -
 11.8540 -
 11.8541 -
 11.8542 -
 11.8543 -  echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 11.8544 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 11.8545 -withGCC=$GCC
 11.8546 -if test "$withGCC" = yes; then
 11.8547 -  case $host_os in
 11.8548 -    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 11.8549 -    *) lt_awk_arg="/^libraries:/" ;;
 11.8550 -  esac
 11.8551 -  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 11.8552 -  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 11.8553 -    # if the path contains ";" then we assume it to be the separator
 11.8554 -    # otherwise default to the standard path separator (i.e. ":") - it is
 11.8555 -    # assumed that no part of a normal pathname contains ";" but that should
 11.8556 -    # okay in the real world where ";" in dirpaths is itself problematic.
 11.8557 -    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 11.8558 -  else
 11.8559 -    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 11.8560 -  fi
 11.8561 -  # Ok, now we have the path, separated by spaces, we can step through it
 11.8562 -  # and add multilib dir if necessary.
 11.8563 -  lt_tmp_lt_search_path_spec=
 11.8564 -  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 11.8565 -  for lt_sys_path in $lt_search_path_spec; do
 11.8566 -    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 11.8567 -      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 11.8568 -    else
 11.8569 -      test -d "$lt_sys_path" && \
 11.8570 -	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 11.8571 -    fi
 11.8572 -  done
 11.8573 -  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 11.8574 -BEGIN {RS=" "; FS="/|\n";} {
 11.8575 -  lt_foo="";
 11.8576 -  lt_count=0;
 11.8577 -  for (lt_i = NF; lt_i > 0; lt_i--) {
 11.8578 -    if ($lt_i != "" && $lt_i != ".") {
 11.8579 -      if ($lt_i == "..") {
 11.8580 -        lt_count++;
 11.8581 -      } else {
 11.8582 -        if (lt_count == 0) {
 11.8583 -          lt_foo="/" $lt_i lt_foo;
 11.8584 -        } else {
 11.8585 -          lt_count--;
 11.8586 -        }
 11.8587 -      }
 11.8588 -    }
 11.8589 -  }
 11.8590 -  if (lt_foo != "") { lt_freq[lt_foo]++; }
 11.8591 -  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 11.8592 -}'`
 11.8593 -  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 11.8594 -else
 11.8595 -  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 11.8596 -fi
 11.8597 -library_names_spec=
 11.8598 -libname_spec='lib$name'
 11.8599 -soname_spec=
 11.8600 -shrext_cmds=".so"
 11.8601 -postinstall_cmds=
 11.8602 -postuninstall_cmds=
 11.8603 -finish_cmds=
 11.8604 -finish_eval=
 11.8605 -shlibpath_var=
 11.8606 -shlibpath_overrides_runpath=unknown
 11.8607 -version_type=none
 11.8608 -dynamic_linker="$host_os ld.so"
 11.8609 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
 11.8610 -need_lib_prefix=unknown
 11.8611 -hardcode_into_libs=no
 11.8612 -
 11.8613 -# when you set need_version to no, make sure it does not cause -set_version
 11.8614 -# flags to be left without arguments
 11.8615 -need_version=unknown
 11.8616 -
 11.8617 -case $host_os in
 11.8618 -aix3*)
 11.8619 -  version_type=linux
 11.8620 -  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 11.8621 -  shlibpath_var=LIBPATH
 11.8622 -
 11.8623 -  # AIX 3 has no versioning support, so we append a major version to the name.
 11.8624 -  soname_spec='${libname}${release}${shared_ext}$major'
 11.8625 -  ;;
 11.8626 -
 11.8627 -aix[4-9]*)
 11.8628 -  version_type=linux
 11.8629 -  need_lib_prefix=no
 11.8630 -  need_version=no
 11.8631 -  hardcode_into_libs=yes
 11.8632 -  if test "$host_cpu" = ia64; then
 11.8633 -    # AIX 5 supports IA64
 11.8634 -    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 11.8635 -    shlibpath_var=LD_LIBRARY_PATH
 11.8636 -  else
 11.8637 -    # With GCC up to 2.95.x, collect2 would create an import file
 11.8638 -    # for dependence libraries.  The import file would start with
 11.8639 -    # the line `#! .'.  This would cause the generated library to
 11.8640 -    # depend on `.', always an invalid library.  This was fixed in
 11.8641 -    # development snapshots of GCC prior to 3.0.
 11.8642 -    case $host_os in
 11.8643 -      aix4 | aix4.[01] | aix4.[01].*)
 11.8644 -      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 11.8645 -	   echo ' yes '
 11.8646 -	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 11.8647 -	:
 11.8648 -      else
 11.8649 -	can_build_shared=no
 11.8650 -      fi
 11.8651 -      ;;
 11.8652 -    esac
 11.8653 -    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 11.8654 -    # soname into executable. Probably we can add versioning support to
 11.8655 -    # collect2, so additional links can be useful in future.
 11.8656 -    if test "$aix_use_runtimelinking" = yes; then
 11.8657 -      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 11.8658 -      # instead of lib<name>.a to let people know that these are not
 11.8659 -      # typical AIX shared libraries.
 11.8660 -      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11.8661 -    else
 11.8662 -      # We preserve .a as extension for shared libraries through AIX4.2
 11.8663 -      # and later when we are not doing run time linking.
 11.8664 -      library_names_spec='${libname}${release}.a $libname.a'
 11.8665 -      soname_spec='${libname}${release}${shared_ext}$major'
 11.8666 -    fi
 11.8667 -    shlibpath_var=LIBPATH
 11.8668 -  fi
 11.8669 -  ;;
 11.8670 -
 11.8671 -amigaos*)
 11.8672 -  if test "$host_cpu" = m68k; then
 11.8673 -    library_names_spec='$libname.ixlibrary $libname.a'
 11.8674 -    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 11.8675 -    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 11.8676 -  else
 11.8677 -    dynamic_linker=no
 11.8678 -  fi
 11.8679 -  ;;
 11.8680 -
 11.8681 -beos*)
 11.8682 -  library_names_spec='${libname}${shared_ext}'
 11.8683 -  dynamic_linker="$host_os ld.so"
 11.8684 -  shlibpath_var=LIBRARY_PATH
 11.8685 -  ;;
 11.8686 -
 11.8687 -bsdi[45]*)
 11.8688 -  version_type=linux
 11.8689 -  need_version=no
 11.8690 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11.8691 -  soname_spec='${libname}${release}${shared_ext}$major'
 11.8692 -  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 11.8693 -  shlibpath_var=LD_LIBRARY_PATH
 11.8694 -  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 11.8695 -  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 11.8696 -  # the default ld.so.conf also contains /usr/contrib/lib and
 11.8697 -  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 11.8698 -  # libtool to hard-code these into programs
 11.8699 -  ;;
 11.8700 -
 11.8701 -cygwin* | mingw* | pw32*)
 11.8702 -  version_type=windows
 11.8703 -  shrext_cmds=".dll"
 11.8704 -  need_version=no
 11.8705 -  need_lib_prefix=no
 11.8706 -
 11.8707 -  case $withGCC,$host_os in
 11.8708 -  yes,cygwin* | yes,mingw* | yes,pw32*)
 11.8709 -    library_names_spec='$libname.dll.a'
 11.8710 -    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 11.8711 -    postinstall_cmds='base_file=`basename \${file}`~
 11.8712 -      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 11.8713 -      dldir=$destdir/`dirname \$dlpath`~
 11.8714 -      test -d \$dldir || mkdir -p \$dldir~
 11.8715 -      $install_prog $dir/$dlname \$dldir/$dlname~
 11.8716 -      chmod a+x \$dldir/$dlname~
 11.8717 -      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 11.8718 -        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 11.8719 -      fi'
 11.8720 -    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 11.8721 -      dlpath=$dir/\$dldll~
 11.8722 -       $RM \$dlpath'
 11.8723 -    shlibpath_overrides_runpath=yes
 11.8724 -
 11.8725 -    case $host_os in
 11.8726 -    cygwin*)
 11.8727 -      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 11.8728 -      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 11.8729 -      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 11.8730 -      ;;
 11.8731 -    mingw*)
 11.8732 -      # MinGW DLLs use traditional 'lib' prefix
 11.8733 -      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 11.8734 -      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 11.8735 -      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 11.8736 -        # It is most probably a Windows format PATH printed by
 11.8737 -        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 11.8738 -        # path with ; separators, and with drive letters. We can handle the
 11.8739 -        # drive letters (cygwin fileutils understands them), so leave them,
 11.8740 -        # especially as we might pass files found there to a mingw objdump,
 11.8741 -        # which wouldn't understand a cygwinified path. Ahh.
 11.8742 -        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 11.8743 -      else
 11.8744 -        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 11.8745 -      fi
 11.8746 -      ;;
 11.8747 -    pw32*)
 11.8748 -      # pw32 DLLs use 'pw' prefix rather than 'lib'
 11.8749 -      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 11.8750 -      ;;
 11.8751 -    esac
 11.8752 -    ;;
 11.8753 -
 11.8754 -  *)
 11.8755 -    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 11.8756 -    ;;
 11.8757 -  esac
 11.8758 -  dynamic_linker='Win32 ld.exe'
 11.8759 -  # FIXME: first we should search . and the directory the executable is in
 11.8760 -  shlibpath_var=PATH
 11.8761 -  ;;
 11.8762 -
 11.8763 -darwin* | rhapsody*)
 11.8764 -  dynamic_linker="$host_os dyld"
 11.8765 -  version_type=darwin
 11.8766 -  need_lib_prefix=no
 11.8767 -  need_version=no
 11.8768 -  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 11.8769 -  soname_spec='${libname}${release}${major}$shared_ext'
 11.8770 -  shlibpath_overrides_runpath=yes
 11.8771 -  shlibpath_var=DYLD_LIBRARY_PATH
 11.8772 -  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 11.8773 -
 11.8774 -  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 11.8775 -  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 11.8776 -  ;;
 11.8777 -
 11.8778 -dgux*)
 11.8779 -  version_type=linux
 11.8780 -  need_lib_prefix=no
 11.8781 -  need_version=no
 11.8782 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 11.8783 -  soname_spec='${libname}${release}${shared_ext}$major'
 11.8784 -  shlibpath_var=LD_LIBRARY_PATH
 11.8785 -  ;;
 11.8786 -
 11.8787 -freebsd1*)
 11.8788 -  dynamic_linker=no
 11.8789 -  ;;
 11.8790 -
 11.8791 -freebsd* | dragonfly*)
 11.8792 -  # DragonFly does not have aout.  When/if they implement a new
 11.8793 -  # versioning mechanism, adjust this.
 11.8794 -  if test -x /usr/bin/objformat; then
 11.8795 -    objformat=`/usr/bin/objformat`
 11.8796 -  else
 11.8797 -    case $host_os in
 11.8798 -    freebsd[123]*) objformat=aout ;;
 11.8799 -    *) objformat=elf ;;
 11.8800 -    esac
 11.8801 -  fi
 11.8802 -  version_type=freebsd-$objformat
 11.8803 -  case $version_type in
 11.8804 -    freebsd-elf*)
 11.8805 -      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 11.8806 -      need_version=no
 11.8807 -      need_lib_prefix=no
 11.8808 -      ;;
 11.8809 -    freebsd-*)
 11.8810 -      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 11.8811 -      need_version=yes
 11.8812 -      ;;
 11.8813 -  esac
 11.8814 -  shlibpath_var=LD_LIBRARY_PATH
 11.8815 -  case $host_os in
 11.8816 -  freebsd2*)
 11.8817 -    shlibpath_overrides_runpath=yes
 11.8818 -    ;;
 11.8819 -  freebsd3.[01]* | freebsdelf3.[01]*)
 11.8820 -    shlibpath_overrides_runpath=yes
 11.8821 -    hardcode_into_libs=yes
 11.8822 -    ;;
 11.8823 -  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 11.8824 -  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 11.8825 -    shlibpath_overrides_runpath=no
 11.8826 -    hardcode_into_libs=yes
 11.8827 -    ;;
 11.8828 -  *) # from 4.6 on, and DragonFly
 11.8829 -    shlibpath_overrides_runpath=yes
 11.8830 -    hardcode_into_libs=yes
 11.8831 -    ;;
 11.8832 -  esac
 11.8833 -  ;;
 11.8834 -
 11.8835 -gnu*)
 11.8836 -  version_type=linux
 11.8837 -  need_lib_prefix=no
 11.8838 -  need_version=no
 11.8839 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 11.8840 -  soname_spec='${libname}${release}${shared_ext}$major'
 11.8841 -  shlibpath_var=LD_LIBRARY_PATH
 11.8842 -  hardcode_into_libs=yes
 11.8843 -  ;;
 11.8844 -
 11.8845 -hpux9* | hpux10* | hpux11*)
 11.8846 -  # Give a soname corresponding to the major version so that dld.sl refuses to
 11.8847 -  # link against other versions.
 11.8848 -  version_type=sunos
 11.8849 -  need_lib_prefix=no
 11.8850 -  need_version=no
 11.8851 -  case $host_cpu in
 11.8852 -  ia64*)
 11.8853 -    shrext_cmds='.so'
 11.8854 -    hardcode_into_libs=yes
 11.8855 -    dynamic_linker="$host_os dld.so"
 11.8856 -    shlibpath_var=LD_LIBRARY_PATH
 11.8857 -    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 11.8858 -    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11.8859 -    soname_spec='${libname}${release}${shared_ext}$major'
 11.8860 -    if test "X$HPUX_IA64_MODE" = X32; then
 11.8861 -      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 11.8862 -    else
 11.8863 -      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 11.8864 -    fi
 11.8865 -    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 11.8866 -    ;;
 11.8867 -  hppa*64*)
 11.8868 -    shrext_cmds='.sl'
 11.8869 -    hardcode_into_libs=yes
 11.8870 -    dynamic_linker="$host_os dld.sl"
 11.8871 -    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 11.8872 -    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 11.8873 -    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11.8874 -    soname_spec='${libname}${release}${shared_ext}$major'
 11.8875 -    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 11.8876 -    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 11.8877 -    ;;
 11.8878 -  *)
 11.8879 -    shrext_cmds='.sl'
 11.8880 -    dynamic_linker="$host_os dld.sl"
 11.8881 -    shlibpath_var=SHLIB_PATH
 11.8882 -    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 11.8883 -    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11.8884 -    soname_spec='${libname}${release}${shared_ext}$major'
 11.8885 -    ;;
 11.8886 -  esac
 11.8887 -  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 11.8888 -  postinstall_cmds='chmod 555 $lib'
 11.8889 -  ;;
 11.8890 -
 11.8891 -interix[3-9]*)
 11.8892 -  version_type=linux
 11.8893 -  need_lib_prefix=no
 11.8894 -  need_version=no
 11.8895 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 11.8896 -  soname_spec='${libname}${release}${shared_ext}$major'
 11.8897 -  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 11.8898 -  shlibpath_var=LD_LIBRARY_PATH
 11.8899 -  shlibpath_overrides_runpath=no
 11.8900 -  hardcode_into_libs=yes
 11.8901 -  ;;
 11.8902 -
 11.8903 -irix5* | irix6* | nonstopux*)
 11.8904 -  case $host_os in
 11.8905 -    nonstopux*) version_type=nonstopux ;;
 11.8906 -    *)
 11.8907 -	if test "$lt_cv_prog_gnu_ld" = yes; then
 11.8908 -		version_type=linux
 11.8909 -	else
 11.8910 -		version_type=irix
 11.8911 -	fi ;;
 11.8912 -  esac
 11.8913 -  need_lib_prefix=no
 11.8914 -  need_version=no
 11.8915 -  soname_spec='${libname}${release}${shared_ext}$major'
 11.8916 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 11.8917 -  case $host_os in
 11.8918 -  irix5* | nonstopux*)
 11.8919 -    libsuff= shlibsuff=
 11.8920 -    ;;
 11.8921 -  *)
 11.8922 -    case $LD in # libtool.m4 will add one of these switches to LD
 11.8923 -    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 11.8924 -      libsuff= shlibsuff= libmagic=32-bit;;
 11.8925 -    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 11.8926 -      libsuff=32 shlibsuff=N32 libmagic=N32;;
 11.8927 -    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 11.8928 -      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 11.8929 -    *) libsuff= shlibsuff= libmagic=never-match;;
 11.8930 -    esac
 11.8931 -    ;;
 11.8932 -  esac
 11.8933 -  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 11.8934 -  shlibpath_overrides_runpath=no
 11.8935 -  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 11.8936 -  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 11.8937 -  hardcode_into_libs=yes
 11.8938 -  ;;
 11.8939 -
 11.8940 -# No shared lib support for Linux oldld, aout, or coff.
 11.8941 -linux*oldld* | linux*aout* | linux*coff*)
 11.8942 -  dynamic_linker=no
 11.8943 -  ;;
 11.8944 -
 11.8945 -# This must be Linux ELF.
 11.8946 -linux* | k*bsd*-gnu)
 11.8947 -  version_type=linux
 11.8948 -  need_lib_prefix=no
 11.8949 -  need_version=no
 11.8950 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11.8951 -  soname_spec='${libname}${release}${shared_ext}$major'
 11.8952 -  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 11.8953 -  shlibpath_var=LD_LIBRARY_PATH
 11.8954 -  shlibpath_overrides_runpath=no
 11.8955 -  # Some binutils ld are patched to set DT_RUNPATH
 11.8956 -  save_LDFLAGS=$LDFLAGS
 11.8957 -  save_libdir=$libdir
 11.8958 -  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 11.8959 -       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 11.8960 -  cat >conftest.$ac_ext <<_ACEOF
 11.8961 -/* confdefs.h.  */
 11.8962 -_ACEOF
 11.8963 -cat confdefs.h >>conftest.$ac_ext
 11.8964 -cat >>conftest.$ac_ext <<_ACEOF
 11.8965 -/* end confdefs.h.  */
 11.8966 -
 11.8967 -int
 11.8968 -main ()
 11.8969 -{
 11.8970 -
 11.8971 -  ;
 11.8972 -  return 0;
 11.8973 -}
 11.8974 -_ACEOF
 11.8975 -rm -f conftest.$ac_objext conftest$ac_exeext
 11.8976 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 11.8977 -  (eval $ac_link) 2>conftest.er1
 11.8978 -  ac_status=$?
 11.8979 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.8980 -  rm -f conftest.er1
 11.8981 -  cat conftest.err >&5
 11.8982 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.8983 -  (exit $ac_status); } &&
 11.8984 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 11.8985 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.8986 -  (eval $ac_try) 2>&5
 11.8987 -  ac_status=$?
 11.8988 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.8989 -  (exit $ac_status); }; } &&
 11.8990 -	 { ac_try='test -s conftest$ac_exeext'
 11.8991 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.8992 -  (eval $ac_try) 2>&5
 11.8993 -  ac_status=$?
 11.8994 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.8995 -  (exit $ac_status); }; }; then
 11.8996 -  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
 11.8997 -  shlibpath_overrides_runpath=yes
 11.8998 -fi
 11.8999 -
 11.9000 -else
 11.9001 -  echo "$as_me: failed program was:" >&5
 11.9002 -sed 's/^/| /' conftest.$ac_ext >&5
 11.9003 -
 11.9004 -fi
 11.9005 -rm -f conftest.err conftest.$ac_objext \
 11.9006 -      conftest$ac_exeext conftest.$ac_ext
 11.9007 -  LDFLAGS=$save_LDFLAGS
 11.9008 -  libdir=$save_libdir
 11.9009 -
 11.9010 -  # This implies no fast_install, which is unacceptable.
 11.9011 -  # Some rework will be needed to allow for fast_install
 11.9012 -  # before this can be enabled.
 11.9013 -  hardcode_into_libs=yes
 11.9014 -
 11.9015 -  # Append ld.so.conf contents to the search path
 11.9016 -  if test -f /etc/ld.so.conf; then
 11.9017 -    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 11.9018 -    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 11.9019 -  fi
 11.9020 -
 11.9021 -  # We used to test for /lib/ld.so.1 and disable shared libraries on
 11.9022 -  # powerpc, because MkLinux only supported shared libraries with the
 11.9023 -  # GNU dynamic linker.  Since this was broken with cross compilers,
 11.9024 -  # most powerpc-linux boxes support dynamic linking these days and
 11.9025 -  # people can always --disable-shared, the test was removed, and we
 11.9026 -  # assume the GNU/Linux dynamic linker is in use.
 11.9027 -  dynamic_linker='GNU/Linux ld.so'
 11.9028 -  ;;
 11.9029 -
 11.9030 -netbsd*)
 11.9031 -  version_type=sunos
 11.9032 -  need_lib_prefix=no
 11.9033 -  need_version=no
 11.9034 -  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 11.9035 -    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 11.9036 -    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 11.9037 -    dynamic_linker='NetBSD (a.out) ld.so'
 11.9038 -  else
 11.9039 -    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 11.9040 -    soname_spec='${libname}${release}${shared_ext}$major'
 11.9041 -    dynamic_linker='NetBSD ld.elf_so'
 11.9042 -  fi
 11.9043 -  shlibpath_var=LD_LIBRARY_PATH
 11.9044 -  shlibpath_overrides_runpath=yes
 11.9045 -  hardcode_into_libs=yes
 11.9046 -  ;;
 11.9047 -
 11.9048 -newsos6)
 11.9049 -  version_type=linux
 11.9050 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11.9051 -  shlibpath_var=LD_LIBRARY_PATH
 11.9052 -  shlibpath_overrides_runpath=yes
 11.9053 -  ;;
 11.9054 -
 11.9055 -*nto* | *qnx*)
 11.9056 -  version_type=qnx
 11.9057 -  need_lib_prefix=no
 11.9058 -  need_version=no
 11.9059 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11.9060 -  soname_spec='${libname}${release}${shared_ext}$major'
 11.9061 -  shlibpath_var=LD_LIBRARY_PATH
 11.9062 -  shlibpath_overrides_runpath=no
 11.9063 -  hardcode_into_libs=yes
 11.9064 -  dynamic_linker='ldqnx.so'
 11.9065 -  ;;
 11.9066 -
 11.9067 -openbsd*)
 11.9068 -  version_type=sunos
 11.9069 -  sys_lib_dlsearch_path_spec="/usr/lib"
 11.9070 -  need_lib_prefix=no
 11.9071 -  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 11.9072 -  case $host_os in
 11.9073 -    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
 11.9074 -    *)				need_version=no  ;;
 11.9075 -  esac
 11.9076 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 11.9077 -  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 11.9078 -  shlibpath_var=LD_LIBRARY_PATH
 11.9079 -  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 11.9080 -    case $host_os in
 11.9081 -      openbsd2.[89] | openbsd2.[89].*)
 11.9082 -	shlibpath_overrides_runpath=no
 11.9083 -	;;
 11.9084 -      *)
 11.9085 -	shlibpath_overrides_runpath=yes
 11.9086 -	;;
 11.9087 -      esac
 11.9088 -  else
 11.9089 -    shlibpath_overrides_runpath=yes
 11.9090 -  fi
 11.9091 -  ;;
 11.9092 -
 11.9093 -os2*)
 11.9094 -  libname_spec='$name'
 11.9095 -  shrext_cmds=".dll"
 11.9096 -  need_lib_prefix=no
 11.9097 -  library_names_spec='$libname${shared_ext} $libname.a'
 11.9098 -  dynamic_linker='OS/2 ld.exe'
 11.9099 -  shlibpath_var=LIBPATH
 11.9100 -  ;;
 11.9101 -
 11.9102 -osf3* | osf4* | osf5*)
 11.9103 -  version_type=osf
 11.9104 -  need_lib_prefix=no
 11.9105 -  need_version=no
 11.9106 -  soname_spec='${libname}${release}${shared_ext}$major'
 11.9107 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11.9108 -  shlibpath_var=LD_LIBRARY_PATH
 11.9109 -  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 11.9110 -  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 11.9111 -  ;;
 11.9112 -
 11.9113 -rdos*)
 11.9114 -  dynamic_linker=no
 11.9115 -  ;;
 11.9116 -
 11.9117 -solaris*)
 11.9118 -  version_type=linux
 11.9119 -  need_lib_prefix=no
 11.9120 -  need_version=no
 11.9121 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11.9122 -  soname_spec='${libname}${release}${shared_ext}$major'
 11.9123 -  shlibpath_var=LD_LIBRARY_PATH
 11.9124 -  shlibpath_overrides_runpath=yes
 11.9125 -  hardcode_into_libs=yes
 11.9126 -  # ldd complains unless libraries are executable
 11.9127 -  postinstall_cmds='chmod +x $lib'
 11.9128 -  ;;
 11.9129 -
 11.9130 -sunos4*)
 11.9131 -  version_type=sunos
 11.9132 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 11.9133 -  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 11.9134 -  shlibpath_var=LD_LIBRARY_PATH
 11.9135 -  shlibpath_overrides_runpath=yes
 11.9136 -  if test "$with_gnu_ld" = yes; then
 11.9137 -    need_lib_prefix=no
 11.9138 -  fi
 11.9139 -  need_version=yes
 11.9140 -  ;;
 11.9141 -
 11.9142 -sysv4 | sysv4.3*)
 11.9143 -  version_type=linux
 11.9144 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11.9145 -  soname_spec='${libname}${release}${shared_ext}$major'
 11.9146 -  shlibpath_var=LD_LIBRARY_PATH
 11.9147 -  case $host_vendor in
 11.9148 -    sni)
 11.9149 -      shlibpath_overrides_runpath=no
 11.9150 -      need_lib_prefix=no
 11.9151 -      runpath_var=LD_RUN_PATH
 11.9152 -      ;;
 11.9153 -    siemens)
 11.9154 -      need_lib_prefix=no
 11.9155 -      ;;
 11.9156 -    motorola)
 11.9157 -      need_lib_prefix=no
 11.9158 -      need_version=no
 11.9159 -      shlibpath_overrides_runpath=no
 11.9160 -      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 11.9161 -      ;;
 11.9162 -  esac
 11.9163 -  ;;
 11.9164 -
 11.9165 -sysv4*MP*)
 11.9166 -  if test -d /usr/nec ;then
 11.9167 -    version_type=linux
 11.9168 -    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 11.9169 -    soname_spec='$libname${shared_ext}.$major'
 11.9170 -    shlibpath_var=LD_LIBRARY_PATH
 11.9171 -  fi
 11.9172 -  ;;
 11.9173 -
 11.9174 -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 11.9175 -  version_type=freebsd-elf
 11.9176 -  need_lib_prefix=no
 11.9177 -  need_version=no
 11.9178 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 11.9179 -  soname_spec='${libname}${release}${shared_ext}$major'
 11.9180 -  shlibpath_var=LD_LIBRARY_PATH
 11.9181 -  shlibpath_overrides_runpath=yes
 11.9182 -  hardcode_into_libs=yes
 11.9183 -  if test "$with_gnu_ld" = yes; then
 11.9184 -    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 11.9185 -  else
 11.9186 -    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 11.9187 -    case $host_os in
 11.9188 -      sco3.2v5*)
 11.9189 -        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 11.9190 -	;;
 11.9191 -    esac
 11.9192 -  fi
 11.9193 -  sys_lib_dlsearch_path_spec='/usr/lib'
 11.9194 -  ;;
 11.9195 -
 11.9196 -tpf*)
 11.9197 -  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 11.9198 -  version_type=linux
 11.9199 -  need_lib_prefix=no
 11.9200 -  need_version=no
 11.9201 -  library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11.9202 -  shlibpath_var=LD_LIBRARY_PATH
 11.9203 -  shlibpath_overrides_runpath=no
 11.9204 -  hardcode_into_libs=yes
 11.9205 -  ;;
 11.9206 -
 11.9207 -uts4*)
 11.9208 -  version_type=linux
 11.9209 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11.9210 -  soname_spec='${libname}${release}${shared_ext}$major'
 11.9211 -  shlibpath_var=LD_LIBRARY_PATH
 11.9212 -  ;;
 11.9213 -
 11.9214 -*)
 11.9215 -  dynamic_linker=no
 11.9216 -  ;;
 11.9217 -esac
 11.9218 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 11.9219 -echo "${ECHO_T}$dynamic_linker" >&6
 11.9220 -test "$dynamic_linker" = no && can_build_shared=no
 11.9221 -
 11.9222 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 11.9223 -if test "$GCC" = yes; then
 11.9224 -  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 11.9225 -fi
 11.9226 -
 11.9227 -
 11.9228 -
 11.9229 -
 11.9230 -
 11.9231 -
 11.9232 -
 11.9233 -
 11.9234 -
 11.9235 -
 11.9236 -
 11.9237 -
 11.9238 -
 11.9239 -
 11.9240 -
 11.9241 -
 11.9242 -
 11.9243 -
 11.9244 -
 11.9245 -
 11.9246 -
 11.9247 -
 11.9248 -
 11.9249 -
 11.9250 -
 11.9251 -
 11.9252 -
 11.9253 -
 11.9254 -
 11.9255 -
 11.9256 -
 11.9257 -
 11.9258 -
 11.9259 -
 11.9260 -
 11.9261 -
 11.9262 -
 11.9263 -
 11.9264 -
 11.9265 -
 11.9266 -
 11.9267 -
 11.9268 -
 11.9269 -
 11.9270 -
 11.9271 -
 11.9272 -
 11.9273 -
 11.9274 -
 11.9275 -
 11.9276 -
 11.9277 -
 11.9278 -
 11.9279 -
 11.9280 -
 11.9281 -
 11.9282 -
 11.9283 -
 11.9284 -
 11.9285 -
 11.9286 -
 11.9287 -
 11.9288 -
 11.9289 -
 11.9290 -
 11.9291 -
 11.9292 -
 11.9293 -
 11.9294 -
 11.9295 -
 11.9296 -
 11.9297 -
 11.9298 -
 11.9299 -
 11.9300 -
 11.9301 -
 11.9302 -
 11.9303 -
 11.9304 -
 11.9305 -
 11.9306 -
 11.9307 -
 11.9308 -
 11.9309 -
 11.9310 -
 11.9311 -
 11.9312 -
 11.9313 -  echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 11.9314 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 11.9315 -hardcode_action=
 11.9316 -if test -n "$hardcode_libdir_flag_spec" ||
 11.9317 -   test -n "$runpath_var" ||
 11.9318 -   test "X$hardcode_automatic" = "Xyes" ; then
 11.9319 -
 11.9320 -  # We can hardcode non-existent directories.
 11.9321 -  if test "$hardcode_direct" != no &&
 11.9322 -     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 11.9323 -     # have to relink, otherwise we might link with an installed library
 11.9324 -     # when we should be linking with a yet-to-be-installed one
 11.9325 -     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 11.9326 -     test "$hardcode_minus_L" != no; then
 11.9327 -    # Linking always hardcodes the temporary library directory.
 11.9328 -    hardcode_action=relink
 11.9329 -  else
 11.9330 -    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 11.9331 -    hardcode_action=immediate
 11.9332 -  fi
 11.9333 -else
 11.9334 -  # We cannot hardcode anything, or else we can only hardcode existing
 11.9335 -  # directories.
 11.9336 -  hardcode_action=unsupported
 11.9337 -fi
 11.9338 -echo "$as_me:$LINENO: result: $hardcode_action" >&5
 11.9339 -echo "${ECHO_T}$hardcode_action" >&6
 11.9340 -
 11.9341 -if test "$hardcode_action" = relink ||
 11.9342 -   test "$inherit_rpath" = yes; then
 11.9343 -  # Fast installation is not supported
 11.9344 -  enable_fast_install=no
 11.9345 -elif test "$shlibpath_overrides_runpath" = yes ||
 11.9346 -     test "$enable_shared" = no; then
 11.9347 -  # Fast installation is not necessary
 11.9348 -  enable_fast_install=needless
 11.9349 -fi
 11.9350 -
 11.9351 -
 11.9352 -
 11.9353 -
 11.9354 -
 11.9355 -
 11.9356 -  if test "x$enable_dlopen" != xyes; then
 11.9357 -  enable_dlopen=unknown
 11.9358 -  enable_dlopen_self=unknown
 11.9359 -  enable_dlopen_self_static=unknown
 11.9360 -else
 11.9361 -  lt_cv_dlopen=no
 11.9362 -  lt_cv_dlopen_libs=
 11.9363 -
 11.9364 -  case $host_os in
 11.9365 -  beos*)
 11.9366 -    lt_cv_dlopen="load_add_on"
 11.9367 -    lt_cv_dlopen_libs=
 11.9368 -    lt_cv_dlopen_self=yes
 11.9369 -    ;;
 11.9370 -
 11.9371 -  mingw* | pw32*)
 11.9372 -    lt_cv_dlopen="LoadLibrary"
 11.9373 -    lt_cv_dlopen_libs=
 11.9374 -    ;;
 11.9375 -
 11.9376 -  cygwin*)
 11.9377 -    lt_cv_dlopen="dlopen"
 11.9378 -    lt_cv_dlopen_libs=
 11.9379 -    ;;
 11.9380 -
 11.9381 -  darwin*)
 11.9382 -  # if libdl is installed we need to link against it
 11.9383 -    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 11.9384 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 11.9385 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 11.9386 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.9387 -else
 11.9388 -  ac_check_lib_save_LIBS=$LIBS
 11.9389 -LIBS="-ldl  $LIBS"
 11.9390 -cat >conftest.$ac_ext <<_ACEOF
 11.9391 -/* confdefs.h.  */
 11.9392 -_ACEOF
 11.9393 -cat confdefs.h >>conftest.$ac_ext
 11.9394 -cat >>conftest.$ac_ext <<_ACEOF
 11.9395 -/* end confdefs.h.  */
 11.9396 -
 11.9397 -/* Override any gcc2 internal prototype to avoid an error.  */
 11.9398 -#ifdef __cplusplus
 11.9399 -extern "C"
 11.9400 -#endif
 11.9401 -/* We use char because int might match the return type of a gcc2
 11.9402 -   builtin and then its argument prototype would still apply.  */
 11.9403 -char dlopen ();
 11.9404 -int
 11.9405 -main ()
 11.9406 -{
 11.9407 -dlopen ();
 11.9408 -  ;
 11.9409 -  return 0;
 11.9410 -}
 11.9411 -_ACEOF
 11.9412 -rm -f conftest.$ac_objext conftest$ac_exeext
 11.9413 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 11.9414 -  (eval $ac_link) 2>conftest.er1
 11.9415 -  ac_status=$?
 11.9416 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.9417 -  rm -f conftest.er1
 11.9418 -  cat conftest.err >&5
 11.9419 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.9420 -  (exit $ac_status); } &&
 11.9421 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 11.9422 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.9423 -  (eval $ac_try) 2>&5
 11.9424 -  ac_status=$?
 11.9425 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.9426 -  (exit $ac_status); }; } &&
 11.9427 -	 { ac_try='test -s conftest$ac_exeext'
 11.9428 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.9429 -  (eval $ac_try) 2>&5
 11.9430 -  ac_status=$?
 11.9431 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.9432 -  (exit $ac_status); }; }; then
 11.9433 -  ac_cv_lib_dl_dlopen=yes
 11.9434 -else
 11.9435 -  echo "$as_me: failed program was:" >&5
 11.9436 -sed 's/^/| /' conftest.$ac_ext >&5
 11.9437 -
 11.9438 -ac_cv_lib_dl_dlopen=no
 11.9439 -fi
 11.9440 -rm -f conftest.err conftest.$ac_objext \
 11.9441 -      conftest$ac_exeext conftest.$ac_ext
 11.9442 -LIBS=$ac_check_lib_save_LIBS
 11.9443 -fi
 11.9444 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 11.9445 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 11.9446 -if test $ac_cv_lib_dl_dlopen = yes; then
 11.9447 -  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 11.9448 -else
 11.9449 -
 11.9450 -    lt_cv_dlopen="dyld"
 11.9451 -    lt_cv_dlopen_libs=
 11.9452 -    lt_cv_dlopen_self=yes
 11.9453 -
 11.9454 -fi
 11.9455 -
 11.9456 -    ;;
 11.9457 -
 11.9458 -  *)
 11.9459 -    echo "$as_me:$LINENO: checking for shl_load" >&5
 11.9460 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 11.9461 -if test "${ac_cv_func_shl_load+set}" = set; then
 11.9462 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.9463 -else
 11.9464 -  cat >conftest.$ac_ext <<_ACEOF
 11.9465 -/* confdefs.h.  */
 11.9466 -_ACEOF
 11.9467 -cat confdefs.h >>conftest.$ac_ext
 11.9468 -cat >>conftest.$ac_ext <<_ACEOF
 11.9469 -/* end confdefs.h.  */
 11.9470 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
 11.9471 -   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 11.9472 -#define shl_load innocuous_shl_load
 11.9473 -
 11.9474 -/* System header to define __stub macros and hopefully few prototypes,
 11.9475 -    which can conflict with char shl_load (); below.
 11.9476 -    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 11.9477 -    <limits.h> exists even on freestanding compilers.  */
 11.9478 -
 11.9479 -#ifdef __STDC__
 11.9480 -# include <limits.h>
 11.9481 -#else
 11.9482 -# include <assert.h>
 11.9483 -#endif
 11.9484 -
 11.9485 -#undef shl_load
 11.9486 -
 11.9487 -/* Override any gcc2 internal prototype to avoid an error.  */
 11.9488 -#ifdef __cplusplus
 11.9489 -extern "C"
 11.9490 -{
 11.9491 -#endif
 11.9492 -/* We use char because int might match the return type of a gcc2
 11.9493 -   builtin and then its argument prototype would still apply.  */
 11.9494 -char shl_load ();
 11.9495 -/* The GNU C library defines this for functions which it implements
 11.9496 -    to always fail with ENOSYS.  Some functions are actually named
 11.9497 -    something starting with __ and the normal name is an alias.  */
 11.9498 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
 11.9499 -choke me
 11.9500 -#else
 11.9501 -char (*f) () = shl_load;
 11.9502 -#endif
 11.9503 -#ifdef __cplusplus
 11.9504 -}
 11.9505 -#endif
 11.9506 -
 11.9507 -int
 11.9508 -main ()
 11.9509 -{
 11.9510 -return f != shl_load;
 11.9511 -  ;
 11.9512 -  return 0;
 11.9513 -}
 11.9514 -_ACEOF
 11.9515 -rm -f conftest.$ac_objext conftest$ac_exeext
 11.9516 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 11.9517 -  (eval $ac_link) 2>conftest.er1
 11.9518 -  ac_status=$?
 11.9519 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.9520 -  rm -f conftest.er1
 11.9521 -  cat conftest.err >&5
 11.9522 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.9523 -  (exit $ac_status); } &&
 11.9524 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 11.9525 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.9526 -  (eval $ac_try) 2>&5
 11.9527 -  ac_status=$?
 11.9528 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.9529 -  (exit $ac_status); }; } &&
 11.9530 -	 { ac_try='test -s conftest$ac_exeext'
 11.9531 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.9532 -  (eval $ac_try) 2>&5
 11.9533 -  ac_status=$?
 11.9534 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.9535 -  (exit $ac_status); }; }; then
 11.9536 -  ac_cv_func_shl_load=yes
 11.9537 -else
 11.9538 -  echo "$as_me: failed program was:" >&5
 11.9539 -sed 's/^/| /' conftest.$ac_ext >&5
 11.9540 -
 11.9541 -ac_cv_func_shl_load=no
 11.9542 -fi
 11.9543 -rm -f conftest.err conftest.$ac_objext \
 11.9544 -      conftest$ac_exeext conftest.$ac_ext
 11.9545 -fi
 11.9546 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 11.9547 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 11.9548 -if test $ac_cv_func_shl_load = yes; then
 11.9549 -  lt_cv_dlopen="shl_load"
 11.9550 -else
 11.9551 -  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 11.9552 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 11.9553 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 11.9554 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.9555 -else
 11.9556 -  ac_check_lib_save_LIBS=$LIBS
 11.9557 -LIBS="-ldld  $LIBS"
 11.9558 -cat >conftest.$ac_ext <<_ACEOF
 11.9559 -/* confdefs.h.  */
 11.9560 -_ACEOF
 11.9561 -cat confdefs.h >>conftest.$ac_ext
 11.9562 -cat >>conftest.$ac_ext <<_ACEOF
 11.9563 -/* end confdefs.h.  */
 11.9564 -
 11.9565 -/* Override any gcc2 internal prototype to avoid an error.  */
 11.9566 -#ifdef __cplusplus
 11.9567 -extern "C"
 11.9568 -#endif
 11.9569 -/* We use char because int might match the return type of a gcc2
 11.9570 -   builtin and then its argument prototype would still apply.  */
 11.9571 -char shl_load ();
 11.9572 -int
 11.9573 -main ()
 11.9574 -{
 11.9575 -shl_load ();
 11.9576 -  ;
 11.9577 -  return 0;
 11.9578 -}
 11.9579 -_ACEOF
 11.9580 -rm -f conftest.$ac_objext conftest$ac_exeext
 11.9581 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 11.9582 -  (eval $ac_link) 2>conftest.er1
 11.9583 -  ac_status=$?
 11.9584 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.9585 -  rm -f conftest.er1
 11.9586 -  cat conftest.err >&5
 11.9587 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.9588 -  (exit $ac_status); } &&
 11.9589 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 11.9590 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.9591 -  (eval $ac_try) 2>&5
 11.9592 -  ac_status=$?
 11.9593 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.9594 -  (exit $ac_status); }; } &&
 11.9595 -	 { ac_try='test -s conftest$ac_exeext'
 11.9596 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.9597 -  (eval $ac_try) 2>&5
 11.9598 -  ac_status=$?
 11.9599 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.9600 -  (exit $ac_status); }; }; then
 11.9601 -  ac_cv_lib_dld_shl_load=yes
 11.9602 -else
 11.9603 -  echo "$as_me: failed program was:" >&5
 11.9604 -sed 's/^/| /' conftest.$ac_ext >&5
 11.9605 -
 11.9606 -ac_cv_lib_dld_shl_load=no
 11.9607 -fi
 11.9608 -rm -f conftest.err conftest.$ac_objext \
 11.9609 -      conftest$ac_exeext conftest.$ac_ext
 11.9610 -LIBS=$ac_check_lib_save_LIBS
 11.9611 -fi
 11.9612 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 11.9613 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 11.9614 -if test $ac_cv_lib_dld_shl_load = yes; then
 11.9615 -  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
 11.9616 -else
 11.9617 -  echo "$as_me:$LINENO: checking for dlopen" >&5
 11.9618 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 11.9619 -if test "${ac_cv_func_dlopen+set}" = set; then
 11.9620 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.9621 -else
 11.9622 -  cat >conftest.$ac_ext <<_ACEOF
 11.9623 -/* confdefs.h.  */
 11.9624 -_ACEOF
 11.9625 -cat confdefs.h >>conftest.$ac_ext
 11.9626 -cat >>conftest.$ac_ext <<_ACEOF
 11.9627 -/* end confdefs.h.  */
 11.9628 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
 11.9629 -   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 11.9630 -#define dlopen innocuous_dlopen
 11.9631 -
 11.9632 -/* System header to define __stub macros and hopefully few prototypes,
 11.9633 -    which can conflict with char dlopen (); below.
 11.9634 -    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 11.9635 -    <limits.h> exists even on freestanding compilers.  */
 11.9636 -
 11.9637 -#ifdef __STDC__
 11.9638 -# include <limits.h>
 11.9639 -#else
 11.9640 -# include <assert.h>
 11.9641 -#endif
 11.9642 -
 11.9643 -#undef dlopen
 11.9644 -
 11.9645 -/* Override any gcc2 internal prototype to avoid an error.  */
 11.9646 -#ifdef __cplusplus
 11.9647 -extern "C"
 11.9648 -{
 11.9649 -#endif
 11.9650 -/* We use char because int might match the return type of a gcc2
 11.9651 -   builtin and then its argument prototype would still apply.  */
 11.9652 -char dlopen ();
 11.9653 -/* The GNU C library defines this for functions which it implements
 11.9654 -    to always fail with ENOSYS.  Some functions are actually named
 11.9655 -    something starting with __ and the normal name is an alias.  */
 11.9656 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
 11.9657 -choke me
 11.9658 -#else
 11.9659 -char (*f) () = dlopen;
 11.9660 -#endif
 11.9661 -#ifdef __cplusplus
 11.9662 -}
 11.9663 -#endif
 11.9664 -
 11.9665 -int
 11.9666 -main ()
 11.9667 -{
 11.9668 -return f != dlopen;
 11.9669 -  ;
 11.9670 -  return 0;
 11.9671 -}
 11.9672 -_ACEOF
 11.9673 -rm -f conftest.$ac_objext conftest$ac_exeext
 11.9674 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 11.9675 -  (eval $ac_link) 2>conftest.er1
 11.9676 -  ac_status=$?
 11.9677 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.9678 -  rm -f conftest.er1
 11.9679 -  cat conftest.err >&5
 11.9680 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.9681 -  (exit $ac_status); } &&
 11.9682 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 11.9683 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.9684 -  (eval $ac_try) 2>&5
 11.9685 -  ac_status=$?
 11.9686 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.9687 -  (exit $ac_status); }; } &&
 11.9688 -	 { ac_try='test -s conftest$ac_exeext'
 11.9689 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.9690 -  (eval $ac_try) 2>&5
 11.9691 -  ac_status=$?
 11.9692 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.9693 -  (exit $ac_status); }; }; then
 11.9694 -  ac_cv_func_dlopen=yes
 11.9695 -else
 11.9696 -  echo "$as_me: failed program was:" >&5
 11.9697 -sed 's/^/| /' conftest.$ac_ext >&5
 11.9698 -
 11.9699 -ac_cv_func_dlopen=no
 11.9700 -fi
 11.9701 -rm -f conftest.err conftest.$ac_objext \
 11.9702 -      conftest$ac_exeext conftest.$ac_ext
 11.9703 -fi
 11.9704 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 11.9705 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 11.9706 -if test $ac_cv_func_dlopen = yes; then
 11.9707 -  lt_cv_dlopen="dlopen"
 11.9708 -else
 11.9709 -  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 11.9710 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 11.9711 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 11.9712 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.9713 -else
 11.9714 -  ac_check_lib_save_LIBS=$LIBS
 11.9715 -LIBS="-ldl  $LIBS"
 11.9716 -cat >conftest.$ac_ext <<_ACEOF
 11.9717 -/* confdefs.h.  */
 11.9718 -_ACEOF
 11.9719 -cat confdefs.h >>conftest.$ac_ext
 11.9720 -cat >>conftest.$ac_ext <<_ACEOF
 11.9721 -/* end confdefs.h.  */
 11.9722 -
 11.9723 -/* Override any gcc2 internal prototype to avoid an error.  */
 11.9724 -#ifdef __cplusplus
 11.9725 -extern "C"
 11.9726 -#endif
 11.9727 -/* We use char because int might match the return type of a gcc2
 11.9728 -   builtin and then its argument prototype would still apply.  */
 11.9729 -char dlopen ();
 11.9730 -int
 11.9731 -main ()
 11.9732 -{
 11.9733 -dlopen ();
 11.9734 -  ;
 11.9735 -  return 0;
 11.9736 -}
 11.9737 -_ACEOF
 11.9738 -rm -f conftest.$ac_objext conftest$ac_exeext
 11.9739 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 11.9740 -  (eval $ac_link) 2>conftest.er1
 11.9741 -  ac_status=$?
 11.9742 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.9743 -  rm -f conftest.er1
 11.9744 -  cat conftest.err >&5
 11.9745 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.9746 -  (exit $ac_status); } &&
 11.9747 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 11.9748 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.9749 -  (eval $ac_try) 2>&5
 11.9750 -  ac_status=$?
 11.9751 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.9752 -  (exit $ac_status); }; } &&
 11.9753 -	 { ac_try='test -s conftest$ac_exeext'
 11.9754 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.9755 -  (eval $ac_try) 2>&5
 11.9756 -  ac_status=$?
 11.9757 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.9758 -  (exit $ac_status); }; }; then
 11.9759 -  ac_cv_lib_dl_dlopen=yes
 11.9760 -else
 11.9761 -  echo "$as_me: failed program was:" >&5
 11.9762 -sed 's/^/| /' conftest.$ac_ext >&5
 11.9763 -
 11.9764 -ac_cv_lib_dl_dlopen=no
 11.9765 -fi
 11.9766 -rm -f conftest.err conftest.$ac_objext \
 11.9767 -      conftest$ac_exeext conftest.$ac_ext
 11.9768 -LIBS=$ac_check_lib_save_LIBS
 11.9769 -fi
 11.9770 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 11.9771 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 11.9772 -if test $ac_cv_lib_dl_dlopen = yes; then
 11.9773 -  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 11.9774 -else
 11.9775 -  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 11.9776 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 11.9777 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 11.9778 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.9779 -else
 11.9780 -  ac_check_lib_save_LIBS=$LIBS
 11.9781 -LIBS="-lsvld  $LIBS"
 11.9782 -cat >conftest.$ac_ext <<_ACEOF
 11.9783 -/* confdefs.h.  */
 11.9784 -_ACEOF
 11.9785 -cat confdefs.h >>conftest.$ac_ext
 11.9786 -cat >>conftest.$ac_ext <<_ACEOF
 11.9787 -/* end confdefs.h.  */
 11.9788 -
 11.9789 -/* Override any gcc2 internal prototype to avoid an error.  */
 11.9790 -#ifdef __cplusplus
 11.9791 -extern "C"
 11.9792 -#endif
 11.9793 -/* We use char because int might match the return type of a gcc2
 11.9794 -   builtin and then its argument prototype would still apply.  */
 11.9795 -char dlopen ();
 11.9796 -int
 11.9797 -main ()
 11.9798 -{
 11.9799 -dlopen ();
 11.9800 -  ;
 11.9801 -  return 0;
 11.9802 -}
 11.9803 -_ACEOF
 11.9804 -rm -f conftest.$ac_objext conftest$ac_exeext
 11.9805 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 11.9806 -  (eval $ac_link) 2>conftest.er1
 11.9807 -  ac_status=$?
 11.9808 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.9809 -  rm -f conftest.er1
 11.9810 -  cat conftest.err >&5
 11.9811 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.9812 -  (exit $ac_status); } &&
 11.9813 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 11.9814 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.9815 -  (eval $ac_try) 2>&5
 11.9816 -  ac_status=$?
 11.9817 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.9818 -  (exit $ac_status); }; } &&
 11.9819 -	 { ac_try='test -s conftest$ac_exeext'
 11.9820 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.9821 -  (eval $ac_try) 2>&5
 11.9822 -  ac_status=$?
 11.9823 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.9824 -  (exit $ac_status); }; }; then
 11.9825 -  ac_cv_lib_svld_dlopen=yes
 11.9826 -else
 11.9827 -  echo "$as_me: failed program was:" >&5
 11.9828 -sed 's/^/| /' conftest.$ac_ext >&5
 11.9829 -
 11.9830 -ac_cv_lib_svld_dlopen=no
 11.9831 -fi
 11.9832 -rm -f conftest.err conftest.$ac_objext \
 11.9833 -      conftest$ac_exeext conftest.$ac_ext
 11.9834 -LIBS=$ac_check_lib_save_LIBS
 11.9835 -fi
 11.9836 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 11.9837 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 11.9838 -if test $ac_cv_lib_svld_dlopen = yes; then
 11.9839 -  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 11.9840 -else
 11.9841 -  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 11.9842 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 11.9843 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 11.9844 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.9845 -else
 11.9846 -  ac_check_lib_save_LIBS=$LIBS
 11.9847 -LIBS="-ldld  $LIBS"
 11.9848 -cat >conftest.$ac_ext <<_ACEOF
 11.9849 -/* confdefs.h.  */
 11.9850 -_ACEOF
 11.9851 -cat confdefs.h >>conftest.$ac_ext
 11.9852 -cat >>conftest.$ac_ext <<_ACEOF
 11.9853 -/* end confdefs.h.  */
 11.9854 -
 11.9855 -/* Override any gcc2 internal prototype to avoid an error.  */
 11.9856 -#ifdef __cplusplus
 11.9857 -extern "C"
 11.9858 -#endif
 11.9859 -/* We use char because int might match the return type of a gcc2
 11.9860 -   builtin and then its argument prototype would still apply.  */
 11.9861 -char dld_link ();
 11.9862 -int
 11.9863 -main ()
 11.9864 -{
 11.9865 -dld_link ();
 11.9866 -  ;
 11.9867 -  return 0;
 11.9868 -}
 11.9869 -_ACEOF
 11.9870 -rm -f conftest.$ac_objext conftest$ac_exeext
 11.9871 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 11.9872 -  (eval $ac_link) 2>conftest.er1
 11.9873 -  ac_status=$?
 11.9874 -  grep -v '^ *+' conftest.er1 >conftest.err
 11.9875 -  rm -f conftest.er1
 11.9876 -  cat conftest.err >&5
 11.9877 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.9878 -  (exit $ac_status); } &&
 11.9879 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 11.9880 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.9881 -  (eval $ac_try) 2>&5
 11.9882 -  ac_status=$?
 11.9883 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.9884 -  (exit $ac_status); }; } &&
 11.9885 -	 { ac_try='test -s conftest$ac_exeext'
 11.9886 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 11.9887 -  (eval $ac_try) 2>&5
 11.9888 -  ac_status=$?
 11.9889 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11.9890 -  (exit $ac_status); }; }; then
 11.9891 -  ac_cv_lib_dld_dld_link=yes
 11.9892 -else
 11.9893 -  echo "$as_me: failed program was:" >&5
 11.9894 -sed 's/^/| /' conftest.$ac_ext >&5
 11.9895 -
 11.9896 -ac_cv_lib_dld_dld_link=no
 11.9897 -fi
 11.9898 -rm -f conftest.err conftest.$ac_objext \
 11.9899 -      conftest$ac_exeext conftest.$ac_ext
 11.9900 -LIBS=$ac_check_lib_save_LIBS
 11.9901 -fi
 11.9902 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 11.9903 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 11.9904 -if test $ac_cv_lib_dld_dld_link = yes; then
 11.9905 -  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 11.9906 -fi
 11.9907 -
 11.9908 -
 11.9909 -fi
 11.9910 -
 11.9911 -
 11.9912 -fi
 11.9913 -
 11.9914 -
 11.9915 -fi
 11.9916 -
 11.9917 -
 11.9918 -fi
 11.9919 -
 11.9920 -
 11.9921 -fi
 11.9922 -
 11.9923 -    ;;
 11.9924 -  esac
 11.9925 -
 11.9926 -  if test "x$lt_cv_dlopen" != xno; then
 11.9927 -    enable_dlopen=yes
 11.9928 -  else
 11.9929 -    enable_dlopen=no
 11.9930 -  fi
 11.9931 -
 11.9932 -  case $lt_cv_dlopen in
 11.9933 -  dlopen)
 11.9934 -    save_CPPFLAGS="$CPPFLAGS"
 11.9935 -    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 11.9936 -
 11.9937 -    save_LDFLAGS="$LDFLAGS"
 11.9938 -    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 11.9939 -
 11.9940 -    save_LIBS="$LIBS"
 11.9941 -    LIBS="$lt_cv_dlopen_libs $LIBS"
 11.9942 -
 11.9943 -    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 11.9944 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 11.9945 -if test "${lt_cv_dlopen_self+set}" = set; then
 11.9946 -  echo $ECHO_N "(cached) $ECHO_C" >&6
 11.9947 -else
 11.9948 -  	  if test "$cross_compiling" = yes; then :
 11.9949 -  lt_cv_dlopen_self=cross
 11.9950 -else
 11.9951 -  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 11.9952 -  lt_status=$lt_dlunknown
 11.9953 -  cat > conftest.$ac_ext <<_LT_EOF
 11.9954 -#line 9951 "configure"
 11.9955 -#include "confdefs.h"
 11.9956 -
 11.9957 -#if HAVE_DLFCN_H
 11.9958 -#include <dlfcn.h>
 11.9959 -#endif
 11.9960 -
 11.9961 -#include <stdio.h>
 11.9962 -
 11.9963 -#ifdef RTLD_GLOBAL
 11.9964 -#  define LT_DLGLOBAL		RTLD_GLOBAL
 11.9965 -#else
 11.9966 -#  ifdef DL_GLOBAL
 11.9967 -#    define LT_DLGLOBAL		DL_GLOBAL
 11.9968 -#  else
 11.9969 -#    define LT_DLGLOBAL		0
 11.9970 -#  endif
 11.9971 -#endif
 11.9972 -
 11.9973 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 11.9974 -   find out it does not work in some platform. */
 11.9975 -#ifndef LT_DLLAZY_OR_NOW
 11.9976 -#  ifdef RTLD_LAZY
 11.9977 -#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
 11.9978 -#  else
 11.9979 -#    ifdef DL_LAZY
 11.9980 -#      define LT_DLLAZY_OR_NOW		DL_LAZY
 11.9981 -#    else
 11.9982 -#      ifdef RTLD_NOW
 11.9983 -#        define LT_DLLAZY_OR_NOW	RTLD_NOW
 11.9984 -#      else
 11.9985 -#        ifdef DL_NOW
 11.9986 -#          define LT_DLLAZY_OR_NOW	DL_NOW
 11.9987 -#        else
 11.9988 -#          define LT_DLLAZY_OR_NOW	0
 11.9989 -#        endif
 11.9990 -#      endif
 11.9991 -#    endif
 11.9992 -#  endif
 11.9993 -#endif
 11.9994 -
 11.9995 -#ifdef __cplusplus
 11.9996 -extern "C" void exit (int);
 11.9997 -#endif
 11.9998 -
 11.9999 -void fnord() { int i=42;}
11.10000 -int main ()
11.10001 -{
11.10002 -  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11.10003 -  int status = $lt_dlunknown;
11.10004 -
11.10005 -  if (self)
11.10006 -    {
11.10007 -      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11.10008 -      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11.10009 -      /* dlclose (self); */
11.10010 -    }
11.10011 -  else
11.10012 -    puts (dlerror ());
11.10013 -
11.10014 -    exit (status);
11.10015 -}
11.10016 -_LT_EOF
11.10017 -  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11.10018 -  (eval $ac_link) 2>&5
11.10019 -  ac_status=$?
11.10020 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.10021 -  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11.10022 -    (./conftest; exit; ) >&5 2>/dev/null
11.10023 -    lt_status=$?
11.10024 -    case x$lt_status in
11.10025 -      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11.10026 -      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11.10027 -      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11.10028 -    esac
11.10029 -  else :
11.10030 -    # compilation failed
11.10031 -    lt_cv_dlopen_self=no
11.10032 -  fi
11.10033 -fi
11.10034 -rm -fr conftest*
11.10035 -
11.10036 -
11.10037 -fi
11.10038 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11.10039 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
11.10040 -
11.10041 -    if test "x$lt_cv_dlopen_self" = xyes; then
11.10042 -      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11.10043 -      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11.10044 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
11.10045 -if test "${lt_cv_dlopen_self_static+set}" = set; then
11.10046 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.10047 -else
11.10048 -  	  if test "$cross_compiling" = yes; then :
11.10049 -  lt_cv_dlopen_self_static=cross
11.10050 -else
11.10051 -  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11.10052 -  lt_status=$lt_dlunknown
11.10053 -  cat > conftest.$ac_ext <<_LT_EOF
11.10054 -#line 10051 "configure"
11.10055 -#include "confdefs.h"
11.10056 -
11.10057 -#if HAVE_DLFCN_H
11.10058 -#include <dlfcn.h>
11.10059 -#endif
11.10060 -
11.10061 -#include <stdio.h>
11.10062 -
11.10063 -#ifdef RTLD_GLOBAL
11.10064 -#  define LT_DLGLOBAL		RTLD_GLOBAL
11.10065 -#else
11.10066 -#  ifdef DL_GLOBAL
11.10067 -#    define LT_DLGLOBAL		DL_GLOBAL
11.10068 -#  else
11.10069 -#    define LT_DLGLOBAL		0
11.10070 -#  endif
11.10071 -#endif
11.10072 -
11.10073 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11.10074 -   find out it does not work in some platform. */
11.10075 -#ifndef LT_DLLAZY_OR_NOW
11.10076 -#  ifdef RTLD_LAZY
11.10077 -#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11.10078 -#  else
11.10079 -#    ifdef DL_LAZY
11.10080 -#      define LT_DLLAZY_OR_NOW		DL_LAZY
11.10081 -#    else
11.10082 -#      ifdef RTLD_NOW
11.10083 -#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11.10084 -#      else
11.10085 -#        ifdef DL_NOW
11.10086 -#          define LT_DLLAZY_OR_NOW	DL_NOW
11.10087 -#        else
11.10088 -#          define LT_DLLAZY_OR_NOW	0
11.10089 -#        endif
11.10090 -#      endif
11.10091 -#    endif
11.10092 -#  endif
11.10093 -#endif
11.10094 -
11.10095 -#ifdef __cplusplus
11.10096 -extern "C" void exit (int);
11.10097 -#endif
11.10098 -
11.10099 -void fnord() { int i=42;}
11.10100 -int main ()
11.10101 -{
11.10102 -  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11.10103 -  int status = $lt_dlunknown;
11.10104 -
11.10105 -  if (self)
11.10106 -    {
11.10107 -      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11.10108 -      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11.10109 -      /* dlclose (self); */
11.10110 -    }
11.10111 -  else
11.10112 -    puts (dlerror ());
11.10113 -
11.10114 -    exit (status);
11.10115 -}
11.10116 -_LT_EOF
11.10117 -  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11.10118 -  (eval $ac_link) 2>&5
11.10119 -  ac_status=$?
11.10120 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.10121 -  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11.10122 -    (./conftest; exit; ) >&5 2>/dev/null
11.10123 -    lt_status=$?
11.10124 -    case x$lt_status in
11.10125 -      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11.10126 -      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11.10127 -      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11.10128 -    esac
11.10129 -  else :
11.10130 -    # compilation failed
11.10131 -    lt_cv_dlopen_self_static=no
11.10132 -  fi
11.10133 -fi
11.10134 -rm -fr conftest*
11.10135 -
11.10136 -
11.10137 -fi
11.10138 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11.10139 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
11.10140 -    fi
11.10141 -
11.10142 -    CPPFLAGS="$save_CPPFLAGS"
11.10143 -    LDFLAGS="$save_LDFLAGS"
11.10144 -    LIBS="$save_LIBS"
11.10145 -    ;;
11.10146 -  esac
11.10147 -
11.10148 -  case $lt_cv_dlopen_self in
11.10149 -  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11.10150 -  *) enable_dlopen_self=unknown ;;
11.10151 -  esac
11.10152 -
11.10153 -  case $lt_cv_dlopen_self_static in
11.10154 -  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11.10155 -  *) enable_dlopen_self_static=unknown ;;
11.10156 -  esac
11.10157 -fi
11.10158 -
11.10159 -
11.10160 -
11.10161 -
11.10162 -
11.10163 -
11.10164 -
11.10165 -
11.10166 -
11.10167 -
11.10168 -
11.10169 -
11.10170 -
11.10171 -
11.10172 -
11.10173 -
11.10174 -
11.10175 -striplib=
11.10176 -old_striplib=
11.10177 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11.10178 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11.10179 -if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11.10180 -  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11.10181 -  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11.10182 -  echo "$as_me:$LINENO: result: yes" >&5
11.10183 -echo "${ECHO_T}yes" >&6
11.10184 -else
11.10185 -# FIXME - insert some real tests, host_os isn't really good enough
11.10186 -  case $host_os in
11.10187 -  darwin*)
11.10188 -    if test -n "$STRIP" ; then
11.10189 -      striplib="$STRIP -x"
11.10190 -      old_striplib="$STRIP -S"
11.10191 -      echo "$as_me:$LINENO: result: yes" >&5
11.10192 -echo "${ECHO_T}yes" >&6
11.10193 -    else
11.10194 -      echo "$as_me:$LINENO: result: no" >&5
11.10195 -echo "${ECHO_T}no" >&6
11.10196 -    fi
11.10197 -    ;;
11.10198 -  *)
11.10199 -    echo "$as_me:$LINENO: result: no" >&5
11.10200 -echo "${ECHO_T}no" >&6
11.10201 -    ;;
11.10202 -  esac
11.10203 -fi
11.10204 -
11.10205 -
11.10206 -
11.10207 -
11.10208 -
11.10209 -
11.10210 -
11.10211 -
11.10212 -
11.10213 -
11.10214 -
11.10215 -
11.10216 -  # Report which library types will actually be built
11.10217 -  echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11.10218 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11.10219 -  echo "$as_me:$LINENO: result: $can_build_shared" >&5
11.10220 -echo "${ECHO_T}$can_build_shared" >&6
11.10221 -
11.10222 -  echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11.10223 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11.10224 -  test "$can_build_shared" = "no" && enable_shared=no
11.10225 -
11.10226 -  # On AIX, shared libraries and static libraries use the same namespace, and
11.10227 -  # are all built from PIC.
11.10228 -  case $host_os in
11.10229 -  aix3*)
11.10230 -    test "$enable_shared" = yes && enable_static=no
11.10231 -    if test -n "$RANLIB"; then
11.10232 -      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11.10233 -      postinstall_cmds='$RANLIB $lib'
11.10234 -    fi
11.10235 -    ;;
11.10236 -
11.10237 -  aix[4-9]*)
11.10238 -    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11.10239 -      test "$enable_shared" = yes && enable_static=no
11.10240 -    fi
11.10241 -    ;;
11.10242 -  esac
11.10243 -  echo "$as_me:$LINENO: result: $enable_shared" >&5
11.10244 -echo "${ECHO_T}$enable_shared" >&6
11.10245 -
11.10246 -  echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11.10247 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11.10248 -  # Make sure either enable_shared or enable_static is yes.
11.10249 -  test "$enable_shared" = yes || enable_static=yes
11.10250 -  echo "$as_me:$LINENO: result: $enable_static" >&5
11.10251 -echo "${ECHO_T}$enable_static" >&6
11.10252 -
11.10253 -
11.10254 -
11.10255 -
11.10256 -fi
11.10257 -ac_ext=c
11.10258 -ac_cpp='$CPP $CPPFLAGS'
11.10259 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11.10260 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11.10261 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
11.10262 -
11.10263 -CC="$lt_save_CC"
11.10264 -
11.10265 -
11.10266 -
11.10267 -
11.10268 -
11.10269 -
11.10270 -
11.10271 -
11.10272 -
11.10273 -
11.10274 -
11.10275 -
11.10276 -
11.10277 -                  ac_config_commands="$ac_config_commands libtool"
11.10278 -
11.10279 -
11.10280 -
11.10281 -
11.10282 -# Only expand once:
11.10283 -
11.10284 -
11.10285 -
11.10286 -# Check whether --enable-targets or --disable-targets was given.
11.10287 -if test "${enable_targets+set}" = set; then
11.10288 -  enableval="$enable_targets"
11.10289 -  case "${enableval}" in
11.10290 -  yes | "") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
11.10291 -echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
11.10292 -   { (exit 1); exit 1; }; }
11.10293 -            ;;
11.10294 -  no)       enable_targets= ;;
11.10295 -  *)        enable_targets=$enableval ;;
11.10296 -esac
11.10297 -fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
11.10298 -if test "${enable_commonbfdlib+set}" = set; then
11.10299 -  enableval="$enable_commonbfdlib"
11.10300 -  case "${enableval}" in
11.10301 -  yes) commonbfdlib=true ;;
11.10302 -  no)  commonbfdlib=false ;;
11.10303 -  *)   { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
11.10304 -echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
11.10305 -   { (exit 1); exit 1; }; } ;;
11.10306 -esac
11.10307 -fi;
11.10308 -
11.10309 -GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
11.10310 -
11.10311 -# Check whether --enable-werror or --disable-werror was given.
11.10312 -if test "${enable_werror+set}" = set; then
11.10313 -  enableval="$enable_werror"
11.10314 -  case "${enableval}" in
11.10315 -     yes | y) ERROR_ON_WARNING="yes" ;;
11.10316 -     no | n)  ERROR_ON_WARNING="no" ;;
11.10317 -     *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
11.10318 -echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
11.10319 -   { (exit 1); exit 1; }; } ;;
11.10320 -   esac
11.10321 -fi;
11.10322 -
11.10323 -# Enable -Wno-format by default when using gcc on mingw
11.10324 -case "${host}" in
11.10325 -  *-*-mingw32*)
11.10326 -    if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11.10327 -      GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
11.10328 -    fi
11.10329 -    ;;
11.10330 -  *) ;;
11.10331 -esac
11.10332 -
11.10333 -# Enable -Werror by default when using gcc
11.10334 -if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11.10335 -    ERROR_ON_WARNING=yes
11.10336 -fi
11.10337 -
11.10338 -NO_WERROR=
11.10339 -if test "${ERROR_ON_WARNING}" = yes ; then
11.10340 -    GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
11.10341 -    NO_WERROR="-Wno-error"
11.10342 -fi
11.10343 -
11.10344 -if test "${GCC}" = yes ; then
11.10345 -  WARN_CFLAGS="${GCC_WARN_CFLAGS}"
11.10346 -fi
11.10347 -
11.10348 -# Check whether --enable-build-warnings or --disable-build-warnings was given.
11.10349 -if test "${enable_build_warnings+set}" = set; then
11.10350 -  enableval="$enable_build_warnings"
11.10351 -  case "${enableval}" in
11.10352 -  yes)	WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
11.10353 -  no)	if test "${GCC}" = yes ; then
11.10354 -	  WARN_CFLAGS="-w"
11.10355 -	fi;;
11.10356 -  ,*)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
11.10357 -        WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}";;
11.10358 -  *,)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
11.10359 -        WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
11.10360 -  *)    WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
11.10361 -esac
11.10362 -fi;
11.10363 -
11.10364 -if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
11.10365 -  echo "Setting warning flags = $WARN_CFLAGS" 6>&1
11.10366 -fi
11.10367 -
11.10368 -
11.10369 -
11.10370 -
11.10371 -
11.10372 -          ac_config_headers="$ac_config_headers config.h:config.in"
11.10373 -
11.10374 -
11.10375 -if test -z "$target" ; then
11.10376 -    { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
11.10377 -echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
11.10378 -   { (exit 1); exit 1; }; }
11.10379 -fi
11.10380 -if test -z "$host" ; then
11.10381 -    { { echo "$as_me:$LINENO: error: Unrecognized host system type; please check config.sub." >&5
11.10382 -echo "$as_me: error: Unrecognized host system type; please check config.sub." >&2;}
11.10383 -   { (exit 1); exit 1; }; }
11.10384 -fi
11.10385 -
11.10386 -for ac_prog in 'bison -y' byacc
11.10387 -do
11.10388 -  # Extract the first word of "$ac_prog", so it can be a program name with args.
11.10389 -set dummy $ac_prog; ac_word=$2
11.10390 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11.10391 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11.10392 -if test "${ac_cv_prog_YACC+set}" = set; then
11.10393 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.10394 -else
11.10395 -  if test -n "$YACC"; then
11.10396 -  ac_cv_prog_YACC="$YACC" # Let the user override the test.
11.10397 -else
11.10398 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.10399 -for as_dir in $PATH
11.10400 -do
11.10401 -  IFS=$as_save_IFS
11.10402 -  test -z "$as_dir" && as_dir=.
11.10403 -  for ac_exec_ext in '' $ac_executable_extensions; do
11.10404 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11.10405 -    ac_cv_prog_YACC="$ac_prog"
11.10406 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.10407 -    break 2
11.10408 -  fi
11.10409 -done
11.10410 -done
11.10411 -
11.10412 -fi
11.10413 -fi
11.10414 -YACC=$ac_cv_prog_YACC
11.10415 -if test -n "$YACC"; then
11.10416 -  echo "$as_me:$LINENO: result: $YACC" >&5
11.10417 -echo "${ECHO_T}$YACC" >&6
11.10418 -else
11.10419 -  echo "$as_me:$LINENO: result: no" >&5
11.10420 -echo "${ECHO_T}no" >&6
11.10421 -fi
11.10422 -
11.10423 -  test -n "$YACC" && break
11.10424 -done
11.10425 -test -n "$YACC" || YACC="yacc"
11.10426 -
11.10427 -for ac_prog in flex lex
11.10428 -do
11.10429 -  # Extract the first word of "$ac_prog", so it can be a program name with args.
11.10430 -set dummy $ac_prog; ac_word=$2
11.10431 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11.10432 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11.10433 -if test "${ac_cv_prog_LEX+set}" = set; then
11.10434 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.10435 -else
11.10436 -  if test -n "$LEX"; then
11.10437 -  ac_cv_prog_LEX="$LEX" # Let the user override the test.
11.10438 -else
11.10439 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.10440 -for as_dir in $PATH
11.10441 -do
11.10442 -  IFS=$as_save_IFS
11.10443 -  test -z "$as_dir" && as_dir=.
11.10444 -  for ac_exec_ext in '' $ac_executable_extensions; do
11.10445 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11.10446 -    ac_cv_prog_LEX="$ac_prog"
11.10447 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.10448 -    break 2
11.10449 -  fi
11.10450 -done
11.10451 -done
11.10452 -
11.10453 -fi
11.10454 -fi
11.10455 -LEX=$ac_cv_prog_LEX
11.10456 -if test -n "$LEX"; then
11.10457 -  echo "$as_me:$LINENO: result: $LEX" >&5
11.10458 -echo "${ECHO_T}$LEX" >&6
11.10459 -else
11.10460 -  echo "$as_me:$LINENO: result: no" >&5
11.10461 -echo "${ECHO_T}no" >&6
11.10462 -fi
11.10463 -
11.10464 -  test -n "$LEX" && break
11.10465 -done
11.10466 -test -n "$LEX" || LEX=":"
11.10467 -
11.10468 -if test -z "$LEXLIB"
11.10469 -then
11.10470 -  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
11.10471 -echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
11.10472 -if test "${ac_cv_lib_fl_yywrap+set}" = set; then
11.10473 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.10474 -else
11.10475 -  ac_check_lib_save_LIBS=$LIBS
11.10476 -LIBS="-lfl  $LIBS"
11.10477 -cat >conftest.$ac_ext <<_ACEOF
11.10478 -/* confdefs.h.  */
11.10479 -_ACEOF
11.10480 -cat confdefs.h >>conftest.$ac_ext
11.10481 -cat >>conftest.$ac_ext <<_ACEOF
11.10482 -/* end confdefs.h.  */
11.10483 -
11.10484 -/* Override any gcc2 internal prototype to avoid an error.  */
11.10485 -#ifdef __cplusplus
11.10486 -extern "C"
11.10487 -#endif
11.10488 -/* We use char because int might match the return type of a gcc2
11.10489 -   builtin and then its argument prototype would still apply.  */
11.10490 -char yywrap ();
11.10491 -int
11.10492 -main ()
11.10493 -{
11.10494 -yywrap ();
11.10495 -  ;
11.10496 -  return 0;
11.10497 -}
11.10498 -_ACEOF
11.10499 -rm -f conftest.$ac_objext conftest$ac_exeext
11.10500 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11.10501 -  (eval $ac_link) 2>conftest.er1
11.10502 -  ac_status=$?
11.10503 -  grep -v '^ *+' conftest.er1 >conftest.err
11.10504 -  rm -f conftest.er1
11.10505 -  cat conftest.err >&5
11.10506 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.10507 -  (exit $ac_status); } &&
11.10508 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.10509 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.10510 -  (eval $ac_try) 2>&5
11.10511 -  ac_status=$?
11.10512 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.10513 -  (exit $ac_status); }; } &&
11.10514 -	 { ac_try='test -s conftest$ac_exeext'
11.10515 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.10516 -  (eval $ac_try) 2>&5
11.10517 -  ac_status=$?
11.10518 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.10519 -  (exit $ac_status); }; }; then
11.10520 -  ac_cv_lib_fl_yywrap=yes
11.10521 -else
11.10522 -  echo "$as_me: failed program was:" >&5
11.10523 -sed 's/^/| /' conftest.$ac_ext >&5
11.10524 -
11.10525 -ac_cv_lib_fl_yywrap=no
11.10526 -fi
11.10527 -rm -f conftest.err conftest.$ac_objext \
11.10528 -      conftest$ac_exeext conftest.$ac_ext
11.10529 -LIBS=$ac_check_lib_save_LIBS
11.10530 -fi
11.10531 -echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
11.10532 -echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
11.10533 -if test $ac_cv_lib_fl_yywrap = yes; then
11.10534 -  LEXLIB="-lfl"
11.10535 -else
11.10536 -  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
11.10537 -echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
11.10538 -if test "${ac_cv_lib_l_yywrap+set}" = set; then
11.10539 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.10540 -else
11.10541 -  ac_check_lib_save_LIBS=$LIBS
11.10542 -LIBS="-ll  $LIBS"
11.10543 -cat >conftest.$ac_ext <<_ACEOF
11.10544 -/* confdefs.h.  */
11.10545 -_ACEOF
11.10546 -cat confdefs.h >>conftest.$ac_ext
11.10547 -cat >>conftest.$ac_ext <<_ACEOF
11.10548 -/* end confdefs.h.  */
11.10549 -
11.10550 -/* Override any gcc2 internal prototype to avoid an error.  */
11.10551 -#ifdef __cplusplus
11.10552 -extern "C"
11.10553 -#endif
11.10554 -/* We use char because int might match the return type of a gcc2
11.10555 -   builtin and then its argument prototype would still apply.  */
11.10556 -char yywrap ();
11.10557 -int
11.10558 -main ()
11.10559 -{
11.10560 -yywrap ();
11.10561 -  ;
11.10562 -  return 0;
11.10563 -}
11.10564 -_ACEOF
11.10565 -rm -f conftest.$ac_objext conftest$ac_exeext
11.10566 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11.10567 -  (eval $ac_link) 2>conftest.er1
11.10568 -  ac_status=$?
11.10569 -  grep -v '^ *+' conftest.er1 >conftest.err
11.10570 -  rm -f conftest.er1
11.10571 -  cat conftest.err >&5
11.10572 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.10573 -  (exit $ac_status); } &&
11.10574 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.10575 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.10576 -  (eval $ac_try) 2>&5
11.10577 -  ac_status=$?
11.10578 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.10579 -  (exit $ac_status); }; } &&
11.10580 -	 { ac_try='test -s conftest$ac_exeext'
11.10581 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.10582 -  (eval $ac_try) 2>&5
11.10583 -  ac_status=$?
11.10584 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.10585 -  (exit $ac_status); }; }; then
11.10586 -  ac_cv_lib_l_yywrap=yes
11.10587 -else
11.10588 -  echo "$as_me: failed program was:" >&5
11.10589 -sed 's/^/| /' conftest.$ac_ext >&5
11.10590 -
11.10591 -ac_cv_lib_l_yywrap=no
11.10592 -fi
11.10593 -rm -f conftest.err conftest.$ac_objext \
11.10594 -      conftest$ac_exeext conftest.$ac_ext
11.10595 -LIBS=$ac_check_lib_save_LIBS
11.10596 -fi
11.10597 -echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
11.10598 -echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
11.10599 -if test $ac_cv_lib_l_yywrap = yes; then
11.10600 -  LEXLIB="-ll"
11.10601 -fi
11.10602 -
11.10603 -fi
11.10604 -
11.10605 -fi
11.10606 -
11.10607 -if test "x$LEX" != "x:"; then
11.10608 -  echo "$as_me:$LINENO: checking lex output file root" >&5
11.10609 -echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
11.10610 -if test "${ac_cv_prog_lex_root+set}" = set; then
11.10611 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.10612 -else
11.10613 -  # The minimal lex program is just a single line: %%.  But some broken lexes
11.10614 -# (Solaris, I think it was) want two %% lines, so accommodate them.
11.10615 -cat >conftest.l <<_ACEOF
11.10616 -%%
11.10617 -%%
11.10618 -_ACEOF
11.10619 -{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
11.10620 -  (eval $LEX conftest.l) 2>&5
11.10621 -  ac_status=$?
11.10622 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.10623 -  (exit $ac_status); }
11.10624 -if test -f lex.yy.c; then
11.10625 -  ac_cv_prog_lex_root=lex.yy
11.10626 -elif test -f lexyy.c; then
11.10627 -  ac_cv_prog_lex_root=lexyy
11.10628 -else
11.10629 -  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
11.10630 -echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
11.10631 -   { (exit 1); exit 1; }; }
11.10632 -fi
11.10633 -fi
11.10634 -echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
11.10635 -echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
11.10636 -rm -f conftest.l
11.10637 -LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
11.10638 -
11.10639 -echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
11.10640 -echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
11.10641 -if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
11.10642 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.10643 -else
11.10644 -  # POSIX says lex can declare yytext either as a pointer or an array; the
11.10645 -# default is implementation-dependent. Figure out which it is, since
11.10646 -# not all implementations provide the %pointer and %array declarations.
11.10647 -ac_cv_prog_lex_yytext_pointer=no
11.10648 -echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
11.10649 -ac_save_LIBS=$LIBS
11.10650 -LIBS="$LIBS $LEXLIB"
11.10651 -cat >conftest.$ac_ext <<_ACEOF
11.10652 -`cat $LEX_OUTPUT_ROOT.c`
11.10653 -_ACEOF
11.10654 -rm -f conftest.$ac_objext conftest$ac_exeext
11.10655 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11.10656 -  (eval $ac_link) 2>conftest.er1
11.10657 -  ac_status=$?
11.10658 -  grep -v '^ *+' conftest.er1 >conftest.err
11.10659 -  rm -f conftest.er1
11.10660 -  cat conftest.err >&5
11.10661 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.10662 -  (exit $ac_status); } &&
11.10663 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.10664 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.10665 -  (eval $ac_try) 2>&5
11.10666 -  ac_status=$?
11.10667 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.10668 -  (exit $ac_status); }; } &&
11.10669 -	 { ac_try='test -s conftest$ac_exeext'
11.10670 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.10671 -  (eval $ac_try) 2>&5
11.10672 -  ac_status=$?
11.10673 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.10674 -  (exit $ac_status); }; }; then
11.10675 -  ac_cv_prog_lex_yytext_pointer=yes
11.10676 -else
11.10677 -  echo "$as_me: failed program was:" >&5
11.10678 -sed 's/^/| /' conftest.$ac_ext >&5
11.10679 -
11.10680 -fi
11.10681 -rm -f conftest.err conftest.$ac_objext \
11.10682 -      conftest$ac_exeext conftest.$ac_ext
11.10683 -LIBS=$ac_save_LIBS
11.10684 -rm -f "${LEX_OUTPUT_ROOT}.c"
11.10685 -
11.10686 -fi
11.10687 -echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
11.10688 -echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
11.10689 -if test $ac_cv_prog_lex_yytext_pointer = yes; then
11.10690 -
11.10691 -cat >>confdefs.h <<\_ACEOF
11.10692 -#define YYTEXT_POINTER 1
11.10693 -_ACEOF
11.10694 -
11.10695 -fi
11.10696 -
11.10697 -fi
11.10698 -if test "$LEX" = :; then
11.10699 -  LEX=${am_missing_run}flex
11.10700 -fi
11.10701 -
11.10702 -ALL_LINGUAS="fr tr ja es sv da zh_CN ru ro rw zh_TW fi vi uk sk"
11.10703 -# If we haven't got the data from the intl directory,
11.10704 -# assume NLS is disabled.
11.10705 -USE_NLS=no
11.10706 -LIBINTL=
11.10707 -LIBINTL_DEP=
11.10708 -INCINTL=
11.10709 -XGETTEXT=
11.10710 -GMSGFMT=
11.10711 -POSUB=
11.10712 -
11.10713 -if test -f  ../intl/config.intl; then
11.10714 -  .  ../intl/config.intl
11.10715 -fi
11.10716 -echo "$as_me:$LINENO: checking whether NLS is requested" >&5
11.10717 -echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
11.10718 -if test x"$USE_NLS" != xyes; then
11.10719 -  echo "$as_me:$LINENO: result: no" >&5
11.10720 -echo "${ECHO_T}no" >&6
11.10721 -else
11.10722 -  echo "$as_me:$LINENO: result: yes" >&5
11.10723 -echo "${ECHO_T}yes" >&6
11.10724 -
11.10725 -cat >>confdefs.h <<\_ACEOF
11.10726 -#define ENABLE_NLS 1
11.10727 -_ACEOF
11.10728 -
11.10729 -
11.10730 -  echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
11.10731 -echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
11.10732 -  # Look for .po and .gmo files in the source directory.
11.10733 -  CATALOGS=
11.10734 -  XLINGUAS=
11.10735 -  for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
11.10736 -    # If there aren't any .gmo files the shell will give us the
11.10737 -    # literal string "../path/to/srcdir/po/*.gmo" which has to be
11.10738 -    # weeded out.
11.10739 -    case "$cat" in *\**)
11.10740 -      continue;;
11.10741 -    esac
11.10742 -    # The quadruple backslash is collapsed to a double backslash
11.10743 -    # by the backticks, then collapsed again by the double quotes,
11.10744 -    # leaving us with one backslash in the sed expression (right
11.10745 -    # before the dot that mustn't act as a wildcard).
11.10746 -    cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
11.10747 -    lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
11.10748 -    # The user is allowed to set LINGUAS to a list of languages to
11.10749 -    # install catalogs for.  If it's empty that means "all of them."
11.10750 -    if test "x$LINGUAS" = x; then
11.10751 -      CATALOGS="$CATALOGS $cat"
11.10752 -      XLINGUAS="$XLINGUAS $lang"
11.10753 -    else
11.10754 -      case "$LINGUAS" in *$lang*)
11.10755 -        CATALOGS="$CATALOGS $cat"
11.10756 -        XLINGUAS="$XLINGUAS $lang"
11.10757 -        ;;
11.10758 -      esac
11.10759 -    fi
11.10760 -  done
11.10761 -  LINGUAS="$XLINGUAS"
11.10762 -  echo "$as_me:$LINENO: result: $LINGUAS" >&5
11.10763 -echo "${ECHO_T}$LINGUAS" >&6
11.10764 -
11.10765 -
11.10766 -    DATADIRNAME=share
11.10767 -
11.10768 -  INSTOBJEXT=.mo
11.10769 -
11.10770 -  GENCAT=gencat
11.10771 -
11.10772 -  CATOBJEXT=.gmo
11.10773 -
11.10774 -fi
11.10775 -
11.10776 -        MKINSTALLDIRS=
11.10777 -  if test -n "$ac_aux_dir"; then
11.10778 -    case "$ac_aux_dir" in
11.10779 -      /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
11.10780 -      *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
11.10781 -    esac
11.10782 -  fi
11.10783 -  if test -z "$MKINSTALLDIRS"; then
11.10784 -    MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
11.10785 -  fi
11.10786 -
11.10787 -
11.10788 -
11.10789 -  echo "$as_me:$LINENO: checking whether NLS is requested" >&5
11.10790 -echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
11.10791 -    # Check whether --enable-nls or --disable-nls was given.
11.10792 -if test "${enable_nls+set}" = set; then
11.10793 -  enableval="$enable_nls"
11.10794 -  USE_NLS=$enableval
11.10795 -else
11.10796 -  USE_NLS=yes
11.10797 -fi;
11.10798 -  echo "$as_me:$LINENO: result: $USE_NLS" >&5
11.10799 -echo "${ECHO_T}$USE_NLS" >&6
11.10800 -
11.10801 -
11.10802 -
11.10803 -
11.10804 -
11.10805 -
11.10806 -# Prepare PATH_SEPARATOR.
11.10807 -# The user is always right.
11.10808 -if test "${PATH_SEPARATOR+set}" != set; then
11.10809 -  echo "#! /bin/sh" >conf$$.sh
11.10810 -  echo  "exit 0"   >>conf$$.sh
11.10811 -  chmod +x conf$$.sh
11.10812 -  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11.10813 -    PATH_SEPARATOR=';'
11.10814 -  else
11.10815 -    PATH_SEPARATOR=:
11.10816 -  fi
11.10817 -  rm -f conf$$.sh
11.10818 -fi
11.10819 -
11.10820 -# Find out how to test for executable files. Don't use a zero-byte file,
11.10821 -# as systems may use methods other than mode bits to determine executability.
11.10822 -cat >conf$$.file <<_ASEOF
11.10823 -#! /bin/sh
11.10824 -exit 0
11.10825 -_ASEOF
11.10826 -chmod +x conf$$.file
11.10827 -if test -x conf$$.file >/dev/null 2>&1; then
11.10828 -  ac_executable_p="test -x"
11.10829 -else
11.10830 -  ac_executable_p="test -f"
11.10831 -fi
11.10832 -rm -f conf$$.file
11.10833 -
11.10834 -# Extract the first word of "msgfmt", so it can be a program name with args.
11.10835 -set dummy msgfmt; ac_word=$2
11.10836 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11.10837 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11.10838 -if test "${ac_cv_path_MSGFMT+set}" = set; then
11.10839 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.10840 -else
11.10841 -  case "$MSGFMT" in
11.10842 -  [\\/]* | ?:[\\/]*)
11.10843 -    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
11.10844 -    ;;
11.10845 -  *)
11.10846 -    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11.10847 -    for ac_dir in $PATH; do
11.10848 -      IFS="$ac_save_IFS"
11.10849 -      test -z "$ac_dir" && ac_dir=.
11.10850 -      for ac_exec_ext in '' $ac_executable_extensions; do
11.10851 -        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11.10852 -          if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
11.10853 -     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11.10854 -            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
11.10855 -            break 2
11.10856 -          fi
11.10857 -        fi
11.10858 -      done
11.10859 -    done
11.10860 -    IFS="$ac_save_IFS"
11.10861 -  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
11.10862 -    ;;
11.10863 -esac
11.10864 -fi
11.10865 -MSGFMT="$ac_cv_path_MSGFMT"
11.10866 -if test "$MSGFMT" != ":"; then
11.10867 -  echo "$as_me:$LINENO: result: $MSGFMT" >&5
11.10868 -echo "${ECHO_T}$MSGFMT" >&6
11.10869 -else
11.10870 -  echo "$as_me:$LINENO: result: no" >&5
11.10871 -echo "${ECHO_T}no" >&6
11.10872 -fi
11.10873 -
11.10874 -  # Extract the first word of "gmsgfmt", so it can be a program name with args.
11.10875 -set dummy gmsgfmt; ac_word=$2
11.10876 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11.10877 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11.10878 -if test "${ac_cv_path_GMSGFMT+set}" = set; then
11.10879 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.10880 -else
11.10881 -  case $GMSGFMT in
11.10882 -  [\\/]* | ?:[\\/]*)
11.10883 -  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
11.10884 -  ;;
11.10885 -  *)
11.10886 -  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.10887 -for as_dir in $PATH
11.10888 -do
11.10889 -  IFS=$as_save_IFS
11.10890 -  test -z "$as_dir" && as_dir=.
11.10891 -  for ac_exec_ext in '' $ac_executable_extensions; do
11.10892 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11.10893 -    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11.10894 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.10895 -    break 2
11.10896 -  fi
11.10897 -done
11.10898 -done
11.10899 -
11.10900 -  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11.10901 -  ;;
11.10902 -esac
11.10903 -fi
11.10904 -GMSGFMT=$ac_cv_path_GMSGFMT
11.10905 -
11.10906 -if test -n "$GMSGFMT"; then
11.10907 -  echo "$as_me:$LINENO: result: $GMSGFMT" >&5
11.10908 -echo "${ECHO_T}$GMSGFMT" >&6
11.10909 -else
11.10910 -  echo "$as_me:$LINENO: result: no" >&5
11.10911 -echo "${ECHO_T}no" >&6
11.10912 -fi
11.10913 -
11.10914 -
11.10915 -
11.10916 -# Prepare PATH_SEPARATOR.
11.10917 -# The user is always right.
11.10918 -if test "${PATH_SEPARATOR+set}" != set; then
11.10919 -  echo "#! /bin/sh" >conf$$.sh
11.10920 -  echo  "exit 0"   >>conf$$.sh
11.10921 -  chmod +x conf$$.sh
11.10922 -  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11.10923 -    PATH_SEPARATOR=';'
11.10924 -  else
11.10925 -    PATH_SEPARATOR=:
11.10926 -  fi
11.10927 -  rm -f conf$$.sh
11.10928 -fi
11.10929 -
11.10930 -# Find out how to test for executable files. Don't use a zero-byte file,
11.10931 -# as systems may use methods other than mode bits to determine executability.
11.10932 -cat >conf$$.file <<_ASEOF
11.10933 -#! /bin/sh
11.10934 -exit 0
11.10935 -_ASEOF
11.10936 -chmod +x conf$$.file
11.10937 -if test -x conf$$.file >/dev/null 2>&1; then
11.10938 -  ac_executable_p="test -x"
11.10939 -else
11.10940 -  ac_executable_p="test -f"
11.10941 -fi
11.10942 -rm -f conf$$.file
11.10943 -
11.10944 -# Extract the first word of "xgettext", so it can be a program name with args.
11.10945 -set dummy xgettext; ac_word=$2
11.10946 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11.10947 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11.10948 -if test "${ac_cv_path_XGETTEXT+set}" = set; then
11.10949 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.10950 -else
11.10951 -  case "$XGETTEXT" in
11.10952 -  [\\/]* | ?:[\\/]*)
11.10953 -    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11.10954 -    ;;
11.10955 -  *)
11.10956 -    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11.10957 -    for ac_dir in $PATH; do
11.10958 -      IFS="$ac_save_IFS"
11.10959 -      test -z "$ac_dir" && ac_dir=.
11.10960 -      for ac_exec_ext in '' $ac_executable_extensions; do
11.10961 -        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11.10962 -          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
11.10963 -     (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11.10964 -            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
11.10965 -            break 2
11.10966 -          fi
11.10967 -        fi
11.10968 -      done
11.10969 -    done
11.10970 -    IFS="$ac_save_IFS"
11.10971 -  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
11.10972 -    ;;
11.10973 -esac
11.10974 -fi
11.10975 -XGETTEXT="$ac_cv_path_XGETTEXT"
11.10976 -if test "$XGETTEXT" != ":"; then
11.10977 -  echo "$as_me:$LINENO: result: $XGETTEXT" >&5
11.10978 -echo "${ECHO_T}$XGETTEXT" >&6
11.10979 -else
11.10980 -  echo "$as_me:$LINENO: result: no" >&5
11.10981 -echo "${ECHO_T}no" >&6
11.10982 -fi
11.10983 -
11.10984 -    rm -f messages.po
11.10985 -
11.10986 -
11.10987 -# Prepare PATH_SEPARATOR.
11.10988 -# The user is always right.
11.10989 -if test "${PATH_SEPARATOR+set}" != set; then
11.10990 -  echo "#! /bin/sh" >conf$$.sh
11.10991 -  echo  "exit 0"   >>conf$$.sh
11.10992 -  chmod +x conf$$.sh
11.10993 -  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11.10994 -    PATH_SEPARATOR=';'
11.10995 -  else
11.10996 -    PATH_SEPARATOR=:
11.10997 -  fi
11.10998 -  rm -f conf$$.sh
11.10999 -fi
11.11000 -
11.11001 -# Find out how to test for executable files. Don't use a zero-byte file,
11.11002 -# as systems may use methods other than mode bits to determine executability.
11.11003 -cat >conf$$.file <<_ASEOF
11.11004 -#! /bin/sh
11.11005 -exit 0
11.11006 -_ASEOF
11.11007 -chmod +x conf$$.file
11.11008 -if test -x conf$$.file >/dev/null 2>&1; then
11.11009 -  ac_executable_p="test -x"
11.11010 -else
11.11011 -  ac_executable_p="test -f"
11.11012 -fi
11.11013 -rm -f conf$$.file
11.11014 -
11.11015 -# Extract the first word of "msgmerge", so it can be a program name with args.
11.11016 -set dummy msgmerge; ac_word=$2
11.11017 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11.11018 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11.11019 -if test "${ac_cv_path_MSGMERGE+set}" = set; then
11.11020 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.11021 -else
11.11022 -  case "$MSGMERGE" in
11.11023 -  [\\/]* | ?:[\\/]*)
11.11024 -    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
11.11025 -    ;;
11.11026 -  *)
11.11027 -    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11.11028 -    for ac_dir in $PATH; do
11.11029 -      IFS="$ac_save_IFS"
11.11030 -      test -z "$ac_dir" && ac_dir=.
11.11031 -      for ac_exec_ext in '' $ac_executable_extensions; do
11.11032 -        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11.11033 -          if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
11.11034 -            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
11.11035 -            break 2
11.11036 -          fi
11.11037 -        fi
11.11038 -      done
11.11039 -    done
11.11040 -    IFS="$ac_save_IFS"
11.11041 -  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
11.11042 -    ;;
11.11043 -esac
11.11044 -fi
11.11045 -MSGMERGE="$ac_cv_path_MSGMERGE"
11.11046 -if test "$MSGMERGE" != ":"; then
11.11047 -  echo "$as_me:$LINENO: result: $MSGMERGE" >&5
11.11048 -echo "${ECHO_T}$MSGMERGE" >&6
11.11049 -else
11.11050 -  echo "$as_me:$LINENO: result: no" >&5
11.11051 -echo "${ECHO_T}no" >&6
11.11052 -fi
11.11053 -
11.11054 -
11.11055 -      if test "$GMSGFMT" != ":"; then
11.11056 -            if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
11.11057 -       (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11.11058 -      : ;
11.11059 -    else
11.11060 -      GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
11.11061 -      echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
11.11062 -echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
11.11063 -      GMSGFMT=":"
11.11064 -    fi
11.11065 -  fi
11.11066 -
11.11067 -      if test "$XGETTEXT" != ":"; then
11.11068 -            if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
11.11069 -       (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11.11070 -      : ;
11.11071 -    else
11.11072 -      echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
11.11073 -echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
11.11074 -      XGETTEXT=":"
11.11075 -    fi
11.11076 -        rm -f messages.po
11.11077 -  fi
11.11078 -
11.11079 -            ac_config_commands="$ac_config_commands default-1"
11.11080 -
11.11081 -
11.11082 -
11.11083 -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
11.11084 -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
11.11085 -    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
11.11086 -if test "${enable_maintainer_mode+set}" = set; then
11.11087 -  enableval="$enable_maintainer_mode"
11.11088 -  USE_MAINTAINER_MODE=$enableval
11.11089 -else
11.11090 -  USE_MAINTAINER_MODE=no
11.11091 -fi;
11.11092 -  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
11.11093 -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
11.11094 -
11.11095 -
11.11096 -if test $USE_MAINTAINER_MODE = yes; then
11.11097 -  MAINTAINER_MODE_TRUE=
11.11098 -  MAINTAINER_MODE_FALSE='#'
11.11099 -else
11.11100 -  MAINTAINER_MODE_TRUE='#'
11.11101 -  MAINTAINER_MODE_FALSE=
11.11102 -fi
11.11103 -
11.11104 -  MAINT=$MAINTAINER_MODE_TRUE
11.11105 -
11.11106 -
11.11107 -
11.11108 -
11.11109 -if false; then
11.11110 -  GENINSRC_NEVER_TRUE=
11.11111 -  GENINSRC_NEVER_FALSE='#'
11.11112 -else
11.11113 -  GENINSRC_NEVER_TRUE='#'
11.11114 -  GENINSRC_NEVER_FALSE=
11.11115 -fi
11.11116 -
11.11117 -
11.11118 -if test -n "$EXEEXT"; then
11.11119 -
11.11120 -cat >>confdefs.h <<\_ACEOF
11.11121 -#define HAVE_EXECUTABLE_SUFFIX 1
11.11122 -_ACEOF
11.11123 -
11.11124 -fi
11.11125 -
11.11126 -cat >>confdefs.h <<_ACEOF
11.11127 -#define EXECUTABLE_SUFFIX "${EXEEXT}"
11.11128 -_ACEOF
11.11129 -
11.11130 -
11.11131 -# host-specific stuff:
11.11132 -
11.11133 -HDEFINES=
11.11134 -
11.11135 -. ${srcdir}/../bfd/configure.host
11.11136 -
11.11137 -
11.11138 -AR=${AR-ar}
11.11139 -
11.11140 -if test -n "$ac_tool_prefix"; then
11.11141 -  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11.11142 -set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11.11143 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11.11144 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11.11145 -if test "${ac_cv_prog_RANLIB+set}" = set; then
11.11146 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.11147 -else
11.11148 -  if test -n "$RANLIB"; then
11.11149 -  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11.11150 -else
11.11151 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.11152 -for as_dir in $PATH
11.11153 -do
11.11154 -  IFS=$as_save_IFS
11.11155 -  test -z "$as_dir" && as_dir=.
11.11156 -  for ac_exec_ext in '' $ac_executable_extensions; do
11.11157 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11.11158 -    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11.11159 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.11160 -    break 2
11.11161 -  fi
11.11162 -done
11.11163 -done
11.11164 -
11.11165 -fi
11.11166 -fi
11.11167 -RANLIB=$ac_cv_prog_RANLIB
11.11168 -if test -n "$RANLIB"; then
11.11169 -  echo "$as_me:$LINENO: result: $RANLIB" >&5
11.11170 -echo "${ECHO_T}$RANLIB" >&6
11.11171 -else
11.11172 -  echo "$as_me:$LINENO: result: no" >&5
11.11173 -echo "${ECHO_T}no" >&6
11.11174 -fi
11.11175 -
11.11176 -fi
11.11177 -if test -z "$ac_cv_prog_RANLIB"; then
11.11178 -  ac_ct_RANLIB=$RANLIB
11.11179 -  # Extract the first word of "ranlib", so it can be a program name with args.
11.11180 -set dummy ranlib; ac_word=$2
11.11181 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11.11182 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11.11183 -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11.11184 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.11185 -else
11.11186 -  if test -n "$ac_ct_RANLIB"; then
11.11187 -  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11.11188 -else
11.11189 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.11190 -for as_dir in $PATH
11.11191 -do
11.11192 -  IFS=$as_save_IFS
11.11193 -  test -z "$as_dir" && as_dir=.
11.11194 -  for ac_exec_ext in '' $ac_executable_extensions; do
11.11195 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11.11196 -    ac_cv_prog_ac_ct_RANLIB="ranlib"
11.11197 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11.11198 -    break 2
11.11199 -  fi
11.11200 -done
11.11201 -done
11.11202 -
11.11203 -  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11.11204 -fi
11.11205 -fi
11.11206 -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11.11207 -if test -n "$ac_ct_RANLIB"; then
11.11208 -  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11.11209 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
11.11210 -else
11.11211 -  echo "$as_me:$LINENO: result: no" >&5
11.11212 -echo "${ECHO_T}no" >&6
11.11213 -fi
11.11214 -
11.11215 -  RANLIB=$ac_ct_RANLIB
11.11216 -else
11.11217 -  RANLIB="$ac_cv_prog_RANLIB"
11.11218 -fi
11.11219 -
11.11220 -# Find a good install program.  We prefer a C program (faster),
11.11221 -# so one script is as good as another.  But avoid the broken or
11.11222 -# incompatible versions:
11.11223 -# SysV /etc/install, /usr/sbin/install
11.11224 -# SunOS /usr/etc/install
11.11225 -# IRIX /sbin/install
11.11226 -# AIX /bin/install
11.11227 -# AmigaOS /C/install, which installs bootblocks on floppy discs
11.11228 -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11.11229 -# AFS /usr/afsws/bin/install, which mishandles nonexistent args
11.11230 -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11.11231 -# OS/2's system install, which has a completely different semantic
11.11232 -# ./install, which can be erroneously created by make from ./install.sh.
11.11233 -# Reject install programs that cannot install multiple files.
11.11234 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11.11235 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11.11236 -if test -z "$INSTALL"; then
11.11237 -if test "${ac_cv_path_install+set}" = set; then
11.11238 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.11239 -else
11.11240 -  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.11241 -for as_dir in $PATH
11.11242 -do
11.11243 -  IFS=$as_save_IFS
11.11244 -  test -z "$as_dir" && as_dir=.
11.11245 -  # Account for people who put trailing slashes in PATH elements.
11.11246 -case $as_dir/ in
11.11247 -  ./ | .// | /cC/* | \
11.11248 -  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11.11249 -  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
11.11250 -  /usr/ucb/* ) ;;
11.11251 -  *)
11.11252 -    # OSF1 and SCO ODT 3.0 have their own names for install.
11.11253 -    # Don't use installbsd from OSF since it installs stuff as root
11.11254 -    # by default.
11.11255 -    for ac_prog in ginstall scoinst install; do
11.11256 -      for ac_exec_ext in '' $ac_executable_extensions; do
11.11257 -	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11.11258 -	  if test $ac_prog = install &&
11.11259 -	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11.11260 -	    # AIX install.  It has an incompatible calling convention.
11.11261 -	    :
11.11262 -	  elif test $ac_prog = install &&
11.11263 -	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11.11264 -	    # program-specific install script used by HP pwplus--don't use.
11.11265 -	    :
11.11266 -	  else
11.11267 -	    rm -rf conftest.one conftest.two conftest.dir
11.11268 -	    echo one > conftest.one
11.11269 -	    echo two > conftest.two
11.11270 -	    mkdir conftest.dir
11.11271 -	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
11.11272 -	      test -s conftest.one && test -s conftest.two &&
11.11273 -	      test -s conftest.dir/conftest.one &&
11.11274 -	      test -s conftest.dir/conftest.two
11.11275 -	    then
11.11276 -	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11.11277 -	      break 3
11.11278 -	    fi
11.11279 -	  fi
11.11280 -	fi
11.11281 -      done
11.11282 -    done
11.11283 -    ;;
11.11284 -esac
11.11285 -done
11.11286 -
11.11287 -rm -rf conftest.one conftest.two conftest.dir
11.11288 -
11.11289 -fi
11.11290 -  if test "${ac_cv_path_install+set}" = set; then
11.11291 -    INSTALL=$ac_cv_path_install
11.11292 -  else
11.11293 -    # As a last resort, use the slow shell script.  Don't cache a
11.11294 -    # value for INSTALL within a source directory, because that will
11.11295 -    # break other packages using the cache if that directory is
11.11296 -    # removed, or if the value is a relative name.
11.11297 -    INSTALL=$ac_install_sh
11.11298 -  fi
11.11299 -fi
11.11300 -echo "$as_me:$LINENO: result: $INSTALL" >&5
11.11301 -echo "${ECHO_T}$INSTALL" >&6
11.11302 -
11.11303 -# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11.11304 -# It thinks the first close brace ends the variable substitution.
11.11305 -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11.11306 -
11.11307 -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11.11308 -
11.11309 -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11.11310 -
11.11311 -
11.11312 -# Put a plausible default for CC_FOR_BUILD in Makefile.
11.11313 -if test -z "$CC_FOR_BUILD"; then
11.11314 -  if test "x$cross_compiling" = "xno"; then
11.11315 -    CC_FOR_BUILD='$(CC)'
11.11316 -  else
11.11317 -    CC_FOR_BUILD=gcc
11.11318 -  fi
11.11319 -fi
11.11320 -
11.11321 -# Also set EXEEXT_FOR_BUILD.
11.11322 -if test "x$cross_compiling" = "xno"; then
11.11323 -  EXEEXT_FOR_BUILD='$(EXEEXT)'
11.11324 -else
11.11325 -  echo "$as_me:$LINENO: checking for build system executable suffix" >&5
11.11326 -echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
11.11327 -if test "${bfd_cv_build_exeext+set}" = set; then
11.11328 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.11329 -else
11.11330 -  rm -f conftest*
11.11331 -     echo 'int main () { return 0; }' > conftest.c
11.11332 -     bfd_cv_build_exeext=
11.11333 -     ${CC_FOR_BUILD} -o conftest conftest.c 1>&5 2>&5
11.11334 -     for file in conftest.*; do
11.11335 -       case $file in
11.11336 -       *.c | *.o | *.obj | *.ilk | *.pdb) ;;
11.11337 -       *) bfd_cv_build_exeext=`echo $file | sed -e s/conftest//` ;;
11.11338 -       esac
11.11339 -     done
11.11340 -     rm -f conftest*
11.11341 -     test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
11.11342 -fi
11.11343 -echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
11.11344 -echo "${ECHO_T}$bfd_cv_build_exeext" >&6
11.11345 -  EXEEXT_FOR_BUILD=""
11.11346 -  test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
11.11347 -fi
11.11348 -
11.11349 -
11.11350 -DEMANGLER_NAME=c++filt
11.11351 -case "${host}" in
11.11352 -  *-*-go32* | *-*-msdos*)
11.11353 -    DEMANGLER_NAME=cxxfilt
11.11354 -esac
11.11355 -
11.11356 -
11.11357 -
11.11358 -
11.11359 -
11.11360 -
11.11361 -
11.11362 -
11.11363 -
11.11364 -
11.11365 -for ac_header in string.h strings.h stdlib.h unistd.h fcntl.h sys/file.h limits.h sys/param.h
11.11366 -do
11.11367 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11.11368 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
11.11369 -  echo "$as_me:$LINENO: checking for $ac_header" >&5
11.11370 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11.11371 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
11.11372 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.11373 -fi
11.11374 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11.11375 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11.11376 -else
11.11377 -  # Is the header compilable?
11.11378 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
11.11379 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11.11380 -cat >conftest.$ac_ext <<_ACEOF
11.11381 -/* confdefs.h.  */
11.11382 -_ACEOF
11.11383 -cat confdefs.h >>conftest.$ac_ext
11.11384 -cat >>conftest.$ac_ext <<_ACEOF
11.11385 -/* end confdefs.h.  */
11.11386 -$ac_includes_default
11.11387 -#include <$ac_header>
11.11388 -_ACEOF
11.11389 -rm -f conftest.$ac_objext
11.11390 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11.11391 -  (eval $ac_compile) 2>conftest.er1
11.11392 -  ac_status=$?
11.11393 -  grep -v '^ *+' conftest.er1 >conftest.err
11.11394 -  rm -f conftest.er1
11.11395 -  cat conftest.err >&5
11.11396 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.11397 -  (exit $ac_status); } &&
11.11398 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.11399 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.11400 -  (eval $ac_try) 2>&5
11.11401 -  ac_status=$?
11.11402 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.11403 -  (exit $ac_status); }; } &&
11.11404 -	 { ac_try='test -s conftest.$ac_objext'
11.11405 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.11406 -  (eval $ac_try) 2>&5
11.11407 -  ac_status=$?
11.11408 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.11409 -  (exit $ac_status); }; }; then
11.11410 -  ac_header_compiler=yes
11.11411 -else
11.11412 -  echo "$as_me: failed program was:" >&5
11.11413 -sed 's/^/| /' conftest.$ac_ext >&5
11.11414 -
11.11415 -ac_header_compiler=no
11.11416 -fi
11.11417 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11.11418 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11.11419 -echo "${ECHO_T}$ac_header_compiler" >&6
11.11420 -
11.11421 -# Is the header present?
11.11422 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
11.11423 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11.11424 -cat >conftest.$ac_ext <<_ACEOF
11.11425 -/* confdefs.h.  */
11.11426 -_ACEOF
11.11427 -cat confdefs.h >>conftest.$ac_ext
11.11428 -cat >>conftest.$ac_ext <<_ACEOF
11.11429 -/* end confdefs.h.  */
11.11430 -#include <$ac_header>
11.11431 -_ACEOF
11.11432 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11.11433 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11.11434 -  ac_status=$?
11.11435 -  grep -v '^ *+' conftest.er1 >conftest.err
11.11436 -  rm -f conftest.er1
11.11437 -  cat conftest.err >&5
11.11438 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.11439 -  (exit $ac_status); } >/dev/null; then
11.11440 -  if test -s conftest.err; then
11.11441 -    ac_cpp_err=$ac_c_preproc_warn_flag
11.11442 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11.11443 -  else
11.11444 -    ac_cpp_err=
11.11445 -  fi
11.11446 -else
11.11447 -  ac_cpp_err=yes
11.11448 -fi
11.11449 -if test -z "$ac_cpp_err"; then
11.11450 -  ac_header_preproc=yes
11.11451 -else
11.11452 -  echo "$as_me: failed program was:" >&5
11.11453 -sed 's/^/| /' conftest.$ac_ext >&5
11.11454 -
11.11455 -  ac_header_preproc=no
11.11456 -fi
11.11457 -rm -f conftest.err conftest.$ac_ext
11.11458 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11.11459 -echo "${ECHO_T}$ac_header_preproc" >&6
11.11460 -
11.11461 -# So?  What about this header?
11.11462 -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11.11463 -  yes:no: )
11.11464 -    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11.11465 -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11.11466 -    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11.11467 -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11.11468 -    ac_header_preproc=yes
11.11469 -    ;;
11.11470 -  no:yes:* )
11.11471 -    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11.11472 -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11.11473 -    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
11.11474 -echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
11.11475 -    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11.11476 -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11.11477 -    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
11.11478 -echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
11.11479 -    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11.11480 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11.11481 -    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11.11482 -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11.11483 -    (
11.11484 -      cat <<\_ASBOX
11.11485 -## ------------------------------------------ ##
11.11486 -## Report this to the AC_PACKAGE_NAME lists.  ##
11.11487 -## ------------------------------------------ ##
11.11488 -_ASBOX
11.11489 -    ) |
11.11490 -      sed "s/^/$as_me: WARNING:     /" >&2
11.11491 -    ;;
11.11492 -esac
11.11493 -echo "$as_me:$LINENO: checking for $ac_header" >&5
11.11494 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11.11495 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
11.11496 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.11497 -else
11.11498 -  eval "$as_ac_Header=\$ac_header_preproc"
11.11499 -fi
11.11500 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11.11501 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11.11502 -
11.11503 -fi
11.11504 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
11.11505 -  cat >>confdefs.h <<_ACEOF
11.11506 -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11.11507 -_ACEOF
11.11508 -
11.11509 -fi
11.11510 -
11.11511 -done
11.11512 -
11.11513 -echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
11.11514 -echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
11.11515 -if test "${ac_cv_header_sys_wait_h+set}" = set; then
11.11516 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.11517 -else
11.11518 -  cat >conftest.$ac_ext <<_ACEOF
11.11519 -/* confdefs.h.  */
11.11520 -_ACEOF
11.11521 -cat confdefs.h >>conftest.$ac_ext
11.11522 -cat >>conftest.$ac_ext <<_ACEOF
11.11523 -/* end confdefs.h.  */
11.11524 -#include <sys/types.h>
11.11525 -#include <sys/wait.h>
11.11526 -#ifndef WEXITSTATUS
11.11527 -# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
11.11528 -#endif
11.11529 -#ifndef WIFEXITED
11.11530 -# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
11.11531 -#endif
11.11532 -
11.11533 -int
11.11534 -main ()
11.11535 -{
11.11536 -  int s;
11.11537 -  wait (&s);
11.11538 -  s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
11.11539 -  ;
11.11540 -  return 0;
11.11541 -}
11.11542 -_ACEOF
11.11543 -rm -f conftest.$ac_objext
11.11544 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11.11545 -  (eval $ac_compile) 2>conftest.er1
11.11546 -  ac_status=$?
11.11547 -  grep -v '^ *+' conftest.er1 >conftest.err
11.11548 -  rm -f conftest.er1
11.11549 -  cat conftest.err >&5
11.11550 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.11551 -  (exit $ac_status); } &&
11.11552 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.11553 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.11554 -  (eval $ac_try) 2>&5
11.11555 -  ac_status=$?
11.11556 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.11557 -  (exit $ac_status); }; } &&
11.11558 -	 { ac_try='test -s conftest.$ac_objext'
11.11559 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.11560 -  (eval $ac_try) 2>&5
11.11561 -  ac_status=$?
11.11562 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.11563 -  (exit $ac_status); }; }; then
11.11564 -  ac_cv_header_sys_wait_h=yes
11.11565 -else
11.11566 -  echo "$as_me: failed program was:" >&5
11.11567 -sed 's/^/| /' conftest.$ac_ext >&5
11.11568 -
11.11569 -ac_cv_header_sys_wait_h=no
11.11570 -fi
11.11571 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11.11572 -fi
11.11573 -echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
11.11574 -echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
11.11575 -if test $ac_cv_header_sys_wait_h = yes; then
11.11576 -
11.11577 -cat >>confdefs.h <<\_ACEOF
11.11578 -#define HAVE_SYS_WAIT_H 1
11.11579 -_ACEOF
11.11580 -
11.11581 -fi
11.11582 -
11.11583 -# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
11.11584 -# for constant arguments.  Useless!
11.11585 -echo "$as_me:$LINENO: checking for working alloca.h" >&5
11.11586 -echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
11.11587 -if test "${ac_cv_working_alloca_h+set}" = set; then
11.11588 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.11589 -else
11.11590 -  cat >conftest.$ac_ext <<_ACEOF
11.11591 -/* confdefs.h.  */
11.11592 -_ACEOF
11.11593 -cat confdefs.h >>conftest.$ac_ext
11.11594 -cat >>conftest.$ac_ext <<_ACEOF
11.11595 -/* end confdefs.h.  */
11.11596 -#include <alloca.h>
11.11597 -int
11.11598 -main ()
11.11599 -{
11.11600 -char *p = (char *) alloca (2 * sizeof (int));
11.11601 -  ;
11.11602 -  return 0;
11.11603 -}
11.11604 -_ACEOF
11.11605 -rm -f conftest.$ac_objext conftest$ac_exeext
11.11606 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11.11607 -  (eval $ac_link) 2>conftest.er1
11.11608 -  ac_status=$?
11.11609 -  grep -v '^ *+' conftest.er1 >conftest.err
11.11610 -  rm -f conftest.er1
11.11611 -  cat conftest.err >&5
11.11612 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.11613 -  (exit $ac_status); } &&
11.11614 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.11615 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.11616 -  (eval $ac_try) 2>&5
11.11617 -  ac_status=$?
11.11618 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.11619 -  (exit $ac_status); }; } &&
11.11620 -	 { ac_try='test -s conftest$ac_exeext'
11.11621 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.11622 -  (eval $ac_try) 2>&5
11.11623 -  ac_status=$?
11.11624 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.11625 -  (exit $ac_status); }; }; then
11.11626 -  ac_cv_working_alloca_h=yes
11.11627 -else
11.11628 -  echo "$as_me: failed program was:" >&5
11.11629 -sed 's/^/| /' conftest.$ac_ext >&5
11.11630 -
11.11631 -ac_cv_working_alloca_h=no
11.11632 -fi
11.11633 -rm -f conftest.err conftest.$ac_objext \
11.11634 -      conftest$ac_exeext conftest.$ac_ext
11.11635 -fi
11.11636 -echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
11.11637 -echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
11.11638 -if test $ac_cv_working_alloca_h = yes; then
11.11639 -
11.11640 -cat >>confdefs.h <<\_ACEOF
11.11641 -#define HAVE_ALLOCA_H 1
11.11642 -_ACEOF
11.11643 -
11.11644 -fi
11.11645 -
11.11646 -echo "$as_me:$LINENO: checking for alloca" >&5
11.11647 -echo $ECHO_N "checking for alloca... $ECHO_C" >&6
11.11648 -if test "${ac_cv_func_alloca_works+set}" = set; then
11.11649 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.11650 -else
11.11651 -  cat >conftest.$ac_ext <<_ACEOF
11.11652 -/* confdefs.h.  */
11.11653 -_ACEOF
11.11654 -cat confdefs.h >>conftest.$ac_ext
11.11655 -cat >>conftest.$ac_ext <<_ACEOF
11.11656 -/* end confdefs.h.  */
11.11657 -#ifdef __GNUC__
11.11658 -# define alloca __builtin_alloca
11.11659 -#else
11.11660 -# ifdef _MSC_VER
11.11661 -#  include <malloc.h>
11.11662 -#  define alloca _alloca
11.11663 -# else
11.11664 -#  if HAVE_ALLOCA_H
11.11665 -#   include <alloca.h>
11.11666 -#  else
11.11667 -#   ifdef _AIX
11.11668 - #pragma alloca
11.11669 -#   else
11.11670 -#    ifndef alloca /* predefined by HP cc +Olibcalls */
11.11671 -char *alloca ();
11.11672 -#    endif
11.11673 -#   endif
11.11674 -#  endif
11.11675 -# endif
11.11676 -#endif
11.11677 -
11.11678 -int
11.11679 -main ()
11.11680 -{
11.11681 -char *p = (char *) alloca (1);
11.11682 -  ;
11.11683 -  return 0;
11.11684 -}
11.11685 -_ACEOF
11.11686 -rm -f conftest.$ac_objext conftest$ac_exeext
11.11687 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11.11688 -  (eval $ac_link) 2>conftest.er1
11.11689 -  ac_status=$?
11.11690 -  grep -v '^ *+' conftest.er1 >conftest.err
11.11691 -  rm -f conftest.er1
11.11692 -  cat conftest.err >&5
11.11693 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.11694 -  (exit $ac_status); } &&
11.11695 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.11696 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.11697 -  (eval $ac_try) 2>&5
11.11698 -  ac_status=$?
11.11699 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.11700 -  (exit $ac_status); }; } &&
11.11701 -	 { ac_try='test -s conftest$ac_exeext'
11.11702 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.11703 -  (eval $ac_try) 2>&5
11.11704 -  ac_status=$?
11.11705 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.11706 -  (exit $ac_status); }; }; then
11.11707 -  ac_cv_func_alloca_works=yes
11.11708 -else
11.11709 -  echo "$as_me: failed program was:" >&5
11.11710 -sed 's/^/| /' conftest.$ac_ext >&5
11.11711 -
11.11712 -ac_cv_func_alloca_works=no
11.11713 -fi
11.11714 -rm -f conftest.err conftest.$ac_objext \
11.11715 -      conftest$ac_exeext conftest.$ac_ext
11.11716 -fi
11.11717 -echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
11.11718 -echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
11.11719 -
11.11720 -if test $ac_cv_func_alloca_works = yes; then
11.11721 -
11.11722 -cat >>confdefs.h <<\_ACEOF
11.11723 -#define HAVE_ALLOCA 1
11.11724 -_ACEOF
11.11725 -
11.11726 -else
11.11727 -  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
11.11728 -# that cause trouble.  Some versions do not even contain alloca or
11.11729 -# contain a buggy version.  If you still want to use their alloca,
11.11730 -# use ar to extract alloca.o from them instead of compiling alloca.c.
11.11731 -
11.11732 -ALLOCA=alloca.$ac_objext
11.11733 -
11.11734 -cat >>confdefs.h <<\_ACEOF
11.11735 -#define C_ALLOCA 1
11.11736 -_ACEOF
11.11737 -
11.11738 -
11.11739 -echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
11.11740 -echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
11.11741 -if test "${ac_cv_os_cray+set}" = set; then
11.11742 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.11743 -else
11.11744 -  cat >conftest.$ac_ext <<_ACEOF
11.11745 -/* confdefs.h.  */
11.11746 -_ACEOF
11.11747 -cat confdefs.h >>conftest.$ac_ext
11.11748 -cat >>conftest.$ac_ext <<_ACEOF
11.11749 -/* end confdefs.h.  */
11.11750 -#if defined(CRAY) && ! defined(CRAY2)
11.11751 -webecray
11.11752 -#else
11.11753 -wenotbecray
11.11754 -#endif
11.11755 -
11.11756 -_ACEOF
11.11757 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11.11758 -  $EGREP "webecray" >/dev/null 2>&1; then
11.11759 -  ac_cv_os_cray=yes
11.11760 -else
11.11761 -  ac_cv_os_cray=no
11.11762 -fi
11.11763 -rm -f conftest*
11.11764 -
11.11765 -fi
11.11766 -echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
11.11767 -echo "${ECHO_T}$ac_cv_os_cray" >&6
11.11768 -if test $ac_cv_os_cray = yes; then
11.11769 -  for ac_func in _getb67 GETB67 getb67; do
11.11770 -    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11.11771 -echo "$as_me:$LINENO: checking for $ac_func" >&5
11.11772 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11.11773 -if eval "test \"\${$as_ac_var+set}\" = set"; then
11.11774 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.11775 -else
11.11776 -  cat >conftest.$ac_ext <<_ACEOF
11.11777 -/* confdefs.h.  */
11.11778 -_ACEOF
11.11779 -cat confdefs.h >>conftest.$ac_ext
11.11780 -cat >>conftest.$ac_ext <<_ACEOF
11.11781 -/* end confdefs.h.  */
11.11782 -/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11.11783 -   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11.11784 -#define $ac_func innocuous_$ac_func
11.11785 -
11.11786 -/* System header to define __stub macros and hopefully few prototypes,
11.11787 -    which can conflict with char $ac_func (); below.
11.11788 -    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11.11789 -    <limits.h> exists even on freestanding compilers.  */
11.11790 -
11.11791 -#ifdef __STDC__
11.11792 -# include <limits.h>
11.11793 -#else
11.11794 -# include <assert.h>
11.11795 -#endif
11.11796 -
11.11797 -#undef $ac_func
11.11798 -
11.11799 -/* Override any gcc2 internal prototype to avoid an error.  */
11.11800 -#ifdef __cplusplus
11.11801 -extern "C"
11.11802 -{
11.11803 -#endif
11.11804 -/* We use char because int might match the return type of a gcc2
11.11805 -   builtin and then its argument prototype would still apply.  */
11.11806 -char $ac_func ();
11.11807 -/* The GNU C library defines this for functions which it implements
11.11808 -    to always fail with ENOSYS.  Some functions are actually named
11.11809 -    something starting with __ and the normal name is an alias.  */
11.11810 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11.11811 -choke me
11.11812 -#else
11.11813 -char (*f) () = $ac_func;
11.11814 -#endif
11.11815 -#ifdef __cplusplus
11.11816 -}
11.11817 -#endif
11.11818 -
11.11819 -int
11.11820 -main ()
11.11821 -{
11.11822 -return f != $ac_func;
11.11823 -  ;
11.11824 -  return 0;
11.11825 -}
11.11826 -_ACEOF
11.11827 -rm -f conftest.$ac_objext conftest$ac_exeext
11.11828 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11.11829 -  (eval $ac_link) 2>conftest.er1
11.11830 -  ac_status=$?
11.11831 -  grep -v '^ *+' conftest.er1 >conftest.err
11.11832 -  rm -f conftest.er1
11.11833 -  cat conftest.err >&5
11.11834 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.11835 -  (exit $ac_status); } &&
11.11836 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.11837 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.11838 -  (eval $ac_try) 2>&5
11.11839 -  ac_status=$?
11.11840 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.11841 -  (exit $ac_status); }; } &&
11.11842 -	 { ac_try='test -s conftest$ac_exeext'
11.11843 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.11844 -  (eval $ac_try) 2>&5
11.11845 -  ac_status=$?
11.11846 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.11847 -  (exit $ac_status); }; }; then
11.11848 -  eval "$as_ac_var=yes"
11.11849 -else
11.11850 -  echo "$as_me: failed program was:" >&5
11.11851 -sed 's/^/| /' conftest.$ac_ext >&5
11.11852 -
11.11853 -eval "$as_ac_var=no"
11.11854 -fi
11.11855 -rm -f conftest.err conftest.$ac_objext \
11.11856 -      conftest$ac_exeext conftest.$ac_ext
11.11857 -fi
11.11858 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11.11859 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11.11860 -if test `eval echo '${'$as_ac_var'}'` = yes; then
11.11861 -
11.11862 -cat >>confdefs.h <<_ACEOF
11.11863 -#define CRAY_STACKSEG_END $ac_func
11.11864 -_ACEOF
11.11865 -
11.11866 -    break
11.11867 -fi
11.11868 -
11.11869 -  done
11.11870 -fi
11.11871 -
11.11872 -echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
11.11873 -echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
11.11874 -if test "${ac_cv_c_stack_direction+set}" = set; then
11.11875 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.11876 -else
11.11877 -  if test "$cross_compiling" = yes; then
11.11878 -  ac_cv_c_stack_direction=0
11.11879 -else
11.11880 -  cat >conftest.$ac_ext <<_ACEOF
11.11881 -/* confdefs.h.  */
11.11882 -_ACEOF
11.11883 -cat confdefs.h >>conftest.$ac_ext
11.11884 -cat >>conftest.$ac_ext <<_ACEOF
11.11885 -/* end confdefs.h.  */
11.11886 -int
11.11887 -find_stack_direction ()
11.11888 -{
11.11889 -  static char *addr = 0;
11.11890 -  auto char dummy;
11.11891 -  if (addr == 0)
11.11892 -    {
11.11893 -      addr = &dummy;
11.11894 -      return find_stack_direction ();
11.11895 -    }
11.11896 -  else
11.11897 -    return (&dummy > addr) ? 1 : -1;
11.11898 -}
11.11899 -
11.11900 -int
11.11901 -main ()
11.11902 -{
11.11903 -  exit (find_stack_direction () < 0);
11.11904 -}
11.11905 -_ACEOF
11.11906 -rm -f conftest$ac_exeext
11.11907 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11.11908 -  (eval $ac_link) 2>&5
11.11909 -  ac_status=$?
11.11910 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.11911 -  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11.11912 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.11913 -  (eval $ac_try) 2>&5
11.11914 -  ac_status=$?
11.11915 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.11916 -  (exit $ac_status); }; }; then
11.11917 -  ac_cv_c_stack_direction=1
11.11918 -else
11.11919 -  echo "$as_me: program exited with status $ac_status" >&5
11.11920 -echo "$as_me: failed program was:" >&5
11.11921 -sed 's/^/| /' conftest.$ac_ext >&5
11.11922 -
11.11923 -( exit $ac_status )
11.11924 -ac_cv_c_stack_direction=-1
11.11925 -fi
11.11926 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11.11927 -fi
11.11928 -fi
11.11929 -echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
11.11930 -echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
11.11931 -
11.11932 -cat >>confdefs.h <<_ACEOF
11.11933 -#define STACK_DIRECTION $ac_cv_c_stack_direction
11.11934 -_ACEOF
11.11935 -
11.11936 -
11.11937 -fi
11.11938 -
11.11939 -
11.11940 -
11.11941 -
11.11942 -
11.11943 -
11.11944 -for ac_func in sbrk utimes setmode getc_unlocked strcoll
11.11945 -do
11.11946 -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11.11947 -echo "$as_me:$LINENO: checking for $ac_func" >&5
11.11948 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11.11949 -if eval "test \"\${$as_ac_var+set}\" = set"; then
11.11950 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.11951 -else
11.11952 -  cat >conftest.$ac_ext <<_ACEOF
11.11953 -/* confdefs.h.  */
11.11954 -_ACEOF
11.11955 -cat confdefs.h >>conftest.$ac_ext
11.11956 -cat >>conftest.$ac_ext <<_ACEOF
11.11957 -/* end confdefs.h.  */
11.11958 -/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11.11959 -   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11.11960 -#define $ac_func innocuous_$ac_func
11.11961 -
11.11962 -/* System header to define __stub macros and hopefully few prototypes,
11.11963 -    which can conflict with char $ac_func (); below.
11.11964 -    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11.11965 -    <limits.h> exists even on freestanding compilers.  */
11.11966 -
11.11967 -#ifdef __STDC__
11.11968 -# include <limits.h>
11.11969 -#else
11.11970 -# include <assert.h>
11.11971 -#endif
11.11972 -
11.11973 -#undef $ac_func
11.11974 -
11.11975 -/* Override any gcc2 internal prototype to avoid an error.  */
11.11976 -#ifdef __cplusplus
11.11977 -extern "C"
11.11978 -{
11.11979 -#endif
11.11980 -/* We use char because int might match the return type of a gcc2
11.11981 -   builtin and then its argument prototype would still apply.  */
11.11982 -char $ac_func ();
11.11983 -/* The GNU C library defines this for functions which it implements
11.11984 -    to always fail with ENOSYS.  Some functions are actually named
11.11985 -    something starting with __ and the normal name is an alias.  */
11.11986 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11.11987 -choke me
11.11988 -#else
11.11989 -char (*f) () = $ac_func;
11.11990 -#endif
11.11991 -#ifdef __cplusplus
11.11992 -}
11.11993 -#endif
11.11994 -
11.11995 -int
11.11996 -main ()
11.11997 -{
11.11998 -return f != $ac_func;
11.11999 -  ;
11.12000 -  return 0;
11.12001 -}
11.12002 -_ACEOF
11.12003 -rm -f conftest.$ac_objext conftest$ac_exeext
11.12004 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11.12005 -  (eval $ac_link) 2>conftest.er1
11.12006 -  ac_status=$?
11.12007 -  grep -v '^ *+' conftest.er1 >conftest.err
11.12008 -  rm -f conftest.er1
11.12009 -  cat conftest.err >&5
11.12010 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12011 -  (exit $ac_status); } &&
11.12012 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.12013 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.12014 -  (eval $ac_try) 2>&5
11.12015 -  ac_status=$?
11.12016 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12017 -  (exit $ac_status); }; } &&
11.12018 -	 { ac_try='test -s conftest$ac_exeext'
11.12019 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.12020 -  (eval $ac_try) 2>&5
11.12021 -  ac_status=$?
11.12022 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12023 -  (exit $ac_status); }; }; then
11.12024 -  eval "$as_ac_var=yes"
11.12025 -else
11.12026 -  echo "$as_me: failed program was:" >&5
11.12027 -sed 's/^/| /' conftest.$ac_ext >&5
11.12028 -
11.12029 -eval "$as_ac_var=no"
11.12030 -fi
11.12031 -rm -f conftest.err conftest.$ac_objext \
11.12032 -      conftest$ac_exeext conftest.$ac_ext
11.12033 -fi
11.12034 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11.12035 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11.12036 -if test `eval echo '${'$as_ac_var'}'` = yes; then
11.12037 -  cat >>confdefs.h <<_ACEOF
11.12038 -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11.12039 -_ACEOF
11.12040 -
11.12041 -fi
11.12042 -done
11.12043 -
11.12044 -echo "$as_me:$LINENO: checking for mkstemp" >&5
11.12045 -echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6
11.12046 -if test "${ac_cv_func_mkstemp+set}" = set; then
11.12047 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.12048 -else
11.12049 -  cat >conftest.$ac_ext <<_ACEOF
11.12050 -/* confdefs.h.  */
11.12051 -_ACEOF
11.12052 -cat confdefs.h >>conftest.$ac_ext
11.12053 -cat >>conftest.$ac_ext <<_ACEOF
11.12054 -/* end confdefs.h.  */
11.12055 -/* Define mkstemp to an innocuous variant, in case <limits.h> declares mkstemp.
11.12056 -   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11.12057 -#define mkstemp innocuous_mkstemp
11.12058 -
11.12059 -/* System header to define __stub macros and hopefully few prototypes,
11.12060 -    which can conflict with char mkstemp (); below.
11.12061 -    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11.12062 -    <limits.h> exists even on freestanding compilers.  */
11.12063 -
11.12064 -#ifdef __STDC__
11.12065 -# include <limits.h>
11.12066 -#else
11.12067 -# include <assert.h>
11.12068 -#endif
11.12069 -
11.12070 -#undef mkstemp
11.12071 -
11.12072 -/* Override any gcc2 internal prototype to avoid an error.  */
11.12073 -#ifdef __cplusplus
11.12074 -extern "C"
11.12075 -{
11.12076 -#endif
11.12077 -/* We use char because int might match the return type of a gcc2
11.12078 -   builtin and then its argument prototype would still apply.  */
11.12079 -char mkstemp ();
11.12080 -/* The GNU C library defines this for functions which it implements
11.12081 -    to always fail with ENOSYS.  Some functions are actually named
11.12082 -    something starting with __ and the normal name is an alias.  */
11.12083 -#if defined (__stub_mkstemp) || defined (__stub___mkstemp)
11.12084 -choke me
11.12085 -#else
11.12086 -char (*f) () = mkstemp;
11.12087 -#endif
11.12088 -#ifdef __cplusplus
11.12089 -}
11.12090 -#endif
11.12091 -
11.12092 -int
11.12093 -main ()
11.12094 -{
11.12095 -return f != mkstemp;
11.12096 -  ;
11.12097 -  return 0;
11.12098 -}
11.12099 -_ACEOF
11.12100 -rm -f conftest.$ac_objext conftest$ac_exeext
11.12101 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11.12102 -  (eval $ac_link) 2>conftest.er1
11.12103 -  ac_status=$?
11.12104 -  grep -v '^ *+' conftest.er1 >conftest.err
11.12105 -  rm -f conftest.er1
11.12106 -  cat conftest.err >&5
11.12107 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12108 -  (exit $ac_status); } &&
11.12109 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.12110 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.12111 -  (eval $ac_try) 2>&5
11.12112 -  ac_status=$?
11.12113 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12114 -  (exit $ac_status); }; } &&
11.12115 -	 { ac_try='test -s conftest$ac_exeext'
11.12116 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.12117 -  (eval $ac_try) 2>&5
11.12118 -  ac_status=$?
11.12119 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12120 -  (exit $ac_status); }; }; then
11.12121 -  ac_cv_func_mkstemp=yes
11.12122 -else
11.12123 -  echo "$as_me: failed program was:" >&5
11.12124 -sed 's/^/| /' conftest.$ac_ext >&5
11.12125 -
11.12126 -ac_cv_func_mkstemp=no
11.12127 -fi
11.12128 -rm -f conftest.err conftest.$ac_objext \
11.12129 -      conftest$ac_exeext conftest.$ac_ext
11.12130 -fi
11.12131 -echo "$as_me:$LINENO: result: $ac_cv_func_mkstemp" >&5
11.12132 -echo "${ECHO_T}$ac_cv_func_mkstemp" >&6
11.12133 -if test $ac_cv_func_mkstemp = yes; then
11.12134 -
11.12135 -cat >>confdefs.h <<\_ACEOF
11.12136 -#define HAVE_MKSTEMP 1
11.12137 -_ACEOF
11.12138 -
11.12139 -fi
11.12140 -
11.12141 -echo "$as_me:$LINENO: checking for mkdtemp" >&5
11.12142 -echo $ECHO_N "checking for mkdtemp... $ECHO_C" >&6
11.12143 -if test "${ac_cv_func_mkdtemp+set}" = set; then
11.12144 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.12145 -else
11.12146 -  cat >conftest.$ac_ext <<_ACEOF
11.12147 -/* confdefs.h.  */
11.12148 -_ACEOF
11.12149 -cat confdefs.h >>conftest.$ac_ext
11.12150 -cat >>conftest.$ac_ext <<_ACEOF
11.12151 -/* end confdefs.h.  */
11.12152 -/* Define mkdtemp to an innocuous variant, in case <limits.h> declares mkdtemp.
11.12153 -   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11.12154 -#define mkdtemp innocuous_mkdtemp
11.12155 -
11.12156 -/* System header to define __stub macros and hopefully few prototypes,
11.12157 -    which can conflict with char mkdtemp (); below.
11.12158 -    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11.12159 -    <limits.h> exists even on freestanding compilers.  */
11.12160 -
11.12161 -#ifdef __STDC__
11.12162 -# include <limits.h>
11.12163 -#else
11.12164 -# include <assert.h>
11.12165 -#endif
11.12166 -
11.12167 -#undef mkdtemp
11.12168 -
11.12169 -/* Override any gcc2 internal prototype to avoid an error.  */
11.12170 -#ifdef __cplusplus
11.12171 -extern "C"
11.12172 -{
11.12173 -#endif
11.12174 -/* We use char because int might match the return type of a gcc2
11.12175 -   builtin and then its argument prototype would still apply.  */
11.12176 -char mkdtemp ();
11.12177 -/* The GNU C library defines this for functions which it implements
11.12178 -    to always fail with ENOSYS.  Some functions are actually named
11.12179 -    something starting with __ and the normal name is an alias.  */
11.12180 -#if defined (__stub_mkdtemp) || defined (__stub___mkdtemp)
11.12181 -choke me
11.12182 -#else
11.12183 -char (*f) () = mkdtemp;
11.12184 -#endif
11.12185 -#ifdef __cplusplus
11.12186 -}
11.12187 -#endif
11.12188 -
11.12189 -int
11.12190 -main ()
11.12191 -{
11.12192 -return f != mkdtemp;
11.12193 -  ;
11.12194 -  return 0;
11.12195 -}
11.12196 -_ACEOF
11.12197 -rm -f conftest.$ac_objext conftest$ac_exeext
11.12198 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11.12199 -  (eval $ac_link) 2>conftest.er1
11.12200 -  ac_status=$?
11.12201 -  grep -v '^ *+' conftest.er1 >conftest.err
11.12202 -  rm -f conftest.er1
11.12203 -  cat conftest.err >&5
11.12204 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12205 -  (exit $ac_status); } &&
11.12206 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.12207 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.12208 -  (eval $ac_try) 2>&5
11.12209 -  ac_status=$?
11.12210 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12211 -  (exit $ac_status); }; } &&
11.12212 -	 { ac_try='test -s conftest$ac_exeext'
11.12213 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.12214 -  (eval $ac_try) 2>&5
11.12215 -  ac_status=$?
11.12216 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12217 -  (exit $ac_status); }; }; then
11.12218 -  ac_cv_func_mkdtemp=yes
11.12219 -else
11.12220 -  echo "$as_me: failed program was:" >&5
11.12221 -sed 's/^/| /' conftest.$ac_ext >&5
11.12222 -
11.12223 -ac_cv_func_mkdtemp=no
11.12224 -fi
11.12225 -rm -f conftest.err conftest.$ac_objext \
11.12226 -      conftest$ac_exeext conftest.$ac_ext
11.12227 -fi
11.12228 -echo "$as_me:$LINENO: result: $ac_cv_func_mkdtemp" >&5
11.12229 -echo "${ECHO_T}$ac_cv_func_mkdtemp" >&6
11.12230 -if test $ac_cv_func_mkdtemp = yes; then
11.12231 -
11.12232 -cat >>confdefs.h <<\_ACEOF
11.12233 -#define HAVE_MKDTEMP 1
11.12234 -_ACEOF
11.12235 -
11.12236 -fi
11.12237 -
11.12238 -
11.12239 -# Check whether fopen64 is available and whether _LARGEFILE64_SOURCE
11.12240 -# needs to be defined for it
11.12241 -echo "$as_me:$LINENO: checking for fopen64" >&5
11.12242 -echo $ECHO_N "checking for fopen64... $ECHO_C" >&6
11.12243 -if test "${bu_cv_have_fopen64+set}" = set; then
11.12244 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.12245 -else
11.12246 -  cat >conftest.$ac_ext <<_ACEOF
11.12247 -/* confdefs.h.  */
11.12248 -_ACEOF
11.12249 -cat confdefs.h >>conftest.$ac_ext
11.12250 -cat >>conftest.$ac_ext <<_ACEOF
11.12251 -/* end confdefs.h.  */
11.12252 -#include <stdio.h>
11.12253 -int
11.12254 -main ()
11.12255 -{
11.12256 -FILE *f = fopen64 ("/tmp/foo","r");
11.12257 -  ;
11.12258 -  return 0;
11.12259 -}
11.12260 -_ACEOF
11.12261 -rm -f conftest.$ac_objext conftest$ac_exeext
11.12262 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11.12263 -  (eval $ac_link) 2>conftest.er1
11.12264 -  ac_status=$?
11.12265 -  grep -v '^ *+' conftest.er1 >conftest.err
11.12266 -  rm -f conftest.er1
11.12267 -  cat conftest.err >&5
11.12268 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12269 -  (exit $ac_status); } &&
11.12270 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.12271 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.12272 -  (eval $ac_try) 2>&5
11.12273 -  ac_status=$?
11.12274 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12275 -  (exit $ac_status); }; } &&
11.12276 -	 { ac_try='test -s conftest$ac_exeext'
11.12277 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.12278 -  (eval $ac_try) 2>&5
11.12279 -  ac_status=$?
11.12280 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12281 -  (exit $ac_status); }; }; then
11.12282 -  bu_cv_have_fopen64=yes
11.12283 -else
11.12284 -  echo "$as_me: failed program was:" >&5
11.12285 -sed 's/^/| /' conftest.$ac_ext >&5
11.12286 -
11.12287 -saved_CPPFLAGS=$CPPFLAGS
11.12288 - CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE"
11.12289 - cat >conftest.$ac_ext <<_ACEOF
11.12290 -/* confdefs.h.  */
11.12291 -_ACEOF
11.12292 -cat confdefs.h >>conftest.$ac_ext
11.12293 -cat >>conftest.$ac_ext <<_ACEOF
11.12294 -/* end confdefs.h.  */
11.12295 -#include <stdio.h>
11.12296 -int
11.12297 -main ()
11.12298 -{
11.12299 -FILE *f = fopen64 ("/tmp/foo","r");
11.12300 -  ;
11.12301 -  return 0;
11.12302 -}
11.12303 -_ACEOF
11.12304 -rm -f conftest.$ac_objext conftest$ac_exeext
11.12305 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11.12306 -  (eval $ac_link) 2>conftest.er1
11.12307 -  ac_status=$?
11.12308 -  grep -v '^ *+' conftest.er1 >conftest.err
11.12309 -  rm -f conftest.er1
11.12310 -  cat conftest.err >&5
11.12311 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12312 -  (exit $ac_status); } &&
11.12313 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.12314 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.12315 -  (eval $ac_try) 2>&5
11.12316 -  ac_status=$?
11.12317 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12318 -  (exit $ac_status); }; } &&
11.12319 -	 { ac_try='test -s conftest$ac_exeext'
11.12320 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.12321 -  (eval $ac_try) 2>&5
11.12322 -  ac_status=$?
11.12323 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12324 -  (exit $ac_status); }; }; then
11.12325 -  bu_cv_have_fopen64="need -D_LARGEFILE64_SOURCE"
11.12326 -else
11.12327 -  echo "$as_me: failed program was:" >&5
11.12328 -sed 's/^/| /' conftest.$ac_ext >&5
11.12329 -
11.12330 -bu_cv_have_fopen64=no
11.12331 -fi
11.12332 -rm -f conftest.err conftest.$ac_objext \
11.12333 -      conftest$ac_exeext conftest.$ac_ext
11.12334 - CPPFLAGS=$saved_CPPFLAGS
11.12335 -fi
11.12336 -rm -f conftest.err conftest.$ac_objext \
11.12337 -      conftest$ac_exeext conftest.$ac_ext
11.12338 -fi
11.12339 -
11.12340 -echo "$as_me:$LINENO: result: $bu_cv_have_fopen64" >&5
11.12341 -echo "${ECHO_T}$bu_cv_have_fopen64" >&6
11.12342 -if test "$bu_cv_have_fopen64" != no; then
11.12343 -
11.12344 -cat >>confdefs.h <<\_ACEOF
11.12345 -#define HAVE_FOPEN64 1
11.12346 -_ACEOF
11.12347 -
11.12348 -fi
11.12349 -echo "$as_me:$LINENO: checking for stat64" >&5
11.12350 -echo $ECHO_N "checking for stat64... $ECHO_C" >&6
11.12351 -if test "${bu_cv_have_stat64+set}" = set; then
11.12352 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.12353 -else
11.12354 -  cat >conftest.$ac_ext <<_ACEOF
11.12355 -/* confdefs.h.  */
11.12356 -_ACEOF
11.12357 -cat confdefs.h >>conftest.$ac_ext
11.12358 -cat >>conftest.$ac_ext <<_ACEOF
11.12359 -/* end confdefs.h.  */
11.12360 -#include <sys/stat.h>
11.12361 -int
11.12362 -main ()
11.12363 -{
11.12364 -struct stat64 st; stat64 ("/tmp/foo", &st);
11.12365 -  ;
11.12366 -  return 0;
11.12367 -}
11.12368 -_ACEOF
11.12369 -rm -f conftest.$ac_objext conftest$ac_exeext
11.12370 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11.12371 -  (eval $ac_link) 2>conftest.er1
11.12372 -  ac_status=$?
11.12373 -  grep -v '^ *+' conftest.er1 >conftest.err
11.12374 -  rm -f conftest.er1
11.12375 -  cat conftest.err >&5
11.12376 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12377 -  (exit $ac_status); } &&
11.12378 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.12379 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.12380 -  (eval $ac_try) 2>&5
11.12381 -  ac_status=$?
11.12382 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12383 -  (exit $ac_status); }; } &&
11.12384 -	 { ac_try='test -s conftest$ac_exeext'
11.12385 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.12386 -  (eval $ac_try) 2>&5
11.12387 -  ac_status=$?
11.12388 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12389 -  (exit $ac_status); }; }; then
11.12390 -  bu_cv_have_stat64=yes
11.12391 -else
11.12392 -  echo "$as_me: failed program was:" >&5
11.12393 -sed 's/^/| /' conftest.$ac_ext >&5
11.12394 -
11.12395 -saved_CPPFLAGS=$CPPFLAGS
11.12396 - CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE"
11.12397 - cat >conftest.$ac_ext <<_ACEOF
11.12398 -/* confdefs.h.  */
11.12399 -_ACEOF
11.12400 -cat confdefs.h >>conftest.$ac_ext
11.12401 -cat >>conftest.$ac_ext <<_ACEOF
11.12402 -/* end confdefs.h.  */
11.12403 -#include <sys/stat.h>
11.12404 -int
11.12405 -main ()
11.12406 -{
11.12407 -struct stat64 st; stat64 ("/tmp/foo", &st);
11.12408 -  ;
11.12409 -  return 0;
11.12410 -}
11.12411 -_ACEOF
11.12412 -rm -f conftest.$ac_objext conftest$ac_exeext
11.12413 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11.12414 -  (eval $ac_link) 2>conftest.er1
11.12415 -  ac_status=$?
11.12416 -  grep -v '^ *+' conftest.er1 >conftest.err
11.12417 -  rm -f conftest.er1
11.12418 -  cat conftest.err >&5
11.12419 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12420 -  (exit $ac_status); } &&
11.12421 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.12422 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.12423 -  (eval $ac_try) 2>&5
11.12424 -  ac_status=$?
11.12425 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12426 -  (exit $ac_status); }; } &&
11.12427 -	 { ac_try='test -s conftest$ac_exeext'
11.12428 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.12429 -  (eval $ac_try) 2>&5
11.12430 -  ac_status=$?
11.12431 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12432 -  (exit $ac_status); }; }; then
11.12433 -  bu_cv_have_stat64="need -D_LARGEFILE64_SOURCE"
11.12434 -else
11.12435 -  echo "$as_me: failed program was:" >&5
11.12436 -sed 's/^/| /' conftest.$ac_ext >&5
11.12437 -
11.12438 -bu_cv_have_stat64=no
11.12439 -fi
11.12440 -rm -f conftest.err conftest.$ac_objext \
11.12441 -      conftest$ac_exeext conftest.$ac_ext
11.12442 - CPPFLAGS=$saved_CPPFLAGS
11.12443 -fi
11.12444 -rm -f conftest.err conftest.$ac_objext \
11.12445 -      conftest$ac_exeext conftest.$ac_ext
11.12446 -fi
11.12447 -
11.12448 -echo "$as_me:$LINENO: result: $bu_cv_have_stat64" >&5
11.12449 -echo "${ECHO_T}$bu_cv_have_stat64" >&6
11.12450 -if test "$bu_cv_have_stat64" != no; then
11.12451 -
11.12452 -cat >>confdefs.h <<\_ACEOF
11.12453 -#define HAVE_STAT64 1
11.12454 -_ACEOF
11.12455 -
11.12456 -fi
11.12457 -if test "$bu_cv_have_fopen64" = "need -D_LARGEFILE64_SOURCE" \
11.12458 -   || test "$bu_cv_have_stat64" = "need -D_LARGEFILE64_SOURCE"; then
11.12459 -
11.12460 -cat >>confdefs.h <<\_ACEOF
11.12461 -#define _LARGEFILE64_SOURCE 1
11.12462 -_ACEOF
11.12463 -
11.12464 -  CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE"
11.12465 -fi
11.12466 -
11.12467 -# Some systems have frexp only in -lm, not in -lc.
11.12468 -echo "$as_me:$LINENO: checking for library containing frexp" >&5
11.12469 -echo $ECHO_N "checking for library containing frexp... $ECHO_C" >&6
11.12470 -if test "${ac_cv_search_frexp+set}" = set; then
11.12471 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.12472 -else
11.12473 -  ac_func_search_save_LIBS=$LIBS
11.12474 -ac_cv_search_frexp=no
11.12475 -cat >conftest.$ac_ext <<_ACEOF
11.12476 -/* confdefs.h.  */
11.12477 -_ACEOF
11.12478 -cat confdefs.h >>conftest.$ac_ext
11.12479 -cat >>conftest.$ac_ext <<_ACEOF
11.12480 -/* end confdefs.h.  */
11.12481 -
11.12482 -/* Override any gcc2 internal prototype to avoid an error.  */
11.12483 -#ifdef __cplusplus
11.12484 -extern "C"
11.12485 -#endif
11.12486 -/* We use char because int might match the return type of a gcc2
11.12487 -   builtin and then its argument prototype would still apply.  */
11.12488 -char frexp ();
11.12489 -int
11.12490 -main ()
11.12491 -{
11.12492 -frexp ();
11.12493 -  ;
11.12494 -  return 0;
11.12495 -}
11.12496 -_ACEOF
11.12497 -rm -f conftest.$ac_objext conftest$ac_exeext
11.12498 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11.12499 -  (eval $ac_link) 2>conftest.er1
11.12500 -  ac_status=$?
11.12501 -  grep -v '^ *+' conftest.er1 >conftest.err
11.12502 -  rm -f conftest.er1
11.12503 -  cat conftest.err >&5
11.12504 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12505 -  (exit $ac_status); } &&
11.12506 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.12507 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.12508 -  (eval $ac_try) 2>&5
11.12509 -  ac_status=$?
11.12510 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12511 -  (exit $ac_status); }; } &&
11.12512 -	 { ac_try='test -s conftest$ac_exeext'
11.12513 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.12514 -  (eval $ac_try) 2>&5
11.12515 -  ac_status=$?
11.12516 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12517 -  (exit $ac_status); }; }; then
11.12518 -  ac_cv_search_frexp="none required"
11.12519 -else
11.12520 -  echo "$as_me: failed program was:" >&5
11.12521 -sed 's/^/| /' conftest.$ac_ext >&5
11.12522 -
11.12523 -fi
11.12524 -rm -f conftest.err conftest.$ac_objext \
11.12525 -      conftest$ac_exeext conftest.$ac_ext
11.12526 -if test "$ac_cv_search_frexp" = no; then
11.12527 -  for ac_lib in m; do
11.12528 -    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
11.12529 -    cat >conftest.$ac_ext <<_ACEOF
11.12530 -/* confdefs.h.  */
11.12531 -_ACEOF
11.12532 -cat confdefs.h >>conftest.$ac_ext
11.12533 -cat >>conftest.$ac_ext <<_ACEOF
11.12534 -/* end confdefs.h.  */
11.12535 -
11.12536 -/* Override any gcc2 internal prototype to avoid an error.  */
11.12537 -#ifdef __cplusplus
11.12538 -extern "C"
11.12539 -#endif
11.12540 -/* We use char because int might match the return type of a gcc2
11.12541 -   builtin and then its argument prototype would still apply.  */
11.12542 -char frexp ();
11.12543 -int
11.12544 -main ()
11.12545 -{
11.12546 -frexp ();
11.12547 -  ;
11.12548 -  return 0;
11.12549 -}
11.12550 -_ACEOF
11.12551 -rm -f conftest.$ac_objext conftest$ac_exeext
11.12552 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11.12553 -  (eval $ac_link) 2>conftest.er1
11.12554 -  ac_status=$?
11.12555 -  grep -v '^ *+' conftest.er1 >conftest.err
11.12556 -  rm -f conftest.er1
11.12557 -  cat conftest.err >&5
11.12558 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12559 -  (exit $ac_status); } &&
11.12560 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.12561 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.12562 -  (eval $ac_try) 2>&5
11.12563 -  ac_status=$?
11.12564 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12565 -  (exit $ac_status); }; } &&
11.12566 -	 { ac_try='test -s conftest$ac_exeext'
11.12567 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.12568 -  (eval $ac_try) 2>&5
11.12569 -  ac_status=$?
11.12570 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12571 -  (exit $ac_status); }; }; then
11.12572 -  ac_cv_search_frexp="-l$ac_lib"
11.12573 -break
11.12574 -else
11.12575 -  echo "$as_me: failed program was:" >&5
11.12576 -sed 's/^/| /' conftest.$ac_ext >&5
11.12577 -
11.12578 -fi
11.12579 -rm -f conftest.err conftest.$ac_objext \
11.12580 -      conftest$ac_exeext conftest.$ac_ext
11.12581 -  done
11.12582 -fi
11.12583 -LIBS=$ac_func_search_save_LIBS
11.12584 -fi
11.12585 -echo "$as_me:$LINENO: result: $ac_cv_search_frexp" >&5
11.12586 -echo "${ECHO_T}$ac_cv_search_frexp" >&6
11.12587 -if test "$ac_cv_search_frexp" != no; then
11.12588 -  test "$ac_cv_search_frexp" = "none required" || LIBS="$ac_cv_search_frexp $LIBS"
11.12589 -
11.12590 -fi
11.12591 -
11.12592 -
11.12593 -echo "$as_me:$LINENO: checking for time_t in time.h" >&5
11.12594 -echo $ECHO_N "checking for time_t in time.h... $ECHO_C" >&6
11.12595 -if test "${bu_cv_decl_time_t_time_h+set}" = set; then
11.12596 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.12597 -else
11.12598 -  cat >conftest.$ac_ext <<_ACEOF
11.12599 -/* confdefs.h.  */
11.12600 -_ACEOF
11.12601 -cat confdefs.h >>conftest.$ac_ext
11.12602 -cat >>conftest.$ac_ext <<_ACEOF
11.12603 -/* end confdefs.h.  */
11.12604 -#include <time.h>
11.12605 -int
11.12606 -main ()
11.12607 -{
11.12608 -time_t i;
11.12609 -  ;
11.12610 -  return 0;
11.12611 -}
11.12612 -_ACEOF
11.12613 -rm -f conftest.$ac_objext
11.12614 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11.12615 -  (eval $ac_compile) 2>conftest.er1
11.12616 -  ac_status=$?
11.12617 -  grep -v '^ *+' conftest.er1 >conftest.err
11.12618 -  rm -f conftest.er1
11.12619 -  cat conftest.err >&5
11.12620 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12621 -  (exit $ac_status); } &&
11.12622 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.12623 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.12624 -  (eval $ac_try) 2>&5
11.12625 -  ac_status=$?
11.12626 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12627 -  (exit $ac_status); }; } &&
11.12628 -	 { ac_try='test -s conftest.$ac_objext'
11.12629 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.12630 -  (eval $ac_try) 2>&5
11.12631 -  ac_status=$?
11.12632 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12633 -  (exit $ac_status); }; }; then
11.12634 -  bu_cv_decl_time_t_time_h=yes
11.12635 -else
11.12636 -  echo "$as_me: failed program was:" >&5
11.12637 -sed 's/^/| /' conftest.$ac_ext >&5
11.12638 -
11.12639 -bu_cv_decl_time_t_time_h=no
11.12640 -fi
11.12641 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11.12642 -fi
11.12643 -
11.12644 -echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_time_h" >&5
11.12645 -echo "${ECHO_T}$bu_cv_decl_time_t_time_h" >&6
11.12646 -if test $bu_cv_decl_time_t_time_h = yes; then
11.12647 -
11.12648 -cat >>confdefs.h <<\_ACEOF
11.12649 -#define HAVE_TIME_T_IN_TIME_H 1
11.12650 -_ACEOF
11.12651 -
11.12652 -fi
11.12653 -
11.12654 -echo "$as_me:$LINENO: checking for time_t in sys/types.h" >&5
11.12655 -echo $ECHO_N "checking for time_t in sys/types.h... $ECHO_C" >&6
11.12656 -if test "${bu_cv_decl_time_t_types_h+set}" = set; then
11.12657 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.12658 -else
11.12659 -  cat >conftest.$ac_ext <<_ACEOF
11.12660 -/* confdefs.h.  */
11.12661 -_ACEOF
11.12662 -cat confdefs.h >>conftest.$ac_ext
11.12663 -cat >>conftest.$ac_ext <<_ACEOF
11.12664 -/* end confdefs.h.  */
11.12665 -#include <sys/types.h>
11.12666 -int
11.12667 -main ()
11.12668 -{
11.12669 -time_t i;
11.12670 -  ;
11.12671 -  return 0;
11.12672 -}
11.12673 -_ACEOF
11.12674 -rm -f conftest.$ac_objext
11.12675 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11.12676 -  (eval $ac_compile) 2>conftest.er1
11.12677 -  ac_status=$?
11.12678 -  grep -v '^ *+' conftest.er1 >conftest.err
11.12679 -  rm -f conftest.er1
11.12680 -  cat conftest.err >&5
11.12681 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12682 -  (exit $ac_status); } &&
11.12683 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.12684 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.12685 -  (eval $ac_try) 2>&5
11.12686 -  ac_status=$?
11.12687 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12688 -  (exit $ac_status); }; } &&
11.12689 -	 { ac_try='test -s conftest.$ac_objext'
11.12690 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.12691 -  (eval $ac_try) 2>&5
11.12692 -  ac_status=$?
11.12693 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12694 -  (exit $ac_status); }; }; then
11.12695 -  bu_cv_decl_time_t_types_h=yes
11.12696 -else
11.12697 -  echo "$as_me: failed program was:" >&5
11.12698 -sed 's/^/| /' conftest.$ac_ext >&5
11.12699 -
11.12700 -bu_cv_decl_time_t_types_h=no
11.12701 -fi
11.12702 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11.12703 -fi
11.12704 -
11.12705 -echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_types_h" >&5
11.12706 -echo "${ECHO_T}$bu_cv_decl_time_t_types_h" >&6
11.12707 -if test $bu_cv_decl_time_t_types_h = yes; then
11.12708 -
11.12709 -cat >>confdefs.h <<\_ACEOF
11.12710 -#define HAVE_TIME_T_IN_TYPES_H 1
11.12711 -_ACEOF
11.12712 -
11.12713 -fi
11.12714 -
11.12715 -echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
11.12716 -echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
11.12717 -if test "${bu_cv_decl_getopt_unistd_h+set}" = set; then
11.12718 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.12719 -else
11.12720 -  cat >conftest.$ac_ext <<_ACEOF
11.12721 -/* confdefs.h.  */
11.12722 -_ACEOF
11.12723 -cat confdefs.h >>conftest.$ac_ext
11.12724 -cat >>conftest.$ac_ext <<_ACEOF
11.12725 -/* end confdefs.h.  */
11.12726 -#include <unistd.h>
11.12727 -int
11.12728 -main ()
11.12729 -{
11.12730 -extern int getopt (int, char *const*, const char *);
11.12731 -  ;
11.12732 -  return 0;
11.12733 -}
11.12734 -_ACEOF
11.12735 -rm -f conftest.$ac_objext
11.12736 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11.12737 -  (eval $ac_compile) 2>conftest.er1
11.12738 -  ac_status=$?
11.12739 -  grep -v '^ *+' conftest.er1 >conftest.err
11.12740 -  rm -f conftest.er1
11.12741 -  cat conftest.err >&5
11.12742 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12743 -  (exit $ac_status); } &&
11.12744 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.12745 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.12746 -  (eval $ac_try) 2>&5
11.12747 -  ac_status=$?
11.12748 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12749 -  (exit $ac_status); }; } &&
11.12750 -	 { ac_try='test -s conftest.$ac_objext'
11.12751 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.12752 -  (eval $ac_try) 2>&5
11.12753 -  ac_status=$?
11.12754 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12755 -  (exit $ac_status); }; }; then
11.12756 -  bu_cv_decl_getopt_unistd_h=yes
11.12757 -else
11.12758 -  echo "$as_me: failed program was:" >&5
11.12759 -sed 's/^/| /' conftest.$ac_ext >&5
11.12760 -
11.12761 -bu_cv_decl_getopt_unistd_h=no
11.12762 -fi
11.12763 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11.12764 -fi
11.12765 -
11.12766 -echo "$as_me:$LINENO: result: $bu_cv_decl_getopt_unistd_h" >&5
11.12767 -echo "${ECHO_T}$bu_cv_decl_getopt_unistd_h" >&6
11.12768 -if test $bu_cv_decl_getopt_unistd_h = yes; then
11.12769 -
11.12770 -cat >>confdefs.h <<\_ACEOF
11.12771 -#define HAVE_DECL_GETOPT 1
11.12772 -_ACEOF
11.12773 -
11.12774 -fi
11.12775 -
11.12776 -# Under Next 3.2 <utime.h> apparently does not define struct utimbuf
11.12777 -# by default.
11.12778 -echo "$as_me:$LINENO: checking for utime.h" >&5
11.12779 -echo $ECHO_N "checking for utime.h... $ECHO_C" >&6
11.12780 -if test "${bu_cv_header_utime_h+set}" = set; then
11.12781 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.12782 -else
11.12783 -  cat >conftest.$ac_ext <<_ACEOF
11.12784 -/* confdefs.h.  */
11.12785 -_ACEOF
11.12786 -cat confdefs.h >>conftest.$ac_ext
11.12787 -cat >>conftest.$ac_ext <<_ACEOF
11.12788 -/* end confdefs.h.  */
11.12789 -#include <sys/types.h>
11.12790 -#ifdef HAVE_TIME_H
11.12791 -#include <time.h>
11.12792 -#endif
11.12793 -#include <utime.h>
11.12794 -int
11.12795 -main ()
11.12796 -{
11.12797 -struct utimbuf s;
11.12798 -  ;
11.12799 -  return 0;
11.12800 -}
11.12801 -_ACEOF
11.12802 -rm -f conftest.$ac_objext
11.12803 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11.12804 -  (eval $ac_compile) 2>conftest.er1
11.12805 -  ac_status=$?
11.12806 -  grep -v '^ *+' conftest.er1 >conftest.err
11.12807 -  rm -f conftest.er1
11.12808 -  cat conftest.err >&5
11.12809 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12810 -  (exit $ac_status); } &&
11.12811 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.12812 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.12813 -  (eval $ac_try) 2>&5
11.12814 -  ac_status=$?
11.12815 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12816 -  (exit $ac_status); }; } &&
11.12817 -	 { ac_try='test -s conftest.$ac_objext'
11.12818 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.12819 -  (eval $ac_try) 2>&5
11.12820 -  ac_status=$?
11.12821 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12822 -  (exit $ac_status); }; }; then
11.12823 -  bu_cv_header_utime_h=yes
11.12824 -else
11.12825 -  echo "$as_me: failed program was:" >&5
11.12826 -sed 's/^/| /' conftest.$ac_ext >&5
11.12827 -
11.12828 -bu_cv_header_utime_h=no
11.12829 -fi
11.12830 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11.12831 -fi
11.12832 -
11.12833 -echo "$as_me:$LINENO: result: $bu_cv_header_utime_h" >&5
11.12834 -echo "${ECHO_T}$bu_cv_header_utime_h" >&6
11.12835 -if test $bu_cv_header_utime_h = yes; then
11.12836 -
11.12837 -cat >>confdefs.h <<\_ACEOF
11.12838 -#define HAVE_GOOD_UTIME_H 1
11.12839 -_ACEOF
11.12840 -
11.12841 -fi
11.12842 -
11.12843 -echo "$as_me:$LINENO: checking whether fprintf is declared" >&5
11.12844 -echo $ECHO_N "checking whether fprintf is declared... $ECHO_C" >&6
11.12845 -if test "${ac_cv_have_decl_fprintf+set}" = set; then
11.12846 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.12847 -else
11.12848 -  cat >conftest.$ac_ext <<_ACEOF
11.12849 -/* confdefs.h.  */
11.12850 -_ACEOF
11.12851 -cat confdefs.h >>conftest.$ac_ext
11.12852 -cat >>conftest.$ac_ext <<_ACEOF
11.12853 -/* end confdefs.h.  */
11.12854 -$ac_includes_default
11.12855 -int
11.12856 -main ()
11.12857 -{
11.12858 -#ifndef fprintf
11.12859 -  char *p = (char *) fprintf;
11.12860 -#endif
11.12861 -
11.12862 -  ;
11.12863 -  return 0;
11.12864 -}
11.12865 -_ACEOF
11.12866 -rm -f conftest.$ac_objext
11.12867 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11.12868 -  (eval $ac_compile) 2>conftest.er1
11.12869 -  ac_status=$?
11.12870 -  grep -v '^ *+' conftest.er1 >conftest.err
11.12871 -  rm -f conftest.er1
11.12872 -  cat conftest.err >&5
11.12873 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12874 -  (exit $ac_status); } &&
11.12875 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.12876 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.12877 -  (eval $ac_try) 2>&5
11.12878 -  ac_status=$?
11.12879 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12880 -  (exit $ac_status); }; } &&
11.12881 -	 { ac_try='test -s conftest.$ac_objext'
11.12882 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.12883 -  (eval $ac_try) 2>&5
11.12884 -  ac_status=$?
11.12885 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12886 -  (exit $ac_status); }; }; then
11.12887 -  ac_cv_have_decl_fprintf=yes
11.12888 -else
11.12889 -  echo "$as_me: failed program was:" >&5
11.12890 -sed 's/^/| /' conftest.$ac_ext >&5
11.12891 -
11.12892 -ac_cv_have_decl_fprintf=no
11.12893 -fi
11.12894 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11.12895 -fi
11.12896 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf" >&5
11.12897 -echo "${ECHO_T}$ac_cv_have_decl_fprintf" >&6
11.12898 -if test $ac_cv_have_decl_fprintf = yes; then
11.12899 -
11.12900 -cat >>confdefs.h <<_ACEOF
11.12901 -#define HAVE_DECL_FPRINTF 1
11.12902 -_ACEOF
11.12903 -
11.12904 -
11.12905 -else
11.12906 -  cat >>confdefs.h <<_ACEOF
11.12907 -#define HAVE_DECL_FPRINTF 0
11.12908 -_ACEOF
11.12909 -
11.12910 -
11.12911 -fi
11.12912 -echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
11.12913 -echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
11.12914 -if test "${ac_cv_have_decl_stpcpy+set}" = set; then
11.12915 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.12916 -else
11.12917 -  cat >conftest.$ac_ext <<_ACEOF
11.12918 -/* confdefs.h.  */
11.12919 -_ACEOF
11.12920 -cat confdefs.h >>conftest.$ac_ext
11.12921 -cat >>conftest.$ac_ext <<_ACEOF
11.12922 -/* end confdefs.h.  */
11.12923 -$ac_includes_default
11.12924 -int
11.12925 -main ()
11.12926 -{
11.12927 -#ifndef stpcpy
11.12928 -  char *p = (char *) stpcpy;
11.12929 -#endif
11.12930 -
11.12931 -  ;
11.12932 -  return 0;
11.12933 -}
11.12934 -_ACEOF
11.12935 -rm -f conftest.$ac_objext
11.12936 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11.12937 -  (eval $ac_compile) 2>conftest.er1
11.12938 -  ac_status=$?
11.12939 -  grep -v '^ *+' conftest.er1 >conftest.err
11.12940 -  rm -f conftest.er1
11.12941 -  cat conftest.err >&5
11.12942 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12943 -  (exit $ac_status); } &&
11.12944 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.12945 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.12946 -  (eval $ac_try) 2>&5
11.12947 -  ac_status=$?
11.12948 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12949 -  (exit $ac_status); }; } &&
11.12950 -	 { ac_try='test -s conftest.$ac_objext'
11.12951 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.12952 -  (eval $ac_try) 2>&5
11.12953 -  ac_status=$?
11.12954 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.12955 -  (exit $ac_status); }; }; then
11.12956 -  ac_cv_have_decl_stpcpy=yes
11.12957 -else
11.12958 -  echo "$as_me: failed program was:" >&5
11.12959 -sed 's/^/| /' conftest.$ac_ext >&5
11.12960 -
11.12961 -ac_cv_have_decl_stpcpy=no
11.12962 -fi
11.12963 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11.12964 -fi
11.12965 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
11.12966 -echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
11.12967 -if test $ac_cv_have_decl_stpcpy = yes; then
11.12968 -
11.12969 -cat >>confdefs.h <<_ACEOF
11.12970 -#define HAVE_DECL_STPCPY 1
11.12971 -_ACEOF
11.12972 -
11.12973 -
11.12974 -else
11.12975 -  cat >>confdefs.h <<_ACEOF
11.12976 -#define HAVE_DECL_STPCPY 0
11.12977 -_ACEOF
11.12978 -
11.12979 -
11.12980 -fi
11.12981 -echo "$as_me:$LINENO: checking whether strstr is declared" >&5
11.12982 -echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
11.12983 -if test "${ac_cv_have_decl_strstr+set}" = set; then
11.12984 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.12985 -else
11.12986 -  cat >conftest.$ac_ext <<_ACEOF
11.12987 -/* confdefs.h.  */
11.12988 -_ACEOF
11.12989 -cat confdefs.h >>conftest.$ac_ext
11.12990 -cat >>conftest.$ac_ext <<_ACEOF
11.12991 -/* end confdefs.h.  */
11.12992 -$ac_includes_default
11.12993 -int
11.12994 -main ()
11.12995 -{
11.12996 -#ifndef strstr
11.12997 -  char *p = (char *) strstr;
11.12998 -#endif
11.12999 -
11.13000 -  ;
11.13001 -  return 0;
11.13002 -}
11.13003 -_ACEOF
11.13004 -rm -f conftest.$ac_objext
11.13005 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11.13006 -  (eval $ac_compile) 2>conftest.er1
11.13007 -  ac_status=$?
11.13008 -  grep -v '^ *+' conftest.er1 >conftest.err
11.13009 -  rm -f conftest.er1
11.13010 -  cat conftest.err >&5
11.13011 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13012 -  (exit $ac_status); } &&
11.13013 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.13014 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.13015 -  (eval $ac_try) 2>&5
11.13016 -  ac_status=$?
11.13017 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13018 -  (exit $ac_status); }; } &&
11.13019 -	 { ac_try='test -s conftest.$ac_objext'
11.13020 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.13021 -  (eval $ac_try) 2>&5
11.13022 -  ac_status=$?
11.13023 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13024 -  (exit $ac_status); }; }; then
11.13025 -  ac_cv_have_decl_strstr=yes
11.13026 -else
11.13027 -  echo "$as_me: failed program was:" >&5
11.13028 -sed 's/^/| /' conftest.$ac_ext >&5
11.13029 -
11.13030 -ac_cv_have_decl_strstr=no
11.13031 -fi
11.13032 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11.13033 -fi
11.13034 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
11.13035 -echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
11.13036 -if test $ac_cv_have_decl_strstr = yes; then
11.13037 -
11.13038 -cat >>confdefs.h <<_ACEOF
11.13039 -#define HAVE_DECL_STRSTR 1
11.13040 -_ACEOF
11.13041 -
11.13042 -
11.13043 -else
11.13044 -  cat >>confdefs.h <<_ACEOF
11.13045 -#define HAVE_DECL_STRSTR 0
11.13046 -_ACEOF
11.13047 -
11.13048 -
11.13049 -fi
11.13050 -echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
11.13051 -echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6
11.13052 -if test "${ac_cv_have_decl_sbrk+set}" = set; then
11.13053 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.13054 -else
11.13055 -  cat >conftest.$ac_ext <<_ACEOF
11.13056 -/* confdefs.h.  */
11.13057 -_ACEOF
11.13058 -cat confdefs.h >>conftest.$ac_ext
11.13059 -cat >>conftest.$ac_ext <<_ACEOF
11.13060 -/* end confdefs.h.  */
11.13061 -$ac_includes_default
11.13062 -int
11.13063 -main ()
11.13064 -{
11.13065 -#ifndef sbrk
11.13066 -  char *p = (char *) sbrk;
11.13067 -#endif
11.13068 -
11.13069 -  ;
11.13070 -  return 0;
11.13071 -}
11.13072 -_ACEOF
11.13073 -rm -f conftest.$ac_objext
11.13074 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11.13075 -  (eval $ac_compile) 2>conftest.er1
11.13076 -  ac_status=$?
11.13077 -  grep -v '^ *+' conftest.er1 >conftest.err
11.13078 -  rm -f conftest.er1
11.13079 -  cat conftest.err >&5
11.13080 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13081 -  (exit $ac_status); } &&
11.13082 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.13083 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.13084 -  (eval $ac_try) 2>&5
11.13085 -  ac_status=$?
11.13086 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13087 -  (exit $ac_status); }; } &&
11.13088 -	 { ac_try='test -s conftest.$ac_objext'
11.13089 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.13090 -  (eval $ac_try) 2>&5
11.13091 -  ac_status=$?
11.13092 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13093 -  (exit $ac_status); }; }; then
11.13094 -  ac_cv_have_decl_sbrk=yes
11.13095 -else
11.13096 -  echo "$as_me: failed program was:" >&5
11.13097 -sed 's/^/| /' conftest.$ac_ext >&5
11.13098 -
11.13099 -ac_cv_have_decl_sbrk=no
11.13100 -fi
11.13101 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11.13102 -fi
11.13103 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
11.13104 -echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6
11.13105 -if test $ac_cv_have_decl_sbrk = yes; then
11.13106 -
11.13107 -cat >>confdefs.h <<_ACEOF
11.13108 -#define HAVE_DECL_SBRK 1
11.13109 -_ACEOF
11.13110 -
11.13111 -
11.13112 -else
11.13113 -  cat >>confdefs.h <<_ACEOF
11.13114 -#define HAVE_DECL_SBRK 0
11.13115 -_ACEOF
11.13116 -
11.13117 -
11.13118 -fi
11.13119 -echo "$as_me:$LINENO: checking whether getenv is declared" >&5
11.13120 -echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
11.13121 -if test "${ac_cv_have_decl_getenv+set}" = set; then
11.13122 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.13123 -else
11.13124 -  cat >conftest.$ac_ext <<_ACEOF
11.13125 -/* confdefs.h.  */
11.13126 -_ACEOF
11.13127 -cat confdefs.h >>conftest.$ac_ext
11.13128 -cat >>conftest.$ac_ext <<_ACEOF
11.13129 -/* end confdefs.h.  */
11.13130 -$ac_includes_default
11.13131 -int
11.13132 -main ()
11.13133 -{
11.13134 -#ifndef getenv
11.13135 -  char *p = (char *) getenv;
11.13136 -#endif
11.13137 -
11.13138 -  ;
11.13139 -  return 0;
11.13140 -}
11.13141 -_ACEOF
11.13142 -rm -f conftest.$ac_objext
11.13143 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11.13144 -  (eval $ac_compile) 2>conftest.er1
11.13145 -  ac_status=$?
11.13146 -  grep -v '^ *+' conftest.er1 >conftest.err
11.13147 -  rm -f conftest.er1
11.13148 -  cat conftest.err >&5
11.13149 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13150 -  (exit $ac_status); } &&
11.13151 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.13152 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.13153 -  (eval $ac_try) 2>&5
11.13154 -  ac_status=$?
11.13155 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13156 -  (exit $ac_status); }; } &&
11.13157 -	 { ac_try='test -s conftest.$ac_objext'
11.13158 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.13159 -  (eval $ac_try) 2>&5
11.13160 -  ac_status=$?
11.13161 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13162 -  (exit $ac_status); }; }; then
11.13163 -  ac_cv_have_decl_getenv=yes
11.13164 -else
11.13165 -  echo "$as_me: failed program was:" >&5
11.13166 -sed 's/^/| /' conftest.$ac_ext >&5
11.13167 -
11.13168 -ac_cv_have_decl_getenv=no
11.13169 -fi
11.13170 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11.13171 -fi
11.13172 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
11.13173 -echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
11.13174 -if test $ac_cv_have_decl_getenv = yes; then
11.13175 -
11.13176 -cat >>confdefs.h <<_ACEOF
11.13177 -#define HAVE_DECL_GETENV 1
11.13178 -_ACEOF
11.13179 -
11.13180 -
11.13181 -else
11.13182 -  cat >>confdefs.h <<_ACEOF
11.13183 -#define HAVE_DECL_GETENV 0
11.13184 -_ACEOF
11.13185 -
11.13186 -
11.13187 -fi
11.13188 -echo "$as_me:$LINENO: checking whether environ is declared" >&5
11.13189 -echo $ECHO_N "checking whether environ is declared... $ECHO_C" >&6
11.13190 -if test "${ac_cv_have_decl_environ+set}" = set; then
11.13191 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.13192 -else
11.13193 -  cat >conftest.$ac_ext <<_ACEOF
11.13194 -/* confdefs.h.  */
11.13195 -_ACEOF
11.13196 -cat confdefs.h >>conftest.$ac_ext
11.13197 -cat >>conftest.$ac_ext <<_ACEOF
11.13198 -/* end confdefs.h.  */
11.13199 -$ac_includes_default
11.13200 -int
11.13201 -main ()
11.13202 -{
11.13203 -#ifndef environ
11.13204 -  char *p = (char *) environ;
11.13205 -#endif
11.13206 -
11.13207 -  ;
11.13208 -  return 0;
11.13209 -}
11.13210 -_ACEOF
11.13211 -rm -f conftest.$ac_objext
11.13212 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11.13213 -  (eval $ac_compile) 2>conftest.er1
11.13214 -  ac_status=$?
11.13215 -  grep -v '^ *+' conftest.er1 >conftest.err
11.13216 -  rm -f conftest.er1
11.13217 -  cat conftest.err >&5
11.13218 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13219 -  (exit $ac_status); } &&
11.13220 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.13221 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.13222 -  (eval $ac_try) 2>&5
11.13223 -  ac_status=$?
11.13224 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13225 -  (exit $ac_status); }; } &&
11.13226 -	 { ac_try='test -s conftest.$ac_objext'
11.13227 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.13228 -  (eval $ac_try) 2>&5
11.13229 -  ac_status=$?
11.13230 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13231 -  (exit $ac_status); }; }; then
11.13232 -  ac_cv_have_decl_environ=yes
11.13233 -else
11.13234 -  echo "$as_me: failed program was:" >&5
11.13235 -sed 's/^/| /' conftest.$ac_ext >&5
11.13236 -
11.13237 -ac_cv_have_decl_environ=no
11.13238 -fi
11.13239 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11.13240 -fi
11.13241 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_environ" >&5
11.13242 -echo "${ECHO_T}$ac_cv_have_decl_environ" >&6
11.13243 -if test $ac_cv_have_decl_environ = yes; then
11.13244 -
11.13245 -cat >>confdefs.h <<_ACEOF
11.13246 -#define HAVE_DECL_ENVIRON 1
11.13247 -_ACEOF
11.13248 -
11.13249 -
11.13250 -else
11.13251 -  cat >>confdefs.h <<_ACEOF
11.13252 -#define HAVE_DECL_ENVIRON 0
11.13253 -_ACEOF
11.13254 -
11.13255 -
11.13256 -fi
11.13257 -echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
11.13258 -echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
11.13259 -if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
11.13260 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.13261 -else
11.13262 -  cat >conftest.$ac_ext <<_ACEOF
11.13263 -/* confdefs.h.  */
11.13264 -_ACEOF
11.13265 -cat confdefs.h >>conftest.$ac_ext
11.13266 -cat >>conftest.$ac_ext <<_ACEOF
11.13267 -/* end confdefs.h.  */
11.13268 -$ac_includes_default
11.13269 -int
11.13270 -main ()
11.13271 -{
11.13272 -#ifndef getc_unlocked
11.13273 -  char *p = (char *) getc_unlocked;
11.13274 -#endif
11.13275 -
11.13276 -  ;
11.13277 -  return 0;
11.13278 -}
11.13279 -_ACEOF
11.13280 -rm -f conftest.$ac_objext
11.13281 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11.13282 -  (eval $ac_compile) 2>conftest.er1
11.13283 -  ac_status=$?
11.13284 -  grep -v '^ *+' conftest.er1 >conftest.err
11.13285 -  rm -f conftest.er1
11.13286 -  cat conftest.err >&5
11.13287 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13288 -  (exit $ac_status); } &&
11.13289 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.13290 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.13291 -  (eval $ac_try) 2>&5
11.13292 -  ac_status=$?
11.13293 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13294 -  (exit $ac_status); }; } &&
11.13295 -	 { ac_try='test -s conftest.$ac_objext'
11.13296 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.13297 -  (eval $ac_try) 2>&5
11.13298 -  ac_status=$?
11.13299 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13300 -  (exit $ac_status); }; }; then
11.13301 -  ac_cv_have_decl_getc_unlocked=yes
11.13302 -else
11.13303 -  echo "$as_me: failed program was:" >&5
11.13304 -sed 's/^/| /' conftest.$ac_ext >&5
11.13305 -
11.13306 -ac_cv_have_decl_getc_unlocked=no
11.13307 -fi
11.13308 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11.13309 -fi
11.13310 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
11.13311 -echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
11.13312 -if test $ac_cv_have_decl_getc_unlocked = yes; then
11.13313 -
11.13314 -cat >>confdefs.h <<_ACEOF
11.13315 -#define HAVE_DECL_GETC_UNLOCKED 1
11.13316 -_ACEOF
11.13317 -
11.13318 -
11.13319 -else
11.13320 -  cat >>confdefs.h <<_ACEOF
11.13321 -#define HAVE_DECL_GETC_UNLOCKED 0
11.13322 -_ACEOF
11.13323 -
11.13324 -
11.13325 -fi
11.13326 -echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
11.13327 -echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
11.13328 -if test "${ac_cv_have_decl_snprintf+set}" = set; then
11.13329 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.13330 -else
11.13331 -  cat >conftest.$ac_ext <<_ACEOF
11.13332 -/* confdefs.h.  */
11.13333 -_ACEOF
11.13334 -cat confdefs.h >>conftest.$ac_ext
11.13335 -cat >>conftest.$ac_ext <<_ACEOF
11.13336 -/* end confdefs.h.  */
11.13337 -$ac_includes_default
11.13338 -int
11.13339 -main ()
11.13340 -{
11.13341 -#ifndef snprintf
11.13342 -  char *p = (char *) snprintf;
11.13343 -#endif
11.13344 -
11.13345 -  ;
11.13346 -  return 0;
11.13347 -}
11.13348 -_ACEOF
11.13349 -rm -f conftest.$ac_objext
11.13350 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11.13351 -  (eval $ac_compile) 2>conftest.er1
11.13352 -  ac_status=$?
11.13353 -  grep -v '^ *+' conftest.er1 >conftest.err
11.13354 -  rm -f conftest.er1
11.13355 -  cat conftest.err >&5
11.13356 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13357 -  (exit $ac_status); } &&
11.13358 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.13359 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.13360 -  (eval $ac_try) 2>&5
11.13361 -  ac_status=$?
11.13362 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13363 -  (exit $ac_status); }; } &&
11.13364 -	 { ac_try='test -s conftest.$ac_objext'
11.13365 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.13366 -  (eval $ac_try) 2>&5
11.13367 -  ac_status=$?
11.13368 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13369 -  (exit $ac_status); }; }; then
11.13370 -  ac_cv_have_decl_snprintf=yes
11.13371 -else
11.13372 -  echo "$as_me: failed program was:" >&5
11.13373 -sed 's/^/| /' conftest.$ac_ext >&5
11.13374 -
11.13375 -ac_cv_have_decl_snprintf=no
11.13376 -fi
11.13377 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11.13378 -fi
11.13379 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
11.13380 -echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
11.13381 -if test $ac_cv_have_decl_snprintf = yes; then
11.13382 -
11.13383 -cat >>confdefs.h <<_ACEOF
11.13384 -#define HAVE_DECL_SNPRINTF 1
11.13385 -_ACEOF
11.13386 -
11.13387 -
11.13388 -else
11.13389 -  cat >>confdefs.h <<_ACEOF
11.13390 -#define HAVE_DECL_SNPRINTF 0
11.13391 -_ACEOF
11.13392 -
11.13393 -
11.13394 -fi
11.13395 -echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
11.13396 -echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
11.13397 -if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
11.13398 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.13399 -else
11.13400 -  cat >conftest.$ac_ext <<_ACEOF
11.13401 -/* confdefs.h.  */
11.13402 -_ACEOF
11.13403 -cat confdefs.h >>conftest.$ac_ext
11.13404 -cat >>conftest.$ac_ext <<_ACEOF
11.13405 -/* end confdefs.h.  */
11.13406 -$ac_includes_default
11.13407 -int
11.13408 -main ()
11.13409 -{
11.13410 -#ifndef vsnprintf
11.13411 -  char *p = (char *) vsnprintf;
11.13412 -#endif
11.13413 -
11.13414 -  ;
11.13415 -  return 0;
11.13416 -}
11.13417 -_ACEOF
11.13418 -rm -f conftest.$ac_objext
11.13419 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11.13420 -  (eval $ac_compile) 2>conftest.er1
11.13421 -  ac_status=$?
11.13422 -  grep -v '^ *+' conftest.er1 >conftest.err
11.13423 -  rm -f conftest.er1
11.13424 -  cat conftest.err >&5
11.13425 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13426 -  (exit $ac_status); } &&
11.13427 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.13428 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.13429 -  (eval $ac_try) 2>&5
11.13430 -  ac_status=$?
11.13431 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13432 -  (exit $ac_status); }; } &&
11.13433 -	 { ac_try='test -s conftest.$ac_objext'
11.13434 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.13435 -  (eval $ac_try) 2>&5
11.13436 -  ac_status=$?
11.13437 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13438 -  (exit $ac_status); }; }; then
11.13439 -  ac_cv_have_decl_vsnprintf=yes
11.13440 -else
11.13441 -  echo "$as_me: failed program was:" >&5
11.13442 -sed 's/^/| /' conftest.$ac_ext >&5
11.13443 -
11.13444 -ac_cv_have_decl_vsnprintf=no
11.13445 -fi
11.13446 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11.13447 -fi
11.13448 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
11.13449 -echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
11.13450 -if test $ac_cv_have_decl_vsnprintf = yes; then
11.13451 -
11.13452 -cat >>confdefs.h <<_ACEOF
11.13453 -#define HAVE_DECL_VSNPRINTF 1
11.13454 -_ACEOF
11.13455 -
11.13456 -
11.13457 -else
11.13458 -  cat >>confdefs.h <<_ACEOF
11.13459 -#define HAVE_DECL_VSNPRINTF 0
11.13460 -_ACEOF
11.13461 -
11.13462 -
11.13463 -fi
11.13464 -
11.13465 -
11.13466 -
11.13467 -# Link in zlib if we can.  This allows us to read compressed debug
11.13468 -# sections.  This is used only by readelf.c (objdump uses bfd for
11.13469 -# reading compressed sections).
11.13470 -echo "$as_me:$LINENO: checking for library containing zlibVersion" >&5
11.13471 -echo $ECHO_N "checking for library containing zlibVersion... $ECHO_C" >&6
11.13472 -if test "${ac_cv_search_zlibVersion+set}" = set; then
11.13473 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.13474 -else
11.13475 -  ac_func_search_save_LIBS=$LIBS
11.13476 -ac_cv_search_zlibVersion=no
11.13477 -cat >conftest.$ac_ext <<_ACEOF
11.13478 -/* confdefs.h.  */
11.13479 -_ACEOF
11.13480 -cat confdefs.h >>conftest.$ac_ext
11.13481 -cat >>conftest.$ac_ext <<_ACEOF
11.13482 -/* end confdefs.h.  */
11.13483 -
11.13484 -/* Override any gcc2 internal prototype to avoid an error.  */
11.13485 -#ifdef __cplusplus
11.13486 -extern "C"
11.13487 -#endif
11.13488 -/* We use char because int might match the return type of a gcc2
11.13489 -   builtin and then its argument prototype would still apply.  */
11.13490 -char zlibVersion ();
11.13491 -int
11.13492 -main ()
11.13493 -{
11.13494 -zlibVersion ();
11.13495 -  ;
11.13496 -  return 0;
11.13497 -}
11.13498 -_ACEOF
11.13499 -rm -f conftest.$ac_objext conftest$ac_exeext
11.13500 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11.13501 -  (eval $ac_link) 2>conftest.er1
11.13502 -  ac_status=$?
11.13503 -  grep -v '^ *+' conftest.er1 >conftest.err
11.13504 -  rm -f conftest.er1
11.13505 -  cat conftest.err >&5
11.13506 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13507 -  (exit $ac_status); } &&
11.13508 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.13509 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.13510 -  (eval $ac_try) 2>&5
11.13511 -  ac_status=$?
11.13512 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13513 -  (exit $ac_status); }; } &&
11.13514 -	 { ac_try='test -s conftest$ac_exeext'
11.13515 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.13516 -  (eval $ac_try) 2>&5
11.13517 -  ac_status=$?
11.13518 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13519 -  (exit $ac_status); }; }; then
11.13520 -  ac_cv_search_zlibVersion="none required"
11.13521 -else
11.13522 -  echo "$as_me: failed program was:" >&5
11.13523 -sed 's/^/| /' conftest.$ac_ext >&5
11.13524 -
11.13525 -fi
11.13526 -rm -f conftest.err conftest.$ac_objext \
11.13527 -      conftest$ac_exeext conftest.$ac_ext
11.13528 -if test "$ac_cv_search_zlibVersion" = no; then
11.13529 -  for ac_lib in z; do
11.13530 -    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
11.13531 -    cat >conftest.$ac_ext <<_ACEOF
11.13532 -/* confdefs.h.  */
11.13533 -_ACEOF
11.13534 -cat confdefs.h >>conftest.$ac_ext
11.13535 -cat >>conftest.$ac_ext <<_ACEOF
11.13536 -/* end confdefs.h.  */
11.13537 -
11.13538 -/* Override any gcc2 internal prototype to avoid an error.  */
11.13539 -#ifdef __cplusplus
11.13540 -extern "C"
11.13541 -#endif
11.13542 -/* We use char because int might match the return type of a gcc2
11.13543 -   builtin and then its argument prototype would still apply.  */
11.13544 -char zlibVersion ();
11.13545 -int
11.13546 -main ()
11.13547 -{
11.13548 -zlibVersion ();
11.13549 -  ;
11.13550 -  return 0;
11.13551 -}
11.13552 -_ACEOF
11.13553 -rm -f conftest.$ac_objext conftest$ac_exeext
11.13554 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11.13555 -  (eval $ac_link) 2>conftest.er1
11.13556 -  ac_status=$?
11.13557 -  grep -v '^ *+' conftest.er1 >conftest.err
11.13558 -  rm -f conftest.er1
11.13559 -  cat conftest.err >&5
11.13560 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13561 -  (exit $ac_status); } &&
11.13562 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.13563 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.13564 -  (eval $ac_try) 2>&5
11.13565 -  ac_status=$?
11.13566 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13567 -  (exit $ac_status); }; } &&
11.13568 -	 { ac_try='test -s conftest$ac_exeext'
11.13569 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.13570 -  (eval $ac_try) 2>&5
11.13571 -  ac_status=$?
11.13572 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13573 -  (exit $ac_status); }; }; then
11.13574 -  ac_cv_search_zlibVersion="-l$ac_lib"
11.13575 -break
11.13576 -else
11.13577 -  echo "$as_me: failed program was:" >&5
11.13578 -sed 's/^/| /' conftest.$ac_ext >&5
11.13579 -
11.13580 -fi
11.13581 -rm -f conftest.err conftest.$ac_objext \
11.13582 -      conftest$ac_exeext conftest.$ac_ext
11.13583 -  done
11.13584 -fi
11.13585 -LIBS=$ac_func_search_save_LIBS
11.13586 -fi
11.13587 -echo "$as_me:$LINENO: result: $ac_cv_search_zlibVersion" >&5
11.13588 -echo "${ECHO_T}$ac_cv_search_zlibVersion" >&6
11.13589 -if test "$ac_cv_search_zlibVersion" != no; then
11.13590 -  test "$ac_cv_search_zlibVersion" = "none required" || LIBS="$ac_cv_search_zlibVersion $LIBS"
11.13591 -
11.13592 -for ac_header in zlib.h
11.13593 -do
11.13594 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11.13595 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
11.13596 -  echo "$as_me:$LINENO: checking for $ac_header" >&5
11.13597 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11.13598 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
11.13599 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.13600 -fi
11.13601 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11.13602 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11.13603 -else
11.13604 -  # Is the header compilable?
11.13605 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
11.13606 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11.13607 -cat >conftest.$ac_ext <<_ACEOF
11.13608 -/* confdefs.h.  */
11.13609 -_ACEOF
11.13610 -cat confdefs.h >>conftest.$ac_ext
11.13611 -cat >>conftest.$ac_ext <<_ACEOF
11.13612 -/* end confdefs.h.  */
11.13613 -$ac_includes_default
11.13614 -#include <$ac_header>
11.13615 -_ACEOF
11.13616 -rm -f conftest.$ac_objext
11.13617 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11.13618 -  (eval $ac_compile) 2>conftest.er1
11.13619 -  ac_status=$?
11.13620 -  grep -v '^ *+' conftest.er1 >conftest.err
11.13621 -  rm -f conftest.er1
11.13622 -  cat conftest.err >&5
11.13623 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13624 -  (exit $ac_status); } &&
11.13625 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.13626 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.13627 -  (eval $ac_try) 2>&5
11.13628 -  ac_status=$?
11.13629 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13630 -  (exit $ac_status); }; } &&
11.13631 -	 { ac_try='test -s conftest.$ac_objext'
11.13632 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.13633 -  (eval $ac_try) 2>&5
11.13634 -  ac_status=$?
11.13635 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13636 -  (exit $ac_status); }; }; then
11.13637 -  ac_header_compiler=yes
11.13638 -else
11.13639 -  echo "$as_me: failed program was:" >&5
11.13640 -sed 's/^/| /' conftest.$ac_ext >&5
11.13641 -
11.13642 -ac_header_compiler=no
11.13643 -fi
11.13644 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11.13645 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11.13646 -echo "${ECHO_T}$ac_header_compiler" >&6
11.13647 -
11.13648 -# Is the header present?
11.13649 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
11.13650 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11.13651 -cat >conftest.$ac_ext <<_ACEOF
11.13652 -/* confdefs.h.  */
11.13653 -_ACEOF
11.13654 -cat confdefs.h >>conftest.$ac_ext
11.13655 -cat >>conftest.$ac_ext <<_ACEOF
11.13656 -/* end confdefs.h.  */
11.13657 -#include <$ac_header>
11.13658 -_ACEOF
11.13659 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11.13660 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11.13661 -  ac_status=$?
11.13662 -  grep -v '^ *+' conftest.er1 >conftest.err
11.13663 -  rm -f conftest.er1
11.13664 -  cat conftest.err >&5
11.13665 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13666 -  (exit $ac_status); } >/dev/null; then
11.13667 -  if test -s conftest.err; then
11.13668 -    ac_cpp_err=$ac_c_preproc_warn_flag
11.13669 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11.13670 -  else
11.13671 -    ac_cpp_err=
11.13672 -  fi
11.13673 -else
11.13674 -  ac_cpp_err=yes
11.13675 -fi
11.13676 -if test -z "$ac_cpp_err"; then
11.13677 -  ac_header_preproc=yes
11.13678 -else
11.13679 -  echo "$as_me: failed program was:" >&5
11.13680 -sed 's/^/| /' conftest.$ac_ext >&5
11.13681 -
11.13682 -  ac_header_preproc=no
11.13683 -fi
11.13684 -rm -f conftest.err conftest.$ac_ext
11.13685 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11.13686 -echo "${ECHO_T}$ac_header_preproc" >&6
11.13687 -
11.13688 -# So?  What about this header?
11.13689 -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11.13690 -  yes:no: )
11.13691 -    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11.13692 -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11.13693 -    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11.13694 -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11.13695 -    ac_header_preproc=yes
11.13696 -    ;;
11.13697 -  no:yes:* )
11.13698 -    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11.13699 -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11.13700 -    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
11.13701 -echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
11.13702 -    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11.13703 -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11.13704 -    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
11.13705 -echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
11.13706 -    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11.13707 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11.13708 -    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11.13709 -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11.13710 -    (
11.13711 -      cat <<\_ASBOX
11.13712 -## ------------------------------------------ ##
11.13713 -## Report this to the AC_PACKAGE_NAME lists.  ##
11.13714 -## ------------------------------------------ ##
11.13715 -_ASBOX
11.13716 -    ) |
11.13717 -      sed "s/^/$as_me: WARNING:     /" >&2
11.13718 -    ;;
11.13719 -esac
11.13720 -echo "$as_me:$LINENO: checking for $ac_header" >&5
11.13721 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11.13722 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
11.13723 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.13724 -else
11.13725 -  eval "$as_ac_Header=\$ac_header_preproc"
11.13726 -fi
11.13727 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11.13728 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11.13729 -
11.13730 -fi
11.13731 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
11.13732 -  cat >>confdefs.h <<_ACEOF
11.13733 -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11.13734 -_ACEOF
11.13735 -
11.13736 -fi
11.13737 -
11.13738 -done
11.13739 -
11.13740 -fi
11.13741 -
11.13742 -
11.13743 -
11.13744 -case "${host}" in
11.13745 -*-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
11.13746 -
11.13747 -cat >>confdefs.h <<\_ACEOF
11.13748 -#define USE_BINARY_FOPEN 1
11.13749 -_ACEOF
11.13750 - ;;
11.13751 -esac
11.13752 -
11.13753 -# target-specific stuff:
11.13754 -
11.13755 -# Canonicalize the secondary target names.
11.13756 -if test -n "$enable_targets"; then
11.13757 -    for targ in `echo $enable_targets | sed 's/,/ /g'`
11.13758 -    do
11.13759 -	result=`$ac_config_sub $targ 2>/dev/null`
11.13760 -	if test -n "$result"; then
11.13761 -	    canon_targets="$canon_targets $result"
11.13762 -	else
11.13763 -	    # Allow targets that config.sub doesn't recognize, like "all".
11.13764 -	    canon_targets="$canon_targets $targ"
11.13765 -	fi
11.13766 -    done
11.13767 -fi
11.13768 -
11.13769 -if test "${ac_cv_header_iconv_h+set}" = set; then
11.13770 -  echo "$as_me:$LINENO: checking for iconv.h" >&5
11.13771 -echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
11.13772 -if test "${ac_cv_header_iconv_h+set}" = set; then
11.13773 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.13774 -fi
11.13775 -echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
11.13776 -echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
11.13777 -else
11.13778 -  # Is the header compilable?
11.13779 -echo "$as_me:$LINENO: checking iconv.h usability" >&5
11.13780 -echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
11.13781 -cat >conftest.$ac_ext <<_ACEOF
11.13782 -/* confdefs.h.  */
11.13783 -_ACEOF
11.13784 -cat confdefs.h >>conftest.$ac_ext
11.13785 -cat >>conftest.$ac_ext <<_ACEOF
11.13786 -/* end confdefs.h.  */
11.13787 -$ac_includes_default
11.13788 -#include <iconv.h>
11.13789 -_ACEOF
11.13790 -rm -f conftest.$ac_objext
11.13791 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11.13792 -  (eval $ac_compile) 2>conftest.er1
11.13793 -  ac_status=$?
11.13794 -  grep -v '^ *+' conftest.er1 >conftest.err
11.13795 -  rm -f conftest.er1
11.13796 -  cat conftest.err >&5
11.13797 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13798 -  (exit $ac_status); } &&
11.13799 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.13800 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.13801 -  (eval $ac_try) 2>&5
11.13802 -  ac_status=$?
11.13803 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13804 -  (exit $ac_status); }; } &&
11.13805 -	 { ac_try='test -s conftest.$ac_objext'
11.13806 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.13807 -  (eval $ac_try) 2>&5
11.13808 -  ac_status=$?
11.13809 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13810 -  (exit $ac_status); }; }; then
11.13811 -  ac_header_compiler=yes
11.13812 -else
11.13813 -  echo "$as_me: failed program was:" >&5
11.13814 -sed 's/^/| /' conftest.$ac_ext >&5
11.13815 -
11.13816 -ac_header_compiler=no
11.13817 -fi
11.13818 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11.13819 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11.13820 -echo "${ECHO_T}$ac_header_compiler" >&6
11.13821 -
11.13822 -# Is the header present?
11.13823 -echo "$as_me:$LINENO: checking iconv.h presence" >&5
11.13824 -echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
11.13825 -cat >conftest.$ac_ext <<_ACEOF
11.13826 -/* confdefs.h.  */
11.13827 -_ACEOF
11.13828 -cat confdefs.h >>conftest.$ac_ext
11.13829 -cat >>conftest.$ac_ext <<_ACEOF
11.13830 -/* end confdefs.h.  */
11.13831 -#include <iconv.h>
11.13832 -_ACEOF
11.13833 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11.13834 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11.13835 -  ac_status=$?
11.13836 -  grep -v '^ *+' conftest.er1 >conftest.err
11.13837 -  rm -f conftest.er1
11.13838 -  cat conftest.err >&5
11.13839 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.13840 -  (exit $ac_status); } >/dev/null; then
11.13841 -  if test -s conftest.err; then
11.13842 -    ac_cpp_err=$ac_c_preproc_warn_flag
11.13843 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11.13844 -  else
11.13845 -    ac_cpp_err=
11.13846 -  fi
11.13847 -else
11.13848 -  ac_cpp_err=yes
11.13849 -fi
11.13850 -if test -z "$ac_cpp_err"; then
11.13851 -  ac_header_preproc=yes
11.13852 -else
11.13853 -  echo "$as_me: failed program was:" >&5
11.13854 -sed 's/^/| /' conftest.$ac_ext >&5
11.13855 -
11.13856 -  ac_header_preproc=no
11.13857 -fi
11.13858 -rm -f conftest.err conftest.$ac_ext
11.13859 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11.13860 -echo "${ECHO_T}$ac_header_preproc" >&6
11.13861 -
11.13862 -# So?  What about this header?
11.13863 -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11.13864 -  yes:no: )
11.13865 -    { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
11.13866 -echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11.13867 -    { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
11.13868 -echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
11.13869 -    ac_header_preproc=yes
11.13870 -    ;;
11.13871 -  no:yes:* )
11.13872 -    { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
11.13873 -echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
11.13874 -    { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
11.13875 -echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
11.13876 -    { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
11.13877 -echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
11.13878 -    { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
11.13879 -echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
11.13880 -    { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
11.13881 -echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
11.13882 -    { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
11.13883 -echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
11.13884 -    (
11.13885 -      cat <<\_ASBOX
11.13886 -## ------------------------------------------ ##
11.13887 -## Report this to the AC_PACKAGE_NAME lists.  ##
11.13888 -## ------------------------------------------ ##
11.13889 -_ASBOX
11.13890 -    ) |
11.13891 -      sed "s/^/$as_me: WARNING:     /" >&2
11.13892 -    ;;
11.13893 -esac
11.13894 -echo "$as_me:$LINENO: checking for iconv.h" >&5
11.13895 -echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
11.13896 -if test "${ac_cv_header_iconv_h+set}" = set; then
11.13897 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.13898 -else
11.13899 -  ac_cv_header_iconv_h=$ac_header_preproc
11.13900 -fi
11.13901 -echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
11.13902 -echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
11.13903 -
11.13904 -fi
11.13905 -
11.13906 -
11.13907 -
11.13908 -      if test "X$prefix" = "XNONE"; then
11.13909 -    acl_final_prefix="$ac_default_prefix"
11.13910 -  else
11.13911 -    acl_final_prefix="$prefix"
11.13912 -  fi
11.13913 -  if test "X$exec_prefix" = "XNONE"; then
11.13914 -    acl_final_exec_prefix='${prefix}'
11.13915 -  else
11.13916 -    acl_final_exec_prefix="$exec_prefix"
11.13917 -  fi
11.13918 -  acl_save_prefix="$prefix"
11.13919 -  prefix="$acl_final_prefix"
11.13920 -  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
11.13921 -  prefix="$acl_save_prefix"
11.13922 -
11.13923 -
11.13924 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
11.13925 -if test "${with_gnu_ld+set}" = set; then
11.13926 -  withval="$with_gnu_ld"
11.13927 -  test "$withval" = no || with_gnu_ld=yes
11.13928 -else
11.13929 -  with_gnu_ld=no
11.13930 -fi;
11.13931 -# Prepare PATH_SEPARATOR.
11.13932 -# The user is always right.
11.13933 -if test "${PATH_SEPARATOR+set}" != set; then
11.13934 -  echo "#! /bin/sh" >conf$$.sh
11.13935 -  echo  "exit 0"   >>conf$$.sh
11.13936 -  chmod +x conf$$.sh
11.13937 -  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11.13938 -    PATH_SEPARATOR=';'
11.13939 -  else
11.13940 -    PATH_SEPARATOR=:
11.13941 -  fi
11.13942 -  rm -f conf$$.sh
11.13943 -fi
11.13944 -ac_prog=ld
11.13945 -if test "$GCC" = yes; then
11.13946 -  # Check if gcc -print-prog-name=ld gives a path.
11.13947 -  echo "$as_me:$LINENO: checking for ld used by GCC" >&5
11.13948 -echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
11.13949 -  case $host in
11.13950 -  *-*-mingw*)
11.13951 -    # gcc leaves a trailing carriage return which upsets mingw
11.13952 -    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11.13953 -  *)
11.13954 -    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11.13955 -  esac
11.13956 -  case $ac_prog in
11.13957 -    # Accept absolute paths.
11.13958 -    [\\/]* | [A-Za-z]:[\\/]*)
11.13959 -      re_direlt='/[^/][^/]*/\.\./'
11.13960 -      # Canonicalize the path of ld
11.13961 -      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
11.13962 -      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11.13963 -	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
11.13964 -      done
11.13965 -      test -z "$LD" && LD="$ac_prog"
11.13966 -      ;;
11.13967 -  "")
11.13968 -    # If it fails, then pretend we aren't using GCC.
11.13969 -    ac_prog=ld
11.13970 -    ;;
11.13971 -  *)
11.13972 -    # If it is relative, then search for the first ld in PATH.
11.13973 -    with_gnu_ld=unknown
11.13974 -    ;;
11.13975 -  esac
11.13976 -elif test "$with_gnu_ld" = yes; then
11.13977 -  echo "$as_me:$LINENO: checking for GNU ld" >&5
11.13978 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
11.13979 -else
11.13980 -  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11.13981 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
11.13982 -fi
11.13983 -if test "${acl_cv_path_LD+set}" = set; then
11.13984 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.13985 -else
11.13986 -  if test -z "$LD"; then
11.13987 -  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
11.13988 -  for ac_dir in $PATH; do
11.13989 -    test -z "$ac_dir" && ac_dir=.
11.13990 -    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11.13991 -      acl_cv_path_LD="$ac_dir/$ac_prog"
11.13992 -      # Check to see if the program is GNU ld.  I'd rather use --version,
11.13993 -      # but apparently some GNU ld's only accept -v.
11.13994 -      # Break only if it was the GNU/non-GNU ld that we prefer.
11.13995 -      if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
11.13996 -	test "$with_gnu_ld" != no && break
11.13997 -      else
11.13998 -	test "$with_gnu_ld" != yes && break
11.13999 -      fi
11.14000 -    fi
11.14001 -  done
11.14002 -  IFS="$ac_save_ifs"
11.14003 -else
11.14004 -  acl_cv_path_LD="$LD" # Let the user override the test with a path.
11.14005 -fi
11.14006 -fi
11.14007 -
11.14008 -LD="$acl_cv_path_LD"
11.14009 -if test -n "$LD"; then
11.14010 -  echo "$as_me:$LINENO: result: $LD" >&5
11.14011 -echo "${ECHO_T}$LD" >&6
11.14012 -else
11.14013 -  echo "$as_me:$LINENO: result: no" >&5
11.14014 -echo "${ECHO_T}no" >&6
11.14015 -fi
11.14016 -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11.14017 -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11.14018 -   { (exit 1); exit 1; }; }
11.14019 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11.14020 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11.14021 -if test "${acl_cv_prog_gnu_ld+set}" = set; then
11.14022 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.14023 -else
11.14024 -  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
11.14025 -if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
11.14026 -  acl_cv_prog_gnu_ld=yes
11.14027 -else
11.14028 -  acl_cv_prog_gnu_ld=no
11.14029 -fi
11.14030 -fi
11.14031 -echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
11.14032 -echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
11.14033 -with_gnu_ld=$acl_cv_prog_gnu_ld
11.14034 -
11.14035 -
11.14036 -
11.14037 -                                                echo "$as_me:$LINENO: checking for shared library run path origin" >&5
11.14038 -echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
11.14039 -if test "${acl_cv_rpath+set}" = set; then
11.14040 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.14041 -else
11.14042 -
11.14043 -    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
11.14044 -    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
11.14045 -    . ./conftest.sh
11.14046 -    rm -f ./conftest.sh
11.14047 -    acl_cv_rpath=done
11.14048 -
11.14049 -fi
11.14050 -echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
11.14051 -echo "${ECHO_T}$acl_cv_rpath" >&6
11.14052 -  wl="$acl_cv_wl"
11.14053 -  libext="$acl_cv_libext"
11.14054 -  shlibext="$acl_cv_shlibext"
11.14055 -  hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
11.14056 -  hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
11.14057 -  hardcode_direct="$acl_cv_hardcode_direct"
11.14058 -  hardcode_minus_L="$acl_cv_hardcode_minus_L"
11.14059 -    # Check whether --enable-rpath or --disable-rpath was given.
11.14060 -if test "${enable_rpath+set}" = set; then
11.14061 -  enableval="$enable_rpath"
11.14062 -  :
11.14063 -else
11.14064 -  enable_rpath=yes
11.14065 -fi;
11.14066 -
11.14067 -
11.14068 -
11.14069 -
11.14070 -
11.14071 -
11.14072 -
11.14073 -    use_additional=yes
11.14074 -
11.14075 -  acl_save_prefix="$prefix"
11.14076 -  prefix="$acl_final_prefix"
11.14077 -  acl_save_exec_prefix="$exec_prefix"
11.14078 -  exec_prefix="$acl_final_exec_prefix"
11.14079 -
11.14080 -    eval additional_includedir=\"$includedir\"
11.14081 -    eval additional_libdir=\"$libdir\"
11.14082 -
11.14083 -  exec_prefix="$acl_save_exec_prefix"
11.14084 -  prefix="$acl_save_prefix"
11.14085 -
11.14086 -
11.14087 -# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
11.14088 -if test "${with_libiconv_prefix+set}" = set; then
11.14089 -  withval="$with_libiconv_prefix"
11.14090 -
11.14091 -    if test "X$withval" = "Xno"; then
11.14092 -      use_additional=no
11.14093 -    else
11.14094 -      if test "X$withval" = "X"; then
11.14095 -
11.14096 -  acl_save_prefix="$prefix"
11.14097 -  prefix="$acl_final_prefix"
11.14098 -  acl_save_exec_prefix="$exec_prefix"
11.14099 -  exec_prefix="$acl_final_exec_prefix"
11.14100 -
11.14101 -          eval additional_includedir=\"$includedir\"
11.14102 -          eval additional_libdir=\"$libdir\"
11.14103 -
11.14104 -  exec_prefix="$acl_save_exec_prefix"
11.14105 -  prefix="$acl_save_prefix"
11.14106 -
11.14107 -      else
11.14108 -        additional_includedir="$withval/include"
11.14109 -        additional_libdir="$withval/lib"
11.14110 -      fi
11.14111 -    fi
11.14112 -
11.14113 -fi;
11.14114 -      LIBICONV=
11.14115 -  LTLIBICONV=
11.14116 -  INCICONV=
11.14117 -  rpathdirs=
11.14118 -  ltrpathdirs=
11.14119 -  names_already_handled=
11.14120 -  names_next_round='iconv '
11.14121 -  while test -n "$names_next_round"; do
11.14122 -    names_this_round="$names_next_round"
11.14123 -    names_next_round=
11.14124 -    for name in $names_this_round; do
11.14125 -      already_handled=
11.14126 -      for n in $names_already_handled; do
11.14127 -        if test "$n" = "$name"; then
11.14128 -          already_handled=yes
11.14129 -          break
11.14130 -        fi
11.14131 -      done
11.14132 -      if test -z "$already_handled"; then
11.14133 -        names_already_handled="$names_already_handled $name"
11.14134 -                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
11.14135 -        eval value=\"\$HAVE_LIB$uppername\"
11.14136 -        if test -n "$value"; then
11.14137 -          if test "$value" = yes; then
11.14138 -            eval value=\"\$LIB$uppername\"
11.14139 -            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
11.14140 -            eval value=\"\$LTLIB$uppername\"
11.14141 -            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
11.14142 -          else
11.14143 -                                    :
11.14144 -          fi
11.14145 -        else
11.14146 -                              found_dir=
11.14147 -          found_la=
11.14148 -          found_so=
11.14149 -          found_a=
11.14150 -          if test $use_additional = yes; then
11.14151 -            if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
11.14152 -              found_dir="$additional_libdir"
11.14153 -              found_so="$additional_libdir/lib$name.$shlibext"
11.14154 -              if test -f "$additional_libdir/lib$name.la"; then
11.14155 -                found_la="$additional_libdir/lib$name.la"
11.14156 -              fi
11.14157 -            else
11.14158 -              if test -f "$additional_libdir/lib$name.$libext"; then
11.14159 -                found_dir="$additional_libdir"
11.14160 -                found_a="$additional_libdir/lib$name.$libext"
11.14161 -                if test -f "$additional_libdir/lib$name.la"; then
11.14162 -                  found_la="$additional_libdir/lib$name.la"
11.14163 -                fi
11.14164 -              fi
11.14165 -            fi
11.14166 -          fi
11.14167 -          if test "X$found_dir" = "X"; then
11.14168 -            for x in $LDFLAGS $LTLIBICONV; do
11.14169 -
11.14170 -  acl_save_prefix="$prefix"
11.14171 -  prefix="$acl_final_prefix"
11.14172 -  acl_save_exec_prefix="$exec_prefix"
11.14173 -  exec_prefix="$acl_final_exec_prefix"
11.14174 -  eval x=\"$x\"
11.14175 -  exec_prefix="$acl_save_exec_prefix"
11.14176 -  prefix="$acl_save_prefix"
11.14177 -
11.14178 -              case "$x" in
11.14179 -                -L*)
11.14180 -                  dir=`echo "X$x" | sed -e 's/^X-L//'`
11.14181 -                  if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
11.14182 -                    found_dir="$dir"
11.14183 -                    found_so="$dir/lib$name.$shlibext"
11.14184 -                    if test -f "$dir/lib$name.la"; then
11.14185 -                      found_la="$dir/lib$name.la"
11.14186 -                    fi
11.14187 -                  else
11.14188 -                    if test -f "$dir/lib$name.$libext"; then
11.14189 -                      found_dir="$dir"
11.14190 -                      found_a="$dir/lib$name.$libext"
11.14191 -                      if test -f "$dir/lib$name.la"; then
11.14192 -                        found_la="$dir/lib$name.la"
11.14193 -                      fi
11.14194 -                    fi
11.14195 -                  fi
11.14196 -                  ;;
11.14197 -              esac
11.14198 -              if test "X$found_dir" != "X"; then
11.14199 -                break
11.14200 -              fi
11.14201 -            done
11.14202 -          fi
11.14203 -          if test "X$found_dir" != "X"; then
11.14204 -                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
11.14205 -            if test "X$found_so" != "X"; then
11.14206 -                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
11.14207 -                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
11.14208 -              else
11.14209 -                                                                                haveit=
11.14210 -                for x in $ltrpathdirs; do
11.14211 -                  if test "X$x" = "X$found_dir"; then
11.14212 -                    haveit=yes
11.14213 -                    break
11.14214 -                  fi
11.14215 -                done
11.14216 -                if test -z "$haveit"; then
11.14217 -                  ltrpathdirs="$ltrpathdirs $found_dir"
11.14218 -                fi
11.14219 -                                if test "$hardcode_direct" = yes; then
11.14220 -                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
11.14221 -                else
11.14222 -                  if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
11.14223 -                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
11.14224 -                                                            haveit=
11.14225 -                    for x in $rpathdirs; do
11.14226 -                      if test "X$x" = "X$found_dir"; then
11.14227 -                        haveit=yes
11.14228 -                        break
11.14229 -                      fi
11.14230 -                    done
11.14231 -                    if test -z "$haveit"; then
11.14232 -                      rpathdirs="$rpathdirs $found_dir"
11.14233 -                    fi
11.14234 -                  else
11.14235 -                                                                                haveit=
11.14236 -                    for x in $LDFLAGS $LIBICONV; do
11.14237 -
11.14238 -  acl_save_prefix="$prefix"
11.14239 -  prefix="$acl_final_prefix"
11.14240 -  acl_save_exec_prefix="$exec_prefix"
11.14241 -  exec_prefix="$acl_final_exec_prefix"
11.14242 -  eval x=\"$x\"
11.14243 -  exec_prefix="$acl_save_exec_prefix"
11.14244 -  prefix="$acl_save_prefix"
11.14245 -
11.14246 -                      if test "X$x" = "X-L$found_dir"; then
11.14247 -                        haveit=yes
11.14248 -                        break
11.14249 -                      fi
11.14250 -                    done
11.14251 -                    if test -z "$haveit"; then
11.14252 -                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
11.14253 -                    fi
11.14254 -                    if test "$hardcode_minus_L" != no; then
11.14255 -                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
11.14256 -                    else
11.14257 -                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
11.14258 -                    fi
11.14259 -                  fi
11.14260 -                fi
11.14261 -              fi
11.14262 -            else
11.14263 -              if test "X$found_a" != "X"; then
11.14264 -                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
11.14265 -              else
11.14266 -                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
11.14267 -              fi
11.14268 -            fi
11.14269 -                        additional_includedir=
11.14270 -            case "$found_dir" in
11.14271 -              */lib | */lib/)
11.14272 -                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
11.14273 -                additional_includedir="$basedir/include"
11.14274 -                ;;
11.14275 -            esac
11.14276 -            if test "X$additional_includedir" != "X"; then
11.14277 -                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
11.14278 -                haveit=
11.14279 -                if test "X$additional_includedir" = "X/usr/local/include"; then
11.14280 -                  if test -n "$GCC"; then
11.14281 -                    case $host_os in
11.14282 -                      linux*) haveit=yes;;
11.14283 -                    esac
11.14284 -                  fi
11.14285 -                fi
11.14286 -                if test -z "$haveit"; then
11.14287 -                  for x in $CPPFLAGS $INCICONV; do
11.14288 -
11.14289 -  acl_save_prefix="$prefix"
11.14290 -  prefix="$acl_final_prefix"
11.14291 -  acl_save_exec_prefix="$exec_prefix"
11.14292 -  exec_prefix="$acl_final_exec_prefix"
11.14293 -  eval x=\"$x\"
11.14294 -  exec_prefix="$acl_save_exec_prefix"
11.14295 -  prefix="$acl_save_prefix"
11.14296 -
11.14297 -                    if test "X$x" = "X-I$additional_includedir"; then
11.14298 -                      haveit=yes
11.14299 -                      break
11.14300 -                    fi
11.14301 -                  done
11.14302 -                  if test -z "$haveit"; then
11.14303 -                    if test -d "$additional_includedir"; then
11.14304 -                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
11.14305 -                    fi
11.14306 -                  fi
11.14307 -                fi
11.14308 -              fi
11.14309 -            fi
11.14310 -                        if test -n "$found_la"; then
11.14311 -                                                        save_libdir="$libdir"
11.14312 -              case "$found_la" in
11.14313 -                */* | *\\*) . "$found_la" ;;
11.14314 -                *) . "./$found_la" ;;
11.14315 -              esac
11.14316 -              libdir="$save_libdir"
11.14317 -                            for dep in $dependency_libs; do
11.14318 -                case "$dep" in
11.14319 -                  -L*)
11.14320 -                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
11.14321 -                                                                                                                                                                if test "X$additional_libdir" != "X/usr/lib"; then
11.14322 -                      haveit=
11.14323 -                      if test "X$additional_libdir" = "X/usr/local/lib"; then
11.14324 -                        if test -n "$GCC"; then
11.14325 -                          case $host_os in
11.14326 -                            linux*) haveit=yes;;
11.14327 -                          esac
11.14328 -                        fi
11.14329 -                      fi
11.14330 -                      if test -z "$haveit"; then
11.14331 -                        haveit=
11.14332 -                        for x in $LDFLAGS $LIBICONV; do
11.14333 -
11.14334 -  acl_save_prefix="$prefix"
11.14335 -  prefix="$acl_final_prefix"
11.14336 -  acl_save_exec_prefix="$exec_prefix"
11.14337 -  exec_prefix="$acl_final_exec_prefix"
11.14338 -  eval x=\"$x\"
11.14339 -  exec_prefix="$acl_save_exec_prefix"
11.14340 -  prefix="$acl_save_prefix"
11.14341 -
11.14342 -                          if test "X$x" = "X-L$additional_libdir"; then
11.14343 -                            haveit=yes
11.14344 -                            break
11.14345 -                          fi
11.14346 -                        done
11.14347 -                        if test -z "$haveit"; then
11.14348 -                          if test -d "$additional_libdir"; then
11.14349 -                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
11.14350 -                          fi
11.14351 -                        fi
11.14352 -                        haveit=
11.14353 -                        for x in $LDFLAGS $LTLIBICONV; do
11.14354 -
11.14355 -  acl_save_prefix="$prefix"
11.14356 -  prefix="$acl_final_prefix"
11.14357 -  acl_save_exec_prefix="$exec_prefix"
11.14358 -  exec_prefix="$acl_final_exec_prefix"
11.14359 -  eval x=\"$x\"
11.14360 -  exec_prefix="$acl_save_exec_prefix"
11.14361 -  prefix="$acl_save_prefix"
11.14362 -
11.14363 -                          if test "X$x" = "X-L$additional_libdir"; then
11.14364 -                            haveit=yes
11.14365 -                            break
11.14366 -                          fi
11.14367 -                        done
11.14368 -                        if test -z "$haveit"; then
11.14369 -                          if test -d "$additional_libdir"; then
11.14370 -                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
11.14371 -                          fi
11.14372 -                        fi
11.14373 -                      fi
11.14374 -                    fi
11.14375 -                    ;;
11.14376 -                  -R*)
11.14377 -                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
11.14378 -                    if test "$enable_rpath" != no; then
11.14379 -                                                                  haveit=
11.14380 -                      for x in $rpathdirs; do
11.14381 -                        if test "X$x" = "X$dir"; then
11.14382 -                          haveit=yes
11.14383 -                          break
11.14384 -                        fi
11.14385 -                      done
11.14386 -                      if test -z "$haveit"; then
11.14387 -                        rpathdirs="$rpathdirs $dir"
11.14388 -                      fi
11.14389 -                                                                  haveit=
11.14390 -                      for x in $ltrpathdirs; do
11.14391 -                        if test "X$x" = "X$dir"; then
11.14392 -                          haveit=yes
11.14393 -                          break
11.14394 -                        fi
11.14395 -                      done
11.14396 -                      if test -z "$haveit"; then
11.14397 -                        ltrpathdirs="$ltrpathdirs $dir"
11.14398 -                      fi
11.14399 -                    fi
11.14400 -                    ;;
11.14401 -                  -l*)
11.14402 -                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
11.14403 -                    ;;
11.14404 -                  *.la)
11.14405 -                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
11.14406 -                    ;;
11.14407 -                  *)
11.14408 -                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
11.14409 -                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
11.14410 -                    ;;
11.14411 -                esac
11.14412 -              done
11.14413 -            fi
11.14414 -          else
11.14415 -                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
11.14416 -            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
11.14417 -          fi
11.14418 -        fi
11.14419 -      fi
11.14420 -    done
11.14421 -  done
11.14422 -  if test "X$rpathdirs" != "X"; then
11.14423 -    if test -n "$hardcode_libdir_separator"; then
11.14424 -                        alldirs=
11.14425 -      for found_dir in $rpathdirs; do
11.14426 -        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
11.14427 -      done
11.14428 -            acl_save_libdir="$libdir"
11.14429 -      libdir="$alldirs"
11.14430 -      eval flag=\"$hardcode_libdir_flag_spec\"
11.14431 -      libdir="$acl_save_libdir"
11.14432 -      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
11.14433 -    else
11.14434 -            for found_dir in $rpathdirs; do
11.14435 -        acl_save_libdir="$libdir"
11.14436 -        libdir="$found_dir"
11.14437 -        eval flag=\"$hardcode_libdir_flag_spec\"
11.14438 -        libdir="$acl_save_libdir"
11.14439 -        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
11.14440 -      done
11.14441 -    fi
11.14442 -  fi
11.14443 -  if test "X$ltrpathdirs" != "X"; then
11.14444 -            for found_dir in $ltrpathdirs; do
11.14445 -      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
11.14446 -    done
11.14447 -  fi
11.14448 -
11.14449 -
11.14450 -
11.14451 -
11.14452 -
11.14453 -
11.14454 -
11.14455 -          am_save_CPPFLAGS="$CPPFLAGS"
11.14456 -
11.14457 -  for element in $INCICONV; do
11.14458 -    haveit=
11.14459 -    for x in $CPPFLAGS; do
11.14460 -
11.14461 -  acl_save_prefix="$prefix"
11.14462 -  prefix="$acl_final_prefix"
11.14463 -  acl_save_exec_prefix="$exec_prefix"
11.14464 -  exec_prefix="$acl_final_exec_prefix"
11.14465 -  eval x=\"$x\"
11.14466 -  exec_prefix="$acl_save_exec_prefix"
11.14467 -  prefix="$acl_save_prefix"
11.14468 -
11.14469 -      if test "X$x" = "X$element"; then
11.14470 -        haveit=yes
11.14471 -        break
11.14472 -      fi
11.14473 -    done
11.14474 -    if test -z "$haveit"; then
11.14475 -      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
11.14476 -    fi
11.14477 -  done
11.14478 -
11.14479 -
11.14480 -  echo "$as_me:$LINENO: checking for iconv" >&5
11.14481 -echo $ECHO_N "checking for iconv... $ECHO_C" >&6
11.14482 -if test "${am_cv_func_iconv+set}" = set; then
11.14483 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.14484 -else
11.14485 -
11.14486 -    am_cv_func_iconv="no, consider installing GNU libiconv"
11.14487 -    am_cv_lib_iconv=no
11.14488 -    cat >conftest.$ac_ext <<_ACEOF
11.14489 -/* confdefs.h.  */
11.14490 -_ACEOF
11.14491 -cat confdefs.h >>conftest.$ac_ext
11.14492 -cat >>conftest.$ac_ext <<_ACEOF
11.14493 -/* end confdefs.h.  */
11.14494 -#include <stdlib.h>
11.14495 -#include <iconv.h>
11.14496 -int
11.14497 -main ()
11.14498 -{
11.14499 -iconv_t cd = iconv_open("","");
11.14500 -       iconv(cd,NULL,NULL,NULL,NULL);
11.14501 -       iconv_close(cd);
11.14502 -  ;
11.14503 -  return 0;
11.14504 -}
11.14505 -_ACEOF
11.14506 -rm -f conftest.$ac_objext conftest$ac_exeext
11.14507 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11.14508 -  (eval $ac_link) 2>conftest.er1
11.14509 -  ac_status=$?
11.14510 -  grep -v '^ *+' conftest.er1 >conftest.err
11.14511 -  rm -f conftest.er1
11.14512 -  cat conftest.err >&5
11.14513 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.14514 -  (exit $ac_status); } &&
11.14515 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.14516 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.14517 -  (eval $ac_try) 2>&5
11.14518 -  ac_status=$?
11.14519 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.14520 -  (exit $ac_status); }; } &&
11.14521 -	 { ac_try='test -s conftest$ac_exeext'
11.14522 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.14523 -  (eval $ac_try) 2>&5
11.14524 -  ac_status=$?
11.14525 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.14526 -  (exit $ac_status); }; }; then
11.14527 -  am_cv_func_iconv=yes
11.14528 -else
11.14529 -  echo "$as_me: failed program was:" >&5
11.14530 -sed 's/^/| /' conftest.$ac_ext >&5
11.14531 -
11.14532 -fi
11.14533 -rm -f conftest.err conftest.$ac_objext \
11.14534 -      conftest$ac_exeext conftest.$ac_ext
11.14535 -    if test "$am_cv_func_iconv" != yes; then
11.14536 -      am_save_LIBS="$LIBS"
11.14537 -      LIBS="$LIBS $LIBICONV"
11.14538 -      cat >conftest.$ac_ext <<_ACEOF
11.14539 -/* confdefs.h.  */
11.14540 -_ACEOF
11.14541 -cat confdefs.h >>conftest.$ac_ext
11.14542 -cat >>conftest.$ac_ext <<_ACEOF
11.14543 -/* end confdefs.h.  */
11.14544 -#include <stdlib.h>
11.14545 -#include <iconv.h>
11.14546 -int
11.14547 -main ()
11.14548 -{
11.14549 -iconv_t cd = iconv_open("","");
11.14550 -         iconv(cd,NULL,NULL,NULL,NULL);
11.14551 -         iconv_close(cd);
11.14552 -  ;
11.14553 -  return 0;
11.14554 -}
11.14555 -_ACEOF
11.14556 -rm -f conftest.$ac_objext conftest$ac_exeext
11.14557 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11.14558 -  (eval $ac_link) 2>conftest.er1
11.14559 -  ac_status=$?
11.14560 -  grep -v '^ *+' conftest.er1 >conftest.err
11.14561 -  rm -f conftest.er1
11.14562 -  cat conftest.err >&5
11.14563 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.14564 -  (exit $ac_status); } &&
11.14565 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.14566 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.14567 -  (eval $ac_try) 2>&5
11.14568 -  ac_status=$?
11.14569 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.14570 -  (exit $ac_status); }; } &&
11.14571 -	 { ac_try='test -s conftest$ac_exeext'
11.14572 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.14573 -  (eval $ac_try) 2>&5
11.14574 -  ac_status=$?
11.14575 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.14576 -  (exit $ac_status); }; }; then
11.14577 -  am_cv_lib_iconv=yes
11.14578 -        am_cv_func_iconv=yes
11.14579 -else
11.14580 -  echo "$as_me: failed program was:" >&5
11.14581 -sed 's/^/| /' conftest.$ac_ext >&5
11.14582 -
11.14583 -fi
11.14584 -rm -f conftest.err conftest.$ac_objext \
11.14585 -      conftest$ac_exeext conftest.$ac_ext
11.14586 -      LIBS="$am_save_LIBS"
11.14587 -    fi
11.14588 -
11.14589 -fi
11.14590 -echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
11.14591 -echo "${ECHO_T}$am_cv_func_iconv" >&6
11.14592 -  if test "$am_cv_func_iconv" = yes; then
11.14593 -
11.14594 -cat >>confdefs.h <<\_ACEOF
11.14595 -#define HAVE_ICONV 1
11.14596 -_ACEOF
11.14597 -
11.14598 -  fi
11.14599 -  if test "$am_cv_lib_iconv" = yes; then
11.14600 -    echo "$as_me:$LINENO: checking how to link with libiconv" >&5
11.14601 -echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
11.14602 -    echo "$as_me:$LINENO: result: $LIBICONV" >&5
11.14603 -echo "${ECHO_T}$LIBICONV" >&6
11.14604 -  else
11.14605 -            CPPFLAGS="$am_save_CPPFLAGS"
11.14606 -    LIBICONV=
11.14607 -    LTLIBICONV=
11.14608 -  fi
11.14609 -
11.14610 -
11.14611 -
11.14612 -  if test "$am_cv_func_iconv" = yes; then
11.14613 -    echo "$as_me:$LINENO: checking for iconv declaration" >&5
11.14614 -echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
11.14615 -    if test "${am_cv_proto_iconv+set}" = set; then
11.14616 -  echo $ECHO_N "(cached) $ECHO_C" >&6
11.14617 -else
11.14618 -
11.14619 -      cat >conftest.$ac_ext <<_ACEOF
11.14620 -/* confdefs.h.  */
11.14621 -_ACEOF
11.14622 -cat confdefs.h >>conftest.$ac_ext
11.14623 -cat >>conftest.$ac_ext <<_ACEOF
11.14624 -/* end confdefs.h.  */
11.14625 -
11.14626 -#include <stdlib.h>
11.14627 -#include <iconv.h>
11.14628 -extern
11.14629 -#ifdef __cplusplus
11.14630 -"C"
11.14631 -#endif
11.14632 -#if defined(__STDC__) || defined(__cplusplus)
11.14633 -size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
11.14634 -#else
11.14635 -size_t iconv();
11.14636 -#endif
11.14637 -
11.14638 -int
11.14639 -main ()
11.14640 -{
11.14641 -
11.14642 -  ;
11.14643 -  return 0;
11.14644 -}
11.14645 -_ACEOF
11.14646 -rm -f conftest.$ac_objext
11.14647 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11.14648 -  (eval $ac_compile) 2>conftest.er1
11.14649 -  ac_status=$?
11.14650 -  grep -v '^ *+' conftest.er1 >conftest.err
11.14651 -  rm -f conftest.er1
11.14652 -  cat conftest.err >&5
11.14653 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.14654 -  (exit $ac_status); } &&
11.14655 -	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
11.14656 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.14657 -  (eval $ac_try) 2>&5
11.14658 -  ac_status=$?
11.14659 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.14660 -  (exit $ac_status); }; } &&
11.14661 -	 { ac_try='test -s conftest.$ac_objext'
11.14662 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11.14663 -  (eval $ac_try) 2>&5
11.14664 -  ac_status=$?
11.14665 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11.14666 -  (exit $ac_status); }; }; then
11.14667 -  am_cv_proto_iconv_arg1=""
11.14668 -else
11.14669 -  echo "$as_me: failed program was:" >&5
11.14670 -sed 's/^/| /' conftest.$ac_ext >&5
11.14671 -
11.14672 -am_cv_proto_iconv_arg1="const"
11.14673 -fi
11.14674 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11.14675 -      am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
11.14676 -fi
11.14677 -
11.14678 -    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
11.14679 -    echo "$as_me:$LINENO: result: ${ac_t:-
11.14680 -         }$am_cv_proto_iconv" >&5
11.14681 -echo "${ECHO_T}${ac_t:-
11.14682 -         }$am_cv_proto_iconv" >&6
11.14683 -
11.14684 -cat >>confdefs.h <<_ACEOF
11.14685 -#define ICONV_CONST $am_cv_proto_iconv_arg1
11.14686 -_ACEOF
11.14687 -
11.14688 -  fi
11.14689 -
11.14690 -
11.14691 -all_targets=false
11.14692 -BUILD_NLMCONV=
11.14693 -NLMCONV_DEFS=
11.14694 -BUILD_SRCONV=
11.14695 -BUILD_DLLTOOL=
11.14696 -DLLTOOL_DEFS=
11.14697 -DLLTOOL_DEFAULT=
11.14698 -BUILD_WINDRES=
11.14699 -BUILD_WINDMC=
11.14700 -BUILD_DLLWRAP=
11.14701 -BUILD_MISC=
11.14702 -BUILD_INSTALL_MISC=
11.14703 -OBJDUMP_DEFS=
11.14704 -
11.14705 -for targ in $target $canon_targets
11.14706 -do
11.14707 -    if test "x$targ" = "xall"; then
11.14708 -        all_targets=true
11.14709 -	BUILD_NLMCONV='$(NLMCONV_PROG)$(EXEEXT)'
11.14710 -	BUILD_SRCONV='$(SRCONV_PROG)'
11.14711 -	NLMCONV_DEFS="-DNLMCONV_I386 -DNLMCONV_ALPHA -DNLMCONV_POWERPC -DNLMCONV_SPARC"
11.14712 -	BUILD_MISC="${BUILD_MISC} "'bin2c$(EXEEXT_FOR_BUILD)'
11.14713 -	BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
11.14714 -	BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
11.14715 -	BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
11.14716 -	if test -z "$DLLTOOL_DEFAULT"; then
11.14717 -	  DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_I386"
11.14718 -	fi
11.14719 -	DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_I386"
11.14720 -	BUILD_DLLWRAP='$(DLLWRAP_PROG)$(EXEEXT)'
11.14721 -    else
11.14722 -	case $targ in
11.14723 -	i[3-7]86*-*-netware*)
11.14724 -	  BUILD_NLMCONV='$(NLMCONV_PROG)$(EXEEXT)'
11.14725 -	  NLMCONV_DEFS="$NLMCONV_DEFS -DNLMCONV_I386"
11.14726 -	  ;;
11.14727 -	alpha*-*-netware*)
11.14728 -	  BUILD_NLMCONV='$(NLMCONV_PROG)$(EXEEXT)'
11.14729 -	  NLMCONV_DEFS="$NLMCONV_DEFS -DNLMCONV_ALPHA"
11.14730 -	  ;;
11.14731 -	powerpc*-*-netware*)
11.14732 -	  BUILD_NLMCONV='$(NLMCONV_PROG)$(EXEEXT)'
11.14733 -	  NLMCONV_DEFS="$NLMCONV_DEFS -DNLMCONV_POWERPC"
11.14734 -	  ;;
11.14735 -	sparc*-*-netware*)
11.14736 -	  BUILD_NLMCONV='$(NLMCONV_PROG)$(EXEEXT)'
11.14737 -	  NLMCONV_DEFS="$NLMCONV_DEFS -DNLMCONV_SPARC"
11.14738 -	  ;;
11.14739 -	esac
11.14740 -	case $targ in
11.14741 -	*-*-hms*) BUILD_SRCONV='$(SRCONV_PROG)' ;;
11.14742 -	esac
11.14743 -	case $targ in
11.14744 -	arm-epoc-pe*)
11.14745 -  	  BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
11.14746 -	  if test -z "$DLLTOOL_DEFAULT"; then
11.14747 -	    DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_ARM_EPOC"
11.14748 -	  fi
11.14749 -	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM_EPOC -DDLLTOOL_ARM"
11.14750 -	  BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
11.14751 -	  BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
11.14752 -	  ;;
11.14753 -	arm-wince-pe* | arm-*-wince)
11.14754 -  	  BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
11.14755 -	  if test -z "$DLLTOOL_DEFAULT"; then
11.14756 -	    DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_ARM_WINCE"
11.14757 -	  fi
11.14758 -	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM_WINCE -DDLLTOOL_ARM"
11.14759 -	  BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
11.14760 -	  BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
11.14761 -	  ;;
11.14762 -	arm-*-pe*)
11.14763 -  	  BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
11.14764 -	  if test -z "$DLLTOOL_DEFAULT"; then
11.14765 -	    DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_ARM"
11.14766 -	  fi
11.14767 -	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM"
11.14768 -	  BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
11.14769 -	  BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
11.14770 -	  ;;
11.14771 -	thumb-*-pe*)
11.14772 -  	  BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
11.14773 -	  if test -z "$DLLTOOL_DEFAULT"; then
11.14774 -	    DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_ARM"
11.14775 -	  fi
11.14776 -	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM"
11.14777 -	  BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
11.14778 -	  BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
11.14779 -	  ;;
11.14780 -	x86_64-*-mingw*)
11.14781 -  	  BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
11.14782 -	  if test -z "$DLLTOOL_DEFAULT"; then
11.14783 -	    DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_MX86_64"
11.14784 -	  fi
11.14785 -	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MX86_64"
11.14786 -	  BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
11.14787 -	  BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
11.14788 -	  BUILD_DLLWRAP='$(DLLWRAP_PROG)$(EXEEXT)'
11.14789 -	  ;;
11.14790 -	i[3-7]86-*-pe* | i[3-7]86-*-cygwin* | i[3-7]86-*-mingw32** | i[3-7]86-*-netbsdpe*)
11.14791 -  	  BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
11.14792 -	  if test -z "$DLLTOOL_DEFAULT"; then
11.14793 -	    DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_I386"
11.14794 -	  fi
11.14795 -	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_I386"
11.14796 -	  BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
11.14797 -	  BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
11.14798 -	  BUILD_DLLWRAP='$(DLLWRAP_PROG)$(EXEEXT)'
11.14799 -	  ;;
11.14800 -	i[3-7]86-*-interix)
11.14801 -	  BUILD_DLLTOOL='$(DLLTOOL_PROG)'
11.14802 -	  if test -z "$DLLTOOL_DEFAULT"; then
11.14803 -	    DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_I386"
11.14804 -	  fi
11.14805 -	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_I386"
11.14806 -	  ;;
11.14807 -	powerpc*-aix5.[01])
11.14808 -	  ;;
11.14809 -	powerpc*-aix5.*)
11.14810 -	  OBJDUMP_DEFS="-DAIX_WEAK_SUPPORT"
11.14811 -	  ;;
11.14812 -	powerpc*-*-pe* | powerpc*-*-cygwin*)
11.14813 -  	  BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
11.14814 -	  if test -z "$DLLTOOL_DEFAULT"; then
11.14815 -	    DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_PPC"
11.14816 -	  fi
11.14817 -	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_PPC"
11.14818 -	  BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
11.14819 -	  BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
11.14820 -	  ;;
11.14821 -	powerpc*-*-linux* | powerpc*-*-elf* | powerpc*-*-eabi*)
11.14822 -	  BUILD_INSTALL_MISC="${BUILD_INSTALL_MISC} embedspu"
11.14823 -	  ;;
11.14824 -	sh*-*-pe)
11.14825 -  	  BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
11.14826 -	  if test -z "$DLLTOOL_DEFAULT"; then
11.14827 -	    DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_SH"
11.14828 -	  fi
11.14829 -	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_SH"
11.14830 -	  BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
11.14831 -	  BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
11.14832 -	  ;;
11.14833 -	spu-*-*)
11.14834 -	  BUILD_MISC="${BUILD_MISC} "'bin2c$(EXEEXT_FOR_BUILD)'
11.14835 -	  ;;
11.14836 -	mips*-*-pe)
11.14837 -  	  BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
11.14838 -	  if test -z "$DLLTOOL_DEFAULT"; then
11.14839 -	    DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_MIPS"
11.14840 -	  fi
11.14841 -	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MIPS"
11.14842 -	  BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
11.14843 -	  BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
11.14844 -	  ;;
11.14845 -	mcore-*-pe)
11.14846 -  	  BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
11.14847 -	  if test -z "$DLLTOOL_DEFAULT"; then
11.14848 -	    DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_MCORE"
11.14849 -	  fi
11.14850 -	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MCORE"
11.14851 -	  BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
11.14852 -	  BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
11.14853 -	  ;;
11.14854 -	mcore-*-elf)
11.14855 -  	  BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
11.14856 -	  if test -z "$DLLTOOL_DEFAULT"; then
11.14857 -	    DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_MCORE_ELF"
11.14858 -	  fi
11.14859 -	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MCORE_ELF"
11.14860 -	  ;;
11.14861 -  	mep-*)
11.14862 -	  OBJDUMP_DEFS="-DSKIP_ZEROES=256 -DSKIP_ZEROES_AT_END=0"
11.14863 -	  ;;
11.14864 -	esac
11.14865 -    fi
11.14866 -done
11.14867 -
11.14868 -DLLTOOL_DEFS="$DLLTOOL_DEFS $DLLTOOL_DEFAULT"
11.14869 -
11.14870 -if test "${with_windres+set}" = set; then
11.14871 -	  BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
11.14872 -fi
11.14873 -
11.14874 -if test "${with_windmc+set}" = set; then
11.14875 -	  BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
11.14876 -fi
11.14877 -
11.14878 -
11.14879 -
11.14880 -
11.14881 -
11.14882 -
11.14883 -
11.14884 -
11.14885 -
11.14886 -
11.14887 -
11.14888 -
11.14889 -
11.14890 -
11.14891 -cat >>confdefs.h <<_ACEOF
11.14892 -#define TARGET "${target}"
11.14893 -_ACEOF
11.14894 -
11.14895 -
11.14896 -targ=$target
11.14897 -. $srcdir/../bfd/config.bfd
11.14898 -if test "x$targ_underscore" = "xyes"; then
11.14899 -    UNDERSCORE=1
11.14900 -else
11.14901 -    UNDERSCORE=0
11.14902 -fi
11.14903 -
11.14904 -cat >>confdefs.h <<_ACEOF
11.14905 -#define TARGET_PREPENDS_UNDERSCORE $UNDERSCORE
11.14906 -_ACEOF
11.14907 -
11.14908 -
11.14909 -# Emulation
11.14910 -for targ_alias in `echo $target_alias $enable_targets | sed 's/,/ /g'`
11.14911 -do
11.14912 -  # Canonicalize the secondary target names.
11.14913 - result=`$ac_config_sub $targ_alias 2>/dev/null`
11.14914 - if test -n "$result"; then
11.14915 -   targ=$result
11.14916 - else
11.14917 -   targ=$targ_alias
11.14918 - fi
11.14919 -
11.14920 - . ${srcdir}/configure.tgt
11.14921 -
11.14922 -  EMULATION=$targ_emul
11.14923 -  EMULATION_VECTOR=$targ_emul_vector
11.14924 -done
11.14925 -
11.14926 -
11.14927 -
11.14928 -
11.14929 -# Required for html and install-html
11.14930 -
11.14931 -
11.14932 -
11.14933 -
11.14934 -                              ac_config_files="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
11.14935 -cat >confcache <<\_ACEOF
11.14936 -# This file is a shell script that caches the results of configure
11.14937 -# tests run on this system so they can be shared between configure
11.14938 -# scripts and configure runs, see configure's option --config-cache.
11.14939 -# It is not useful on other systems.  If it contains results you don't
11.14940 -# want to keep, you may remove or edit it.
11.14941 -#
11.14942 -# config.status only pays attention to the cache file if you give it
11.14943 -# the --recheck option to rerun configure.
11.14944 -#
11.14945 -# `ac_cv_env_foo' variables (set or unset) will be overridden when
11.14946 -# loading this file, other *unset* `ac_cv_foo' will be assigned the
11.14947 -# following values.
11.14948 -
11.14949 -_ACEOF
11.14950 -
11.14951 -# The following way of writing the cache mishandles newlines in values,
11.14952 -# but we know of no workaround that is simple, portable, and efficient.
11.14953 -# So, don't put newlines in cache variables' values.
11.14954 -# Ultrix sh set writes to stderr and can't be redirected directly,
11.14955 -# and sets the high bit in the cache file unless we assign to the vars.
11.14956 -{
11.14957 -  (set) 2>&1 |
11.14958 -    case `(ac_space=' '; set | grep ac_space) 2>&1` in
11.14959 -    *ac_space=\ *)
11.14960 -      # `set' does not quote correctly, so add quotes (double-quote
11.14961 -      # substitution turns \\\\ into \\, and sed turns \\ into \).
11.14962 -      sed -n \
11.14963 -	"s/'/'\\\\''/g;
11.14964 -	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11.14965 -      ;;
11.14966 -    *)
11.14967 -      # `set' quotes correctly as required by POSIX, so do not add quotes.
11.14968 -      sed -n \
11.14969 -	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11.14970 -      ;;
11.14971 -    esac;
11.14972 -} |
11.14973 -  sed '
11.14974 -     t clear
11.14975 -     : clear
11.14976 -     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11.14977 -     t end
11.14978 -     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11.14979 -     : end' >>confcache
11.14980 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
11.14981 -  if test -w $cache_file; then
11.14982 -    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11.14983 -    cat confcache >$cache_file
11.14984 -  else
11.14985 -    echo "not updating unwritable cache $cache_file"
11.14986 -  fi
11.14987 -fi
11.14988 -rm -f confcache
11.14989 -
11.14990 -test "x$prefix" = xNONE && prefix=$ac_default_prefix
11.14991 -# Let make expand exec_prefix.
11.14992 -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11.14993 -
11.14994 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
11.14995 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11.14996 -# trailing colons and then remove the whole line if VPATH becomes empty
11.14997 -# (actually we leave an empty line to preserve line numbers).
11.14998 -if test "x$srcdir" = x.; then
11.14999 -  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
11.15000 -s/:*\$(srcdir):*/:/;
11.15001 -s/:*\${srcdir}:*/:/;
11.15002 -s/:*@srcdir@:*/:/;
11.15003 -s/^\([^=]*=[	 ]*\):*/\1/;
11.15004 -s/:*$//;
11.15005 -s/^[^=]*=[	 ]*$//;
11.15006 -}'
11.15007 -fi
11.15008 -
11.15009 -DEFS=-DHAVE_CONFIG_H
11.15010 -
11.15011 -ac_libobjs=
11.15012 -ac_ltlibobjs=
11.15013 -for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11.15014 -  # 1. Remove the extension, and $U if already installed.
11.15015 -  ac_i=`echo "$ac_i" |
11.15016 -	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11.15017 -  # 2. Add them.
11.15018 -  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
11.15019 -  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
11.15020 -done
11.15021 -LIBOBJS=$ac_libobjs
11.15022 -
11.15023 -LTLIBOBJS=$ac_ltlibobjs
11.15024 -
11.15025 -
11.15026 -if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11.15027 -  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11.15028 -Usually this means the macro was only invoked conditionally." >&5
11.15029 -echo "$as_me: error: conditional \"AMDEP\" was never defined.
11.15030 -Usually this means the macro was only invoked conditionally." >&2;}
11.15031 -   { (exit 1); exit 1; }; }
11.15032 -fi
11.15033 -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11.15034 -  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11.15035 -Usually this means the macro was only invoked conditionally." >&5
11.15036 -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11.15037 -Usually this means the macro was only invoked conditionally." >&2;}
11.15038 -   { (exit 1); exit 1; }; }
11.15039 -fi
11.15040 -if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11.15041 -  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11.15042 -Usually this means the macro was only invoked conditionally." >&5
11.15043 -echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11.15044 -Usually this means the macro was only invoked conditionally." >&2;}
11.15045 -   { (exit 1); exit 1; }; }
11.15046 -fi
11.15047 -if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
11.15048 -  { { echo "$as_me:$LINENO: error: conditional \"GENINSRC_NEVER\" was never defined.
11.15049 -Usually this means the macro was only invoked conditionally." >&5
11.15050 -echo "$as_me: error: conditional \"GENINSRC_NEVER\" was never defined.
11.15051 -Usually this means the macro was only invoked conditionally." >&2;}
11.15052 -   { (exit 1); exit 1; }; }
11.15053 -fi
11.15054 -
11.15055 -: ${CONFIG_STATUS=./config.status}
11.15056 -ac_clean_files_save=$ac_clean_files
11.15057 -ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11.15058 -{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11.15059 -echo "$as_me: creating $CONFIG_STATUS" >&6;}
11.15060 -cat >$CONFIG_STATUS <<_ACEOF
11.15061 -#! $SHELL
11.15062 -# Generated by $as_me.
11.15063 -# Run this file to recreate the current configuration.
11.15064 -# Compiler output produced by configure, useful for debugging
11.15065 -# configure, is in config.log if it exists.
11.15066 -
11.15067 -debug=false
11.15068 -ac_cs_recheck=false
11.15069 -ac_cs_silent=false
11.15070 -SHELL=\${CONFIG_SHELL-$SHELL}
11.15071 -_ACEOF
11.15072 -
11.15073 -cat >>$CONFIG_STATUS <<\_ACEOF
11.15074 -## --------------------- ##
11.15075 -## M4sh Initialization.  ##
11.15076 -## --------------------- ##
11.15077 -
11.15078 -# Be Bourne compatible
11.15079 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11.15080 -  emulate sh
11.15081 -  NULLCMD=:
11.15082 -  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11.15083 -  # is contrary to our usage.  Disable this feature.
11.15084 -  alias -g '${1+"$@"}'='"$@"'
11.15085 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
11.15086 -  set -o posix
11.15087 -fi
11.15088 -DUALCASE=1; export DUALCASE # for MKS sh
11.15089 -
11.15090 -# Support unset when possible.
11.15091 -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11.15092 -  as_unset=unset
11.15093 -else
11.15094 -  as_unset=false
11.15095 -fi
11.15096 -
11.15097 -
11.15098 -# Work around bugs in pre-3.0 UWIN ksh.
11.15099 -$as_unset ENV MAIL MAILPATH
11.15100 -PS1='$ '
11.15101 -PS2='> '
11.15102 -PS4='+ '
11.15103 -
11.15104 -# NLS nuisances.
11.15105 -for as_var in \
11.15106 -  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11.15107 -  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11.15108 -  LC_TELEPHONE LC_TIME
11.15109 -do
11.15110 -  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11.15111 -    eval $as_var=C; export $as_var
11.15112 -  else
11.15113 -    $as_unset $as_var
11.15114 -  fi
11.15115 -done
11.15116 -
11.15117 -# Required to use basename.
11.15118 -if expr a : '\(a\)' >/dev/null 2>&1; then
11.15119 -  as_expr=expr
11.15120 -else
11.15121 -  as_expr=false
11.15122 -fi
11.15123 -
11.15124 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
11.15125 -  as_basename=basename
11.15126 -else
11.15127 -  as_basename=false
11.15128 -fi
11.15129 -
11.15130 -
11.15131 -# Name of the executable.
11.15132 -as_me=`$as_basename "$0" ||
11.15133 -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11.15134 -	 X"$0" : 'X\(//\)$' \| \
11.15135 -	 X"$0" : 'X\(/\)$' \| \
11.15136 -	 .     : '\(.\)' 2>/dev/null ||
11.15137 -echo X/"$0" |
11.15138 -    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11.15139 -  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
11.15140 -  	  /^X\/\(\/\).*/{ s//\1/; q; }
11.15141 -  	  s/.*/./; q'`
11.15142 -
11.15143 -
11.15144 -# PATH needs CR, and LINENO needs CR and PATH.
11.15145 -# Avoid depending upon Character Ranges.
11.15146 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11.15147 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11.15148 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11.15149 -as_cr_digits='0123456789'
11.15150 -as_cr_alnum=$as_cr_Letters$as_cr_digits
11.15151 -
11.15152 -# The user is always right.
11.15153 -if test "${PATH_SEPARATOR+set}" != set; then
11.15154 -  echo "#! /bin/sh" >conf$$.sh
11.15155 -  echo  "exit 0"   >>conf$$.sh
11.15156 -  chmod +x conf$$.sh
11.15157 -  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11.15158 -    PATH_SEPARATOR=';'
11.15159 -  else
11.15160 -    PATH_SEPARATOR=:
11.15161 -  fi
11.15162 -  rm -f conf$$.sh
11.15163 -fi
11.15164 -
11.15165 -
11.15166 -  as_lineno_1=$LINENO
11.15167 -  as_lineno_2=$LINENO
11.15168 -  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11.15169 -  test "x$as_lineno_1" != "x$as_lineno_2" &&
11.15170 -  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
11.15171 -  # Find who we are.  Look in the path if we contain no path at all
11.15172 -  # relative or not.
11.15173 -  case $0 in
11.15174 -    *[\\/]* ) as_myself=$0 ;;
11.15175 -    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.15176 -for as_dir in $PATH
11.15177 -do
11.15178 -  IFS=$as_save_IFS
11.15179 -  test -z "$as_dir" && as_dir=.
11.15180 -  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11.15181 -done
11.15182 -
11.15183 -       ;;
11.15184 -  esac
11.15185 -  # We did not find ourselves, most probably we were run as `sh COMMAND'
11.15186 -  # in which case we are not to be found in the path.
11.15187 -  if test "x$as_myself" = x; then
11.15188 -    as_myself=$0
11.15189 -  fi
11.15190 -  if test ! -f "$as_myself"; then
11.15191 -    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11.15192 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11.15193 -   { (exit 1); exit 1; }; }
11.15194 -  fi
11.15195 -  case $CONFIG_SHELL in
11.15196 -  '')
11.15197 -    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11.15198 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
11.15199 -do
11.15200 -  IFS=$as_save_IFS
11.15201 -  test -z "$as_dir" && as_dir=.
11.15202 -  for as_base in sh bash ksh sh5; do
11.15203 -	 case $as_dir in
11.15204 -	 /*)
11.15205 -	   if ("$as_dir/$as_base" -c '
11.15206 -  as_lineno_1=$LINENO
11.15207 -  as_lineno_2=$LINENO
11.15208 -  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11.15209 -  test "x$as_lineno_1" != "x$as_lineno_2" &&
11.15210 -  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
11.15211 -	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
11.15212 -	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
11.15213 -	     CONFIG_SHELL=$as_dir/$as_base
11.15214 -	     export CONFIG_SHELL
11.15215 -	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11.15216 -	   fi;;
11.15217 -	 esac
11.15218 -       done
11.15219 -done
11.15220 -;;
11.15221 -  esac
11.15222 -
11.15223 -  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11.15224 -  # uniformly replaced by the line number.  The first 'sed' inserts a
11.15225 -  # line-number line before each line; the second 'sed' does the real
11.15226 -  # work.  The second script uses 'N' to pair each line-number line
11.15227 -  # with the numbered line, and appends trailing '-' during
11.15228 -  # substitution so that $LINENO is not a special case at line end.
11.15229 -  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11.15230 -  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
11.15231 -  sed '=' <$as_myself |
11.15232 -    sed '
11.15233 -      N
11.15234 -      s,$,-,
11.15235 -      : loop
11.15236 -      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11.15237 -      t loop
11.15238 -      s,-$,,
11.15239 -      s,^['$as_cr_digits']*\n,,
11.15240 -    ' >$as_me.lineno &&
11.15241 -  chmod +x $as_me.lineno ||
11.15242 -    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11.15243 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11.15244 -   { (exit 1); exit 1; }; }
11.15245 -
11.15246 -  # Don't try to exec as it changes $[0], causing all sort of problems
11.15247 -  # (the dirname of $[0] is not the place where we might find the
11.15248 -  # original and so on.  Autoconf is especially sensible to this).
11.15249 -  . ./$as_me.lineno
11.15250 -  # Exit status is that of the last command.
11.15251 -  exit
11.15252 -}
11.15253 -
11.15254 -
11.15255 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11.15256 -  *c*,-n*) ECHO_N= ECHO_C='
11.15257 -' ECHO_T='	' ;;
11.15258 -  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
11.15259 -  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
11.15260 -esac
11.15261 -
11.15262 -if expr a : '\(a\)' >/dev/null 2>&1; then
11.15263 -  as_expr=expr
11.15264 -else
11.15265 -  as_expr=false
11.15266 -fi
11.15267 -
11.15268 -rm -f conf$$ conf$$.exe conf$$.file
11.15269 -echo >conf$$.file
11.15270 -if ln -s conf$$.file conf$$ 2>/dev/null; then
11.15271 -  # We could just check for DJGPP; but this test a) works b) is more generic
11.15272 -  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11.15273 -  if test -f conf$$.exe; then
11.15274 -    # Don't use ln at all; we don't have any links
11.15275 -    as_ln_s='cp -p'
11.15276 -  else
11.15277 -    as_ln_s='ln -s'
11.15278 -  fi
11.15279 -elif ln conf$$.file conf$$ 2>/dev/null; then
11.15280 -  as_ln_s=ln
11.15281 -else
11.15282 -  as_ln_s='cp -p'
11.15283 -fi
11.15284 -rm -f conf$$ conf$$.exe conf$$.file
11.15285 -
11.15286 -if mkdir -p . 2>/dev/null; then
11.15287 -  as_mkdir_p=:
11.15288 -else
11.15289 -  test -d ./-p && rmdir ./-p
11.15290 -  as_mkdir_p=false
11.15291 -fi
11.15292 -
11.15293 -as_executable_p="test -f"
11.15294 -
11.15295 -# Sed expression to map a string onto a valid CPP name.
11.15296 -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11.15297 -
11.15298 -# Sed expression to map a string onto a valid variable name.
11.15299 -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11.15300 -
11.15301 -
11.15302 -# IFS
11.15303 -# We need space, tab and new line, in precisely that order.
11.15304 -as_nl='
11.15305 -'
11.15306 -IFS=" 	$as_nl"
11.15307 -
11.15308 -# CDPATH.
11.15309 -$as_unset CDPATH
11.15310 -
11.15311 -exec 6>&1
11.15312 -
11.15313 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
11.15314 -# report actual input values of CONFIG_FILES etc. instead of their
11.15315 -# values after options handling.  Logging --version etc. is OK.
11.15316 -exec 5>>config.log
11.15317 -{
11.15318 -  echo
11.15319 -  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11.15320 -## Running $as_me. ##
11.15321 -_ASBOX
11.15322 -} >&5
11.15323 -cat >&5 <<_CSEOF
11.15324 -
11.15325 -This file was extended by $as_me, which was
11.15326 -generated by GNU Autoconf 2.59.  Invocation command line was
11.15327 -
11.15328 -  CONFIG_FILES    = $CONFIG_FILES
11.15329 -  CONFIG_HEADERS  = $CONFIG_HEADERS
11.15330 -  CONFIG_LINKS    = $CONFIG_LINKS
11.15331 -  CONFIG_COMMANDS = $CONFIG_COMMANDS
11.15332 -  $ $0 $@
11.15333 -
11.15334 -_CSEOF
11.15335 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11.15336 -echo >&5
11.15337 -_ACEOF
11.15338 -
11.15339 -# Files that config.status was made for.
11.15340 -if test -n "$ac_config_files"; then
11.15341 -  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11.15342 -fi
11.15343 -
11.15344 -if test -n "$ac_config_headers"; then
11.15345 -  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11.15346 -fi
11.15347 -
11.15348 -if test -n "$ac_config_links"; then
11.15349 -  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11.15350 -fi
11.15351 -
11.15352 -if test -n "$ac_config_commands"; then
11.15353 -  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11.15354 -fi
11.15355 -
11.15356 -cat >>$CONFIG_STATUS <<\_ACEOF
11.15357 -
11.15358 -ac_cs_usage="\
11.15359 -\`$as_me' instantiates files from templates according to the
11.15360 -current configuration.
11.15361 -
11.15362 -Usage: $0 [OPTIONS] [FILE]...
11.15363 -
11.15364 -  -h, --help       print this help, then exit
11.15365 -  -V, --version    print version number, then exit
11.15366 -  -q, --quiet      do not print progress messages
11.15367 -  -d, --debug      don't remove temporary files
11.15368 -      --recheck    update $as_me by reconfiguring in the same conditions
11.15369 -  --file=FILE[:TEMPLATE]
11.15370 -		   instantiate the configuration file FILE
11.15371 -  --header=FILE[:TEMPLATE]
11.15372 -		   instantiate the configuration header FILE
11.15373 -
11.15374 -Configuration files:
11.15375 -$config_files
11.15376 -
11.15377 -Configuration headers:
11.15378 -$config_headers
11.15379 -
11.15380 -Configuration commands:
11.15381 -$config_commands
11.15382 -
11.15383 -Report bugs to <bug-autoconf@gnu.org>."
11.15384 -_ACEOF
11.15385 -
11.15386 -cat >>$CONFIG_STATUS <<_ACEOF
11.15387 -ac_cs_version="\\
11.15388 -config.status
11.15389 -configured by $0, generated by GNU Autoconf 2.59,
11.15390 -  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11.15391 -
11.15392 -Copyright (C) 2003 Free Software Foundation, Inc.
11.15393 -This config.status script is free software; the Free Software Foundation
11.15394 -gives unlimited permission to copy, distribute and modify it."
11.15395 -srcdir=$srcdir
11.15396 -INSTALL="$INSTALL"
11.15397 -_ACEOF
11.15398 -
11.15399 -cat >>$CONFIG_STATUS <<\_ACEOF
11.15400 -# If no file are specified by the user, then we need to provide default
11.15401 -# value.  By we need to know if files were specified by the user.
11.15402 -ac_need_defaults=:
11.15403 -while test $# != 0
11.15404 -do
11.15405 -  case $1 in
11.15406 -  --*=*)
11.15407 -    ac_option=`expr "x$1" : 'x\([^=]*\)='`
11.15408 -    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
11.15409 -    ac_shift=:
11.15410 -    ;;
11.15411 -  -*)
11.15412 -    ac_option=$1
11.15413 -    ac_optarg=$2
11.15414 -    ac_shift=shift
11.15415 -    ;;
11.15416 -  *) # This is not an option, so the user has probably given explicit
11.15417 -     # arguments.
11.15418 -     ac_option=$1
11.15419 -     ac_need_defaults=false;;
11.15420 -  esac
11.15421 -
11.15422 -  case $ac_option in
11.15423 -  # Handling of the options.
11.15424 -_ACEOF
11.15425 -cat >>$CONFIG_STATUS <<\_ACEOF
11.15426 -  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11.15427 -    ac_cs_recheck=: ;;
11.15428 -  --version | --vers* | -V )
11.15429 -    echo "$ac_cs_version"; exit 0 ;;
11.15430 -  --he | --h)
11.15431 -    # Conflict between --help and --header
11.15432 -    { { echo "$as_me:$LINENO: error: ambiguous option: $1
11.15433 -Try \`$0 --help' for more information." >&5
11.15434 -echo "$as_me: error: ambiguous option: $1
11.15435 -Try \`$0 --help' for more information." >&2;}
11.15436 -   { (exit 1); exit 1; }; };;
11.15437 -  --help | --hel | -h )
11.15438 -    echo "$ac_cs_usage"; exit 0 ;;
11.15439 -  --debug | --d* | -d )
11.15440 -    debug=: ;;
11.15441 -  --file | --fil | --fi | --f )
11.15442 -    $ac_shift
11.15443 -    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
11.15444 -    ac_need_defaults=false;;
11.15445 -  --header | --heade | --head | --hea )
11.15446 -    $ac_shift
11.15447 -    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
11.15448 -    ac_need_defaults=false;;
11.15449 -  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11.15450 -  | -silent | --silent | --silen | --sile | --sil | --si | --s)
11.15451 -    ac_cs_silent=: ;;
11.15452 -
11.15453 -  # This is an error.
11.15454 -  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
11.15455 -Try \`$0 --help' for more information." >&5
11.15456 -echo "$as_me: error: unrecognized option: $1
11.15457 -Try \`$0 --help' for more information." >&2;}
11.15458 -   { (exit 1); exit 1; }; } ;;
11.15459 -
11.15460 -  *) ac_config_targets="$ac_config_targets $1" ;;
11.15461 -
11.15462 -  esac
11.15463 -  shift
11.15464 -done
11.15465 -
11.15466 -ac_configure_extra_args=
11.15467 -
11.15468 -if $ac_cs_silent; then
11.15469 -  exec 6>/dev/null
11.15470 -  ac_configure_extra_args="$ac_configure_extra_args --silent"
11.15471 -fi
11.15472 -
11.15473 -_ACEOF
11.15474 -cat >>$CONFIG_STATUS <<_ACEOF
11.15475 -if \$ac_cs_recheck; then
11.15476 -  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11.15477 -  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11.15478 -fi
11.15479 -
11.15480 -_ACEOF
11.15481 -
11.15482 -cat >>$CONFIG_STATUS <<_ACEOF
11.15483 -#
11.15484 -# INIT-COMMANDS section.
11.15485 -#
11.15486 -
11.15487 -AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11.15488 -
11.15489 -
11.15490 -# The HP-UX ksh and POSIX shell print the target directory to stdout
11.15491 -# if CDPATH is set.
11.15492 -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11.15493 -
11.15494 -sed_quote_subst='$sed_quote_subst'
11.15495 -double_quote_subst='$double_quote_subst'
11.15496 -delay_variable_subst='$delay_variable_subst'
11.15497 -macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
11.15498 -macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
11.15499 -enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
11.15500 -enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
11.15501 -pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
11.15502 -enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
11.15503 -host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
11.15504 -host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
11.15505 -host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
11.15506 -build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
11.15507 -build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
11.15508 -build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
11.15509 -SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
11.15510 -Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
11.15511 -GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
11.15512 -EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
11.15513 -FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
11.15514 -LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
11.15515 -NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
11.15516 -LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
11.15517 -max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
11.15518 -ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
11.15519 -exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
11.15520 -lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
11.15521 -lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
11.15522 -lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
11.15523 -reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
11.15524 -reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11.15525 -deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
11.15526 -file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
11.15527 -AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
11.15528 -AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11.15529 -STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
11.15530 -RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
11.15531 -old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11.15532 -old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11.15533 -old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11.15534 -CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
11.15535 -CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11.15536 -compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
11.15537 -GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
11.15538 -lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
11.15539 -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
11.15540 -lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
11.15541 -objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
11.15542 -SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
11.15543 -ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
11.15544 -MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
11.15545 -lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
11.15546 -lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
11.15547 -lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
11.15548 -lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
11.15549 -lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
11.15550 -need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
11.15551 -libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
11.15552 -shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11.15553 -extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11.15554 -archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
11.15555 -enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
11.15556 -export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11.15557 -whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11.15558 -compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
11.15559 -old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11.15560 -old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11.15561 -archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11.15562 -archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11.15563 -module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11.15564 -module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11.15565 -with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
11.15566 -allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11.15567 -no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11.15568 -hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11.15569 -hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
11.15570 -hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
11.15571 -hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
11.15572 -hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
11.15573 -hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
11.15574 -hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11.15575 -hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
11.15576 -inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
11.15577 -link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
11.15578 -fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
11.15579 -always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
11.15580 -export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11.15581 -exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11.15582 -include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11.15583 -prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11.15584 -file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
11.15585 -variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
11.15586 -need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
11.15587 -need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
11.15588 -version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
11.15589 -runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11.15590 -shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11.15591 -shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
11.15592 -libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11.15593 -library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
11.15594 -soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11.15595 -postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11.15596 -postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11.15597 -finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11.15598 -finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
11.15599 -hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
11.15600 -sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11.15601 -sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11.15602 -hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
11.15603 -enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
11.15604 -enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
11.15605 -enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
11.15606 -old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
11.15607 -striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
11.15608 -
11.15609 -LTCC='$LTCC'
11.15610 -LTCFLAGS='$LTCFLAGS'
11.15611 -compiler='$compiler_DEFAULT'
11.15612 -
11.15613 -# Quote evaled strings.
11.15614 -for var in SED \
11.15615 -GREP \
11.15616 -EGREP \
11.15617 -FGREP \
11.15618 -LD \
11.15619 -NM \
11.15620 -LN_S \
11.15621 -lt_SP2NL \
11.15622 -lt_NL2SP \
11.15623 -reload_flag \
11.15624 -deplibs_check_method \
11.15625 -file_magic_cmd \
11.15626 -AR \
11.15627 -AR_FLAGS \
11.15628 -STRIP \
11.15629 -RANLIB \
11.15630 -CC \
11.15631 -CFLAGS \
11.15632 -compiler \
11.15633 -lt_cv_sys_global_symbol_pipe \
11.15634 -lt_cv_sys_global_symbol_to_cdecl \
11.15635 -lt_cv_sys_global_symbol_to_c_name_address \
11.15636 -SHELL \
11.15637 -ECHO \
11.15638 -lt_prog_compiler_no_builtin_flag \
11.15639 -lt_prog_compiler_wl \
11.15640 -lt_prog_compiler_pic \
11.15641 -lt_prog_compiler_static \
11.15642 -lt_cv_prog_compiler_c_o \
11.15643 -need_locks \
11.15644 -shrext_cmds \
11.15645 -export_dynamic_flag_spec \
11.15646 -whole_archive_flag_spec \
11.15647 -compiler_needs_object \
11.15648 -with_gnu_ld \
11.15649 -allow_undefined_flag \
11.15650 -no_undefined_flag \
11.15651 -hardcode_libdir_flag_spec \
11.15652 -hardcode_libdir_flag_spec_ld \
11.15653 -hardcode_libdir_separator \
11.15654 -fix_srcfile_path \
11.15655 -exclude_expsyms \
11.15656 -include_expsyms \
11.15657 -file_list_spec \
11.15658 -variables_saved_for_relink \
11.15659 -libname_spec \
11.15660 -library_names_spec \
11.15661 -soname_spec \
11.15662 -finish_eval \
11.15663 -old_striplib \
11.15664 -striplib; do
11.15665 -    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11.15666 -    *[\\\\\\\`\\"\\\$]*)
11.15667 -      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
11.15668 -      ;;
11.15669 -    *)
11.15670 -      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11.15671 -      ;;
11.15672 -    esac
11.15673 -done
11.15674 -
11.15675 -# Double-quote double-evaled strings.
11.15676 -for var in reload_cmds \
11.15677 -old_postinstall_cmds \
11.15678 -old_postuninstall_cmds \
11.15679 -old_archive_cmds \
11.15680 -extract_expsyms_cmds \
11.15681 -old_archive_from_new_cmds \
11.15682 -old_archive_from_expsyms_cmds \
11.15683 -archive_cmds \
11.15684 -archive_expsym_cmds \
11.15685 -module_cmds \
11.15686 -module_expsym_cmds \
11.15687 -export_symbols_cmds \
11.15688 -prelink_cmds \
11.15689 -postinstall_cmds \
11.15690 -postuninstall_cmds \
11.15691 -finish_cmds \
11.15692 -sys_lib_search_path_spec \
11.15693 -sys_lib_dlsearch_path_spec; do
11.15694 -    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11.15695 -    *[\\\\\\\`\\"\\\$]*)
11.15696 -      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
11.15697 -      ;;
11.15698 -    *)
11.15699 -      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11.15700 -      ;;
11.15701 -    esac
11.15702 -done
11.15703 -
11.15704 -# Fix-up fallback echo if it was mangled by the above quoting rules.
11.15705 -case \$lt_ECHO in
11.15706 -*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
11.15707 -  ;;
11.15708 -esac
11.15709 -
11.15710 -ac_aux_dir='$ac_aux_dir'
11.15711 -xsi_shell='$xsi_shell'
11.15712 -lt_shell_append='$lt_shell_append'
11.15713 -
11.15714 -# See if we are running on zsh, and set the options which allow our
11.15715 -# commands through without removal of \ escapes INIT.
11.15716 -if test -n "\${ZSH_VERSION+set}" ; then
11.15717 -   setopt NO_GLOB_SUBST
11.15718 -fi
11.15719 -
11.15720 -
11.15721 -    PACKAGE='$PACKAGE'
11.15722 -    VERSION='$VERSION'
11.15723 -    TIMESTAMP='$TIMESTAMP'
11.15724 -    RM='$RM'
11.15725 -    ofile='$ofile'
11.15726 -
11.15727 -
11.15728 -
11.15729 -# Capture the value of obsolete ALL_LINGUAS because we need it to compute
11.15730 -    # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
11.15731 -    # from automake.
11.15732 -    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
11.15733 -    # Capture the value of LINGUAS because we need it to compute CATALOGS.
11.15734 -    LINGUAS="${LINGUAS-%UNSET%}"
11.15735 -
11.15736 -
11.15737 -_ACEOF
11.15738 -
11.15739 -
11.15740 -
11.15741 -cat >>$CONFIG_STATUS <<\_ACEOF
11.15742 -for ac_config_target in $ac_config_targets
11.15743 -do
11.15744 -  case "$ac_config_target" in
11.15745 -  # Handling of arguments.
11.15746 -  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
11.15747 -  "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
11.15748 -  "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
11.15749 -  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
11.15750 -  "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
11.15751 -  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
11.15752 -  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
11.15753 -  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11.15754 -echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11.15755 -   { (exit 1); exit 1; }; };;
11.15756 -  esac
11.15757 -done
11.15758 -
11.15759 -# If the user did not use the arguments to specify the items to instantiate,
11.15760 -# then the envvar interface is used.  Set only those that are not.
11.15761 -# We use the long form for the default assignment because of an extremely
11.15762 -# bizarre bug on SunOS 4.1.3.
11.15763 -if $ac_need_defaults; then
11.15764 -  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11.15765 -  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11.15766 -  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
11.15767 -fi
11.15768 -
11.15769 -# Have a temporary directory for convenience.  Make it in the build tree
11.15770 -# simply because there is no reason to put it here, and in addition,
11.15771 -# creating and moving files from /tmp can sometimes cause problems.
11.15772 -# Create a temporary directory, and hook for its removal unless debugging.
11.15773 -$debug ||
11.15774 -{
11.15775 -  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
11.15776 -  trap '{ (exit 1); exit 1; }' 1 2 13 15
11.15777 -}
11.15778 -
11.15779 -# Create a (secure) tmp directory for tmp files.
11.15780 -
11.15781 -{
11.15782 -  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
11.15783 -  test -n "$tmp" && test -d "$tmp"
11.15784 -}  ||
11.15785 -{
11.15786 -  tmp=./confstat$$-$RANDOM
11.15787 -  (umask 077 && mkdir $tmp)
11.15788 -} ||
11.15789 -{
11.15790 -   echo "$me: cannot create a temporary directory in ." >&2
11.15791 -   { (exit 1); exit 1; }
11.15792 -}
11.15793 -
11.15794 -_ACEOF
11.15795 -
11.15796 -cat >>$CONFIG_STATUS <<_ACEOF
11.15797 -
11.15798 -#
11.15799 -# CONFIG_FILES section.
11.15800 -#
11.15801 -
11.15802 -# No need to generate the scripts if there are no CONFIG_FILES.
11.15803 -# This happens for instance when ./config.status config.h
11.15804 -if test -n "\$CONFIG_FILES"; then
11.15805 -  # Protect against being on the right side of a sed subst in config.status.
11.15806 -  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
11.15807 -   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
11.15808 -s,@SHELL@,$SHELL,;t t
11.15809 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
11.15810 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11.15811 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11.15812 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11.15813 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
11.15814 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11.15815 -s,@exec_prefix@,$exec_prefix,;t t
11.15816 -s,@prefix@,$prefix,;t t
11.15817 -s,@program_transform_name@,$program_transform_name,;t t
11.15818 -s,@bindir@,$bindir,;t t
11.15819 -s,@sbindir@,$sbindir,;t t
11.15820 -s,@libexecdir@,$libexecdir,;t t
11.15821 -s,@datadir@,$datadir,;t t
11.15822 -s,@sysconfdir@,$sysconfdir,;t t
11.15823 -s,@sharedstatedir@,$sharedstatedir,;t t
11.15824 -s,@localstatedir@,$localstatedir,;t t
11.15825 -s,@libdir@,$libdir,;t t
11.15826 -s,@includedir@,$includedir,;t t
11.15827 -s,@oldincludedir@,$oldincludedir,;t t
11.15828 -s,@infodir@,$infodir,;t t
11.15829 -s,@mandir@,$mandir,;t t
11.15830 -s,@build_alias@,$build_alias,;t t
11.15831 -s,@host_alias@,$host_alias,;t t
11.15832 -s,@target_alias@,$target_alias,;t t
11.15833 -s,@DEFS@,$DEFS,;t t
11.15834 -s,@ECHO_C@,$ECHO_C,;t t
11.15835 -s,@ECHO_N@,$ECHO_N,;t t
11.15836 -s,@ECHO_T@,$ECHO_T,;t t
11.15837 -s,@LIBS@,$LIBS,;t t
11.15838 -s,@build@,$build,;t t
11.15839 -s,@build_cpu@,$build_cpu,;t t
11.15840 -s,@build_vendor@,$build_vendor,;t t
11.15841 -s,@build_os@,$build_os,;t t
11.15842 -s,@host@,$host,;t t
11.15843 -s,@host_cpu@,$host_cpu,;t t
11.15844 -s,@host_vendor@,$host_vendor,;t t
11.15845 -s,@host_os@,$host_os,;t t
11.15846 -s,@target@,$target,;t t
11.15847 -s,@target_cpu@,$target_cpu,;t t
11.15848 -s,@target_vendor@,$target_vendor,;t t
11.15849 -s,@target_os@,$target_os,;t t
11.15850 -s,@CC@,$CC,;t t
11.15851 -s,@CFLAGS@,$CFLAGS,;t t
11.15852 -s,@LDFLAGS@,$LDFLAGS,;t t
11.15853 -s,@CPPFLAGS@,$CPPFLAGS,;t t
11.15854 -s,@ac_ct_CC@,$ac_ct_CC,;t t
11.15855 -s,@EXEEXT@,$EXEEXT,;t t
11.15856 -s,@OBJEXT@,$OBJEXT,;t t
11.15857 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
11.15858 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
11.15859 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
11.15860 -s,@CYGPATH_W@,$CYGPATH_W,;t t
11.15861 -s,@PACKAGE@,$PACKAGE,;t t
11.15862 -s,@VERSION@,$VERSION,;t t
11.15863 -s,@ACLOCAL@,$ACLOCAL,;t t
11.15864 -s,@AUTOCONF@,$AUTOCONF,;t t
11.15865 -s,@AUTOMAKE@,$AUTOMAKE,;t t
11.15866 -s,@AUTOHEADER@,$AUTOHEADER,;t t
11.15867 -s,@MAKEINFO@,$MAKEINFO,;t t
11.15868 -s,@install_sh@,$install_sh,;t t
11.15869 -s,@STRIP@,$STRIP,;t t
11.15870 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
11.15871 -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
11.15872 -s,@mkdir_p@,$mkdir_p,;t t
11.15873 -s,@AWK@,$AWK,;t t
11.15874 -s,@SET_MAKE@,$SET_MAKE,;t t
11.15875 -s,@am__leading_dot@,$am__leading_dot,;t t
11.15876 -s,@AMTAR@,$AMTAR,;t t
11.15877 -s,@am__tar@,$am__tar,;t t
11.15878 -s,@am__untar@,$am__untar,;t t
11.15879 -s,@DEPDIR@,$DEPDIR,;t t
11.15880 -s,@am__include@,$am__include,;t t
11.15881 -s,@am__quote@,$am__quote,;t t
11.15882 -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
11.15883 -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
11.15884 -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
11.15885 -s,@CCDEPMODE@,$CCDEPMODE,;t t
11.15886 -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
11.15887 -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
11.15888 -s,@LIBTOOL@,$LIBTOOL,;t t
11.15889 -s,@SED@,$SED,;t t
11.15890 -s,@EGREP@,$EGREP,;t t
11.15891 -s,@FGREP@,$FGREP,;t t
11.15892 -s,@GREP@,$GREP,;t t
11.15893 -s,@LD@,$LD,;t t
11.15894 -s,@DUMPBIN@,$DUMPBIN,;t t
11.15895 -s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
11.15896 -s,@NM@,$NM,;t t
11.15897 -s,@LN_S@,$LN_S,;t t
11.15898 -s,@AR@,$AR,;t t
11.15899 -s,@ac_ct_AR@,$ac_ct_AR,;t t
11.15900 -s,@RANLIB@,$RANLIB,;t t
11.15901 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
11.15902 -s,@lt_ECHO@,$lt_ECHO,;t t
11.15903 -s,@CPP@,$CPP,;t t
11.15904 -s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
11.15905 -s,@NO_WERROR@,$NO_WERROR,;t t
11.15906 -s,@YACC@,$YACC,;t t
11.15907 -s,@LEX@,$LEX,;t t
11.15908 -s,@LEXLIB@,$LEXLIB,;t t
11.15909 -s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
11.15910 -s,@USE_NLS@,$USE_NLS,;t t
11.15911 -s,@LIBINTL@,$LIBINTL,;t t
11.15912 -s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
11.15913 -s,@INCINTL@,$INCINTL,;t t
11.15914 -s,@XGETTEXT@,$XGETTEXT,;t t
11.15915 -s,@GMSGFMT@,$GMSGFMT,;t t
11.15916 -s,@POSUB@,$POSUB,;t t
11.15917 -s,@CATALOGS@,$CATALOGS,;t t
11.15918 -s,@DATADIRNAME@,$DATADIRNAME,;t t
11.15919 -s,@INSTOBJEXT@,$INSTOBJEXT,;t t
11.15920 -s,@GENCAT@,$GENCAT,;t t
11.15921 -s,@CATOBJEXT@,$CATOBJEXT,;t t
11.15922 -s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
11.15923 -s,@MSGFMT@,$MSGFMT,;t t
11.15924 -s,@MSGMERGE@,$MSGMERGE,;t t
11.15925 -s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
11.15926 -s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
11.15927 -s,@MAINT@,$MAINT,;t t
11.15928 -s,@GENINSRC_NEVER_TRUE@,$GENINSRC_NEVER_TRUE,;t t
11.15929 -s,@GENINSRC_NEVER_FALSE@,$GENINSRC_NEVER_FALSE,;t t
11.15930 -s,@HDEFINES@,$HDEFINES,;t t
11.15931 -s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
11.15932 -s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
11.15933 -s,@DEMANGLER_NAME@,$DEMANGLER_NAME,;t t
11.15934 -s,@ALLOCA@,$ALLOCA,;t t
11.15935 -s,@LIBICONV@,$LIBICONV,;t t
11.15936 -s,@LTLIBICONV@,$LTLIBICONV,;t t
11.15937 -s,@NLMCONV_DEFS@,$NLMCONV_DEFS,;t t
11.15938 -s,@BUILD_NLMCONV@,$BUILD_NLMCONV,;t t
11.15939 -s,@BUILD_SRCONV@,$BUILD_SRCONV,;t t
11.15940 -s,@BUILD_DLLTOOL@,$BUILD_DLLTOOL,;t t
11.15941 -s,@DLLTOOL_DEFS@,$DLLTOOL_DEFS,;t t
11.15942 -s,@BUILD_WINDRES@,$BUILD_WINDRES,;t t
11.15943 -s,@BUILD_WINDMC@,$BUILD_WINDMC,;t t
11.15944 -s,@BUILD_DLLWRAP@,$BUILD_DLLWRAP,;t t
11.15945 -s,@BUILD_MISC@,$BUILD_MISC,;t t
11.15946 -s,@BUILD_INSTALL_MISC@,$BUILD_INSTALL_MISC,;t t
11.15947 -s,@OBJDUMP_DEFS@,$OBJDUMP_DEFS,;t t
11.15948 -s,@EMULATION@,$EMULATION,;t t
11.15949 -s,@EMULATION_VECTOR@,$EMULATION_VECTOR,;t t
11.15950 -s,@datarootdir@,$datarootdir,;t t
11.15951 -s,@docdir@,$docdir,;t t
11.15952 -s,@htmldir@,$htmldir,;t t
11.15953 -s,@LIBOBJS@,$LIBOBJS,;t t
11.15954 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
11.15955 -CEOF
11.15956 -
11.15957 -_ACEOF
11.15958 -
11.15959 -  cat >>$CONFIG_STATUS <<\_ACEOF
11.15960 -  # Split the substitutions into bite-sized pieces for seds with
11.15961 -  # small command number limits, like on Digital OSF/1 and HP-UX.
11.15962 -  ac_max_sed_lines=48
11.15963 -  ac_sed_frag=1 # Number of current file.
11.15964 -  ac_beg=1 # First line for current file.
11.15965 -  ac_end=$ac_max_sed_lines # Line after last line for current file.
11.15966 -  ac_more_lines=:
11.15967 -  ac_sed_cmds=
11.15968 -  while $ac_more_lines; do
11.15969 -    if test $ac_beg -gt 1; then
11.15970 -      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
11.15971 -    else
11.15972 -      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
11.15973 -    fi
11.15974 -    if test ! -s $tmp/subs.frag; then
11.15975 -      ac_more_lines=false
11.15976 -    else
11.15977 -      # The purpose of the label and of the branching condition is to
11.15978 -      # speed up the sed processing (if there are no `@' at all, there
11.15979 -      # is no need to browse any of the substitutions).
11.15980 -      # These are the two extra sed commands mentioned above.
11.15981 -      (echo ':t
11.15982 -  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
11.15983 -      if test -z "$ac_sed_cmds"; then
11.15984 -	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
11.15985 -      else
11.15986 -	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11.15987 -      fi
11.15988 -      ac_sed_frag=`expr $ac_sed_frag + 1`
11.15989 -      ac_beg=$ac_end
11.15990 -      ac_end=`expr $ac_end + $ac_max_sed_lines`
11.15991 -    fi
11.15992 -  done
11.15993 -  if test -z "$ac_sed_cmds"; then
11.15994 -    ac_sed_cmds=cat
11.15995 -  fi
11.15996 -fi # test -n "$CONFIG_FILES"
11.15997 -
11.15998 -_ACEOF
11.15999 -cat >>$CONFIG_STATUS <<\_ACEOF
11.16000 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
11.16001 -  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11.16002 -  case $ac_file in
11.16003 -  - | *:- | *:-:* ) # input from stdin
11.16004 -	cat >$tmp/stdin
11.16005 -	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11.16006 -	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11.16007 -  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11.16008 -	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11.16009 -  * )   ac_file_in=$ac_file.in ;;
11.16010 -  esac
11.16011 -
11.16012 -  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
11.16013 -  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
11.16014 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11.16015 -	 X"$ac_file" : 'X\(//\)[^/]' \| \
11.16016 -	 X"$ac_file" : 'X\(//\)$' \| \
11.16017 -	 X"$ac_file" : 'X\(/\)' \| \
11.16018 -	 .     : '\(.\)' 2>/dev/null ||
11.16019 -echo X"$ac_file" |
11.16020 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11.16021 -  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11.16022 -  	  /^X\(\/\/\)$/{ s//\1/; q; }
11.16023 -  	  /^X\(\/\).*/{ s//\1/; q; }
11.16024 -  	  s/.*/./; q'`
11.16025 -  { if $as_mkdir_p; then
11.16026 -    mkdir -p "$ac_dir"
11.16027 -  else
11.16028 -    as_dir="$ac_dir"
11.16029 -    as_dirs=
11.16030 -    while test ! -d "$as_dir"; do
11.16031 -      as_dirs="$as_dir $as_dirs"
11.16032 -      as_dir=`(dirname "$as_dir") 2>/dev/null ||
11.16033 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11.16034 -	 X"$as_dir" : 'X\(//\)[^/]' \| \
11.16035 -	 X"$as_dir" : 'X\(//\)$' \| \
11.16036 -	 X"$as_dir" : 'X\(/\)' \| \
11.16037 -	 .     : '\(.\)' 2>/dev/null ||
11.16038 -echo X"$as_dir" |
11.16039 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11.16040 -  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11.16041 -  	  /^X\(\/\/\)$/{ s//\1/; q; }
11.16042 -  	  /^X\(\/\).*/{ s//\1/; q; }
11.16043 -  	  s/.*/./; q'`
11.16044 -    done
11.16045 -    test ! -n "$as_dirs" || mkdir $as_dirs
11.16046 -  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11.16047 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11.16048 -   { (exit 1); exit 1; }; }; }
11.16049 -
11.16050 -  ac_builddir=.
11.16051 -
11.16052 -if test "$ac_dir" != .; then
11.16053 -  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11.16054 -  # A "../" for each directory in $ac_dir_suffix.
11.16055 -  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11.16056 -else
11.16057 -  ac_dir_suffix= ac_top_builddir=
11.16058 -fi
11.16059 -
11.16060 -case $srcdir in
11.16061 -  .)  # No --srcdir option.  We are building in place.
11.16062 -    ac_srcdir=.
11.16063 -    if test -z "$ac_top_builddir"; then
11.16064 -       ac_top_srcdir=.
11.16065 -    else
11.16066 -       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
11.16067 -    fi ;;
11.16068 -  [\\/]* | ?:[\\/]* )  # Absolute path.
11.16069 -    ac_srcdir=$srcdir$ac_dir_suffix;
11.16070 -    ac_top_srcdir=$srcdir ;;
11.16071 -  *) # Relative path.
11.16072 -    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11.16073 -    ac_top_srcdir=$ac_top_builddir$srcdir ;;
11.16074 -esac
11.16075 -
11.16076 -# Do not use `cd foo && pwd` to compute absolute paths, because
11.16077 -# the directories may not exist.
11.16078 -case `pwd` in
11.16079 -.) ac_abs_builddir="$ac_dir";;
11.16080 -*)
11.16081 -  case "$ac_dir" in
11.16082 -  .) ac_abs_builddir=`pwd`;;
11.16083 -  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11.16084 -  *) ac_abs_builddir=`pwd`/"$ac_dir";;
11.16085 -  esac;;
11.16086 -esac
11.16087 -case $ac_abs_builddir in
11.16088 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
11.16089 -*)
11.16090 -  case ${ac_top_builddir}. in
11.16091 -  .) ac_abs_top_builddir=$ac_abs_builddir;;
11.16092 -  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11.16093 -  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11.16094 -  esac;;
11.16095 -esac
11.16096 -case $ac_abs_builddir in
11.16097 -.) ac_abs_srcdir=$ac_srcdir;;
11.16098 -*)
11.16099 -  case $ac_srcdir in
11.16100 -  .) ac_abs_srcdir=$ac_abs_builddir;;
11.16101 -  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11.16102 -  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11.16103 -  esac;;
11.16104 -esac
11.16105 -case $ac_abs_builddir in
11.16106 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
11.16107 -*)
11.16108 -  case $ac_top_srcdir in
11.16109 -  .) ac_abs_top_srcdir=$ac_abs_builddir;;
11.16110 -  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11.16111 -  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11.16112 -  esac;;
11.16113 -esac
11.16114 -
11.16115 -
11.16116 -  case $INSTALL in
11.16117 -  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
11.16118 -  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
11.16119 -  esac
11.16120 -
11.16121 -  # Let's still pretend it is `configure' which instantiates (i.e., don't
11.16122 -  # use $as_me), people would be surprised to read:
11.16123 -  #    /* config.h.  Generated by config.status.  */
11.16124 -  if test x"$ac_file" = x-; then
11.16125 -    configure_input=
11.16126 -  else
11.16127 -    configure_input="$ac_file.  "
11.16128 -  fi
11.16129 -  configure_input=$configure_input"Generated from `echo $ac_file_in |
11.16130 -				     sed 's,.*/,,'` by configure."
11.16131 -
11.16132 -  # First look for the input files in the build tree, otherwise in the
11.16133 -  # src tree.
11.16134 -  ac_file_inputs=`IFS=:
11.16135 -    for f in $ac_file_in; do
11.16136 -      case $f in
11.16137 -      -) echo $tmp/stdin ;;
11.16138 -      [\\/$]*)
11.16139 -	 # Absolute (can't be DOS-style, as IFS=:)
11.16140 -	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11.16141 -echo "$as_me: error: cannot find input file: $f" >&2;}
11.16142 -   { (exit 1); exit 1; }; }
11.16143 -	 echo "$f";;
11.16144 -      *) # Relative
11.16145 -	 if test -f "$f"; then
11.16146 -	   # Build tree
11.16147 -	   echo "$f"
11.16148 -	 elif test -f "$srcdir/$f"; then
11.16149 -	   # Source tree
11.16150 -	   echo "$srcdir/$f"
11.16151 -	 else
11.16152 -	   # /dev/null tree
11.16153 -	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11.16154 -echo "$as_me: error: cannot find input file: $f" >&2;}
11.16155 -   { (exit 1); exit 1; }; }
11.16156 -	 fi;;
11.16157 -      esac
11.16158 -    done` || { (exit 1); exit 1; }
11.16159 -
11.16160 -  if test x"$ac_file" != x-; then
11.16161 -    { echo "$as_me:$LINENO: creating $ac_file" >&5
11.16162 -echo "$as_me: creating $ac_file" >&6;}
11.16163 -    rm -f "$ac_file"
11.16164 -  fi
11.16165 -_ACEOF
11.16166 -cat >>$CONFIG_STATUS <<_ACEOF
11.16167 -  sed "$ac_vpsub
11.16168 -$extrasub
11.16169 -_ACEOF
11.16170 -cat >>$CONFIG_STATUS <<\_ACEOF
11.16171 -:t
11.16172 -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11.16173 -s,@configure_input@,$configure_input,;t t
11.16174 -s,@srcdir@,$ac_srcdir,;t t
11.16175 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
11.16176 -s,@top_srcdir@,$ac_top_srcdir,;t t
11.16177 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
11.16178 -s,@builddir@,$ac_builddir,;t t
11.16179 -s,@abs_builddir@,$ac_abs_builddir,;t t
11.16180 -s,@top_builddir@,$ac_top_builddir,;t t
11.16181 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
11.16182 -s,@INSTALL@,$ac_INSTALL,;t t
11.16183 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
11.16184 -  rm -f $tmp/stdin
11.16185 -  if test x"$ac_file" != x-; then
11.16186 -    mv $tmp/out $ac_file
11.16187 -  else
11.16188 -    cat $tmp/out
11.16189 -    rm -f $tmp/out
11.16190 -  fi
11.16191 -
11.16192 -done
11.16193 -_ACEOF
11.16194 -cat >>$CONFIG_STATUS <<\_ACEOF
11.16195 -
11.16196 -#
11.16197 -# CONFIG_HEADER section.
11.16198 -#
11.16199 -
11.16200 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
11.16201 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
11.16202 -#
11.16203 -# ac_d sets the value in "#define NAME VALUE" lines.
11.16204 -ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
11.16205 -ac_dB='[	 ].*$,\1#\2'
11.16206 -ac_dC=' '
11.16207 -ac_dD=',;t'
11.16208 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
11.16209 -ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
11.16210 -ac_uB='$,\1#\2define\3'
11.16211 -ac_uC=' '
11.16212 -ac_uD=',;t'
11.16213 -
11.16214 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
11.16215 -  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11.16216 -  case $ac_file in
11.16217 -  - | *:- | *:-:* ) # input from stdin
11.16218 -	cat >$tmp/stdin
11.16219 -	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11.16220 -	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11.16221 -  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11.16222 -	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11.16223 -  * )   ac_file_in=$ac_file.in ;;
11.16224 -  esac
11.16225 -
11.16226 -  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
11.16227 -echo "$as_me: creating $ac_file" >&6;}
11.16228 -
11.16229 -  # First look for the input files in the build tree, otherwise in the
11.16230 -  # src tree.
11.16231 -  ac_file_inputs=`IFS=:
11.16232 -    for f in $ac_file_in; do
11.16233 -      case $f in
11.16234 -      -) echo $tmp/stdin ;;
11.16235 -      [\\/$]*)
11.16236 -	 # Absolute (can't be DOS-style, as IFS=:)
11.16237 -	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11.16238 -echo "$as_me: error: cannot find input file: $f" >&2;}
11.16239 -   { (exit 1); exit 1; }; }
11.16240 -	 # Do quote $f, to prevent DOS paths from being IFS'd.
11.16241 -	 echo "$f";;
11.16242 -      *) # Relative
11.16243 -	 if test -f "$f"; then
11.16244 -	   # Build tree
11.16245 -	   echo "$f"
11.16246 -	 elif test -f "$srcdir/$f"; then
11.16247 -	   # Source tree
11.16248 -	   echo "$srcdir/$f"
11.16249 -	 else
11.16250 -	   # /dev/null tree
11.16251 -	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11.16252 -echo "$as_me: error: cannot find input file: $f" >&2;}
11.16253 -   { (exit 1); exit 1; }; }
11.16254 -	 fi;;
11.16255 -      esac
11.16256 -    done` || { (exit 1); exit 1; }
11.16257 -  # Remove the trailing spaces.
11.16258 -  sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
11.16259 -
11.16260 -_ACEOF
11.16261 -
11.16262 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
11.16263 -# `conftest.undefs', that substitutes the proper values into
11.16264 -# config.h.in to produce config.h.  The first handles `#define'
11.16265 -# templates, and the second `#undef' templates.
11.16266 -# And first: Protect against being on the right side of a sed subst in
11.16267 -# config.status.  Protect against being in an unquoted here document
11.16268 -# in config.status.
11.16269 -rm -f conftest.defines conftest.undefs
11.16270 -# Using a here document instead of a string reduces the quoting nightmare.
11.16271 -# Putting comments in sed scripts is not portable.
11.16272 -#
11.16273 -# `end' is used to avoid that the second main sed command (meant for
11.16274 -# 0-ary CPP macros) applies to n-ary macro definitions.
11.16275 -# See the Autoconf documentation for `clear'.
11.16276 -cat >confdef2sed.sed <<\_ACEOF
11.16277 -s/[\\&,]/\\&/g
11.16278 -s,[\\$`],\\&,g
11.16279 -t clear
11.16280 -: clear
11.16281 -s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
11.16282 -t end
11.16283 -s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
11.16284 -: end
11.16285 -_ACEOF
11.16286 -# If some macros were called several times there might be several times
11.16287 -# the same #defines, which is useless.  Nevertheless, we may not want to
11.16288 -# sort them, since we want the *last* AC-DEFINE to be honored.
11.16289 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
11.16290 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
11.16291 -rm -f confdef2sed.sed
11.16292 -
11.16293 -# This sed command replaces #undef with comments.  This is necessary, for
11.16294 -# example, in the case of _POSIX_SOURCE, which is predefined and required
11.16295 -# on some systems where configure will not decide to define it.
11.16296 -cat >>conftest.undefs <<\_ACEOF
11.16297 -s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
11.16298 -_ACEOF
11.16299 -
11.16300 -# Break up conftest.defines because some shells have a limit on the size
11.16301 -# of here documents, and old seds have small limits too (100 cmds).
11.16302 -echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
11.16303 -echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
11.16304 -echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
11.16305 -echo '  :' >>$CONFIG_STATUS
11.16306 -rm -f conftest.tail
11.16307 -while grep . conftest.defines >/dev/null
11.16308 -do
11.16309 -  # Write a limited-size here document to $tmp/defines.sed.
11.16310 -  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
11.16311 -  # Speed up: don't consider the non `#define' lines.
11.16312 -  echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
11.16313 -  # Work around the forget-to-reset-the-flag bug.
11.16314 -  echo 't clr' >>$CONFIG_STATUS
11.16315 -  echo ': clr' >>$CONFIG_STATUS
11.16316 -  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
11.16317 -  echo 'CEOF
11.16318 -  sed -f $tmp/defines.sed $tmp/in >$tmp/out
11.16319 -  rm -f $tmp/in
11.16320 -  mv $tmp/out $tmp/in
11.16321 -' >>$CONFIG_STATUS
11.16322 -  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
11.16323 -  rm -f conftest.defines
11.16324 -  mv conftest.tail conftest.defines
11.16325 -done
11.16326 -rm -f conftest.defines
11.16327 -echo '  fi # grep' >>$CONFIG_STATUS
11.16328 -echo >>$CONFIG_STATUS
11.16329 -
11.16330 -# Break up conftest.undefs because some shells have a limit on the size
11.16331 -# of here documents, and old seds have small limits too (100 cmds).
11.16332 -echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
11.16333 -rm -f conftest.tail
11.16334 -while grep . conftest.undefs >/dev/null
11.16335 -do
11.16336 -  # Write a limited-size here document to $tmp/undefs.sed.
11.16337 -  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
11.16338 -  # Speed up: don't consider the non `#undef'
11.16339 -  echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
11.16340 -  # Work around the forget-to-reset-the-flag bug.
11.16341 -  echo 't clr' >>$CONFIG_STATUS
11.16342 -  echo ': clr' >>$CONFIG_STATUS
11.16343 -  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
11.16344 -  echo 'CEOF
11.16345 -  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
11.16346 -  rm -f $tmp/in
11.16347 -  mv $tmp/out $tmp/in
11.16348 -' >>$CONFIG_STATUS
11.16349 -  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
11.16350 -  rm -f conftest.undefs
11.16351 -  mv conftest.tail conftest.undefs
11.16352 -done
11.16353 -rm -f conftest.undefs
11.16354 -
11.16355 -cat >>$CONFIG_STATUS <<\_ACEOF
11.16356 -  # Let's still pretend it is `configure' which instantiates (i.e., don't
11.16357 -  # use $as_me), people would be surprised to read:
11.16358 -  #    /* config.h.  Generated by config.status.  */
11.16359 -  if test x"$ac_file" = x-; then
11.16360 -    echo "/* Generated by configure.  */" >$tmp/config.h
11.16361 -  else
11.16362 -    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
11.16363 -  fi
11.16364 -  cat $tmp/in >>$tmp/config.h
11.16365 -  rm -f $tmp/in
11.16366 -  if test x"$ac_file" != x-; then
11.16367 -    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
11.16368 -      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11.16369 -echo "$as_me: $ac_file is unchanged" >&6;}
11.16370 -    else
11.16371 -      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
11.16372 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11.16373 -	 X"$ac_file" : 'X\(//\)[^/]' \| \
11.16374 -	 X"$ac_file" : 'X\(//\)$' \| \
11.16375 -	 X"$ac_file" : 'X\(/\)' \| \
11.16376 -	 .     : '\(.\)' 2>/dev/null ||
11.16377 -echo X"$ac_file" |
11.16378 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11.16379 -  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11.16380 -  	  /^X\(\/\/\)$/{ s//\1/; q; }
11.16381 -  	  /^X\(\/\).*/{ s//\1/; q; }
11.16382 -  	  s/.*/./; q'`
11.16383 -      { if $as_mkdir_p; then
11.16384 -    mkdir -p "$ac_dir"
11.16385 -  else
11.16386 -    as_dir="$ac_dir"
11.16387 -    as_dirs=
11.16388 -    while test ! -d "$as_dir"; do
11.16389 -      as_dirs="$as_dir $as_dirs"
11.16390 -      as_dir=`(dirname "$as_dir") 2>/dev/null ||
11.16391 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11.16392 -	 X"$as_dir" : 'X\(//\)[^/]' \| \
11.16393 -	 X"$as_dir" : 'X\(//\)$' \| \
11.16394 -	 X"$as_dir" : 'X\(/\)' \| \
11.16395 -	 .     : '\(.\)' 2>/dev/null ||
11.16396 -echo X"$as_dir" |
11.16397 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11.16398 -  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11.16399 -  	  /^X\(\/\/\)$/{ s//\1/; q; }
11.16400 -  	  /^X\(\/\).*/{ s//\1/; q; }
11.16401 -  	  s/.*/./; q'`
11.16402 -    done
11.16403 -    test ! -n "$as_dirs" || mkdir $as_dirs
11.16404 -  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11.16405 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11.16406 -   { (exit 1); exit 1; }; }; }
11.16407 -
11.16408 -      rm -f $ac_file
11.16409 -      mv $tmp/config.h $ac_file
11.16410 -    fi
11.16411 -  else
11.16412 -    cat $tmp/config.h
11.16413 -    rm -f $tmp/config.h
11.16414 -  fi
11.16415 -# Compute $ac_file's index in $config_headers.
11.16416 -_am_stamp_count=1
11.16417 -for _am_header in $config_headers :; do
11.16418 -  case $_am_header in
11.16419 -    $ac_file | $ac_file:* )
11.16420 -      break ;;
11.16421 -    * )
11.16422 -      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
11.16423 -  esac
11.16424 -done
11.16425 -echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
11.16426 -$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11.16427 -	 X$ac_file : 'X\(//\)[^/]' \| \
11.16428 -	 X$ac_file : 'X\(//\)$' \| \
11.16429 -	 X$ac_file : 'X\(/\)' \| \
11.16430 -	 .     : '\(.\)' 2>/dev/null ||
11.16431 -echo X$ac_file |
11.16432 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11.16433 -  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11.16434 -  	  /^X\(\/\/\)$/{ s//\1/; q; }
11.16435 -  	  /^X\(\/\).*/{ s//\1/; q; }
11.16436 -  	  s/.*/./; q'`/stamp-h$_am_stamp_count
11.16437 -done
11.16438 -_ACEOF
11.16439 -cat >>$CONFIG_STATUS <<\_ACEOF
11.16440 -
11.16441 -#
11.16442 -# CONFIG_COMMANDS section.
11.16443 -#
11.16444 -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
11.16445 -  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
11.16446 -  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
11.16447 -  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
11.16448 -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11.16449 -	 X"$ac_dest" : 'X\(//\)[^/]' \| \
11.16450 -	 X"$ac_dest" : 'X\(//\)$' \| \
11.16451 -	 X"$ac_dest" : 'X\(/\)' \| \
11.16452 -	 .     : '\(.\)' 2>/dev/null ||
11.16453 -echo X"$ac_dest" |
11.16454 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11.16455 -  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11.16456 -  	  /^X\(\/\/\)$/{ s//\1/; q; }
11.16457 -  	  /^X\(\/\).*/{ s//\1/; q; }
11.16458 -  	  s/.*/./; q'`
11.16459 -  { if $as_mkdir_p; then
11.16460 -    mkdir -p "$ac_dir"
11.16461 -  else
11.16462 -    as_dir="$ac_dir"
11.16463 -    as_dirs=
11.16464 -    while test ! -d "$as_dir"; do
11.16465 -      as_dirs="$as_dir $as_dirs"
11.16466 -      as_dir=`(dirname "$as_dir") 2>/dev/null ||
11.16467 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11.16468 -	 X"$as_dir" : 'X\(//\)[^/]' \| \
11.16469 -	 X"$as_dir" : 'X\(//\)$' \| \
11.16470 -	 X"$as_dir" : 'X\(/\)' \| \
11.16471 -	 .     : '\(.\)' 2>/dev/null ||
11.16472 -echo X"$as_dir" |
11.16473 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11.16474 -  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11.16475 -  	  /^X\(\/\/\)$/{ s//\1/; q; }
11.16476 -  	  /^X\(\/\).*/{ s//\1/; q; }
11.16477 -  	  s/.*/./; q'`
11.16478 -    done
11.16479 -    test ! -n "$as_dirs" || mkdir $as_dirs
11.16480 -  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11.16481 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11.16482 -   { (exit 1); exit 1; }; }; }
11.16483 -
11.16484 -  ac_builddir=.
11.16485 -
11.16486 -if test "$ac_dir" != .; then
11.16487 -  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11.16488 -  # A "../" for each directory in $ac_dir_suffix.
11.16489 -  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11.16490 -else
11.16491 -  ac_dir_suffix= ac_top_builddir=
11.16492 -fi
11.16493 -
11.16494 -case $srcdir in
11.16495 -  .)  # No --srcdir option.  We are building in place.
11.16496 -    ac_srcdir=.
11.16497 -    if test -z "$ac_top_builddir"; then
11.16498 -       ac_top_srcdir=.
11.16499 -    else
11.16500 -       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
11.16501 -    fi ;;
11.16502 -  [\\/]* | ?:[\\/]* )  # Absolute path.
11.16503 -    ac_srcdir=$srcdir$ac_dir_suffix;
11.16504 -    ac_top_srcdir=$srcdir ;;
11.16505 -  *) # Relative path.
11.16506 -    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11.16507 -    ac_top_srcdir=$ac_top_builddir$srcdir ;;
11.16508 -esac
11.16509 -
11.16510 -# Do not use `cd foo && pwd` to compute absolute paths, because
11.16511 -# the directories may not exist.
11.16512 -case `pwd` in
11.16513 -.) ac_abs_builddir="$ac_dir";;
11.16514 -*)
11.16515 -  case "$ac_dir" in
11.16516 -  .) ac_abs_builddir=`pwd`;;
11.16517 -  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11.16518 -  *) ac_abs_builddir=`pwd`/"$ac_dir";;
11.16519 -  esac;;
11.16520 -esac
11.16521 -case $ac_abs_builddir in
11.16522 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
11.16523 -*)
11.16524 -  case ${ac_top_builddir}. in
11.16525 -  .) ac_abs_top_builddir=$ac_abs_builddir;;
11.16526 -  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11.16527 -  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11.16528 -  esac;;
11.16529 -esac
11.16530 -case $ac_abs_builddir in
11.16531 -.) ac_abs_srcdir=$ac_srcdir;;
11.16532 -*)
11.16533 -  case $ac_srcdir in
11.16534 -  .) ac_abs_srcdir=$ac_abs_builddir;;
11.16535 -  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11.16536 -  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11.16537 -  esac;;
11.16538 -esac
11.16539 -case $ac_abs_builddir in
11.16540 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
11.16541 -*)
11.16542 -  case $ac_top_srcdir in
11.16543 -  .) ac_abs_top_srcdir=$ac_abs_builddir;;
11.16544 -  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11.16545 -  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11.16546 -  esac;;
11.16547 -esac
11.16548 -
11.16549 -
11.16550 -  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
11.16551 -echo "$as_me: executing $ac_dest commands" >&6;}
11.16552 -  case $ac_dest in
11.16553 -    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
11.16554 -  # Strip MF so we end up with the name of the file.
11.16555 -  mf=`echo "$mf" | sed -e 's/:.*$//'`
11.16556 -  # Check whether this is an Automake generated Makefile or not.
11.16557 -  # We used to match only the files named `Makefile.in', but
11.16558 -  # some people rename them; so instead we look at the file content.
11.16559 -  # Grep'ing the first line is not enough: some people post-process
11.16560 -  # each Makefile.in and add a new line on top of each file to say so.
11.16561 -  # So let's grep whole file.
11.16562 -  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
11.16563 -    dirpart=`(dirname "$mf") 2>/dev/null ||
11.16564 -$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11.16565 -	 X"$mf" : 'X\(//\)[^/]' \| \
11.16566 -	 X"$mf" : 'X\(//\)$' \| \
11.16567 -	 X"$mf" : 'X\(/\)' \| \
11.16568 -	 .     : '\(.\)' 2>/dev/null ||
11.16569 -echo X"$mf" |
11.16570 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11.16571 -  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11.16572 -  	  /^X\(\/\/\)$/{ s//\1/; q; }
11.16573 -  	  /^X\(\/\).*/{ s//\1/; q; }
11.16574 -  	  s/.*/./; q'`
11.16575 -  else
11.16576 -    continue
11.16577 -  fi
11.16578 -  # Extract the definition of DEPDIR, am__include, and am__quote
11.16579 -  # from the Makefile without running `make'.
11.16580 -  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
11.16581 -  test -z "$DEPDIR" && continue
11.16582 -  am__include=`sed -n 's/^am__include = //p' < "$mf"`
11.16583 -  test -z "am__include" && continue
11.16584 -  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
11.16585 -  # When using ansi2knr, U may be empty or an underscore; expand it
11.16586 -  U=`sed -n 's/^U = //p' < "$mf"`
11.16587 -  # Find all dependency output files, they are included files with
11.16588 -  # $(DEPDIR) in their names.  We invoke sed twice because it is the
11.16589 -  # simplest approach to changing $(DEPDIR) to its actual value in the
11.16590 -  # expansion.
11.16591 -  for file in `sed -n "
11.16592 -    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
11.16593 -       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
11.16594 -    # Make sure the directory exists.
11.16595 -    test -f "$dirpart/$file" && continue
11.16596 -    fdir=`(dirname "$file") 2>/dev/null ||
11.16597 -$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11.16598 -	 X"$file" : 'X\(//\)[^/]' \| \
11.16599 -	 X"$file" : 'X\(//\)$' \| \
11.16600 -	 X"$file" : 'X\(/\)' \| \
11.16601 -	 .     : '\(.\)' 2>/dev/null ||
11.16602 -echo X"$file" |
11.16603 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11.16604 -  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11.16605 -  	  /^X\(\/\/\)$/{ s//\1/; q; }
11.16606 -  	  /^X\(\/\).*/{ s//\1/; q; }
11.16607 -  	  s/.*/./; q'`
11.16608 -    { if $as_mkdir_p; then
11.16609 -    mkdir -p $dirpart/$fdir
11.16610 -  else
11.16611 -    as_dir=$dirpart/$fdir
11.16612 -    as_dirs=
11.16613 -    while test ! -d "$as_dir"; do
11.16614 -      as_dirs="$as_dir $as_dirs"
11.16615 -      as_dir=`(dirname "$as_dir") 2>/dev/null ||
11.16616 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11.16617 -	 X"$as_dir" : 'X\(//\)[^/]' \| \
11.16618 -	 X"$as_dir" : 'X\(//\)$' \| \
11.16619 -	 X"$as_dir" : 'X\(/\)' \| \
11.16620 -	 .     : '\(.\)' 2>/dev/null ||
11.16621 -echo X"$as_dir" |
11.16622 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11.16623 -  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11.16624 -  	  /^X\(\/\/\)$/{ s//\1/; q; }
11.16625 -  	  /^X\(\/\).*/{ s//\1/; q; }
11.16626 -  	  s/.*/./; q'`
11.16627 -    done
11.16628 -    test ! -n "$as_dirs" || mkdir $as_dirs
11.16629 -  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
11.16630 -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
11.16631 -   { (exit 1); exit 1; }; }; }
11.16632 -
11.16633 -    # echo "creating $dirpart/$file"
11.16634 -    echo '# dummy' > "$dirpart/$file"
11.16635 -  done
11.16636 -done
11.16637 - ;;
11.16638 -    libtool )
11.16639 -
11.16640 -    # See if we are running on zsh, and set the options which allow our
11.16641 -    # commands through without removal of \ escapes.
11.16642 -    if test -n "${ZSH_VERSION+set}" ; then
11.16643 -      setopt NO_GLOB_SUBST
11.16644 -    fi
11.16645 -
11.16646 -    cfgfile="${ofile}T"
11.16647 -    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
11.16648 -    $RM "$cfgfile"
11.16649 -
11.16650 -    cat <<_LT_EOF >> "$cfgfile"
11.16651 -#! $SHELL
11.16652 -
11.16653 -# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
11.16654 -# Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
11.16655 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11.16656 -# NOTE: Changes made to this file will be lost: look at ltmain.sh.
11.16657 -#
11.16658 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
11.16659 -# 2006, 2007 Free Software Foundation, Inc.
11.16660 -#
11.16661 -# This file is part of GNU Libtool:
11.16662 -# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11.16663 -#
11.16664 -# This program is free software; you can redistribute it and/or modify
11.16665 -# it under the terms of the GNU General Public License as published by
11.16666 -# the Free Software Foundation; either version 2 of the License, or
11.16667 -# (at your option) any later version.
11.16668 -#
11.16669 -# This program is distributed in the hope that it will be useful, but
11.16670 -# WITHOUT ANY WARRANTY; without even the implied warranty of
11.16671 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11.16672 -# General Public License for more details.
11.16673 -#
11.16674 -# You should have received a copy of the GNU General Public License
11.16675 -# along with this program; if not, a copy can be downloaded from
11.16676 -# http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
11.16677 -# Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
11.16678 -# MA 02110-1301, USA.
11.16679 -#
11.16680 -# As a special exception to the GNU General Public License, if you
11.16681 -# distribute this file as part of a program that contains a
11.16682 -# configuration script generated by Autoconf, you may include it under
11.16683 -# the same distribution terms that you use for the rest of that program.
11.16684 -
11.16685 -
11.16686 -# The names of the tagged configurations supported by this script.
11.16687 -available_tags=""
11.16688 -
11.16689 -# ### BEGIN LIBTOOL CONFIG
11.16690 -
11.16691 -# Which release of libtool.m4 was used?
11.16692 -macro_version=$macro_version
11.16693 -macro_revision=$macro_revision
11.16694 -
11.16695 -# Whether or not to build shared libraries.
11.16696 -build_libtool_libs=$enable_shared
11.16697 -
11.16698 -# Whether or not to build static libraries.
11.16699 -build_old_libs=$enable_static
11.16700 -
11.16701 -# What type of objects to build.
11.16702 -pic_mode=$pic_mode
11.16703 -
11.16704 -# Whether or not to optimize for fast installation.
11.16705 -fast_install=$enable_fast_install
11.16706 -
11.16707 -# The host system.
11.16708 -host_alias=$host_alias
11.16709 -host=$host
11.16710 -host_os=$host_os
11.16711 -
11.16712 -# The build system.
11.16713 -build_alias=$build_alias
11.16714 -build=$build
11.16715 -build_os=$build_os
11.16716 -
11.16717 -# A sed program that does not truncate output.
11.16718 -SED=$lt_SED
11.16719 -
11.16720 -# Sed that helps us avoid accidentally triggering echo(1) options like -n.
11.16721 -Xsed="\$SED -e 1s/^X//"
11.16722 -
11.16723 -# A grep program that handles long lines.
11.16724 -GREP=$lt_GREP
11.16725 -
11.16726 -# An ERE matcher.
11.16727 -EGREP=$lt_EGREP
11.16728 -
11.16729 -# A literal string matcher.
11.16730 -FGREP=$lt_FGREP
11.16731 -
11.16732 -# A BSD- or MS-compatible name lister.
11.16733 -NM=$lt_NM
11.16734 -
11.16735 -# Whether we need soft or hard links.
11.16736 -LN_S=$lt_LN_S
11.16737 -
11.16738 -# What is the maximum length of a command?
11.16739 -max_cmd_len=$max_cmd_len
11.16740 -
11.16741 -# Object file suffix (normally "o").
11.16742 -objext=$ac_objext
11.16743 -
11.16744 -# Executable file suffix (normally "").
11.16745 -exeext=$exeext
11.16746 -
11.16747 -# whether the shell understands "unset".
11.16748 -lt_unset=$lt_unset
11.16749 -
11.16750 -# turn spaces into newlines.
11.16751 -SP2NL=$lt_lt_SP2NL
11.16752 -
11.16753 -# turn newlines into spaces.
11.16754 -NL2SP=$lt_lt_NL2SP
11.16755 -
11.16756 -# How to create reloadable object files.
11.16757 -reload_flag=$lt_reload_flag
11.16758 -reload_cmds=$lt_reload_cmds
11.16759 -
11.16760 -# Method to check whether dependent libraries are shared objects.
11.16761 -deplibs_check_method=$lt_deplibs_check_method
11.16762 -
11.16763 -# Command to use when deplibs_check_method == "file_magic".
11.16764 -file_magic_cmd=$lt_file_magic_cmd
11.16765 -
11.16766 -# The archiver.
11.16767 -AR=$lt_AR
11.16768 -AR_FLAGS=$lt_AR_FLAGS
11.16769 -
11.16770 -# A symbol stripping program.
11.16771 -STRIP=$lt_STRIP
11.16772 -
11.16773 -# Commands used to install an old-style archive.
11.16774 -RANLIB=$lt_RANLIB
11.16775 -old_postinstall_cmds=$lt_old_postinstall_cmds
11.16776 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
11.16777 -
11.16778 -# A C compiler.
11.16779 -LTCC=$lt_CC
11.16780 -
11.16781 -# LTCC compiler flags.
11.16782 -LTCFLAGS=$lt_CFLAGS
11.16783 -
11.16784 -# Take the output of nm and produce a listing of raw symbols and C names.
11.16785 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11.16786 -
11.16787 -# Transform the output of nm in a proper C declaration.
11.16788 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11.16789 -
11.16790 -# Transform the output of nm in a C name address pair.
11.16791 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11.16792 -
11.16793 -# The name of the directory that contains temporary libtool files.
11.16794 -objdir=$objdir
11.16795 -
11.16796 -# Shell to use when invoking shell scripts.
11.16797 -SHELL=$lt_SHELL
11.16798 -
11.16799 -# An echo program that does not interpret backslashes.
11.16800 -ECHO=$lt_ECHO
11.16801 -
11.16802 -# Used to examine libraries when file_magic_cmd begins with "file".
11.16803 -MAGIC_CMD=$MAGIC_CMD
11.16804 -
11.16805 -# Must we lock files when doing compilation?
11.16806 -need_locks=$lt_need_locks
11.16807 -
11.16808 -# Old archive suffix (normally "a").
11.16809 -libext=$libext
11.16810 -
11.16811 -# Shared library suffix (normally ".so").
11.16812 -shrext_cmds=$lt_shrext_cmds
11.16813 -
11.16814 -# The commands to extract the exported symbol list from a shared archive.
11.16815 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
11.16816 -
11.16817 -# Variables whose values should be saved in libtool wrapper scripts and
11.16818 -# restored at link time.
11.16819 -variables_saved_for_relink=$lt_variables_saved_for_relink
11.16820 -
11.16821 -# Do we need the "lib" prefix for modules?
11.16822 -need_lib_prefix=$need_lib_prefix
11.16823 -
11.16824 -# Do we need a version for libraries?
11.16825 -need_version=$need_version
11.16826 -
11.16827 -# Library versioning type.
11.16828 -version_type=$version_type
11.16829 -
11.16830 -# Shared library runtime path variable.
11.16831 -runpath_var=$runpath_var
11.16832 -
11.16833 -# Shared library path variable.
11.16834 -shlibpath_var=$shlibpath_var
11.16835 -
11.16836 -# Is shlibpath searched before the hard-coded library search path?
11.16837 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11.16838 -
11.16839 -# Format of library name prefix.
11.16840 -libname_spec=$lt_libname_spec
11.16841 -
11.16842 -# List of archive names.  First name is the real one, the rest are links.
11.16843 -# The last name is the one that the linker finds with -lNAME
11.16844 -library_names_spec=$lt_library_names_spec
11.16845 -
11.16846 -# The coded name of the library, if different from the real name.
11.16847 -soname_spec=$lt_soname_spec
11.16848 -
11.16849 -# Command to use after installation of a shared archive.
11.16850 -postinstall_cmds=$lt_postinstall_cmds
11.16851 -
11.16852 -# Command to use after uninstallation of a shared archive.
11.16853 -postuninstall_cmds=$lt_postuninstall_cmds
11.16854 -
11.16855 -# Commands used to finish a libtool library installation in a directory.
11.16856 -finish_cmds=$lt_finish_cmds
11.16857 -
11.16858 -# As "finish_cmds", except a single script fragment to be evaled but
11.16859 -# not shown.
11.16860 -finish_eval=$lt_finish_eval
11.16861 -
11.16862 -# Whether we should hardcode library paths into libraries.
11.16863 -hardcode_into_libs=$hardcode_into_libs
11.16864 -
11.16865 -# Compile-time system search path for libraries.
11.16866 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11.16867 -
11.16868 -# Run-time system search path for libraries.
11.16869 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11.16870 -
11.16871 -# Whether dlopen is supported.
11.16872 -dlopen_support=$enable_dlopen
11.16873 -
11.16874 -# Whether dlopen of programs is supported.
11.16875 -dlopen_self=$enable_dlopen_self
11.16876 -
11.16877 -# Whether dlopen of statically linked programs is supported.
11.16878 -dlopen_self_static=$enable_dlopen_self_static
11.16879 -
11.16880 -# Commands to strip libraries.
11.16881 -old_striplib=$lt_old_striplib
11.16882 -striplib=$lt_striplib
11.16883 -
11.16884 -
11.16885 -# The linker used to build libraries.
11.16886 -LD=$lt_LD
11.16887 -
11.16888 -# Commands used to build an old-style archive.
11.16889 -old_archive_cmds=$lt_old_archive_cmds
11.16890 -
11.16891 -# A language specific compiler.
11.16892 -CC=$lt_compiler
11.16893 -
11.16894 -# Is the compiler the GNU compiler?
11.16895 -with_gcc=$GCC
11.16896 -
11.16897 -# Compiler flag to turn off builtin functions.
11.16898 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11.16899 -
11.16900 -# How to pass a linker flag through the compiler.
11.16901 -wl=$lt_lt_prog_compiler_wl
11.16902 -
11.16903 -# Additional compiler flags for building library objects.
11.16904 -pic_flag=$lt_lt_prog_compiler_pic
11.16905 -
11.16906 -# Compiler flag to prevent dynamic linking.
11.16907 -link_static_flag=$lt_lt_prog_compiler_static
11.16908 -
11.16909 -# Does compiler simultaneously support -c and -o options?
11.16910 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11.16911 -
11.16912 -# Whether or not to add -lc for building shared libraries.
11.16913 -build_libtool_need_lc=$archive_cmds_need_lc
11.16914 -
11.16915 -# Whether or not to disallow shared libs when runtime libs are static.
11.16916 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
11.16917 -
11.16918 -# Compiler flag to allow reflexive dlopens.
11.16919 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11.16920 -
11.16921 -# Compiler flag to generate shared objects directly from archives.
11.16922 -whole_archive_flag_spec=$lt_whole_archive_flag_spec
11.16923 -
11.16924 -# Whether the compiler copes with passing no objects directly.
11.16925 -compiler_needs_object=$lt_compiler_needs_object
11.16926 -
11.16927 -# Create an old-style archive from a shared archive.
11.16928 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11.16929 -
11.16930 -# Create a temporary old-style archive to link instead of a shared archive.
11.16931 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11.16932 -
11.16933 -# Commands used to build a shared archive.
11.16934 -archive_cmds=$lt_archive_cmds
11.16935 -archive_expsym_cmds=$lt_archive_expsym_cmds
11.16936 -
11.16937 -# Commands used to build a loadable module if different from building
11.16938 -# a shared archive.
11.16939 -module_cmds=$lt_module_cmds
11.16940 -module_expsym_cmds=$lt_module_expsym_cmds
11.16941 -
11.16942 -# Whether we are building with GNU ld or not.
11.16943 -with_gnu_ld=$lt_with_gnu_ld
11.16944 -
11.16945 -# Flag that allows shared libraries with undefined symbols to be built.
11.16946 -allow_undefined_flag=$lt_allow_undefined_flag
11.16947 -
11.16948 -# Flag that enforces no undefined symbols.
11.16949 -no_undefined_flag=$lt_no_undefined_flag
11.16950 -
11.16951 -# Flag to hardcode \$libdir into a binary during linking.
11.16952 -# This must work even if \$libdir does not exist
11.16953 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11.16954 -
11.16955 -# If ld is used when linking, flag to hardcode \$libdir into a binary
11.16956 -# during linking.  This must work even if \$libdir does not exist.
11.16957 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11.16958 -
11.16959 -# Whether we need a single "-rpath" flag with a separated argument.
11.16960 -hardcode_libdir_separator=$lt_hardcode_libdir_separator
11.16961 -
11.16962 -# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
11.16963 -# DIR into the resulting binary.
11.16964 -hardcode_direct=$hardcode_direct
11.16965 -
11.16966 -# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
11.16967 -# DIR into the resulting binary and the resulting library dependency is
11.16968 -# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
11.16969 -# library is relocated.
11.16970 -hardcode_direct_absolute=$hardcode_direct_absolute
11.16971 -
11.16972 -# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
11.16973 -# into the resulting binary.
11.16974 -hardcode_minus_L=$hardcode_minus_L
11.16975 -
11.16976 -# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
11.16977 -# into the resulting binary.
11.16978 -hardcode_shlibpath_var=$hardcode_shlibpath_var
11.16979 -
11.16980 -# Set to "yes" if building a shared library automatically hardcodes DIR
11.16981 -# into the library and all subsequent libraries and executables linked
11.16982 -# against it.
11.16983 -hardcode_automatic=$hardcode_automatic
11.16984 -
11.16985 -# Set to yes if linker adds runtime paths of dependent libraries
11.16986 -# to runtime path list.
11.16987 -inherit_rpath=$inherit_rpath
11.16988 -
11.16989 -# Whether libtool must link a program against all its dependency libraries.
11.16990 -link_all_deplibs=$link_all_deplibs
11.16991 -
11.16992 -# Fix the shell variable \$srcfile for the compiler.
11.16993 -fix_srcfile_path=$lt_fix_srcfile_path
11.16994 -
11.16995 -# Set to "yes" if exported symbols are required.
11.16996 -always_export_symbols=$always_export_symbols
11.16997 -
11.16998 -# The commands to list exported symbols.
11.16999 -export_symbols_cmds=$lt_export_symbols_cmds
11.17000 -
11.17001 -# Symbols that should not be listed in the preloaded symbols.
11.17002 -exclude_expsyms=$lt_exclude_expsyms
11.17003 -
11.17004 -# Symbols that must always be exported.
11.17005 -include_expsyms=$lt_include_expsyms
11.17006 -
11.17007 -# Commands necessary for linking programs (against libraries) with templates.
11.17008 -prelink_cmds=$lt_prelink_cmds
11.17009 -
11.17010 -# Specify filename containing input files.
11.17011 -file_list_spec=$lt_file_list_spec
11.17012 -
11.17013 -# How to hardcode a shared library path into an executable.
11.17014 -hardcode_action=$hardcode_action
11.17015 -
11.17016 -# ### END LIBTOOL CONFIG
11.17017 -
11.17018 -_LT_EOF
11.17019 -
11.17020 -  case $host_os in
11.17021 -  aix3*)
11.17022 -    cat <<\_LT_EOF >> "$cfgfile"
11.17023 -# AIX sometimes has problems with the GCC collect2 program.  For some
11.17024 -# reason, if we set the COLLECT_NAMES environment variable, the problems
11.17025 -# vanish in a puff of smoke.
11.17026 -if test "X${COLLECT_NAMES+set}" != Xset; then
11.17027 -  COLLECT_NAMES=
11.17028 -  export COLLECT_NAMES
11.17029 -fi
11.17030 -_LT_EOF
11.17031 -    ;;
11.17032 -  esac
11.17033 -
11.17034 -
11.17035 -ltmain="$ac_aux_dir/ltmain.sh"
11.17036 -
11.17037 -
11.17038 -  # We use sed instead of cat because bash on DJGPP gets confused if
11.17039 -  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
11.17040 -  # text mode, it properly converts lines to CR/LF.  This bash problem
11.17041 -  # is reportedly fixed, but why not run on old versions too?
11.17042 -  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
11.17043 -    || (rm -f "$cfgfile"; exit 1)
11.17044 -
11.17045 -  case $xsi_shell in
11.17046 -  yes)
11.17047 -    cat << \_LT_EOF >> "$cfgfile"
11.17048 -# func_dirname file append nondir_replacement
11.17049 -# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
11.17050 -# otherwise set result to NONDIR_REPLACEMENT.
11.17051 -func_dirname ()
11.17052 -{
11.17053 -  case ${1} in
11.17054 -    */*) func_dirname_result="${1%/*}${2}" ;;
11.17055 -    *  ) func_dirname_result="${3}" ;;
11.17056 -  esac
11.17057 -}
11.17058 -
11.17059 -# func_basename file
11.17060 -func_basename ()
11.17061 -{
11.17062 -  func_basename_result="${1##*/}"
11.17063 -}
11.17064 -
11.17065 -# func_stripname prefix suffix name
11.17066 -# strip PREFIX and SUFFIX off of NAME.
11.17067 -# PREFIX and SUFFIX must not contain globbing or regex special
11.17068 -# characters, hashes, percent signs, but SUFFIX may contain a leading
11.17069 -# dot (in which case that matches only a dot).
11.17070 -func_stripname ()
11.17071 -{
11.17072 -  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
11.17073 -  # positional parameters, so assign one to ordinary parameter first.
11.17074 -  func_stripname_result=${3}
11.17075 -  func_stripname_result=${func_stripname_result#"${1}"}
11.17076 -  func_stripname_result=${func_stripname_result%"${2}"}
11.17077 -}
11.17078 -
11.17079 -# func_opt_split
11.17080 -func_opt_split ()
11.17081 -{
11.17082 -  func_opt_split_opt=${1%%=*}
11.17083 -  func_opt_split_arg=${1#*=}
11.17084 -}
11.17085 -
11.17086 -# func_lo2o object
11.17087 -func_lo2o ()
11.17088 -{
11.17089 -  case ${1} in
11.17090 -    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
11.17091 -    *)    func_lo2o_result=${1} ;;
11.17092 -  esac
11.17093 -}
11.17094 -_LT_EOF
11.17095 -    ;;
11.17096 -  *) # Bourne compatible functions.
11.17097 -    cat << \_LT_EOF >> "$cfgfile"
11.17098 -# func_dirname file append nondir_replacement
11.17099 -# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
11.17100 -# otherwise set result to NONDIR_REPLACEMENT.
11.17101 -func_dirname ()
11.17102 -{
11.17103 -  # Extract subdirectory from the argument.
11.17104 -  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
11.17105 -  if test "X$func_dirname_result" = "X${1}"; then
11.17106 -    func_dirname_result="${3}"
11.17107 -  else
11.17108 -    func_dirname_result="$func_dirname_result${2}"
11.17109 -  fi
11.17110 -}
11.17111 -
11.17112 -# func_basename file
11.17113 -func_basename ()
11.17114 -{
11.17115 -  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
11.17116 -}
11.17117 -
11.17118 -# func_stripname prefix suffix name
11.17119 -# strip PREFIX and SUFFIX off of NAME.
11.17120 -# PREFIX and SUFFIX must not contain globbing or regex special
11.17121 -# characters, hashes, percent signs, but SUFFIX may contain a leading
11.17122 -# dot (in which case that matches only a dot).
11.17123 -# func_strip_suffix prefix name
11.17124 -func_stripname ()
11.17125 -{
11.17126 -  case ${2} in
11.17127 -    .*) func_stripname_result=`$ECHO "X${3}" \
11.17128 -           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
11.17129 -    *)  func_stripname_result=`$ECHO "X${3}" \
11.17130 -           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
11.17131 -  esac
11.17132 -}
11.17133 -
11.17134 -# sed scripts:
11.17135 -my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
11.17136 -my_sed_long_arg='1s/^-[^=]*=//'
11.17137 -
11.17138 -# func_opt_split
11.17139 -func_opt_split ()
11.17140 -{
11.17141 -  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
11.17142 -  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
11.17143 -}
11.17144 -
11.17145 -# func_lo2o object
11.17146 -func_lo2o ()
11.17147 -{
11.17148 -  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
11.17149 -}
11.17150 -_LT_EOF
11.17151 -esac
11.17152 -
11.17153 -case $lt_shell_append in
11.17154 -  yes)
11.17155 -    cat << \_LT_EOF >> "$cfgfile"
11.17156 -
11.17157 -# func_append var value
11.17158 -# Append VALUE to the end of shell variable VAR.
11.17159 -func_append ()
11.17160 -{
11.17161 -  eval "$1+=\$2"
11.17162 -}
11.17163 -_LT_EOF
11.17164 -    ;;
11.17165 -  *)
11.17166 -    cat << \_LT_EOF >> "$cfgfile"
11.17167 -
11.17168 -# func_append var value
11.17169 -# Append VALUE to the end of shell variable VAR.
11.17170 -func_append ()
11.17171 -{
11.17172 -  eval "$1=\$$1\$2"
11.17173 -}
11.17174 -_LT_EOF
11.17175 -    ;;
11.17176 -  esac
11.17177 -
11.17178 -
11.17179 -  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
11.17180 -    || (rm -f "$cfgfile"; exit 1)
11.17181 -
11.17182 -  mv -f "$cfgfile" "$ofile" ||
11.17183 -    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11.17184 -  chmod +x "$ofile"
11.17185 -
11.17186 - ;;
11.17187 -    default-1 )
11.17188 -    for ac_file in $CONFIG_FILES; do
11.17189 -      # Support "outfile[:infile[:infile...]]"
11.17190 -      case "$ac_file" in
11.17191 -        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
11.17192 -      esac
11.17193 -      # PO directories have a Makefile.in generated from Makefile.in.in.
11.17194 -      case "$ac_file" in */Makefile.in)
11.17195 -        # Adjust a relative srcdir.
11.17196 -        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
11.17197 -        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
11.17198 -        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
11.17199 -        # In autoconf-2.13 it is called $ac_given_srcdir.
11.17200 -        # In autoconf-2.50 it is called $srcdir.
11.17201 -        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
11.17202 -        case "$ac_given_srcdir" in
11.17203 -          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
11.17204 -          /*) top_srcdir="$ac_given_srcdir" ;;
11.17205 -          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
11.17206 -        esac
11.17207 -        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
11.17208 -          rm -f "$ac_dir/POTFILES"
11.17209 -          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
11.17210 -          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
11.17211 -          POMAKEFILEDEPS="POTFILES.in"
11.17212 -          # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
11.17213 -          # on $ac_dir but don't depend on user-specified configuration
11.17214 -          # parameters.
11.17215 -          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
11.17216 -            # The LINGUAS file contains the set of available languages.
11.17217 -            if test -n "$OBSOLETE_ALL_LINGUAS"; then
11.17218 -              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
11.17219 -            fi
11.17220 -            ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
11.17221 -            # Hide the ALL_LINGUAS assigment from automake.
11.17222 -            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
11.17223 -            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
11.17224 -          else
11.17225 -            # The set of available languages was given in configure.in.
11.17226 -            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
11.17227 -          fi
11.17228 -          case "$ac_given_srcdir" in
11.17229 -            .) srcdirpre= ;;
11.17230 -            *) srcdirpre='$(srcdir)/' ;;
11.17231 -          esac
11.17232 -          POFILES=
11.17233 -          GMOFILES=
11.17234 -          UPDATEPOFILES=
11.17235 -          DUMMYPOFILES=
11.17236 -          for lang in $ALL_LINGUAS; do
11.17237 -            POFILES="$POFILES $srcdirpre$lang.po"
11.17238 -            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
11.17239 -            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
11.17240 -            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
11.17241 -          done
11.17242 -          # CATALOGS depends on both $ac_dir and the user's LINGUAS
11.17243 -          # environment variable.
11.17244 -          INST_LINGUAS=
11.17245 -          if test -n "$ALL_LINGUAS"; then
11.17246 -            for presentlang in $ALL_LINGUAS; do
11.17247 -              useit=no
11.17248 -              if test "%UNSET%" != "$LINGUAS"; then
11.17249 -                desiredlanguages="$LINGUAS"
11.17250 -              else
11.17251 -                desiredlanguages="$ALL_LINGUAS"
11.17252 -              fi
11.17253 -              for desiredlang in $desiredlanguages; do
11.17254 -                # Use the presentlang catalog if desiredlang is
11.17255 -                #   a. equal to presentlang, or
11.17256 -                #   b. a variant of presentlang (because in this case,
11.17257 -                #      presentlang can be used as a fallback for messages
11.17258 -                #      which are not translated in the desiredlang catalog).
11.17259 -                case "$desiredlang" in
11.17260 -                  "$presentlang"*) useit=yes;;
11.17261 -                esac
11.17262 -              done
11.17263 -              if test $useit = yes; then
11.17264 -                INST_LINGUAS="$INST_LINGUAS $presentlang"
11.17265 -              fi
11.17266 -            done
11.17267 -          fi
11.17268 -          CATALOGS=
11.17269 -          if test -n "$INST_LINGUAS"; then
11.17270 -            for lang in $INST_LINGUAS; do
11.17271 -              CATALOGS="$CATALOGS $lang.gmo"
11.17272 -            done
11.17273 -          fi
11.17274 -          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
11.17275 -          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
11.17276 -          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
11.17277 -            if test -f "$f"; then
11.17278 -              case "$f" in
11.17279 -                *.orig | *.bak | *~) ;;
11.17280 -                *) cat "$f" >> "$ac_dir/Makefile" ;;
11.17281 -              esac
11.17282 -            fi
11.17283 -          done
11.17284 -        fi
11.17285 -        ;;
11.17286 -      esac
11.17287 -    done ;;
11.17288 -  esac
11.17289 -done
11.17290 -_ACEOF
11.17291 -
11.17292 -cat >>$CONFIG_STATUS <<\_ACEOF
11.17293 -
11.17294 -{ (exit 0); exit 0; }
11.17295 -_ACEOF
11.17296 -chmod +x $CONFIG_STATUS
11.17297 -ac_clean_files=$ac_clean_files_save
11.17298 -
11.17299 -
11.17300 -# configure is writing to config.log, and then calls config.status.
11.17301 -# config.status does its own redirection, appending to config.log.
11.17302 -# Unfortunately, on DOS this fails, as config.log is still kept open
11.17303 -# by configure, so config.status won't be able to write to it; its
11.17304 -# output is simply discarded.  So we exec the FD to /dev/null,
11.17305 -# effectively closing config.log, so it can be properly (re)opened and
11.17306 -# appended to by config.status.  When coming back to configure, we
11.17307 -# need to make the FD available again.
11.17308 -if test "$no_create" != yes; then
11.17309 -  ac_cs_success=:
11.17310 -  ac_config_status_args=
11.17311 -  test "$silent" = yes &&
11.17312 -    ac_config_status_args="$ac_config_status_args --quiet"
11.17313 -  exec 5>/dev/null
11.17314 -  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
11.17315 -  exec 5>>config.log
11.17316 -  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11.17317 -  # would make configure fail if this is the last instruction.
11.17318 -  $ac_cs_success || { (exit 1); exit 1; }
11.17319 -fi
11.17320 -
    12.1 --- a/src/gdb/ChangeLog.ggx~	Wed Oct 01 11:51:50 2008 -0700
    12.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.3 @@ -1,4 +0,0 @@
    12.4 -2008-08-07  Anthony Green  <green@localhost.localdomain>
    12.5 -
    12.6 -	* ggx-tdep.c: New file.
    12.7 -
    13.1 --- a/src/gdb/ChangeLog.~1.9607.~	Wed Oct 01 11:51:50 2008 -0700
    13.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.3 @@ -1,6406 +0,0 @@
    13.4 -2008-08-04  Stan Shebs  <stan@codesourcery.com>
    13.5 -
    13.6 -	* solib-svr4.c (BKPT_AT_SYMBOL): Remove, always defined.
    13.7 -	(bkpt_names): Remove SOLIB_BKPT_NAME, never defined.
    13.8 -	(enable_break): Remove test of BKPT_AT_SYMBOL.
    13.9 -
   13.10 -2008-08-02  Keith Seitz  <keiths@redhat.com>
   13.11 -
   13.12 -	* acinclude.m4: Include ../config/tcl.m4 to pick up
   13.13 -	standard Tcl configury bits.
   13.14 -	Remove all Tcl, Tk, Itcl, Itk, etc definitions.
   13.15 -	* configure.ac: Don't check if ../itcl exists when building
   13.16 -	gdbtk. It could be installed.
   13.17 -	Rewrite gdbtk configury to allow for using system-supplied
   13.18 -	Tcl and Tk. Gdbtk no longer requires build-time access to 
   13.19 -	itcl and itk.
   13.20 -	* Makefile.in: Remove everything related to itcl and itk.
   13.21 -	Rewrite the Tcl bits for gdbtk to correspond to rewrite of
   13.22 -	configure.ac.
   13.23 -	Remove v850ice.o build rule.
   13.24 -	(ALL_TCL_CFLAGS): New convenience defintion. Change all
   13.25 -	gdbtk sources to use it.
   13.26 -	* configure: Regenerate.
   13.27 -	
   13.28 -2008-07-31  Stan Shebs  <stan@codesourcery.com>
   13.29 -
   13.30 -	* coffread.c (coff_symtab_read): Remove FUNCTION_EPILOGUE_SIZE.
   13.31 -
   13.32 -2008-07-30  Stan Shebs  <stan@codesourcery.com>
   13.33 -
   13.34 -	* objfiles.c (TARGET_KEEP_SECTION): Remove.
   13.35 -	(add_to_objfile_sections): Remove use.
   13.36 -
   13.37 -2008-07-29  Tom Tromey  <tromey@redhat.com>
   13.38 -
   13.39 -	* cli/cli-decode.c (lookup_cmd_1): Use memcpy.
   13.40 -	(lookup_cmd_composition): Likewise.
   13.41 -
   13.42 -2008-07-29  Tom Tromey  <tromey@redhat.com>
   13.43 -
   13.44 -	* cli/cli-cmds.c (edit_command): Remove unused variables.  Delete
   13.45 -	dead code.  Fix indentation.
   13.46 -
   13.47 -2008-07-29  Stan Shebs  <stan@codesourcery.com>
   13.48 -
   13.49 -	* main.c (captured_main): Remove long-unused #if 0 blocks.
   13.50 -
   13.51 -2008-07-28  Tom Tromey  <tromey@redhat.com>
   13.52 -
   13.53 -	* annotate.h (deprecated_annotate_starting_hook): Remove.
   13.54 -	(deprecated_annotate_stopped_hook): Remove.
   13.55 -	(deprecated_annotate_exited_hook): Remove.
   13.56 -	* Makefile.in (annotate.o): Depend on observer_h.
   13.57 -	* top.c (deprecated_delete_breakpoint_hook): Remove.
   13.58 -	(deprecated_create_breakpoint_hook): Likewise.
   13.59 -	(deprecated_modify_breakpoint_hook): Likewise.
   13.60 -	* interps.c (clear_interpreter_hooks): Update for removed hooks.
   13.61 -	* breakpoint.c (mention): Don't call removed hook.
   13.62 -	(delete_breakpoint): Likewise.
   13.63 -	(disable_breakpoint): Likewise.
   13.64 -	(do_enable_breakpoint): Likewise.
   13.65 -	* annotate.c: Include observer.h.
   13.66 -	(breakpoint_changed): Change type of argument.
   13.67 -	(_initialize_annotate): Register observers.
   13.68 -	(deprecated_annotate_starting_hook): Remove.
   13.69 -	(deprecated_annotate_stopped_hook): Remove.
   13.70 -	(deprecated_annotate_exited_hook): Remove.
   13.71 -	(annotate_starting): Update for hook removal.
   13.72 -	(annotate_stopped): Likewise.
   13.73 -	(annotate_exited): Likewise.
   13.74 -	* defs.h (deprecated_delete_breakpoint_hook): Remove.
   13.75 -	(deprecated_create_breakpoint_hook): Likewise.
   13.76 -	(deprecated_modify_breakpoint_hook): Likewise.
   13.77 -
   13.78 -2008-07-28  Tom Tromey  <tromey@redhat.com>
   13.79 -
   13.80 -	* main.c (captured_main): Don't use BEFORE_MAIN_LOOP_HOOK.
   13.81 -
   13.82 -2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
   13.83 -
   13.84 -	* configure.ac: Check for the GNU/Linux ptrace signature.
   13.85 -	* configure: Regenerated.
   13.86 -
   13.87 -2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
   13.88 -
   13.89 -	* linux-nat.c (resume_callback): Add more debugging output.
   13.90 -	(linux_nat_has_pending_sigint): New function, based on
   13.91 -	linux_nat_has_pending.
   13.92 -	(set_ignore_sigint, maybe_clear_ignore_sigint): New functions.
   13.93 -	(stop_wait_callback): Remove flush_mask handling.  Honor
   13.94 -	ignore_sigint.  Call maybe_clear_ignore_sigint.  Pass NULL
   13.95 -	to recursive calls.
   13.96 -	(linux_nat_has_pending, flush_callback): Remove.
   13.97 -	(linux_nat_filter_event): Check for ignore_sigint.
   13.98 -	(linux_nat_wait): Remove flush_mask support and call to
   13.99 -	flush_callback.  Use set_ignore_sigint and maybe_clear_ignore_sigint.
  13.100 -	* linux-nat.h (struct lwp_info): Add ignore_sigint field.
  13.101 -
  13.102 -2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
  13.103 -
  13.104 -	* linux-nat.c (count_events_callback, select_event_lwp_callback): Only
  13.105 -	report events from resumed threads.
  13.106 -
  13.107 -2008-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
  13.108 -
  13.109 -	* mips-linux-tdep.c (mips_linux_syscall_next_pc): New function.
  13.110 -	(mips_linux_init_abi): Set tdep->syscall_next_pc.
  13.111 -	* mips-tdep.c (enum mips_fpu_type, struct gdbarch_tdep): Move to
  13.112 -	mips-tdep.h.
  13.113 -	(mips32_next_pc): Handle the syscall instruction.
  13.114 -	* mips-tdep.h (enum mips_fpu_type, struct gdbarch_tdep): New,
  13.115 -	from mips-tdep.c.  Add syscall_next_pc to gdbarch_tdep.
  13.116 -
  13.117 -2008-07-26  Tom Tromey  <tromey@redhat.com>
  13.118 -
  13.119 -	PR gdb/1158:
  13.120 -	* valops.c (value_struct_elt): Treat function-valued field as a
  13.121 -	static method.
  13.122 -
  13.123 -2008-07-26  Tom Tromey  <tromey@redhat.com>
  13.124 -
  13.125 -	PR gdb/1136:
  13.126 -	* macroexp.c (get_punctuator) <punctuators>: Rearrange to put
  13.127 -	longer tokens first.
  13.128 -
  13.129 -2008-07-26  Vladimir Prus  <vladimir@codesourcery.com>
  13.130 -
  13.131 -	Kill cmd_async_ok.
  13.132 -        * cli/cli-decode.h (CMD_ASYNC_OK, set_cmd_async_ok)
  13.133 -        (get_cmd_async_ok): Remove.
  13.134 -        * cli/cli-decode.c (set_cmd_async_ok, get_cmd_async_ok): Remove.
  13.135 -        * cli/cli-cmds.c (init_cli_cmds): Don't use set_cmd_async_ok.
  13.136 -        * infcmd.c (_initialize_infcmd): Likewise.
  13.137 -        * thread.c (_initialize_thread): Likewise.
  13.138 -
  13.139 -2008-07-25  Joseph Myers  <joseph@codesourcery.com>
  13.140 -
  13.141 -	* mips-tdep.c (mips_n32n64_push_dummy_call): Handle passing
  13.142 -	128-bit long doubles in even-odd pairs of FPRs.  Do not
  13.143 -	right-align float arguments for big-endian.
  13.144 -	(mips_n32n64_return_value): Apply return value convention for
  13.145 -	structs containing one or two floating-point values to soft-float
  13.146 -	as well as hard-float.  Handle 128-bit long doubles in such
  13.147 -	structs.
  13.148 -	(mips_o32_push_dummy_call): Only skip one integer register for a
  13.149 -	float argument passed in an FPR.
  13.150 -
  13.151 -2008-07-25  Tom Tromey  <tromey@redhat.com>
  13.152 -
  13.153 -	* tui/tui-hooks.c: Include observer.h.
  13.154 -	(tui_event_default, tui_old_event_hooks, tui_event_hooks):
  13.155 -	Remove.
  13.156 -	(tui_bp_created_observer, tui_bp_deleted_observer,
  13.157 -	tui_bp_modified_observer): New globals.
  13.158 -	(tui_install_hooks): Use observers, not events.
  13.159 -	(tui_remove_hooks): Likewise.
  13.160 -	* mi/mi-cmd-break.c: Include observer.h, not gdb-events.h.
  13.161 -	(mi_breakpoint_observers_installed, mi_can_breakpoint_notify): New
  13.162 -	globals.
  13.163 -	(breakpoint_notify): Check mi_can_breakpoint_notify.
  13.164 -	(breakpoint_hooks): Remove.
  13.165 -	(mi_cmd_break_insert): Attach observers.  Don't use events.
  13.166 -	* tracepoint.c: Include observer.h, not gdb-events.h.
  13.167 -	(tracepoint_operation, trace_pass_command): Notify observer.
  13.168 -	* interps.c: Don't include gdb-events.h.
  13.169 -	(clear_interpreter_hooks): Don't call clear_gdb_event_hooks.
  13.170 -	* gdbarch.c: Rebuild.
  13.171 -	* gdbarch.sh: Emit include for observer.h, not gdb-events.h.
  13.172 -	(deprecated_current_gdbarch_select_hack): Notify observer.
  13.173 -	* breakpoint.h: Don't include gdb-events.h.
  13.174 -	* breakpoint.c: Don't include gdb-events.h.
  13.175 -	(condition_command): Notify observer.
  13.176 -	(commands_command): Likewise.
  13.177 -	(commands_from_control_command): Likewise.
  13.178 -	(mention, delete_breakpoint, set_ignore_count): Likewise.
  13.179 -	(disable_breakpoint, do_enable_breakpoint): Likewise.
  13.180 -	* Makefile.in (gdb_events_h): Remove.
  13.181 -	(breakpoint_h): Update.
  13.182 -	(COMMON_OBS): Remove gdb-events.o.
  13.183 -	(gdb-events.o): Remove.
  13.184 -	(breakpoint.o, gdbarch.o, interps.o, tracepoint.o, gdbtk-bp.o,
  13.185 -	gdbtk-hooks.o, mi-cmd-break.o, tui-hooks.o): Update.
  13.186 -	* gdb-events.c: Remove.
  13.187 -	* gdb-events.h: Remove.
  13.188 -	* gdb-events.sh: Remove.
  13.189 -
  13.190 -2008-07-24  Pedro Alves  <pedro@codesourcery.com>
  13.191 -
  13.192 -	* remote.c (remote_threads_extra_info): Don't query the remote
  13.193 -	server about info on the internally added main thread.
  13.194 -
  13.195 -2008-07-24  Aleksandar Ristovski  <aristovski@qnx.com>
  13.196 -
  13.197 -	* nto-procfs.c (procfs_attach): Populate initial thread list.
  13.198 -	(procfs_wait): Return new pid, built from the inferior status.
  13.199 -
  13.200 -2008-07-23  Thiago Jung Bauermann  <bauerman@br.ibm.com>
  13.201 -
  13.202 -	* configure.ac (CONFIG_INITS): Delete long obsoleted variable.
  13.203 -	* configure: Regenerate.
  13.204 -
  13.205 -2008-07-23  Aleksandar Ristovski  <aristovski@qnx.com>
  13.206 -
  13.207 -	* nto-procfs.c (procfs_xfer_memory): Changed signature.
  13.208 -	(procfs_resume): Workaround for dereferencing type-punned pointer
  13.209 -	warning.
  13.210 -	* nto-tdep.c (nto_parse_redirection): Change signature to be const 
  13.211 -	correct.
  13.212 -	* nto-tdep.h (nto_parse_redirection): Likewise.
  13.213 -
  13.214 -2008-07-21  Stan Shebs  <stan@codesourcery.com>
  13.215 -
  13.216 -	Scrub remnants of IN_SOLIB_DYNSYM_RESOLVE_CODE.
  13.217 -	* gdbarch.sh: Adjust comment to refer to
  13.218 -	in_solib_dynsym_resolve_code().
  13.219 -	* gdbarch.h, gdbarch.c: Update.
  13.220 -	* solib-osf.c: Ditto.
  13.221 -	* infrun.c: Ditto.
  13.222 -	(handle_inferior_event): Use in_solib_dynsym_resolve_code
  13.223 -	unconditionally.
  13.224 -	* config/mips/nm-irix5.h: Remove undef of
  13.225 -	IN_SOLIB_DYNSYM_RESOLVE_CODE.
  13.226 -
  13.227 -2008-07-21  Tom Tromey  <tromey@redhat.com>
  13.228 -
  13.229 -	* symfile.c (reread_symbols): Don't pass argument to observer.
  13.230 -	* exec.c (exec_file_attach): Don't pass argument to observer.
  13.231 -	* ada-lang.c (ada_executable_changed_observer): Remove argument.
  13.232 -	* symtab.c (symtab_observer_executable_changed): Remove argument.
  13.233 -	* observer.sh: Handle functions with no arguments.
  13.234 -
  13.235 -2008-07-20  Sergei Poselenov  <sposelenov@emcraft.com>
  13.236 -            Chris Demetriou  <cgd@google.com>
  13.237 -
  13.238 -	* elfread.c (elf_symfile_segments): Fix the check that each loadable
  13.239 -	section fits within an ELF segment to handle ELF segments that hit
  13.240 -	the end of the address space.
  13.241 -
  13.242 -2008-07-20  Chris Demetriou  <cgd@google.com>
  13.243 -
  13.244 -	* MAINTAINERS (Write After Approval): Add self.
  13.245 -
  13.246 -2008-07-18  Tom Tromey  <tromey@redhat.com>
  13.247 -
  13.248 -	PR gdb/855:
  13.249 -	* NEWS: Add entry for macro commands.
  13.250 -	* Makefile.in (macrocmd.o): Add gdb_string.h.
  13.251 -	* macroscope.h (user_macro_scope): Declare.
  13.252 -	(default_macro_scope): Update documentation.
  13.253 -	(macro_user_macros): Declare.
  13.254 -	* c-lang.c (c_preprocess_and_parse): Always attempt macro lookup.
  13.255 -	Use user_macro_scope.
  13.256 -	(null_macro_lookup): Remove.
  13.257 -	* macrotab.h (macro_callback_fn): Declare.
  13.258 -	(macro_for_each): Likewise.
  13.259 -	(macro_allow_redefinitions): Likewise.
  13.260 -	* macrotab.c (foreach_macro): New function
  13.261 -	(macro_for_each): Likewise.
  13.262 -	(struct macro_table) <redef_ok>: New field.
  13.263 -	(macro_allow_redefinitions): New function.
  13.264 -	(new_macro_table): Update.
  13.265 -	(macro_define_function): Likewise.
  13.266 -	(macro_define_object): Likewise.
  13.267 -	* macroscope.c (user_macro_scope): New function.
  13.268 -	(default_macro_scope): Use it.
  13.269 -	(macro_user_macros): New global.
  13.270 -	(standard_macro_lookup): Look in macro_user_macros.
  13.271 -	(_initialize_macroscope): New function.
  13.272 -	* macroexp.h (macro_is_whitespace, macro_is_digit,
  13.273 -	macro_is_identifier_nondigit): Declare.
  13.274 -	* macroexp.c (macro_is_whitespace): Rename.  No longer static.
  13.275 -	(macro_is_digit): Likewise.
  13.276 -	(macro_is_identifier_nondigit): Likewise.
  13.277 -	(get_identifier): Update.
  13.278 -	(get_pp_number): Likewise.
  13.279 -	(get_token): Likewise.
  13.280 -	* macrocmd.c (skip_ws): New function.
  13.281 -	(extract_identifier): Likewise.
  13.282 -	(free_macro_definition_ptr): Likewise.
  13.283 -	(user_macros): Remove.
  13.284 -	(macro_define_command): Implement.
  13.285 -	(_initialize_macrocmd): Update.
  13.286 -	(macro_undef_command): Implement.
  13.287 -	(print_one_macro): New function.
  13.288 -	(macro_list_command): Implement.
  13.289 -
  13.290 -2008-07-18  Joseph Myers  <joseph@codesourcery.com>
  13.291 -
  13.292 -	* configure.ac: Put old value of $LIBS after -lbfd -liberty $intl
  13.293 -	in BFD ELF check.
  13.294 -	* configure: Regenerate.
  13.295 -
  13.296 -2008-07-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
  13.297 -
  13.298 -	* auxv.c (fprint_target_auxv): Stop at AT_NULL.
  13.299 -
  13.300 -2008-07-15  Andreas Schwab  <schwab@suse.de>
  13.301 -
  13.302 -	* valops.c (value_cast_pointers): Follow typedefs when checking
  13.303 -	result of coercion.
  13.304 -
  13.305 -2008-07-15  Daniel Jacobowitz  <dan@codesourcery.com>
  13.306 -
  13.307 -	* block.c (block_function): Renamed to ...
  13.308 -	(block_linkage_function): ... this.  All callers changed.
  13.309 -	* block.h (block_function): Renamed to ...
  13.310 -	(block_linkage_function): ... this.
  13.311 -
  13.312 -2008-07-15  Daniel Jacobowitz  <dan@codesourcery.com>
  13.313 -
  13.314 -	* mn10300-tdep.c (set_reg_offsets): Use get_frame_register_unsigned.
  13.315 -
  13.316 -2008-07-15  Daniel Jacobowitz  <dan@codesourcery.com>
  13.317 -
  13.318 -	* frame.c (frame_sp_unwind): Delete.
  13.319 -	(get_frame_sp): Do not use it.
  13.320 -	* frame.h (frame_sp_unwind): Delete prototype.
  13.321 -
  13.322 -2008-07-15  Daniel Jacobowitz  <dan@codesourcery.com>
  13.323 -
  13.324 -	* ia64-tdep.c (ia64_dummy_id): Use get_frame_pc.
  13.325 -
  13.326 -2008-07-15  Daniel Jacobowitz  <dan@codesourcery.com>
  13.327 -
  13.328 -	* dwarf2-frame.c (dwarf2_frame_cache): Update comment.
  13.329 -	* frame.c (frame_unwind_address_in_block): Delete.
  13.330 -	(get_frame_address_in_block): Do not use it.  Check the type
  13.331 -	of the next frame first.
  13.332 -	(frame_cleanup_after_sniffer): Update comment.
  13.333 -	* frame.h (frame_unwind_address_in_block): Delete prototype.
  13.334 -	* hppa-tdep.c (hppa_find_unwind_entry_in_block): Update comment.
  13.335 -
  13.336 -2008-07-15  Daniel Jacobowitz  <dan@codesourcery.com>
  13.337 -
  13.338 -	* frame.c (frame_func_unwind): Delete.
  13.339 -	(get_frame_func): Do not use it.
  13.340 -	* frame.h (frame_func_unwind): Delete prototype.
  13.341 -	* hppa-tdep.c (hppa_frame_cache): Update comment.
  13.342 -	* rs6000-tdep.c (rs6000_frame_cache): Update comment.
  13.343 -
  13.344 -2008-07-14  Stan Shebs  <stan@codesourcery.com>
  13.345 -
  13.346 -	* remote-sim.c (init_gdbsim_ops): Remove
  13.347 -	TARGET_REDEFINE_DEFAULT_OPS.
  13.348 -
  13.349 -2008-07-15  Daniel Jacobowitz  <dan@codesourcery.com>
  13.350 -
  13.351 -	* findvar.c (read_var_value): Remove unused variable.
  13.352 -
  13.353 -2008-07-15  Luis Machado  <luisgpm@br.ibm.com>
  13.354 -
  13.355 -	* infrun.c (handle_inferior_event): Tag threads as stopped
  13.356 -	before inserting breakpoints.
  13.357 -
  13.358 -2008-07-15  Hui Zhu  <teawater@gmail.com>
  13.359 -
  13.360 -	* MAINTAINERS: Added myself to section Write After Approval.
  13.361 -
  13.362 -2008-07-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
  13.363 -
  13.364 -	PR gdb/2477
  13.365 -	* cp-abi.c (value_virtual_fn_field): Handle invalid pointers.
  13.366 -
  13.367 -2008-07-14  Pedro Alves  <pedro@codesourcery.com>
  13.368 -
  13.369 -	* i386-dicos-tdep.c (i386_dicos_frame_align): Delete.
  13.370 -	(i386_dicos_push_dummy_code): New.
  13.371 -	(i386_dicos_init_abi): Don't register i386_dicos_frame_align.
  13.372 -	Register i386_dicos_push_dummy_code.
  13.373 -
  13.374 -2008-07-14  Markus Deuling  <deuling@de.ibm.com>
  13.375 -
  13.376 -	* mips-tdep.c (fp_register_arg_p): Add gdbarch as paramter.
  13.377 -	(mips_n32n64_push_dummy_call, mips_o64_return_value)
  13.378 -	(mips_eabi_push_dummy_call): Update call to fp_register_arg_p.
  13.379 -
  13.380 -	(MIPS_FPU_TYPE): Add gdbarch as parameter and replace current_gdbarch.
  13.381 -	(fp_register_arg_p, mips_dump_tdep, show_mipsfpu_command)
  13.382 -	(mips_n32n64_fp_arg_chunk_p): Update caller.
  13.383 -
  13.384 -	(mips_n32n64_fp_arg_chunk_p): Add gdbarch as paramter.
  13.385 -	(mips_n32n64_push_dummy_call): Update caller.
  13.386 -
  13.387 -	(MIPS_LAST_ARG_REGNUM): Add gdbarch as parameter and replace
  13.388 -	current_gdbarch.
  13.389 -	(mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call)
  13.390 -	(mips_o32_push_dummy_call, mips_o64_push_dummy_call): Update caller.
  13.391 -
  13.392 -
  13.393 -	(MIPS_LAST_FP_ARG_REGNUM): Add gdbarch as parameter and replace
  13.394 -	current_gdbarch.
  13.395 -	(mips_eabi_push_dummy_call, mips_o32_push_dummy_call)
  13.396 -	(mips_o64_push_dummy_call): Update caller.
  13.397 -
  13.398 -	(MIPS_EABI): Add gdbarch as parameter and replace current_gdbarch.
  13.399 -	(fp_register_arg_p, mips_dump_tdep): Update caller.
  13.400 -
  13.401 -	(set_reg_offset): Add gdbarch as parameter and replace current_gdbarch.
  13.402 -	(mips16_scan_prologue, mips32_scan_prologue): Update caller.
  13.403 -
  13.404 -	(reset_saved_regs): Make static.  Add gdbarch as parameter.  Replace
  13.405 -	current_gdbarch.
  13.406 -	(mips32_scan_prologue): Update caller.
  13.407 -
  13.408 -	(heuristic_proc_start): Add gdbarch as parameter. Replace
  13.409 -	current_gdbarch.
  13.410 -	(mips_insn16_frame_cache, mips_insn32_frame_cache): Update caller.
  13.411 -
  13.412 -	* mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers)
  13.413 -	(mipsnbsd_store_inferior_registers): Use get_regcache_arch to get at
  13.414 -	the current architecture. Update call to getregs_supplies.
  13.415 -	(getregs_supplies): Add gdbarch as parameter and replace
  13.416 -	current_gdbarch.
  13.417 -
  13.418 -	* mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Use get_frame_arch to
  13.419 -	get at the current architecture. Update call to NBSD_MIPS_JB_OFFSET and
  13.420 -	NBSD_MIPS_JB_ELEMENT_SIZE.
  13.421 -	(NBSD_MIPS_JB_ELEMENT_SIZE, NBSD_MIPS_JB_OFFSET): Add gdbarch and
  13.422 -	replace current_gdbarch.
  13.423 -
  13.424 -	* remote-mips.c (mips_map_regno): Add gdbarch as parameter and replace
  13.425 -	current_gdbarch.
  13.426 -	(mips_fetch_registers, mips_store_registers): Update call
  13.427 -	to mips_map_regno.
  13.428 -	(mips_load): Use get_regcache_arch to get at the current_architecture
  13.429 -	and replace current_gdbarch.
  13.430 -
  13.431 -2008-07-13  Pedro Alves  <pedro@codesourcery.com>
  13.432 -
  13.433 -	* thread.c (restore_selected_frame): On fail to restore, select
  13.434 -	the innermost frame, and don't crash when warning the user.
  13.435 -
  13.436 -2008-07-13  Hui Zhu  <teawater@gmail.com>
  13.437 -
  13.438 -	* symtab.c (expand_line_sal): Fix a memory leak.
  13.439 -
  13.440 -2008-07-13  Pedro Alves  <pedro@codesourcery.com>
  13.441 -
  13.442 -	* utils.c (struct continuation): Define as inheriting struct
  13.443 -	cleanup.
  13.444 -	(add_continuation, do_all_continuations)
  13.445 -	(discard_all_continuations, add_intermediate_continuation)
  13.446 -	(do_all_intermediate_continuations)
  13.447 -	(discard_all_intermediate_continuations): Adjust.
  13.448 -
  13.449 -2008-07-13  Vladimir Prus  <vladimir@codesourcery.com>
  13.450 -
  13.451 -	Skip varobj in running threads.
  13.452 -	* mi/mi-cmd-var.c (mi_cmd_var_update): If varobj's
  13.453 -	thread is not stopped, skip the varobj.
  13.454 -	* Makefile.in: Update dependencies.
  13.455 -
  13.456 -2008-07-13  Vladimir Prus  <vladimir@codesourcery.com>
  13.457 -
  13.458 -	Enable all commands while inferiour is running
  13.459 -	* mi/mi-main.c (mi_cmd_execute): Don't check if
  13.460 -	inferiour is executing.
  13.461 -
  13.462 -2008-07-13  Vladimir Prus  <vladimir@codesourcery.com>
  13.463 -
  13.464 -	Allow all CLI command even if target is executing.
  13.465 -	* gdb/top.c (execute_command_1): Don't check if the inferiour
  13.466 -	is running.
  13.467 -
  13.468 -2008-07-13  Vladimir Prus  <vladimir@codesourcery.com>
  13.469 -
  13.470 -	* mi/mi-main.c (mi_cmd_execute): Remove unused variable.
  13.471 -	Fix printing of frame, when frame is wrong.
  13.472 -
  13.473 -2008-07-12  Ulrich Weigand  <uweigand@de.ibm.com>
  13.474 -
  13.475 -	* spu-tdep.c (spu_frame_unwind_cache): Do not error if
  13.476 -	backchain is unreadable.
  13.477 -
  13.478 -2008-07-12  Ulrich Weigand  <uweigand@de.ibm.com>
  13.479 -
  13.480 -	* spu-linux-nat.c: Include "gdbthread.h".
  13.481 -	(spu_child_post_startup_inferior): Register main thread.
  13.482 -	(spu_child_post_attach): Likewise.
  13.483 -	* Makefile.in (spu-linux-nat.o): Update dependencies.
  13.484 -
  13.485 -2008-07-12  Pedro Alves  <pedro@codesourcery.com>
  13.486 -
  13.487 -	Rewrite continuations internals on top of cleanups and plug
  13.488 -	continuation arguments leaks.
  13.489 -
  13.490 -	* defs.h (struct continuation): Make it opaque.
  13.491 -	(add_continuation, add_intermediate_continuation): Drop the int
  13.492 -	argument of the continuation hook argument.  Add
  13.493 -	continuation_free_args argument.
  13.494 -	(do_all_continuations, do_all_intermediate_continuations): Drop
  13.495 -	the error_p argument.
  13.496 -
  13.497 -	* utils.c (add_continuation): Drop the int argument of the
  13.498 -	continuation hook argument.  Add continuation_free_args argument.
  13.499 -	Reimplement on top of cleanups.
  13.500 -	(do_all_continuations): Drop error argument.  Reimplement on top
  13.501 -	of cleanups.
  13.502 -	(discard_all_continuations): Reimplement on top of cleanups.
  13.503 -	(add_intermediate_continuation): Drop the int argument of the
  13.504 -	continuation hook argument.  Add continuation_free_args argument.
  13.505 -	Reimplement on top of cleanups.
  13.506 -	(do_all_intermediate_continuations): Drop error argument.
  13.507 -	Reimplement on top of cleanups.
  13.508 -	(discard_all_intermediate_continuations): Reimplement on top of
  13.509 -	cleanups.
  13.510 -
  13.511 -	* breakpoint.c (until_break_command_continuation): Drop error
  13.512 -	argument.  Add xfree as continuation argument deleter.
  13.513 -
  13.514 -	* inf-loop.c (inferior_event_handler): On error, discard all
  13.515 -	continuations.  Adjust to new do_all_intermediate_continuations
  13.516 -	and do_all_continuations interfaces.
  13.517 -
  13.518 -	* infcmd.c (step_1_continuation): Drop error_p argument.  Adjust.
  13.519 -	Pass xfree as continuation argument deleter.
  13.520 -	(finish_command_continuation): Drop error_p argument.  Adjust.
  13.521 -	(finish_command_continuation_free_arg): New.
  13.522 -	(finish_command): Pass finish_command_continuation_free_arg as
  13.523 -	continuation argument deleter.  Adjust to new do_all_continuations
  13.524 -	interfaces.
  13.525 -	(attach_command_continuation): Drop error_p argument.
  13.526 -	(attach_command_continuation_free_args): New.
  13.527 -	(attach_command): Pass attach_command_continuation_free_args as
  13.528 -	continuation argument deleter.
  13.529 -
  13.530 -	* interps.c (interp_set): Adjust to new do_all_continuations
  13.531 -	interfaces.
  13.532 -
  13.533 -	* event-top.c (stdin_event_handler): In error, also discard the
  13.534 -	intermediate continuations.
  13.535 -
  13.536 -2008-07-12  Pedro Alves  <pedro@codesourcery.com>
  13.537 -
  13.538 -	Replace struct continuation_args by void* and per command structs.
  13.539 -
  13.540 -	* top.c (execute_command): Remove unused arg1 and arg2 locals.
  13.541 -
  13.542 -	* breakpoint.c (struct until_break_command_continuation_args):
  13.543 -	New.
  13.544 -	(until_break_command_continuation): Take a void* instead of a
  13.545 -	continuations_arg.  Adjust.
  13.546 -	(until_break_command): Adjust to use struct
  13.547 -	until_break_command_continuation_args instead of struct
  13.548 -	continuation_arg.
  13.549 -
  13.550 -	* infcmd.c (struct step_1_continuation_args): New.
  13.551 -	(step_1_continuation): Take a void* instead of a
  13.552 -	continuations_arg.  Adjust to use struct step_1_continuation_args.
  13.553 -	(step_once): Adjust to use struct step_1_continuation_args.
  13.554 -
  13.555 -	(struct finish_command_continuation_args): New.
  13.556 -	(finish_command_continuation): Take a void* instead of a
  13.557 -	continuations_arg.  Adjust to use struct
  13.558 -	finish_command_continuation_args.
  13.559 -	(finish_command): Adjust to use struct
  13.560 -	finish_command_continuation_args.
  13.561 -	(struct attach_command_continuation_args): New.
  13.562 -	(attach_command_continuation): Take a void* instead of a
  13.563 -	continuations_arg.  Adjust to use struct
  13.564 -	attach_command_continuation_args.
  13.565 -	(attach_command): Adjust to use struct
  13.566 -	attach_command_continuation_args.
  13.567 -
  13.568 -	* defs.h (struct continuation_arg): Delete.
  13.569 -	(struct continuation): Replace the struct continuation_arg*
  13.570 -	parameter of continuation_hook by a void*.  Replace "arg_list"
  13.571 -	member by a new "args" member with void* type.
  13.572 -	(add_continuation, add_intermediate_continuation): Replace struct
  13.573 -	continuation_arg type usages by void* usages.
  13.574 -
  13.575 -	* utils.c (add_continuation, do_all_continuations)
  13.576 -	(add_intermediate_continuation)
  13.577 -	(do_all_intermediate_continuations): Replace struct
  13.578 -	continuation_arg type usages by void* usages.  Pass "args" instead
  13.579 -	of "arg_list".
  13.580 -
  13.581 -2008-07-12  Pedro Alves  <pedro@codesourcery.com>
  13.582 -
  13.583 -	* infrun.c (struct thread_stepping_state): Delete sal member.
  13.584 -	(init_thread_stepping_state): Add local sal.  Use it instead of
  13.585 -	tss->sal.
  13.586 -	(handle_inferior_event): New local stop_pc_sal.  Use it instead of
  13.587 -	tss->sal.
  13.588 -	(step_into_function): Add local stop_func_sal.  Use it instead of
  13.589 -	tss->sal.
  13.590 -
  13.591 -2008-07-12  Vladimir Prus  <vladimir@codesourcery.com>
  13.592 -
  13.593 -	Implement -exec-continue/-exec-interrupt --all.
  13.594 -	* infcmd.c (continue_1): New, extracted from
  13.595 -	(continue_command): ...here.
  13.596 -	(interrupt_target_1): New, extracted from
  13.597 -	(interrupt_target_command): ...here.
  13.598 -	* inferior.h (continue_1, interrupt_target_1): New.
  13.599 -	* mi/mi-main.c (mi_cmd_exec_continue)
  13.600 -	(mi_cmd_exec_interrupt): Handle --all.
  13.601 -
  13.602 -2008-07-12  Vladimir Prus  <vladimir@codesourcery.com>
  13.603 -
  13.604 -	Implement --thread and --frame.
  13.605 -	* gdbthread.h (find_thread_id): Declare.
  13.606 -	* thread.c (find_thread_id): Make non-static.
  13.607 -	* mi/mi-main.c (mi_cmd_execute): Switch to the right
  13.608 -	thread and frame, if necessary.
  13.609 -	* mi/mi-parse.c (mi_parse): Handle --thread and --frame.
  13.610 -	* mi/mi-parse.h (strcut mi_parse): New fields thread and frame.
  13.611 -
  13.612 -2008-07-12  Vladimir Prus  <vladimir@codesourcery.com>
  13.613 -
  13.614 -	* infrun.c (resume): Discard cleanups on early exit path.
  13.615 -
  13.616 -2008-07-12  Vladimir Prus  <vladimir@codesourcery.com>
  13.617 -
  13.618 -	* infrun.c (normal_stop): For MI, report which threads
  13.619 -	were stopped.
  13.620 -
  13.621 -2008-07-12  Vladimir Prus  <vladimir@codesourcery.com>
  13.622 -
  13.623 -	Report thread state in -thread-info output.
  13.624 -	* thread.c (print_thread_info): Add new field "state".
  13.625 -
  13.626 -2008-07-11  Pedro Alves  <pedro@codesourcery.com>
  13.627 -
  13.628 -	* infrun.c (handle_inferior_event): Also ignore a
  13.629 -	TARGET_SIGNAL_TRAP on a STOP_QUIETLY_NO_SIGSTOP.
  13.630 -
  13.631 -2008-07-11  Tom Tromey  <tromey@redhat.com>
  13.632 -
  13.633 -	* completer.c (complete_line_internal): New function, from
  13.634 -	complete_line.  Add 'for_help' parameter.
  13.635 -	(complete_line): Use it.
  13.636 -	(command_completer): Move later.  Rewrite.
  13.637 -
  13.638 -2008-07-11  Pedro Alves  <pedro@codesourcery.com>
  13.639 -
  13.640 -	* thread.c (thread_apply_command): Move making the cleanup out of
  13.641 -	the loop.
  13.642 -
  13.643 -2008-07-11  Pedro Alves  <pedro@codesourcery.com>
  13.644 -
  13.645 -	Exited threads.
  13.646 -
  13.647 -	* thread.c (enum thread_state): New.
  13.648 -	(thread_state main_thread_running): Delete, in favor of...
  13.649 -	(thread_state main_thread_state): ... this.  Update throughout.
  13.650 -	(clear_thread_inferior_resources): New, split from free_thread.
  13.651 -	(free_thread): Call clear_thread_inferior_resources.
  13.652 -	(init_thread_list): Set main thread to stopped state.
  13.653 -	(add_thread_silent): Take care of PTID reuses.
  13.654 -	(delete_thread): If deleting inferior_ptid or a thread with
  13.655 -	refcount > 0, mark it as exited, but still keep it in the list.
  13.656 -	Only notify of thread exits, if we haven't done so yet.
  13.657 -	(iterate_over_threads): Make it safe to delete threads while
  13.658 -	iterating over them.
  13.659 -	(do_captured_list_thread_ids): Don't account for exited threads.
  13.660 -	(thread_alive): Check for the THREAD_EXITED state, and don't set
  13.661 -	ptid to -1 on exited threads.
  13.662 -	(set_running): Update to account for extra possible states.
  13.663 -	(is_thread_state): New.
  13.664 -	(is_stopped, is_exited): New.
  13.665 -	(is_running): Implement in terms of is_thread_state.
  13.666 -	(any_running): Update.
  13.667 -	(print_thread_info): Update.  Account for exited threads.  Don't
  13.668 -	warn about missed frame restoring here, its done in the cleanup.
  13.669 -	(switch_to_thread): Don't read from a thread that has gone.
  13.670 -	(restore_current_thread): In non-stop mode, do a full context
  13.671 -	switch.
  13.672 -	(restore_selected_frame): Add a frame_level argument.  Rewrite.
  13.673 -	(struct current_thread_cleanup): Add selected_frame_level and
  13.674 -	was_stopped members.
  13.675 -	(do_restore_current_thread_cleanup): Check if thread was stopped
  13.676 -	and still is, and if the target has registers, stack and memory
  13.677 -	before restoring the selected frame.  Don't delete the cleanup
  13.678 -	argument here.
  13.679 -	(restore_current_thread_cleanup_dtor): New.
  13.680 -	(make_cleanup_restore_current_thread): Remove all arguments.
  13.681 -	Rewrite.
  13.682 -	(thread_apply_all_command): Update.  Prune threads.
  13.683 -	(thread_apply_command): Update.
  13.684 -	(thread_command): Account for currently selected exited thread.
  13.685 -	(do_captured_thread_select): Check for a running thread.  Prune
  13.686 -	threads.
  13.687 -	(_initialize_thread): Make "info threads", "thread", "thread
  13.688 -	apply", and "thread apply all" appliable without a selected thread.
  13.689 -	* gdbthread.h (struct thread_info): Replace running_ by state_.
  13.690 -	Add refcount.
  13.691 -	(is_exited, is_stopped): Declare.
  13.692 -	(make_cleanup_restore_current_thread): Remove all arguments.
  13.693 -	* infrun.c: Include "event-top.h".
  13.694 -	(fetch_inferior_event): In non-stop mode, restore selected thread
  13.695 -	and frame after handling the event and running breakpoint
  13.696 -	commands.  Display GDB prompt if needed.
  13.697 -	(normal_stop): In non-stop mode, don't print thread switching
  13.698 -	notice.
  13.699 -	* cli/cli-decode.c (set_cmd_no_selected_thread_ok)
  13.700 -	(get_cmd_no_selected_thread_ok): New.
  13.701 -	* cli/cli-decode.h (CMD_NO_SELECTED_THREAD_OK): New.
  13.702 -	(set_cmd_no_selected_thread_ok, get_cmd_no_selected_thread_ok):
  13.703 -	Declare.
  13.704 -	* cli/cli-cmds.c: Set "pwd", "help", "info", "show" as
  13.705 -	no-selected-thread ok.
  13.706 -	* top.c (execute_command): Check for non no-selected-thread-ok
  13.707 -	commands.
  13.708 -	* linux-nat.c (struct saved_ptids, threads_to_delete)
  13.709 -	(record_dead_thread, prune_lwps): Delete.
  13.710 -	(exit_lwp): Unconditionally delete thread.
  13.711 -	(linux_nat_resume): Remove prune_lwps call.
  13.712 -	* infcmd.c (proceed_thread_callback): Check if !is_stopped instead
  13.713 -	of is_running.  Adjust to make_cleanup_restore_current_thread
  13.714 -	interface change.
  13.715 -	* mi/mi-main.c (mi_cmd_execute): Only allow a few commands if the
  13.716 -	selected thread has exited.
  13.717 -	* inf-loop.c (inferior_event_handler): Don't display the prompt
  13.718 -	here.
  13.719 -	* varobj.c (c_value_of_root): Update.
  13.720 -	* defs.h (make_cleanup_dtor): Declare.
  13.721 -	* utils.c (make_cleanup_dtor): New.
  13.722 -
  13.723 -	* Makefile.in (infrun.o): Depend on $(event_top_h).
  13.724 -
  13.725 -2008-07-11  Pedro Alves  <pedro@codesourcery.com>
  13.726 -
  13.727 -	Add "continue -a" and "interrupt -a" options for non-stop mode.
  13.728 -
  13.729 -	* infcmd.c (proceed_thread_callback, do_context_switch_to): New.
  13.730 -	(continue_command): Add "-a" option.
  13.731 -	(interrupt_target_command): Add "-a" option.
  13.732 -	(_initialize_infcmd): Add extend help of continue and interrupt
  13.733 -	command to mention the new "-a" option.  Mark "continue" async ok.
  13.734 -
  13.735 -2008-07-10  Doug Evans  <dje@google.com>
  13.736 -
  13.737 -	Add "set print symbol-loading on|off".
  13.738 -	* NEWS: Document new option.
  13.739 -	* symfile.h (print_symbol_loading): Declare.
  13.740 -	* symfile.c (print_symbol_loading): New global.
  13.741 -	(symbol_file_add_with_addrs_or_offsets): Only print "Reading symbols
  13.742 -	from ..." if print_symbol_loading.
  13.743 -	(_initialize_symfile): Add set/show print symbol-loading.
  13.744 -	* solib.c (solib_read_symbols): Only print "Loaded symbols for ..."
  13.745 -	if print_symbol_loading.
  13.746 -
  13.747 -2008-07-10  Pedro Alves  <pedro@codesourcery.com>
  13.748 -
  13.749 -	Non-stop linux native.
  13.750 -
  13.751 -	* linux-nat.c (linux_test_for_tracefork): Block events while we're
  13.752 -	here.
  13.753 -	(get_pending_status): Implement non-stop mode.
  13.754 -	(linux_nat_detach): Stop threads before detaching.
  13.755 -	(linux_nat_resume): In non-stop mode, always resume only a single
  13.756 -	PTID.
  13.757 -	(linux_handle_extended_wait): On a clone event, in non-stop mode,
  13.758 -	add new lwp to GDB's thread table, and mark as running, executing
  13.759 -	and stopped appropriately.
  13.760 -	(linux_nat_filter_event): Don't assume there are other running
  13.761 -	threads when a thread exits.
  13.762 -	(linux_nat_wait): Mark the main thread as running and executing.
  13.763 -	In non-stop mode, don't stop all lwps.
  13.764 -	(linux_nat_kill): Stop lwps before killing them.
  13.765 -	(linux_nat_thread_alive): Use signal 0 to detect if a thread is
  13.766 -	alive.
  13.767 -	(send_sigint_callback): New.
  13.768 -	(linux_nat_stop): New.
  13.769 -	(linux_nat_add_target): Set to_stop to linux_nat_stop.
  13.770 -
  13.771 -	* linux-nat.h (thread_db_attach_lwp): Declare.
  13.772 -
  13.773 -	* linux-thread-db.c (thread_get_info_callback): Check for new
  13.774 -	threads if we have none.
  13.775 -	(thread_from_lwp, enable_thread_event): Set proc_handle.pid to the
  13.776 -	stopped lwp.  Check for new threads if we have none.
  13.777 -	(thread_db_attach_lwp): New.
  13.778 -	(thread_db_init): Set proc_handle.pid to inferior_ptid.
  13.779 -	(check_event): Set proc_handle.pid to the stopped lwp.
  13.780 -	(thread_db_find_new_threads): Set proc_handle.pid to any stopped
  13.781 -	lwp available, bail out if there is none.
  13.782 -
  13.783 -	* linux-fork.c (linux_fork_killall): Use SIGKILL instead of
  13.784 -	PTRACE_KILL.
  13.785 -
  13.786 -2008-07-10  Kevin Buettner  <kevinb@redhat.com>
  13.787 -
  13.788 -	* rs6000-tdep.c (ppc_displaced_step_fixup): Change type of
  13.789 -	`current_pc' from CORE_ADDR to ULONGEST.
  13.790 -
  13.791 -	* remote-sim.c (gdbsim_cntrl_c): Pass remote_sim_ptid to
  13.792 -	gdbsim_stop().
  13.793 -
  13.794 -2008-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
  13.795 -
  13.796 -	* NEWS (New commands): Mention "set disable-randomization".
  13.797 -	* configure.ac: Add check for HAVE_PERSONALITY and
  13.798 -	HAVE_DECL_ADDR_NO_RANDOMIZE.
  13.799 -	* configure, config.in: Regenerate.
  13.800 -	* linux-nat.c [HAVE_PERSONALITY]: New include <sys/personality.h>.
  13.801 -	[HAVE_PERSONALITY] [!HAVE_DECL_ADDR_NO_RANDOMIZE]: Set
  13.802 -	ADDR_NO_RANDOMIZE.
  13.803 -	(disable_randomization, show_disable_randomization)
  13.804 -	(set_disable_randomization): New.
  13.805 -	(linux_nat_create_inferior) [HAVE_PERSONALITY]: New variables
  13.806 -	PERSONALITY_ORIG and PERSONALITY_SET.  Disable randomization upon the
  13.807 -	variable DISABLE_RANDOMIZATION.
  13.808 -	(_initialize_linux_nat): Call ADD_SETSHOW_BOOLEAN_CMD for the variable
  13.809 -	DISABLE_RANDOMIZATION.
  13.810 -
  13.811 -2008-07-09  Pedro Alves  <pedro@codesourcery.com>
  13.812 -
  13.813 -	Adjust all targets to new target_stop interface.
  13.814 -
  13.815 -	* gnu-nat.c (gnu_stop): Add ptid argument.
  13.816 -	* go32-nat.c (go32_stop): Add ptid argument.
  13.817 -	(go32_create_inferior): Pass inferior_ptid to go32_stop.
  13.818 -	* hpux-thread.c (hpux_thread_stop): Add ptid argument.
  13.819 -	* monitor.c (monitor_stop): Add ptid argument.
  13.820 -	(monitor_open): Pass inferior_ptid to monitor_stop.
  13.821 -	(monitor_interrupt): Pass inferior_ptid to target_stop.
  13.822 -	(monitor_stop): Add ptid argument.
  13.823 -	* nto-procfs.c (nto_interrupt): Pass inferior_ptid to target_stop.
  13.824 -	(procfs_create_inferior): Add ptid argument.
  13.825 -	* procfs.c (procfs_stop): Add ptid argument.
  13.826 -	* remote-m32r-sdi.c (m32r_stop): Add ptid argument.
  13.827 -	* remote-sim.c (gdbsim_stop): Add ptid argument.
  13.828 -	* sol-thread.c (sol_thread_stop): Add ptid argument.
  13.829 -	* win32-nat.c (win32_stop): Add ptid argument.
  13.830 -
  13.831 -2008-07-09  Pedro Alves  <pedro@codesourcery.com>
  13.832 -
  13.833 -	Non-stop inferior control.
  13.834 -
  13.835 -	* infrun.c (resume): In non-stop mode, always resume just one
  13.836 -	thread.
  13.837 -	(proceed): Don't call prepare_to_proceed in non-stop mode.
  13.838 -	(fetch_inferior_event): In non-stop mode, switch context before
  13.839 -	handling the event.
  13.840 -	(error_is_running, ensure_not_running): New.
  13.841 -	(handle_inferior_event): In non-stop mode: Mark only the event
  13.842 -	thread as stopped.  Require that the target module manages adding
  13.843 -	threads to the thread list.  Assert that there isn't a
  13.844 -	deferred_step_ptid set.  Don't switch to infwait_thread_hop_state.
  13.845 -	(normal_stop): Only mark not-running if inferior hasn't exited.
  13.846 -	In non-stop mode, only mark the event thread.
  13.847 -
  13.848 -	* thread.c:Include "cli/cli-decode.h".
  13.849 -	(print_thread_info): Don't read from a running thread.
  13.850 -	Output "(running)" if thread is running.
  13.851 -	(switch_to_thread): Don't read stop_pc if thread is executing.
  13.852 -	(do_restore_current_thread_cleanup): Don't write to a running
  13.853 -	thread.
  13.854 -	(thread_apply_all_command): Don't read from a running thread.  In
  13.855 -	non-stop mode, do a full context-switch instead of just switching
  13.856 -	threads.
  13.857 -	(thread_apply_command): In non-stop mode, do a full context-switch
  13.858 -	instead of just switching threads.
  13.859 -	(do_captured_thread_select): Likewise.  Inform user if selected
  13.860 -	thread is running.
  13.861 -	(_initialize_thread): Mark "info threads" and "thread" and
  13.862 -	async_ok.
  13.863 -
  13.864 -	* inf-loop.c (inferior_event_handler): In non-stop mode, don't
  13.865 -	unregister the target from the event loop.
  13.866 -
  13.867 -	* infcmd.c (continue_command, step_1, jump_command)
  13.868 -	(signal_command): Ensure the selected thread isn't running.
  13.869 -	(interrupt_target_command): In non-stop mode, interrupt only the
  13.870 -	selected thread.
  13.871 -
  13.872 -	* inferior.h (error_is_running, ensure_not_running): Declare.
  13.873 -
  13.874 -	* target.h (struct target_ops): Add ptid argument to the to_stop
  13.875 -	member.
  13.876 -	(target_stop): Add ptid_t argument.
  13.877 -
  13.878 -	* target.c (update_current_target): Add ptid argument to to_stop's
  13.879 -	type.
  13.880 -	(debug_to_stop): Add ptid_t argument.
  13.881 -	(debug_to_rcmd): Set to_stop_ptid.
  13.882 -
  13.883 -	* remote.c (remote_stop): Add ptid_t argument.
  13.884 -	(async_remote_interrupt): Add inferior_ptid to target_stop.
  13.885 -	* inf-ptrace.c (inf_ptrace_stop): Add ptid argument.
  13.886 -
  13.887 -	* Makefile.in (thread.o): Depend on $(cli_decode_h).
  13.888 -
  13.889 -2008-07-09  Pedro Alves  <pedro@codesourcery.com>
  13.890 -
  13.891 -	Don't rely on ecs->wait_for_more.
  13.892 -
  13.893 -	* infrun.c (proceed): Clear the stepping state, set
  13.894 -	previous_inferior_ptid and clear infwait state.
  13.895 -	(wait_for_inferior): Don't clear the stepping state, set
  13.896 -	previous_inferior_ptid, or clear the infwait state here.
  13.897 -	(fetch_inferior_event): Don't clear the stepping state, set
  13.898 -	previous_inferior_ptid, or clear the infwait state here.  Don't
  13.899 -	condition on wait_for_more.
  13.900 -
  13.901 -2008-07-09  Pedro Alves  <pedro@codesourcery.com>
  13.902 -
  13.903 -	Refactor infrun a bit.
  13.904 -
  13.905 -	* infrun.c (currently_stepping): Take a struct
  13.906 -	thread_stepping_state instead of an execution_control_state.
  13.907 -	(struct thread_stepping_state): New, split from
  13.908 -	execution_control_state.
  13.909 -	(gtss, tss): New globals.
  13.910 -	(proceed): Clear the stepping state, set previous_inferior_ptid
  13.911 -	and clear infwait state.
  13.912 -	(init_wait_for_inferior): Clear the stepping state,
  13.913 -	previous_inferior_ptid and infwait state.
  13.914 -	(waiton_ptid, infwait_state): New, split from
  13.915 -	execution_control_state.
  13.916 -	(struct execution_control_state): Members that persist through
  13.917 -	events moved out to either struct thred_stepping_state or made
  13.918 -	global.  Deleted unneeded wp, saved_inferior_ptid, tmpstatus.
  13.919 -	(wait_for_inferior, fetch_inferior_event): Use local
  13.920 -	execution_control_state.  Update to execution_control_state split.
  13.921 -	(init_execution_control_state): Adjust.
  13.922 -	(init_thread_stepping_state): New, extracted from
  13.923 -	init_execution_control_state.
  13.924 -	(context_switch): Take a ptid instead of an
  13.925 -	execution_control_state.
  13.926 -	(context_switch_to): Adjust.
  13.927 -	(adjust_pc_after_break): Adjust.
  13.928 -	(init_infwait_state): New.
  13.929 -	(handle_inferior_event): Adjust.
  13.930 -
  13.931 -2008-07-09  Pedro Alves  <pedro@codesourcery.com>
  13.932 -	    Vladimir Prus  <vladimir@codesourcery.com>
  13.933 -
  13.934 -	Per-thread commands.
  13.935 -
  13.936 -	* gdbthread.h: Remove unneeded forward declarations.
  13.937 -	Include "inferior.h".
  13.938 -	(struct thread_info): Add continuations,
  13.939 -	intermediate_continuations, proceed_to_finish, step_over_calls,
  13.940 -	stop_step, step_multi and stop_signal members.
  13.941 -	(save_infrun_state): Add continuations,
  13.942 -	intermediate_continuations, proceed_to_finish, step_over_calls,
  13.943 -	stop_step, step_multi, stop_signal and stop_bpstat parameters.
  13.944 -	(load_infrun_state): Add continuations,
  13.945 -	intermediate_continuations, proceed_to_finish, step_over_calls,
  13.946 -	stop_step, step_multi, stop_signal and stop_bpstat parameters.
  13.947 -
  13.948 -	* thread.c (load_infrun_state): In non-stop mode, load
  13.949 -	continuations, intermediate_continuations, proceed_to_finish,
  13.950 -	step_over_calls, stop_step, step_multi and stop_signal.
  13.951 -	(save_infrun_state): Store continuations,
  13.952 -	intermediate_continuations, proceed_to_finish, step_over_calls,
  13.953 -	stop_step, step_multi, stop_signal and stop_bpstat.
  13.954 -	(save_infrun_state): Store continuations,
  13.955 -	intermediate_continuations, proceed_to_finish, step_over_calls,
  13.956 -	stop_step, step_multi, stop_signal and stop_bpstat.
  13.957 -	(free_thread): Clear The thread's stop_bpstat.
  13.958 -
  13.959 -	* inferior.h (context_switch_to): Declare.
  13.960 -
  13.961 -	* infrun.c (ecss): New global.
  13.962 -	(context_switch): Context switch continuations,
  13.963 -	intermediate_continuations, proceed_to_finish, step_over_calls,
  13.964 -	stop_step, step_multi, stop_signal and stop_bpstat.
  13.965 -	(wait_for_inferior): Use global ecss.
  13.966 -	(async_ecss, async_ecs): Delete.
  13.967 -	(fetch_inferior_event): Use global ecss.
  13.968 -	(context_switch_to): New.
  13.969 -
  13.970 -	* top.c (execute_command): In non-stop, only check if the current
  13.971 -	thread is running, in all-stop, check if there's any thread
  13.972 -	running.
  13.973 -
  13.974 -	* breakpoint.c (bpstat_remove_breakpoint): New.
  13.975 -	(bpstat_remove_breakpoint_callback): New.
  13.976 -	(delete_breakpoint): Clear the stop_bpstats of all threads.
  13.977 -
  13.978 -	* mi/mi-main.c (mi_cmd_execute): In non-stop, only check if the
  13.979 -	current thread is running, in all-stop, check if there's any
  13.980 -	thread running.
  13.981 -
  13.982 -	* Makefile.in (gdbthread_h): Depend on $(inferior_h).
  13.983 -
  13.984 -2008-07-09  Pedro Alves  <pedro@codesourcery.com>
  13.985 -
  13.986 -	Add non_stop global.
  13.987 -
  13.988 -	* inferior.h (non_stop): Declare.
  13.989 -	* infrun.c (non_stop, non_stop_1): New.
  13.990 -	(set_non_stop, show_non_stop): New.
  13.991 -	(_initialize_infrun): Add "set/show non-stop" command.
  13.992 -
  13.993 -2008-07-09  Pedro Alves  <pedro@codesourcery.com>
  13.994 -
  13.995 -	Adjust fork/vfork/exec to pass ptids around.
  13.996 -
  13.997 -	* target.h (struct target_waitstatus): Store related_pid as a ptid.
  13.998 -	(inferior_has_forked, inferior_has_vforked, inferior_has_execd):
  13.999 -	Take a ptid_t.
 13.1000 -	* breakpoint.h (struct breakpoint): Change forked_inferior_pid
 13.1001 -	type to ptid.
 13.1002 -	* breakpoint.c (print_it_typical, bpstat_check_location)
 13.1003 -	(print_one_breakpoint_location, set_raw_breakpoint_without_location)
 13.1004 -	(create_fork_vfork_event_catchpoint): Adjust.
 13.1005 -	* infrun.c (fork_event): Change parent_pid and child_pid types to
 13.1006 -	ptid.
 13.1007 -	(follow_exec, inferior_has_forked, inferior_has_vforked)
 13.1008 -	(inferior_has_execd): Take a ptid_t and don't trim it.
 13.1009 -	* linux-thread-db.c (thread_db_wait): Don't trim the returned ptid.
 13.1010 -	* linux-nat.c (linux_child_follow_fork): Adjust.
 13.1011 -	* inf-ptrace.c (inf_ptrace_wait): Adjust.
 13.1012 -	* inf-ttrace.c (inf_ttrace_wait): Adjust.
 13.1013 -	* win32-nat.c (get_win32_debug_event): Don't set related_pid.
 13.1014 -
 13.1015 -2008-07-09  Pedro Alves  <pedro@codesourcery.com>
 13.1016 -
 13.1017 -	Add "executing" property to threads.
 13.1018 -
 13.1019 -	* inferior.h (target_executing): Delete.
 13.1020 -	* gdbthread.h (struct thread_info): Add executing_ field.
 13.1021 -	(set_executing, is_executing): New.
 13.1022 -	* thread.c (main_thread_executing): New.
 13.1023 -	(init_thread_list): Clear it and also main_thread_running.
 13.1024 -	(is_running): Return false if target has no execution.
 13.1025 -	(any_running, is_executing, set_executing): New.
 13.1026 -
 13.1027 -	* top.c: Include "gdbthread.h".
 13.1028 -	(target_executing): Delete.
 13.1029 -	(execute_command): Replace target_executing check by any_running.
 13.1030 -	* event-top.c: Include "gdbthread.h".
 13.1031 -	(display_gdb_prompt, command_handler): Replace target_executing by
 13.1032 -	is_running.
 13.1033 -	* inf-loop.c: Include "gdbthread.h".  Don't mark as not executing
 13.1034 -	here.  Replace target_executing by is_running.
 13.1035 -	* infrun.c (handle_inferior_event): Mark all threads as
 13.1036 -	not-executing.
 13.1037 -	* linux-nat.c (linux_nat_resume): Don't mark thread as executing
 13.1038 -	here.
 13.1039 -	* stack.c (get_selected_block): Return null if inferior is
 13.1040 -	executing.
 13.1041 -	* target.c (target_resume): Mark resumed ptid as executing.
 13.1042 -	* breakpoint.c (until_break_command): Replace target_executing
 13.1043 -	check by is_executing.
 13.1044 -	* remote.c (remote_async_resume): Don't mark inferior as executing
 13.1045 -	here.
 13.1046 -	* mi/mi-interp.c (mi_cmd_interpreter_exec): Replace target_executing
 13.1047 -	by any_running.
 13.1048 -
 13.1049 -	* mi/mi-main.c (mi_cmd_exec_interrupt, mi_cmd_execute)
 13.1050 -	(mi_execute_async_cli_command): Replace target_executing by
 13.1051 -	is_running.
 13.1052 -
 13.1053 -	* frame.c (get_current_frame): Error out if the current thread is
 13.1054 -	executing.
 13.1055 -	(has_stack_frames): New.
 13.1056 -	(get_selected_frame, deprecated_safe_get_selected_frame): Check
 13.1057 -	has_stack_frames.
 13.1058 -
 13.1059 -	* Makefile.in (event-top.o, frame.o, inf-loop.o, top.o): Depend on
 13.1060 -	$(gdbthread_h).
 13.1061 -
 13.1062 -2008-07-09  Pedro Alves  <pedro@codesourcery.com>
 13.1063 -
 13.1064 -	* symfile.c (load_command): Reopen the exec file and reread
 13.1065 -	symbols before anything else.
 13.1066 -
 13.1067 -2008-07-09  Pedro Alves  <pedro@codesourcery.com>
 13.1068 -
 13.1069 -	* remote-sim.c: Include gdbthread.h.
 13.1070 -	(remote_sim_ptid): New global.
 13.1071 -	(gdbsim_create_inferior): Silently add the main task to GDB's
 13.1072 -	thread list.
 13.1073 -	(gdbsim_close, gdbsim_mourn_inferior): Silently delete the main
 13.1074 -	task from GDB's thread list.
 13.1075 -	(gdbsim_resume): Adjust to use remote_sim_ptid.
 13.1076 -	(gdbsim_thread_alive, gdbsim_pid_to_str): New.
 13.1077 -	(init_gdbsim_ops): Register gdbsim_thread_alive and
 13.1078 -	gdbsim_pid_to_str.
 13.1079 -	(_initialize_remote_sim): Initialize remote_sim_ptid.
 13.1080 -	* Makefile.in (remote-sim.o): Depend on $(gdbthread_h).
 13.1081 -
 13.1082 -2008-07-09  Pedro Alves  <pedro@codesourcery.com>
 13.1083 -
 13.1084 -	* monitor (monitor_ptid): New global.
 13.1085 -	(monitor_open): Silently add the main task to GDB's thread list.
 13.1086 -	(monitor_close, monitor_mourn_inferior): Silently delete the main
 13.1087 -	task from GDB's thread list.
 13.1088 -	(monitor_thread_alive, monitor_pid_to_str): New.
 13.1089 -	(init_base_monitor_ops): Register monitor_thread_alive and
 13.1090 -	monitor_pid_to_str.
 13.1091 -	(_initialize_remote_monitors): Initialize monitor_ptid.
 13.1092 -
 13.1093 -	* gdbthread.h (delete_thread_silent): Declare.
 13.1094 -	* thread.c (delete_thread): Rename to ...
 13.1095 -	(delete_thread_1): ... this.  Add "silent" parameter.  If silent,
 13.1096 -	don't do exit notifications.
 13.1097 -	(delete_thread, delete_thread_silent): New, as wrappers to
 13.1098 -	delete_thread_1.
 13.1099 -
 13.1100 -2008-07-08  Pedro Alves  <pedro@codesourcery.com>
 13.1101 -
 13.1102 -	* breakpoint.c (update_global_location_list): Add boolean
 13.1103 -	"should_insert" argument.  Only insert locations if caller told it
 13.1104 -	too.
 13.1105 -	(update_global_location_list_nothrow): Add boolean "should_insert"
 13.1106 -	argument.  Pass it to update_global_location_list.
 13.1107 -	(insert_breakpoints, create_longjmp_breakpoint)
 13.1108 -	(create_overlay_event_breakpoint, enable_overlay_breakpoints)
 13.1109 -	(create_thread_event_breakpoint, create_solib_event_breakpoint)
 13.1110 -	(create_fork_vfork_event_catchpoint, create_exec_event_catchpoint)
 13.1111 -	(enable_watchpoints_after_interactive_call_stop)
 13.1112 -	(set_momentary_breakpoint, create_breakpoints)
 13.1113 -	(break_command_really, watch_command_1)
 13.1114 -	(create_ada_exception_breakpoint, update_breakpoint_locations)
 13.1115 -	(do_enable_breakpoint, enable_command): Pass true to
 13.1116 -	update_global_location_list.
 13.1117 -	(bpstat_stop_status, disable_overlay_breakpoints)
 13.1118 -	(disable_watchpoints_before_interactive_call_start)
 13.1119 -	(delete_breakpoint, disable_breakpoint, disable_command): Pass
 13.1120 -	false to update_global_location_list.
 13.1121 -	(update_breakpoints_after_exec): Don't temporarily disable
 13.1122 -	always-inserted mode.
 13.1123 -
 13.1124 -2008-07-08  Pedro Alves  <pedro@codesourcery.com>
 13.1125 -
 13.1126 -	* breakpoint.c (mark_breakpoints_out): Make public.
 13.1127 -	(update_breakpoints_after_exec): Don't call mark_breakpoints_out
 13.1128 -	here.  Update comment.
 13.1129 -	* breakpoint.h (mark_breakpoints_out): Declare.
 13.1130 -
 13.1131 -	* linux-nat.c (linux_handle_extended_wait): On
 13.1132 -	TARGET_WAITKIND_EXECD, call mark_breakpoints_out.
 13.1133 -	* inf-ttrace.c (inf_ttrace_wait): Likewise.
 13.1134 -
 13.1135 -2008-07-08  Pedro Alves  <pedro@codesourcery.com>
 13.1136 -
 13.1137 -	* infrun.c (follow_exec): Reset shared libraries before adding the
 13.1138 -	main exec file.
 13.1139 -
 13.1140 -2008-07-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
 13.1141 -
 13.1142 -	* breakpoint.c (bpstat_copy): Call RELEASE_VALUE on the new OLD_VAL.
 13.1143 -
 13.1144 -2008-07-07  Pedro Alves  <pedro@codesourcery.com>
 13.1145 -
 13.1146 -	* i386-dicos-tdep.c: Include "inferior.h".
 13.1147 -	(i386_dicos_frame_align): New.
 13.1148 -	(i386_dicos_init_abi): Register i386_dicos_frame_align.  Set call
 13.1149 -	dummy location ON_STACK.
 13.1150 -	* Makefile.in (i386-dicos-tdep.o): Depend on $(inferior_h).
 13.1151 -
 13.1152 -2008-07-07  Joel Brobecker  <brobecker@adacore.com>
 13.1153 -
 13.1154 -	* gstdint.h: New file.
 13.1155 -
 13.1156 -2008-07-05  Vladimir Prus  <vladimir@codesourcery.com>
 13.1157 -
 13.1158 -	* mi/mi-interp.c (mi_on_resume): Don't try to report
 13.1159 -	resumed thread it the thread list is empty.
 13.1160 -
 13.1161 -2008-07-05  Pierre Muller  <muller@ics.u-strasbg.fr>
 13.1162 -
 13.1163 -	* cli/cli-decode.c (add_setshow_optional_filename_cmd): Set
 13.1164 -	completer for set to filename_completer.
 13.1165 -
 13.1166 -	NEWS: Mention it.
 13.1167 -
 13.1168 -2008-07-04  Vladimir Prus  <vladimir@codesourcery.com>
 13.1169 -
 13.1170 -	Implement -target-attach.
 13.1171 -	* mi/mi-cmds.c (mi_cmds): Forward -target-attach to CLI attach.
 13.1172 -
 13.1173 -2008-06-21  Hui Zhu  <teawater@gmail.com>
 13.1174 -
 13.1175 -	* target-descriptions.c (maint_print_c_tdesc_cmd): Fix a memory leak.
 13.1176 -
 13.1177 -2008-07-03  Pedro Alves  <pedro@codesourcery.com>
 13.1178 -
 13.1179 -	* config/i386/nm-cygwin.h (ATTACH_NO_WAIT): Delete.
 13.1180 -	* config/i386/nm-i386gnu.h (ATTACH_NO_WAIT): Delete.
 13.1181 -
 13.1182 -	* target.h (struct target_ops): Add to_attach_no_wait member.
 13.1183 -	(target_attach_no_wait): New.
 13.1184 -	* target.c (update_current_target): Inherit to_attach_no_wait.
 13.1185 -
 13.1186 -	* infcmd.c: Replace ATTACH_NO_WAIT compile time check by
 13.1187 -	target_attach_no_wait runtime check.
 13.1188 -
 13.1189 -	* gnu-nat.c (init_gnu_ops): Set to_attach_no_wait in gnu_ops.
 13.1190 -	* win32-nat.c (init_win32_ops): Set to_attach_no_wait in
 13.1191 -	win32_ops.
 13.1192 -
 13.1193 -2008-07-03  Pedro Alves  <pedro@codesourcery.com>
 13.1194 -
 13.1195 -	* i386-tdep.c (i386_displaced_step_fixup): Condition log printing
 13.1196 -	on debug_displaced being set.
 13.1197 -
 13.1198 -2008-06-30  Daniel Jacobowitz  <dan@codesourcery.com>
 13.1199 -
 13.1200 -	* frame.c (get_prev_frame_1): Call frame_unwind_find_by_frame
 13.1201 -	directly instead of get_frame_id.
 13.1202 -
 13.1203 -2008-06-30  Luis Machado  <luisgpm@br.ibm.com>
 13.1204 -
 13.1205 -	* rs6000-tdep.c (ppc_displaced_step_fixup): New function.
 13.1206 -	(deal_with_atomic_sequence): Update BC masks.
 13.1207 -	(rs6000_gdbarch_init): Init displaced stepping infra-structure.
 13.1208 -	Define BRANCH_MASK, B_INSN, BC_INSN, BXL_INSN, BP_MASK and BP_INSN.
 13.1209 -
 13.1210 -2008-06-30  Daniel Jacobowitz  <dan@codesourcery.com>
 13.1211 -
 13.1212 -	* cris-tdep.c (crisv32_single_step_through_delay): Get this frame's
 13.1213 -	register, not the previous frame's.
 13.1214 -
 13.1215 -2008-06-30  Luis Machado  <luisgpm@br.ibm.com>
 13.1216 -
 13.1217 -	* source.c (select_source_symtab): Make sure we skip namespace
 13.1218 -	symtabs when showing cpp source code.
 13.1219 -
 13.1220 -2008-06-30  Hans-Peter Nilsson  <hp@axis.com>
 13.1221 -
 13.1222 -	* MAINTAINERS (Authorized committers): Fix my email address.
 13.1223 -
 13.1224 -2008-06-28  Vladimir Prus  <vladimir@codesourcery.com>
 13.1225 -
 13.1226 -	* mi/mi-cmds.c (mi_cmds): Route -exec-run, -exec-until,
 13.1227 -	-target-download and -target-select via CLI, so that
 13.1228 -	the quoting rules are the same as they were (unfortunately)
 13.1229 -	in all prior gdb releases.
 13.1230 -	* mi/mi-cmds.h (mi_cmd_exec_run, mi_cmd_exec_until)
 13.1231 -	(mi_cmd_target_download, mi_cmd_target_select): Remove.
 13.1232 -	* mi/mi-main.c (mi_cmd_exec_run, mi_cmd_exec_until)
 13.1233 -	(mi_cmd_target_download, mi_cmd_target_select): Remove.
 13.1234 -	(mi_cmd_execute): Set current_token even for commands
 13.1235 -	routed via CLI.
 13.1236 -
 13.1237 -2008-06-28  Ulrich Weigand  <uweigand@de.ibm.com>
 13.1238 -
 13.1239 -	* alphafbsd-tdep.c: Update for unwinder changes.
 13.1240 -	* alpha-linux-tdep.c: Likewise.
 13.1241 -	* alphanbsd-tdep.c: Likewise.
 13.1242 -	* alphaobsd-tdep.c: Likewise.
 13.1243 -	* avr-tdep.c: Likewise.
 13.1244 -	* cris-tdep.c: Likewise.
 13.1245 -	* frv-linux-tdep.c: Likewise.
 13.1246 -	* frv-tdep.c: Likewise.
 13.1247 -	* h8300-tdep.c: Likewise.
 13.1248 -	* hppa-linux-tdep.c: Likewise.
 13.1249 -	* iq2000-tdep.c: Likewise.
 13.1250 -	* m32c-tdep.c: Likewise.
 13.1251 -	* m32r-linux-tdep.c: Likewise.
 13.1252 -	* m32r-tdep.c: Likewise.
 13.1253 -	* m68hc11-tdep.c: Likewise.
 13.1254 -	* mep-tdep.c: Likewise.
 13.1255 -	* mn10300-tdep.c: Likewise.
 13.1256 -	* mt-tdep.c: Likewise.
 13.1257 -	* score-tdep.c: Likewise.
 13.1258 -	* sh64-tdep.c: Likewise.
 13.1259 -	* sh-tdep.c: Likewise.
 13.1260 -	* sparc64fbsd-tdep.c: Likewise.
 13.1261 -	* sparc64nbsd-tdep.c: Likewise.
 13.1262 -	* sparc64obsd-tdep.c: Likewise.
 13.1263 -	* v850-tdep.c: Likewise.
 13.1264 -	* vaxobsd-tdep.c: Likewise.
 13.1265 -	* vax-tdep.c: Likewise.
 13.1266 -	* xstormy16-tdep.c: Likewise.
 13.1267 -
 13.1268 -2008-06-28  Vladimir Prus  <vladimir@codesourcery.com>
 13.1269 -
 13.1270 -	* mi/mi-main.c (enum captured_mi_execute_command_actions)
 13.1271 -	(captured_mi_execute_command_args): Remove.
 13.1272 -	(captured_mi_execute_command): Cast the closure to mi_parse
 13.1273 -	pointer, not to captured_mi_execute_command_args, and don't
 13.1274 -	set the action field thereof.
 13.1275 -	(mi_execute_command): Pass struct mi_parse, not
 13.1276 -	captured_mi_execute_command_args to captured_mi_execute_command.
 13.1277 -	(mi_execute_command): Remove (dead) code for suppressing
 13.1278 -	printing prompt.
 13.1279 -
 13.1280 -2008-06-28  Pedro Alves  <pedro@codesourcery.com>
 13.1281 -
 13.1282 -	* linux-nat.c (enum sigchld_state): New.
 13.1283 -	(linux_nat_async_events_state): Renamed from
 13.1284 -	linux_nat_async_events_enabled.
 13.1285 -	(linux_nat_event_pipe_push, my_waitpid): Adjust.
 13.1286 -	(sigchld_default_action): New.
 13.1287 -	(lin_lwp_attach_lwp): Adjust.  Call linux_nat_async_events
 13.1288 -	unconditionally.
 13.1289 -	(linux_nat_create_inferior): Set events state to sigchld_default
 13.1290 -	state.
 13.1291 -	(linux_nat_resume): Adjust.
 13.1292 -	(linux_nat_wait): Call linux_nat_async_events unconditionally.
 13.1293 -	(sigchld_handler): Adjust.
 13.1294 -	(linux_nat_async_mask): Don't set SIGCHLD actions here.
 13.1295 -	(get_pending_events): Adjust.
 13.1296 -	(linux_nat_async_events): Rewrite to handle enum sigchld_state
 13.1297 -	instead of a boolean.
 13.1298 -	(linux_nat_async): Adjust.
 13.1299 -	(_initialize_linux_nat): Capture default SIGCHLD action into
 13.1300 -	sigchld_default_action.
 13.1301 -
 13.1302 -2008-06-28  Vladimir Prus  <vladimir@codesourcery.com>
 13.1303 -
 13.1304 -	* breakpoint.c (moribund_locations): New.
 13.1305 -	(bpstat_stop_status): Process moribund locations.
 13.1306 -	(update_global_location_list): Add removed
 13.1307 -	locations to moribund_locations.
 13.1308 -	(breakpoint_retire_moribund): New.
 13.1309 -	* breakpoint.h (struct bp_location): New field
 13.1310 -	events_till_retirement.
 13.1311 -	(breakpoint_retire_moribund): Declare.
 13.1312 -	* thread.c (thread_count): New.
 13.1313 -	* infrun.c (handle_inferior_event): Call
 13.1314 -	breakpoint_retire_moribund.
 13.1315 -	* gdbthread.h (thread_count): Declare.
 13.1316 -
 13.1317 -2008-06-27  Joseph Myers  <joseph@codesourcery.com>
 13.1318 -
 13.1319 -	* dfp.c (decimal_convert): Call match_endianness before and after
 13.1320 -	conversion.
 13.1321 -
 13.1322 -2008-06-27  Jonathan Larmour  <jifl@eCosCentric.com>
 13.1323 -
 13.1324 -	* remote.c (remote_insert_breakpoint): Ensure that if Z0
 13.1325 -	unsupported and we fall back to memory_insert_breakpoint, we
 13.1326 -	use the unmodified requested address.
 13.1327 -
 13.1328 -2008-06-27  Joel Brobecker  <brobecker@adacore.com>
 13.1329 -
 13.1330 -	* dwarf2read.c (read_attribute_value): Issue a complaint when
 13.1331 -	adjusting size attribute values of 0xffffffff as zero.
 13.1332 -
 13.1333 -2008-06-27  Joseph Myers  <joseph@codesourcery.com>
 13.1334 -
 13.1335 -	* i386-tdep.c (i386_16_byte_align_p): New.
 13.1336 -	(i386_push_dummy_call): Determine stack space required for
 13.1337 -	arguments going forwards allowing for 16-byte alignment, then push
 13.1338 -	arguments going forwards.
 13.1339 -
 13.1340 -2008-06-27  Pedro Alves  <pedro@codesourcery.com>
 13.1341 -
 13.1342 -	* infrun.c (start_remote): Don't clear thread list here.
 13.1343 -	* monitor.c (monitor_open): Include "gdbthread.h".  Clear thread
 13.1344 -	list here.
 13.1345 -	* remote.c (record_currthread): Upgrade the main thread and its
 13.1346 -	entry in the thread list if this is the first time we hear about
 13.1347 -	threads.
 13.1348 -	(remote_thread_alive): Consider magic_null_ptid or a ptid without
 13.1349 -	a tid member always alive.
 13.1350 -	(remote_find_new_threads): Don't update the main thread here.
 13.1351 -	(remote_start_remote): Clear thread list here.  Always add the
 13.1352 -	main thread.
 13.1353 -	(extended_remote_attach_1): Add the main thread here.
 13.1354 -	(extended_remote_mourn_1): Re-add the main thread here.
 13.1355 -	(extended_remote_create_inferior_1): Add a main thread.
 13.1356 -
 13.1357 -	* Makefile.in (monitor.o): Depend on $(gdbthread_h).
 13.1358 -
 13.1359 -2008-06-27  Pedro Alves  <pedro@codesourcery.com>
 13.1360 -
 13.1361 -	Use ptid_t.tid to store thread ids instead of ptid_t.pid.
 13.1362 -
 13.1363 -	* remote.c (magic_null_ptid, not_sent_ptid, any_thread_ptid): New
 13.1364 -	globals.
 13.1365 -	(general_thread, continue_thread): Change type to ptid_t.
 13.1366 -	(record_currthread): Take a ptid_t parameter instead of an
 13.1367 -	integer.
 13.1368 -	(MAGIC_NULL_PID): Delete.
 13.1369 -	(set_thread): Take a ptid_t parameter and adjust.
 13.1370 -	(set_general_thread, set_continue_thread): New.
 13.1371 -	(remote_thread_alive, remote_newthread_step)
 13.1372 -	(remote_current_thread, remote_find_new_threads)
 13.1373 -	(remote_threads_info, remote_start_remote, remote_vcont_resume)
 13.1374 -	(remote_resume_1, remote_wait, extended_remote_create_inferior_1)
 13.1375 -	(threadalive_test, remote_pid_to_str)
 13.1376 -	(remote_get_thread_local_address): Adjust.
 13.1377 -	(_initialize_remote): Initialize magic_null_ptid, not_sent_ptid
 13.1378 -	and any_thread_ptid.
 13.1379 -
 13.1380 -2008-06-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
 13.1381 -
 13.1382 -	* configure.ac (--enable-tui): AC_MSG_ERROR for explicit --enable-tui.
 13.1383 -	* configure: Regenerated.
 13.1384 -
 13.1385 -2008-06-26  Joel Brobecker  <brobecker@adacore.com>
 13.1386 -
 13.1387 -	* dwarf2read.c (read_attribute_value): Treat size attribute
 13.1388 -	values of 0xffffffff as if the attribute value was zero.
 13.1389 -
 13.1390 -2008-06-26  Vladimir Prus  <vladimir@codesourcery.com>
 13.1391 -
 13.1392 -	* linux-nat.c: Add description of overall logic.
 13.1393 -
 13.1394 -2008-06-26  Daniel Jacobowitz  <dan@codesourcery.com>
 13.1395 -
 13.1396 -	* Makefile.in (GNULIB_H): Use GNULIB_STDINT_H.
 13.1397 -	(gdb_stdint_h, gdb_stdint.h, stamp-int): Delete.  Remove
 13.1398 -	all dependencies on $(gdb_stdint_h).
 13.1399 -	(distclean): Do not delete gdb_stdint.h.
 13.1400 -	* acinclude.m4: Do not use stdint.m4.
 13.1401 -	* configure.ac: Set GNULIB_STDINT_H.  Remove tests for stdint.h,
 13.1402 -	uintptr_t, and gdb_stdint.h.
 13.1403 -	* defs.h: Include <stdint.h>.
 13.1404 -	* gdb_thread_db.h: Assume stdint.h is already included.
 13.1405 -	* breakpoint.c, findcmd.c, hppa-tdep.c, inf-ptrace.c, proc-service.c,
 13.1406 -	rs6000-nat.c, spu-linux-nat.c, target.c, win32-nat.c: Do not
 13.1407 -	include gdb_stdint.h.
 13.1408 -	* configure, config.in: Regenerate.
 13.1409 -
 13.1410 -2008-06-26  Joseph Myers  <joseph@codesourcery.com>
 13.1411 -
 13.1412 -	* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Handle passing
 13.1413 -	decimal floating-point values in GPRs for soft-float.
 13.1414 -	(do_ppc_sysv_return_value): Handle returning decimal
 13.1415 -	floating-point values in GPRs for soft-float.
 13.1416 -
 13.1417 -2008-06-26  Vladimir Prus  <vladimir@codesourcery.com>
 13.1418 -
 13.1419 -	* target.c (target_read_until_error): New.
 13.1420 -	* target.h (target_read_until_error): Declare.
 13.1421 -	* mi/mi-main.c (mi_cmd_data_read_memory): Use
 13.1422 -	target_read_until_error.
 13.1423 -
 13.1424 -2008-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
 13.1425 -
 13.1426 -	Fix a memory leak found by Hui Zhu <teawater@gmail.com>.
 13.1427 -	* c-exp.y (parse_number): Move the S and SAVED_CHAR initialization
 13.1428 -	after the DECFLOAT detection to fix a memory leak.  Remove the
 13.1429 -	redundant NUM initialization.  Protect the DECFLOAT detection memory
 13.1430 -	access before the P block.  Restore the P memory content for the
 13.1431 -	DECFLOAT detection.
 13.1432 -
 13.1433 -2008-06-25  Vladimir Prus  <vladimir@codesourcery.com>
 13.1434 -
 13.1435 -	Kill the return value for all MI command functions.
 13.1436 -	* mi/mi-cmds.h (enum mi_cmd_result): Remove.
 13.1437 -	(mi_cmd_argv_ftype): Change return type to void.
 13.1438 -
 13.1439 -	* mi/mi-main.c: Adjust all function that implement
 13.1440 -	MI commands to return nothing.
 13.1441 -	(struct captured_mi_execute_command_actions):
 13.1442 -	Remove the rc field.
 13.1443 -	(mi_cmd_execute): Return nothing.
 13.1444 -	(mi_execute_async_cli_command): Return nothing.
 13.1445 -	(mi_cmd_exec_interrupt): Don't print ^done here.
 13.1446 -	(mi_cmd_target_select): Don't print ^connected here.
 13.1447 -	(captured_mi_execute_command): Don't check for MI_CMD_DONE.
 13.1448 -	Special-case -target-select and output ^connected, not ^done.
 13.1449 -
 13.1450 -	* mi/mi-cmd-break.c: Adjust.
 13.1451 -	* mi/mi-cmd-disas.c: Adjust.
 13.1452 -	* mi/mi-cmd-env.c: Adjust.
 13.1453 -	* mi/mi-cmd-file.c: Adjust.
 13.1454 -	* mi/mi-cmd-stack.c: Adjust.
 13.1455 -	* mi/mi-cmd-target.c: Adjust.
 13.1456 -	* mi/mi-cmd-var.c: Adjust.
 13.1457 -	* mi/mi-interp.c: Adjust.
 13.1458 -	* mi/mi-symbol-cmds.c: Adjust.
 13.1459 -
 13.1460 -2008-06-25  Vladimir Prus  <vladimir@codesourcery.com>
 13.1461 -
 13.1462 -	Emit ^running via observer.
 13.1463 -	* mi/mi-interp.c (mi_cmd_interpreter_exec): Do no print
 13.1464 -	^running here.
 13.1465 -	(mi_on_resume): Print ^running if not previously output.
 13.1466 -	* mi/mi-main.c (running_result_record_printed): New.
 13.1467 -	(captured_mi_execute_command): Reset
 13.1468 -	running_result_record_printed.  Use running_result_record_printed
 13.1469 -	to decide if we should skip ^done.
 13.1470 -	(mi_execute_async_cli_command): Don't print ^running here.
 13.1471 -	* mi/mi-main.h (current_token, running_result_record_printed):
 13.1472 -	Declare.
 13.1473 -
 13.1474 -2008-06-24  Michael Snyder  <msnyder@specifix.com>
 13.1475 -
 13.1476 -	* infrun.c (_initialize_infrun): White space and typo fix.
 13.1477 -
 13.1478 -2008-06-23  Christopher Faylor  <me.gdb.changelog@cgf.cx>
 13.1479 -
 13.1480 -	* win32-nat.c (safe_symbol_file_add_stub): Remove unused variable.
 13.1481 -	(do_initial_win32_stuff): Fix problem with inability to set breakpoints
 13.1482 -	when first loading DLL with "dll" command.
 13.1483 -
 13.1484 -2008-06-19  Pierre Muller  <muller@ics.u-strasbg.fr>
 13.1485 -
 13.1486 -	* gnu-nat.c (proc_string): Use capital T for "Thread".
 13.1487 -
 13.1488 -2008-06-19  Pierre Muller  <muller@ics.u-strasbg.fr>
 13.1489 -
 13.1490 -	* win32-nat.c (win32_pid_to_str): Use capital T for "Thread".
 13.1491 -
 13.1492 -2008-06-18  Joel Brobecker  <brobecker@adacore.com>
 13.1493 -
 13.1494 -	* solib-osf.c (osf_solib_create_inferior_hook): Do nothing if
 13.1495 -	the target cannot run.
 13.1496 -
 13.1497 -2008-06-18  Joel Brobecker  <brobecker@adacore.com>
 13.1498 -
 13.1499 -	* solib-osf.c (osf_solib_create_inferior_hook): Do nothing if
 13.1500 -	we're attaching to a running process.
 13.1501 -
 13.1502 -2008-06-18  Pierre Muller  <muller@ics.u-strasbg.fr>
 13.1503 -
 13.1504 -	* win32-nat.c (handle_load_dll): Give dll name and load address
 13.1505 -	if debug_events is on.
 13.1506 -	(handle_unload_dll): Likewise.
 13.1507 -
 13.1508 -2008-06-14  Vladimir Prus  <vladimir@codesourcery.com>
 13.1509 -
 13.1510 -	Don't suppress *running when doing finish.
 13.1511 -	* infcall.c (call_function_by_hand): Set both
 13.1512 -	suppress_resume_observer and suppress_stop_observer.
 13.1513 -	* infcmd.c (suppress_run_stop_observers): Split into...
 13.1514 -	(suppress_resume_observer, suppress_stop_observer): ...those.
 13.1515 -	(finish_command_continuation): Clear suppress_stop_observer.
 13.1516 -	(finish_command): Set suppress_stop_observer.
 13.1517 -	* inferior.h (suppress_run_stop_observers): Split into...
 13.1518 -	(suppress_resume_observer, suppress_stop_observer): ...those.
 13.1519 -	* infrun.c (normal_stop): Check for suppress_stop_observer.
 13.1520 -	* thread.c (set_running): Check for suppress_resume_observer.
 13.1521 -
 13.1522 -2008-06-12  Pedro Alves  <pedro_alves@portugalmail.pt>
 13.1523 -	    Pierre Muller  <muller@ics.u-strasbg.fr>
 13.1524 -
 13.1525 -	* gdbarch.sh (gdbarch_skip_main_prologue): New.
 13.1526 -	* gdbarch.h, gdbarch.c: Regenerate.
 13.1527 -	* i386-tdep.h (i386_skip_main_prologue): Declare.
 13.1528 -	* i386-tdep.c (i386_skip_main_prologue): New.
 13.1529 -	* i386-cygwin-tdep.c (i386_cygwin_init_abi): Register
 13.1530 -	i386_skip_main_prologue as gdbarch_skip_main_prologue gdbarch callback.
 13.1531 -	* symtab.c (find_function_start_sal): When pc points at the "main"
 13.1532 -	function, call gdbarch_skip_main_prologue.
 13.1533 -
 13.1534 -2008-06-11  Daniel Jacobowitz  <dan@codesourcery.com>
 13.1535 -
 13.1536 -	* value.c (value_primitive_field): Fetch lazy register values.
 13.1537 -
 13.1538 -2008-06-11  Pedro Alves  <pedro@codesourcery.com>
 13.1539 -
 13.1540 -	* NEWS: Mention support removal of undocumented S AA p PID stop
 13.1541 -	reply packet.
 13.1542 -
 13.1543 -	* remote.c (remote_wait): Remove undocumented S AA p PID support.
 13.1544 -
 13.1545 -2008-06-10  Stan Shebs  <stan@codesourcery.com>
 13.1546 -
 13.1547 -	* MAINTAINERS: Update my affiliation and address.
 13.1548 -
 13.1549 -2008-06-10  Andreas Schwab  <schwab@suse.de>
 13.1550 -
 13.1551 -	* top.c (print_gdb_version): Don't print final newline.
 13.1552 -
 13.1553 -2008-06-10  Vladimir Prus  <vladimir@codesourcery.com>
 13.1554 -
 13.1555 -	Implement *running.
 13.1556 -	* Makefile.in: Update dependencies.
 13.1557 -	* gdbthread.h (struct thread_info): New field
 13.1558 -	running_.
 13.1559 -	(set_running, is_running): New.
 13.1560 -	* thread.c (set_running, is_running): New.
 13.1561 -	* inferior.h (suppress_normal_stop_observer): Rename to...
 13.1562 -	(suppress_run_stop_observers): ..this.
 13.1563 -	* infcmd.c (suppress_normal_stop_observer): Rename to...
 13.1564 -	(suppress_run_stop_observers): ..this.
 13.1565 -	(finish_command_continuation, finish_command): Adjust.
 13.1566 -	* infcall.c (call_function_by_hand): Adjust.
 13.1567 -	* infrun.c (normal_stop): Call set_running.
 13.1568 -	* target.c (target_resume): New.  Call set_running.
 13.1569 -	* target.h (target_resume): Convert from macro to
 13.1570 -	a function.
 13.1571 -
 13.1572 -	* mi/mi-interp.c (mi_on_resume): New.
 13.1573 -	(mi_interpreter_init): Register mi_on_resume.
 13.1574 -
 13.1575 -2008-06-10  Vladimir Prus  <vladimir@codesourcery.com>
 13.1576 -
 13.1577 -	Use observers to report stop events in MI.
 13.1578 -	* mi/mi-interp.c (mi_on_normal_stop): New.
 13.1579 -	(mi_interpreter_init): Register mi_on_normal_stop.
 13.1580 -	(mi_interpreter_exec_continuation): Remove.
 13.1581 -	(mi_cmd_interpreter_exec): Don't register the above.
 13.1582 -	* mi/mi-main.c (captured_mi_execute_command): Don't care
 13.1583 -	about sync_execution.
 13.1584 -	(mi_execute_async_cli_command): Don't install continuation.  Don't
 13.1585 -	print *stopped.
 13.1586 -	(mi_exec_async_cli_cmd_continuation): Remove.
 13.1587 -
 13.1588 -2008-06-10  Vladimir Prus  <vladimir@codesourcery.com>
 13.1589 -
 13.1590 -	Suppress normal stop observer when it's problematic.
 13.1591 -	* inferior.h (suppress_normal_stop_observer): New.
 13.1592 -	* infcall.c (call_function_by_hand): Disable stop events when
 13.1593 -	doing function calls.
 13.1594 -	* infmcd.c (suppress_normal_stop_observer): New.
 13.1595 -	(finish_command_continuation): Call normal_stop observer
 13.1596 -	explicitly.
 13.1597 -	(finish_command): Disable stop events inside proceed.
 13.1598 -	* infrun.c (normal_stop): Don't call normal stop observer if
 13.1599 -	suppressed of if multi-step is in progress.
 13.1600 -
 13.1601 -2008-06-10  Vladimir Prus  <vladimir@codesourcery.com>
 13.1602 -
 13.1603 -	Remove stale code.
 13.1604 -	* infrun.c (finish_command): Don't pass cleanup
 13.1605 -	to continuation.
 13.1606 -	(finish_command_continuation): Don't grab cleanup from
 13.1607 -	the passed data, as we don't use, and cannot, use it anyway.
 13.1608 -
 13.1609 -2008-06-10  Vladimir Prus  <vladimir@codesourcery.com>
 13.1610 -
 13.1611 -	Introduce common cleanup for restoring integers.
 13.1612 -	* defs.h (make_cleanup_restore_integer): New declaration.
 13.1613 -	(struct cleanup): New field free_arg.
 13.1614 -	(make_my_cleanup_2): New.
 13.1615 -	* utils.c (restore_integer_closure, restore_integer)
 13.1616 -	(make_cleanup_restore_integer): New.
 13.1617 -	(make_my_cleanup): Initialize the free_arg field and
 13.1618 -	renamed to make_my_cleanup_2.
 13.1619 -	(do_my_cleanups): Call free_arg.
 13.1620 -	(discard_cleanups): Call free_arg.
 13.1621 -	* breakpoint.c (restore_always_inserted_mode): Remove.
 13.1622 -	(update_breakpoints_after_exec): Use make_cleanup_restore_integer.
 13.1623 -
 13.1624 -2008-06-09  Doug Evans  <dje@google.com>
 13.1625 -
 13.1626 -	* remote.c (remote_wait): Include beginning of malformed packet
 13.1627 -	in error output.
 13.1628 -
 13.1629 -2008-06-09  Tom Tromey  <tromey@redhat.com>
 13.1630 -
 13.1631 -	* completer.c (complete_line): Don't special-case
 13.1632 -	expression_completer.
 13.1633 -	(expression_completer): Only pass last word to
 13.1634 -	location_completer.
 13.1635 -	* c-exp.y (yylex): Check 'token', not 'operator'.
 13.1636 -
 13.1637 -2008-06-09  Daniel Jacobowitz  <dan@codesourcery.com>
 13.1638 -
 13.1639 -	* configure.ac (build_warnings): Add -Wno-format for mingw.
 13.1640 -	* configure: Regenerated.
 13.1641 -
 13.1642 -2008-06-07  Daniel Jacobowitz  <dan@codesourcery.com>
 13.1643 -
 13.1644 -	* NEWS: Make indentation consistent.  Move exec tracing entry out
 13.1645 -	of remote packet list.
 13.1646 -
 13.1647 -2008-06-06  Tom Tromey  <tromey@redhat.com>
 13.1648 -
 13.1649 -	* value.h (evaluate_subexpression_type, extract_field_op):
 13.1650 -	Declare.
 13.1651 -	* printcmd.c (_initialize_printcmd): Use expression_completer for
 13.1652 -	'p', 'inspect', 'call'.
 13.1653 -	* parser-defs.h (parse_field_expression): Declare.
 13.1654 -	* parse.c: Include exceptions.h.
 13.1655 -	(in_parse_field, expout_last_struct): New globals.
 13.1656 -	(mark_struct_expression): New function.
 13.1657 -	(prefixify_expression): Return int.
 13.1658 -	(prefixify_subexp): Return int.  Use expout_last_struct.
 13.1659 -	(parse_exp_1): Update.
 13.1660 -	(parse_exp_in_context): Add 'out_subexp' argument.  Handle
 13.1661 -	in_parse_field.
 13.1662 -	(parse_field_expression): New function.
 13.1663 -	* expression.h (parse_field_expression): Declare.
 13.1664 -	(in_parse_field): Likewise.
 13.1665 -	* eval.c (evaluate_subexpression_type): New function.
 13.1666 -	(extract_field_op): Likewise.
 13.1667 -	* completer.h (expression_completer): Declare.
 13.1668 -	* completer.c (expression_completer): New function.
 13.1669 -	(count_struct_fields, add_struct_fields): New functions.
 13.1670 -	* c-exp.y (yyparse): Redefine.
 13.1671 -	(COMPLETE): New token.
 13.1672 -	(exp): New productions.
 13.1673 -	(saw_name_at_eof, last_was_structop): New globals.
 13.1674 -	(yylex): Return COMPLETE when needed.  Recognize in_parse_field.
 13.1675 -	(c_parse): New function.
 13.1676 -	* breakpoint.c (_initialize_breakpoint): Use expression_completer
 13.1677 -	for watch, awatch, and rwatch.
 13.1678 -	* Makefile.in (parse.o): Depend on exceptions_h.
 13.1679 -
 13.1680 -2008-06-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
 13.1681 -
 13.1682 -	PR gdb/1147
 13.1683 -	* gdb/valopts.c (find_overload_match): Handle references
 13.1684 -	to pointers.
 13.1685 -
 13.1686 -2008-06-06  Paul N. Hilfinger  <hilfinger@adacore.com>
 13.1687 -
 13.1688 -	* ada-lang.c (ada_value_assign): Correct big-endian case to take into
 13.1689 -	account the bitsize of the 'from' operand.
 13.1690 -
 13.1691 -2008-06-06  Pedro Alves  <pedro@codesourcery.com>
 13.1692 -
 13.1693 -	* annotate.h (annotate_thread_changed): Declare.
 13.1694 -
 13.1695 -2008-06-06  Nick Roberts  <nickrob@snap.net.nz>
 13.1696 -
 13.1697 -	* annotate.c (annotate_thread_changed): New function.
 13.1698 -	* thread.c (thread_command) : Use it.
 13.1699 -	* infrun.c (normal_stop): Use it.
 13.1700 -
 13.1701 -2008-06-05  Vladimir Prus  <vladimir@codesourcery.com>
 13.1702 -	    Nathan Sidwell  <nathan@codesourcery.com>
 13.1703 -	    Joseph Myers  <joseph@codesourcery.com>
 13.1704 -
 13.1705 -	* acinclude.m4: Include ../config/acx.m4.
 13.1706 -	* configure.ac: Use ACX_PKGVERSION and ACX_BUGURL.
 13.1707 -	* configure, config.in: Regenerate.
 13.1708 -	* main.c (print_gdb_help): Use REPORT_BUGS_TO for bug-reporting
 13.1709 -	address.
 13.1710 -	* top.c (print_gdb_version): Use PKGVERSION and REPORT_BUGS_TO.
 13.1711 -
 13.1712 -2008-06-05  Pedro Alves  <pedro@codesourcery.com>
 13.1713 -
 13.1714 -	Replace 'target async' by 'maintenance set remote-async' and
 13.1715 -	'target remote' combination.
 13.1716 -
 13.1717 -	* remote.c (remote_async_wait): Merge into remote_wait, and
 13.1718 -	remove.
 13.1719 -	(remote_async_permitted, remote_async_permitted_set): New
 13.1720 -	variables.
 13.1721 -	(set_maintenance_remote_async_permitted)
 13.1722 -	(show_maintenance_remote_async_permitted): New functions.
 13.1723 -	(remote_async_ops, extended_async_remote_ops): Delete.
 13.1724 -	(remote_async_open, extended_remote_async_open): Delete.
 13.1725 -	(remote_open_1): Drop async_p parameter.  Update callers.  Replace
 13.1726 -	async_p with remote_async_permitted checks.
 13.1727 -	(extended_async_remote_attach): Delete.
 13.1728 -	(remote_resume, remote_async_resume): Merge and leave remote_resume.
 13.1729 -	(remote_async_terminal_inferior): Rename to...
 13.1730 -	(remote_terminal_inferior): ... this, and add
 13.1731 -	remote_async_termitted check.
 13.1732 -	(remote_async_terminal_ours): Rename to...
 13.1733 -	(remote_terminal_ours): ... this, and add remote_async_termitted
 13.1734 -	check.
 13.1735 -	(remote_wait, remote_async_wait): Merge and leave remote_wait
 13.1736 -	only.
 13.1737 -	(remote_kill, remote_async_kill): Merge and leave remote_kill
 13.1738 -	only.
 13.1739 -	(remote_async_mourn, extended_async_remote_mourn): Delete.
 13.1740 -	(extended_remote_create_inferior_1): Drop async_p parameter.
 13.1741 -	Update callers.  Always use extended_remote_ops.
 13.1742 -	(extended_remote_async_create_inferior): Delete.
 13.1743 -	(remote_return_zero): Delete.
 13.1744 -	(init_remote_ops): Register remote_can_async_p, remote_async,
 13.1745 -	remote_async_mask, remote_terminal_inferior and
 13.1746 -	remote_terminal_ours.
 13.1747 -	(remote_can_async_p, remote_is_async_p): Check for
 13.1748 -	remote_async_permitted.
 13.1749 -	(init_remote_async_ops, init_extended_async_remote_ops): Remove.
 13.1750 -	(set_remote_cmd): Don't add async and extended-async targets.
 13.1751 -	(_initialize_remote): Add set/show remote-async maintenance
 13.1752 -	commands.
 13.1753 -
 13.1754 -2008-06-05  Pedro Alves  <pedro@codesourcery.com>
 13.1755 -
 13.1756 -	* remote.c (kill_kludge): Delete.
 13.1757 -	(remote_wait, remote_async_wait): Don't set it.
 13.1758 -	(remote_kill, remote_async_kill): Don't do anything with it.
 13.1759 -
 13.1760 -2008-06-05  Pedro Alves  <pedro@codesourcery.com>
 13.1761 -
 13.1762 -	* linux-thread-db.c (thread_db_wait): Don't trim event ptid.
 13.1763 -
 13.1764 -2008-06-05  Aleksandar Ristovski  <aristovski@qnx.com>
 13.1765 -
 13.1766 -	* bcache.c (bcache_data): Call deprecated_bcache_added function.
 13.1767 -	(deprecated_bcache_added): New function name. Body of function
 13.1768 -	bcache_data is used here with the addition of 'added' argument.
 13.1769 -	* bcache.h (deprecated_bcache_added): New function.
 13.1770 -	* symfile.c (add_psymbol_to_bcache): New helper function, takes part of
 13.1771 -	work from add_psymbol_to_list - initialises partial symbol and stashes
 13.1772 -	it in objfile's cache.
 13.1773 -	(append_psymbol_to_list): New helper function, takes other part of
 13.1774 -	work from add_psymbol_to_list - adds partial symbol to the given list.
 13.1775 -	(add_psymbol_to_list): Call helper functions instead of doing work
 13.1776 -	here. If adding to global list, do not duplicate partial symbols in the
 13.1777 -	partial symtab.
 13.1778 -
 13.1779 -2008-06-05  Aleksandar Ristovski  <aristovski@qnx.com>
 13.1780 -
 13.1781 -	* breakpoint.c (print_exception_catchpoint): Put 'exception' back to
 13.1782 -	'exception caught|thrown' message.
 13.1783 -
 13.1784 -2008-06-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
 13.1785 -
 13.1786 -	* Makefile.in: Update dependencies.
 13.1787 -	* dwarf2expr.c: New include "gdb_assert.h".
 13.1788 -	(new_dwarf_expr_context): Initialize MAX_RECURSION_DEPTH.
 13.1789 -	(dwarf_expr_eval): Sanity check the RECURSION_DEPTH count.
 13.1790 -	(execute_stack_op): Error out on too large RECURSION_DEPTH.
 13.1791 -	Increase/decrease RECURSION_DEPTH around the function.
 13.1792 -
 13.1793 -2008-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
 13.1794 -
 13.1795 -	* remote.c (get_offsets): Handle a single segment.
 13.1796 -	* symfile.c (symfile_map_offsets_to_segments): Allow more bases
 13.1797 -	than segments.
 13.1798 -
 13.1799 -2008-06-03  Daniel Jacobowitz  <dan@codesourcery.com>
 13.1800 -
 13.1801 -	* solib-svr4.c (struct lm_info): Add lm_addr.
 13.1802 -	(main_lm_addr): New.
 13.1803 -	(svr4_default_sos): Set lm_addr.
 13.1804 -	(svr4_current_sos): Set lm_addr and main_lm_addr.
 13.1805 -	(svr4_fetch_objfile_link_map): Rewrite.
 13.1806 -	(svr4_clear_solib): Clear main_lm_addr.
 13.1807 -
 13.1808 -2008-06-03  Michael Snyder  <msnyder@redhat.com>
 13.1809 -	    Joseph Myers  <joseph@codesourcery.com>
 13.1810 -
 13.1811 -	* mips-tdep.c (mips_eabi_return_value): Replace stub that always
 13.1812 -	returned RETURN_VALUE_STRUCT_CONVENTION with a real function.
 13.1813 -
 13.1814 -2008-06-02  Roman Zippel <zippel@linux-m68k.org>
 13.1815 -
 13.1816 -	* m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Fix incorrect test.
 13.1817 -
 13.1818 -2008-06-02  Roman Zippel <zippel@linux-m68k.org>
 13.1819 -
 13.1820 -	* m68k-tdep.c (m68k_analyze_prologue): Fix length of lea insn.
 13.1821 -
 13.1822 -2008-06-01  Joel Brobecker  <brobecker@adacore.com>
 13.1823 -
 13.1824 -	* rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Do not
 13.1825 -	treat pointers in data space as function descriptors if the
 13.1826 -	target address is also in the data space.
 13.1827 -
 13.1828 -2008-05-30  Joel Brobecker  <brobecker@adacore.com>
 13.1829 -
 13.1830 -	* alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Set
 13.1831 -	the trad-frame register value for the SP register.
 13.1832 -
 13.1833 -2008-05-29  Mark Kettenis  <kettenis@gnu.org>
 13.1834 -
 13.1835 -	* sparcnbsd-tdep.c, sparcobsd-tdep.c: Update for unwinder changes.
 13.1836 -
 13.1837 -2008-05-28  Joel Brobecker  <brobecker@adacore.com>
 13.1838 -
 13.1839 -	* ia64-tdep.c (ia64_convert_from_func_ptr_addr): Improve the heuristic
 13.1840 -	that identifies function descriptors outside of the .opd section.
 13.1841 -
 13.1842 -2008-05-28  Aleksandar Ristovski  <aristovski@qnx.com>
 13.1843 -
 13.1844 -	* breakpoint.c (print_exception_catchpoint): In CLI add 'Temporary' for
 13.1845 -	temporary catchpoints.  In MI add missing fields 'reason', 'disp',
 13.1846 -	'bkptno'.
 13.1847 -	(print_mention_exception_catchpoint): Add 'Temporary' for temporary
 13.1848 -	catchpoints.
 13.1849 -	(handle_gnu_v3_exceptions): Use tempflag.
 13.1850 -
 13.1851 -2008-05-28  Vladimir Prus  <vladimir@codesourcery.com>
 13.1852 -
 13.1853 -	Refactor varobj_update interface.
 13.1854 -	* varobj.c (varobj_update): Report changes as vector.  Also
 13.1855 -	return not just a list of varobj, but a list of special structures
 13.1856 -	that tell what exactly has changed.
 13.1857 -	* varobj.h (enum varobj_update_error): Rename to
 13.1858 -	varobj_scope_status.
 13.1859 -	(struct varobj_update_result_t): New.
 13.1860 -	(varobj_update): Adjust prototype.
 13.1861 -	* mi/mi-cmd-var.c: Adjust for changes.
 13.1862 -
 13.1863 -2008-05-28  Vladimir Prus  <vladimir@codesourcery.com>
 13.1864 -
 13.1865 -	* varobj.c (varobj_update): Fix comment typo.
 13.1866 -	Fix indentation.
 13.1867 -
 13.1868 -2008-05-26  Joel Brobecker  <brobecker@adacore.com>
 13.1869 -
 13.1870 -	Set the symtab field of symbols read from ECOFF debugging entries.
 13.1871 -	* mdebugread.c (add_symbol): Add new parameter symtab.
 13.1872 -	(parse_symbol): Update calls to add_symbol throughout.
 13.1873 -
 13.1874 -2008-05-27  Andreas Schwab  <schwab@suse.de>
 13.1875 -
 13.1876 -	* symtab.h (enum address_class): Remove LOC_REGPARM and
 13.1877 -	LOC_COMPUTED_ARG.
 13.1878 -	(struct symbol): Add is_argument.
 13.1879 -	(SYMBOL_IS_ARGUMENT): Define.
 13.1880 -
 13.1881 -	* ada-lang.c (ada_add_block_symbols): Use SYMBOL_IS_ARGUMENT.
 13.1882 -	* buildsym.c (finish_block): Likewise.
 13.1883 -	* stack.c (print_frame_args, print_block_frame_locals)
 13.1884 -	(print_frame_arg_vars): Likewise.
 13.1885 -	* symtab.c (lookup_block_symbol): Likewise.
 13.1886 -	* tracepoint.c (add_local_symbols): Likewise.
 13.1887 -	* mi/mi-cmd-stack.c (list_args_or_locals): Likewise.
 13.1888 -
 13.1889 -	* coffread.c (process_coff_symbol): Set SYMBOL_IS_ARGUMENT.
 13.1890 -	* dwarf2read.c (new_symbol): Likewise.
 13.1891 -	* mdebugread.c (parse_symbol): Likewise.
 13.1892 -	* stabsread.c (define_symbol): Likewise.
 13.1893 -
 13.1894 -	* ada-exp.y (select_possible_type_sym): Don't handle LOC_REGPARM
 13.1895 -	and LOC_COMPUTED_ARG.
 13.1896 -	* ada-lang.c (resolve_subexp, symtab_for_sym): Likewise.
 13.1897 -	* ax-gdb.c (gen_var_ref): Likewise.
 13.1898 -	* eval.c (evaluate_subexp_for_address): Likewise.
 13.1899 -	* findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
 13.1900 -	* m2-exp.y (yylex): Likewise.
 13.1901 -	* printcmd.c (address_info): Likewise.
 13.1902 -	* symmisc.c (print_symbol, print_partial_symbols): Likewise.
 13.1903 -	* tracepoint.c (collect_symbol, scope_info): Likewise.
 13.1904 -
 13.1905 -2008-05-24  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
 13.1906 -
 13.1907 -	* gdbarch.sh: Added new gdbarch struct
 13.1908 -	core_regset_sections.
 13.1909 -	* gdbarch.c: Refreshed.
 13.1910 -	* gdbarch.h: Refreshed.
 13.1911 -	* regset.h (core_regset_section): Declared.
 13.1912 -	* linux-nat.c (linux_nat_do_thread_registers): Added
 13.1913 -	support for the new gdbarch struct core_regset_sections.
 13.1914 -	* utils.c (host_address_to_string): New function.
 13.1915 -	* defs.h (host_address_to_string): New prototype.
 13.1916 -	* i386-linux-tdep.c (i386_regset_rections): New register
 13.1917 -	sections list for i386.
 13.1918 -	  (i386_linux_init_abi): Initialized new gdbarch struct
 13.1919 -	  core_regset_sections.
 13.1920 -	* Makefile.in: Updated to reflect dependency changes.
 13.1921 -	* ppc-linux-tdep.c (ppc_regset_sections): Register
 13.1922 -	sections list for ppc.
 13.1923 -	  (ppc_linux_init_abi): Initialized new gdbarch struct
 13.1924 -	  core_regset_sections
 13.1925 -
 13.1926 -2008-05-24  Andreas Schwab  <schwab@suse.de>
 13.1927 -
 13.1928 -	* linespec.c (decode_objc): Save current language around call to
 13.1929 -	get_selected_block.
 13.1930 -
 13.1931 -2008-05-23  Joel Brobecker  <brobecker@adacore.com>
 13.1932 -
 13.1933 -	* valprint.h (get_array_bounds): Renames get_array_low_bound.
 13.1934 -	* valprint.c (get_array_bounds): Renames get_array_low_bound.
 13.1935 -	Return the proper bound value if the array index type is an
 13.1936 -	enumerated type. Compute the high bound if requested.
 13.1937 -	(val_print_array_elements): Handle the case when the array
 13.1938 -	element has a null size.
 13.1939 -	* ada-valprint.c (print_optional_low_bound): Add handling
 13.1940 -	for empty arrays or arrays of zero-size elements.
 13.1941 -	(ada_val_print_array): New function, extracted out from
 13.1942 -	ada_val_print_1 case TYPE_CODE_ARRAY, and enhanced to
 13.1943 -	handle empty arrays and arrays of zero-size elements.
 13.1944 -	(ada_val_print_1)[case TYPE_CODE_ARRAY]: Replace extracted-out
 13.1945 -	code by call to ada_val_print_array.
 13.1946 -	(ada_value_print): Remove handling of null array.  The handling
 13.1947 -	was incomplete and is now better handled by ada_val_print_array.
 13.1948 -
 13.1949 -2008-05-23 Markus Deuling  <deuling@de.ibm.com>
 13.1950 -
 13.1951 -	* annotate.c (annotate_source, annotate_frame_begin): Replace
 13.1952 -	deprecated_print_address_numeric with paddress.
 13.1953 -	* cli/cli-cmds.c (list_command, edit_command): Likewise.
 13.1954 -	* tui/tui-stack.c (tui_make_status_line): Likewise.
 13.1955 -
 13.1956 -	* defs.h (deprecated_print_address_numeric): Remove.
 13.1957 -	* printcmd.c (deprecated_print_address_numeric): Remove.
 13.1958 -	* maint.c (maint_print_section_info): Fix comment.
 13.1959 -
 13.1960 -2008-05-23 Markus Deuling  <deuling@de.ibm.com>
 13.1961 -
 13.1962 -	* valprint.c (print_hex_chars, print_octal_chars, print_decimal_chars,
 13.1963 -	print_binary_chars, print_char_chars): Add byte_order parameter and
 13.1964 -	replace gdbarch_byte_order.
 13.1965 -	(print_decimal_chars): Replace START_P, NOT_END_P and NEXT_P by their
 13.1966 -	expressions and remove them.  Remove unused TWO_TO_FOURTH.
 13.1967 -	(val_print_type_code_int): Introduce gdbarch_byte_order to get at the
 13.1968 -	endianness.  Update call to print_hex_chars.
 13.1969 -	* valprint.h (print_hex_chars, print_octal_chars, print_decimal_chars,
 13.1970 -	print_binary_chars, print_char_chars): Add byte_order parameter.
 13.1971 -	* printcmd.c (print_scalar_formatted): Introduce gdbarch_byte_order to
 13.1972 -	get at the endianness.  Update print_*_char calls to use byte_order.
 13.1973 -
 13.1974 -2008-05-22  Ulrich Weigand  <uweigand@de.ibm.com>
 13.1975 -
 13.1976 -	* symtab.h (struct symbol): Make "aux_value" member a void pointer
 13.1977 -	instead of a union.
 13.1978 -	(SYMBOL_LOCATION_BATON): Update.
 13.1979 -
 13.1980 -2008-05-22  Ulrich Weigand  <uweigand@de.ibm.com>
 13.1981 -
 13.1982 -	* symtab.h (enum address_class): Remove LOC_BASEREG and
 13.1983 -	LOC_BASEREG_ARG.
 13.1984 -	(struct symbol): Remove "basereg" member of "aux_value" union.
 13.1985 -	(SYMBOL_BASEREG): Remove.
 13.1986 -
 13.1987 -	* ada-exp.y (select_possible_type_sym): Do not handle LOC_BASEREG
 13.1988 -	or LOC_BASEREG_ARG.
 13.1989 -	* ada-lang.c (resolve_subexp, symtab_for_sym): Likewise.
 13.1990 -	(ada_add_block_symbols): Likewise.
 13.1991 -	* ax-gdb.c (gen_var_ref): Likewise.
 13.1992 -	* buildsym.c (finish_block): Likewise.
 13.1993 -	* findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
 13.1994 -	* m2-exp.y (yylex): Likewise.
 13.1995 -	* mi/mi-cmd-stack.c (list_args_or_locals): Likewise.
 13.1996 -	* printcmd.c (address_info): Likewise.
 13.1997 -	* stack.c (print_frame_args, print_block_frame_locals): Likewise.
 13.1998 -	(print_frame_arg_vars): Likewise.
 13.1999 -	* symmisc.c (print_symbol): Likewise.
 13.2000 -	* symtab.c (lookup_block_symbol): Likewise.
 13.2001 -	* tracepoint.c (collect_symbol, add_local_symbols): Likewise.
 13.2002 -	(scope_info): Likewise.
 13.2003 -
 13.2004 -2008-05-22  Ulrich Weigand  <uweigand@de.ibm.com>
 13.2005 -
 13.2006 -	* symtab.h (enum address_class): Remove LOC_LOCAL_ARG.
 13.2007 -
 13.2008 -	* ada-exp.y (select_possible_type_sym): Do not handle LOC_LOCAL_ARG.
 13.2009 -	* ada-lang.c (resolve_subexp, symtab_for_sym): Likewise.
 13.2010 -	(ada_add_block_symbols): Likewise.
 13.2011 -	* ax-gdb.c (gen_var_ref): Likewise.
 13.2012 -	* buildsyms.c (finish_block): Likewise.
 13.2013 -	* findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
 13.2014 -	* m2-exp.y (yylex): Likewise.
 13.2015 -	* mi/mi-cmd-stack.c (list_args_or_locals): Likewise.
 13.2016 -	* printcmd.c (address_info): Likewise.
 13.2017 -	* stack.c (print_frame_args, print_frame_arg_vars): Likewise.
 13.2018 -	* symmisc.c (print_symbol, print_partial_symbols): Likewise.
 13.2019 -	* symtab.c (lookup_block_symbol): Likewise.
 13.2020 -	* tracepoint.c (collect_symbol, add_local_symbols): Likewise.
 13.2021 -	(scope_info): Likewise.
 13.2022 -
 13.2023 -2008-05-22  Ulrich Weigand  <uweigand@de.ibm.com>
 13.2024 -
 13.2025 -	* symtab.h (enum address_class): Remove LOC_INDIRECT and
 13.2026 -	LOC_HP_THREAD_LOCAL_STATIC.
 13.2027 -
 13.2028 -	* findvar.c (symbol_read_needs_frame, read_var_value): Do not
 13.2029 -	handle LOC_INDIRECT or LOC_HP_THREAD_LOCAL_STATIC.
 13.2030 -	(read_var_value): Likewise.
 13.2031 -	* buildsym.c (finish_block): Likewise.
 13.2032 -	* objfiles.c (objfile_relocate): Likewise.
 13.2033 -	* printcmd.c (address_info): Likewise.
 13.2034 -	* symmisc.c (print_symbol, print_partial_symbols): Likewise.
 13.2035 -	* tracepoint.c (scope_info): Likewise.
 13.2036 -
 13.2037 -2008-05-21 Markus Deuling  <deuling@de.ibm.com>
 13.2038 -	   Maxim Grigoriev  <maxim2405@gmail.com>
 13.2039 -
 13.2040 -	* xtensa-tdep.c (xtensa_read_register): Remove.
 13.2041 -	(xtensa_frame_cache): Get rid of xtensa_read_register. Pass extra
 13.2042 -	argument litbase to call0_frame_cache().
 13.2043 -	(call0_track_op, call0_analyze_prologue)
 13.2044 -	(call0_frame_cache): Use extra argument litbase.
 13.2045 -
 13.2046 -2008-05-21  Joel Brobecker  <brobecker@adacore.com>
 13.2047 -
 13.2048 -	* infcmd.c (_initialize_infcmd): Add new "fin" alias for "finish".
 13.2049 -
 13.2050 -2008-05-21  Ulrich Weigand  <uweigand@de.ibm.com>
 13.2051 -
 13.2052 -	* frame.h (SIZEOF_FRAME_SAVED_REGS): Remove.
 13.2053 -
 13.2054 -2008-05-21  Ulrich Weigand  <uweigand@de.ibm.com>
 13.2055 -
 13.2056 -	* alpha-mdebug-tdep.c: Include "trad-frame.h".
 13.2057 -	(struct alpha_mdebug_unwind_cache): Change type of SAVED_REGS to
 13.2058 -	struct trad_frame_saved_reg *.
 13.2059 -	(alpha_mdebug_frame_unwind_cache): Allocate SAVED_REGS using
 13.2060 -	trad_frame_alloc_saved_regs.  Update accesses.  Record previous
 13.2061 -	value of SP as being vfp.
 13.2062 -	(alpha_mdebug_frame_prev_register): Use trad_frame_get_prev_register.
 13.2063 -	* Makefile.in (alpha-mdebug-tdep.o): Update dependencies.
 13.2064 -
 13.2065 -2008-05-21  Markus Deuling  <deuling@de.ibm.com>
 13.2066 -
 13.2067 -	* score-tdep.c (score_print_insn): Get the current endianess from
 13.2068 -	disassemble_info instead of gdbarch_byte_order.
 13.2069 -
 13.2070 -2008-05-21  Pedro Alves  <pedro@codesourcery.com>
 13.2071 -
 13.2072 -	* frame.c (get_prev_frame_1): Build frame id before setting
 13.2073 -	this_frame->prev_p, not after.
 13.2074 -
 13.2075 -2008-05-21  Nick Roberts  <nickrob@snap.net.nz>
 13.2076 -
 13.2077 -	* annotate.c (annotate_new_thread): New function for new-thread
 13.2078 -	annotation.
 13.2079 -	* annotate.h: (annotate_new_thread): New extern.
 13.2080 -	* thread.c (add_thread_with_info): Use it.
 13.2081 -	* Makefile.in (thread.o): Add dependency on annotate.h.
 13.2082 -
 13.2083 -2008-05-20  Joel Brobecker  <brobecker@adacore.com>
 13.2084 -
 13.2085 -	* win32-nat.c (win32_wait): Block the control-c event while
 13.2086 -	waiting for a debug event.
 13.2087 -
 13.2088 -2008-05-19  Pedro Alves  <pedro@codesourcery.com>
 13.2089 -
 13.2090 -	* symtab.h (lookup_symbol_in_language): Update comment.
 13.2091 -	* symtab.c (lookup_symbol_aux_block): Update comment.
 13.2092 -	* ada-lang.c (ada_lookup_symbol_list): Update comment.
 13.2093 -
 13.2094 -2008-05-19  Ulrich Weigand  <uweigand@de.ibm.com>
 13.2095 -
 13.2096 -	* symtab.h (lookup_symbol_in_language): Remove SYMTAB parameter.
 13.2097 -	(lookup_symbol): Likewise.
 13.2098 -	* symtab.c (lookup_symbol_in_language): Remove SYMTAB parameter.
 13.2099 -	(lookup_symbol): Likewise.
 13.2100 -	(search_symbols): Update.
 13.2101 -
 13.2102 -	* linespec.c (find_methods, collect_methods): Update.
 13.2103 -	(add_matching_methods, add_constructors): Update.
 13.2104 -	(decode_compound, decode_dollar, decode_variable): Update.
 13.2105 -	(lookup_prefix_sym): Update.
 13.2106 -
 13.2107 -	(symbol_found): Remove SYM_SYMTAB parameter.
 13.2108 -	Use SYMBOL_SYMTAB (sym) instead.
 13.2109 -
 13.2110 -	* gdbtypes.c (lookup_typename): Update.
 13.2111 -	(lookup_struct, lookup_union, lookup_enum): Update.
 13.2112 -	(lookup_template_type): Update.
 13.2113 -	(check_typedef): Update.
 13.2114 -	* language.c (lang_bool_type): Update.
 13.2115 -	* mdebugread.c (parse_procedure): Update.
 13.2116 -	* mi/mi-cmd-stack.c (list_args_or_locals): Update.
 13.2117 -	* parse.c (write_dollar_variable): Update.
 13.2118 -	* printcmd.c (address_info): Update.
 13.2119 -	* source.c (select_source_symtab): Update.
 13.2120 -	* stack.c (print_frame_args, print_frame_arg_vars): Update.
 13.2121 -	* valops.c (find_function_in_inferior): Update.
 13.2122 -	(value_struct_elt_for_reference): Update.
 13.2123 -	* value.c (value_static_field, value_fn_field): Update.
 13.2124 -
 13.2125 -	* alpha-mdebug-tdep.c (find_proc_desc): Update.
 13.2126 -	* arm-tdep.c (arm_skip_prologue): Update.
 13.2127 -	* mt-tdep.c (mt_skip_prologue): Update.
 13.2128 -	* xstormy16-tdep.c (xstormy16_skip_prologue): Update.
 13.2129 -
 13.2130 -	* ada-lang.h (struct ada_symbol_info): Remove SYMTAB member.
 13.2131 -	* ada-lang.c (ada_add_block_symbols): Remove SYMTAB parameter.
 13.2132 -	(add_defn_to_vec): Likewise.
 13.2133 -	(ada_add_block_symbols): Likewise.
 13.2134 -	(lookup_cached_symbol, cache_symbol): Likewise.
 13.2135 -	(standard_lookup): Update.
 13.2136 -	(ada_lookup_symbol_list): Update.
 13.2137 -
 13.2138 -	* c-valprint.c (c_val_print): Update.
 13.2139 -	* cp-support.c (cp_lookup_rtti_type): Update.
 13.2140 -	* jv-lang.c (java_lookup_class, get_java_object_type): Update.
 13.2141 -	* objc-lang.c (lookup_struct_typedef, find_imps): Update.
 13.2142 -	* p-valprint.c (pascal_val_print): Update.
 13.2143 -	* scm-lang.c (scm_lookup_name): Update.
 13.2144 -
 13.2145 -	* c-exp.y: Update.
 13.2146 -	* f-exp.y: Update.
 13.2147 -	* jv-exp.y: Update.
 13.2148 -	* m2-exp.y: Update.
 13.2149 -	* objc-exp.y: Update.
 13.2150 -	* p-exp.y: Update.
 13.2151 -
 13.2152 -2008-05-19  Ulrich Weigand  <uweigand@de.ibm.com>
 13.2153 -
 13.2154 -	* language.h (struct language_defn): Remove SYMTAB parameter from
 13.2155 -	la_lookup_symbol_nonlocal callback function pointer.
 13.2156 -
 13.2157 -	* ada-lang.h (ada_lookup_encoded_symbol): Remove SYMTAB parameter.
 13.2158 -	(ada_lookup_encoded_symbol): Likewise.
 13.2159 -	* ada-lang.c (ada_lookup_encoded_symbol): Remove SYMTAB parameter.
 13.2160 -	Always call fixup_symbol_section.
 13.2161 -	(ada_lookup_symbol): Remove SYMTAB parameter.
 13.2162 -	(ada_lookup_symbol_nonlocal): Likewise.
 13.2163 -	* ada-exp.y (write_object_renaming): Update.
 13.2164 -	(find_primitive_type): Likewise.
 13.2165 -
 13.2166 -	* cp-support.h (cp_lookup_symbol_nonlocal): Remove SYMTAB parameter.
 13.2167 -	(cp_lookup_symbol_namespace): Likewise.
 13.2168 -	* cp-namespace.c (lookup_namespace_scope): Remove SYMTAB parameter.
 13.2169 -	(lookup_symbol_file): Likewise.
 13.2170 -	(lookup_possible_namespace_symbol): Likewise.
 13.2171 -	(cp_lookup_symbol_nonlocal): Likewise.
 13.2172 -	(cp_lookup_symbol_namespace): Likewise.
 13.2173 -	(cp_lookup_nested_type): Update.
 13.2174 -
 13.2175 -	* scm-valprint.c (scm_inferior_print): Update.
 13.2176 -	* valops.c (value_maybe_namespace_elt): Update.
 13.2177 -
 13.2178 -	* solist.h (struct target_so_ops): Remove SYMTAB parameter from
 13.2179 -	lookup_lib_global_symbol callback function pointer.
 13.2180 -	(solib_global_lookup): Remove SYMTAB parameter.
 13.2181 -	* solib.c (solib_global_lookup): Remove SYMTAB parameter.
 13.2182 -	* solib-svr4.c (elf_lookup_lib_symbol): Likewise.
 13.2183 -
 13.2184 -	* symtab.h (basic_lookup_symbol_nonlocal): Remove SYMTAB parameter.
 13.2185 -	(lookup_symbol_static): Likewise.
 13.2186 -	(lookup_symbol_global): Likewise.
 13.2187 -	(lookup_symbol_aux_block): Likewise.
 13.2188 -	(lookup_global_symbol_from_objfile): Likewise.
 13.2189 -	* symtab.c (lookup_symbol_aux): Remove SYMTAB parameter.
 13.2190 -	(lookup_symbol_aux_local): Likewise.
 13.2191 -	(lookup_symbol_aux_block): Likewise.
 13.2192 -	(lookup_symbol_aux_symtabs): Likewise.
 13.2193 -	(lookup_symbol_aux_psymtabs): Likewise.
 13.2194 -	(lookup_global_symbol_from_objfile): Likewise.
 13.2195 -	(basic_lookup_symbol_nonlocal): Likewise.
 13.2196 -	(lookup_symbol_static): Likewise.
 13.2197 -	(lookup_symbol_global): Likewise.
 13.2198 -
 13.2199 -	(lookup_symbol_in_language): Do not pass SYMTAB to lookup_symbol_aux.
 13.2200 -
 13.2201 -2008-05-17  Pedro Alves  <pedro@codesourcery.com>
 13.2202 -
 13.2203 -	* remote.c (init_extended_remote_ops): Fix typo.
 13.2204 -
 13.2205 -2008-05-16  Pedro Alves  <pedro@codesourcery.com>
 13.2206 -
 13.2207 -	* NEWS: Mention new DICOS x86 target configuration.
 13.2208 -
 13.2209 -2008-05-16  Pedro Alves  <pedro@codesourcery.com>
 13.2210 -	    Ulrich Weigand  <uweigand@de.ibm.com>
 13.2211 -
 13.2212 -	* minsyms.c (lookup_minimal_symbol_by_pc_name): New function.
 13.2213 -	* symtab.h (lookup_minimal_symbol_by_pc_name): Add prototype.
 13.2214 -
 13.2215 -	* symtab.c (fixup_section): Remove prototype.  Add ADDR parameter;
 13.2216 -	use it instead of ginfo->value.address.  Look up minimal symbol by
 13.2217 -	address and name.  Assume OBJFILE is non-NULL.
 13.2218 -	(fixup_symbol_section): Ensure we always have an objfile to look
 13.2219 -	into.  Extract and pass to fixup_section the symbol's address that
 13.2220 -	will match the minimal symbol's address.
 13.2221 -	(fixup_psymbol_section): Likewise.
 13.2222 -
 13.2223 -	(find_pc_sect_psymtab): Fall back to non-addrmap case when debugging
 13.2224 -	overlays and the addrmap returned the wrong section.
 13.2225 -
 13.2226 -	* dwarf2read.c (var_decode_location): Set SYMBOL_CLASS before
 13.2227 -	calling fixup_symbol_section.
 13.2228 -
 13.2229 -2008-05-16  Ulrich Weigand  <uweigand@de.ibm.com>
 13.2230 -
 13.2231 -	* minsyms.c: Include "target.h".
 13.2232 -	(find_solib_trampoline_target): Handle minimal symbols pointing
 13.2233 -	to function descriptors as well.
 13.2234 -	* Makefile.in (minsyms.o): Update dependencies.
 13.2235 -
 13.2236 -	* ppc-linux-tdep.c (ppc64_standard_linkage): Rename to ...
 13.2237 -	(ppc64_standard_linkage1): ... this.  Fix optional instructions.
 13.2238 -	(PPC64_STANDARD_LINKAGE_LEN): Rename to ...
 13.2239 -	(PPC64_STANDARD_LINKAGE1_LEN): ... this.
 13.2240 -	(ppc64_standard_linkage2, ppc64_standard_linkage3): New.
 13.2241 -	(PPC64_STANDARD_LINKAGE2_LEN, PPC64_STANDARD_LINKAGE3_LEN): New.
 13.2242 -	(ppc64_standard_linkage_target): Rename to ...
 13.2243 -	(ppc64_standard_linkage1_target): ... this.
 13.2244 -	(ppc64_standard_linkage2_target, ppc64_standard_linkage3_target): New.
 13.2245 -	(ppc64_skip_trampoline_code): Support three variants of standard
 13.2246 -	linkage stubs.  Call find_solib_trampoline_target to handle
 13.2247 -	glink stubs.
 13.2248 -
 13.2249 -2008-05-16  Ulrich Weigand  <uweigand@de.ibm.com>
 13.2250 -
 13.2251 -	* ppc-linux-tdep.c (ppc_linux_init_abi): Do not install
 13.2252 -	ppc64_sysv_abi_adjust_breakpoint_address.
 13.2253 -	* ppc-sysv-tdep.c (ppc64_sysv_abi_adjust_breakpoint_address): Remove.
 13.2254 -	* ppc-tdep.h (ppc64_sysv_abi_adjust_breakpoint_address): Remove.
 13.2255 -
 13.2256 -2008-05-16  Ulrich Weigand  <uweigand@de.ibm.com>
 13.2257 -
 13.2258 -	* ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Remove.
 13.2259 -	(ppc_linux_init_abi): Install find_solib_trampoline_target instead
 13.2260 -	of ppc_linux_skip_trampoline_code.
 13.2261 -
 13.2262 -2008-05-15  Daniel Jacobowitz  <dan@codesourcery.com>
 13.2263 -
 13.2264 -	* gdbarch.sh: Delete dwarf_reg_to_regnum.
 13.2265 -	* gdbarch.c, gdbarch.h: Regenerated.
 13.2266 -	* amd64-tdep.c, arm-tdep.c, h8300-tdep.c, hppa-linux-tdep.c,
 13.2267 -	hppa-tdep.c, i386-tdep.c, m32c-tdep.c, m68k-tdep.c, mips-tdep.c,
 13.2268 -	s390-tdep.c, xtensa-tdep.c: Do not set dwarf_reg_to_regnum.
 13.2269 -
 13.2270 -2008-05-15  Pedro Alves  <pedro@codesourcery.com>
 13.2271 -
 13.2272 -	* linux-nat.c (trap_ptid): Delete.
 13.2273 -	(linux_nat_detach, linux_nat_wait, linux_nat_mourn_inferior):
 13.2274 -	Adjust.
 13.2275 -	* linux-thread-db.c (thread_db_wait): Adjust.
 13.2276 -
 13.2277 -2008-05-15  Joel Brobecker  <brobecker@adacore.com>
 13.2278 -
 13.2279 -	* linespec.c (decode_line_1): Fix a couple of comments.
 13.2280 -
 13.2281 -2008-05-15  Alan Modra  <amodra@bigpond.net.au>
 13.2282 -
 13.2283 -	* dbxread.c: Formatting.
 13.2284 -	(INTERNALIZE_SYMBOL): Init n_other.
 13.2285 -	(set_namestring): Take pointer to nlist arg rather than struct
 13.2286 -	copy.  Update all callers.
 13.2287 -
 13.2288 -2008-05-15  Andreas Schwab  <schwab@suse.de>
 13.2289 -
 13.2290 -	* Makefile.in (dwarf2loc.o): Remove $(addrmap_h).
 13.2291 -	(dwarf2read.o): Add $(addrmap_h).
 13.2292 -
 13.2293 -2008-05-14  Ulrich Weigand  <uweigand@de.ibm.com>
 13.2294 -
 13.2295 -	* ppc-linux-tdep.c (ppc_linux_convert_from_func_ptr_addr): Rename ...
 13.2296 -	(ppc64_linux_convert_from_func_ptr_addr): ... to this.  No longer try
 13.2297 -	to handle ppc32 PLT entries.
 13.2298 -	(ppc_linux_init_abi): Install ppc64_linux_convert_from_func_ptr_addr
 13.2299 -	only on ppc64.
 13.2300 -
 13.2301 -2008-05-14  Daniel Jacobowitz  <dan@codesourcery.com>
 13.2302 -
 13.2303 -	* elfread.c (elf_symtab_read): Create trampolines for @plt symbols.
 13.2304 -	* minsyms.c (lookup_minimal_symbol_by_pc_section_1): Renamed from
 13.2305 -	lookup_minimal_symbol_by_pc_section.  Prefer trampolines if requested.
 13.2306 -	(lookup_minimal_symbol_by_pc_section): Use
 13.2307 -	lookup_minimal_symbol_by_pc_section_1.
 13.2308 -	(lookup_solib_trampoline_symbol_by_pc): Likewise.
 13.2309 -
 13.2310 -2008-05-13  Joel Brobecker  <brobecker@adacore.com>
 13.2311 -
 13.2312 -	* findcmd.c: Add #include "gdb_stdint.h".
 13.2313 -	* Makefile.in (findcmd.o): Update dependencies.
 13.2314 -
 13.2315 -2008-05-11  David S. Miller  <davem@davemloft.net>
 13.2316 -
 13.2317 -	* sparc-linux-tdep.c (sparc32_linux_init_abi): Remove
 13.2318 -	long double size override, Linux does use 128-bit now.
 13.2319 -
 13.2320 -	* sparc-linux-tdep.c (PSR_SYSCALL): Define.
 13.2321 -	(sparc_linux_write_pc): New function.
 13.2322 -	(sparc32_linux_init_abi): Register it.
 13.2323 -	* sparc64-linux-tdep.c (TSTATE_SYSCALL): Define.
 13.2324 -	(sparc64_linux_write_pc): New function.
 13.2325 -	(sparc64_linux_init_abi): Register it.
 13.2326 -
 13.2327 - 	* sparc-linux-tdep.c, sparc64-linux-tdep.c: Use
 13.2328 -	dwarf2_append_unwinders(), not dwarf2_frame_sniffer.
 13.2329 -
 13.2330 -2008-05-11  Ulrich Weigand  <uweigand@de.ibm.com>
 13.2331 -
 13.2332 -	* rs6000-tdep.c (rs6000_gdbarch_init): Set up info.target_desc
 13.2333 -	and info.tdep_info before calling gdbarch_init_osabi.
 13.2334 -
 13.2335 -2008-05-09  Joel Brobecker  <brobecker@adacore.com>
 13.2336 -
 13.2337 -	* ada-lang.c (ada_evaluate_subexp) [BINOP_ASSIGN]: Do not force
 13.2338 -	the type of the right hand side of the assignment to the type
 13.2339 -	of the left hand side if the left hand side is a convenience
 13.2340 -	variable.
 13.2341 -
 13.2342 -2008-05-09  Ulrich Weigand  <uweigand@de.ibm.com>
 13.2343 -
 13.2344 -	* NEWS: Mention gdbserver bi-arch capability.
 13.2345 -
 13.2346 -2008-05-09  Doug Evans  <dje@google.com>
 13.2347 -
 13.2348 -	New "find" command.
 13.2349 -	* NEWS: Document find command and qSearch:memory packet.
 13.2350 -	* Makefile.in (SFILES): Add findcmd.c.
 13.2351 -	(COMMON_OBJS): Add findcmd.o.
 13.2352 -	(findcmd.o): New rule.
 13.2353 -	* findcmd.c: New file.
 13.2354 -	* target.h (target_ops): New member to_search_memory.
 13.2355 -	(simple_search_memory): Declare.
 13.2356 -	(target_search_memory): Declare.
 13.2357 -	* target.c (simple_search_memory): New fn.
 13.2358 -	(target_search_memory): New fn.
 13.2359 -	* remote.c (PACKET_qSearch_memory): New packet kind.
 13.2360 -	(remote_search_memory): New fn.
 13.2361 -	(init_remote_ops): Init to_search_memory.
 13.2362 -	(init_extended_remote_ops): Ditto.
 13.2363 -	(_initialize_remote): Add qSearch:memory packet config command.
 13.2364 -
 13.2365 -2008-05-09  Eli Zaretskii  <eliz@gnu.org>
 13.2366 -
 13.2367 -	* thread.c (_initialize_thread): Don't use commas and periods in
 13.2368 -	first line of doc string of "set/show print thread-events".
 13.2369 -
 13.2370 -2008-05-08  Joel Brobecker  <brobecker@adacore.com>
 13.2371 -
 13.2372 -	* alpha-mdebug-tdep.c, alpha-osf1-tdep.c, alpha-tdep.c:
 13.2373 -	Update for unwinder changes.
 13.2374 -
 13.2375 -2008-05-08  Joel Brobecker  <brobecker@adacore.com>
 13.2376 -
 13.2377 -	* frame.c (get_frame_base_address, get_frame_locals_address)
 13.2378 -	(get_frame_args_address): Pass the correct frame when calling
 13.2379 -	frame_base_find_by_frame.
 13.2380 -
 13.2381 -2008-05-08  Ulrich Weigand  <uweigand@de.ibm.com>
 13.2382 -
 13.2383 -	* remote.c (extended_remote_attach_1): Call target_find_description.
 13.2384 -
 13.2385 -2008-05-08  Daniel Jacobowitz  <dan@codesourcery.com>
 13.2386 -
 13.2387 -	* remote.c (extended_remote_create_inferior_1): Clean up
 13.2388 -	before marking the target running.
 13.2389 -
 13.2390 -2008-05-08  Joel Brobecker  <brobecker@adacore.com>
 13.2391 -
 13.2392 -	* hppa-tdep.h, hppa-tdep.c, hppa-hpux-tdep.c: Update for unwinder
 13.2393 -	changes.
 13.2394 -
 13.2395 -2008-05-07  Joel Brobecker  <brobecker@adacore.com>
 13.2396 -
 13.2397 -	* sparc-tdep.c, sparc-tdep.h, sparc-sol2-tdep.c, sparc64-tdep.c,
 13.2398 -	sparc64-sol2-tdep.c: Update for unwinder changes.
 13.2399 -
 13.2400 -2008-05-07  Daniel Jacobowitz  <dan@codesourcery.com>
 13.2401 -
 13.2402 -	* cp-support.c (mangled_name_to_comp): Initialize storage.
 13.2403 -	(unqualified_name_from_comp): Likewise.
 13.2404 -
 13.2405 -2008-05-07  Jie Zhang  <jie.zhang@analog.com>
 13.2406 -
 13.2407 -	* remote.c (remote_insert_breakpoint): Call get_remote_state
 13.2408 -	after gdbarch_breakpoint_from_pc is called.
 13.2409 -	(remote_insert_hw_breakpoint): Likewise.
 13.2410 -
 13.2411 -2008-05-06  Joel Brobecker  <brobecker@adacore.com>
 13.2412 -
 13.2413 -	* valprint.c (val_print): Add new language parameter and use it
 13.2414 -	instead of using the current_language. Update calls to val_print
 13.2415 -	throughout.
 13.2416 -	(common_val_print): Add new langauge parameter and pass it to
 13.2417 -	val_print.
 13.2418 -	* value.h (struct language_defn): Add opaque declaration.
 13.2419 -	(val_print, common_val_print): Update declarations.
 13.2420 -	* stack.c (print_frame_args): Update call to common_val_print
 13.2421 -	using the appropriate language.
 13.2422 -	* mi/mi-cmd-stack.c (list_args_or_locals): Likewise.
 13.2423 -	* c-valprint, f-valprint.c, m2-valprint.c, mt-tdep.c, infcmd.c,
 13.2424 -	mi/mi-main.c, jv-valprint.c, ada-valprint.c, varobj.c, p-valprint.c,
 13.2425 -	scm-valprint.c, cp-valprint.c, sh64-tdep.c, printcmd.c:
 13.2426 -	#include "language.h" if necessary.
 13.2427 -	Update calls to val_print and common_val_print.
 13.2428 -	* Makefile.in (mt-tdep.o, sh64-tdep.o, mi-cmds.o, mi-main.o):
 13.2429 -	Update dependencies.
 13.2430 -
 13.2431 -2008-05-06  Joel Brobecker  <brobecker@adacore.com>
 13.2432 -
 13.2433 -	* ia64-tdep.c (ia64_convert_from_func_ptr_addr): Treat addresses
 13.2434 -	pointing inside a non-executable section as function descriptors.
 13.2435 -
 13.2436 -2008-05-06  Pedro Alves  <pedro@codesourcery.com>
 13.2437 -
 13.2438 -	* inf-loop.c (inferior_event_handler): Run all continuations and
 13.2439 -	print any language change before running the breakpoint commands.
 13.2440 -
 13.2441 -2008-05-06  Joel Brobecker  <brobecker@adacore.com>
 13.2442 -
 13.2443 -	* frame-unwind.c (frame_unwind_got_bytes): New function.
 13.2444 -	* frame-unwind.h (frame_unwind_got_bytes): Add declaration.
 13.2445 -	* libunwind-frame.h, libunwind-frame.c, ia64-tdep.c: Update
 13.2446 -	for unwinder changes.
 13.2447 -
 13.2448 -2008-05-05  Doug Evans  <dje@google.com>
 13.2449 -
 13.2450 -	* NEWS: Mention new /m modifier for disassemble command.
 13.2451 -	* cli/cli-cmds.c (print_disassembly): New function.
 13.2452 -	(disassemble_current_function): New function
 13.2453 -	(disassemble_command): Recognize /m modifier, print mixed
 13.2454 -	source+assembly.
 13.2455 -	(init_cli_cmds): Update disassemble help text.
 13.2456 -
 13.2457 -2008-05-05  Maxim Grigoriev  <maxim2405@gmail.com>
 13.2458 -
 13.2459 -	* xtensa-tdep.c: Update for unwinder changes.
 13.2460 -
 13.2461 -2008-05-05  Andreas Schwab  <schwab@suse.de>
 13.2462 -
 13.2463 -	Update m68k port for unwinder changes.
 13.2464 -	* m68k-tdep.c (m68k_frame_cache): Expect this_frame.
 13.2465 -	(m68k_frame_this_id, m68k_frame_prev_register): Update signature.
 13.2466 -	(m68k_frame_unwind): Use default_frame_sniffer.
 13.2467 -	(m68k_frame_sniffer): Remove.
 13.2468 -	(m68k_frame_base_address): Expect this_frame.
 13.2469 -	(m68k_dummy_id): Renamed from m68k_unwind_dummy_id.  Expect
 13.2470 -	this_frame.
 13.2471 -	(m68k_gdbarch_init): Use set_gdbarch_dummy_id,
 13.2472 -	dwarf2_append_unwinders, and frame_unwind_append_unwinder.
 13.2473 -	* m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Expect frame_info
 13.2474 -	parameter instead of pc value.
 13.2475 -	(m68k_linux_get_sigtramp_info, m68k_linux_sigtramp_frame_cache):
 13.2476 -	Expect this_frame.
 13.2477 -	(m68k_linux_sigtramp_frame_this_id)
 13.2478 -	(m68k_linux_sigtramp_frame_prev_register)
 13.2479 -	(m68k_linux_sigtramp_frame_sniffer): Update signature.
 13.2480 -	(m68k_linux_sigtramp_frame_unwind): Use
 13.2481 -	m68k_linux_sigtramp_frame_sniffer.
 13.2482 -	(m68k_linux_init_abi): Use frame_unwind_append_unwinder.
 13.2483 -
 13.2484 -	* m68klinux-nat.c (store_register): Fix typo.
 13.2485 -
 13.2486 -2008-05-05  Pedro Alves  <pedro@codesourcery.com>
 13.2487 -
 13.2488 -	* infcmd.c (step_1): Put thread id on the stack to avoid possible
 13.2489 -	NULL dereferencing.
 13.2490 -
 13.2491 -2008-05-05  Luis Machado  <luisgpm@br.ibm.com>
 13.2492 -
 13.2493 -	* symfile.c (reread_symbols): Update objfile's entry point.
 13.2494 -
 13.2495 -2008-05-05  Aleksandar Ristovski  <aristovski@qnx.com>
 13.2496 -	    Joel Brobecker  <brobecker@adacore.com>
 13.2497 -
 13.2498 -	* ada-lang.c: Update throughout to use symbol_matches_domain
 13.2499 -	instead of matching the symbol domain explictly.
 13.2500 -	* dwarf2read.c (add_partial_symbol): Do not add new psym for
 13.2501 -	STRUCT_DOMAIN. Make sure you recognize c++ struct and java and ada
 13.2502 -	class as typedefs. See lookup_partial_symbol function.
 13.2503 -	(new_symbol): Similar to add_partial_symbol, do not create
 13.2504 -	symbol for the typedef. See lookup_block_symbol.
 13.2505 -	* symtab.c (symbol_matches_domain): New function, takes care
 13.2506 -	of dual meaning of STRUCT_DOMAIN symbol for c++, ada and java.
 13.2507 -	(lookup_partial_symbol): Use symbol_matches_domain to see if the
 13.2508 -	found psym domain matches the given domain.
 13.2509 -	(lookup_block_symbol): Likewise.
 13.2510 -
 13.2511 -2008-05-05  Vladimir Prus  <vladimir@codesourcery.com>
 13.2512 -
 13.2513 -	* top.c (command_line_handler_continuation): Remove.
 13.2514 -	(execute_command): Do not install the above.
 13.2515 -
 13.2516 -2008-05-05  Vladimir Prus  <vladimir@codesourcery.com>
 13.2517 -
 13.2518 -	* inf-loop.c (inferior_event_handler): Call bpstat_do_action,
 13.2519 -	and catch all exceptions from it.
 13.2520 -	* top.c (command_line_handler_continuation): Don't
 13.2521 -	call bpstat_do_action here.
 13.2522 -
 13.2523 -2008-05-04  Daniel Jacobowitz  <dan@codesourcery.com>
 13.2524 -
 13.2525 -	* dwarf2read.c (struct dwarf2_cu): Add type_hash.
 13.2526 -	(struct die_info): Remove type.
 13.2527 -	(read_type_die, read_typedef, read_base_type, read_subrange_type)
 13.2528 -	(read_structure_type, read_enumeration_type, read_array_type)
 13.2529 -	(read_tag_pointer_type, read_tag_ptr_to_member_type)
 13.2530 -	(read_tag_reference_type, read_tag_const_type, read_tag_volatile_type)
 13.2531 -	(read_tag_string_type, read_subroutine_type, read_set_type)
 13.2532 -	(read_unspecified_type): Delete prototypes.  Remove check for
 13.2533 -	already-loaded type.  Return the new type.
 13.2534 -	(set_die_type): Return the new type.
 13.2535 -	(reset_die_and_siblings_types): Delete.
 13.2536 -	(load_comp_unit, load_full_comp_unit): Set type_hash.
 13.2537 -	(process_queue): Remove call to reset_die_and_siblings_types.
 13.2538 -	(process_die): Do not read most types here.  Use read_type_die
 13.2539 -	for others.
 13.2540 -	(read_func_scope, dwarf2_add_member_fn): Use read_type_die.
 13.2541 -	(quirk_gcc_member_function_pointer): Return the new type.
 13.2542 -	(process_structure_scope, process_enumeration_scope): Use
 13.2543 -	get_die_type and read the DIE's type.
 13.2544 -	(read_full_die): Do not initialize die->type.
 13.2545 -	(tag_type_to_type): Use read_type_die.
 13.2546 -	(read_type_die): Check for already defined types.  Return the
 13.2547 -	type.
 13.2548 -	(determine_prefix): Use get_die_type.
 13.2549 -	(set_die_type): Return the type.
 13.2550 -	(get_die_type): Take a CU argument.  Check for no type_hash.
 13.2551 -
 13.2552 -2008-05-04  Daniel Jacobowitz  <dan@codesourcery.com>
 13.2553 -
 13.2554 -	* dwarf2read.c (dwarf2_ranges_read, read_partial_die): Initialize
 13.2555 -	locals.
 13.2556 -
 13.2557 -2008-05-04  Pedro Alves  <pedro@codesourcery.com>
 13.2558 -
 13.2559 -	* breakpoint.c (update_breakpoints_after_exec): Delete bp_longjmp
 13.2560 -	and bp_longjmp_resume breakpoints.
 13.2561 -	(breakpoint_address_is_meaningful): Claim bp_longjmp_resume as
 13.2562 -	meaningful.
 13.2563 -	(create_longjmp_breakpoint): Don't create bp_longjmp_resume
 13.2564 -	breakpoints.  Create bp_longjmp breakpoints as momentary
 13.2565 -	breakpoints.
 13.2566 -	(enable_longjmp_breakpoint): Delete.
 13.2567 -	(set_longjmp_breakpoint): New.
 13.2568 -	(disable_longjmp_breakpoint): Delete.
 13.2569 -	(delete_longjmp_breakpoint): New.
 13.2570 -	(set_longjmp_resume_breakpoint): Delete.
 13.2571 -	(set_momentary_breakpoint_at_pc): New.
 13.2572 -	(breakpoint_re_set_one): Don't delete bp_longjmp and
 13.2573 -	bp_longjmp_resume breakpoints.
 13.2574 -	(breakpoint_re_set): Don't create longjmp and longjmp-resume
 13.2575 -	breakpoints.
 13.2576 -
 13.2577 -	* infrun.c (step_resume_breakpoint): Add comment.
 13.2578 -	(struct execution_control_state): Delete handling_longjmp member.
 13.2579 -	(init_execution_control_state). Don't clear handling_longjmp.
 13.2580 -	(context_switch): Don't context switch handling_longjmp.
 13.2581 -	(handle_inferior_event): If handling a bp_longjmp breakpoint,
 13.2582 -	create a bp_longjmp_resume breakpoint, and set it as current
 13.2583 -	step_resume_breakpoint, then step over the longjmp breakpoint.  If
 13.2584 -	handling a bp_longjmp_resume breakpoint, don't delete the longjmp
 13.2585 -	breakpoint, delete the longjmp-resume breakpoint, and stop
 13.2586 -	stepping.
 13.2587 -	(currently_stepping): Remove handling_longjmp from expression.
 13.2588 -	(insert_step_resume_breakpoint_at_sal): Update comment.
 13.2589 -	(insert_longjmp_resume_breakpoint): New.
 13.2590 -
 13.2591 -	* breakpoint.h (set_momentary_breakpoint_at_pc): Declare.
 13.2592 -	(enable_longjmp_breakpoint, disable_longjmp_breakpoint): Delete
 13.2593 -	declarations.
 13.2594 -	(set_longjmp_breakpoint, delete_longjmp_breakpoint): Declare.
 13.2595 -	(set_longjmp_resume_breakpoint): Delete declaration.
 13.2596 -
 13.2597 -	* gdbthread.h (save_infrun_state): Remove handling_longjmp
 13.2598 -	parameter.
 13.2599 -	(load_infrun_state): Delete *handling_longjmp parameter.
 13.2600 -	* thread.c (save_infrun_state): Remove handling_longjmp parameter.
 13.2601 -	Update body.
 13.2602 -	(load_infrun_state): Delete *handling_longjmp parameter.  Update
 13.2603 -	body.
 13.2604 -
 13.2605 -	* infcmd.c (disable_longjmp_breakpoint_cleanup): Delete.
 13.2606 -	(delete_longjmp_breakpoint_cleanup): New.
 13.2607 -	(step_1): Call set_longjmp_breakpoint instead of
 13.2608 -	enable_longjmp_breakpoint.  Use delete_longjmp_breakpoint_cleanup
 13.2609 -	instead of disable_longjmp_breakpoint_cleanup when making cleanup.
 13.2610 -	(step_1_continuation): Pass thread id in the continuation args to
 13.2611 -	step_once.
 13.2612 -	(step_once): Add thread parameter.  Pass thread id the the
 13.2613 -	continuation.
 13.2614 -
 13.2615 -2008-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
 13.2616 -
 13.2617 -	Set CU BASE_ADDRESS already from partial DIEs.
 13.2618 -	* dwarf2read.c (read_partial_die): New variables BASE_ADDRESS and
 13.2619 -	BASE_ADDRESS_TYPE.  Set these variables from DW_AT_LOW_PC and
 13.2620 -	DW_AT_ENTRY_PC.  Set CU->HEADER.BASE_KNOWN and CU->HEADER.BASE_ADDRESS
 13.2621 -	from these variables if it was still unset.
 13.2622 -
 13.2623 -	* Makefile.in: Update dependencies.
 13.2624 -	* dwarf2read.c: Include "addrmap.h"
 13.2625 -	(struct dwarf2_cu): New fields RANGES_OFFSET and HAS_RANGES_OFFSET.
 13.2626 -	(dwarf2_ranges_read): New prototype.
 13.2627 -	(dwarf2_build_psymtabs_hard): Initialize and prepare PSYMTABS_ADDRMAP.
 13.2628 -	Add discontiguous range to PSYMTABS_ADDRMAP by DWARF2_RANGES_READ on
 13.2629 -	HAS_RANGES_OFFSET, otherwise add there the contiguous range.
 13.2630 -	(dwarf2_ranges_read): New parameter RANGES_PST, update the function
 13.2631 -	comment for it.  Add the found ranges to RANGES_PST.  New variable
 13.2632 -	BASEADDR, initialize it the common way.
 13.2633 -	(dwarf2_get_pc_bounds): Update the caller for the new parameter.
 13.2634 -	(read_partial_die): `DW_AT_ranges' now only sets RANGES_OFFSET and
 13.2635 -	HAS_RANGES_OFFSET for the later processing.
 13.2636 -	* objfiles.h (struct objfile): New field PSYMTABS_ADDRMAP.
 13.2637 -	* symtab.c: Include "addrmap.h"
 13.2638 -	(find_pc_sect_psymtab): Support reading the field PSYMTABS_ADDRMAP.
 13.2639 -	Move the psymtab locator into ...
 13.2640 -	(find_pc_sect_psymtab_closer): ... a new function.
 13.2641 -
 13.2642 -2008-05-04  Ulrich Weigand  <uweigand@de.ibm.com>
 13.2643 -
 13.2644 -	* arch-utils.c (gdbarch_update_p): Use default values for
 13.2645 -	info.abfd and info.target_desc if they are NULL.
 13.2646 -	(gdbarch_from_bfd): Remove assertion.
 13.2647 -	(set_gdbarch_from_file): Call gdbarch_find_by_info directly,
 13.2648 -	using the current target description.
 13.2649 -	(gdbarch_info_fill): Do not use default values for info->abfd
 13.2650 -	and info->target_desc.
 13.2651 -
 13.2652 -2008-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
 13.2653 -
 13.2654 -	* symfile.c (reread_symbols): Reload EXEC_BFD on its change.
 13.2655 -
 13.2656 -2008-05-04  Ulrich Weigand  <uweigand@de.ibm.com>
 13.2657 -
 13.2658 -	* inferior.h (read_pc_pid, write_pc_pid): Remove.
 13.2659 -	* regcache.h (regcache_read_pc, regcache_write_pc): Add prototypes.
 13.2660 -
 13.2661 -	* regcache.c (read_pc_pid): Remove, replace by ...
 13.2662 -	(regcache_read_pc): ... this function.
 13.2663 -	(write_pc_pid): Remove, replace by ...
 13.2664 -	(regcache_write_pc): ... this function.
 13.2665 -	(read_pc, write_pc): Update.
 13.2666 -
 13.2667 -	* infrun.c (displaced_step_prepare): Replace read_pc_pid and
 13.2668 -	write_pc_pid by regcache_read_pc and regcache_write_pc.
 13.2669 -	(displaced_step_fixup): Likewise.
 13.2670 -	(resume): Likewise.  Use regcache arch instead of current_gdbarch.
 13.2671 -	(prepare_to_proceed): Likewise.
 13.2672 -	(proceed): Likewise.
 13.2673 -	(adjust_pc_after_break): Likewise.
 13.2674 -	(handle_inferior_event): Likewise.
 13.2675 -
 13.2676 -	* linux-nat.c (cancel_breakpoint): Likewise.
 13.2677 -	* linux-thread-db.c (check_event): Likewise.
 13.2678 -	* aix-thread.c (aix_thread_wait): Likewise.
 13.2679 -	* tracepoint.c (trace_dump_command): Likewise.
 13.2680 -
 13.2681 -2008-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
 13.2682 -
 13.2683 -	* dwarf2loc.c (dwarf_expr_frame_base): Error out on missing
 13.2684 -	SYMBOL_LOCATION_BATON.
 13.2685 -
 13.2686 -2008-05-04  Vladimir Prus  <vladimir@codesourcery.com>
 13.2687 -
 13.2688 -	* target.h (struct target_ops): New field to_auxv_parse.
 13.2689 -	* auxv.c (default_auxv_parse): New, renamed from previous
 13.2690 -	target_auxv_parse.
 13.2691 -	(target_auxv_parse): Try to call target method.  Fallback to
 13.2692 -	default_auxv_parse if not found.
 13.2693 -	* procfs.c (procfs_auxv_parse): New.
 13.2694 -	(init_procfs_ops): On Solaris, in 64-bit mode, install
 13.2695 -	procfs_auxv_parse.
 13.2696 -
 13.2697 -2008-05-03  Adam Nemet  <anemet@caviumnetworks.com>
 13.2698 -
 13.2699 -	* symfile.c (add_symbol_file_command):  Use paddress rather than
 13.2700 -	hex_string to print the address.
 13.2701 -
 13.2702 -2008-05-03  Ulrich Weigand  <uweigand@de.ibm.com>
 13.2703 -
 13.2704 -	* rs6000-tdep.c (rs6000_frame_this_id): If info->base is 0,
 13.2705 -	return the null frame ID to terminate the backtrace.
 13.2706 -
 13.2707 -2008-05-03  Ulrich Weigand  <uweigand@de.ibm.com>
 13.2708 -
 13.2709 -	* rs6000-tdep.c: Do not include "rs6000-tdep.h".
 13.2710 -	(rs6000_find_toc_address_hook): Move to rs6000-aix-tdep.c.
 13.2711 -	(SIG_FRAME_PC_OFFSET): Likewise.
 13.2712 -	(SIG_FRAME_LR_OFFSET): Likewise.
 13.2713 -	(SIG_FRAME_FP_OFFSET): Likewise.
 13.2714 -	(rs6000_push_dummy_call): Likewise.
 13.2715 -	(rs6000_return_value): Likewise.
 13.2716 -	(rs6000_convert_from_func_ptr_addr): Likewise.
 13.2717 -	(branch_dest, rs6000_software_single_step): Likewise.
 13.2718 -	(deal_with_atomic_sequence): Rename to ...
 13.2719 -	(ppc_deal_with_atomic_sequence): ... this.  Adapt all callers.
 13.2720 -	Do not call branch_dest; inline required parts of that function.
 13.2721 -	(rs6000_skip_trampoline_code): Replace DEPRECATED_SYMBOL_NAME
 13.2722 -	with SYMBOL_LINKAGE_NAME.
 13.2723 -	(struct reg, regsize): Delete.
 13.2724 -	(read_memory_addr): Delete; inline into callers.
 13.2725 -	(rs6000_skip_prologue): Move after skip_prologue.
 13.2726 -	(skip_prologue): Remove prototype.
 13.2727 -	(rs6000_gdbarch_init): Remove sysv_abi variable; perform all
 13.2728 -	initialization as if this variable were true.  Do not install
 13.2729 -	ppc64_sysv_abi_adjust_breakpoint_address.
 13.2730 -
 13.2731 -	* rs6000-aix-tdep.c: Include "gdb_assert.h", "gdbtypes.h",
 13.2732 -	"gdbcore.h", "target.h", "value.h", "infcall.h", "objfiles.h",
 13.2733 -	and "breakpoint.h".
 13.2734 -	(rs6000_find_toc_address_hook): Move here from rs6000-tdep.c.
 13.2735 -	(SIG_FRAME_PC_OFFSET): Likewise.
 13.2736 -	(SIG_FRAME_LR_OFFSET): Likewise.
 13.2737 -	(SIG_FRAME_FP_OFFSET): Likewise.
 13.2738 -	(rs6000_push_dummy_call): Likewise.
 13.2739 -	(rs6000_return_value): Likewise.
 13.2740 -	(rs6000_convert_from_func_ptr_addr): Likewise.
 13.2741 -	(branch_dest, rs6000_software_single_step): Likewise.  Replace
 13.2742 -	tdep->text_segment_base by AIX_TEXT_SEGMENT_BASE.
 13.2743 -	(rs6000_aix_init_osabi): Install rs6000_push_dummy_call,
 13.2744 -	rs6000_return_value, and rs6000_convert_from_func_ptr_addr.
 13.2745 -	Call set_gdbarch_long_double_bit and set_gdbarch_frame_red_zone_size.
 13.2746 -	Set tdep->lr_frame_offset.  Do not set tdep->text_segment_base.
 13.2747 -
 13.2748 -	* rs6000-tdep.h (rs6000_software_single_step): Remove prototype.
 13.2749 -	(AIX_TEXT_SEGMENT_BASE): New macro.
 13.2750 -	* rs6000-nat.c (exec_one_dummy_insn): Replace tdep->text_segment_base
 13.2751 -	by AIX_TEXT_SEGMENT_BASE.
 13.2752 -
 13.2753 -	* ppc-tdep.h (ppc_deal_with_atomic_sequence): Add prototype.
 13.2754 -	(struct gdbarch_tdep): Remove text_segment_base member.
 13.2755 -	* ppc-linux-tdep.c (ppc_linux_init_abi): On 64-bit, install
 13.2756 -	ppc64_sysv_abi_adjust_breakpoint_address.
 13.2757 -
 13.2758 -	* Makefile.in (rs6000-tdep.o): Update dependencies.
 13.2759 -	(rs6000-aix-tdep.o): Likewise.
 13.2760 -
 13.2761 -2008-05-03  Luis Machado  <luisgpm@br.ibm.com>
 13.2762 -	    Thiago Jung Bauermann  <bauerman@br.ibm.com>
 13.2763 -
 13.2764 -	* cli/cli-decode.c (lookup_cmd_1): Fix indentation.
 13.2765 -	* doublest.c (convert_typed_floating): Fix typo in comment.
 13.2766 -	* dwarf2-frame.c (dwarf2_frame_cache): Likewise.
 13.2767 -	* frame-unwind.h (frame_sniffer_ftype): Likewise.
 13.2768 -	* frame.c (frame_unwind_address_in_block): Likewise.
 13.2769 -	* ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Likewise.
 13.2770 -	* symtab.h (struct symbol): Likewise.
 13.2771 -	* tramp-frame.h (struct trad_frame_cache): Likewise.
 13.2772 -	* value.c (allocate_repeat_value): Likewise.
 13.2773 -
 13.2774 -2008-05-03  Ulrich Weigand  <uweigand@de.ibm.com>
 13.2775 -
 13.2776 -	* infrun.c (handle_inferior_event): Do not insert breakpoints at
 13.2777 -	TARGET_WAITKIND_LOADED events during startup (i.e. in the shell).
 13.2778 -
 13.2779 -2008-05-03  Pedro Alves  <pedro@codesourcery.com>
 13.2780 -
 13.2781 -	* parse.c (parse_exp_in_context): Don't override
 13.2782 -	expression_context_pc if get_selected_block returned a valid
 13.2783 -	block.
 13.2784 -
 13.2785 -2008-05-03  Daniel Jacobowitz  <dan@codesourcery.com>
 13.2786 -
 13.2787 -	* alpha-tdep.h (ALPHA_REGISTER_BYTES): Delete.
 13.2788 -	* arm-tdep.h (STATUS_REGISTER_SIZE): Delete.
 13.2789 -	* breakpoint.c (args_for_catchpoint_enable, current_exception_event):
 13.2790 -	Delete.
 13.2791 -	* c-typeprint.c (c_type_print_base): Delete handling of template
 13.2792 -	instantiations.
 13.2793 -	* cp-support.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET)
 13.2794 -	(METHOD_PTR_TO_VOFFSET): Delete.
 13.2795 -	* defs.h (QUIT_FIXME): Delete.
 13.2796 -	* f-lang.h (DEFAULT_DOTMAIN_NAME_IN_MF77, DEFAULT_MAIN_NAME_IN_MF77)
 13.2797 -	(DEFAULT_DOTMAIN_NAME_IN_XLF_BUGGY, DEFAULT_DOTMAIN_NAME_IN_XLF): Delete.
 13.2798 -	* gdbtypes.h (struct cplus_struct_type): Delete is_inlined,
 13.2799 -	ninstantiations, and instantiations.
 13.2800 -	(TYPE_INSTANTIATIONS, TYPE_NINSTANTIATIONS, TYPE_INSTANTIATION)
 13.2801 -	(TYPE_FN_FIELD_INLINED): Delete.
 13.2802 -	* srec.h (SREC_BINARY): Delete.
 13.2803 -	* symtab.c (symbol_init_demangled_name): Delete.
 13.2804 -	* symtab.h (SYMBOL_INIT_DEMANGLED_NAME, symbol_init_demangled_name)
 13.2805 -	(SYMBOL_OBJFILE, struct exception_event_record, CURRENT_EXCEPTION_KIND)
 13.2806 -	(CURRENT_EXCEPTION_CATCH_SAL, CURRENT_EXCEPTION_CATCH_LINE)
 13.2807 -	(CURRENT_EXCEPTION_CATCH_FILE, CURRENT_EXCEPTION_CATCH_PC)
 13.2808 -	(CURRENT_EXCEPTION_THROW_SAL, CURRENT_EXCEPTION_THROW_LINE)
 13.2809 -	(CURRENT_EXCEPTION_THROW_FILE, CURRENT_EXCEPTION_THROW_PC): Delete.
 13.2810 -	* target.h (enum thread_control_capabilities): Delete tc_switch.
 13.2811 -	(target_can_switch_threads): Delete.
 13.2812 -
 13.2813 -2008-05-03  Daniel Jacobowitz  <dan@codesourcery.com>
 13.2814 -
 13.2815 -	* Makefile.in (objfiles.o): Update.
 13.2816 -	* exec.c (exec_set_section_address): Support p->addr != 0.
 13.2817 -	* objfiles.c (objfile_relocate): Update exec_ops section
 13.2818 -	addresses.
 13.2819 -	* symfile.c (place_section): Move exec_set_section_address call...
 13.2820 -	(default_symfile_offsets): ...to here.
 13.2821 -
 13.2822 -2008-05-03  Ulrich Weigand  <uweigand@de.ibm.com>
 13.2823 -
 13.2824 -	* Makefile.in (ppc_linux_tdep_h): New macro.
 13.2825 -	(powerpc_32l_c, powerpc_altivec32_c, powerpc_altivec32l_c): Likewise.
 13.2826 -	(powerpc_64l_c, powerpc_altivec64_c, powerpc_altivec64l_c): Likewise.
 13.2827 -	(powerpc_e500l_c): Likewise.
 13.2828 -	(ppc-linux-nat.o): Update dependencies.
 13.2829 -	(ppc-linux-tdep.o): Update dependencies.
 13.2830 -	(rs6000-tdep.o): Update dependencies.
 13.2831 -
 13.2832 -	* ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Remove.
 13.2833 -	(ppc_linux_svr4_fetch_link_map_offsets): Remove.
 13.2834 -	(ppc_linux_gregset, ppc_linux_fpregset): Move to ppc-linux-tdep.h
 13.2835 -	(ppc_supply_reg, ppc_collect_reg): Add prototypes.
 13.2836 -	(tdesc_powerpc_e500): Remove.
 13.2837 -
 13.2838 -	* rs6000.c: Include "features/rs6000/powerpc-altivec32.c"
 13.2839 -	and "features/rs6000/powerpc-altivec64.c".
 13.2840 -	(ppc_supply_reg, ppc_collect_reg): Make global.
 13.2841 -	(variants): Use tdesc_powerpc_32 for "powerpc" and
 13.2842 -	tdesc_powerpc_altivec64 for "powerpc64".
 13.2843 -	(_initialize_rs6000_tdep): Initialize AltiVec descriptions.
 13.2844 -
 13.2845 -	* ppc-linux-tdep.h: New file.
 13.2846 -
 13.2847 -	* ppc-linux-tdep.c: Include "ppc-linux-tdep.c".
 13.2848 -	Include "features/rs6000/powerpc-32l.c".
 13.2849 -	Include "features/rs6000/powerpc-altivec32l.c".
 13.2850 -	Include "features/rs6000/powerpc-64l.c".
 13.2851 -	Include "features/rs6000/powerpc-altivec64l.c".
 13.2852 -	Include "features/rs6000/powerpc-e500l.c".
 13.2853 -	(ppc_linux_supply_gregset): New function.
 13.2854 -	(ppc_linux_collect_gregset): Handle orig_r3 and trap registers.
 13.2855 -	(ppc32_linux_gregset): Use ppc_linux_supply_gregset.
 13.2856 -	(ppc64_linux_gregset): Likewise.
 13.2857 -	(ppc_linux_sigtramp_cache): Handle orig_r3 and trap registers.
 13.2858 -	(ppc_linux_trap_reg_p): New function.
 13.2859 -	(ppc_linux_write_pc): New function.
 13.2860 -	(ppc_linux_core_read_description): New function.
 13.2861 -	(ppc_linux_init_abi): Install ppc_linux_write_pc and
 13.2862 -	ppc_linux_core_read_description.  Install orig_r3 and trap
 13.2863 -	registers if present in the target description.
 13.2864 -	(_initialize_ppc_linux_tdep): Initialize Linux target descriptions.
 13.2865 -
 13.2866 -	* ppc-linux-nat.c: Include "ppc-linux-tdep.h".
 13.2867 -	(PT_ORIG_R3, PT_TRAP): Define if necessary.
 13.2868 -	(ppc_register_u_addr): Handle orig_r3 and trap registers.
 13.2869 -	(fetch_ppc_registers): Likewise.
 13.2870 -	(store_ppc_registers): Likewise.
 13.2871 -	(store_register): Likewise.
 13.2872 -	(ppc_linux_read_description): Check whether AltiVec is supported.
 13.2873 -	Check whether inferior is 32-bit or 64-bit.  Return the appropriate
 13.2874 -	Linux target description.
 13.2875 -
 13.2876 -	* features/Makefile (WHICH): Use rs6000/powerpc-32l and
 13.2877 -	rs6000/powerpc-altivec32l instead of rs6000/powerpc-32.
 13.2878 -	Use rs6000/powerpc-64l and rs6000/powerpc-altivec64l instead
 13.2879 -	of rs6000/powerpc-64.  Use rs6000/powerpc-e500l instead of
 13.2880 -	rs6000/powerpc-e500.  Update -expedite variables accordingly.
 13.2881 -
 13.2882 -	* features/rs6000/power-spe.xml: Use regnum 73 for "acc".
 13.2883 -	* features/rs6000/powerpc-32.xml: Do not include power-altivec.xml.
 13.2884 -	* features/rs6000/powerpc-64.xml: Do not include power-altivec.xml.
 13.2885 -	* features/rs6000/powerpc-e500.c: Regenerate.
 13.2886 -	* features/rs6000/powerpc-32.c: Regenerate.
 13.2887 -	* features/rs6000/powerpc-64.c: Regenerate.
 13.2888 -
 13.2889 -	* features/rs6000/power-linux.xml: New file.
 13.2890 -	* features/rs6000/power64-linux.xml: New file.
 13.2891 -	* features/rs6000/powerpc-32l.xml: New file.
 13.2892 -	* features/rs6000/powerpc-altivec32l.xml: New file.
 13.2893 -	* features/rs6000/powerpc-64l.xml: New file.
 13.2894 -	* features/rs6000/powerpc-altivec64l.xml: New file.
 13.2895 -	* features/rs6000/powerpc-e500l.xml: New file.
 13.2896 -	* features/rs6000/powerpc-32l.c: New (generated) file.
 13.2897 -	* features/rs6000/powerpc-altivec32l.c: New (generated) file.
 13.2898 -	* features/rs6000/powerpc-64l.c: New (generated) file.
 13.2899 -	* features/rs6000/powerpc-altivec64l.c: New (generated) file.
 13.2900 -	* features/rs6000/powerpc-e500l.xml: New (generated) file.
 13.2901 -
 13.2902 -	* regformats/reg-ppc.dat: Remove.
 13.2903 -	* regformats/reg-ppc64.dat: Remove.
 13.2904 -	* regformats/rs6000/powerpc-32.dat: Remove.
 13.2905 -	* regformats/rs6000/powerpc-64.dat: Remove.
 13.2906 -	* regformats/rs6000/powerpc-e500.dat: Remove.
 13.2907 -	* regformats/rs6000/powerpc-32l.dat: New (generated) file.
 13.2908 -	* regformats/rs6000/powerpc-altivec32l.dat: New (generated) file.
 13.2909 -	* regformats/rs6000/powerpc-64l.dat: New (generated) file.
 13.2910 -	* regformats/rs6000/powerpc-altivec64l.dat: New (generated) file.
 13.2911 -	* regformats/rs6000/powerpc-e500l.dat: New (generated) file.
 13.2912 -
 13.2913 -2008-05-03  Pedro Alves  <pedro@codesourcery.com>
 13.2914 -
 13.2915 -	* thread.c (delete_thread): Call observer_notify_thread_exit.
 13.2916 -	* mi/mi-interp.c (mi_interpreter_init): Register mi_thread_exit as
 13.2917 -	thread_exit observer.
 13.2918 -	(mi_thread_exit): New.
 13.2919 -
 13.2920 -2008-05-03  Thiago Jung Bauermann  <bauerman@br.ibm.com>
 13.2921 -
 13.2922 -	* breakpoint.c (create_exception_catchpoint): Remove prototype
 13.2923 -	for already deleted function.
 13.2924 -	* breakpoint.h (ep_is_exception_catchpoint): Likewise.
 13.2925 -	* frame.h (show_stack_frame): Remove prototype.
 13.2926 -	* stack.c (show_stack_frame): Remove empty, unused function.
 13.2927 -	* source.c (symtab_to_fullname, print_source_lines): Small fix
 13.2928 -	in comment.
 13.2929 -	* value.c (show_values): Update comments to mention "show values"
 13.2930 -	command instead of "info history".
 13.2931 -
 13.2932 -2008-05-02  Ulrich Weigand  <uweigand@de.ibm.com>
 13.2933 -
 13.2934 -	* linespec.c: Include "target.h".
 13.2935 -	(minsym_found): Handle minimal symbols pointing to function
 13.2936 -	descriptors.  Use find_function_start_pc.
 13.2937 -	* minsyms.c (msymbol_objfile): New function.
 13.2938 -	* parse.c (write_exp_msymbol): Handle minimal symbols pointing
 13.2939 -	to function descriptors.
 13.2940 -	* symtab.c (fixup_section): Only use minimal symbol at the same
 13.2941 -	address to determine section of a symbol.
 13.2942 -	(find_function_start_pc): New function.
 13.2943 -	(find_function_start_sal): Use it.
 13.2944 -	* symtab.h (msymbol_objfile): Add prototype.
 13.2945 -	(find_function_start_pc): Likewise.
 13.2946 -	* value.c: Include "objfiles.h".
 13.2947 -	(value_fn_field): Handle minimal symbols pointing to function
 13.2948 -	descriptors.
 13.2949 -	* Makefile.in (linespec.o): Update dependencies.
 13.2950 -	(value.o): Likewise.
 13.2951 -
 13.2952 -2008-05-02  Joel Brobecker  <brobecker@adacore.com>
 13.2953 -
 13.2954 -	* ada-lang.c (unwrap_value): Handle the case where the "F" field
 13.2955 -	inside a PAD type is a bitfield.
 13.2956 -
 13.2957 -2008-05-02  Ulrich Weigand  <uweigand@de.ibm.com>
 13.2958 -
 13.2959 -	* ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Handle
 13.2960 -	TYPE_CODE_BOOL and TYPE_CODE_CHAR the same as TYPE_CODE_INT.
 13.2961 -	Handle TYPE_CODE_REF the same as TYPE_CODE_PTR.
 13.2962 -	Handle TYPE_CODE_METHOD the same as TYPE_CODE_FUNC.
 13.2963 -	Allow typedefs when checking for function pointer arguments.
 13.2964 -	Right-align small structs passed on the stack.
 13.2965 -	(ppc64_sysv_abi_return_value): Handle TYPE_CODE_BOOL and
 13.2966 -	TYPE_CODE_CHAR the same as TYPE_CODE_INT.
 13.2967 -	Handle TYPE_CODE_REF the same as TYPE_CODE_PTR.
 13.2968 -
 13.2969 -2008-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
 13.2970 -
 13.2971 -	* Makefile.in (arm-tdep.o): Update.
 13.2972 -	* arm-tdep.c (arm_objfile_data_key, struct arm_mapping_symbol)
 13.2973 -	(struct arm_per_objfile, arm_compare_mapping_symbols): New.
 13.2974 -	(arm_pc_is_thumb): Use mapping symbols.
 13.2975 -	(arm_objfile_data_cleanup, arm_record_special_symbol): New.
 13.2976 -	(arm_gdbarch_init): Call set_gdbarch_record_special_symbol.
 13.2977 -	(_initialize_arm_tdep): Initialize arm_objfile_data_key.
 13.2978 -	* elfread.c (elf_symtab_read): Use gdbarch_record_special_symbol.
 13.2979 -	* gdbarch.sh: Add record_special_symbol.
 13.2980 -	* gdbarch.c, gdbarch.h: Regenerated.
 13.2981 -	* objfiles.c (struct objfile_data): Add cleanup member.
 13.2982 -	(register_objfile_data_with_cleanup): New function, from
 13.2983 -	register_objfile_data.
 13.2984 -	(register_objfile_data): Use it.
 13.2985 -	(objfile_free_data): Call clear_objfile_data.
 13.2986 -	(clear_objfile_data): Call cleanup functions.
 13.2987 -	* objfiles.h (register_objfile_data_with_cleanup): Declare.
 13.2988 -
 13.2989 -2008-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
 13.2990 -
 13.2991 -	* objfiles.c (init_entry_point_info): Handle shared libraries.
 13.2992 -
 13.2993 -2008-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
 13.2994 -
 13.2995 -	* arm-tdep.c (arm_prologue_this_id): Compare pc, not func, to
 13.2996 -	lowest_pc.
 13.2997 -
 13.2998 -2008-05-02  Jim Blandy  <jimb@codesourcery.com>
 13.2999 -	    Pedro Alves  <pedro@codesourcery.com>
 13.3000 -
 13.3001 -	Implement displaced stepping.
 13.3002 -
 13.3003 -	* gdbarch.sh (max_insn_length): New 'variable'.
 13.3004 -	(displaced_step_copy, displaced_step_fixup)
 13.3005 -	(displaced_step_free_closure, displaced_step_location): New
 13.3006 -	functions.
 13.3007 -	(struct displaced_step_closure): Add forward declaration.
 13.3008 -	* gdbarch.c, gdbarch.h: Regenerated.
 13.3009 -
 13.3010 -	* arch-utils.c: #include "objfiles.h".
 13.3011 -	(simple_displaced_step_copy_insn)
 13.3012 -	(simple_displaced_step_free_closure)
 13.3013 -	(displaced_step_at_entry_point): New functions.
 13.3014 -	* arch-utils.h (simple_displaced_step_copy_insn)
 13.3015 -	(simple_displaced_step_free_closure)
 13.3016 -	(displaced_step_at_entry_point): New prototypes.
 13.3017 -
 13.3018 -	* i386-tdep.c (I386_MAX_INSN_LEN): Rename to...
 13.3019 -	(I386_MAX_MATCHED_INSN_LEN): ... this.
 13.3020 -	(i386_absolute_jmp_p, i386_absolute_call_p)
 13.3021 -	(i386_ret_p, i386_call_p, i386_breakpoint_p, i386_syscall_p)
 13.3022 -	(i386_displaced_step_fixup): New functions.
 13.3023 -	(struct i386_insn, i386_match_insn): Update.
 13.3024 -	(i386_gdbarch_init): Set gdbarch_max_insn_length.
 13.3025 -	* i386-tdep.h (I386_MAX_INSN_LEN): New.
 13.3026 -	(i386_displaced_step_fixup): New prototype.
 13.3027 -	* i386-linux-tdep.c (i386_linux_init_abi): Include "arch-utils.h".
 13.3028 -	Register gdbarch_displaced_step_copy,
 13.3029 -	gdbarch_displaced_step_fixup, gdbarch_displaced_step_free_closure,
 13.3030 -	and gdbarch_displaced_step_location functions.
 13.3031 -
 13.3032 -	* infrun.c (debug_displaced): New variable.
 13.3033 -	(show_debug_displaced): New function.
 13.3034 -	(struct displaced_step_request): New struct.
 13.3035 -	(displaced_step_request_queue, displaced_step_ptid)
 13.3036 -	(displaced_step_gdbarch, displaced_step_closure)
 13.3037 -	(displaced_step_original, displaced_step_copy)
 13.3038 -	(displaced_step_saved_copy, can_use_displaced_stepping): New
 13.3039 -	variables.
 13.3040 -	(show_can_use_displaced_stepping, use_displaced_stepping)
 13.3041 -	(displaced_step_clear, cleanup_displaced_step_closure)
 13.3042 -	(displaced_step_dump_bytes, displaced_step_prepare)
 13.3043 -	(displaced_step_clear_cleanup, write_memory_ptid)
 13.3044 -	(displaced_step_fixup): New functions.
 13.3045 -	(resume): Call displaced_step_prepare.
 13.3046 -	(proceed): Call read_pc once, and remember the value.  If using
 13.3047 -	displaced stepping, don't remove breakpoints.
 13.3048 -	(handle_inferior_event): Call displaced_step_fixup.  Add some
 13.3049 -	debugging output.  When we try to step over a breakpoint, but get
 13.3050 -	a signal to deliver to the thread instead, ensure the step-resume
 13.3051 -	breakpoint is actually inserted.  If a thread hop is needed, and
 13.3052 -	displaced stepping is enabled, don't remove breakpoints.
 13.3053 -	(init_wait_for_inferior): Call displaced_step_clear.
 13.3054 -	(_initialize_infrun): Add "set debug displaced" command.  Add
 13.3055 -	"maint set can-use-displaced-stepping" command.  Clear
 13.3056 -	displaced_step_ptid.
 13.3057 -	* inferior.h (debug_displaced): Declare variable.
 13.3058 -	(displaced_step_dump_bytes): Declare function.
 13.3059 -
 13.3060 -	* Makefile.in (arch-utils.o, i386-linux-tdep.o): Update
 13.3061 -	dependencies.
 13.3062 -
 13.3063 -2008-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
 13.3064 -
 13.3065 -	* arm-tdep.c (arm_mode_strings, arm_fallback_mode_string)
 13.3066 -	(arm_force_mode_string, arm_show_fallback_mode)
 13.3067 -	(arm_show_force_mode): New.
 13.3068 -	(arm_pc_is_thumb): Honor fallback-mode and force-mode.  Use
 13.3069 -	arm_frame_is_thumb.
 13.3070 -	(_initialize_arm_tdep): Add "set arm fallback-mode"
 13.3071 -	and "set arm force-mode".
 13.3072 -	* NEWS: Document new commands.
 13.3073 -
 13.3074 -2008-05-02  Andrew Stubbs  <andrew.stubbs@st.com>
 13.3075 -
 13.3076 -	* main.h (batch_silent): Declare.
 13.3077 -	* event-top.c: Include main.h.
 13.3078 -	(gdb_setup_readline): Remove extern batch_silent declaration.
 13.3079 -	* infrun.c (normal_stop): Don't print source location when running in
 13.3080 -	--batch-silent mode.
 13.3081 -	* Makefile.in (event-top.o): Add main.h dependency.
 13.3082 -
 13.3083 -2008-05-02  Andreas Schwab  <schwab@suse.de>
 13.3084 -
 13.3085 -	* target.h (struct target_ops): Add
 13.3086 -	to_watchpoint_addr_within_range.
 13.3087 -	(target_watchpoint_addr_within_range): New function.
 13.3088 -	* target.c (update_current_target): Inherit
 13.3089 -	to_watchpoint_addr_within_range, defaulting to
 13.3090 -	default_watchpoint_addr_within_range.
 13.3091 -	(default_watchpoint_addr_within_range): New function.
 13.3092 -	(debug_to_watchpoint_addr_within_range): New function.
 13.3093 -	(setup_target_debug): Set to_watchpoint_addr_within_range.
 13.3094 -	* ppc-linux-nat.c (ppc_linux_watchpoint_addr_within_range):
 13.3095 -	New function.
 13.3096 -	(_initialize_ppc_linux_nat): Set to_watchpoint_addr_within_range.
 13.3097 -	* breakpoint.c (watchpoints_triggered): Use
 13.3098 -	target_watchpoint_addr_within_range.
 13.3099 -
 13.3100 -2008-05-01  Pedro Alves  <pedro@codesourcery.com>
 13.3101 -
 13.3102 -	* configure.tgt: Add i[34567]86-*-dicos* and x86_64-*-dicos*.
 13.3103 -	(i[34567]86-*-dicos*, x86_64-*-dicos*):
 13.3104 -	Set gdb_osabi to GDB_OSABI_DICOS.
 13.3105 -
 13.3106 -	* defs.h (enum gdb_osabi): Add GDB_OSABI_DICOS.
 13.3107 -	* osabi.c (gdb_osabi_name): Add "DICOS".
 13.3108 -
 13.3109 -	* i386-dicos-tdep.c: New file.
 13.3110 -
 13.3111 -	* Makefile.in (ALL_TARGET_OBS): Add i386-dicos-tdep.o.
 13.3112 -	(ALLDEPFILES): Add i386-dicos-tdep.c.
 13.3113 -	(i386-dicos-tdep.o): New rule.
 13.3114 -
 13.3115 -2008-05-01  Pedro Alves  <pedro@codesourcery.com>
 13.3116 -
 13.3117 -	* linux-nat.c (linux_nat_switch_fork): Reinit GDB's thread list
 13.3118 -	and register the fork's PTID as a thread.
 13.3119 -
 13.3120 -2008-05-01  Aleksandar Ristovski  <aristovski@qnx.com>
 13.3121 -
 13.3122 -	PR gdb/1665
 13.3123 -	* breakpoint.c (create_breakpoint): Add breakpoint_ops argument and
 13.3124 -	assign its value to the breakpoint created.
 13.3125 -	(create_breakpoints): Add breakpoint_ops argument and pass it
 13.3126 -	to create_breakpoint call.
 13.3127 -	(break_command_really): Add breakpoint_ops argument and pass/assign
 13.3128 -	appropriately.
 13.3129 -	(break_command_1): Pass NULL as ops argument.
 13.3130 -	(set_breakpoint): Pass NULL as ops argument.
 13.3131 -	(print_one_exception_catchpoint): Print <PENDING> if no loc available.
 13.3132 -	(handle_gnu_v3_exceptions): Call generic breakpoint code to insert
 13.3133 -	catch and throw catchpoints.
 13.3134 -
 13.3135 -2008-05-01  Aleksandar Ristovski  <aristovski@qnx.com>
 13.3136 -
 13.3137 -	PR gdb/2343
 13.3138 -	* corelow.c (core_open): Use gdbarch_target_signal_from_host to
 13.3139 -	translate signal numeric value from the target to GDB's enum
 13.3140 -	target_signal.
 13.3141 -	* gdbarch.c, gdbarch.h: Regenerated.
 13.3142 -	* gdbarch.sh: Added two new functions target_signal_from_host and
 13.3143 -	target_signal_to_host.
 13.3144 -	* target.h (default_target_signal_from_host,
 13.3145 -	default_target_signal_to_host): New functions - declarations.
 13.3146 -	* signals/signals.c (struct gdbarch): New declaration.
 13.3147 -	(default_target_signal_to_host, default_target_signal_from_host): New
 13.3148 -	functions.
 13.3149 -
 13.3150 -2008-05-01  Daniel Jacobowitz  <dan@codesourcery.com>
 13.3151 -	    Pedro Alves  <pedro@codesourcery.com>
 13.3152 -
 13.3153 -	Based on work by Jan Kratochvil <jan.kratochvil@redhat.com> and Jeff
 13.3154 - 	Johnston <jjohnstn@redhat.com>.
 13.3155 -
 13.3156 -	* NEWS: Mention attach to stopped process fix.
 13.3157 -	* infcmd.c (detach_command, disconnect_command): Discard the thread
 13.3158 -	list.
 13.3159 -	* infrun.c (handle_inferior_event): Do not ignore non-SIGSTOP while
 13.3160 -	attaching.  Use signal_stop_state.
 13.3161 -	(signal_stop_state): Check stop_soon.
 13.3162 -	* linux-nat.c (kill_lwp): Declare earlier.
 13.3163 -	(pid_is_stopped, linux_nat_post_attach_wait): New.
 13.3164 -	(lin_lwp_attach_lwp): Use linux_nat_post_attach_wait.  Update
 13.3165 -	comments.
 13.3166 -	(linux_nat_attach): Use linux_nat_post_attach_wait.
 13.3167 -	(detach_callback, linux_nat_detach): Improve handling for signalled
 13.3168 -	processes.
 13.3169 -	(linux_nat_pid_to_str): Always print out the LWP ID if it differs
 13.3170 -	from the process ID.
 13.3171 -	* Makefile.in (infcmd.o): Update.
 13.3172 -
 13.3173 -2008-05-01  Daniel Jacobowitz  <dan@codesourcery.com>
 13.3174 -
 13.3175 -	* arm-linux-tdep.h (ARM_CPSR_REGNUM): Delete definition.
 13.3176 -	* arm-tdep.c (arm_frame_is_thumb): New.
 13.3177 -	(arm_pc_is_thumb): Clarify comment.
 13.3178 -	(thumb_analyze_prologue): Remove PC special case.
 13.3179 -	(thumb_scan_prologue): Take a block_addr argument.  Use it for
 13.3180 -	find_pc_partial_function.  Remove unused variables.
 13.3181 -	(arm_scan_prologue): Use arm_frame_is_thumb.  Use the block address
 13.3182 -	for find_pc_partial_function.  Remove PC special case.
 13.3183 -	(arm_prologue_prev_register): Add special handling for PC and CPSR.
 13.3184 -	(arm_dwarf2_prev_register, arm_dwarf2_frame_init_reg): New.
 13.3185 -	(arm_get_next_pc): Use arm_frame_is_thumb.
 13.3186 -	(arm_write_pc): Use CPSR_T instead of 0x20.
 13.3187 -	(arm_gdbarch_init): Call dwarf2_frame_set_init_reg.
 13.3188 -	* arm-tdep.h (enum gdb_regnum): Add ARM_CPSR_REGNUM.
 13.3189 -	(CPSR_T): Define.
 13.3190 -	* dwarf2-frame.c (dwarf2_frame_prev_register): Handle
 13.3191 -	DWARF2_FRAME_REG_FN.
 13.3192 -	* dwarf2-frame.h (enum dwarf2_frame_reg_rule): Add
 13.3193 -	DWARF2_FRAME_REG_FN.
 13.3194 -	(struct dwarf2_frame_state_reg): Add FN to loc union.
 13.3195 -
 13.3196 -2008-05-01  Nick Roberts  <nickrob@snap.net.nz>
 13.3197 -
 13.3198 -	* exec.c (print_section_info): Add missing '\n'.
 13.3199 -
 13.3200 -2008-05-01  Vladimir Prus  <vladimir@codesourcery.com>
 13.3201 -
 13.3202 -	* thread.c (add_thread): Move observer call to ...
 13.3203 -	(add_thread_silent): ... here.
 13.3204 -
 13.3205 -2008-04-30  Ulrich Weigand  <uweigand@de.ibm.com>
 13.3206 -
 13.3207 -	* rs6000-tdep.c: Update for unwinder changes.
 13.3208 -	* ppcobsd-tdep.c: Likewise.
 13.3209 -
 13.3210 -2008-04-30  Ulrich Weigand  <uweigand@de.ibm.com>
 13.3211 -
 13.3212 -	* s390-tdep.c: Update for unwinder changes.
 13.3213 -
 13.3214 -2008-04-30  Ulrich Weigand  <uweigand@de.ibm.com>
 13.3215 -
 13.3216 -	* spu-tdep.c: Update for unwinder changes.
 13.3217 -
 13.3218 -2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
 13.3219 -
 13.3220 -	* hppanbsd-tdep.c, m68kbsd-tdep.c, mn10300-linux-tdep.c,
 13.3221 -	ppc-linux-tdep.c, ppcnbsd-tdep.c, sparc-linux-tdep.c,
 13.3222 -	sparc64-linux-tdep.c: Update for unwinder changes.
 13.3223 -
 13.3224 -2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
 13.3225 -
 13.3226 -	* mipsnbsd-tdep.c, mips64obsd-tdep.c, mips-linux-tdep.c: Update
 13.3227 -	for unwinder changes.
 13.3228 -	* mips-tdep.c: Likewise.
 13.3229 -	(mips_stub_frame_cache): Unwind the ABI stack pointer, not the
 13.3230 -	raw one.
 13.3231 -
 13.3232 -2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
 13.3233 -
 13.3234 -	* arm-linux-tdep.c, arm-tdep.c, armobsd-tdep.c: Update for
 13.3235 -	unwinder changes.
 13.3236 -
 13.3237 -2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
 13.3238 -
 13.3239 -	Update i386 and amd64 ports for unwinder changes.
 13.3240 -
 13.3241 -	* amd64-tdep.c (amd64_frame_cache): Expect this_frame.
 13.3242 -	(amd64_frame_this_id, amd64_frame_prev_register): Update signature.
 13.3243 -	(amd64_frame_unwind): Use default_frame_sniffer.
 13.3244 -	(amd64_frame_sniffer): Delete.
 13.3245 -	(amd64_sigtramp_frame_cache): Expect this_frame.
 13.3246 -	(amd64_sigtramp_frame_this_id, amd64_sigtramp_frame_prev_register)
 13.3247 -	(amd64_sigtramp_frame_sniffer): Update signature.
 13.3248 -	(amd64_sigtramp_frame_unwind): Add amd64_sigtramp_frame_sniffer.
 13.3249 -	(amd64_frame_base_address): Expect this_frame.
 13.3250 -	(amd64_dummy_id): Renamed from amd64_unwind_dummy_id.  Expect
 13.3251 -	this_frame.
 13.3252 -	(amd64_init_abi): Use set_gdbarch_dummy_id and
 13.3253 -	frame_unwind_append_unwinder.
 13.3254 -	* i386-tdep.c (i386_frame_cache): Expect this_frame.
 13.3255 -	(i386_frame_this_id, i386_frame_prev_register): Update signature.
 13.3256 -	(i386_frame_unwind): Use default_frame_sniffer.
 13.3257 -	(i386_frame_sniffer): Delete.
 13.3258 -	(i386_sigtramp_frame_cache): Expect this_frame.
 13.3259 -	(i386_sigtramp_frame_this_id, i386_sigtramp_frame_prev_register)
 13.3260 -	(i386_sigtramp_frame_sniffer): Update signature.
 13.3261 -	(i386_sigtramp_frame_unwind): Use i386_sigtramp_frame_sniffer.
 13.3262 -	(i386_frame_base_address): Update signature.
 13.3263 -	(i386_dummy_id): Rename from i386_unwind_dummy_id.  Expect this_frame.
 13.3264 -	(i386_push_dummy_call): Update comment.
 13.3265 -	(i386_sigtramp_p, i386_svr4_sigtramp_p, i386_svr4_sigcontext_addr):
 13.3266 -	Expect this_frame.
 13.3267 -	(i386_gdbarch_init): Use set_gdbarch_dummy_id, dwarf2_append_unwinders,
 13.3268 -	and frame_unwind_append_unwinder.
 13.3269 -	* amd64-linux-tdep.c, amd64-sol2-tdep.c, amd64fbsd-tdep.c,
 13.3270 -	amd64nbsd-tdep.c, amd64obsd-tdep.c, i386-linux-tdep.c,
 13.3271 -	i386-nto-tdep.c, i386bsd-tdep.c, i386-sol2-tdep.c, i386obsd-tdep.c,
 13.3272 -	i386nbsd-tdep.c: Update for unwinder changes.
 13.3273 -
 13.3274 -2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
 13.3275 -
 13.3276 -	* trad-frame.c (struct trad_frame_cache): Rename next_frame to this_frame.
 13.3277 -	(trad_frame_cache_zalloc, trad_frame_alloc_saved_regs): Expect
 13.3278 -	this_frame.
 13.3279 -	(trad_frame_get_prev_register, trad_frame_get_register): Update signature.
 13.3280 -	* trad-frame.h (trad_frame_cache_zalloc, trad_frame_get_register)
 13.3281 -	(trad_frame_alloc_saved_regs, trad_frame_get_prev_register): Update
 13.3282 -	signature.
 13.3283 -	* tramp-frame.c (tramp_frame_cache, tramp_frame_start): Expect
 13.3284 -	this_frame.
 13.3285 -	(tramp_frame_this_id, tramp_frame_prev_register, tramp_frame_sniffer):
 13.3286 -	Update signature.
 13.3287 -	* tramp-frame.h (struct tramp_frame): Update signature of init.
 13.3288 -	* Makefile.in (trad-frame.o): Update.
 13.3289 -
 13.3290 -2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
 13.3291 -
 13.3292 -	* dwarf2-frame.c (read_reg): Expect this_frame in the baton.
 13.3293 -	(execute_stack_op): Put this_frame in the baton.
 13.3294 -	(execute_cfa_program): Take this_frame.
 13.3295 -	(struct dwarf2_frame_ops): Update comment for signal_frame_p.
 13.3296 -	(dwarf2_frame_default_init_reg, dwarf2_frame_init_reg)
 13.3297 -	(dwarf2_frame_signal_frame_p, dwarf2_frame_cache)
 13.3298 -	(dwarf2_frame_this_id): Adjust to work on this_frame.
 13.3299 -	(dwarf2_signal_frame_this_id): Delete.
 13.3300 -	(dwarf2_frame_prev_register): Update signature.  Use new frame
 13.3301 -	unwind methods.
 13.3302 -	(dwarf2_frame_sniffer): Update signature.  Expect this_frame.
 13.3303 -	(dwarf2_frame_unwind, dwarf2_signal_frame_unwind): Add
 13.3304 -	dwarf2_frame_sniffer.
 13.3305 -	(dwarf2_append_unwinders): New.
 13.3306 -	(dwarf2_frame_base_address, dwarf2_frame_base_sniffer): Expect
 13.3307 -	this_frame.
 13.3308 -	* sparc-tdep.c (sparc32_dwarf2_struct_return_p)
 13.3309 -	(sparc32_dwarf2_frame_init_reg): Expect this_frame.
 13.3310 -	* cris-tdep.c (cris_dwarf2_frame_init_reg): Likewise.
 13.3311 -	* rs6000-tdep.c (ppc_dwarf2_frame_init_reg): Likewise.
 13.3312 -	* s390-tdep.c (s390_dwarf2_frame_init_reg): Likewise.
 13.3313 -	* sh-tdep.c (sh_dwarf2_frame_init_reg): Likewise.
 13.3314 -	* sparc64-tdep.c (sparc64_dwarf2_frame_init_reg): Likewise.
 13.3315 -	* dwarf2-frame.h (dwarf2_frame_sniffer): Delete declaration.
 13.3316 -	(dwarf2_append_unwinders): Declare.
 13.3317 -	(dwarf2_frame_base_sniffer): Update declaration.
 13.3318 -	* i386-linux-tdep.c (i386_linux_dwarf_signal_frame_p): Expect
 13.3319 -	this_frame.
 13.3320 -
 13.3321 -2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
 13.3322 -
 13.3323 -	Convert frame unwinders to use the current frame and
 13.3324 -	"struct value".
 13.3325 -
 13.3326 -	* frame.c (frame_debug): Make global.
 13.3327 -	(get_frame_id): Pass this frame to unwinder routines.
 13.3328 -	(frame_pc_unwind): Remove unused unwind->prev_pc support.
 13.3329 -	(do_frame_register_read): Do not discard the return value of
 13.3330 -	frame_register_read.
 13.3331 -	(frame_register_unwind): Remove debug messages.  Use
 13.3332 -	frame_unwind_register_value.
 13.3333 -	(frame_unwind_register_value, get_frame_register_value): New
 13.3334 -	functions.
 13.3335 -	(create_new_frame, get_frame_base_address, get_frame_locals_address)
 13.3336 -	(get_frame_args_address, get_frame_type): Pass this frame to
 13.3337 -	unwinder routines.
 13.3338 -	(frame_cleanup_after_sniffer, frame_prepare_for_sniffer): New
 13.3339 -	functions.
 13.3340 -	* frame.h: Update comments.
 13.3341 -	(frame_debug, frame_unwind_register_value, get_frame_register_value)
 13.3342 -	(frame_prepare_for_sniffer): Declare.
 13.3343 -	* frame-unwind.h: Update comments and parameter names.
 13.3344 -	(default_frame_sniffer): Declare.
 13.3345 -	(frame_prev_register_ftype): Return a struct value *.
 13.3346 -	(struct frame_unwind): Remove prev_pc member.
 13.3347 -	(frame_unwind_sniffer_ftype, frame_unwind_append_sniffer): Delete.
 13.3348 -	(frame_unwind_append_unwinder, frame_unwind_got_optimized)
 13.3349 -	(frame_unwind_got_register, frame_unwind_got_memory)
 13.3350 -	(frame_unwind_got_constant, frame_unwind_got_address): Declare.
 13.3351 -	* frame-base.h: Update comments and parameter names.
 13.3352 -	* valops.c (value_fetch_lazy): Use get_frame_register_value.  Iterate
 13.3353 -	if necessary.  Add debugging output.
 13.3354 -	* sentinel-frame.c (sentinel_frame_prev_register)
 13.3355 -	(sentinel_frame_this_id): Update for new signature.
 13.3356 -	(sentinel_frame_prev_pc): Delete.
 13.3357 -	(sentinel_frame_unwinder): Remove prev_pc.
 13.3358 -	* ia64-tdep.c (ia64_libunwind_frame_unwind): Do not initialize
 13.3359 -	prev_pc.
 13.3360 -	* libunwind-frame.c (libunwind_frame_unwind): Likewise.
 13.3361 -	* frame-unwind.c (struct frame_unwind_table_entry): Remove sniffer.
 13.3362 -	(frame_unwind_append_sniffer): Delete.
 13.3363 -	(frame_unwind_append_unwinder): New function.
 13.3364 -	(frame_unwind_find_by_frame): Take this frame.  Only use sniffers
 13.3365 -	from unwinders.  Use frame_prepare_for_sniffer.
 13.3366 -	(default_frame_sniffer, frame_unwind_got_optimized)
 13.3367 -	(frame_unwind_got_register, frame_unwind_got_memory)
 13.3368 -	(frame_unwind_got_constant, frame_unwind_got_address): New functions.
 13.3369 -	* dummy-frame.c (dummy_frame_sniffer): Use gdbarch_dummy_id.
 13.3370 -	(dummy_frame_prev_register, dummy_frame_this_id): Update for new
 13.3371 -	signature.
 13.3372 -	* gdbarch.sh: Replace unwind_dummy_id with dummy_id.
 13.3373 -	* gdbarch.c, gdbarch.c: Regenerated.
 13.3374 -	* frame-base.c (default_frame_base_address)
 13.3375 -	(default_frame_locals_address, default_frame_args_address): Update
 13.3376 -	for new signature.
 13.3377 -	(frame_base_find_by_frame): Pass this frame to unwinder routines.
 13.3378 -	* infcall.c (call_function_by_hand): Update comments.
 13.3379 -	* Makefile.in (frame-unwind.o): Update dependencies.
 13.3380 -
 13.3381 -2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
 13.3382 -
 13.3383 -	* ada-lang.c (ada_value_primitive_packed_val): Only check
 13.3384 -	value_lazy for memory lvals.
 13.3385 -	* findvar.c (value_of_register_lazy): New function.
 13.3386 -	(locate_var_value): Only check value_lazy for memory lvals.
 13.3387 -	* valarith.c (value_subscripted_rvalue): Likewise.
 13.3388 -	* valops.c (value_fetch_lazy): Handle both memory and register
 13.3389 -	lvals.
 13.3390 -	(search_struct_field, value_slice): Only check value_lazy for memory
 13.3391 -	lvals.
 13.3392 -	* value.c (struct value): Update comment for lazy.
 13.3393 -	(value_primitive_field): Only check value_lazy for memory lvals.
 13.3394 -	* value.h (value_lazy): Update comment.
 13.3395 -	(value_of_register_lazy): Declare.
 13.3396 -
 13.3397 -2008-04-30  Daniel Jacobowitz  <dan@codesourcery.com>
 13.3398 -
 13.3399 -	* corefile.c (reopen_exec_file): Close any open files.
 13.3400 -
 13.3401 -2008-04-29  Joel Brobecker  <brobecker@adacore.com>
 13.3402 -
 13.3403 -	* ia64-tdep.c (ia64_memory_remove_breakpoint): Set
 13.3404 -	show_memory_breakpoints to 1 while reading the instruction bundle.
 13.3405 -
 13.3406 -2008-04-29  Joel Brobecker  <brobecker@adacore.com>
 13.3407 -
 13.3408 -	* gdbarch.sh: Document the return_value method. Explain that
 13.3409 -	the FUNCTYPE parameter might be NULL.
 13.3410 -	* gdbarch.h: Regenerated.
 13.3411 -	* sparc-tdep.c (sparc32_push_dummy_code): Do not pass the function
 13.3412 -	type when calling using_struct_return, as this is unnecessary
 13.3413 -	on this target.
 13.3414 -
 13.3415 -2008-04-28  Joel Brobecker  <brobecker@adacore.com>
 13.3416 -
 13.3417 -	* terminal.h (create_tty_session): Fix return type.
 13.3418 -
 13.3419 -2008-04-26  Vladimir Prus  <vladimir@codesourcery.com>
 13.3420 -
 13.3421 -	* mi/mi-interp.c (mi_new_thread): Quote the thread id.
 13.3422 -
 13.3423 -2008-04-26  Joel Brobecker  <brobecker@adacore.com>
 13.3424 -
 13.3425 -	* breakpoint.c (condition_command, commands_from_control_command)
 13.3426 -	(break_command_really): Minor reformatting.
 13.3427 -
 13.3428 -2008-04-25  Pedro Alves  <pedro@codesourcery.com>
 13.3429 -
 13.3430 -	* dwarf2read.c (dwarf2_const_value): Handle DW_FORM_strp.
 13.3431 -
 13.3432 -2008-04-25  Pedro Alves  <pedro@codesourcery.com>
 13.3433 -
 13.3434 -	* amd64-tdep.c (amd64_get_longjmp_target): New.
 13.3435 -	(amd64_init_abi): Register amd64_get_longjmp_target as
 13.3436 -	gdbarch_get_longjmp_target callback.
 13.3437 -	* i386-tdep.c (i386_get_longjmp_target): Remove 64-bit handling.
 13.3438 -
 13.3439 -2008-04-25  Pedro Alves  <pedro@codesourcery.com>
 13.3440 -
 13.3441 -	* breakpoint.h (enum bpstat_what_main_action): Delete
 13.3442 -	BPSTAT_WHAT_CLEAR_LONGJMP_RESUME_SINGLE.
 13.3443 -
 13.3444 -	* breakpoint.c (clrs): Delete.
 13.3445 -	(bpstat_what): Update table.
 13.3446 -
 13.3447 -	* infrun.c (handle_inferior_event): Remove
 13.3448 -	BPSTAT_WHAT_CLEAR_LONGJMP_RESUME_SINGLE handling.
 13.3449 -
 13.3450 -2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
 13.3451 -
 13.3452 -	* mi/mi-cmds.h (mi_cmd_args_ftype): Remove.
 13.3453 -	Adjust all prototypes using mi_cmd_args_ftype to use
 13.3454 -	mi_cmd_argv_ftype.
 13.3455 -	(struct mi_cmd): Remove the args_func field.
 13.3456 -	* mi/mi-cmds.c: Don't provide value for the args_func field.
 13.3457 -	* mi/mi-main.c (mi_execute_async_cli_command)
 13.3458 -	(mi_cmd_exec_run, mi_cmd_exec_next, mi_cmd_exec_next_instruction)
 13.3459 -	(mi_cmd_exec_step, mi_cmd_exec_step_instruction)
 13.3460 -	(mi_cmd_exec_finish, mi_cmd_exec_until, mi_cmd_exec_return)
 13.3461 -	(mi_cmd_exec_continue, mi_cmd_exec_interrupt)
 13.3462 -	(mi_cmd_target_download): Adjust.
 13.3463 -	(mi_cmd_target_select): Adjust. Pass 0 for from_tty parameter.
 13.3464 -	(mi_cmd_execute): Do not check for args_func.
 13.3465 -	(mi_execute_async_cli_command): Adjust.
 13.3466 -	* mi/mi-parse.c: Don't check for args_func.
 13.3467 -
 13.3468 -2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
 13.3469 -
 13.3470 -	* breakpoint.c (bpstat_check_location)
 13.3471 -	(bpstat_check_watchpoint, bpstat_check_breakpoint_conditions):
 13.3472 -	New, extracted from bpstat_stop_status.
 13.3473 -	(bpstat_stop_status): Use the above.
 13.3474 -
 13.3475 -2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
 13.3476 -
 13.3477 -	* mi/mi-main.c (last_async_command): Rename to current_token.
 13.3478 -	(previous_async_command): Remove.
 13.3479 -	(mi_cmd_gdb_exit): Adjust.
 13.3480 -	(mi_cmd_exec_interrupt): Don't dance with previous_async_command.
 13.3481 -	(mi_cmd_target_select): Adjust.
 13.3482 -	(mi_cmd_execute): Don't set previous_async_command.  Free token
 13.3483 -	here even in async mode.
 13.3484 -	(mi_execute_async_cli_command): Adjust.
 13.3485 -	(mi_exec_async_cli_cmd_continuation): Adjust.  Do not free the
 13.3486 -	token.
 13.3487 -	(mi_load_progress): Adjust.
 13.3488 -
 13.3489 -2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
 13.3490 -
 13.3491 -	* infcmd.c (step_1_continuation): Always disable longjmp
 13.3492 -	breakpoint if we're not going to do another step.
 13.3493 -
 13.3494 -2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
 13.3495 -
 13.3496 -	exec_cleanup murder.
 13.3497 -	* breakpoint.c (until_break_command_continuation): Add
 13.3498 -	the 'error' parameter.  Directly delete the breakoint as
 13.3499 -	opposed to running cleanups.
 13.3500 -	(until_break_command): Install continuation only
 13.3501 -	after starting the target.  Don't use exec cleanups,
 13.3502 -	use ordinary cleanups.  Discard cleanups is successfully
 13.3503 -	started the target in async mode.
 13.3504 -	(make_cleanup_delete_breakpoint): Remove.
 13.3505 -	* breakpoint.h (make_cleanup_delete_breakpoint): Remove
 13.3506 -	declaration.
 13.3507 -	* defs.h (do_exec_cleanups, make_exec_cleanup): Remove
 13.3508 -	declarations.
 13.3509 -	(struct continations): Add the 'error' parameter to the
 13.3510 -	continuation_hook field.
 13.3511 -	(add_continuation, do_all_continuations)
 13.3512 -	(add_intermediate_continuation)
 13.3513 -	(do_all_intermediate_continuations): Add the 'error' parameter.
 13.3514 -	* exceptions.c (throw_exception): Don't call do_exec_cleanups.
 13.3515 -	* inf-loop.c (inferior_event_handler): Instead of calling
 13.3516 -	discard_all_continuations, use do_all_continuations with 1 as
 13.3517 -	'error' parameter.  Pass 0 as 'error' parameter in existing uses
 13.3518 -	of discard_all_continuations.
 13.3519 -	* infcmd.c (step_1): Do not use exec cleanup.  For async case, discard
 13.3520 -	cleanups.
 13.3521 -	(step_once): Install continuation only after resuming the target.
 13.3522 -	(step_1_continuation): Disable longjmp breakpoint on error.
 13.3523 -	(finish_command_continuation): Add the error parameter.  Delete
 13.3524 -	the finish breakpoint directly, do not use cleanups.
 13.3525 -	(finish_command): Do not use exec_cleanups. Always setup
 13.3526 -	continuation.  For sync case, immediately run them.
 13.3527 -	(attach_command_continuation): Add the error parameter.
 13.3528 -	* infrun.c (fetch_inferior_event): Do not use exec cleanups to
 13.3529 -	remove step_resume_breakpoint -- adjust delete it directly.
 13.3530 -	* interps.c (interp_set): Adjust call to do_all_continations.
 13.3531 -	* mi/mi-interp.c (mi_interpreter_exec_continuation): Do not
 13.3532 -	do exec cleanups.
 13.3533 -	* mi/mi-main.c (mi_cmd_target_select): Do not do exec
 13.3534 -	cleanups.
 13.3535 -	(mi_cmd_execute): Do not use exec_cleanup.
 13.3536 -	(mi_execute_async_cli_command): Simplify the string concatenation
 13.3537 -	logic.  Do no use exec cleanup.
 13.3538 -	(mi_exec_async_cli_cmd_continuation): New parameter error.
 13.3539 -	Free last_async_command.
 13.3540 -	* top.c (command_line_handler_continuation): New parameter error.
 13.3541 -	* utils.c (exec_cleanup_chain, make_exec_cleanup)
 13.3542 -	(do_exec_cleanups): Remove.
 13.3543 -	(add_continuation, do_all_continations)
 13.3544 -	(add_intermediate_continuation)
 13.3545 -	(do_all_intermediate_continuations): New parameter error.
 13.3546 -
 13.3547 -2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
 13.3548 -
 13.3549 -	* breakpoint.h (bp_location_p): New typedef.
 13.3550 -	Register a vector of bp_location_p.
 13.3551 -	* breakpoint.c (always_inserted_mode)
 13.3552 -	(show_always_inserted_mode): New.
 13.3553 -	(unlink_locations_from_global_list): Remove.
 13.3554 -	(update_global_location_list)
 13.3555 -	(update_global_location_list_nothrow): New.
 13.3556 -	(update_watchpoint): Don't free locations.
 13.3557 -	(should_insert_location): New.
 13.3558 -	(insert_bp_location): Use should_insert_location.
 13.3559 -	(insert_breakpoint_locations): Copied from
 13.3560 -	insert_breakpoints.
 13.3561 -	(insert_breakpoint): Use insert_breakpoint_locations.
 13.3562 -	(bpstat_stop_status): Call update_global_location_list
 13.3563 -	when disabling breakpoint.
 13.3564 -	(allocate_bp_location): Don't add to bp_location_chain.
 13.3565 -	(set_raw_breakpoint)
 13.3566 -	(create_longjmp_breakpoint, enable_longjmp_breakpoint)
 13.3567 -	(disable_longjmp_breakpoint, create_overlay_event_breakpoint)
 13.3568 -	(enable_overlay_breakpoints, disable_overlay_breakpoints)
 13.3569 -	(set_longjmp_resume_breakpoint)
 13.3570 -	(enable_watchpoints_after_interactive_call_stop)
 13.3571 -	(disable_watchpoints_before_interactive_call_start)
 13.3572 -	(create_internal_breakpoint)
 13.3573 -	(create_fork_vfork_event_catchpoint)
 13.3574 -	(create_exec_event_catchpoint, set_momentary_breakpoint)
 13.3575 -	(create_breakpoints, break_command_1, watch_command_1)
 13.3576 -	(create_exception_catchpoint)
 13.3577 -	(handle_gnu_v3_exceptions)
 13.3578 -	(disable_breakpoint, breakpoint_re_set_one)
 13.3579 -	(create_thread_event_breakpoint, create_solib_event_breakpoint)
 13.3580 -	(create_ada_exception_breakpoint): : Don't call check_duplicates.
 13.3581 -	Call update_global_location_list.
 13.3582 -	(delete_breakpoint): Don't remove locations and don't
 13.3583 -	try to reinsert them. Call update_global_location_list.
 13.3584 -	(update_breakpoint_locations): Likewise.
 13.3585 -	(restore_always_inserted_mode): New.
 13.3586 -	(update_breakpoints_after_exec): Temporary disable
 13.3587 -	always inserted mode.
 13.3588 -	* Makefile.in: Update dependencies.
 13.3589 -
 13.3590 -	* infrun.c (proceed): Remove breakpoints while stepping
 13.3591 -	over breakpoint.
 13.3592 -	(handle_inferior_event): Don't remove or insert
 13.3593 -	breakpoints.
 13.3594 -	* linux-fork.c (checkpoint_command): Remove breakpoints
 13.3595 -	before fork and insert after.
 13.3596 -	(linux_fork_context): Remove breakpoints before switch
 13.3597 -	and insert after.
 13.3598 -	* target.c (target_disconnect, target_detach): Remove
 13.3599 -	breakpoints from target.
 13.3600 -
 13.3601 -
 13.3602 -2008-04-24  Vladimir Prus  <vladimir@codesourcery.com>
 13.3603 -
 13.3604 -	* breakpoint.c (print_one_breakpoint_location): In MI
 13.3605 -	mode, report the location string the breakpoint was
 13.3606 -	originally created with.
 13.3607 -
 13.3608 -2008-04-23  Maxim Grigoriev  <maxim2405@gmail.com>
 13.3609 -
 13.3610 -	* Makefile.in (xtensa-tdep.o): Update dependencies.
 13.3611 -	* configure.tgt (xtensa*): Update dependencies.
 13.3612 -	* xtensa-tdep.c (arreg_number): Renamed from areg_number.
 13.3613 -	Local variable areg renamed to arreg.
 13.3614 -	(areg_number): New function.
 13.3615 -	(xtensa_pseudo_register_read, xtensa_pseudo_register_write)
 13.3616 -	(xtensa_extract_return_value, xtensa_store_return_value): areg_number
 13.3617 -	replaced by arreg_number.
 13.3618 -	(xtensa_windowed_frame_cache, struct xtensa_frame_cache): New comments.
 13.3619 -	(xtensa_alloc_frame_cache): Initialize cache->wd.ws.
 13.3620 -	(xtensa_scan_prologue): New function.
 13.3621 -	(xtensa_frame_cache): New local fp_regnum. Handle separately the case,
 13.3622 -	when ENTRY instraction hasn't been executed yet. Get the frame pointer
 13.3623 -	value based on prologue analysis. Fix the bugs preventing WS and
 13.3624 -	AR4-AR7/A11 registers from getting right values for intermediate frames,
 13.3625 -	whose registers have been already spilled.
 13.3626 -	(xtensa_frame_prev_register): Fix WS register value. Use are_number
 13.3627 -	and arreg_number appropriately.
 13.3628 -	(xtensa_gdbarch_init): Set solib_svr4_fetch_link_map_offsets to
 13.3629 -	svr4_ilp32_fetch_link_map_offsets.
 13.3630 -
 13.3631 -2008-04-23  Andrew Stubbs  <andrew.stubbs@st.com>
 13.3632 -
 13.3633 -	* printcmd.c: Define USE_PRINTF_I64 and PRINTF_HAS_LONG_LONG on MinGW.
 13.3634 -	(printf_command): Convert %lld to %I64d when USE_PRINTF_I64 set.
 13.3635 -
 13.3636 -2008-04-23  Paolo Bonzini  <bonzini@gnu.org>
 13.3637 -
 13.3638 -	* acinclude.m4: Add override.m4.
 13.3639 -	* configure: Regenerate.
 13.3640 -
 13.3641 -2008-04-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
 13.3642 -
 13.3643 -	* ada-lang.c (get_selections): Variable PROMPT made non-const and
 13.3644 -	initialized with a trailing space now.  Use PROMPT_ARG of
 13.3645 -	COMMAND_LINE_INPUT instead of printing it ourselves.
 13.3646 -
 13.3647 -2008-04-22  Joel Brobecker  <brobecker@adacore.com>
 13.3648 -
 13.3649 -	* NEWS: Document support for 64-bit core file.
 13.3650 -
 13.3651 -2008-04-22  Corinna Vinschen  <vinschen@redhat.com>
 13.3652 -
 13.3653 -	* NEWS: Add information on calling convention and new SH CLI options.
 13.3654 -
 13.3655 -	* sh-tdep.c (sh_cc_gcc): New static string.
 13.3656 -	(sh_cc_renesas): Ditto.
 13.3657 -	(sh_cc_enum): New static string array.
 13.3658 -	(sh_active_calling_convention): New static string pointer denoting
 13.3659 -	active user chosen ABI.
 13.3660 -	(sh_is_renesas_calling_convention): New function to return function
 13.3661 -	specific ABI, or user choice if necessary.
 13.3662 -	(sh_use_struct_convention): Rename first argument and turn around its
 13.3663 -	meaning.  Check for renesas ABI and return accordingly.
 13.3664 -	(sh_use_struct_convention_nofpu): New function.
 13.3665 -	(sh_next_flt_argreg): Get function type as third parameter.  Check
 13.3666 -	for renesas ABI and choose floating registers accordingly.
 13.3667 -	(sh_push_dummy_call_fpu): Check for ABI and choose argument slot and
 13.3668 -	struct return slot accordingly.
 13.3669 -	(sh_push_dummy_call_nofpu): Ditto.
 13.3670 -	(sh_return_value_nofpu): Call sh_use_struct_convention_nofpu from here.
 13.3671 -	Evaluate ABI and give to sh_use_struct_convention_nofpu.
 13.3672 -	(sh_return_value_fpu):  Evaluate ABI and give to
 13.3673 -	sh_use_struct_convention.
 13.3674 -	(show_sh_command): New function.
 13.3675 -	(set_sh_command): Ditto.
 13.3676 -	(_initialize_sh_tdep): Initialize `set/show sh calling-convention
 13.3677 -	CLI command.
 13.3678 -
 13.3679 -	* gdbarch.sh (return_value): Add func_type argument.
 13.3680 -	* gdbarch.c: Regenerate.
 13.3681 -	* gdbarch.h: Ditto.
 13.3682 -	* eval.c (evaluate_subexp_standard): Rename local variable value_type to
 13.3683 -	val_type so as not to collide with value_type function.  Call
 13.3684 -	using_struct_return with additional function type argument.
 13.3685 -	* infcall.c (call_function_by_hand): Call using_struct_return and
 13.3686 -	gdbarch_return_value with additional function type argument.
 13.3687 -	* infcmd.c (print_return_value): Take addition func_type argument.
 13.3688 -	Call gdbarch_return_value with additional function type argument.
 13.3689 -	(finish_command_continuation): Call print_return_value with additional
 13.3690 -	function type argument.
 13.3691 -	(finish_command): Ditto.
 13.3692 -	* sparc-tdep.c (sparc32_push_dummy_code): Call using_struct_return with
 13.3693 -	additional function type argument.
 13.3694 -	* stack.c (return_command): Call using_struct_return and
 13.3695 -	gdbarch_return_value with additional function type argument.
 13.3696 -	* value.c (using_struct_return): Take additional function type argument.
 13.3697 -	* value.h (using_struct_return): Accommodate declaration.
 13.3698 -	* alpha-tdep.c (alpha_return_value): Add func_type argument.
 13.3699 -	* amd64-tdep.c (amd64_return_value): Ditto.
 13.3700 -	* arm-tdep.c (arm_return_value): Ditto.
 13.3701 -	* avr-tdep.c (avr_return_value): Ditto.
 13.3702 -	* cris-tdep.c (cris_return_value): Ditto.
 13.3703 -	* frv-tdep.c (frv_return_value): Ditto.
 13.3704 -	* h8300-tdep.c (h8300_return_value): Ditto.
 13.3705 -	(h8300h_return_value): Ditto.
 13.3706 -	* hppa-tdep.c (hppa32_return_value): Ditto.
 13.3707 -	(hppa64_return_value): Ditto.
 13.3708 -	* i386-tdep.c (i386_return_value): Ditto.
 13.3709 -	* ia64-tdep.c (ia64_return_value): Ditto.
 13.3710 -	* iq2000-tdep.c (iq2000_return_value): Ditto.
 13.3711 -	* m32c-tdep.c (m32c_return_value): Ditto.
 13.3712 -	* m32r-tdep.c (m32r_return_value): Ditto.
 13.3713 -	* m68hc11-tdep.c (m68hc11_return_value): Ditto.
 13.3714 -	* m68k-tdep.c (m68k_return_value): Ditto.
 13.3715 -	(m68k_svr4_return_value): Ditto.
 13.3716 -	* m88k-tdep.c  (m88k_return_value): Ditto.
 13.3717 -	* mep-tdep.c (mep_return_value): Ditto.
 13.3718 -	* mips-tdep.c (mips_eabi_return_value): Ditto.
 13.3719 -	(mips_n32n64_return_value): Ditto.
 13.3720 -	(mips_o32_return_value): Ditto.
 13.3721 -	(mips_o64_return_value): Ditto.
 13.3722 -	* mn10300-tdep.c (mn10300_return_value): Ditto.
 13.3723 -	* mt-tdep.c (mt_return_value): Ditto.
 13.3724 -	* ppc-linux-tdep.c (ppc_linux_return_value): Ditto.
 13.3725 -	* ppc-sysv-tdep.c (ppc_sysv_abi_return_value): Ditto.
 13.3726 -	(ppc_sysv_abi_broken_return_value): Ditto.
 13.3727 -	(ppc64_sysv_abi_return_value): Ditto.
 13.3728 -	* ppc-tdep.h (ppc_sysv_abi_return_value): Ditto.
 13.3729 -	(ppc_sysv_abi_broken_return_value): Ditto.
 13.3730 -	(ppc64_sysv_abi_return_value): Ditto.
 13.3731 -	* ppcnbsd-tdep.c (ppcnbsd_return_value): Ditto.
 13.3732 -	* rs6000-tdep.c (rs6000_return_value): Ditto.
 13.3733 -	* s390-tdep.c (s390_return_value): Ditto.
 13.3734 -	* score-tdep.c (score_return_value): Ditto.
 13.3735 -	* sh-tdep.c (sh_return_value_nofpu): Ditto.
 13.3736 -	(sh_return_value_fpu): Ditto.
 13.3737 -	* sh64-tdep.c (sh64_return_value): Ditto.
 13.3738 -	* sparc-tdep.c (sparc32_return_value): Ditto.
 13.3739 -	* sparc64-tdep.c (sparc64_return_value): Ditto.
 13.3740 -	* spu-tdep.c (spu_return_value): Ditto.
 13.3741 -	* v850-tdep.c (v850_return_value): Ditto.
 13.3742 -	* vax-tdep.c (vax_return_value): Ditto.
 13.3743 -	* xstormy16-tdep.c (xstormy16_return_value): Ditto.
 13.3744 -	* xtensa-tdep.c (xtensa_return_value): Ditto.
 13.3745 -
 13.3746 -	* gdbtypes.h (struct type): Add calling_convention member.
 13.3747 -	* dwarf2read.c (read_subroutine_type): Add calling convention read
 13.3748 -	from DW_AT_calling_convention attribute to function type.
 13.3749 -
 13.3750 -2008-04-22  Markus Deuling  <deuling@de.ibm.com>
 13.3751 -
 13.3752 -	* eval.c (evaluate_subexp_standard): Use value_subscripted_rvalue for
 13.3753 -	multi_f77_subscript to support values from registers.
 13.3754 -	* valarith.c (value_subscripted_rvalue): Remove prototype and static.
 13.3755 -	* value.h (value_subscripted_rvalue): Add prototype.
 13.3756 -
 13.3757 -	* f-typeprint.c (f_type_print_base): Add support for TYPE_CODE_UNION.
 13.3758 -	Fix output.
 13.3759 -	* f-valprint.c (f_val_print): Likewise.
 13.3760 -
 13.3761 -2008-04-21  Craig Silverstein  <csilvers@google.com>
 13.3762 -
 13.3763 -	* dwarf2read.c (zlib_decompress_section): Define abfd in the
 13.3764 -	!HAVE_ZLIB_H case.
 13.3765 -
 13.3766 -2008-04-21  Pedro Alves  <pedro@codesourcery.com>
 13.3767 -
 13.3768 -	* symfile.c (syms_from_objfile): Don't warn if lowest loadable
 13.3769 -	section is not a code section.
 13.3770 -
 13.3771 -2008-04-19  Craig Silverstein  <csilvers@google.com>
 13.3772 -
 13.3773 -	* NEWS: Add information on compressed debug sections.
 13.3774 -
 13.3775 -2008-04-19  Vladimir Prus  <vladimir@codesourcery.com>
 13.3776 -
 13.3777 -	* mi/mi-cmd-var.c (varobj_update_one): Print new
 13.3778 -	value for variable objects that changed type.
 13.3779 -
 13.3780 -2008-04-19  Vladimir Prus  <vladimir@codesourcery.com>
 13.3781 -
 13.3782 -	* varobj.c (varobj_invalidate): Don't touch floating
 13.3783 -	varobjs.
 13.3784 -
 13.3785 -2008-04-19  Mark Kettenis  <kettenis@gnu.org>
 13.3786 -
 13.3787 -	* symtab.c: (multiple_symbols_modes, multiple_symbols_ask)
 13.3788 -	(multiple_symbols_cancel): Remove extra const.
 13.3789 -	* symtab.h: Likewise.
 13.3790 -
 13.3791 -2008-04-19  Nick Roberts  <nickrob@snap.net.nz>
 13.3792 -
 13.3793 -	* interps.c (top_level_interpreter): Rename static variable...
 13.3794 -	(top_level_interpreter_ptr): ...to this.
 13.3795 - 	(top_level_interpreter): New function.
 13.3796 -
 13.3797 -	* interps.h: New extern for top_level_interpreter.
 13.3798 -
 13.3799 -	* linespec.c: Include interps.h and mi/mi-cmds.h.
 13.3800 -	(decode_line_2): When using MI, always set all breakpoints in menu.
 13.3801 -
 13.3802 -	* Makefile.in (linespec.o, mi-interp.o): Add dependencies.
 13.3803 -
 13.3804 -2008-04-18  Craig Silverstein  <csilvers@google.com>
 13.3805 -
 13.3806 -	* configure.ac (AC_SEARCH_LIBS): Add check for zlib.
 13.3807 -	* config.in, configure: Regenerate.
 13.3808 -	* dwarf2read.c: Include zlib.h if present.
 13.3809 -	Modified *_SECTION macros.
 13.3810 -	(section_is_p): New.
 13.3811 -	(dwarf2_locate_sections): Use section_is_p instead of strcmp
 13.3812 -	(dwarf2_resize_section): New.
 13.3813 -	to determine whether a given section has a given name.
 13.3814 -	(zlib_decompress_section): New.
 13.3815 -	(dwarf2_read_section): Read the compressed section if present
 13.3816 -	in the binary.
 13.3817 -	* MAINTAINERS: Added myself to section Write After Approval.
 13.3818 -
 13.3819 -2008-04-18  Thiago Jung Bauermann  <bauerman@br.ibm.com>
 13.3820 -
 13.3821 -	* defs.h (exec_set_section_offsets): Remove prototype.
 13.3822 -	* exec.c (exec_set_section_offsets): Remove function.
 13.3823 -
 13.3824 -2008-04-18  Joel Brobecker  <brobecker@adacore.com>
 13.3825 -
 13.3826 -	* stabsread.c (cleanup_undefined_types_1): Add instance flags check
 13.3827 -	in the search for the matching symbol.
 13.3828 -
 13.3829 -2008-04-17  Marc Khouzam  <marc.khouzam@ericsson.com>
 13.3830 -
 13.3831 -	* breakpoint.c (update_watchpoint): Always reparse
 13.3832 -	condition.
 13.3833 -
 13.3834 -2008-04-17  Joel Brobecker  <brobecker@adacore.com>
 13.3835 -
 13.3836 -	* breakpoint.c (print_one_breakpoint_location): Make sure to print
 13.3837 -	the breakpoint address only once.
 13.3838 -
 13.3839 -2008-04-17  Dennis Roberts  <dennis.roberts@sunquestinfo.com>
 13.3840 -
 13.3841 -	* rs6000-tdep.c (rs6000_gdbarch_init): Use the BFD architecture,
 13.3842 -	rather than a hard-coded architecture, for xcoff executables.
 13.3843 -
 13.3844 -2008-04-17  Doug Evans  <dje@google.com>
 13.3845 -
 13.3846 -	* buildsym.c (watch_main_source_file_lossage): New fn.
 13.3847 -	(end_symtab): Call it.
 13.3848 -
 13.3849 -	* source.c (find_and_open_source): Add some comments clarifying
 13.3850 -	handling of FULLNAME argument.	Make static.  Remove pointless
 13.3851 -	xstrdup/xfree.
 13.3852 -
 13.3853 -2008-04-17  Pedro Alves  <pedro@codesourcery.com>
 13.3854 -
 13.3855 -	* inf-loop.c (inferior_event_handler): Also run the intermediate
 13.3856 -	continuations in the INF_EXEC_COMPLETE case.
 13.3857 -
 13.3858 -2008-04-16  Tom Tromey  <tromey@redhat.com>
 13.3859 -
 13.3860 -	* cli/cli-decode.h (CMD_ASYNC_OK): New define.
 13.3861 -	(set_cmd_async_ok, get_cmd_async_ok): Declare.
 13.3862 -	* cli/cli-decode.c (set_cmd_async_ok): New function.
 13.3863 -	(get_cmd_async_ok): New function.
 13.3864 -	* cli/cli-cmds.c (init_cli_cmds): Mark "pwd", "help", "info", and
 13.3865 -	"show" as async-ok.
 13.3866 -	* top.c (execute_command): Use get_cmd_async_ok.
 13.3867 -	* infcmd.c: Include cli/cli-decode.h.
 13.3868 -	(_initialize_infcmd): Mark "interrupt" as async-ok.
 13.3869 -	* Makefile.in (infcmd.o): Depend on cli_decode_h.
 13.3870 -
 13.3871 -2008-04-16  Daniel Jacobowitz  <dan@codesourcery.com>
 13.3872 -
 13.3873 -	PR gdb/2445
 13.3874 -	* exec.c: Correct "arch-utils.h" include.
 13.3875 -
 13.3876 -2008-04-15  Aleksandar Ristovski  <aristovski@qnx.com>
 13.3877 -
 13.3878 -	PR gdb/2424
 13.3879 -	* infrun.c (normal_stop) Move breakpoint_auto_delete further down
 13.3880 -	to allow printing to 'see' real reason of stop. This fixes PR 2424.
 13.3881 -	* breakpoint.c (bpdisp_texst): New function. The function takes over
 13.3882 -	the role of bpstats static array in print_one_breakpoint_location.
 13.3883 -	(print_it_typical): Print "Temporary breakpoint" instead
 13.3884 -	of just "Breakpoint" when breakpoint is, well, temporary. For mi-like
 13.3885 -	protocols, print disp field.
 13.3886 -	(print_one_breakpoint_location): Removed bpdisps static definition.
 13.3887 -	Call new bpstat_text function to get value for 'disp' field.
 13.3888 -	(mention): Print "Temporary breakpoint" instead of just "Breakpoint".
 13.3889 -
 13.3890 -2008-04-15  Daniel Jacobowitz  <dan@codesourcery.com>
 13.3891 -
 13.3892 -	* gnulib/Makefile.am, gnulib/m4/gnulib-cache.m4,
 13.3893 -	gnulib/aux/link-warning.h, gnulib/extra/link-warning.h: Adjust
 13.3894 -	by rerunning gnulib-tool with --aux-dir=gnulib/extra.
 13.3895 -	* gnulib/Makefile.in: Regenerate.
 13.3896 -
 13.3897 -2008-04-14  Daniel Jacobowitz  <dan@codesourcery.com>
 13.3898 -
 13.3899 -	* Makefile.in (GNULIB_H): New.  Trigger all-lib.
 13.3900 -	(defs_h): Use $(GNULIB_H).
 13.3901 -	(all-lib): Depend on gnulib/Makefile.
 13.3902 -	(gnulib/Makefile): Regenerate gnulib/Makefile and gnulib/.deps.
 13.3903 -	* config.in, gnulib/Makefile.in: Regenerated.
 13.3904 -
 13.3905 -2008-04-14  Daniel Jacobowitz  <dan@codesourcery.com>
 13.3906 -
 13.3907 -	* Makefile.in (LIBGNU, INCGNU): Define.
 13.3908 -	(INTERNAL_CFLAGS_BASE): Add INCGNU.
 13.3909 -	(INTERNAL_LIBS, CLIBS, CDEPS): Add LIBGNU.
 13.3910 -	(CLEANDIRS): New.
 13.3911 -	($(LIBGNU), all-lib): New rules.
 13.3912 -	(clean, distclean, do-maintainer-clean): Use CLEANDIRS.
 13.3913 -	* configure.ac: Use gl_EARLY, gl_INIT, and AM_INIT_AUTOMAKE.
 13.3914 -	Simplify AC_CONFIG_AUX_DIR.  Generate gnulib/Makefile.
 13.3915 -	* gnulib: New directory, from gnulib-tool.
 13.3916 -	* configure, aclocal.m4: Regenerated.
 13.3917 -
 13.3918 -2008-04-14  Daniel Jacobowitz  <dan@codesourcery.com>
 13.3919 -
 13.3920 -	* linux-thread-db.c (have_threads_callback): Check thread->private.
 13.3921 -
 13.3922 -2008-04-13  Nick Roberts  <nickrob@snap.net.nz>
 13.3923 -	    Vladimir Prus  <vladimir@codesourcery.com>
 13.3924 -
 13.3925 -	Fix @-varobjs.
 13.3926 -	* varobj.c (value_of_root): Update the expression for
 13.3927 -	floating varobjs.
 13.3928 -	* mi/mi-cmd-var.c (varobj_update_one): If type has changed,
 13.3929 -	report that.
 13.3930 -
 13.3931 -2008-04-09  Marc Khouzam  <marc.khouzam@ericsson.com>
 13.3932 -
 13.3933 -	* mi/mi-cmd-var.c: Include "mi-getopt.h".
 13.3934 -	(mi_parse_format): New.  Factored out from mi_cmd_var_set_format.
 13.3935 -	(mi_cmd_var_set_format): Use new mi_parse_format.
 13.3936 -	(mi_cmd_var_evaluate_expression): Support for -f option to specify
 13.3937 -	format.
 13.3938 -	* Makefile.in (mi-cmd-var.o): Update dependencies.
 13.3939 -
 13.3940 -	* varobj.h (varobj_get_formatted_value): Declare.
 13.3941 -	* varobj.c (my_value_of_variable): Added format parameter.
 13.3942 -	(cplus_value_of_variable): Likewise.
 13.3943 -	(java_value_of_variable): Likewise.
 13.3944 -	(c_value_of_variable): Likewise.  Evaluate expression based
 13.3945 -	on format parameter.
 13.3946 -	(struct language_specific): Add format parameter to function member
 13.3947 -	*value_of_variable.
 13.3948 -	(varobj_get_formatted_value): New.
 13.3949 -	(varobj_get_value): Added format parameter to method call.
 13.3950 -
 13.3951 -2008-04-08  Joel Brobecker  <brobecker@adacore.com>
 13.3952 -
 13.3953 -	* stabsread.c (cleanup_undefined_types_noname): Manually set the
 13.3954 -	instance flags of the undefined type before calling replace_type.
 13.3955 -
 13.3956 -2008-04-08  Vladimir Prus  <vladimir@codesourcery.com>
 13.3957 -
 13.3958 -	* target.h (enum strata): Remove the download_stratum.
 13.3959 -
 13.3960 -2008-04-07  Doug Evans  <dje@google.com>
 13.3961 -
 13.3962 -	* buildsym.h (last_source_file): Add dwarf info to comment.
 13.3963 -	(last_source_start_addr): Ditto.
 13.3964 -
 13.3965 -2008-04-07  Pedro Alves  <pedro@codesourcery.com>
 13.3966 -
 13.3967 -	* alphanbsd-tdep.c: Include "target.h".
 13.3968 -	* mn10300-tdep.c: Include "target.h".
 13.3969 -	* Makefile.in (alphanbsd-tdep.o, mn10300-tdep.o): Update.
 13.3970 -
 13.3971 -2008-04-06  Vladimir Prus  <vladimir@codesourcery.com>
 13.3972 -
 13.3973 -	Fix breakpoint condition that use member variables.
 13.3974 -	* valops.c (check_field): Remove.
 13.3975 -	(check_field_in): Rename to check_field.
 13.3976 -	(value_of_this): Use la_name_of_this.
 13.3977 -	* value.h (check_field): Adjust prototype.
 13.3978 -
 13.3979 -	* language.h (la_value_of_this): Rename to la_name_of_this.
 13.3980 -	* language.c (unknown_language_defn): Specify "this" for
 13.3981 -	name_of_this.
 13.3982 -	(auto_language_defn): Likewise.
 13.3983 -	(local_language_defn): Likewise.
 13.3984 -	* ada-lang.c (ada_language_defn): Adjust comment.
 13.3985 -	* c-lang.c (c_language_defn): Adjust comment.
 13.3986 -	(cplus_language_defn): Specify "this" for name_of_this.
 13.3987 -	(asm_language_defn): Adjust comment.
 13.3988 -	(minimal_language_defn): Adjust comment.
 13.3989 -	* f-lang.c (f_language_defn): Specify NULL for name_of_this.
 13.3990 -	* jv-lang.c (java_language_defn): Specify "this" for name_of_this.
 13.3991 -	* m2-lang.c (m2_language_defn): Specify "this" for name_of_this.
 13.3992 -	* objc-lang.c (objc_language_defn): Specify "self" for
 13.3993 -	name_of_this.
 13.3994 -	* p-lang.c (pascal_language_defn): Specify "this" for
 13.3995 -	name_of_this.
 13.3996 -	* scm-lang.c (scm_language_defn): Specify NULL for name_of_this.
 13.3997 -
 13.3998 -	* symtab.c (lookup_symbol_aux): Lookup "this" in the
 13.3999 -	proper scope, and check for field in type of "this", without
 13.4000 -	trying to create a value.
 13.4001 -
 13.4002 -2008-04-04  Pedro Alves  <pedro@codesourcery.com>
 13.4003 -
 13.4004 -	* mi/mi-cmds.h (enum mi_cmd_result): Delete MI_CMD_ERROR.
 13.4005 -	(mi_error_message): Delete declaration.
 13.4006 -	* mi/mi-interp.c (mi_cmd_interpreter_exec): Call error instead of
 13.4007 -	returning MI_CMD_ERROR.
 13.4008 -	* mi/mi-main.c (mi_error_message): Delete.
 13.4009 -	(mi_cmd_exec_interrupt):
 13.4010 -	(mi_cmd_thread_select, mi_cmd_thread_list_ids)
 13.4011 -	(mi_cmd_thread_info): Call error instead of returning
 13.4012 -	MI_CMD_ERROR.
 13.4013 -	(mi_cmd_data_list_register_values): Call error instead of
 13.4014 -	returning MI_CMD_ERROR.  Adapt to new get_register interface.
 13.4015 -	(get_register): Change return typo to void.  Call error instead of
 13.4016 -	returning MI_CMD_ERROR.
 13.4017 -	(mi_cmd_data_write_register_values): Call error instead of
 13.4018 -	returning MI_CMD_ERROR.
 13.4019 -	(mi_cmd_list_features): Return MI_CMD_DONE.
 13.4020 -	(captured_mi_execute_command): Remove MI_CMD_ERROR handling.
 13.4021 -	(mi_execute_command): Always print exceptions with -error.
 13.4022 -
 13.4023 -2008-04-04  Joel Brobecker  <brobecker@adacore.com>
 13.4024 -
 13.4025 -	* NEWS: Mention new commands set/show multiple-symbols.
 13.4026 -
 13.4027 -2008-04-03  Joel Brobecker  <brobecker@adacore.com>
 13.4028 -
 13.4029 -	* symtab.c (multiple_symbols_ask, multiple_symbols_all)
 13.4030 -	(multiple_symbols_cancel): New constants.
 13.4031 -	(multiple_symbols_modes, multiple_symbols_mode): New static globals.
 13.4032 -	(multiple_symbols_select_mode): New function.
 13.4033 -	(_initialize_symtab): Add new set/show multiple-symbols commands.
 13.4034 -	* symtab.h (multiple_symbols_ask, multiple_symbols_all)
 13.4035 -	(multiple_symbols_cancel, multiple_symbols_select_mode): Declare.
 13.4036 -	* ada-lang.c (user_select_syms): Add handling of new multiple-symbols
 13.4037 -	setting.
 13.4038 -	* linespec.c (decode_line_2): Likewise.
 13.4039 -
 13.4040 -2008-04-03  Doug Evans  <dje@sebabeach.org>
 13.4041 -
 13.4042 -	* symtab.h (enum free_code): Delete free_contents, unused.
 13.4043 -	* symmisc.c (free_symtab_block): Delete.
 13.4044 -	(free_symtab, case free_code): Delete.
 13.4045 -
 13.4046 -2008-04-01  Aleksandar Ristovski  <aristovski@qnx.com>
 13.4047 -
 13.4048 -	* valops.c (value_cast_structs): New function. Cast related
 13.4049 -	STRUCT types up/down and return cast value. The body of this
 13.4050 -	function comes mostly from value_cast_pointers.
 13.4051 -	(value_cast_pointers): Code for actual cast STRUCT-STRUCT moved
 13.4052 -	to value_cast_structs. Now value_cast_pointers needs only create
 13.4053 -	appropriate reference after using value_cast_structs for actual
 13.4054 -	casting.
 13.4055 -	(value_cast): Handle references.
 13.4056 -
 13.4057 -2008-04-01  Marc Khouzam  <marc.khouzam@ericsson.com>
 13.4058 -
 13.4059 -	* MAINTAINERS: Added myself to section Write After Approval.
 13.4060 -
 13.4061 -2008-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
 13.4062 -
 13.4063 -	* ia64-tdep.c (examine_prologue): Correct array access.
 13.4064 -
 13.4065 -2008-03-28  Aleksandar Ristovski  <aristovski@qnx.com>
 13.4066 -
 13.4067 -	* cp-support.c (first_component_command): Return if no arguments.
 13.4068 -
 13.4069 -2008-03-28  Carlos O'Donell  <carlos@codesourcery.com>
 13.4070 -
 13.4071 -	* ser-mingw.c (ser_windows_open): Open requested name.
 13.4072 -
 13.4073 -2008-03-28  Aleksandar Ristovski  <aristovski@qnx.com>
 13.4074 -
 13.4075 -	* MAINTAINERS: Added myself.
 13.4076 -
 13.4077 -2008-03-28  Pedro Alves  <pedro@codesourcery.com>
 13.4078 -
 13.4079 -	* target.c (find_default_run_target): Allow a NULL `do_mesg'
 13.4080 -	parameter.  If it is NULL, don't call error.
 13.4081 -	(find_default_can_async_p, find_default_is_async_p): Pass NULL as
 13.4082 -	`do_mesg' parameter to find_default_run_target.  If no target was
 13.4083 -	found, return 0.
 13.4084 -
 13.4085 -2008-03-28  Daniel Jacobowitz  <dan@codesourcery.com>
 13.4086 -
 13.4087 -	* mips-linux-tdep.c: Update N32/N64 signal frame comments.
 13.4088 -	(N64_SIGCONTEXT_LO, N64_SIGCONTEXT_PC, N64_SIGCONTEXT_FPCSR): Update.
 13.4089 -	(N64_SIGCONTEXT_FIR, N64_SIGCONTEXT_CAUSE, N64_SIGCONTEXT_BADVADDR):
 13.4090 -	Delete.
 13.4091 -	(mips_linux_n32n64_sigframe_init): Do not record cause or badvaddr.
 13.4092 -
 13.4093 -2008-03-27  Joel Brobecker  <brobecker@adacore.com>
 13.4094 -
 13.4095 -	GDB 6.8 released.
 13.4096 -
 13.4097 -2008-03-27  Ulrich Weigand  <uweigand@de.ibm.com>
 13.4098 -
 13.4099 -	* features/Makefile (%.dat): Set xmltarget to the base filename
 13.4100 -	of the XML source, without subdirectory.
 13.4101 -	* regformats/rs6000/powerpc-32.dat: Regenerate.
 13.4102 -	* regformats/rs6000/powerpc-64.dat: Regenerate.
 13.4103 -	* regformats/rs6000/powerpc-e500.dat: Regenerate.
 13.4104 -
 13.4105 -2008-03-27  Markus Deuling  <deuling@de.ibm.com>
 13.4106 -
 13.4107 -	* xcoffread.c (scan_xcoff_symtab): Replace current_gdbarch by
 13.4108 -	objfile arch.
 13.4109 -
 13.4110 -2008-03-27  Nick Roberts  <nickrob@snap.net.nz>
 13.4111 -
 13.4112 -	* mi/mi-main.c (enum captured_mi_execute_command_actions):
 13.4113 -	Spell suppress in EXECUTE_COMMAND_SUPPRESS_PROMPT correctly.
 13.4114 -
 13.4115 -2008-03-26  Ulrich Weigand  <uweigand@de.ibm.com>
 13.4116 -
 13.4117 -	* objfiles.h (struct objfile): New GDBARCH member.
 13.4118 -	(get_objfile_arch): Add prototype.
 13.4119 -	* objfiles.c: Include "arch-utils.h".
 13.4120 -	(allocate_objfile): Look up gdbarch associated with bfd.
 13.4121 -	(get_objfile_arch): New function.
 13.4122 -	* Makefile (objfiles.o): Update dependencies.
 13.4123 -
 13.4124 -	* dwarf2-frame.c (decode_frame_entry_1): Replace current_gdbarch
 13.4125 -	by objfile arch.
 13.4126 -	* dwarf2loc.c (dwarf_expr_read_reg): Replace current_gdbarch
 13.4127 -	by frame arch.
 13.4128 -	(locexpr_describe_location): Replace current_gdbarch by
 13.4129 -	objfile arch.
 13.4130 -	* dwarf2read.c (die_type): Replace current_gdbarch by objfile arch.
 13.4131 -	(dwarf2_add_field): Likewise.
 13.4132 -	(read_tag_pointer_type): Likewise.
 13.4133 -	(read_base_type): Likewise.
 13.4134 -	(new_symbol): Likewise.
 13.4135 -
 13.4136 -	* coffread.c (decode_type): Add OBJFILE argument.  Update callers.
 13.4137 -	(decode_base_type, decode_function_type): Likewise.
 13.4138 -	(coff_read_struct_type, coff_read_enum_type): Likewise.
 13.4139 -	(coff_symtab_read): Replace current_gdbarch by objfile arch.
 13.4140 -	(decode_base_type): Likewise.
 13.4141 -	(coff_read_enum_type): Likewise.
 13.4142 -	(coff_read_struct_type): Replace current_objfile by OBJFILE argument.
 13.4143 -	(coff_read_enum_type): Likewise.
 13.4144 -
 13.4145 -	* dbxread.c (read_dbx_symtab): Replace current_gdbarch by objfile arch.
 13.4146 -	(end_psymtab): Likewise.
 13.4147 -	(process_one_symbol): Likewise.
 13.4148 -
 13.4149 -	* mdebugread.c (parse_symbol): Replace current_gdbarch by objfile arch.
 13.4150 -	(parse_procedure): Likewise.
 13.4151 -	(parse_partial_symbols): Likewise.
 13.4152 -
 13.4153 -	* somread.c (som_symtab_read): Replace current_gdbarch by objfile arch.
 13.4154 -
 13.4155 -	* stabsread.c (define_symbol): Replace current_gdbarch by objfile arch.
 13.4156 -	Replace static pcc_promotion_type and pcc_unsigned_promotion_type by
 13.4157 -	built-in types.
 13.4158 -	(read_range_type): Replace current_gdbarch by objfile arch.  Replace
 13.4159 -	static range_index_type by built-in type.
 13.4160 -	(read_one_struct_field): Replace current_gdbarch by objfile arch.
 13.4161 -	(read_enum_type): Likewise.
 13.4162 -
 13.4163 -	* xcoffread.c (read_xcoff_symtab): Replace current_gdbarch by
 13.4164 -	objfile arch.
 13.4165 -
 13.4166 -2008-03-26  Vladimir Prus  <vladimir@codesourcery.com>
 13.4167 -
 13.4168 -	* varobj.h (varobj_floating_p): Declare.
 13.4169 -	* varobj.c (varobj_floating_p): New.
 13.4170 -	* mi/mi-cmd-var.c (mi_cmd_var_update): When passed
 13.4171 -	'@' as the name, update all floating varobjs.
 13.4172 -
 13.4173 -2008-03-26  Vladimir Prus  <vladimir@codesourcery.com>
 13.4174 -
 13.4175 -	* varobj.c (struct varobj_root): Rename use_selected_frame to
 13.4176 -	floating, and clarify the meaning.
 13.4177 -	(varobj_create, varobj_update,  new_root_variable): Adjust.
 13.4178 -	(value_of_root): Don't use type_changed as in variable,
 13.4179 -	adjust comment.
 13.4180 -	(c_value_of_root): Adjust.
 13.4181 -
 13.4182 -2008-03-25  Pedro Alves  <pedro@codesourcery.com>
 13.4183 -
 13.4184 -	* linux-nat.c (linux_nat_attach): Add the pid we attached to, to
 13.4185 -	gdb's thread list.
 13.4186 -	(linux_nat_wait): Add main lwp to gdb's thread list.
 13.4187 -	* linux-thread-db.c (find_new_threads_callback): Also attach to
 13.4188 -	already listed threads which thread_db didn't know about yet.
 13.4189 -
 13.4190 -2008-03-25  Pedro Alves  <pedro@codesourcery.com>
 13.4191 -
 13.4192 -	* linux-nat.c (drain_queued_events): Fix comment typo.
 13.4193 -	(linux_nat_attach): In async mode, don't rely on storing a pending
 13.4194 -	status.  Instead place the wait status on the pipe.
 13.4195 -	(linux_nat_resume): Remove unreacheable shortcut code in async
 13.4196 -	mode.
 13.4197 -	(stop_wait_callback): In async mode, don't store pending status.
 13.4198 -	Instead, cancel breakpoints or resend the signal appropriatelly.
 13.4199 -	(cancel_breakpoint): New, refactored from
 13.4200 -	cancel_breakpoints_callback.
 13.4201 -	(cancel_breakpoints_callback): Call cancel_breakpoint.
 13.4202 -	(pipe_to_local_event_queue): Remove special token processing.
 13.4203 -	(linux_nat_wait): Issue an internal error if a pending status is
 13.4204 -	found in async mode.
 13.4205 -
 13.4206 -2008-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
 13.4207 -
 13.4208 -	* inflow.c (gdb_has_a_terminal): Guard access to our_process_group.
 13.4209 -
 13.4210 -2008-03-24  Nick Roberts  <nickrob@snap.net.nz>
 13.4211 -	    Vladimir Prus  <vladimir@codesourcery.com>
 13.4212 -
 13.4213 -	* varobj.c  (struct varobj_root): New component thread_id.
 13.4214 -	(varobj_get_thread_id, check_scope): New functions.
 13.4215 -	(c_value_of_root): Use check_scope.  Switch to the
 13.4216 -	proper thread if necessary.
 13.4217 -
 13.4218 -	* varobj.h (varobj_get_thread_id): New extern.
 13.4219 -
 13.4220 -	* mi/mi-cmd-var.c (print_varobj): Add thread-id field.
 13.4221 -
 13.4222 -2008-03-23  Daniel Jacobowitz  <dan@codesourcery.com>
 13.4223 -
 13.4224 -	PR gdb/544
 13.4225 -	* top.c: Revert 2008-03-21 changes.
 13.4226 -
 13.4227 -2008-03-23  Vladimir Prus  <vladimir@codesourcery.com>
 13.4228 -
 13.4229 -	* thread.c (make_cleanup_restore_current_thread): Make it
 13.4230 -	globally visible.
 13.4231 -	* gdbthread.h (make_cleanup_restore_current_thread): Declare.
 13.4232 -	* varobj.c (varobj_update): Don't save/restore frame.
 13.4233 -	(c_value_of_root): Save/restore thread and frame here,
 13.4234 -	using make_cleanup_restore_current_thread.
 13.4235 -	* Makefile.in: Update dependecies.
 13.4236 -
 13.4237 -2008-03-23  Vladimir Prus  <vladimir@codesourcery.com>
 13.4238 -
 13.4239 -	* varobj.c (struct varobj_root): Clarify
 13.4240 -	comment on the frame field.
 13.4241 -	(varobj_create): Don't set frame if we have no
 13.4242 -	block.
 13.4243 -
 13.4244 -2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
 13.4245 -
 13.4246 -	PR gdb/544
 13.4247 -	Suggested by Jan Kratochvil:
 13.4248 -	* top.c (gdb_rl_operate_and_get_next_completion): Call
 13.4249 -	rl_redisplay_function.
 13.4250 -	(gdb_rl_redisplay): New.
 13.4251 -	(init_main): Set rl_redisplay_function.
 13.4252 -
 13.4253 -2008-03-21  Thomas Mittelstaedt  <T.Mittelstaedt@cadenas.de>  (tiny change)
 13.4254 -
 13.4255 -	* aix-thread.c (pdc_read_regs): Fix compiler warning.
 13.4256 -	(pdc_write_regs, aix_thread_resume, fetch_regs_kernel_thread)
 13.4257 -	(store_regs_kernel_thread): Likewise.
 13.4258 -
 13.4259 -2008-03-21  Pedro Alves  <pedro@codesourcery.com>
 13.4260 -
 13.4261 -	Linux native async support.
 13.4262 -
 13.4263 -	* target.h (struct target_ops): Delete to_async_mask_value and add
 13.4264 -	to_async_mask.
 13.4265 -	(target_is_async_p, target_async): Formatting.
 13.4266 -	(target_async_mask_value): Delete.
 13.4267 -	(target_async_mask): Delete function declaration, and add new
 13.4268 -	target macro with the same name.
 13.4269 -
 13.4270 -	* target.c (update_current_target): Replace to_async_mask_value by
 13.4271 -	to_async_mask.  Default to_async_mask to return_one.
 13.4272 -	(target_async_mask): Delete.
 13.4273 -	(find_default_can_async_p, find_default_is_async_p): New.
 13.4274 -	(init_dummy_target): register find_default_can_async_p and
 13.4275 -	find_default_is_async_p on the dummy target.
 13.4276 -
 13.4277 -	* linux-nat.c: Include inf-loop.h, event-loop.h and event-top.h.
 13.4278 -	(debug_linux_nat_async): New global.
 13.4279 -	(show_debug_linux_nat_async): New function.
 13.4280 -	(linux_nat_async_enabled, linux_nat_async_mask_value)
 13.4281 -	(linux_nat_event_pipe, linux_nat_num_queued_events)
 13.4282 -	(linux_nat_async_events_enabled): New globals.
 13.4283 -	(struct waitpid_result): New struct.
 13.4284 -	(waitpid_queue): New global.
 13.4285 -	(queued_waitpid, push_waitpid, drain_queued_events): New.
 13.4286 -	(my_waitpid): Call queued_waitpid.
 13.4287 -	(linux_child_follow_fork): Disable async events during the call.
 13.4288 -	(blocked_mask): Delete.
 13.4289 -	(sync_sigchld_action, async_sigchld_action): New globals.
 13.4290 -	(lin_lwp_attach_lwp): In sync mode, don't reblock SIGCHLD.  In
 13.4291 -	async mode, block events during the call.
 13.4292 -	(linux_nat_create_inferior): New.
 13.4293 -	(linux_nat_attach): In sync mode, restore the mask states.  In
 13.4294 -	async mode, wake the event loop immediatelly.
 13.4295 -	(detach_callback): Drain all queued events of the lwp we're
 13.4296 -	detaching from.
 13.4297 -	(linux_nat_detach): Block async mode, and drain events of the main
 13.4298 -	process.
 13.4299 -	(linux_nat_resume): If in async mode, mask async events during the
 13.4300 -	call.  If short circuiting, force event loop to wake up.  If
 13.4301 -	resuming, set target_executing, and register target events in the
 13.4302 -	event loop.
 13.4303 -	(pipe_to_local_event_queue, local_event_queue_to_pipe): New.
 13.4304 -	(linux_nat_wait): In async mode, block events during the call.
 13.4305 -	Only enable/disable passing SIGINT to the inferior in sync mode.
 13.4306 -	Get events from local waitpid queue.  If no interesting events was
 13.4307 -	found, return to events loop.  Reregister target events in the
 13.4308 -	event loop on exit.  In sync mode, no need to reblock SIGCHLD.
 13.4309 -	(linux_nat_kill): Disable events on entry.
 13.4310 -	(linux_nat_mourn_inferior): In sync mode, don't restore the masks
 13.4311 -	here.  Detach async mode from the event loop if there are no more
 13.4312 -	forks available, otherwise leave it on.
 13.4313 -	(sigchld_handler): Assure this is called only in sync mode.
 13.4314 -	(linux_async_permitted, linux_async_permitted_1): New globals.
 13.4315 -	(set_maintenance_linux_async_permitted)
 13.4316 -	(show_maintenance_linux_async_permitted): New functions.
 13.4317 -	(linux_nat_is_async_p, linux_nat_can_async_p)
 13.4318 -	(linux_nat_async_mask): New.
 13.4319 -	(linux_nat_event_pipe_pop, linux_nat_event_pipe_push): New.
 13.4320 -	(get_pending_events, async_sigchld_handler): New.
 13.4321 -	(linux_nat_async_events): New.
 13.4322 -	(async_terminal_is_ours): New global.
 13.4323 -	(linux_nat_terminal_inferior, linux_nat_terminal_ours): New.
 13.4324 -	(async_client_callback, async_client_context): New.
 13.4325 -	(linux_nat_async_file_handler, linux_nat_async)
 13.4326 -	(linux_nat_disable_async, linux_nat_enable_async): New.
 13.4327 -	(linux_nat_add_target): Register linux_nat_create_inferior,
 13.4328 -	linux_nat_can_async_p, linux_nat_is_async_p, linux_nat_async,
 13.4329 -	linux_nat_async_mask, linux_nat_terminal_inferior and
 13.4330 -	linux_nat_terminal_ours.
 13.4331 -	(_initialize_linux_nat): Remove local action variable, and update
 13.4332 -	code that used it to use sync_sigchld_action.  Add new
 13.4333 -	"lin-lwp-async" debug set/show command.  Put the "lin-lwp" debug
 13.4334 -	set/show command in the maintenance class.  Add new "linux-async"
 13.4335 -	maintenance set/show command.  Block SIGCHLD by default.  Setup
 13.4336 -	async_sichld_action, and sync_sigchld_action.  Install the default
 13.4337 -	async mode.
 13.4338 -	(lin_thread_get_thread_signals): Use a local sigset_t for blocking
 13.4339 -	the cancel signals.
 13.4340 -
 13.4341 -	* linux-thread-db.c (re_check_for_thread_db): New.
 13.4342 -	(clear_lwpid_callback): Handle TARGET_WAITKIND_IGNORE.
 13.4343 -	(thread_db_can_async_p, thread_db_is_async_p, thread_db_async)
 13.4344 -	(thread_db_async_mask): New.
 13.4345 -	(init_thread_db_ops): Register thread_db_can_async_p,
 13.4346 -	thread_db_is_async_p, thread_db_async and thread_db_async_mask.
 13.4347 -
 13.4348 -	* remote.c (remote_async_mask_value): New.
 13.4349 -	(remote_return_zero): New.
 13.4350 -	(init_remote_ops): Register remote_return_zero as callbacks of
 13.4351 -	to_can_async_p and to_is_async_p.
 13.4352 -	(remote_can_async_p, remote_is_async_p, remote_async): Update to
 13.4353 -	use remote_async_mask_value.
 13.4354 -	(remote_async_mask): New.
 13.4355 -	(init_remote_async_ops): Remove to_async_mask_value setting and
 13.4356 -	register remote_async_mask as to_async_mask callback in
 13.4357 -	remote_async_ops.
 13.4358 -
 13.4359 -	* Makefile.in (linux-nat.o): Update.
 13.4360 -
 13.4361 -2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
 13.4362 -
 13.4363 -	* gdbthread.h (add_thread_with_info): New.
 13.4364 -	* linux-thread-db.c: Add some documentation.
 13.4365 -	(GET_LWP, GET_PID, GET_THREAD, is_lwp, is_thread, BUILD_LWP): Delete.
 13.4366 -	(struct private_thread_info): Remove th_valid and ti_valid.
 13.4367 -	Replace ti with tid.
 13.4368 -	(thread_get_info_callback): Do not add TID to the new ptid.  Do
 13.4369 -	not cache th or ti.
 13.4370 -	(thread_db_map_id2thr, lwp_from_thread): Delete functions.
 13.4371 -	(thread_from_lwp): Assert that the LWP is set.  Do not add TID to the
 13.4372 -	new PTID.
 13.4373 -	(attach_thread): Handle an already-existing thread.  Use
 13.4374 -	add_thread_with_info.  Cache the th and tid.
 13.4375 -	(detach_thread): Verify that private was set.  Remove verbose
 13.4376 -	argument and printing.  Update caller.
 13.4377 -	(thread_db_detach): Do not adjust inferior_ptid.
 13.4378 -	(clear_lwpid_callback, thread_db_resume, thread_db_kill): Delete.
 13.4379 -	(check_event, find_new_threads_callback): Do not add TID to the new PTID.
 13.4380 -	(thread_db_wait): Do not use lwp_from_thread.
 13.4381 -	(thread_db_pid_to_str): Use the cached TID.
 13.4382 -	(thread_db_extra_thread_info): Check that private is set.
 13.4383 -	(same_ptid_callback): Delete.
 13.4384 -	(thread_db_get_thread_local_address): Do not use it or check
 13.4385 -	is_thread.  Check that private is set.  Assume that the thread
 13.4386 -	handle is already cached.
 13.4387 -	(init_thread_db_ops): Remove to_resume and to_kill.
 13.4388 -	* thread.c (add_thread_with_info): New.
 13.4389 -	(add_thread): Use it.
 13.4390 -	* linux-nat.c (find_thread_from_lwp): Delete.
 13.4391 -	(exit_lwp): Do not use it.  Check print_thread_events.  Print before
 13.4392 -	deleting the thread.
 13.4393 -	(GET_PID, GET_LWP, BUILD_LWP, is_lwp): Move to...
 13.4394 -	* linux-nat.h (GET_PID, GET_LWP, BUILD_LWP, is_lwp): ...here.
 13.4395 -	* inf-ttrace.c (inf_ttrace_wait): Use print_thread_events and
 13.4396 -	printf_unfiltered for thread exits.
 13.4397 -	* procfs.c (procfs_wait): Likewise.
 13.4398 -
 13.4399 -2008-03-21  Chris Demetriou  <cgd@google.com>
 13.4400 -
 13.4401 -	* symtab.c (rbreak_command): Quote symbol name before passing
 13.4402 -	it to break_command.
 13.4403 -
 13.4404 -2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
 13.4405 -
 13.4406 -	* eval.c (evaluate_subexp_for_address): Clarify error message.
 13.4407 -	Use value_must_coerce_to_target.
 13.4408 -	* infcall.c (value_arg_coerce): Call value_coerce_to_target.
 13.4409 -	* valops.c (value_assign): Call value_coerce_to_target when
 13.4410 -	assigning to anything but internalvars.  Leave GDB-side arrays
 13.4411 -	as arrays when assigning to internalvars.
 13.4412 -	(value_must_coerce_to_target, value_coerce_to_target): New.
 13.4413 -	(value_coerce_array, value_addr): Call value_coerce_to_target.
 13.4414 -	(value_array): Create the array in GDB's memory instead of
 13.4415 -	the inferior's.
 13.4416 -	* value.h (value_must_coerce_to_target, value_coerce_to_target):
 13.4417 -	Declare.
 13.4418 -
 13.4419 -2008-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
 13.4420 -
 13.4421 -	* top.c (quit_confirm): Warn that we will kill the program.
 13.4422 -
 13.4423 -2008-03-19  Pedro Alves  <pedro@codesourcery.com>
 13.4424 -
 13.4425 -	* inflow.c (terminal_ours_1): Guard access to
 13.4426 -	inferior_process_group with #ifdef PROCESS_GROUP_TYPE.
 13.4427 -
 13.4428 -2008-03-18  Ulrich Weigand  <uweigand@de.ibm.com>
 13.4429 -	    Jim Blandy  <jimb@codesourcery.com>
 13.4430 -	    Daniel Jacobowitz  <drow@false.org>
 13.4431 -
 13.4432 -	* dwarf2expr.h (struct dwarf_expr_context): Add ADDR_SIZE member.
 13.4433 -	(dwarf2_read_address): Update prototype.
 13.4434 -
 13.4435 -	* dwarf2expr.c (unsigned_address_type): Add ADDR_SIZE parameter.
 13.4436 -	(signed_address_type): Likewise.
 13.4437 -	(dwarf2_read_address): Replace BYTES_READ parameter with ADDR_SIZE.
 13.4438 -	(execute_stack_op): Update calls to unsigned_address_type,
 13.4439 -	signed_address_type and dwarf2_read_address.  Fix implementation
 13.4440 -	of DW_OP_deref_size.
 13.4441 -
 13.4442 -	* dwarf2loc.h (dwarf2_per_cu_objfile): Add prototype.
 13.4443 -	(dwarf2_per_cu_addr_size): Likewise.
 13.4444 -	(struct dwarf2_locexpr_baton): Replace OBJFILE with PER_CU.
 13.4445 -	(struct dwarf2_loclist_baton): Likewise.
 13.4446 -
 13.4447 -	* dwarf2loc.c (find_location_expression): Update calls to
 13.4448 -	dwarf2_read_address.  Use dwarf2_per_cu_objfile and
 13.4449 -	dwarf2_per_cu_addr_size to retrieve PER_CU parameters.
 13.4450 -	(locexpr_describe_location): Likewise.
 13.4451 -	(dwarf2_evaluate_loc_desc): Replace OBJFILE with PER_CU parameter.
 13.4452 -	Set ctx->addr_size to dwarf2_per_cu_addr_size (per_cu).
 13.4453 -	(dwarf2_loc_desc_needs_frame): Add PER_CU parameter.  Set ctx->addr_size
 13.4454 -	to dwarf2_per_cu_addr_size (per_cu).
 13.4455 -	(locexpr_read_variable): Update dwarf2_evaluate_loc_desc call.
 13.4456 -	(loclist_read_variable): Likewise.
 13.4457 -	(locexpr_read_needs_frame): Update dwarf2_loc_desc_needs_frame call.
 13.4458 -
 13.4459 -	* dwarf2read.c (dwarf2_symbol_mark_computed): Set baton->per_cu
 13.4460 -	instead of baton->objfile.
 13.4461 -	(dwarf2_per_cu_obfile): New function.
 13.4462 -	(dwarf2_per_cu_addr_size): Likewise.
 13.4463 -
 13.4464 -	* dwarf2-frame.c (struct comp_unit): Move higher.
 13.4465 -	(struct dwarf2_cie): Add UNIT and ADDR_SIZE members.
 13.4466 -	(execute_stack_op): Add ADDR_SIZE parameter; set ctx->addr_size.
 13.4467 -	(execute_cfa_program): Add FDE parameter.  Replace EH_FRAME_P
 13.4468 -	parameter by using fde->eh_frame_p.  Use read_encoded_value
 13.4469 -	to implement DW_CFA_set_loc.
 13.4470 -	(struct dwarf2_frame_cache): Add ADDR_SIZE member.
 13.4471 -	(dwarf2_frame_cache): Set cache->addr_size.  Update calls to
 13.4472 -	execute_stack_op and execute_cfa_program.
 13.4473 -	(dwarf2_frame_prev_register): Update calls to execute_stack_op.
 13.4474 -	(size_of_encoded_value): Remove.
 13.4475 -	(read_encoded_value): Add PTR_LEN and FUNC_BASE parameters.
 13.4476 -	Remove call to size_of_encoded_value.  Implement DW_EH_PE_funcrel.
 13.4477 -	(add_cie): Set cie->unit backlink.
 13.4478 -	(decode_frame_entry_1): Set cie->addr_size.  Update calls to
 13.4479 -	read_encoded_value.
 13.4480 -	(dwarf2_build_frame_info): Allocate UNIT on objfile obstack.
 13.4481 -
 13.4482 -2008-03-17  Markus Deuling  <deuling@de.ibm.com>
 13.4483 -
 13.4484 -	* i386-tdep.c (i386_print_insn): Remove unnecessary call to
 13.4485 -	gdbarch_bfd_arch_info.
 13.4486 -
 13.4487 -2008-03-17  Joel Brobecker  <brobecker@adacore.com>
 13.4488 -
 13.4489 -	* aix-thread.c (pdc_read_regs): Minor reformatting.
 13.4490 -
 13.4491 -2008-03-17  Vladimir Prus  <vladimir@codesourcery.com>
 13.4492 -
 13.4493 -	* thread.c (print_thread_info): Don't insist
 13.4494 -	on having current thread if there are no
 13.4495 -	threads at all.
 13.4496 -
 13.4497 -2008-03-17  Pedro Alves  <pedro@codesourcery.com>
 13.4498 -
 13.4499 -	* infcmd.c (attach_command_post_wait)
 13.4500 -	(attach_command_continuation): New.
 13.4501 -	(attach_command): Support background async execution, and async
 13.4502 -	execution in synchronous mode.
 13.4503 -
 13.4504 -2008-03-17  Daniel Jacobowitz  <dan@codesourcery.com>
 13.4505 -
 13.4506 -	* stack.c (print_stack_frame, print_frame): Use RETURN_MASK_ERROR.
 13.4507 -	* symmisc.c (dump_symtab_1): Likewise.
 13.4508 -	* wrapper.c (gdb_value_struct_elt): Likewise.
 13.4509 -
 13.4510 -2008-03-17  Pedro Alves  <pedro@codesourcery.com>
 13.4511 -
 13.4512 -	* linux-nat.c (linux_nat_filter_event): Fix comment typo.
 13.4513 -
 13.4514 -2008-03-17  Pedro Alves  <pedro@codesourcery.com>
 13.4515 -
 13.4516 -	* linux-nat.c (linux_nat_filter_event): New, refactored from
 13.4517 -	linux_nat_wait.
 13.4518 -	(linux_nat_wait): Call linux_nat_filter_event.
 13.4519 -
 13.4520 -2008-03-17  Ulrich Weigand  <uweigand@de.ibm.com>
 13.4521 -
 13.4522 -	* top.c (execute_command): Fix uninitialized variable error.
 13.4523 -
 13.4524 -2008-03-16  Nick Hudson  <nick.hudson@dsl.pipex.com>
 13.4525 -
 13.4526 -	* Makefile.in (amd64nbsd-nat.o): New dependency.
 13.4527 -	* amd64nbsd-nat.c: Include "nbsd-nat.h".
 13.4528 -	(_initialize_amd64nbsd_nat): Update target vector to use
 13.4529 -	nbsd_pid_to_exec_file.
 13.4530 -	* config/i386/nbsd64.mh (NATDEPFILES): Add nbsd-nat.o.
 13.4531 -
 13.4532 -2008-03-15  Vladimir Prus  <vladimir@codesourcery.com>
 13.4533 -
 13.4534 -	Remove ignoring leading exec events code.
 13.4535 -	* fork-child.c (startup_inferior): Do not set
 13.4536 -	inferior_ignoring_leading_exec_events.
 13.4537 -	* inf-child.c (inf_child_reported_exec_events_per_exec_call): Remove.
 13.4538 -	(inf_child_target): Do not set to_reported_exec_events_per_exec_call.
 13.4539 -	* infrun.c (inferior_ignoring_leading_exec_events): Remove.
 13.4540 -	(handle_inferior_event): Remove code for ignoring leading exec
 13.4541 -	events.
 13.4542 -	* target.c (update_current_target): Do not inherit, or default,
 13.4543 -	to_reported_exec_events_per_exec_call.
 13.4544 -	(debug_to_reported_exec_events_per_exec_call): Remove.
 13.4545 -	(setup_target_debug): Do not set to_reported_exec_events_per_exec_call.
 13.4546 -	* target.h (target_reported_exec_events_per_exec_call): Remove.
 13.4547 -	(struct target): Remove the to_reported_exec_events_per_exec_call
 13.4548 -	field.
 13.4549 -
 13.4550 -2008-03-15  Vladimir Prus  <vladimir@codesourcery.com>
 13.4551 -
 13.4552 -	Implement -thread-info.
 13.4553 -	* gdbthread.h (print_thread_info): Declare.
 13.4554 -
 13.4555 -	* thread.c (print_thread_info): New, extracted
 13.4556 -	from info_threads_command and adjusted to
 13.4557 -	work for CLI and MI.
 13.4558 -	(info_threads_command): Use print_thread_info.
 13.4559 -	* Makefile.in: Update dependencies.
 13.4560 -
 13.4561 -	* mi/mi-cmds.c (mi_cmds): Specify a handler
 13.4562 -	for -thread-info.
 13.4563 -	* mi/mi-cmds.h (mi_cmd_thread_info): Declare.
 13.4564 -	* mi/mi-main.c (mi_cmd_thread_info): New.
 13.4565 -	(mi_cmd_list_features): Include 'thread-info'.
 13.4566 -
 13.4567 -2008-03-14  Kevin Buettner  <kevinb@redhat.com>
 13.4568 -
 13.4569 -	* mips-tdep.c (mips32_scan_prologue): Use the ABI register size
 13.4570 -	to decide whether to match instruction patterns using "sw" and "sd".
 13.4571 -
 13.4572 -2008-03-14  Pedro Alves  <pedro@codesourcery.com>
 13.4573 -
 13.4574 -	* infcmd.c (jump_command): Postpone disabling stdin until after
 13.4575 -	the possible query.
 13.4576 -
 13.4577 -2008-03-14  Pedro Alves  <pedro@codesourcery.com>
 13.4578 -
 13.4579 -	* inflow.c (gdb_getpgrp): New.
 13.4580 -	(gdb_has_a_terminal): Use get_getpgrp.
 13.4581 -	(terminal_ours_1): If attach_flag is set, don't refetch
 13.4582 -	inferior_process_group.
 13.4583 -
 13.4584 -2008-03-14  Pedro Alves  <pedro@codesourcery.com>
 13.4585 -
 13.4586 -	* features/library-list.dtd: Allow "section" elements as children
 13.4587 -	of "library".  Add "section" element and describe its attributes.
 13.4588 -
 13.4589 -	* solib-target.c (struct lm_info): Add section_bases member.
 13.4590 -	(library_list_start_segment): Error out if seen a section element.
 13.4591 -	(library_list_start_section): New.
 13.4592 -	(library_list_end_library): New.
 13.4593 -	(solib_target_free_library_list): Free section_bases.
 13.4594 -	(section_attributes): New.
 13.4595 -	(library_children): Make "segment" optional.  Add "section" child.
 13.4596 -	(library_list_children): Register library_list_end_library.
 13.4597 -	(solib_target_relocate_section_addresses): Handle section bases.
 13.4598 -
 13.4599 -	* NEWS: Mention new qXfer:libraries:read section offsets support.
 13.4600 -
 13.4601 -2008-03-14  Vladimir Prus  <vladimir@codesourcery.com>
 13.4602 -
 13.4603 -	* defs.h (do_exec_error_cleanups, discard_exec_error_cleanups)
 13.4604 -	(make_exec_error_cleanup): Remove declarations.
 13.4605 -	* utils.c (exec_error_cleanup_chain): Remove.
 13.4606 -	(do_exec_error_cleanups, discard_exec_error_cleanups)
 13.4607 -	(make_exec_error_cleanup): Remove.
 13.4608 -	* event-loop.c (start_event_loop): Adjust call to
 13.4609 -	async_enable_stdin.
 13.4610 -	* event-top.c (async_enable_stdin): Remove the paramater dummy.
 13.4611 -	(async_disable_stdin): Don't register async_enable_stdin via
 13.4612 -	cleanup.
 13.4613 -	* inf-loop.c (inferior_event_handler): Don't
 13.4614 -	call do_exec_error_cleanups.  Call async_enable_stdin instead.
 13.4615 -	* event-loop.c (start_event_loop): Adjust call to
 13.4616 -	async_enable_stdin.
 13.4617 -	* tui/tui-interp.c (tui_command_loop): Adjust call to
 13.4618 -	async_enable_stdin.
 13.4619 -
 13.4620 -2008-03-14  Vladimir Prus  <vladimir@codesourcery.com>
 13.4621 -
 13.4622 -	Async mode fixes.
 13.4623 -	* Makefile.in (infcmd.o, inf-loop.o): Update dependencies.
 13.4624 -	* breakpoint.c (bpstat_do_actions): In async mode,
 13.4625 -	don't jump to top expecting stop_bpstat to be already
 13.4626 -	updated.
 13.4627 -	* event-loop.c (start_event_loop): Call async_enable_stdin
 13.4628 -	on exception.
 13.4629 -	* event-top.c (async_enable_stdin): Do nothing if sync_execution
 13.4630 -	is not set.
 13.4631 -	(command_handler): Do not setup continuation here.
 13.4632 -	(command_line_handler_continuation): Move to...
 13.4633 -	* top.c (command_line_handler_continuation): ... here.
 13.4634 -	(execute_command): In async mode, register continuation.
 13.4635 -	Don't check frame's language in running in async mode.
 13.4636 -	* exceptions.c (throw_exception): Don't do exec_error_cleanups.
 13.4637 -	* inf-loop.c (complete_execution): Inline into...
 13.4638 -	(inferior_event_handler): ... here.  Clear target_executing before
 13.4639 -	doing any cleanups.  Don't try to show prompt if the target was
 13.4640 -	resumed.
 13.4641 -	* infcmd.c (signal_command): Add support for async mode.
 13.4642 -	(finish_command): Only add continuation if the target was
 13.4643 -	successfully resumed.
 13.4644 -	* remote.c (init_async_opts): Register to_get_thread_local_address
 13.4645 -	handler.
 13.4646 -	* mi/mi-interp.c (mi_cmd_interpreter_exec): Don't mess
 13.4647 -	with sync_execution.
 13.4648 -	* tui/tui-interp.c (tui_command_loop): Call async_enable_stdin
 13.4649 -	on exception.
 13.4650 -
 13.4651 -2008-03-14  Daniel Jacobowitz  <dan@codesourcery.com>
 13.4652 -
 13.4653 -	* corefile.c (reopen_exec_file): Use exec_bfd_mtime.
 13.4654 -	* exec.c (exec_bfd_mtime): Define.
 13.4655 -	(exec_close): Clear it.
 13.4656 -	(exec_file_attach): Set it.
 13.4657 -	* gdbcore.h (exec_bfd_mtime): Declare.
 13.4658 -	* source.c (find_source_lines): Do not use bfd_get_mtime.
 13.4659 -
 13.4660 -2008-03-14  Vladimir Prus  <vladimir@codesourcery.com>
 13.4661 -
 13.4662 -	* top.c (simplified_command_loop): Remove.
 13.4663 -
 13.4664 -2008-03-14  Vladimir Prus  <vladimir@codesourcery.com>
 13.4665 -
 13.4666 -	Remove unused remote.c hooks.
 13.4667 -	* remote.c (deprecated_target_resume_hook)
 13.4668 -	(deprecated_target_wait_loop_hook): Remove.
 13.4669 -	(remote_resume): Do not call deprecated_target_resume_hook.
 13.4670 -	(remote_wait): Do not call deprecated_target_wait_loop_hook.
 13.4671 -	(remote_async_wait): Likewise.
 13.4672 -
 13.4673 -2008-03-14  Vladimir Prus  <vladimir@codesourcery.com>
 13.4674 -
 13.4675 -	Implement MI notification for new threads.
 13.4676 -	* doc/observer.texi (new_thread): Document.
 13.4677 -	* observer.sh: Forward declare struct thread_info.
 13.4678 -	* thread.c (add_thread): Notify observer.
 13.4679 -
 13.4680 -	* interps.h (interp_init_ftype): New parameter
 13.4681 -	top_level.
 13.4682 -	(interp_set): Likewise.
 13.4683 -	(top_level_interpreter_data): Declare.
 13.4684 -	* interps.c (interp_set): New parameter top_level.
 13.4685 -	Pass it to interpreter's init function.  Remember
 13.4686 -	top level interpreter.
 13.4687 -	(interpreter_exec_cmd): Adjust.
 13.4688 -	(top_level_interpreter_data): New.
 13.4689 -	* main.c (captured_main): Pass 1 for top_level
 13.4690 -	parameter of interp_set.
 13.4691 -	* cli/cli-interp.c (cli_interpreter_init): New
 13.4692 -	parameter top_level.
 13.4693 -	* tui/tui-interp.c (tui_init): New parameter top_level.
 13.4694 -
 13.4695 -	* mi/mi-interp.c (mi_new_thread): New.
 13.4696 -	(mi_interpreter_init): If top level, register
 13.4697 -	observer for new threads.
 13.4698 -
 13.4699 -	* Makefile.in (mi-interp.o, thread.o): Update dependencies.
 13.4700 -
 13.4701 -2008-03-14  Pedro Alves  <pedro@codesourcery.com>
 13.4702 -
 13.4703 -	* top.c (execute_command): Disable break and stop
 13.4704 -	commands in async mode.
 13.4705 -
 13.4706 -2008-03-14  Pedro Alves  <pedro@codesourcery.com>
 13.4707 -
 13.4708 -	revert:
 13.4709 -	2008-03-14  Pedro Alves  <pedro@codesourcery.com>
 13.4710 -	* inf-loop.c (inferior_event_handler): Don't include remote.h.
 13.4711 -	Call target_stop in the INF_QUIT_REQ case.
 13.4712 -	* Makefile.in (inf-loop.o): Update.
 13.4713 -
 13.4714 -2008-03-14  Pedro Alves  <pedro@codesourcery.com>
 13.4715 -
 13.4716 -	* inf-loop.c (inferior_event_handler): Don't include remote.h.
 13.4717 -	Call target_stop in the INF_QUIT_REQ case.
 13.4718 -	* Makefile.in (inf-loop.o): Update.
 13.4719 -
 13.4720 -2008-03-14  Pedro Alves  <pedro@codesourcery.com>
 13.4721 -
 13.4722 -	* top.c (execute_command): Enable break, info and interrupt
 13.4723 -	commands in async mode.
 13.4724 -
 13.4725 -2008-03-13  Vladimir Prus  <vladimir@codesourcery.com>
 13.4726 -	    Daniel Jacobowitz  <dan@codesourcery.com>
 13.4727 -
 13.4728 -	* breakpoint.h (breakpoint_restore_shadows): New
 13.4729 -	declaration.
 13.4730 -	* breakpoint.c (breakpoint_restore_shadows): New.
 13.4731 -	(read_memory_nobpt): Delete.
 13.4732 -	* gdbcore.h (read_memory_nobpt): Delete declaration.
 13.4733 -	* target.c (memory_xfer_partial): Call
 13.4734 -	breakpoint_restore_shadows.
 13.4735 -	(restore_show_memory_breakpoints)
 13.4736 -	(make_show_memory_beakpoints_cleanup): New.
 13.4737 -	(show_memory_breakpoints): New.
 13.4738 -	* target.h (make_show_memory_beakpoints_cleanup): Declare.
 13.4739 -	* ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint):
 13.4740 -	Make sure we see memory breakpoints when checking if
 13.4741 -	breakpoint is still there.
 13.4742 -	* alpha-tdep.c, alphanbsd-tdep.c, frame.c, frv-tdep.c,
 13.4743 -	hppa-linux-tdep.c, hppa-tdep.c, i386-linux-nat.c, i386-tdep.c,
 13.4744 -	m68klinux-tdep.c, mips-tdep.c, mn10300-tdep.c, s390-tdep.c,
 13.4745 -	sparc-tdep.c: Use target_read_memory instead of read_memory_nobpt.
 13.4746 -
 13.4747 -2008-03-12  Pedro Alves  <pedro@codesourcery.com>
 13.4748 -
 13.4749 -	* thread.c (add_thread): Use printf_unfiltered to print.
 13.4750 -
 13.4751 -2008-03-12  Joel Brobecker  <brobecker@gnat.com>
 13.4752 -
 13.4753 -	* sol-thread.c: Replace use of TM_I386SOL2_H by an expression
 13.4754 -	that is true only on x86-solaris and x86_64-solaris.
 13.4755 -	* procfs.c: Likewise. Move procfs_find_LDT_entry up together
 13.4756 -	with proc_get_LDT_entry.
 13.4757 -
 13.4758 -2008-03-12  Thiago Jung Bauermann  <bauerman@br.ibm.com>
 13.4759 -
 13.4760 -	* configure.ac (AC_CHECK_FUNCS): Add check for setsid.
 13.4761 -	* config.in, configure: Regenerate.
 13.4762 -	* fork-child.c (fork_inferior): Call create_tty_session.
 13.4763 -	* inflow.c (new_tty): Set controlling terminal with TIOCSCTTY.
 13.4764 -	(create_tty_session): New function.
 13.4765 -	* terminal.h: Declare create_tty_session.
 13.4766 -
 13.4767 -2008-03-12  Alan Modra  <amodra@bigpond.net.au>
 13.4768 -
 13.4769 -	PR 5900
 13.4770 -	* elfread.c (elf_symtab_read): Make shndx an unsigned int.
 13.4771 -	* mipsread.c: Include elf/internal.h.
 13.4772 -	(read_alphacoff_dynamic_symtab): Map external reserved sym_shndx
 13.4773 -	to internal range.
 13.4774 -
 13.4775 -2008-03-11  Markus Deuling  <deuling@de.ibm.com>
 13.4776 -
 13.4777 -	* win32-nat.c (do_win32_fetch_inferior_registers): Use get_regcache_arch
 13.4778 -	to get at the current architecture and at the target specific vector.
 13.4779 -	Add target specific vector to I387_FISEG_REGNUM and I387_FOP_REGNUM and
 13.4780 -	remove define of I387_ST0_REGNUM.
 13.4781 -
 13.4782 -	* amd64-tdep.c (I387_ST0_REGNUM): Remove define.
 13.4783 -
 13.4784 -	(amd64_supply_fxsave, amd64_collect_fxsave): Use get_regcache_arch to
 13.4785 -	get at the current architecture
 13.4786 -	(I387_FISEG_REGNUM, I387_FOSEG_REGNUM): Add target specific vector as
 13.4787 -	parameter.
 13.4788 -
 13.4789 -	* i386-tdep.c: Remove various define's and undef's of I387_ST0_REGNUM,
 13.4790 -	I387_NUM_XMM_REGS and I387_MM0_REGNUM.
 13.4791 -
 13.4792 -	(I387_NUM_XMM_REGS, I387_XMM0_REGNUM, I387_MXCSR_REGNUM,
 13.4793 -	I387_ST0_REGNUM, I387_FCTRL_REGNUM, I387_MM0_REGNUM,
 13.4794 -	(I387_FSTAT_REGNUM): Add target specific vector as parameter.
 13.4795 -
 13.4796 -	(i386_register_name, i386_dbx_reg_to_regnum): Use gdbarch_tdep to get
 13.4797 -	at the target specific vector.
 13.4798 -
 13.4799 -	(i386_get_longjmp_target): Use get_frame_arch to get at the current
 13.4800 -	architecture. Use gdbarch_tdep to get at the target specific vector.
 13.4801 -
 13.4802 -	(i386_fp_regnum_p, i386_fpc_regnum_p): Add gdbarch as parameter and
 13.4803 -	update caller. Use gdbarch_tdep to get at the target specific vector.
 13.4804 -
 13.4805 -	(i386_register_to_value: Use get_frame_arch to get at the current
 13.4806 -	architecture.
 13.4807 -
 13.4808 -	* i386-tdep.h (i386_fp_regnum_p, i386_fpc_regnum_p): Add gdbarch as
 13.4809 -	parameter.
 13.4810 -
 13.4811 -	* i387-tdep.c (I387_FCTRL_REGNUM, I387_FSTAT_REGNUM, I387_FTAG_REGNUM,
 13.4812 -	I387_FISEG_REGNUM, I387_FIOFF_REGNUM, I387_FOSEG_REGNUM
 13.4813 -	I387_FOOFF_REGNUM, I387_FOP_REGNUM, I387_ST0_REGNUM, FSAVE_ADDR,
 13.4814 -	FXSAVE_ADDR, I387_XMM0_REGNUM): Add target specific vector as parameter.
 13.4815 -
 13.4816 -	(I387_ST0_REGNUM, I387_NUM_XMM_REGS): Remove various define's and
 13.4817 -	undef's.
 13.4818 -
 13.4819 -	(i387_convert_register_p, i387_register_to_value,
 13.4820 -	i387_value_to_register): Update call for i386_fp_regnum_p.
 13.4821 -
 13.4822 -	* i387-tdep.h: Remove comment.
 13.4823 -	(I387_ST0_REGNUM, I387_NUM_XMM_REGS, I387_MM0_REGNUM): Add define.
 13.4824 -	(I387_FCTRL_REGNUM, I387_FSTAT_REGNUM, I387_FTAG_REGNUM,
 13.4825 -	I387_FISEG_REGNUM, I387_FIOFF_REGNUM, I387_FOSEG_REGNUM,
 13.4826 -	I387_FOOFF_REGNUM, I387_FOP_REGNUM, I387_XMM0_REGNUM,
 13.4827 -	I387_MXCSR_REGNUM): Add target specific vector as parameter.
 13.4828 -
 13.4829 -2008-03-10  Daniel Jacobowitz  <dan@codesourcery.com>
 13.4830 -
 13.4831 -	* Makefile.in (fork-child.o): Update.
 13.4832 -	* NEWS: Document "set exec-wrapper" and the gdbserver --wrapper
 13.4833 -	argument.  Gather all gdbserver features together.
 13.4834 -	* fork-child.c (exec_wrapper): New variable.
 13.4835 -	(fork_inferior): Use it.
 13.4836 -	(startup_inferior): Skip an extra trap if using "set exec-wrapper".
 13.4837 -	(unset_exec_wrapper_command, _initialize_fork_child): New.
 13.4838 -
 13.4839 -2008-03-10  Hidetaka Takano  <hidetaka.takano@glb.toshiba.co.jp>
 13.4840 -
 13.4841 -	* source.c (directory_command): Modify the determination of
 13.4842 -	condition of terminal "from_tty".
 13.4843 -
 13.4844 -2008-03-10  Matt Rice  <ratmice@gmail.com>
 13.4845 -
 13.4846 -	* dwarf2read.c (set_cu_language): Add DW_LANG_ObjC.
 13.4847 -
 13.4848 -2008-03-10  Hidetaka Takano  <hidetaka.takano@glb.toshiba.co.jp>
 13.4849 -
 13.4850 -	* spu-tdep.c (info_spu_event_command): Insert a '\0' to the end
 13.4851 -	of the data passing to strtoulst function.
 13.4852 -	(info_spu_signal_command): Likewise.
 13.4853 -
 13.4854 -2008-03-08  Vladimir Prus  <vladimir@codesourcery.com>
 13.4855 -
 13.4856 -	* mi/mi-interp.c (mi_command_loop): Remove
 13.4857 -	commented-out code.
 13.4858 -
 13.4859 -2008-03-07  Joel Brobecker  <brobecker@adacore.com>
 13.4860 -
 13.4861 -	* remote.c (extended_remote_attach_1): Make local variable pid an int
 13.4862 -	instead of a pid_t.
 13.4863 -
 13.4864 -2008-03-07  Joel Brobecker  <brobecker@adacore.com>
 13.4865 -
 13.4866 -	* solib-svr4.c (svr4_same_1): New function, originally extracted
 13.4867 -	from svr4_same and expanded to handle the sparc64 case.
 13.4868 -	(svr4_same): Move up and reimplement using svr4_same_1.
 13.4869 -	(enable_break): Use svr4_same_1 to do shared library name comparisons.
 13.4870 -
 13.4871 -2008-03-07  Ramana Radhakrishnan  <ramana.r@gmail.com>
 13.4872 -
 13.4873 -	* MAINTAINERS: Move self to Paper trail.
 13.4874 -
 13.4875 -2008-03-05  Daniel Jacobowitz  <dan@codesourcery.com>
 13.4876 -
 13.4877 -	* Makefile.in (mingw-hdep.o, posix-hdep.o, remote-fileio.o): Update.
 13.4878 -	* event-loop.c (call_async_signal_handler): New.
 13.4879 -	* event-loop.h (call_async_signal_handler)
 13.4880 -	(gdb_call_async_signal_handler): Declare.
 13.4881 -	(mark_async_signal_handler): Add comments.
 13.4882 -	* event-top.c (handle_sigint): Use gdb_call_async_signal_handler.
 13.4883 -	* mingw-hdep.c (sigint_event, sigint_handler): New.
 13.4884 -	(gdb_select): Use them.  Wait for the readline signal handler
 13.4885 -	to finish.
 13.4886 -	(gdb_call_async_signal_handler, _initialize_mingw_hdep): New functions.
 13.4887 -	* posix-hdep.c (gdb_call_async_signal_handler): New function.
 13.4888 -	* remote-fileio.c (sigint_fileio_token, async_remote_fileio_interrupt):
 13.4889 -	New.
 13.4890 -	(remote_fileio_ctrl_c_signal_handler): Use
 13.4891 -	gdb_call_async_signal_handler.
 13.4892 -	(initialize_remote_fileio): Initialize sigint_fileio_token.
 13.4893 -	* remote.c (initialize_sigint_signal_handler, handle_remote_sigint): Do
 13.4894 -	not initialize tokens here.
 13.4895 -	(handle_remote_sigint_twice): Likewise.  Reinstall
 13.4896 -	handle_remote_sigint.
 13.4897 -	(async_remote_interrupt_twice): Just call interrupt_query.
 13.4898 -	(cleanup_sigint_signal_handler): Do not delete tokens.
 13.4899 -	(remote_interrupt, remote_interrupt_twice): Use
 13.4900 -	gdb_call_async_signal_handler.
 13.4901 -	(interrupt_query): Reinstall the default signal handler.
 13.4902 -	(_initialize_remote): Initialize tokens here.
 13.4903 -
 13.4904 -2008-03-04  Joel Brobecker  <brobecker@adacore.com>
 13.4905 -
 13.4906 -	* features/rs6000/power-core.xml, features/rs6000/power64-core.xml,
 13.4907 -	features/rs6000/powerpc-601.xml, features/rs6000/rs6000.xml:
 13.4908 -	Change the type of the lr register to code_ptr.
 13.4909 -	* features/rs6000/powerpc-32.c, features/rs6000/powerpc-403.c,
 13.4910 -	features/rs6000/powerpc-403gc.c, features/rs6000/powerpc-505.c,
 13.4911 -	features/rs6000/powerpc-601.c, features/rs6000/powerpc-602.c,
 13.4912 -	features/rs6000/powerpc-603.c, features/rs6000/powerpc-604.c,
 13.4913 -	features/rs6000/powerpc-64.c, features/rs6000/powerpc-7400.c,
 13.4914 -	features/rs6000/powerpc-750.c, features/rs6000/powerpc-860.c,
 13.4915 -	features/rs6000/powerpc-e500.c, features/rs6000/rs6000.c: Regenerate.
 13.4916 -
 13.4917 -2008-03-03  James E. Wilson  <wilson@tuliptree.org>
 13.4918 -
 13.4919 -	* MAINTAINERS: Update my email address.
 13.4920 -
 13.4921 -2008-03-03  Keith Seitz  <keiths@redhat.com>
 13.4922 -
 13.4923 -	From Dave Murphy  <davem@devkitpro.org>:
 13.4924 -	* configure.ac: Set tcl configdir to win under mingw.
 13.4925 -	* configure: Regenerate.
 13.4926 -
 13.4927 -2008-03-03  Daniel Jacobowitz  <dan@codesourcery.com>
 13.4928 -
 13.4929 -	* breakpoint.c (fetch_watchpoint_value): New function.
 13.4930 -	(update_watchpoint): Set and clear val_valid.  Use
 13.4931 -	fetch_watchpoint_value.  Handle unreadable values on the
 13.4932 -	value chain.  Correct check for user-requested array watchpoints.
 13.4933 -	(breakpoint_init_inferior): Clear val_valid.
 13.4934 -	(watchpoint_value_print): New function.
 13.4935 -	(print_it_typical): Use it.  Do not free or clear old_val.  Print
 13.4936 -	watchpoints even if old_val == NULL.
 13.4937 -	(watchpoint_check): Use fetch_watchpoint_value.  Check for values
 13.4938 -	becoming readable or unreadable.
 13.4939 -	(watch_command_1): Use fetch_watchpoint_value.  Set val_valid.
 13.4940 -	(do_enable_watchpoint): Likewise.
 13.4941 -	* breakpoint.h (struct breakpoint): Update comment for val.  Add
 13.4942 -	val_valid.
 13.4943 -	* NEWS: Mention watchpoints on inaccessible memory.
 13.4944 -
 13.4945 -2007-02-29  Daniel Jacobowitz  <dan@codesourcery.com>
 13.4946 -
 13.4947 -	* Makefile.in (i386-nat.o): Update.
 13.4948 -	* amd64-linux-nat.c (_initialize_amd64_linux_nat): Call
 13.4949 -	i386_use_watchpoints.
 13.4950 -	* i386-linux-nat.c (_initialize_i386_linux_nat): Call
 13.4951 -	i386_use_watchpoints.
 13.4952 -	* i386-nat.c (i386_stopped_data_address): Take two arguments.
 13.4953 -	(i386_stopped_by_watchpoint): Update call.
 13.4954 -	(i386_can_use_hw_breakpoint, i386_use_watchpoints): New.
 13.4955 -	* config/i386/nm-i386.h: Conditionalize definitions on
 13.4956 -	! I386_WATCHPOINTS_IN_TARGET_VECTOR.
 13.4957 -	(i386_use_watchpoints): Declare.
 13.4958 -	(i386_stopped_data_address): Update.
 13.4959 -	* config/i386/nm-linux.h (I386_WATCHPOINTS_IN_TARGET_VECTOR): Define.
 13.4960 -	* config/i386/nm-linux64.h (I386_WATCHPOINTS_IN_TARGET_VECTOR): Define.
 13.4961 -
 13.4962 -2008-02-29  Joel Brobecker  <brobecker@adacore.com>
 13.4963 -
 13.4964 -	GDB 6.8 branch created (branch timestamp: 2008-02-26 10:00 UTC)
 13.4965 -	* version.in: Bump version to 6.8.50.20080229-cvs.
 13.4966 -
 13.4967 -2008-02-28  Markus Deuling  <deuling@de.ibm.com>
 13.4968 -
 13.4969 -	* f-typeprint.c (f_print_type): Handle NULL pointer in VARSTRING
 13.4970 -	properly.
 13.4971 -
 13.4972 -2008-02-28  Tom Tromey  <tromey@redhat.com>
 13.4973 -
 13.4974 -	* infcmd.c (notice_args_read): Print result of get_inferior_args.
 13.4975 -
 13.4976 -2008-02-28  Daniel Jacobowitz  <dan@codesourcery.com>
 13.4977 -
 13.4978 -	* infcmd.c (kill_if_already_running): Make static.  Use
 13.4979 -	target_require_runnable.
 13.4980 -	* target.c (target_require_runnable): New.
 13.4981 -	* target.h (target_require_runnable): Declare.
 13.4982 -
 13.4983 -2008-02-28  Daniel Jacobowitz  <dan@codesourcery.com>
 13.4984 -
 13.4985 -	* frame.c (reinit_frame_cache): Only annotate if frames were
 13.4986 -	previously valid.
 13.4987 -
 13.4988 -2008-02-28  Ulrich Weigand  <uweigand@de.ibm.com>
 13.4989 -
 13.4990 -	* regformats/reg-ppc.dat: Rename "ps" to "msr".
 13.4991 -	* regformats/reg-ppc64.dat: Likewise.
 13.4992 -
 13.4993 -2008-02-28  Ulrich Weigand  <uweigand@de.ibm.com>
 13.4994 -
 13.4995 -	* features/Makefile (%.dat): Emit xmltarget statement.
 13.4996 -
 13.4997 -	* regformats/regdat.sh: Support xmltarget and xmlarch statments.
 13.4998 -	Generate code to set gdbserver_xmltarget in init_registers_${name}.
 13.4999 -
 13.5000 -	* regformats/arm-with-iwmmxt.dat: Regenerate.
 13.5001 -	* regformats/mips64-linux.dat: Regenerate.
 13.5002 -	* regformats/mips-linux.dat: Regenerate.
 13.5003 -	* regformats/rs6000/powerpc-32.dat: Regenerate.
 13.5004 -	* regformats/rs6000/powerpc-64.dat: Regenerate.
 13.5005 -	* regformats/rs6000/powerpc-e500.dat: Regenerate.
 13.5006 -
 13.5007 -	* regformats/reg-arm.dat: Add xmlarch statement.
 13.5008 -	* regformats/reg-i386.dat: Likewise.
 13.5009 -	* regformats/reg-i386-linux.dat: Likewise.
 13.5010 -	* regformats/reg-x86-64-linux.dat: Likewise.
 13.5011 -	* regformats/reg-spu.dat: Likewise.
 13.5012 -
 13.5013 -2008-02-27  Daniel Jacobowitz  <dan@codesourcery.com>
 13.5014 -
 13.5015 -	* remote.c (remote_wait, remote_async_wait): Stop if we receive
 13.5016 -	an error.
 13.5017 -
 13.5018 -2008-02-27  Daniel Jacobowitz  <dan@codesourcery.com>
 13.5019 -
 13.5020 -	* utils.c (debug_timestamp): New.
 13.5021 -	(vfprintf_unfiltered): Print timestamps if requested.
 13.5022 -	(show_debug_timestamp): New.
 13.5023 -	(initialize_utils): Register "set debug timestamp".
 13.5024 -	* NEWS: Mention "set debug timestamp".  Add GDB 6.8 section.
 13.5025 -
 13.5026 -2008-02-27  Joel Brobecker  <brobecker@adacore.com>
 13.5027 -
 13.5028 -	* breakpoint.c (skip_prologue_sal): New function.
 13.5029 -	(resolve_sal_pc): Adjust SAL past prologue if the SAL was
 13.5030 -	computed from a line number.
 13.5031 -
 13.5032 -2008-02-27  Joel Brobecker  <brobecker@adacore.com>
 13.5033 -
 13.5034 -	* features/rs6000/power-core.xml, features/rs6000/power64-core.xml
 13.5035 -	features/rs6000/powerpc-601.xml, features/rs6000/rs6000.xml:
 13.5036 -	Set PC register type to "code_ptr".
 13.5037 -	* features/rs6000/powerpc-32.c, features/rs6000/powerpc-403.c,
 13.5038 -	features/rs6000/powerpc-403gc.c, features/rs6000/powerpc-505.c,
 13.5039 -	features/rs6000/powerpc-601.c, features/rs6000/powerpc-602.c,
 13.5040 -	features/rs6000/powerpc-603.c, features/rs6000/powerpc-604.c,
 13.5041 -	features/rs6000/powerpc-64.c, features/rs6000/powerpc-7400.c,
 13.5042 -	features/rs6000/powerpc-750.c, features/rs6000/powerpc-860.c,
 13.5043 -	features/rs6000/powerpc-e500.c, features/rs6000/rs6000.c:
 13.5044 -	Regenerate.
 13.5045 -
 13.5046 -2008-02-27  Ulrich Weigand  <uweigand@de.ibm.com>
 13.5047 -
 13.5048 -	* regformats/regdat.sh: Rename init_registers function in
 13.5049 -	generated file to init_registers_${name}.
 13.5050 -
 13.5051 -	* regformats/reg-crisv32.dat: Set "name" to crisv32.
 13.5052 -	* regformats/reg-ppc64.dat: Set "name" to ppc64.
 13.5053 -	* regformats/reg-s390x.dat: Set "name" to s390x.
 13.5054 -
 13.5055 -2008-02-26  Greg Law  <glaw@undo-software.com>
 13.5056 -
 13.5057 -	* regcache.c (registers_changed): Call reinit_frame_cache.
 13.5058 -
 13.5059 -2008-02-26  Daniel Jacobowitz  <dan@codesourcery.com>
 13.5060 -
 13.5061 -	* configure.tgt (sh-*-linux*): Match sh*.  Add glibc-tdep.o.
 13.5062 -	* sh-linux-tdep.c (sh_linux_init_abi): Use glibc_skip_solib_resolver
 13.5063 -	and svr4_fetch_objfile_link_map.
 13.5064 -	* Makefile.in (sh-linux-tdep.o): Update.
 13.5065 -
 13.5066 -2008-02-26  Thiago Jung Bauermann  <bauerman@br.ibm.com>
 13.5067 -
 13.5068 -	* amd64-tdep.c (amd64_classify): Add support for decimal float
 13.5069 -	types.
 13.5070 -	* i386-tdep.c (i386_return_value): Make 128-bit decimal float
 13.5071 -	use the struct return convention.
 13.5072 -
 13.5073 -2008-02-26  Nick Roberts  <nickrob@snap.net.nz>
 13.5074 -
 13.5075 -	* breakpoint.c (print_one_breakpoint_location): Revert Enb field
 13.5076 -	to old format.  Discard breakpoint address if shared library is
 13.5077 -	unloaded.
 13.5078 -	(breakpoint_1): Adjust formatting of table header accordingly.
 13.5079 -
 13.5080 -2008-02-25  Vladimir Prus  <vladimir@codesourcery.com>
 13.5081 -
 13.5082 -       * remote.c (remote_get_threadlist): If the response
 13.5083 -       is empty, don't try to parse it.
 13.5084 -
 13.5085 -2008-02-23  Vladimir Prus  <vladimir@codesourcery.com>
 13.5086 -
 13.5087 -	Unbreak 'target async'.
 13.5088 -	* serial.c (serial_async): Set the
 13.5089 -	handler function before enabling async
 13.5090 -	mode.
 13.5091 -
 13.5092 -2008-02-22  Daniel Jacobowitz  <dan@codesourcery.com>
 13.5093 -
 13.5094 -	* solib-svr4.c (enable_break): Convert r_brk to a code address.
 13.5095 -
 13.5096 -2008-02-21  Pedro Alves  <pedro@codesourcery.com>
 13.5097 -
 13.5098 -	* remote.c (extended_remote_attach_1): Set attach_flag.
 13.5099 -	(extended_remote_create_inferior_1): Clear attach_flag.
 13.5100 -
 13.5101 -2008-02-20  Daniel Jacobowitz  <dan@codesourcery.com>
 13.5102 -
 13.5103 -	* mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Set
 13.5104 -	r_brk_offset.
 13.5105 -	(mipsnbsd_lp64_fetch_link_map_offsets): Likewise.
 13.5106 -	* solib-svr4.c (solib_svr4_r_brk): New.
 13.5107 -	(open_symbol_file_object, svr4_current_sos): Always check the
 13.5108 -	debug base.
 13.5109 -	(svr4_fetch_objfile_link_map): Do not set debug_base.
 13.5110 -	(enable_break): Use r_brk if it is set.
 13.5111 -	(svr4_ilp32_fetch_link_map_offsets): Set r_brk_offset.
 13.5112 -	(svr4_lp64_fetch_link_map_offsets): Likewise.
 13.5113 -	* solib-svr4.h (struct link_map_offsets): Add r_brk_offset.
 13.5114 -
 13.5115 -2008-02-20  Markus Deuling  <deuling@de.ibm.com>
 13.5116 -	    Mark Kettenis  <kettenis@gnu.org>
 13.5117 -
 13.5118 -	* alpha-tdep.c (alpha_heuristic_unwind_cache): Replace saved_regs by
 13.5119 -	trad_frame_saved_reg.
 13.5120 -	(trad-frame.h): New include.
 13.5121 -
 13.5122 -	(alpha_heuristic_frame_unwind_cache): Use trad_frame_alloc_saved_regs
 13.5123 -	instead of frame_obstack_zalloc.
 13.5124 -	(alpha_heuristic_frame_prev_register): Use trad_frame_get_prev_register.
 13.5125 -
 13.5126 -	* Makefile.in (alpha-tdep.o): Add dependency to trad_frame_h.
 13.5127 -
 13.5128 -2008-02-20  Markus Deuling  <deuling@de.ibm.com>
 13.5129 -
 13.5130 -	* rs6000-tdep.c (gdb_print_insn_powerpc): Get the current endianess
 13.5131 -	from disassemble_info instead of gdbarch_byte_order.
 13.5132 -
 13.5133 -	* mips-tdep.c (gdb_print_insn_mips): Likewise.
 13.5134 -	* arm-tdep.c (gdb_print_insn_arm): Likewise.
 13.5135 -
 13.5136 -2008-02-20  Markus Deuling  <deuling@de.ibm.com>
 13.5137 -
 13.5138 -	* gdbarch.sh (memory_insert_breakpoint, memory_remove_breakpoint): Add
 13.5139 -	gdbarch as parameter.
 13.5140 -
 13.5141 -	* gdbarch.{c,h}: Regenerate.
 13.5142 -
 13.5143 -	* ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Add gdbarch as
 13.5144 -	parameter.
 13.5145 -	* mem-break.c (default_memory_insert_breakpoint)
 13.5146 -	(default_memory_remove_breakpoint): Likewise.
 13.5147 -	* target.h (default_memory_remove_breakpoint)
 13.5148 -	(default_memory_insert_breakpoint): Likewise.
 13.5149 -
 13.5150 -	* ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Add gdbarch as
 13.5151 -	parameter. Replace current_gdbarch by gdbarch.
 13.5152 -	* m32r-tdep.c (m32r_memory_insert_breakpoint)
 13.5153 -	(m32r_memory_remove_breakpoint): Likewise.
 13.5154 -
 13.5155 -2008-02-19  Daniel Jacobowitz  <dan@codesourcery.com>
 13.5156 -
 13.5157 -	* MAINTAINERS: Add Vladimir Prus as MI maintainer.
 13.5158 -
 13.5159 -2008-02-19  Joel Brobecker  <brobecker@adacore.com>
 13.5160 -
 13.5161 -	* NEWS: Add entry describing Add support improvements.
 13.5162 -
 13.5163 -2008-02-18  Markus Deuling  <deuling@de.ibm.com>
 13.5164 -
 13.5165 -	* m68klinux-nat.c (getfpregs_supplies): Replace gdbarch_fp0_regnum by
 13.5166 -	M68K_FP0_REGNUM.
 13.5167 -
 13.5168 -2008-02-18  Markus Deuling  <deuling@de.ibm.com>
 13.5169 -
 13.5170 -	* sentinel-frame.c (sentinel_frame_prev_register): Do not call
 13.5171 -	register_offset_hack anymore.
 13.5172 -
 13.5173 -	* regcache.{c,h} (register_offset_hack): Remove.
 13.5174 -
 13.5175 -2008-02-18  Markus Deuling  <deuling@de.ibm.com>
 13.5176 -
 13.5177 -	* hppa-tdep.h (find_global_pointer): Add gdbarch as parameter.
 13.5178 -
 13.5179 -	* hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer): Likewise. Replace
 13.5180 -	current_gdbarch by gdbarch.
 13.5181 -	(hppa64_hpux_find_global_pointer): Likewise.
 13.5182 -	* hppa-tdep.c (hppa_find_global_pointer): Likewise.
 13.5183 -	(hppa32_push_dummy_call, hppa64_push_dummy_call): Update call for
 13.5184 -	find_global_pointer.
 13.5185 -
 13.5186 -	* hppabsd-tdep.c (hppabsd_find_global_pointer): Add gdbarch as
 13.5187 -	parameter.
 13.5188 -	* hppa-linux-tdep.c (hppa_linux_find_global_pointer): Likewise.
 13.5189 -
 13.5190 -	* hppa-linux-nat.c (hppa_linux_register_addr): Use ARRAY_SIZE instead
 13.5191 -	of gdbarch_num_regs.
 13.5192 -
 13.5193 -	* hppa-hpux-tdep.c (hppa_hpux_sr_for_addr): Add gdbarch as parameter and
 13.5194 -	replace current_gdbarch by gdbarch.
 13.5195 -	(hppa_hpux_push_dummy_code): Update call for hppa_hpux_sr_for_addr.
 13.5196 -
 13.5197 -2008-02-18  Markus Deuling  <deuling@de.ibm.com>
 13.5198 -
 13.5199 -	* rs6000-nat.c (exec_one_dummy_insn, regmap): Add gdbarch as parameter
 13.5200 -	and replace current_gdbarch by gdbarch.
 13.5201 -
 13.5202 -	(store_register): Update call for exec_one_dummy_insn.
 13.5203 -	(fetch_register, store_register): Update call of regmap.
 13.5204 -
 13.5205 -	* ppcnbsd-nat.c (getregs_supplies, getfpregs_supplies): Add gdbarch as
 13.5206 -	parameter and replace current_gdbarch by gdbarch.
 13.5207 -
 13.5208 -	(ppcnbsd_store_inferior_registers): Use get_regcache_arch to get at
 13.5209 -	the current architecture. Update call for getregs_supplies and
 13.5210 -	getfpregs_supplies.
 13.5211 -	(ppcnbsd_fetch_inferior_registers): Likewise.
 13.5212 -
 13.5213 -	* ppcobsd-nat.c (getfpregs_supplies): Add gdbarch as parameter and
 13.5214 -	replace current_gdbarch by gdbarch.
 13.5215 -	(ppcobsd_fetch_registers, ppcobsd_store_registers): Use
 13.5216 -	get_regcache_arch to get at the current architecture. Update call for
 13.5217 -	getfpregs_supplies.
 13.5218 -
 13.5219 -2008-02-18  Markus Deuling  <deuling@de.ibm.com>
 13.5220 -
 13.5221 -	* arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarch
 13.5222 -	variables.
 13.5223 -
 13.5224 -2008-02-15  Markus Deuling  <deuling@de.ibm.com>
 13.5225 -
 13.5226 -	* mips-linux-tdep.c (mips_linux_init_abi): Remove internal error.
 13.5227 -
 13.5228 -2008-02-14  Vladimir Prus  <vladimir@codesourcery.com>
 13.5229 -
 13.5230 -	* NEWS: Mention pending breakpints in MI.
 13.5231 -
 13.5232 -2008-02-14  Markus Deuling  <deuling@de.ibm.com>
 13.5233 -
 13.5234 -	* Makefile.in (ALL_TARGET_OBS): Remove dependency to xtensa-linux-nat.o.
 13.5235 -
 13.5236 -2008-02-13  Markus Deuling  <deuling@de.ibm.com>
 13.5237 -
 13.5238 -	Add script to build and test GDB using enable-targets=all.
 13.5239 -
 13.5240 -	* gdb_buildall.sh: New file.
 13.5241 -
 13.5242 -2008-02-11  Maxim Grigoriev  <maxim2405@gmail.com>
 13.5243 -
 13.5244 -	* NEWS (New native configurations): Xtensa GNU/Linux.
 13.5245 -	(New targets): Xtensa GNU/Linux.
 13.5246 -	* Makefile.in (ALL_TARGET_OBS): Add xtensa-linux-nat.o and
 13.5247 -	xtensa-linux-tdep.o
 13.5248 -	(ALLDEPFILES): Add xtensa-linux-tdep.c and xtensa-linux-nat.c
 13.5249 -	(xtensa-linux-nat.o, xtensa-linux-tdep.o): New dependencies.
 13.5250 -	* configure.tgt (xtensa*-*-linux*): New entry.
 13.5251 -	* xtensa-config.c (xtensa_tdep): New variable.
 13.5252 -	(xtensa_config_byte_order, xtensa_config_tdep): Removed.
 13.5253 -	(rmap): Change format based on new macro XTREG.
 13.5254 -	(XTENSA_CONFIG_INSTANTIATE): Use new macro defined in xtensa-tdep.h.
 13.5255 -	* xtensa-linux-nat.c: New.
 13.5256 -	* xtensa-linux-tdep.c: New.
 13.5257 -	* xtensa-xtregs.c: New.
 13.5258 -	* xtensa-tdep.h (xtensa_elf_gregset_t): Update.
 13.5259 -	(XTENSA_ELF_NGREG, XTREG, XTREG_END, XTENSA_GDBARCH_TDEP_INSTANTIATE)
 13.5260 -	(XCHAL_NUM_CONTEXTS, XCHAL_HAVE_EXCEPTIONS): New macros.
 13.5261 -	(xtensa_register_t): New field coprocessor.
 13.5262 -	(XTENSA_REGISTER_FLAGS_PRIVILEGED): Name spelling corrected.
 13.5263 -	* xtensa-tdep.c (xtensa_config_tdep, xtensa_config_byte_order): Removed.
 13.5264 -	(xtensa_pseudo_register_read, xtensa_pseudo_register_write):
 13.5265 -	Update to handle privileged registers.
 13.5266 -	(xtensa_supply_gregset) Remove exccause and excvaddr registers.
 13.5267 -	(xtensa_push_dummy_call): Set windowstart register correctly.
 13.5268 -	(call0_analyze_prologue): Initialize xtensa_default_isa.
 13.5269 -	(xtensa_derive_tdep): New.
 13.5270 -	(xtensa_gdbarch_init): Get rid of xtensa_config_byte_order and
 13.5271 -	xtensa_config_tdep, use XCHAL_HAVE_BE and xtensa_tdep instead.
 13.5272 -	Call xtensa_derive_tdep().
 13.5273 -	* config/xtensa/linux.mh: New.
 13.5274 -	* regformats/reg-xtensa.dat: New.
 13.5275 -
 13.5276 -2008-02-09  Aleksandar Ristovski  <aristovski@qnx.com>  (tiny change)
 13.5277 -
 13.5278 -	* corelow.c (core_open): Use IS_ABSOLUTE_PATH.
 13.5279 -	(filenames.h): New include.
 13.5280 -	* Makefile.in (corelow.o): Add dependency for filenames.h.
 13.5281 -
 13.5282 -2008-02-08  Doug Evans  <dje@google.com>
 13.5283 -
 13.5284 -	* source.c (find_and_open_source): Always rewrite absolute filenames.
 13.5285 -
 13.5286 -2008-02-07  Doug Evans  <dje@google.com>
 13.5287 -
 13.5288 -	* breakpoint.c: #include "hashtab.h".
 13.5289 -	(ambiguous_names_p): New fn.
 13.5290 -	(update_breakpoint_locations): When restoring bp enable status, don't
 13.5291 -	compare function names if any functions have same name.
 13.5292 -	* Makefile.in (breakpoint.o): Add hashtab.h dependency.
 13.5293 -
 13.5294 -2008-02-07  Joel Brobecker  <brobecker@adacore.com>
 13.5295 -
 13.5296 -	* ada-lang.c (symbol_completion_add): Make SV parameter a VEC**
 13.5297 -	instead of just a VEC*. Update use of SV.
 13.5298 -	(ada_make_symbol_completion_list): Update symbol_completion_add calls.
 13.5299 -
 13.5300 -2007-02-07  Joel Brobecker  <brobecker@adacore.com>
 13.5301 -
 13.5302 -	* NEWS: Put all new commands since gdb-6.7 together.
 13.5303 -
 13.5304 -2007-02-07  Joel Brobecker  <brobecker@adacore.com>
 13.5305 -
 13.5306 -	* ada-lang.c: #include "vec.h".
 13.5307 -	(struct string_vector, new_string_vector, string_vector_append):
 13.5308 -	Delete.
 13.5309 -	(char_ptr): New typedef.
 13.5310 -	(DEF_VEC_P (char_ptr)): New VEC type.
 13.5311 -	(symbol_completion_add): Update profile to take the new VEC type
 13.5312 -	instead of the old string_vector structure. Update code accordingly.
 13.5313 -	(ada_make_symbol_completion_list): Use the new VEC type instead of
 13.5314 -	the old string_vector structure, and update the code accordingly.
 13.5315 -	* Makefile.in (ada-lang.o): Add dependency on vec.h.
 13.5316 -
 13.5317 -2008-02-06  Pierre Muller  <muller@ics.u-strasbg.fr>
 13.5318 -
 13.5319 -	* p-exp.y: Set current_type in missing places.
 13.5320 -	(leftdiv_is_integer): New static variable.
 13.5321 -	Typecast right operand of BINOP_DIV to long_double if both operands
 13.5322 -	are integers.
 13.5323 -
 13.5324 -2008-02-06  Maciej W. Rozycki  <macro@mips.com>
 13.5325 -
 13.5326 -	* remote-mips.c (set_breakpoint): Rename to...
 13.5327 -	(mips_set_breakpoint): ... this.
 13.5328 -	(clear_breakpoint): Rename to...
 13.5329 -	(mips_clear_breakpoint): ... this.
 13.5330 -	(common_breakpoint): Rename to...
 13.5331 -	(mips_common_breakpoint): ... this.
 13.5332 -	(check_lsi_error): Rename to...
 13.5333 -	(mips_check_lsi_error): ... this.
 13.5334 -
 13.5335 -2007-02-05  Joel Brobecker  <brobecker@adacore.com>
 13.5336 -
 13.5337 -	* language.h (struct language_defn): Add new field
 13.5338 -	la_make_symbol_completion_list.
 13.5339 -	* symtab.c (default_make_symbol_completion_list): Renames
 13.5340 -	make_symbol_completion_list.
 13.5341 -	(make_symbol_completion_list): New function.
 13.5342 -	* symtab.h (default_make_symbol_completion_list): Add declaration.
 13.5343 -	* langauge.c (unknown_language): Set la_make_symbol_completion_list.
 13.5344 -	(auto_language, local_language): Likewise.
 13.5345 -	* objc-lang.c (objc_language_defn): Likewise.
 13.5346 -	* scm-lang.c (scm_language_defn): Likewise.
 13.5347 -	* m2-lang.c (m2_language_defn): Likewise.
 13.5348 -	* f-lang.c (f_language_defn): Likewise.
 13.5349 -	* jv-lang.c (java_language_defn): Likewise.
 13.5350 -	* p-lang.c (pascal_language_defn): Likewise.
 13.5351 -	* c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn)
 13.5352 -	(minimal_language_defn): Likewise.
 13.5353 -	* ada-lang.c (struct string_vector): New structure.
 13.5354 -	(new_string_vector, string_vector_append, ada_unqualified_name)
 13.5355 -	(add_angle_brackets, symbol_completion_match, symbol_completion_add)
 13.5356 -	(ada_make_symbol_completion_list): New functions.
 13.5357 -	(ada_language_defn): Set la_make_symbol_completion_list.
 13.5358 -	* ada-lang.h (ada_make_symbol_completion_list): Remove declaration,
 13.5359 -	this function is static.
 13.5360 -
 13.5361 -2008-02-05  Kevin Buettner  <kevinb@redhat.com>
 13.5362 -
 13.5363 -	* mn10300-tdep.c (mn10300_push_dummy_call): Adjust stack pointer
 13.5364 -	to account for call site optimizations.
 13.5365 -
 13.5366 -2008-02-05  Andrzej Zaborowski  <balrogg@gmail.com>
 13.5367 -
 13.5368 -	* tracepoint.c (read_actions): Handle end-of-text indicator
 13.5369 -	in action list properly.  (Committed by Jim Blandy)
 13.5370 -
 13.5371 -2008-02-05  Jim Blandy  <jimb@red-bean.com>
 13.5372 -
 13.5373 -	* ax-gdb.c (gen_expr): Yield ordinary error if asked to trace a
 13.5374 -	pseudoregister, not an internal error.
 13.5375 -	Reported by: Andrzej Zaborowski
 13.5376 -
 13.5377 -2008-02-04  Vladimir Prus  <vladimir@codesourcery.com>
 13.5378 -
 13.5379 -	* varobj.c (c_value_of_variable): Use xstrdup.
 13.5380 -
 13.5381 -2008-02-04  Vladimir Prus  <vladimir@codesourcery.com>
 13.5382 -
 13.5383 -	Update stored rendition of varobj value when format changes.
 13.5384 -	* varobj.c (varobj_set_display_format): Recomputed
 13.5385 -	print_value.
 13.5386 -	(c_value_of_variable): Return print_value.
 13.5387 -
 13.5388 -2008-02-03  Doug Evans  <dje@google.com>
 13.5389 -
 13.5390 -	* eval.c (evaluate_subexp_standard): Fix type of result of mixed
 13.5391 -	integer/float division operations when EVAL_AVOID_SIDE_EFFECTS.
 13.5392 -	* valops.c (value_one): New function.
 13.5393 -	* value.h (value_one): Declare.
 13.5394 -
 13.5395 -	Fix argument promotion for binary arithmetic ops for C.
 13.5396 -	* valarith.c (unop_result_type): New fn.
 13.5397 -	(binop_result_type): New fn.
 13.5398 -	(value_binop): Move result type computation to binop_result_type.
 13.5399 -	(value_pos, value_neg, value_complement): Move result type
 13.5400 -	computation to unop_result_type.
 13.5401 -
 13.5402 -	PR 2384
 13.5403 -	* gdbtypes.c (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
 13.5404 -	Return basetype, fieldno if found.  All callers updated.
 13.5405 -	Don't cache TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE if from different
 13.5406 -	objfile.
 13.5407 -	* gdbtypes.h (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
 13.5408 -	* symfile.h (fill_in_vptr_fieldno): Delete.
 13.5409 -
 13.5410 -2008-02-02  Doug Evans  <dje@google.com>
 13.5411 -
 13.5412 -	* valarith.c (value_binop): Handle unsigned BINOP_REM division by zero.
 13.5413 -
 13.5414 -	* typeprint.c (*): Whitespace cleanup.
 13.5415 -
 13.5416 -2008-02-02  Mark Kettenis  <kettenis@gnu.org>
 13.5417 -	    Luis Machado  <luisgpm@br.ibm.com>
 13.5418 -	    Thiago Jung Bauermann  <bauerman@br.ibm.com>
 13.5419 -
 13.5420 -	* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Pass floats that
 13.5421 -	don't fit into registerson the stack the way GCC does.
 13.5422 -
 13.5423 -2008-02-01  Joel Brobecker  <brobecker@adacore.com>
 13.5424 -
 13.5425 -	* symtab.c (symbol_set_names): Do not add an entry in the demangling
 13.5426 -	hash table for Ada symbols. Just store the linkage name as is,
 13.5427 -	and leave the demangled_name as NULL.
 13.5428 -
 13.5429 -2007-02-01  Joel Brobecker  <brobecker@adacore.com>
 13.5430 -
 13.5431 -	* dwarf2read.c (add_partial_symbol): Always store all Ada subprograms
 13.5432 -	in the global scope.
 13.5433 -	(new_symbol): Likewise.
 13.5434 -
 13.5435 -2008-02-01  Vladimir Prus  <vladimir@codesourcery.com>
 13.5436 -
 13.5437 -	* breakpoint.c (break_command_1): Return void.
 13.5438 -	(break_command_really): Return void.  Rethrow
 13.5439 -	exceptions instead of returning.
 13.5440 -	(gdb_breakpoint): Remove the error_message parameter.
 13.5441 -	Return void.  Rename to set_breakpoint.
 13.5442 -	* gdb.h (gdb_breakpoint): Rename and move to...
 13.5443 -	* breakpoint.h (set_breakpoint): ...here.
 13.5444 -	* mi/mi-cmb-break.c (mi_cmd_break_insert): Restore
 13.5445 -	event hooks even if exception is thrown.  Adjust to
 13.5446 -	gdb_breakpoint interface changes.
 13.5447 -
 13.5448 -
 13.5449 -2008-02-01  Thiago Jung Bauermann  <bauerman@br.ibm.com>
 13.5450 -
 13.5451 -	* ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Write 32-bit
 13.5452 -	float in both first and second word in the doubleword, to support
 13.5453 -	old and new ABIs.
 13.5454 -
 13.5455 -2008-02-01  Vladimir Prus  <vladimir@codesourcery.com>
 13.5456 -
 13.5457 -	Properly rethrow exception.  This fixes errors
 13.5458 -	about non-existent functions for -break-insert.
 13.5459 -	* breakpoint.c (break_command_really): Use throw_exception
 13.5460 -	for rethrowing.  If rethrowing, don't print the exception.
 13.5461 -
 13.5462 -2008-01-31  Thiago Jung Bauermann  <bauerman@br.ibm.com>
 13.5463 -
 13.5464 -	* NEWS: Mention Decimal Floating Point support.
 13.5465 -
 13.5466 -2008-01-31  Joel Brobecker  <brobecker@adacore.com>
 13.5467 -
 13.5468 -	* std-regs.c (value_of_builtin_frame_pc_reg): Change the returned
 13.5469 -	value type to builtin_type_void_func_ptr.
 13.5470 -
 13.5471 -2008-01-31  Andreas Krebbel  <krebbel1@de.ibm.com>
 13.5472 -
 13.5473 -	* s390-tdep.c (is_float_singleton, is_float_like,
 13.5474 -	alignment_of, s390_return_value): Make checks for
 13.5475 -	TYPE_CODE_FLT to match TYPE_CODE_DECFLOAT as well.
 13.5476 -
 13.5477 -2008-01-31  Luis Machado  <luisgpm@br.ibm.com>
 13.5478 -	    Thiago Jung Bauermann  <bauerman@br.ibm.com>
 13.5479 -
 13.5480 -	* infcmd.c (default_print_registers_info): Also print hex
 13.5481 -	raw contents for TYPE_CODE_DECFLOAT registers.
 13.5482 -	* ppc-tdep.h (gdbarch_tdep): Add ppc_dl0_regnum member.
 13.5483 -	* rs6000-tdep.c (IS_DFP_PSEUDOREG): New macro.
 13.5484 -	(rs6000_register_name): Add support for DFP pseudo-registers.
 13.5485 -	(rs6000_pseudo_register_type): Likewise.
 13.5486 -	rs6000_pseudo_register_reggroup_p): Likewise.
 13.5487 -	(ppc_pseudo_register_read): New function.
 13.5488 -	(ppc_pseudo_register_write): Likewise.
 13.5489 -	(rs6000_pseudo_register_read): Likewise.
 13.5490 -	(rs6000_pseudo_register_write): Likewise.
 13.5491 -	(e500_pseudo_register_read): Move checks to
 13.5492 -	rs6000_pseudo_register_read.
 13.5493 -	(e500_pseudo_register_write): Move checks to
 13.5494 -	rs6000_pseudo_register_write.
 13.5495 -	(rs6000_gdbarch_init): Initialize tdep->ppc_dl0_regnum.  Install
 13.5496 -	rs6000_pseudo_register_read and rs6000_pseudo_register_write
 13.5497 -	in gdbarch if SPE or DFP is available.  Adjust gdbarch's
 13.5498 -	num_pseudo_regs to account for DFP pseudo regs.
 13.5499 -
 13.5500 -2008-01-31  Thiago Jung Bauermann  <bauerman@br.ibm.com>
 13.5501 -
 13.5502 -	* ppc-tdep.h (struct gdbarch_tdep): Remove ppc_ev31_regnum member.
 13.5503 -	* rs6000-tdep.c (IS_SPE_PSEUDOREG): New macro.
 13.5504 -	(spe_register_p, rs6000_register_name, rs6000_pseudo_register_type,
 13.5505 -	rs6000_pseudo_register_reggroup_p, e500_move_ev_register,
 13.5506 -	e500_pseudo_register_read, e500_pseudo_register_write): Use
 13.5507 -	IS_SPE_PSEUDOREG macro.
 13.5508 -	(rs6000_frame_cache): Remove use of tdep->ppc_ev31_regnum.
 13.5509 -	(rs6000_gdbarch_init): Remove unnecessary num_sprs local variable.
 13.5510 -	Remove initialization of tdep->ppc_ev31_regnum.
 13.5511 -
 13.5512 -2008-01-08  Paul Hilfinger  <hilfinger@adacore.com>
 13.5513 -
 13.5514 -	* printcmd.c (print_formatted): Handle references as for unformatted
 13.5515 -	prints.
 13.5516 -
 13.5517 -2008-01-30  Joel Brobecker  <brobecker@adacore.com>
 13.5518 -
 13.5519 -	* eval.c (evaluate_subexp_standard): Add handling of user
 13.5520 -	registers when in EVAL_AVOID_SIDE_EFFECTS mode.
 13.5521 -
 13.5522 -2008-01-30  Pierre Muller  <muller@ics.u-strasbg.fr>
 13.5523 -
 13.5524 -	* eval.c (evaluate_subexp_standard): Support
 13.5525 -	BINOP_INTDIV opcode.
 13.5526 -
 13.5527 -2008-01-30  Paul N. Hilfinger  <hilfinger@adacore.com>
 13.5528 -
 13.5529 -	* valarith.c (value_binop): Add floating-point BINOP_MIN and
 13.5530 -	BINOP_MAX cases.
 13.5531 -	For BINOP_EXP, use length and signedness of left operand only for
 13.5532 -	result, as for shifts.
 13.5533 -	For integral operands to BINOP_EXP, use new integer_pow and
 13.5534 -	uinteger_pow functions so as to get full range of results.
 13.5535 -	(integer_pow): New function.
 13.5536 -	(uinteger_pow): New function.
 13.5537 -
 13.5538 -2008-01-30  Vladimir Prus  <vladimir@codesourcery.com>
 13.5539 -
 13.5540 -	Use vector for varobj_list_children interface.
 13.5541 -	* gdb/varobj.c (varobj_list_children): Return vector
 13.5542 -	of varobjs.
 13.5543 -	* gdb/varobj.h (varobj_list_children): Adjust
 13.5544 -	prototype.
 13.5545 -	(varobj_p): Declare.  Declare vector thereof.
 13.5546 -	* mi/mi-cmd-var.c (mi_cmd_var_list_children): Adjust
 13.5547 -	for varobj_list_children change.
 13.5548 -	* Makefile.in (varobj_h): Update dependencies.
 13.5549 -
 13.5550 -2008-01-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
 13.5551 -
 13.5552 -	* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Add support for
 13.5553 -	TYPE_CODE_DECFLOAT arguments.
 13.5554 -	(ppc64_sysv_abi_push_dummy_call) Likewise.
 13.5555 -	(get_decimal_float_return_value): New function.
 13.5556 -	(do_ppc_sysv_return_value): Add support for TYPE_CODE_DECFLOAT return
 13.5557 -	values by calling get_decimal_float_return_value.
 13.5558 -	(ppc64_sysv_abi_return_value): Likewise.
 13.5559 -
 13.5560 -2008-01-30  Nick Roberts  <nickrob@snap.net.nz>
 13.5561 -
 13.5562 -	* mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file):  Add field
 13.5563 -	for preprocessor macro information.  Formatting changes.
 13.5564 -
 13.5565 -2008-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
 13.5566 -
 13.5567 -	* remote.c (struct remote_state): Add cached_wait_status.
 13.5568 -	(remote_exec_file): New variable.
 13.5569 -	(PACKET_vAttach, PACKET_vRun): New constants.
 13.5570 -	(extended_remote_restart): Do not query for status.
 13.5571 -	(struct start_remote_args): New.
 13.5572 -	(remote_start_remote): Take it as a second argument.  Check
 13.5573 -	whether the target is running.  Issue an error for non-running
 13.5574 -	non-extended targets.  Cache the wait status.  Set inferior_ptid
 13.5575 -	here.
 13.5576 -	(remote_open_1): Prompt to disconnect non-running targets.  Make
 13.5577 -	sure the target is marked running.  Do not set inferior_ptid here.
 13.5578 -	Update call to remote_start_remote.  Do not call remote_check_symbols
 13.5579 -	if the target is not running.
 13.5580 -	(remote_detach_1): Rename from remote_detach.  Take an EXTENDED
 13.5581 -	argument.  Handle a non-running target.
 13.5582 -	(remote_detach): Use it.
 13.5583 -	(extended_remote_detach): New.
 13.5584 -	(remote_disconnect): Fix typo.  Use remoute_mourn_1.
 13.5585 -	(extended_remote_attach_1, extended_remote_attach)
 13.5586 -	(extended_async_remote_attach): New.
 13.5587 -	(remote_vcont_resume): Remove unused variable.
 13.5588 -	(remote_wait, remote_async_wait): Use any cached wait status.
 13.5589 -	(putpkt_binary, getpkt): Clear any cached wait status.
 13.5590 -	(extended_remoute_mourn_1): New.
 13.5591 -	(extended_remote_mourn): Use it.
 13.5592 -	(extended_async_remote_mourn, extended_remote_run): New.
 13.5593 -	(extended_remote_create_inferior_1): New.
 13.5594 -	(extended_remote_create_inferior): Use it.
 13.5595 -	(extended_remote_async_create_inferior): Likewise.
 13.5596 -	(remote_xfer_partial): Skip for non-executing targets.
 13.5597 -	(init_extended_remote_ops): Set to_detach and to_attach.
 13.5598 -	(init_extended_async_remote_ops): Likewise.  Use
 13.5599 -	extended_async_remote_mourn.
 13.5600 -	(_initialize_remote): Register vAttach, vRun, and
 13.5601 -	set remote exec-file.
 13.5602 -	* NEWS: Mention vAttach, vRun, and gdbserver extended-remote support.
 13.5603 -
 13.5604 -2008-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
 13.5605 -
 13.5606 -	* Makefile.in (symfile.o): Update.
 13.5607 -	* NEWS: Mention exec tracing support.
 13.5608 -	* inf-ttrace.c (inf_ttrace_wait): Return TARGET_WAITKIND_EXECD for
 13.5609 -	exec events.
 13.5610 -	* infcmd.c (kill_if_already_running, detach_command)
 13.5611 -	(disconnect_command): Replace SOLIB_RESTART with no_shared_libraries.
 13.5612 -	* infrun.c (MAY_FOLLOW_EXEC, may_follow_exec): Delete.
 13.5613 -	(follow_exec): Do not check may_follow_exec.  Do not mourn and push
 13.5614 -	targets.  Apply the sysroot path to the loaded executable.  Use
 13.5615 -	no_shared_libraries.
 13.5616 -	* linux-nat.c (linux_child_follow_fork): Print fork following
 13.5617 -	messages if verbose.
 13.5618 -	(kill_wait_callback): Kill again before waiting a second time.
 13.5619 -	* symfile.c (symbol_file_clear): Replace SOLIB_RESTART with
 13.5620 -	no_shared_libraries.
 13.5621 -
 13.5622 -2008-01-29  Joel Brobecker  <brobecker@adacore.com>
 13.5623 -
 13.5624 -	* amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR.
 13.5625 -
 13.5626 -2008-01-29  Joel Brobecker  <brobecker@adacore.com>
 13.5627 -
 13.5628 -	* nto-tdep.h: Remove #include "defs.h".
 13.5629 -	* nto-tdep.c: Add #include "defs.h".
 13.5630 -	* Makefile.in (nto_tdep_h): Update dependencies.
 13.5631 -	(nto-tdep.o): Likewise.
 13.5632 -
 13.5633 -2008-01-29  Joel Brobecker  <brobecker@adacore.com>
 13.5634 -
 13.5635 -	* infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameter
 13.5636 -	and use it.
 13.5637 -	(proceed, start_remote): Update call to wait_for_inferior.
 13.5638 -	* inferior.h (wait_for_inferior): Update declaration.
 13.5639 -	* fork-child.c, infcmd.c, solib-irix.c, solib-osf.c, solib-sunos.c,
 13.5640 -	solib-svr4.c, win32-nat.c: Update calls to wait_for_inferior.
 13.5641 -	* inf-ttrace.c (inf_ttrace_wait): Report TTEVT_EXEC events as
 13.5642 -	TARGET_WAITKIND_EXECD instead of TARGET_WAITKIND_STOPPED.
 13.5643 -
 13.5644 -2008-01-29  Aleksandar Ristovski  <aristovski@qnx.com>
 13.5645 -
 13.5646 -	* varobj (adjust_value_for_child_access): Added checking for
 13.5647 -	returned value from gdb_value_ind.
 13.5648 -	(c_describe_child): Likewise.
 13.5649 -	(cplus_describe_child): Fixed a typo.
 13.5650 -
 13.5651 -2008-01-29  Jim Blandy  <jimb@red-bean.com>
 13.5652 -
 13.5653 -	* MAINTAINERS: Update my info.
 13.5654 -
 13.5655 -2008-01-29  Vladimir Prus  <vladimir@codesourcery.com>
 13.5656 -
 13.5657 -	Use multiple locations for hardware watchpoints.
 13.5658 -	This eliminates the need to traverse value chain, doing
 13.5659 -	various checks, in three different places.
 13.5660 -
 13.5661 -	* breakpoint.h (struct bp_location): New fields
 13.5662 -	lengths and watchpoint_type.
 13.5663 -	(struct breakpoint): Remove the val_chain field.
 13.5664 -	* breakpoint.c (is_hardware_watchpoint): New.
 13.5665 -	(free_valchain): Remove.
 13.5666 -	(update_watchpoint): New.
 13.5667 -	(insert_bp_location): For hardware watchpoint, just
 13.5668 -	directly insert it.
 13.5669 -	(insert_breakpoints): Call update_watchpoint_locations
 13.5670 -	on all watchpoints.  If we have failed to insert
 13.5671 -	any location of a hardware watchpoint, remove all inserted
 13.5672 -	locations.
 13.5673 -	(remove_breakpoint): For hardware watchpoints, directly
 13.5674 -	remove location.
 13.5675 -	(watchpoints_triggered): Iterate over locations.
 13.5676 -	(bpstat_stop_status): Use only first location of
 13.5677 -	a resource watchpoint.
 13.5678 -	(delete_breakpoint): Don't call free_valchain.
 13.5679 -	(print_one_breakpoint): Don't print all
 13.5680 -	locations for watchpoints.
 13.5681 -	(breakpoint_re_set_one): Use update_watchpoint for
 13.5682 -	watchpoints.
 13.5683 -
 13.5684 -2008-01-29  Vladimir Prus  <vladimir@codesourcery.com>
 13.5685 -
 13.5686 -	Don't reset watchpoint block on solib load.
 13.5687 -
 13.5688 -	* breakpoint.c (insert_bp_location): For watchpoints,
 13.5689 -	recompute condition.
 13.5690 -	(breakpoint_re_set_one): Instead of recomputing value
 13.5691 -	and condition for watchpoints, just reset value and
 13.5692 -	let insert_breakpoints/insert_bp_location recompute it.
 13.5693 -	Don't do anything about disabled watchpoint.
 13.5694 -
 13.5695 -2008-01-29  Pierre Muller  <muller@ics.u-strasbg.fr>
 13.5696 -
 13.5697 -	* valarith.c (value_binop): Handle unsigned integer
 13.5698 -	division by zero.
 13.5699 -
 13.5700 -2008-01-28  Kevin Buettner  <kevinb@redhat.com>
 13.5701 -
 13.5702 -	* mn10300-tdep.c (mn10300_analyze_prologue): Check for an
 13.5703 -	instruction pattern that appears frequently in position
 13.5704 -	independent code.  Fix bug in code which looks for "fmov" and
 13.5705 -	backtracks if no "fmov" is found.
 13.5706 -
 13.5707 -2008-01-28  Doug Evans  <dje@google.com>
 13.5708 -
 13.5709 -	* dbxread.c (read_dbx_symtab): Fix indentation.
 13.5710 -	Reformat comments to 80 columns.
 13.5711 -	Move local var def closer to only use.
 13.5712 -
 13.5713 -2008-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
 13.5714 -
 13.5715 -	* fork-child.c (SHELL_FILE): Remove #ifndef.
 13.5716 -	(fork_inferior): Remove SHELL_COMMAND_CONCAT.
 13.5717 -
 13.5718 -2008-01-25  Pierre Muller  <muller@ics.u-strasbg.fr>
 13.5719 -
 13.5720 -	* i386-tdep.c (i386_skip_noop): New function.
 13.5721 -	(i386_analyze_prologue): Call i386_skip_noop function.
 13.5722 -
 13.5723 -2008-01-24  Michael Snyder  <msnyder@specifix.com>
 13.5724 -
 13.5725 -	* procfs.c (procfs_xfer_partial): Comment, cut/paste error.
 13.5726 -	* win32-nat.c (win32_xfer_partial): Ditto.
 13.5727 -	* target.c (default_xfer_partial): Minor whitespace adjustment.
 13.5728 -
 13.5729 -2008-01-24  Pedro Alves  <pedro@codesourcery.com>
 13.5730 -
 13.5731 -	* arm-tdep.c (arm_addr_bits_remove): In non 26-bit mode, don't
 13.5732 -	strip bit 1 even if pc doesn't point to thumb code.
 13.5733 -
 13.5734 -2008-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
 13.5735 -
 13.5736 -	* remote.c (remote_wait): Handle SIGINT between packets.
 13.5737 -	(remote_async_wait): Likewise.
 13.5738 -
 13.5739 -2008-01-23  Vladimir Prus  <vladimir@codesourcery.com>
 13.5740 -	    Chris Demetriou  <cgd@google.com>
 13.5741 -
 13.5742 -	* thread.c (add_thread_silent): Renamed
 13.5743 -	from add_thread.
 13.5744 -	(print_thread_events): New variable definition.
 13.5745 -	(show_print_thread_events): New function.
 13.5746 -	(_initialize_thread): Add "set print thread-events" and
 13.5747 -	"show print thread-events" commands.
 13.5748 -	(add_thread): Announce new thread.
 13.5749 -	* gdbthread.h (add_thread_silent): Declare.
 13.5750 -	(print_thread_events): New variable declaration.
 13.5751 -	* inf-ttrace.c (inf_ttrace_wait): Don't
 13.5752 -	inform about new thread, as add_thread is always
 13.5753 -	called too, and will take care of that.
 13.5754 -	* infrun.c (handle_inferior_event): Likewise.
 13.5755 -	* procfs.c (procfs_wait): Likewise.
 13.5756 -	* remote.c (remote_currthread): Likewise.
 13.5757 -	* sol-thread.c (sol_thread_wait): Likewise.
 13.5758 -	* win32-nat.c (get_win32_debug_event): Likewise.
 13.5759 -	* linux-thread-db.c (attach_thread): Likewise.
 13.5760 -	Remove the verbose parameter.
 13.5761 -	(check_event): Make detach_thread be verbose
 13.5762 -	only if print_thread_events is set.
 13.5763 -	* linux-nat.c (lin_lwp_attach_lwp): Don't inform
 13.5764 -	about new thread.  This is called only from
 13.5765 -	linux-thread-db.c:attach_thread, which will take care.
 13.5766 -	Remove the verbose parameter.
 13.5767 -	* linux-nat.h (lin_lwp_attach_lwp): Adjust prototype.
 13.5768 -
 13.5769 -2008-01-23  Nick Roberts  <nickrob@snap.net.nz>
 13.5770 -
 13.5771 -	* mi/mi-cmd-var.c (mi_cmd_var_set_format): Add value field to output.
 13.5772 -
 13.5773 -2008-01-22  Vladimir Prus  <vladimir@codesourcery.com>
 13.5774 -
 13.5775 -	* breakpoint.c (break_command_really): New parameter
 13.5776 -	ignore_count.
 13.5777 -	(break_command_1): Pass 0 as
 13.5778 -	ignore_count to break_command_really.
 13.5779 -	(gdb_breakpoint): Pass ignore_count to
 13.5780 -	break_command_really.
 13.5781 -
 13.5782 -2008-01-21  Kevin Buettner  <kevinb@redhat.com>
 13.5783 -
 13.5784 -	* mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find
 13.5785 -	sigcontext struct via pointer.
 13.5786 -	(struct sigframe comment): Update to show new field `psc'.
 13.5787 -
 13.5788 -2008-01-21  Vladimir Prus  <vladimir@codesourcery.com>
 13.5789 -
 13.5790 -	* infrun.c (handle_inferior_event): If
 13.5791 -	we failed to remove breakpoints, error,
 13.5792 -	don't try to increment PC by hand.
 13.5793 -
 13.5794 -2008-01-18  Nick Hudson  <nick.hudson@dsl.pipex.com>
 13.5795 -
 13.5796 -	Add NetBSD/hppa target and host support.
 13.5797 -
 13.5798 -	* hppabsd-tdep.c (hppabsd_supply_gregset): Move to ...
 13.5799 -	(hppabsd_gregset): Move to ...
 13.5800 -	(hppabsd_regset_from_core_section): Rename
 13.5801 -	hppaobsd_regset_from_core_section and move to ...
 13.5802 -	(hppabsd_find_global_pointer): Update comment.
 13.5803 -	(hppabsd_init_abi): Make global. Do not register
 13.5804 -	hppabsd_regset_from_core_section.
 13.5805 -	(hppabsd_core_osabi_sniffer): Rename hppaobsd_core_osabi_sniffer and
 13.5806 -	move to ...
 13.5807 -	(_initialize_hppabsd_tdep): Move to ...
 13.5808 -	* hppaobsd-tdep.c: ... here. New file.
 13.5809 -	* hppnbsd-tdep.c: New file.
 13.5810 -	* hppnbsd-nat.c: New file.
 13.5811 -	* Makefile.in (ALL_TARGET_OBS): Add hppanbsd-tdep.o and hppaobsd-tdep.o.
 13.5812 -	(ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c.
 13.5813 -	(hppabsd-nat.o, hppabsd-tdep.o): New dependencies.
 13.5814 -	(hppabsd-tdep.o, hppaobsd-tdep.o): Update dependencies.
 13.5815 -	* configure.host (hppa*-*-netbsd*): New entry.
 13.5816 -	* configure.tgt (hppa*-*-netbsd*): New entry.
 13.5817 -	(hppa*-*-openbsd*): Update.
 13.5818 -	* NEWS (New native configuration): Mention NetBSD/hppa.
 13.5819 -	(New targets): Mention NetBSD/hppa.
 13.5820 -
 13.5821 -2008-01-18  Markus Deuling  <deuling@de.ibm.com>
 13.5822 -
 13.5823 -	* gdbarch.sh (function_list): Add new property bits_big_endian to
 13.5824 -	gdbarch structure.
 13.5825 -	* gdbarch.{c,h}: Regenerate.
 13.5826 -
 13.5827 -	* value.c (struct value): Replace BITS_BIG_ENDIAN by
 13.5828 -	gdbarch_bits_big_endian (comment).
 13.5829 -	(unpack_field_as_long, modify_field): Likewise.
 13.5830 -	* value.h: Likewise (comment).
 13.5831 -	* valops.c (value_slice): Likewise.
 13.5832 -	* valarith.c (value_subscript, value_bit_index): Likewise.
 13.5833 -	* gdbtypes.h (field): Likewise (comment).
 13.5834 -	* eval.c (evaluate_subexp_standard): Likewise.
 13.5835 -	* dwarf2read.c (dwarf2_add_field): Likewise.
 13.5836 -	* ada-lang.c (decode_packed_array, ada_value_primitive_packed_val)
 13.5837 -	(move_bits, ada_value_assign, value_assign_to_component): Likewise.
 13.5838 -
 13.5839 -	* defs.h (BITS_BIG_ENDIAN): Remove.
 13.5840 -
 13.5841 -2008-01-18  Markus Deuling  <deuling@de.ibm.com>
 13.5842 -
 13.5843 -	* jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriate
 13.5844 -	function calls.
 13.5845 -	* m2-exp.y (yylex): Likewise.
 13.5846 -	* objc-exp.y (yylex): Likewise.
 13.5847 -
 13.5848 -	* defs.h (DEPRECATED_STREQN): Remove.
 13.5849 -
 13.5850 -2008-01-17  H.J. Lu  <hjl.tools@gmail.com>
 13.5851 -
 13.5852 -	* MAINTAINERS: Update my email address.
 13.5853 -
 13.5854 -2008-01-17  Jim Blandy  <jimb@codesourcery.com>
 13.5855 -
 13.5856 -	* README: Mention gdbserver/README.
 13.5857 -
 13.5858 -2008-01-17  Pierre Muller  <muller@ics.u-strasbg.fr>
 13.5859 -
 13.5860 -	* valarith.c (value_binop): Handle BINOP_INTDIV
 13.5861 -	for unsigned and signed integers.
 13.5862 -
 13.5863 -2008-01-17  Ulrich Weigand  <uweigand@de.ibm.com>
 13.5864 -
 13.5865 -	* s390-tdep.c (s390_gdbarch_init): Set default long double
 13.5866 -	type to 128-bit IEEE quad.
 13.5867 -
 13.5868 -2008-01-17  Joel Brobecker  <brobecker@adacore.com>
 13.5869 -
 13.5870 -	* hpux-thread.c (hpux_thread_resume): Delete commented-out code.
 13.5871 -
 13.5872 -2008-01-16  Mark Kettenis  <kettenis@gnu.org>
 13.5873 -
 13.5874 -	* auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS.
 13.5875 -
 13.5876 -	* dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest.
 13.5877 -	* value.c: All callers changed.
 13.5878 -
 13.5879 -2008-01-16  Markus Deuling  <deuling@de.ibm.com>
 13.5880 -
 13.5881 -	* rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace
 13.5882 -	DEPRECATED_STREQ by its expression.
 13.5883 -	* coffread.c (coff_locate_sections, coff_symtab_read): Likewise.
 13.5884 -	* xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos)
 13.5885 -	(scan_xcoff_symtab): Likewise.
 13.5886 -	* hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise.
 13.5887 -	* f-lang.c (find_common_for_function): Likewise.
 13.5888 -	* objc-exp.y (parse_number): Likewise.
 13.5889 -
 13.5890 -	* defs.h (DEPRECATED_STREQ): Remove.
 13.5891 -
 13.5892 -2008-01-16  Markus Deuling  <deuling@de.ibm.com>
 13.5893 -
 13.5894 -	* mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter.
 13.5895 -	* mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use
 13.5896 -	get_frame_arch to get at the current_architecture. Update AM33_MODE
 13.5897 -	call.
 13.5898 -	(mn10300_analyze_prologue): Add gdbarch as parameter. Update caller.
 13.5899 -	(mn10300_frame_unwind_cache): Use get_frame_arch to get at the current
 13.5900 -	architecture.
 13.5901 -	(set_reg_offsets, mn10300_analyze_prologue): Fix indentation.
 13.5902 -
 13.5903 -2008-01-16  Markus Deuling  <deuling@de.ibm.com>
 13.5904 -
 13.5905 -	* amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as
 13.5906 -	parameter.
 13.5907 -	* amd64-nat.c (amd64_native_gregset_supplies_p): Likewise.
 13.5908 -
 13.5909 -	(amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace
 13.5910 -	current_gdbarch by gdbarch. Update caller.
 13.5911 -
 13.5912 -	* amd64-linux-nat.c (amd64_linux_fetch_inferior_registers)
 13.5913 -	(amd64_linux_store_inferior_registers): Use get_regcache_arch to get at
 13.5914 -	the current architecture. Update calls of
 13.5915 -	amd64_native_gregset_supplies_p.
 13.5916 -	* amd64bsd-nat.c (amd64bsd_fetch_inferior_registers)
 13.5917 -	(amd64bsd_store_inferior_registers): Likewise.
 13.5918 -
 13.5919 -2008-01-16  Markus Deuling  <deuling@de.ibm.com>
 13.5920 -
 13.5921 -	* ppc-linux-nat.c (ppc_register_u_addr): Add gdbarch as parameter.
 13.5922 -	Replace current_gdbarch by gdbarch. Update caller.
 13.5923 -
 13.5924 -2008-01-16  Markus Deuling  <deuling@de.ibm.com>
 13.5925 -
 13.5926 -	* dbxread.c (repeated_header_complaint, dbx_symfile_init)
 13.5927 -	(read_dbx_dynamic_symtab, function_outside_compilation_unit_complaint)
 13.5928 -	(read_dbx_symtab, end_psymtab, dbx_psymtab_to_symtab_1)
 13.5929 -	(dbx_psymtab_to_symtab, read_ofile_symtab, process_one_symbol)
 13.5930 -	(stabsect_build_psymtabs): Fix indentation.
 13.5931 -
 13.5932 -2008-01-15  Michael Snyder  <msnyder@specifix.com>
 13.5933 -
 13.5934 -	* corelow.c (core_xfer_partial): Comment, cut/paste error.
 13.5935 -
 13.5936 -2008-01-14  Pierre Muller  <muller@ics.u-strasbg.fr>
 13.5937 -
 13.5938 -	* win32-nat.c (win32_create_inferior): Restore code calling
 13.5939 -	CloseHandle on ProcessInformation structure.
 13.5940 -
 13.5941 -2008-01-13  Nick Hudson  <nick.hudson@dsl.pipex.com>
 13.5942 -
 13.5943 -	* configure.ac: Check for void * as 3 argument of ptrace.
 13.5944 -	* configure: regenerate.
 13.5945 -
 13.5946 -2008-01-11  Markus Deuling  <deuling@de.ibm.com>
 13.5947 -
 13.5948 -	* alpha-tdep.c (alpha_heuristic_proc_start)
 13.5949 -	(alpha_sigtramp_register_address): Add gdbarch as parameter. Replace
 13.5950 -	current_gdbarch by gdbarch.
 13.5951 -
 13.5952 -	(alpha_heuristic_frame_unwind_cache): Use get_frame_arch to get at the
 13.5953 -	current architecture by frame_info. Update alpha_heuristic_proc_start
 13.5954 -	call.
 13.5955 -
 13.5956 -	(alpha_sigtramp_frame_this_id, alpha_sigtramp_frame_prev_register): Use
 13.5957 -	get_frame_arch to get at the current architecture by frame_info. Update
 13.5958 -	alpha_sigtramp_register_address call.
 13.5959 -
 13.5960 -	* arm-tdep.c (thumb_scan_prologue): Add gdbarch as parameter and replace
 13.5961 -	current_gdbarch by gdbarch. Update caller.
 13.5962 -	(convert_to_extended, convert_from_extended): Add endianess parameter
 13.5963 -	for comparison. Update caller.
 13.5964 -	(arm_extract_return_value, arm_store_return_value): Use
 13.5965 -	get_regcache_arch to get at the current	architecture.
 13.5966 -
 13.5967 -	* cris-tdep.c (cris_register_size): Add gdbarch as parameter. Replace
 13.5968 -	current_gdbarch by gdbarch. Update caller.
 13.5969 -	(cris_gdb_func, move_to_preg_op, none_reg_mode_move_from_preg_op): Add
 13.5970 -	gdbarch as parameter. Update caller. Replace current_gdbarch by gdbarch.
 13.5971 -
 13.5972 -	* h8300-tdep.c (E_PSEUDO_CCR_REGNUM, E_PSEUDO_EXR_REGNUM, BINWORD): Add
 13.5973 -	gdbarch	as parameter. Update caller.
 13.5974 -	(h8300_init_frame_cache): Add gdbarch as parameter. Replace
 13.5975 -	current_gdbarch by gdbarch. Update caller.
 13.5976 -
 13.5977 -	* hppa-tdep.c (skip_prologue_hard_way): Add gdbarch as parameter and
 13.5978 -	update caller. Replace current_gdbarch by gdbarch.
 13.5979 -
 13.5980 -	* m32c-tdep.c (m32c_skip_trampoline_code): Use get_frame_arch to get at
 13.5981 -	the current architecture. Replace current_gdbarch by gdbarch.
 13.5982 -	* m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise.
 13.5983 -	(STACK_CORRECTION, USE_PAGE_REGISTER): Replace M6811_TDEP by its
 13.5984 -	expression. Add gdbarch as parameter and replace current_gdbarch with
 13.5985 -	it. Update caller.
 13.5986 -	(M6811_TDEP): Remove.
 13.5987 -	(m68hc11_frame_prev_register): Use get_frame_arch to get at the current
 13.5988 -	architecture.
 13.5989 -	(m68hc11_scan_prologue): Add gdbarch as parameter. Replace
 13.5990 -	current_gdbarch by gdbarch. Update caller.
 13.5991 -
 13.5992 -	* m68k-tdep.c (m68k_analyze_prologue): Add gdbarch as parameter and
 13.5993 -	update caller.
 13.5994 -	(m68k_analyze_register_saves): Likewise. Also replace current_gdbarch
 13.5995 -	by gdbarch.
 13.5996 -
 13.5997 -	* rs6000-tdep.c (skip_prologue): Add gdbarch as parameter and update
 13.5998 -	caller. Relace current_gdbarch by gdbarch.
 13.5999 -	(altivec_register_p, spe_register_p): Likewise.
 13.6000 -	* ppc-tdep.h (altivec_register_p, spe_register_p): Add gdbarch as
 13.6001 -	parameter.
 13.6002 -	* ppc-linux-nat.c (fetch_register, store_register): Update caller of
 13.6003 -	altivec_register_p and spe_register_p.
 13.6004 -
 13.6005 -	* score-tdep.c (score_fetch_inst): Add gdbarch as parameter. Update
 13.6006 -	caller. Replace current_gdbarch by gdbarch.
 13.6007 -	(score_analyze_prologue): use get_frame_arch to get at the current
 13.6008 -	architecture.
 13.6009 -
 13.6010 -	* sparc-tdep.h (sparc_analyze_prologue): Add gdbarch as parameter.
 13.6011 -	* sparc-tdep.c (sparc_analyze_prologue): Likewise. Replace
 13.6012 -	current_gdbarch by gdbarch. Update caller.
 13.6013 -	(sparc_frame_cache): Use get_frame_arch to get at the current
 13.6014 -	architecture.
 13.6015 -	* sparce64-tdep.c (sparc64_skip_prologue): Update call of
 13.6016 -	sparc_analyze_prologue.
 13.6017 -
 13.6018 -	* mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add gdbarch as
 13.6019 -	parameter.
 13.6020 -
 13.6021 -2008-01-11  Markus Deuling  <deuling@de.ibm.com>
 13.6022 -
 13.6023 -	* exec.c: #include "arch-utils.h"
 13.6024 -	 (print_section_info): Use gdbarch_from_bfd to get at the
 13.6025 -	current architecture. Replace current_gdbarch. Fix indention. Replace
 13.6026 -	deprecated_print_address_numeric by paddress.
 13.6027 -	* Makefile.in (exec.o) Add dependency to arch-utils.h.
 13.6028 -
 13.6029 -	* valprint.c (val_print_string): Replace
 13.6030 -	deprecated_print_address_numeric.
 13.6031 -	* tracepoint.c (trace_mention, scope_info): Likewise.
 13.6032 -	* symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol)
 13.6033 -	(print_symbol, print_partial_symbols, maintenance_info_psymtabs)
 13.6034 -	(maintenance_check_symtabs): Likewise.
 13.6035 -	* symfile.c (list_overlays_command): Likewise.
 13.6036 -	* stack.c (frame_info, print_block_frame_labels): Likewise.
 13.6037 -	* printcmd.c (print_address, print_address_demangle)
 13.6038 -	(address_info): Likewise.
 13.6039 -	* corefile.c (memory_error): Likewise.
 13.6040 -	* infcmd.c (jump_command): Likewise.
 13.6041 -	* breakpoint.c (insert_bp_location, describe_other_breakpoints)
 13.6042 -	(mention, delete_breakpoint): Likewise.
 13.6043 -	* c-valprint.c (print_function_pointer_address, c_val_print): Likewise.
 13.6044 -	* dwarf2read.c (dump_die): Likewise.
 13.6045 -	* ada-valprint.c (ada_val_print_1): Likewise.
 13.6046 -	* f-valprint.c (f_val_print): Likewise.
 13.6047 -	* linux-fork.c (info_forks_command): Likewise.
 13.6048 -	* m32r-com.c (m32r_load_section, m32r_load)
 13.6049 -	(m32r_upload_command): Likewise.
 13.6050 -
 13.6051 -	* ui-out.c (ui_out_field_core_addr): Remove unnecessary comment.
 13.6052 -
 13.6053 -2008-01-11  Markus Deuling  <deuling@de.ibm.com>
 13.6054 -
 13.6055 -	* gdbarch.sh (skip_prologue): Add gdbarch
 13.6056 -	as parameter.
 13.6057 -	* gdbarch.{c,h}: Regenerate.
 13.6058 -
 13.6059 -	* alpha-tdep.c (alpha_skip_prologue): Add gdbarch as parameter.
 13.6060 -	* amd64-tdep.c (amd64_skip_prologue): Likewise.
 13.6061 -	* avr-tdep.c (avr_skip_prologue): Likewise.
 13.6062 -	* cris-tdep.c (cris_skip_prologue): Likewise.
 13.6063 -	* frv-tdep.c (frv_skip_prologue): Likewise.
 13.6064 -	* h8300-tdep.c (h8300_skip_prologue): Likewise.
 13.6065 -	* hppa-tdep.c (hppa_skip_prologue): Likewise.
 13.6066 -	* i386-tdep.c (i386_skip_prologue): Likewise.
 13.6067 -	* ia64-tdep.c (ia64_skip_prologue): Likewise.
 13.6068 -	* iq2000-tdep.c (iq2000_skip_prologue): Likewise.
 13.6069 -	* m32r-tdep.c (m32r_skip_prologue): Likewise.
 13.6070 -	* m68hc11-tdep.c (m68hc11_skip_prologue): Likewise.
 13.6071 -	* m68k-tdep.c (m68k_skip_prologue): Likewise.
 13.6072 -	* m88k-tdep.c (m88k_skip_prologue): Likewise.
 13.6073 -	* mep-tdep.c (mep_skip_prologue): Likewise.
 13.6074 -	* mips-tdep.c (mips_skip_prologue): Likewise.
 13.6075 -	* mn10300-tdep.c (mn10300_skip_prologue): Likewise.
 13.6076 -	* mt-tdep.c (mt_skip_prologue): Likewise.
 13.6077 -	* rs6000-tdep.c (rs6000_skip_prologue): Likewise.
 13.6078 -	* score-tdep.c (score_skip_prologue): Likewise.
 13.6079 -	* sh64-tdep.c (sh64_skip_prologue): Likewise.
 13.6080 -	* sh-tdep.c (sh_skip_prologue): Likewise.
 13.6081 -	* sparc64-tdep.c (sparc64_skip_prologue): Likewise.
 13.6082 -	* sparc-tdep.c (sparc32_skip_prologue): Likewise.
 13.6083 -	* spu-tdep.c (spu_skip_prologue): Likewise.
 13.6084 -	* v850-tdep.c (v850_skip_prologue): Likewise.
 13.6085 -	* vax-tdep.c (vax_skip_prologue): Likewise.
 13.6086 -	* xstormy16-tdep.c (xstormy16_skip_prologue): Likewise.
 13.6087 -	* xtensa-tdep.c (xtensa_skip_prologue): Likewise.
 13.6088 -
 13.6089 -	* arm-tdep.c (arm_skip_prologue): Add gdbarch as parameter. Replace
 13.6090 -	current_gdbarch by gdbarch.
 13.6091 -	* m32c-tdep.c (m32c_skip_prologue): Likewise.
 13.6092 -	* s390-tdep.c (s390_skip_prologue): Likewise.
 13.6093 -
 13.6094 -2008-01-10  Doug Evans  <dje@google.com>
 13.6095 -
 13.6096 -	* defs.h (struct continuation_arg): Fix typo in comment.
 13.6097 -	* target.c (target_translate_tls_address): Fix comment spelling error.
 13.6098 -
 13.6099 -2008-01-09  Thiago Jung Bauermann  <bauerman@br.ibm.com>
 13.6100 -
 13.6101 -	* doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string.
 13.6102 -	(DOUBLEST_SCAN_FORMAT): Likewise.
 13.6103 -	* dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT.
 13.6104 -	* ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT.
 13.6105 -	* c-exp.y (parse_number): Likewise.
 13.6106 -	* jv-exp.y (parse_number): Likewise.
 13.6107 -	* objc-exp.y (parse_number): Likewise.
 13.6108 -	* p-exp.y (parse_number): Likewise.
 13.6109 -
 13.6110 -2008-01-09  Joel Brobecker  <brobecker@adacore.com>
 13.6111 -
 13.6112 -	* gdbtypes.c (create_array_type): Add handling of null Ada arrays.
 13.6113 -	(check_typedef): Likewise.
 13.6114 -
 13.6115 -2008-01-09  Luis Machado  <luisgpm@br.ibm.com>
 13.6116 -
 13.6117 -	* printcmd.c (printf_command): Add seen_big_h, seen_big_d and
 13.6118 -	seen_double_big_d, treat the new H, D, and DD modifiers as length
 13.6119 -	modifiers.
 13.6120 -
 13.6121 -2008-01-08  Joel Brobecker  <brobecker@adacore.com>
 13.6122 -
 13.6123 -	* dwarf2read.c (read_enumeration_type): Add comment.
 13.6124 -
 13.6125 -2008-01-08  Thiago Jung Bauermann  <bauerman@br.ibm.com>
 13.6126 -
 13.6127 -	* config.in: Regenerate.
 13.6128 -
 13.6129 -2008-01-08  Joel Brobecker  <brobecker@adacore.com>
 13.6130 -
 13.6131 -	* ada-lang.c (ada_convert_actual): Renames convert_actual.
 13.6132 -	Make non-static.
 13.6133 -	(ada_convert_actuals): Delete.
 13.6134 -	* ada-lang.h (ada_convert_actual): Add declaration.
 13.6135 -	(ada_convert_actuals): Remove declaration.
 13.6136 -	* infcall.c: #include "ada-lang.h".
 13.6137 -	(value_arg_coerce): Add new parameter sp.  Update function
 13.6138 -	documetnation.  Add handling of Ada function call parameters.
 13.6139 -	* Makefile.in (infcall.o): Update dependencies.
 13.6140 -
 13.6141 -2008-01-08  Paul Hilfinger  <hilfinger@adacore.com>
 13.6142 -
 13.6143 -	* ada-lang.c (ensure_lval): Fix value lval kind.
 13.6144 -	(convert_actual): Add handling for arguments passed by reference.
 13.6145 -
 13.6146 -2008-01-08  Doug Evans  <dje@google.com>
 13.6147 -
 13.6148 -	* dbxread.c (read_dbx_symtab): Fix indentation.
 13.6149 -
 13.6150 -2008-01-07  Thiago Jung Bauermann  <bauerman@br.ibm.com>
 13.6151 -
 13.6152 -	* Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h.
 13.6153 -	(valarith.o): Depend on dfp.h.
 13.6154 -	(valops.o): Likewise.
 13.6155 -	* dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h.
 13.6156 -	(set_decnumber_context): New function.
 13.6157 -	(decimal_check_errors): Likewise.
 13.6158 -	(decimal_from_number): Likewise.
 13.6159 -	(decimal_to_number): Likewise.
 13.6160 -	(decimal_from_string): Use set_decnumber_context and
 13.6161 -	decimal_check_errors.
 13.6162 -	(decimal_from_integral): New function.
 13.6163 -	(decimal_from_floating): Likewise.
 13.6164 -	(decimal_to_double): Likewise.
 13.6165 -	(promote_decimal): Likewise.
 13.6166 -	(decimal_binop): Likewise.
 13.6167 -	(decimal_is_zero): Likewise.
 13.6168 -	(decimal_compare): Likewise.
 13.6169 -	(decimal_convert): Likewise.
 13.6170 -	* dfp.h (decimal_from_integral): New prototype.
 13.6171 -	(decimal_from_floating): Likewise.
 13.6172 -	(decimal_to_double): Likewise.
 13.6173 -	(decimal_binop): Likewise.
 13.6174 -	(decimal_is_zero): Likewise.
 13.6175 -	(decimal_compare): Likewise.
 13.6176 -	(decimal_convert): Likewise.
 13.6177 -	* eval.c (evaluate_subexp_standard): Remove expect_type argument from
 13.6178 -	call to value_from_decfloat.
 13.6179 -	* valarith.c: Include dfp.h.
 13.6180 -	(value_args_as_decimal): New function.
 13.6181 -	(value_binop): Add if block to handle TYPE_CODE_DECFLOAT values.
 13.6182 -	(value_logical_not): Likewise.
 13.6183 -	(value_equal): Likewise.
 13.6184 -	(value_less): Likewise.
 13.6185 -	(value_pos): Likewise.
 13.6186 -	(value_neg): Formatting fix.
 13.6187 -	* valops.c: Include dfp.h.
 13.6188 -	(value_cast): Add if block to handle TYPE_CODE_DECFLOAT values.
 13.6189 -	* value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT.
 13.6190 -	(unpack_double): Add if block to handle TYPE_CODE_DECFLOAT.
 13.6191 -	(value_from_decfloat): Remove expect_type argument.
 13.6192 -	* value.h (value_from_decfloat): Update prototype.
 13.6193 -
 13.6194 -2008-01-07  Vladimir Prus  <vladimir@codesourcery.com>
 13.6195 -
 13.6196 -	Ignore change in name of dynamic linker during
 13.6197 -	execution on Solaris.  This also unbreaks pending breakpoints.
 13.6198 -
 13.6199 -	* solist.h (struct target_so_ops): New field same.
 13.6200 -	* solib-svr4.c (svr4_same): New.
 13.6201 -	(_initialize_svr4_solib): Register svr4_same.
 13.6202 -	* solib.c (update_solib_list): Use ops->same, if available.
 13.6203 -
 13.6204 -2008-01-06  Christopher Faylor  <me+cygwin@cgf.cx>
 13.6205 -
 13.6206 -	* win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings
 13.6207 -	when using MS-DOS paths.
 13.6208 -
 13.6209 -2008-01-05  Pedro Alves  <pedro@codesourcery.com>
 13.6210 -
 13.6211 -	* NEWS: Mention --pid and --core command line behaviour changes.
 13.6212 -
 13.6213 -2008-01-05  Pedro Alves  <pedro@codesourcery.com>
 13.6214 -
 13.6215 -	* main.c (captured_main): Remove 'count' varible and the
 13.6216 -	ALIGN_STACK_ON_ENTRY block that used it.  Error out if --core and
 13.6217 -	--pid options were issued simultaneously.  If an explicit pid
 13.6218 -	option was passed, don't fallback to core file.  Detect extra
 13.6219 -	arguments better in the presence of explicit pid or core
 13.6220 -	arguments.
 13.6221 -
 13.6222 -2008-01-05  Joel Brobecker  <brobecker@adacore.com>
 13.6223 -
 13.6224 -	* ada-lang.c (ada_which_variant_applies): Correctly compute
 13.6225 -	the value of the discriminant when the variant record is packed.
 13.6226 -
 13.6227 -2008-01-04  Joel Brobecker  <brobecker@adacore.com>
 13.6228 -
 13.6229 -	* ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes
 13.6230 -	that are used to differentiate homonyms.
 13.6231 -
 13.6232 -2008-01-04  Jerome Guitton  <guitton@adacore.com>
 13.6233 -
 13.6234 -	* ada-lang.c (decode_packed_array_type): Avoid a seg fault
 13.6235 -	when the type is an anonymous pointer type.
 13.6236 -	(ada_check_typedef): Avoid a seg fault when the type is null.
 13.6237 -	* ada-typeprint.c (print_array_type): Add support for pointer
 13.6238 -	to packed arrays.
 13.6239 -
 13.6240 -2008-01-04  Paul N. Hilfinger  <hilfinger@adacore.com>
 13.6241 -
 13.6242 -	* ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.
 13.6243 -
 13.6244 -2008-01-04  Joel Brobecker  <brobecker@adacore.com>
 13.6245 -
 13.6246 -	* ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in
 13.6247 -	EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS.
 13.6248 -
 13.6249 -2008-01-04  Joel Brobecker  <brobecker@adacore.com>
 13.6250 -
 13.6251 -	* ada-exp.y (chop_separator): New function.
 13.6252 -	(write_selectors): Rewrite to re-use chop_separator.
 13.6253 -	(ada_nget_field_index, get_symbol_field_type): New functions.
 13.6254 -	(write_var_or_type): Add support for "ptype TYPENAME.FIELD"
 13.6255 -	expressions.
 13.6256 -
 13.6257 -2008-01-03  Thiago Jung Bauermann  <bauerman@br.ibm.com>
 13.6258 -
 13.6259 -	* symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead
 13.6260 -	of SYMBOL_VALUE when working with function symbols.
 13.6261 -
 13.6262 -2008-01-03  Joel Brobecker  <brobecker@adacore.com>
 13.6263 -
 13.6264 -	* ada-lang.c (resolve_subexp): Add handling of OP_REGISTER
 13.6265 -	expressions.  These expressions do not need to be rewriten.
 13.6266 -
 13.6267 -2008-01-03  Joel Brobecker  <brobecker@adacore.com>
 13.6268 -
 13.6269 -	* dwarf2read.c (read_enumeration_type): Flag type as stub if
 13.6270 -	the given die is a declaration.
 13.6271 -
 13.6272 -2008-01-03  Joel Brobecker  <brobecker@adacore.com>
 13.6273 -
 13.6274 -	* ada-lang.c (ada_array_bound_from_type): Make non-static.
 13.6275 -	Handle properly the case when the index type is an enumerated type.
 13.6276 -	Do not return the subtype of the bounds type, just return the
 13.6277 -	bounds type directly - this is not needed and is more consistent
 13.6278 -	with what we do for arrays when no XA parallel type exists.
 13.6279 -
 13.6280 -2008-01-03  Joel Brobecker  <brobecker@adacore.com>
 13.6281 -
 13.6282 -	* ada-lang.c (static_unwrap_type): Add forward declaration.
 13.6283 -	(template_to_static_fixed_type): Fields of dynamic types sometimes
 13.6284 -	also need to be unwrapped. Take this into account.
 13.6285 -	(ada_to_fixed_type_1): Renamed from ada_to_fixed_type.
 13.6286 -	(ada_to_fixed_type): New wrapper around ada_to_fixed_type_1.
 13.6287 -	* ada-typeprint.c (ada_print_type): Get the typename from
 13.6288 -	the original type, not the base type.
 13.6289 -
 13.6290 -2008-01-03  Jerome Guitton  <guitton@adacore.com>
 13.6291 -
 13.6292 -	* ada-lang.c (ada_value_struct_elt, to_fixed_array_type)
 13.6293 -	(to_fixed_array_type, ada_to_fixed_value_create, unwrap_value):
 13.6294 -	Update calls to ada_to_fixed_type.
 13.6295 -	(ada_template_to_fixed_record_type_1): Ditto, but without looking
 13.6296 -	for the tag.
 13.6297 -	(ada_to_fixed_type): Add check_tag parameter; do not look for
 13.6298 -	tag if null.  When looking for a tag, use a fixed record type.
 13.6299 -	* ada-lang.h (ada_to_fixed_type): Add check_tag parameter.
 13.6300 -	* ada-valprint.c (printable_val_type, ada_value_print): Update
 13.6301 -	calls to ada_to_fixed_type.
 13.6302 -
 13.6303 -2008-01-03  Luis Machado  <luisgpm@br.ibm.com>
 13.6304 -
 13.6305 -	* doublest.c (convert_floatformat_to_doublest): Call
 13.6306 -	floatformat_to_doublest instead of floatformat_to_double and use
 13.6307 -	DOUBLEST variables.
 13.6308 -	(convert_doublest_to_floatformat): Call floatformat_from_doublest
 13.6309 -	instead of floatformat_from_double and use DOUBLEST variables.
 13.6310 -
 13.6311 -2008-01-03  Nick Hudson  <nick.hudson@dsl.pipex.com>
 13.6312 -
 13.6313 -	* MAINTAINERS (Write After Approval): Add self.
 13.6314 -
 13.6315 -2008-01-03  Joel Brobecker  <brobecker@adacore.com>
 13.6316 -
 13.6317 -	* symfile.c (set_initial_language): Make non-static.
 13.6318 -	* symfile.h (set_initial_language): Add declaration.
 13.6319 -	* language.c: #include "symfile.h".
 13.6320 -	(set_language): Call set_initial_language if the frame language
 13.6321 -	could not be determined.
 13.6322 -
 13.6323 -2008-01-03  Paul N. Hilfinger  <hilfinger@adacore.com>
 13.6324 -
 13.6325 -	* eval.c (evaluate_subexp_for_address): Provide frame address to
 13.6326 -	locate_var_value only if it will be needed.
 13.6327 -
 13.6328 -2008-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
 13.6329 -
 13.6330 -	* linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB.
 13.6331 -
 13.6332 -2008-01-02  Joel Brobecker  <brobecker@adacore.com>
 13.6333 -
 13.6334 -	* ada-lang.c (ada_evaluate_subexp): Modify the value returned
 13.6335 -	when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory.
 13.6336 -	This is needed to make sure that any other treatment applied
 13.6337 -	to the resulting value does not fail for spurious reason,
 13.6338 -	such as trying to take the address of this value.
 13.6339 -
 13.6340 -2008-01-02  Joel Brobecker  <brobecker@adacore.com>
 13.6341 -
 13.6342 -	* ada-lang.c (ada_value_equal): Dereference reference types when
 13.6343 -	comparing arrays.
 13.6344 -
 13.6345 -2008-01-01  Daniel Jacobowitz  <dan@codesourcery.com>
 13.6346 -
 13.6347 -	Updated copyright notices for most files.
 13.6348 -
 13.6349 -2008-01-01  Christopher Faylor  <me+gdb@cgf.cx>
 13.6350 -
 13.6351 -	* win32-nat.c (psapi_module_handle): Remove static.
 13.6352 -	(get_module_name): Rename from psapi_get_dll_name.  Revamp slightly to
 13.6353 -	return first module found if base_address is zero.  Don't initialize
 13.6354 -	psapi function pointers here.  Convert to cygwin paths when
 13.6355 -	appropriate.
 13.6356 -	(win32_pid_to_exec_file): Use Cygwin's /proc interface to determine
 13.6357 -	executable name.  Use get_module_name when that fails or when
 13.6358 -	!__CYGWIN__.
 13.6359 -	(_initialize_psapi): New function.  Initialize psapi stuff before it is
 13.6360 -	needed or issue a warning if it is not found.  Move psapi_module_handle
 13.6361 -	here.
 13.6362 -
 13.6363 -2008-01-01  Joel Brobecker  <brobecker@adacore.com>
 13.6364 -
 13.6365 -	* ada-lang.c (ada_remove_trailing_digits): New function.
 13.6366 -	(ada_remove_po_subprogram_suffix): New function.
 13.6367 -	(ada_decode): Improve. Move the description of the algorithm
 13.6368 -	directly inside the code, instead of in the function global
 13.6369 -	description.
 13.6370 -
 13.6371 -2008-01-01  Joel Brobecker  <brobecker@adacore.com>
 13.6372 -
 13.6373 -	* ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref
 13.6374 -	and always print the dereferenced value.
 13.6375 -
 13.6376 -2008-01-01  Joel Brobecker  <brobecker@adacore.com>
 13.6377 -
 13.6378 -	* ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling
 13.6379 -	of the case where the first argument is a reference.
 13.6380 -	(ada_evaluate_subexp, case BINOP_ADD): Likewise.
 13.6381 -
 13.6382 -2008-01-01  Joel Brobecker  <brobecker@adacore.com>
 13.6383 -
 13.6384 -	Implement support for Ada interface types.
 13.6385 -
 13.6386 -	* ada-lang.c (ada_is_dispatch_table_ptr_type): New function.
 13.6387 -	(ada_is_ignored_field): Ignore fields that are a dispatch table
 13.6388 -	of a tagged type.
 13.6389 -
 13.6390 -2008-01-01  Joel Brobecker  <brobecker@adacore.com>
 13.6391 -
 13.6392 -	* top.c (print_gdb_version): Update copyright year.
 13.6393 -
 13.6394 -2008-01-01  Joel Brobecker  <brobecker@adacore.com>
 13.6395 -
 13.6396 -	* ChangeLog-2007: New ChangeLog rotation.
 13.6397 -	* ChangeLog: Reset for 2008.
 13.6398 -	* config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and
 13.6399 -	ChangeLog-2007.
 13.6400 -
 13.6401 -For older changes see ChangeLog-2007.
 13.6402 -
 13.6403 -Local Variables:
 13.6404 -mode: change-log
 13.6405 -left-margin: 8
 13.6406 -fill-column: 74
 13.6407 -version-control: never
 13.6408 -coding: utf-8
 13.6409 -End:
    14.1 --- a/src/gdb/ggx-tdep.c~	Wed Oct 01 11:51:50 2008 -0700
    14.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.3 @@ -1,868 +0,0 @@
    14.4 -/* Target-dependent code for the ggx architecture, for GDB, the GNU
    14.5 -   Debugger.
    14.6 -
    14.7 -   Copyright (C) 2008 Free Software Foundation, Inc.
    14.8 -
    14.9 -   Contributed by Anthony Green.
   14.10 -
   14.11 -   This file is part of GDB.
   14.12 -
   14.13 -   This program is free software; you can redistribute it and/or modify
   14.14 -   it under the terms of the GNU General Public License as published by
   14.15 -   the Free Software Foundation; either version 3 of the License, or
   14.16 -   (at your option) any later version.
   14.17 -
   14.18 -   This program is distributed in the hope that it will be useful,
   14.19 -   but WITHOUT ANY WARRANTY; without even the implied warranty of
   14.20 -   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   14.21 -   GNU General Public License for more details.
   14.22 -
   14.23 -   You should have received a copy of the GNU General Public License
   14.24 -   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
   14.25 -
   14.26 -#include "defs.h"
   14.27 -#include "frame.h"
   14.28 -#include "frame-base.h"
   14.29 -#include "frame-unwind.h"
   14.30 -#include "dwarf2-frame.h"
   14.31 -#include "gdbtypes.h"
   14.32 -#include "value.h"
   14.33 -#include "dis-asm.h"
   14.34 -#include "gdb_string.h"
   14.35 -#include "arch-utils.h"
   14.36 -#include "regcache.h"
   14.37 -#include "osabi.h"
   14.38 -#include "gdbcore.h"
   14.39 -#include "trad-frame.h"
   14.40 -
   14.41 -enum gdb_regnum
   14.42 -{
   14.43 -  E_FP_REGNUM,  E_SP_REGNUM,  E_R0_REGNUM,  E_R1_REGNUM, 
   14.44 -  E_R2_REGNUM,  E_R3_REGNUM,  E_R4_REGNUM,  E_R5_REGNUM, 
   14.45 -  E_PC_REGNUM,
   14.46 -  E_FN_RETURN_REGNUM = E_R0_REGNUM,  /* Function return value register.  */
   14.47 -  E_1ST_ARGREG       = E_R1_REGNUM,  /* 1st  function arg register.  */
   14.48 -  E_LAST_ARGREG      = E_R2_REGNUM, /* Last function arg register.  */
   14.49 -  E_NUM_REGS         = E_PC_REGNUM + 1
   14.50 -};
   14.51 -
   14.52 -/* Use an invalid address value as 'not available' marker.  */
   14.53 -enum { REG_UNAVAIL = (CORE_ADDR) -1 };
   14.54 -
   14.55 -struct ggx_unwind_cache
   14.56 -{
   14.57 -  /* Base address.  */
   14.58 -  CORE_ADDR  base;
   14.59 -  CORE_ADDR  pc;
   14.60 -  LONGEST    framesize;
   14.61 -  int        using_fp;
   14.62 -  CORE_ADDR  saved_sp;
   14.63 -  struct trad_frame_saved_reg *saved_regs;
   14.64 -};
   14.65 -
   14.66 -/* Harvard methods: */
   14.67 -
   14.68 -static CORE_ADDR
   14.69 -insn_ptr_from_addr (CORE_ADDR addr)	/* CORE_ADDR to target pointer.  */
   14.70 -{
   14.71 -  return addr & 0x7fffffffL;
   14.72 -}
   14.73 -
   14.74 -static CORE_ADDR
   14.75 -insn_addr_from_ptr (CORE_ADDR ptr)	/* target_pointer to CORE_ADDR.  */
   14.76 -{
   14.77 -  return (ptr & 0x7fffffffL) | 0x80000000L;
   14.78 -}
   14.79 -
   14.80 -/* Function: pointer_to_address
   14.81 -   Convert a target pointer to an address in host (CORE_ADDR) format. */
   14.82 -
   14.83 -static CORE_ADDR
   14.84 -ggx_pointer_to_address (struct type * type, const gdb_byte * buf)
   14.85 -{
   14.86 -  enum type_code target = TYPE_CODE (TYPE_TARGET_TYPE (type));
   14.87 -  CORE_ADDR addr = extract_unsigned_integer (buf, TYPE_LENGTH (type));
   14.88 -
   14.89 -  if (target == TYPE_CODE_FUNC
   14.90 -      || target == TYPE_CODE_METHOD
   14.91 -      || (TYPE_FLAGS (TYPE_TARGET_TYPE (type)) & TYPE_FLAG_CODE_SPACE) != 0)
   14.92 -    addr = insn_addr_from_ptr (addr);
   14.93 -
   14.94 -  return addr;
   14.95 -}
   14.96 -
   14.97 -/* Function: address_to_pointer
   14.98 -   Convert a host-format address (CORE_ADDR) into a target pointer.  */
   14.99 -
  14.100 -static void
  14.101 -ggx_address_to_pointer (struct type *type, gdb_byte *buf, CORE_ADDR addr)
  14.102 -{
  14.103 -  enum type_code target = TYPE_CODE (TYPE_TARGET_TYPE (type));
  14.104 -
  14.105 -  if (target == TYPE_CODE_FUNC || target == TYPE_CODE_METHOD)
  14.106 -    addr = insn_ptr_from_addr (addr);
  14.107 -  store_unsigned_integer (buf, TYPE_LENGTH (type), addr);
  14.108 -}
  14.109 -
  14.110 -/* Real register methods: */
  14.111 -
  14.112 -/* Function: register_name
  14.113 -   Returns the name of the ggx register number N.  */
  14.114 -
  14.115 -static const char *
  14.116 -ggx_register_name (struct gdbarch *gdbarch, int regnum)
  14.117 -{
  14.118 -  static const char * names[E_NUM_REGS] =
  14.119 -    {
  14.120 -      "$fp",  "$sp",  "$r0",  "$r1",  "$r2",
  14.121 -      "$r3",  "$r4",  "$r5", "$pc"
  14.122 -    };
  14.123 -  if (regnum < 0 || regnum >= E_NUM_REGS)
  14.124 -    return NULL;
  14.125 -  return names[regnum];
  14.126 -}
  14.127 -
  14.128 -/* Prologue analysis methods:  */
  14.129 -
  14.130 -/* ADDIU insn (001001 rs(5) rt(5) imm(16)).  */
  14.131 -#define INSN_IS_ADDIU(X)	(((X) & 0xfc000000) == 0x24000000) 
  14.132 -#define ADDIU_REG_SRC(X)	(((X) & 0x03e00000) >> 21)
  14.133 -#define ADDIU_REG_TGT(X)	(((X) & 0x001f0000) >> 16)
  14.134 -#define ADDIU_IMMEDIATE(X)	((signed short) ((X) & 0x0000ffff))
  14.135 -
  14.136 -/* "MOVE" (OR) insn (000000 rs(5) rt(5) rd(5) 00000 100101).  */
  14.137 -#define INSN_IS_MOVE(X)		(((X) & 0xffe007ff) == 0x00000025)
  14.138 -#define MOVE_REG_SRC(X)		(((X) & 0x001f0000) >> 16)
  14.139 -#define MOVE_REG_TGT(X)		(((X) & 0x0000f800) >> 11)
  14.140 -
  14.141 -/* STORE WORD insn (101011 rs(5) rt(5) offset(16)).  */
  14.142 -#define INSN_IS_STORE_WORD(X)	(((X) & 0xfc000000) == 0xac000000)
  14.143 -#define SW_REG_INDEX(X)		(((X) & 0x03e00000) >> 21)
  14.144 -#define SW_REG_SRC(X)		(((X) & 0x001f0000) >> 16)
  14.145 -#define SW_OFFSET(X)		((signed short) ((X) & 0x0000ffff))
  14.146 -
  14.147 -/* Function: find_last_line_symbol
  14.148 -
  14.149 -   Given an address range, first find a line symbol corresponding to
  14.150 -   the starting address.  Then find the last line symbol within the 
  14.151 -   range that has a line number less than or equal to the first line.
  14.152 -
  14.153 -   For optimized code with code motion, this finds the last address
  14.154 -   for the lowest-numbered line within the address range.  */
  14.155 -
  14.156 -static struct symtab_and_line
  14.157 -find_last_line_symbol (CORE_ADDR start, CORE_ADDR end, int notcurrent)
  14.158 -{
  14.159 -  struct symtab_and_line sal = find_pc_line (start, notcurrent);
  14.160 -  struct symtab_and_line best_sal = sal;
  14.161 -
  14.162 -  if (sal.pc == 0 || sal.line == 0 || sal.end == 0)
  14.163 -    return sal;
  14.164 -
  14.165 -  do
  14.166 -    {
  14.167 -      if (sal.line && sal.line <= best_sal.line)
  14.168 -	best_sal = sal;
  14.169 -      sal = find_pc_line (sal.end, notcurrent);
  14.170 -    }
  14.171 -  while (sal.pc && sal.pc < end);
  14.172 -
  14.173 -  return best_sal;
  14.174 -}
  14.175 -
  14.176 -/* Function: scan_prologue
  14.177 -   Decode the instructions within the given address range.
  14.178 -   Decide when we must have reached the end of the function prologue.
  14.179 -   If a frame_info pointer is provided, fill in its prologue information.
  14.180 -
  14.181 -   Returns the address of the first instruction after the prologue.  */
  14.182 -
  14.183 -static CORE_ADDR
  14.184 -ggx_scan_prologue (CORE_ADDR scan_start,
  14.185 -		      CORE_ADDR scan_end,
  14.186 -		      struct frame_info *fi,
  14.187 -		      struct ggx_unwind_cache *cache)
  14.188 -{
  14.189 -  struct symtab_and_line sal;
  14.190 -  CORE_ADDR pc;
  14.191 -  CORE_ADDR loop_end;
  14.192 -  int found_store_lr = 0;
  14.193 -  int found_decr_sp = 0;
  14.194 -  int srcreg;
  14.195 -  int tgtreg;
  14.196 -  signed short offset;
  14.197 -
  14.198 -  if (scan_end == (CORE_ADDR) 0)
  14.199 -    {
  14.200 -      loop_end = scan_start + 100;
  14.201 -      sal.end = sal.pc = 0;
  14.202 -    }
  14.203 -  else
  14.204 -    {
  14.205 -      loop_end = scan_end;
  14.206 -      if (fi)
  14.207 -	sal = find_last_line_symbol (scan_start, scan_end, 0);
  14.208 -    }
  14.209 -
  14.210 -  /* Saved registers:
  14.211 -     We first have to save the saved register's offset, and 
  14.212 -     only later do we compute its actual address.  Since the
  14.213 -     offset can be zero, we must first initialize all the 
  14.214 -     saved regs to minus one (so we can later distinguish 
  14.215 -     between one that's not saved, and one that's saved at zero). */
  14.216 -  for (srcreg = 0; srcreg < E_NUM_REGS; srcreg ++)
  14.217 -    cache->saved_regs[srcreg] = -1;
  14.218 -  cache->using_fp = 0;
  14.219 -  cache->framesize = 0;
  14.220 -
  14.221 -  for (pc = scan_start; pc < loop_end; pc += 4)
  14.222 -    {
  14.223 -      LONGEST insn = read_memory_unsigned_integer (pc, 4);
  14.224 -      /* Skip any instructions writing to (sp) or decrementing the
  14.225 -         SP. */
  14.226 -      if ((insn & 0xffe00000) == 0xac200000)
  14.227 -	{
  14.228 -	  /* sw using SP/%1 as base.  */
  14.229 -	  /* LEGACY -- from assembly-only port.  */
  14.230 -	  tgtreg = ((insn >> 16) & 0x1f);
  14.231 -	  if (tgtreg >= 0 && tgtreg < E_NUM_REGS)
  14.232 -	    cache->saved_regs[tgtreg] = -((signed short) (insn & 0xffff));
  14.233 -
  14.234 -	  if (tgtreg == E_R0_REGNUM)
  14.235 -	    found_store_lr = 1;
  14.236 -	  continue;
  14.237 -	}
  14.238 -
  14.239 -      if ((insn & 0xffff8000) == 0x20218000)
  14.240 -	{
  14.241 -	  /* addi %1, %1, -N == addi %sp, %sp, -N */
  14.242 -	  /* LEGACY -- from assembly-only port */
  14.243 -	  found_decr_sp = 1;
  14.244 -	  cache->framesize = -((signed short) (insn & 0xffff));
  14.245 -	  continue;
  14.246 -	}
  14.247 -
  14.248 -      if (INSN_IS_ADDIU (insn))
  14.249 -	{
  14.250 -	  srcreg = ADDIU_REG_SRC (insn);
  14.251 -	  tgtreg = ADDIU_REG_TGT (insn);
  14.252 -	  offset = ADDIU_IMMEDIATE (insn);
  14.253 -	  if (srcreg == E_SP_REGNUM && tgtreg == E_SP_REGNUM)
  14.254 -	    cache->framesize = -offset;
  14.255 -	  continue;
  14.256 -	}
  14.257 -
  14.258 -      if (INSN_IS_STORE_WORD (insn))
  14.259 -	{
  14.260 -	  srcreg = SW_REG_SRC (insn);
  14.261 -	  tgtreg = SW_REG_INDEX (insn);
  14.262 -	  offset = SW_OFFSET (insn);
  14.263 -
  14.264 -	  if (tgtreg == E_SP_REGNUM || tgtreg == E_FP_REGNUM)
  14.265 -	    {
  14.266 -	      /* "push" to stack (via SP or FP reg) */
  14.267 -	      if (cache->saved_regs[srcreg] == -1) /* Don't save twice.  */
  14.268 -		cache->saved_regs[srcreg] = offset;
  14.269 -	      continue;
  14.270 -	    }
  14.271 -	}
  14.272 -
  14.273 -      if (INSN_IS_MOVE (insn))
  14.274 -	{
  14.275 -	  srcreg = MOVE_REG_SRC (insn);
  14.276 -	  tgtreg = MOVE_REG_TGT (insn);
  14.277 -
  14.278 -	  if (srcreg == E_SP_REGNUM && tgtreg == E_FP_REGNUM)
  14.279 -	    {
  14.280 -	      /* Copy sp to fp.  */
  14.281 -	      cache->using_fp = 1;
  14.282 -	      continue;
  14.283 -	    }
  14.284 -	}
  14.285 -
  14.286 -      /* Unknown instruction encountered in frame.  Bail out?
  14.287 -         1) If we have a subsequent line symbol, we can keep going.
  14.288 -         2) If not, we need to bail out and quit scanning instructions.  */
  14.289 -
  14.290 -      if (fi && sal.end && (pc < sal.end)) /* Keep scanning.  */
  14.291 -	continue;
  14.292 -      else /* bail */
  14.293 -	break;
  14.294 -    }
  14.295 -
  14.296 -  return pc;
  14.297 -}
  14.298 -
  14.299 -static void
  14.300 -ggx_init_frame_cache (struct frame_info *this_frame, 
  14.301 -		      struct ggx_unwind_cache *cache)
  14.302 -{
  14.303 -  int i;
  14.304 -
  14.305 -  cache->base = 0;
  14.306 -  cache->framesize = 0;
  14.307 -  cache->using_fp = 0;
  14.308 -  cache->saved_sp = 0;
  14.309 -  trad_frame_alloc_saved_regs (this_frame);
  14.310 -}
  14.311 -
  14.312 -/* Function: ggx_skip_prologue
  14.313 -   If the input address is in a function prologue, 
  14.314 -   returns the address of the end of the prologue;
  14.315 -   else returns the input address.
  14.316 -
  14.317 -   Note: the input address is likely to be the function start, 
  14.318 -   since this function is mainly used for advancing a breakpoint
  14.319 -   to the first line, or stepping to the first line when we have
  14.320 -   stepped into a function call.  */
  14.321 -
  14.322 -static CORE_ADDR
  14.323 -ggx_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR pc)
  14.324 -{
  14.325 -  CORE_ADDR func_addr = 0 , func_end = 0;
  14.326 -
  14.327 -  if (find_pc_partial_function (pc, NULL, & func_addr, & func_end))
  14.328 -    {
  14.329 -      struct symtab_and_line sal;
  14.330 -      struct ggx_unwind_cache cache;
  14.331 -
  14.332 -      /* Found a function.  */
  14.333 -      sal = find_pc_line (func_addr, 0);
  14.334 -      if (sal.end && sal.end < func_end)
  14.335 -	/* Found a line number, use it as end of prologue.  */
  14.336 -	return sal.end;
  14.337 -
  14.338 -      /* No useable line symbol.  Use prologue parsing method.  */
  14.339 -      ggx_init_frame_cache (&cache);
  14.340 -      return ggx_scan_prologue (func_addr, func_end, NULL, &cache);
  14.341 -    }
  14.342 -
  14.343 -  /* No function symbol -- just return the PC.  */
  14.344 -  return (CORE_ADDR) pc;
  14.345 -}
  14.346 -
  14.347 -static struct ggx_unwind_cache *
  14.348 -ggx_frame_unwind_cache (struct frame_info *this_frame, void **this_cache)
  14.349 -{
  14.350 -  struct ggx_unwind_cache *cache;
  14.351 -  CORE_ADDR current_pc;
  14.352 -  int i;
  14.353 -
  14.354 -  if (*this_cache)
  14.355 -    return *this_cache;
  14.356 -
  14.357 -  cache = FRAME_OBSTACK_ZALLOC (struct ggx_unwind_cache);
  14.358 -  ggx_init_frame_cache (this_frame, cache);
  14.359 -  *this_cache = cache;
  14.360 -
  14.361 -  cache->base = frame_unwind_register_unsigned (next_frame, E_FP_REGNUM);
  14.362 -  //if (cache->base == 0)
  14.363 -    //return cache;
  14.364 -
  14.365 -  current_pc = frame_pc_unwind (next_frame);
  14.366 -  find_pc_partial_function (current_pc, NULL, &cache->pc, NULL);
  14.367 -  if (cache->pc != 0)
  14.368 -    ggx_scan_prologue (cache->pc, current_pc, next_frame, cache);
  14.369 -  if (!cache->using_fp)
  14.370 -    cache->base = frame_unwind_register_unsigned (next_frame, E_SP_REGNUM);
  14.371 -
  14.372 -  cache->saved_sp = cache->base + cache->framesize;
  14.373 -
  14.374 -  for (i = 0; i < E_NUM_REGS; i++)
  14.375 -    if (cache->saved_regs[i] != -1)
  14.376 -      cache->saved_regs[i] += cache->base;
  14.377 -
  14.378 -  return cache;
  14.379 -}
  14.380 -#if 0
  14.381 -static void
  14.382 -ggx_frame_prev_register (struct frame_info *next_frame, void **this_cache,
  14.383 -			 int regnum, int *optimizedp,
  14.384 -			 enum lval_type *lvalp, CORE_ADDR *addrp,
  14.385 -			 int *realnump, gdb_byte *valuep)
  14.386 -{
  14.387 -  struct ggx_unwind_cache *cache = ggx_unwind_cache (next_frame, this_cache);
  14.388 -  if (regnum == E_SP_REGNUM && cache->saved_sp)
  14.389 -    {
  14.390 -      *optimizedp = 0;
  14.391 -      *lvalp = not_lval;
  14.392 -      *addrp = 0;
  14.393 -      *realnump = -1;
  14.394 -      if (valuep)
  14.395 -        store_unsigned_integer (valuep, 4, cache->saved_sp);
  14.396 -      return;
  14.397 -    }
  14.398 -
  14.399 -  if (regnum == E_R0_REGNUM)
  14.400 -    regnum = E_R0_REGNUM;
  14.401 -
  14.402 -  if (regnum < E_NUM_REGS && cache->saved_regs[regnum] != -1)
  14.403 -    {
  14.404 -      *optimizedp = 0;
  14.405 -      *lvalp = lval_memory;
  14.406 -      *addrp = cache->saved_regs[regnum];
  14.407 -      *realnump = -1;
  14.408 -      if (valuep)
  14.409 -        read_memory (*addrp, valuep,
  14.410 -		     register_size (get_frame_arch (next_frame), regnum));
  14.411 -      return;
  14.412 -    }
  14.413 -
  14.414 -  *optimizedp = 0;
  14.415 -  *lvalp = lval_register;
  14.416 -  *addrp = 0; 
  14.417 -  *realnump = regnum;
  14.418 -  if (valuep)
  14.419 -    frame_unwind_register (next_frame, (*realnump), valuep);
  14.420 -}
  14.421 -#else
  14.422 -static struct value *
  14.423 -ggx_frame_prev_register (struct frame_info *this_frame, void **this_cache,
  14.424 -			 int regnum)
  14.425 -{
  14.426 -  struct ggx_unwind_cache *info
  14.427 -    = ggx_unwind_cache (this_frame, this_cache);
  14.428 -  return trad_frame_get_prev_register (this_frame, info->saved_regs, regnum);
  14.429 -}
  14.430 -#endif
  14.431 -
  14.432 -static void
  14.433 -ggx_frame_this_id (struct frame_info *this_frame, void **this_cache,
  14.434 -		   struct frame_id *this_id)
  14.435 -{
  14.436 -  struct ggx_unwind_cache *cache = ggx_unwind_cache (this_frame, this_cache);
  14.437 -
  14.438 -  /* This marks the outermost frame.  */
  14.439 -  if (cache->base == 0) 
  14.440 -    return;
  14.441 -
  14.442 -  *this_id = frame_id_build (cache->saved_sp, cache->pc);
  14.443 -}
  14.444 -
  14.445 -static const struct frame_unwind ggx_frame_unwind = {
  14.446 -  NORMAL_FRAME,
  14.447 -  ggx_frame_this_id,
  14.448 -  ggx_frame_prev_register,
  14.449 -  NULL,
  14.450 -  default_frame_sniffer
  14.451 -};
  14.452 -
  14.453 -static CORE_ADDR
  14.454 -ggx_unwind_sp (struct gdbarch *gdbarch, struct frame_info *next_frame)
  14.455 -{
  14.456 -  return frame_unwind_register_unsigned (next_frame, E_SP_REGNUM);
  14.457 -}   
  14.458 -
  14.459 -static CORE_ADDR
  14.460 -ggx_unwind_pc (struct gdbarch *gdbarch, struct frame_info *next_frame)
  14.461 -{
  14.462 -  return frame_unwind_register_unsigned (next_frame, E_R0_REGNUM);
  14.463 -}
  14.464 -
  14.465 -static struct frame_id
  14.466 -ggx_unwind_dummy_id (struct gdbarch *gdbarch, struct frame_info *next_frame)
  14.467 -{
  14.468 -  return frame_id_build (ggx_unwind_sp (gdbarch, next_frame),
  14.469 -                         frame_pc_unwind (next_frame));
  14.470 -}
  14.471 -
  14.472 -static CORE_ADDR
  14.473 -ggx_frame_base_address (struct frame_info *next_frame, void **this_cache)
  14.474 -{
  14.475 -  struct ggx_unwind_cache *cache = ggx_unwind_cache (next_frame, this_cache);
  14.476 -
  14.477 -  return cache->base;
  14.478 -}
  14.479 -  
  14.480 -static const struct frame_base ggx_frame_base = {
  14.481 -#if 0
  14.482 -  &ggx_frame_unwind,
  14.483 -#else
  14.484 -  0,
  14.485 -#endif
  14.486 -  ggx_frame_base_address,
  14.487 -  ggx_frame_base_address, 
  14.488 -  ggx_frame_base_address
  14.489 -};
  14.490 -
  14.491 -static const unsigned char *
  14.492 -ggx_breakpoint_from_pc (struct gdbarch *gdbarch, CORE_ADDR *pcptr,
  14.493 -			   int *lenptr)
  14.494 -{
  14.495 -  static const unsigned char big_breakpoint[] = { 0x68, 0x00 };
  14.496 -
  14.497 -  if ((*pcptr & 1) != 0)
  14.498 -    error ("breakpoint_from_pc: invalid breakpoint address 0x%lx",
  14.499 -	   (long) *pcptr);
  14.500 -
  14.501 -  *lenptr = 2;
  14.502 -  return big_breakpoint;
  14.503 -}
  14.504 -
  14.505 -/* Target function return value methods: */
  14.506 -
  14.507 -/* Function: store_return_value
  14.508 -   Copy the function return value from VALBUF into the 
  14.509 -   proper location for a function return.  */
  14.510 -
  14.511 -static void
  14.512 -ggx_store_return_value (struct type *type, struct regcache *regcache,
  14.513 -			   const void *valbuf)
  14.514 -{
  14.515 -  int len = TYPE_LENGTH (type);
  14.516 -  int regno = E_FN_RETURN_REGNUM;
  14.517 -
  14.518 -  while (len > 0)
  14.519 -    {
  14.520 -      char buf[4];
  14.521 -      int size = len % 4 ?: 4;
  14.522 -
  14.523 -      memset (buf, 0, 4);
  14.524 -      memcpy (buf + 4 - size, valbuf, size);
  14.525 -      regcache_raw_write (regcache, regno++, buf);
  14.526 -      len -= size;
  14.527 -      valbuf = ((char *) valbuf) + size;
  14.528 -    }
  14.529 -}
  14.530 -
  14.531 -/* Function: use_struct_convention 
  14.532 -   Returns non-zero if the given struct type will be returned using
  14.533 -   a special convention, rather than the normal function return method.  */
  14.534 -
  14.535 -static int
  14.536 -ggx_use_struct_convention (struct type *type)
  14.537 -{
  14.538 -  return ((TYPE_CODE (type) == TYPE_CODE_STRUCT)
  14.539 -	  || (TYPE_CODE (type) == TYPE_CODE_UNION))
  14.540 -	 && TYPE_LENGTH (type) > 8;
  14.541 -}
  14.542 -
  14.543 -/* Function: extract_return_value
  14.544 -   Copy the function's return value into VALBUF. 
  14.545 -   This function is called only in the context of "target function calls",
  14.546 -   ie. when the debugger forces a function to be called in the child, and
  14.547 -   when the debugger forces a function to return prematurely via the
  14.548 -   "return" command.  */
  14.549 -
  14.550 -static void
  14.551 -ggx_extract_return_value (struct type *type, struct regcache *regcache,
  14.552 -			     void *valbuf)
  14.553 -{
  14.554 -  /* If the function's return value is 8 bytes or less, it is
  14.555 -     returned in a register, and if larger than 8 bytes, it is 
  14.556 -     returned in a stack location which is pointed to by the same
  14.557 -     register.  */
  14.558 -  int len = TYPE_LENGTH (type);
  14.559 -
  14.560 -  if (len <= (2 * 4))
  14.561 -    {
  14.562 -      int regno = E_FN_RETURN_REGNUM;
  14.563 -
  14.564 -      /* Return values of <= 8 bytes are returned in 
  14.565 -	 FN_RETURN_REGNUM.  */
  14.566 -      while (len > 0)
  14.567 -	{
  14.568 -	  ULONGEST tmp;
  14.569 -	  int size = len % 4 ?: 4;
  14.570 -
  14.571 -	  /* By using store_unsigned_integer we avoid having to
  14.572 -	     do anything special for small big-endian values.  */
  14.573 -	  regcache_cooked_read_unsigned (regcache, regno++, &tmp);
  14.574 -	  store_unsigned_integer (valbuf, size, tmp);
  14.575 -	  len -= size;
  14.576 -	  valbuf = ((char *) valbuf) + size;
  14.577 -	}
  14.578 -    }
  14.579 -  else
  14.580 -    {
  14.581 -      /* Return values > 8 bytes are returned in memory,
  14.582 -	 pointed to by FN_RETURN_REGNUM.  */
  14.583 -      ULONGEST return_buffer;
  14.584 -      regcache_cooked_read_unsigned (regcache, E_FN_RETURN_REGNUM,
  14.585 -				     &return_buffer);
  14.586 -      read_memory (return_buffer, valbuf, TYPE_LENGTH (type));
  14.587 -    }
  14.588 -}
  14.589 -
  14.590 -static enum return_value_convention
  14.591 -ggx_return_value (struct gdbarch *gdbarch, struct type *type,
  14.592 -		  struct type *valtype, struct regcache *regcache,
  14.593 -		  gdb_byte *readbuf, const gdb_byte *writebuf)
  14.594 -{
  14.595 -  if (ggx_use_struct_convention (type))
  14.596 -    return RETURN_VALUE_STRUCT_CONVENTION;
  14.597 -  if (writebuf)
  14.598 -    ggx_store_return_value (type, regcache, writebuf);
  14.599 -  else if (readbuf)
  14.600 -    ggx_extract_return_value (type, regcache, readbuf);
  14.601 -  return RETURN_VALUE_REGISTER_CONVENTION;
  14.602 -}
  14.603 -
  14.604 -/* Function: register_virtual_type
  14.605 -   Returns the default type for register N.  */
  14.606 -
  14.607 -static struct type *
  14.608 -ggx_register_type (struct gdbarch *gdbarch, int regnum)
  14.609 -{
  14.610 -  return builtin_type_int32;
  14.611 -}
  14.612 -
  14.613 -static CORE_ADDR
  14.614 -ggx_frame_align (struct gdbarch *ignore, CORE_ADDR sp)
  14.615 -{
  14.616 -  /* This is the same frame alignment used by gcc.  */
  14.617 -  return ((sp + 7) & ~7);
  14.618 -}
  14.619 -
  14.620 -/* Convenience function to check 8-byte types for being a scalar type
  14.621 -   or a struct with only one long long or double member. */
  14.622 -static int
  14.623 -ggx_pass_8bytetype_by_address (struct type *type)
  14.624 -{
  14.625 -  struct type *ftype;
  14.626 -
  14.627 -  /* Skip typedefs.  */
  14.628 -  while (TYPE_CODE (type) == TYPE_CODE_TYPEDEF)
  14.629 -    type = TYPE_TARGET_TYPE (type);
  14.630 -  /* Non-struct and non-union types are always passed by value.  */
  14.631 -  if (TYPE_CODE (type) != TYPE_CODE_STRUCT
  14.632 -      && TYPE_CODE (type) != TYPE_CODE_UNION)
  14.633 -    return 0;
  14.634 -  /* Structs with more than 1 field are always passed by address.  */
  14.635 -  if (TYPE_NFIELDS (type) != 1)
  14.636 -    return 1;
  14.637 -  /* Get field type.  */
  14.638 -  ftype = (TYPE_FIELDS (type))[0].type;
  14.639 -  /* The field type must have size 8, otherwise pass by address.  */
  14.640 -  if (TYPE_LENGTH (ftype) != 8)
  14.641 -    return 1;
  14.642 -  /* Skip typedefs of field type.  */
  14.643 -  while (TYPE_CODE (ftype) == TYPE_CODE_TYPEDEF)
  14.644 -    ftype = TYPE_TARGET_TYPE (ftype);
  14.645 -  /* If field is int or float, pass by value.  */
  14.646 -  if (TYPE_CODE (ftype) == TYPE_CODE_FLT
  14.647 -      || TYPE_CODE (ftype) == TYPE_CODE_INT)
  14.648 -    return 0;
  14.649 -  /* Everything else, pass by address. */
  14.650 -  return 1;
  14.651 -}
  14.652 -
  14.653 -static CORE_ADDR
  14.654 -ggx_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
  14.655 -		        struct regcache *regcache, CORE_ADDR bp_addr,
  14.656 -		        int nargs, struct value **args, CORE_ADDR sp,
  14.657 -		        int struct_return, CORE_ADDR struct_addr)
  14.658 -{
  14.659 -  const bfd_byte *val;
  14.660 -  bfd_byte buf[4];
  14.661 -  struct type *type;
  14.662 -  int i, argreg, typelen, slacklen;
  14.663 -  int stackspace = 0;
  14.664 -  /* Used to copy struct arguments into the stack. */
  14.665 -  CORE_ADDR struct_ptr;
  14.666 -
  14.667 -  /* First determine how much stack space we will need. */
  14.668 -  for (i = 0, argreg = E_1ST_ARGREG + (struct_return != 0); i < nargs; i++)
  14.669 -    {
  14.670 -      type = value_type (args[i]);
  14.671 -      typelen = TYPE_LENGTH (type);
  14.672 -      if (typelen <= 4)
  14.673 -        {
  14.674 -          /* Scalars of up to 4 bytes, 
  14.675 -             structs of up to 4 bytes, and
  14.676 -             pointers.  */
  14.677 -          if (argreg <= E_LAST_ARGREG)
  14.678 -            argreg++;
  14.679 -          else
  14.680 -            stackspace += 4;
  14.681 -        }
  14.682 -      else if (typelen == 8 && !ggx_pass_8bytetype_by_address (type))
  14.683 -        {
  14.684 -          /* long long, 
  14.685 -             double, and possibly
  14.686 -             structs with a single field of long long or double. */
  14.687 -          if (argreg <= E_LAST_ARGREG - 1)
  14.688 -            {
  14.689 -              /* 8-byte arg goes into a register pair
  14.690 -                 (must start with an even-numbered reg) */
  14.691 -              if (((argreg - E_1ST_ARGREG) % 2) != 0)
  14.692 -                argreg ++;
  14.693 -              argreg += 2;
  14.694 -            }
  14.695 -          else
  14.696 -            {
  14.697 -              argreg = E_LAST_ARGREG + 1;       /* no more argregs. */
  14.698 -              /* 8-byte arg goes on stack, must be 8-byte aligned. */
  14.699 -              stackspace = ((stackspace + 7) & ~7);
  14.700 -              stackspace += 8;
  14.701 -            }
  14.702 -        }
  14.703 -      else
  14.704 -	{
  14.705 -	  /* Structs are passed as pointer to a copy of the struct.
  14.706 -	     So we need room on the stack for a copy of the struct
  14.707 -	     plus for the argument pointer. */
  14.708 -          if (argreg <= E_LAST_ARGREG)
  14.709 -            argreg++;
  14.710 -          else
  14.711 -            stackspace += 4;
  14.712 -	  /* Care for 8-byte alignment of structs saved on stack.  */
  14.713 -	  stackspace += ((typelen + 7) & ~7);
  14.714 -	}
  14.715 -    }
  14.716 -
  14.717 -  /* Now copy params, in ascending order, into their assigned location
  14.718 -     (either in a register or on the stack). */
  14.719 -
  14.720 -  sp -= (sp % 8);       /* align */
  14.721 -  struct_ptr = sp;
  14.722 -  sp -= stackspace;
  14.723 -  sp -= (sp % 8);       /* align again */
  14.724 -  stackspace = 0;
  14.725 -
  14.726 -  argreg = E_1ST_ARGREG;
  14.727 -  if (struct_return)
  14.728 -    {
  14.729 -      /* A function that returns a struct will consume one argreg to do so. 
  14.730 -       */
  14.731 -      regcache_cooked_write_unsigned (regcache, argreg++, struct_addr);
  14.732 -    }
  14.733 -
  14.734 -  for (i = 0; i < nargs; i++)
  14.735 -    {
  14.736 -      type = value_type (args[i]);
  14.737 -      typelen = TYPE_LENGTH (type);
  14.738 -      val = value_contents (args[i]);
  14.739 -      if (typelen <= 4)
  14.740 -        {
  14.741 -          /* Char, short, int, float, pointer, and structs <= four bytes. */
  14.742 -	  slacklen = (4 - (typelen % 4)) % 4;
  14.743 -	  memset (buf, 0, sizeof (buf));
  14.744 -	  memcpy (buf + slacklen, val, typelen);
  14.745 -          if (argreg <= E_LAST_ARGREG)
  14.746 -            {
  14.747 -              /* Passed in a register. */
  14.748 -	      regcache_raw_write (regcache, argreg++, buf);
  14.749 -            }
  14.750 -          else
  14.751 -            {
  14.752 -              /* Passed on the stack. */
  14.753 -              write_memory (sp + stackspace, buf, 4);
  14.754 -              stackspace += 4;
  14.755 -            }
  14.756 -        }
  14.757 -      else if (typelen == 8 && !ggx_pass_8bytetype_by_address (type))
  14.758 -        {
  14.759 -          /* (long long), (double), or struct consisting of 
  14.760 -             a single (long long) or (double). */
  14.761 -          if (argreg <= E_LAST_ARGREG - 1)
  14.762 -            {
  14.763 -              /* 8-byte arg goes into a register pair
  14.764 -                 (must start with an even-numbered reg) */
  14.765 -              if (((argreg - E_1ST_ARGREG) % 2) != 0)
  14.766 -                argreg++;
  14.767 -	      regcache_raw_write (regcache, argreg++, val);
  14.768 -	      regcache_raw_write (regcache, argreg++, val + 4);
  14.769 -            }
  14.770 -          else
  14.771 -            {
  14.772 -              /* 8-byte arg goes on stack, must be 8-byte aligned. */
  14.773 -              argreg = E_LAST_ARGREG + 1;       /* no more argregs. */
  14.774 -              stackspace = ((stackspace + 7) & ~7);
  14.775 -              write_memory (sp + stackspace, val, typelen);
  14.776 -              stackspace += 8;
  14.777 -            }
  14.778 -        }
  14.779 -      else
  14.780 -        {
  14.781 -	  /* Store struct beginning at the upper end of the previously
  14.782 -	     computed stack space.  Then store the address of the struct
  14.783 -	     using the usual rules for a 4 byte value.  */
  14.784 -	  struct_ptr -= ((typelen + 7) & ~7);
  14.785 -	  write_memory (struct_ptr, val, typelen);
  14.786 -	  if (argreg <= E_LAST_ARGREG)
  14.787 -	    regcache_cooked_write_unsigned (regcache, argreg++, struct_ptr);
  14.788 -	  else
  14.789 -	    {
  14.790 -	      store_unsigned_integer (buf, 4, struct_ptr);
  14.791 -	      write_memory (sp + stackspace, buf, 4);
  14.792 -	      stackspace += 4;
  14.793 -	    }
  14.794 -        }
  14.795 -    }
  14.796 -
  14.797 -  /* Store return address. */
  14.798 -  regcache_cooked_write_unsigned (regcache, E_R0_REGNUM, bp_addr);
  14.799 -
  14.800 -  /* Update stack pointer.  */
  14.801 -  regcache_cooked_write_unsigned (regcache, E_SP_REGNUM, sp);
  14.802 -
  14.803 -  /* And that should do it.  Return the new stack pointer. */
  14.804 -  return sp;
  14.805 -}
  14.806 -
  14.807 -/* Function: gdbarch_init
  14.808 -   Initializer function for the ggx gdbarch vector.
  14.809 -   Called by gdbarch.  Sets up the gdbarch vector(s) for this target.  */
  14.810 -
  14.811 -static struct gdbarch *
  14.812 -ggx_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
  14.813 -{
  14.814 -  struct gdbarch *gdbarch;
  14.815 -
  14.816 -  /* Look up list for candidates - only one.  */
  14.817 -  arches = gdbarch_list_lookup_by_info (arches, &info);
  14.818 -  if (arches != NULL)
  14.819 -    return arches->gdbarch;
  14.820 -
  14.821 -  gdbarch = gdbarch_alloc (&info, NULL);
  14.822 -
  14.823 -  set_gdbarch_num_regs             (gdbarch, E_NUM_REGS);
  14.824 -  set_gdbarch_num_pseudo_regs      (gdbarch, 0);
  14.825 -  set_gdbarch_sp_regnum            (gdbarch, E_SP_REGNUM);
  14.826 -  set_gdbarch_pc_regnum            (gdbarch, E_PC_REGNUM);
  14.827 -  set_gdbarch_register_name        (gdbarch, ggx_register_name);
  14.828 -  set_gdbarch_address_to_pointer   (gdbarch, ggx_address_to_pointer);
  14.829 -  set_gdbarch_pointer_to_address   (gdbarch, ggx_pointer_to_address);
  14.830 -  set_gdbarch_ptr_bit              (gdbarch, 4 * TARGET_CHAR_BIT);
  14.831 -  set_gdbarch_short_bit            (gdbarch, 2 * TARGET_CHAR_BIT);
  14.832 -  set_gdbarch_int_bit              (gdbarch, 4 * TARGET_CHAR_BIT);
  14.833 -  set_gdbarch_long_bit             (gdbarch, 4 * TARGET_CHAR_BIT);
  14.834 -  set_gdbarch_long_long_bit        (gdbarch, 8 * TARGET_CHAR_BIT);
  14.835 -  set_gdbarch_float_bit            (gdbarch, 4 * TARGET_CHAR_BIT);
  14.836 -  set_gdbarch_double_bit           (gdbarch, 8 * TARGET_CHAR_BIT);
  14.837 -  set_gdbarch_long_double_bit      (gdbarch, 8 * TARGET_CHAR_BIT);
  14.838 -  set_gdbarch_float_format         (gdbarch, floatformats_ieee_single);
  14.839 -  set_gdbarch_double_format        (gdbarch, floatformats_ieee_double);
  14.840 -  set_gdbarch_long_double_format   (gdbarch, floatformats_ieee_double);
  14.841 -  set_gdbarch_return_value	   (gdbarch, ggx_return_value);
  14.842 -  set_gdbarch_breakpoint_from_pc   (gdbarch, ggx_breakpoint_from_pc);
  14.843 -  set_gdbarch_frame_args_skip      (gdbarch, 0);
  14.844 -  set_gdbarch_skip_prologue        (gdbarch, ggx_skip_prologue);
  14.845 -  set_gdbarch_inner_than           (gdbarch, core_addr_lessthan);
  14.846 -  set_gdbarch_print_insn           (gdbarch, print_insn_ggx);
  14.847 -  set_gdbarch_register_type (gdbarch, ggx_register_type);
  14.848 -  set_gdbarch_frame_align (gdbarch, ggx_frame_align);
  14.849 -  set_gdbarch_unwind_sp (gdbarch, ggx_unwind_sp);
  14.850 -  set_gdbarch_unwind_pc (gdbarch, ggx_unwind_pc);
  14.851 -  //  set_gdbarch_unwind_dummy_id (gdbarch, ggx_unwind_dummy_id);
  14.852 -  frame_base_set_default (gdbarch, &ggx_frame_base);
  14.853 -  set_gdbarch_push_dummy_call (gdbarch, ggx_push_dummy_call);
  14.854 -
  14.855 -  gdbarch_init_osabi (info, gdbarch);
  14.856 -
  14.857 -  dwarf2_append_unwinders (gdbarch);
  14.858 -  frame_unwind_append_unwinder (gdbarch, &ggx_frame_unwind);
  14.859 -
  14.860 -  return gdbarch;
  14.861 -}
  14.862 -
  14.863 -/* Function: _initialize_ggx_tdep
  14.864 -   Initializer function for the ggx module.
  14.865 -   Called by gdb at start-up. */
  14.866 -
  14.867 -void
  14.868 -_initialize_ggx_tdep (void)
  14.869 -{
  14.870 -  register_gdbarch_init (bfd_arch_ggx, ggx_gdbarch_init);
  14.871 -}
    15.1 --- a/src/gdb/ggx-tdep.h~	Wed Oct 01 11:51:50 2008 -0700
    15.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.3 @@ -1,50 +0,0 @@
    15.4 -/* Target-dependent code for Renesas M32R, for GDB.
    15.5 - 
    15.6 -   Copyright (C) 2004, 2007, 2008 Free Software Foundation, Inc.
    15.7 -
    15.8 -   This file is part of GDB.
    15.9 -
   15.10 -   This program is free software; you can redistribute it and/or modify
   15.11 -   it under the terms of the GNU General Public License as published by
   15.12 -   the Free Software Foundation; either version 3 of the License, or
   15.13 -   (at your option) any later version.
   15.14 -
   15.15 -   This program is distributed in the hope that it will be useful,
   15.16 -   but WITHOUT ANY WARRANTY; without even the implied warranty of
   15.17 -   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   15.18 -   GNU General Public License for more details.
   15.19 -
   15.20 -   You should have received a copy of the GNU General Public License
   15.21 -   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
   15.22 -
   15.23 -#ifndef M32R_TDEP_H
   15.24 -#define M32R_TDEP_H
   15.25 -
   15.26 -struct gdbarch_tdep
   15.27 -{
   15.28 -  /* gdbarch target dependent data here. Currently unused for M32R. */
   15.29 -};
   15.30 -
   15.31 -/* m32r register names. */
   15.32 -
   15.33 -enum m32r_regnum
   15.34 -{
   15.35 -  R0_REGNUM = 0,
   15.36 -  R3_REGNUM = 3,
   15.37 -  M32R_FP_REGNUM = 13,
   15.38 -  LR_REGNUM = 14,
   15.39 -  M32R_SP_REGNUM = 15,
   15.40 -  PSW_REGNUM = 16,
   15.41 -  CBR_REGNUM = 17,
   15.42 -  SPU_REGNUM = 18,
   15.43 -  SPI_REGNUM = 19,
   15.44 -  M32R_PC_REGNUM = 21,
   15.45 -  /* m32r calling convention. */
   15.46 -  ARG1_REGNUM = R0_REGNUM,
   15.47 -  ARGN_REGNUM = R3_REGNUM,
   15.48 -  RET1_REGNUM = R0_REGNUM,
   15.49 -};
   15.50 -
   15.51 -#define M32R_NUM_REGS 25
   15.52 -
   15.53 -#endif /* m32r-tdep.h */
    16.1 --- a/src/gdb/ggx2-tdep.c~	Wed Oct 01 11:51:50 2008 -0700
    16.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.3 @@ -1,957 +0,0 @@
    16.4 -/* Target-dependent code for Renesas M32R, for GDB.
    16.5 -
    16.6 -   Copyright (C) 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007,
    16.7 -   2008 Free Software Foundation, Inc.
    16.8 -
    16.9 -   This file is part of GDB.
   16.10 -
   16.11 -   This program is free software; you can redistribute it and/or modify
   16.12 -   it under the terms of the GNU General Public License as published by
   16.13 -   the Free Software Foundation; either version 3 of the License, or
   16.14 -   (at your option) any later version.
   16.15 -
   16.16 -   This program is distributed in the hope that it will be useful,
   16.17 -   but WITHOUT ANY WARRANTY; without even the implied warranty of
   16.18 -   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   16.19 -   GNU General Public License for more details.
   16.20 -
   16.21 -   You should have received a copy of the GNU General Public License
   16.22 -   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
   16.23 -
   16.24 -#include "defs.h"
   16.25 -#include "frame.h"
   16.26 -#include "frame-unwind.h"
   16.27 -#include "frame-base.h"
   16.28 -#include "symtab.h"
   16.29 -#include "gdbtypes.h"
   16.30 -#include "gdbcmd.h"
   16.31 -#include "gdbcore.h"
   16.32 -#include "gdb_string.h"
   16.33 -#include "value.h"
   16.34 -#include "inferior.h"
   16.35 -#include "symfile.h"
   16.36 -#include "objfiles.h"
   16.37 -#include "osabi.h"
   16.38 -#include "language.h"
   16.39 -#include "arch-utils.h"
   16.40 -#include "regcache.h"
   16.41 -#include "trad-frame.h"
   16.42 -#include "dis-asm.h"
   16.43 -
   16.44 -#include "gdb_assert.h"
   16.45 -
   16.46 -#include "m32r-tdep.h"
   16.47 -
   16.48 -/* Local functions */
   16.49 -
   16.50 -extern void _initialize_m32r_tdep (void);
   16.51 -
   16.52 -static CORE_ADDR
   16.53 -m32r_frame_align (struct gdbarch *gdbarch, CORE_ADDR sp)
   16.54 -{
   16.55 -  /* Align to the size of an instruction (so that they can safely be
   16.56 -     pushed onto the stack.  */
   16.57 -  return sp & ~3;
   16.58 -}
   16.59 -
   16.60 -
   16.61 -/* Breakpoints
   16.62 - 
   16.63 -   The little endian mode of M32R is unique. In most of architectures,
   16.64 -   two 16-bit instructions, A and B, are placed as the following:
   16.65 -  
   16.66 -   Big endian:
   16.67 -   A0 A1 B0 B1
   16.68 -  
   16.69 -   Little endian:
   16.70 -   A1 A0 B1 B0
   16.71 -  
   16.72 -   In M32R, they are placed like this:
   16.73 -  
   16.74 -   Big endian:
   16.75 -   A0 A1 B0 B1
   16.76 -  
   16.77 -   Little endian:
   16.78 -   B1 B0 A1 A0
   16.79 -  
   16.80 -   This is because M32R always fetches instructions in 32-bit.
   16.81 -  
   16.82 -   The following functions take care of this behavior. */
   16.83 -
   16.84 -static int
   16.85 -m32r_memory_insert_breakpoint (struct gdbarch *gdbarch,
   16.86 -			       struct bp_target_info *bp_tgt)
   16.87 -{
   16.88 -  CORE_ADDR addr = bp_tgt->placed_address;
   16.89 -  int val;
   16.90 -  gdb_byte buf[4];
   16.91 -  gdb_byte *contents_cache = bp_tgt->shadow_contents;
   16.92 -  gdb_byte bp_entry[] = { 0x10, 0xf1 };	/* dpt */
   16.93 -
   16.94 -  /* Save the memory contents.  */
   16.95 -  val = target_read_memory (addr & 0xfffffffc, contents_cache, 4);
   16.96 -  if (val != 0)
   16.97 -    return val;			/* return error */
   16.98 -
   16.99 -  bp_tgt->placed_size = bp_tgt->shadow_len = 4;
  16.100 -
  16.101 -  /* Determine appropriate breakpoint contents and size for this address.  */
  16.102 -  if (gdbarch_byte_order (gdbarch) == BFD_ENDIAN_BIG)
  16.103 -    {
  16.104 -      if ((addr & 3) == 0)
  16.105 -	{
  16.106 -	  buf[0] = bp_entry[0];
  16.107 -	  buf[1] = bp_entry[1];
  16.108 -	  buf[2] = contents_cache[2] & 0x7f;
  16.109 -	  buf[3] = contents_cache[3];
  16.110 -	}
  16.111 -      else
  16.112 -	{
  16.113 -	  buf[0] = contents_cache[0];
  16.114 -	  buf[1] = contents_cache[1];
  16.115 -	  buf[2] = bp_entry[0];
  16.116 -	  buf[3] = bp_entry[1];
  16.117 -	}
  16.118 -    }
  16.119 -  else				/* little-endian */
  16.120 -    {
  16.121 -      if ((addr & 3) == 0)
  16.122 -	{
  16.123 -	  buf[0] = contents_cache[0];
  16.124 -	  buf[1] = contents_cache[1] & 0x7f;
  16.125 -	  buf[2] = bp_entry[1];
  16.126 -	  buf[3] = bp_entry[0];
  16.127 -	}
  16.128 -      else
  16.129 -	{
  16.130 -	  buf[0] = bp_entry[1];
  16.131 -	  buf[1] = bp_entry[0];
  16.132 -	  buf[2] = contents_cache[2];
  16.133 -	  buf[3] = contents_cache[3];
  16.134 -	}
  16.135 -    }
  16.136 -
  16.137 -  /* Write the breakpoint.  */
  16.138 -  val = target_write_memory (addr & 0xfffffffc, buf, 4);
  16.139 -  return val;
  16.140 -}
  16.141 -
  16.142 -static int
  16.143 -m32r_memory_remove_breakpoint (struct gdbarch *gdbarch,
  16.144 -			       struct bp_target_info *bp_tgt)
  16.145 -{
  16.146 -  CORE_ADDR addr = bp_tgt->placed_address;
  16.147 -  int val;
  16.148 -  gdb_byte buf[4];
  16.149 -  gdb_byte *contents_cache = bp_tgt->shadow_contents;
  16.150 -
  16.151 -  buf[0] = contents_cache[0];
  16.152 -  buf[1] = contents_cache[1];
  16.153 -  buf[2] = contents_cache[2];
  16.154 -  buf[3] = contents_cache[3];
  16.155 -
  16.156 -  /* Remove parallel bit.  */
  16.157 -  if (gdbarch_byte_order (gdbarch) == BFD_ENDIAN_BIG)
  16.158 -    {
  16.159 -      if ((buf[0] & 0x80) == 0 && (buf[2] & 0x80) != 0)
  16.160 -	buf[2] &= 0x7f;
  16.161 -    }
  16.162 -  else				/* little-endian */
  16.163 -    {
  16.164 -      if ((buf[3] & 0x80) == 0 && (buf[1] & 0x80) != 0)
  16.165 -	buf[1] &= 0x7f;
  16.166 -    }
  16.167 -
  16.168 -  /* Write contents.  */
  16.169 -  val = target_write_memory (addr & 0xfffffffc, buf, 4);
  16.170 -  return val;
  16.171 -}
  16.172 -
  16.173 -static const gdb_byte *
  16.174 -m32r_breakpoint_from_pc (struct gdbarch *gdbarch, CORE_ADDR *pcptr, int *lenptr)
  16.175 -{
  16.176 -  static gdb_byte be_bp_entry[] = { 0x10, 0xf1, 0x70, 0x00 };	/* dpt -> nop */
  16.177 -  static gdb_byte le_bp_entry[] = { 0x00, 0x70, 0xf1, 0x10 };	/* dpt -> nop */
  16.178 -  gdb_byte *bp;
  16.179 -
  16.180 -  /* Determine appropriate breakpoint.  */
  16.181 -  if (gdbarch_byte_order (gdbarch) == BFD_ENDIAN_BIG)
  16.182 -    {
  16.183 -      if ((*pcptr & 3) == 0)
  16.184 -	{
  16.185 -	  bp = be_bp_entry;
  16.186 -	  *lenptr = 4;
  16.187 -	}
  16.188 -      else
  16.189 -	{
  16.190 -	  bp = be_bp_entry;
  16.191 -	  *lenptr = 2;
  16.192 -	}
  16.193 -    }
  16.194 -  else
  16.195 -    {
  16.196 -      if ((*pcptr & 3) == 0)
  16.197 -	{
  16.198 -	  bp = le_bp_entry;
  16.199 -	  *lenptr = 4;
  16.200 -	}
  16.201 -      else
  16.202 -	{
  16.203 -	  bp = le_bp_entry + 2;
  16.204 -	  *lenptr = 2;
  16.205 -	}
  16.206 -    }
  16.207 -
  16.208 -  return bp;
  16.209 -}
  16.210 -
  16.211 -
  16.212 -char *m32r_register_names[] = {
  16.213 -  "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7",
  16.214 -  "r8", "r9", "r10", "r11", "r12", "fp", "lr", "sp",
  16.215 -  "psw", "cbr", "spi", "spu", "bpc", "pc", "accl", "acch",
  16.216 -  "evb"
  16.217 -};
  16.218 -
  16.219 -static const char *
  16.220 -m32r_register_name (struct gdbarch *gdbarch, int reg_nr)
  16.221 -{
  16.222 -  if (reg_nr < 0)
  16.223 -    return NULL;
  16.224 -  if (reg_nr >= M32R_NUM_REGS)
  16.225 -    return NULL;
  16.226 -  return m32r_register_names[reg_nr];
  16.227 -}
  16.228 -
  16.229 -
  16.230 -/* Return the GDB type object for the "standard" data type
  16.231 -   of data in register N.  */
  16.232 -
  16.233 -static struct type *
  16.234 -m32r_register_type (struct gdbarch *gdbarch, int reg_nr)
  16.235 -{
  16.236 -  if (reg_nr == M32R_PC_REGNUM)
  16.237 -    return builtin_type_void_func_ptr;
  16.238 -  else if (reg_nr == M32R_SP_REGNUM || reg_nr == M32R_FP_REGNUM)
  16.239 -    return builtin_type_void_data_ptr;
  16.240 -  else
  16.241 -    return builtin_type_int32;
  16.242 -}
  16.243 -
  16.244 -
  16.245 -/* Write into appropriate registers a function return value
  16.246 -   of type TYPE, given in virtual format.  
  16.247 -
  16.248 -   Things always get returned in RET1_REGNUM, RET2_REGNUM. */
  16.249 -
  16.250 -static void
  16.251 -m32r_store_return_value (struct type *type, struct regcache *regcache,
  16.252 -			 const void *valbuf)
  16.253 -{
  16.254 -  CORE_ADDR regval;
  16.255 -  int len = TYPE_LENGTH (type);
  16.256 -
  16.257 -  regval = extract_unsigned_integer (valbuf, len > 4 ? 4 : len);
  16.258 -  regcache_cooked_write_unsigned (regcache, RET1_REGNUM, regval);
  16.259 -
  16.260 -  if (len > 4)
  16.261 -    {
  16.262 -      regval = extract_unsigned_integer ((gdb_byte *) valbuf + 4, len - 4);
  16.263 -      regcache_cooked_write_unsigned (regcache, RET1_REGNUM + 1, regval);
  16.264 -    }
  16.265 -}
  16.266 -
  16.267 -/* This is required by skip_prologue. The results of decoding a prologue
  16.268 -   should be cached because this thrashing is getting nuts.  */
  16.269 -
  16.270 -static int
  16.271 -decode_prologue (CORE_ADDR start_pc, CORE_ADDR scan_limit,
  16.272 -		 CORE_ADDR *pl_endptr, unsigned long *framelength)
  16.273 -{
  16.274 -  unsigned long framesize;
  16.275 -  int insn;
  16.276 -  int op1;
  16.277 -  CORE_ADDR after_prologue = 0;
  16.278 -  CORE_ADDR after_push = 0;
  16.279 -  CORE_ADDR after_stack_adjust = 0;
  16.280 -  CORE_ADDR current_pc;
  16.281 -  LONGEST return_value;
  16.282 -
  16.283 -  framesize = 0;
  16.284 -  after_prologue = 0;
  16.285 -
  16.286 -  for (current_pc = start_pc; current_pc < scan_limit; current_pc += 2)
  16.287 -    {
  16.288 -      /* Check if current pc's location is readable. */
  16.289 -      if (!safe_read_memory_integer (current_pc, 2, &return_value))
  16.290 -	return -1;
  16.291 -
  16.292 -      insn = read_memory_unsigned_integer (current_pc, 2);
  16.293 -
  16.294 -      if (insn == 0x0000)
  16.295 -	break;
  16.296 -
  16.297 -      /* If this is a 32 bit instruction, we dont want to examine its
  16.298 -         immediate data as though it were an instruction */
  16.299 -      if (current_pc & 0x02)
  16.300 -	{
  16.301 -	  /* decode this instruction further */
  16.302 -	  insn &= 0x7fff;
  16.303 -	}
  16.304 -      else
  16.305 -	{
  16.306 -	  if (insn & 0x8000)
  16.307 -	    {
  16.308 -	      if (current_pc == scan_limit)
  16.309 -		scan_limit += 2;	/* extend the search */
  16.310 -
  16.311 -	      current_pc += 2;	/* skip the immediate data */
  16.312 -
  16.313 -	      /* Check if current pc's location is readable. */
  16.314 -	      if (!safe_read_memory_integer (current_pc, 2, &return_value))
  16.315 -		return -1;
  16.316 -
  16.317 -	      if (insn == 0x8faf)	/* add3 sp, sp, xxxx */
  16.318 -		/* add 16 bit sign-extended offset */
  16.319 -		{
  16.320 -		  framesize +=
  16.321 -		    -((short) read_memory_unsigned_integer (current_pc, 2));
  16.322 -		}
  16.323 -	      else
  16.324 -		{
  16.325 -		  if (((insn >> 8) == 0xe4)	/* ld24 r4, xxxxxx; sub sp, r4 */
  16.326 -		      && safe_read_memory_integer (current_pc + 2, 2,
  16.327 -						   &return_value)
  16.328 -		      && read_memory_unsigned_integer (current_pc + 2,
  16.329 -						       2) == 0x0f24)
  16.330 -		    /* subtract 24 bit sign-extended negative-offset */
  16.331 -		    {
  16.332 -		      insn = read_memory_unsigned_integer (current_pc - 2, 4);
  16.333 -		      if (insn & 0x00800000)	/* sign extend */
  16.334 -			insn |= 0xff000000;	/* negative */
  16.335 -		      else
  16.336 -			insn &= 0x00ffffff;	/* positive */
  16.337 -		      framesize += insn;
  16.338 -		    }
  16.339 -		}
  16.340 -	      after_push = current_pc + 2;
  16.341 -	      continue;
  16.342 -	    }
  16.343 -	}
  16.344 -      op1 = insn & 0xf000;	/* isolate just the first nibble */
  16.345 -
  16.346 -      if ((insn & 0xf0ff) == 0x207f)
  16.347 -	{			/* st reg, @-sp */
  16.348 -	  int regno;
  16.349 -	  framesize += 4;
  16.350 -	  regno = ((insn >> 8) & 0xf);
  16.351 -	  after_prologue = 0;
  16.352 -	  continue;
  16.353 -	}
  16.354 -      if ((insn >> 8) == 0x4f)	/* addi sp, xx */
  16.355 -	/* add 8 bit sign-extended offset */
  16.356 -	{
  16.357 -	  int stack_adjust = (signed char) (insn & 0xff);
  16.358 -
  16.359 -	  /* there are probably two of these stack adjustments:
  16.360 -	     1) A negative one in the prologue, and
  16.361 -	     2) A positive one in the epilogue.
  16.362 -	     We are only interested in the first one.  */
  16.363 -
  16.364 -	  if (stack_adjust < 0)
  16.365 -	    {
  16.366 -	      framesize -= stack_adjust;
  16.367 -	      after_prologue = 0;
  16.368 -	      /* A frameless function may have no "mv fp, sp".
  16.369 -	         In that case, this is the end of the prologue.  */
  16.370 -	      after_stack_adjust = current_pc + 2;
  16.371 -	    }
  16.372 -	  continue;
  16.373 -	}
  16.374 -      if (insn == 0x1d8f)
  16.375 -	{			/* mv fp, sp */
  16.376 -	  after_prologue = current_pc + 2;
  16.377 -	  break;		/* end of stack adjustments */
  16.378 -	}
  16.379 -
  16.380 -      /* Nop looks like a branch, continue explicitly */
  16.381 -      if (insn == 0x7000)
  16.382 -	{
  16.383 -	  after_prologue = current_pc + 2;
  16.384 -	  continue;		/* nop occurs between pushes */
  16.385 -	}
  16.386 -      /* End of prolog if any of these are trap instructions */
  16.387 -      if ((insn & 0xfff0) == 0x10f0)
  16.388 -	{
  16.389 -	  after_prologue = current_pc;
  16.390 -	  break;
  16.391 -	}
  16.392 -      /* End of prolog if any of these are branch instructions */
  16.393 -      if ((op1 == 0x7000) || (op1 == 0xb000) || (op1 == 0xf000))
  16.394 -	{
  16.395 -	  after_prologue = current_pc;
  16.396 -	  continue;
  16.397 -	}
  16.398 -      /* Some of the branch instructions are mixed with other types */
  16.399 -      if (op1 == 0x1000)
  16.400 -	{
  16.401 -	  int subop = insn & 0x0ff0;
  16.402 -	  if ((subop == 0x0ec0) || (subop == 0x0fc0))
  16.403 -	    {
  16.404 -	      after_prologue = current_pc;
  16.405 -	      continue;		/* jmp , jl */
  16.406 -	    }
  16.407 -	}
  16.408 -    }
  16.409 -
  16.410 -  if (framelength)
  16.411 -    *framelength = framesize;
  16.412 -
  16.413 -  if (current_pc >= scan_limit)
  16.414 -    {
  16.415 -      if (pl_endptr)
  16.416 -	{
  16.417 -	  if (after_stack_adjust != 0)
  16.418 -	    /* We did not find a "mv fp,sp", but we DID find
  16.419 -	       a stack_adjust.  Is it safe to use that as the
  16.420 -	       end of the prologue?  I just don't know. */
  16.421 -	    {
  16.422 -	      *pl_endptr = after_stack_adjust;
  16.423 -	    }
  16.424 -	  else if (after_push != 0)
  16.425 -	    /* We did not find a "mv fp,sp", but we DID find
  16.426 -	       a push.  Is it safe to use that as the
  16.427 -	       end of the prologue?  I just don't know. */
  16.428 -	    {
  16.429 -	      *pl_endptr = after_push;
  16.430 -	    }
  16.431 -	  else
  16.432 -	    /* We reached the end of the loop without finding the end
  16.433 -	       of the prologue.  No way to win -- we should report failure.  
  16.434 -	       The way we do that is to return the original start_pc.
  16.435 -	       GDB will set a breakpoint at the start of the function (etc.) */
  16.436 -	    *pl_endptr = start_pc;
  16.437 -	}
  16.438 -      return 0;
  16.439 -    }
  16.440 -
  16.441 -  if (after_prologue == 0)
  16.442 -    after_prologue = current_pc;
  16.443 -
  16.444 -  if (pl_endptr)
  16.445 -    *pl_endptr = after_prologue;
  16.446 -
  16.447 -  return 0;
  16.448 -}				/*  decode_prologue */
  16.449 -
  16.450 -/* Function: skip_prologue
  16.451 -   Find end of function prologue */
  16.452 -
  16.453 -#define DEFAULT_SEARCH_LIMIT 128
  16.454 -
  16.455 -CORE_ADDR
  16.456 -m32r_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR pc)
  16.457 -{
  16.458 -  CORE_ADDR func_addr, func_end;
  16.459 -  struct symtab_and_line sal;
  16.460 -  LONGEST return_value;
  16.461 -
  16.462 -  /* See what the symbol table says */
  16.463 -
  16.464 -  if (find_pc_partial_function (pc, NULL, &func_addr, &func_end))
  16.465 -    {
  16.466 -      sal = find_pc_line (func_addr, 0);
  16.467 -
  16.468 -      if (sal.line != 0 && sal.end <= func_end)
  16.469 -	{
  16.470 -	  func_end = sal.end;
  16.471 -	}
  16.472 -      else
  16.473 -	/* Either there's no line info, or the line after the prologue is after
  16.474 -	   the end of the function.  In this case, there probably isn't a
  16.475 -	   prologue.  */
  16.476 -	{
  16.477 -	  func_end = min (func_end, func_addr + DEFAULT_SEARCH_LIMIT);
  16.478 -	}
  16.479 -    }
  16.480 -  else
  16.481 -    func_end = pc + DEFAULT_SEARCH_LIMIT;
  16.482 -
  16.483 -  /* If pc's location is not readable, just quit. */
  16.484 -  if (!safe_read_memory_integer (pc, 4, &return_value))
  16.485 -    return pc;
  16.486 -
  16.487 -  /* Find the end of prologue.  */
  16.488 -  if (decode_prologue (pc, func_end, &sal.end, NULL) < 0)
  16.489 -    return pc;
  16.490 -
  16.491 -  return sal.end;
  16.492 -}
  16.493 -
  16.494 -struct m32r_unwind_cache
  16.495 -{
  16.496 -  /* The previous frame's inner most stack address.  Used as this
  16.497 -     frame ID's stack_addr.  */
  16.498 -  CORE_ADDR prev_sp;
  16.499 -  /* The frame's base, optionally used by the high-level debug info.  */
  16.500 -  CORE_ADDR base;
  16.501 -  int size;
  16.502 -  /* How far the SP and r13 (FP) have been offset from the start of
  16.503 -     the stack frame (as defined by the previous frame's stack
  16.504 -     pointer).  */
  16.505 -  LONGEST sp_offset;
  16.506 -  LONGEST r13_offset;
  16.507 -  int uses_frame;
  16.508 -  /* Table indicating the location of each and every register.  */
  16.509 -  struct trad_frame_saved_reg *saved_regs;
  16.510 -};
  16.511 -
  16.512 -/* Put here the code to store, into fi->saved_regs, the addresses of
  16.513 -   the saved registers of frame described by FRAME_INFO.  This
  16.514 -   includes special registers such as pc and fp saved in special ways
  16.515 -   in the stack frame.  sp is even more special: the address we return
  16.516 -   for it IS the sp for the next frame. */
  16.517 -
  16.518 -static struct m32r_unwind_cache *
  16.519 -m32r_frame_unwind_cache (struct frame_info *this_frame,
  16.520 -			 void **this_prologue_cache)
  16.521 -{
  16.522 -  CORE_ADDR pc, scan_limit;
  16.523 -  ULONGEST prev_sp;
  16.524 -  ULONGEST this_base;
  16.525 -  unsigned long op, op2;
  16.526 -  int i;
  16.527 -  struct m32r_unwind_cache *info;
  16.528 -
  16.529 -
  16.530 -  if ((*this_prologue_cache))
  16.531 -    return (*this_prologue_cache);
  16.532 -
  16.533 -  info = FRAME_OBSTACK_ZALLOC (struct m32r_unwind_cache);
  16.534 -  (*this_prologue_cache) = info;
  16.535 -  info->saved_regs = trad_frame_alloc_saved_regs (this_frame);
  16.536 -
  16.537 -  info->size = 0;
  16.538 -  info->sp_offset = 0;
  16.539 -  info->uses_frame = 0;
  16.540 -
  16.541 -  scan_limit = get_frame_pc (this_frame);
  16.542 -  for (pc = get_frame_func (this_frame);
  16.543 -       pc > 0 && pc < scan_limit; pc += 2)
  16.544 -    {
  16.545 -      if ((pc & 2) == 0)
  16.546 -	{
  16.547 -	  op = get_frame_memory_unsigned (this_frame, pc, 4);
  16.548 -	  if ((op & 0x80000000) == 0x80000000)
  16.549 -	    {
  16.550 -	      /* 32-bit instruction */
  16.551 -	      if ((op & 0xffff0000) == 0x8faf0000)
  16.552 -		{
  16.553 -		  /* add3 sp,sp,xxxx */
  16.554 -		  short n = op & 0xffff;
  16.555 -		  info->sp_offset += n;
  16.556 -		}
  16.557 -	      else if (((op >> 8) == 0xe4)
  16.558 -		       && get_frame_memory_unsigned (this_frame, pc + 2,
  16.559 -						     2) == 0x0f24)
  16.560 -		{
  16.561 -		  /* ld24 r4, xxxxxx; sub sp, r4 */
  16.562 -		  unsigned long n = op & 0xffffff;
  16.563 -		  info->sp_offset += n;
  16.564 -		  pc += 2;	/* skip sub instruction */
  16.565 -		}
  16.566 -
  16.567 -	      if (pc == scan_limit)
  16.568 -		scan_limit += 2;	/* extend the search */
  16.569 -	      pc += 2;		/* skip the immediate data */
  16.570 -	      continue;
  16.571 -	    }
  16.572 -	}
  16.573 -
  16.574 -      /* 16-bit instructions */
  16.575 -      op = get_frame_memory_unsigned (this_frame, pc, 2) & 0x7fff;
  16.576 -      if ((op & 0xf0ff) == 0x207f)
  16.577 -	{
  16.578 -	  /* st rn, @-sp */
  16.579 -	  int regno = ((op >> 8) & 0xf);
  16.580 -	  info->sp_offset -= 4;
  16.581 -	  info->saved_regs[regno].addr = info->sp_offset;
  16.582 -	}
  16.583 -      else if ((op & 0xff00) == 0x4f00)
  16.584 -	{
  16.585 -	  /* addi sp, xx */
  16.586 -	  int n = (signed char) (op & 0xff);
  16.587 -	  info->sp_offset += n;
  16.588 -	}
  16.589 -      else if (op == 0x1d8f)
  16.590 -	{
  16.591 -	  /* mv fp, sp */
  16.592 -	  info->uses_frame = 1;
  16.593 -	  info->r13_offset = info->sp_offset;
  16.594 -	  break;		/* end of stack adjustments */
  16.595 -	}
  16.596 -      else if ((op & 0xfff0) == 0x10f0)
  16.597 -	{
  16.598 -	  /* end of prologue if this is a trap instruction */
  16.599 -	  break;		/* end of stack adjustments */
  16.600 -	}
  16.601 -    }
  16.602 -
  16.603 -  info->size = -info->sp_offset;
  16.604 -
  16.605 -  /* Compute the previous frame's stack pointer (which is also the
  16.606 -     frame's ID's stack address), and this frame's base pointer.  */
  16.607 -  if (info->uses_frame)
  16.608 -    {
  16.609 -      /* The SP was moved to the FP.  This indicates that a new frame
  16.610 -         was created.  Get THIS frame's FP value by unwinding it from
  16.611 -         the next frame.  */
  16.612 -      this_base = get_frame_register_unsigned (this_frame, M32R_FP_REGNUM);
  16.613 -      /* The FP points at the last saved register.  Adjust the FP back
  16.614 -         to before the first saved register giving the SP.  */
  16.615 -      prev_sp = this_base + info->size;
  16.616 -    }
  16.617 -  else
  16.618 -    {
  16.619 -      /* Assume that the FP is this frame's SP but with that pushed
  16.620 -         stack space added back.  */
  16.621 -      this_base = get_frame_register_unsigned (this_frame, M32R_SP_REGNUM);
  16.622 -      prev_sp = this_base + info->size;
  16.623 -    }
  16.624 -
  16.625 -  /* Convert that SP/BASE into real addresses.  */
  16.626 -  info->prev_sp = prev_sp;
  16.627 -  info->base = this_base;
  16.628 -
  16.629 -  /* Adjust all the saved registers so that they contain addresses and
  16.630 -     not offsets.  */
  16.631 -  for (i = 0; i < gdbarch_num_regs (get_frame_arch (this_frame)) - 1; i++)
  16.632 -    if (trad_frame_addr_p (info->saved_regs, i))
  16.633 -      info->saved_regs[i].addr = (info->prev_sp + info->saved_regs[i].addr);
  16.634 -
  16.635 -  /* The call instruction moves the caller's PC in the callee's LR.
  16.636 -     Since this is an unwind, do the reverse.  Copy the location of LR
  16.637 -     into PC (the address / regnum) so that a request for PC will be
  16.638 -     converted into a request for the LR.  */
  16.639 -  info->saved_regs[M32R_PC_REGNUM] = info->saved_regs[LR_REGNUM];
  16.640 -
  16.641 -  /* The previous frame's SP needed to be computed.  Save the computed
  16.642 -     value.  */
  16.643 -  trad_frame_set_value (info->saved_regs, M32R_SP_REGNUM, prev_sp);
  16.644 -
  16.645 -  return info;
  16.646 -}
  16.647 -
  16.648 -static CORE_ADDR
  16.649 -m32r_read_pc (struct regcache *regcache)
  16.650 -{
  16.651 -  ULONGEST pc;
  16.652 -  regcache_cooked_read_unsigned (regcache, M32R_PC_REGNUM, &pc);
  16.653 -  return pc;
  16.654 -}
  16.655 -
  16.656 -static void
  16.657 -m32r_write_pc (struct regcache *regcache, CORE_ADDR val)
  16.658 -{
  16.659 -  regcache_cooked_write_unsigned (regcache, M32R_PC_REGNUM, val);
  16.660 -}
  16.661 -
  16.662 -static CORE_ADDR
  16.663 -m32r_unwind_sp (struct gdbarch *gdbarch, struct frame_info *next_frame)
  16.664 -{
  16.665 -  return frame_unwind_register_unsigned (next_frame, M32R_SP_REGNUM);
  16.666 -}
  16.667 -
  16.668 -
  16.669 -static CORE_ADDR
  16.670 -m32r_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
  16.671 -		      struct regcache *regcache, CORE_ADDR bp_addr, int nargs,
  16.672 -		      struct value **args, CORE_ADDR sp, int struct_return,
  16.673 -		      CORE_ADDR struct_addr)
  16.674 -{
  16.675 -  int stack_offset, stack_alloc;
  16.676 -  int argreg = ARG1_REGNUM;
  16.677 -  int argnum;
  16.678 -  struct type *type;
  16.679 -  enum type_code typecode;
  16.680 -  CORE_ADDR regval;
  16.681 -  gdb_byte *val;
  16.682 -  gdb_byte valbuf[MAX_REGISTER_SIZE];
  16.683 -  int len;
  16.684 -  int odd_sized_struct;
  16.685 -
  16.686 -  /* first force sp to a 4-byte alignment */
  16.687 -  sp = sp & ~3;
  16.688 -
  16.689 -  /* Set the return address.  For the m32r, the return breakpoint is
  16.690 -     always at BP_ADDR.  */
  16.691 -  regcache_cooked_write_unsigned (regcache, LR_REGNUM, bp_addr);
  16.692 -
  16.693 -  /* If STRUCT_RETURN is true, then the struct return address (in
  16.694 -     STRUCT_ADDR) will consume the first argument-passing register.
  16.695 -     Both adjust the register count and store that value.  */
  16.696 -  if (struct_return)
  16.697 -    {
  16.698 -      regcache_cooked_write_unsigned (regcache, argreg, struct_addr);
  16.699 -      argreg++;
  16.700 -    }
  16.701 -
  16.702 -  /* Now make sure there's space on the stack */
  16.703 -  for (argnum = 0, stack_alloc = 0; argnum < nargs; argnum++)
  16.704 -    stack_alloc += ((TYPE_LENGTH (value_type (args[argnum])) + 3) & ~3);
  16.705 -  sp -= stack_alloc;		/* make room on stack for args */
  16.706 -
  16.707 -  for (argnum = 0, stack_offset = 0; argnum < nargs; argnum++)
  16.708 -    {
  16.709 -      type = value_type (args[argnum]);
  16.710 -      typecode = TYPE_CODE (type);
  16.711 -      len = TYPE_LENGTH (type);
  16.712 -
  16.713 -      memset (valbuf, 0, sizeof (valbuf));
  16.714 -
  16.715 -      /* Passes structures that do not fit in 2 registers by reference.  */
  16.716 -      if (len > 8
  16.717 -	  && (typecode == TYPE_CODE_STRUCT || typecode == TYPE_CODE_UNION))
  16.718 -	{
  16.719 -	  store_unsigned_integer (valbuf, 4, VALUE_ADDRESS (args[argnum]));
  16.720 -	  typecode = TYPE_CODE_PTR;
  16.721 -	  len = 4;
  16.722 -	  val = valbuf;
  16.723 -	}
  16.724 -      else if (len < 4)
  16.725 -	{
  16.726 -	  /* value gets right-justified in the register or stack word */
  16.727 -	  memcpy (valbuf + (register_size (gdbarch, argreg) - len),
  16.728 -		  (gdb_byte *) value_contents (args[argnum]), len);
  16.729 -	  val = valbuf;
  16.730 -	}
  16.731 -      else
  16.732 -	val = (gdb_byte *) value_contents (args[argnum]);
  16.733 -
  16.734 -      while (len > 0)
  16.735 -	{
  16.736 -	  if (argreg > ARGN_REGNUM)
  16.737 -	    {
  16.738 -	      /* must go on the stack */
  16.739 -	      write_memory (sp + stack_offset, val, 4);
  16.740 -	      stack_offset += 4;
  16.741 -	    }
  16.742 -	  else if (argreg <= ARGN_REGNUM)
  16.743 -	    {
  16.744 -	      /* there's room in a register */
  16.745 -	      regval =
  16.746 -		extract_unsigned_integer (val,
  16.747 -					  register_size (gdbarch, argreg));
  16.748 -	      regcache_cooked_write_unsigned (regcache, argreg++, regval);
  16.749 -	    }
  16.750 -
  16.751 -	  /* Store the value 4 bytes at a time.  This means that things
  16.752 -	     larger than 4 bytes may go partly in registers and partly
  16.753 -	     on the stack.  */
  16.754 -	  len -= register_size (gdbarch, argreg);
  16.755 -	  val += register_size (gdbarch, argreg);
  16.756 -	}
  16.757 -    }
  16.758 -
  16.759 -  /* Finally, update the SP register.  */
  16.760 -  regcache_cooked_write_unsigned (regcache, M32R_SP_REGNUM, sp);
  16.761 -
  16.762 -  return sp;
  16.763 -}
  16.764 -
  16.765 -
  16.766 -/* Given a return value in `regbuf' with a type `valtype', 
  16.767 -   extract and copy its value into `valbuf'.  */
  16.768 -
  16.769 -static void
  16.770 -m32r_extract_return_value (struct type *type, struct regcache *regcache,
  16.771 -			   void *dst)
  16.772 -{
  16.773 -  bfd_byte *valbuf = dst;
  16.774 -  int len = TYPE_LENGTH (type);
  16.775 -  ULONGEST tmp;
  16.776 -
  16.777 -  /* By using store_unsigned_integer we avoid having to do
  16.778 -     anything special for small big-endian values.  */
  16.779 -  regcache_cooked_read_unsigned (regcache, RET1_REGNUM, &tmp);
  16.780 -  store_unsigned_integer (valbuf, (len > 4 ? len - 4 : len), tmp);
  16.781 -
  16.782 -  /* Ignore return values more than 8 bytes in size because the m32r
  16.783 -     returns anything more than 8 bytes in the stack. */
  16.784 -  if (len > 4)
  16.785 -    {
  16.786 -      regcache_cooked_read_unsigned (regcache, RET1_REGNUM + 1, &tmp);
  16.787 -      store_unsigned_integer (valbuf + len - 4, 4, tmp);
  16.788 -    }
  16.789 -}
  16.790 -
  16.791 -enum return_value_convention
  16.792 -m32r_return_value (struct gdbarch *gdbarch, struct type *func_type,
  16.793 -		   struct type *valtype, struct regcache *regcache,
  16.794 -		   gdb_byte *readbuf, const gdb_byte *writebuf)
  16.795 -{
  16.796 -  if (TYPE_LENGTH (valtype) > 8)
  16.797 -    return RETURN_VALUE_STRUCT_CONVENTION;
  16.798 -  else
  16.799 -    {
  16.800 -      if (readbuf != NULL)
  16.801 -	m32r_extract_return_value (valtype, regcache, readbuf);
  16.802 -      if (writebuf != NULL)
  16.803 -	m32r_store_return_value (valtype, regcache, writebuf);
  16.804 -      return RETURN_VALUE_REGISTER_CONVENTION;
  16.805 -    }
  16.806 -}
  16.807 -
  16.808 -
  16.809 -
  16.810 -static CORE_ADDR
  16.811 -m32r_unwind_pc (struct gdbarch *gdbarch, struct frame_info *next_frame)
  16.812 -{
  16.813 -  return frame_unwind_register_unsigned (next_frame, M32R_PC_REGNUM);
  16.814 -}
  16.815 -
  16.816 -/* Given a GDB frame, determine the address of the calling function's
  16.817 -   frame.  This will be used to create a new GDB frame struct.  */
  16.818 -
  16.819 -static void
  16.820 -m32r_frame_this_id (struct frame_info *this_frame,
  16.821 -		    void **this_prologue_cache, struct frame_id *this_id)
  16.822 -{
  16.823 -  struct m32r_unwind_cache *info
  16.824 -    = m32r_frame_unwind_cache (this_frame, this_prologue_cache);
  16.825 -  CORE_ADDR base;
  16.826 -  CORE_ADDR func;
  16.827 -  struct minimal_symbol *msym_stack;
  16.828 -  struct frame_id id;
  16.829 -
  16.830 -  /* The FUNC is easy.  */
  16.831 -  func = get_frame_func (this_frame);
  16.832 -
  16.833 -  /* Check if the stack is empty.  */
  16.834 -  msym_stack = lookup_minimal_symbol ("_stack", NULL, NULL);
  16.835 -  if (msym_stack && info->base == SYMBOL_VALUE_ADDRESS (msym_stack))
  16.836 -    return;
  16.837 -
  16.838 -  /* Hopefully the prologue analysis either correctly determined the
  16.839 -     frame's base (which is the SP from the previous frame), or set
  16.840 -     that base to "NULL".  */
  16.841 -  base = info->prev_sp;
  16.842 -  if (base == 0)
  16.843 -    return;
  16.844 -
  16.845 -  id = frame_id_build (base, func);
  16.846 -  (*this_id) = id;
  16.847 -}
  16.848 -
  16.849 -static struct value *
  16.850 -m32r_frame_prev_register (struct frame_info *this_frame,
  16.851 -			  void **this_prologue_cache, int regnum)
  16.852 -{
  16.853 -  struct m32r_unwind_cache *info
  16.854 -    = m32r_frame_unwind_cache (this_frame, this_prologue_cache);
  16.855 -  return trad_frame_get_prev_register (this_frame, info->saved_regs, regnum);
  16.856 -}
  16.857 -
  16.858 -static const struct frame_unwind m32r_frame_unwind = {
  16.859 -  NORMAL_FRAME,
  16.860 -  m32r_frame_this_id,
  16.861 -  m32r_frame_prev_register,
  16.862 -  NULL,
  16.863 -  default_frame_sniffer
  16.864 -};
  16.865 -
  16.866 -static CORE_ADDR
  16.867 -m32r_frame_base_address (struct frame_info *this_frame, void **this_cache)
  16.868 -{
  16.869 -  struct m32r_unwind_cache *info
  16.870 -    = m32r_frame_unwind_cache (this_frame, this_cache);
  16.871 -  return info->base;
  16.872 -}
  16.873 -
  16.874 -static const struct frame_base m32r_frame_base = {
  16.875 -  &m32r_frame_unwind,
  16.876 -  m32r_frame_base_address,
  16.877 -  m32r_frame_base_address,
  16.878 -  m32r_frame_base_address
  16.879 -};
  16.880 -
  16.881 -/* Assuming THIS_FRAME is a dummy, return the frame ID of that dummy
  16.882 -   frame.  The frame ID's base needs to match the TOS value saved by
  16.883 -   save_dummy_frame_tos(), and the PC match the dummy frame's breakpoint.  */
  16.884 -
  16.885 -static struct frame_id
  16.886 -m32r_dummy_id (struct gdbarch *gdbarch, struct frame_info *this_frame)
  16.887 -{
  16.888 -  CORE_ADDR sp = get_frame_register_unsigned (this_frame, M32R_SP_REGNUM);
  16.889 -  return frame_id_build (sp, get_frame_pc (this_frame));
  16.890 -}
  16.891 -
  16.892 -
  16.893 -static gdbarch_init_ftype m32r_gdbarch_init;
  16.894 -
  16.895 -static struct gdbarch *
  16.896 -m32r_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
  16.897 -{
  16.898 -  struct gdbarch *gdbarch;
  16.899 -  struct gdbarch_tdep *tdep;
  16.900 -
  16.901 -  /* If there is already a candidate, use it.  */
  16.902 -  arches = gdbarch_list_lookup_by_info (arches, &info);
  16.903 -  if (arches != NULL)
  16.904 -    return arches->gdbarch;
  16.905 -
  16.906 -  /* Allocate space for the new architecture.  */
  16.907 -  tdep = XMALLOC (struct gdbarch_tdep);
  16.908 -  gdbarch = gdbarch_alloc (&info, tdep);
  16.909 -
  16.910 -  set_gdbarch_read_pc (gdbarch, m32r_read_pc);
  16.911 -  set_gdbarch_write_pc (gdbarch, m32r_write_pc);
  16.912 -  set_gdbarch_unwind_sp (gdbarch, m32r_unwind_sp);
  16.913 -
  16.914 -  set_gdbarch_num_regs (gdbarch, M32R_NUM_REGS);
  16.915 -  set_gdbarch_sp_regnum (gdbarch, M32R_SP_REGNUM);
  16.916 -  set_gdbarch_register_name (gdbarch, m32r_register_name);
  16.917 -  set_gdbarch_register_type (gdbarch, m32r_register_type);
  16.918 -
  16.919 -  set_gdbarch_push_dummy_call (gdbarch, m32r_push_dummy_call);
  16.920 -  set_gdbarch_return_value (gdbarch, m32r_return_value);
  16.921 -
  16.922 -  set_gdbarch_skip_prologue (gdbarch, m32r_skip_prologue);
  16.923 -  set_gdbarch_inner_than (gdbarch, core_addr_lessthan);
  16.924 -  set_gdbarch_breakpoint_from_pc (gdbarch, m32r_breakpoint_from_pc);
  16.925 -  set_gdbarch_memory_insert_breakpoint (gdbarch,
  16.926 -					m32r_memory_insert_breakpoint);
  16.927 -  set_gdbarch_memory_remove_breakpoint (gdbarch,
  16.928 -					m32r_memory_remove_breakpoint);
  16.929 -
  16.930 -  set_gdbarch_frame_align (gdbarch, m32r_frame_align);
  16.931 -
  16.932 -  frame_base_set_default (gdbarch, &m32r_frame_base);
  16.933 -
  16.934 -  /* Methods for saving / extracting a dummy frame's ID.  The ID's
  16.935 -     stack address must match the SP value returned by
  16.936 -     PUSH_DUMMY_CALL, and saved by generic_save_dummy_frame_tos.  */
  16.937 -  set_gdbarch_dummy_id (gdbarch, m32r_dummy_id);
  16.938 -
  16.939 -  /* Return the unwound PC value.  */
  16.940 -  set_gdbarch_unwind_pc (gdbarch, m32r_unwind_pc);
  16.941 -
  16.942 -  set_gdbarch_print_insn (gdbarch, print_insn_m32r);
  16.943 -
  16.944 -  /* Hook in ABI-specific overrides, if they have been registered.  */
  16.945 -  gdbarch_init_osabi (info, gdbarch);
  16.946 -
  16.947 -  /* Hook in the default unwinders.  */
  16.948 -  frame_unwind_append_unwinder (gdbarch, &m32r_frame_unwind);
  16.949 -
  16.950 -  /* Support simple overlay manager.  */
  16.951 -  set_gdbarch_overlay_update (gdbarch, simple_overlay_update);
  16.952 -
  16.953 -  return gdbarch;
  16.954 -}
  16.955 -
  16.956 -void
  16.957 -_initialize_m32r_tdep (void)
  16.958 -{
  16.959 -  register_gdbarch_init (bfd_arch_m32r, m32r_gdbarch_init);
  16.960 -}
    17.1 --- a/src/opcodes/ChangeLog.ggx	Wed Oct 01 11:51:50 2008 -0700
    17.2 +++ b/src/opcodes/ChangeLog.ggx	Fri Oct 03 10:02:40 2008 -0700
    17.3 @@ -1,3 +1,8 @@
    17.4 +2008-10-03  Anthony Green  <green@spindazzle.org>
    17.5 +
    17.6 +	* ggx-opc.c (ggx_form1_opc_info): ldo.b, sto.b, ldo.s, sto.s: New
    17.7 +	instructions.
    17.8 +
    17.9  2008-09-04  Anthony Green  <green@spindazzle.org>
   17.10  
   17.11  	* ggx-opc.c (ggx_form3_opc_info): Define.
    18.1 --- a/src/opcodes/ggx-opc.c	Wed Oct 01 11:51:50 2008 -0700
    18.2 +++ b/src/opcodes/ggx-opc.c	Fri Oct 03 10:02:40 2008 -0700
    18.3 @@ -109,10 +109,10 @@
    18.4      { 0x33, GGX_F1_AB,   "mod.l" },
    18.5      { 0x34, GGX_F1_AB,   "umod.l" },
    18.6      { 0x35, GGX_F1_NARG, "brk" },
    18.7 -    { 0x36, GGX_F1_NARG, "bad" },
    18.8 -    { 0x37, GGX_F1_NARG, "bad" },
    18.9 -    { 0x38, GGX_F1_NARG, "bad" },
   18.10 -    { 0x39, GGX_F1_NARG, "bad" },
   18.11 +    { 0x36, GGX_F1_ABi4, "ldo.b" },
   18.12 +    { 0x37, GGX_F1_AiB4, "sto.b" },
   18.13 +    { 0x38, GGX_F1_ABi4, "ldo.s" },
   18.14 +    { 0x39, GGX_F1_AiB4, "sto.s" },
   18.15      { 0x3a, GGX_F1_NARG, "bad" },
   18.16      { 0x3b, GGX_F1_NARG, "bad" },
   18.17      { 0x3c, GGX_F1_NARG, "bad" },
    19.1 --- a/src/sim/ggx/ChangeLog	Wed Oct 01 11:51:50 2008 -0700
    19.2 +++ b/src/sim/ggx/ChangeLog	Fri Oct 03 10:02:40 2008 -0700
    19.3 @@ -1,3 +1,7 @@
    19.4 +2008-10-03  Anthony Green  <green@spindazzle.org>
    19.5 +
    19.6 +	* interp.c (sim_resume): Add support for ldo.b, sto.b, ldo.s, sto.s.
    19.7 +
    19.8  2008-09-10  Anthony Green  <green@spindazzle.org>
    19.9  
   19.10  	* interp.c (NUM_GGX_SREGS): New.
    20.1 --- a/src/sim/ggx/interp.c	Wed Oct 01 11:51:50 2008 -0700
    20.2 +++ b/src/sim/ggx/interp.c	Fri Oct 03 10:02:40 2008 -0700
    20.3 @@ -619,12 +619,12 @@
    20.4  		pc += 4;
    20.5  	      }
    20.6  	      break;
    20.7 -	    case 0x0d: /* sto.w */
    20.8 +	    case 0x0d: /* sto.l */
    20.9  	      {
   20.10  		unsigned int addr = EXTRACT_WORD(&memory[pc+2]);
   20.11  		int a = (inst >> 4) & 0xf;
   20.12  		int b = inst & 0xf;
   20.13 -		TRACE("sto.w");
   20.14 +		TRACE("sto.l");
   20.15  		addr += cpu.asregs.regs[a];
   20.16  		wlat(opc, addr, cpu.asregs.regs[b]);
   20.17  		pc += 4;
   20.18 @@ -1098,6 +1098,50 @@
   20.19  	      cpu.asregs.exception = SIGTRAP;
   20.20  	      pc -= 2; /* Adjust pc */
   20.21  	      break;
   20.22 +	    case 0x36: /* ldo.b */
   20.23 +	      {
   20.24 +		unsigned int addr = EXTRACT_WORD(&memory[pc+2]);
   20.25 +		int a = (inst >> 4) & 0xf;
   20.26 +		int b = inst & 0xf;
   20.27 +		TRACE("ldo.b");
   20.28 +		addr += cpu.asregs.regs[b];
   20.29 +		cpu.asregs.regs[a] = rbat(opc, addr);
   20.30 +		pc += 4;
   20.31 +	      }
   20.32 +	      break;
   20.33 +	    case 0x37: /* sto.b */
   20.34 +	      {
   20.35 +		unsigned int addr = EXTRACT_WORD(&memory[pc+2]);
   20.36 +		int a = (inst >> 4) & 0xf;
   20.37 +		int b = inst & 0xf;
   20.38 +		TRACE("sto.b");
   20.39 +		addr += cpu.asregs.regs[a];
   20.40 +		wbat(opc, addr, cpu.asregs.regs[b]);
   20.41 +		pc += 4;
   20.42 +	      }
   20.43 +	      break;
   20.44 +	    case 0x38: /* ldo.s */
   20.45 +	      {
   20.46 +		unsigned int addr = EXTRACT_WORD(&memory[pc+2]);
   20.47 +		int a = (inst >> 4) & 0xf;
   20.48 +		int b = inst & 0xf;
   20.49 +		TRACE("ldo.s");
   20.50 +		addr += cpu.asregs.regs[b];
   20.51 +		cpu.asregs.regs[a] = rsat(opc, addr);
   20.52 +		pc += 4;
   20.53 +	      }
   20.54 +	      break;
   20.55 +	    case 0x39: /* sto.s */
   20.56 +	      {
   20.57 +		unsigned int addr = EXTRACT_WORD(&memory[pc+2]);
   20.58 +		int a = (inst >> 4) & 0xf;
   20.59 +		int b = inst & 0xf;
   20.60 +		TRACE("sto.s");
   20.61 +		addr += cpu.asregs.regs[a];
   20.62 +		wsat(opc, addr, cpu.asregs.regs[b]);
   20.63 +		pc += 4;
   20.64 +	      }
   20.65 +	      break;
   20.66  	    default:
   20.67  	      TRACE("SIGILL");
   20.68  	      cpu.asregs.exception = SIGILL;