Only in /root/fuzz/zzuf-0.12: abc
Only in /root/fuzz/zzuf-0.12: abc~
Only in /root/project/zzuf-0.12: aclocal.m4
Only in /root/fuzz/zzuf-0.12: authors
diff -crB /root/project/zzuf-0.12/.auto/config.guess /root/fuzz/zzuf-0.12/.auto/config.guess
*** /root/project/zzuf-0.12/.auto/config.guess	2008-02-18 01:40:30.000000000 +0530
--- /root/fuzz/zzuf-0.12/.auto/config.guess	2007-04-05 19:50:16.000000000 +0530
***************
*** 1,10 ****
  #! /bin/sh
  # Attempt to guess a canonical system name.
  #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
! #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
! #   Free Software Foundation, Inc.
  
! timestamp='2008-01-23'
  
  # This file is free software; you can redistribute it and/or modify it
  # under the terms of the GNU General Public License as published by
--- 1,10 ----
  #! /bin/sh
  # Attempt to guess a canonical system name.
  #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
! #   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
! #   Inc.
  
! timestamp='2006-07-02'
  
  # This file is free software; you can redistribute it and/or modify it
  # under the terms of the GNU General Public License as published by
***************
*** 56,63 ****
  GNU config.guess ($timestamp)
  
  Originally written by Per Bothner.
! Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
! 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  
  This is free software; see the source for copying conditions.  There is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
--- 56,63 ----
  GNU config.guess ($timestamp)
  
  Originally written by Per Bothner.
! Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
! Free Software Foundation, Inc.
  
  This is free software; see the source for copying conditions.  There is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
***************
*** 161,167 ****
  	    arm*) machine=arm-unknown ;;
  	    sh3el) machine=shl-unknown ;;
  	    sh3eb) machine=sh-unknown ;;
- 	    sh5el) machine=sh5le-unknown ;;
  	    *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
  	esac
  	# The Operating System including object format, if it has switched
--- 161,166 ----
***************
*** 330,336 ****
      sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
  	echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  	exit ;;
!     i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
  	echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  	exit ;;
      sun4*:SunOS:6*:*)
--- 329,335 ----
      sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
  	echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  	exit ;;
!     i86pc:SunOS:5.*:*)
  	echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  	exit ;;
      sun4*:SunOS:6*:*)
***************
*** 532,538 ****
  		echo rs6000-ibm-aix3.2
  	fi
  	exit ;;
!     *:AIX:*:[456])
  	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
  	if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
  		IBM_ARCH=rs6000
--- 531,537 ----
  		echo rs6000-ibm-aix3.2
  	fi
  	exit ;;
!     *:AIX:*:[45])
  	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
  	if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
  		IBM_ARCH=rs6000
***************
*** 781,787 ****
      i*:CYGWIN*:*)
  	echo ${UNAME_MACHINE}-pc-cygwin
  	exit ;;
!     *:MINGW*:*)
  	echo ${UNAME_MACHINE}-pc-mingw32
  	exit ;;
      i*:windows32*:*)
--- 780,786 ----
      i*:CYGWIN*:*)
  	echo ${UNAME_MACHINE}-pc-cygwin
  	exit ;;
!     i*:MINGW*:*)
  	echo ${UNAME_MACHINE}-pc-mingw32
  	exit ;;
      i*:windows32*:*)
***************
*** 791,808 ****
      i*:PW*:*)
  	echo ${UNAME_MACHINE}-pc-pw32
  	exit ;;
!     *:Interix*:[3456]*)
!     	case ${UNAME_MACHINE} in
! 	    x86)
! 		echo i586-pc-interix${UNAME_RELEASE}
! 		exit ;;
! 	    EM64T | authenticamd)
! 		echo x86_64-unknown-interix${UNAME_RELEASE}
! 		exit ;;
! 	    IA64)
! 		echo ia64-unknown-interix${UNAME_RELEASE}
! 		exit ;;
! 	esac ;;
      [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
  	echo i${UNAME_MACHINE}-pc-mks
  	exit ;;
--- 790,801 ----
      i*:PW*:*)
  	echo ${UNAME_MACHINE}-pc-pw32
  	exit ;;
!     x86:Interix*:[3456]*)
! 	echo i586-pc-interix${UNAME_RELEASE}
! 	exit ;;
!     EM64T:Interix*:[3456]*)
! 	echo x86_64-unknown-interix${UNAME_RELEASE}
! 	exit ;;
      [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
  	echo i${UNAME_MACHINE}-pc-mks
  	exit ;;
***************
*** 836,849 ****
  	echo ${UNAME_MACHINE}-pc-minix
  	exit ;;
      arm*:Linux:*:*)
! 	eval $set_cc_for_build
! 	if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
! 	    | grep -q __ARM_EABI__
! 	then
! 	    echo ${UNAME_MACHINE}-unknown-linux-gnu
! 	else
! 	    echo ${UNAME_MACHINE}-unknown-linux-gnueabi
! 	fi
  	exit ;;
      avr32*:Linux:*:*)
  	echo ${UNAME_MACHINE}-unknown-linux-gnu
--- 829,835 ----
  	echo ${UNAME_MACHINE}-pc-minix
  	exit ;;
      arm*:Linux:*:*)
! 	echo ${UNAME_MACHINE}-unknown-linux-gnu
  	exit ;;
      avr32*:Linux:*:*)
  	echo ${UNAME_MACHINE}-unknown-linux-gnu
***************
*** 964,972 ****
      x86_64:Linux:*:*)
  	echo x86_64-unknown-linux-gnu
  	exit ;;
-     xtensa*:Linux:*:*)
-     	echo ${UNAME_MACHINE}-unknown-linux-gnu
- 	exit ;;
      i*86:Linux:*:*)
  	# The BFD linker knows what the default object file format is, so
  	# first see if it will tell us. cd to the root directory to prevent
--- 950,955 ----
***************
*** 1225,1239 ****
      SX-6:SUPER-UX:*:*)
  	echo sx6-nec-superux${UNAME_RELEASE}
  	exit ;;
-     SX-7:SUPER-UX:*:*)
- 	echo sx7-nec-superux${UNAME_RELEASE}
- 	exit ;;
-     SX-8:SUPER-UX:*:*)
- 	echo sx8-nec-superux${UNAME_RELEASE}
- 	exit ;;
-     SX-8R:SUPER-UX:*:*)
- 	echo sx8r-nec-superux${UNAME_RELEASE}
- 	exit ;;
      Power*:Rhapsody:*:*)
  	echo powerpc-apple-rhapsody${UNAME_RELEASE}
  	exit ;;
--- 1208,1213 ----
***************
*** 1484,1492 ****
  the operating system you are using. It is advised that you
  download the most up to date version of the config scripts from
  
!   http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
  and
!   http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
  
  If the version you run ($0) is already up to date, please
  send the following data and any information you think might be
--- 1458,1466 ----
  the operating system you are using. It is advised that you
  download the most up to date version of the config scripts from
  
!   http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
  and
!   http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
  
  If the version you run ($0) is already up to date, please
  send the following data and any information you think might be
diff -crB /root/project/zzuf-0.12/.auto/config.sub /root/fuzz/zzuf-0.12/.auto/config.sub
*** /root/project/zzuf-0.12/.auto/config.sub	2008-02-18 01:40:30.000000000 +0530
--- /root/fuzz/zzuf-0.12/.auto/config.sub	2007-04-05 19:50:16.000000000 +0530
***************
*** 1,10 ****
  #! /bin/sh
  # Configuration validation subroutine script.
  #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
! #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
! #   Free Software Foundation, Inc.
  
! timestamp='2008-01-16'
  
  # This file is (in principle) common to ALL GNU software.
  # The presence of a machine in this file suggests that SOME GNU software
--- 1,10 ----
  #! /bin/sh
  # Configuration validation subroutine script.
  #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
! #   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
! #   Inc.
  
! timestamp='2006-09-20'
  
  # This file is (in principle) common to ALL GNU software.
  # The presence of a machine in this file suggests that SOME GNU software
***************
*** 72,79 ****
  version="\
  GNU config.sub ($timestamp)
  
! Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
! 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  
  This is free software; see the source for copying conditions.  There is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
--- 72,79 ----
  version="\
  GNU config.sub ($timestamp)
  
! Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
! Free Software Foundation, Inc.
  
  This is free software; see the source for copying conditions.  There is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
***************
*** 245,256 ****
  	| bfin \
  	| c4x | clipper \
  	| d10v | d30v | dlx | dsp16xx \
! 	| fido | fr30 | frv \
  	| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
  	| i370 | i860 | i960 | ia64 \
  	| ip2k | iq2000 \
  	| m32c | m32r | m32rle | m68000 | m68k | m88k \
! 	| maxq | mb | microblaze | mcore | mep \
  	| mips | mipsbe | mipseb | mipsel | mipsle \
  	| mips16 \
  	| mips64 | mips64el \
--- 245,256 ----
  	| bfin \
  	| c4x | clipper \
  	| d10v | d30v | dlx | dsp16xx \
! 	| fr30 | frv \
  	| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
  	| i370 | i860 | i960 | ia64 \
  	| ip2k | iq2000 \
  	| m32c | m32r | m32rle | m68000 | m68k | m88k \
! 	| maxq | mb | microblaze | mcore \
  	| mips | mipsbe | mipseb | mipsel | mipsle \
  	| mips16 \
  	| mips64 | mips64el \
***************
*** 324,330 ****
  	| clipper-* | craynv-* | cydra-* \
  	| d10v-* | d30v-* | dlx-* \
  	| elxsi-* \
! 	| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
  	| h8300-* | h8500-* \
  	| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
  	| i*86-* | i860-* | i960-* | ia64-* \
--- 324,330 ----
  	| clipper-* | craynv-* | cydra-* \
  	| d10v-* | d30v-* | dlx-* \
  	| elxsi-* \
! 	| f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
  	| h8300-* | h8500-* \
  	| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
  	| i*86-* | i860-* | i960-* | ia64-* \
***************
*** 369,382 ****
  	| v850-* | v850e-* | vax-* \
  	| we32k-* \
  	| x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
! 	| xstormy16-* | xtensa*-* \
  	| ymp-* \
  	| z8k-*)
  		;;
- 	# Recognize the basic CPU types without company name, with glob match.
- 	xtensa*)
- 		basic_machine=$basic_machine-unknown
- 		;;
  	# Recognize the various machine names and aliases which stand
  	# for a CPU type and a company and sometimes even an OS.
  	386bsd)
--- 369,378 ----
  	| v850-* | v850e-* | vax-* \
  	| we32k-* \
  	| x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
! 	| xstormy16-* | xtensa-* \
  	| ymp-* \
  	| z8k-*)
  		;;
  	# Recognize the various machine names and aliases which stand
  	# for a CPU type and a company and sometimes even an OS.
  	386bsd)
***************
*** 447,460 ****
  		basic_machine=ns32k-sequent
  		os=-dynix
  		;;
- 	blackfin)
- 		basic_machine=bfin-unknown
- 		os=-linux
- 		;;
- 	blackfin-*)
- 		basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
- 		os=-linux
- 		;;
  	c90)
  		basic_machine=c90-cray
  		os=-unicos
--- 443,448 ----
***************
*** 487,494 ****
  		basic_machine=craynv-cray
  		os=-unicosmp
  		;;
! 	cr16)
! 		basic_machine=cr16-unknown
  		os=-elf
  		;;
  	crds | unos)
--- 475,482 ----
  		basic_machine=craynv-cray
  		os=-unicosmp
  		;;
! 	cr16c)
! 		basic_machine=cr16c-unknown
  		os=-elf
  		;;
  	crds | unos)
***************
*** 680,693 ****
  		basic_machine=m68k-isi
  		os=-sysv
  		;;
- 	m68knommu)
- 		basic_machine=m68k-unknown
- 		os=-linux
- 		;;
- 	m68knommu-*)
- 		basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
- 		os=-linux
- 		;;
  	m88k-omron*)
  		basic_machine=m88k-omron
  		;;
--- 668,673 ----
***************
*** 703,712 ****
  		basic_machine=i386-pc
  		os=-mingw32
  		;;
- 	mingw32ce)
- 		basic_machine=arm-unknown
- 		os=-mingw32ce
- 		;;
  	miniframe)
  		basic_machine=m68000-convergent
  		;;
--- 683,688 ----
***************
*** 833,846 ****
  		basic_machine=i860-intel
  		os=-osf
  		;;
- 	parisc)
- 		basic_machine=hppa-unknown
- 		os=-linux
- 		;;
- 	parisc-*)
- 		basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
- 		os=-linux
- 		;;
  	pbd)
  		basic_machine=sparc-tti
  		;;
--- 809,814 ----
***************
*** 957,965 ****
  		basic_machine=sh-hitachi
  		os=-hms
  		;;
- 	sh5el)
- 		basic_machine=sh5le-unknown
- 		;;
  	sh64)
  		basic_machine=sh64-unknown
  		;;
--- 925,930 ----
***************
*** 1049,1058 ****
  		basic_machine=tic6x-unknown
  		os=-coff
  		;;
- 	tile*)
- 		basic_machine=tile-unknown
- 		os=-linux-gnu
- 		;;
  	tx39)
  		basic_machine=mipstx39-unknown
  		;;
--- 1014,1019 ----
***************
*** 1258,1264 ****
  	      | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
  	      | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
  	      | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
! 	      | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
  	# Remember, each alternative MUST END IN *, to match a version number.
  		;;
  	-qnx*)
--- 1219,1225 ----
  	      | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
  	      | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
  	      | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
! 	      | -skyos* | -haiku* | -rdos* | -toppers*)
  	# Remember, each alternative MUST END IN *, to match a version number.
  		;;
  	-qnx*)
***************
*** 1453,1461 ****
  	m68*-cisco)
  		os=-aout
  		;;
-         mep-*)
- 		os=-elf
- 		;;
  	mips*-cisco)
  		os=-elf
  		;;
--- 1414,1419 ----
diff -crB /root/project/zzuf-0.12/.auto/depcomp /root/fuzz/zzuf-0.12/.auto/depcomp
*** /root/project/zzuf-0.12/.auto/depcomp	2008-06-13 16:39:30.000000000 +0530
--- /root/fuzz/zzuf-0.12/.auto/depcomp	2009-01-13 03:20:20.000000000 +0530
***************
*** 1,9 ****
  #! /bin/sh
  # depcomp - compile a program generating dependencies as side-effects
  
! scriptversion=2007-03-29.01
  
! # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software
  # Foundation, Inc.
  
  # This program is free software; you can redistribute it and/or modify
--- 1,9 ----
  #! /bin/sh
  # depcomp - compile a program generating dependencies as side-effects
  
! scriptversion=2006-10-15.18
  
! # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Free Software
  # Foundation, Inc.
  
  # This program is free software; you can redistribute it and/or modify
***************
*** 215,253 ****
    # current directory.  Also, the AIX compiler puts `$object:' at the
    # start of each line; $object doesn't have directory information.
    # Version 6 uses the directory in both cases.
!   dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
!   test "x$dir" = "x$object" && dir=
!   base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
    if test "$libtool" = yes; then
-     tmpdepfile1=$dir$base.u
-     tmpdepfile2=$base.u
-     tmpdepfile3=$dir.libs/$base.u
      "$@" -Wc,-M
    else
-     tmpdepfile1=$dir$base.u
-     tmpdepfile2=$dir$base.u
-     tmpdepfile3=$dir$base.u
      "$@" -M
    fi
    stat=$?
  
    if test $stat -eq 0; then :
    else
!     rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
      exit $stat
    fi
  
-   for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
-   do
-     test -f "$tmpdepfile" && break
-   done
    if test -f "$tmpdepfile"; then
      # Each line is of the form `foo.o: dependent.h'.
      # Do two passes, one to just change these to
      # `$object: dependent.h' and one to simply `dependent.h:'.
!     sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
!     # That's a tab and a space in the [].
!     sed -e 's,^.*\.[a-z]*:[	 ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
    else
      # The sourcefile does not contain any dependencies, so just
      # store a dummy comment line, to avoid errors with the Makefile
--- 215,248 ----
    # current directory.  Also, the AIX compiler puts `$object:' at the
    # start of each line; $object doesn't have directory information.
    # Version 6 uses the directory in both cases.
!   stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
!   tmpdepfile="$stripped.u"
    if test "$libtool" = yes; then
      "$@" -Wc,-M
    else
      "$@" -M
    fi
    stat=$?
  
+   if test -f "$tmpdepfile"; then :
+   else
+     stripped=`echo "$stripped" | sed 's,^.*/,,'`
+     tmpdepfile="$stripped.u"
+   fi
+ 
    if test $stat -eq 0; then :
    else
!     rm -f "$tmpdepfile"
      exit $stat
    fi
  
    if test -f "$tmpdepfile"; then
+     outname="$stripped.o"
      # Each line is of the form `foo.o: dependent.h'.
      # Do two passes, one to just change these to
      # `$object: dependent.h' and one to simply `dependent.h:'.
!     sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
!     sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
    else
      # The sourcefile does not contain any dependencies, so just
      # store a dummy comment line, to avoid errors with the Makefile
diff -crB /root/project/zzuf-0.12/.auto/install-sh /root/fuzz/zzuf-0.12/.auto/install-sh
*** /root/project/zzuf-0.12/.auto/install-sh	2008-06-13 16:39:30.000000000 +0530
--- /root/fuzz/zzuf-0.12/.auto/install-sh	2009-01-13 03:20:20.000000000 +0530
***************
*** 1,7 ****
  #!/bin/sh
  # install - install a program, script, or datafile
  
! scriptversion=2006-12-25.00
  
  # This originates from X11R5 (mit/util/scripts/install.sh), which was
  # later released in X11R6 (xc/config/util/install.sh) with the
--- 1,7 ----
  #!/bin/sh
  # install - install a program, script, or datafile
  
! scriptversion=2006-10-14.15
  
  # This originates from X11R5 (mit/util/scripts/install.sh), which was
  # later released in X11R6 (xc/config/util/install.sh) with the
***************
*** 48,54 ****
  # set DOITPROG to echo to test this script
  
  # Don't use :- since 4.3BSD and earlier shells don't like it.
! doit=${DOITPROG-}
  if test -z "$doit"; then
    doit_exec=exec
  else
--- 48,54 ----
  # set DOITPROG to echo to test this script
  
  # Don't use :- since 4.3BSD and earlier shells don't like it.
! doit="${DOITPROG-}"
  if test -z "$doit"; then
    doit_exec=exec
  else
***************
*** 58,106 ****
  # Put in absolute file names if you don't have them in your path;
  # or use environment vars.
  
! chgrpprog=${CHGRPPROG-chgrp}
! chmodprog=${CHMODPROG-chmod}
! chownprog=${CHOWNPROG-chown}
! cmpprog=${CMPPROG-cmp}
! cpprog=${CPPROG-cp}
! mkdirprog=${MKDIRPROG-mkdir}
! mvprog=${MVPROG-mv}
! rmprog=${RMPROG-rm}
! stripprog=${STRIPPROG-strip}
! 
! posix_glob='?'
! initialize_posix_glob='
!   test "$posix_glob" != "?" || {
!     if (set -f) 2>/dev/null; then
!       posix_glob=
!     else
!       posix_glob=:
!     fi
!   }
! '
  
  posix_mkdir=
  
  # Desired mode of installed file.
  mode=0755
  
- chgrpcmd=
  chmodcmd=$chmodprog
  chowncmd=
! mvcmd=$mvprog
! rmcmd="$rmprog -f"
  stripcmd=
! 
  src=
  dst=
  dir_arg=
! dst_arg=
! 
! copy_on_change=false
  no_target_directory=
  
! usage="\
! Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
     or: $0 [OPTION]... SRCFILES... DIRECTORY
     or: $0 [OPTION]... -t DIRECTORY SRCFILES...
     or: $0 [OPTION]... -d DIRECTORIES...
--- 58,91 ----
  # Put in absolute file names if you don't have them in your path;
  # or use environment vars.
  
! mvprog="${MVPROG-mv}"
! cpprog="${CPPROG-cp}"
! chmodprog="${CHMODPROG-chmod}"
! chownprog="${CHOWNPROG-chown}"
! chgrpprog="${CHGRPPROG-chgrp}"
! stripprog="${STRIPPROG-strip}"
! rmprog="${RMPROG-rm}"
! mkdirprog="${MKDIRPROG-mkdir}"
  
+ posix_glob=
  posix_mkdir=
  
  # Desired mode of installed file.
  mode=0755
  
  chmodcmd=$chmodprog
  chowncmd=
! chgrpcmd=
  stripcmd=
! rmcmd="$rmprog -f"
! mvcmd="$mvprog"
  src=
  dst=
  dir_arg=
! dstarg=
  no_target_directory=
  
! usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
     or: $0 [OPTION]... SRCFILES... DIRECTORY
     or: $0 [OPTION]... -t DIRECTORY SRCFILES...
     or: $0 [OPTION]... -d DIRECTORIES...
***************
*** 110,164 ****
  In the 4th, create DIRECTORIES.
  
  Options:
!      --help     display this help and exit.
!      --version  display version info and exit.
! 
!   -c            (ignored)
!   -C            install only if different (preserve the last data modification time)
!   -d            create directories instead of installing files.
!   -g GROUP      $chgrpprog installed files to GROUP.
!   -m MODE       $chmodprog installed files to MODE.
!   -o USER       $chownprog installed files to USER.
!   -s            $stripprog installed files.
!   -t DIRECTORY  install into DIRECTORY.
!   -T            report an error if DSTFILE is a directory.
  
  Environment variables override the default commands:
!   CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
!   RMPROG STRIPPROG
  "
  
  while test $# -ne 0; do
    case $1 in
!     -c) ;;
! 
!     -C) copy_on_change=true;;
  
!     -d) dir_arg=true;;
  
      -g) chgrpcmd="$chgrpprog $2"
! 	shift;;
  
      --help) echo "$usage"; exit $?;;
  
      -m) mode=$2
  	case $mode in
  	  *' '* | *'	'* | *'
  '*	  | *'*'* | *'?'* | *'['*)
  	    echo "$0: invalid mode: $mode" >&2
  	    exit 1;;
  	esac
! 	shift;;
  
      -o) chowncmd="$chownprog $2"
! 	shift;;
! 
!     -s) stripcmd=$stripprog;;
! 
!     -t) dst_arg=$2
! 	shift;;
! 
!     -T) no_target_directory=true;;
  
      --version) echo "$0 $scriptversion"; exit $?;;
  
--- 95,159 ----
  In the 4th, create DIRECTORIES.
  
  Options:
! -c         (ignored)
! -d         create directories instead of installing files.
! -g GROUP   $chgrpprog installed files to GROUP.
! -m MODE    $chmodprog installed files to MODE.
! -o USER    $chownprog installed files to USER.
! -s         $stripprog installed files.
! -t DIRECTORY  install into DIRECTORY.
! -T         report an error if DSTFILE is a directory.
! --help     display this help and exit.
! --version  display version info and exit.
  
  Environment variables override the default commands:
!   CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
  "
  
  while test $# -ne 0; do
    case $1 in
!     -c) shift
!         continue;;
  
!     -d) dir_arg=true
!         shift
!         continue;;
  
      -g) chgrpcmd="$chgrpprog $2"
!         shift
!         shift
!         continue;;
  
      --help) echo "$usage"; exit $?;;
  
      -m) mode=$2
+         shift
+         shift
  	case $mode in
  	  *' '* | *'	'* | *'
  '*	  | *'*'* | *'?'* | *'['*)
  	    echo "$0: invalid mode: $mode" >&2
  	    exit 1;;
  	esac
!         continue;;
  
      -o) chowncmd="$chownprog $2"
!         shift
!         shift
!         continue;;
! 
!     -s) stripcmd=$stripprog
!         shift
!         continue;;
! 
!     -t) dstarg=$2
! 	shift
! 	shift
! 	continue;;
! 
!     -T) no_target_directory=true
! 	shift
! 	continue;;
  
      --version) echo "$0 $scriptversion"; exit $?;;
  
***************
*** 170,191 ****
  
      *)  break;;
    esac
-   shift
  done
  
! if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
    # When -d is used, all remaining arguments are directories to create.
    # When -t is used, the destination is already specified.
    # Otherwise, the last argument is the destination.  Remove it from $@.
    for arg
    do
!     if test -n "$dst_arg"; then
        # $@ is not empty: it contains at least $arg.
!       set fnord "$@" "$dst_arg"
        shift # fnord
      fi
      shift # arg
!     dst_arg=$arg
    done
  fi
  
--- 165,185 ----
  
      *)  break;;
    esac
  done
  
! if test $# -ne 0 && test -z "$dir_arg$dstarg"; then
    # When -d is used, all remaining arguments are directories to create.
    # When -t is used, the destination is already specified.
    # Otherwise, the last argument is the destination.  Remove it from $@.
    for arg
    do
!     if test -n "$dstarg"; then
        # $@ is not empty: it contains at least $arg.
!       set fnord "$@" "$dstarg"
        shift # fnord
      fi
      shift # arg
!     dstarg=$arg
    done
  fi
  
***************
*** 230,236 ****
  do
    # Protect names starting with `-'.
    case $src in
!     -*) src=./$src;;
    esac
  
    if test -n "$dir_arg"; then
--- 224,230 ----
  do
    # Protect names starting with `-'.
    case $src in
!     -*) src=./$src ;;
    esac
  
    if test -n "$dir_arg"; then
***************
*** 248,269 ****
        exit 1
      fi
  
!     if test -z "$dst_arg"; then
        echo "$0: no destination specified." >&2
        exit 1
      fi
  
!     dst=$dst_arg
      # Protect names starting with `-'.
      case $dst in
!       -*) dst=./$dst;;
      esac
  
      # If destination is a directory, append the input filename; won't work
      # if double slashes aren't ignored.
      if test -d "$dst"; then
        if test -n "$no_target_directory"; then
! 	echo "$0: $dst_arg: Is a directory" >&2
  	exit 1
        fi
        dstdir=$dst
--- 242,263 ----
        exit 1
      fi
  
!     if test -z "$dstarg"; then
        echo "$0: no destination specified." >&2
        exit 1
      fi
  
!     dst=$dstarg
      # Protect names starting with `-'.
      case $dst in
!       -*) dst=./$dst ;;
      esac
  
      # If destination is a directory, append the input filename; won't work
      # if double slashes aren't ignored.
      if test -d "$dst"; then
        if test -n "$no_target_directory"; then
! 	echo "$0: $dstarg: Is a directory" >&2
  	exit 1
        fi
        dstdir=$dst
***************
*** 384,402 ****
        # directory the slow way, step by step, checking for races as we go.
  
        case $dstdir in
! 	/*) prefix='/';;
! 	-*) prefix='./';;
! 	*)  prefix='';;
        esac
  
!       eval "$initialize_posix_glob"
  
        oIFS=$IFS
        IFS=/
!       $posix_glob set -f
        set fnord $dstdir
        shift
!       $posix_glob set +f
        IFS=$oIFS
  
        prefixes=
--- 378,403 ----
        # directory the slow way, step by step, checking for races as we go.
  
        case $dstdir in
! 	/*) prefix=/ ;;
! 	-*) prefix=./ ;;
! 	*)  prefix= ;;
        esac
  
!       case $posix_glob in
!         '')
! 	  if (set -f) 2>/dev/null; then
! 	    posix_glob=true
! 	  else
! 	    posix_glob=false
! 	  fi ;;
!       esac
  
        oIFS=$IFS
        IFS=/
!       $posix_glob && set -f
        set fnord $dstdir
        shift
!       $posix_glob && set +f
        IFS=$oIFS
  
        prefixes=
***************
*** 458,511 ****
      # ignore errors from any of these, just make sure not to ignore
      # errors from the above "$doit $cpprog $src $dsttmp" command.
      #
!     { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
!     { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
!     { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
!     { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
! 
!     # If -C, don't bother to copy if it wouldn't change the file.
!     if $copy_on_change &&
!        old=`LC_ALL=C ls -dlL "$dst"	2>/dev/null` &&
!        new=`LC_ALL=C ls -dlL "$dsttmp"	2>/dev/null` &&
! 
!        eval "$initialize_posix_glob" &&
!        $posix_glob set -f &&
!        set X $old && old=:$2:$4:$5:$6 &&
!        set X $new && new=:$2:$4:$5:$6 &&
!        $posix_glob set +f &&
! 
!        test "$old" = "$new" &&
!        $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
!     then
!       rm -f "$dsttmp"
!     else
!       # Rename the file to the real destination.
!       $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
! 
!       # The rename failed, perhaps because mv can't rename something else
!       # to itself, or perhaps because mv is so ancient that it does not
!       # support -f.
!       {
! 	# Now remove or move aside any old file at destination location.
! 	# We try this two ways since rm can't unlink itself on some
! 	# systems and the destination file might be busy for other
! 	# reasons.  In this case, the final cleanup might fail but the new
! 	# file should still install successfully.
! 	{
! 	  test ! -f "$dst" ||
! 	  $doit $rmcmd -f "$dst" 2>/dev/null ||
! 	  { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
! 	    { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
! 	  } ||
! 	  { echo "$0: cannot unlink or rename $dst" >&2
! 	    (exit 1); exit 1
! 	  }
! 	} &&
! 
! 	# Now rename the file to the real destination.
! 	$doit $mvcmd "$dsttmp" "$dst"
!       }
!     fi || exit 1
  
      trap '' 0
    fi
--- 459,499 ----
      # ignore errors from any of these, just make sure not to ignore
      # errors from the above "$doit $cpprog $src $dsttmp" command.
      #
!     { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
!       && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
!       && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
!       && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
! 
!     # Now rename the file to the real destination.
!     { $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null \
!       || {
! 	   # The rename failed, perhaps because mv can't rename something else
! 	   # to itself, or perhaps because mv is so ancient that it does not
! 	   # support -f.
! 
! 	   # Now remove or move aside any old file at destination location.
! 	   # We try this two ways since rm can't unlink itself on some
! 	   # systems and the destination file might be busy for other
! 	   # reasons.  In this case, the final cleanup might fail but the new
! 	   # file should still install successfully.
! 	   {
! 	     if test -f "$dst"; then
! 	       $doit $rmcmd -f "$dst" 2>/dev/null \
! 	       || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null \
! 		     && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }; }\
! 	       || {
! 		 echo "$0: cannot unlink or rename $dst" >&2
! 		 (exit 1); exit 1
! 	       }
! 	     else
! 	       :
! 	     fi
! 	   } &&
! 
! 	   # Now rename the file to the real destination.
! 	   $doit $mvcmd "$dsttmp" "$dst"
! 	 }
!     } || exit 1
  
      trap '' 0
    fi
diff -crB /root/project/zzuf-0.12/.auto/ltmain.sh /root/fuzz/zzuf-0.12/.auto/ltmain.sh
*** /root/project/zzuf-0.12/.auto/ltmain.sh	2008-04-30 01:51:21.000000000 +0530
--- /root/fuzz/zzuf-0.12/.auto/ltmain.sh	2007-04-05 19:50:16.000000000 +0530
***************
*** 1,8 ****
  # ltmain.sh - Provide generalized library-building support services.
  # NOTE: Changing this file will not affect anything until you rerun configure.
  #
! # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
! # 2007, 2008  Free Software Foundation, Inc.
  # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  #
  # This program is free software; you can redistribute it and/or modify
--- 1,8 ----
  # ltmain.sh - Provide generalized library-building support services.
  # NOTE: Changing this file will not affect anything until you rerun configure.
  #
! # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005
! # Free Software Foundation, Inc.
  # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  #
  # This program is free software; you can redistribute it and/or modify
***************
*** 43,50 ****
  
  PROGRAM=ltmain.sh
  PACKAGE=libtool
! VERSION="1.5.26 Debian 1.5.26-4"
! TIMESTAMP=" (1.1220.2.493 2008/02/01 16:58:18)"
  
  # Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
--- 43,50 ----
  
  PROGRAM=ltmain.sh
  PACKAGE=libtool
! VERSION=1.5.22
! TIMESTAMP=" (1.1220.2.365 2005/12/18 22:14:06)"
  
  # Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
***************
*** 57,64 ****
  else
    case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
  fi
- BIN_SH=xpg4; export BIN_SH # for Tru64
- DUALCASE=1; export DUALCASE # for MKS sh
  
  # Check that we have a working $echo.
  if test "X$1" = X--no-reexec; then
--- 57,62 ----
***************
*** 113,133 ****
  # These must not be set unconditionally because not all systems understand
  # e.g. LANG=C (notably SCO).
  # We save the old values to restore during execute mode.
! lt_env=
! for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
  do
    eval "if test \"\${$lt_var+set}\" = set; then
! 	  save_$lt_var=\$$lt_var
! 	  lt_env=\"$lt_var=\$$lt_var \$lt_env\"
! 	  $lt_var=C
! 	  export $lt_var
! 	fi"
  done
  
- if test -n "$lt_env"; then
-   lt_env="env $lt_env"
- fi
- 
  # Make sure IFS has a sensible default
  lt_nl='
  '
--- 111,125 ----
  # These must not be set unconditionally because not all systems understand
  # e.g. LANG=C (notably SCO).
  # We save the old values to restore during execute mode.
! for lt_var in LANG LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
  do
    eval "if test \"\${$lt_var+set}\" = set; then
!          save_$lt_var=\$$lt_var
!          $lt_var=C
!          export $lt_var
!        fi"
  done
  
  # Make sure IFS has a sensible default
  lt_nl='
  '
***************
*** 214,226 ****
      if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
        $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
        win32_nmres=`eval $NM -f posix -A $1 | \
! 	$SED -n -e '1,100{
! 		/ I /{
! 			s,.*,import,
! 			p
! 			q
! 			}
! 		}'`
        case $win32_nmres in
        import*)  win32_libid_type="x86 archive import";;
        *)        win32_libid_type="x86 archive static";;
--- 206,212 ----
      if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
        $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
        win32_nmres=`eval $NM -f posix -A $1 | \
! 	$SED -n -e '1,100{/ I /{s,.*,import,;p;q;};}'`
        case $win32_nmres in
        import*)  win32_libid_type="x86 archive import";;
        *)        win32_libid_type="x86 archive static";;
***************
*** 354,364 ****
        my_xlib_u=$my_xlib
        while :; do
          case " $extracted_archives " in
! 	*" $my_xlib_u "*)
! 	  extracted_serial=`expr $extracted_serial + 1`
! 	  my_xlib_u=lt$extracted_serial-$my_xlib ;;
! 	*) break ;;
! 	esac
        done
        extracted_archives="$extracted_archives $my_xlib_u"
        my_xdir="$my_gentop/$my_xlib_u"
--- 340,350 ----
        my_xlib_u=$my_xlib
        while :; do
          case " $extracted_archives " in
!        *" $my_xlib_u "*)
!          extracted_serial=`expr $extracted_serial + 1`
!          my_xlib_u=lt$extracted_serial-$my_xlib ;;
!        *) break ;;
!        esac
        done
        extracted_archives="$extracted_archives $my_xlib_u"
        my_xdir="$my_gentop/$my_xlib_u"
***************
*** 488,499 ****
      ;;
  
    --version)
!     echo "\
! $PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP
! 
! Copyright (C) 2008  Free Software Foundation, Inc.
! This is free software; see the source for copying conditions.  There is NO
! warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
      exit $?
      ;;
  
--- 474,484 ----
      ;;
  
    --version)
!     $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
!     $echo
!     $echo "Copyright (C) 2005  Free Software Foundation, Inc."
!     $echo "This is free software; see the source for copying conditions.  There is NO"
!     $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
      exit $?
      ;;
  
***************
*** 790,800 ****
      *.class) xform=class ;;
      *.cpp) xform=cpp ;;
      *.cxx) xform=cxx ;;
!     *.[fF][09]?) xform=[fF][09]. ;;
      *.for) xform=for ;;
      *.java) xform=java ;;
      *.obj) xform=obj ;;
-     *.sx) xform=sx ;;
      esac
  
      libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
--- 775,784 ----
      *.class) xform=class ;;
      *.cpp) xform=cpp ;;
      *.cxx) xform=cxx ;;
!     *.f90) xform=f90 ;;
      *.for) xform=for ;;
      *.java) xform=java ;;
      *.obj) xform=obj ;;
      esac
  
      libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
***************
*** 963,969 ****
        $run $rm "$lobj" "$output_obj"
  
        $show "$command"
!       if $run eval $lt_env "$command"; then :
        else
  	test -n "$output_obj" && $run $rm $removelist
  	exit $EXIT_FAILURE
--- 947,953 ----
        $run $rm "$lobj" "$output_obj"
  
        $show "$command"
!       if $run eval "$command"; then :
        else
  	test -n "$output_obj" && $run $rm $removelist
  	exit $EXIT_FAILURE
***************
*** 1035,1041 ****
        command="$command$suppress_output"
        $run $rm "$obj" "$output_obj"
        $show "$command"
!       if $run eval $lt_env "$command"; then :
        else
  	$run $rm $removelist
  	exit $EXIT_FAILURE
--- 1019,1025 ----
        command="$command$suppress_output"
        $run $rm "$obj" "$output_obj"
        $show "$command"
!       if $run eval "$command"; then :
        else
  	$run $rm $removelist
  	exit $EXIT_FAILURE
***************
*** 1168,1174 ****
      thread_safe=no
      vinfo=
      vinfo_number=no
-     single_module="${wl}-single_module"
  
      func_infer_tag $base_compile
  
--- 1152,1157 ----
***************
*** 1177,1184 ****
      do
        case $arg in
        -all-static | -static | -static-libtool-libs)
! 	case $arg in
! 	-all-static)
  	  if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
  	    $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2
  	  fi
--- 1160,1167 ----
      do
        case $arg in
        -all-static | -static | -static-libtool-libs)
!     case $arg in
!     -all-static)
  	  if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
  	    $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2
  	  fi
***************
*** 1187,1205 ****
  	  fi
  	  prefer_static_libs=yes
  	  ;;
! 	-static)
  	  if test -z "$pic_flag" && test -n "$link_static_flag"; then
  	    dlopen_self=$dlopen_self_static
  	  fi
  	  prefer_static_libs=built
  	  ;;
! 	-static-libtool-libs)
! 	  if test -z "$pic_flag" && test -n "$link_static_flag"; then
! 	    dlopen_self=$dlopen_self_static
! 	  fi
! 	  prefer_static_libs=yes
! 	  ;;
! 	esac
  	build_libtool_libs=no
  	build_old_libs=yes
  	break
--- 1170,1188 ----
  	  fi
  	  prefer_static_libs=yes
  	  ;;
!     -static)
  	  if test -z "$pic_flag" && test -n "$link_static_flag"; then
  	    dlopen_self=$dlopen_self_static
  	  fi
  	  prefer_static_libs=built
  	  ;;
!     -static-libtool-libs)
!       if test -z "$pic_flag" && test -n "$link_static_flag"; then
!         dlopen_self=$dlopen_self_static
!       fi
!       prefer_static_libs=yes
!       ;;
!     esac
  	build_libtool_libs=no
  	build_old_libs=yes
  	break
***************
*** 1647,1664 ****
  	continue
  	;;
  
!      -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
  	compiler_flags="$compiler_flags $arg"
  	compile_command="$compile_command $arg"
  	finalize_command="$finalize_command $arg"
  	continue
  	;;
  
-       -multi_module)
- 	single_module="${wl}-multi_module"
- 	continue
- 	;;
- 
        -module)
  	module=yes
  	continue
--- 1630,1642 ----
  	continue
  	;;
  
!      -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
  	compiler_flags="$compiler_flags $arg"
  	compile_command="$compile_command $arg"
  	finalize_command="$finalize_command $arg"
  	continue
  	;;
  
        -module)
  	module=yes
  	continue
***************
*** 1672,1682 ****
        # -m* pass through architecture-specific compiler args for GCC
        # -m*, -t[45]*, -txscale* pass through architecture-specific
        # compiler args for GCC
!       # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
!       # -F/path gives path to uninstalled frameworks, gcc on darwin
        # @file GCC response files
!       -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
!       -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
  
  	# Unknown arguments in both finalize_command and compile_command need
  	# to be aesthetically quoted because they are evaled later.
--- 1650,1659 ----
        # -m* pass through architecture-specific compiler args for GCC
        # -m*, -t[45]*, -txscale* pass through architecture-specific
        # compiler args for GCC
!       # -pg pass through profiling flag for GCC
        # @file GCC response files
!       -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*|-pg| \
!       -t[45]*|-txscale*|@*)
  
  	# Unknown arguments in both finalize_command and compile_command need
  	# to be aesthetically quoted because they are evaled later.
***************
*** 1704,1712 ****
  
        -no-install)
  	case $host in
! 	*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin*)
  	  # The PATH hackery in wrapper scripts is required on Windows
! 	  # and Darwin in order for the loader to find any dlls it needs.
  	  $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
  	  $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
  	  fast_install=no
--- 1681,1689 ----
  
        -no-install)
  	case $host in
! 	*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
  	  # The PATH hackery in wrapper scripts is required on Windows
! 	  # in order for the loader to find any dlls it needs.
  	  $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
  	  $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
  	  fast_install=no
***************
*** 2135,2144 ****
  	case $pass in
  	dlopen) libs="$dlfiles" ;;
  	dlpreopen) libs="$dlprefiles" ;;
! 	link)
! 	  libs="$deplibs %DEPLIBS%"
! 	  test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
! 	  ;;
  	esac
        fi
        if test "$pass" = dlopen; then
--- 2112,2118 ----
  	case $pass in
  	dlopen) libs="$dlfiles" ;;
  	dlpreopen) libs="$dlprefiles" ;;
! 	link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
  	esac
        fi
        if test "$pass" = dlopen; then
***************
*** 2150,2156 ****
  	lib=
  	found=no
  	case $deplib in
! 	-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
  	  if test "$linkmode,$pass" = "prog,link"; then
  	    compile_deplibs="$deplib $compile_deplibs"
  	    finalize_deplibs="$deplib $finalize_deplibs"
--- 2124,2130 ----
  	lib=
  	found=no
  	case $deplib in
! 	-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
  	  if test "$linkmode,$pass" = "prog,link"; then
  	    compile_deplibs="$deplib $compile_deplibs"
  	    finalize_deplibs="$deplib $finalize_deplibs"
***************
*** 2165,2176 ****
  	    continue
  	  fi
  	  name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
! 	  if test "$linkmode" = lib; then
! 	    searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path"
! 	  else
! 	    searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path"
! 	  fi
! 	  for searchdir in $searchdirs; do
  	    for search_ext in .la $std_shrext .so .a; do
  	      # Search the libtool library
  	      lib="$searchdir/lib${name}${search_ext}"
--- 2139,2145 ----
  	    continue
  	  fi
  	  name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
! 	  for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
  	    for search_ext in .la $std_shrext .so .a; do
  	      # Search the libtool library
  	      lib="$searchdir/lib${name}${search_ext}"
***************
*** 2551,2559 ****
  
  	if test "$linkmode,$pass" = "prog,link"; then
  	  if test -n "$library_names" &&
! 	     { { test "$prefer_static_libs" = no ||
! 		 test "$prefer_static_libs,$installed" = "built,yes"; } ||
! 	       test -z "$old_library"; }; then
  	    # We need to hardcode the library path
  	    if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
  	      # Make sure the rpath contains only unique directories.
--- 2520,2528 ----
  
  	if test "$linkmode,$pass" = "prog,link"; then
  	  if test -n "$library_names" &&
!          { { test "$prefer_static_libs" = no ||
!              test "$prefer_static_libs,$installed" = "built,yes"; } ||
!            test -z "$old_library"; }; then
  	    # We need to hardcode the library path
  	    if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
  	      # Make sure the rpath contains only unique directories.
***************
*** 2966,2983 ****
  		  # we do not want to link against static libs,
  		  # but need to link against shared
  		  eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
- 		  eval deplibdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
  		  if test -n "$deplibrary_names" ; then
  		    for tmp in $deplibrary_names ; do
  		      depdepl=$tmp
  		    done
! 		    if test -f "$deplibdir/$depdepl" ; then
! 		      depdepl="$deplibdir/$depdepl"
! 	      	    elif test -f "$path/$depdepl" ; then
  		      depdepl="$path/$depdepl"
- 		    else
- 		      # Can't find it, oh well...
- 		      depdepl=
  		    fi
  		    # do not add paths which are already there
  		    case " $newlib_search_path " in
--- 2935,2946 ----
  		  # we do not want to link against static libs,
  		  # but need to link against shared
  		  eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
  		  if test -n "$deplibrary_names" ; then
  		    for tmp in $deplibrary_names ; do
  		      depdepl=$tmp
  		    done
! 		    if test -f "$path/$depdepl" ; then
  		      depdepl="$path/$depdepl"
  		    fi
  		    # do not add paths which are already there
  		    case " $newlib_search_path " in
***************
*** 3125,3134 ****
  
      case $linkmode in
      oldlib)
!       case " $deplibs" in
!       *\ -l* | *\ -L*)
! 	$echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2 ;;
!       esac
  
        if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  	$echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
--- 3088,3096 ----
  
      case $linkmode in
      oldlib)
!       if test -n "$deplibs"; then
! 	$echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2
!       fi
  
        if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  	$echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
***************
*** 3267,3281 ****
  	    age="0"
  	    ;;
  	  irix|nonstopux)
! 	    current=`expr $number_major + $number_minor`
  	    age="$number_minor"
  	    revision="$number_minor"
- 	    lt_irix_increment=no
- 	    ;;
- 	  *)
- 	    $echo "$modename: unknown library version type \`$version_type'" 1>&2
- 	    $echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
- 	    exit $EXIT_FAILURE
  	    ;;
  	  esac
  	  ;;
--- 3229,3237 ----
  	    age="0"
  	    ;;
  	  irix|nonstopux)
! 	    current=`expr $number_major + $number_minor - 1`
  	    age="$number_minor"
  	    revision="$number_minor"
  	    ;;
  	  esac
  	  ;;
***************
*** 3334,3341 ****
  	  versuffix="$major.$age.$revision"
  	  # Darwin ld doesn't like 0 for these options...
  	  minor_current=`expr $current + 1`
! 	  xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
! 	  verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
  	  ;;
  
  	freebsd-aout)
--- 3290,3296 ----
  	  versuffix="$major.$age.$revision"
  	  # Darwin ld doesn't like 0 for these options...
  	  minor_current=`expr $current + 1`
! 	  verstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
  	  ;;
  
  	freebsd-aout)
***************
*** 3349,3359 ****
  	  ;;
  
  	irix | nonstopux)
! 	  if test "X$lt_irix_increment" = "Xno"; then
! 	    major=`expr $current - $age`
! 	  else
! 	    major=`expr $current - $age + 1`
! 	  fi
  	  case $version_type in
  	    nonstopux) verstring_prefix=nonstopux ;;
  	    *)         verstring_prefix=sgi ;;
--- 3304,3311 ----
  	  ;;
  
  	irix | nonstopux)
! 	  major=`expr $current - $age + 1`
! 
  	  case $version_type in
  	    nonstopux) verstring_prefix=nonstopux ;;
  	    *)         verstring_prefix=sgi ;;
***************
*** 3490,3500 ****
        fi
  
        # Eliminate all temporary directories.
!       #for path in $notinst_path; do
!       #	lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"`
!       #	deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"`
!       #	dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"`
!       #done
  
        if test -n "$xrpath"; then
  	# If the user specified any rpath flags, then add them.
--- 3442,3452 ----
        fi
  
        # Eliminate all temporary directories.
! #      for path in $notinst_path; do
! #	lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"`
! #	deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"`
! #	dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"`
! #      done
  
        if test -n "$xrpath"; then
  	# If the user specified any rpath flags, then add them.
***************
*** 3595,3601 ****
  	  int main() { return 0; }
  EOF
  	  $rm conftest
! 	  if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then
  	    ldd_output=`ldd conftest`
  	    for i in $deplibs; do
  	      name=`expr $i : '-l\(.*\)'`
--- 3547,3553 ----
  	  int main() { return 0; }
  EOF
  	  $rm conftest
!       if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then
  	    ldd_output=`ldd conftest`
  	    for i in $deplibs; do
  	      name=`expr $i : '-l\(.*\)'`
***************
*** 3957,3966 ****
  	     test -n "$hardcode_libdirs"; then
  	    libdir="$hardcode_libdirs"
  	    if test -n "$hardcode_libdir_flag_spec_ld"; then
! 	      case $archive_cmds in
! 	      *\$LD*) eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" ;;
! 	      *)      eval dep_rpath=\"$hardcode_libdir_flag_spec\" ;;
! 	      esac
  	    else
  	      eval dep_rpath=\"$hardcode_libdir_flag_spec\"
  	    fi
--- 3909,3915 ----
  	     test -n "$hardcode_libdirs"; then
  	    libdir="$hardcode_libdirs"
  	    if test -n "$hardcode_libdir_flag_spec_ld"; then
! 	      eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
  	    else
  	      eval dep_rpath=\"$hardcode_libdir_flag_spec\"
  	    fi
***************
*** 4270,4279 ****
        ;;
  
      obj)
!       case " $deplibs" in
!       *\ -l* | *\ -L*)
! 	$echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2 ;;
!       esac
  
        if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  	$echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2
--- 4219,4227 ----
        ;;
  
      obj)
!       if test -n "$deplibs"; then
! 	$echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2
!       fi
  
        if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  	$echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2
***************
*** 4327,4333 ****
        if test -n "$convenience"; then
  	if test -n "$whole_archive_flag_spec"; then
  	  eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
! 	  reload_conv_objs=$reload_objs\ `$echo "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
  	else
  	  gentop="$output_objdir/${obj}x"
  	  generated="$generated $gentop"
--- 4275,4281 ----
        if test -n "$convenience"; then
  	if test -n "$whole_archive_flag_spec"; then
  	  eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
!       reload_conv_objs=$reload_objs\ `$echo "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
  	else
  	  gentop="$output_objdir/${obj}x"
  	  generated="$generated $gentop"
***************
*** 5347,5354 ****
  else
    case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
  fi
- BIN_SH=xpg4; export BIN_SH # for Tru64
- DUALCASE=1; export DUALCASE # for MKS sh
  
  # The HP-UX ksh and POSIX shell print the target directory to stdout
  # if CDPATH is set.
--- 5295,5300 ----
***************
*** 6445,6454 ****
  	if test -f "$dir/$objdir/$dlname"; then
  	  dir="$dir/$objdir"
  	else
! 	  if test ! -f "$dir/$dlname"; then
! 	    $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
! 	    exit $EXIT_FAILURE
! 	  fi
  	fi
  	;;
  
--- 6391,6398 ----
  	if test -f "$dir/$objdir/$dlname"; then
  	  dir="$dir/$objdir"
  	else
! 	  $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
! 	  exit $EXIT_FAILURE
  	fi
  	;;
  
***************
*** 6512,6524 ****
        fi
  
        # Restore saved environment variables
!       for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
        do
! 	eval "if test \"\${save_$lt_var+set}\" = set; then
! 		$lt_var=\$save_$lt_var; export $lt_var
! 	      fi"
        done
  
        # Now prepare to actually exec the command.
        exec_cmd="\$cmd$args"
      else
--- 6456,6469 ----
        fi
  
        # Restore saved environment variables
!       for lt_var in LANG LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
        do
!        eval "if test \"\${save_$lt_var+set}\" = set; then
!                $lt_var=\$save_$lt_var; export $lt_var
!              fi"
        done
  
+ 
        # Now prepare to actually exec the command.
        exec_cmd="\$cmd$args"
      else
Only in /root/fuzz/zzuf-0.12: autom4te.cache
Only in /root/fuzz/zzuf-0.12: config.h
Only in /root/fuzz/zzuf-0.12: config.log
Only in /root/fuzz/zzuf-0.12: config.status
diff -crB /root/project/zzuf-0.12/configure /root/fuzz/zzuf-0.12/configure
*** /root/project/zzuf-0.12/configure	2008-06-13 16:39:29.000000000 +0530
--- /root/fuzz/zzuf-0.12/configure	2009-02-27 01:14:47.000000000 +0530
***************
*** 857,864 ****
  ECHO
  AR
  RANLIB
- DSYMUTIL
- NMEDIT
  CXX
  CXXFLAGS
  ac_ct_CXX
--- 857,862 ----
***************
*** 4109,4115 ****
    test -z "$as_dir" && as_dir=.
    for lt_ac_prog in sed gsed; do
      for ac_exec_ext in '' $ac_executable_extensions; do
!       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
          lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
        fi
      done
--- 4107,4113 ----
    test -z "$as_dir" && as_dir=.
    for lt_ac_prog in sed gsed; do
      for ac_exec_ext in '' $ac_executable_extensions; do
!       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
          lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
        fi
      done
***************
*** 4512,4519 ****
  echo "${ECHO_T}no, using $LN_S" >&6; }
  fi
  
! { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
! echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
  if test "${lt_cv_deplibs_check_method+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
--- 4510,4517 ----
  echo "${ECHO_T}no, using $LN_S" >&6; }
  fi
  
! { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
! echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
  if test "${lt_cv_deplibs_check_method+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
***************
*** 4532,4538 ****
  # whether `pass_all' will *always* work, you probably want this one.
  
  case $host_os in
! aix[4-9]*)
    lt_cv_deplibs_check_method=pass_all
    ;;
  
--- 4530,4536 ----
  # whether `pass_all' will *always* work, you probably want this one.
  
  case $host_os in
! aix4* | aix5*)
    lt_cv_deplibs_check_method=pass_all
    ;;
  
***************
*** 4554,4575 ****
  
  mingw* | pw32*)
    # Base MSYS/MinGW do not provide the 'file' command needed by
!   # func_win32_libid shell function, so use a weaker test based on 'objdump',
!   # unless we find 'file', for example because we are cross-compiling.
!   if ( file / ) >/dev/null 2>&1; then
!     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
!     lt_cv_file_magic_cmd='func_win32_libid'
!   else
!     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
!     lt_cv_file_magic_cmd='$OBJDUMP -f'
!   fi
    ;;
  
  darwin* | rhapsody*)
    lt_cv_deplibs_check_method=pass_all
    ;;
  
! freebsd* | dragonfly*)
    if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
      case $host_cpu in
      i*86 )
--- 4552,4567 ----
  
  mingw* | pw32*)
    # Base MSYS/MinGW do not provide the 'file' command needed by
!   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
!   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
!   lt_cv_file_magic_cmd='$OBJDUMP -f'
    ;;
  
  darwin* | rhapsody*)
    lt_cv_deplibs_check_method=pass_all
    ;;
  
! freebsd* | kfreebsd*-gnu | dragonfly*)
    if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
      case $host_cpu in
      i*86 )
***************
*** 4607,4613 ****
    esac
    ;;
  
! interix[3-9]*)
    # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
    ;;
--- 4599,4605 ----
    esac
    ;;
  
! interix3*)
    # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
    ;;
***************
*** 4623,4633 ****
    ;;
  
  # This must be Linux ELF.
! linux* | k*bsd*-gnu)
    lt_cv_deplibs_check_method=pass_all
    ;;
  
! netbsd* | netbsdelf*-gnu)
    if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
    else
--- 4615,4625 ----
    ;;
  
  # This must be Linux ELF.
! linux*)
    lt_cv_deplibs_check_method=pass_all
    ;;
  
! netbsd*)
    if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
    else
***************
*** 4657,4666 ****
    lt_cv_deplibs_check_method=pass_all
    ;;
  
- rdos*)
-   lt_cv_deplibs_check_method=pass_all
-   ;;
- 
  solaris*)
    lt_cv_deplibs_check_method=pass_all
    ;;
--- 4649,4654 ----
***************
*** 4748,4754 ****
    ;;
  *-*-irix6*)
    # Find out which ABI we are using.
!   echo '#line 4751 "configure"' > conftest.$ac_ext
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
--- 4736,4742 ----
    ;;
  *-*-irix6*)
    # Find out which ABI we are using.
!   echo '#line 4739 "configure"' > conftest.$ac_ext
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
***************
*** 4783,4790 ****
    rm -rf conftest*
    ;;
  
! x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
! s390*-*linux*|sparc*-*linux*)
    # Find out which ABI we are using.
    echo 'int i;' > conftest.$ac_ext
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
--- 4771,4777 ----
    rm -rf conftest*
    ;;
  
! x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
    # Find out which ABI we are using.
    echo 'int i;' > conftest.$ac_ext
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
***************
*** 4795,4803 ****
      case `/usr/bin/file conftest.o` in
      *32-bit*)
        case $host in
-         x86_64-*kfreebsd*-gnu)
-           LD="${LD-ld} -m elf_i386_fbsd"
-           ;;
          x86_64-*linux*)
            LD="${LD-ld} -m elf_i386"
            ;;
--- 4782,4787 ----
***************
*** 4814,4822 ****
        ;;
      *64-bit*)
        case $host in
-         x86_64-*kfreebsd*-gnu)
-           LD="${LD-ld} -m elf_x86_64_fbsd"
-           ;;
          x86_64-*linux*)
            LD="${LD-ld} -m elf_x86_64"
            ;;
--- 4798,4803 ----
***************
*** 4920,4930 ****
      *64-bit*)
        case $lt_cv_prog_gnu_ld in
        yes*) LD="${LD-ld} -m elf64_sparc" ;;
!       *)
!         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
! 	  LD="${LD-ld} -64"
! 	fi
! 	;;
        esac
        ;;
      esac
--- 4901,4907 ----
      *64-bit*)
        case $lt_cv_prog_gnu_ld in
        yes*) LD="${LD-ld} -m elf64_sparc" ;;
!       *)    LD="${LD-ld} -64" ;;
        esac
        ;;
      esac
***************
*** 6377,6403 ****
      fi
      ;;
    *)
!     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
!     if test -n "$lt_cv_sys_max_cmd_len"; then
!       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
!       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
!     else
!       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
!       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
  	       = "XX$teststring") >/dev/null 2>&1 &&
! 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
! 	      lt_cv_sys_max_cmd_len=$new_result &&
! 	      test $i != 17 # 1/2 MB should be enough
!       do
!         i=`expr $i + 1`
!         teststring=$teststring$teststring
!       done
!       teststring=
!       # Add a significant safety factor because C++ compilers can tack on massive
!       # amounts of additional arguments before passing them to the linker.
!       # It appears as though 1/2 is a usable value.
!       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
!     fi
      ;;
    esac
  
--- 6355,6378 ----
      fi
      ;;
    *)
!     # If test is not a shell built-in, we'll probably end up computing a
!     # maximum length that is only half of the actual maximum length, but
!     # we can't tell.
!     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
!     while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
  	       = "XX$teststring") >/dev/null 2>&1 &&
! 	    new_result=`expr "X$teststring" : ".*" 2>&1` &&
! 	    lt_cv_sys_max_cmd_len=$new_result &&
! 	    test $i != 17 # 1/2 MB should be enough
!     do
!       i=`expr $i + 1`
!       teststring=$teststring$teststring
!     done
!     teststring=
!     # Add a significant safety factor because C++ compilers can tack on massive
!     # amounts of additional arguments before passing them to the linker.
!     # It appears as though 1/2 is a usable value.
!     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
      ;;
    esac
  
***************
*** 6452,6458 ****
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
    lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
    ;;
! linux* | k*bsd*-gnu)
    if test "$host_cpu" = ia64; then
      symcode='[ABCDGIRSTW]'
      lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
--- 6426,6432 ----
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
    lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
    ;;
! linux*)
    if test "$host_cpu" = ia64; then
      symcode='[ABCDGIRSTW]'
      lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
***************
*** 6605,6611 ****
      echo "$progname: failed program was:" >&5
      cat conftest.$ac_ext >&5
    fi
!   rm -rf conftest* conftst*
  
    # Do not use the global_symbol_pipe unless it works.
    if test "$pipe_works" = yes; then
--- 6579,6585 ----
      echo "$progname: failed program was:" >&5
      cat conftest.$ac_ext >&5
    fi
!   rm -f conftest* conftst*
  
    # Do not use the global_symbol_pipe unless it works.
    if test "$pipe_works" = yes; then
***************
*** 7003,7009 ****
  test -z "$ac_objext" && ac_objext=o
  
  # Determine commands to create old-style static archives.
! old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  old_postinstall_cmds='chmod 644 $oldlib'
  old_postuninstall_cmds=
  
--- 6977,6983 ----
  test -z "$ac_objext" && ac_objext=o
  
  # Determine commands to create old-style static archives.
! old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
  old_postinstall_cmds='chmod 644 $oldlib'
  old_postuninstall_cmds=
  
***************
*** 7165,7482 ****
    ;;
  esac
  
- 
-   case $host_os in
-     rhapsody* | darwin*)
-     if test -n "$ac_tool_prefix"; then
-   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
- set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
- { echo "$as_me:$LINENO: checking for $ac_word" >&5
- echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
- if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   if test -n "$DSYMUTIL"; then
-   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
- else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- for as_dir in $PATH
- do
-   IFS=$as_save_IFS
-   test -z "$as_dir" && as_dir=.
-   for ac_exec_ext in '' $ac_executable_extensions; do
-   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
-     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
-     break 2
-   fi
- done
- done
- IFS=$as_save_IFS
- 
- fi
- fi
- DSYMUTIL=$ac_cv_prog_DSYMUTIL
- if test -n "$DSYMUTIL"; then
-   { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
- echo "${ECHO_T}$DSYMUTIL" >&6; }
- else
-   { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- fi
- 
- 
- fi
- if test -z "$ac_cv_prog_DSYMUTIL"; then
-   ac_ct_DSYMUTIL=$DSYMUTIL
-   # Extract the first word of "dsymutil", so it can be a program name with args.
- set dummy dsymutil; ac_word=$2
- { echo "$as_me:$LINENO: checking for $ac_word" >&5
- echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
- if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   if test -n "$ac_ct_DSYMUTIL"; then
-   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
- else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- for as_dir in $PATH
- do
-   IFS=$as_save_IFS
-   test -z "$as_dir" && as_dir=.
-   for ac_exec_ext in '' $ac_executable_extensions; do
-   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
-     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
-     break 2
-   fi
- done
- done
- IFS=$as_save_IFS
- 
- fi
- fi
- ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
- if test -n "$ac_ct_DSYMUTIL"; then
-   { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
- echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
- else
-   { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- fi
- 
-   if test "x$ac_ct_DSYMUTIL" = x; then
-     DSYMUTIL=":"
-   else
-     case $cross_compiling:$ac_tool_warned in
- yes:)
- { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
- whose name does not start with the host triplet.  If you think this
- configuration is useful to you, please write to autoconf@gnu.org." >&5
- echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
- whose name does not start with the host triplet.  If you think this
- configuration is useful to you, please write to autoconf@gnu.org." >&2;}
- ac_tool_warned=yes ;;
- esac
-     DSYMUTIL=$ac_ct_DSYMUTIL
-   fi
- else
-   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
- fi
- 
-     if test -n "$ac_tool_prefix"; then
-   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
- set dummy ${ac_tool_prefix}nmedit; ac_word=$2
- { echo "$as_me:$LINENO: checking for $ac_word" >&5
- echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
- if test "${ac_cv_prog_NMEDIT+set}" = set; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   if test -n "$NMEDIT"; then
-   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
- else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- for as_dir in $PATH
- do
-   IFS=$as_save_IFS
-   test -z "$as_dir" && as_dir=.
-   for ac_exec_ext in '' $ac_executable_extensions; do
-   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
-     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
-     break 2
-   fi
- done
- done
- IFS=$as_save_IFS
- 
- fi
- fi
- NMEDIT=$ac_cv_prog_NMEDIT
- if test -n "$NMEDIT"; then
-   { echo "$as_me:$LINENO: result: $NMEDIT" >&5
- echo "${ECHO_T}$NMEDIT" >&6; }
- else
-   { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- fi
- 
- 
- fi
- if test -z "$ac_cv_prog_NMEDIT"; then
-   ac_ct_NMEDIT=$NMEDIT
-   # Extract the first word of "nmedit", so it can be a program name with args.
- set dummy nmedit; ac_word=$2
- { echo "$as_me:$LINENO: checking for $ac_word" >&5
- echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
- if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   if test -n "$ac_ct_NMEDIT"; then
-   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
- else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- for as_dir in $PATH
- do
-   IFS=$as_save_IFS
-   test -z "$as_dir" && as_dir=.
-   for ac_exec_ext in '' $ac_executable_extensions; do
-   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-     ac_cv_prog_ac_ct_NMEDIT="nmedit"
-     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
-     break 2
-   fi
- done
- done
- IFS=$as_save_IFS
- 
- fi
- fi
- ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
- if test -n "$ac_ct_NMEDIT"; then
-   { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
- echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
- else
-   { echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6; }
- fi
- 
-   if test "x$ac_ct_NMEDIT" = x; then
-     NMEDIT=":"
-   else
-     case $cross_compiling:$ac_tool_warned in
- yes:)
- { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
- whose name does not start with the host triplet.  If you think this
- configuration is useful to you, please write to autoconf@gnu.org." >&5
- echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
- whose name does not start with the host triplet.  If you think this
- configuration is useful to you, please write to autoconf@gnu.org." >&2;}
- ac_tool_warned=yes ;;
- esac
-     NMEDIT=$ac_ct_NMEDIT
-   fi
- else
-   NMEDIT="$ac_cv_prog_NMEDIT"
- fi
- 
- 
-     { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
- echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
- if test "${lt_cv_apple_cc_single_mod+set}" = set; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   lt_cv_apple_cc_single_mod=no
-       if test -z "${LT_MULTI_MODULE}"; then
-    # By default we will add the -single_module flag. You can override
-    # by either setting the environment variable LT_MULTI_MODULE
-    # non-empty at configure time, or by adding -multi_module to the
-    # link flags.
-    echo "int foo(void){return 1;}" > conftest.c
-    $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
-      -dynamiclib ${wl}-single_module conftest.c
-    if test -f libconftest.dylib; then
-      lt_cv_apple_cc_single_mod=yes
-      rm -rf libconftest.dylib*
-    fi
-    rm conftest.c
-       fi
- fi
- { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
- echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
-     { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
- echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
- if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   lt_cv_ld_exported_symbols_list=no
-       save_LDFLAGS=$LDFLAGS
-       echo "_main" > conftest.sym
-       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
-       cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h.  */
- _ACEOF
- cat confdefs.h >>conftest.$ac_ext
- cat >>conftest.$ac_ext <<_ACEOF
- /* end confdefs.h.  */
- 
- int
- main ()
- {
- 
-   ;
-   return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext conftest$ac_exeext
- if { (ac_try="$ac_link"
- case "(($ac_try" in
-   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-   *) ac_try_echo=$ac_try;;
- esac
- eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-   (eval "$ac_link") 2>conftest.er1
-   ac_status=$?
-   grep -v '^ *+' conftest.er1 >conftest.err
-   rm -f conftest.er1
-   cat conftest.err >&5
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); } && {
- 	 test -z "$ac_c_werror_flag" ||
- 	 test ! -s conftest.err
-        } && test -s conftest$ac_exeext &&
-        $as_test_x conftest$ac_exeext; then
-   lt_cv_ld_exported_symbols_list=yes
- else
-   echo "$as_me: failed program was:" >&5
- sed 's/^/| /' conftest.$ac_ext >&5
- 
- 	lt_cv_ld_exported_symbols_list=no
- fi
- 
- rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-       conftest$ac_exeext conftest.$ac_ext
-    LDFLAGS="$save_LDFLAGS"
- 
- fi
- { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
- echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
-     case $host_os in
-     rhapsody* | darwin1.[0123])
-       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
-     darwin1.*)
-      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
-     darwin*)
-       # if running on 10.5 or later, the deployment target defaults
-       # to the OS version, if on x86, and 10.4, the deployment
-       # target defaults to 10.4. Don't you love it?
-       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
-    10.0,*86*-darwin8*|10.0,*-darwin[91]*)
-      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
-    10.[012]*)
-      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
-    10.*)
-      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
-       esac
-     ;;
-   esac
-     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
-       _lt_dar_single_mod='$single_module'
-     fi
-     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
-       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
-     else
-       _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
-     fi
-     if test "$DSYMUTIL" != ":"; then
-       _lt_dsymutil="~$DSYMUTIL \$lib || :"
-     else
-       _lt_dsymutil=
-     fi
-     ;;
-   esac
- 
- 
  enable_dlopen=no
  enable_win32_dll=no
  
--- 7139,7144 ----
***************
*** 7515,7524 ****
  objext=$objext
  
  # Code to be used in simple compile tests
! lt_simple_compile_test_code="int some_variable = 0;"
  
  # Code to be used in simple link tests
! lt_simple_link_test_code='int main(){return(0);}'
  
  
  # If no C compiler was specified, use CC.
--- 7177,7186 ----
  objext=$objext
  
  # Code to be used in simple compile tests
! lt_simple_compile_test_code="int some_variable = 0;\n"
  
  # Code to be used in simple link tests
! lt_simple_link_test_code='int main(){return(0);}\n'
  
  
  # If no C compiler was specified, use CC.
***************
*** 7533,7548 ****
  
  # save warnings/boilerplate of simple test code
  ac_outfile=conftest.$ac_objext
! echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  _lt_compiler_boilerplate=`cat conftest.err`
  $rm conftest*
  
  ac_outfile=conftest.$ac_objext
! echo "$lt_simple_link_test_code" >conftest.$ac_ext
  eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  _lt_linker_boilerplate=`cat conftest.err`
! $rm -r conftest*
  
  
  
--- 7195,7210 ----
  
  # save warnings/boilerplate of simple test code
  ac_outfile=conftest.$ac_objext
! printf "$lt_simple_compile_test_code" >conftest.$ac_ext
  eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  _lt_compiler_boilerplate=`cat conftest.err`
  $rm conftest*
  
  ac_outfile=conftest.$ac_objext
! printf "$lt_simple_link_test_code" >conftest.$ac_ext
  eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  _lt_linker_boilerplate=`cat conftest.err`
! $rm conftest*
  
  
  
***************
*** 7559,7565 ****
  else
    lt_cv_prog_compiler_rtti_exceptions=no
    ac_outfile=conftest.$ac_objext
!    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     lt_compiler_flag="-fno-rtti -fno-exceptions"
     # Insert the option either (1) after the last *FLAGS variable, or
     # (2) before a word containing "conftest.", or (3) at the end.
--- 7221,7227 ----
  else
    lt_cv_prog_compiler_rtti_exceptions=no
    ac_outfile=conftest.$ac_objext
!    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
     lt_compiler_flag="-fno-rtti -fno-exceptions"
     # Insert the option either (1) after the last *FLAGS variable, or
     # (2) before a word containing "conftest.", or (3) at the end.
***************
*** 7570,7580 ****
     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     -e 's:$: $lt_compiler_flag:'`
!    (eval echo "\"\$as_me:7573: $lt_compile\"" >&5)
     (eval "$lt_compile" 2>conftest.err)
     ac_status=$?
     cat conftest.err >&5
!    echo "$as_me:7577: \$? = $ac_status" >&5
     if (exit $ac_status) && test -s "$ac_outfile"; then
       # The compiler can only warn and ignore the option if not recognized
       # So say no if there are warnings other than the usual output.
--- 7232,7242 ----
     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     -e 's:$: $lt_compiler_flag:'`
!    (eval echo "\"\$as_me:7235: $lt_compile\"" >&5)
     (eval "$lt_compile" 2>conftest.err)
     ac_status=$?
     cat conftest.err >&5
!    echo "$as_me:7239: \$? = $ac_status" >&5
     if (exit $ac_status) && test -s "$ac_outfile"; then
       # The compiler can only warn and ignore the option if not recognized
       # So say no if there are warnings other than the usual output.
***************
*** 7625,7639 ****
        lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
        ;;
  
!     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
        # PIC is the default for these OSes.
        ;;
  
!     mingw* | cygwin* | pw32* | os2*)
        # This hack is so that the source file can tell whether it is being
        # built for inclusion in a dll (and should export symbols for example).
-       # Although the cygwin gcc ignores -fPIC, still need this for old-style
-       # (--disable-auto-import) libraries
        lt_prog_compiler_pic='-DDLL_EXPORT'
        ;;
  
--- 7287,7299 ----
        lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
        ;;
  
!     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
        # PIC is the default for these OSes.
        ;;
  
!     mingw* | pw32* | os2*)
        # This hack is so that the source file can tell whether it is being
        # built for inclusion in a dll (and should export symbols for example).
        lt_prog_compiler_pic='-DDLL_EXPORT'
        ;;
  
***************
*** 7643,7649 ****
        lt_prog_compiler_pic='-fno-common'
        ;;
  
!     interix[3-9]*)
        # Interix 3.x gcc -fpic/-fPIC options generate broken code.
        # Instead, we relocate shared libraries at runtime.
        ;;
--- 7303,7309 ----
        lt_prog_compiler_pic='-fno-common'
        ;;
  
!     interix3*)
        # Interix 3.x gcc -fpic/-fPIC options generate broken code.
        # Instead, we relocate shared libraries at runtime.
        ;;
***************
*** 7701,7707 ****
         esac
         ;;
  
!     mingw* | cygwin* | pw32* | os2*)
        # This hack is so that the source file can tell whether it is being
        # built for inclusion in a dll (and should export symbols for example).
        lt_prog_compiler_pic='-DDLL_EXPORT'
--- 7361,7367 ----
         esac
         ;;
  
!     mingw* | pw32* | os2*)
        # This hack is so that the source file can tell whether it is being
        # built for inclusion in a dll (and should export symbols for example).
        lt_prog_compiler_pic='-DDLL_EXPORT'
***************
*** 7734,7740 ****
        lt_prog_compiler_static='-Bstatic'
        ;;
  
!     linux* | k*bsd*-gnu)
        case $cc_basename in
        icc* | ecc*)
  	lt_prog_compiler_wl='-Wl,'
--- 7394,7400 ----
        lt_prog_compiler_static='-Bstatic'
        ;;
  
!     linux*)
        case $cc_basename in
        icc* | ecc*)
  	lt_prog_compiler_wl='-Wl,'
***************
*** 7753,7774 ****
          # All Alpha code is PIC.
          lt_prog_compiler_static='-non_shared'
          ;;
-       *)
-         case `$CC -V 2>&1 | sed 5q` in
- 	*Sun\ C*)
- 	  # Sun C 5.9
- 	  lt_prog_compiler_pic='-KPIC'
- 	  lt_prog_compiler_static='-Bstatic'
- 	  lt_prog_compiler_wl='-Wl,'
- 	  ;;
- 	*Sun\ F*)
- 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
- 	  lt_prog_compiler_pic='-KPIC'
- 	  lt_prog_compiler_static='-Bstatic'
- 	  lt_prog_compiler_wl=''
- 	  ;;
- 	esac
- 	;;
        esac
        ;;
  
--- 7413,7418 ----
***************
*** 7778,7787 ****
        lt_prog_compiler_static='-non_shared'
        ;;
  
-     rdos*)
-       lt_prog_compiler_static='-non_shared'
-       ;;
- 
      solaris*)
        lt_prog_compiler_pic='-KPIC'
        lt_prog_compiler_static='-Bstatic'
--- 7422,7427 ----
***************
*** 7844,7855 ****
  
  { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
! if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   lt_cv_prog_compiler_pic_works=no
    ac_outfile=conftest.$ac_objext
!    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
     # Insert the option either (1) after the last *FLAGS variable, or
     # (2) before a word containing "conftest.", or (3) at the end.
--- 7484,7495 ----
  
  { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
! if test "${lt_prog_compiler_pic_works+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   lt_prog_compiler_pic_works=no
    ac_outfile=conftest.$ac_objext
!    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
     lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
     # Insert the option either (1) after the last *FLAGS variable, or
     # (2) before a word containing "conftest.", or (3) at the end.
***************
*** 7860,7886 ****
     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     -e 's:$: $lt_compiler_flag:'`
!    (eval echo "\"\$as_me:7863: $lt_compile\"" >&5)
     (eval "$lt_compile" 2>conftest.err)
     ac_status=$?
     cat conftest.err >&5
!    echo "$as_me:7867: \$? = $ac_status" >&5
     if (exit $ac_status) && test -s "$ac_outfile"; then
       # The compiler can only warn and ignore the option if not recognized
       # So say no if there are warnings other than the usual output.
       $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
!        lt_cv_prog_compiler_pic_works=yes
       fi
     fi
     $rm conftest*
  
  fi
! { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
! echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
  
! if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
      case $lt_prog_compiler_pic in
       "" | " "*) ;;
       *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
--- 7500,7526 ----
     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     -e 's:$: $lt_compiler_flag:'`
!    (eval echo "\"\$as_me:7503: $lt_compile\"" >&5)
     (eval "$lt_compile" 2>conftest.err)
     ac_status=$?
     cat conftest.err >&5
!    echo "$as_me:7507: \$? = $ac_status" >&5
     if (exit $ac_status) && test -s "$ac_outfile"; then
       # The compiler can only warn and ignore the option if not recognized
       # So say no if there are warnings other than the usual output.
       $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
!        lt_prog_compiler_pic_works=yes
       fi
     fi
     $rm conftest*
  
  fi
! { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
! echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
  
! if test x"$lt_prog_compiler_pic_works" = xyes; then
      case $lt_prog_compiler_pic in
       "" | " "*) ;;
       *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
***************
*** 7907,7919 ****
  wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
! if test "${lt_cv_prog_compiler_static_works+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   lt_cv_prog_compiler_static_works=no
     save_LDFLAGS="$LDFLAGS"
     LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
!    echo "$lt_simple_link_test_code" > conftest.$ac_ext
     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
       # The linker can only warn and ignore the option if not recognized
       # So say no if there are warnings
--- 7547,7559 ----
  wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
! if test "${lt_prog_compiler_static_works+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   lt_prog_compiler_static_works=no
     save_LDFLAGS="$LDFLAGS"
     LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
!    printf "$lt_simple_link_test_code" > conftest.$ac_ext
     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
       # The linker can only warn and ignore the option if not recognized
       # So say no if there are warnings
***************
*** 7923,7942 ****
         $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
         if diff conftest.exp conftest.er2 >/dev/null; then
!          lt_cv_prog_compiler_static_works=yes
         fi
       else
!        lt_cv_prog_compiler_static_works=yes
       fi
     fi
!    $rm -r conftest*
     LDFLAGS="$save_LDFLAGS"
  
  fi
! { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
! echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
  
! if test x"$lt_cv_prog_compiler_static_works" = xyes; then
      :
  else
      lt_prog_compiler_static=
--- 7563,7582 ----
         $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
         if diff conftest.exp conftest.er2 >/dev/null; then
!          lt_prog_compiler_static_works=yes
         fi
       else
!        lt_prog_compiler_static_works=yes
       fi
     fi
!    $rm conftest*
     LDFLAGS="$save_LDFLAGS"
  
  fi
! { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
! echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
  
! if test x"$lt_prog_compiler_static_works" = xyes; then
      :
  else
      lt_prog_compiler_static=
***************
*** 7953,7959 ****
     mkdir conftest
     cd conftest
     mkdir out
!    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  
     lt_compiler_flag="-o out/conftest2.$ac_objext"
     # Insert the option either (1) after the last *FLAGS variable, or
--- 7593,7599 ----
     mkdir conftest
     cd conftest
     mkdir out
!    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  
     lt_compiler_flag="-o out/conftest2.$ac_objext"
     # Insert the option either (1) after the last *FLAGS variable, or
***************
*** 7964,7974 ****
     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     -e 's:$: $lt_compiler_flag:'`
!    (eval echo "\"\$as_me:7967: $lt_compile\"" >&5)
     (eval "$lt_compile" 2>out/conftest.err)
     ac_status=$?
     cat out/conftest.err >&5
!    echo "$as_me:7971: \$? = $ac_status" >&5
     if (exit $ac_status) && test -s out/conftest2.$ac_objext
     then
       # The compiler can only warn and ignore the option if not recognized
--- 7604,7614 ----
     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     -e 's:$: $lt_compiler_flag:'`
!    (eval echo "\"\$as_me:7607: $lt_compile\"" >&5)
     (eval "$lt_compile" 2>out/conftest.err)
     ac_status=$?
     cat out/conftest.err >&5
!    echo "$as_me:7611: \$? = $ac_status" >&5
     if (exit $ac_status) && test -s out/conftest2.$ac_objext
     then
       # The compiler can only warn and ignore the option if not recognized
***************
*** 8048,8060 ****
    # it will be wrapped by ` (' and `)$', so one must not match beginning or
    # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
    # as well as any symbol that contains `d'.
!   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
    # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
    # platforms (ab)use it in PIC code, but their linkers get confused if
    # the symbol is explicitly referenced.  Since portable code cannot
    # rely on this symbol name, it's probably fine to never include it in
    # preloaded symbol tables.
-   # Exclude shared library initialization/finalization symbols.
    extract_expsyms_cmds=
    # Just being paranoid about ensuring that cc_basename is set.
    for cc_temp in $compiler""; do
--- 7688,7699 ----
    # it will be wrapped by ` (' and `)$', so one must not match beginning or
    # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
    # as well as any symbol that contains `d'.
!   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
    # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
    # platforms (ab)use it in PIC code, but their linkers get confused if
    # the symbol is explicitly referenced.  Since portable code cannot
    # rely on this symbol name, it's probably fine to never include it in
    # preloaded symbol tables.
    extract_expsyms_cmds=
    # Just being paranoid about ensuring that cc_basename is set.
    for cc_temp in $compiler""; do
***************
*** 8113,8119 ****
  
      # See if GNU ld supports shared libraries.
      case $host_os in
!     aix[3-9]*)
        # On AIX/PPC, the GNU linker is very broken
        if test "$host_cpu" != ia64; then
  	ld_shlibs=no
--- 7752,7758 ----
  
      # See if GNU ld supports shared libraries.
      case $host_os in
!     aix3* | aix4* | aix5*)
        # On AIX/PPC, the GNU linker is very broken
        if test "$host_cpu" != ia64; then
  	ld_shlibs=no
***************
*** 8161,8167 ****
        allow_undefined_flag=unsupported
        always_export_symbols=no
        enable_shared_with_static_runtimes=yes
!       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  
        if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
--- 7800,7806 ----
        allow_undefined_flag=unsupported
        always_export_symbols=no
        enable_shared_with_static_runtimes=yes
!       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
  
        if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
***************
*** 8179,8185 ****
        fi
        ;;
  
!     interix[3-9]*)
        hardcode_direct=no
        hardcode_shlibpath_var=no
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
--- 7818,7824 ----
        fi
        ;;
  
!     interix3*)
        hardcode_direct=no
        hardcode_shlibpath_var=no
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
***************
*** 8194,8200 ****
        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'
        ;;
  
!     gnu* | linux* | k*bsd*-gnu)
        if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  	tmp_addflag=
  	case $cc_basename,$host_cpu in
--- 7833,7839 ----
        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'
        ;;
  
!     linux*)
        if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  	tmp_addflag=
  	case $cc_basename,$host_cpu in
***************
*** 8212,8241 ****
  	ifc* | ifort*)			# Intel Fortran compiler
  	  tmp_addflag=' -nofor_main' ;;
  	esac
! 	case `$CC -V 2>&1 | sed 5q` in
! 	*Sun\ C*)			# Sun C 5.9
! 	  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'
! 	  tmp_sharedflag='-G' ;;
! 	*Sun\ F*)			# Sun Fortran 8.3
! 	  tmp_sharedflag='-G' ;;
! 	*)
! 	  tmp_sharedflag='-shared' ;;
! 	esac
! 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  
  	if test $supports_anon_versioning = yes; then
  	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    $echo "local: *; };" >> $output_objdir/$libname.ver~
! 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  	fi
- 	link_all_deplibs=no
        else
  	ld_shlibs=no
        fi
        ;;
  
!     netbsd* | netbsdelf*-gnu)
        if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  	wlarc=
--- 7851,7870 ----
  	ifc* | ifort*)			# Intel Fortran compiler
  	  tmp_addflag=' -nofor_main' ;;
  	esac
! 	archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  
  	if test $supports_anon_versioning = yes; then
  	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    $echo "local: *; };" >> $output_objdir/$libname.ver~
! 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  	fi
        else
  	ld_shlibs=no
        fi
        ;;
  
!     netbsd*)
        if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  	wlarc=
***************
*** 8333,8339 ****
        fi
        ;;
  
!     aix[4-9]*)
        if test "$host_cpu" = ia64; then
  	# On IA64, the linker does run time linking by default, so we don't
  	# have to do anything special.
--- 7962,7968 ----
        fi
        ;;
  
!     aix4* | aix5*)
        if test "$host_cpu" = ia64; then
  	# On IA64, the linker does run time linking by default, so we don't
  	# have to do anything special.
***************
*** 8353,8359 ****
  	# Test if we are trying to use run time linking or normal
  	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
  	# need to do runtime linking.
! 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  	  for ld_flag in $LDFLAGS; do
    	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
    	    aix_use_runtimelinking=yes
--- 7982,7988 ----
  	# Test if we are trying to use run time linking or normal
  	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
  	# need to do runtime linking.
! 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
  	  for ld_flag in $LDFLAGS; do
    	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
    	    aix_use_runtimelinking=yes
***************
*** 8387,8393 ****
    	   strings "$collect2name" | grep resolve_lib_name >/dev/null
  	  then
    	  # We have reworked collect2
!   	  :
  	  else
    	  # We have old collect2
    	  hardcode_direct=unsupported
--- 8016,8022 ----
    	   strings "$collect2name" | grep resolve_lib_name >/dev/null
  	  then
    	  # We have reworked collect2
!   	  hardcode_direct=yes
  	  else
    	  # We have old collect2
    	  hardcode_direct=unsupported
***************
*** 8461,8478 ****
         } && test -s conftest$ac_exeext &&
         $as_test_x conftest$ac_exeext; then
  
! lt_aix_libpath_sed='
!     /Import File Strings/,/^$/ {
! 	/^0/ {
! 	    s/^0  *\(.*\)$/\1/
! 	    p
! 	}
!     }'
! aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  # Check for a 64-bit object if we didn't find anything.
! if test -z "$aix_libpath"; then
!   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! fi
  else
    echo "$as_me: failed program was:" >&5
  sed 's/^/| /' conftest.$ac_ext >&5
--- 8090,8100 ----
         } && test -s conftest$ac_exeext &&
         $as_test_x conftest$ac_exeext; then
  
! aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
! }'`
  # Check for a 64-bit object if we didn't find anything.
! if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
! }'`; fi
  else
    echo "$as_me: failed program was:" >&5
  sed 's/^/| /' conftest.$ac_ext >&5
***************
*** 8527,8544 ****
         } && test -s conftest$ac_exeext &&
         $as_test_x conftest$ac_exeext; then
  
! lt_aix_libpath_sed='
!     /Import File Strings/,/^$/ {
! 	/^0/ {
! 	    s/^0  *\(.*\)$/\1/
! 	    p
! 	}
!     }'
! aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  # Check for a 64-bit object if we didn't find anything.
! if test -z "$aix_libpath"; then
!   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! fi
  else
    echo "$as_me: failed program was:" >&5
  sed 's/^/| /' conftest.$ac_ext >&5
--- 8149,8159 ----
         } && test -s conftest$ac_exeext &&
         $as_test_x conftest$ac_exeext; then
  
! aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
! }'`
  # Check for a 64-bit object if we didn't find anything.
! if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
! }'`; fi
  else
    echo "$as_me: failed program was:" >&5
  sed 's/^/| /' conftest.$ac_ext >&5
***************
*** 8592,8598 ****
        # The linker will automatically build a .lib file if we build a DLL.
        old_archive_From_new_cmds='true'
        # FIXME: Should let the user specify the lib program.
!       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
        fix_srcfile_path='`cygpath -w "$srcfile"`'
        enable_shared_with_static_runtimes=yes
        ;;
--- 8207,8213 ----
        # The linker will automatically build a .lib file if we build a DLL.
        old_archive_From_new_cmds='true'
        # FIXME: Should let the user specify the lib program.
!       old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
        fix_srcfile_path='`cygpath -w "$srcfile"`'
        enable_shared_with_static_runtimes=yes
        ;;
***************
*** 8625,8642 ****
        link_all_deplibs=yes
      if test "$GCC" = yes ; then
      	output_verbose_link_cmd='echo'
!         archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
!         module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
!         archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
!         module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
      else
        case $cc_basename in
          xlc*)
           output_verbose_link_cmd='echo'
!          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
           module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
            # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
!          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
            module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
            ;;
         *)
--- 8240,8258 ----
        link_all_deplibs=yes
      if test "$GCC" = yes ; then
      	output_verbose_link_cmd='echo'
!         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
!       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
!       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
!       archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
!       module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
      else
        case $cc_basename in
          xlc*)
           output_verbose_link_cmd='echo'
!          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
           module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
            # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
!          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
            module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
            ;;
         *)
***************
*** 8676,8682 ****
        ;;
  
      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
!     freebsd* | dragonfly*)
        archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
        hardcode_libdir_flag_spec='-R$libdir'
        hardcode_direct=yes
--- 8292,8298 ----
        ;;
  
      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
!     freebsd* | kfreebsd*-gnu | dragonfly*)
        archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
        hardcode_libdir_flag_spec='-R$libdir'
        hardcode_direct=yes
***************
*** 8778,8784 ****
        link_all_deplibs=yes
        ;;
  
!     netbsd* | netbsdelf*-gnu)
        if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
        else
--- 8394,8400 ----
        link_all_deplibs=yes
        ;;
  
!     netbsd*)
        if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
        else
***************
*** 8798,8825 ****
        ;;
  
      openbsd*)
!       if test -f /usr/libexec/ld.so; then
! 	hardcode_direct=yes
! 	hardcode_shlibpath_var=no
! 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
! 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 	  export_dynamic_flag_spec='${wl}-E'
! 	else
! 	  case $host_os in
! 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
! 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 	     hardcode_libdir_flag_spec='-R$libdir'
! 	     ;;
! 	   *)
! 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 	     ;;
! 	  esac
!         fi
        else
! 	ld_shlibs=no
        fi
        ;;
  
--- 8414,8437 ----
        ;;
  
      openbsd*)
!       hardcode_direct=yes
!       hardcode_shlibpath_var=no
!       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 	archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
! 	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 	export_dynamic_flag_spec='${wl}-E'
        else
!        case $host_os in
! 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
! 	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 	   hardcode_libdir_flag_spec='-R$libdir'
! 	   ;;
! 	 *)
! 	   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 	   hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 	   ;;
!        esac
        fi
        ;;
  
***************
*** 8878,8893 ****
        case $host_os in
        solaris2.[0-5] | solaris2.[0-5].*) ;;
        *)
! 	# The compiler driver will combine and reorder linker options,
! 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
! 	# but is careful enough not to reorder.
   	# Supported since Solaris 2.6 (maybe 2.5.1?)
! 	if test "$GCC" = yes; then
! 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
! 	else
! 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
! 	fi
! 	;;
        esac
        link_all_deplibs=yes
        ;;
--- 8490,8506 ----
        case $host_os in
        solaris2.[0-5] | solaris2.[0-5].*) ;;
        *)
!  	# The compiler driver will combine linker options so we
!  	# cannot just pass the convience library names through
!  	# without $wl, iff we do not link with $LD.
!  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   	# Supported since Solaris 2.6 (maybe 2.5.1?)
!  	case $wlarc in
!  	'')
!  	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
!  	*)
!  	  whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
!  	esac ;;
        esac
        link_all_deplibs=yes
        ;;
***************
*** 8944,8950 ****
        fi
        ;;
  
!     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
        no_undefined_flag='${wl}-z,text'
        archive_cmds_need_lc=no
        hardcode_shlibpath_var=no
--- 8557,8563 ----
        fi
        ;;
  
!     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
        no_undefined_flag='${wl}-z,text'
        archive_cmds_need_lc=no
        hardcode_shlibpath_var=no
***************
*** 9021,9027 ****
        { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
  echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
        $rm conftest*
!       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  
        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
--- 8634,8640 ----
        { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
  echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
        $rm conftest*
!       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  
        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
***************
*** 9079,9133 ****
  version_type=none
  dynamic_linker="$host_os ld.so"
  sys_lib_dlsearch_path_spec="/lib /usr/lib"
- 
  if test "$GCC" = yes; then
!   case $host_os in
!     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
!     *) lt_awk_arg="/^libraries:/" ;;
!   esac
!   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
!   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
      # if the path contains ";" then we assume it to be the separator
      # otherwise default to the standard path separator (i.e. ":") - it is
      # assumed that no part of a normal pathname contains ";" but that should
      # okay in the real world where ";" in dirpaths is itself problematic.
!     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
    else
!     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
    fi
-   # Ok, now we have the path, separated by spaces, we can step through it
-   # and add multilib dir if necessary.
-   lt_tmp_lt_search_path_spec=
-   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
-   for lt_sys_path in $lt_search_path_spec; do
-     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
-       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
-     else
-       test -d "$lt_sys_path" && \
- 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
-     fi
-   done
-   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
- BEGIN {RS=" "; FS="/|\n";} {
-   lt_foo="";
-   lt_count=0;
-   for (lt_i = NF; lt_i > 0; lt_i--) {
-     if ($lt_i != "" && $lt_i != ".") {
-       if ($lt_i == "..") {
-         lt_count++;
-       } else {
-         if (lt_count == 0) {
-           lt_foo="/" $lt_i lt_foo;
-         } else {
-           lt_count--;
-         }
-       }
-     }
-   }
-   if (lt_foo != "") { lt_freq[lt_foo]++; }
-   if (lt_freq[lt_foo] == 1) { print lt_foo; }
- }'`
-   sys_lib_search_path_spec=`echo $lt_search_path_spec`
  else
    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  fi
--- 8692,8708 ----
  version_type=none
  dynamic_linker="$host_os ld.so"
  sys_lib_dlsearch_path_spec="/lib /usr/lib"
  if test "$GCC" = yes; then
!   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
!   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
      # if the path contains ";" then we assume it to be the separator
      # otherwise default to the standard path separator (i.e. ":") - it is
      # assumed that no part of a normal pathname contains ";" but that should
      # okay in the real world where ";" in dirpaths is itself problematic.
!     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
    else
!     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
    fi
  else
    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  fi
***************
*** 9148,9154 ****
    soname_spec='${libname}${release}${shared_ext}$major'
    ;;
  
! aix[4-9]*)
    version_type=linux
    need_lib_prefix=no
    need_version=no
--- 8723,8729 ----
    soname_spec='${libname}${release}${shared_ext}$major'
    ;;
  
! aix4* | aix5*)
    version_type=linux
    need_lib_prefix=no
    need_version=no
***************
*** 9287,9294 ****
    shlibpath_overrides_runpath=yes
    shlibpath_var=DYLD_LIBRARY_PATH
    shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
! 
!   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
    sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
    ;;
  
--- 8862,8873 ----
    shlibpath_overrides_runpath=yes
    shlibpath_var=DYLD_LIBRARY_PATH
    shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
!   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
!   if test "$GCC" = yes; then
!     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
!   else
!     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
!   fi
    sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
    ;;
  
***************
*** 9305,9310 ****
--- 8884,8901 ----
    dynamic_linker=no
    ;;
  
+ kfreebsd*-gnu)
+   version_type=linux
+   need_lib_prefix=no
+   need_version=no
+   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+   soname_spec='${libname}${release}${shared_ext}$major'
+   shlibpath_var=LD_LIBRARY_PATH
+   shlibpath_overrides_runpath=no
+   hardcode_into_libs=yes
+   dynamic_linker='GNU ld.so'
+   ;;
+ 
  freebsd* | dragonfly*)
    # DragonFly does not have aout.  When/if they implement a new
    # versioning mechanism, adjust this.
***************
*** 9342,9348 ****
      shlibpath_overrides_runpath=no
      hardcode_into_libs=yes
      ;;
!   *) # from 4.6 on, and DragonFly
      shlibpath_overrides_runpath=yes
      hardcode_into_libs=yes
      ;;
--- 8933,8939 ----
      shlibpath_overrides_runpath=no
      hardcode_into_libs=yes
      ;;
!   freebsd*) # from 4.6 on
      shlibpath_overrides_runpath=yes
      hardcode_into_libs=yes
      ;;
***************
*** 9405,9411 ****
    postinstall_cmds='chmod 555 $lib'
    ;;
  
! interix[3-9]*)
    version_type=linux
    need_lib_prefix=no
    need_version=no
--- 8996,9002 ----
    postinstall_cmds='chmod 555 $lib'
    ;;
  
! interix3*)
    version_type=linux
    need_lib_prefix=no
    need_version=no
***************
*** 9460,9466 ****
    ;;
  
  # This must be Linux ELF.
! linux* | k*bsd*-gnu)
    version_type=linux
    need_lib_prefix=no
    need_version=no
--- 9051,9057 ----
    ;;
  
  # This must be Linux ELF.
! linux*)
    version_type=linux
    need_lib_prefix=no
    need_version=no
***************
*** 9474,9483 ****
    # before this can be enabled.
    hardcode_into_libs=yes
  
    # Append ld.so.conf contents to the search path
    if test -f /etc/ld.so.conf; then
!     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
!     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
    fi
  
    # We used to test for /lib/ld.so.1 and disable shared libraries on
--- 9065,9095 ----
    # before this can be enabled.
    hardcode_into_libs=yes
  
+   # find out which ABI we are using
+   libsuff=
+   case "$host_cpu" in
+   x86_64*|s390x*|powerpc64*)
+     echo '#line 9072 "configure"' > conftest.$ac_ext
+     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; then
+       case `/usr/bin/file conftest.$ac_objext` in
+       *64-bit*)
+         libsuff=64
+         sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
+         ;;
+       esac
+     fi
+     rm -rf conftest*
+     ;;
+   esac
+ 
    # Append ld.so.conf contents to the search path
    if test -f /etc/ld.so.conf; then
!     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/#.*//;/^[^\/]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
!     sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
    fi
  
    # We used to test for /lib/ld.so.1 and disable shared libraries on
***************
*** 9489,9495 ****
    dynamic_linker='GNU/Linux ld.so'
    ;;
  
! netbsdelf*-gnu)
    version_type=linux
    need_lib_prefix=no
    need_version=no
--- 9101,9107 ----
    dynamic_linker='GNU/Linux ld.so'
    ;;
  
! knetbsd*-gnu)
    version_type=linux
    need_lib_prefix=no
    need_version=no
***************
*** 9498,9504 ****
    shlibpath_var=LD_LIBRARY_PATH
    shlibpath_overrides_runpath=no
    hardcode_into_libs=yes
!   dynamic_linker='NetBSD ld.elf_so'
    ;;
  
  netbsd*)
--- 9110,9116 ----
    shlibpath_var=LD_LIBRARY_PATH
    shlibpath_overrides_runpath=no
    hardcode_into_libs=yes
!   dynamic_linker='GNU ld.so'
    ;;
  
  netbsd*)
***************
*** 9582,9591 ****
    sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
    ;;
  
- rdos*)
-   dynamic_linker=no
-   ;;
- 
  solaris*)
    version_type=linux
    need_lib_prefix=no
--- 9194,9199 ----
***************
*** 9682,9702 ****
  echo "${ECHO_T}$dynamic_linker" >&6; }
  test "$dynamic_linker" = no && can_build_shared=no
  
- if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
- fi
- 
- sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
- if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
- fi
- 
- sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
- 
  variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  if test "$GCC" = yes; then
    variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
--- 9290,9295 ----
***************
*** 9754,9760 ****
     darwin*)
         if test -n "$STRIP" ; then
           striplib="$STRIP -x"
-          old_striplib="$STRIP -S"
           { echo "$as_me:$LINENO: result: yes" >&5
  echo "${ECHO_T}yes" >&6; }
         else
--- 9347,9352 ----
***************
*** 10016,10022 ****
  { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
  echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
  if test $ac_cv_lib_dld_shl_load = yes; then
!   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
  else
    { echo "$as_me:$LINENO: checking for dlopen" >&5
  echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
--- 9608,9614 ----
  { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
  echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
  if test $ac_cv_lib_dld_shl_load = yes; then
!   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
  else
    { echo "$as_me:$LINENO: checking for dlopen" >&5
  echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
***************
*** 10292,10298 ****
  { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
  echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
  if test $ac_cv_lib_dld_dld_link = yes; then
!   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
  fi
  
  
--- 9884,9890 ----
  { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
  echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
  if test $ac_cv_lib_dld_dld_link = yes; then
!   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
  fi
  
  
***************
*** 10341,10347 ****
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<EOF
! #line 10344 "configure"
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
--- 9933,9939 ----
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<EOF
! #line 9936 "configure"
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
***************
*** 10441,10447 ****
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<EOF
! #line 10444 "configure"
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
--- 10033,10039 ----
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<EOF
! #line 10036 "configure"
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
***************
*** 10568,10574 ****
    fi
    ;;
  
! aix[4-9]*)
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
      test "$enable_shared" = yes && enable_static=no
    fi
--- 10160,10166 ----
    fi
    ;;
  
! aix4* | aix5*)
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
      test "$enable_shared" = yes && enable_static=no
    fi
***************
*** 10624,10630 ****
      predeps \
      postdeps \
      compiler_lib_search_path \
-     compiler_lib_search_dirs \
      archive_cmds \
      archive_expsym_cmds \
      postinstall_cmds \
--- 10216,10221 ----
***************
*** 10640,10646 ****
      module_cmds \
      module_expsym_cmds \
      lt_cv_prog_compiler_c_o \
-     fix_srcfile_path \
      exclude_expsyms \
      include_expsyms; do
  
--- 10231,10236 ----
***************
*** 10685,10691 ****
  # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
  # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  #
! # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
  # Free Software Foundation, Inc.
  #
  # This file is part of GNU Libtool:
--- 10275,10281 ----
  # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
  # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  #
! # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
  # Free Software Foundation, Inc.
  #
  # This file is part of GNU Libtool:
***************
*** 10921,10930 ****
  # shared library.
  postdeps=$lt_postdeps
  
- # The directories searched by this compiler when creating a shared
- # library
- compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
- 
  # The library search path used internally by the compiler when linking
  # a shared library.
  compiler_lib_search_path=$lt_compiler_lib_search_path
--- 10511,10516 ----
***************
*** 11013,11019 ****
  sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  
  # Fix the shell variable \$srcfile for the compiler.
! fix_srcfile_path=$lt_fix_srcfile_path
  
  # Set to yes if exported symbols are required.
  always_export_symbols=$always_export_symbols
--- 10599,10605 ----
  sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  
  # Fix the shell variable \$srcfile for the compiler.
! fix_srcfile_path="$fix_srcfile_path"
  
  # Set to yes if exported symbols are required.
  always_export_symbols=$always_export_symbols
***************
*** 11173,11179 ****
  predeps_CXX=
  postdeps_CXX=
  compiler_lib_search_path_CXX=
- compiler_lib_search_dirs_CXX=
  
  # Source file extension for C++ test sources.
  ac_ext=cpp
--- 10759,10764 ----
***************
*** 11183,11192 ****
  objext_CXX=$objext
  
  # Code to be used in simple compile tests
! lt_simple_compile_test_code="int some_variable = 0;"
  
  # Code to be used in simple link tests
! lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
  
  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  
--- 10768,10777 ----
  objext_CXX=$objext
  
  # Code to be used in simple compile tests
! lt_simple_compile_test_code="int some_variable = 0;\n"
  
  # Code to be used in simple link tests
! lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
  
  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  
***************
*** 11202,11217 ****
  
  # save warnings/boilerplate of simple test code
  ac_outfile=conftest.$ac_objext
! echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  _lt_compiler_boilerplate=`cat conftest.err`
  $rm conftest*
  
  ac_outfile=conftest.$ac_objext
! echo "$lt_simple_link_test_code" >conftest.$ac_ext
  eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  _lt_linker_boilerplate=`cat conftest.err`
! $rm -r conftest*
  
  
  # Allow CC to be a program name with arguments.
--- 10787,10802 ----
  
  # save warnings/boilerplate of simple test code
  ac_outfile=conftest.$ac_objext
! printf "$lt_simple_compile_test_code" >conftest.$ac_ext
  eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  _lt_compiler_boilerplate=`cat conftest.err`
  $rm conftest*
  
  ac_outfile=conftest.$ac_objext
! printf "$lt_simple_link_test_code" >conftest.$ac_ext
  eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  _lt_linker_boilerplate=`cat conftest.err`
! $rm conftest*
  
  
  # Allow CC to be a program name with arguments.
***************
*** 11418,11424 ****
      # FIXME: insert proper C++ library support
      ld_shlibs_CXX=no
      ;;
!   aix[4-9]*)
      if test "$host_cpu" = ia64; then
        # On IA64, the linker does run time linking by default, so we don't
        # have to do anything special.
--- 11003,11009 ----
      # FIXME: insert proper C++ library support
      ld_shlibs_CXX=no
      ;;
!   aix4* | aix5*)
      if test "$host_cpu" = ia64; then
        # On IA64, the linker does run time linking by default, so we don't
        # have to do anything special.
***************
*** 11431,11437 ****
        # Test if we are trying to use run time linking or normal
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
        # need to do runtime linking.
!       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  	for ld_flag in $LDFLAGS; do
  	  case $ld_flag in
  	  *-brtl*)
--- 11016,11022 ----
        # Test if we are trying to use run time linking or normal
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
        # need to do runtime linking.
!       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
  	for ld_flag in $LDFLAGS; do
  	  case $ld_flag in
  	  *-brtl*)
***************
*** 11467,11473 ****
  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
  	then
  	  # We have reworked collect2
! 	  :
  	else
  	  # We have old collect2
  	  hardcode_direct_CXX=unsupported
--- 11052,11058 ----
  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
  	then
  	  # We have reworked collect2
! 	  hardcode_direct_CXX=yes
  	else
  	  # We have old collect2
  	  hardcode_direct_CXX=unsupported
***************
*** 11541,11558 ****
         } && test -s conftest$ac_exeext &&
         $as_test_x conftest$ac_exeext; then
  
! lt_aix_libpath_sed='
!     /Import File Strings/,/^$/ {
! 	/^0/ {
! 	    s/^0  *\(.*\)$/\1/
! 	    p
! 	}
!     }'
! aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  # Check for a 64-bit object if we didn't find anything.
! if test -z "$aix_libpath"; then
!   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! fi
  else
    echo "$as_me: failed program was:" >&5
  sed 's/^/| /' conftest.$ac_ext >&5
--- 11126,11136 ----
         } && test -s conftest$ac_exeext &&
         $as_test_x conftest$ac_exeext; then
  
! aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
! }'`
  # Check for a 64-bit object if we didn't find anything.
! if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
! }'`; fi
  else
    echo "$as_me: failed program was:" >&5
  sed 's/^/| /' conftest.$ac_ext >&5
***************
*** 11608,11625 ****
         } && test -s conftest$ac_exeext &&
         $as_test_x conftest$ac_exeext; then
  
! lt_aix_libpath_sed='
!     /Import File Strings/,/^$/ {
! 	/^0/ {
! 	    s/^0  *\(.*\)$/\1/
! 	    p
! 	}
!     }'
! aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  # Check for a 64-bit object if we didn't find anything.
! if test -z "$aix_libpath"; then
!   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! fi
  else
    echo "$as_me: failed program was:" >&5
  sed 's/^/| /' conftest.$ac_ext >&5
--- 11186,11196 ----
         } && test -s conftest$ac_exeext &&
         $as_test_x conftest$ac_exeext; then
  
! aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
! }'`
  # Check for a 64-bit object if we didn't find anything.
! if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
! }'`; fi
  else
    echo "$as_me: failed program was:" >&5
  sed 's/^/| /' conftest.$ac_ext >&5
***************
*** 11689,11719 ****
      fi
    ;;
        darwin* | rhapsody*)
        archive_cmds_need_lc_CXX=no
        hardcode_direct_CXX=no
        hardcode_automatic_CXX=yes
        hardcode_shlibpath_var_CXX=unsupported
        whole_archive_flag_spec_CXX=''
        link_all_deplibs_CXX=yes
!       allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
!       if test "$GXX" = yes ; then
        output_verbose_link_cmd='echo'
!       archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
!       module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
!       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
!       module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
!       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
!         archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
!         archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
        fi
        else
        case $cc_basename in
          xlc*)
           output_verbose_link_cmd='echo'
!           archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
            module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
            # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
!           archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
            module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
            ;;
         *)
--- 11260,11318 ----
      fi
    ;;
        darwin* | rhapsody*)
+         case $host_os in
+         rhapsody* | darwin1.[012])
+          allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
+          ;;
+        *) # Darwin 1.3 on
+          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
+            allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
+          else
+            case ${MACOSX_DEPLOYMENT_TARGET} in
+              10.[012])
+                allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
+                ;;
+              10.*)
+                allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
+                ;;
+            esac
+          fi
+          ;;
+         esac
        archive_cmds_need_lc_CXX=no
        hardcode_direct_CXX=no
        hardcode_automatic_CXX=yes
        hardcode_shlibpath_var_CXX=unsupported
        whole_archive_flag_spec_CXX=''
        link_all_deplibs_CXX=yes
! 
!     if test "$GXX" = yes ; then
!       lt_int_apple_cc_single_mod=no
        output_verbose_link_cmd='echo'
!       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
!        lt_int_apple_cc_single_mod=yes
        fi
+       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
+        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
+       else
+           archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
+         fi
+         module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
+         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
+           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
+             archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+           else
+             archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+           fi
+             module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
        else
        case $cc_basename in
          xlc*)
           output_verbose_link_cmd='echo'
!           archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
            module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
            # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
!           archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
            module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
            ;;
         *)
***************
*** 11747,11753 ****
    freebsd-elf*)
      archive_cmds_need_lc_CXX=no
      ;;
!   freebsd* | dragonfly*)
      # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
      # conventions
      ld_shlibs_CXX=yes
--- 11346,11352 ----
    freebsd-elf*)
      archive_cmds_need_lc_CXX=no
      ;;
!   freebsd* | kfreebsd*-gnu | dragonfly*)
      # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
      # conventions
      ld_shlibs_CXX=yes
***************
*** 11796,11802 ****
        hardcode_libdir_separator_CXX=:
  
        case $host_cpu in
!       hppa*64*|ia64*) ;;
        *)
  	export_dynamic_flag_spec_CXX='${wl}-E'
          ;;
--- 11395,11403 ----
        hardcode_libdir_separator_CXX=:
  
        case $host_cpu in
!       hppa*64*|ia64*)
! 	hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
!         ;;
        *)
  	export_dynamic_flag_spec_CXX='${wl}-E'
          ;;
***************
*** 11864,11870 ****
  	;;
      esac
      ;;
!   interix[3-9]*)
      hardcode_direct_CXX=no
      hardcode_shlibpath_var_CXX=no
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
--- 11465,11471 ----
  	;;
      esac
      ;;
!   interix3*)
      hardcode_direct_CXX=no
      hardcode_shlibpath_var_CXX=no
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
***************
*** 11904,11910 ****
      hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
      hardcode_libdir_separator_CXX=:
      ;;
!   linux* | k*bsd*-gnu)
      case $cc_basename in
        KCC*)
  	# Kuck and Associates, Inc. (KAI) C++ Compiler
--- 11505,11511 ----
      hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
      hardcode_libdir_separator_CXX=:
      ;;
!   linux*)
      case $cc_basename in
        KCC*)
  	# Kuck and Associates, Inc. (KAI) C++ Compiler
***************
*** 11956,11962 ****
  	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  	;;
!       pgCC* | pgcpp*)
          # Portland Group C++ compiler
  	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
    	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
--- 11557,11563 ----
  	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  	;;
!       pgCC*)
          # Portland Group C++ compiler
  	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
    	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
***************
*** 11984,12012 ****
  	# dependencies.
  	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
  	;;
-       *)
- 	case `$CC -V 2>&1 | sed 5q` in
- 	*Sun\ C*)
- 	  # Sun C++ 5.9
- 	  no_undefined_flag_CXX=' -zdefs'
- 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
- 	  archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
- 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
- 	  whole_archive_flag_spec_CXX='${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'
- 
- 	  # Not sure whether something based on
- 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
- 	  # would be better.
- 	  output_verbose_link_cmd='echo'
- 
- 	  # Archives containing C++ object files must be created using
- 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
- 	  # necessary to make sure instantiated templates are included
- 	  # in the archive.
- 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
- 	  ;;
- 	esac
- 	;;
      esac
      ;;
    lynxos*)
--- 11585,11590 ----
***************
*** 12029,12035 ****
  	;;
      esac
      ;;
!   netbsd* | netbsdelf*-gnu)
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
        archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
        wlarc=
--- 11607,11613 ----
  	;;
      esac
      ;;
!   netbsd*)
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
        archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
        wlarc=
***************
*** 12043,12064 ****
    openbsd2*)
      # C++ shared libraries are fairly broken
      ld_shlibs_CXX=no
!     ;;
!   openbsd*)
!     if test -f /usr/libexec/ld.so; then
!       hardcode_direct_CXX=yes
!       hardcode_shlibpath_var_CXX=no
!       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
!       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
!       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
! 	export_dynamic_flag_spec_CXX='${wl}-E'
! 	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
!       fi
!       output_verbose_link_cmd='echo'
!     else
!       ld_shlibs_CXX=no
      fi
      ;;
    osf3*)
      case $cc_basename in
--- 11621,11638 ----
    openbsd2*)
      # C++ shared libraries are fairly broken
      ld_shlibs_CXX=no
!     ;;
!   openbsd*)
!     hardcode_direct_CXX=yes
!     hardcode_shlibpath_var_CXX=no
!     archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
!     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
!     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
!       archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
!       export_dynamic_flag_spec_CXX='${wl}-E'
!       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
      fi
+     output_verbose_link_cmd='echo'
      ;;
    osf3*)
      case $cc_basename in
***************
*** 12220,12229 ****
  	case $host_os in
  	  solaris2.[0-5] | solaris2.[0-5].*) ;;
  	  *)
! 	    # The compiler driver will combine and reorder linker options,
! 	    # but understands `-z linker_flag'.
  	    # Supported since Solaris 2.6 (maybe 2.5.1?)
! 	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
  	    ;;
  	esac
  	link_all_deplibs_CXX=yes
--- 11794,11808 ----
  	case $host_os in
  	  solaris2.[0-5] | solaris2.[0-5].*) ;;
  	  *)
! 	    # The C++ compiler is used as linker so we must use $wl
! 	    # flag to pass the commands to the underlying system
! 	    # linker. We must also pass each convience library through
! 	    # to the system linker between allextract/defaultextract.
! 	    # The C++ compiler will combine linker options so we
! 	    # cannot just pass the convience library names through
! 	    # without $wl.
  	    # Supported since Solaris 2.6 (maybe 2.5.1?)
! 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
  	    ;;
  	esac
  	link_all_deplibs_CXX=yes
***************
*** 12270,12281 ****
  	  fi
  
  	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
- 	  case $host_os in
- 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
- 	  *)
- 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
- 	    ;;
- 	  esac
  	fi
  	;;
      esac
--- 11849,11854 ----
***************
*** 12464,12477 ****
  
  $rm -f confest.$objext
  
- compiler_lib_search_dirs_CXX=
- if test -n "$compiler_lib_search_path_CXX"; then
-   compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
- fi
- 
  # PORTME: override above test on systems where it is broken
  case $host_os in
! interix[3-9]*)
    # Interix 3.5 installs completely hosed .la files for C++, so rather than
    # hack all around it, let's just trust "g++" to DTRT.
    predep_objects_CXX=
--- 12038,12046 ----
  
  $rm -f confest.$objext
  
  # PORTME: override above test on systems where it is broken
  case $host_os in
! interix3*)
    # Interix 3.5 installs completely hosed .la files for C++, so rather than
    # hack all around it, let's just trust "g++" to DTRT.
    predep_objects_CXX=
***************
*** 12479,12524 ****
    postdeps_CXX=
    ;;
  
- linux*)
-   case `$CC -V 2>&1 | sed 5q` in
-   *Sun\ C*)
-     # Sun C++ 5.9
-     #
-     # The more standards-conforming stlport4 library is
-     # incompatible with the Cstd library. Avoid specifying
-     # it if it's in CXXFLAGS. Ignore libCrun as
-     # -library=stlport4 depends on it.
-     case " $CXX $CXXFLAGS " in
-     *" -library=stlport4 "*)
-       solaris_use_stlport4=yes
-       ;;
-     esac
-     if test "$solaris_use_stlport4" != yes; then
-       postdeps_CXX='-library=Cstd -library=Crun'
-     fi
-     ;;
-   esac
-   ;;
- 
  solaris*)
    case $cc_basename in
    CC*)
-     # The more standards-conforming stlport4 library is
-     # incompatible with the Cstd library. Avoid specifying
-     # it if it's in CXXFLAGS. Ignore libCrun as
-     # -library=stlport4 depends on it.
-     case " $CXX $CXXFLAGS " in
-     *" -library=stlport4 "*)
-       solaris_use_stlport4=yes
-       ;;
-     esac
- 
      # Adding this requires a known-good setup of shared libraries for
      # Sun compiler versions before 5.6, else PIC objects from an old
      # archive will be linked into the output, leading to subtle bugs.
!     if test "$solaris_use_stlport4" != yes; then
!       postdeps_CXX='-library=Cstd -library=Crun'
!     fi
      ;;
    esac
    ;;
--- 12048,12060 ----
    postdeps_CXX=
    ;;
  
  solaris*)
    case $cc_basename in
    CC*)
      # Adding this requires a known-good setup of shared libraries for
      # Sun compiler versions before 5.6, else PIC objects from an old
      # archive will be linked into the output, leading to subtle bugs.
!     postdeps_CXX='-lCstd -lCrun'
      ;;
    esac
    ;;
***************
*** 12554,12567 ****
        # like `-m68040'.
        lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
        ;;
!     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
        # PIC is the default for these OSes.
        ;;
!     mingw* | cygwin* | os2* | pw32*)
        # This hack is so that the source file can tell whether it is being
        # built for inclusion in a dll (and should export symbols for example).
-       # Although the cygwin gcc ignores -fPIC, still need this for old-style
-       # (--disable-auto-import) libraries
        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
        ;;
      darwin* | rhapsody*)
--- 12091,12102 ----
        # like `-m68040'.
        lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
        ;;
!     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
        # PIC is the default for these OSes.
        ;;
!     mingw* | os2* | pw32*)
        # This hack is so that the source file can tell whether it is being
        # built for inclusion in a dll (and should export symbols for example).
        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
        ;;
      darwin* | rhapsody*)
***************
*** 12573,12579 ****
        # DJGPP does not support shared libraries at all
        lt_prog_compiler_pic_CXX=
        ;;
!     interix[3-9]*)
        # Interix 3.x gcc -fpic/-fPIC options generate broken code.
        # Instead, we relocate shared libraries at runtime.
        ;;
--- 12108,12114 ----
        # DJGPP does not support shared libraries at all
        lt_prog_compiler_pic_CXX=
        ;;
!     interix3*)
        # Interix 3.x gcc -fpic/-fPIC options generate broken code.
        # Instead, we relocate shared libraries at runtime.
        ;;
***************
*** 12599,12605 ****
      esac
    else
      case $host_os in
!       aix[4-9]*)
  	# All AIX code is PIC.
  	if test "$host_cpu" = ia64; then
  	  # AIX 5 now supports IA64 processor
--- 12134,12140 ----
      esac
    else
      case $host_os in
!       aix4* | aix5*)
  	# All AIX code is PIC.
  	if test "$host_cpu" = ia64; then
  	  # AIX 5 now supports IA64 processor
***************
*** 12639,12645 ****
  	    ;;
  	esac
  	;;
!       freebsd* | dragonfly*)
  	# FreeBSD uses GNU C++
  	;;
        hpux9* | hpux10* | hpux11*)
--- 12174,12180 ----
  	    ;;
  	esac
  	;;
!       freebsd* | kfreebsd*-gnu | dragonfly*)
  	# FreeBSD uses GNU C++
  	;;
        hpux9* | hpux10* | hpux11*)
***************
*** 12682,12688 ****
  	    ;;
  	esac
  	;;
!       linux* | k*bsd*-gnu)
  	case $cc_basename in
  	  KCC*)
  	    # KAI C++ Compiler
--- 12217,12223 ----
  	    ;;
  	esac
  	;;
!       linux*)
  	case $cc_basename in
  	  KCC*)
  	    # KAI C++ Compiler
***************
*** 12695,12701 ****
  	    lt_prog_compiler_pic_CXX='-KPIC'
  	    lt_prog_compiler_static_CXX='-static'
  	    ;;
! 	  pgCC* | pgcpp*)
  	    # Portland Group C++ compiler.
  	    lt_prog_compiler_wl_CXX='-Wl,'
  	    lt_prog_compiler_pic_CXX='-fpic'
--- 12230,12236 ----
  	    lt_prog_compiler_pic_CXX='-KPIC'
  	    lt_prog_compiler_static_CXX='-static'
  	    ;;
! 	  pgCC*)
  	    # Portland Group C++ compiler.
  	    lt_prog_compiler_wl_CXX='-Wl,'
  	    lt_prog_compiler_pic_CXX='-fpic'
***************
*** 12709,12722 ****
  	    lt_prog_compiler_static_CXX='-non_shared'
  	    ;;
  	  *)
- 	    case `$CC -V 2>&1 | sed 5q` in
- 	    *Sun\ C*)
- 	      # Sun C++ 5.9
- 	      lt_prog_compiler_pic_CXX='-KPIC'
- 	      lt_prog_compiler_static_CXX='-Bstatic'
- 	      lt_prog_compiler_wl_CXX='-Qoption ld '
- 	      ;;
- 	    esac
  	    ;;
  	esac
  	;;
--- 12244,12249 ----
***************
*** 12733,12739 ****
  	    ;;
  	esac
  	;;
!       netbsd* | netbsdelf*-gnu)
  	;;
        osf3* | osf4* | osf5*)
  	case $cc_basename in
--- 12260,12266 ----
  	    ;;
  	esac
  	;;
!       netbsd*)
  	;;
        osf3* | osf4* | osf5*)
  	case $cc_basename in
***************
*** 12826,12837 ****
  
  { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
  echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
! if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   lt_cv_prog_compiler_pic_works_CXX=no
    ac_outfile=conftest.$ac_objext
!    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
     # Insert the option either (1) after the last *FLAGS variable, or
     # (2) before a word containing "conftest.", or (3) at the end.
--- 12353,12364 ----
  
  { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
  echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
! if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   lt_prog_compiler_pic_works_CXX=no
    ac_outfile=conftest.$ac_objext
!    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
     lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
     # Insert the option either (1) after the last *FLAGS variable, or
     # (2) before a word containing "conftest.", or (3) at the end.
***************
*** 12842,12868 ****
     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     -e 's:$: $lt_compiler_flag:'`
!    (eval echo "\"\$as_me:12845: $lt_compile\"" >&5)
     (eval "$lt_compile" 2>conftest.err)
     ac_status=$?
     cat conftest.err >&5
!    echo "$as_me:12849: \$? = $ac_status" >&5
     if (exit $ac_status) && test -s "$ac_outfile"; then
       # The compiler can only warn and ignore the option if not recognized
       # So say no if there are warnings other than the usual output.
       $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
!        lt_cv_prog_compiler_pic_works_CXX=yes
       fi
     fi
     $rm conftest*
  
  fi
! { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
! echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
  
! if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
      case $lt_prog_compiler_pic_CXX in
       "" | " "*) ;;
       *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
--- 12369,12395 ----
     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     -e 's:$: $lt_compiler_flag:'`
!    (eval echo "\"\$as_me:12372: $lt_compile\"" >&5)
     (eval "$lt_compile" 2>conftest.err)
     ac_status=$?
     cat conftest.err >&5
!    echo "$as_me:12376: \$? = $ac_status" >&5
     if (exit $ac_status) && test -s "$ac_outfile"; then
       # The compiler can only warn and ignore the option if not recognized
       # So say no if there are warnings other than the usual output.
       $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
!        lt_prog_compiler_pic_works_CXX=yes
       fi
     fi
     $rm conftest*
  
  fi
! { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
! echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
  
! if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
      case $lt_prog_compiler_pic_CXX in
       "" | " "*) ;;
       *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
***************
*** 12889,12901 ****
  wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
  { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
! if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   lt_cv_prog_compiler_static_works_CXX=no
     save_LDFLAGS="$LDFLAGS"
     LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
!    echo "$lt_simple_link_test_code" > conftest.$ac_ext
     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
       # The linker can only warn and ignore the option if not recognized
       # So say no if there are warnings
--- 12416,12428 ----
  wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
  { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
! if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   lt_prog_compiler_static_works_CXX=no
     save_LDFLAGS="$LDFLAGS"
     LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
!    printf "$lt_simple_link_test_code" > conftest.$ac_ext
     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
       # The linker can only warn and ignore the option if not recognized
       # So say no if there are warnings
***************
*** 12905,12924 ****
         $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
         if diff conftest.exp conftest.er2 >/dev/null; then
!          lt_cv_prog_compiler_static_works_CXX=yes
         fi
       else
!        lt_cv_prog_compiler_static_works_CXX=yes
       fi
     fi
!    $rm -r conftest*
     LDFLAGS="$save_LDFLAGS"
  
  fi
! { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
! echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
  
! if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
      :
  else
      lt_prog_compiler_static_CXX=
--- 12432,12451 ----
         $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
         if diff conftest.exp conftest.er2 >/dev/null; then
!          lt_prog_compiler_static_works_CXX=yes
         fi
       else
!        lt_prog_compiler_static_works_CXX=yes
       fi
     fi
!    $rm conftest*
     LDFLAGS="$save_LDFLAGS"
  
  fi
! { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
! echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
  
! if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
      :
  else
      lt_prog_compiler_static_CXX=
***************
*** 12935,12941 ****
     mkdir conftest
     cd conftest
     mkdir out
!    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  
     lt_compiler_flag="-o out/conftest2.$ac_objext"
     # Insert the option either (1) after the last *FLAGS variable, or
--- 12462,12468 ----
     mkdir conftest
     cd conftest
     mkdir out
!    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  
     lt_compiler_flag="-o out/conftest2.$ac_objext"
     # Insert the option either (1) after the last *FLAGS variable, or
***************
*** 12946,12956 ****
     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     -e 's:$: $lt_compiler_flag:'`
!    (eval echo "\"\$as_me:12949: $lt_compile\"" >&5)
     (eval "$lt_compile" 2>out/conftest.err)
     ac_status=$?
     cat out/conftest.err >&5
!    echo "$as_me:12953: \$? = $ac_status" >&5
     if (exit $ac_status) && test -s out/conftest2.$ac_objext
     then
       # The compiler can only warn and ignore the option if not recognized
--- 12473,12483 ----
     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     -e 's:$: $lt_compiler_flag:'`
!    (eval echo "\"\$as_me:12476: $lt_compile\"" >&5)
     (eval "$lt_compile" 2>out/conftest.err)
     ac_status=$?
     cat out/conftest.err >&5
!    echo "$as_me:12480: \$? = $ac_status" >&5
     if (exit $ac_status) && test -s out/conftest2.$ac_objext
     then
       # The compiler can only warn and ignore the option if not recognized
***************
*** 13003,13009 ****
  
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
    case $host_os in
!   aix[4-9]*)
      # If we're using GNU nm, then we don't want the "-C" option.
      # -C means demangle to AIX nm, but means don't demangle with GNU nm
      if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
--- 12530,12536 ----
  
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
    case $host_os in
!   aix4* | aix5*)
      # If we're using GNU nm, then we don't want the "-C" option.
      # -C means demangle to AIX nm, but means don't demangle with GNU nm
      if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
***************
*** 13016,13031 ****
      export_symbols_cmds_CXX="$ltdll_cmds"
    ;;
    cygwin* | mingw*)
!     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
!   ;;
!   linux* | k*bsd*-gnu)
!     link_all_deplibs_CXX=no
    ;;
    *)
      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
    ;;
    esac
-   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  
  { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
  echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
--- 12543,12554 ----
      export_symbols_cmds_CXX="$ltdll_cmds"
    ;;
    cygwin* | mingw*)
!     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
    ;;
    *)
      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
    ;;
    esac
  
  { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
  echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
***************
*** 13051,13057 ****
        { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
  echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
        $rm conftest*
!       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  
        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
--- 12574,12580 ----
        { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
  echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
        $rm conftest*
!       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  
        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
***************
*** 13109,13115 ****
  version_type=none
  dynamic_linker="$host_os ld.so"
  sys_lib_dlsearch_path_spec="/lib /usr/lib"
! 
  need_lib_prefix=unknown
  hardcode_into_libs=no
  
--- 12632,12651 ----
  version_type=none
  dynamic_linker="$host_os ld.so"
  sys_lib_dlsearch_path_spec="/lib /usr/lib"
! if test "$GCC" = yes; then
!   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
!   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
!     # if the path contains ";" then we assume it to be the separator
!     # otherwise default to the standard path separator (i.e. ":") - it is
!     # assumed that no part of a normal pathname contains ";" but that should
!     # okay in the real world where ";" in dirpaths is itself problematic.
!     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
!   else
!     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
!   fi
! else
!   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
! fi
  need_lib_prefix=unknown
  hardcode_into_libs=no
  
***************
*** 13127,13133 ****
    soname_spec='${libname}${release}${shared_ext}$major'
    ;;
  
! aix[4-9]*)
    version_type=linux
    need_lib_prefix=no
    need_version=no
--- 12663,12669 ----
    soname_spec='${libname}${release}${shared_ext}$major'
    ;;
  
! aix4* | aix5*)
    version_type=linux
    need_lib_prefix=no
    need_version=no
***************
*** 13266,13272 ****
    shlibpath_overrides_runpath=yes
    shlibpath_var=DYLD_LIBRARY_PATH
    shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
! 
    sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
    ;;
  
--- 12802,12813 ----
    shlibpath_overrides_runpath=yes
    shlibpath_var=DYLD_LIBRARY_PATH
    shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
!   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
!   if test "$GCC" = yes; then
!     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
!   else
!     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
!   fi
    sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
    ;;
  
***************
*** 13283,13288 ****
--- 12824,12841 ----
    dynamic_linker=no
    ;;
  
+ kfreebsd*-gnu)
+   version_type=linux
+   need_lib_prefix=no
+   need_version=no
+   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+   soname_spec='${libname}${release}${shared_ext}$major'
+   shlibpath_var=LD_LIBRARY_PATH
+   shlibpath_overrides_runpath=no
+   hardcode_into_libs=yes
+   dynamic_linker='GNU ld.so'
+   ;;
+ 
  freebsd* | dragonfly*)
    # DragonFly does not have aout.  When/if they implement a new
    # versioning mechanism, adjust this.
***************
*** 13320,13326 ****
      shlibpath_overrides_runpath=no
      hardcode_into_libs=yes
      ;;
!   *) # from 4.6 on, and DragonFly
      shlibpath_overrides_runpath=yes
      hardcode_into_libs=yes
      ;;
--- 12873,12879 ----
      shlibpath_overrides_runpath=no
      hardcode_into_libs=yes
      ;;
!   freebsd*) # from 4.6 on
      shlibpath_overrides_runpath=yes
      hardcode_into_libs=yes
      ;;
***************
*** 13383,13389 ****
    postinstall_cmds='chmod 555 $lib'
    ;;
  
! interix[3-9]*)
    version_type=linux
    need_lib_prefix=no
    need_version=no
--- 12936,12942 ----
    postinstall_cmds='chmod 555 $lib'
    ;;
  
! interix3*)
    version_type=linux
    need_lib_prefix=no
    need_version=no
***************
*** 13438,13444 ****
    ;;
  
  # This must be Linux ELF.
! linux* | k*bsd*-gnu)
    version_type=linux
    need_lib_prefix=no
    need_version=no
--- 12991,12997 ----
    ;;
  
  # This must be Linux ELF.
! linux*)
    version_type=linux
    need_lib_prefix=no
    need_version=no
***************
*** 13452,13461 ****
    # before this can be enabled.
    hardcode_into_libs=yes
  
    # Append ld.so.conf contents to the search path
    if test -f /etc/ld.so.conf; then
!     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
!     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
    fi
  
    # We used to test for /lib/ld.so.1 and disable shared libraries on
--- 13005,13035 ----
    # before this can be enabled.
    hardcode_into_libs=yes
  
+   # find out which ABI we are using
+   libsuff=
+   case "$host_cpu" in
+   x86_64*|s390x*|powerpc64*)
+     echo '#line 13012 "configure"' > conftest.$ac_ext
+     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; then
+       case `/usr/bin/file conftest.$ac_objext` in
+       *64-bit*)
+         libsuff=64
+         sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
+         ;;
+       esac
+     fi
+     rm -rf conftest*
+     ;;
+   esac
+ 
    # Append ld.so.conf contents to the search path
    if test -f /etc/ld.so.conf; then
!     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/#.*//;/^[^\/]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
!     sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
    fi
  
    # We used to test for /lib/ld.so.1 and disable shared libraries on
***************
*** 13467,13473 ****
    dynamic_linker='GNU/Linux ld.so'
    ;;
  
! netbsdelf*-gnu)
    version_type=linux
    need_lib_prefix=no
    need_version=no
--- 13041,13047 ----
    dynamic_linker='GNU/Linux ld.so'
    ;;
  
! knetbsd*-gnu)
    version_type=linux
    need_lib_prefix=no
    need_version=no
***************
*** 13476,13482 ****
    shlibpath_var=LD_LIBRARY_PATH
    shlibpath_overrides_runpath=no
    hardcode_into_libs=yes
!   dynamic_linker='NetBSD ld.elf_so'
    ;;
  
  netbsd*)
--- 13050,13056 ----
    shlibpath_var=LD_LIBRARY_PATH
    shlibpath_overrides_runpath=no
    hardcode_into_libs=yes
!   dynamic_linker='GNU ld.so'
    ;;
  
  netbsd*)
***************
*** 13560,13569 ****
    sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
    ;;
  
- rdos*)
-   dynamic_linker=no
-   ;;
- 
  solaris*)
    version_type=linux
    need_lib_prefix=no
--- 13134,13139 ----
***************
*** 13660,13680 ****
  echo "${ECHO_T}$dynamic_linker" >&6; }
  test "$dynamic_linker" = no && can_build_shared=no
  
- if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
- fi
- 
- sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
- if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
- fi
- 
- sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
- 
  variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  if test "$GCC" = yes; then
    variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
--- 13230,13235 ----
***************
*** 13758,13764 ****
      predeps_CXX \
      postdeps_CXX \
      compiler_lib_search_path_CXX \
-     compiler_lib_search_dirs_CXX \
      archive_cmds_CXX \
      archive_expsym_cmds_CXX \
      postinstall_cmds_CXX \
--- 13313,13318 ----
***************
*** 13774,13780 ****
      module_cmds_CXX \
      module_expsym_cmds_CXX \
      lt_cv_prog_compiler_c_o_CXX \
-     fix_srcfile_path_CXX \
      exclude_expsyms_CXX \
      include_expsyms_CXX; do
  
--- 13328,13333 ----
***************
*** 14007,14016 ****
  # shared library.
  postdeps=$lt_postdeps_CXX
  
- # The directories searched by this compiler when creating a shared
- # library
- compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
- 
  # The library search path used internally by the compiler when linking
  # a shared library.
  compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
--- 13560,13565 ----
***************
*** 14099,14105 ****
  sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  
  # Fix the shell variable \$srcfile for the compiler.
! fix_srcfile_path=$lt_fix_srcfile_path
  
  # Set to yes if exported symbols are required.
  always_export_symbols=$always_export_symbols_CXX
--- 13648,13654 ----
  sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  
  # Fix the shell variable \$srcfile for the compiler.
! fix_srcfile_path="$fix_srcfile_path_CXX"
  
  # Set to yes if exported symbols are required.
  always_export_symbols=$always_export_symbols_CXX
***************
*** 14190,14206 ****
  objext_F77=$objext
  
  # Code to be used in simple compile tests
! lt_simple_compile_test_code="\
!       subroutine t
!       return
!       end
! "
  
  # Code to be used in simple link tests
! lt_simple_link_test_code="\
!       program t
!       end
! "
  
  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  
--- 13739,13748 ----
  objext_F77=$objext
  
  # Code to be used in simple compile tests
! lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
  
  # Code to be used in simple link tests
! lt_simple_link_test_code="      program t\n      end\n"
  
  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  
***************
*** 14216,14231 ****
  
  # save warnings/boilerplate of simple test code
  ac_outfile=conftest.$ac_objext
! echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  _lt_compiler_boilerplate=`cat conftest.err`
  $rm conftest*
  
  ac_outfile=conftest.$ac_objext
! echo "$lt_simple_link_test_code" >conftest.$ac_ext
  eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  _lt_linker_boilerplate=`cat conftest.err`
! $rm -r conftest*
  
  
  # Allow CC to be a program name with arguments.
--- 13758,13773 ----
  
  # save warnings/boilerplate of simple test code
  ac_outfile=conftest.$ac_objext
! printf "$lt_simple_compile_test_code" >conftest.$ac_ext
  eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  _lt_compiler_boilerplate=`cat conftest.err`
  $rm conftest*
  
  ac_outfile=conftest.$ac_objext
! printf "$lt_simple_link_test_code" >conftest.$ac_ext
  eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  _lt_linker_boilerplate=`cat conftest.err`
! $rm conftest*
  
  
  # Allow CC to be a program name with arguments.
***************
*** 14263,14269 ****
      postinstall_cmds='$RANLIB $lib'
    fi
    ;;
! aix[4-9]*)
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
      test "$enable_shared" = yes && enable_static=no
    fi
--- 13805,13811 ----
      postinstall_cmds='$RANLIB $lib'
    fi
    ;;
! aix4* | aix5*)
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
      test "$enable_shared" = yes && enable_static=no
    fi
***************
*** 14309,14323 ****
        lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
        ;;
  
!     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
        # PIC is the default for these OSes.
        ;;
  
!     mingw* | cygwin* | pw32* | os2*)
        # This hack is so that the source file can tell whether it is being
        # built for inclusion in a dll (and should export symbols for example).
-       # Although the cygwin gcc ignores -fPIC, still need this for old-style
-       # (--disable-auto-import) libraries
        lt_prog_compiler_pic_F77='-DDLL_EXPORT'
        ;;
  
--- 13851,13863 ----
        lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
        ;;
  
!     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
        # PIC is the default for these OSes.
        ;;
  
!     mingw* | pw32* | os2*)
        # This hack is so that the source file can tell whether it is being
        # built for inclusion in a dll (and should export symbols for example).
        lt_prog_compiler_pic_F77='-DDLL_EXPORT'
        ;;
  
***************
*** 14327,14333 ****
        lt_prog_compiler_pic_F77='-fno-common'
        ;;
  
!     interix[3-9]*)
        # Interix 3.x gcc -fpic/-fPIC options generate broken code.
        # Instead, we relocate shared libraries at runtime.
        ;;
--- 13867,13873 ----
        lt_prog_compiler_pic_F77='-fno-common'
        ;;
  
!     interix3*)
        # Interix 3.x gcc -fpic/-fPIC options generate broken code.
        # Instead, we relocate shared libraries at runtime.
        ;;
***************
*** 14385,14391 ****
         esac
         ;;
  
!     mingw* | cygwin* | pw32* | os2*)
        # This hack is so that the source file can tell whether it is being
        # built for inclusion in a dll (and should export symbols for example).
        lt_prog_compiler_pic_F77='-DDLL_EXPORT'
--- 13925,13931 ----
         esac
         ;;
  
!     mingw* | pw32* | os2*)
        # This hack is so that the source file can tell whether it is being
        # built for inclusion in a dll (and should export symbols for example).
        lt_prog_compiler_pic_F77='-DDLL_EXPORT'
***************
*** 14418,14424 ****
        lt_prog_compiler_static_F77='-Bstatic'
        ;;
  
!     linux* | k*bsd*-gnu)
        case $cc_basename in
        icc* | ecc*)
  	lt_prog_compiler_wl_F77='-Wl,'
--- 13958,13964 ----
        lt_prog_compiler_static_F77='-Bstatic'
        ;;
  
!     linux*)
        case $cc_basename in
        icc* | ecc*)
  	lt_prog_compiler_wl_F77='-Wl,'
***************
*** 14437,14458 ****
          # All Alpha code is PIC.
          lt_prog_compiler_static_F77='-non_shared'
          ;;
-       *)
-         case `$CC -V 2>&1 | sed 5q` in
- 	*Sun\ C*)
- 	  # Sun C 5.9
- 	  lt_prog_compiler_pic_F77='-KPIC'
- 	  lt_prog_compiler_static_F77='-Bstatic'
- 	  lt_prog_compiler_wl_F77='-Wl,'
- 	  ;;
- 	*Sun\ F*)
- 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
- 	  lt_prog_compiler_pic_F77='-KPIC'
- 	  lt_prog_compiler_static_F77='-Bstatic'
- 	  lt_prog_compiler_wl_F77=''
- 	  ;;
- 	esac
- 	;;
        esac
        ;;
  
--- 13977,13982 ----
***************
*** 14462,14471 ****
        lt_prog_compiler_static_F77='-non_shared'
        ;;
  
-     rdos*)
-       lt_prog_compiler_static_F77='-non_shared'
-       ;;
- 
      solaris*)
        lt_prog_compiler_pic_F77='-KPIC'
        lt_prog_compiler_static_F77='-Bstatic'
--- 13986,13991 ----
***************
*** 14528,14539 ****
  
  { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
  echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
! if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   lt_cv_prog_compiler_pic_works_F77=no
    ac_outfile=conftest.$ac_objext
!    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     lt_compiler_flag="$lt_prog_compiler_pic_F77"
     # Insert the option either (1) after the last *FLAGS variable, or
     # (2) before a word containing "conftest.", or (3) at the end.
--- 14048,14059 ----
  
  { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
  echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
! if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   lt_prog_compiler_pic_works_F77=no
    ac_outfile=conftest.$ac_objext
!    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
     lt_compiler_flag="$lt_prog_compiler_pic_F77"
     # Insert the option either (1) after the last *FLAGS variable, or
     # (2) before a word containing "conftest.", or (3) at the end.
***************
*** 14544,14570 ****
     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     -e 's:$: $lt_compiler_flag:'`
!    (eval echo "\"\$as_me:14547: $lt_compile\"" >&5)
     (eval "$lt_compile" 2>conftest.err)
     ac_status=$?
     cat conftest.err >&5
!    echo "$as_me:14551: \$? = $ac_status" >&5
     if (exit $ac_status) && test -s "$ac_outfile"; then
       # The compiler can only warn and ignore the option if not recognized
       # So say no if there are warnings other than the usual output.
       $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
!        lt_cv_prog_compiler_pic_works_F77=yes
       fi
     fi
     $rm conftest*
  
  fi
! { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
! echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
  
! if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
      case $lt_prog_compiler_pic_F77 in
       "" | " "*) ;;
       *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
--- 14064,14090 ----
     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     -e 's:$: $lt_compiler_flag:'`
!    (eval echo "\"\$as_me:14067: $lt_compile\"" >&5)
     (eval "$lt_compile" 2>conftest.err)
     ac_status=$?
     cat conftest.err >&5
!    echo "$as_me:14071: \$? = $ac_status" >&5
     if (exit $ac_status) && test -s "$ac_outfile"; then
       # The compiler can only warn and ignore the option if not recognized
       # So say no if there are warnings other than the usual output.
       $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
!        lt_prog_compiler_pic_works_F77=yes
       fi
     fi
     $rm conftest*
  
  fi
! { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
! echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
  
! if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
      case $lt_prog_compiler_pic_F77 in
       "" | " "*) ;;
       *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
***************
*** 14591,14603 ****
  wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
  { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
! if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   lt_cv_prog_compiler_static_works_F77=no
     save_LDFLAGS="$LDFLAGS"
     LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
!    echo "$lt_simple_link_test_code" > conftest.$ac_ext
     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
       # The linker can only warn and ignore the option if not recognized
       # So say no if there are warnings
--- 14111,14123 ----
  wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
  { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
! if test "${lt_prog_compiler_static_works_F77+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   lt_prog_compiler_static_works_F77=no
     save_LDFLAGS="$LDFLAGS"
     LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
!    printf "$lt_simple_link_test_code" > conftest.$ac_ext
     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
       # The linker can only warn and ignore the option if not recognized
       # So say no if there are warnings
***************
*** 14607,14626 ****
         $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
         if diff conftest.exp conftest.er2 >/dev/null; then
!          lt_cv_prog_compiler_static_works_F77=yes
         fi
       else
!        lt_cv_prog_compiler_static_works_F77=yes
       fi
     fi
!    $rm -r conftest*
     LDFLAGS="$save_LDFLAGS"
  
  fi
! { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
! echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
  
! if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
      :
  else
      lt_prog_compiler_static_F77=
--- 14127,14146 ----
         $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
         if diff conftest.exp conftest.er2 >/dev/null; then
!          lt_prog_compiler_static_works_F77=yes
         fi
       else
!        lt_prog_compiler_static_works_F77=yes
       fi
     fi
!    $rm conftest*
     LDFLAGS="$save_LDFLAGS"
  
  fi
! { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
! echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
  
! if test x"$lt_prog_compiler_static_works_F77" = xyes; then
      :
  else
      lt_prog_compiler_static_F77=
***************
*** 14637,14643 ****
     mkdir conftest
     cd conftest
     mkdir out
!    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  
     lt_compiler_flag="-o out/conftest2.$ac_objext"
     # Insert the option either (1) after the last *FLAGS variable, or
--- 14157,14163 ----
     mkdir conftest
     cd conftest
     mkdir out
!    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  
     lt_compiler_flag="-o out/conftest2.$ac_objext"
     # Insert the option either (1) after the last *FLAGS variable, or
***************
*** 14648,14658 ****
     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     -e 's:$: $lt_compiler_flag:'`
!    (eval echo "\"\$as_me:14651: $lt_compile\"" >&5)
     (eval "$lt_compile" 2>out/conftest.err)
     ac_status=$?
     cat out/conftest.err >&5
!    echo "$as_me:14655: \$? = $ac_status" >&5
     if (exit $ac_status) && test -s out/conftest2.$ac_objext
     then
       # The compiler can only warn and ignore the option if not recognized
--- 14168,14178 ----
     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     -e 's:$: $lt_compiler_flag:'`
!    (eval echo "\"\$as_me:14171: $lt_compile\"" >&5)
     (eval "$lt_compile" 2>out/conftest.err)
     ac_status=$?
     cat out/conftest.err >&5
!    echo "$as_me:14175: \$? = $ac_status" >&5
     if (exit $ac_status) && test -s out/conftest2.$ac_objext
     then
       # The compiler can only warn and ignore the option if not recognized
***************
*** 14732,14744 ****
    # it will be wrapped by ` (' and `)$', so one must not match beginning or
    # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
    # as well as any symbol that contains `d'.
!   exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
    # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
    # platforms (ab)use it in PIC code, but their linkers get confused if
    # the symbol is explicitly referenced.  Since portable code cannot
    # rely on this symbol name, it's probably fine to never include it in
    # preloaded symbol tables.
-   # Exclude shared library initialization/finalization symbols.
    extract_expsyms_cmds=
    # Just being paranoid about ensuring that cc_basename is set.
    for cc_temp in $compiler""; do
--- 14252,14263 ----
    # it will be wrapped by ` (' and `)$', so one must not match beginning or
    # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
    # as well as any symbol that contains `d'.
!   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
    # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
    # platforms (ab)use it in PIC code, but their linkers get confused if
    # the symbol is explicitly referenced.  Since portable code cannot
    # rely on this symbol name, it's probably fine to never include it in
    # preloaded symbol tables.
    extract_expsyms_cmds=
    # Just being paranoid about ensuring that cc_basename is set.
    for cc_temp in $compiler""; do
***************
*** 14797,14803 ****
  
      # See if GNU ld supports shared libraries.
      case $host_os in
!     aix[3-9]*)
        # On AIX/PPC, the GNU linker is very broken
        if test "$host_cpu" != ia64; then
  	ld_shlibs_F77=no
--- 14316,14322 ----
  
      # See if GNU ld supports shared libraries.
      case $host_os in
!     aix3* | aix4* | aix5*)
        # On AIX/PPC, the GNU linker is very broken
        if test "$host_cpu" != ia64; then
  	ld_shlibs_F77=no
***************
*** 14845,14851 ****
        allow_undefined_flag_F77=unsupported
        always_export_symbols_F77=no
        enable_shared_with_static_runtimes_F77=yes
!       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  
        if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
          archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
--- 14364,14370 ----
        allow_undefined_flag_F77=unsupported
        always_export_symbols_F77=no
        enable_shared_with_static_runtimes_F77=yes
!       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
  
        if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
          archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
***************
*** 14863,14869 ****
        fi
        ;;
  
!     interix[3-9]*)
        hardcode_direct_F77=no
        hardcode_shlibpath_var_F77=no
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
--- 14382,14388 ----
        fi
        ;;
  
!     interix3*)
        hardcode_direct_F77=no
        hardcode_shlibpath_var_F77=no
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
***************
*** 14878,14884 ****
        archive_expsym_cmds_F77='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'
        ;;
  
!     gnu* | linux* | k*bsd*-gnu)
        if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  	tmp_addflag=
  	case $cc_basename,$host_cpu in
--- 14397,14403 ----
        archive_expsym_cmds_F77='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'
        ;;
  
!     linux*)
        if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  	tmp_addflag=
  	case $cc_basename,$host_cpu in
***************
*** 14896,14925 ****
  	ifc* | ifort*)			# Intel Fortran compiler
  	  tmp_addflag=' -nofor_main' ;;
  	esac
! 	case `$CC -V 2>&1 | sed 5q` in
! 	*Sun\ C*)			# Sun C 5.9
! 	  whole_archive_flag_spec_F77='${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'
! 	  tmp_sharedflag='-G' ;;
! 	*Sun\ F*)			# Sun Fortran 8.3
! 	  tmp_sharedflag='-G' ;;
! 	*)
! 	  tmp_sharedflag='-shared' ;;
! 	esac
! 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  
  	if test $supports_anon_versioning = yes; then
  	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    $echo "local: *; };" >> $output_objdir/$libname.ver~
! 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  	fi
- 	link_all_deplibs_F77=no
        else
  	ld_shlibs_F77=no
        fi
        ;;
  
!     netbsd* | netbsdelf*-gnu)
        if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  	wlarc=
--- 14415,14434 ----
  	ifc* | ifort*)			# Intel Fortran compiler
  	  tmp_addflag=' -nofor_main' ;;
  	esac
! 	archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  
  	if test $supports_anon_versioning = yes; then
  	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    $echo "local: *; };" >> $output_objdir/$libname.ver~
! 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  	fi
        else
  	ld_shlibs_F77=no
        fi
        ;;
  
!     netbsd*)
        if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  	wlarc=
***************
*** 15017,15023 ****
        fi
        ;;
  
!     aix[4-9]*)
        if test "$host_cpu" = ia64; then
  	# On IA64, the linker does run time linking by default, so we don't
  	# have to do anything special.
--- 14526,14532 ----
        fi
        ;;
  
!     aix4* | aix5*)
        if test "$host_cpu" = ia64; then
  	# On IA64, the linker does run time linking by default, so we don't
  	# have to do anything special.
***************
*** 15037,15043 ****
  	# Test if we are trying to use run time linking or normal
  	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
  	# need to do runtime linking.
! 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  	  for ld_flag in $LDFLAGS; do
    	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
    	    aix_use_runtimelinking=yes
--- 14546,14552 ----
  	# Test if we are trying to use run time linking or normal
  	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
  	# need to do runtime linking.
! 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
  	  for ld_flag in $LDFLAGS; do
    	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
    	    aix_use_runtimelinking=yes
***************
*** 15071,15077 ****
    	   strings "$collect2name" | grep resolve_lib_name >/dev/null
  	  then
    	  # We have reworked collect2
!   	  :
  	  else
    	  # We have old collect2
    	  hardcode_direct_F77=unsupported
--- 14580,14586 ----
    	   strings "$collect2name" | grep resolve_lib_name >/dev/null
  	  then
    	  # We have reworked collect2
!   	  hardcode_direct_F77=yes
  	  else
    	  # We have old collect2
    	  hardcode_direct_F77=unsupported
***************
*** 15135,15152 ****
         } && test -s conftest$ac_exeext &&
         $as_test_x conftest$ac_exeext; then
  
! lt_aix_libpath_sed='
!     /Import File Strings/,/^$/ {
! 	/^0/ {
! 	    s/^0  *\(.*\)$/\1/
! 	    p
! 	}
!     }'
! aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  # Check for a 64-bit object if we didn't find anything.
! if test -z "$aix_libpath"; then
!   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! fi
  else
    echo "$as_me: failed program was:" >&5
  sed 's/^/| /' conftest.$ac_ext >&5
--- 14644,14654 ----
         } && test -s conftest$ac_exeext &&
         $as_test_x conftest$ac_exeext; then
  
! aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
! }'`
  # Check for a 64-bit object if we didn't find anything.
! if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
! }'`; fi
  else
    echo "$as_me: failed program was:" >&5
  sed 's/^/| /' conftest.$ac_ext >&5
***************
*** 15191,15208 ****
         } && test -s conftest$ac_exeext &&
         $as_test_x conftest$ac_exeext; then
  
! lt_aix_libpath_sed='
!     /Import File Strings/,/^$/ {
! 	/^0/ {
! 	    s/^0  *\(.*\)$/\1/
! 	    p
! 	}
!     }'
! aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  # Check for a 64-bit object if we didn't find anything.
! if test -z "$aix_libpath"; then
!   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! fi
  else
    echo "$as_me: failed program was:" >&5
  sed 's/^/| /' conftest.$ac_ext >&5
--- 14693,14703 ----
         } && test -s conftest$ac_exeext &&
         $as_test_x conftest$ac_exeext; then
  
! aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
! }'`
  # Check for a 64-bit object if we didn't find anything.
! if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
! }'`; fi
  else
    echo "$as_me: failed program was:" >&5
  sed 's/^/| /' conftest.$ac_ext >&5
***************
*** 15256,15262 ****
        # The linker will automatically build a .lib file if we build a DLL.
        old_archive_From_new_cmds_F77='true'
        # FIXME: Should let the user specify the lib program.
!       old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
        fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
        enable_shared_with_static_runtimes_F77=yes
        ;;
--- 14751,14757 ----
        # The linker will automatically build a .lib file if we build a DLL.
        old_archive_From_new_cmds_F77='true'
        # FIXME: Should let the user specify the lib program.
!       old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
        fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
        enable_shared_with_static_runtimes_F77=yes
        ;;
***************
*** 15289,15306 ****
        link_all_deplibs_F77=yes
      if test "$GCC" = yes ; then
      	output_verbose_link_cmd='echo'
!         archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
!         module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
!         archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
!         module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
      else
        case $cc_basename in
          xlc*)
           output_verbose_link_cmd='echo'
!          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
           module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
            # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
!          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
            module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
            ;;
         *)
--- 14784,14802 ----
        link_all_deplibs_F77=yes
      if test "$GCC" = yes ; then
      	output_verbose_link_cmd='echo'
!         archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
!       module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
!       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
!       archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
!       module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
      else
        case $cc_basename in
          xlc*)
           output_verbose_link_cmd='echo'
!          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
           module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
            # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
!          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
            module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
            ;;
         *)
***************
*** 15340,15346 ****
        ;;
  
      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
!     freebsd* | dragonfly*)
        archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
        hardcode_libdir_flag_spec_F77='-R$libdir'
        hardcode_direct_F77=yes
--- 14836,14842 ----
        ;;
  
      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
!     freebsd* | kfreebsd*-gnu | dragonfly*)
        archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
        hardcode_libdir_flag_spec_F77='-R$libdir'
        hardcode_direct_F77=yes
***************
*** 15442,15448 ****
        link_all_deplibs_F77=yes
        ;;
  
!     netbsd* | netbsdelf*-gnu)
        if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
        else
--- 14938,14944 ----
        link_all_deplibs_F77=yes
        ;;
  
!     netbsd*)
        if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
        else
***************
*** 15462,15489 ****
        ;;
  
      openbsd*)
!       if test -f /usr/libexec/ld.so; then
! 	hardcode_direct_F77=yes
! 	hardcode_shlibpath_var_F77=no
! 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
! 	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
! 	  export_dynamic_flag_spec_F77='${wl}-E'
! 	else
! 	  case $host_os in
! 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
! 	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 	     hardcode_libdir_flag_spec_F77='-R$libdir'
! 	     ;;
! 	   *)
! 	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
! 	     ;;
! 	  esac
!         fi
        else
! 	ld_shlibs_F77=no
        fi
        ;;
  
--- 14958,14981 ----
        ;;
  
      openbsd*)
!       hardcode_direct_F77=yes
!       hardcode_shlibpath_var_F77=no
!       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 	archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 	archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
! 	hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
! 	export_dynamic_flag_spec_F77='${wl}-E'
        else
!        case $host_os in
! 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
! 	   archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 	   hardcode_libdir_flag_spec_F77='-R$libdir'
! 	   ;;
! 	 *)
! 	   archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 	   hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
! 	   ;;
!        esac
        fi
        ;;
  
***************
*** 15542,15557 ****
        case $host_os in
        solaris2.[0-5] | solaris2.[0-5].*) ;;
        *)
! 	# The compiler driver will combine and reorder linker options,
! 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
! 	# but is careful enough not to reorder.
   	# Supported since Solaris 2.6 (maybe 2.5.1?)
! 	if test "$GCC" = yes; then
! 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
! 	else
! 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
! 	fi
! 	;;
        esac
        link_all_deplibs_F77=yes
        ;;
--- 15034,15050 ----
        case $host_os in
        solaris2.[0-5] | solaris2.[0-5].*) ;;
        *)
!  	# The compiler driver will combine linker options so we
!  	# cannot just pass the convience library names through
!  	# without $wl, iff we do not link with $LD.
!  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   	# Supported since Solaris 2.6 (maybe 2.5.1?)
!  	case $wlarc in
!  	'')
!  	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
!  	*)
!  	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
!  	esac ;;
        esac
        link_all_deplibs_F77=yes
        ;;
***************
*** 15608,15614 ****
        fi
        ;;
  
!     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
        no_undefined_flag_F77='${wl}-z,text'
        archive_cmds_need_lc_F77=no
        hardcode_shlibpath_var_F77=no
--- 15101,15107 ----
        fi
        ;;
  
!     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
        no_undefined_flag_F77='${wl}-z,text'
        archive_cmds_need_lc_F77=no
        hardcode_shlibpath_var_F77=no
***************
*** 15685,15691 ****
        { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
  echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
        $rm conftest*
!       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  
        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
--- 15178,15184 ----
        { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
  echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
        $rm conftest*
!       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  
        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
***************
*** 15743,15749 ****
  version_type=none
  dynamic_linker="$host_os ld.so"
  sys_lib_dlsearch_path_spec="/lib /usr/lib"
! 
  need_lib_prefix=unknown
  hardcode_into_libs=no
  
--- 15236,15255 ----
  version_type=none
  dynamic_linker="$host_os ld.so"
  sys_lib_dlsearch_path_spec="/lib /usr/lib"
! if test "$GCC" = yes; then
!   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
!   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
!     # if the path contains ";" then we assume it to be the separator
!     # otherwise default to the standard path separator (i.e. ":") - it is
!     # assumed that no part of a normal pathname contains ";" but that should
!     # okay in the real world where ";" in dirpaths is itself problematic.
!     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
!   else
!     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
!   fi
! else
!   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
! fi
  need_lib_prefix=unknown
  hardcode_into_libs=no
  
***************
*** 15761,15767 ****
    soname_spec='${libname}${release}${shared_ext}$major'
    ;;
  
! aix[4-9]*)
    version_type=linux
    need_lib_prefix=no
    need_version=no
--- 15267,15273 ----
    soname_spec='${libname}${release}${shared_ext}$major'
    ;;
  
! aix4* | aix5*)
    version_type=linux
    need_lib_prefix=no
    need_version=no
***************
*** 15900,15906 ****
    shlibpath_overrides_runpath=yes
    shlibpath_var=DYLD_LIBRARY_PATH
    shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
! 
    sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
    ;;
  
--- 15406,15417 ----
    shlibpath_overrides_runpath=yes
    shlibpath_var=DYLD_LIBRARY_PATH
    shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
!   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
!   if test "$GCC" = yes; then
!     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
!   else
!     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
!   fi
    sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
    ;;
  
***************
*** 15917,15922 ****
--- 15428,15445 ----
    dynamic_linker=no
    ;;
  
+ kfreebsd*-gnu)
+   version_type=linux
+   need_lib_prefix=no
+   need_version=no
+   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+   soname_spec='${libname}${release}${shared_ext}$major'
+   shlibpath_var=LD_LIBRARY_PATH
+   shlibpath_overrides_runpath=no
+   hardcode_into_libs=yes
+   dynamic_linker='GNU ld.so'
+   ;;
+ 
  freebsd* | dragonfly*)
    # DragonFly does not have aout.  When/if they implement a new
    # versioning mechanism, adjust this.
***************
*** 15954,15960 ****
      shlibpath_overrides_runpath=no
      hardcode_into_libs=yes
      ;;
!   *) # from 4.6 on, and DragonFly
      shlibpath_overrides_runpath=yes
      hardcode_into_libs=yes
      ;;
--- 15477,15483 ----
      shlibpath_overrides_runpath=no
      hardcode_into_libs=yes
      ;;
!   freebsd*) # from 4.6 on
      shlibpath_overrides_runpath=yes
      hardcode_into_libs=yes
      ;;
***************
*** 16017,16023 ****
    postinstall_cmds='chmod 555 $lib'
    ;;
  
! interix[3-9]*)
    version_type=linux
    need_lib_prefix=no
    need_version=no
--- 15540,15546 ----
    postinstall_cmds='chmod 555 $lib'
    ;;
  
! interix3*)
    version_type=linux
    need_lib_prefix=no
    need_version=no
***************
*** 16072,16078 ****
    ;;
  
  # This must be Linux ELF.
! linux* | k*bsd*-gnu)
    version_type=linux
    need_lib_prefix=no
    need_version=no
--- 15595,15601 ----
    ;;
  
  # This must be Linux ELF.
! linux*)
    version_type=linux
    need_lib_prefix=no
    need_version=no
***************
*** 16086,16095 ****
    # before this can be enabled.
    hardcode_into_libs=yes
  
    # Append ld.so.conf contents to the search path
    if test -f /etc/ld.so.conf; then
!     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
!     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
    fi
  
    # We used to test for /lib/ld.so.1 and disable shared libraries on
--- 15609,15639 ----
    # before this can be enabled.
    hardcode_into_libs=yes
  
+   # find out which ABI we are using
+   libsuff=
+   case "$host_cpu" in
+   x86_64*|s390x*|powerpc64*)
+     echo '#line 15616 "configure"' > conftest.$ac_ext
+     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; then
+       case `/usr/bin/file conftest.$ac_objext` in
+       *64-bit*)
+         libsuff=64
+         sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
+         ;;
+       esac
+     fi
+     rm -rf conftest*
+     ;;
+   esac
+ 
    # Append ld.so.conf contents to the search path
    if test -f /etc/ld.so.conf; then
!     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/#.*//;/^[^\/]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
!     sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
    fi
  
    # We used to test for /lib/ld.so.1 and disable shared libraries on
***************
*** 16101,16107 ****
    dynamic_linker='GNU/Linux ld.so'
    ;;
  
! netbsdelf*-gnu)
    version_type=linux
    need_lib_prefix=no
    need_version=no
--- 15645,15651 ----
    dynamic_linker='GNU/Linux ld.so'
    ;;
  
! knetbsd*-gnu)
    version_type=linux
    need_lib_prefix=no
    need_version=no
***************
*** 16110,16116 ****
    shlibpath_var=LD_LIBRARY_PATH
    shlibpath_overrides_runpath=no
    hardcode_into_libs=yes
!   dynamic_linker='NetBSD ld.elf_so'
    ;;
  
  netbsd*)
--- 15654,15660 ----
    shlibpath_var=LD_LIBRARY_PATH
    shlibpath_overrides_runpath=no
    hardcode_into_libs=yes
!   dynamic_linker='GNU ld.so'
    ;;
  
  netbsd*)
***************
*** 16194,16203 ****
    sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
    ;;
  
- rdos*)
-   dynamic_linker=no
-   ;;
- 
  solaris*)
    version_type=linux
    need_lib_prefix=no
--- 15738,15743 ----
***************
*** 16294,16314 ****
  echo "${ECHO_T}$dynamic_linker" >&6; }
  test "$dynamic_linker" = no && can_build_shared=no
  
- if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
- fi
- 
- sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
- if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
- fi
- 
- sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
- 
  variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  if test "$GCC" = yes; then
    variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
--- 15834,15839 ----
***************
*** 16392,16398 ****
      predeps_F77 \
      postdeps_F77 \
      compiler_lib_search_path_F77 \
-     compiler_lib_search_dirs_F77 \
      archive_cmds_F77 \
      archive_expsym_cmds_F77 \
      postinstall_cmds_F77 \
--- 15917,15922 ----
***************
*** 16408,16414 ****
      module_cmds_F77 \
      module_expsym_cmds_F77 \
      lt_cv_prog_compiler_c_o_F77 \
-     fix_srcfile_path_F77 \
      exclude_expsyms_F77 \
      include_expsyms_F77; do
  
--- 15932,15937 ----
***************
*** 16641,16650 ****
  # shared library.
  postdeps=$lt_postdeps_F77
  
- # The directories searched by this compiler when creating a shared
- # library
- compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
- 
  # The library search path used internally by the compiler when linking
  # a shared library.
  compiler_lib_search_path=$lt_compiler_lib_search_path_F77
--- 16164,16169 ----
***************
*** 16733,16739 ****
  sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  
  # Fix the shell variable \$srcfile for the compiler.
! fix_srcfile_path=$lt_fix_srcfile_path
  
  # Set to yes if exported symbols are required.
  always_export_symbols=$always_export_symbols_F77
--- 16252,16258 ----
  sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  
  # Fix the shell variable \$srcfile for the compiler.
! fix_srcfile_path="$fix_srcfile_path_F77"
  
  # Set to yes if exported symbols are required.
  always_export_symbols=$always_export_symbols_F77
***************
*** 16791,16800 ****
  objext_GCJ=$objext
  
  # Code to be used in simple compile tests
! lt_simple_compile_test_code="class foo {}"
  
  # Code to be used in simple link tests
! lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
  
  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  
--- 16310,16319 ----
  objext_GCJ=$objext
  
  # Code to be used in simple compile tests
! lt_simple_compile_test_code="class foo {}\n"
  
  # Code to be used in simple link tests
! lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
  
  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  
***************
*** 16810,16825 ****
  
  # save warnings/boilerplate of simple test code
  ac_outfile=conftest.$ac_objext
! echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  _lt_compiler_boilerplate=`cat conftest.err`
  $rm conftest*
  
  ac_outfile=conftest.$ac_objext
! echo "$lt_simple_link_test_code" >conftest.$ac_ext
  eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  _lt_linker_boilerplate=`cat conftest.err`
! $rm -r conftest*
  
  
  # Allow CC to be a program name with arguments.
--- 16329,16344 ----
  
  # save warnings/boilerplate of simple test code
  ac_outfile=conftest.$ac_objext
! printf "$lt_simple_compile_test_code" >conftest.$ac_ext
  eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  _lt_compiler_boilerplate=`cat conftest.err`
  $rm conftest*
  
  ac_outfile=conftest.$ac_objext
! printf "$lt_simple_link_test_code" >conftest.$ac_ext
  eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  _lt_linker_boilerplate=`cat conftest.err`
! $rm conftest*
  
  
  # Allow CC to be a program name with arguments.
***************
*** 16857,16863 ****
  else
    lt_cv_prog_compiler_rtti_exceptions=no
    ac_outfile=conftest.$ac_objext
!    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     lt_compiler_flag="-fno-rtti -fno-exceptions"
     # Insert the option either (1) after the last *FLAGS variable, or
     # (2) before a word containing "conftest.", or (3) at the end.
--- 16376,16382 ----
  else
    lt_cv_prog_compiler_rtti_exceptions=no
    ac_outfile=conftest.$ac_objext
!    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
     lt_compiler_flag="-fno-rtti -fno-exceptions"
     # Insert the option either (1) after the last *FLAGS variable, or
     # (2) before a word containing "conftest.", or (3) at the end.
***************
*** 16868,16878 ****
     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     -e 's:$: $lt_compiler_flag:'`
!    (eval echo "\"\$as_me:16871: $lt_compile\"" >&5)
     (eval "$lt_compile" 2>conftest.err)
     ac_status=$?
     cat conftest.err >&5
!    echo "$as_me:16875: \$? = $ac_status" >&5
     if (exit $ac_status) && test -s "$ac_outfile"; then
       # The compiler can only warn and ignore the option if not recognized
       # So say no if there are warnings other than the usual output.
--- 16387,16397 ----
     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     -e 's:$: $lt_compiler_flag:'`
!    (eval echo "\"\$as_me:16390: $lt_compile\"" >&5)
     (eval "$lt_compile" 2>conftest.err)
     ac_status=$?
     cat conftest.err >&5
!    echo "$as_me:16394: \$? = $ac_status" >&5
     if (exit $ac_status) && test -s "$ac_outfile"; then
       # The compiler can only warn and ignore the option if not recognized
       # So say no if there are warnings other than the usual output.
***************
*** 16923,16938 ****
        lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
        ;;
  
!     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
        # PIC is the default for these OSes.
        ;;
  
!     mingw* | cygwin* | pw32* | os2*)
        # This hack is so that the source file can tell whether it is being
        # built for inclusion in a dll (and should export symbols for example).
!       # Although the cygwin gcc ignores -fPIC, still need this for old-style
!       # (--disable-auto-import) libraries
! 
        ;;
  
      darwin* | rhapsody*)
--- 16442,16455 ----
        lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
        ;;
  
!     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
        # PIC is the default for these OSes.
        ;;
  
!     mingw* | pw32* | os2*)
        # This hack is so that the source file can tell whether it is being
        # built for inclusion in a dll (and should export symbols for example).
!       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
        ;;
  
      darwin* | rhapsody*)
***************
*** 16941,16947 ****
        lt_prog_compiler_pic_GCJ='-fno-common'
        ;;
  
!     interix[3-9]*)
        # Interix 3.x gcc -fpic/-fPIC options generate broken code.
        # Instead, we relocate shared libraries at runtime.
        ;;
--- 16458,16464 ----
        lt_prog_compiler_pic_GCJ='-fno-common'
        ;;
  
!     interix3*)
        # Interix 3.x gcc -fpic/-fPIC options generate broken code.
        # Instead, we relocate shared libraries at runtime.
        ;;
***************
*** 16999,17008 ****
         esac
         ;;
  
!     mingw* | cygwin* | pw32* | os2*)
        # This hack is so that the source file can tell whether it is being
        # built for inclusion in a dll (and should export symbols for example).
! 
        ;;
  
      hpux9* | hpux10* | hpux11*)
--- 16516,16525 ----
         esac
         ;;
  
!     mingw* | pw32* | os2*)
        # This hack is so that the source file can tell whether it is being
        # built for inclusion in a dll (and should export symbols for example).
!       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
        ;;
  
      hpux9* | hpux10* | hpux11*)
***************
*** 17032,17038 ****
        lt_prog_compiler_static_GCJ='-Bstatic'
        ;;
  
!     linux* | k*bsd*-gnu)
        case $cc_basename in
        icc* | ecc*)
  	lt_prog_compiler_wl_GCJ='-Wl,'
--- 16549,16555 ----
        lt_prog_compiler_static_GCJ='-Bstatic'
        ;;
  
!     linux*)
        case $cc_basename in
        icc* | ecc*)
  	lt_prog_compiler_wl_GCJ='-Wl,'
***************
*** 17051,17072 ****
          # All Alpha code is PIC.
          lt_prog_compiler_static_GCJ='-non_shared'
          ;;
-       *)
-         case `$CC -V 2>&1 | sed 5q` in
- 	*Sun\ C*)
- 	  # Sun C 5.9
- 	  lt_prog_compiler_pic_GCJ='-KPIC'
- 	  lt_prog_compiler_static_GCJ='-Bstatic'
- 	  lt_prog_compiler_wl_GCJ='-Wl,'
- 	  ;;
- 	*Sun\ F*)
- 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
- 	  lt_prog_compiler_pic_GCJ='-KPIC'
- 	  lt_prog_compiler_static_GCJ='-Bstatic'
- 	  lt_prog_compiler_wl_GCJ=''
- 	  ;;
- 	esac
- 	;;
        esac
        ;;
  
--- 16568,16573 ----
***************
*** 17076,17085 ****
        lt_prog_compiler_static_GCJ='-non_shared'
        ;;
  
-     rdos*)
-       lt_prog_compiler_static_GCJ='-non_shared'
-       ;;
- 
      solaris*)
        lt_prog_compiler_pic_GCJ='-KPIC'
        lt_prog_compiler_static_GCJ='-Bstatic'
--- 16577,16582 ----
***************
*** 17142,17153 ****
  
  { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
  echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
! if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   lt_cv_prog_compiler_pic_works_GCJ=no
    ac_outfile=conftest.$ac_objext
!    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
     # Insert the option either (1) after the last *FLAGS variable, or
     # (2) before a word containing "conftest.", or (3) at the end.
--- 16639,16650 ----
  
  { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
  echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
! if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   lt_prog_compiler_pic_works_GCJ=no
    ac_outfile=conftest.$ac_objext
!    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
     lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
     # Insert the option either (1) after the last *FLAGS variable, or
     # (2) before a word containing "conftest.", or (3) at the end.
***************
*** 17158,17184 ****
     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     -e 's:$: $lt_compiler_flag:'`
!    (eval echo "\"\$as_me:17161: $lt_compile\"" >&5)
     (eval "$lt_compile" 2>conftest.err)
     ac_status=$?
     cat conftest.err >&5
!    echo "$as_me:17165: \$? = $ac_status" >&5
     if (exit $ac_status) && test -s "$ac_outfile"; then
       # The compiler can only warn and ignore the option if not recognized
       # So say no if there are warnings other than the usual output.
       $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
!        lt_cv_prog_compiler_pic_works_GCJ=yes
       fi
     fi
     $rm conftest*
  
  fi
! { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
! echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
  
! if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
      case $lt_prog_compiler_pic_GCJ in
       "" | " "*) ;;
       *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
--- 16655,16681 ----
     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     -e 's:$: $lt_compiler_flag:'`
!    (eval echo "\"\$as_me:16658: $lt_compile\"" >&5)
     (eval "$lt_compile" 2>conftest.err)
     ac_status=$?
     cat conftest.err >&5
!    echo "$as_me:16662: \$? = $ac_status" >&5
     if (exit $ac_status) && test -s "$ac_outfile"; then
       # The compiler can only warn and ignore the option if not recognized
       # So say no if there are warnings other than the usual output.
       $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
!        lt_prog_compiler_pic_works_GCJ=yes
       fi
     fi
     $rm conftest*
  
  fi
! { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
! echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
  
! if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
      case $lt_prog_compiler_pic_GCJ in
       "" | " "*) ;;
       *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
***************
*** 17205,17217 ****
  wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
  { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
! if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   lt_cv_prog_compiler_static_works_GCJ=no
     save_LDFLAGS="$LDFLAGS"
     LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
!    echo "$lt_simple_link_test_code" > conftest.$ac_ext
     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
       # The linker can only warn and ignore the option if not recognized
       # So say no if there are warnings
--- 16702,16714 ----
  wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
  { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
! if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   lt_prog_compiler_static_works_GCJ=no
     save_LDFLAGS="$LDFLAGS"
     LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
!    printf "$lt_simple_link_test_code" > conftest.$ac_ext
     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
       # The linker can only warn and ignore the option if not recognized
       # So say no if there are warnings
***************
*** 17221,17240 ****
         $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
         if diff conftest.exp conftest.er2 >/dev/null; then
!          lt_cv_prog_compiler_static_works_GCJ=yes
         fi
       else
!        lt_cv_prog_compiler_static_works_GCJ=yes
       fi
     fi
!    $rm -r conftest*
     LDFLAGS="$save_LDFLAGS"
  
  fi
! { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
! echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
  
! if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
      :
  else
      lt_prog_compiler_static_GCJ=
--- 16718,16737 ----
         $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
         if diff conftest.exp conftest.er2 >/dev/null; then
!          lt_prog_compiler_static_works_GCJ=yes
         fi
       else
!        lt_prog_compiler_static_works_GCJ=yes
       fi
     fi
!    $rm conftest*
     LDFLAGS="$save_LDFLAGS"
  
  fi
! { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
! echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
  
! if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
      :
  else
      lt_prog_compiler_static_GCJ=
***************
*** 17251,17257 ****
     mkdir conftest
     cd conftest
     mkdir out
!    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  
     lt_compiler_flag="-o out/conftest2.$ac_objext"
     # Insert the option either (1) after the last *FLAGS variable, or
--- 16748,16754 ----
     mkdir conftest
     cd conftest
     mkdir out
!    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  
     lt_compiler_flag="-o out/conftest2.$ac_objext"
     # Insert the option either (1) after the last *FLAGS variable, or
***************
*** 17262,17272 ****
     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     -e 's:$: $lt_compiler_flag:'`
!    (eval echo "\"\$as_me:17265: $lt_compile\"" >&5)
     (eval "$lt_compile" 2>out/conftest.err)
     ac_status=$?
     cat out/conftest.err >&5
!    echo "$as_me:17269: \$? = $ac_status" >&5
     if (exit $ac_status) && test -s out/conftest2.$ac_objext
     then
       # The compiler can only warn and ignore the option if not recognized
--- 16759,16769 ----
     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     -e 's:$: $lt_compiler_flag:'`
!    (eval echo "\"\$as_me:16762: $lt_compile\"" >&5)
     (eval "$lt_compile" 2>out/conftest.err)
     ac_status=$?
     cat out/conftest.err >&5
!    echo "$as_me:16766: \$? = $ac_status" >&5
     if (exit $ac_status) && test -s out/conftest2.$ac_objext
     then
       # The compiler can only warn and ignore the option if not recognized
***************
*** 17346,17358 ****
    # it will be wrapped by ` (' and `)$', so one must not match beginning or
    # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
    # as well as any symbol that contains `d'.
!   exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
    # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
    # platforms (ab)use it in PIC code, but their linkers get confused if
    # the symbol is explicitly referenced.  Since portable code cannot
    # rely on this symbol name, it's probably fine to never include it in
    # preloaded symbol tables.
-   # Exclude shared library initialization/finalization symbols.
    extract_expsyms_cmds=
    # Just being paranoid about ensuring that cc_basename is set.
    for cc_temp in $compiler""; do
--- 16843,16854 ----
    # it will be wrapped by ` (' and `)$', so one must not match beginning or
    # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
    # as well as any symbol that contains `d'.
!   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
    # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
    # platforms (ab)use it in PIC code, but their linkers get confused if
    # the symbol is explicitly referenced.  Since portable code cannot
    # rely on this symbol name, it's probably fine to never include it in
    # preloaded symbol tables.
    extract_expsyms_cmds=
    # Just being paranoid about ensuring that cc_basename is set.
    for cc_temp in $compiler""; do
***************
*** 17411,17417 ****
  
      # See if GNU ld supports shared libraries.
      case $host_os in
!     aix[3-9]*)
        # On AIX/PPC, the GNU linker is very broken
        if test "$host_cpu" != ia64; then
  	ld_shlibs_GCJ=no
--- 16907,16913 ----
  
      # See if GNU ld supports shared libraries.
      case $host_os in
!     aix3* | aix4* | aix5*)
        # On AIX/PPC, the GNU linker is very broken
        if test "$host_cpu" != ia64; then
  	ld_shlibs_GCJ=no
***************
*** 17459,17465 ****
        allow_undefined_flag_GCJ=unsupported
        always_export_symbols_GCJ=no
        enable_shared_with_static_runtimes_GCJ=yes
!       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  
        if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
          archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
--- 16955,16961 ----
        allow_undefined_flag_GCJ=unsupported
        always_export_symbols_GCJ=no
        enable_shared_with_static_runtimes_GCJ=yes
!       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
  
        if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
          archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
***************
*** 17477,17483 ****
        fi
        ;;
  
!     interix[3-9]*)
        hardcode_direct_GCJ=no
        hardcode_shlibpath_var_GCJ=no
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
--- 16973,16979 ----
        fi
        ;;
  
!     interix3*)
        hardcode_direct_GCJ=no
        hardcode_shlibpath_var_GCJ=no
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
***************
*** 17492,17498 ****
        archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
        ;;
  
!     gnu* | linux* | k*bsd*-gnu)
        if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  	tmp_addflag=
  	case $cc_basename,$host_cpu in
--- 16988,16994 ----
        archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
        ;;
  
!     linux*)
        if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  	tmp_addflag=
  	case $cc_basename,$host_cpu in
***************
*** 17510,17539 ****
  	ifc* | ifort*)			# Intel Fortran compiler
  	  tmp_addflag=' -nofor_main' ;;
  	esac
! 	case `$CC -V 2>&1 | sed 5q` in
! 	*Sun\ C*)			# Sun C 5.9
! 	  whole_archive_flag_spec_GCJ='${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'
! 	  tmp_sharedflag='-G' ;;
! 	*Sun\ F*)			# Sun Fortran 8.3
! 	  tmp_sharedflag='-G' ;;
! 	*)
! 	  tmp_sharedflag='-shared' ;;
! 	esac
! 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  
  	if test $supports_anon_versioning = yes; then
  	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    $echo "local: *; };" >> $output_objdir/$libname.ver~
! 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  	fi
- 	link_all_deplibs_GCJ=no
        else
  	ld_shlibs_GCJ=no
        fi
        ;;
  
!     netbsd* | netbsdelf*-gnu)
        if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  	wlarc=
--- 17006,17025 ----
  	ifc* | ifort*)			# Intel Fortran compiler
  	  tmp_addflag=' -nofor_main' ;;
  	esac
! 	archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  
  	if test $supports_anon_versioning = yes; then
  	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    $echo "local: *; };" >> $output_objdir/$libname.ver~
! 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  	fi
        else
  	ld_shlibs_GCJ=no
        fi
        ;;
  
!     netbsd*)
        if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  	wlarc=
***************
*** 17631,17637 ****
        fi
        ;;
  
!     aix[4-9]*)
        if test "$host_cpu" = ia64; then
  	# On IA64, the linker does run time linking by default, so we don't
  	# have to do anything special.
--- 17117,17123 ----
        fi
        ;;
  
!     aix4* | aix5*)
        if test "$host_cpu" = ia64; then
  	# On IA64, the linker does run time linking by default, so we don't
  	# have to do anything special.
***************
*** 17651,17657 ****
  	# Test if we are trying to use run time linking or normal
  	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
  	# need to do runtime linking.
! 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  	  for ld_flag in $LDFLAGS; do
    	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
    	    aix_use_runtimelinking=yes
--- 17137,17143 ----
  	# Test if we are trying to use run time linking or normal
  	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
  	# need to do runtime linking.
! 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
  	  for ld_flag in $LDFLAGS; do
    	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
    	    aix_use_runtimelinking=yes
***************
*** 17685,17691 ****
    	   strings "$collect2name" | grep resolve_lib_name >/dev/null
  	  then
    	  # We have reworked collect2
!   	  :
  	  else
    	  # We have old collect2
    	  hardcode_direct_GCJ=unsupported
--- 17171,17177 ----
    	   strings "$collect2name" | grep resolve_lib_name >/dev/null
  	  then
    	  # We have reworked collect2
!   	  hardcode_direct_GCJ=yes
  	  else
    	  # We have old collect2
    	  hardcode_direct_GCJ=unsupported
***************
*** 17759,17776 ****
         } && test -s conftest$ac_exeext &&
         $as_test_x conftest$ac_exeext; then
  
! lt_aix_libpath_sed='
!     /Import File Strings/,/^$/ {
! 	/^0/ {
! 	    s/^0  *\(.*\)$/\1/
! 	    p
! 	}
!     }'
! aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  # Check for a 64-bit object if we didn't find anything.
! if test -z "$aix_libpath"; then
!   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! fi
  else
    echo "$as_me: failed program was:" >&5
  sed 's/^/| /' conftest.$ac_ext >&5
--- 17245,17255 ----
         } && test -s conftest$ac_exeext &&
         $as_test_x conftest$ac_exeext; then
  
! aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
! }'`
  # Check for a 64-bit object if we didn't find anything.
! if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
! }'`; fi
  else
    echo "$as_me: failed program was:" >&5
  sed 's/^/| /' conftest.$ac_ext >&5
***************
*** 17825,17842 ****
         } && test -s conftest$ac_exeext &&
         $as_test_x conftest$ac_exeext; then
  
! lt_aix_libpath_sed='
!     /Import File Strings/,/^$/ {
! 	/^0/ {
! 	    s/^0  *\(.*\)$/\1/
! 	    p
! 	}
!     }'
! aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  # Check for a 64-bit object if we didn't find anything.
! if test -z "$aix_libpath"; then
!   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! fi
  else
    echo "$as_me: failed program was:" >&5
  sed 's/^/| /' conftest.$ac_ext >&5
--- 17304,17314 ----
         } && test -s conftest$ac_exeext &&
         $as_test_x conftest$ac_exeext; then
  
! aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
! }'`
  # Check for a 64-bit object if we didn't find anything.
! if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
! }'`; fi
  else
    echo "$as_me: failed program was:" >&5
  sed 's/^/| /' conftest.$ac_ext >&5
***************
*** 17890,17896 ****
        # The linker will automatically build a .lib file if we build a DLL.
        old_archive_From_new_cmds_GCJ='true'
        # FIXME: Should let the user specify the lib program.
!       old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
        fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
        enable_shared_with_static_runtimes_GCJ=yes
        ;;
--- 17362,17368 ----
        # The linker will automatically build a .lib file if we build a DLL.
        old_archive_From_new_cmds_GCJ='true'
        # FIXME: Should let the user specify the lib program.
!       old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
        fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
        enable_shared_with_static_runtimes_GCJ=yes
        ;;
***************
*** 17923,17940 ****
        link_all_deplibs_GCJ=yes
      if test "$GCC" = yes ; then
      	output_verbose_link_cmd='echo'
!         archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
!         module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
!         archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
!         module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
      else
        case $cc_basename in
          xlc*)
           output_verbose_link_cmd='echo'
!          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
           module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
            # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
!          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
            module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
            ;;
         *)
--- 17395,17413 ----
        link_all_deplibs_GCJ=yes
      if test "$GCC" = yes ; then
      	output_verbose_link_cmd='echo'
!         archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
!       module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
!       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
!       archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
!       module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
      else
        case $cc_basename in
          xlc*)
           output_verbose_link_cmd='echo'
!          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
           module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
            # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
!          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
            module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
            ;;
         *)
***************
*** 17974,17980 ****
        ;;
  
      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
!     freebsd* | dragonfly*)
        archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
        hardcode_libdir_flag_spec_GCJ='-R$libdir'
        hardcode_direct_GCJ=yes
--- 17447,17453 ----
        ;;
  
      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
!     freebsd* | kfreebsd*-gnu | dragonfly*)
        archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
        hardcode_libdir_flag_spec_GCJ='-R$libdir'
        hardcode_direct_GCJ=yes
***************
*** 18076,18082 ****
        link_all_deplibs_GCJ=yes
        ;;
  
!     netbsd* | netbsdelf*-gnu)
        if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
        else
--- 17549,17555 ----
        link_all_deplibs_GCJ=yes
        ;;
  
!     netbsd*)
        if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
        else
***************
*** 18096,18123 ****
        ;;
  
      openbsd*)
!       if test -f /usr/libexec/ld.so; then
! 	hardcode_direct_GCJ=yes
! 	hardcode_shlibpath_var_GCJ=no
! 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
! 	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
! 	  export_dynamic_flag_spec_GCJ='${wl}-E'
! 	else
! 	  case $host_os in
! 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
! 	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
! 	     ;;
! 	   *)
! 	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
! 	     ;;
! 	  esac
!         fi
        else
! 	ld_shlibs_GCJ=no
        fi
        ;;
  
--- 17569,17592 ----
        ;;
  
      openbsd*)
!       hardcode_direct_GCJ=yes
!       hardcode_shlibpath_var_GCJ=no
!       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 	archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 	archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
! 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
! 	export_dynamic_flag_spec_GCJ='${wl}-E'
        else
!        case $host_os in
! 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
! 	   archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 	   hardcode_libdir_flag_spec_GCJ='-R$libdir'
! 	   ;;
! 	 *)
! 	   archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 	   hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
! 	   ;;
!        esac
        fi
        ;;
  
***************
*** 18176,18191 ****
        case $host_os in
        solaris2.[0-5] | solaris2.[0-5].*) ;;
        *)
! 	# The compiler driver will combine and reorder linker options,
! 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
! 	# but is careful enough not to reorder.
   	# Supported since Solaris 2.6 (maybe 2.5.1?)
! 	if test "$GCC" = yes; then
! 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
! 	else
! 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
! 	fi
! 	;;
        esac
        link_all_deplibs_GCJ=yes
        ;;
--- 17645,17661 ----
        case $host_os in
        solaris2.[0-5] | solaris2.[0-5].*) ;;
        *)
!  	# The compiler driver will combine linker options so we
!  	# cannot just pass the convience library names through
!  	# without $wl, iff we do not link with $LD.
!  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   	# Supported since Solaris 2.6 (maybe 2.5.1?)
!  	case $wlarc in
!  	'')
!  	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
!  	*)
!  	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
!  	esac ;;
        esac
        link_all_deplibs_GCJ=yes
        ;;
***************
*** 18242,18248 ****
        fi
        ;;
  
!     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
        no_undefined_flag_GCJ='${wl}-z,text'
        archive_cmds_need_lc_GCJ=no
        hardcode_shlibpath_var_GCJ=no
--- 17712,17718 ----
        fi
        ;;
  
!     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
        no_undefined_flag_GCJ='${wl}-z,text'
        archive_cmds_need_lc_GCJ=no
        hardcode_shlibpath_var_GCJ=no
***************
*** 18319,18325 ****
        { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
  echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
        $rm conftest*
!       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  
        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
--- 17789,17795 ----
        { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
  echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
        $rm conftest*
!       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  
        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
***************
*** 18377,18383 ****
  version_type=none
  dynamic_linker="$host_os ld.so"
  sys_lib_dlsearch_path_spec="/lib /usr/lib"
! 
  need_lib_prefix=unknown
  hardcode_into_libs=no
  
--- 17847,17866 ----
  version_type=none
  dynamic_linker="$host_os ld.so"
  sys_lib_dlsearch_path_spec="/lib /usr/lib"
! if test "$GCC" = yes; then
!   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
!   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
!     # if the path contains ";" then we assume it to be the separator
!     # otherwise default to the standard path separator (i.e. ":") - it is
!     # assumed that no part of a normal pathname contains ";" but that should
!     # okay in the real world where ";" in dirpaths is itself problematic.
!     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
!   else
!     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
!   fi
! else
!   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
! fi
  need_lib_prefix=unknown
  hardcode_into_libs=no
  
***************
*** 18395,18401 ****
    soname_spec='${libname}${release}${shared_ext}$major'
    ;;
  
! aix[4-9]*)
    version_type=linux
    need_lib_prefix=no
    need_version=no
--- 17878,17884 ----
    soname_spec='${libname}${release}${shared_ext}$major'
    ;;
  
! aix4* | aix5*)
    version_type=linux
    need_lib_prefix=no
    need_version=no
***************
*** 18534,18540 ****
    shlibpath_overrides_runpath=yes
    shlibpath_var=DYLD_LIBRARY_PATH
    shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
! 
    sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
    ;;
  
--- 18017,18028 ----
    shlibpath_overrides_runpath=yes
    shlibpath_var=DYLD_LIBRARY_PATH
    shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
!   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
!   if test "$GCC" = yes; then
!     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
!   else
!     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
!   fi
    sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
    ;;
  
***************
*** 18551,18556 ****
--- 18039,18056 ----
    dynamic_linker=no
    ;;
  
+ kfreebsd*-gnu)
+   version_type=linux
+   need_lib_prefix=no
+   need_version=no
+   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+   soname_spec='${libname}${release}${shared_ext}$major'
+   shlibpath_var=LD_LIBRARY_PATH
+   shlibpath_overrides_runpath=no
+   hardcode_into_libs=yes
+   dynamic_linker='GNU ld.so'
+   ;;
+ 
  freebsd* | dragonfly*)
    # DragonFly does not have aout.  When/if they implement a new
    # versioning mechanism, adjust this.
***************
*** 18588,18594 ****
      shlibpath_overrides_runpath=no
      hardcode_into_libs=yes
      ;;
!   *) # from 4.6 on, and DragonFly
      shlibpath_overrides_runpath=yes
      hardcode_into_libs=yes
      ;;
--- 18088,18094 ----
      shlibpath_overrides_runpath=no
      hardcode_into_libs=yes
      ;;
!   freebsd*) # from 4.6 on
      shlibpath_overrides_runpath=yes
      hardcode_into_libs=yes
      ;;
***************
*** 18651,18657 ****
    postinstall_cmds='chmod 555 $lib'
    ;;
  
! interix[3-9]*)
    version_type=linux
    need_lib_prefix=no
    need_version=no
--- 18151,18157 ----
    postinstall_cmds='chmod 555 $lib'
    ;;
  
! interix3*)
    version_type=linux
    need_lib_prefix=no
    need_version=no
***************
*** 18706,18712 ****
    ;;
  
  # This must be Linux ELF.
! linux* | k*bsd*-gnu)
    version_type=linux
    need_lib_prefix=no
    need_version=no
--- 18206,18212 ----
    ;;
  
  # This must be Linux ELF.
! linux*)
    version_type=linux
    need_lib_prefix=no
    need_version=no
***************
*** 18720,18729 ****
    # before this can be enabled.
    hardcode_into_libs=yes
  
    # Append ld.so.conf contents to the search path
    if test -f /etc/ld.so.conf; then
!     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
!     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
    fi
  
    # We used to test for /lib/ld.so.1 and disable shared libraries on
--- 18220,18250 ----
    # before this can be enabled.
    hardcode_into_libs=yes
  
+   # find out which ABI we are using
+   libsuff=
+   case "$host_cpu" in
+   x86_64*|s390x*|powerpc64*)
+     echo '#line 18227 "configure"' > conftest.$ac_ext
+     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; then
+       case `/usr/bin/file conftest.$ac_objext` in
+       *64-bit*)
+         libsuff=64
+         sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
+         ;;
+       esac
+     fi
+     rm -rf conftest*
+     ;;
+   esac
+ 
    # Append ld.so.conf contents to the search path
    if test -f /etc/ld.so.conf; then
!     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/#.*//;/^[^\/]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
!     sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
    fi
  
    # We used to test for /lib/ld.so.1 and disable shared libraries on
***************
*** 18735,18741 ****
    dynamic_linker='GNU/Linux ld.so'
    ;;
  
! netbsdelf*-gnu)
    version_type=linux
    need_lib_prefix=no
    need_version=no
--- 18256,18262 ----
    dynamic_linker='GNU/Linux ld.so'
    ;;
  
! knetbsd*-gnu)
    version_type=linux
    need_lib_prefix=no
    need_version=no
***************
*** 18744,18750 ****
    shlibpath_var=LD_LIBRARY_PATH
    shlibpath_overrides_runpath=no
    hardcode_into_libs=yes
!   dynamic_linker='NetBSD ld.elf_so'
    ;;
  
  netbsd*)
--- 18265,18271 ----
    shlibpath_var=LD_LIBRARY_PATH
    shlibpath_overrides_runpath=no
    hardcode_into_libs=yes
!   dynamic_linker='GNU ld.so'
    ;;
  
  netbsd*)
***************
*** 18828,18837 ****
    sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
    ;;
  
- rdos*)
-   dynamic_linker=no
-   ;;
- 
  solaris*)
    version_type=linux
    need_lib_prefix=no
--- 18349,18354 ----
***************
*** 18928,18948 ****
  echo "${ECHO_T}$dynamic_linker" >&6; }
  test "$dynamic_linker" = no && can_build_shared=no
  
- if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
- fi
- 
- sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
- if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
- fi
- 
- sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
- 
  variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  if test "$GCC" = yes; then
    variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
--- 18445,18450 ----
***************
*** 19026,19032 ****
      predeps_GCJ \
      postdeps_GCJ \
      compiler_lib_search_path_GCJ \
-     compiler_lib_search_dirs_GCJ \
      archive_cmds_GCJ \
      archive_expsym_cmds_GCJ \
      postinstall_cmds_GCJ \
--- 18528,18533 ----
***************
*** 19042,19048 ****
      module_cmds_GCJ \
      module_expsym_cmds_GCJ \
      lt_cv_prog_compiler_c_o_GCJ \
-     fix_srcfile_path_GCJ \
      exclude_expsyms_GCJ \
      include_expsyms_GCJ; do
  
--- 18543,18548 ----
***************
*** 19275,19284 ****
  # shared library.
  postdeps=$lt_postdeps_GCJ
  
- # The directories searched by this compiler when creating a shared
- # library
- compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
- 
  # The library search path used internally by the compiler when linking
  # a shared library.
  compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
--- 18775,18780 ----
***************
*** 19367,19373 ****
  sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  
  # Fix the shell variable \$srcfile for the compiler.
! fix_srcfile_path=$lt_fix_srcfile_path
  
  # Set to yes if exported symbols are required.
  always_export_symbols=$always_export_symbols_GCJ
--- 18863,18869 ----
  sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  
  # Fix the shell variable \$srcfile for the compiler.
! fix_srcfile_path="$fix_srcfile_path_GCJ"
  
  # Set to yes if exported symbols are required.
  always_export_symbols=$always_export_symbols_GCJ
***************
*** 19424,19430 ****
  objext_RC=$objext
  
  # Code to be used in simple compile tests
! lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
  
  # Code to be used in simple link tests
  lt_simple_link_test_code="$lt_simple_compile_test_code"
--- 18920,18926 ----
  objext_RC=$objext
  
  # Code to be used in simple compile tests
! lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
  
  # Code to be used in simple link tests
  lt_simple_link_test_code="$lt_simple_compile_test_code"
***************
*** 19443,19458 ****
  
  # save warnings/boilerplate of simple test code
  ac_outfile=conftest.$ac_objext
! echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  _lt_compiler_boilerplate=`cat conftest.err`
  $rm conftest*
  
  ac_outfile=conftest.$ac_objext
! echo "$lt_simple_link_test_code" >conftest.$ac_ext
  eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  _lt_linker_boilerplate=`cat conftest.err`
! $rm -r conftest*
  
  
  # Allow CC to be a program name with arguments.
--- 18939,18954 ----
  
  # save warnings/boilerplate of simple test code
  ac_outfile=conftest.$ac_objext
! printf "$lt_simple_compile_test_code" >conftest.$ac_ext
  eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  _lt_compiler_boilerplate=`cat conftest.err`
  $rm conftest*
  
  ac_outfile=conftest.$ac_objext
! printf "$lt_simple_link_test_code" >conftest.$ac_ext
  eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  _lt_linker_boilerplate=`cat conftest.err`
! $rm conftest*
  
  
  # Allow CC to be a program name with arguments.
***************
*** 19512,19518 ****
      predeps_RC \
      postdeps_RC \
      compiler_lib_search_path_RC \
-     compiler_lib_search_dirs_RC \
      archive_cmds_RC \
      archive_expsym_cmds_RC \
      postinstall_cmds_RC \
--- 19008,19013 ----
***************
*** 19528,19534 ****
      module_cmds_RC \
      module_expsym_cmds_RC \
      lt_cv_prog_compiler_c_o_RC \
-     fix_srcfile_path_RC \
      exclude_expsyms_RC \
      include_expsyms_RC; do
  
--- 19023,19028 ----
***************
*** 19761,19770 ****
  # shared library.
  postdeps=$lt_postdeps_RC
  
- # The directories searched by this compiler when creating a shared
- # library
- compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
- 
  # The library search path used internally by the compiler when linking
  # a shared library.
  compiler_lib_search_path=$lt_compiler_lib_search_path_RC
--- 19255,19260 ----
***************
*** 19853,19859 ****
  sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  
  # Fix the shell variable \$srcfile for the compiler.
! fix_srcfile_path=$lt_fix_srcfile_path
  
  # Set to yes if exported symbols are required.
  always_export_symbols=$always_export_symbols_RC
--- 19343,19349 ----
  sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  
  # Fix the shell variable \$srcfile for the compiler.
! fix_srcfile_path="$fix_srcfile_path_RC"
  
  # Set to yes if exported symbols are required.
  always_export_symbols=$always_export_symbols_RC
***************
*** 21724,21735 ****
  ECHO!$ECHO$ac_delim
  AR!$AR$ac_delim
  RANLIB!$RANLIB$ac_delim
- DSYMUTIL!$DSYMUTIL$ac_delim
- NMEDIT!$NMEDIT$ac_delim
  CXX!$CXX$ac_delim
  CXXFLAGS!$CXXFLAGS$ac_delim
  ac_ct_CXX!$ac_ct_CXX$ac_delim
  CXXDEPMODE!$CXXDEPMODE$ac_delim
  _ACEOF
  
    if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
--- 21214,21225 ----
  ECHO!$ECHO$ac_delim
  AR!$AR$ac_delim
  RANLIB!$RANLIB$ac_delim
  CXX!$CXX$ac_delim
  CXXFLAGS!$CXXFLAGS$ac_delim
  ac_ct_CXX!$ac_ct_CXX$ac_delim
  CXXDEPMODE!$CXXDEPMODE$ac_delim
+ am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
+ am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
  _ACEOF
  
    if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
***************
*** 21771,21778 ****
  ac_delim='%!_!# '
  for ac_last_try in false false false false false :; do
    cat >conf$$subs.sed <<_ACEOF
- am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
- am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
  CXXCPP!$CXXCPP$ac_delim
  F77!$F77$ac_delim
  FFLAGS!$FFLAGS$ac_delim
--- 21261,21266 ----
***************
*** 21789,21795 ****
  LTLIBOBJS!$LTLIBOBJS$ac_delim
  _ACEOF
  
!   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 16; then
      break
    elif $ac_last_try; then
      { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
--- 21277,21283 ----
  LTLIBOBJS!$LTLIBOBJS$ac_delim
  _ACEOF
  
!   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 14; then
      break
    elif $ac_last_try; then
      { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
***************
*** 22190,22211 ****
    fi
    rm -f "$tmp/out12"
  # Compute $ac_file's index in $config_headers.
- _am_arg=$ac_file
  _am_stamp_count=1
  for _am_header in $config_headers :; do
    case $_am_header in
!     $_am_arg | $_am_arg:* )
        break ;;
      * )
        _am_stamp_count=`expr $_am_stamp_count + 1` ;;
    esac
  done
! echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
! $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
! 	 X"$_am_arg" : 'X\(//\)$' \| \
! 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
! echo X"$_am_arg" |
      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  	    s//\1/
  	    q
--- 21678,21698 ----
    fi
    rm -f "$tmp/out12"
  # Compute $ac_file's index in $config_headers.
  _am_stamp_count=1
  for _am_header in $config_headers :; do
    case $_am_header in
!     $ac_file | $ac_file:* )
        break ;;
      * )
        _am_stamp_count=`expr $_am_stamp_count + 1` ;;
    esac
  done
! echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
! $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 	 X$ac_file : 'X\(//\)[^/]' \| \
! 	 X$ac_file : 'X\(//\)$' \| \
! 	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
! echo X$ac_file |
      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  	    s//\1/
  	    q
***************
*** 22242,22248 ****
    # each Makefile.in and add a new line on top of each file to say so.
    # Grep'ing the whole file is not good either: AIX grep has a line
    # limit of 2048, but all sed's we know have understand at least 4000.
!   if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
      dirpart=`$as_dirname -- "$mf" ||
  $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  	 X"$mf" : 'X\(//\)[^/]' \| \
--- 21729,21735 ----
    # each Makefile.in and add a new line on top of each file to say so.
    # Grep'ing the whole file is not good either: AIX grep has a line
    # limit of 2048, but all sed's we know have understand at least 4000.
!   if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
      dirpart=`$as_dirname -- "$mf" ||
  $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  	 X"$mf" : 'X\(//\)[^/]' \| \
Only in /root/fuzz/zzuf-0.12: copying
Only in /root/fuzz/zzuf-0.12: cpos
Only in /root/fuzz/zzuf-0.12: crash_data
Only in /root/fuzz/zzuf-0.12: crash_report
Only in /root/fuzz/zzuf-0.12: cscope.out
Only in /root/fuzz/zzuf-0.12/doc: Makefile
diff -crB /root/project/zzuf-0.12/doc/Makefile.in /root/fuzz/zzuf-0.12/doc/Makefile.in
*** /root/project/zzuf-0.12/doc/Makefile.in	2008-06-13 16:39:30.000000000 +0530
--- /root/fuzz/zzuf-0.12/doc/Makefile.in	2009-02-26 22:39:06.000000000 +0530
***************
*** 1,8 ****
! # Makefile.in generated by automake 1.10.1 from Makefile.am.
  # @configure_input@
  
  # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
! # 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
  # This Makefile.in is free software; the Free Software Foundation
  # gives unlimited permission to copy and/or distribute it,
  # with or without modifications, as long as this notice is preserved.
--- 1,8 ----
! # Makefile.in generated by automake 1.10 from Makefile.am.
  # @configure_input@
  
  # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
! # 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
  # This Makefile.in is free software; the Free Software Foundation
  # gives unlimited permission to copy and/or distribute it,
  # with or without modifications, as long as this notice is preserved.
***************
*** 71,77 ****
  DEPDIR = @DEPDIR@
  DLL_LDFLAGS = @DLL_LDFLAGS@
  DL_LIBS = @DL_LIBS@
- DSYMUTIL = @DSYMUTIL@
  ECHO = @ECHO@
  ECHO_C = @ECHO_C@
  ECHO_N = @ECHO_N@
--- 71,76 ----
***************
*** 96,102 ****
  MAKEINFO = @MAKEINFO@
  MATH_LIBS = @MATH_LIBS@
  MKDIR_P = @MKDIR_P@
- NMEDIT = @NMEDIT@
  OBJEXT = @OBJEXT@
  PACKAGE = @PACKAGE@
  PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
--- 95,100 ----
Only in /root/fuzz/zzuf-0.12: error
Only in /root/fuzz/zzuf-0.12: f1.txt
Only in /root/fuzz/zzuf-0.12: f2.txt
Only in /root/fuzz/zzuf-0.12: f3.txt
Only in /root/fuzz/zzuf-0.12: f4.txt
Only in /root/fuzz/zzuf-0.12: file1.txt
Only in /root/fuzz/zzuf-0.12: file1.txt~
Only in /root/fuzz/zzuf-0.12: file.txt
Only in /root/fuzz/zzuf-0.12: file.txt~
Only in /root/fuzz/zzuf-0.12: Hello
Only in /root/fuzz/zzuf-0.12: Hello.c
Only in /root/fuzz/zzuf-0.12: Hello.c~
Only in /root/fuzz/zzuf-0.12: Hello.s
Only in /root/fuzz/zzuf-0.12: libtool
Only in /root/fuzz/zzuf-0.12: libzzuf.so
Only in /root/fuzz/zzuf-0.12: log
Only in /root/fuzz/zzuf-0.12: Makefile
Only in /root/fuzz/zzuf-0.12: Makefile~
diff -crB /root/project/zzuf-0.12/Makefile.in /root/fuzz/zzuf-0.12/Makefile.in
*** /root/project/zzuf-0.12/Makefile.in	2008-06-13 16:39:31.000000000 +0530
--- /root/fuzz/zzuf-0.12/Makefile.in	2009-02-26 22:39:10.000000000 +0530
***************
*** 1,8 ****
! # Makefile.in generated by automake 1.10.1 from Makefile.am.
  # @configure_input@
  
  # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
! # 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
  # This Makefile.in is free software; the Free Software Foundation
  # gives unlimited permission to copy and/or distribute it,
  # with or without modifications, as long as this notice is preserved.
--- 1,8 ----
! # Makefile.in generated by automake 1.10 from Makefile.am.
  # @configure_input@
  
  # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
! # 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
  # This Makefile.in is free software; the Free Software Foundation
  # gives unlimited permission to copy and/or distribute it,
  # with or without modifications, as long as this notice is preserved.
***************
*** 94,100 ****
  DEPDIR = @DEPDIR@
  DLL_LDFLAGS = @DLL_LDFLAGS@
  DL_LIBS = @DL_LIBS@
- DSYMUTIL = @DSYMUTIL@
  ECHO = @ECHO@
  ECHO_C = @ECHO_C@
  ECHO_N = @ECHO_N@
--- 94,99 ----
***************
*** 119,125 ****
  MAKEINFO = @MAKEINFO@
  MATH_LIBS = @MATH_LIBS@
  MKDIR_P = @MKDIR_P@
- NMEDIT = @NMEDIT@
  OBJEXT = @OBJEXT@
  PACKAGE = @PACKAGE@
  PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
--- 118,123 ----
***************
*** 329,336 ****
  	unique=`for i in $$list; do \
  	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  	  done | \
! 	  $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
! 	      END { if (nonempty) { for (i in files) print i; }; }'`; \
  	mkid -fID $$unique
  tags: TAGS
  
--- 327,334 ----
  	unique=`for i in $$list; do \
  	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  	  done | \
! 	  $(AWK) '    { files[$$0] = 1; } \
! 	       END { for (i in files) print i; }'`; \
  	mkid -fID $$unique
  tags: TAGS
  
***************
*** 355,362 ****
  	unique=`for i in $$list; do \
  	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  	  done | \
! 	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
! 	      END { if (nonempty) { for (i in files) print i; }; }'`; \
  	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  	  test -n "$$unique" || unique=$$empty_fix; \
  	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
--- 353,360 ----
  	unique=`for i in $$list; do \
  	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  	  done | \
! 	  $(AWK) '    { files[$$0] = 1; } \
! 	       END { for (i in files) print i; }'`; \
  	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  	  test -n "$$unique" || unique=$$empty_fix; \
  	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
***************
*** 366,377 ****
  CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
  		$(TAGS_FILES) $(LISP)
  	tags=; \
  	list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
  	unique=`for i in $$list; do \
  	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  	  done | \
! 	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
! 	      END { if (nonempty) { for (i in files) print i; }; }'`; \
  	test -z "$(CTAGS_ARGS)$$tags$$unique" \
  	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  	     $$tags $$unique
--- 364,376 ----
  CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
  		$(TAGS_FILES) $(LISP)
  	tags=; \
+ 	here=`pwd`; \
  	list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
  	unique=`for i in $$list; do \
  	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  	  done | \
! 	  $(AWK) '    { files[$$0] = 1; } \
! 	       END { for (i in files) print i; }'`; \
  	test -z "$(CTAGS_ARGS)$$tags$$unique" \
  	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  	     $$tags $$unique
***************
*** 441,450 ****
  	tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
  	$(am__remove_distdir)
  
- dist-lzma: distdir
- 	tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
- 	$(am__remove_distdir)
- 
  dist-tarZ: distdir
  	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
  	$(am__remove_distdir)
--- 440,445 ----
***************
*** 472,479 ****
  	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
  	*.tar.bz2*) \
  	  bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
- 	*.tar.lzma*) \
- 	  unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
  	*.tar.Z*) \
  	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
  	*.shar.gz*) \
--- 467,472 ----
***************
*** 625,632 ****
  .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  	all all-am am--refresh check check-am clean clean-generic \
  	clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
! 	dist-gzip dist-lzma dist-shar dist-tarZ dist-zip distcheck \
! 	distclean distclean-generic distclean-hdr distclean-libtool \
  	distclean-tags distcleancheck distdir distuninstallcheck dvi \
  	dvi-am html html-am info info-am install install-am \
  	install-data install-data-am install-dvi install-dvi-am \
--- 618,625 ----
  .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  	all all-am am--refresh check check-am clean clean-generic \
  	clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
! 	dist-gzip dist-shar dist-tarZ dist-zip distcheck distclean \
! 	distclean-generic distclean-hdr distclean-libtool \
  	distclean-tags distcleancheck distdir distuninstallcheck dvi \
  	dvi-am html html-am info info-am install install-am \
  	install-data install-data-am install-dvi install-dvi-am \
Only in /root/fuzz/zzuf-0.12: manual
Only in /root/fuzz/zzuf-0.12: manual~
Only in /root/fuzz/zzuf-0.12: mypgm
Only in /root/fuzz/zzuf-0.12: mypgm1
Only in /root/fuzz/zzuf-0.12: mypgm1.c
Only in /root/fuzz/zzuf-0.12: mypgm1.c~
Only in /root/fuzz/zzuf-0.12: mypgm2
Only in /root/fuzz/zzuf-0.12: mypgm2.c
Only in /root/fuzz/zzuf-0.12: mypgm2.c~
Only in /root/fuzz/zzuf-0.12: mypgm3
Only in /root/fuzz/zzuf-0.12: mypgm3.c
Only in /root/fuzz/zzuf-0.12: mypgm3.c~
Only in /root/fuzz/zzuf-0.12: mypgm.c
Only in /root/fuzz/zzuf-0.12: mypgm.c~
Only in /root/fuzz/zzuf-0.12: news
Only in /root/fuzz/zzuf-0.12: output
Only in /root/fuzz/zzuf-0.12: output_mypgm3
Only in /root/fuzz/zzuf-0.12: phone
Only in /root/fuzz/zzuf-0.12: phone~
Only in /root/fuzz/zzuf-0.12: pqr
Only in /root/fuzz/zzuf-0.12: readme
Only in /root/fuzz/zzuf-0.12: rules
Only in /root/fuzz/zzuf-0.12: sample
Only in /root/fuzz/zzuf-0.12: sample.c
Only in /root/fuzz/zzuf-0.12: sample.c~
Only in /root/fuzz/zzuf-0.12: single
Only in /root/fuzz/zzuf-0.12/src: abc
Only in /root/fuzz/zzuf-0.12/src: abc~
Only in /root/fuzz/zzuf-0.12/src: crash_handle.c
Only in /root/fuzz/zzuf-0.12/src: crash_handle.c~
Only in /root/fuzz/zzuf-0.12/src: crash_handle.h
Only in /root/fuzz/zzuf-0.12/src: crash_handle.h~
Only in /root/fuzz/zzuf-0.12/src: .deps
Only in /root/fuzz/zzuf-0.12/src: f1.txt
Only in /root/fuzz/zzuf-0.12/src: f1.txt~
Only in /root/fuzz/zzuf-0.12/src: f2.txt
Only in /root/fuzz/zzuf-0.12/src: f2.txt~
Only in /root/fuzz/zzuf-0.12/src: f3.txt
Only in /root/fuzz/zzuf-0.12/src: f3.txt~
Only in /root/fuzz/zzuf-0.12/src: f4.txt
Only in /root/fuzz/zzuf-0.12/src: f4.txt~
Only in /root/fuzz/zzuf-0.12/src: fd.c~
Only in /root/fuzz/zzuf-0.12/src: fd.h~
diff -crB /root/project/zzuf-0.12/src/fuzz.c /root/fuzz/zzuf-0.12/src/fuzz.c
*** /root/project/zzuf-0.12/src/fuzz.c	2008-06-13 14:33:08.000000000 +0530
--- /root/fuzz/zzuf-0.12/src/fuzz.c	2009-02-26 22:39:08.000000000 +0530
***************
*** 15,21 ****
  /*
   *  fuzz.c: fuzz functions
   */
! 
  #include "config.h"
  
  #if defined HAVE_STDINT_H
--- 15,21 ----
  /*
   *  fuzz.c: fuzz functions
   */
!  
  #include "config.h"
  
  #if defined HAVE_STDINT_H
***************
*** 25,30 ****
--- 25,33 ----
  #endif
  #include <stdio.h>
  #include <stdlib.h>
+ #include <sys/types.h>
+ #include <unistd.h>
+ 
  #include <string.h>
  
  #include "libzzuf.h"
***************
*** 33,38 ****
--- 36,42 ----
  #include "fuzz.h"
  #include "fd.h"
  #include "ranges.h"
+ #include "crash_handle.h"
  
  #define MAGIC1 0x33ea84f7
  #define MAGIC2 0x783bc31f
***************
*** 90,96 ****
      volatile uint8_t *aligned_buf;
      int64_t i, j;
      int todo;
! 
  #if 0
      debug("fuzz(%i, %lli@%lli)", fd, (long long int)len,
            (long long int)pos);
--- 94,102 ----
      volatile uint8_t *aligned_buf;
      int64_t i, j;
      int todo;
!      
!  
!      
  #if 0
      debug("fuzz(%i, %lli@%lli)", fd, (long long int)len,
            (long long int)pos);
Only in /root/fuzz/zzuf-0.12/src: fuzz.c~
Only in /root/fuzz/zzuf-0.12/src: fuzz.h~
Only in /root/fuzz/zzuf-0.12/src: input281
Only in /root/fuzz/zzuf-0.12/src: input281~
Only in /root/fuzz/zzuf-0.12/src: input282
diff -crB /root/project/zzuf-0.12/src/lib-fd.c /root/fuzz/zzuf-0.12/src/lib-fd.c
*** /root/project/zzuf-0.12/src/lib-fd.c	2008-06-13 14:33:08.000000000 +0530
--- /root/fuzz/zzuf-0.12/src/lib-fd.c	2009-07-23 22:52:46.000000000 +0530
***************
*** 35,40 ****
--- 35,43 ----
  #include <string.h>
  #include <stdio.h>
  #include <errno.h>
+ #include <bfd.h>
+ #include <assert.h>
+ #include <sys/ptrace.h>
  
  #if defined HAVE_WINSOCK2_H
  #   include <winsock2.h>
***************
*** 63,68 ****
--- 66,72 ----
  #include "debug.h"
  #include "fuzz.h"
  #include "fd.h"
+ #include "crash_handle.h"
  
  #if defined HAVE_SOCKLEN_T
  #   define SOCKLEN_T socklen_t
***************
*** 75,81 ****
  static void fuzz_iovec   (int fd, const struct iovec *iov, ssize_t ret);
  #endif
  static void offset_check (int fd);
! 
  /* Library functions that we divert */
  static int     (*ORIG(open))    (const char *file, int oflag, ...);
  #if defined HAVE_OPEN64
--- 79,90 ----
  static void fuzz_iovec   (int fd, const struct iovec *iov, ssize_t ret);
  #endif
  static void offset_check (int fd);
! void zz_file(void);
! int avoid_fuzzing();
! void send_signal();
! long getAddress1(char *);
! void update_sec_count();
! int sec_less_read();
  /* Library functions that we divert */
  static int     (*ORIG(open))    (const char *file, int oflag, ...);
  #if defined HAVE_OPEN64
***************
*** 335,343 ****
      if(ret > 0)
      {
          char *b = buf;
! 
!         _zz_fuzz(s, buf, ret);
!         _zz_addpos(s, ret);
  
          if(ret >= 4)
              debug("%s(%i, %p, %li, 0x%x) = %i \"%c%c%c%c...", __func__,
--- 344,370 ----
      if(ret > 0)
      {
          char *b = buf;
!          
!          if(avoid_fuzzing()) 
! 	{
!        
!        		
!         	_zz_fuzz(s, buf, ret);
!         	_zz_addpos(s, ret);
! 	}
! 	
! 	  
! 	
! 	 if(sec_less_read())
! 	{
! 		zz_file();
! 	}
! 	 else
! 	 update_sec_count();
! 	 
! 	send_signal();
!          
!         
  
          if(ret >= 4)
              debug("%s(%i, %p, %li, 0x%x) = %i \"%c%c%c%c...", __func__,
***************
*** 369,376 ****
      {
          char *b = buf;
  
!         _zz_fuzz(s, buf, ret);
!         _zz_addpos(s, ret);
  
          if(ret >= 4)
              debug("%s(%i, %p, %li, 0x%x, %p, &%i) = %i \"%c%c%c%c...",
--- 396,421 ----
      {
          char *b = buf;
  
!         
!         if(avoid_fuzzing()) 
! 	{
!        
!        		
!         	_zz_fuzz(s, buf, ret);
!         	_zz_addpos(s, ret);
! 	}
! 	
! 	  
! 	
! 	 if(sec_less_read())
! 	{
! 		zz_file();
! 	}
! 	 else
! 	 update_sec_count();
! 	 
! 	send_signal();
!          
  
          if(ret >= 4)
              debug("%s(%i, %p, %li, 0x%x, %p, &%i) = %i \"%c%c%c%c...",
***************
*** 413,432 ****
  #endif
  {
      int ret;
! 
      LOADSYM(read);
      ret = ORIG(read)(fd, buf, count);
      if(!_zz_ready || !_zz_iswatched(fd) || _zz_islocked(fd)
           || !_zz_isactive(fd))
!         return ret;
! 
      if(ret > 0)
      {
!         char *b = buf;
! 
!         _zz_fuzz(fd, buf, ret);
!         _zz_addpos(fd, ret);
! 
          if(ret >= 4)
              debug("%s(%i, %p, %li) = %i \"%c%c%c%c...", __func__, fd, buf,
                    (long int)count, ret, b[0], b[1], b[2], b[3]);
--- 458,503 ----
  #endif
  {
      int ret;
!     
      LOADSYM(read);
      ret = ORIG(read)(fd, buf, count);
      if(!_zz_ready || !_zz_iswatched(fd) || _zz_islocked(fd)
           || !_zz_isactive(fd))
!        return ret;
!     
      if(ret > 0)
      {
!        
!             char *b = buf;
!        
!         
!         
!           
!         if(avoid_fuzzing()) 
! 	{
!        
!        		
!         	_zz_fuzz(fd, buf, ret);
!         	_zz_addpos(fd, ret);
! 	}
! 	
! 	  
! 	
! 	 if(sec_less_read())
! 	{
! 		zz_file();
! 	}
! 	 else
! 	 update_sec_count();
! 	 
! 	send_signal(); //send signal when sec_count is equal to read_count
! 	/*else
! 	{
! 		printf("\nEnter the name of variable = ");
! 		//scanf("%s",var);
! 		data = ptrace(PTRACE_PEEKDATA, getpid(), add , 0);
!          	printf("\nValue of %s= %d",var,data);
! 	}*/
          if(ret >= 4)
              debug("%s(%i, %p, %li) = %i \"%c%c%c%c...", __func__, fd, buf,
                    (long int)count, ret, b[0], b[1], b[2], b[3]);
***************
*** 473,484 ****
  
      if(ret > 0)
      {
-         long int curoff = _zz_getpos(fd);
          char *b = buf;
  
          _zz_setpos(fd, offset);
          _zz_fuzz(fd, buf, ret);
          _zz_setpos(fd, curoff);
  
          if(ret >= 4)
              debug("%s(%i, %p, %li, %li) = %i \"%c%c%c%c...", __func__, fd, buf,
--- 544,574 ----
  
      if(ret > 0)
      {
          char *b = buf;
+          long int curoff = _zz_getpos(fd);
+        if(avoid_fuzzing()) 
+ 	{
+        
+        	     
  
          _zz_setpos(fd, offset);
          _zz_fuzz(fd, buf, ret);
          _zz_setpos(fd, curoff);
+ 	}
+ 	
+ 	  
+ 	
+ 	 if(sec_less_read())
+ 	{
+ 		zz_file();
+ 	}
+ 	 else
+ 	 update_sec_count();
+ 	 
+ 	send_signal();
+        
+        
+        
  
          if(ret >= 4)
              debug("%s(%i, %p, %li, %li) = %i \"%c%c%c%c...", __func__, fd, buf,
***************
*** 561,569 ****
      /* FIXME: make sure we’re actually *reading* */
      if(ret > 0)
      {
!         _zz_setpos(fd, aiocbp->aio_offset);
          _zz_fuzz(fd, aiocbp->aio_buf, ret);
          _zz_addpos(fd, ret);
      }
  
      debug("%s({%i, %i, %i, %p, %li, ..., %li}) = %li", __func__,
--- 651,678 ----
      /* FIXME: make sure we’re actually *reading* */
      if(ret > 0)
      {
!         
!          if(avoid_fuzzing()) 
! 	{
!        
!        		
!         	_zz_setpos(fd, aiocbp->aio_offset);
          _zz_fuzz(fd, aiocbp->aio_buf, ret);
          _zz_addpos(fd, ret);
+ 	}
+ 	
+ 	  
+ 	
+ 	 if(sec_less_read())
+ 	{
+ 		zz_file();
+ 	}
+ 	 else
+ 	 update_sec_count();
+ 	 
+ 	send_signal(); 
+         
+         
      }
  
      debug("%s({%i, %i, %i, %p, %li, ..., %li}) = %li", __func__,
***************
*** 607,615 ****
  
          if(len > (size_t)ret)
              len = ret;
! 
          _zz_fuzz(fd, b, len);
          _zz_addpos(fd, len);
  
          iov++;
          ret -= len;
--- 716,743 ----
  
          if(len > (size_t)ret)
              len = ret;
! 	
! 	if(avoid_fuzzing()) 
! 	{
!        
!        		
          _zz_fuzz(fd, b, len);
          _zz_addpos(fd, len);
+ 	}
+ 	
+ 	  
+ 	
+ 	 if(sec_less_read())
+ 	{
+ 		zz_file();
+ 	}
+ 	 else
+ 	 update_sec_count();
+ 	 
+ 	send_signal();
+ 	
+        
+         
  
          iov++;
          ret -= len;
***************
*** 634,637 ****
--- 762,1042 ----
          debug("warning: offset inconsistency");
      errno = orig_errno;
  }
+ void zz_file(void)
+ {
+    struct crash_handle c,c1[100];
+    FILE *fp,*ft;
+     
+      // char *tmp;
+    //tmp = getenv("ZZUF_SEED");
+    //printf("seed =%d",atol(tmp));
+     
+    fp=fopen("log","rb+");
+    if(fp==NULL)
+    {
+    	perror("\nfopen :");
+    }
+    rewind(fp);
+    int flag=0;
+    int i=0;
+    while(fread(&c,sizeof(c),1,fp)==1)
+    {
+    	c1[i]=c;
+    	i++;
+    }
+    
+    int j=0;
+    for(j=0;j<i;j++)
+    {
+    	if(c1[j].pid==getpid()/*c1[j].seed==atol(tmp)*/)
+    	{
+    		c1[j].read_count++;
+    
+    		flag=1;
+    		break;
+    	}
+    }
+ 
+    ft=fopen("temp","wb");
+    if(ft==NULL)
+    {
+    	perror("\nfopen :");
+    }
+    for(j=0;j<i;j++)
+    	fwrite(&c1[j],sizeof(c1[j]),1,ft);
+    
+    if(flag==0)
+    {
+      c.read_count=1;
+      c.crash=0;
+      c.pid=getpid();
+      //c.seed=atol(tmp);
+      c.rerun=0;
+      c.sec_count=0;
+      fwrite(&c,sizeof(c),1,fp); 
+    
+    
+    }
+    
+    fclose(fp);
+    fclose(ft);
+    if(flag==1)
+    {
+    	remove("log");
+    	rename("temp","log");
+    }
+ }
+ int avoid_fuzzing()
+ {
+  struct crash_handle c,c1[100];
+    FILE *fp;
+     
+ 
+     
+    fp=fopen("log","rb+");
+    if(fp==NULL)
+    {
+    	perror("\nfopen :");
+    }
+    rewind(fp);
+    int flag=0;
+    int i=0;
+    while(fread(&c,sizeof(c),1,fp)==1)
+    {
+    	c1[i]=c;
+    	/*printf("\nc1[i].rerun=%d",c1[i].rerun);
+    	printf("\nc1[i].read_count=%d",c1[i].read_count);
+    	printf("\nc1[i].sec_count=%d",c1[i].sec_count);
+    	printf("\nc1[i].crash=%d",c1[i].crash);
+    	printf("\nc1[i].pid=%d",c1[i].pid);
+    		printf("\ni=%d",i);*/
+    	i++;
+    }
+    
+    
+    fclose(fp);
+    int j=0;
+    for(j=0;j<i;j++)
+    {
+    	//if(c1[j].crash>=1&&c1[j].pid==getpid()&&c1[j].read_count>c1[j].sec_count&&c1[j].rerun>1)
+ 	if((c1[j].rerun<=1&&c1[j].read_count>=c1[j].sec_count&&c1[j].crash<=1&&c1[j].pid==getpid())||(c1[j].rerun>1&&c1[j].sec_count>c1[j].read_count&&c1[j].crash>1&&c1[j].pid==getpid()))   	
+ 	{
+    		/*if(c1[j].read_count==c1[j].sec_count)
+    		{
+    			printf("\nSignal Send");
+    			if(kill(getpid(),SIGSTOP)==-1)
+    				perror("\nkill");
+    		}*/
+    		c1[j].pid=getpid();
+                  //printf("PID = %d",c1[j].pid);
+    		return 1;
+    		
+    	}
+    }
+    
+    return 0;
+ }
+ int sec_less_read()
+ {
+    struct crash_handle c,c1[100];
+    FILE *fp;
+     
+ 
+     
+    fp=fopen("log","rb+");
+    if(fp==NULL)
+    {
+    	perror("\nfopen :");
+    }
+    rewind(fp);
+    int flag=0;
+    int i=0;
+    while(fread(&c,sizeof(c),1,fp)==1)
+    {
+    	c1[i]=c;
+    	i++;
+    }
+    fclose(fp);
+    int j=0;
+    for(j=0;j<i;j++)
+    {
+    	if(c1[j].crash==0&&c1[j].rerun==0)
+    	{
+    		/*if(c1[j].read_count==c1[j].sec_count)
+    		{
+    			printf("\nSignal Send");
+    			if(kill(getpid(),SIGSTOP)==-1)
+    				perror("\nkill");
+    		}*/
+    		
+    		return 1;
+    		
+    	}
+    }
+    
+    return 0;
+ 
+ }
+ void update_sec_count()
+ {
+    struct crash_handle c,c1[100];
+    FILE *fp,*ft;
+       
+    fp=fopen("log","rb+");
+    if(fp==NULL)
+   {
+    	perror("\nfopen :");
+    }
+    rewind(fp);
+    int i=0;
+      //   char *tmp;
+    //tmp = getenv("ZZUF_SEED");
+   // printf("\nseed _update=%d",atol(tmp));
+    while(fread(&c,sizeof(c),1,fp)==1)
+    {
+    	c1[i]=c;
+    	i++;
+    }
+    
+    int j=0;
+    for(j=0;j<i;j++)
+    {
+          if(c1[j].pid==getpid()&&c1[j].rerun>=1)
+    	{
+    		c1[j].sec_count++;
+    		break;
+    	}
+    }
+    
+    ft=fopen("temp","wb");
+    if(ft==NULL)
+   {
+    	perror("\nfopen :");
+    }
+ 
+    for(j=0;j<i;j++)
+       	fwrite(&c1[j],sizeof(c1[j]),1,ft);
+        
+     
+    fclose(fp);
+    fclose(ft);
+    remove("log");
+    rename("temp","log");
+ 
+ 
+ 		
+ }
+ void send_signal()
+ {
+    struct crash_handle c,c1[100];
+    FILE *fp;
+     
+ 
+     
+    fp=fopen("log","rb+");
+    if(fp==NULL)
+    {
+    	perror("\nfopen :");
+    }
+    rewind(fp);
+    int flag=0;
+    int i=0;
+    while(fread(&c,sizeof(c),1,fp)==1)
+    {
+    	c1[i]=c;
+    	i++;
+    }
+    
+    int j=0;
+    for(j=0;j<i;j++)
+    {
+    	if(c1[j].crash>=1&&c1[j].rerun>=1&&c1[j].read_count<=c1[j].sec_count)
+    	{
+    		//if(c1[j].read_count>c1[j].sec_count)
+    		{
+    			printf("\nSignal Send");
+    			if(kill(getpid(),SIGSTOP)==-1)
+    				perror("\nkill");
+    		}
+    		
+    		
+    	}
+    }
+    fclose(fp);
+    
+ }
+ 
+ /*long getAddress1(char *s)
+ {
+    long storage_needed, num_symbols, i;
+     asymbol **symbol_table;
+     bfd *abfd;
+     char filename[100];
+     
+     bfd_init(); // magic
+     
+     abfd = bfd_openr("zzuf", NULL);
+     assert(abfd != NULL);
+     bfd_check_format(abfd, bfd_object);
+     storage_needed = bfd_get_symtab_upper_bound(abfd);
+     assert(storage_needed >= 0);
+     //printf("storage = %d\n", storage_needed);
+ 
+     symbol_table = (asymbol**)malloc(storage_needed);
+     assert(symbol_table != 0);
+     num_symbols = bfd_canonicalize_symtab(abfd, symbol_table);
+     assert(num_symbols >= 0);
+     //printf("num syms = %d\n", num_symbols);
+     //for(i = 0; i < num_symbols; i++)
+       //  printf("%s: %x\n", bfd_asymbol_name(symbol_table[i]), 
+         //    bfd_asymbol_value(symbol_table[i]));
+         
+     for(i=0;i<num_symbols;i++)
+     {
+     	if(strcmp(bfd_asymbol_name(symbol_table[i]),s)==0)
+     		return (bfd_asymbol_value(symbol_table[i]));
+     } 
+     return 0;
+     //export_symbol(getAddress);
+ }*/
  
Only in /root/fuzz/zzuf-0.12/src: lib-fd.c~
Only in /root/fuzz/zzuf-0.12/src: lib-load.h~
Only in /root/fuzz/zzuf-0.12/src: .libs
diff -crB /root/project/zzuf-0.12/src/lib-stream.c /root/fuzz/zzuf-0.12/src/lib-stream.c
*** /root/project/zzuf-0.12/src/lib-stream.c	2008-06-13 14:33:08.000000000 +0530
--- /root/fuzz/zzuf-0.12/src/lib-stream.c	2009-03-14 16:33:00.000000000 +0530
***************
*** 38,43 ****
--- 38,44 ----
  #include "debug.h"
  #include "fuzz.h"
  #include "fd.h"
+ #include "crash_handle.h"
  
  #if defined HAVE___SREFILL
  int NEW(__srefill)(FILE *fp);
***************
*** 108,126 ****
  #define FOPEN(fn) \
      do \
      { \
!         LOADSYM(fn); \
          if(!_zz_ready) \
              return ORIG(fn)(path, mode); \
          _zz_lock(-1); \
!         ret = ORIG(fn)(path, mode); \
!         _zz_unlock(-1); \
          if(ret && _zz_mustwatch(path)) \
          { \
              int fd = fileno(ret); \
              _zz_register(fd); \
              debug("%s(\"%s\", \"%s\") = [%i]", __func__, path, mode, fd); \
          } \
!     } while(0)
  
  FILE *NEW(fopen)(const char *path, const char *mode)
  {
--- 109,134 ----
  #define FOPEN(fn) \
      do \
      { \
!       LOADSYM(fn); \
!      if(strcmp("log",path)!=0&&strcmp("temp",path)!=0)  \
!      {  \
          if(!_zz_ready) \
              return ORIG(fn)(path, mode); \
+      }\
+     if(strcmp("log",path)!=0&&strcmp("temp",path)!=0)  \
          _zz_lock(-1); \
!     ret = ORIG(fn)(path, mode); \
!     if( strcmp("log",path)!=0&&strcmp("temp",path)!=0)  \
!   { \
!      _zz_unlock(-1); \
          if(ret && _zz_mustwatch(path)) \
          { \
              int fd = fileno(ret); \
              _zz_register(fd); \
              debug("%s(\"%s\", \"%s\") = [%i]", __func__, path, mode, fd); \
          } \
!     } \
!     } while(0) \
  
  FILE *NEW(fopen)(const char *path, const char *mode)
  {
***************
*** 262,268 ****
          if(newpos != pos) \
          { \
              char *b = ptr; \
!             _zz_fuzz(fd, ptr, newpos - pos); \
              _zz_setpos(fd, newpos); \
              if(newpos >= pos + 4) \
                  debug("%s(%p, %li, %li, [%i]) = %li \"%c%c%c%c...", __func__, \
--- 270,276 ----
          if(newpos != pos) \
          { \
              char *b = ptr; \
!              _zz_fuzz(fd, ptr, newpos - pos); \
              _zz_setpos(fd, newpos); \
              if(newpos >= pos + 4) \
                  debug("%s(%p, %li, %li, [%i]) = %li \"%c%c%c%c...", __func__, \
***************
*** 618,623 ****
--- 626,632 ----
              fuzz->tmp = realloc(fuzz->tmp, (size += 80));
  
          fuzz->tmp[i] = (char)(unsigned char)ch;
+         
          _zz_fuzz(fd, (uint8_t *)fuzz->tmp + i, 1); /* rather inefficient */
          _zz_addpos(fd, 1);
  
***************
*** 653,658 ****
--- 662,668 ----
      {
          if(newpos != -1)
              _zz_setpos(fd, newpos - fp->_r);
+               
          _zz_fuzz(fd, fp->_p, fp->_r);
          _zz_addpos(fd, fp->_r);
      }
Only in /root/fuzz/zzuf-0.12/src: lib-stream.c~
Only in /root/fuzz/zzuf-0.12/src: libzzuf.c~
Only in /root/fuzz/zzuf-0.12/src: .libzzuf.c.swo
Only in /root/fuzz/zzuf-0.12/src: .libzzuf.c.swp
Only in /root/fuzz/zzuf-0.12/src: libzzuf.h~
Only in /root/fuzz/zzuf-0.12/src: libzzuf.la
Only in /root/fuzz/zzuf-0.12/src: libzzuf_la-debug.lo
Only in /root/fuzz/zzuf-0.12/src: libzzuf_la-debug.o
Only in /root/fuzz/zzuf-0.12/src: libzzuf_la-fd.lo
Only in /root/fuzz/zzuf-0.12/src: libzzuf_la-fd.o
Only in /root/fuzz/zzuf-0.12/src: libzzuf_la-fuzz.lo
Only in /root/fuzz/zzuf-0.12/src: libzzuf_la-fuzz.o
Only in /root/fuzz/zzuf-0.12/src: libzzuf_la-lib-fd.lo
Only in /root/fuzz/zzuf-0.12/src: libzzuf_la-lib-fd.o
Only in /root/fuzz/zzuf-0.12/src: libzzuf_la-lib-mem.lo
Only in /root/fuzz/zzuf-0.12/src: libzzuf_la-lib-mem.o
Only in /root/fuzz/zzuf-0.12/src: libzzuf_la-lib-signal.lo
Only in /root/fuzz/zzuf-0.12/src: libzzuf_la-lib-signal.o
Only in /root/fuzz/zzuf-0.12/src: libzzuf_la-lib-stream.lo
Only in /root/fuzz/zzuf-0.12/src: libzzuf_la-lib-stream.o
Only in /root/fuzz/zzuf-0.12/src: libzzuf_la-libzzuf.lo
Only in /root/fuzz/zzuf-0.12/src: libzzuf_la-libzzuf.o
Only in /root/fuzz/zzuf-0.12/src: libzzuf_la-random.lo
Only in /root/fuzz/zzuf-0.12/src: libzzuf_la-random.o
Only in /root/fuzz/zzuf-0.12/src: libzzuf_la-ranges.lo
Only in /root/fuzz/zzuf-0.12/src: libzzuf_la-ranges.o
Only in /root/fuzz/zzuf-0.12/src: libzzuf_la-sys.lo
Only in /root/fuzz/zzuf-0.12/src: libzzuf_la-sys.o
Only in /root/fuzz/zzuf-0.12/src: log~
Only in /root/fuzz/zzuf-0.12/src: Makefile
Only in /root/fuzz/zzuf-0.12/src: Makefile~
diff -crB /root/project/zzuf-0.12/src/Makefile.in /root/fuzz/zzuf-0.12/src/Makefile.in
*** /root/project/zzuf-0.12/src/Makefile.in	2008-06-13 16:39:30.000000000 +0530
--- /root/fuzz/zzuf-0.12/src/Makefile.in	2009-02-26 22:39:06.000000000 +0530
***************
*** 1,8 ****
! # Makefile.in generated by automake 1.10.1 from Makefile.am.
  # @configure_input@
  
  # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
! # 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
  # This Makefile.in is free software; the Free Software Foundation
  # gives unlimited permission to copy and/or distribute it,
  # with or without modifications, as long as this notice is preserved.
--- 1,8 ----
! # Makefile.in generated by automake 1.10 from Makefile.am.
  # @configure_input@
  
  # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
! # 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
  # This Makefile.in is free software; the Free Software Foundation
  # gives unlimited permission to copy and/or distribute it,
  # with or without modifications, as long as this notice is preserved.
***************
*** 83,89 ****
  zzuf_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  	--mode=link $(CCLD) $(zzuf_CFLAGS) $(CFLAGS) $(zzuf_LDFLAGS) \
  	$(LDFLAGS) -o $@
! DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
  depcomp = $(SHELL) $(top_srcdir)/.auto/depcomp
  am__depfiles_maybe = depfiles
  COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
--- 83,89 ----
  zzuf_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  	--mode=link $(CCLD) $(zzuf_CFLAGS) $(CFLAGS) $(zzuf_LDFLAGS) \
  	$(LDFLAGS) -o $@
! DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@
  depcomp = $(SHELL) $(top_srcdir)/.auto/depcomp
  am__depfiles_maybe = depfiles
  COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
***************
*** 121,127 ****
  DEPDIR = @DEPDIR@
  DLL_LDFLAGS = @DLL_LDFLAGS@
  DL_LIBS = @DL_LIBS@
- DSYMUTIL = @DSYMUTIL@
  ECHO = @ECHO@
  ECHO_C = @ECHO_C@
  ECHO_N = @ECHO_N@
--- 121,126 ----
***************
*** 146,152 ****
  MAKEINFO = @MAKEINFO@
  MATH_LIBS = @MATH_LIBS@
  MKDIR_P = @MKDIR_P@
- NMEDIT = @NMEDIT@
  OBJEXT = @OBJEXT@
  PACKAGE = @PACKAGE@
  PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
--- 145,150 ----
***************
*** 266,273 ****
  	@list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
  	  if test -f $$p; then \
  	    f=$(am__strip_dir) \
! 	    echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pkglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pkglibdir)/$$f'"; \
! 	    $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pkglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pkglibdir)/$$f"; \
  	  else :; fi; \
  	done
  
--- 264,271 ----
  	@list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
  	  if test -f $$p; then \
  	    f=$(am__strip_dir) \
! 	    echo " $(LIBTOOL) --mode=install $(pkglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pkglibdir)/$$f'"; \
! 	    $(LIBTOOL) --mode=install $(pkglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pkglibdir)/$$f"; \
  	  else :; fi; \
  	done
  
***************
*** 275,282 ****
  	@$(NORMAL_UNINSTALL)
  	@list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
  	  p=$(am__strip_dir) \
! 	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$p'"; \
! 	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$p"; \
  	done
  
  clean-pkglibLTLIBRARIES:
--- 273,280 ----
  	@$(NORMAL_UNINSTALL)
  	@list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
  	  p=$(am__strip_dir) \
! 	  echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$p'"; \
! 	  $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$p"; \
  	done
  
  clean-pkglibLTLIBRARIES:
***************
*** 298,305 ****
  	     || test -f $$p1 \
  	  ; then \
  	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
! 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
! 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
  	  else :; fi; \
  	done
  
--- 296,303 ----
  	     || test -f $$p1 \
  	  ; then \
  	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
! 	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
! 	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
  	  else :; fi; \
  	done
  
***************
*** 583,590 ****
  	unique=`for i in $$list; do \
  	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  	  done | \
! 	  $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
! 	      END { if (nonempty) { for (i in files) print i; }; }'`; \
  	mkid -fID $$unique
  tags: TAGS
  
--- 581,588 ----
  	unique=`for i in $$list; do \
  	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  	  done | \
! 	  $(AWK) '    { files[$$0] = 1; } \
! 	       END { for (i in files) print i; }'`; \
  	mkid -fID $$unique
  tags: TAGS
  
***************
*** 596,603 ****
  	unique=`for i in $$list; do \
  	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  	  done | \
! 	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
! 	      END { if (nonempty) { for (i in files) print i; }; }'`; \
  	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  	  test -n "$$unique" || unique=$$empty_fix; \
  	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
--- 594,601 ----
  	unique=`for i in $$list; do \
  	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  	  done | \
! 	  $(AWK) '    { files[$$0] = 1; } \
! 	       END { for (i in files) print i; }'`; \
  	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  	  test -n "$$unique" || unique=$$empty_fix; \
  	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
***************
*** 607,618 ****
  CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
  		$(TAGS_FILES) $(LISP)
  	tags=; \
  	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
  	unique=`for i in $$list; do \
  	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  	  done | \
! 	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
! 	      END { if (nonempty) { for (i in files) print i; }; }'`; \
  	test -z "$(CTAGS_ARGS)$$tags$$unique" \
  	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  	     $$tags $$unique
--- 605,617 ----
  CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
  		$(TAGS_FILES) $(LISP)
  	tags=; \
+ 	here=`pwd`; \
  	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
  	unique=`for i in $$list; do \
  	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  	  done | \
! 	  $(AWK) '    { files[$$0] = 1; } \
! 	       END { for (i in files) print i; }'`; \
  	test -z "$(CTAGS_ARGS)$$tags$$unique" \
  	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  	     $$tags $$unique
Only in /root/fuzz/zzuf-0.12/src: modified part
Only in /root/fuzz/zzuf-0.12/src: modified part~
Only in /root/fuzz/zzuf-0.12/src: objd.c
Only in /root/fuzz/zzuf-0.12/src: opts.c~
Only in /root/fuzz/zzuf-0.12/src: opts.h~
Only in /root/fuzz/zzuf-0.12/src: pqr
Only in /root/fuzz/zzuf-0.12/src: pqr~
Only in /root/fuzz/zzuf-0.12/src: temp
Only in /root/fuzz/zzuf-0.12/src: test281.c~
Only in /root/fuzz/zzuf-0.12/src: test282.c~
Only in /root/fuzz/zzuf-0.12/src: xyz
Only in /root/fuzz/zzuf-0.12/src: zzuf
diff -crB /root/project/zzuf-0.12/src/zzuf.c /root/fuzz/zzuf-0.12/src/zzuf.c
*** /root/project/zzuf-0.12/src/zzuf.c	2008-06-13 14:33:08.000000000 +0530
--- /root/fuzz/zzuf-0.12/src/zzuf.c	2009-08-15 06:12:44.000000000 +0530
***************
*** 11,17 ****
   *  To Public License, Version 2, as published by Sam Hocevar. See
   *  http://sam.zoy.org/wtfpl/COPYING for more details.
   */
! 
  /*
   *  main.c: main program
   */
--- 11,17 ----
   *  To Public License, Version 2, as published by Sam Hocevar. See
   *  http://sam.zoy.org/wtfpl/COPYING for more details.
   */
! // compile: cc filename.c -lbfd -liberty
  /*
   *  main.c: main program
   */
***************
*** 30,35 ****
--- 30,48 ----
  #endif
  #include <stdio.h>
  #include <stdlib.h>
+ #include <sys/ptrace.h>
+ #include <bfd.h>
+ #include <stdlib.h>
+ #include <assert.h>
+ #include <string.h>
+ #include <fcntl.h>
+ #include <errno.h>
+ #include <signal.h>
+ #include <linux/user.h>
+ #include <udis86.h>
+ #include <stddef.h>
+ 
+ 
  #if defined HAVE_UNISTD_H
  #   include <unistd.h>
  #endif
***************
*** 45,54 ****
  #if defined HAVE_IO_H
  #   include <io.h>
  #endif
! #include <string.h>
! #include <fcntl.h>
! #include <errno.h>
! #include <signal.h>
  #if defined HAVE_SYS_WAIT_H
  #   include <sys/wait.h>
  #endif
--- 58,64 ----
  #if defined HAVE_IO_H
  #   include <io.h>
  #endif
! 
  #if defined HAVE_SYS_WAIT_H
  #   include <sys/wait.h>
  #endif
***************
*** 63,68 ****
--- 73,80 ----
  #include "fuzz.h"
  #include "md5.h"
  #include "timer.h"
+ #include "crash_handle.h"
+ 
  
  #if defined HAVE_GETOPT_LONG
  #   define mygetopt getopt_long
***************
*** 97,103 ****
  
  static void loop_stdin(struct opts *);
  static int run_process(struct opts *, int[][2]);
! 
  static void spawn_children(struct opts *);
  static void clean_children(struct opts *);
  static void read_children(struct opts *);
--- 109,132 ----
  
  static void loop_stdin(struct opts *);
  static int run_process(struct opts *, int[][2]);
! int if_crash(int ,int );
! void update_log(int , int );
! void display_output();
! void new_process(struct opts * ,int,int);
! long getAddress(struct opts * ,char *);
! int input_hook_x(ud_t* );
! void calcuate_address(struct opts *);
! void display_fun();
! void info();
! long cal_end_add(long );
! int check_eip_range(long );
! void init(int);
! void display_error_table();
! int check_same_eip();
! char *getFunName();
! int getIpRange(long);
! int forBreakPoint(char *,long );
! int check_valid_eip(long );
  static void spawn_children(struct opts *);
  static void clean_children(struct opts *);
  static void read_children(struct opts *);
***************
*** 119,124 ****
--- 148,174 ----
  #endif
  static void version(void);
  static void usage(void);
+ struct func_add
+ {
+ 	char name[50];
+ 	long start_add;
+ 	long end_add;
+ 	
+ }fun[100];
+ struct error_table
+ {
+ 	long eip;
+ 	char name[50];
+ }et[100];
+ static int et_count;
+ static int fun_count;
+ static long prev_eip;
+ char name_break[10];
+ int flag=0;
+ static int hook_count=0;
+ static long eip;
+ static int global_status;
+ int hook_pid;
  
  #if defined HAVE_WINDOWS_H
  static inline void addcpy(void *buf, void *x)
***************
*** 137,142 ****
--- 187,194 ----
  
  #define ZZUF_FD_ISSET(fd, p_fdset) \
      ((fd >= 0) && (FD_ISSET(fd, p_fdset)))
+     
+     
  
  int main(int argc, char *argv[])
  {
***************
*** 148,155 ****
  #endif
      int network = 0;
      int i;
! 
      _zz_opts_init(opts);
  
      for(;;)
      {
--- 200,208 ----
  #endif
      int network = 0;
      int i;
!     
      _zz_opts_init(opts);
+     //zz_crash_handle_init(&ch);
  
      for(;;)
      {
***************
*** 436,442 ****
      opts->newargv = malloc((argc - myoptind + 1) * sizeof(char *));
      memcpy(opts->newargv, argv + myoptind, (argc - myoptind) * sizeof(char *));
      opts->newargv[argc - myoptind] = (char *)NULL;
! 
      /* Main loop */
      while(opts->nchild || opts->seed < opts->endseed)
      {
--- 489,499 ----
      opts->newargv = malloc((argc - myoptind + 1) * sizeof(char *));
      memcpy(opts->newargv, argv + myoptind, (argc - myoptind) * sizeof(char *));
      opts->newargv[argc - myoptind] = (char *)NULL;
!     
!     FILE *fp;
!          fp=fopen("log","wb+");
!      fclose(fp);
!    
      /* Main loop */
      while(opts->nchild || opts->seed < opts->endseed)
      {
***************
*** 450,465 ****
          read_children(opts);
  
          if(opts->maxcrashes && opts->crashes >= opts->maxcrashes
!             && opts->nchild == 0)
              break;
      }
! 
      /* Clean up */
      _zz_opts_fini(opts);
  
      return opts->crashes ? EXIT_FAILURE : EXIT_SUCCESS;
  }
! 
  static void loop_stdin(struct opts *opts)
  {
      uint8_t md5sum[16];
--- 507,545 ----
          read_children(opts);
  
          if(opts->maxcrashes && opts->crashes >= opts->maxcrashes
!             && opts->nchild == 0&&flag==0)
              break;
+        
      }
!      
!       
!     display_output();
!     printf("\nError Table");
!         display_error_table();
      /* Clean up */
      _zz_opts_fini(opts);
+     remove("log");
+    
  
      return opts->crashes ? EXIT_FAILURE : EXIT_SUCCESS;
  }
! void display_output()
! {
! 	FILE *fp;
! 	printf("\nOutput:-");
!          fp=fopen("log","r");
!          
!          if(fp==NULL)
!          {
!          	perror("\nfopen :");
!          }
!          
!          rewind(fp);
! 	 struct crash_handle temp1;
! 	 while(fread(&temp1,sizeof(temp1),1,fp)==1)
! 	 printf("\nch.pid=%d read count=%d  crash=%d seed=%d sec_count=%d rerun=%d\n",temp1.pid,temp1.read_count,temp1.crash,temp1.seed,temp1.sec_count,temp1.rerun);
!          fclose(fp);
! }
  static void loop_stdin(struct opts *opts)
  {
      uint8_t md5sum[16];
***************
*** 625,632 ****
      pid = run_process(opts, pipes);
      if(pid < 0)
          return;
! 
!     /* We’re the parent, acknowledge spawn */
      opts->child[i].date = now;
      opts->child[i].pid = pid;
      for(j = 0; j < 3; j++)
--- 705,713 ----
      pid = run_process(opts, pipes);
      if(pid < 0)
          return;
!      
!      /* We’re the parent, acknowledge spawn */
!     //init(pid);
      opts->child[i].date = now;
      opts->child[i].pid = pid;
      for(j = 0; j < 3; j++)
***************
*** 710,716 ****
          }
      }
  #endif
! 
      /* Collect dead children */
      for(i = 0; i < opts->maxchild; i++)
      {
--- 791,797 ----
          }
      }
  #endif
!      
      /* Collect dead children */
      for(i = 0; i < opts->maxchild; i++)
      {
***************
*** 729,747 ****
          pid = waitpid(opts->child[i].pid, &status, WNOHANG);
          if(pid <= 0)
              continue;
! 
          if(opts->checkexit && WIFEXITED(status) && WEXITSTATUS(status))
          {
              finfo(stderr, opts, opts->child[i].seed);
              fprintf(stderr, "exit %i\n", WEXITSTATUS(status));
              opts->crashes++;
          }
          else if(WIFSIGNALED(status)
                   && !(WTERMSIG(status) == SIGTERM
                         && opts->child[i].status == STATUS_SIGTERM))
          {
              char const *message = "";
! 
              if(WTERMSIG(status) == SIGKILL && opts->maxmem >= 0)
                  message = " (memory exceeded?)";
  #   if defined SIGXCPU
--- 810,838 ----
          pid = waitpid(opts->child[i].pid, &status, WNOHANG);
          if(pid <= 0)
              continue;
!       
!          
          if(opts->checkexit && WIFEXITED(status) && WEXITSTATUS(status))
          {
              finfo(stderr, opts, opts->child[i].seed);
              fprintf(stderr, "exit %i\n", WEXITSTATUS(status));
              opts->crashes++;
+            
+            
          }
          else if(WIFSIGNALED(status)
                   && !(WTERMSIG(status) == SIGTERM
                         && opts->child[i].status == STATUS_SIGTERM))
          {
              char const *message = "";
!              if(getenv("ZZUF_DEBUG"))
!              {
!              printf("\nSTATUS=%d------------------%d",status,getenv("ZZUF_DEBUG"));
!              if(if_crash(opts->child[i].seed,pid))
!                     new_process(opts,pid,opts->child[i].seed);
!               else
!               printf("\nNo children");
!               }
              if(WTERMSIG(status) == SIGKILL && opts->maxmem >= 0)
                  message = " (memory exceeded?)";
  #   if defined SIGXCPU
***************
*** 755,760 ****
--- 846,852 ----
              fprintf(stderr, "signal %i%s%s\n",
                      WTERMSIG(status), sig2str(WTERMSIG(status)), message);
              opts->crashes++;
+             flag=1;
          }
  #endif
  
***************
*** 898,903 ****
--- 990,996 ----
      static int const files[] = { DEBUG_FILENO, STDERR_FILENO, STDOUT_FILENO };
      char *libpath, *tmp;
      int pid, j, len = strlen(opts->oldargv[0]);
+     
  #   if defined __APPLE__
  #       define FILENAME "libzzuf.dylib"
  #       define EXTRAINFO ""
***************
*** 960,966 ****
          setrlimit(ZZUF_RLIMIT_CPU, &rlim);
      }
  #endif
! 
      /* Set environment variables */
      sprintf(buf, "%i", opts->seed);
      setenv("ZZUF_SEED", buf, 1);
--- 1053,1059 ----
          setrlimit(ZZUF_RLIMIT_CPU, &rlim);
      }
  #endif
!     init(getpid());
      /* Set environment variables */
      sprintf(buf, "%i", opts->seed);
      setenv("ZZUF_SEED", buf, 1);
***************
*** 1225,1228 ****
--- 1318,2228 ----
      printf("\n");
      printf("Written by Sam Hocevar. Report bugs to <sam@zoy.org>.\n");
  }
+ int if_crash(int s,int pid1)
+ {
+    struct crash_handle c,c1[100];
+    FILE *fp,*ft;
+     
+ 
+     
+    fp=fopen("log","rb+");
+    if(fp==NULL)
+   {
+    	perror("\nfopen :");
+    }
+    rewind(fp);
+    int i=0;
+    while(fread(&c,sizeof(c),1,fp)==1)
+    {
+    	c1[i]=c;
+    	i++;
+    }
+    
+    int j=0, ff=0;
+    for(j=0;j<i;j++)
+    {
+          if(c1[j].pid==pid1,c1[j].seed==s)
+    	{
+    		c1[j].crash++;;
+    		ff=1;
+    		break;
+    	}
+    }
+    
+    ft=fopen("temp","wb");
+    if(ft==NULL)
+   {
+    	perror("\nfopen :");
+    }
+ 
+    for(j=0;j<i;j++)
+       	fwrite(&c1[j],sizeof(c1[j]),1,ft);
+        
+     
+    fclose(fp);
+    fclose(ft);
+    remove("log");
+    rename("temp","log");
+   // display_output();
+    if(ff==1)
+    	return 1;
+    return 0;
+ }
+ void new_process(struct opts *opts ,int pid1,int s)
+ {
+ 	 pid_t pid;
+ 	 pid=fork();
+ 	 if(pid<0)
+ 	 {
+ 	 	perror("\nfork:");
+ 	 }	 
+ 	 else if(pid==0)
+ 	 {
+ 	 	
+               	
+    		char buf[64];
+ 		int ret;
+ 		update_log(s,pid1);
+ 		if(ptrace(PTRACE_TRACEME,pid,0,0)==-1)
+ 		 perror("ptrace_traceme:");
+ 		char *libpath, *tmp;
+ 		int pid, j, len = strlen(opts->oldargv[0]);
+ 		#define FILENAME "libzzuf.so"
+ 		#define EXTRAINFO ""
+ 		#define PRELOAD "LD_PRELOAD"
+ 		    /* Set environment variables */
+ 		    sprintf(buf, "%i", opts->seed);
+ 		    setenv("ZZUF_SEED", buf, 1);
+ 		    sprintf(buf, "%g", opts->minratio);
+ 		    setenv("ZZUF_MINRATIO", buf, 1);
+ 		    sprintf(buf, "%g", opts->maxratio);
+ 		    setenv("ZZUF_MAXRATIO", buf, 1);
+ 
+ 	
+ 		    /* Meaningless but makes sure there is space for everything */
+ 		    libpath = malloc(len + strlen(LIBDIR "/.libs/" FILENAME EXTRAINFO) + 1);
+ 		    strcpy(libpath, opts->oldargv[0]);
+ 
+ 		    /* Replace "/path/binaryname" with "/path/.libs/libzzuf.$(EXT)"
+ 		     *     and "binaryname" with ".libs/libzzuf.$(EXT)"
+ 		     * Write the result in libpath. */
+ 		    tmp = strrchr(libpath, '/');
+ 		    strcpy(tmp ? tmp + 1 : libpath, ".libs/" FILENAME);
+ 
+ 		    ret = access(libpath, R_OK);
+ 		    if(ret < 0)
+ 		        strcpy(libpath, LIBDIR "/" FILENAME);
+ 
+ 		    /* OSF1 only */
+ 		    strcat(libpath, EXTRAINFO);
+ 
+ 		    /* Do not clobber previous LD_PRELOAD values */
+ 		    tmp = getenv(PRELOAD);
+ 		    if(tmp && *tmp)
+ 		    {
+ 		        char *bigbuf = malloc(strlen(tmp) + strlen(libpath) + 2);
+ 		        sprintf(bigbuf, "%s:%s", tmp, libpath);
+ 		        free(libpath);
+ 		        libpath = bigbuf;
+ 		    }
+ 
+ 		    setenv(PRELOAD, libpath, 1);
+ 		    free(libpath);
+ 
+ 		    if(execvp(opts->newargv[0], opts->newargv))
+ 		    {
+ 		        perror(opts->newargv[0]);
+ 		        exit(EXIT_FAILURE);
+ 		    }
+ 
+ 		    exit(EXIT_SUCCESS);
+  	 
+ 	 	
+ 	 }
+ 	 
+ 	 //if(ptrace(PTRACE_ATTACH,pid,0,0)==-1)
+ 		// perror("ptrace_attach:");
+ 	 //prev_eip = ptrace(PTRACE_PEEKUSER, pid,offsetof(struct user, regs.eip), 0);
+ 	 ptrace(PTRACE_CONT, pid, 0, 0);
+ 	 int status;
+ 	 char var[10];
+ 	 ud_t ud_obj;
+ 	
+ 	 struct user_regs_struct uregs;
+ 	 //parent
+ 	  pid = waitpid(pid, &status, WUNTRACED);
+     
+          //printf("pid=%d",pid);
+ 	
+ 	while(1)
+       {
+ 
+ 	
+         if(WIFEXITED(status) && WEXITSTATUS(status))
+         {
+ 		printf("\nChild Executed Succesfully");
+            
+         }
+         else if(status==2943/*WIFSIGNALED(status)&& (WTERMSIG(status) == SIGTERM)*/)
+         {
+         	
+              
+         	if(if_crash(s,pid)&&global_status!=0)
+         		new_process(opts,hook_pid,s);
+         }
+         else if(WIFSTOPPED(status))
+         {
+         	int data,op,wait_val;
+         	//printf("\nBefore Switch\n");
+         	hook_pid=pid;
+         	calcuate_address(opts);
+         	display_fun();
+         	long p;
+         	 int k;
+         	int no,i,ch1;
+         	int temp_flag=0;
+         	long d,n_eip;
+ 		int t_flag=0;
+ 		FILE *fp;
+         	do
+         	{
+         	
+         	printf("\n1.Single Step\n2.View Variable\n3.Continue stop child\n4.Modify Variable\n5.View Registers\n6.Modify Registers\n7.Process Id\n8.View Instuctions\n9.View EIP\n10.View Error Table\n11.Set BreakPoint\n12.Help\n13. Restart Process\n14.Exit");
+         	display_output();
+ 		t_flag=0;
+         	printf("\nEnter the option =");
+         	scanf("%d",&op);
+         	switch(op)
+         	{
+         		case 1:
+         			
+         			//fp=fopen("single","w+");
+ 				if (ptrace(PTRACE_SINGLESTEP,pid,0,0) != 0)
+               				 {
+ 						perror("ptrace");
+               				 	break;
+               				 }
+ 				wait(&wait_val);
+ 				ptrace(PTRACE_GETREGS, pid, 0, &uregs);
+ 				while(getIpRange(uregs.eip)==0)   
+ 				{     			
+ 					if (ptrace(PTRACE_SINGLESTEP,pid,0,0) != 0)
+               				 {
+               					perror("ptrace");
+               				 	break;
+               				 }
+ 					wait(&wait_val);
+ 
+ 				ptrace(PTRACE_GETREGS, pid, 0, &uregs);
+ 				//ptrace(PTRACE_GETREGS, pid, 0, &uregs);
+                 		 //printf("\nIp=%0.8lx   \n",uregs.eip);
+ 				 ///sleep(1);				
+ 				//printf("\nHi");
+ 				}
+ 				
+ 				
+ 					if (ptrace(PTRACE_SINGLESTEP,pid,0,0) != 0)
+               				 {
+ 						perror("ptrace");
+               				 	break;
+               				 }
+ 				ptrace(PTRACE_GETREGS, pid, 0, &uregs);
+                 		 printf("\nIp=%0.8lx   \n",uregs.eip);				
+ 				
+                 		 //sleep(1);
+                 		 //wait(&wait_val);
+                 		 //ptrace(PTRACE_GETREGS, pid, 0, &uregs);
+                 		 //printf("\nIp=%0.8lx   \n",uregs.eip);
+                 		
+         			/*while(wait_val==1407)
+         			{
+         				 hook_count=0;
+         				 if (ptrace(PTRACE_SINGLESTEP,pid,0,0) != 0)
+               				 {
+               				 	perror("ptrace");
+               				 	break;
+               				 }
+                 			 //sleep(1);
+                 			 wait(&wait_val);
+                 			 //ptrace(PTRACE_GETREGS, pid, 0, &uregs);
+                 			 eip = ptrace(PTRACE_PEEKUSER, pid,offsetof(struct user, regs.eip), 0);
+                 		         //printf("\n%x" ,eip);
+                 		         
+                 		         //eip=uregs.eip;
+                 		         ud_init(&ud_obj);
+ 					 ud_set_mode(&ud_obj, 32);
+ 				         ud_set_syntax(&ud_obj, UD_SYN_INTEL);
+                 		         ud_set_input_hook(&ud_obj, input_hook_x);
+ 				
+ 				
+         			  k=ud_disassemble(&ud_obj);
+ 		        	while (k) 
+ 		        	{
+ 		        		char* hex1;
+ 					//printf("\nk=%d ",k);
+ 		        		//sleep(1);
+ 		            		hook_count++;
+ 		            		hex1 = ud_insn_hex(&ud_obj);
+ 		            	        //c = hex1[16];
+ 					hex1[16] = 0;
+ 		            		fprintf(fp,"\t%x %-16s %-24s\n",eip ,hex1, ud_insn_asm(&ud_obj));
+ 		            		k=ud_disassemble(&ud_obj);
+ 		     		 }
+                 		 //printf("\nIp=%0.8lx   %x\n",uregs.eip,ptrace(PTRACE_PEEKDATA, pid, uregs.eip, 0));
+ 					 
+                 			 
+                 	         }
+                 	         printf("\nSingle Stepping Over");*/
+ 
+                 	         //fclose(fp);
+         			break;
+         		case 2:
+         			printf("\nEnter the name of variable which u want to see =");
+         			scanf("%s",var);
+        		       		data = ptrace(PTRACE_PEEKDATA, pid, getAddress(opts,var), 0);
+          	         	printf("\nValue of %s= %d",var,data);
+ 				        			
+ 				break;
+         		case 3:
+         			wait_val=1407;
+ 	        		while(wait_val==1407)
+ 	        		{
+ 	        		
+ 	        				 if (ptrace(PTRACE_SINGLESTEP,pid,0,0) != 0)
+ 	              				 {
+ 	              				 	perror("ptrace");
+ 	              				 	break;
+ 	              				 }
+ 	                			
+ 	                			 if(wait(&wait_val)==-1)perror("wait");
+ 	                			 
+ 	                			 p = ptrace(PTRACE_PEEKUSER, pid,offsetof(struct user, regs.eip), 0);
+ 	                		         if(check_eip_range(p))
+ 	                		         {
+ 	                		         	prev_eip=p;
+ 	                		         	
+ 	                		         }
+ 	                		         //else
+ 	                		         	//break;
+ 	                	 }
+ 				status=wait_val;
+ 				if(wait_val!=1407)
+ 				global_status=wait_val;
+ 				if(global_status==2943&&temp_flag==0)
+ 				{
+ 					strcpy(et[et_count].name,getFunName());
+ 					et[et_count].eip=prev_eip;
+ 					et_count++;
+ 					temp_flag=1;
+ 				}
+ 				printf("\nstatus =%d",status);
+ 	        		//printf("prev_eip=%x",prev_eip);
+ 	        		//}
+         			//ptrace(PTRACE_CONT, pid, 0, 0);
+         			//if(kill(pid,SIGCONT)==-1)perror("\nkill");
+ 				t_flag++;        			
+ 				break;
+         		case 4:
+         			printf("\nEnter the name of variable which u want to modify =");
+         			scanf("%s",var);
+        		       		data = ptrace(PTRACE_PEEKDATA, pid, getAddress(opts,var), 0);
+          	         	printf("\nPrevious Value of %s= %d",var,data);
+          	         	printf("\nEnter the New Value =");
+          	         	scanf("%d",&data);
+          	         	ptrace(PTRACE_POKEDATA, pid, getAddress(opts,var), data);
+         			break;
+         		case 5:
+         			 ptrace(PTRACE_GETREGS, pid, 0, &uregs);
+         			 
+         			printf("\nEAX=%x",uregs.eax);
+         			printf("\nEBX=%x",uregs.ebx);
+         			printf("\nECX=%x",uregs.ecx);
+         			printf("\nEDX=%x",uregs.edx);
+         			printf("\nESI=%x",uregs.esi);
+         			printf("\nEDI=%x",uregs.edi);
+         			printf("\nEBP=%x",uregs.ebp);
+         			printf("\nESP=%x",uregs.esp);
+         			printf("\nEIP=%x",uregs.eip);
+         			printf("\nds=%x",uregs.ds);
+         			printf("\n__ds=%x",uregs.__ds);
+         			printf("\nes=%x",uregs.es);
+         			printf("\n__es=%x",uregs.__es);
+         			printf("\ncs=%x",uregs.cs);
+         			printf("\n__cs=%x",uregs.__cs);
+         			printf("\nss=%x",uregs.ss);
+         			printf("\n__ss=%x",uregs.__ss);
+         			printf("\nfs=%x",uregs.fs);
+         			printf("\n__fs=%x",uregs.__fs);
+         			printf("\ngs=%x",uregs.gs);
+         			printf("\n__gs=%x",uregs.__gs);
+         			printf("\norig_eax=%x",uregs.orig_eax);
+         		
+         			
+         			
+         			break;
+         		case 6:
+         			
+         			printf("\n1.EAX\n2.EBX\n3.ECX\n4.EDX\n5.ESI\n6.EDI\n7.EBP\n8.ESP\n9.EIP");
+         			printf("\nEnter the choice for register which u want to modify=");
+         			scanf("%d",&ch1);
+         			printf("\nEnter the new data =");
+         			scanf("%d",&d);
+         			switch(ch1)
+         			{
+         				case 1:
+         					uregs.eax=d;
+         					ptrace(PTRACE_SETREGS, pid, 0, &uregs);
+         					break;
+         				case 2:
+         					uregs.ebx=d;
+         					ptrace(PTRACE_SETREGS, pid, 0, &uregs);
+         					break;
+         				case 3:
+         					uregs.ecx=d;
+         					ptrace(PTRACE_SETREGS, pid, 0, &uregs);
+         					break;
+         				case 4:
+         					uregs.edx=d;
+         					ptrace(PTRACE_SETREGS, pid, 0, &uregs);
+         					break;
+  					case 5:
+         					uregs.esi=d;
+         					ptrace(PTRACE_SETREGS, pid, 0, &uregs);
+         					break;
+         				case 6:
+         					uregs.edi=d;
+         					ptrace(PTRACE_SETREGS, pid, 0, &uregs);
+         					break;
+         				case 7:
+         					uregs.ebp=d;
+ 						ptrace(PTRACE_SETREGS, pid, 0, &uregs);        			
+         					break;
+         				case 8:
+         					uregs.esp=d;
+         					ptrace(PTRACE_SETREGS, pid, 0, &uregs);
+         					break;       				
+         				case 9:
+         					uregs.eip=d;
+         					ptrace(PTRACE_SETREGS, pid, 0, &uregs);
+         					break;
+         				default :
+         					printf("\nPlease Select Correct Register");
+         			}
+         			
+         			
+         			break;
+         		case 7:
+         			printf("\nPid = %d",pid);
+         			ptrace(PTRACE_GETREGS, pid, 0, &uregs);
+ 				printf("\nProgram stopped at  %x",uregs.eip);
+         			break;
+         		case 8:
+         			
+         			printf("\nEnter the number of instructions You want to view =");
+         			scanf("%d",&no);
+         			eip = ptrace(PTRACE_PEEKUSER, pid,offsetof(struct user, regs.eip), 0);
+         			for(i=0;i<no;i++)		
+         			{
+         				hook_count=0;
+         				/* if (ptrace(PTRACE_SINGLESTEP,pid,0,0) != 0)
+               				 {
+               				 	perror("ptrace");
+               				 	break;
+               				 }*/
+                 			 //sleep(1);
+                 			 //wait(&wait_val);
+                 			 //ptrace(PTRACE_GETREGS, pid, 0, &uregs);
+                 			 //eip = ptrace(PTRACE_PEEKUSER, pid,offsetof(struct user, regs.eip), 0);
+                 		         //printf("\n%x" ,eip);
+                 		         
+                 		         //eip=uregs.eip;
+                 		         ud_init(&ud_obj);
+ 					 ud_set_mode(&ud_obj, 32);
+ 				         ud_set_syntax(&ud_obj, UD_SYN_INTEL);
+                 		         ud_set_input_hook(&ud_obj, input_hook_x);
+ 				
+ 				
+         			  k=ud_disassemble(&ud_obj);
+ 		        	while (k) 
+ 		        	{
+ 		        		char* hex1;
+ 					//printf("\nk=%d ",k);
+ 		        		//sleep(1);
+ 		            		hook_count++;
+ 		            		hex1 = ud_insn_hex(&ud_obj);
+ 		            	        //c = hex1[16];
+ 					hex1[16] = 0;
+ 		            		printf("\t%x %-16s %-24s\n",eip ,hex1, ud_insn_asm(&ud_obj));
+ 		            		k=ud_disassemble(&ud_obj);
+ 		     		 }
+                 		 //printf("\nIp=%0.8lx   %x\n",uregs.eip,ptrace(PTRACE_PEEKDATA, pid, uregs.eip, 0));
+ 				eip++;	 	 
+         			}
+         			break;
+         		case 9:
+         			//info();
+         			ptrace(PTRACE_GETREGS, pid, 0, &uregs);
+ 				printf("\nProgram stopped at  %x",uregs.eip);
+         			break;
+         			
+         		case 10:
+         			//help();
+         			display_error_table();
+         			break;
+ 			case 11 :
+ 				/*printf("\nEnter the name of function where you want to set the breakpoint = ");
+ 				scanf("%s",name_break);
+ 				if (ptrace(PTRACE_SINGLESTEP,pid,0,0) != 0)
+               				 {
+ 						perror("ptrace");
+               				 	break;
+               				 }
+ 				wait(&wait_val);
+ 				ptrace(PTRACE_GETREGS, pid, 0, &uregs);
+ 				while(forBreakPoint(name_break,uregs.eip)==0)   
+ 				{     			
+ 					if (ptrace(PTRACE_SINGLESTEP,pid,0,0) != 0)
+               				 {
+               					perror("ptrace");
+               				 	break;
+               				 }
+ 					wait(&wait_val);
+ 
+ 				ptrace(PTRACE_GETREGS, pid, 0, &uregs);
+ 				
+ 				}*/
+ 			
+ 				printf("\nEnter the location of eip=");
+ 				scanf("%ld",&n_eip);
+ 				ptrace(PTRACE_GETREGS, pid, 0, &uregs);
+ 				if(!check_valid_eip(n_eip))
+ 				{
+ 					printf("\nPlease enter the valid eip !!!!....Get the eip from objdump/nm/readelf");
+ 					break;
+ 				}
+ 				
+ 				if(uregs.eip>n_eip)
+ 				{
+ 					printf("\nThis point is executed...!!!!...Please enter some other eip");
+ 				        break;
+ 				 }       
+ 				 while(uregs.eip!=n_eip)   
+ 				{     			
+ 					if (ptrace(PTRACE_SINGLESTEP,pid,0,0) != 0)
+               				 {
+               					perror("ptrace");
+               				 	break;
+               				 }
+ 					wait(&wait_val);
+ 
+ 				ptrace(PTRACE_GETREGS, pid, 0, &uregs);
+ 				}
+ 				printf("\nProgram stopped at  %x",uregs.eip);
+ 				break;					
+ 			case 12	:
+ 				help();
+ 				break;
+ 			case 14:
+ 				display_output();
+     				printf("\nError Table");
+         			display_error_table();
+ 				exit(1);
+         		default :
+         			if(op!=13)
+         				printf("\nInvalid Option");
+         			
+         	}
+         	if(global_status==0&&t_flag!=0)
+         		printf("\nProgram Execution Is Over");
+         	else if(global_status==2943)
+         	{
+     
+         		printf("\nProgram Has Been Crashed !!!!! Please Give Option 13 so as to restart the Process");
+     
+         	}
+         	}while(op!=13);
+         	
+         	
+          	
+        		//wait(&status);	 
+         }
+         
+       if(global_status==0)
+       	break;
+       if(check_same_eip())
+       {
+       		printf("\nFuzzing is not responsible for Fault");
+       		break;
+       }
+     }
+ }
+ int input_hook_x(ud_t* u)
+ {
+   unsigned int c=0,k;
+ 
+   	if(hook_count==1)
+   		return UD_EOI;
+    c = ptrace(PTRACE_PEEKTEXT, hook_pid, eip, 0);
+ 
+   union u
+         {
+         	unsigned long l;
+         	char ch[4];
+         }n;
+  	n.l=c;
+ 	//printf("\nOpcode =%x  (%x  %x  %x %x)\n",n.ch[0],n.ch[2],n.ch[3],n.ch[4]);
+ 	
+ 
+         //k=n.ch[4];
+  	//return (int) (k & 0xFF);
+  	return   n.ch[0];
+   	//return UD_EOI;
+ }
+ void update_log(int s, int pid1)
+ {
+    struct crash_handle c,c1[100];
+    FILE *fp,*ft;
+       
+    fp=fopen("log","rb+");
+    if(fp==NULL)
+   {
+    	perror("\nfopen :");
+    }
+    rewind(fp);
+    int i=0;
+    while(fread(&c,sizeof(c),1,fp)==1)
+    {
+    	c1[i]=c;
+    	i++;
+    }
+    
+    int j=0;
+    for(j=0;j<i;j++)
+    {
+          if(c1[j].pid==pid1)
+    	{
+    		c1[j].pid=getpid();
+    		
+ 		if(c1[j].rerun!=0)
+                  c1[j].read_count=c1[j].sec_count;
+ 		c1[j].rerun++;                
+ 		c1[j].sec_count=0;
+    		break;
+    	}
+    }
+    
+    ft=fopen("temp","wb");
+    if(ft==NULL)
+   {
+    	perror("\nfopen :");
+    }
+ 
+    for(j=0;j<i;j++)
+       	fwrite(&c1[j],sizeof(c1[j]),1,ft);
+        
+     
+    fclose(fp);
+    fclose(ft);
+    remove("log");
+    rename("temp","log");
  
+ }
+ long getAddress(struct opts *opts ,char *s)
+ {
+    long storage_needed, num_symbols, i;
+     asymbol **symbol_table;
+     bfd *abfd;
+     
+     
+     bfd_init(); // magic
+     
+     abfd = bfd_openr(opts->newargv[0], NULL);
+     assert(abfd != NULL);
+     bfd_check_format(abfd, bfd_object);
+     storage_needed = bfd_get_symtab_upper_bound(abfd);
+     assert(storage_needed >= 0);
+     //printf("storage = %d\n", storage_needed);
+ 
+     symbol_table = (asymbol**)malloc(storage_needed);
+     assert(symbol_table != 0);
+     num_symbols = bfd_canonicalize_symtab(abfd, symbol_table);
+     assert(num_symbols >= 0);
+     //printf("num syms = %d\n", num_symbols);
+     //for(i = 0; i < num_symbols; i++)
+       //  printf("%s: %x\n", bfd_asymbol_name(symbol_table[i]), 
+         //    bfd_asymbol_value(symbol_table[i]));
+         
+     for(i=0;i<num_symbols;i++)
+     {
+     	if(strcmp(bfd_asymbol_name(symbol_table[i]),s)==0)
+     		return (bfd_asymbol_value(symbol_table[i]));
+     } 
+     return 0;
+     //export_symbol(getAddress);
+ }
+ void calcuate_address(struct opts *opts )
+ {
+     long storage_needed, num_symbols, i;
+     asymbol **symbol_table;
+     bfd *abfd;
+     static int cc=0;
+     if(cc==1)
+     	return;
+     
+     bfd_init(); // magic
+     
+     abfd = bfd_openr(opts->newargv[0], NULL);
+     assert(abfd != NULL);
+     bfd_check_format(abfd, bfd_object);
+     storage_needed = bfd_get_symtab_upper_bound(abfd);
+     assert(storage_needed >= 0);
+     //printf("storage = %d\n", storage_needed);
+ 
+     symbol_table = (asymbol**)malloc(storage_needed);
+     assert(symbol_table != 0);
+     num_symbols = bfd_canonicalize_symtab(abfd, symbol_table);
+     assert(num_symbols >= 0);
+     //printf("num syms = %d\n", num_symbols);
+     //for(i = 0; i < num_symbols; i++)
+       //  printf("%s: %x\n", bfd_asymbol_name(symbol_table[i]), 
+         //    bfd_asymbol_value(symbol_table[i]));
+         
+     
+     for(i=0;i<num_symbols;i++)
+     {
+     	if(bfd_decode_symclass(symbol_table[i])==84)    //84 represents function , 66 global varibale
+     	{
+     		strcpy(fun[fun_count].name,bfd_asymbol_name(symbol_table[i]));
+     		fun[fun_count].start_add=bfd_asymbol_value(symbol_table[i]);
+     		fun[fun_count].end_add=cal_end_add(fun[fun_count].start_add);
+     		fun_count++;
+     	}	
+     }
+     cc++;
+ }
+ void display_fun()
+ {
+ 	int i;
+ 	
+ 	printf("\nName Of Function\t Start Eip\t End Eip");
+ 	for(i=0;i<fun_count;i++)
+ 	{
+ 		printf("\n%s      %x       %x",fun[i].name,fun[i].start_add,fun[i].end_add);
+ 	}
+ }
+ long cal_end_add(long a)
+ {
+ 	
+ 	long c;
+ 	union u
+ 	        {
+ 	        	unsigned long l;
+ 	        	char ch[4];
+ 	        }n;
+ 	while(1)
+ 	{
+ 		c = ptrace(PTRACE_PEEKTEXT, hook_pid, a, 0);
+ 	  	
+ 	  	if((n.ch[0]&0xff)==0xc3)
+ 			return a-1;
+ 	  	//sleep(1);
+ 	  	if(c==-1)
+ 	  	{
+ 	  		perror("PTRACE_PEEKTEXT");
+ 	  		return 0;
+ 	  	}
+ 	 	n.l=c;
+ 	 	//printf("\n%x  Opcode =%x  (%x  %x  %x %x)\n",a,c,n.ch[0]&0xff,n.ch[1]&0xff,n.ch[2]&0xff,n.ch[3]&0xff);
+ 		
+ 		a++;
+ 	}
+ 	return 0;	
+ }
+ void info()
+ {
+ 	int i,f=0;
+ 	
+ 	
+ 	for(i=0;i<fun_count&&f!=1;i++)
+ 	{
+ 		if(fun[i].start_add<=prev_eip&&fun[i].end_add>=prev_eip&&global_status==2943)
+ 		{
+ 			printf("\nProgram Crashed in Function = %s At the ip = %x !!!!!!",fun[i].name,prev_eip);
+ 			f=1;
+ 			break;
+ 		}
+ 	}	
+ 	if(global_status==0)
+ 	{
+ 		printf("\nProgram Execution Over!!!!!!!");
+ 		return;
+ 	}
+ 	if(f==0)
+ 		printf("\nProgram Doesn't  Crash !!!!!!");
+ }
+ int check_eip_range(long ip)
+ {
+ 	int i;
+ 	for(i=0;i<fun_count;i++)
+ 	{
+ 		if(ip>=fun[i].start_add&&ip<=fun[i].end_add)
+ 			return 1;
+ 	}
+ 	return 0;
+ }
+ void init(int p)
+ {
+ 	struct crash_handle c,c1[100];
+    FILE *fp,*ft;
+     
+    //tmp = getenv("ZZUF_SEED");
+    //printf("seed =%d",atol(tmp));
+     
+    //fp=fopen("log","wb+");
+    fp=fopen("log","rb+");
+    if(fp==NULL)
+    {
+    	perror("\nfopen :");
+    }
+    
+    
+      c.read_count=0;
+      c.crash=0;
+      c.pid=p;
+      c.seed=0;
+      c.rerun=0;
+      c.sec_count=0;
+      if(fwrite(&c,sizeof(c),1,fp)==0); 
+      	printf("\nError in Init");
+       
+    fclose(fp);
+    
+ }
+ char * getFunName()
+ {
+ 	int i,f=0;
+ 	
+ 	
+ 	for(i=0;i<fun_count&&f!=1;i++)
+ 	{
+ 		if(fun[i].start_add<=prev_eip&&fun[i].end_add>=prev_eip&&global_status==2943)
+ 		{
+ 			return(fun[i].name);
+ 						
+ 		}
+ 	}	
+ 	return(NULL);
+ }
+ void display_error_table()
+ {
+ 	int i;
+ 	printf("\nFunction Name      Eip");
+ 	for(i=0;i<et_count;i++)
+ 	 	printf("\n%s              %x",et[i].name,et[i].eip);
+ 	printf("\n");
+ }
+ int check_same_eip()
+ {
+ 	int i,j;
+ 	for(i=0;i<et_count;i++)
+ 	{
+ 		for(j=0;j<et_count;j++)
+ 		{
+ 			if(et[i].eip==et[j].eip&&i!=j)
+ 				return 1;
+ 		}
+ 	}
+ 	return 0;
+ 	
+ }
+ void help()
+ {
+ 	printf("\n....................................................");
+ 	printf("\nOption 1-->>Single Stepping");
+ 	printf("\nThis option is used for Single Stepping");
+ 	printf("\n....................................................");
+ 	printf("\nOption 2-->>View Varible");
+ 	printf("\nThis option is used to  see the global variable of Application Program");
+ 	printf("\n....................................................");
+ 	printf("\nOption 3-->>Continue Stop Child");
+ 	printf("\nThis option will invoke the stop child ");
+ 	printf("\n....................................................");
+ 	printf("\nOption 4-->>Modify Variable");
+ 	printf("\nThis option can be used to modify the value of global variable ");
+ 	printf("\n....................................................");
+ 	printf("\nOption 5-->>View Registers");
+ 	printf("\nThis option can be used to view the content of registers ");
+ 	printf("\n....................................................");
+ 	printf("\nOption 6-->>Modify Registers");
+ 	printf("\nThis option can be used to modify the content of registers. ");
+ 	printf("\n....................................................");
+ 	printf("\nOption 7-->>Process Id");
+ 	printf("\nThis option can be used to view the process id of current process. ");
+ 	printf("\n....................................................");
+ 	printf("\nOption 8-->>View Instructions");
+ 	printf("\nThis option can be used to view next Instructions ");
+ 	printf("\n....................................................");
+ 	printf("\nOption 9-->>View EIP");
+ 	printf("\nThis option can be used to view Instruction Pointer. ");
+ 	printf("\n....................................................");
+ 	printf("\nOption 10-->>View Error");
+ 	printf("\nThis option is used to show the error table.");
+ 	printf("\n....................................................");
+ 	printf("\nOption 11-->>Setting Break Point");
+ 	printf("\nThis option is used to  set up the Break Point. It will take instruction pointer as input");
+ 	printf("\n....................................................");
+ 	printf("\nOption 12-->>Help");
+ 	printf("\nShows the help of all the options ");
+ 	printf("\n....................................................");
+ 	printf("\nOption 13-->>Restart Process");
+ 	printf("\nThis option is used to restart the process when it crashes. ");
+ 	printf("\n....................................................");
+ 	printf("\nOption 14-->>Exit");
+ 	printf("\nExit option will terminate the program and show ");
+ 	printf("\n....................................................");
+ 	
+ 	
+ }
+ int getIpRange(long p_eip)
+ {
+ 	int i;
+ 	
+ 	
+ 	for(i=0;i<fun_count;i++)
+ 	{
+ 		if(fun[i].start_add<=p_eip&&fun[i].end_add>=p_eip)
+ 		{
+ 			return 1;
+ 						
+ 		}
+ 	}	
+ 	return 0;
+ }
+ int forBreakPoint(char *ptr,long p_eip)
+ {
+ 	int i;	
+ 	for(i=0;i<fun_count;i++)
+ 	{
+ 		if(fun[i].start_add<=p_eip&&fun[i].end_add>=p_eip)
+ 		{
+ 			if(strcmp(fun[i].name,ptr)==0)			
+ 				return 1;
+ 						
+ 		}
+ 	}	
+ 	return 0;
+ 
+ }
+ int check_valid_eip(long n_eip)
+ {
+ 	int i;
+ 	for(i=0;i<fun_count;i++)
+ 	{
+ 		if(fun[i].start_add<=n_eip&&fun[i].end_add>=n_eip)
+ 		{
+ 			return 1;
+ 						
+ 		}
+ 	}	
+ 	return 0;
+ }
Only in /root/fuzz/zzuf-0.12/src: zzuf.c~
Only in /root/fuzz/zzuf-0.12/src: .zzuf.c.swo
Only in /root/fuzz/zzuf-0.12/src: zzuf-fd.o
Only in /root/fuzz/zzuf-0.12/src: zzuf-fuzz.o
Only in /root/fuzz/zzuf-0.12/src: zzuf-md5.o
Only in /root/fuzz/zzuf-0.12/src: zzuf-opts.o
Only in /root/fuzz/zzuf-0.12/src: zzuf-random.o
Only in /root/fuzz/zzuf-0.12/src: zzuf-ranges.o
Only in /root/fuzz/zzuf-0.12/src: zzuf-timer.o
Only in /root/fuzz/zzuf-0.12/src: zzuf-zzuf.o
Only in /root/fuzz/zzuf-0.12: stamp-h1
Only in /root/fuzz/zzuf-0.12: .swp
Only in /root/fuzz/zzuf-0.12: t1
Only in /root/fuzz/zzuf-0.12: t1.c
Only in /root/fuzz/zzuf-0.12: t1.c~
Only in /root/fuzz/zzuf-0.12/test: abc
Only in /root/fuzz/zzuf-0.12/test: .deps
Only in /root/fuzz/zzuf-0.12/test: .libs
Only in /root/fuzz/zzuf-0.12/test: Makefile
Only in /root/fuzz/zzuf-0.12/test: #Makefile#
diff -crB /root/project/zzuf-0.12/test/Makefile.in /root/fuzz/zzuf-0.12/test/Makefile.in
*** /root/project/zzuf-0.12/test/Makefile.in	2008-06-13 16:39:30.000000000 +0530
--- /root/fuzz/zzuf-0.12/test/Makefile.in	2009-02-26 22:39:06.000000000 +0530
***************
*** 1,8 ****
! # Makefile.in generated by automake 1.10.1 from Makefile.am.
  # @configure_input@
  
  # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
! # 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
  # This Makefile.in is free software; the Free Software Foundation
  # gives unlimited permission to copy and/or distribute it,
  # with or without modifications, as long as this notice is preserved.
--- 1,8 ----
! # Makefile.in generated by automake 1.10 from Makefile.am.
  # @configure_input@
  
  # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
! # 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
  # This Makefile.in is free software; the Free Software Foundation
  # gives unlimited permission to copy and/or distribute it,
  # with or without modifications, as long as this notice is preserved.
***************
*** 49,55 ****
  am_zzero_OBJECTS = zzero.$(OBJEXT)
  zzero_OBJECTS = $(am_zzero_OBJECTS)
  zzero_LDADD = $(LDADD)
! DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
  depcomp = $(SHELL) $(top_srcdir)/.auto/depcomp
  am__depfiles_maybe = depfiles
  COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
--- 49,55 ----
  am_zzero_OBJECTS = zzero.$(OBJEXT)
  zzero_OBJECTS = $(am_zzero_OBJECTS)
  zzero_LDADD = $(LDADD)
! DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@
  depcomp = $(SHELL) $(top_srcdir)/.auto/depcomp
  am__depfiles_maybe = depfiles
  COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
***************
*** 87,93 ****
  DEPDIR = @DEPDIR@
  DLL_LDFLAGS = @DLL_LDFLAGS@
  DL_LIBS = @DL_LIBS@
- DSYMUTIL = @DSYMUTIL@
  ECHO = @ECHO@
  ECHO_C = @ECHO_C@
  ECHO_N = @ECHO_N@
--- 87,92 ----
***************
*** 112,118 ****
  MAKEINFO = @MAKEINFO@
  MATH_LIBS = @MATH_LIBS@
  MKDIR_P = @MKDIR_P@
- NMEDIT = @NMEDIT@
  OBJEXT = @OBJEXT@
  PACKAGE = @PACKAGE@
  PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
--- 111,116 ----
***************
*** 270,277 ****
  	unique=`for i in $$list; do \
  	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  	  done | \
! 	  $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
! 	      END { if (nonempty) { for (i in files) print i; }; }'`; \
  	mkid -fID $$unique
  tags: TAGS
  
--- 268,275 ----
  	unique=`for i in $$list; do \
  	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  	  done | \
! 	  $(AWK) '    { files[$$0] = 1; } \
! 	       END { for (i in files) print i; }'`; \
  	mkid -fID $$unique
  tags: TAGS
  
***************
*** 283,290 ****
  	unique=`for i in $$list; do \
  	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  	  done | \
! 	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
! 	      END { if (nonempty) { for (i in files) print i; }; }'`; \
  	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  	  test -n "$$unique" || unique=$$empty_fix; \
  	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
--- 281,288 ----
  	unique=`for i in $$list; do \
  	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  	  done | \
! 	  $(AWK) '    { files[$$0] = 1; } \
! 	       END { for (i in files) print i; }'`; \
  	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  	  test -n "$$unique" || unique=$$empty_fix; \
  	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
***************
*** 294,305 ****
  CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
  		$(TAGS_FILES) $(LISP)
  	tags=; \
  	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
  	unique=`for i in $$list; do \
  	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  	  done | \
! 	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
! 	      END { if (nonempty) { for (i in files) print i; }; }'`; \
  	test -z "$(CTAGS_ARGS)$$tags$$unique" \
  	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  	     $$tags $$unique
--- 292,304 ----
  CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
  		$(TAGS_FILES) $(LISP)
  	tags=; \
+ 	here=`pwd`; \
  	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
  	unique=`for i in $$list; do \
  	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  	  done | \
! 	  $(AWK) '    { files[$$0] = 1; } \
! 	       END { for (i in files) print i; }'`; \
  	test -z "$(CTAGS_ARGS)$$tags$$unique" \
  	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  	     $$tags $$unique
Only in /root/fuzz/zzuf-0.12/test: new file
Only in /root/fuzz/zzuf-0.12/test: new file~
Only in /root/fuzz/zzuf-0.12/test: zzcat
Only in /root/fuzz/zzuf-0.12/test: zzcat.o
Only in /root/fuzz/zzuf-0.12/test: zzero
Only in /root/fuzz/zzuf-0.12/test: zzero.o
Only in /root/fuzz/zzuf-0.12: test1
Only in /root/fuzz/zzuf-0.12: todo
