Changeset 43


Ignore:
Timestamp:
Jul 15, 2009 2:44:21 PM (11 years ago)
Author:
awalther
Message:

configure corrected

Location:
trunk
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/ADOL-C/examples/Makefile.in

    r40 r43  
    158158AM_CFLAGS = @ac_adolc_cflags@
    159159AM_CXXFLAGS = @ac_adolc_cxxflags@
    160 AM_CPPFLAGS = -I$(top_srcdir) 
     160AM_CPPFLAGS = -I$(top_srcdir)/ADOL-C/src
    161161
    162162@SPARSE_TRUE@LDADD = -ladolc $(libdir)/libColPack.a
  • trunk/Makefile.in

    r1 r43  
    1 # Makefile.in generated by automake 1.9.6 from Makefile.am.
     1# Makefile.in generated by automake 1.7.9 from Makefile.am.
    22# @configure_input@
    33
    4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
    5 # 2003, 2004, 2005  Free Software Foundation, Inc.
     4# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
     5# Free Software Foundation, Inc.
    66# This Makefile.in is free software; the Free Software Foundation
    77# gives unlimited permission to copy and/or distribute it,
     
    1717##############################################################################
    1818##############################################################################
     19
    1920srcdir = @srcdir@
    2021top_srcdir = @top_srcdir@
     
    2425pkgincludedir = $(includedir)/@PACKAGE@
    2526top_builddir = .
     27
    2628am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
    2729INSTALL = @INSTALL@
     
    3739PRE_UNINSTALL = :
    3840POST_UNINSTALL = :
    39 build_triplet = @build@
    4041host_triplet = @host@
    41 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
    42         $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \
    43         ChangeLog INSTALL NEWS TODO autoconf/config.guess \
    44         autoconf/config.sub autoconf/depcomp autoconf/install-sh \
    45         autoconf/ltmain.sh autoconf/missing
    46 subdir = .
    47 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    48 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
    49 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    50         $(ACLOCAL_M4)
    51 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
    52  configure.lineno configure.status.lineno
    53 mkinstalldirs = $(install_sh) -d
    54 CONFIG_HEADER = $(top_builddir)/adolc/config.h
    55 CONFIG_CLEAN_FILES =
    56 SOURCES =
    57 DIST_SOURCES =
    58 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
    59         html-recursive info-recursive install-data-recursive \
    60         install-exec-recursive install-info-recursive \
    61         install-recursive installcheck-recursive installdirs-recursive \
    62         pdf-recursive ps-recursive uninstall-info-recursive \
    63         uninstall-recursive
    64 ETAGS = etags
    65 CTAGS = ctags
    66 DIST_SUBDIRS = adolc doc examples
    67 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    68 distdir = $(PACKAGE)-$(VERSION)
    69 top_distdir = $(distdir)
    70 am__remove_distdir = \
    71   { test ! -d $(distdir) \
    72     || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
    73          && rm -fr $(distdir); }; }
    74 DIST_ARCHIVES = $(distdir).tar.gz
    75 GZIP_ENV = --best
    76 distuninstallcheck_listfiles = find . -type f -print
    77 distcleancheck_listfiles = find . -type f -print
    7842ACLOCAL = @ACLOCAL@
    7943ADDEXA_FALSE = @ADDEXA_FALSE@
     
    10367DOCEXA_FALSE = @DOCEXA_FALSE@
    10468DOCEXA_TRUE = @DOCEXA_TRUE@
     69DSYMUTIL = @DSYMUTIL@
    10570ECHO = @ECHO@
    10671ECHO_C = @ECHO_C@
     
    11176F77 = @F77@
    11277FFLAGS = @FFLAGS@
     78GREP = @GREP@
    11379INSTALL_DATA = @INSTALL_DATA@
    11480INSTALL_PROGRAM = @INSTALL_PROGRAM@
     
    12288LTLIBOBJS = @LTLIBOBJS@
    12389MAKEINFO = @MAKEINFO@
     90NMEDIT = @NMEDIT@
    12491OBJDUMP = @OBJDUMP@
    12592OBJEXT = @OBJEXT@
     
    144111ac_adolc_cxxflags = @ac_adolc_cxxflags@
    145112ac_aux_dir = @ac_aux_dir@
    146 ac_ct_AR = @ac_ct_AR@
    147 ac_ct_AS = @ac_ct_AS@
    148113ac_ct_CC = @ac_ct_CC@
    149114ac_ct_CXX = @ac_ct_CXX@
    150 ac_ct_DLLTOOL = @ac_ct_DLLTOOL@
    151115ac_ct_F77 = @ac_ct_F77@
    152 ac_ct_OBJDUMP = @ac_ct_OBJDUMP@
    153 ac_ct_RANLIB = @ac_ct_RANLIB@
    154 ac_ct_STRIP = @ac_ct_STRIP@
    155116am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    156117am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
     
    160121am__leading_dot = @am__leading_dot@
    161122am__quote = @am__quote@
    162 am__tar = @am__tar@
    163 am__untar = @am__untar@
    164123bindir = @bindir@
    165124build = @build@
     
    169128build_vendor = @build_vendor@
    170129datadir = @datadir@
     130datarootdir = @datarootdir@
     131docdir = @docdir@
     132dvidir = @dvidir@
    171133exec_prefix = @exec_prefix@
    172134host = @host@
     
    175137host_os = @host_os@
    176138host_vendor = @host_vendor@
     139htmldir = @htmldir@
    177140includedir = @includedir@
    178141infodir = @infodir@
     
    180143libdir = @libdir@
    181144libexecdir = @libexecdir@
     145localedir = @localedir@
    182146localstatedir = @localstatedir@
    183147mandir = @mandir@
    184 mkdir_p = @mkdir_p@
    185148oldincludedir = @oldincludedir@
     149pdfdir = @pdfdir@
    186150prefix = @prefix@
    187151program_transform_name = @program_transform_name@
     152psdir = @psdir@
    188153sbindir = @sbindir@
    189154sharedstatedir = @sharedstatedir@
    190155sysconfdir = @sysconfdir@
    191156target_alias = @target_alias@
    192 AUTOMAKE_OPTIONS = gnu
     157
     158AUTOMAKE_OPTIONS = foreign
     159
    193160EXTRA_DIST = TODO BUGS Makefile.win make_32 make_64 \
    194161                       comp_win.bat winflags_dll winflags_exa
    195162
    196 @ADDEXA_FALSE@@DOCEXA_FALSE@@PAREXA_FALSE@SUBDIRS = adolc doc
    197 @ADDEXA_FALSE@@DOCEXA_FALSE@@PAREXA_TRUE@SUBDIRS = adolc examples doc
    198 @ADDEXA_TRUE@@DOCEXA_FALSE@SUBDIRS = adolc examples doc
    199 @DOCEXA_TRUE@SUBDIRS = adolc examples doc
    200 MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure adolc/config-h.in \
    201                        adolc/stamp-h.in *~ *.orig
    202 
     163
     164SUBDIRS = ADOL-C
     165
     166MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure ADOL-C/src/config.h.in \
     167                       ADOL-C/src/stamp-h.in *~ *.orig
     168
     169subdir = .
     170ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     171mkinstalldirs = $(SHELL) $(top_srcdir)/autoconf/mkinstalldirs
     172CONFIG_HEADER = $(top_builddir)/ADOL-C/src/config.h
     173CONFIG_CLEAN_FILES =
     174DIST_SOURCES =
     175
     176RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
     177        ps-recursive install-info-recursive uninstall-info-recursive \
     178        all-recursive install-data-recursive install-exec-recursive \
     179        installdirs-recursive install-recursive uninstall-recursive \
     180        check-recursive installcheck-recursive
     181DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure AUTHORS \
     182        ChangeLog INSTALL Makefile.am NEWS TODO aclocal.m4 \
     183        autoconf/config.guess autoconf/config.sub autoconf/depcomp \
     184        autoconf/install-sh autoconf/ltmain.sh autoconf/missing \
     185        autoconf/mkinstalldirs configure configure.ac
     186DIST_SUBDIRS = $(SUBDIRS)
    203187all: all-recursive
    204188
    205189.SUFFIXES:
    206 am--refresh:
    207         @:
    208 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
    209         @for dep in $?; do \
    210           case '$(am__configure_deps)' in \
    211             *$$dep*) \
    212               echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
    213               cd $(srcdir) && $(AUTOMAKE) --gnu  \
    214                 && exit 0; \
    215               exit 1;; \
    216           esac; \
    217         done; \
    218         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  Makefile'; \
     190
     191am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
     192 configure.lineno
     193$(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
    219194        cd $(top_srcdir) && \
    220           $(AUTOMAKE) --gnu  Makefile
    221 .PRECIOUS: Makefile
    222 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
    223         @case '$?' in \
    224           *config.status*) \
    225             echo ' $(SHELL) ./config.status'; \
    226             $(SHELL) ./config.status;; \
    227           *) \
    228             echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
    229             cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
    230         esac;
    231 
    232 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     195          $(AUTOMAKE) --foreign  Makefile
     196Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
     197        cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
     198
     199$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
    233200        $(SHELL) ./config.status --recheck
    234 
    235 $(top_srcdir)/configure:  $(am__configure_deps)
     201$(srcdir)/configure:  $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
    236202        cd $(srcdir) && $(AUTOCONF)
    237 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
     203
     204$(ACLOCAL_M4):  configure.ac
    238205        cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
    239206
     
    255222# (2) otherwise, pass the desired values on the `make' command line.
    256223$(RECURSIVE_TARGETS):
    257         @failcom='exit 1'; \
    258         for f in x $$MAKEFLAGS; do \
    259           case $$f in \
    260             *=* | --[!k]*);; \
    261             *k*) failcom='fail=yes';; \
    262           esac; \
    263         done; \
     224        @set fnord $$MAKEFLAGS; amf=$$2; \
    264225        dot_seen=no; \
    265226        target=`echo $@ | sed s/-recursive//`; \
     
    273234          fi; \
    274235          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
    275           || eval $$failcom; \
     236           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
    276237        done; \
    277238        if test "$$dot_seen" = "no"; then \
     
    281242mostlyclean-recursive clean-recursive distclean-recursive \
    282243maintainer-clean-recursive:
    283         @failcom='exit 1'; \
    284         for f in x $$MAKEFLAGS; do \
    285           case $$f in \
    286             *=* | --[!k]*);; \
    287             *k*) failcom='fail=yes';; \
    288           esac; \
    289         done; \
     244        @set fnord $$MAKEFLAGS; amf=$$2; \
    290245        dot_seen=no; \
    291246        case "$@" in \
     
    308263          fi; \
    309264          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
    310           || eval $$failcom; \
     265           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
    311266        done && test -z "$$fail"
    312267tags-recursive:
     
    319274        done
    320275
     276ETAGS = etags
     277ETAGSFLAGS =
     278
     279CTAGS = ctags
     280CTAGSFLAGS =
     281
     282tags: TAGS
     283
    321284ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
    322285        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
     
    327290               END { for (i in files) print i; }'`; \
    328291        mkid -fID $$unique
    329 tags: TAGS
    330292
    331293TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     
    333295        tags=; \
    334296        here=`pwd`; \
    335         if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
     297        if (etags --etags-include --version) >/dev/null 2>&1; then \
    336298          include_option=--etags-include; \
    337           empty_fix=.; \
    338299        else \
    339300          include_option=--include; \
    340           empty_fix=; \
    341301        fi; \
    342302        list='$(SUBDIRS)'; for subdir in $$list; do \
    343303          if test "$$subdir" = .; then :; else \
    344             test ! -f $$subdir/TAGS || \
     304            test -f $$subdir/TAGS && \
    345305              tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
    346306          fi; \
     
    352312          $(AWK) '    { files[$$0] = 1; } \
    353313               END { for (i in files) print i; }'`; \
    354         if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
    355           test -n "$$unique" || unique=$$empty_fix; \
    356           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
    357             $$tags $$unique; \
    358         fi
     314        test -z "$(ETAGS_ARGS)$$tags$$unique" \
     315          || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     316             $$tags $$unique
     317
    359318ctags: CTAGS
    360319CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     
    379338distclean-tags:
    380339        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
     340DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     341
     342top_distdir = .
     343distdir = $(PACKAGE)-$(VERSION)
     344
     345am__remove_distdir = \
     346  { test ! -d $(distdir) \
     347    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
     348         && rm -fr $(distdir); }; }
     349
     350GZIP_ENV = --best
     351distuninstallcheck_listfiles = find . -type f -print
     352distcleancheck_listfiles = find . -type f -print
    381353
    382354distdir: $(DISTFILES)
    383355        $(am__remove_distdir)
    384356        mkdir $(distdir)
    385         $(mkdir_p) $(distdir)/autoconf
     357        $(mkinstalldirs) $(distdir)/autoconf
    386358        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
    387359        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     
    395367          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
    396368            dir="/$$dir"; \
    397             $(mkdir_p) "$(distdir)$$dir"; \
     369            $(mkinstalldirs) "$(distdir)$$dir"; \
    398370          else \
    399371            dir=''; \
     
    410382          fi; \
    411383        done
    412         list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
     384        list='$(SUBDIRS)'; for subdir in $$list; do \
    413385          if test "$$subdir" = .; then :; else \
    414             test -d "$(distdir)/$$subdir" \
    415             || $(mkdir_p) "$(distdir)/$$subdir" \
     386            test -d $(distdir)/$$subdir \
     387            || mkdir $(distdir)/$$subdir \
    416388            || exit 1; \
    417             distdir=`$(am__cd) $(distdir) && pwd`; \
    418             top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
    419389            (cd $$subdir && \
    420390              $(MAKE) $(AM_MAKEFLAGS) \
    421                 top_distdir="$$top_distdir" \
    422                 distdir="$$distdir/$$subdir" \
     391                top_distdir="$(top_distdir)" \
     392                distdir=../$(distdir)/$$subdir \
    423393                distdir) \
    424394              || exit 1; \
     
    431401        || chmod -R a+r $(distdir)
    432402dist-gzip: distdir
    433         tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
     403        $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
    434404        $(am__remove_distdir)
    435405
    436 dist-bzip2: distdir
    437         tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
    438         $(am__remove_distdir)
    439 
    440 dist-tarZ: distdir
    441         tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
    442         $(am__remove_distdir)
    443 
    444 dist-shar: distdir
    445         shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
    446         $(am__remove_distdir)
    447 
    448 dist-zip: distdir
    449         -rm -f $(distdir).zip
    450         zip -rq $(distdir).zip $(distdir)
    451         $(am__remove_distdir)
    452 
    453406dist dist-all: distdir
    454         tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
     407        $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
    455408        $(am__remove_distdir)
    456409
     
    459412# tarfile.
    460413distcheck: dist
    461         case '$(DIST_ARCHIVES)' in \
    462         *.tar.gz*) \
    463           GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
    464         *.tar.bz2*) \
    465           bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
    466         *.tar.Z*) \
    467           uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
    468         *.shar.gz*) \
    469           GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
    470         *.zip*) \
    471           unzip $(distdir).zip ;;\
    472         esac
     414        $(am__remove_distdir)
     415        GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
    473416        chmod -R a-w $(distdir); chmod a+w $(distdir)
    474417        mkdir $(distdir)/_build
     
    490433          && chmod -R a-w "$$dc_install_base" \
    491434          && ({ \
    492                (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
     435               (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
    493436               && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
    494437               && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
     
    497440              } || { rm -rf "$$dc_destdir"; exit 1; }) \
    498441          && rm -rf "$$dc_destdir" \
    499           && $(MAKE) $(AM_MAKEFLAGS) dist \
    500           && rm -rf $(DIST_ARCHIVES) \
     442          && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
     443          && rm -f $(distdir).tar.gz \
    501444          && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
    502445        $(am__remove_distdir)
    503         @(echo "$(distdir) archives ready for distribution: "; \
    504           list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
    505           sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
     446        @echo "$(distdir).tar.gz is ready for distribution" | \
     447          sed 'h;s/./=/g;p;x;p;x'
    506448distuninstallcheck:
    507449        @cd $(distuninstallcheck_dir) \
     
    527469installdirs: installdirs-recursive
    528470installdirs-am:
     471
    529472install: install-recursive
    530473install-exec: install-exec-recursive
     
    546489
    547490distclean-generic:
    548         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
     491        -rm -f $(CONFIG_CLEAN_FILES)
    549492
    550493maintainer-clean-generic:
     
    566509dvi-am:
    567510
    568 html: html-recursive
    569 
    570511info: info-recursive
    571512
     
    604545uninstall-info: uninstall-info-recursive
    605546
    606 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
    607         check-am clean clean-generic clean-libtool clean-recursive \
    608         ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
    609         dist-shar dist-tarZ dist-zip distcheck distclean \
     547.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
     548        clean-generic clean-libtool clean-recursive ctags \
     549        ctags-recursive dist dist-all dist-gzip distcheck distclean \
    610550        distclean-generic distclean-libtool distclean-recursive \
    611551        distclean-tags distcleancheck distdir distuninstallcheck dvi \
    612         dvi-am html html-am info info-am install install-am \
    613         install-data install-data-am install-exec install-exec-am \
    614         install-info install-info-am install-man install-strip \
    615         installcheck installcheck-am installdirs installdirs-am \
     552        dvi-am dvi-recursive info info-am info-recursive install \
     553        install-am install-data install-data-am install-data-recursive \
     554        install-exec install-exec-am install-exec-recursive \
     555        install-info install-info-am install-info-recursive install-man \
     556        install-recursive install-strip installcheck installcheck-am \
     557        installdirs installdirs-am installdirs-recursive \
    616558        maintainer-clean maintainer-clean-generic \
    617559        maintainer-clean-recursive mostlyclean mostlyclean-generic \
    618         mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
    619         tags tags-recursive uninstall uninstall-am uninstall-info-am
     560        mostlyclean-libtool mostlyclean-recursive pdf pdf-am \
     561        pdf-recursive ps ps-am ps-recursive tags tags-recursive \
     562        uninstall uninstall-am uninstall-info-am \
     563        uninstall-info-recursive uninstall-recursive
    620564
    621565# Tell versions [3.59,3.63) of GNU make to not export all variables.
  • trunk/aclocal.m4

    r34 r43  
    1 # generated automatically by aclocal 1.9.6 -*- Autoconf -*-
    2 
    3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
    4 # 2005  Free Software Foundation, Inc.
     1# generated automatically by aclocal 1.7.9 -*- Autoconf -*-
     2
     3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
     4# Free Software Foundation, Inc.
    55# This file is free software; the Free Software Foundation
    66# gives unlimited permission to copy and/or distribute it,
     
    1212# PARTICULAR PURPOSE.
    1313
     14# Do all the work for Automake.                            -*- Autoconf -*-
     15
     16# This macro actually does too much some checks are only needed if
     17# your package does certain things.  But this isn't really a big deal.
     18
     19# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
     20# Free Software Foundation, Inc.
     21
     22# This program is free software; you can redistribute it and/or modify
     23# it under the terms of the GNU General Public License as published by
     24# the Free Software Foundation; either version 2, or (at your option)
     25# any later version.
     26
     27# This program is distributed in the hope that it will be useful,
     28# but WITHOUT ANY WARRANTY; without even the implied warranty of
     29# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     30# GNU General Public License for more details.
     31
     32# You should have received a copy of the GNU General Public License
     33# along with this program; if not, write to the Free Software
     34# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     35# 02111-1307, USA.
     36
     37# serial 10
     38
     39AC_PREREQ([2.54])
     40
     41# Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
     42# the ones we care about.
     43m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
     44
     45# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
     46# AM_INIT_AUTOMAKE([OPTIONS])
     47# -----------------------------------------------
     48# The call with PACKAGE and VERSION arguments is the old style
     49# call (pre autoconf-2.50), which is being phased out.  PACKAGE
     50# and VERSION should now be passed to AC_INIT and removed from
     51# the call to AM_INIT_AUTOMAKE.
     52# We support both call styles for the transition.  After
     53# the next Automake release, Autoconf can make the AC_INIT
     54# arguments mandatory, and then we can depend on a new Autoconf
     55# release and drop the old call support.
     56AC_DEFUN([AM_INIT_AUTOMAKE],
     57[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
     58 AC_REQUIRE([AC_PROG_INSTALL])dnl
     59# test to see if srcdir already configured
     60if test "`cd $srcdir && pwd`" != "`pwd`" &&
     61   test -f $srcdir/config.status; then
     62  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
     63fi
     64
     65# test whether we have cygpath
     66if test -z "$CYGPATH_W"; then
     67  if (cygpath --version) >/dev/null 2>/dev/null; then
     68    CYGPATH_W='cygpath -w'
     69  else
     70    CYGPATH_W=echo
     71  fi
     72fi
     73AC_SUBST([CYGPATH_W])
     74
     75# Define the identity of the package.
     76dnl Distinguish between old-style and new-style calls.
     77m4_ifval([$2],
     78[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
     79 AC_SUBST([PACKAGE], [$1])dnl
     80 AC_SUBST([VERSION], [$2])],
     81[_AM_SET_OPTIONS([$1])dnl
     82 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
     83 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
     84
     85_AM_IF_OPTION([no-define],,
     86[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
     87 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
     88
     89# Some tools Automake needs.
     90AC_REQUIRE([AM_SANITY_CHECK])dnl
     91AC_REQUIRE([AC_ARG_PROGRAM])dnl
     92AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
     93AM_MISSING_PROG(AUTOCONF, autoconf)
     94AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
     95AM_MISSING_PROG(AUTOHEADER, autoheader)
     96AM_MISSING_PROG(MAKEINFO, makeinfo)
     97AM_MISSING_PROG(AMTAR, tar)
     98AM_PROG_INSTALL_SH
     99AM_PROG_INSTALL_STRIP
     100# We need awk for the "check" target.  The system "awk" is bad on
     101# some platforms.
     102AC_REQUIRE([AC_PROG_AWK])dnl
     103AC_REQUIRE([AC_PROG_MAKE_SET])dnl
     104AC_REQUIRE([AM_SET_LEADING_DOT])dnl
     105
     106_AM_IF_OPTION([no-dependencies],,
     107[AC_PROVIDE_IFELSE([AC_PROG_CC],
     108                  [_AM_DEPENDENCIES(CC)],
     109                  [define([AC_PROG_CC],
     110                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
     111AC_PROVIDE_IFELSE([AC_PROG_CXX],
     112                  [_AM_DEPENDENCIES(CXX)],
     113                  [define([AC_PROG_CXX],
     114                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
     115])
     116])
     117
     118
     119# When config.status generates a header, we must update the stamp-h file.
     120# This file resides in the same directory as the config header
     121# that is generated.  The stamp files are numbered to have different names.
     122
     123# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
     124# loop where config.status creates the headers, so we can generate
     125# our stamp files there.
     126AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
     127[# Compute $1's index in $config_headers.
     128_am_stamp_count=1
     129for _am_header in $config_headers :; do
     130  case $_am_header in
     131    $1 | $1:* )
     132      break ;;
     133    * )
     134      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
     135  esac
     136done
     137echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
     138
     139# Copyright 2002  Free Software Foundation, Inc.
     140
     141# This program is free software; you can redistribute it and/or modify
     142# it under the terms of the GNU General Public License as published by
     143# the Free Software Foundation; either version 2, or (at your option)
     144# any later version.
     145
     146# This program is distributed in the hope that it will be useful,
     147# but WITHOUT ANY WARRANTY; without even the implied warranty of
     148# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     149# GNU General Public License for more details.
     150
     151# You should have received a copy of the GNU General Public License
     152# along with this program; if not, write to the Free Software
     153# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     154
     155# AM_AUTOMAKE_VERSION(VERSION)
     156# ----------------------------
     157# Automake X.Y traces this macro to ensure aclocal.m4 has been
     158# generated from the m4 files accompanying Automake X.Y.
     159AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"])
     160
     161# AM_SET_CURRENT_AUTOMAKE_VERSION
     162# -------------------------------
     163# Call AM_AUTOMAKE_VERSION so it can be traced.
     164# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
     165AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
     166         [AM_AUTOMAKE_VERSION([1.7.9])])
     167
     168# Helper functions for option handling.                    -*- Autoconf -*-
     169
     170# Copyright 2001, 2002  Free Software Foundation, Inc.
     171
     172# This program is free software; you can redistribute it and/or modify
     173# it under the terms of the GNU General Public License as published by
     174# the Free Software Foundation; either version 2, or (at your option)
     175# any later version.
     176
     177# This program is distributed in the hope that it will be useful,
     178# but WITHOUT ANY WARRANTY; without even the implied warranty of
     179# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     180# GNU General Public License for more details.
     181
     182# You should have received a copy of the GNU General Public License
     183# along with this program; if not, write to the Free Software
     184# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     185# 02111-1307, USA.
     186
     187# serial 2
     188
     189# _AM_MANGLE_OPTION(NAME)
     190# -----------------------
     191AC_DEFUN([_AM_MANGLE_OPTION],
     192[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
     193
     194# _AM_SET_OPTION(NAME)
     195# ------------------------------
     196# Set option NAME.  Presently that only means defining a flag for this option.
     197AC_DEFUN([_AM_SET_OPTION],
     198[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
     199
     200# _AM_SET_OPTIONS(OPTIONS)
     201# ----------------------------------
     202# OPTIONS is a space-separated list of Automake options.
     203AC_DEFUN([_AM_SET_OPTIONS],
     204[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
     205
     206# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
     207# -------------------------------------------
     208# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
     209AC_DEFUN([_AM_IF_OPTION],
     210[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
     211
     212#
     213# Check to make sure that the build environment is sane.
     214#
     215
     216# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
     217
     218# This program is free software; you can redistribute it and/or modify
     219# it under the terms of the GNU General Public License as published by
     220# the Free Software Foundation; either version 2, or (at your option)
     221# any later version.
     222
     223# This program is distributed in the hope that it will be useful,
     224# but WITHOUT ANY WARRANTY; without even the implied warranty of
     225# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     226# GNU General Public License for more details.
     227
     228# You should have received a copy of the GNU General Public License
     229# along with this program; if not, write to the Free Software
     230# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     231# 02111-1307, USA.
     232
     233# serial 3
     234
     235# AM_SANITY_CHECK
     236# ---------------
     237AC_DEFUN([AM_SANITY_CHECK],
     238[AC_MSG_CHECKING([whether build environment is sane])
     239# Just in case
     240sleep 1
     241echo timestamp > conftest.file
     242# Do `set' in a subshell so we don't clobber the current shell's
     243# arguments.  Must try -L first in case configure is actually a
     244# symlink; some systems play weird games with the mod time of symlinks
     245# (eg FreeBSD returns the mod time of the symlink's containing
     246# directory).
     247if (
     248   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
     249   if test "$[*]" = "X"; then
     250      # -L didn't work.
     251      set X `ls -t $srcdir/configure conftest.file`
     252   fi
     253   rm -f conftest.file
     254   if test "$[*]" != "X $srcdir/configure conftest.file" \
     255      && test "$[*]" != "X conftest.file $srcdir/configure"; then
     256
     257      # If neither matched, then we have a broken ls.  This can happen
     258      # if, for instance, CONFIG_SHELL is bash and it inherits a
     259      # broken ls alias from the environment.  This has actually
     260      # happened.  Such a system could not be considered "sane".
     261      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
     262alias in your environment])
     263   fi
     264
     265   test "$[2]" = conftest.file
     266   )
     267then
     268   # Ok.
     269   :
     270else
     271   AC_MSG_ERROR([newly created file is older than distributed files!
     272Check your system clock])
     273fi
     274AC_MSG_RESULT(yes)])
     275
     276#  -*- Autoconf -*-
     277
     278
     279# Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
     280
     281# This program is free software; you can redistribute it and/or modify
     282# it under the terms of the GNU General Public License as published by
     283# the Free Software Foundation; either version 2, or (at your option)
     284# any later version.
     285
     286# This program is distributed in the hope that it will be useful,
     287# but WITHOUT ANY WARRANTY; without even the implied warranty of
     288# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     289# GNU General Public License for more details.
     290
     291# You should have received a copy of the GNU General Public License
     292# along with this program; if not, write to the Free Software
     293# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     294# 02111-1307, USA.
     295
     296# serial 3
     297
     298# AM_MISSING_PROG(NAME, PROGRAM)
     299# ------------------------------
     300AC_DEFUN([AM_MISSING_PROG],
     301[AC_REQUIRE([AM_MISSING_HAS_RUN])
     302$1=${$1-"${am_missing_run}$2"}
     303AC_SUBST($1)])
     304
     305
     306# AM_MISSING_HAS_RUN
     307# ------------------
     308# Define MISSING if not defined so far and test if it supports --run.
     309# If it does, set am_missing_run to use it, otherwise, to nothing.
     310AC_DEFUN([AM_MISSING_HAS_RUN],
     311[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
     312test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
     313# Use eval to expand $SHELL
     314if eval "$MISSING --run true"; then
     315  am_missing_run="$MISSING --run "
     316else
     317  am_missing_run=
     318  AC_MSG_WARN([`missing' script is too old or missing])
     319fi
     320])
     321
     322# AM_AUX_DIR_EXPAND
     323
     324# Copyright 2001 Free Software Foundation, Inc.
     325
     326# This program is free software; you can redistribute it and/or modify
     327# it under the terms of the GNU General Public License as published by
     328# the Free Software Foundation; either version 2, or (at your option)
     329# any later version.
     330
     331# This program is distributed in the hope that it will be useful,
     332# but WITHOUT ANY WARRANTY; without even the implied warranty of
     333# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     334# GNU General Public License for more details.
     335
     336# You should have received a copy of the GNU General Public License
     337# along with this program; if not, write to the Free Software
     338# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     339# 02111-1307, USA.
     340
     341# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
     342# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
     343# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
     344#
     345# Of course, Automake must honor this variable whenever it calls a
     346# tool from the auxiliary directory.  The problem is that $srcdir (and
     347# therefore $ac_aux_dir as well) can be either absolute or relative,
     348# depending on how configure is run.  This is pretty annoying, since
     349# it makes $ac_aux_dir quite unusable in subdirectories: in the top
     350# source directory, any form will work fine, but in subdirectories a
     351# relative path needs to be adjusted first.
     352#
     353# $ac_aux_dir/missing
     354#    fails when called from a subdirectory if $ac_aux_dir is relative
     355# $top_srcdir/$ac_aux_dir/missing
     356#    fails if $ac_aux_dir is absolute,
     357#    fails when called from a subdirectory in a VPATH build with
     358#          a relative $ac_aux_dir
     359#
     360# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
     361# are both prefixed by $srcdir.  In an in-source build this is usually
     362# harmless because $srcdir is `.', but things will broke when you
     363# start a VPATH build or use an absolute $srcdir.
     364#
     365# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
     366# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
     367#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
     368# and then we would define $MISSING as
     369#   MISSING="\${SHELL} $am_aux_dir/missing"
     370# This will work as long as MISSING is not called from configure, because
     371# unfortunately $(top_srcdir) has no meaning in configure.
     372# However there are other variables, like CC, which are often used in
     373# configure, and could therefore not use this "fixed" $ac_aux_dir.
     374#
     375# Another solution, used here, is to always expand $ac_aux_dir to an
     376# absolute PATH.  The drawback is that using absolute paths prevent a
     377# configured tree to be moved without reconfiguration.
     378
     379# Rely on autoconf to set up CDPATH properly.
     380AC_PREREQ([2.50])
     381
     382AC_DEFUN([AM_AUX_DIR_EXPAND], [
     383# expand $ac_aux_dir to an absolute path
     384am_aux_dir=`cd $ac_aux_dir && pwd`
     385])
     386
     387# AM_PROG_INSTALL_SH
     388# ------------------
     389# Define $install_sh.
     390
     391# Copyright 2001 Free Software Foundation, Inc.
     392
     393# This program is free software; you can redistribute it and/or modify
     394# it under the terms of the GNU General Public License as published by
     395# the Free Software Foundation; either version 2, or (at your option)
     396# any later version.
     397
     398# This program is distributed in the hope that it will be useful,
     399# but WITHOUT ANY WARRANTY; without even the implied warranty of
     400# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     401# GNU General Public License for more details.
     402
     403# You should have received a copy of the GNU General Public License
     404# along with this program; if not, write to the Free Software
     405# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     406# 02111-1307, USA.
     407
     408AC_DEFUN([AM_PROG_INSTALL_SH],
     409[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
     410install_sh=${install_sh-"$am_aux_dir/install-sh"}
     411AC_SUBST(install_sh)])
     412
     413# AM_PROG_INSTALL_STRIP
     414
     415# Copyright 2001 Free Software Foundation, Inc.
     416
     417# This program is free software; you can redistribute it and/or modify
     418# it under the terms of the GNU General Public License as published by
     419# the Free Software Foundation; either version 2, or (at your option)
     420# any later version.
     421
     422# This program is distributed in the hope that it will be useful,
     423# but WITHOUT ANY WARRANTY; without even the implied warranty of
     424# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     425# GNU General Public License for more details.
     426
     427# You should have received a copy of the GNU General Public License
     428# along with this program; if not, write to the Free Software
     429# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     430# 02111-1307, USA.
     431
     432# One issue with vendor `install' (even GNU) is that you can't
     433# specify the program used to strip binaries.  This is especially
     434# annoying in cross-compiling environments, where the build's strip
     435# is unlikely to handle the host's binaries.
     436# Fortunately install-sh will honor a STRIPPROG variable, so we
     437# always use install-sh in `make install-strip', and initialize
     438# STRIPPROG with the value of the STRIP variable (set by the user).
     439AC_DEFUN([AM_PROG_INSTALL_STRIP],
     440[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
     441# Installed binaries are usually stripped using `strip' when the user
     442# run `make install-strip'.  However `strip' might not be the right
     443# tool to use in cross-compilation environments, therefore Automake
     444# will honor the `STRIP' environment variable to overrule this program.
     445dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
     446if test "$cross_compiling" != no; then
     447  AC_CHECK_TOOL([STRIP], [strip], :)
     448fi
     449INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
     450AC_SUBST([INSTALL_STRIP_PROGRAM])])
     451
     452#                                                          -*- Autoconf -*-
     453# Copyright (C) 2003  Free Software Foundation, Inc.
     454
     455# This program is free software; you can redistribute it and/or modify
     456# it under the terms of the GNU General Public License as published by
     457# the Free Software Foundation; either version 2, or (at your option)
     458# any later version.
     459
     460# This program is distributed in the hope that it will be useful,
     461# but WITHOUT ANY WARRANTY; without even the implied warranty of
     462# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     463# GNU General Public License for more details.
     464
     465# You should have received a copy of the GNU General Public License
     466# along with this program; if not, write to the Free Software
     467# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     468# 02111-1307, USA.
     469
     470# serial 1
     471
     472# Check whether the underlying file-system supports filenames
     473# with a leading dot.  For instance MS-DOS doesn't.
     474AC_DEFUN([AM_SET_LEADING_DOT],
     475[rm -rf .tst 2>/dev/null
     476mkdir .tst 2>/dev/null
     477if test -d .tst; then
     478  am__leading_dot=.
     479else
     480  am__leading_dot=_
     481fi
     482rmdir .tst 2>/dev/null
     483AC_SUBST([am__leading_dot])])
     484
     485# serial 5                                              -*- Autoconf -*-
     486
     487# Copyright (C) 1999, 2000, 2001, 2002, 2003  Free Software Foundation, Inc.
     488
     489# This program is free software; you can redistribute it and/or modify
     490# it under the terms of the GNU General Public License as published by
     491# the Free Software Foundation; either version 2, or (at your option)
     492# any later version.
     493
     494# This program is distributed in the hope that it will be useful,
     495# but WITHOUT ANY WARRANTY; without even the implied warranty of
     496# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     497# GNU General Public License for more details.
     498
     499# You should have received a copy of the GNU General Public License
     500# along with this program; if not, write to the Free Software
     501# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     502# 02111-1307, USA.
     503
     504
     505# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
     506# written in clear, in which case automake, when reading aclocal.m4,
     507# will think it sees a *use*, and therefore will trigger all it's
     508# C support machinery.  Also note that it means that autoscan, seeing
     509# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
     510
     511
     512
     513# _AM_DEPENDENCIES(NAME)
     514# ----------------------
     515# See how the compiler implements dependency checking.
     516# NAME is "CC", "CXX", "GCJ", or "OBJC".
     517# We try a few techniques and use that to set a single cache variable.
     518#
     519# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
     520# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
     521# dependency, and given that the user is not expected to run this macro,
     522# just rely on AC_PROG_CC.
     523AC_DEFUN([_AM_DEPENDENCIES],
     524[AC_REQUIRE([AM_SET_DEPDIR])dnl
     525AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
     526AC_REQUIRE([AM_MAKE_INCLUDE])dnl
     527AC_REQUIRE([AM_DEP_TRACK])dnl
     528
     529ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
     530       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
     531       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
     532       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
     533                   [depcc="$$1"   am_compiler_list=])
     534
     535AC_CACHE_CHECK([dependency style of $depcc],
     536               [am_cv_$1_dependencies_compiler_type],
     537[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
     538  # We make a subdir and do the tests there.  Otherwise we can end up
     539  # making bogus files that we don't know about and never remove.  For
     540  # instance it was reported that on HP-UX the gcc test will end up
     541  # making a dummy file named `D' -- because `-MD' means `put the output
     542  # in D'.
     543  mkdir conftest.dir
     544  # Copy depcomp to subdir because otherwise we won't find it if we're
     545  # using a relative directory.
     546  cp "$am_depcomp" conftest.dir
     547  cd conftest.dir
     548  # We will build objects and dependencies in a subdirectory because
     549  # it helps to detect inapplicable dependency modes.  For instance
     550  # both Tru64's cc and ICC support -MD to output dependencies as a
     551  # side effect of compilation, but ICC will put the dependencies in
     552  # the current directory while Tru64 will put them in the object
     553  # directory.
     554  mkdir sub
     555
     556  am_cv_$1_dependencies_compiler_type=none
     557  if test "$am_compiler_list" = ""; then
     558     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
     559  fi
     560  for depmode in $am_compiler_list; do
     561    # Setup a source with many dependencies, because some compilers
     562    # like to wrap large dependency lists on column 80 (with \), and
     563    # we should not choose a depcomp mode which is confused by this.
     564    #
     565    # We need to recreate these files for each test, as the compiler may
     566    # overwrite some of them when testing with obscure command lines.
     567    # This happens at least with the AIX C compiler.
     568    : > sub/conftest.c
     569    for i in 1 2 3 4 5 6; do
     570      echo '#include "conftst'$i'.h"' >> sub/conftest.c
     571      : > sub/conftst$i.h
     572    done
     573    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     574
     575    case $depmode in
     576    nosideeffect)
     577      # after this tag, mechanisms are not by side-effect, so they'll
     578      # only be used when explicitly requested
     579      if test "x$enable_dependency_tracking" = xyes; then
     580        continue
     581      else
     582        break
     583      fi
     584      ;;
     585    none) break ;;
     586    esac
     587    # We check with `-c' and `-o' for the sake of the "dashmstdout"
     588    # mode.  It turns out that the SunPro C++ compiler does not properly
     589    # handle `-M -o', and we need to detect this.
     590    if depmode=$depmode \
     591       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
     592       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
     593       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
     594         >/dev/null 2>conftest.err &&
     595       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
     596       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
     597       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
     598      # icc doesn't choke on unknown options, it will just issue warnings
     599      # (even with -Werror).  So we grep stderr for any message
     600      # that says an option was ignored.
     601      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
     602        am_cv_$1_dependencies_compiler_type=$depmode
     603        break
     604      fi
     605    fi
     606  done
     607
     608  cd ..
     609  rm -rf conftest.dir
     610else
     611  am_cv_$1_dependencies_compiler_type=none
     612fi
     613])
     614AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
     615AM_CONDITIONAL([am__fastdep$1], [
     616  test "x$enable_dependency_tracking" != xno \
     617  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
     618])
     619
     620
     621# AM_SET_DEPDIR
     622# -------------
     623# Choose a directory name for dependency files.
     624# This macro is AC_REQUIREd in _AM_DEPENDENCIES
     625AC_DEFUN([AM_SET_DEPDIR],
     626[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
     627AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
     628])
     629
     630
     631# AM_DEP_TRACK
     632# ------------
     633AC_DEFUN([AM_DEP_TRACK],
     634[AC_ARG_ENABLE(dependency-tracking,
     635[  --disable-dependency-tracking Speeds up one-time builds
     636  --enable-dependency-tracking  Do not reject slow dependency extractors])
     637if test "x$enable_dependency_tracking" != xno; then
     638  am_depcomp="$ac_aux_dir/depcomp"
     639  AMDEPBACKSLASH='\'
     640fi
     641AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
     642AC_SUBST([AMDEPBACKSLASH])
     643])
     644
     645# Generate code to set up dependency tracking.   -*- Autoconf -*-
     646
     647# Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
     648
     649# This program is free software; you can redistribute it and/or modify
     650# it under the terms of the GNU General Public License as published by
     651# the Free Software Foundation; either version 2, or (at your option)
     652# any later version.
     653
     654# This program is distributed in the hope that it will be useful,
     655# but WITHOUT ANY WARRANTY; without even the implied warranty of
     656# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     657# GNU General Public License for more details.
     658
     659# You should have received a copy of the GNU General Public License
     660# along with this program; if not, write to the Free Software
     661# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     662# 02111-1307, USA.
     663
     664#serial 2
     665
     666# _AM_OUTPUT_DEPENDENCY_COMMANDS
     667# ------------------------------
     668AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
     669[for mf in $CONFIG_FILES; do
     670  # Strip MF so we end up with the name of the file.
     671  mf=`echo "$mf" | sed -e 's/:.*$//'`
     672  # Check whether this is an Automake generated Makefile or not.
     673  # We used to match only the files named `Makefile.in', but
     674  # some people rename them; so instead we look at the file content.
     675  # Grep'ing the first line is not enough: some people post-process
     676  # each Makefile.in and add a new line on top of each file to say so.
     677  # So let's grep whole file.
     678  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
     679    dirpart=`AS_DIRNAME("$mf")`
     680  else
     681    continue
     682  fi
     683  grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
     684  # Extract the definition of DEP_FILES from the Makefile without
     685  # running `make'.
     686  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
     687  test -z "$DEPDIR" && continue
     688  # When using ansi2knr, U may be empty or an underscore; expand it
     689  U=`sed -n -e '/^U = / s///p' < "$mf"`
     690  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
     691  # We invoke sed twice because it is the simplest approach to
     692  # changing $(DEPDIR) to its actual value in the expansion.
     693  for file in `sed -n -e '
     694    /^DEP_FILES = .*\\\\$/ {
     695      s/^DEP_FILES = //
     696      :loop
     697        s/\\\\$//
     698        p
     699        n
     700        /\\\\$/ b loop
     701      p
     702    }
     703    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
     704       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
     705    # Make sure the directory exists.
     706    test -f "$dirpart/$file" && continue
     707    fdir=`AS_DIRNAME(["$file"])`
     708    AS_MKDIR_P([$dirpart/$fdir])
     709    # echo "creating $dirpart/$file"
     710    echo '# dummy' > "$dirpart/$file"
     711  done
     712done
     713])# _AM_OUTPUT_DEPENDENCY_COMMANDS
     714
     715
     716# AM_OUTPUT_DEPENDENCY_COMMANDS
     717# -----------------------------
     718# This macro should only be invoked once -- use via AC_REQUIRE.
     719#
     720# This code is only required when automatic dependency tracking
     721# is enabled.  FIXME.  This creates each `.P' file that we will
     722# need in order to bootstrap the dependency handling code.
     723AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
     724[AC_CONFIG_COMMANDS([depfiles],
     725     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
     726     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
     727])
     728
     729# Check to see how 'make' treats includes.      -*- Autoconf -*-
     730
     731# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
     732
     733# This program is free software; you can redistribute it and/or modify
     734# it under the terms of the GNU General Public License as published by
     735# the Free Software Foundation; either version 2, or (at your option)
     736# any later version.
     737
     738# This program is distributed in the hope that it will be useful,
     739# but WITHOUT ANY WARRANTY; without even the implied warranty of
     740# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     741# GNU General Public License for more details.
     742
     743# You should have received a copy of the GNU General Public License
     744# along with this program; if not, write to the Free Software
     745# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     746# 02111-1307, USA.
     747
     748# serial 2
     749
     750# AM_MAKE_INCLUDE()
     751# -----------------
     752# Check to see how make treats includes.
     753AC_DEFUN([AM_MAKE_INCLUDE],
     754[am_make=${MAKE-make}
     755cat > confinc << 'END'
     756am__doit:
     757        @echo done
     758.PHONY: am__doit
     759END
     760# If we don't find an include directive, just comment out the code.
     761AC_MSG_CHECKING([for style of include used by $am_make])
     762am__include="#"
     763am__quote=
     764_am_result=none
     765# First try GNU make style include.
     766echo "include confinc" > confmf
     767# We grep out `Entering directory' and `Leaving directory'
     768# messages which can occur if `w' ends up in MAKEFLAGS.
     769# In particular we don't look at `^make:' because GNU make might
     770# be invoked under some other name (usually "gmake"), in which
     771# case it prints its new name instead of `make'.
     772if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
     773   am__include=include
     774   am__quote=
     775   _am_result=GNU
     776fi
     777# Now try BSD make style include.
     778if test "$am__include" = "#"; then
     779   echo '.include "confinc"' > confmf
     780   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
     781      am__include=.include
     782      am__quote="\""
     783      _am_result=BSD
     784   fi
     785fi
     786AC_SUBST([am__include])
     787AC_SUBST([am__quote])
     788AC_MSG_RESULT([$_am_result])
     789rm -f confinc confmf
     790])
     791
     792# AM_CONDITIONAL                                              -*- Autoconf -*-
     793
     794# Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
     795
     796# This program is free software; you can redistribute it and/or modify
     797# it under the terms of the GNU General Public License as published by
     798# the Free Software Foundation; either version 2, or (at your option)
     799# any later version.
     800
     801# This program is distributed in the hope that it will be useful,
     802# but WITHOUT ANY WARRANTY; without even the implied warranty of
     803# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     804# GNU General Public License for more details.
     805
     806# You should have received a copy of the GNU General Public License
     807# along with this program; if not, write to the Free Software
     808# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     809# 02111-1307, USA.
     810
     811# serial 5
     812
     813AC_PREREQ(2.52)
     814
     815# AM_CONDITIONAL(NAME, SHELL-CONDITION)
     816# -------------------------------------
     817# Define a conditional.
     818AC_DEFUN([AM_CONDITIONAL],
     819[ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
     820        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
     821AC_SUBST([$1_TRUE])
     822AC_SUBST([$1_FALSE])
     823if $2; then
     824  $1_TRUE=
     825  $1_FALSE='#'
     826else
     827  $1_TRUE='#'
     828  $1_FALSE=
     829fi
     830AC_CONFIG_COMMANDS_PRE(
     831[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
     832  AC_MSG_ERROR([conditional "$1" was never defined.
     833Usually this means the macro was only invoked conditionally.])
     834fi])])
     835
    14836# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
    15837
    16 # serial 48 AC_PROG_LIBTOOL
     838# serial 52 Debian 1.5.26-4 AC_PROG_LIBTOOL
    17839
    18840
     
    102924AC_REQUIRE([AC_EXEEXT])dnl
    103925dnl
    104 
    105926AC_LIBTOOL_SYS_MAX_CMD_LEN
    106927AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
     
    177998
    178999# Determine commands to create old-style static archives.
    179 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
     1000old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
    1801001old_postinstall_cmds='chmod 644 $oldlib'
    1811002old_postuninstall_cmds=
     
    2031024  ;;
    2041025esac
     1026
     1027_LT_REQUIRED_DARWIN_CHECKS
    2051028
    2061029AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
     
    2641087# the simple compiler test code.
    2651088AC_DEFUN([_LT_COMPILER_BOILERPLATE],
    266 [ac_outfile=conftest.$ac_objext
    267 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
     1089[AC_REQUIRE([LT_AC_PROG_SED])dnl
     1090ac_outfile=conftest.$ac_objext
     1091echo "$lt_simple_compile_test_code" >conftest.$ac_ext
    2681092eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
    2691093_lt_compiler_boilerplate=`cat conftest.err`
     
    2771101# the simple link test code.
    2781102AC_DEFUN([_LT_LINKER_BOILERPLATE],
    279 [ac_outfile=conftest.$ac_objext
    280 printf "$lt_simple_link_test_code" >conftest.$ac_ext
     1103[AC_REQUIRE([LT_AC_PROG_SED])dnl
     1104ac_outfile=conftest.$ac_objext
     1105echo "$lt_simple_link_test_code" >conftest.$ac_ext
    2811106eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
    2821107_lt_linker_boilerplate=`cat conftest.err`
    283 $rm conftest*
     1108$rm -r conftest*
    2841109])# _LT_LINKER_BOILERPLATE
    2851110
     1111# _LT_REQUIRED_DARWIN_CHECKS
     1112# --------------------------
     1113# Check for some things on darwin
     1114AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[
     1115  case $host_os in
     1116    rhapsody* | darwin*)
     1117    AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
     1118    AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
     1119
     1120    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
     1121      [lt_cv_apple_cc_single_mod=no
     1122      if test -z "${LT_MULTI_MODULE}"; then
     1123   # By default we will add the -single_module flag. You can override
     1124   # by either setting the environment variable LT_MULTI_MODULE
     1125   # non-empty at configure time, or by adding -multi_module to the
     1126   # link flags.
     1127   echo "int foo(void){return 1;}" > conftest.c
     1128   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
     1129     -dynamiclib ${wl}-single_module conftest.c
     1130   if test -f libconftest.dylib; then
     1131     lt_cv_apple_cc_single_mod=yes
     1132     rm -rf libconftest.dylib*
     1133   fi
     1134   rm conftest.c
     1135      fi])
     1136    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
     1137      [lt_cv_ld_exported_symbols_list],
     1138      [lt_cv_ld_exported_symbols_list=no
     1139      save_LDFLAGS=$LDFLAGS
     1140      echo "_main" > conftest.sym
     1141      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
     1142      AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
     1143   [lt_cv_ld_exported_symbols_list=yes],
     1144   [lt_cv_ld_exported_symbols_list=no])
     1145   LDFLAGS="$save_LDFLAGS"
     1146    ])
     1147    case $host_os in
     1148    rhapsody* | darwin1.[[0123]])
     1149      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
     1150    darwin1.*)
     1151     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
     1152    darwin*)
     1153      # if running on 10.5 or later, the deployment target defaults
     1154      # to the OS version, if on x86, and 10.4, the deployment
     1155      # target defaults to 10.4. Don't you love it?
     1156      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
     1157   10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
     1158     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
     1159   10.[[012]]*)
     1160     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
     1161   10.*)
     1162     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
     1163      esac
     1164    ;;
     1165  esac
     1166    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
     1167      _lt_dar_single_mod='$single_module'
     1168    fi
     1169    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
     1170      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
     1171    else
     1172      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
     1173    fi
     1174    if test "$DSYMUTIL" != ":"; then
     1175      _lt_dsymutil="~$DSYMUTIL \$lib || :"
     1176    else
     1177      _lt_dsymutil=
     1178    fi
     1179    ;;
     1180  esac
     1181])
    2861182
    2871183# _LT_AC_SYS_LIBPATH_AIX
     
    2941190# to the aix ld manual.
    2951191AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
    296 [AC_LINK_IFELSE(AC_LANG_PROGRAM,[
    297 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
    298 }'`
     1192[AC_REQUIRE([LT_AC_PROG_SED])dnl
     1193AC_LINK_IFELSE(AC_LANG_PROGRAM,[
     1194lt_aix_libpath_sed='
     1195    /Import File Strings/,/^$/ {
     1196        /^0/ {
     1197            s/^0  *\(.*\)$/\1/
     1198            p
     1199        }
     1200    }'
     1201aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
    2991202# Check for a 64-bit object if we didn't find anything.
    300 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; }
    301 }'`; fi],[])
     1203if test -z "$aix_libpath"; then
     1204  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     1205fi],[])
    3021206if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
    3031207])# _LT_AC_SYS_LIBPATH_AIX
     
    5301434  ;;
    5311435
    532 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
     1436x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
     1437s390*-*linux*|sparc*-*linux*)
    5331438  # Find out which ABI we are using.
    5341439  echo 'int i;' > conftest.$ac_ext
     
    5371442    *32-bit*)
    5381443      case $host in
     1444        x86_64-*kfreebsd*-gnu)
     1445          LD="${LD-ld} -m elf_i386_fbsd"
     1446          ;;
    5391447        x86_64-*linux*)
    5401448          LD="${LD-ld} -m elf_i386"
     
    5531461    *64-bit*)
    5541462      case $host in
     1463        x86_64-*kfreebsd*-gnu)
     1464          LD="${LD-ld} -m elf_x86_64_fbsd"
     1465          ;;
    5551466        x86_64-*linux*)
    5561467          LD="${LD-ld} -m elf_x86_64"
     
    5931504      case $lt_cv_prog_gnu_ld in
    5941505      yes*) LD="${LD-ld} -m elf64_sparc" ;;
    595       *)    LD="${LD-ld} -64" ;;
     1506      *)
     1507        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
     1508          LD="${LD-ld} -64"
     1509        fi
     1510        ;;
    5961511      esac
    5971512      ;;
     
    6241539  [$2=no
    6251540  ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
    626    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
     1541   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    6271542   lt_compiler_flag="$3"
    6281543   # Insert the option either (1) after the last *FLAGS variable, or
     
    6651580# Check whether the given compiler option works
    6661581AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
    667 [AC_CACHE_CHECK([$1], [$2],
     1582[AC_REQUIRE([LT_AC_PROG_SED])dnl
     1583AC_CACHE_CHECK([$1], [$2],
    6681584  [$2=no
    6691585   save_LDFLAGS="$LDFLAGS"
    6701586   LDFLAGS="$LDFLAGS $3"
    671    printf "$lt_simple_link_test_code" > conftest.$ac_ext
     1587   echo "$lt_simple_link_test_code" > conftest.$ac_ext
    6721588   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
    6731589     # The linker can only warn and ignore the option if not recognized
     
    6851601     fi
    6861602   fi
    687    $rm conftest*
     1603   $rm -r conftest*
    6881604   LDFLAGS="$save_LDFLAGS"
    6891605])
     
    7831699    ;;
    7841700  *)
    785     # If test is not a shell built-in, we'll probably end up computing a
    786     # maximum length that is only half of the actual maximum length, but
    787     # we can't tell.
    788     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
    789     while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
     1701    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
     1702    if test -n "$lt_cv_sys_max_cmd_len"; then
     1703      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
     1704      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
     1705    else
     1706      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
     1707      while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
    7901708               = "XX$teststring") >/dev/null 2>&1 &&
    791             new_result=`expr "X$teststring" : ".*" 2>&1` &&
    792             lt_cv_sys_max_cmd_len=$new_result &&
    793             test $i != 17 # 1/2 MB should be enough
    794     do
    795       i=`expr $i + 1`
    796       teststring=$teststring$teststring
    797     done
    798     teststring=
    799     # Add a significant safety factor because C++ compilers can tack on massive
    800     # amounts of additional arguments before passing them to the linker.
    801     # It appears as though 1/2 is a usable value.
    802     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
     1709              new_result=`expr "X$teststring" : ".*" 2>&1` &&
     1710              lt_cv_sys_max_cmd_len=$new_result &&
     1711              test $i != 17 # 1/2 MB should be enough
     1712      do
     1713        i=`expr $i + 1`
     1714        teststring=$teststring$teststring
     1715      done
     1716      teststring=
     1717      # Add a significant safety factor because C++ compilers can tack on massive
     1718      # amounts of additional arguments before passing them to the linker.
     1719      # It appears as though 1/2 is a usable value.
     1720      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
     1721    fi
    8031722    ;;
    8041723  esac
     
    9531872          [lt_cv_dlopen="shl_load"],
    9541873      [AC_CHECK_LIB([dld], [shl_load],
    955             [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
     1874            [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
    9561875        [AC_CHECK_FUNC([dlopen],
    9571876              [lt_cv_dlopen="dlopen"],
     
    9611880                  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
    9621881              [AC_CHECK_LIB([dld], [dld_link],
    963                     [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
     1882                    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
    9641883              ])
    9651884            ])
     
    10271946# Check to see if options -c and -o are simultaneously supported by compiler
    10281947AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
    1029 [AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
     1948[AC_REQUIRE([LT_AC_PROG_SED])dnl
     1949AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
    10301950AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
    10311951  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
     
    10351955   cd conftest
    10361956   mkdir out
    1037    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
     1957   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    10381958
    10391959   lt_compiler_flag="-o out/conftest2.$ac_objext"
     
    11752095       if test -n "$STRIP" ; then
    11762096         striplib="$STRIP -x"
     2097         old_striplib="$STRIP -S"
    11772098         AC_MSG_RESULT([yes])
    11782099       else
     
    11922113# PORTME Fill in your ld.so characteristics
    11932114AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
    1194 [AC_MSG_CHECKING([dynamic linker characteristics])
     2115[AC_REQUIRE([LT_AC_PROG_SED])dnl
     2116AC_MSG_CHECKING([dynamic linker characteristics])
    11952117library_names_spec=
    11962118libname_spec='lib$name'
     
    12062128dynamic_linker="$host_os ld.so"
    12072129sys_lib_dlsearch_path_spec="/lib /usr/lib"
     2130m4_if($1,[],[
    12082131if test "$GCC" = yes; then
    1209   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
    1210   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
     2132  case $host_os in
     2133    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
     2134    *) lt_awk_arg="/^libraries:/" ;;
     2135  esac
     2136  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
     2137  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
    12112138    # if the path contains ";" then we assume it to be the separator
    12122139    # otherwise default to the standard path separator (i.e. ":") - it is
    12132140    # assumed that no part of a normal pathname contains ";" but that should
    12142141    # okay in the real world where ";" in dirpaths is itself problematic.
    1215     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
     2142    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
    12162143  else
    1217     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
     2144    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
    12182145  fi
     2146  # Ok, now we have the path, separated by spaces, we can step through it
     2147  # and add multilib dir if necessary.
     2148  lt_tmp_lt_search_path_spec=
     2149  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
     2150  for lt_sys_path in $lt_search_path_spec; do
     2151    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
     2152      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
     2153    else
     2154      test -d "$lt_sys_path" && \
     2155        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
     2156    fi
     2157  done
     2158  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
     2159BEGIN {RS=" "; FS="/|\n";} {
     2160  lt_foo="";
     2161  lt_count=0;
     2162  for (lt_i = NF; lt_i > 0; lt_i--) {
     2163    if ($lt_i != "" && $lt_i != ".") {
     2164      if ($lt_i == "..") {
     2165        lt_count++;
     2166      } else {
     2167        if (lt_count == 0) {
     2168          lt_foo="/" $lt_i lt_foo;
     2169        } else {
     2170          lt_count--;
     2171        }
     2172      }
     2173    }
     2174  }
     2175  if (lt_foo != "") { lt_freq[[lt_foo]]++; }
     2176  if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
     2177}'`
     2178  sys_lib_search_path_spec=`echo $lt_search_path_spec`
    12192179else
    12202180  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
    1221 fi
     2181fi])
    12222182need_lib_prefix=unknown
    12232183hardcode_into_libs=no
     
    12372197  ;;
    12382198
    1239 aix4* | aix5*)
     2199aix[[4-9]]*)
    12402200  version_type=linux
    12412201  need_lib_prefix=no
     
    13762336  shlibpath_var=DYLD_LIBRARY_PATH
    13772337  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
    1378   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
    1379   if test "$GCC" = yes; then
    1380     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"`
    1381   else
    1382     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
    1383   fi
     2338  m4_if([$1], [],[
     2339  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
    13842340  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
    13852341  ;;
     
    13962352freebsd1*)
    13972353  dynamic_linker=no
    1398   ;;
    1399 
    1400 kfreebsd*-gnu)
    1401   version_type=linux
    1402   need_lib_prefix=no
    1403   need_version=no
    1404   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    1405   soname_spec='${libname}${release}${shared_ext}$major'
    1406   shlibpath_var=LD_LIBRARY_PATH
    1407   shlibpath_overrides_runpath=no
    1408   hardcode_into_libs=yes
    1409   dynamic_linker='GNU ld.so'
    14102354  ;;
    14112355
     
    14472391    hardcode_into_libs=yes
    14482392    ;;
    1449   freebsd*) # from 4.6 on
     2393  *) # from 4.6 on, and DragonFly
    14502394    shlibpath_overrides_runpath=yes
    14512395    hardcode_into_libs=yes
     
    15102454  ;;
    15112455
    1512 interix3*)
     2456interix[[3-9]]*)
    15132457  version_type=linux
    15142458  need_lib_prefix=no
     
    15652509
    15662510# This must be Linux ELF.
    1567 linux*)
     2511linux* | k*bsd*-gnu)
    15682512  version_type=linux
    15692513  need_lib_prefix=no
     
    15792523  hardcode_into_libs=yes
    15802524
    1581   # find out which ABI we are using
    1582   libsuff=
    1583   case "$host_cpu" in
    1584   x86_64*|s390x*|powerpc64*)
    1585     echo '[#]line __oline__ "configure"' > conftest.$ac_ext
    1586     if AC_TRY_EVAL(ac_compile); then
    1587       case `/usr/bin/file conftest.$ac_objext` in
    1588       *64-bit*)
    1589         libsuff=64
    1590         sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
    1591         ;;
    1592       esac
    1593     fi
    1594     rm -rf conftest*
    1595     ;;
    1596   esac
    1597 
    15982525  # Append ld.so.conf contents to the search path
    15992526  if test -f /etc/ld.so.conf; then
    1600     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
    1601     sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
     2527    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' ' '`
     2528    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
    16022529  fi
    16032530
     
    16112538  ;;
    16122539
    1613 knetbsd*-gnu)
     2540netbsdelf*-gnu)
    16142541  version_type=linux
    16152542  need_lib_prefix=no
     
    16202547  shlibpath_overrides_runpath=no
    16212548  hardcode_into_libs=yes
    1622   dynamic_linker='GNU ld.so'
     2549  dynamic_linker='NetBSD ld.elf_so'
    16232550  ;;
    16242551
     
    17022629  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
    17032630  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
     2631  ;;
     2632
     2633rdos*)
     2634  dynamic_linker=no
    17042635  ;;
    17052636
     
    17992730test "$dynamic_linker" = no && can_build_shared=no
    18002731
     2732AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec],
     2733[lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"])
     2734sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
     2735AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec],
     2736[lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"])
     2737sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
     2738
    18012739variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
    18022740if test "$GCC" = yes; then
     
    18092747# ----------------
    18102748AC_DEFUN([_LT_AC_TAGCONFIG],
    1811 [AC_ARG_WITH([tags],
     2749[AC_REQUIRE([LT_AC_PROG_SED])dnl
     2750AC_ARG_WITH([tags],
    18122751    [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
    18132752        [include additional configurations @<:@automatic@:>@])],
     
    20703009# AC_PATH_TOOL_PREFIX
    20713010# -------------------
    2072 # find a file program which can recognise shared library
     3011# find a file program which can recognize shared library
    20733012AC_DEFUN([AC_PATH_TOOL_PREFIX],
    20743013[AC_REQUIRE([AC_PROG_EGREP])dnl
     
    21333072# AC_PATH_MAGIC
    21343073# -------------
    2135 # find a file program which can recognise a shared library
     3074# find a file program which can recognize a shared library
    21363075AC_DEFUN([AC_PATH_MAGIC],
    21373076[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
     
    22803219#  -- PORTME fill in with the dynamic library characteristics
    22813220AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
    2282 [AC_CACHE_CHECK([how to recognise dependent libraries],
     3221[AC_CACHE_CHECK([how to recognize dependent libraries],
    22833222lt_cv_deplibs_check_method,
    22843223[lt_cv_file_magic_cmd='$MAGIC_CMD'
     
    22973236
    22983237case $host_os in
    2299 aix4* | aix5*)
     3238aix[[4-9]]*)
    23003239  lt_cv_deplibs_check_method=pass_all
    23013240  ;;
     
    23193258mingw* | pw32*)
    23203259  # Base MSYS/MinGW do not provide the 'file' command needed by
    2321   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
    2322   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
    2323   lt_cv_file_magic_cmd='$OBJDUMP -f'
     3260  # func_win32_libid shell function, so use a weaker test based on 'objdump',
     3261  # unless we find 'file', for example because we are cross-compiling.
     3262  if ( file / ) >/dev/null 2>&1; then
     3263    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
     3264    lt_cv_file_magic_cmd='func_win32_libid'
     3265  else
     3266    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
     3267    lt_cv_file_magic_cmd='$OBJDUMP -f'
     3268  fi
    23243269  ;;
    23253270
     
    23283273  ;;
    23293274
    2330 freebsd* | kfreebsd*-gnu | dragonfly*)
     3275freebsd* | dragonfly*)
    23313276  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
    23323277    case $host_cpu in
     
    23663311  ;;
    23673312
    2368 interix3*)
     3313interix[[3-9]]*)
    23693314  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
    23703315  lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
     
    23823327
    23833328# This must be Linux ELF.
    2384 linux*)
     3329linux* | k*bsd*-gnu)
    23853330  lt_cv_deplibs_check_method=pass_all
    23863331  ;;
    23873332
    2388 netbsd*)
     3333netbsd* | netbsdelf*-gnu)
    23893334  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
    23903335    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
     
    24133358
    24143359osf3* | osf4* | osf5*)
     3360  lt_cv_deplibs_check_method=pass_all
     3361  ;;
     3362
     3363rdos*)
    24153364  lt_cv_deplibs_check_method=pass_all
    24163365  ;;
     
    24683417else
    24693418  lt_nm_to_check="${ac_tool_prefix}nm"
    2470   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 
     3419  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
    24713420    lt_nm_to_check="$lt_nm_to_check nm"
    24723421  fi
     
    26843633
    26853634# Code to be used in simple compile tests
    2686 lt_simple_compile_test_code="int some_variable = 0;\n"
     3635lt_simple_compile_test_code="int some_variable = 0;"
    26873636
    26883637# Code to be used in simple link tests
    2689 lt_simple_link_test_code='int main(){return(0);}\n'
     3638lt_simple_link_test_code='int main(){return(0);}'
    26903639
    26913640_LT_AC_SYS_COMPILER
     
    27233672  ;;
    27243673
    2725 aix4* | aix5*)
     3674aix[[4-9]]*)
    27263675  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
    27273676    test "$enable_shared" = yes && enable_static=no
     
    27803729_LT_AC_TAGVAR(postdeps, $1)=
    27813730_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
     3731_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
    27823732
    27833733# Source file extension for C++ test sources.
     
    27893739
    27903740# Code to be used in simple compile tests
    2791 lt_simple_compile_test_code="int some_variable = 0;\n"
     3741lt_simple_compile_test_code="int some_variable = 0;"
    27923742
    27933743# Code to be used in simple link tests
    2794 lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n'
     3744lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
    27953745
    27963746# ltmain only uses $CC for tagged configurations so make sure $CC is set.
     
    28893839    _LT_AC_TAGVAR(ld_shlibs, $1)=no
    28903840    ;;
    2891   aix4* | aix5*)
     3841  aix[[4-9]]*)
    28923842    if test "$host_cpu" = ia64; then
    28933843      # On IA64, the linker does run time linking by default, so we don't
     
    29023852      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
    29033853      # need to do runtime linking.
    2904       case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
     3854      case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
    29053855        for ld_flag in $LDFLAGS; do
    29063856          case $ld_flag in
     
    29383888        then
    29393889          # We have reworked collect2
    2940           _LT_AC_TAGVAR(hardcode_direct, $1)=yes
     3890          :
    29413891        else
    29423892          # We have old collect2
     
    30483998  ;;
    30493999      darwin* | rhapsody*)
    3050         case $host_os in
    3051         rhapsody* | darwin1.[[012]])
    3052          _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
    3053          ;;
    3054        *) # Darwin 1.3 on
    3055          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
    3056            _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
    3057          else
    3058            case ${MACOSX_DEPLOYMENT_TARGET} in
    3059              10.[[012]])
    3060                _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
    3061                ;;
    3062              10.*)
    3063                _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
    3064                ;;
    3065            esac
    3066          fi
    3067          ;;
    3068         esac
    30694000      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
    30704001      _LT_AC_TAGVAR(hardcode_direct, $1)=no
     
    30734004      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
    30744005      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
    3075 
    3076     if test "$GXX" = yes ; then
    3077       lt_int_apple_cc_single_mod=no
     4006      _LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
     4007      if test "$GXX" = yes ; then
    30784008      output_verbose_link_cmd='echo'
    3079       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
    3080        lt_int_apple_cc_single_mod=yes
     4009      _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
     4010      _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
     4011      _LT_AC_TAGVAR(archive_expsym_cmds, $1)="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}"
     4012      _LT_AC_TAGVAR(module_expsym_cmds, $1)="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}"
     4013      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
     4014        _LT_AC_TAGVAR(archive_cmds, $1)="\$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}"
     4015        _LT_AC_TAGVAR(archive_expsym_cmds, $1)="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}"
    30814016      fi
    3082       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
    3083        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
    3084       else
    3085           _LT_AC_TAGVAR(archive_cmds, $1)='$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'
    3086         fi
    3087         _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
    3088         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
    3089           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
    3090             _LT_AC_TAGVAR(archive_expsym_cmds, $1)='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}'
    3091           else
    3092             _LT_AC_TAGVAR(archive_expsym_cmds, $1)='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}'
    3093           fi
    3094             _LT_AC_TAGVAR(module_expsym_cmds, $1)='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}'
    30954017      else
    30964018      case $cc_basename in
    30974019        xlc*)
    30984020         output_verbose_link_cmd='echo'
    3099           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
     4021          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
    31004022          _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
    31014023          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
    3102           _LT_AC_TAGVAR(archive_expsym_cmds, $1)='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}'
     4024          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='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}'
    31034025          _LT_AC_TAGVAR(module_expsym_cmds, $1)='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}'
    31044026          ;;
     
    31344056    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
    31354057    ;;
    3136   freebsd* | kfreebsd*-gnu | dragonfly*)
     4058  freebsd* | dragonfly*)
    31374059    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
    31384060    # conventions
     
    31834105
    31844106      case $host_cpu in
    3185       hppa*64*|ia64*)
    3186         _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
    3187         ;;
     4107      hppa*64*|ia64*) ;;
    31884108      *)
    31894109        _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
     
    32534173    esac
    32544174    ;;
    3255   interix3*)
     4175  interix[[3-9]]*)
    32564176    _LT_AC_TAGVAR(hardcode_direct, $1)=no
    32574177    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
     
    32934213    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
    32944214    ;;
    3295   linux*)
     4215  linux* | k*bsd*-gnu)
    32964216    case $cc_basename in
    32974217      KCC*)
     
    33454265        _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
    33464266        ;;
    3347       pgCC*)
     4267      pgCC* | pgcpp*)
    33484268        # Portland Group C++ compiler
    33494269        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
     
    33734293        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'
    33744294        ;;
     4295      *)
     4296        case `$CC -V 2>&1 | sed 5q` in
     4297        *Sun\ C*)
     4298          # Sun C++ 5.9
     4299          _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
     4300          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     4301          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
     4302          _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
     4303          _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${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'
     4304
     4305          # Not sure whether something based on
     4306          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
     4307          # would be better.
     4308          output_verbose_link_cmd='echo'
     4309
     4310          # Archives containing C++ object files must be created using
     4311          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
     4312          # necessary to make sure instantiated templates are included
     4313          # in the archive.
     4314          _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
     4315          ;;
     4316        esac
     4317        ;;
    33754318    esac
    33764319    ;;
     
    33954338    esac
    33964339    ;;
    3397   netbsd*)
     4340  netbsd* | netbsdelf*-gnu)
    33984341    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
    33994342      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
     
    34114354    ;;
    34124355  openbsd*)
    3413     _LT_AC_TAGVAR(hardcode_direct, $1)=yes
    3414     _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
    3415     _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
    3416     _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
    3417     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    3418       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
    3419       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
    3420       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
     4356    if test -f /usr/libexec/ld.so; then
     4357      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
     4358      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
     4359      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
     4360      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
     4361      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
     4362        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
     4363        _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
     4364        _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
     4365      fi
     4366      output_verbose_link_cmd='echo'
     4367    else
     4368      _LT_AC_TAGVAR(ld_shlibs, $1)=no
    34214369    fi
    3422     output_verbose_link_cmd='echo'
    34234370    ;;
    34244371  osf3*)
     
    35824529          solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
    35834530          *)
    3584             # The C++ compiler is used as linker so we must use $wl
    3585             # flag to pass the commands to the underlying system
    3586             # linker. We must also pass each convience library through
    3587             # to the system linker between allextract/defaultextract.
    3588             # The C++ compiler will combine linker options so we
    3589             # cannot just pass the convience library names through
    3590             # without $wl.
     4531            # The compiler driver will combine and reorder linker options,
     4532            # but understands `-z linker_flag'.
    35914533            # Supported since Solaris 2.6 (maybe 2.5.1?)
    3592             _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${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'
     4534            _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
    35934535            ;;
    35944536        esac
     
    36374579
    36384580          _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
     4581          case $host_os in
     4582          solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
     4583          *)
     4584            _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
     4585            ;;
     4586          esac
    36394587        fi
    36404588        ;;
     
    37524700# Parse the compiler output and extract the necessary
    37534701# objects, libraries and library flags.
    3754 AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
     4702AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],
     4703[AC_REQUIRE([LT_AC_PROG_SED])dnl
    37554704dnl we can't use the lt_simple_compile_test_code here,
    37564705dnl because it contains code intended for an executable,
     
    38774826$rm -f confest.$objext
    38784827
     4828_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
     4829if test -n "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
     4830  _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_AC_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
     4831fi
     4832
    38794833# PORTME: override above test on systems where it is broken
    38804834ifelse([$1],[CXX],
    38814835[case $host_os in
    3882 interix3*)
     4836interix[[3-9]]*)
    38834837  # Interix 3.5 installs completely hosed .la files for C++, so rather than
    38844838  # hack all around it, let's just trust "g++" to DTRT.
     
    38884842  ;;
    38894843
     4844linux*)
     4845  case `$CC -V 2>&1 | sed 5q` in
     4846  *Sun\ C*)
     4847    # Sun C++ 5.9
     4848    #
     4849    # The more standards-conforming stlport4 library is
     4850    # incompatible with the Cstd library. Avoid specifying
     4851    # it if it's in CXXFLAGS. Ignore libCrun as
     4852    # -library=stlport4 depends on it.
     4853    case " $CXX $CXXFLAGS " in
     4854    *" -library=stlport4 "*)
     4855      solaris_use_stlport4=yes
     4856      ;;
     4857    esac
     4858    if test "$solaris_use_stlport4" != yes; then
     4859      _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
     4860    fi
     4861    ;;
     4862  esac
     4863  ;;
     4864
    38904865solaris*)
    38914866  case $cc_basename in
    38924867  CC*)
     4868    # The more standards-conforming stlport4 library is
     4869    # incompatible with the Cstd library. Avoid specifying
     4870    # it if it's in CXXFLAGS. Ignore libCrun as
     4871    # -library=stlport4 depends on it.
     4872    case " $CXX $CXXFLAGS " in
     4873    *" -library=stlport4 "*)
     4874      solaris_use_stlport4=yes
     4875      ;;
     4876    esac
     4877
    38934878    # Adding this requires a known-good setup of shared libraries for
    38944879    # Sun compiler versions before 5.6, else PIC objects from an old
    38954880    # archive will be linked into the output, leading to subtle bugs.
    3896     _LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun'
     4881    if test "$solaris_use_stlport4" != yes; then
     4882      _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
     4883    fi
    38974884    ;;
    38984885  esac
     
    39004887esac
    39014888])
    3902 
    39034889case " $_LT_AC_TAGVAR(postdeps, $1) " in
    39044890*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
     
    39434929
    39444930# Code to be used in simple compile tests
    3945 lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
     4931lt_simple_compile_test_code="\
     4932      subroutine t
     4933      return
     4934      end
     4935"
    39464936
    39474937# Code to be used in simple link tests
    3948 lt_simple_link_test_code="      program t\n      end\n"
     4938lt_simple_link_test_code="\
     4939      program t
     4940      end
     4941"
    39494942
    39504943# ltmain only uses $CC for tagged configurations so make sure $CC is set.
     
    39784971  fi
    39794972  ;;
    3980 aix4* | aix5*)
     4973aix[[4-9]]*)
    39814974  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
    39824975    test "$enable_shared" = yes && enable_static=no
     
    40255018
    40265019# Code to be used in simple compile tests
    4027 lt_simple_compile_test_code="class foo {}\n"
     5020lt_simple_compile_test_code="class foo {}"
    40285021
    40295022# Code to be used in simple link tests
    4030 lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }\n'
     5023lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
    40315024
    40325025# ltmain only uses $CC for tagged configurations so make sure $CC is set.
     
    40815074
    40825075# Code to be used in simple compile tests
    4083 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
     5076lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
    40845077
    40855078# Code to be used in simple link tests
     
    41555148    _LT_AC_TAGVAR(postdeps, $1) \
    41565149    _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
     5150    _LT_AC_TAGVAR(compiler_lib_search_dirs, $1) \
    41575151    _LT_AC_TAGVAR(archive_cmds, $1) \
    41585152    _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
     
    41705164    _LT_AC_TAGVAR(module_expsym_cmds, $1) \
    41715165    _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
     5166    _LT_AC_TAGVAR(fix_srcfile_path, $1) \
    41725167    _LT_AC_TAGVAR(exclude_expsyms, $1) \
    41735168    _LT_AC_TAGVAR(include_expsyms, $1); do
     
    42165211# NOTE: Changes made to this file will be lost: look at ltmain.sh.
    42175212#
    4218 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
     5213# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
    42195214# Free Software Foundation, Inc.
    42205215#
     
    43065301with_gcc=$_LT_AC_TAGVAR(GCC, $1)
    43075302
    4308 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
    4309 gcc_ver=\`gcc -dumpversion\`
    4310 
    43115303# An ERE matcher.
    43125304EGREP=$lt_EGREP
     
    44425434# Dependencies to place before the objects being linked to create a
    44435435# shared library.
    4444 predep_objects=\`echo $lt_[]_LT_AC_TAGVAR(predep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
     5436predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
    44455437
    44465438# Dependencies to place after the objects being linked to create a
    44475439# shared library.
    4448 postdep_objects=\`echo $lt_[]_LT_AC_TAGVAR(postdep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
     5440postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
    44495441
    44505442# Dependencies to place before the objects being linked to create a
     
    44565448postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
    44575449
     5450# The directories searched by this compiler when creating a shared
     5451# library
     5452compiler_lib_search_dirs=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)
     5453
    44585454# The library search path used internally by the compiler when linking
    44595455# a shared library.
    4460 compiler_lib_search_path=\`echo $lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
     5456compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
    44615457
    44625458# Method to check whether dependent libraries are shared objects.
     
    45385534
    45395535# Compile-time system search path for libraries
    4540 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
     5536sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
    45415537
    45425538# Run-time system search path for libraries
     
    45445540
    45455541# Fix the shell variable \$srcfile for the compiler.
    4546 fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
     5542fix_srcfile_path=$lt_fix_srcfile_path
    45475543
    45485544# Set to yes if exported symbols are required.
     
    46275623AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
    46285624[AC_REQUIRE([AC_CANONICAL_HOST])
     5625AC_REQUIRE([LT_AC_PROG_SED])
    46295626AC_REQUIRE([AC_PROG_NM])
    46305627AC_REQUIRE([AC_OBJEXT])
     
    46635660  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'"
    46645661  ;;
    4665 linux*)
     5662linux* | k*bsd*-gnu)
    46665663  if test "$host_cpu" = ia64; then
    46675664    symcode='[[ABCDGIRSTW]]'
     
    48045801    cat conftest.$ac_ext >&5
    48055802  fi
    4806   rm -f conftest* conftst*
     5803  rm -rf conftest* conftst*
    48075804
    48085805  # Do not use the global_symbol_pipe unless it works.
     
    48535850      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
    48545851      ;;
    4855     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
     5852    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
    48565853      # PIC is the default for these OSes.
    48575854      ;;
    4858     mingw* | os2* | pw32*)
     5855    mingw* | cygwin* | os2* | pw32*)
    48595856      # This hack is so that the source file can tell whether it is being
    48605857      # built for inclusion in a dll (and should export symbols for example).
    4861       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
     5858      # Although the cygwin gcc ignores -fPIC, still need this for old-style
     5859      # (--disable-auto-import) libraries
     5860      m4_if([$1], [GCJ], [],
     5861        [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
    48625862      ;;
    48635863    darwin* | rhapsody*)
     
    48705870      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
    48715871      ;;
    4872     interix3*)
     5872    interix[[3-9]]*)
    48735873      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
    48745874      # Instead, we relocate shared libraries at runtime.
     
    48965896  else
    48975897    case $host_os in
    4898       aix4* | aix5*)
     5898      aix[[4-9]]*)
    48995899        # All AIX code is PIC.
    49005900        if test "$host_cpu" = ia64; then
     
    49365936        esac
    49375937        ;;
    4938       freebsd* | kfreebsd*-gnu | dragonfly*)
     5938      freebsd* | dragonfly*)
    49395939        # FreeBSD uses GNU C++
    49405940        ;;
     
    49795979        esac
    49805980        ;;
    4981       linux*)
     5981      linux* | k*bsd*-gnu)
    49825982        case $cc_basename in
    49835983          KCC*)
     
    49925992            _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
    49935993            ;;
    4994           pgCC*)
     5994          pgCC* | pgcpp*)
    49955995            # Portland Group C++ compiler.
    49965996            _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
     
    50066006            ;;
    50076007          *)
     6008            case `$CC -V 2>&1 | sed 5q` in
     6009            *Sun\ C*)
     6010              # Sun C++ 5.9
     6011              _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
     6012              _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
     6013              _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
     6014              ;;
     6015            esac
    50086016            ;;
    50096017        esac
     
    50226030        esac
    50236031        ;;
    5024       netbsd*)
     6032      netbsd* | netbsdelf*-gnu)
    50256033        ;;
    50266034      osf3* | osf4* | osf5*)
     
    51266134      ;;
    51276135
    5128     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
     6136    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
    51296137      # PIC is the default for these OSes.
    51306138      ;;
    51316139
    5132     mingw* | pw32* | os2*)
     6140    mingw* | cygwin* | pw32* | os2*)
    51336141      # This hack is so that the source file can tell whether it is being
    51346142      # built for inclusion in a dll (and should export symbols for example).
    5135       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
     6143      # Although the cygwin gcc ignores -fPIC, still need this for old-style
     6144      # (--disable-auto-import) libraries
     6145      m4_if([$1], [GCJ], [],
     6146        [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
    51366147      ;;
    51376148
     
    51426153      ;;
    51436154
    5144     interix3*)
     6155    interix[[3-9]]*)
    51456156      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
    51466157      # Instead, we relocate shared libraries at runtime.
     
    52006211       ;;
    52016212
    5202     mingw* | pw32* | os2*)
     6213    mingw* | cygwin* | pw32* | os2*)
    52036214      # This hack is so that the source file can tell whether it is being
    52046215      # built for inclusion in a dll (and should export symbols for example).
    5205       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
     6216      m4_if([$1], [GCJ], [],
     6217        [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
    52066218      ;;
    52076219
     
    52336245      ;;
    52346246
    5235     linux*)
     6247    linux* | k*bsd*-gnu)
    52366248      case $cc_basename in
    52376249      icc* | ecc*)
     
    52526264        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
    52536265        ;;
     6266      *)
     6267        case `$CC -V 2>&1 | sed 5q` in
     6268        *Sun\ C*)
     6269          # Sun C 5.9
     6270          _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
     6271          _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
     6272          _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
     6273          ;;
     6274        *Sun\ F*)
     6275          # Sun Fortran 8.3 passes all unrecognized flags to the linker
     6276          _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
     6277          _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
     6278          _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=''
     6279          ;;
     6280        esac
     6281        ;;
    52546282      esac
    52556283      ;;
     
    52586286      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    52596287      # All OSF/1 code is PIC.
     6288      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
     6289      ;;
     6290
     6291    rdos*)
    52606292      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
    52616293      ;;
     
    53206352if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
    53216353  AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
    5322     _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
     6354    _LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1),
    53236355    [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
    53246356    [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
     
    53446376wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
    53456377AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
    5346   _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
     6378  _LT_AC_TAGVAR(lt_cv_prog_compiler_static_works, $1),
    53476379  $lt_tmp_static_flag,
    53486380  [],
     
    53556387# See if the linker supports building shared libraries.
    53566388AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
    5357 [AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
     6389[AC_REQUIRE([LT_AC_PROG_SED])dnl
     6390AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
    53586391ifelse([$1],[CXX],[
    53596392  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
    53606393  case $host_os in
    5361   aix4* | aix5*)
     6394  aix[[4-9]]*)
    53626395    # If we're using GNU nm, then we don't want the "-C" option.
    53636396    # -C means demangle to AIX nm, but means don't demangle with GNU nm
     
    53726405  ;;
    53736406  cygwin* | mingw*)
    5374     _LT_AC_TAGVAR(export_symbols_cmds, $1)='$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'
     6407    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$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'
     6408  ;;
     6409  linux* | k*bsd*-gnu)
     6410    _LT_AC_TAGVAR(link_all_deplibs, $1)=no
    53756411  ;;
    53766412  *)
     
    53786414  ;;
    53796415  esac
     6416  _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
    53806417],[
    53816418  runpath_var=
     
    54086445  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
    54096446  # as well as any symbol that contains `d'.
    5410   _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
     6447  _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
    54116448  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
    54126449  # platforms (ab)use it in PIC code, but their linkers get confused if
     
    54146451  # rely on this symbol name, it's probably fine to never include it in
    54156452  # preloaded symbol tables.
     6453  # Exclude shared library initialization/finalization symbols.
     6454dnl Note also adjust exclude_expsyms for C++ above.
    54166455  extract_expsyms_cmds=
    54176456  # Just being paranoid about ensuring that cc_basename is set.
     
    54636502    # See if GNU ld supports shared libraries.
    54646503    case $host_os in
    5465     aix3* | aix4* | aix5*)
     6504    aix[[3-9]]*)
    54666505      # On AIX/PPC, the GNU linker is very broken
    54676506      if test "$host_cpu" != ia64; then
     
    55116550      _LT_AC_TAGVAR(always_export_symbols, $1)=no
    55126551      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
    5513       _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
     6552      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
    55146553
    55156554      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
     
    55296568      ;;
    55306569
    5531     interix3*)
     6570    interix[[3-9]]*)
    55326571      _LT_AC_TAGVAR(hardcode_direct, $1)=no
    55336572      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
     
    55446583      ;;
    55456584
    5546     linux*)
     6585    gnu* | linux* | k*bsd*-gnu)
    55476586      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    55486587        tmp_addflag=
     
    55626601          tmp_addflag=' -nofor_main' ;;
    55636602        esac
    5564         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     6603        case `$CC -V 2>&1 | sed 5q` in
     6604        *Sun\ C*)                       # Sun C 5.9
     6605          _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${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'
     6606          tmp_sharedflag='-G' ;;
     6607        *Sun\ F*)                       # Sun Fortran 8.3
     6608          tmp_sharedflag='-G' ;;
     6609        *)
     6610          tmp_sharedflag='-shared' ;;
     6611        esac
     6612        _LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    55656613
    55666614        if test $supports_anon_versioning = yes; then
     
    55686616  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    55696617  $echo "local: *; };" >> $output_objdir/$libname.ver~
    5570           $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
     6618          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
    55716619        fi
     6620        _LT_AC_TAGVAR(link_all_deplibs, $1)=no
    55726621      else
    55736622        _LT_AC_TAGVAR(ld_shlibs, $1)=no
     
    55756624      ;;
    55766625
    5577     netbsd*)
     6626    netbsd* | netbsdelf*-gnu)
    55786627      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
    55796628        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
     
    56086657    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
    56096658      case `$LD -v 2>&1` in
    5610         *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) 
     6659        *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
    56116660        _LT_AC_TAGVAR(ld_shlibs, $1)=no
    56126661        cat <<_LT_EOF 1>&2
     
    56736722      ;;
    56746723
    5675     aix4* | aix5*)
     6724    aix[[4-9]]*)
    56766725      if test "$host_cpu" = ia64; then
    56776726        # On IA64, the linker does run time linking by default, so we don't
     
    56936742        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
    56946743        # need to do runtime linking.
    5695         case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
     6744        case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
    56966745          for ld_flag in $LDFLAGS; do
    56976746          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
     
    57276776          then
    57286777          # We have reworked collect2
    5729           _LT_AC_TAGVAR(hardcode_direct, $1)=yes
     6778          :
    57306779          else
    57316780          # We have old collect2
     
    58206869      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
    58216870      # FIXME: Should let the user specify the lib program.
    5822       _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
     6871      _LT_AC_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
    58236872      _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
    58246873      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
     
    58536902    if test "$GCC" = yes ; then
    58546903        output_verbose_link_cmd='echo'
    5855         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
    5856       _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
    5857       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
    5858       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='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}'
    5859       _LT_AC_TAGVAR(module_expsym_cmds, $1)='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}'
     6904        _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
     6905        _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
     6906        _LT_AC_TAGVAR(archive_expsym_cmds, $1)="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}"
     6907        _LT_AC_TAGVAR(module_expsym_cmds, $1)="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}"
    58606908    else
    58616909      case $cc_basename in
    58626910        xlc*)
    58636911         output_verbose_link_cmd='echo'
    5864          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
     6912         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
    58656913         _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
    58666914          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
    5867          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='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}'
     6915         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='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}'
    58686916          _LT_AC_TAGVAR(module_expsym_cmds, $1)='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}'
    58696917          ;;
     
    59056953
    59066954    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
    5907     freebsd* | kfreebsd*-gnu | dragonfly*)
     6955    freebsd* | dragonfly*)
    59086956      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
    59096957      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
     
    60077055      ;;
    60087056
    6009     netbsd*)
     7057    netbsd* | netbsdelf*-gnu)
    60107058      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
    60117059        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
     
    60277075
    60287076    openbsd*)
    6029       _LT_AC_TAGVAR(hardcode_direct, $1)=yes
    6030       _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
    6031       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    6032         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    6033         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
    6034         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
    6035         _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
     7077      if test -f /usr/libexec/ld.so; then
     7078        _LT_AC_TAGVAR(hardcode_direct, $1)=yes
     7079        _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
     7080        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
     7081          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
     7082          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
     7083          _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
     7084          _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
     7085        else
     7086          case $host_os in
     7087           openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
     7088             _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
     7089             _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
     7090             ;;
     7091           *)
     7092             _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
     7093             _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
     7094             ;;
     7095          esac
     7096        fi
    60367097      else
    6037        case $host_os in
    6038          openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
    6039            _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
    6040            _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
    6041            ;;
    6042          *)
    6043            _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    6044            _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
    6045            ;;
    6046        esac
     7098        _LT_AC_TAGVAR(ld_shlibs, $1)=no
    60477099      fi
    60487100      ;;
     
    61037155      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
    61047156      *)
    6105         # The compiler driver will combine linker options so we
    6106         # cannot just pass the convience library names through
    6107         # without $wl, iff we do not link with $LD.
    6108         # Luckily, gcc supports the same syntax we need for Sun Studio.
     7157        # The compiler driver will combine and reorder linker options,
     7158        # but understands `-z linker_flag'.  GCC discards it without `$wl',
     7159        # but is careful enough not to reorder.
    61097160        # Supported since Solaris 2.6 (maybe 2.5.1?)
    6110         case $wlarc in
    6111         '')
    6112           _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
    6113         *)
    6114           _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${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' ;;
    6115         esac ;;
     7161        if test "$GCC" = yes; then
     7162          _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
     7163        else
     7164          _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
     7165        fi
     7166        ;;
    61167167      esac
    61177168      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
     
    61707221      ;;
    61717222
    6172     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7*)
     7223    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
    61737224      _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
    61747225      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
     
    62457296      AC_MSG_CHECKING([whether -lc should be explicitly linked in])
    62467297      $rm conftest*
    6247       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
     7298      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    62487299
    62497300      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
     
    63407391AC_DEFUN([LT_AC_PROG_GCJ],
    63417392[AC_CHECK_TOOL(GCJ, gcj, no)
    6342   test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-O2"
     7393  test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
    63437394  AC_SUBST(GCJFLAGS)
    63447395])
     
    63477398[AC_CHECK_TOOL(RC, windres, no)
    63487399])
     7400
     7401
     7402# Cheap backport of AS_EXECUTABLE_P and required macros
     7403# from Autoconf 2.59; we should not use $as_executable_p directly.
     7404
     7405# _AS_TEST_PREPARE
     7406# ----------------
     7407m4_ifndef([_AS_TEST_PREPARE],
     7408[m4_defun([_AS_TEST_PREPARE],
     7409[if test -x / >/dev/null 2>&1; then
     7410  as_executable_p='test -x'
     7411else
     7412  as_executable_p='test -f'
     7413fi
     7414])])# _AS_TEST_PREPARE
     7415
     7416# AS_EXECUTABLE_P
     7417# ---------------
     7418# Check whether a file is executable.
     7419m4_ifndef([AS_EXECUTABLE_P],
     7420[m4_defun([AS_EXECUTABLE_P],
     7421[AS_REQUIRE([_AS_TEST_PREPARE])dnl
     7422$as_executable_p $1[]dnl
     7423])])# AS_EXECUTABLE_P
    63497424
    63507425# NOTE: This macro has been submitted for inclusion into   #
     
    63687443  for lt_ac_prog in sed gsed; do
    63697444    for ac_exec_ext in '' $ac_executable_extensions; do
    6370       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
     7445      if AS_EXECUTABLE_P(["$as_dir/$lt_ac_prog$ac_exec_ext"]); then
    63717446        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
    63727447      fi
     
    64117486])
    64127487
    6413 # Copyright (C) 2002, 2003, 2005  Free Software Foundation, Inc.
    6414 #
    6415 # This file is free software; the Free Software Foundation
    6416 # gives unlimited permission to copy and/or distribute it,
    6417 # with or without modifications, as long as this notice is preserved.
    6418 
    6419 # AM_AUTOMAKE_VERSION(VERSION)
    6420 # ----------------------------
    6421 # Automake X.Y traces this macro to ensure aclocal.m4 has been
    6422 # generated from the m4 files accompanying Automake X.Y.
    6423 AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
    6424 
    6425 # AM_SET_CURRENT_AUTOMAKE_VERSION
    6426 # -------------------------------
    6427 # Call AM_AUTOMAKE_VERSION so it can be traced.
    6428 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
    6429 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
    6430          [AM_AUTOMAKE_VERSION([1.9.6])])
    6431 
    6432 # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
    6433 
    6434 # Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
    6435 #
    6436 # This file is free software; the Free Software Foundation
    6437 # gives unlimited permission to copy and/or distribute it,
    6438 # with or without modifications, as long as this notice is preserved.
    6439 
    6440 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
    6441 # $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
    6442 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
    6443 #
    6444 # Of course, Automake must honor this variable whenever it calls a
    6445 # tool from the auxiliary directory.  The problem is that $srcdir (and
    6446 # therefore $ac_aux_dir as well) can be either absolute or relative,
    6447 # depending on how configure is run.  This is pretty annoying, since
    6448 # it makes $ac_aux_dir quite unusable in subdirectories: in the top
    6449 # source directory, any form will work fine, but in subdirectories a
    6450 # relative path needs to be adjusted first.
    6451 #
    6452 # $ac_aux_dir/missing
    6453 #    fails when called from a subdirectory if $ac_aux_dir is relative
    6454 # $top_srcdir/$ac_aux_dir/missing
    6455 #    fails if $ac_aux_dir is absolute,
    6456 #    fails when called from a subdirectory in a VPATH build with
    6457 #          a relative $ac_aux_dir
    6458 #
    6459 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
    6460 # are both prefixed by $srcdir.  In an in-source build this is usually
    6461 # harmless because $srcdir is `.', but things will broke when you
    6462 # start a VPATH build or use an absolute $srcdir.
    6463 #
    6464 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
    6465 # iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
    6466 #   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
    6467 # and then we would define $MISSING as
    6468 #   MISSING="\${SHELL} $am_aux_dir/missing"
    6469 # This will work as long as MISSING is not called from configure, because
    6470 # unfortunately $(top_srcdir) has no meaning in configure.
    6471 # However there are other variables, like CC, which are often used in
    6472 # configure, and could therefore not use this "fixed" $ac_aux_dir.
    6473 #
    6474 # Another solution, used here, is to always expand $ac_aux_dir to an
    6475 # absolute PATH.  The drawback is that using absolute paths prevent a
    6476 # configured tree to be moved without reconfiguration.
    6477 
    6478 AC_DEFUN([AM_AUX_DIR_EXPAND],
    6479 [dnl Rely on autoconf to set up CDPATH properly.
    6480 AC_PREREQ([2.50])dnl
    6481 # expand $ac_aux_dir to an absolute path
    6482 am_aux_dir=`cd $ac_aux_dir && pwd`
    6483 ])
    6484 
    6485 # AM_CONDITIONAL                                            -*- Autoconf -*-
    6486 
    6487 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
    6488 # Free Software Foundation, Inc.
    6489 #
    6490 # This file is free software; the Free Software Foundation
    6491 # gives unlimited permission to copy and/or distribute it,
    6492 # with or without modifications, as long as this notice is preserved.
    6493 
    6494 # serial 7
    6495 
    6496 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
    6497 # -------------------------------------
    6498 # Define a conditional.
    6499 AC_DEFUN([AM_CONDITIONAL],
    6500 [AC_PREREQ(2.52)dnl
    6501  ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
    6502         [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
    6503 AC_SUBST([$1_TRUE])
    6504 AC_SUBST([$1_FALSE])
    6505 if $2; then
    6506   $1_TRUE=
    6507   $1_FALSE='#'
    6508 else
    6509   $1_TRUE='#'
    6510   $1_FALSE=
    6511 fi
    6512 AC_CONFIG_COMMANDS_PRE(
    6513 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
    6514   AC_MSG_ERROR([[conditional "$1" was never defined.
    6515 Usually this means the macro was only invoked conditionally.]])
    6516 fi])])
    6517 
    6518 
    6519 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
    6520 # Free Software Foundation, Inc.
    6521 #
    6522 # This file is free software; the Free Software Foundation
    6523 # gives unlimited permission to copy and/or distribute it,
    6524 # with or without modifications, as long as this notice is preserved.
    6525 
    6526 # serial 8
    6527 
    6528 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
    6529 # written in clear, in which case automake, when reading aclocal.m4,
    6530 # will think it sees a *use*, and therefore will trigger all it's
    6531 # C support machinery.  Also note that it means that autoscan, seeing
    6532 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
    6533 
    6534 
    6535 # _AM_DEPENDENCIES(NAME)
    6536 # ----------------------
    6537 # See how the compiler implements dependency checking.
    6538 # NAME is "CC", "CXX", "GCJ", or "OBJC".
    6539 # We try a few techniques and use that to set a single cache variable.
    6540 #
    6541 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
    6542 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
    6543 # dependency, and given that the user is not expected to run this macro,
    6544 # just rely on AC_PROG_CC.
    6545 AC_DEFUN([_AM_DEPENDENCIES],
    6546 [AC_REQUIRE([AM_SET_DEPDIR])dnl
    6547 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
    6548 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
    6549 AC_REQUIRE([AM_DEP_TRACK])dnl
    6550 
    6551 ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
    6552        [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
    6553        [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
    6554        [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
    6555                    [depcc="$$1"   am_compiler_list=])
    6556 
    6557 AC_CACHE_CHECK([dependency style of $depcc],
    6558                [am_cv_$1_dependencies_compiler_type],
    6559 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
    6560   # We make a subdir and do the tests there.  Otherwise we can end up
    6561   # making bogus files that we don't know about and never remove.  For
    6562   # instance it was reported that on HP-UX the gcc test will end up
    6563   # making a dummy file named `D' -- because `-MD' means `put the output
    6564   # in D'.
    6565   mkdir conftest.dir
    6566   # Copy depcomp to subdir because otherwise we won't find it if we're
    6567   # using a relative directory.
    6568   cp "$am_depcomp" conftest.dir
    6569   cd conftest.dir
    6570   # We will build objects and dependencies in a subdirectory because
    6571   # it helps to detect inapplicable dependency modes.  For instance
    6572   # both Tru64's cc and ICC support -MD to output dependencies as a
    6573   # side effect of compilation, but ICC will put the dependencies in
    6574   # the current directory while Tru64 will put them in the object
    6575   # directory.
    6576   mkdir sub
    6577 
    6578   am_cv_$1_dependencies_compiler_type=none
    6579   if test "$am_compiler_list" = ""; then
    6580      am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
    6581   fi
    6582   for depmode in $am_compiler_list; do
    6583     # Setup a source with many dependencies, because some compilers
    6584     # like to wrap large dependency lists on column 80 (with \), and
    6585     # we should not choose a depcomp mode which is confused by this.
    6586     #
    6587     # We need to recreate these files for each test, as the compiler may
    6588     # overwrite some of them when testing with obscure command lines.
    6589     # This happens at least with the AIX C compiler.
    6590     : > sub/conftest.c
    6591     for i in 1 2 3 4 5 6; do
    6592       echo '#include "conftst'$i'.h"' >> sub/conftest.c
    6593       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
    6594       # Solaris 8's {/usr,}/bin/sh.
    6595       touch sub/conftst$i.h
    6596     done
    6597     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
    6598 
    6599     case $depmode in
    6600     nosideeffect)
    6601       # after this tag, mechanisms are not by side-effect, so they'll
    6602       # only be used when explicitly requested
    6603       if test "x$enable_dependency_tracking" = xyes; then
    6604         continue
    6605       else
    6606         break
    6607       fi
    6608       ;;
    6609     none) break ;;
    6610     esac
    6611     # We check with `-c' and `-o' for the sake of the "dashmstdout"
    6612     # mode.  It turns out that the SunPro C++ compiler does not properly
    6613     # handle `-M -o', and we need to detect this.
    6614     if depmode=$depmode \
    6615        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
    6616        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
    6617        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
    6618          >/dev/null 2>conftest.err &&
    6619        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
    6620        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
    6621        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    6622       # icc doesn't choke on unknown options, it will just issue warnings
    6623       # or remarks (even with -Werror).  So we grep stderr for any message
    6624       # that says an option was ignored or not supported.
    6625       # When given -MP, icc 7.0 and 7.1 complain thusly:
    6626       #   icc: Command line warning: ignoring option '-M'; no argument required
    6627       # The diagnosis changed in icc 8.0:
    6628       #   icc: Command line remark: option '-MP' not supported
    6629       if (grep 'ignoring option' conftest.err ||
    6630           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
    6631         am_cv_$1_dependencies_compiler_type=$depmode
    6632         break
    6633       fi
    6634     fi
    6635   done
    6636 
    6637   cd ..
    6638   rm -rf conftest.dir
    6639 else
    6640   am_cv_$1_dependencies_compiler_type=none
    6641 fi
    6642 ])
    6643 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
    6644 AM_CONDITIONAL([am__fastdep$1], [
    6645   test "x$enable_dependency_tracking" != xno \
    6646   && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
    6647 ])
    6648 
    6649 
    6650 # AM_SET_DEPDIR
    6651 # -------------
    6652 # Choose a directory name for dependency files.
    6653 # This macro is AC_REQUIREd in _AM_DEPENDENCIES
    6654 AC_DEFUN([AM_SET_DEPDIR],
    6655 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
    6656 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
    6657 ])
    6658 
    6659 
    6660 # AM_DEP_TRACK
    6661 # ------------
    6662 AC_DEFUN([AM_DEP_TRACK],
    6663 [AC_ARG_ENABLE(dependency-tracking,
    6664 [  --disable-dependency-tracking  speeds up one-time build
    6665   --enable-dependency-tracking   do not reject slow dependency extractors])
    6666 if test "x$enable_dependency_tracking" != xno; then
    6667   am_depcomp="$ac_aux_dir/depcomp"
    6668   AMDEPBACKSLASH='\'
    6669 fi
    6670 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
    6671 AC_SUBST([AMDEPBACKSLASH])
    6672 ])
    6673 
    6674 # Generate code to set up dependency tracking.              -*- Autoconf -*-
    6675 
    6676 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
    6677 # Free Software Foundation, Inc.
    6678 #
    6679 # This file is free software; the Free Software Foundation
    6680 # gives unlimited permission to copy and/or distribute it,
    6681 # with or without modifications, as long as this notice is preserved.
    6682 
    6683 #serial 3
    6684 
    6685 # _AM_OUTPUT_DEPENDENCY_COMMANDS
    6686 # ------------------------------
    6687 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
    6688 [for mf in $CONFIG_FILES; do
    6689   # Strip MF so we end up with the name of the file.
    6690   mf=`echo "$mf" | sed -e 's/:.*$//'`
    6691   # Check whether this is an Automake generated Makefile or not.
    6692   # We used to match only the files named `Makefile.in', but
    6693   # some people rename them; so instead we look at the file content.
    6694   # Grep'ing the first line is not enough: some people post-process
    6695   # each Makefile.in and add a new line on top of each file to say so.
    6696   # So let's grep whole file.
    6697   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
    6698     dirpart=`AS_DIRNAME("$mf")`
    6699   else
    6700     continue
    6701   fi
    6702   # Extract the definition of DEPDIR, am__include, and am__quote
    6703   # from the Makefile without running `make'.
    6704   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
    6705   test -z "$DEPDIR" && continue
    6706   am__include=`sed -n 's/^am__include = //p' < "$mf"`
    6707   test -z "am__include" && continue
    6708   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
    6709   # When using ansi2knr, U may be empty or an underscore; expand it
    6710   U=`sed -n 's/^U = //p' < "$mf"`
    6711   # Find all dependency output files, they are included files with
    6712   # $(DEPDIR) in their names.  We invoke sed twice because it is the
    6713   # simplest approach to changing $(DEPDIR) to its actual value in the
    6714   # expansion.
    6715   for file in `sed -n "
    6716     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
    6717        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
    6718     # Make sure the directory exists.
    6719     test -f "$dirpart/$file" && continue
    6720     fdir=`AS_DIRNAME(["$file"])`
    6721     AS_MKDIR_P([$dirpart/$fdir])
    6722     # echo "creating $dirpart/$file"
    6723     echo '# dummy' > "$dirpart/$file"
    6724   done
    6725 done
    6726 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
    6727 
    6728 
    6729 # AM_OUTPUT_DEPENDENCY_COMMANDS
    6730 # -----------------------------
    6731 # This macro should only be invoked once -- use via AC_REQUIRE.
    6732 #
    6733 # This code is only required when automatic dependency tracking
    6734 # is enabled.  FIXME.  This creates each `.P' file that we will
    6735 # need in order to bootstrap the dependency handling code.
    6736 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
    6737 [AC_CONFIG_COMMANDS([depfiles],
    6738      [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
    6739      [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
    6740 ])
    6741 
    6742 # Do all the work for Automake.                             -*- Autoconf -*-
    6743 
    6744 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    6745 # Free Software Foundation, Inc.
    6746 #
    6747 # This file is free software; the Free Software Foundation
    6748 # gives unlimited permission to copy and/or distribute it,
    6749 # with or without modifications, as long as this notice is preserved.
    6750 
    6751 # serial 12
    6752 
    6753 # This macro actually does too much.  Some checks are only needed if
    6754 # your package does certain things.  But this isn't really a big deal.
    6755 
    6756 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
    6757 # AM_INIT_AUTOMAKE([OPTIONS])
    6758 # -----------------------------------------------
    6759 # The call with PACKAGE and VERSION arguments is the old style
    6760 # call (pre autoconf-2.50), which is being phased out.  PACKAGE
    6761 # and VERSION should now be passed to AC_INIT and removed from
    6762 # the call to AM_INIT_AUTOMAKE.
    6763 # We support both call styles for the transition.  After
    6764 # the next Automake release, Autoconf can make the AC_INIT
    6765 # arguments mandatory, and then we can depend on a new Autoconf
    6766 # release and drop the old call support.
    6767 AC_DEFUN([AM_INIT_AUTOMAKE],
    6768 [AC_PREREQ([2.58])dnl
    6769 dnl Autoconf wants to disallow AM_ names.  We explicitly allow
    6770 dnl the ones we care about.
    6771 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
    6772 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
    6773 AC_REQUIRE([AC_PROG_INSTALL])dnl
    6774 # test to see if srcdir already configured
    6775 if test "`cd $srcdir && pwd`" != "`pwd`" &&
    6776    test -f $srcdir/config.status; then
    6777   AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
    6778 fi
    6779 
    6780 # test whether we have cygpath
    6781 if test -z "$CYGPATH_W"; then
    6782   if (cygpath --version) >/dev/null 2>/dev/null; then
    6783     CYGPATH_W='cygpath -w'
    6784   else
    6785     CYGPATH_W=echo
    6786   fi
    6787 fi
    6788 AC_SUBST([CYGPATH_W])
    6789 
    6790 # Define the identity of the package.
    6791 dnl Distinguish between old-style and new-style calls.
    6792 m4_ifval([$2],
    6793 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
    6794  AC_SUBST([PACKAGE], [$1])dnl
    6795  AC_SUBST([VERSION], [$2])],
    6796 [_AM_SET_OPTIONS([$1])dnl
    6797  AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
    6798  AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
    6799 
    6800 _AM_IF_OPTION([no-define],,
    6801 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
    6802  AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
    6803 
    6804 # Some tools Automake needs.
    6805 AC_REQUIRE([AM_SANITY_CHECK])dnl
    6806 AC_REQUIRE([AC_ARG_PROGRAM])dnl
    6807 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
    6808 AM_MISSING_PROG(AUTOCONF, autoconf)
    6809 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
    6810 AM_MISSING_PROG(AUTOHEADER, autoheader)
    6811 AM_MISSING_PROG(MAKEINFO, makeinfo)
    6812 AM_PROG_INSTALL_SH
    6813 AM_PROG_INSTALL_STRIP
    6814 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
    6815 # We need awk for the "check" target.  The system "awk" is bad on
    6816 # some platforms.
    6817 AC_REQUIRE([AC_PROG_AWK])dnl
    6818 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
    6819 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
    6820 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
    6821               [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
    6822                              [_AM_PROG_TAR([v7])])])
    6823 _AM_IF_OPTION([no-dependencies],,
    6824 [AC_PROVIDE_IFELSE([AC_PROG_CC],
    6825                   [_AM_DEPENDENCIES(CC)],
    6826                   [define([AC_PROG_CC],
    6827                           defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
    6828 AC_PROVIDE_IFELSE([AC_PROG_CXX],
    6829                   [_AM_DEPENDENCIES(CXX)],
    6830                   [define([AC_PROG_CXX],
    6831                           defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
    6832 ])
    6833 ])
    6834 
    6835 
    6836 # When config.status generates a header, we must update the stamp-h file.
    6837 # This file resides in the same directory as the config header
    6838 # that is generated.  The stamp files are numbered to have different names.
    6839 
    6840 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
    6841 # loop where config.status creates the headers, so we can generate
    6842 # our stamp files there.
    6843 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
    6844 [# Compute $1's index in $config_headers.
    6845 _am_stamp_count=1
    6846 for _am_header in $config_headers :; do
    6847   case $_am_header in
    6848     $1 | $1:* )
    6849       break ;;
    6850     * )
    6851       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
    6852   esac
    6853 done
    6854 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
    6855 
    6856 # Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
    6857 #
    6858 # This file is free software; the Free Software Foundation
    6859 # gives unlimited permission to copy and/or distribute it,
    6860 # with or without modifications, as long as this notice is preserved.
    6861 
    6862 # AM_PROG_INSTALL_SH
    6863 # ------------------
    6864 # Define $install_sh.
    6865 AC_DEFUN([AM_PROG_INSTALL_SH],
    6866 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
    6867 install_sh=${install_sh-"$am_aux_dir/install-sh"}
    6868 AC_SUBST(install_sh)])
    6869 
    6870 # Copyright (C) 2003, 2005  Free Software Foundation, Inc.
    6871 #
    6872 # This file is free software; the Free Software Foundation
    6873 # gives unlimited permission to copy and/or distribute it,
    6874 # with or without modifications, as long as this notice is preserved.
    6875 
    6876 # serial 2
    6877 
    6878 # Check whether the underlying file-system supports filenames
    6879 # with a leading dot.  For instance MS-DOS doesn't.
    6880 AC_DEFUN([AM_SET_LEADING_DOT],
    6881 [rm -rf .tst 2>/dev/null
    6882 mkdir .tst 2>/dev/null
    6883 if test -d .tst; then
    6884   am__leading_dot=.
    6885 else
    6886   am__leading_dot=_
    6887 fi
    6888 rmdir .tst 2>/dev/null
    6889 AC_SUBST([am__leading_dot])])
    6890 
    6891 # Check to see how 'make' treats includes.                  -*- Autoconf -*-
    6892 
    6893 # Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
    6894 #
    6895 # This file is free software; the Free Software Foundation
    6896 # gives unlimited permission to copy and/or distribute it,
    6897 # with or without modifications, as long as this notice is preserved.
    6898 
    6899 # serial 3
    6900 
    6901 # AM_MAKE_INCLUDE()
    6902 # -----------------
    6903 # Check to see how make treats includes.
    6904 AC_DEFUN([AM_MAKE_INCLUDE],
    6905 [am_make=${MAKE-make}
    6906 cat > confinc << 'END'
    6907 am__doit:
    6908         @echo done
    6909 .PHONY: am__doit
    6910 END
    6911 # If we don't find an include directive, just comment out the code.
    6912 AC_MSG_CHECKING([for style of include used by $am_make])
    6913 am__include="#"
    6914 am__quote=
    6915 _am_result=none
    6916 # First try GNU make style include.
    6917 echo "include confinc" > confmf
    6918 # We grep out `Entering directory' and `Leaving directory'
    6919 # messages which can occur if `w' ends up in MAKEFLAGS.
    6920 # In particular we don't look at `^make:' because GNU make might
    6921 # be invoked under some other name (usually "gmake"), in which
    6922 # case it prints its new name instead of `make'.
    6923 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
    6924    am__include=include
    6925    am__quote=
    6926    _am_result=GNU
    6927 fi
    6928 # Now try BSD make style include.
    6929 if test "$am__include" = "#"; then
    6930    echo '.include "confinc"' > confmf
    6931    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
    6932       am__include=.include
    6933       am__quote="\""
    6934       _am_result=BSD
    6935    fi
    6936 fi
    6937 AC_SUBST([am__include])
    6938 AC_SUBST([am__quote])
    6939 AC_MSG_RESULT([$_am_result])
    6940 rm -f confinc confmf
    6941 ])
    6942 
    6943 # Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
    6944 
    6945 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
    6946 # Free Software Foundation, Inc.
    6947 #
    6948 # This file is free software; the Free Software Foundation
    6949 # gives unlimited permission to copy and/or distribute it,
    6950 # with or without modifications, as long as this notice is preserved.
    6951 
    6952 # serial 4
    6953 
    6954 # AM_MISSING_PROG(NAME, PROGRAM)
    6955 # ------------------------------
    6956 AC_DEFUN([AM_MISSING_PROG],
    6957 [AC_REQUIRE([AM_MISSING_HAS_RUN])
    6958 $1=${$1-"${am_missing_run}$2"}
    6959 AC_SUBST($1)])
    6960 
    6961 
    6962 # AM_MISSING_HAS_RUN
    6963 # ------------------
    6964 # Define MISSING if not defined so far and test if it supports --run.
    6965 # If it does, set am_missing_run to use it, otherwise, to nothing.
    6966 AC_DEFUN([AM_MISSING_HAS_RUN],
    6967 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
    6968 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
    6969 # Use eval to expand $SHELL
    6970 if eval "$MISSING --run true"; then
    6971   am_missing_run="$MISSING --run "
    6972 else
    6973   am_missing_run=
    6974   AC_MSG_WARN([`missing' script is too old or missing])
    6975 fi
    6976 ])
    6977 
    6978 # Copyright (C) 2003, 2004, 2005  Free Software Foundation, Inc.
    6979 #
    6980 # This file is free software; the Free Software Foundation
    6981 # gives unlimited permission to copy and/or distribute it,
    6982 # with or without modifications, as long as this notice is preserved.
    6983 
    6984 # AM_PROG_MKDIR_P
    6985 # ---------------
    6986 # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
    6987 #
    6988 # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
    6989 # created by `make install' are always world readable, even if the
    6990 # installer happens to have an overly restrictive umask (e.g. 077).
    6991 # This was a mistake.  There are at least two reasons why we must not
    6992 # use `-m 0755':
    6993 #   - it causes special bits like SGID to be ignored,
    6994 #   - it may be too restrictive (some setups expect 775 directories).
    6995 #
    6996 # Do not use -m 0755 and let people choose whatever they expect by
    6997 # setting umask.
    6998 #
    6999 # We cannot accept any implementation of `mkdir' that recognizes `-p'.
    7000 # Some implementations (such as Solaris 8's) are not thread-safe: if a
    7001 # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
    7002 # concurrently, both version can detect that a/ is missing, but only
    7003 # one can create it and the other will error out.  Consequently we
    7004 # restrict ourselves to GNU make (using the --version option ensures
    7005 # this.)
    7006 AC_DEFUN([AM_PROG_MKDIR_P],
    7007 [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
    7008   # We used to keeping the `.' as first argument, in order to
    7009   # allow $(mkdir_p) to be used without argument.  As in
    7010   #   $(mkdir_p) $(somedir)
    7011   # where $(somedir) is conditionally defined.  However this is wrong
    7012   # for two reasons:
    7013   #  1. if the package is installed by a user who cannot write `.'
    7014   #     make install will fail,
    7015   #  2. the above comment should most certainly read
    7016   #     $(mkdir_p) $(DESTDIR)$(somedir)
    7017   #     so it does not work when $(somedir) is undefined and
    7018   #     $(DESTDIR) is not.
    7019   #  To support the latter case, we have to write
    7020   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
    7021   #  so the `.' trick is pointless.
    7022   mkdir_p='mkdir -p --'
    7023 else
    7024   # On NextStep and OpenStep, the `mkdir' command does not
    7025   # recognize any option.  It will interpret all options as
    7026   # directories to create, and then abort because `.' already
    7027   # exists.
    7028   for d in ./-p ./--version;
    7029   do
    7030     test -d $d && rmdir $d
    7031   done
    7032   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
    7033   if test -f "$ac_aux_dir/mkinstalldirs"; then
    7034     mkdir_p='$(mkinstalldirs)'
    7035   else
    7036     mkdir_p='$(install_sh) -d'
    7037   fi
    7038 fi
    7039 AC_SUBST([mkdir_p])])
    7040 
    7041 # Helper functions for option handling.                     -*- Autoconf -*-
    7042 
    7043 # Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
    7044 #
    7045 # This file is free software; the Free Software Foundation
    7046 # gives unlimited permission to copy and/or distribute it,
    7047 # with or without modifications, as long as this notice is preserved.
    7048 
    7049 # serial 3
    7050 
    7051 # _AM_MANGLE_OPTION(NAME)
    7052 # -----------------------
    7053 AC_DEFUN([_AM_MANGLE_OPTION],
    7054 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
    7055 
    7056 # _AM_SET_OPTION(NAME)
    7057 # ------------------------------
    7058 # Set option NAME.  Presently that only means defining a flag for this option.
    7059 AC_DEFUN([_AM_SET_OPTION],
    7060 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
    7061 
    7062 # _AM_SET_OPTIONS(OPTIONS)
    7063 # ----------------------------------
    7064 # OPTIONS is a space-separated list of Automake options.
    7065 AC_DEFUN([_AM_SET_OPTIONS],
    7066 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
    7067 
    7068 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
    7069 # -------------------------------------------
    7070 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
    7071 AC_DEFUN([_AM_IF_OPTION],
    7072 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
    7073 
    7074 # Check to make sure that the build environment is sane.    -*- Autoconf -*-
    7075 
    7076 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
    7077 # Free Software Foundation, Inc.
    7078 #
    7079 # This file is free software; the Free Software Foundation
    7080 # gives unlimited permission to copy and/or distribute it,
    7081 # with or without modifications, as long as this notice is preserved.
    7082 
    7083 # serial 4
    7084 
    7085 # AM_SANITY_CHECK
    7086 # ---------------
    7087 AC_DEFUN([AM_SANITY_CHECK],
    7088 [AC_MSG_CHECKING([whether build environment is sane])
    7089 # Just in case
    7090 sleep 1
    7091 echo timestamp > conftest.file
    7092 # Do `set' in a subshell so we don't clobber the current shell's
    7093 # arguments.  Must try -L first in case configure is actually a
    7094 # symlink; some systems play weird games with the mod time of symlinks
    7095 # (eg FreeBSD returns the mod time of the symlink's containing
    7096 # directory).
    7097 if (
    7098    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
    7099    if test "$[*]" = "X"; then
    7100       # -L didn't work.
    7101       set X `ls -t $srcdir/configure conftest.file`
    7102    fi
    7103    rm -f conftest.file
    7104    if test "$[*]" != "X $srcdir/configure conftest.file" \
    7105       && test "$[*]" != "X conftest.file $srcdir/configure"; then
    7106 
    7107       # If neither matched, then we have a broken ls.  This can happen
    7108       # if, for instance, CONFIG_SHELL is bash and it inherits a
    7109       # broken ls alias from the environment.  This has actually
    7110       # happened.  Such a system could not be considered "sane".
    7111       AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
    7112 alias in your environment])
    7113    fi
    7114 
    7115    test "$[2]" = conftest.file
    7116    )
    7117 then
    7118    # Ok.
    7119    :
    7120 else
    7121    AC_MSG_ERROR([newly created file is older than distributed files!
    7122 Check your system clock])
    7123 fi
    7124 AC_MSG_RESULT(yes)])
    7125 
    7126 # Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
    7127 #
    7128 # This file is free software; the Free Software Foundation
    7129 # gives unlimited permission to copy and/or distribute it,
    7130 # with or without modifications, as long as this notice is preserved.
    7131 
    7132 # AM_PROG_INSTALL_STRIP
    7133 # ---------------------
    7134 # One issue with vendor `install' (even GNU) is that you can't
    7135 # specify the program used to strip binaries.  This is especially
    7136 # annoying in cross-compiling environments, where the build's strip
    7137 # is unlikely to handle the host's binaries.
    7138 # Fortunately install-sh will honor a STRIPPROG variable, so we
    7139 # always use install-sh in `make install-strip', and initialize
    7140 # STRIPPROG with the value of the STRIP variable (set by the user).
    7141 AC_DEFUN([AM_PROG_INSTALL_STRIP],
    7142 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
    7143 # Installed binaries are usually stripped using `strip' when the user
    7144 # run `make install-strip'.  However `strip' might not be the right
    7145 # tool to use in cross-compilation environments, therefore Automake
    7146 # will honor the `STRIP' environment variable to overrule this program.
    7147 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
    7148 if test "$cross_compiling" != no; then
    7149   AC_CHECK_TOOL([STRIP], [strip], :)
    7150 fi
    7151 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
    7152 AC_SUBST([INSTALL_STRIP_PROGRAM])])
    7153 
    7154 # Check how to create a tarball.                            -*- Autoconf -*-
    7155 
    7156 # Copyright (C) 2004, 2005  Free Software Foundation, Inc.
    7157 #
    7158 # This file is free software; the Free Software Foundation
    7159 # gives unlimited permission to copy and/or distribute it,
    7160 # with or without modifications, as long as this notice is preserved.
    7161 
    7162 # serial 2
    7163 
    7164 # _AM_PROG_TAR(FORMAT)
    7165 # --------------------
    7166 # Check how to create a tarball in format FORMAT.
    7167 # FORMAT should be one of `v7', `ustar', or `pax'.
    7168 #
    7169 # Substitute a variable $(am__tar) that is a command
    7170 # writing to stdout a FORMAT-tarball containing the directory
    7171 # $tardir.
    7172 #     tardir=directory && $(am__tar) > result.tar
    7173 #
    7174 # Substitute a variable $(am__untar) that extract such
    7175 # a tarball read from stdin.
    7176 #     $(am__untar) < result.tar
    7177 AC_DEFUN([_AM_PROG_TAR],
    7178 [# Always define AMTAR for backward compatibility.
    7179 AM_MISSING_PROG([AMTAR], [tar])
    7180 m4_if([$1], [v7],
    7181      [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
    7182      [m4_case([$1], [ustar],, [pax],,
    7183               [m4_fatal([Unknown tar format])])
    7184 AC_MSG_CHECKING([how to create a $1 tar archive])
    7185 # Loop over all known methods to create a tar archive until one works.
    7186 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
    7187 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
    7188 # Do not fold the above two line into one, because Tru64 sh and
    7189 # Solaris sh will not grok spaces in the rhs of `-'.
    7190 for _am_tool in $_am_tools
    7191 do
    7192   case $_am_tool in
    7193   gnutar)
    7194     for _am_tar in tar gnutar gtar;
    7195     do
    7196       AM_RUN_LOG([$_am_tar --version]) && break
    7197     done
    7198     am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
    7199     am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
    7200     am__untar="$_am_tar -xf -"
    7201     ;;
    7202   plaintar)
    7203     # Must skip GNU tar: if it does not support --format= it doesn't create
    7204     # ustar tarball either.
    7205     (tar --version) >/dev/null 2>&1 && continue
    7206     am__tar='tar chf - "$$tardir"'
    7207     am__tar_='tar chf - "$tardir"'
    7208     am__untar='tar xf -'
    7209     ;;
    7210   pax)
    7211     am__tar='pax -L -x $1 -w "$$tardir"'
    7212     am__tar_='pax -L -x $1 -w "$tardir"'
    7213     am__untar='pax -r'
    7214     ;;
    7215   cpio)
    7216     am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
    7217     am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
    7218     am__untar='cpio -i -H $1 -d'
    7219     ;;
    7220   none)
    7221     am__tar=false
    7222     am__tar_=false
    7223     am__untar=false
    7224     ;;
    7225   esac
    7226 
    7227   # If the value was cached, stop now.  We just wanted to have am__tar
    7228   # and am__untar set.
    7229   test -n "${am_cv_prog_tar_$1}" && break
    7230 
    7231   # tar/untar a dummy directory, and stop if the command works
    7232   rm -rf conftest.dir
    7233   mkdir conftest.dir
    7234   echo GrepMe > conftest.dir/file
    7235   AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
    7236   rm -rf conftest.dir
    7237   if test -s conftest.tar; then
    7238     AM_RUN_LOG([$am__untar <conftest.tar])
    7239     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
    7240   fi
    7241 done
    7242 rm -rf conftest.dir
    7243 
    7244 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
    7245 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
    7246 AC_SUBST([am__tar])
    7247 AC_SUBST([am__untar])
    7248 ]) # _AM_PROG_TAR
    7249 
  • trunk/configure

    r38 r43  
    11#! /bin/sh
    2 # From configure.ac Revision: 34 .
     2# From configure.ac Revision: 39 .
    33# Guess values for system-dependent variables and create Makefiles.
    44# Generated by GNU Autoconf 2.61 for adolc 2.0.0-trunk.
     
    734734PACKAGE_BUGREPORT='adol-c@list.coin-or.org'
    735735
    736 ac_unique_file="adolc/adolc.h"
     736ac_unique_file="ADOL-C/src/adolc.h"
    737737ac_default_prefix=${HOME}/adolc_base
    738738# Factoring default headers for most tests.
     
    820820AUTOHEADER
    821821MAKEINFO
     822AMTAR
    822823install_sh
    823824STRIP
    824825INSTALL_STRIP_PROGRAM
    825 mkdir_p
    826826AWK
    827827SET_MAKE
    828828am__leading_dot
    829 AMTAR
    830 am__tar
    831 am__untar
    832829CXX
    833830CXXFLAGS
     
    868865ECHO
    869866AR
     867DSYMUTIL
     868NMEDIT
    870869DLLTOOL
    871870AS
     
    14841483  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    14851484  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
    1486   --disable-dependency-tracking  speeds up one-time build
    1487   --enable-dependency-tracking   do not reject slow dependency extractors
     1485  --disable-dependency-tracking Speeds up one-time builds
     1486  --enable-dependency-tracking  Do not reject slow dependency extractors
    14881487  --enable-shared[=PKGS]  build shared libraries [default=yes]
    14891488  --enable-static[=PKGS]  build static libraries [default=yes]
     
    20022001
    20032002
    2004 ac_config_headers="$ac_config_headers adolc/config.h"
    2005 
    2006 
    2007 am__api_version="1.9"
     2003ac_config_headers="$ac_config_headers ADOL-C/src/config.h"
     2004
     2005
     2006am__api_version="1.7"
    20082007# Find a good install program.  We prefer a C program (faster),
    20092008# so one script is as good as another.  But avoid the broken or
     
    21442143rm -f conftest.sed
    21452144
     2145
    21462146# expand $ac_aux_dir to an absolute path
    21472147am_aux_dir=`cd $ac_aux_dir && pwd`
     
    21552155  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
    21562156echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
    2157 fi
    2158 
    2159 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
    2160   # We used to keeping the `.' as first argument, in order to
    2161   # allow $(mkdir_p) to be used without argument.  As in
    2162   #   $(mkdir_p) $(somedir)
    2163   # where $(somedir) is conditionally defined.  However this is wrong
    2164   # for two reasons:
    2165   #  1. if the package is installed by a user who cannot write `.'
    2166   #     make install will fail,
    2167   #  2. the above comment should most certainly read
    2168   #     $(mkdir_p) $(DESTDIR)$(somedir)
    2169   #     so it does not work when $(somedir) is undefined and
    2170   #     $(DESTDIR) is not.
    2171   #  To support the latter case, we have to write
    2172   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
    2173   #  so the `.' trick is pointless.
    2174   mkdir_p='mkdir -p --'
    2175 else
    2176   # On NextStep and OpenStep, the `mkdir' command does not
    2177   # recognize any option.  It will interpret all options as
    2178   # directories to create, and then abort because `.' already
    2179   # exists.
    2180   for d in ./-p ./--version;
    2181   do
    2182     test -d $d && rmdir $d
    2183   done
    2184   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
    2185   if test -f "$ac_aux_dir/mkinstalldirs"; then
    2186     mkdir_p='$(mkinstalldirs)'
    2187   else
    2188     mkdir_p='$(install_sh) -d'
    2189   fi
    21902157fi
    21912158
     
    22712238rmdir .tst 2>/dev/null
    22722239
    2273 # test to see if srcdir already configured
     2240 # test to see if srcdir already configured
    22742241if test "`cd $srcdir && pwd`" != "`pwd`" &&
    22752242   test -f $srcdir/config.status; then
     
    23182285
    23192286MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
     2287
     2288
     2289AMTAR=${AMTAR-"${am_missing_run}tar"}
    23202290
    23212291install_sh=${install_sh-"$am_aux_dir/install-sh"}
     
    24272397# We need awk for the "check" target.  The system "awk" is bad on
    24282398# some platforms.
    2429 # Always define AMTAR for backward compatibility.
    2430 
    2431 AMTAR=${AMTAR-"${am_missing_run}tar"}
    2432 
    2433 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
    2434 
    2435 
    24362399
    24372400
     
    31633126    for i in 1 2 3 4 5 6; do
    31643127      echo '#include "conftst'$i'.h"' >> sub/conftest.c
    3165       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
    3166       # Solaris 8's {/usr,}/bin/sh.
    3167       touch sub/conftst$i.h
     3128      : > sub/conftst$i.h
    31683129    done
    31693130    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     
    31933154       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    31943155      # icc doesn't choke on unknown options, it will just issue warnings
    3195       # or remarks (even with -Werror).  So we grep stderr for any message
    3196       # that says an option was ignored or not supported.
    3197       # When given -MP, icc 7.0 and 7.1 complain thusly:
    3198       #   icc: Command line warning: ignoring option '-M'; no argument required
    3199       # The diagnosis changed in icc 8.0:
    3200       #   icc: Command line remark: option '-MP' not supported
    3201       if (grep 'ignoring option' conftest.err ||
    3202           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
     3156      # (even with -Werror).  So we grep stderr for any message
     3157      # that says an option was ignored.
     3158      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
    32033159        am_cv_CXX_dependencies_compiler_type=$depmode
    32043160        break
     
    39483904    for i in 1 2 3 4 5 6; do
    39493905      echo '#include "conftst'$i'.h"' >> sub/conftest.c
    3950       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
    3951       # Solaris 8's {/usr,}/bin/sh.
    3952       touch sub/conftst$i.h
     3906      : > sub/conftst$i.h
    39533907    done
    39543908    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     
    39783932       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    39793933      # icc doesn't choke on unknown options, it will just issue warnings
    3980       # or remarks (even with -Werror).  So we grep stderr for any message
    3981       # that says an option was ignored or not supported.
    3982       # When given -MP, icc 7.0 and 7.1 complain thusly:
    3983       #   icc: Command line warning: ignoring option '-M'; no argument required
    3984       # The diagnosis changed in icc 8.0:
    3985       #   icc: Command line remark: option '-MP' not supported
    3986       if (grep 'ignoring option' conftest.err ||
    3987           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
     3934      # (even with -Werror).  So we grep stderr for any message
     3935      # that says an option was ignored.
     3936      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
    39883937        am_cv_CC_dependencies_compiler_type=$depmode
    39893938        break
     
    46344583  for lt_ac_prog in sed gsed; do
    46354584    for ac_exec_ext in '' $ac_executable_extensions; do
    4636       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
     4585      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
    46374586        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
    46384587      fi
     
    50264975NM="$lt_cv_path_NM"
    50274976
    5028 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
    5029 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
     4977{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
     4978echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
    50304979if test "${lt_cv_deplibs_check_method+set}" = set; then
    50314980  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    50464995
    50474996case $host_os in
    5048 aix4* | aix5*)
     4997aix[4-9]*)
    50494998  lt_cv_deplibs_check_method=pass_all
    50504999  ;;
     
    50685017mingw* | pw32*)
    50695018  # Base MSYS/MinGW do not provide the 'file' command needed by
    5070   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
    5071   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
    5072   lt_cv_file_magic_cmd='$OBJDUMP -f'
     5019  # func_win32_libid shell function, so use a weaker test based on 'objdump',
     5020  # unless we find 'file', for example because we are cross-compiling.
     5021  if ( file / ) >/dev/null 2>&1; then
     5022    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
     5023    lt_cv_file_magic_cmd='func_win32_libid'
     5024  else
     5025    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
     5026    lt_cv_file_magic_cmd='$OBJDUMP -f'
     5027  fi
    50735028  ;;
    50745029
     
    50775032  ;;
    50785033
    5079 freebsd* | kfreebsd*-gnu | dragonfly*)
     5034freebsd* | dragonfly*)
    50805035  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
    50815036    case $host_cpu in
     
    51155070  ;;
    51165071
    5117 interix3*)
     5072interix[3-9]*)
    51185073  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
    51195074  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
     
    51315086
    51325087# This must be Linux ELF.
    5133 linux*)
     5088linux* | k*bsd*-gnu)
    51345089  lt_cv_deplibs_check_method=pass_all
    51355090  ;;
    51365091
    5137 netbsd*)
     5092netbsd* | netbsdelf*-gnu)
    51385093  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
    51395094    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
     
    51625117
    51635118osf3* | osf4* | osf5*)
     5119  lt_cv_deplibs_check_method=pass_all
     5120  ;;
     5121
     5122rdos*)
    51645123  lt_cv_deplibs_check_method=pass_all
    51655124  ;;
     
    52525211*-*-irix6*)
    52535212  # Find out which ABI we are using.
    5254   echo '#line 5254 "configure"' > conftest.$ac_ext
     5213  echo '#line 5213 "configure"' > conftest.$ac_ext
    52555214  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    52565215  (eval $ac_compile) 2>&5
     
    52875246  ;;
    52885247
    5289 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
     5248x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
     5249s390*-*linux*|sparc*-*linux*)
    52905250  # Find out which ABI we are using.
    52915251  echo 'int i;' > conftest.$ac_ext
     
    52985258    *32-bit*)
    52995259      case $host in
     5260        x86_64-*kfreebsd*-gnu)
     5261          LD="${LD-ld} -m elf_i386_fbsd"
     5262          ;;
    53005263        x86_64-*linux*)
    53015264          LD="${LD-ld} -m elf_i386"
     
    53145277    *64-bit*)
    53155278      case $host in
     5279        x86_64-*kfreebsd*-gnu)
     5280          LD="${LD-ld} -m elf_x86_64_fbsd"
     5281          ;;
    53165282        x86_64-*linux*)
    53175283          LD="${LD-ld} -m elf_x86_64"
     
    54175383      case $lt_cv_prog_gnu_ld in
    54185384      yes*) LD="${LD-ld} -m elf64_sparc" ;;
    5419       *)    LD="${LD-ld} -64" ;;
     5385      *)
     5386        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
     5387          LD="${LD-ld} -64"
     5388        fi
     5389        ;;
    54205390      esac
    54215391      ;;
     
    66076577
    66086578# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
    6609 
    66106579# find the maximum length of command line arguments
    66116580{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
     
    66946663    ;;
    66956664  *)
    6696     # If test is not a shell built-in, we'll probably end up computing a
    6697     # maximum length that is only half of the actual maximum length, but
    6698     # we can't tell.
    6699     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
    6700     while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
     6665    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
     6666    if test -n "$lt_cv_sys_max_cmd_len"; then
     6667      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
     6668      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
     6669    else
     6670      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
     6671      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
    67016672               = "XX$teststring") >/dev/null 2>&1 &&
    6702             new_result=`expr "X$teststring" : ".*" 2>&1` &&
    6703             lt_cv_sys_max_cmd_len=$new_result &&
    6704             test $i != 17 # 1/2 MB should be enough
    6705     do
    6706       i=`expr $i + 1`
    6707       teststring=$teststring$teststring
    6708     done
    6709     teststring=
    6710     # Add a significant safety factor because C++ compilers can tack on massive
    6711     # amounts of additional arguments before passing them to the linker.
    6712     # It appears as though 1/2 is a usable value.
    6713     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
     6673              new_result=`expr "X$teststring" : ".*" 2>&1` &&
     6674              lt_cv_sys_max_cmd_len=$new_result &&
     6675              test $i != 17 # 1/2 MB should be enough
     6676      do
     6677        i=`expr $i + 1`
     6678        teststring=$teststring$teststring
     6679      done
     6680      teststring=
     6681      # Add a significant safety factor because C++ compilers can tack on massive
     6682      # amounts of additional arguments before passing them to the linker.
     6683      # It appears as though 1/2 is a usable value.
     6684      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
     6685    fi
    67146686    ;;
    67156687  esac
     
    67246696echo "${ECHO_T}none" >&6; }
    67256697fi
     6698
    67266699
    67276700
     
    67656738  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'"
    67666739  ;;
    6767 linux*)
     6740linux* | k*bsd*-gnu)
    67686741  if test "$host_cpu" = ia64; then
    67696742    symcode='[ABCDGIRSTW]'
     
    69186891    cat conftest.$ac_ext >&5
    69196892  fi
    6920   rm -f conftest* conftst*
     6893  rm -rf conftest* conftst*
    69216894
    69226895  # Do not use the global_symbol_pipe unless it works.
     
    73167289
    73177290# Determine commands to create old-style static archives.
    7318 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
     7291old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
    73197292old_postinstall_cmds='chmod 644 $oldlib'
    73207293old_postuninstall_cmds=
     
    74787451esac
    74797452
     7453
     7454  case $host_os in
     7455    rhapsody* | darwin*)
     7456    if test -n "$ac_tool_prefix"; then
     7457  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
     7458set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
     7459{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     7460echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     7461if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
     7462  echo $ECHO_N "(cached) $ECHO_C" >&6
     7463else
     7464  if test -n "$DSYMUTIL"; then
     7465  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
     7466else
     7467as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7468for as_dir in $PATH
     7469do
     7470  IFS=$as_save_IFS
     7471  test -z "$as_dir" && as_dir=.
     7472  for ac_exec_ext in '' $ac_executable_extensions; do
     7473  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7474    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
     7475    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7476    break 2
     7477  fi
     7478done
     7479done
     7480IFS=$as_save_IFS
     7481
     7482fi
     7483fi
     7484DSYMUTIL=$ac_cv_prog_DSYMUTIL
     7485if test -n "$DSYMUTIL"; then
     7486  { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
     7487echo "${ECHO_T}$DSYMUTIL" >&6; }
     7488else
     7489  { echo "$as_me:$LINENO: result: no" >&5
     7490echo "${ECHO_T}no" >&6; }
     7491fi
     7492
     7493
     7494fi
     7495if test -z "$ac_cv_prog_DSYMUTIL"; then
     7496  ac_ct_DSYMUTIL=$DSYMUTIL
     7497  # Extract the first word of "dsymutil", so it can be a program name with args.
     7498set dummy dsymutil; ac_word=$2
     7499{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     7500echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     7501if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
     7502  echo $ECHO_N "(cached) $ECHO_C" >&6
     7503else
     7504  if test -n "$ac_ct_DSYMUTIL"; then
     7505  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
     7506else
     7507as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7508for as_dir in $PATH
     7509do
     7510  IFS=$as_save_IFS
     7511  test -z "$as_dir" && as_dir=.
     7512  for ac_exec_ext in '' $ac_executable_extensions; do
     7513  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7514    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
     7515    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7516    break 2
     7517  fi
     7518done
     7519done
     7520IFS=$as_save_IFS
     7521
     7522fi
     7523fi
     7524ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
     7525if test -n "$ac_ct_DSYMUTIL"; then
     7526  { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
     7527echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
     7528else
     7529  { echo "$as_me:$LINENO: result: no" >&5
     7530echo "${ECHO_T}no" >&6; }
     7531fi
     7532
     7533  if test "x$ac_ct_DSYMUTIL" = x; then
     7534    DSYMUTIL=":"
     7535  else
     7536    case $cross_compiling:$ac_tool_warned in
     7537yes:)
     7538{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     7539whose name does not start with the host triplet.  If you think this
     7540configuration is useful to you, please write to autoconf@gnu.org." >&5
     7541echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     7542whose name does not start with the host triplet.  If you think this
     7543configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     7544ac_tool_warned=yes ;;
     7545esac
     7546    DSYMUTIL=$ac_ct_DSYMUTIL
     7547  fi
     7548else
     7549  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
     7550fi
     7551
     7552    if test -n "$ac_tool_prefix"; then
     7553  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
     7554set dummy ${ac_tool_prefix}nmedit; ac_word=$2
     7555{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     7556echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     7557if test "${ac_cv_prog_NMEDIT+set}" = set; then
     7558  echo $ECHO_N "(cached) $ECHO_C" >&6
     7559else
     7560  if test -n "$NMEDIT"; then
     7561  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
     7562else
     7563as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7564for as_dir in $PATH
     7565do
     7566  IFS=$as_save_IFS
     7567  test -z "$as_dir" && as_dir=.
     7568  for ac_exec_ext in '' $ac_executable_extensions; do
     7569  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7570    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
     7571    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7572    break 2
     7573  fi
     7574done
     7575done
     7576IFS=$as_save_IFS
     7577
     7578fi
     7579fi
     7580NMEDIT=$ac_cv_prog_NMEDIT
     7581if test -n "$NMEDIT"; then
     7582  { echo "$as_me:$LINENO: result: $NMEDIT" >&5
     7583echo "${ECHO_T}$NMEDIT" >&6; }
     7584else
     7585  { echo "$as_me:$LINENO: result: no" >&5
     7586echo "${ECHO_T}no" >&6; }
     7587fi
     7588
     7589
     7590fi
     7591if test -z "$ac_cv_prog_NMEDIT"; then
     7592  ac_ct_NMEDIT=$NMEDIT
     7593  # Extract the first word of "nmedit", so it can be a program name with args.
     7594set dummy nmedit; ac_word=$2
     7595{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     7596echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     7597if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
     7598  echo $ECHO_N "(cached) $ECHO_C" >&6
     7599else
     7600  if test -n "$ac_ct_NMEDIT"; then
     7601  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
     7602else
     7603as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7604for as_dir in $PATH
     7605do
     7606  IFS=$as_save_IFS
     7607  test -z "$as_dir" && as_dir=.
     7608  for ac_exec_ext in '' $ac_executable_extensions; do
     7609  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7610    ac_cv_prog_ac_ct_NMEDIT="nmedit"
     7611    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7612    break 2
     7613  fi
     7614done
     7615done
     7616IFS=$as_save_IFS
     7617
     7618fi
     7619fi
     7620ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
     7621if test -n "$ac_ct_NMEDIT"; then
     7622  { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
     7623echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
     7624else
     7625  { echo "$as_me:$LINENO: result: no" >&5
     7626echo "${ECHO_T}no" >&6; }
     7627fi
     7628
     7629  if test "x$ac_ct_NMEDIT" = x; then
     7630    NMEDIT=":"
     7631  else
     7632    case $cross_compiling:$ac_tool_warned in
     7633yes:)
     7634{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     7635whose name does not start with the host triplet.  If you think this
     7636configuration is useful to you, please write to autoconf@gnu.org." >&5
     7637echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     7638whose name does not start with the host triplet.  If you think this
     7639configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     7640ac_tool_warned=yes ;;
     7641esac
     7642    NMEDIT=$ac_ct_NMEDIT
     7643  fi
     7644else
     7645  NMEDIT="$ac_cv_prog_NMEDIT"
     7646fi
     7647
     7648
     7649    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
     7650echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
     7651if test "${lt_cv_apple_cc_single_mod+set}" = set; then
     7652  echo $ECHO_N "(cached) $ECHO_C" >&6
     7653else
     7654  lt_cv_apple_cc_single_mod=no
     7655      if test -z "${LT_MULTI_MODULE}"; then
     7656   # By default we will add the -single_module flag. You can override
     7657   # by either setting the environment variable LT_MULTI_MODULE
     7658   # non-empty at configure time, or by adding -multi_module to the
     7659   # link flags.
     7660   echo "int foo(void){return 1;}" > conftest.c
     7661   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
     7662     -dynamiclib ${wl}-single_module conftest.c
     7663   if test -f libconftest.dylib; then
     7664     lt_cv_apple_cc_single_mod=yes
     7665     rm -rf libconftest.dylib*
     7666   fi
     7667   rm conftest.c
     7668      fi
     7669fi
     7670{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
     7671echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
     7672    { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
     7673echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
     7674if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
     7675  echo $ECHO_N "(cached) $ECHO_C" >&6
     7676else
     7677  lt_cv_ld_exported_symbols_list=no
     7678      save_LDFLAGS=$LDFLAGS
     7679      echo "_main" > conftest.sym
     7680      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
     7681      cat >conftest.$ac_ext <<_ACEOF
     7682/* confdefs.h.  */
     7683_ACEOF
     7684cat confdefs.h >>conftest.$ac_ext
     7685cat >>conftest.$ac_ext <<_ACEOF
     7686/* end confdefs.h.  */
     7687
     7688int
     7689main ()
     7690{
     7691
     7692  ;
     7693  return 0;
     7694}
     7695_ACEOF
     7696rm -f conftest.$ac_objext conftest$ac_exeext
     7697if { (ac_try="$ac_link"
     7698case "(($ac_try" in
     7699  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7700  *) ac_try_echo=$ac_try;;
     7701esac
     7702eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7703  (eval "$ac_link") 2>conftest.er1
     7704  ac_status=$?
     7705  grep -v '^ *+' conftest.er1 >conftest.err
     7706  rm -f conftest.er1
     7707  cat conftest.err >&5
     7708  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7709  (exit $ac_status); } && {
     7710         test -z "$ac_c_werror_flag" ||
     7711         test ! -s conftest.err
     7712       } && test -s conftest$ac_exeext &&
     7713       $as_test_x conftest$ac_exeext; then
     7714  lt_cv_ld_exported_symbols_list=yes
     7715else
     7716  echo "$as_me: failed program was:" >&5
     7717sed 's/^/| /' conftest.$ac_ext >&5
     7718
     7719        lt_cv_ld_exported_symbols_list=no
     7720fi
     7721
     7722rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     7723      conftest$ac_exeext conftest.$ac_ext
     7724   LDFLAGS="$save_LDFLAGS"
     7725
     7726fi
     7727{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
     7728echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
     7729    case $host_os in
     7730    rhapsody* | darwin1.[0123])
     7731      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
     7732    darwin1.*)
     7733     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
     7734    darwin*)
     7735      # if running on 10.5 or later, the deployment target defaults
     7736      # to the OS version, if on x86, and 10.4, the deployment
     7737      # target defaults to 10.4. Don't you love it?
     7738      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
     7739   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
     7740     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
     7741   10.[012]*)
     7742     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
     7743   10.*)
     7744     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
     7745      esac
     7746    ;;
     7747  esac
     7748    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
     7749      _lt_dar_single_mod='$single_module'
     7750    fi
     7751    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
     7752      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
     7753    else
     7754      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
     7755    fi
     7756    if test "$DSYMUTIL" != ":"; then
     7757      _lt_dsymutil="~$DSYMUTIL \$lib || :"
     7758    else
     7759      _lt_dsymutil=
     7760    fi
     7761    ;;
     7762  esac
     7763
     7764
    74807765enable_dlopen=no
    74817766enable_win32_dll=yes
     
    75167801
    75177802# Code to be used in simple compile tests
    7518 lt_simple_compile_test_code="int some_variable = 0;\n"
     7803lt_simple_compile_test_code="int some_variable = 0;"
    75197804
    75207805# Code to be used in simple link tests
    7521 lt_simple_link_test_code='int main(){return(0);}\n'
     7806lt_simple_link_test_code='int main(){return(0);}'
    75227807
    75237808
     
    75347819# save warnings/boilerplate of simple test code
    75357820ac_outfile=conftest.$ac_objext
    7536 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
     7821echo "$lt_simple_compile_test_code" >conftest.$ac_ext
    75377822eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
    75387823_lt_compiler_boilerplate=`cat conftest.err`
     
    75407825
    75417826ac_outfile=conftest.$ac_objext
    7542 printf "$lt_simple_link_test_code" >conftest.$ac_ext
     7827echo "$lt_simple_link_test_code" >conftest.$ac_ext
    75437828eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
    75447829_lt_linker_boilerplate=`cat conftest.err`
    7545 $rm conftest*
     7830$rm -r conftest*
    75467831
    75477832
     
    75607845  lt_cv_prog_compiler_rtti_exceptions=no
    75617846  ac_outfile=conftest.$ac_objext
    7562    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
     7847   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    75637848   lt_compiler_flag="-fno-rtti -fno-exceptions"
    75647849   # Insert the option either (1) after the last *FLAGS variable, or
     
    75717856   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    75727857   -e 's:$: $lt_compiler_flag:'`
    7573    (eval echo "\"\$as_me:7573: $lt_compile\"" >&5)
     7858   (eval echo "\"\$as_me:7858: $lt_compile\"" >&5)
    75747859   (eval "$lt_compile" 2>conftest.err)
    75757860   ac_status=$?
    75767861   cat conftest.err >&5
    7577    echo "$as_me:7577: \$? = $ac_status" >&5
     7862   echo "$as_me:7862: \$? = $ac_status" >&5
    75787863   if (exit $ac_status) && test -s "$ac_outfile"; then
    75797864     # The compiler can only warn and ignore the option if not recognized
     
    76267911      ;;
    76277912
    7628     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
     7913    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
    76297914      # PIC is the default for these OSes.
    76307915      ;;
    76317916
    7632     mingw* | pw32* | os2*)
     7917    mingw* | cygwin* | pw32* | os2*)
    76337918      # This hack is so that the source file can tell whether it is being
    76347919      # built for inclusion in a dll (and should export symbols for example).
     7920      # Although the cygwin gcc ignores -fPIC, still need this for old-style
     7921      # (--disable-auto-import) libraries
    76357922      lt_prog_compiler_pic='-DDLL_EXPORT'
    76367923      ;;
     
    76427929      ;;
    76437930
    7644     interix3*)
     7931    interix[3-9]*)
    76457932      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
    76467933      # Instead, we relocate shared libraries at runtime.
     
    77007987       ;;
    77017988
    7702     mingw* | pw32* | os2*)
     7989    mingw* | cygwin* | pw32* | os2*)
    77037990      # This hack is so that the source file can tell whether it is being
    77047991      # built for inclusion in a dll (and should export symbols for example).
     
    77338020      ;;
    77348021
    7735     linux*)
     8022    linux* | k*bsd*-gnu)
    77368023      case $cc_basename in
    77378024      icc* | ecc*)
     
    77528039        lt_prog_compiler_static='-non_shared'
    77538040        ;;
     8041      *)
     8042        case `$CC -V 2>&1 | sed 5q` in
     8043        *Sun\ C*)
     8044          # Sun C 5.9
     8045          lt_prog_compiler_pic='-KPIC'
     8046          lt_prog_compiler_static='-Bstatic'
     8047          lt_prog_compiler_wl='-Wl,'
     8048          ;;
     8049        *Sun\ F*)
     8050          # Sun Fortran 8.3 passes all unrecognized flags to the linker
     8051          lt_prog_compiler_pic='-KPIC'
     8052          lt_prog_compiler_static='-Bstatic'
     8053          lt_prog_compiler_wl=''
     8054          ;;
     8055        esac
     8056        ;;
    77548057      esac
    77558058      ;;
     
    77588061      lt_prog_compiler_wl='-Wl,'
    77598062      # All OSF/1 code is PIC.
     8063      lt_prog_compiler_static='-non_shared'
     8064      ;;
     8065
     8066    rdos*)
    77608067      lt_prog_compiler_static='-non_shared'
    77618068      ;;
     
    78238130{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
    78248131echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
    7825 if test "${lt_prog_compiler_pic_works+set}" = set; then
     8132if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
    78268133  echo $ECHO_N "(cached) $ECHO_C" >&6
    78278134else
    7828   lt_prog_compiler_pic_works=no
     8135  lt_cv_prog_compiler_pic_works=no
    78298136  ac_outfile=conftest.$ac_objext
    7830    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
     8137   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    78318138   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
    78328139   # Insert the option either (1) after the last *FLAGS variable, or
     
    78398146   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    78408147   -e 's:$: $lt_compiler_flag:'`
    7841    (eval echo "\"\$as_me:7841: $lt_compile\"" >&5)
     8148   (eval echo "\"\$as_me:8148: $lt_compile\"" >&5)
    78428149   (eval "$lt_compile" 2>conftest.err)
    78438150   ac_status=$?
    78448151   cat conftest.err >&5
    7845    echo "$as_me:7845: \$? = $ac_status" >&5
     8152   echo "$as_me:8152: \$? = $ac_status" >&5
    78468153   if (exit $ac_status) && test -s "$ac_outfile"; then
    78478154     # The compiler can only warn and ignore the option if not recognized
     
    78508157     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    78518158     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
    7852        lt_prog_compiler_pic_works=yes
     8159       lt_cv_prog_compiler_pic_works=yes
    78538160     fi
    78548161   fi
     
    78568163
    78578164fi
    7858 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
    7859 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
    7860 
    7861 if test x"$lt_prog_compiler_pic_works" = xyes; then
     8165{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
     8166echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
     8167
     8168if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
    78628169    case $lt_prog_compiler_pic in
    78638170     "" | " "*) ;;
     
    78868193{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
    78878194echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
    7888 if test "${lt_prog_compiler_static_works+set}" = set; then
     8195if test "${lt_cv_prog_compiler_static_works+set}" = set; then
    78898196  echo $ECHO_N "(cached) $ECHO_C" >&6
    78908197else
    7891   lt_prog_compiler_static_works=no
     8198  lt_cv_prog_compiler_static_works=no
    78928199   save_LDFLAGS="$LDFLAGS"
    78938200   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
    7894    printf "$lt_simple_link_test_code" > conftest.$ac_ext
     8201   echo "$lt_simple_link_test_code" > conftest.$ac_ext
    78958202   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
    78968203     # The linker can only warn and ignore the option if not recognized
     
    79028209       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    79038210       if diff conftest.exp conftest.er2 >/dev/null; then
    7904          lt_prog_compiler_static_works=yes
     8211         lt_cv_prog_compiler_static_works=yes
    79058212       fi
    79068213     else
    7907        lt_prog_compiler_static_works=yes
     8214       lt_cv_prog_compiler_static_works=yes
    79088215     fi
    79098216   fi
    7910    $rm conftest*
     8217   $rm -r conftest*
    79118218   LDFLAGS="$save_LDFLAGS"
    79128219
    79138220fi
    7914 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
    7915 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
    7916 
    7917 if test x"$lt_prog_compiler_static_works" = xyes; then
     8221{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
     8222echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
     8223
     8224if test x"$lt_cv_prog_compiler_static_works" = xyes; then
    79188225    :
    79198226else
     
    79328239   cd conftest
    79338240   mkdir out
    7934    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
     8241   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    79358242
    79368243   lt_compiler_flag="-o out/conftest2.$ac_objext"
     
    79438250   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    79448251   -e 's:$: $lt_compiler_flag:'`
    7945    (eval echo "\"\$as_me:7945: $lt_compile\"" >&5)
     8252   (eval echo "\"\$as_me:8252: $lt_compile\"" >&5)
    79468253   (eval "$lt_compile" 2>out/conftest.err)
    79478254   ac_status=$?
    79488255   cat out/conftest.err >&5
    7949    echo "$as_me:7949: \$? = $ac_status" >&5
     8256   echo "$as_me:8256: \$? = $ac_status" >&5
    79508257   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    79518258   then
     
    80278334  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
    80288335  # as well as any symbol that contains `d'.
    8029   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
     8336  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
    80308337  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
    80318338  # platforms (ab)use it in PIC code, but their linkers get confused if
     
    80338340  # rely on this symbol name, it's probably fine to never include it in
    80348341  # preloaded symbol tables.
     8342  # Exclude shared library initialization/finalization symbols.
    80358343  extract_expsyms_cmds=
    80368344  # Just being paranoid about ensuring that cc_basename is set.
     
    80918399    # See if GNU ld supports shared libraries.
    80928400    case $host_os in
    8093     aix3* | aix4* | aix5*)
     8401    aix[3-9]*)
    80948402      # On AIX/PPC, the GNU linker is very broken
    80958403      if test "$host_cpu" != ia64; then
     
    81398447      always_export_symbols=no
    81408448      enable_shared_with_static_runtimes=yes
    8141       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
     8449      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
    81428450
    81438451      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
     
    81578465      ;;
    81588466
    8159     interix3*)
     8467    interix[3-9]*)
    81608468      hardcode_direct=no
    81618469      hardcode_shlibpath_var=no
     
    81728480      ;;
    81738481
    8174     linux*)
     8482    gnu* | linux* | k*bsd*-gnu)
    81758483      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    81768484        tmp_addflag=
     
    81908498          tmp_addflag=' -nofor_main' ;;
    81918499        esac
    8192         archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     8500        case `$CC -V 2>&1 | sed 5q` in
     8501        *Sun\ C*)                       # Sun C 5.9
     8502          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'
     8503          tmp_sharedflag='-G' ;;
     8504        *Sun\ F*)                       # Sun Fortran 8.3
     8505          tmp_sharedflag='-G' ;;
     8506        *)
     8507          tmp_sharedflag='-shared' ;;
     8508        esac
     8509        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    81938510
    81948511        if test $supports_anon_versioning = yes; then
     
    81968513  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    81978514  $echo "local: *; };" >> $output_objdir/$libname.ver~
    8198           $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
     8515          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
    81998516        fi
     8517        link_all_deplibs=no
    82008518      else
    82018519        ld_shlibs=no
     
    82038521      ;;
    82048522
    8205     netbsd*)
     8523    netbsd* | netbsdelf*-gnu)
    82068524      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
    82078525        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
     
    83018619      ;;
    83028620
    8303     aix4* | aix5*)
     8621    aix[4-9]*)
    83048622      if test "$host_cpu" = ia64; then
    83058623        # On IA64, the linker does run time linking by default, so we don't
     
    83218639        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
    83228640        # need to do runtime linking.
    8323         case $host_os in aix4.[23]|aix4.[23].*|aix5*)
     8641        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
    83248642          for ld_flag in $LDFLAGS; do
    83258643          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
     
    83558673          then
    83568674          # We have reworked collect2
    8357           hardcode_direct=yes
     8675          :
    83588676          else
    83598677          # We have old collect2
     
    84298747       $as_test_x conftest$ac_exeext; then
    84308748
    8431 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
    8432 }'`
     8749lt_aix_libpath_sed='
     8750    /Import File Strings/,/^$/ {
     8751        /^0/ {
     8752            s/^0  *\(.*\)$/\1/
     8753            p
     8754        }
     8755    }'
     8756aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
    84338757# Check for a 64-bit object if we didn't find anything.
    8434 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; }
    8435 }'`; fi
     8758if test -z "$aix_libpath"; then
     8759  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     8760fi
    84368761else
    84378762  echo "$as_me: failed program was:" >&5
     
    84888813       $as_test_x conftest$ac_exeext; then
    84898814
    8490 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
    8491 }'`
     8815lt_aix_libpath_sed='
     8816    /Import File Strings/,/^$/ {
     8817        /^0/ {
     8818            s/^0  *\(.*\)$/\1/
     8819            p
     8820        }
     8821    }'
     8822aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
    84928823# Check for a 64-bit object if we didn't find anything.
    8493 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; }
    8494 }'`; fi
     8824if test -z "$aix_libpath"; then
     8825  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     8826fi
    84958827else
    84968828  echo "$as_me: failed program was:" >&5
     
    85468878      old_archive_From_new_cmds='true'
    85478879      # FIXME: Should let the user specify the lib program.
    8548       old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
     8880      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
    85498881      fix_srcfile_path='`cygpath -w "$srcfile"`'
    85508882      enable_shared_with_static_runtimes=yes
     
    85798911    if test "$GCC" = yes ; then
    85808912        output_verbose_link_cmd='echo'
    8581         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
    8582       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
    8583       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
    8584       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}'
    8585       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}'
     8913        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
     8914        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
     8915        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}"
     8916        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}"
    85868917    else
    85878918      case $cc_basename in
    85888919        xlc*)
    85898920         output_verbose_link_cmd='echo'
    8590          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
     8921         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
    85918922         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
    85928923          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
    8593          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}'
     8924         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}'
    85948925          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}'
    85958926          ;;
     
    86318962
    86328963    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
    8633     freebsd* | kfreebsd*-gnu | dragonfly*)
     8964    freebsd* | dragonfly*)
    86348965      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
    86358966      hardcode_libdir_flag_spec='-R$libdir'
     
    87339064      ;;
    87349065
    8735     netbsd*)
     9066    netbsd* | netbsdelf*-gnu)
    87369067      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
    87379068        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
     
    87539084
    87549085    openbsd*)
    8755       hardcode_direct=yes
    8756       hardcode_shlibpath_var=no
    8757       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    8758         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    8759         archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
    8760         hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
    8761         export_dynamic_flag_spec='${wl}-E'
     9086      if test -f /usr/libexec/ld.so; then
     9087        hardcode_direct=yes
     9088        hardcode_shlibpath_var=no
     9089        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
     9090          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
     9091          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
     9092          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
     9093          export_dynamic_flag_spec='${wl}-E'
     9094        else
     9095          case $host_os in
     9096           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
     9097             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
     9098             hardcode_libdir_flag_spec='-R$libdir'
     9099             ;;
     9100           *)
     9101             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
     9102             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
     9103             ;;
     9104          esac
     9105        fi
    87629106      else
    8763        case $host_os in
    8764          openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
    8765            archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
    8766            hardcode_libdir_flag_spec='-R$libdir'
    8767            ;;
    8768          *)
    8769            archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    8770            hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
    8771            ;;
    8772        esac
     9107        ld_shlibs=no
    87739108      fi
    87749109      ;;
     
    88299164      solaris2.[0-5] | solaris2.[0-5].*) ;;
    88309165      *)
    8831         # The compiler driver will combine linker options so we
    8832         # cannot just pass the convience library names through
    8833         # without $wl, iff we do not link with $LD.
    8834         # Luckily, gcc supports the same syntax we need for Sun Studio.
     9166        # The compiler driver will combine and reorder linker options,
     9167        # but understands `-z linker_flag'.  GCC discards it without `$wl',
     9168        # but is careful enough not to reorder.
    88359169        # Supported since Solaris 2.6 (maybe 2.5.1?)
    8836         case $wlarc in
    8837         '')
    8838           whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
    8839         *)
    8840           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' ;;
    8841         esac ;;
     9170        if test "$GCC" = yes; then
     9171          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
     9172        else
     9173          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
     9174        fi
     9175        ;;
    88429176      esac
    88439177      link_all_deplibs=yes
     
    88969230      ;;
    88979231
    8898     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
     9232    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
    88999233      no_undefined_flag='${wl}-z,text'
    89009234      archive_cmds_need_lc=no
     
    89739307echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
    89749308      $rm conftest*
    8975       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
     9309      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    89769310
    89779311      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     
    90319365dynamic_linker="$host_os ld.so"
    90329366sys_lib_dlsearch_path_spec="/lib /usr/lib"
     9367
    90339368if test "$GCC" = yes; then
    9034   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
    9035   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
     9369  case $host_os in
     9370    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
     9371    *) lt_awk_arg="/^libraries:/" ;;
     9372  esac
     9373  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
     9374  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
    90369375    # if the path contains ";" then we assume it to be the separator
    90379376    # otherwise default to the standard path separator (i.e. ":") - it is
    90389377    # assumed that no part of a normal pathname contains ";" but that should
    90399378    # okay in the real world where ";" in dirpaths is itself problematic.
    9040     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
     9379    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
    90419380  else
    9042     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
     9381    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
    90439382  fi
     9383  # Ok, now we have the path, separated by spaces, we can step through it
     9384  # and add multilib dir if necessary.
     9385  lt_tmp_lt_search_path_spec=
     9386  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
     9387  for lt_sys_path in $lt_search_path_spec; do
     9388    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
     9389      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
     9390    else
     9391      test -d "$lt_sys_path" && \
     9392        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
     9393    fi
     9394  done
     9395  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
     9396BEGIN {RS=" "; FS="/|\n";} {
     9397  lt_foo="";
     9398  lt_count=0;
     9399  for (lt_i = NF; lt_i > 0; lt_i--) {
     9400    if ($lt_i != "" && $lt_i != ".") {
     9401      if ($lt_i == "..") {
     9402        lt_count++;
     9403      } else {
     9404        if (lt_count == 0) {
     9405          lt_foo="/" $lt_i lt_foo;
     9406        } else {
     9407          lt_count--;
     9408        }
     9409      }
     9410    }
     9411  }
     9412  if (lt_foo != "") { lt_freq[lt_foo]++; }
     9413  if (lt_freq[lt_foo] == 1) { print lt_foo; }
     9414}'`
     9415  sys_lib_search_path_spec=`echo $lt_search_path_spec`
    90449416else
    90459417  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
     
    90629434  ;;
    90639435
    9064 aix4* | aix5*)
     9436aix[4-9]*)
    90659437  version_type=linux
    90669438  need_lib_prefix=no
     
    92019573  shlibpath_var=DYLD_LIBRARY_PATH
    92029574  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
    9203   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
    9204   if test "$GCC" = yes; then
    9205     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"`
    9206   else
    9207     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
    9208   fi
     9575
     9576  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
    92099577  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
    92109578  ;;
     
    92219589freebsd1*)
    92229590  dynamic_linker=no
    9223   ;;
    9224 
    9225 kfreebsd*-gnu)
    9226   version_type=linux
    9227   need_lib_prefix=no
    9228   need_version=no
    9229   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    9230   soname_spec='${libname}${release}${shared_ext}$major'
    9231   shlibpath_var=LD_LIBRARY_PATH
    9232   shlibpath_overrides_runpath=no
    9233   hardcode_into_libs=yes
    9234   dynamic_linker='GNU ld.so'
    92359591  ;;
    92369592
     
    92729628    hardcode_into_libs=yes
    92739629    ;;
    9274   freebsd*) # from 4.6 on
     9630  *) # from 4.6 on, and DragonFly
    92759631    shlibpath_overrides_runpath=yes
    92769632    hardcode_into_libs=yes
     
    93359691  ;;
    93369692
    9337 interix3*)
     9693interix[3-9]*)
    93389694  version_type=linux
    93399695  need_lib_prefix=no
     
    93909746
    93919747# This must be Linux ELF.
    9392 linux*)
     9748linux* | k*bsd*-gnu)
    93939749  version_type=linux
    93949750  need_lib_prefix=no
     
    94049760  hardcode_into_libs=yes
    94059761
    9406   # find out which ABI we are using
    9407   libsuff=
    9408   case "$host_cpu" in
    9409   x86_64*|s390x*|powerpc64*)
    9410     echo '#line 9410 "configure"' > conftest.$ac_ext
    9411     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    9412   (eval $ac_compile) 2>&5
    9413   ac_status=$?
    9414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9415   (exit $ac_status); }; then
    9416       case `/usr/bin/file conftest.$ac_objext` in
    9417       *64-bit*)
    9418         libsuff=64
    9419         sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
    9420         ;;
    9421       esac
    9422     fi
    9423     rm -rf conftest*
    9424     ;;
    9425   esac
    9426 
    94279762  # Append ld.so.conf contents to the search path
    94289763  if test -f /etc/ld.so.conf; then
    9429     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,    ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
    9430     sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
     9764    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' ' '`
     9765    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
    94319766  fi
    94329767
     
    94409775  ;;
    94419776
    9442 knetbsd*-gnu)
     9777netbsdelf*-gnu)
    94439778  version_type=linux
    94449779  need_lib_prefix=no
     
    94499784  shlibpath_overrides_runpath=no
    94509785  hardcode_into_libs=yes
    9451   dynamic_linker='GNU ld.so'
     9786  dynamic_linker='NetBSD ld.elf_so'
    94529787  ;;
    94539788
     
    95339868  ;;
    95349869
     9870rdos*)
     9871  dynamic_linker=no
     9872  ;;
     9873
    95359874solaris*)
    95369875  version_type=linux
     
    96299968test "$dynamic_linker" = no && can_build_shared=no
    96309969
     9970if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
     9971  echo $ECHO_N "(cached) $ECHO_C" >&6
     9972else
     9973  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
     9974fi
     9975
     9976sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
     9977if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
     9978  echo $ECHO_N "(cached) $ECHO_C" >&6
     9979else
     9980  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
     9981fi
     9982
     9983sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
     9984
    96319985variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
    96329986if test "$GCC" = yes; then
     
    968610040       if test -n "$STRIP" ; then
    968710041         striplib="$STRIP -x"
     10042         old_striplib="$STRIP -S"
    968810043         { echo "$as_me:$LINENO: result: yes" >&5
    968910044echo "${ECHO_T}yes" >&6; }
     
    994710302echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
    994810303if test $ac_cv_lib_dld_shl_load = yes; then
    9949   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
     10304  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
    995010305else
    995110306  { echo "$as_me:$LINENO: checking for dlopen" >&5
     
    1022310578echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
    1022410579if test $ac_cv_lib_dld_dld_link = yes; then
    10225   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
     10580  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
    1022610581fi
    1022710582
     
    1027210627  lt_status=$lt_dlunknown
    1027310628  cat > conftest.$ac_ext <<EOF
    10274 #line 10274 "configure"
     10629#line 10629 "configure"
    1027510630#include "confdefs.h"
    1027610631
     
    1037210727  lt_status=$lt_dlunknown
    1037310728  cat > conftest.$ac_ext <<EOF
    10374 #line 10374 "configure"
     10729#line 10729 "configure"
    1037510730#include "confdefs.h"
    1037610731
     
    1049910854  ;;
    1050010855
    10501 aix4* | aix5*)
     10856aix[4-9]*)
    1050210857  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
    1050310858    test "$enable_shared" = yes && enable_static=no
     
    1055510910    postdeps \
    1055610911    compiler_lib_search_path \
     10912    compiler_lib_search_dirs \
    1055710913    archive_cmds \
    1055810914    archive_expsym_cmds \
     
    1057010926    module_expsym_cmds \
    1057110927    lt_cv_prog_compiler_c_o \
     10928    fix_srcfile_path \
    1057210929    exclude_expsyms \
    1057310930    include_expsyms; do
     
    1061410971# NOTE: Changes made to this file will be lost: look at ltmain.sh.
    1061510972#
    10616 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
     10973# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
    1061710974# Free Software Foundation, Inc.
    1061810975#
     
    1070311060with_gcc=$GCC
    1070411061
    10705 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
    10706 gcc_ver=\`gcc -dumpversion\`
    10707 
    1070811062# An ERE matcher.
    1070911063EGREP=$lt_EGREP
     
    1083911193# Dependencies to place before the objects being linked to create a
    1084011194# shared library.
    10841 predep_objects=\`echo $lt_predep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
     11195predep_objects=$lt_predep_objects
    1084211196
    1084311197# Dependencies to place after the objects being linked to create a
    1084411198# shared library.
    10845 postdep_objects=\`echo $lt_postdep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
     11199postdep_objects=$lt_postdep_objects
    1084611200
    1084711201# Dependencies to place before the objects being linked to create a
     
    1085311207postdeps=$lt_postdeps
    1085411208
     11209# The directories searched by this compiler when creating a shared
     11210# library
     11211compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
     11212
    1085511213# The library search path used internally by the compiler when linking
    1085611214# a shared library.
    10857 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
     11215compiler_lib_search_path=$lt_compiler_lib_search_path
    1085811216
    1085911217# Method to check whether dependent libraries are shared objects.
     
    1093511293
    1093611294# Compile-time system search path for libraries
    10937 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
     11295sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
    1093811296
    1093911297# Run-time system search path for libraries
     
    1094111299
    1094211300# Fix the shell variable \$srcfile for the compiler.
    10943 fix_srcfile_path="$fix_srcfile_path"
     11301fix_srcfile_path=$lt_fix_srcfile_path
    1094411302
    1094511303# Set to yes if exported symbols are required.
     
    1110111459postdeps_CXX=
    1110211460compiler_lib_search_path_CXX=
     11461compiler_lib_search_dirs_CXX=
    1110311462
    1110411463# Source file extension for C++ test sources.
     
    1111011469
    1111111470# Code to be used in simple compile tests
    11112 lt_simple_compile_test_code="int some_variable = 0;\n"
     11471lt_simple_compile_test_code="int some_variable = 0;"
    1111311472
    1111411473# Code to be used in simple link tests
    11115 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
     11474lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
    1111611475
    1111711476# ltmain only uses $CC for tagged configurations so make sure $CC is set.
     
    1112911488# save warnings/boilerplate of simple test code
    1113011489ac_outfile=conftest.$ac_objext
    11131 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
     11490echo "$lt_simple_compile_test_code" >conftest.$ac_ext
    1113211491eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
    1113311492_lt_compiler_boilerplate=`cat conftest.err`
     
    1113511494
    1113611495ac_outfile=conftest.$ac_objext
    11137 printf "$lt_simple_link_test_code" >conftest.$ac_ext
     11496echo "$lt_simple_link_test_code" >conftest.$ac_ext
    1113811497eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
    1113911498_lt_linker_boilerplate=`cat conftest.err`
    11140 $rm conftest*
     11499$rm -r conftest*
    1114111500
    1114211501
     
    1134511704    ld_shlibs_CXX=no
    1134611705    ;;
    11347   aix4* | aix5*)
     11706  aix[4-9]*)
    1134811707    if test "$host_cpu" = ia64; then
    1134911708      # On IA64, the linker does run time linking by default, so we don't
     
    1135811717      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
    1135911718      # need to do runtime linking.
    11360       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
     11719      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
    1136111720        for ld_flag in $LDFLAGS; do
    1136211721          case $ld_flag in
     
    1139411753        then
    1139511754          # We have reworked collect2
    11396           hardcode_direct_CXX=yes
     11755          :
    1139711756        else
    1139811757          # We have old collect2
     
    1146811827       $as_test_x conftest$ac_exeext; then
    1146911828
    11470 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
    11471 }'`
     11829lt_aix_libpath_sed='
     11830    /Import File Strings/,/^$/ {
     11831        /^0/ {
     11832            s/^0  *\(.*\)$/\1/
     11833            p
     11834        }
     11835    }'
     11836aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
    1147211837# Check for a 64-bit object if we didn't find anything.
    11473 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; }
    11474 }'`; fi
     11838if test -z "$aix_libpath"; then
     11839  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     11840fi
    1147511841else
    1147611842  echo "$as_me: failed program was:" >&5
     
    1152811894       $as_test_x conftest$ac_exeext; then
    1152911895
    11530 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
    11531 }'`
     11896lt_aix_libpath_sed='
     11897    /Import File Strings/,/^$/ {
     11898        /^0/ {
     11899            s/^0  *\(.*\)$/\1/
     11900            p
     11901        }
     11902    }'
     11903aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
    1153211904# Check for a 64-bit object if we didn't find anything.
    11533 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; }
    11534 }'`; fi
     11905if test -z "$aix_libpath"; then
     11906  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     11907fi
    1153511908else
    1153611909  echo "$as_me: failed program was:" >&5
     
    1160211975  ;;
    1160311976      darwin* | rhapsody*)
    11604         case $host_os in
    11605         rhapsody* | darwin1.[012])
    11606          allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
    11607          ;;
    11608        *) # Darwin 1.3 on
    11609          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
    11610            allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
    11611          else
    11612            case ${MACOSX_DEPLOYMENT_TARGET} in
    11613              10.[012])
    11614                allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
    11615                ;;
    11616              10.*)
    11617                allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
    11618                ;;
    11619            esac
    11620          fi
    11621          ;;
    11622         esac
    1162311977      archive_cmds_need_lc_CXX=no
    1162411978      hardcode_direct_CXX=no
     
    1162711981      whole_archive_flag_spec_CXX=''
    1162811982      link_all_deplibs_CXX=yes
    11629 
    11630     if test "$GXX" = yes ; then
    11631       lt_int_apple_cc_single_mod=no
     11983      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
     11984      if test "$GXX" = yes ; then
    1163211985      output_verbose_link_cmd='echo'
    11633       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
    11634        lt_int_apple_cc_single_mod=yes
     11986      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}"
     11987      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
     11988      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}"
     11989      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}"
     11990      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
     11991        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}"
     11992        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}"
    1163511993      fi
    11636       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
    11637        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
    11638       else
    11639           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'
    11640         fi
    11641         module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
    11642         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
    11643           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
    11644             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}'
    11645           else
    11646             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}'
    11647           fi
    11648             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}'
    1164911994      else
    1165011995      case $cc_basename in
    1165111996        xlc*)
    1165211997         output_verbose_link_cmd='echo'
    11653           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'
     11998          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'
    1165411999          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
    1165512000          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
    11656           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}'
     12001          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}'
    1165712002          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}'
    1165812003          ;;
     
    1168812033    archive_cmds_need_lc_CXX=no
    1168912034    ;;
    11690   freebsd* | kfreebsd*-gnu | dragonfly*)
     12035  freebsd* | dragonfly*)
    1169112036    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
    1169212037    # conventions
     
    1173712082
    1173812083      case $host_cpu in
    11739       hppa*64*|ia64*)
    11740         hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
    11741         ;;
     12084      hppa*64*|ia64*) ;;
    1174212085      *)
    1174312086        export_dynamic_flag_spec_CXX='${wl}-E'
     
    1180712150    esac
    1180812151    ;;
    11809   interix3*)
     12152  interix[3-9]*)
    1181012153    hardcode_direct_CXX=no
    1181112154    hardcode_shlibpath_var_CXX=no
     
    1184712190    hardcode_libdir_separator_CXX=:
    1184812191    ;;
    11849   linux*)
     12192  linux* | k*bsd*-gnu)
    1185012193    case $cc_basename in
    1185112194      KCC*)
     
    1189912242        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
    1190012243        ;;
    11901       pgCC*)
     12244      pgCC* | pgcpp*)
    1190212245        # Portland Group C++ compiler
    1190312246        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
     
    1192612269        # dependencies.
    1192712270        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'
     12271        ;;
     12272      *)
     12273        case `$CC -V 2>&1 | sed 5q` in
     12274        *Sun\ C*)
     12275          # Sun C++ 5.9
     12276          no_undefined_flag_CXX=' -zdefs'
     12277          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     12278          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'
     12279          hardcode_libdir_flag_spec_CXX='-R$libdir'
     12280          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'
     12281
     12282          # Not sure whether something based on
     12283          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
     12284          # would be better.
     12285          output_verbose_link_cmd='echo'
     12286
     12287          # Archives containing C++ object files must be created using
     12288          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
     12289          # necessary to make sure instantiated templates are included
     12290          # in the archive.
     12291          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
     12292          ;;
     12293        esac
    1192812294        ;;
    1192912295    esac
     
    1194912315    esac
    1195012316    ;;
    11951   netbsd*)
     12317  netbsd* | netbsdelf*-gnu)
    1195212318    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
    1195312319      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
     
    1196512331    ;;
    1196612332  openbsd*)
    11967     hardcode_direct_CXX=yes
    11968     hardcode_shlibpath_var_CXX=no
    11969     archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
    11970     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
    11971     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    11972       archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
    11973       export_dynamic_flag_spec_CXX='${wl}-E'
    11974       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
     12333    if test -f /usr/libexec/ld.so; then
     12334      hardcode_direct_CXX=yes
     12335      hardcode_shlibpath_var_CXX=no
     12336      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
     12337      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
     12338      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
     12339        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
     12340        export_dynamic_flag_spec_CXX='${wl}-E'
     12341        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
     12342      fi
     12343      output_verbose_link_cmd='echo'
     12344    else
     12345      ld_shlibs_CXX=no
    1197512346    fi
    11976     output_verbose_link_cmd='echo'
    1197712347    ;;
    1197812348  osf3*)
     
    1213612506          solaris2.[0-5] | solaris2.[0-5].*) ;;
    1213712507          *)
    12138             # The C++ compiler is used as linker so we must use $wl
    12139             # flag to pass the commands to the underlying system
    12140             # linker. We must also pass each convience library through
    12141             # to the system linker between allextract/defaultextract.
    12142             # The C++ compiler will combine linker options so we
    12143             # cannot just pass the convience library names through
    12144             # without $wl.
     12508            # The compiler driver will combine and reorder linker options,
     12509            # but understands `-z linker_flag'.
    1214512510            # Supported since Solaris 2.6 (maybe 2.5.1?)
    12146             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'
     12511            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
    1214712512            ;;
    1214812513        esac
     
    1219112556
    1219212557          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
     12558          case $host_os in
     12559          solaris2.[0-5] | solaris2.[0-5].*) ;;
     12560          *)
     12561            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
     12562            ;;
     12563          esac
    1219312564        fi
    1219412565        ;;
     
    1227812649LD_CXX="$LD"
    1227912650
    12280 
    1228112651cat > conftest.$ac_ext <<EOF
    1228212652class Foo
     
    1238012750$rm -f confest.$objext
    1238112751
     12752compiler_lib_search_dirs_CXX=
     12753if test -n "$compiler_lib_search_path_CXX"; then
     12754  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
     12755fi
     12756
    1238212757# PORTME: override above test on systems where it is broken
    1238312758case $host_os in
    12384 interix3*)
     12759interix[3-9]*)
    1238512760  # Interix 3.5 installs completely hosed .la files for C++, so rather than
    1238612761  # hack all around it, let's just trust "g++" to DTRT.
     
    1239012765  ;;
    1239112766
     12767linux*)
     12768  case `$CC -V 2>&1 | sed 5q` in
     12769  *Sun\ C*)
     12770    # Sun C++ 5.9
     12771    #
     12772    # The more standards-conforming stlport4 library is
     12773    # incompatible with the Cstd library. Avoid specifying
     12774    # it if it's in CXXFLAGS. Ignore libCrun as
     12775    # -library=stlport4 depends on it.
     12776    case " $CXX $CXXFLAGS " in
     12777    *" -library=stlport4 "*)
     12778      solaris_use_stlport4=yes
     12779      ;;
     12780    esac
     12781    if test "$solaris_use_stlport4" != yes; then
     12782      postdeps_CXX='-library=Cstd -library=Crun'
     12783    fi
     12784    ;;
     12785  esac
     12786  ;;
     12787
    1239212788solaris*)
    1239312789  case $cc_basename in
    1239412790  CC*)
     12791    # The more standards-conforming stlport4 library is
     12792    # incompatible with the Cstd library. Avoid specifying
     12793    # it if it's in CXXFLAGS. Ignore libCrun as
     12794    # -library=stlport4 depends on it.
     12795    case " $CXX $CXXFLAGS " in
     12796    *" -library=stlport4 "*)
     12797      solaris_use_stlport4=yes
     12798      ;;
     12799    esac
     12800
    1239512801    # Adding this requires a known-good setup of shared libraries for
    1239612802    # Sun compiler versions before 5.6, else PIC objects from an old
    1239712803    # archive will be linked into the output, leading to subtle bugs.
    12398     postdeps_CXX='-lCstd -lCrun'
     12804    if test "$solaris_use_stlport4" != yes; then
     12805      postdeps_CXX='-library=Cstd -library=Crun'
     12806    fi
    1239912807    ;;
    1240012808  esac
    1240112809  ;;
    1240212810esac
    12403 
    1240412811
    1240512812case " $postdeps_CXX " in
     
    1243312840      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
    1243412841      ;;
    12435     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
     12842    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
    1243612843      # PIC is the default for these OSes.
    1243712844      ;;
    12438     mingw* | os2* | pw32*)
     12845    mingw* | cygwin* | os2* | pw32*)
    1243912846      # This hack is so that the source file can tell whether it is being
    1244012847      # built for inclusion in a dll (and should export symbols for example).
     12848      # Although the cygwin gcc ignores -fPIC, still need this for old-style
     12849      # (--disable-auto-import) libraries
    1244112850      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
    1244212851      ;;
     
    1245012859      lt_prog_compiler_pic_CXX=
    1245112860      ;;
    12452     interix3*)
     12861    interix[3-9]*)
    1245312862      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
    1245412863      # Instead, we relocate shared libraries at runtime.
     
    1247612885  else
    1247712886    case $host_os in
    12478       aix4* | aix5*)
     12887      aix[4-9]*)
    1247912888        # All AIX code is PIC.
    1248012889        if test "$host_cpu" = ia64; then
     
    1251612925        esac
    1251712926        ;;
    12518       freebsd* | kfreebsd*-gnu | dragonfly*)
     12927      freebsd* | dragonfly*)
    1251912928        # FreeBSD uses GNU C++
    1252012929        ;;
     
    1255912968        esac
    1256012969        ;;
    12561       linux*)
     12970      linux* | k*bsd*-gnu)
    1256212971        case $cc_basename in
    1256312972          KCC*)
     
    1257212981            lt_prog_compiler_static_CXX='-static'
    1257312982            ;;
    12574           pgCC*)
     12983          pgCC* | pgcpp*)
    1257512984            # Portland Group C++ compiler.
    1257612985            lt_prog_compiler_wl_CXX='-Wl,'
     
    1258612995            ;;
    1258712996          *)
     12997            case `$CC -V 2>&1 | sed 5q` in
     12998            *Sun\ C*)
     12999              # Sun C++ 5.9
     13000              lt_prog_compiler_pic_CXX='-KPIC'
     13001              lt_prog_compiler_static_CXX='-Bstatic'
     13002              lt_prog_compiler_wl_CXX='-Qoption ld '
     13003              ;;
     13004            esac
    1258813005            ;;
    1258913006        esac
     
    1260213019        esac
    1260313020        ;;
    12604       netbsd*)
     13021      netbsd* | netbsdelf*-gnu)
    1260513022        ;;
    1260613023      osf3* | osf4* | osf5*)
     
    1269513112{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
    1269613113echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
    12697 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
     13114if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
    1269813115  echo $ECHO_N "(cached) $ECHO_C" >&6
    1269913116else
    12700   lt_prog_compiler_pic_works_CXX=no
     13117  lt_cv_prog_compiler_pic_works_CXX=no
    1270113118  ac_outfile=conftest.$ac_objext
    12702    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
     13119   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    1270313120   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
    1270413121   # Insert the option either (1) after the last *FLAGS variable, or
     
    1271113128   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1271213129   -e 's:$: $lt_compiler_flag:'`
    12713    (eval echo "\"\$as_me:12713: $lt_compile\"" >&5)
     13130   (eval echo "\"\$as_me:13130: $lt_compile\"" >&5)
    1271413131   (eval "$lt_compile" 2>conftest.err)
    1271513132   ac_status=$?
    1271613133   cat conftest.err >&5
    12717    echo "$as_me:12717: \$? = $ac_status" >&5
     13134   echo "$as_me:13134: \$? = $ac_status" >&5
    1271813135   if (exit $ac_status) && test -s "$ac_outfile"; then
    1271913136     # The compiler can only warn and ignore the option if not recognized
     
    1272213139     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    1272313140     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
    12724        lt_prog_compiler_pic_works_CXX=yes
     13141       lt_cv_prog_compiler_pic_works_CXX=yes
    1272513142     fi
    1272613143   fi
     
    1272813145
    1272913146fi
    12730 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
    12731 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
    12732 
    12733 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
     13147{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
     13148echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
     13149
     13150if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
    1273413151    case $lt_prog_compiler_pic_CXX in
    1273513152     "" | " "*) ;;
     
    1275813175{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
    1275913176echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
    12760 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
     13177if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
    1276113178  echo $ECHO_N "(cached) $ECHO_C" >&6