Changeset 617

Show
Ignore:
Timestamp:
11/19/09 05:54:29 (4 months ago)
Author:
cristy
Message:
 
Location:
ImageMagick/trunk
Files:
98 modified

Legend:

Unmodified
Added
Removed
  • ImageMagick/trunk/Makefile.in

    r603 r617  
    12691269        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ 
    12701270        $(ltdl_dyld_la_LDFLAGS) $(LDFLAGS) -o $@ 
    1271 ltdl_libltdl_la_LIBADD = 
    1272 ltdl_libltdl_la_SOURCES = ltdl/libltdl.c 
    1273 ltdl_libltdl_la_OBJECTS = ltdl/libltdl.lo 
     1271am_ltdl_libltdl_la_OBJECTS = ltdl/loaders/ltdl_libltdl_la-preopen.lo \ 
     1272        ltdl/ltdl_libltdl_la-lt__alloc.lo \ 
     1273        ltdl/ltdl_libltdl_la-lt_dlloader.lo \ 
     1274        ltdl/ltdl_libltdl_la-lt_error.lo ltdl/ltdl_libltdl_la-ltdl.lo \ 
     1275        ltdl/ltdl_libltdl_la-slist.lo 
     1276ltdl_libltdl_la_OBJECTS = $(am_ltdl_libltdl_la_OBJECTS) 
     1277ltdl_libltdl_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ 
     1278        $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ 
     1279        $(AM_CFLAGS) $(CFLAGS) $(ltdl_libltdl_la_LDFLAGS) $(LDFLAGS) \ 
     1280        -o $@ 
    12741281@INSTALL_LTDL_TRUE@am_ltdl_libltdl_la_rpath = -rpath $(libdir) 
    12751282am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) 
     
    19651972        $(filters_analyze_la_SOURCES) $(filters_boost_la_SOURCES) \ 
    19661973        $(ltdl_dld_link_la_SOURCES) $(ltdl_dlopen_la_SOURCES) \ 
    1967         $(ltdl_dyld_la_SOURCES) ltdl/libltdl.c \ 
     1974        $(ltdl_dyld_la_SOURCES) $(ltdl_libltdl_la_SOURCES) \ 
    19681975        $(ltdl_libltdlc_la_SOURCES) $(ltdl_load_add_on_la_SOURCES) \ 
    19691976        $(ltdl_loadlibrary_la_SOURCES) $(ltdl_shl_load_la_SOURCES) \ 
     
    20532060        $(filters_analyze_la_SOURCES) $(filters_boost_la_SOURCES) \ 
    20542061        $(ltdl_dld_link_la_SOURCES) $(ltdl_dlopen_la_SOURCES) \ 
    2055         $(ltdl_dyld_la_SOURCES) ltdl/libltdl.c \ 
     2062        $(ltdl_dyld_la_SOURCES) $(ltdl_libltdl_la_SOURCES) \ 
    20562063        $(ltdl_libltdlc_la_SOURCES) $(ltdl_load_add_on_la_SOURCES) \ 
    20572064        $(ltdl_loadlibrary_la_SOURCES) $(ltdl_shl_load_la_SOURCES) \ 
     
    20892096        $(pkgconfig_DATA) 
    20902097am__include_HEADERS_DIST = ltdl/ltdl.h 
    2091 am__ltdlinclude_HEADERS_DIST = ltdl/ltdl/lt_system.h \ 
    2092         ltdl/ltdl/lt_error.h ltdl/ltdl/lt_dlloader.h 
     2098am__ltdlinclude_HEADERS_DIST = ltdl/libltdl/lt_system.h \ 
     2099        ltdl/libltdl/lt_error.h ltdl/libltdl/lt_dlloader.h 
    20932100am__magickppinc_HEADERS_DIST = Magick++/lib/Magick++/Blob.h \ 
    20942101        Magick++/lib/Magick++/CoderInfo.h \ 
     
    25022509localedir = @localedir@ 
    25032510localstatedir = @localstatedir@ 
    2504 lt_ECHO = @lt_ECHO@ 
    25052511ltdl_LIBOBJS = @ltdl_LIBOBJS@ 
    25062512ltdl_LTLIBOBJS = @ltdl_LTLIBOBJS@ 
     
    26982704LTDL_VERSION_INFO = -version-info 9:1:2 
    26992705@INSTALL_LTDL_TRUE@ltdlincludedir = $(includedir)/libltdl 
    2700 @INSTALL_LTDL_TRUE@ltdlinclude_HEADERS = ltdl/ltdl/lt_system.h \ 
    2701 @INSTALL_LTDL_TRUE@                       ltdl/ltdl/lt_error.h \ 
    2702 @INSTALL_LTDL_TRUE@                       ltdl/ltdl/lt_dlloader.h 
    2703  
    2704 ltdl_ltdl_la_SOURCES = ltdl/ltdl/lt__alloc.h \ 
    2705                           ltdl/ltdl/lt__dirent.h \ 
    2706                           ltdl/ltdl/lt__glibc.h \ 
    2707                           ltdl/ltdl/lt__private.h \ 
    2708                           ltdl/ltdl/lt__strl.h \ 
    2709                           ltdl/ltdl/lt_dlloader.h \ 
    2710                           ltdl/ltdl/lt_error.h \ 
    2711                           ltdl/ltdl/lt_system.h \ 
    2712                           ltdl/ltdl/slist.h \ 
     2706@INSTALL_LTDL_TRUE@ltdlinclude_HEADERS = ltdl/libltdl/lt_system.h \ 
     2707@INSTALL_LTDL_TRUE@                       ltdl/libltdl/lt_error.h \ 
     2708@INSTALL_LTDL_TRUE@                       ltdl/libltdl/lt_dlloader.h 
     2709 
     2710ltdl_libltdl_la_SOURCES = ltdl/libltdl/lt__alloc.h \ 
     2711                          ltdl/libltdl/lt__dirent.h \ 
     2712                          ltdl/libltdl/lt__glibc.h \ 
     2713                          ltdl/libltdl/lt__private.h \ 
     2714                          ltdl/libltdl/lt__strl.h \ 
     2715                          ltdl/libltdl/lt_dlloader.h \ 
     2716                          ltdl/libltdl/lt_error.h \ 
     2717                          ltdl/libltdl/lt_system.h \ 
     2718                          ltdl/libltdl/slist.h \ 
    27132719                          ltdl/loaders/preopen.c \ 
    27142720                          ltdl/lt__alloc.c \ 
     
    27192725                          ltdl/slist.c 
    27202726 
    2721 ltdl_ltdl_la_CPPFLAGS = -DLTDLOPEN=$(LTDLOPEN) $(AM_CPPFLAGS) 
    2722 ltdl_ltdl_la_LDFLAGS = $(AM_LDFLAGS) $(LTDL_VERSION_INFO) $(LT_DLPREOPEN) 
    2723 ltdl_ltdl_la_LIBADD = $(ltdl_LTLIBOBJS) 
    2724 ltdl_ltdl_la_DEPENDENCIES = $(LT_DLLOADERS) $(ltdl_LTLIBOBJS) 
    2725 ltdl_libltdlc_la_SOURCES = $(ltdl_ltdl_la_SOURCES) 
     2727ltdl_libltdl_la_CPPFLAGS = -DLTDLOPEN=$(LTDLOPEN) $(AM_CPPFLAGS) 
     2728ltdl_libltdl_la_LDFLAGS = $(AM_LDFLAGS) $(LTDL_VERSION_INFO) $(LT_DLPREOPEN) 
     2729ltdl_libltdl_la_LIBADD = $(ltdl_LTLIBOBJS) 
     2730ltdl_libltdl_la_DEPENDENCIES = $(LT_DLLOADERS) $(ltdl_LTLIBOBJS) 
     2731ltdl_libltdlc_la_SOURCES = $(ltdl_libltdl_la_SOURCES) 
    27262732ltdl_libltdlc_la_CPPFLAGS = -DLTDLOPEN=$(LTDLOPEN)c $(AM_CPPFLAGS) 
    27272733ltdl_libltdlc_la_LDFLAGS = $(AM_LDFLAGS) $(LT_DLPREOPEN) 
    2728 ltdl_libltdlc_la_LIBADD = $(ltdl_ltdl_la_LIBADD) 
    2729 ltdl_libltdlc_la_DEPENDENCIES = $(ltdl_ltdl_la_DEPENDENCIES) 
     2734ltdl_libltdlc_la_LIBADD = $(ltdl_libltdl_la_LIBADD) 
     2735ltdl_libltdlc_la_DEPENDENCIES = $(ltdl_libltdl_la_DEPENDENCIES) 
    27302736ltdl_dlopen_la_SOURCES = ltdl/loaders/dlopen.c 
    27312737ltdl_dlopen_la_LDFLAGS = -module -avoid-version 
     
    53445350ltdl/dyld.la: $(ltdl_dyld_la_OBJECTS) $(ltdl_dyld_la_DEPENDENCIES) ltdl/$(am__dirstamp) 
    53455351        $(AM_V_CCLD)$(ltdl_dyld_la_LINK)  $(ltdl_dyld_la_OBJECTS) $(ltdl_dyld_la_LIBADD) $(LIBS) 
     5352ltdl/loaders/ltdl_libltdl_la-preopen.lo: ltdl/loaders/$(am__dirstamp) \ 
     5353        ltdl/loaders/$(DEPDIR)/$(am__dirstamp) 
    53465354ltdl/$(DEPDIR)/$(am__dirstamp): 
    53475355        @$(MKDIR_P) ltdl/$(DEPDIR) 
    53485356        @: > ltdl/$(DEPDIR)/$(am__dirstamp) 
    5349 ltdl/libltdl.lo: ltdl/$(am__dirstamp) ltdl/$(DEPDIR)/$(am__dirstamp) 
     5357ltdl/ltdl_libltdl_la-lt__alloc.lo: ltdl/$(am__dirstamp) \ 
     5358        ltdl/$(DEPDIR)/$(am__dirstamp) 
     5359ltdl/ltdl_libltdl_la-lt_dlloader.lo: ltdl/$(am__dirstamp) \ 
     5360        ltdl/$(DEPDIR)/$(am__dirstamp) 
     5361ltdl/ltdl_libltdl_la-lt_error.lo: ltdl/$(am__dirstamp) \ 
     5362        ltdl/$(DEPDIR)/$(am__dirstamp) 
     5363ltdl/ltdl_libltdl_la-ltdl.lo: ltdl/$(am__dirstamp) \ 
     5364        ltdl/$(DEPDIR)/$(am__dirstamp) 
     5365ltdl/ltdl_libltdl_la-slist.lo: ltdl/$(am__dirstamp) \ 
     5366        ltdl/$(DEPDIR)/$(am__dirstamp) 
    53505367ltdl/libltdl.la: $(ltdl_libltdl_la_OBJECTS) $(ltdl_libltdl_la_DEPENDENCIES) ltdl/$(am__dirstamp) 
    5351         $(AM_V_CCLD)$(LINK) $(am_ltdl_libltdl_la_rpath) $(ltdl_libltdl_la_OBJECTS) $(ltdl_libltdl_la_LIBADD) $(LIBS) 
     5368        $(AM_V_CCLD)$(ltdl_libltdl_la_LINK) $(am_ltdl_libltdl_la_rpath) $(ltdl_libltdl_la_OBJECTS) $(ltdl_libltdl_la_LIBADD) $(LIBS) 
    53525369ltdl/loaders/ltdl_libltdlc_la-preopen.lo:  \ 
    53535370        ltdl/loaders/$(am__dirstamp) \ 
     
    66246641        -rm -f filters/magick_libMagickCore_la-boost.$(OBJEXT) 
    66256642        -rm -f filters/magick_libMagickCore_la-boost.lo 
    6626         -rm -f ltdl/libltdl.$(OBJEXT) 
    6627         -rm -f ltdl/libltdl.lo 
    66286643        -rm -f ltdl/loaders/dld_link.$(OBJEXT) 
    66296644        -rm -f ltdl/loaders/dld_link.lo 
     
    66366651        -rm -f ltdl/loaders/loadlibrary.$(OBJEXT) 
    66376652        -rm -f ltdl/loaders/loadlibrary.lo 
     6653        -rm -f ltdl/loaders/ltdl_libltdl_la-preopen.$(OBJEXT) 
     6654        -rm -f ltdl/loaders/ltdl_libltdl_la-preopen.lo 
    66386655        -rm -f ltdl/loaders/ltdl_libltdlc_la-preopen.$(OBJEXT) 
    66396656        -rm -f ltdl/loaders/ltdl_libltdlc_la-preopen.lo 
    66406657        -rm -f ltdl/loaders/shl_load.$(OBJEXT) 
    66416658        -rm -f ltdl/loaders/shl_load.lo 
     6659        -rm -f ltdl/ltdl_libltdl_la-lt__alloc.$(OBJEXT) 
     6660        -rm -f ltdl/ltdl_libltdl_la-lt__alloc.lo 
     6661        -rm -f ltdl/ltdl_libltdl_la-lt_dlloader.$(OBJEXT) 
     6662        -rm -f ltdl/ltdl_libltdl_la-lt_dlloader.lo 
     6663        -rm -f ltdl/ltdl_libltdl_la-lt_error.$(OBJEXT) 
     6664        -rm -f ltdl/ltdl_libltdl_la-lt_error.lo 
     6665        -rm -f ltdl/ltdl_libltdl_la-ltdl.$(OBJEXT) 
     6666        -rm -f ltdl/ltdl_libltdl_la-ltdl.lo 
     6667        -rm -f ltdl/ltdl_libltdl_la-slist.$(OBJEXT) 
     6668        -rm -f ltdl/ltdl_libltdl_la-slist.lo 
    66426669        -rm -f ltdl/ltdl_libltdlc_la-lt__alloc.$(OBJEXT) 
    66436670        -rm -f ltdl/ltdl_libltdlc_la-lt__alloc.lo 
     
    71417168@AMDEP_TRUE@@am__include@ @am__quote@filters/$(DEPDIR)/magick_libMagickCore_la-analyze.Plo@am__quote@ 
    71427169@AMDEP_TRUE@@am__include@ @am__quote@filters/$(DEPDIR)/magick_libMagickCore_la-boost.Plo@am__quote@ 
    7143 @AMDEP_TRUE@@am__include@ @am__quote@ltdl/$(DEPDIR)/libltdl.Plo@am__quote@ 
     7170@AMDEP_TRUE@@am__include@ @am__quote@ltdl/$(DEPDIR)/ltdl_libltdl_la-lt__alloc.Plo@am__quote@ 
     7171@AMDEP_TRUE@@am__include@ @am__quote@ltdl/$(DEPDIR)/ltdl_libltdl_la-lt_dlloader.Plo@am__quote@ 
     7172@AMDEP_TRUE@@am__include@ @am__quote@ltdl/$(DEPDIR)/ltdl_libltdl_la-lt_error.Plo@am__quote@ 
     7173@AMDEP_TRUE@@am__include@ @am__quote@ltdl/$(DEPDIR)/ltdl_libltdl_la-ltdl.Plo@am__quote@ 
     7174@AMDEP_TRUE@@am__include@ @am__quote@ltdl/$(DEPDIR)/ltdl_libltdl_la-slist.Plo@am__quote@ 
    71447175@AMDEP_TRUE@@am__include@ @am__quote@ltdl/$(DEPDIR)/ltdl_libltdlc_la-lt__alloc.Plo@am__quote@ 
    71457176@AMDEP_TRUE@@am__include@ @am__quote@ltdl/$(DEPDIR)/ltdl_libltdlc_la-lt_dlloader.Plo@am__quote@ 
     
    71527183@AMDEP_TRUE@@am__include@ @am__quote@ltdl/loaders/$(DEPDIR)/load_add_on.Plo@am__quote@ 
    71537184@AMDEP_TRUE@@am__include@ @am__quote@ltdl/loaders/$(DEPDIR)/loadlibrary.Plo@am__quote@ 
     7185@AMDEP_TRUE@@am__include@ @am__quote@ltdl/loaders/$(DEPDIR)/ltdl_libltdl_la-preopen.Plo@am__quote@ 
    71547186@AMDEP_TRUE@@am__include@ @am__quote@ltdl/loaders/$(DEPDIR)/ltdl_libltdlc_la-preopen.Plo@am__quote@ 
    71557187@AMDEP_TRUE@@am__include@ @am__quote@ltdl/loaders/$(DEPDIR)/shl_load.Plo@am__quote@ 
     
    81988230@am__fastdepCC_FALSE@   $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(filters_boost_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o filters/filters_boost_la-boost.lo `test -f 'filters/boost.c' || echo '$(srcdir)/'`filters/boost.c 
    81998231 
     8232ltdl/loaders/ltdl_libltdl_la-preopen.lo: ltdl/loaders/preopen.c 
     8233@am__fastdepCC_TRUE@    $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ltdl_libltdl_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ltdl/loaders/ltdl_libltdl_la-preopen.lo -MD -MP -MF ltdl/loaders/$(DEPDIR)/ltdl_libltdl_la-preopen.Tpo -c -o ltdl/loaders/ltdl_libltdl_la-preopen.lo `test -f 'ltdl/loaders/preopen.c' || echo '$(srcdir)/'`ltdl/loaders/preopen.c 
     8234@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) ltdl/loaders/$(DEPDIR)/ltdl_libltdl_la-preopen.Tpo ltdl/loaders/$(DEPDIR)/ltdl_libltdl_la-preopen.Plo 
     8235@am__fastdepCC_FALSE@   $(AM_V_CC) @AM_BACKSLASH@ 
     8236@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='ltdl/loaders/preopen.c' object='ltdl/loaders/ltdl_libltdl_la-preopen.lo' libtool=yes @AMDEPBACKSLASH@ 
     8237@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 
     8238@am__fastdepCC_FALSE@   $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ltdl_libltdl_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ltdl/loaders/ltdl_libltdl_la-preopen.lo `test -f 'ltdl/loaders/preopen.c' || echo '$(srcdir)/'`ltdl/loaders/preopen.c 
     8239 
     8240ltdl/ltdl_libltdl_la-lt__alloc.lo: ltdl/lt__alloc.c 
     8241@am__fastdepCC_TRUE@    $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ltdl_libltdl_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ltdl/ltdl_libltdl_la-lt__alloc.lo -MD -MP -MF ltdl/$(DEPDIR)/ltdl_libltdl_la-lt__alloc.Tpo -c -o ltdl/ltdl_libltdl_la-lt__alloc.lo `test -f 'ltdl/lt__alloc.c' || echo '$(srcdir)/'`ltdl/lt__alloc.c 
     8242@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) ltdl/$(DEPDIR)/ltdl_libltdl_la-lt__alloc.Tpo ltdl/$(DEPDIR)/ltdl_libltdl_la-lt__alloc.Plo 
     8243@am__fastdepCC_FALSE@   $(AM_V_CC) @AM_BACKSLASH@ 
     8244@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='ltdl/lt__alloc.c' object='ltdl/ltdl_libltdl_la-lt__alloc.lo' libtool=yes @AMDEPBACKSLASH@ 
     8245@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 
     8246@am__fastdepCC_FALSE@   $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ltdl_libltdl_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ltdl/ltdl_libltdl_la-lt__alloc.lo `test -f 'ltdl/lt__alloc.c' || echo '$(srcdir)/'`ltdl/lt__alloc.c 
     8247 
     8248ltdl/ltdl_libltdl_la-lt_dlloader.lo: ltdl/lt_dlloader.c 
     8249@am__fastdepCC_TRUE@    $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ltdl_libltdl_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ltdl/ltdl_libltdl_la-lt_dlloader.lo -MD -MP -MF ltdl/$(DEPDIR)/ltdl_libltdl_la-lt_dlloader.Tpo -c -o ltdl/ltdl_libltdl_la-lt_dlloader.lo `test -f 'ltdl/lt_dlloader.c' || echo '$(srcdir)/'`ltdl/lt_dlloader.c 
     8250@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) ltdl/$(DEPDIR)/ltdl_libltdl_la-lt_dlloader.Tpo ltdl/$(DEPDIR)/ltdl_libltdl_la-lt_dlloader.Plo 
     8251@am__fastdepCC_FALSE@   $(AM_V_CC) @AM_BACKSLASH@ 
     8252@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='ltdl/lt_dlloader.c' object='ltdl/ltdl_libltdl_la-lt_dlloader.lo' libtool=yes @AMDEPBACKSLASH@ 
     8253@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 
     8254@am__fastdepCC_FALSE@   $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ltdl_libltdl_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ltdl/ltdl_libltdl_la-lt_dlloader.lo `test -f 'ltdl/lt_dlloader.c' || echo '$(srcdir)/'`ltdl/lt_dlloader.c 
     8255 
     8256ltdl/ltdl_libltdl_la-lt_error.lo: ltdl/lt_error.c 
     8257@am__fastdepCC_TRUE@    $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ltdl_libltdl_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ltdl/ltdl_libltdl_la-lt_error.lo -MD -MP -MF ltdl/$(DEPDIR)/ltdl_libltdl_la-lt_error.Tpo -c -o ltdl/ltdl_libltdl_la-lt_error.lo `test -f 'ltdl/lt_error.c' || echo '$(srcdir)/'`ltdl/lt_error.c 
     8258@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) ltdl/$(DEPDIR)/ltdl_libltdl_la-lt_error.Tpo ltdl/$(DEPDIR)/ltdl_libltdl_la-lt_error.Plo 
     8259@am__fastdepCC_FALSE@   $(AM_V_CC) @AM_BACKSLASH@ 
     8260@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='ltdl/lt_error.c' object='ltdl/ltdl_libltdl_la-lt_error.lo' libtool=yes @AMDEPBACKSLASH@ 
     8261@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 
     8262@am__fastdepCC_FALSE@   $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ltdl_libltdl_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ltdl/ltdl_libltdl_la-lt_error.lo `test -f 'ltdl/lt_error.c' || echo '$(srcdir)/'`ltdl/lt_error.c 
     8263 
     8264ltdl/ltdl_libltdl_la-ltdl.lo: ltdl/ltdl.c 
     8265@am__fastdepCC_TRUE@    $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ltdl_libltdl_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ltdl/ltdl_libltdl_la-ltdl.lo -MD -MP -MF ltdl/$(DEPDIR)/ltdl_libltdl_la-ltdl.Tpo -c -o ltdl/ltdl_libltdl_la-ltdl.lo `test -f 'ltdl/ltdl.c' || echo '$(srcdir)/'`ltdl/ltdl.c 
     8266@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) ltdl/$(DEPDIR)/ltdl_libltdl_la-ltdl.Tpo ltdl/$(DEPDIR)/ltdl_libltdl_la-ltdl.Plo 
     8267@am__fastdepCC_FALSE@   $(AM_V_CC) @AM_BACKSLASH@ 
     8268@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='ltdl/ltdl.c' object='ltdl/ltdl_libltdl_la-ltdl.lo' libtool=yes @AMDEPBACKSLASH@ 
     8269@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 
     8270@am__fastdepCC_FALSE@   $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ltdl_libltdl_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ltdl/ltdl_libltdl_la-ltdl.lo `test -f 'ltdl/ltdl.c' || echo '$(srcdir)/'`ltdl/ltdl.c 
     8271 
     8272ltdl/ltdl_libltdl_la-slist.lo: ltdl/slist.c 
     8273@am__fastdepCC_TRUE@    $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ltdl_libltdl_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ltdl/ltdl_libltdl_la-slist.lo -MD -MP -MF ltdl/$(DEPDIR)/ltdl_libltdl_la-slist.Tpo -c -o ltdl/ltdl_libltdl_la-slist.lo `test -f 'ltdl/slist.c' || echo '$(srcdir)/'`ltdl/slist.c 
     8274@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) ltdl/$(DEPDIR)/ltdl_libltdl_la-slist.Tpo ltdl/$(DEPDIR)/ltdl_libltdl_la-slist.Plo 
     8275@am__fastdepCC_FALSE@   $(AM_V_CC) @AM_BACKSLASH@ 
     8276@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='ltdl/slist.c' object='ltdl/ltdl_libltdl_la-slist.lo' libtool=yes @AMDEPBACKSLASH@ 
     8277@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 
     8278@am__fastdepCC_FALSE@   $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ltdl_libltdl_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ltdl/ltdl_libltdl_la-slist.lo `test -f 'ltdl/slist.c' || echo '$(srcdir)/'`ltdl/slist.c 
     8279 
    82008280ltdl/loaders/ltdl_libltdlc_la-preopen.lo: ltdl/loaders/preopen.c 
    82018281@am__fastdepCC_TRUE@    $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ltdl_libltdlc_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ltdl/loaders/ltdl_libltdlc_la-preopen.lo -MD -MP -MF ltdl/loaders/$(DEPDIR)/ltdl_libltdlc_la-preopen.Tpo -c -o ltdl/loaders/ltdl_libltdlc_la-preopen.lo `test -f 'ltdl/loaders/preopen.c' || echo '$(srcdir)/'`ltdl/loaders/preopen.c 
  • ImageMagick/trunk/config/configure.xml

    r603 r617  
    1010  <configure name="LIB_VERSION" value="0x657"/> 
    1111  <configure name="LIB_VERSION_NUMBER" value="6,5,7,9"/> 
    12   <configure name="RELEASE_DATE" value="2009-11-17"/> 
     12  <configure name="RELEASE_DATE" value="2009-11-19"/> 
    1313  <configure name="CONFIGURE" value="./configure "/> 
    1414  <configure name="PREFIX" value="/usr/local"/> 
  • ImageMagick/trunk/config/ltmain.sh

    r603 r617  
    11# Generated from ltmain.m4sh. 
    22 
    3 # ltmain.sh (GNU libtool) 2.2.6b 
     3# libtool (GNU libtool 1.3130 2009-11-16) 2.2.7a 
    44# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 
    55 
    6 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc. 
     6# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 
     7# 2007, 2008, 2009 Free Software Foundation, Inc. 
    78# This is free software; see the source for copying conditions.  There is NO 
    89# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
     
    3334# Provide generalized library-building support services. 
    3435# 
    35 #     --config             show all configuration variables 
    36 #     --debug              enable verbose shell tracing 
    37 # -n, --dry-run            display commands without modifying any files 
    38 #     --features           display basic configuration information and exit 
    39 #     --mode=MODE          use operation mode MODE 
    40 #     --preserve-dup-deps  don't remove duplicate dependency libraries 
    41 #     --quiet, --silent    don't print informational messages 
    42 #     --tag=TAG            use configuration variables from tag TAG 
    43 # -v, --verbose            print informational messages (default) 
    44 #     --version            print version information 
    45 # -h, --help               print short or long help message 
     36#       --config             show all configuration variables 
     37#       --debug              enable verbose shell tracing 
     38#   -n, --dry-run            display commands without modifying any files 
     39#       --features           display basic configuration information and exit 
     40#       --mode=MODE          use operation mode MODE 
     41#       --preserve-dup-deps  don't remove duplicate dependency libraries 
     42#       --quiet, --silent    don't print informational messages 
     43#       --no-quiet, --no-silent 
     44#                            print informational messages (default) 
     45#       --tag=TAG            use configuration variables from tag TAG 
     46#   -v, --verbose            print more informational messages than default 
     47#       --no-verbose         don't print the extra informational messages 
     48#       --version            print version information 
     49#   -h, --help, --help-all   print short, long, or detailed help message 
    4650# 
    4751# MODE must be one of the following: 
    4852# 
    49 #       clean              remove files from the build directory 
    50 #       compile            compile a source file into a libtool object 
    51 #       execute            automatically set library path, then run a program 
    52 #       finish             complete the installation of libtool libraries 
    53 #       install            install libraries or executables 
    54 #       link               create a library or an executable 
    55 #       uninstall          remove libraries from an installed directory 
     53#         clean              remove files from the build directory 
     54#         compile            compile a source file into a libtool object 
     55#         execute            automatically set library path, then run a program 
     56#         finish             complete the installation of libtool libraries 
     57#         install            install libraries or executables 
     58#         link               create a library or an executable 
     59#         uninstall          remove libraries from an installed directory 
    5660# 
    57 # MODE-ARGS vary depending on the MODE. 
     61# MODE-ARGS vary depending on the MODE.  When passed as first option, 
     62# `--mode=MODE' may be abbreviated as `MODE' or a unique abbreviation of that. 
    5863# Try `$progname --help --mode=MODE' for a more detailed description of MODE. 
    5964# 
     
    6166# include the following information: 
    6267# 
    63 #       host-triplet:   $host 
    64 #       shell:          $SHELL 
    65 #       compiler:               $LTCC 
    66 #       compiler flags:         $LTCFLAGS 
    67 #       linker:         $LD (gnu? $with_gnu_ld) 
    68 #       $progname:              (GNU libtool) 2.2.6b 
    69 #       automake:               $automake_version 
    70 #       autoconf:               $autoconf_version 
     68#         host-triplet: $host 
     69#         shell:                $SHELL 
     70#         compiler:             $LTCC 
     71#         compiler flags:               $LTCFLAGS 
     72#         linker:               $LD (gnu? $with_gnu_ld) 
     73#         $progname:    (GNU libtool 1.3130 2009-11-16) 2.2.7a 
     74#         automake:     $automake_version 
     75#         autoconf:     $autoconf_version 
    7176# 
    7277# Report bugs to <bug-libtool@gnu.org>. 
    7378 
    74 PROGRAM=ltmain.sh 
     79PROGRAM=libtool 
    7580PACKAGE=libtool 
    76 VERSION=2.2.6b 
    77 TIMESTAMP="" 
    78 package_revision=1.3017 
     81VERSION=2.2.7a 
     82TIMESTAMP=" 1.3130 2009-11-16" 
     83package_revision=1.3130 
    7984 
    8085# Be Bourne compatible 
     
    9196BIN_SH=xpg4; export BIN_SH # for Tru64 
    9297DUALCASE=1; export DUALCASE # for MKS sh 
     98 
     99# A function that is used when there is no print builtin or printf. 
     100func_fallback_echo () 
     101{ 
     102  eval 'cat <<_LTECHO_EOF 
     103$1 
     104_LTECHO_EOF' 
     105} 
    93106 
    94107# NLS nuisances: We save the old values to restore during execute mode. 
     
    115128 
    116129 
     130 
     131 
     132# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh 
     133# is ksh but when the shell is invoked as "sh" and the current value of 
     134# the _XPG environment variable is not equal to 1 (one), the special 
     135# positional parameter $0, within a function call, is the name of the 
     136# function. 
     137progpath="$0" 
     138 
     139 
     140 
    117141: ${CP="cp -f"} 
    118 : ${ECHO="echo"} 
    119 : ${EGREP="/bin/grep -E"} 
    120 : ${FGREP="/bin/grep -F"} 
    121 : ${GREP="/bin/grep"} 
     142: ${ECHO=$as_echo} 
     143: ${EGREP="egrep"} 
     144: ${FGREP="fgrep"} 
     145: ${GREP="grep"} 
    122146: ${LN_S="ln -s"} 
    123147: ${MAKE="make"} 
     
    125149: ${MV="mv -f"} 
    126150: ${RM="rm -f"} 
    127 : ${SED="/bin/sed"} 
     151: ${SED="sed"} 
    128152: ${SHELL="${CONFIG_SHELL-/bin/sh}"} 
    129153: ${Xsed="$SED -e 1s/^X//"} 
     
    160184{ 
    161185  # Extract subdirectory from the argument. 
    162   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` 
     186  func_dirname_result=`$ECHO "${1}" | $SED -e "$dirname"` 
    163187  if test "X$func_dirname_result" = "X${1}"; then 
    164188    func_dirname_result="${3}" 
     
    166190    func_dirname_result="$func_dirname_result${2}" 
    167191  fi 
    168   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` 
     192  func_basename_result=`$ECHO "${1}" | $SED -e "$basename"` 
    169193} 
    170194 
    171195# Generated shell functions inserted here. 
    172196 
    173 # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh 
    174 # is ksh but when the shell is invoked as "sh" and the current value of 
    175 # the _XPG environment variable is not equal to 1 (one), the special 
    176 # positional parameter $0, within a function call, is the name of the 
    177 # function. 
    178 progpath="$0" 
     197# These SED scripts presuppose an absolute path with a trailing slash. 
     198pathcar='s,^/\([^/]*\).*$,\1,' 
     199pathcdr='s,^/[^/]*,,' 
     200removedotparts=':dotsl 
     201                s@/\./@/@g 
     202                t dotsl 
     203                s,/\.$,/,' 
     204collapseslashes='s@/\{1,\}@/@g' 
     205finalslash='s,/*$,/,' 
     206 
     207# func_normal_abspath PATH 
     208# Remove doubled-up and trailing slashes, "." path components, 
     209# and cancel out any ".." path components in PATH after making 
     210# it an absolute path. 
     211#             value returned in "$func_normal_abspath_result" 
     212func_normal_abspath () 
     213{ 
     214  # Start from root dir and reassemble the path. 
     215  func_normal_abspath_result= 
     216  func_normal_abspath_tpath=$1 
     217  func_normal_abspath_altnamespace= 
     218  case $func_normal_abspath_tpath in 
     219    "") 
     220      # Empty path, that just means $cwd. 
     221      func_stripname '' '/' "`pwd`" 
     222      func_normal_abspath_result=$func_stripname_result 
     223      return 
     224    ;; 
     225    # The next three entries are used to spot a run of precisely 
     226    # two leading slashes without using negated character classes; 
     227    # we take advantage of case's first-match behaviour. 
     228    ///*) 
     229      # Unusual form of absolute path, do nothing. 
     230    ;; 
     231    //*) 
     232      # Not necessarily an ordinary path; POSIX reserves leading '//' 
     233      # and for example Cygwin uses it to access remote file shares 
     234      # over CIFS/SMB, so we conserve a leading double slash if found. 
     235      func_normal_abspath_altnamespace=/ 
     236    ;; 
     237    /*) 
     238      # Absolute path, do nothing. 
     239    ;; 
     240    *) 
     241      # Relative path, prepend $cwd. 
     242      func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath 
     243    ;; 
     244  esac 
     245  # Cancel out all the simple stuff to save iterations.  We also want 
     246  # the path to end with a slash for ease of parsing, so make sure 
     247  # there is one (and only one) here. 
     248  func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ 
     249        -e "$removedotparts" -e "$collapseslashes" -e "$finalslash"` 
     250  while :; do 
     251    # Processed it all yet? 
     252    if test "$func_normal_abspath_tpath" = / ; then 
     253      # If we ascended to the root using ".." the result may be empty now. 
     254      if test -z "$func_normal_abspath_result" ; then 
     255        func_normal_abspath_result=/ 
     256      fi 
     257      break 
     258    fi 
     259    func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \ 
     260        -e "$pathcar"` 
     261    func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ 
     262        -e "$pathcdr"` 
     263    # Figure out what to do with it 
     264    case $func_normal_abspath_tcomponent in 
     265      "") 
     266        # Trailing empty path component, ignore it. 
     267      ;; 
     268      ..) 
     269        # Parent dir; strip last assembled component from result. 
     270        func_dirname "$func_normal_abspath_result" 
     271        func_normal_abspath_result=$func_dirname_result 
     272      ;; 
     273      *) 
     274        # Actual path component, append it. 
     275        func_normal_abspath_result=$func_normal_abspath_result/$func_normal_abspath_tcomponent 
     276      ;; 
     277    esac 
     278  done 
     279  # Restore leading double-slash if one was found on entry. 
     280  func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result 
     281} 
     282 
     283# func_relative_path SRCDIR DSTDIR 
     284# generates a relative path from SRCDIR to DSTDIR, with a trailing 
     285# slash if non-empty, suitable for immediately appending a filename 
     286# without needing to append a separator. 
     287#             value returned in "$func_relative_path_result" 
     288func_relative_path () 
     289{ 
     290  func_relative_path_result= 
     291  func_normal_abspath "$1" 
     292  func_relative_path_tlibdir=$func_normal_abspath_result 
     293  func_normal_abspath "$2" 
     294  func_relative_path_tbindir=$func_normal_abspath_result 
     295 
     296  # Ascend the tree starting from libdir 
     297  while :; do 
     298    # check if we have found a prefix of bindir 
     299    case $func_relative_path_tbindir in 
     300      $func_relative_path_tlibdir) 
     301        # found an exact match 
     302        func_relative_path_tcancelled= 
     303        break 
     304        ;; 
     305      $func_relative_path_tlibdir*) 
     306        # found a matching prefix 
     307        func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir" 
     308        func_relative_path_tcancelled=$func_stripname_result 
     309        if test -z "$func_relative_path_result"; then 
     310          func_relative_path_result=. 
     311        fi 
     312        break 
     313        ;; 
     314      *) 
     315        func_dirname $func_relative_path_tlibdir 
     316        func_relative_path_tlibdir=${func_dirname_result} 
     317        if test "x$func_relative_path_tlibdir" = x ; then 
     318          # Have to descend all the way to the root! 
     319          func_relative_path_result=../$func_relative_path_result 
     320          func_relative_path_tcancelled=$func_relative_path_tbindir 
     321          break 
     322        fi 
     323        func_relative_path_result=../$func_relative_path_result 
     324        ;; 
     325    esac 
     326  done 
     327 
     328  # Now calculate path; take care to avoid doubling-up slashes. 
     329  func_stripname '' '/' "$func_relative_path_result" 
     330  func_relative_path_result=$func_stripname_result 
     331  func_stripname '/' '/' "$func_relative_path_tcancelled" 
     332  if test "x$func_stripname_result" != x ; then 
     333    func_relative_path_result=${func_relative_path_result}/${func_stripname_result} 
     334  fi 
     335 
     336  # Normalisation. If bindir is libdir, return empty string, 
     337  # else relative path ending with a slash; either way, target 
     338  # file name can be directly appended. 
     339  if test ! -z "$func_relative_path_result"; then 
     340    func_stripname './' '' "$func_relative_path_result/" 
     341    func_relative_path_result=$func_stripname_result 
     342  fi 
     343} 
    179344 
    180345# The name of this program: 
    181 # In the unlikely event $progname began with a '-', it would play havoc with 
    182 # func_echo (imagine progname=-n), so we prepend ./ in that case: 
    183346func_dirname_and_basename "$progpath" 
    184347progname=$func_basename_result 
    185 case $progname in 
    186   -*) progname=./$progname ;; 
    187 esac 
    188348 
    189349# Make sure we have an absolute path for reexecution: 
     
    259419} 
    260420 
     421# func_echo_all arg... 
     422# Invoke $ECHO with all args, space-separated. 
     423func_echo_all () 
     424{ 
     425    $ECHO "$*" 
     426} 
     427 
    261428# func_error arg... 
    262429# Echo program name prefixed message to standard error. 
     
    327494 
    328495        # ...otherwise throw away the child directory and loop 
    329         my_directory_path=`$ECHO "X$my_directory_path" | $Xsed -e "$dirname"` 
     496        my_directory_path=`$ECHO "$my_directory_path" | $SED -e "$dirname"` 
    330497      done 
    331       my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'` 
     498      my_dir_list=`$ECHO "$my_dir_list" | $SED 's,:*$,,'` 
    332499 
    333500      save_mkdir_p_IFS="$IFS"; IFS=':' 
     
    379546    fi 
    380547 
    381     $ECHO "X$my_tmpdir" | $Xsed 
     548    $ECHO "$my_tmpdir" 
    382549} 
    383550 
     
    393560    case $1 in 
    394561      *[\\\`\"\$]*) 
    395         func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;; 
     562        func_quote_for_eval_unquoted_result=`$ECHO "$1" | $SED "$sed_quote_subst"` ;; 
    396563      *) 
    397564        func_quote_for_eval_unquoted_result="$1" ;; 
     
    420587    case $1 in 
    421588      *[\\\`\"]*) 
    422         my_arg=`$ECHO "X$1" | $Xsed \ 
     589        my_arg=`$ECHO "$1" | $SED \ 
    423590            -e "$double_quote_subst" -e "$sed_double_backslash"` ;; 
    424591      *) 
     
    497664func_version () 
    498665{ 
    499     $SED -n '/^# '$PROGRAM' (GNU /,/# warranty; / { 
     666    $SED -n '/(C)/!b go 
     667        :more 
     668        /\./!{ 
     669          N 
     670          s/\n# // 
     671          b more 
     672        } 
     673        :go 
     674        /^# '$PROGRAM' (GNU /,/# warranty; / { 
    500675        s/^# // 
    501676        s/^# *$// 
     
    510685func_usage () 
    511686{ 
    512     $SED -n '/^# Usage:/,/# -h/ { 
     687    $SED -n '/^# Usage:/,/^#  *-h/ { 
    513688        s/^# // 
    514689        s/^# *$// 
     
    516691        p 
    517692    }' < "$progpath" 
    518     $ECHO 
     693    echo 
    519694    $ECHO "run \`$progname --help | more' for full usage" 
    520695    exit $? 
    521696} 
    522697 
    523 # func_help 
    524 # Echo long help message to standard output and exit. 
     698# func_help [NOEXIT] 
     699# Echo long help message to standard output and exit, 
     700# unless 'noexit' is passed as argument. 
    525701func_help () 
    526702{ 
     
    539715        p 
    540716     }' < "$progpath" 
    541     exit $? 
     717    ret=$? 
     718    if test -z "$1"; then 
     719      exit $ret 
     720    fi 
    542721} 
    543722 
     
    557736 
    558737 
    559 # Check that we have a working $ECHO. 
    560 if test "X$1" = X--no-reexec; then 
    561   # Discard the --no-reexec flag, and continue. 
    562   shift 
    563 elif test "X$1" = X--fallback-echo; then 
    564   # Avoid inline document here, it may be left over 
    565   : 
    566 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t'; then 
    567   # Yippee, $ECHO works! 
    568   : 
    569 else 
    570   # Restart under the correct shell, and then maybe $ECHO will work. 
    571   exec $SHELL "$progpath" --no-reexec ${1+"$@"} 
    572 fi 
    573  
    574 if test "X$1" = X--fallback-echo; then 
    575   # used as fallback echo 
    576   shift 
    577   cat <<EOF 
    578 $* 
    579 EOF 
    580   exit $EXIT_SUCCESS 
    581 fi 
    582738 
    583739magic="%%%MAGIC variable%%%" 
     
    637793func_features () 
    638794{ 
    639     $ECHO "host: $host" 
     795    echo "host: $host" 
    640796    if test "$build_libtool_libs" = yes; then 
    641       $ECHO "enable shared libraries" 
     797      echo "enable shared libraries" 
    642798    else 
    643       $ECHO "disable shared libraries" 
     799      echo "disable shared libraries" 
    644800    fi 
    645801    if test "$build_old_libs" = yes; then 
    646       $ECHO "enable static libraries" 
     802      echo "enable static libraries" 
    647803    else 
    648       $ECHO "disable static libraries" 
     804      echo "disable static libraries" 
    649805    fi 
    650806 
     
    773929      --quiet|--silent) preserve_args="$preserve_args $opt" 
    774930                        opt_silent=: 
     931                        opt_verbose=false 
     932                        ;; 
     933 
     934      --no-quiet|--no-silent) 
     935                        preserve_args="$preserve_args $opt" 
     936                        opt_silent=false 
    775937                        ;; 
    776938 
    777939      --verbose| -v)    preserve_args="$preserve_args $opt" 
    778940                        opt_silent=false 
     941                        opt_verbose=: 
     942                        ;; 
     943 
     944      --no-verbose)     preserve_args="$preserve_args $opt" 
     945                        opt_verbose=false 
    779946                        ;; 
    780947 
     
    794961      -\?|-h)           func_usage                                      ;; 
    795962      --help)           opt_help=:                                      ;; 
     963      --help-all)       opt_help=': help-all'                           ;; 
    796964      --version)        func_version                                    ;; 
    797965 
     
    10171185        CC_quoted="$CC_quoted $func_quote_for_eval_result" 
    10181186      done 
     1187      CC_expanded=`func_echo_all $CC` 
     1188      CC_quoted_expanded=`func_echo_all $CC_quoted` 
    10191189      case $@ in 
    10201190      # Blanks in the command may have been stripped by the calling shell, 
    10211191      # but not from the CC environment variable when configure was run. 
    1022       " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) ;; 
     1192      " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ 
     1193      " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;; 
    10231194      # Blanks at the start of $base_compile will cause this to fail 
    10241195      # if we don't check for them as well. 
     
    10341205              CC_quoted="$CC_quoted $func_quote_for_eval_result" 
    10351206            done 
     1207            CC_expanded=`func_echo_all $CC` 
     1208            CC_quoted_expanded=`func_echo_all $CC_quoted` 
    10361209            case "$@ " in 
    1037               " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) 
     1210            " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ 
     1211            " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) 
    10381212              # The compiler in the base compile command matches 
    10391213              # the one in the tagged configuration. 
     
    12141388    *.ada | *.adb | *.ads | *.asm | \ 
    12151389    *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \ 
    1216     *.[fF][09]? | *.for | *.java | *.obj | *.sx) 
     1390    *.[fF][09]? | *.for | *.java | *.obj | *.sx | *.cu | *.cup) 
    12171391      func_xform "$libobj" 
    12181392      libobj=$func_xform_result 
     
    12891463    # not support -o with -c 
    12901464    if test "$compiler_c_o" = no; then 
    1291       output_obj=`$ECHO "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext} 
     1465      output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.${objext} 
    12921466      lockfile="$output_obj.lock" 
    12931467    else 
     
    14461620 
    14471621$opt_help || { 
    1448 test "$mode" = compile && func_mode_compile ${1+"$@"} 
     1622  test "$mode" = compile && func_mode_compile ${1+"$@"} 
    14491623} 
    14501624 
     
    14871661  -shared           do not build a \`.o' file suitable for static linking 
    14881662  -static           only build a \`.o' file suitable for static linking 
     1663  -Wc,FLAG          pass FLAG directly to the compiler 
    14891664 
    14901665COMPILE-COMMAND is a command to be used in creating a \`standard' object file 
     
    15391714The following components of INSTALL-COMMAND are treated specially: 
    15401715 
    1541   -inst-prefix PREFIX-DIR  Use PREFIX-DIR as a staging area for installation 
     1716  -inst-prefix-dir PREFIX-DIR  Use PREFIX-DIR as a staging area for installation 
    15421717 
    15431718The rest of the components are interpreted as arguments to that command (only 
     
    15591734  -all-static       do not do any dynamic linking at all 
    15601735  -avoid-version    do not add a version suffix if possible 
     1736  -bindir BINDIR    specify path to binaries directory (for systems where 
     1737                    libraries must be found in the PATH setting at runtime) 
    15611738  -dlopen FILE      \`-dlpreopen' FILE if it cannot be dlopened at runtime 
    15621739  -dlpreopen FILE   link in FILE and add its symbols to lt_preloaded_symbols 
     
    15871764                    specify library version info [each variable defaults to 0] 
    15881765  -weak LIBNAME     declare that the target provides the LIBNAME interface 
     1766  -Wc,FLAG 
     1767  -Xcompiler FLAG   pass linker-specific FLAG directly to the compiler 
     1768  -Wl,FLAG 
     1769  -Xlinker FLAG     pass linker-specific FLAG directly to the linker 
     1770  -XCClinker FLAG   pass link-specific FLAG to the compiler driver (CC) 
    15891771 
    15901772All other options (arguments beginning with \`-') are ignored. 
     
    16241806    esac 
    16251807 
    1626     $ECHO 
     1808    echo 
    16271809    $ECHO "Try \`$progname --help' for more information about other modes." 
    1628  
    1629     exit $? 
    16301810} 
    16311811 
    1632   # Now that we've collected a possible --mode arg, show help if necessary 
    1633   $opt_help && func_mode_help 
     1812# Now that we've collected a possible --mode arg, show help if necessary 
     1813if $opt_help; then 
     1814  if test "$opt_help" = :; then 
     1815    func_mode_help 
     1816  else 
     1817    { 
     1818      func_help noexit 
     1819      for mode in compile link execute install finish uninstall clean; do 
     1820        func_mode_help 
     1821      done 
     1822    } | sed -n '1p; 2,$s/^Usage:/  or: /p' 
     1823    { 
     1824      func_help noexit 
     1825      for mode in compile link execute install finish uninstall clean; do 
     1826        echo 
     1827        func_mode_help 
     1828      done 
     1829    } | 
     1830    sed '1d 
     1831      /^When reporting/,/^Report/{ 
     1832        H 
     1833        d 
     1834      } 
     1835      $x 
     1836      /information about other modes/d 
     1837      /more detailed .*MODE/d 
     1838      s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/' 
     1839  fi 
     1840  exit $? 
     1841fi 
    16341842 
    16351843 
     
    17131921    do 
    17141922      case $file in 
    1715       -*) ;; 
     1923      -* | *.la | *.lo ) ;; 
    17161924      *) 
    17171925        # Do a test to see if this is really a libtool program. 
     
    17551963      if test -n "$shlibpath_var"; then 
    17561964        eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\"" 
    1757         $ECHO "export $shlibpath_var" 
     1965        echo "export $shlibpath_var" 
    17581966      fi 
    17591967      $ECHO "$cmd$args" 
     
    17962004    $opt_silent && exit $EXIT_SUCCESS 
    17972005 
    1798     $ECHO "X----------------------------------------------------------------------" | $Xsed 
    1799     $ECHO "Libraries have been installed in:" 
     2006    echo "----------------------------------------------------------------------" 
     2007    echo "Libraries have been installed in:" 
    18002008    for libdir in $libdirs; do 
    18012009      $ECHO "   $libdir" 
    18022010    done 
    1803     $ECHO 
    1804     $ECHO "If you ever happen to want to link against installed libraries" 
    1805     $ECHO "in a given directory, LIBDIR, you must either use libtool, and" 
    1806     $ECHO "specify the full pathname of the library, or use the \`-LLIBDIR'" 
    1807     $ECHO "flag during linking and do at least one of the following:" 
     2011    echo 
     2012    echo "If you ever happen to want to link against installed libraries" 
     2013    echo "in a given directory, LIBDIR, you must either use libtool, and" 
     2014    echo "specify the full pathname of the library, or use the \`-LLIBDIR'" 
     2015    echo "flag during linking and do at least one of the following:" 
    18082016    if test -n "$shlibpath_var"; then 
    1809       $ECHO "   - add LIBDIR to the \`$shlibpath_var' environment variable" 
    1810       $ECHO "     during execution" 
     2017      echo "   - add LIBDIR to the \`$shlibpath_var' environment variable" 
     2018      echo "     during execution" 
    18112019    fi 
    18122020    if test -n "$runpath_var"; then 
    1813       $ECHO "   - add LIBDIR to the \`$runpath_var' environment variable" 
    1814       $ECHO "     during linking" 
     2021      echo "   - add LIBDIR to the \`$runpath_var' environment variable" 
     2022      echo "     during linking" 
    18152023    fi 
    18162024    if test -n "$hardcode_libdir_flag_spec"; then 
     
    18242032    fi 
    18252033    if test -f /etc/ld.so.conf; then 
    1826       $ECHO "   - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" 
     2034      echo "   - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" 
    18272035    fi 
    1828     $ECHO 
    1829  
    1830     $ECHO "See any operating system documentation about shared libraries for" 
     2036    echo 
     2037 
     2038    echo "See any operating system documentation about shared libraries for" 
    18312039    case $host in 
    18322040      solaris2.[6789]|solaris2.1[0-9]) 
    1833         $ECHO "more information, such as the ld(1), crle(1) and ld.so(8) manual" 
    1834         $ECHO "pages." 
     2041        echo "more information, such as the ld(1), crle(1) and ld.so(8) manual" 
     2042        echo "pages." 
    18352043        ;; 
    18362044      *) 
    1837         $ECHO "more information, such as the ld(1) and ld.so(8) manual pages." 
     2045        echo "more information, such as the ld(1) and ld.so(8) manual pages." 
    18382046        ;; 
    18392047    esac 
    1840     $ECHO "X----------------------------------------------------------------------" | $Xsed 
     2048    echo "----------------------------------------------------------------------" 
    18412049    exit $EXIT_SUCCESS 
    18422050} 
     
    18532061    if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || 
    18542062       # Allow the use of GNU shtool's install command. 
    1855        $ECHO "X$nonopt" | $GREP shtool >/dev/null; then 
     2063       case $nonopt in *shtool*) :;; *) false;; esac; then 
    18562064      # Aesthetically quote it. 
    18572065      func_quote_for_eval "$nonopt" 
     
    18682076    func_quote_for_eval "$arg" 
    18692077    install_prog="$install_prog$func_quote_for_eval_result" 
     2078    install_shared_prog=$install_prog 
     2079    case " $install_prog " in 
     2080      *[\\\ /]cp\ *) install_cp=: ;; 
     2081      *) install_cp=false ;; 
     2082    esac 
    18702083 
    18712084    # We need to accept at least all the BSD install flags. 
     
    18772090    isdir=no 
    18782091    stripme= 
     2092    no_mode=: 
    18792093    for arg 
    18802094    do 
     2095      arg2= 
    18812096      if test -n "$dest"; then 
    18822097        files="$files $dest" 
     
    18882103      -d) isdir=yes ;; 
    18892104      -f) 
    1890         case " $install_prog " in 
    1891         *[\\\ /]cp\ *) ;; 
    1892         *) prev=$arg ;; 
    1893         esac 
     2105        if $install_cp; then :; else 
     2106          prev=$arg 
     2107        fi 
    18942108        ;; 
    18952109      -g | -m | -o) 
     
    19052119        # If the previous option needed an argument, then skip it. 
    19062120        if test -n "$prev"; then 
     2121          if test "x$prev" = x-m && test -n "$install_override_mode"; then 
     2122            arg2=$install_override_mode 
     2123            no_mode=false 
     2124          fi 
    19072125          prev= 
    19082126        else 
     
    19162134      func_quote_for_eval "$arg" 
    19172135      install_prog="$install_prog $func_quote_for_eval_result" 
     2136      if test -n "$arg2"; then 
     2137        func_quote_for_eval "$arg2" 
     2138      fi 
     2139      install_shared_prog="$install_shared_prog $func_quote_for_eval_result" 
    19182140    done 
    19192141 
     
    19232145    test -n "$prev" && \ 
    19242146      func_fatal_help "the \`$prev' option requires an argument" 
     2147 
     2148    if test -n "$install_override_mode" && $no_mode; then 
     2149      if $install_cp; then :; else 
     2150        func_quote_for_eval "$install_override_mode" 
     2151        install_shared_prog="$install_shared_prog -m $func_quote_for_eval_result" 
     2152      fi 
     2153    fi 
    19252154 
    19262155    if test -z "$files"; then 
     
    20112240        if test -n "$relink_command"; then 
    20122241          # Determine the prefix the user has applied to our future dir. 
    2013           inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$libdir\$%%"` 
     2242          inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"` 
    20142243 
    20152244          # Don't allow the user to place us outside of our expected 
     
    20242253          if test -n "$inst_prefix_dir"; then 
    20252254            # Stick the inst_prefix_dir data into the link command. 
    2026             relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` 
     2255            relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` 
    20272256          else 
    2028             relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%%"` 
     2257            relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"` 
    20292258          fi 
    20302259 
     
    20442273 
    20452274          # Install the shared library and build the symlinks. 
    2046           func_show_eval "$install_prog $dir/$srcname $destdir/$realname" \ 
     2275          func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \ 
    20472276              'exit $?' 
    20482277          tstripme="$stripme" 
     
    21842413              func_source "$lib" 
    21852414            fi 
    2186             libfile="$libdir/"`$ECHO "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test 
     2415            libfile="$libdir/"`$ECHO "$lib" | $SED 's%^.*/%%g'` ### testsuite: skip nested quoting test 
    21872416            if test -n "$libdir" && test ! -f "$libfile"; then 
    21882417              func_warning "\`$lib' has not been installed in \`$libdir'" 
     
    22032432                outputname="$tmpdir/$file" 
    22042433                # Replace the output file specification. 
    2205                 relink_command=`$ECHO "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'` 
     2434                relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'` 
    22062435 
    22072436                $opt_silent || { 
     
    22222451          else 
    22232452            # Install the binary that we compiled earlier. 
    2224             file=`$ECHO "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"` 
     2453            file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"` 
    22252454          fi 
    22262455        fi 
     
    23242553#endif 
    23252554 
     2555#if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4)) 
     2556#pragma GCC diagnostic ignored \"-Wstrict-prototypes\" 
     2557#endif 
     2558 
    23262559/* External symbol declarations for the compiler. */\ 
    23272560" 
     
    23332566 
    23342567          # Add our own program objects to the symbol list. 
    2335           progfiles=`$ECHO "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` 
     2568          progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP` 
    23362569          for progfile in $progfiles; do 
    23372570            func_verbose "extracting global C symbols from \`$progfile'" 
     
    23722605              eval '$MV "$nlist"T "$nlist"' 
    23732606              case $host in 
    2374                 *cygwin | *mingw* | *cegcc* ) 
     2607                *cygwin* | *mingw* | *cegcc* ) 
    23752608                  eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' 
    23762609                  eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' 
     
    24162649            eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"' 
    24172650          else 
    2418             $ECHO '/* NONE */' >> "$output_objdir/$my_dlsyms" 
     2651            echo '/* NONE */' >> "$output_objdir/$my_dlsyms" 
    24192652          fi 
    24202653 
    2421           $ECHO >> "$output_objdir/$my_dlsyms" "\ 
     2654          echo >> "$output_objdir/$my_dlsyms" "\ 
    24222655 
    24232656/* The mapping between symbol names and symbols.  */ 
     
    24292662          case $host in 
    24302663          *cygwin* | *mingw* | *cegcc* ) 
    2431             $ECHO >> "$output_objdir/$my_dlsyms" "\ 
     2664            echo >> "$output_objdir/$my_dlsyms" "\ 
    24322665/* DATA imports from DLLs on WIN32 con't be const, because 
    24332666   runtime relocations are performed -- see ld's documentation 
     
    24422675          esac 
    24432676 
    2444           $ECHO >> "$output_objdir/$my_dlsyms" "\ 
     2677          echo >> "$output_objdir/$my_dlsyms" "\ 
    24452678extern $lt_dlsym_const lt_dlsymlist 
    24462679lt_${my_prefix}_LTX_preloaded_symbols[]; 
     
    24582691            ;; 
    24592692          esac 
    2460           $ECHO >> "$output_objdir/$my_dlsyms" "\ 
     2693          echo >> "$output_objdir/$my_dlsyms" "\ 
    24612694  {0, (void *) 0} 
    24622695}; 
     
    25162749        *cygwin* | *mingw* | *cegcc* ) 
    25172750          if test -f "$output_objdir/$my_outputname.def"; then 
    2518             compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` 
    2519             finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` 
     2751            compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` 
     2752            finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` 
    25202753          else 
    2521             compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` 
    2522             finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` 
     2754            compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` 
     2755            finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` 
    25232756          fi 
    25242757          ;; 
    25252758        *) 
    2526           compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` 
    2527           finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` 
     2759          compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` 
     2760          finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` 
    25282761          ;; 
    25292762        esac 
     
    25392772 
    25402773      # Nullify the symbol file. 
    2541       compile_command=`$ECHO "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"` 
    2542       finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"` 
     2774      compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"` 
     2775      finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"` 
    25432776    fi 
    25442777} 
     
    25502783# Has to be a shell function in order to 'eat' the argument 
    25512784# that is supplied when $file_magic_command is called. 
     2785# Despite the name, also deal with 64 bit binaries. 
    25522786func_win32_libid () 
    25532787{ 
     
    25612795  *ar\ archive*) # could be an import, or static 
    25622796    if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | 
    2563        $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then 
     2797       $EGREP 'file format (pe-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then 
    25642798      win32_nmres=`eval $NM -f posix -A $1 | 
    25652799        $SED -n -e ' 
     
    25992833    f_ex_an_ar_dir="$1"; shift 
    26002834    f_ex_an_ar_oldlib="$1" 
    2601     func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" 'exit $?' 
     2835    if test "$lock_old_archive_extraction" = yes; then 
     2836      lockfile=$f_ex_an_ar_oldlib.lock 
     2837      until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do 
     2838        func_echo "Waiting for $lockfile to be removed" 
     2839        sleep 2 
     2840      done 
     2841    fi 
     2842    func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \ 
     2843                   'stat=$?; rm -f "$lockfile"; exit $stat' 
     2844    if test "$lock_old_archive_extraction" = yes; then 
     2845      $opt_dry_run || rm -f "$lockfile" 
     2846    fi 
    26022847    if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then 
    26032848     : 
     
    26922937 
    26932938 
    2694  
    2695 # func_emit_wrapper_part1 [arg=no] 
    2696 # 
    2697 # Emit the first part of a libtool wrapper script on stdout. 
    2698 # For more information, see the description associated with 
    2699 # func_emit_wrapper(), below. 
    2700 func_emit_wrapper_part1 () 
    2701 { 
    2702         func_emit_wrapper_part1_arg1=no 
    2703         if test -n "$1" ; then 
    2704           func_emit_wrapper_part1_arg1=$1 
    2705         fi 
    2706  
    2707         $ECHO "\ 
    2708 #! $SHELL 
    2709  
    2710 # $output - temporary wrapper script for $objdir/$outputname 
    2711 # Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION 
    2712 # 
    2713 # The $output program cannot be directly executed until all the libtool 
    2714 # libraries that it depends on are installed. 
    2715 # 
    2716 # This wrapper script should never be moved out of the build directory. 
    2717 # If it is, it will not operate correctly. 
    2718  
    2719 # Sed substitution that helps us do robust quoting.  It backslashifies 
    2720 # metacharacters that are still active within double-quoted strings. 
    2721 Xsed='${SED} -e 1s/^X//' 
    2722 sed_quote_subst='$sed_quote_subst' 
    2723  
    2724 # Be Bourne compatible 
    2725 if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then 
    2726   emulate sh 
    2727   NULLCMD=: 
    2728   # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which 
    2729   # is contrary to our usage.  Disable this feature. 
    2730   alias -g '\${1+\"\$@\"}'='\"\$@\"' 
    2731   setopt NO_GLOB_SUBST 
    2732 else 
    2733   case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac 
    2734 fi 
    2735 BIN_SH=xpg4; export BIN_SH # for Tru64 
    2736 DUALCASE=1; export DUALCASE # for MKS sh 
    2737  
    2738 # The HP-UX ksh and POSIX shell print the target directory to stdout 
    2739 # if CDPATH is set. 
    2740 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
    2741  
    2742 relink_command=\"$relink_command\" 
    2743  
    2744 # This environment variable determines our operation mode. 
    2745 if test \"\$libtool_install_magic\" = \"$magic\"; then 
    2746   # install mode needs the following variables: 
    2747   generated_by_libtool_version='$macro_version' 
    2748   notinst_deplibs='$notinst_deplibs' 
    2749 else 
    2750   # When we are sourced in execute mode, \$file and \$ECHO are already set. 
    2751   if test \"\$libtool_execute_magic\" != \"$magic\"; then 
    2752     ECHO=\"$qecho\" 
    2753     file=\"\$0\" 
    2754     # Make sure echo works. 
    2755     if test \"X\$1\" = X--no-reexec; then 
    2756       # Discard the --no-reexec flag, and continue. 
    2757       shift 
    2758     elif test \"X\`{ \$ECHO '\t'; } 2>/dev/null\`\" = 'X\t'; then 
    2759       # Yippee, \$ECHO works! 
    2760       : 
    2761     else 
    2762       # Restart under the correct shell, and then maybe \$ECHO will work. 
    2763       exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"} 
    2764     fi 
    2765   fi\ 
    2766 " 
    2767         $ECHO "\ 
    2768  
    2769   # Find the directory that this script lives in. 
    2770   thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\` 
    2771   test \"x\$thisdir\" = \"x\$file\" && thisdir=. 
    2772  
    2773   # Follow symbolic links until we get to the real thisdir. 
    2774   file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\` 
    2775   while test -n \"\$file\"; do 
    2776     destdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\` 
    2777  
    2778     # If there was a directory component, then change thisdir. 
    2779     if test \"x\$destdir\" != \"x\$file\"; then 
    2780       case \"\$destdir\" in 
    2781       [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; 
    2782       *) thisdir=\"\$thisdir/\$destdir\" ;; 
    2783       esac 
    2784     fi 
    2785  
    2786     file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\` 
    2787     file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\` 
    2788   done 
    2789 " 
    2790 } 
    2791 # end: func_emit_wrapper_part1 
    2792  
    2793 # func_emit_wrapper_part2 [arg=no] 
    2794 # 
    2795 # Emit the second part of a libtool wrapper script on stdout. 
    2796 # For more information, see the description associated with 
    2797 # func_emit_wrapper(), below. 
    2798 func_emit_wrapper_part2 () 
    2799 { 
    2800         func_emit_wrapper_part2_arg1=no 
    2801         if test -n "$1" ; then 
    2802           func_emit_wrapper_part2_arg1=$1 
    2803         fi 
    2804  
    2805         $ECHO "\ 
    2806  
    2807   # Usually 'no', except on cygwin/mingw when embedded into 
    2808   # the cwrapper. 
    2809   WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_part2_arg1 
    2810   if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then 
    2811     # special case for '.' 
    2812     if test \"\$thisdir\" = \".\"; then 
    2813       thisdir=\`pwd\` 
    2814     fi 
    2815     # remove .libs from thisdir 
    2816     case \"\$thisdir\" in 
    2817     *[\\\\/]$objdir ) thisdir=\`\$ECHO \"X\$thisdir\" | \$Xsed -e 's%[\\\\/][^\\\\/]*$%%'\` ;; 
    2818     $objdir )   thisdir=. ;; 
    2819     esac 
    2820   fi 
    2821  
    2822   # Try to get the absolute directory name. 
    2823   absdir=\`cd \"\$thisdir\" && pwd\` 
    2824   test -n \"\$absdir\" && thisdir=\"\$absdir\" 
    2825 " 
    2826  
    2827         if test "$fast_install" = yes; then 
    2828           $ECHO "\ 
    2829   program=lt-'$outputname'$exeext 
    2830   progdir=\"\$thisdir/$objdir\" 
    2831  
    2832   if test ! -f \"\$progdir/\$program\" || 
    2833      { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ 
    2834        test \"X\$file\" != \"X\$progdir/\$program\"; }; then 
    2835  
    2836     file=\"\$\$-\$program\" 
    2837  
    2838     if test ! -d \"\$progdir\"; then 
    2839       $MKDIR \"\$progdir\" 
    2840     else 
    2841       $RM \"\$progdir/\$file\" 
    2842     fi" 
    2843  
    2844           $ECHO "\ 
    2845  
    2846     # relink executable if necessary 
    2847     if test -n \"\$relink_command\"; then 
    2848       if relink_command_output=\`eval \$relink_command 2>&1\`; then : 
    2849       else 
    2850         $ECHO \"\$relink_command_output\" >&2 
    2851         $RM \"\$progdir/\$file\" 
    2852         exit 1 
    2853       fi 
    2854     fi 
    2855  
    2856     $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || 
    2857     { $RM \"\$progdir/\$program\"; 
    2858       $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; } 
    2859     $RM \"\$progdir/\$file\" 
    2860   fi" 
    2861         else 
    2862           $ECHO "\ 
    2863   program='$outputname' 
    2864   progdir=\"\$thisdir/$objdir\" 
    2865 " 
    2866         fi 
    2867  
    2868         $ECHO "\ 
    2869  
    2870   if test -f \"\$progdir/\$program\"; then" 
    2871  
    2872         # Export our shlibpath_var if we have one. 
    2873         if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then 
    2874           $ECHO "\ 
    2875     # Add our own library path to $shlibpath_var 
    2876     $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" 
    2877  
    2878     # Some systems cannot cope with colon-terminated $shlibpath_var 
    2879     # The second colon is a workaround for a bug in BeOS R4 sed 
    2880     $shlibpath_var=\`\$ECHO \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\` 
    2881  
    2882     export $shlibpath_var 
    2883 " 
    2884         fi 
    2885  
    2886         # fixup the dll searchpath if we need to. 
    2887         if test -n "$dllsearchpath"; then 
    2888           $ECHO "\ 
    2889     # Add the dll search path components to the executable PATH 
    2890     PATH=$dllsearchpath:\$PATH 
    2891 " 
    2892         fi 
    2893  
    2894         $ECHO "\ 
    2895     if test \"\$libtool_execute_magic\" != \"$magic\"; then 
    2896       # Run the actual program with our arguments. 
    2897 " 
    2898         case $host in 
    2899         # Backslashes separate directories on plain windows 
    2900         *-*-mingw | *-*-os2* | *-cegcc*) 
    2901           $ECHO "\ 
    2902       exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} 
    2903 " 
    2904           ;; 
    2905  
    2906         *) 
    2907           $ECHO "\ 
    2908       exec \"\$progdir/\$program\" \${1+\"\$@\"} 
    2909 " 
    2910           ;; 
    2911         esac 
    2912         $ECHO "\ 
    2913       \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2 
    2914       exit 1 
    2915     fi 
    2916   else 
    2917     # The program doesn't exist. 
    2918     \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2 
    2919     \$ECHO \"This script is just a wrapper for \$program.\" 1>&2 
    2920     $ECHO \"See the $PACKAGE documentation for more information.\" 1>&2 
    2921     exit 1 
    2922   fi 
    2923 fi\ 
    2924 " 
    2925 } 
    2926 # end: func_emit_wrapper_part2 
    2927  
    2928  
    29292939# func_emit_wrapper [arg=no] 
    29302940# 
     
    29432953func_emit_wrapper () 
    29442954{ 
    2945         func_emit_wrapper_arg1=no 
    2946         if test -n "$1" ; then 
    2947           func_emit_wrapper_arg1=$1 
     2955        func_emit_wrapper_arg1=${1-no} 
     2956 
     2957        $ECHO "\ 
     2958#! $SHELL 
     2959 
     2960# $output - temporary wrapper script for $objdir/$outputname 
     2961# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION 
     2962# 
     2963# The $output program cannot be directly executed until all the libtool 
     2964# libraries that it depends on are installed. 
     2965# 
     2966# This wrapper script should never be moved out of the build directory. 
     2967# If it is, it will not operate correctly. 
     2968 
     2969# Sed substitution that helps us do robust quoting.  It backslashifies 
     2970# metacharacters that are still active within double-quoted strings. 
     2971sed_quote_subst='$sed_quote_subst' 
     2972 
     2973# Be Bourne compatible 
     2974if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then 
     2975  emulate sh 
     2976  NULLCMD=: 
     2977  # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which 
     2978  # is contrary to our usage.  Disable this feature. 
     2979  alias -g '\${1+\"\$@\"}'='\"\$@\"' 
     2980  setopt NO_GLOB_SUBST 
     2981else 
     2982  case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac 
     2983fi 
     2984BIN_SH=xpg4; export BIN_SH # for Tru64 
     2985DUALCASE=1; export DUALCASE # for MKS sh 
     2986 
     2987# The HP-UX ksh and POSIX shell print the target directory to stdout 
     2988# if CDPATH is set. 
     2989(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
     2990 
     2991relink_command=\"$relink_command\" 
     2992 
     2993# This environment variable determines our operation mode. 
     2994if test \"\$libtool_install_magic\" = \"$magic\"; then 
     2995  # install mode needs the following variables: 
     2996  generated_by_libtool_version='$macro_version' 
     2997  notinst_deplibs='$notinst_deplibs' 
     2998else 
     2999  # When we are sourced in execute mode, \$file and \$ECHO are already set. 
     3000  if test \"\$libtool_execute_magic\" != \"$magic\"; then 
     3001    file=\"\$0\"" 
     3002 
     3003    qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"` 
     3004    $ECHO "\ 
     3005 
     3006# A function that is used when there is no print builtin or printf. 
     3007func_fallback_echo () 
     3008{ 
     3009  eval 'cat <<_LTECHO_EOF 
     3010\$1 
     3011_LTECHO_EOF' 
     3012} 
     3013    ECHO=\"$qECHO\" 
     3014  fi\ 
     3015 
     3016  # Find the directory that this script lives in. 
     3017  thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\` 
     3018  test \"x\$thisdir\" = \"x\$file\" && thisdir=. 
     3019 
     3020  # Follow symbolic links until we get to the real thisdir. 
     3021  file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\` 
     3022  while test -n \"\$file\"; do 
     3023    destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\` 
     3024 
     3025    # If there was a directory component, then change thisdir. 
     3026    if test \"x\$destdir\" != \"x\$file\"; then 
     3027      case \"\$destdir\" in 
     3028      [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; 
     3029      *) thisdir=\"\$thisdir/\$destdir\" ;; 
     3030      esac 
     3031    fi 
     3032 
     3033    file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\` 
     3034    file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\` 
     3035  done 
     3036 
     3037  # Usually 'no', except on cygwin/mingw when embedded into 
     3038  # the cwrapper. 
     3039  WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1 
     3040  if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then 
     3041    # special case for '.' 
     3042    if test \"\$thisdir\" = \".\"; then 
     3043      thisdir=\`pwd\` 
     3044    fi 
     3045    # remove .libs from thisdir 
     3046    case \"\$thisdir\" in 
     3047    *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;; 
     3048    $objdir )   thisdir=. ;; 
     3049    esac 
     3050  fi 
     3051 
     3052  # Try to get the absolute directory name. 
     3053  absdir=\`cd \"\$thisdir\" && pwd\` 
     3054  test -n \"\$absdir\" && thisdir=\"\$absdir\" 
     3055" 
     3056 
     3057        if test "$fast_install" = yes; then 
     3058          $ECHO "\ 
     3059  program=lt-'$outputname'$exeext 
     3060  progdir=\"\$thisdir/$objdir\" 
     3061 
     3062  if test ! -f \"\$progdir/\$program\" || 
     3063     { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ 
     3064       test \"X\$file\" != \"X\$progdir/\$program\"; }; then 
     3065 
     3066    file=\"\$\$-\$program\" 
     3067 
     3068    if test ! -d \"\$progdir\"; then 
     3069      $MKDIR \"\$progdir\" 
     3070    else 
     3071      $RM \"\$progdir/\$file\" 
     3072    fi" 
     3073 
     3074          $ECHO "\ 
     3075 
     3076    # relink executable if necessary 
     3077    if test -n \"\$relink_command\"; then 
     3078      if relink_command_output=\`eval \$relink_command 2>&1\`; then : 
     3079      else 
     3080        $ECHO \"\$relink_command_output\" >&2 
     3081        $RM \"\$progdir/\$file\" 
     3082        exit 1 
     3083      fi 
     3084    fi 
     3085 
     3086    $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || 
     3087    { $RM \"\$progdir/\$program\"; 
     3088      $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; } 
     3089    $RM \"\$progdir/\$file\" 
     3090  fi" 
     3091        else 
     3092          $ECHO "\ 
     3093  program='$outputname' 
     3094  progdir=\"\$thisdir/$objdir\" 
     3095" 
    29483096        fi 
    29493097 
    2950         # split this up so that func_emit_cwrapperexe_src 
    2951         # can call each part independently. 
    2952         func_emit_wrapper_part1 "${func_emit_wrapper_arg1}" 
    2953         func_emit_wrapper_part2 "${func_emit_wrapper_arg1}" 
     3098        $ECHO "\ 
     3099 
     3100  if test -f \"\$progdir/\$program\"; then" 
     3101 
     3102        # Export our shlibpath_var if we have one. 
     3103        if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then 
     3104          $ECHO "\ 
     3105    # Add our own library path to $shlibpath_var 
     3106    $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" 
     3107 
     3108    # Some systems cannot cope with colon-terminated $shlibpath_var 
     3109    # The second colon is a workaround for a bug in BeOS R4 sed 
     3110    $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\` 
     3111 
     3112    export $shlibpath_var 
     3113" 
     3114        fi 
     3115 
     3116        # fixup the dll searchpath if we need to. 
     3117        if test -n "$dllsearchpath"; then 
     3118          $ECHO "\ 
     3119    # Add the dll search path components to the executable PATH 
     3120    PATH=$dllsearchpath:\$PATH 
     3121" 
     3122        fi 
     3123 
     3124        $ECHO "\ 
     3125    if test \"\$libtool_execute_magic\" != \"$magic\"; then 
     3126      # Run the actual program with our arguments. 
     3127" 
     3128        case $host in 
     3129        # Backslashes separate directories on plain windows 
     3130        *-*-mingw | *-*-os2* | *-cegcc*) 
     3131          $ECHO "\ 
     3132      exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} 
     3133" 
     3134          ;; 
     3135 
     3136        *) 
     3137          $ECHO "\ 
     3138      exec \"\$progdir/\$program\" \${1+\"\$@\"} 
     3139" 
     3140          ;; 
     3141        esac 
     3142        $ECHO "\ 
     3143      \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2 
     3144      exit 1 
     3145    fi 
     3146  else 
     3147    # The program doesn't exist. 
     3148    \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2 
     3149    \$ECHO \"This script is just a wrapper for \$program.\" 1>&2 
     3150    \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2 
     3151    exit 1 
     3152  fi 
     3153fi\ 
     3154" 
    29543155} 
    29553156 
     
    29793180{ 
    29803181  func_to_host_path_result="$1" 
    2981   if test -n "$1" ; then 
     3182  if test -n "$1"; then 
    29823183    case $host in 
    29833184      *mingw* ) 
     
    29863187          *mingw* ) # actually, msys 
    29873188            # awkward: cmd appends spaces to result 
    2988             lt_sed_strip_trailing_spaces="s/[ ]*\$//" 
    2989             func_to_host_path_tmp1=`( cmd //c echo "$1" |\ 
    2990               $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""` 
    2991             func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ 
    2992               $SED -e "$lt_sed_naive_backslashify"` 
     3189            func_to_host_path_result=`( cmd //c echo "$1" ) 2>/dev/null | 
     3190              $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"` 
    29933191            ;; 
    29943192          *cygwin* ) 
    2995             func_to_host_path_tmp1=`cygpath -w "$1"` 
    2996             func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ 
    2997               $SED -e "$lt_sed_naive_backslashify"` 
     3193            func_to_host_path_result=`cygpath -w "$1" | 
     3194              $SED -e "$lt_sed_naive_backslashify"` 
    29983195            ;; 
    29993196          * ) 
     
    30073204            func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null` 
    30083205            if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then 
    3009               func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ 
     3206              func_to_host_path_result=`$ECHO "$func_to_host_path_tmp1" | 
    30103207                $SED -e "$lt_sed_naive_backslashify"` 
    30113208            else 
    30123209              # Allow warning below. 
    3013               func_to_host_path_result="" 
     3210              func_to_host_path_result= 
    30143211            fi 
    30153212            ;; 
     
    30173214        if test -z "$func_to_host_path_result" ; then 
    30183215          func_error "Could not determine host path corresponding to" 
    3019           func_error "  '$1'" 
     3216          func_error "  \`$1'" 
    30203217          func_error "Continuing, but uninstalled executables may not work." 
    30213218          # Fallback: 
     
    30503247{ 
    30513248  func_to_host_pathlist_result="$1" 
    3052   if test -n "$1" ; then 
     3249  if test -n "$1"; then 
    30533250    case $host in 
    30543251      *mingw* ) 
     
    30573254        # ARG. msys behavior is inconsistent here, cygpath turns them 
    30583255        # into '.;' and ';.', and winepath ignores them completely. 
    3059         func_to_host_pathlist_tmp2="$1" 
    3060         # Once set for this call, this variable should not be 
    3061         # reassigned. It is used in tha fallback case. 
    3062         func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\ 
    3063           $SED -e 's|^:*||' -e 's|:*$||'` 
     3256        func_stripname : : "$1" 
     3257        func_to_host_pathlist_tmp1=$func_stripname_result 
    30643258        case $build in 
    30653259          *mingw* ) # Actually, msys. 
    30663260            # Awkward: cmd appends spaces to result. 
    3067             lt_sed_strip_trailing_spaces="s/[ ]*\$//" 
    3068             func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\ 
    3069               $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""` 
    3070             func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\ 
    3071               $SED -e "$lt_sed_naive_backslashify"` 
     3261            func_to_host_pathlist_result=` 
     3262              ( cmd //c echo "$func_to_host_pathlist_tmp1" ) 2>/dev/null | 
     3263              $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"` 
    30723264            ;; 
    30733265          *cygwin* ) 
    3074             func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"` 
    3075             func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\ 
     3266            func_to_host_pathlist_result=`cygpath -w -p "$func_to_host_pathlist_tmp1" | 
    30763267              $SED -e "$lt_sed_naive_backslashify"` 
    30773268            ;; 
     
    30893280                    func_to_host_pathlist_result="$func_to_host_path_result" 
    30903281                  else 
    3091                     func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result" 
     3282                    func_append func_to_host_pathlist_result ";$func_to_host_path_result" 
    30923283                  fi 
    30933284                fi 
    30943285              fi 
    3095               IFS=: 
    30963286            done 
    30973287            IFS=$func_to_host_pathlist_oldIFS 
    30983288            ;; 
    30993289        esac 
    3100         if test -z "$func_to_host_pathlist_result" ; then 
     3290        if test -z "$func_to_host_pathlist_result"; then 
    31013291          func_error "Could not determine the host path(s) corresponding to" 
    3102           func_error "  '$1'" 
     3292          func_error "  \`$1'" 
    31033293          func_error "Continuing, but uninstalled executables may not work." 
    31043294          # Fallback. This may break if $1 contains DOS-style drive 
     
    31173307        esac 
    31183308        case "$1" in 
    3119           *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;" 
     3309          *: ) func_append func_to_host_pathlist_result ";" 
    31203310            ;; 
    31213311        esac 
     
    31493339EOF 
    31503340            cat <<"EOF" 
     3341#ifdef _MSC_VER 
     3342# define _CRT_SECURE_NO_DEPRECATE 1 
     3343#endif 
    31513344#include <stdio.h> 
    31523345#include <stdlib.h> 
     
    31553348# include <process.h> 
    31563349# include <io.h> 
    3157 # define setmode _setmode 
    31583350#else 
    31593351# include <unistd.h> 
     
    31613353# ifdef __CYGWIN__ 
    31623354#  include <io.h> 
    3163 #  define HAVE_SETENV 
    3164 #  ifdef __STRICT_ANSI__ 
    3165 char *realpath (const char *, char *); 
    3166 int putenv (char *); 
    3167 int setenv (const char *, const char *, int); 
    3168 #  endif 
    31693355# endif 
    31703356#endif 
     
    31783364#include <sys/stat.h> 
    31793365 
     3366/* declarations of non-ANSI functions */ 
     3367#if defined(__MINGW32__) 
     3368# ifdef __STRICT_ANSI__ 
     3369int _putenv (const char *); 
     3370# endif 
     3371#elif defined(__CYGWIN__) 
     3372# ifdef __STRICT_ANSI__ 
     3373char *realpath (const char *, char *); 
     3374int putenv (char *); 
     3375int setenv (const char *, const char *, int); 
     3376# endif 
     3377/* #elif defined (other platforms) ... */ 
     3378#endif 
     3379 
     3380/* portability defines, excluding path handling macros */ 
     3381#if defined(_MSC_VER) 
     3382# define setmode _setmode 
     3383# define stat    _stat 
     3384# define chmod   _chmod 
     3385# define getcwd  _getcwd 
     3386# define putenv  _putenv 
     3387# define S_IXUSR _S_IEXEC 
     3388# ifndef _INTPTR_T_DEFINED 
     3389#  define _INTPTR_T_DEFINED 
     3390#  define intptr_t int 
     3391# endif 
     3392#elif defined(__MINGW32__) 
     3393# define setmode _setmode 
     3394# define stat    _stat 
     3395# define chmod   _chmod 
     3396# define getcwd  _getcwd 
     3397# define putenv  _putenv 
     3398#elif defined(__CYGWIN__) 
     3399# define HAVE_SETENV 
     3400# define FOPEN_WB "wb" 
     3401/* #elif defined (other platforms) ... */ 
     3402#endif 
     3403 
    31803404#if defined(PATH_MAX) 
    31813405# define LT_PATHMAX PATH_MAX 
     
    31933417#endif 
    31943418 
    3195 #ifdef _MSC_VER 
    3196 # define S_IXUSR _S_IEXEC 
    3197 # define stat _stat 
    3198 # ifndef _INTPTR_T_DEFINED 
    3199 #  define intptr_t int 
    3200 # endif 
    3201 #endif 
    3202  
     3419/* path handling portability macros */ 
    32033420#ifndef DIR_SEPARATOR 
    32043421# define DIR_SEPARATOR '/' 
     
    32313448#endif /* PATH_SEPARATOR_2 */ 
    32323449 
    3233 #ifdef __CYGWIN__ 
    3234 # define FOPEN_WB "wb" 
    3235 #endif 
    3236  
    32373450#ifndef FOPEN_WB 
    32383451# define FOPEN_WB "w" 
     
    32483461 
    32493462#undef LTWRAPPER_DEBUGPRINTF 
    3250 #if defined DEBUGWRAPPER 
     3463#if defined LT_DEBUGWRAPPER 
    32513464# define LTWRAPPER_DEBUGPRINTF(args) ltwrapper_debugprintf args 
    32523465static void 
     
    32753488void lt_setenv (const char *name, const char *value); 
    32763489char *lt_extend_str (const char *orig_value, const char *add, int to_end); 
    3277 void lt_opt_process_env_set (const char *arg); 
    3278 void lt_opt_process_env_prepend (const char *arg); 
    3279 void lt_opt_process_env_append (const char *arg); 
    3280 int lt_split_name_value (const char *arg, char** name, char** value); 
    32813490void lt_update_exe_path (const char *name, const char *value); 
    32823491void lt_update_lib_path (const char *name, const char *value); 
    3283  
    3284 static const char *script_text_part1 = 
     3492char **prepare_spawn (char **argv); 
     3493void lt_dump_script (FILE *f); 
    32853494EOF 
    3286  
    3287             func_emit_wrapper_part1 yes | 
    3288                 $SED -e 's/\([\\"]\)/\\\1/g' \ 
    3289                      -e 's/^/  "/' -e 's/$/\\n"/' 
    3290             echo ";" 
    3291             cat <<EOF 
    3292  
    3293 static const char *script_text_part2 = 
    3294 EOF 
    3295             func_emit_wrapper_part2 yes | 
    3296                 $SED -e 's/\([\\"]\)/\\\1/g' \ 
    3297                      -e 's/^/  "/' -e 's/$/\\n"/' 
    3298             echo ";" 
    32993495 
    33003496            cat <<EOF 
     
    33483544static const char *dumpscript_opt       = LTWRAPPER_OPTION_PREFIX "dump-script"; 
    33493545 
    3350 static const size_t env_set_opt_len     = LTWRAPPER_OPTION_PREFIX_LENGTH + 7; 
    3351 static const char *env_set_opt          = LTWRAPPER_OPTION_PREFIX "env-set"; 
    3352   /* argument is putenv-style "foo=bar", value of foo is set to bar */ 
    3353  
    3354 static const size_t env_prepend_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 11; 
    3355 static const char *env_prepend_opt      = LTWRAPPER_OPTION_PREFIX "env-prepend"; 
    3356   /* argument is putenv-style "foo=bar", new value of foo is bar${foo} */ 
    3357  
    3358 static const size_t env_append_opt_len  = LTWRAPPER_OPTION_PREFIX_LENGTH + 10; 
    3359 static const char *env_append_opt       = LTWRAPPER_OPTION_PREFIX "env-append"; 
    3360   /* argument is putenv-style "foo=bar", new value of foo is ${foo}bar */ 
    3361  
    33623546int 
    33633547main (int argc, char *argv[]) 
     
    33923576 
    33933577            cat <<"EOF" 
    3394           printf ("%s", script_text_part1); 
    3395           printf ("%s", script_text_part2); 
     3578          lt_dump_script (stdout); 
    33963579          return 0; 
    33973580        } 
     
    34853668  for (i = 1; i < argc; i++) 
    34863669    { 
    3487       if (strncmp (argv[i], env_set_opt, env_set_opt_len) == 0) 
    3488         { 
    3489           if (argv[i][env_set_opt_len] == '=') 
    3490             { 
    3491               const char *p = argv[i] + env_set_opt_len + 1; 
    3492               lt_opt_process_env_set (p); 
    3493             } 
    3494           else if (argv[i][env_set_opt_len] == '\0' && i + 1 < argc) 
    3495             { 
    3496               lt_opt_process_env_set (argv[++i]); /* don't copy */ 
    3497             } 
    3498           else 
    3499             lt_fatal ("%s missing required argument", env_set_opt); 
    3500           continue; 
    3501         } 
    3502       if (strncmp (argv[i], env_prepend_opt, env_prepend_opt_len) == 0) 
    3503         { 
    3504           if (argv[i][env_prepend_opt_len] == '=') 
    3505             { 
    3506               const char *p = argv[i] + env_prepend_opt_len + 1; 
    3507               lt_opt_process_env_prepend (p); 
    3508             } 
    3509           else if (argv[i][env_prepend_opt_len] == '\0' && i + 1 < argc) 
    3510             { 
    3511               lt_opt_process_env_prepend (argv[++i]); /* don't copy */ 
    3512             } 
    3513           else 
    3514             lt_fatal ("%s missing required argument", env_prepend_opt); 
    3515           continue; 
    3516         } 
    3517       if (strncmp (argv[i], env_append_opt, env_append_opt_len) == 0) 
    3518         { 
    3519           if (argv[i][env_append_opt_len] == '=') 
    3520             { 
    3521               const char *p = argv[i] + env_append_opt_len + 1; 
    3522               lt_opt_process_env_append (p); 
    3523             } 
    3524           else if (argv[i][env_append_opt_len] == '\0' && i + 1 < argc) 
    3525             { 
    3526               lt_opt_process_env_append (argv[++i]); /* don't copy */ 
    3527             } 
    3528           else 
    3529             lt_fatal ("%s missing required argument", env_append_opt); 
    3530           continue; 
    3531         } 
    35323670      if (strncmp (argv[i], ltwrapper_option_prefix, opt_prefix_len) == 0) 
    35333671        { 
     
    35613699                cat <<"EOF" 
    35623700  /* execv doesn't actually work on mingw as expected on unix */ 
     3701  newargz = prepare_spawn (newargz); 
    35633702  rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz); 
    35643703  if (rval == -1) 
     
    39054044} 
    39064045 
    3907 int 
    3908 lt_split_name_value (const char *arg, char** name, char** value) 
    3909 { 
    3910   const char *p; 
    3911   int len; 
    3912   if (!arg || !*arg) 
    3913     return 1; 
    3914  
    3915   p = strchr (arg, (int)'='); 
    3916  
    3917   if (!p) 
    3918     return 1; 
    3919  
    3920   *value = xstrdup (++p); 
    3921  
    3922   len = strlen (arg) - strlen (*value); 
    3923   *name = XMALLOC (char, len); 
    3924   strncpy (*name, arg, len-1); 
    3925   (*name)[len - 1] = '\0'; 
    3926  
    3927   return 0; 
    3928 } 
    3929  
    3930 void 
    3931 lt_opt_process_env_set (const char *arg) 
    3932 { 
    3933   char *name = NULL; 
    3934   char *value = NULL; 
    3935  
    3936   if (lt_split_name_value (arg, &name, &value) != 0) 
    3937     { 
    3938       XFREE (name); 
    3939       XFREE (value); 
    3940       lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg); 
    3941     } 
    3942  
    3943   lt_setenv (name, value); 
    3944   XFREE (name); 
    3945   XFREE (value); 
    3946 } 
    3947  
    3948 void 
    3949 lt_opt_process_env_prepend (const char *arg) 
    3950 { 
    3951   char *name = NULL; 
    3952   char *value = NULL; 
    3953   char *new_value = NULL; 
    3954  
    3955   if (lt_split_name_value (arg, &name, &value) != 0) 
    3956     { 
    3957       XFREE (name); 
    3958       XFREE (value); 
    3959       lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg); 
    3960     } 
    3961  
    3962   new_value = lt_extend_str (getenv (name), value, 0); 
    3963   lt_setenv (name, new_value); 
    3964   XFREE (new_value); 
    3965   XFREE (name); 
    3966   XFREE (value); 
    3967 } 
    3968  
    3969 void 
    3970 lt_opt_process_env_append (const char *arg) 
    3971 { 
    3972   char *name = NULL; 
    3973   char *value = NULL; 
    3974   char *new_value = NULL; 
    3975  
    3976   if (lt_split_name_value (arg, &name, &value) != 0) 
    3977     { 
    3978       XFREE (name); 
    3979       XFREE (value); 
    3980       lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg); 
    3981     } 
    3982  
    3983   new_value = lt_extend_str (getenv (name), value, 1); 
    3984   lt_setenv (name, new_value); 
    3985   XFREE (new_value); 
    3986   XFREE (name); 
    3987   XFREE (value); 
    3988 } 
    3989  
    39904046void 
    39914047lt_update_exe_path (const char *name, const char *value) 
     
    40244080} 
    40254081 
    4026  
     4082EOF 
     4083            case $host_os in 
     4084              mingw*) 
     4085                cat <<"EOF" 
     4086 
     4087/* Prepares an argument vector before calling spawn(). 
     4088   Note that spawn() does not by itself call the command interpreter 
     4089     (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") : 
     4090      ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); 
     4091         GetVersionEx(&v); 
     4092         v.dwPlatformId == VER_PLATFORM_WIN32_NT; 
     4093      }) ? "cmd.exe" : "command.com"). 
     4094   Instead it simply concatenates the arguments, separated by ' ', and calls 
     4095   CreateProcess().  We must quote the arguments since Win32 CreateProcess() 
     4096   interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a 
     4097   special way: 
     4098   - Space and tab are interpreted as delimiters. They are not treated as 
     4099     delimiters if they are surrounded by double quotes: "...". 
     4100   - Unescaped double quotes are removed from the input. Their only effect is 
     4101     that within double quotes, space and tab are treated like normal 
     4102     characters. 
     4103   - Backslashes not followed by double quotes are not special. 
     4104   - But 2*n+1 backslashes followed by a double quote become 
     4105     n backslashes followed by a double quote (n >= 0): 
     4106       \" -> " 
     4107       \\\" -> \" 
     4108       \\\\\" -> \\" 
     4109 */ 
     4110#define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" 
     4111#define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" 
     4112char ** 
     4113prepare_spawn (char **argv) 
     4114{ 
     4115  size_t argc; 
     4116  char **new_argv; 
     4117  size_t i; 
     4118 
     4119  /* Count number of arguments.  */ 
     4120  for (argc = 0; argv[argc] != NULL; argc++) 
     4121    ; 
     4122 
     4123  /* Allocate new argument vector.  */ 
     4124  new_argv = XMALLOC (char *, argc + 1); 
     4125 
     4126  /* Put quoted arguments into the new argument vector.  */ 
     4127  for (i = 0; i < argc; i++) 
     4128    { 
     4129      const char *string = argv[i]; 
     4130 
     4131      if (string[0] == '\0') 
     4132        new_argv[i] = xstrdup ("\"\""); 
     4133      else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL) 
     4134        { 
     4135          int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL); 
     4136          size_t length; 
     4137          unsigned int backslashes; 
     4138          const char *s; 
     4139          char *quoted_string; 
     4140          char *p; 
     4141 
     4142          length = 0; 
     4143          backslashes = 0; 
     4144          if (quote_around) 
     4145            length++; 
     4146          for (s = string; *s != '\0'; s++) 
     4147            { 
     4148              char c = *s; 
     4149              if (c == '"') 
     4150                length += backslashes + 1; 
     4151              length++; 
     4152              if (c == '\\') 
     4153                backslashes++; 
     4154              else 
     4155                backslashes = 0; 
     4156            } 
     4157          if (quote_around) 
     4158            length += backslashes + 1; 
     4159 
     4160          quoted_string = XMALLOC (char, length + 1); 
     4161 
     4162          p = quoted_string; 
     4163          backslashes = 0; 
     4164          if (quote_around) 
     4165            *p++ = '"'; 
     4166          for (s = string; *s != '\0'; s++) 
     4167            { 
     4168              char c = *s; 
     4169              if (c == '"') 
     4170                { 
     4171                  unsigned int j; 
     4172                  for (j = backslashes + 1; j > 0; j--) 
     4173                    *p++ = '\\'; 
     4174                } 
     4175              *p++ = c; 
     4176              if (c == '\\') 
     4177                backslashes++; 
     4178              else 
     4179                backslashes = 0; 
     4180            } 
     4181          if (quote_around) 
     4182            { 
     4183              unsigned int j; 
     4184              for (j = backslashes; j > 0; j--) 
     4185                *p++ = '\\'; 
     4186              *p++ = '"'; 
     4187            } 
     4188          *p = '\0'; 
     4189 
     4190          new_argv[i] = quoted_string; 
     4191        } 
     4192      else 
     4193        new_argv[i] = (char *) string; 
     4194    } 
     4195  new_argv[argc] = NULL; 
     4196 
     4197  return new_argv; 
     4198} 
     4199EOF 
     4200                ;; 
     4201            esac 
     4202 
     4203            cat <<"EOF" 
     4204void lt_dump_script (FILE* f) 
     4205{ 
     4206EOF 
     4207            func_emit_wrapper yes | 
     4208              $SED -e 's/\([\\"]\)/\\\1/g' \ 
     4209                   -e 's/^/  fputs ("/' -e 's/$/\\n", f);/' 
     4210 
     4211            cat <<"EOF" 
     4212} 
    40274213EOF 
    40284214} 
    40294215# end: func_emit_cwrapperexe_src 
     4216 
     4217# func_win32_import_lib_p ARG 
     4218# True if ARG is an import lib, as indicated by $file_magic_cmd 
     4219func_win32_import_lib_p () 
     4220{ 
     4221    $opt_debug 
     4222    case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in 
     4223    *import*) : ;; 
     4224    *) false ;; 
     4225    esac 
     4226} 
    40304227 
    40314228# func_mode_link arg... 
     
    40734270 
    40744271    avoid_version=no 
     4272    bindir= 
    40754273    dlfiles= 
    40764274    dlprefiles= 
     
    41654363 
    41664364        case $prev in 
     4365        bindir) 
     4366          bindir="$arg" 
     4367          prev= 
     4368          continue 
     4369          ;; 
    41674370        dlfiles|dlprefiles) 
    41684371          if test "$preload" = no; then 
     
    44264629        ;; 
    44274630 
     4631      -bindir) 
     4632        prev=bindir 
     4633        continue 
     4634        ;; 
     4635 
    44284636      -dlopen) 
    44294637        prev=dlfiles 
     
    45044712        case $host in 
    45054713        *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) 
    4506           testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'` 
     4714          testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'` 
    45074715          case :$dllsearchpath: in 
    45084716          *":$dir:"*) ;; 
     
    45234731        if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then 
    45244732          case $host in 
    4525           *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*) 
     4733          *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*) 
    45264734            # These systems don't actually have a C or math library (as such) 
    45274735            continue 
     
    47094917          IFS="$save_ifs" 
    47104918          func_quote_for_eval "$flag" 
    4711           arg="$arg $wl$func_quote_for_eval_result" 
     4919          arg="$arg $func_quote_for_eval_result" 
    47124920          compiler_flags="$compiler_flags $func_quote_for_eval_result" 
    47134921        done 
     
    47654973      # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC 
    47664974      # @file GCC response files 
     4975      # -tp=* Portland pgcc target processor selection 
    47674976      -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ 
    4768       -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) 
     4977      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*) 
    47694978        func_quote_for_eval "$arg" 
    47704979        arg="$func_quote_for_eval_result" 
     
    49265135    if test -n "$shlibpath_var"; then 
    49275136      # get the directories listed in $shlibpath_var 
    4928       eval shlib_search_path=\`\$ECHO \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\` 
     5137      eval shlib_search_path=\`\$ECHO \"\${$shlibpath_var}\" \| \$SED \'s/:/ /g\'\` 
    49295138    else 
    49305139      shlib_search_path= 
     
    50495258          # has declared as weak libs 
    50505259          for deplib in $dependency_libs; do 
    5051             deplib_base=`$ECHO "X$deplib" | $Xsed -e "$basename"` 
     5260            func_basename "$deplib" 
     5261            deplib_base=$func_basename_result 
    50525262            case " $weak_libs " in 
    50535263            *" $deplib_base "*) ;; 
     
    52285438                  set dummy $deplibs_check_method; shift 
    52295439                  match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` 
    5230                   if eval "\$ECHO \"X$deplib\"" 2>/dev/null | $Xsed -e 10q \ 
     5440                  if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \ 
    52315441                    | $EGREP "$match_pattern_regex" > /dev/null; then 
    52325442                    valid_a_lib=yes 
     
    52385448              esac 
    52395449              if test "$valid_a_lib" != yes; then 
    5240                 $ECHO 
     5450                echo 
    52415451                $ECHO "*** Warning: Trying to link with static lib archive $deplib." 
    5242                 $ECHO "*** I have the capability to make that library automatically link in when" 
    5243                 $ECHO "*** you link to this library.  But I can only do this if you have a" 
    5244                 $ECHO "*** shared version of the library, which you do not appear to have" 
    5245                 $ECHO "*** because the file extensions .$libext of this argument makes me believe" 
    5246                 $ECHO "*** that it is just a static archive that I should not use here." 
     5452                echo "*** I have the capability to make that library automatically link in when" 
     5453                echo "*** you link to this library.  But I can only do this if you have a" 
     5454                echo "*** shared version of the library, which you do not appear to have" 
     5455                echo "*** because the file extensions .$libext of this argument makes me believe" 
     5456                echo "*** that it is just a static archive that I should not use here." 
    52475457              else 
    5248                 $ECHO 
     5458                echo 
    52495459                $ECHO "*** Warning: Linking the shared library $output against the" 
    52505460                $ECHO "*** static library $deplib is not portable!" 
     
    53195529        # Convert "-framework foo" to "foo.ltframework" 
    53205530        if test -n "$inherited_linker_flags"; then 
    5321           tmp_inherited_linker_flags=`$ECHO "X$inherited_linker_flags" | $Xsed -e 's/-framework \([^ $]*\)/\1.ltframework/g'` 
     5531          tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'` 
    53225532          for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do 
    53235533            case " $new_inherited_linker_flags " in 
     
    53275537          done 
    53285538        fi 
    5329         dependency_libs=`$ECHO "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` 
     5539        dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` 
    53305540        if test "$linkmode,$pass" = "lib,link" || 
    53315541           test "$linkmode,$pass" = "prog,scan" || 
     
    55815791          done 
    55825792          if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then 
    5583             $ECHO 
     5793            echo 
    55845794            if test "$linkmode" = prog; then 
    55855795              $ECHO "*** Warning: Linking the executable $output against the loadable module" 
     
    56845894                        $ECHO "*** Warning: lib $linklib is a module, not a shared library" 
    56855895                        if test -z "$old_library" ; then 
    5686                           $ECHO 
    5687                           $ECHO "*** And there doesn't seem to be a static archive available" 
    5688                           $ECHO "*** The link will probably fail, sorry" 
     5896                          echo 
     5897                          echo "*** And there doesn't seem to be a static archive available" 
     5898                          echo "*** The link will probably fail, sorry" 
    56895899                        else 
    56905900                          add="$dir/$old_library" 
     
    58266036            # Just print a warning and add the library to dependency_libs so 
    58276037            # that the program can be linked against the static library. 
    5828             $ECHO 
     6038            echo 
    58296039            $ECHO "*** Warning: This system can not link to static lib archive $lib." 
    5830             $ECHO "*** I have the capability to make that library automatically link in when" 
    5831             $ECHO "*** you link to this library.  But I can only do this if you have a" 
    5832             $ECHO "*** shared version of the library, which you do not appear to have." 
     6040            echo "*** I have the capability to make that library automatically link in when" 
     6041            echo "*** you link to this library.  But I can only do this if you have a" 
     6042            echo "*** shared version of the library, which you do not appear to have." 
    58336043            if test "$module" = yes; then 
    5834               $ECHO "*** But as you try to build a module library, libtool will still create " 
    5835               $ECHO "*** a static module, that should work as long as the dlopening application" 
    5836               $ECHO "*** is linked with the -dlopen flag to resolve symbols at runtime." 
     6044              echo "*** But as you try to build a module library, libtool will still create " 
     6045              echo "*** a static module, that should work as long as the dlopening application" 
     6046              echo "*** is linked with the -dlopen flag to resolve symbols at runtime." 
    58376047              if test -z "$global_symbol_pipe"; then 
    5838                 $ECHO 
    5839                 $ECHO "*** However, this would only work if libtool was able to extract symbol" 
    5840                 $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could" 
    5841                 $ECHO "*** not find such a program.  So, this module is probably useless." 
    5842                 $ECHO "*** \`nm' from GNU binutils and a full rebuild may help." 
     6048                echo 
     6049                echo "*** However, this would only work if libtool was able to extract symbol" 
     6050                echo "*** lists from a program, using \`nm' or equivalent, but libtool could" 
     6051                echo "*** not find such a program.  So, this module is probably useless." 
     6052                echo "*** \`nm' from GNU binutils and a full rebuild may help." 
    58436053              fi 
    58446054              if test "$build_old_libs" = no; then 
     
    58946104            # Add the search paths of all dependency libraries 
    58956105            for deplib in $dependency_libs; do 
     6106              path= 
    58966107              case $deplib in 
    58976108              -L*) path="$deplib" ;; 
     
    59596170          finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs" 
    59606171        else 
    5961           compiler_flags="$compiler_flags "`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` 
     6172          compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` 
    59626173        fi 
    59636174      fi 
     
    61276338          func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 
    61286339        else 
    6129           $ECHO 
     6340          echo 
    61306341          $ECHO "*** Warning: Linking the shared library $output against the non-libtool" 
    61316342          $ECHO "*** objects $objs is not portable!" 
     
    61956406            revision="$number_revision" 
    61966407            ;; 
    6197           freebsd-aout|freebsd-elf|sunos) 
     6408          freebsd-aout|freebsd-elf|qnx|sunos) 
    61986409            current="$number_major" 
    61996410            revision="$number_minor" 
     
    64296640 
    64306641        # Transform .lo files to .o files. 
    6431         oldobjs="$objs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP` 
     6642        oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; $lo2o" | $NL2SP` 
    64326643      fi 
    64336644 
    64346645      # Eliminate all temporary directories. 
    64356646      #for path in $notinst_path; do 
    6436       # lib_search_path=`$ECHO "X$lib_search_path " | $Xsed -e "s% $path % %g"` 
    6437       # deplibs=`$ECHO "X$deplibs " | $Xsed -e "s% -L$path % %g"` 
    6438       # dependency_libs=`$ECHO "X$dependency_libs " | $Xsed -e "s% -L$path % %g"` 
     6647      # lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"` 
     6648      # deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"` 
     6649      # dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"` 
    64396650      #done 
    64406651 
     
    64776688        if test -n "$rpath"; then 
    64786689          case $host in 
    6479           *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*) 
     6690          *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*) 
    64806691            # these systems don't actually have a c library (as such)! 
    64816692            ;; 
     
    65626773                  else 
    65636774                    droppeddeps=yes 
    6564                     $ECHO 
     6775                    echo 
    65656776                    $ECHO "*** Warning: dynamic linker does not accept needed library $i." 
    6566                     $ECHO "*** I have the capability to make that library automatically link in when" 
    6567                     $ECHO "*** you link to this library.  But I can only do this if you have a" 
    6568                     $ECHO "*** shared version of the library, which I believe you do not have" 
    6569                     $ECHO "*** because a test_compile did reveal that the linker did not use it for" 
    6570                     $ECHO "*** its dynamic dependency list that programs get resolved with at runtime." 
     6777                    echo "*** I have the capability to make that library automatically link in when" 
     6778                    echo "*** you link to this library.  But I can only do this if you have a" 
     6779                    echo "*** shared version of the library, which I believe you do not have" 
     6780                    echo "*** because a test_compile did reveal that the linker did not use it for" 
     6781                    echo "*** its dynamic dependency list that programs get resolved with at runtime." 
    65716782                  fi 
    65726783                fi 
     
    66056816                    else 
    66066817                      droppeddeps=yes 
    6607                       $ECHO 
     6818                      echo 
    66086819                      $ECHO "*** Warning: dynamic linker does not accept needed library $i." 
    6609                       $ECHO "*** I have the capability to make that library automatically link in when" 
    6610                       $ECHO "*** you link to this library.  But I can only do this if you have a" 
    6611                       $ECHO "*** shared version of the library, which you do not appear to have" 
    6612                       $ECHO "*** because a test_compile did reveal that the linker did not use this one" 
    6613                       $ECHO "*** as a dynamic dependency that programs can get resolved with at runtime." 
     6820                      echo "*** I have the capability to make that library automatically link in when" 
     6821                      echo "*** you link to this library.  But I can only do this if you have a" 
     6822                      echo "*** shared version of the library, which you do not appear to have" 
     6823                      echo "*** because a test_compile did reveal that the linker did not use this one" 
     6824                      echo "*** as a dynamic dependency that programs can get resolved with at runtime." 
    66146825                    fi 
    66156826                  fi 
    66166827                else 
    66176828                  droppeddeps=yes 
    6618                   $ECHO 
     6829                  echo 
    66196830                  $ECHO "*** Warning!  Library $i is needed by this library but I was not able to" 
    6620                   $ECHO "*** make it link in!  You will probably need to install it or some" 
    6621                   $ECHO "*** library that it depends on before this library will be fully" 
    6622                   $ECHO "*** functional.  Installing it before continuing would be even better." 
     6831                  echo "*** make it link in!  You will probably need to install it or some" 
     6832                  echo "*** library that it depends on before this library will be fully" 
     6833                  echo "*** functional.  Installing it before continuing would be even better." 
    66236834                fi 
    66246835                ;; 
     
    66666877                        case $potliblink in 
    66676878                        [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; 
    6668                         *) potlib=`$ECHO "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";; 
     6879                        *) potlib=`$ECHO "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";; 
    66696880                        esac 
    66706881                      done 
     
    66816892              if test -n "$a_deplib" ; then 
    66826893                droppeddeps=yes 
    6683                 $ECHO 
     6894                echo 
    66846895                $ECHO "*** Warning: linker path does not have real file for library $a_deplib." 
    6685                 $ECHO "*** I have the capability to make that library automatically link in when" 
    6686                 $ECHO "*** you link to this library.  But I can only do this if you have a" 
    6687                 $ECHO "*** shared version of the library, which you do not appear to have" 
    6688                 $ECHO "*** because I did check the linker path looking for a file starting" 
     6896                echo "*** I have the capability to make that library automatically link in when" 
     6897                echo "*** you link to this library.  But I can only do this if you have a" 
     6898                echo "*** shared version of the library, which you do not appear to have" 
     6899                echo "*** because I did check the linker path looking for a file starting" 
    66896900                if test -z "$potlib" ; then 
    66906901                  $ECHO "*** with $libname but no candidates were found. (...for file magic test)" 
     
    67246935                  for potent_lib in $potential_libs; do 
    67256936                    potlib="$potent_lib" # see symlink-check above in file_magic test 
    6726                     if eval "\$ECHO \"X$potent_lib\"" 2>/dev/null | $Xsed -e 10q | \ 
     6937                    if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \ 
    67276938                       $EGREP "$match_pattern_regex" > /dev/null; then 
    67286939                      newdeplibs="$newdeplibs $a_deplib" 
     
    67356946              if test -n "$a_deplib" ; then 
    67366947                droppeddeps=yes 
    6737                 $ECHO 
     6948                echo 
    67386949                $ECHO "*** Warning: linker path does not have real file for library $a_deplib." 
    6739                 $ECHO "*** I have the capability to make that library automatically link in when" 
    6740                 $ECHO "*** you link to this library.  But I can only do this if you have a" 
    6741                 $ECHO "*** shared version of the library, which you do not appear to have" 
    6742                 $ECHO "*** because I did check the linker path looking for a file starting" 
     6950                echo "*** I have the capability to make that library automatically link in when" 
     6951                echo "*** you link to this library.  But I can only do this if you have a" 
     6952                echo "*** shared version of the library, which you do not appear to have" 
     6953                echo "*** because I did check the linker path looking for a file starting" 
    67436954                if test -z "$potlib" ; then 
    67446955          &