Changeset 283 for trunk/rgc/aclocal.m4

Show
Ignore:
Timestamp:
02/04/09 21:48:26 (3 years ago)
Author:
ath
bzr:committer:
Alberto Botti <alberto.botti@gmail.com>
bzr:file-ids:

rgc/Makefile.in 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2FMakefile.in
rgc/aclocal.m4 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Faclocal.m4
rgc/configure 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fconfigure
rgc/configure.ac 215@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fconfigure.ac
rgc/doc/messaggi.txt 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fdoc%2Fmessaggi.txt
rgc/doc/refactoring.txt refactoring.txt-20090204203632-iwepfqfrbh3s6fvi-1
rgc/include/Makefile.in 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2FMakefile.in
rgc/include/client/Makefile.in 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fclient%2FMakefile.in
rgc/include/client/rgc_client.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fclient%2Frgc_client.h
rgc/include/common/Makefile.in 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fcommon%2FMakefile.in
rgc/include/connection/Makefile.in 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fconnection%2FMakefile.in
rgc/include/connection/rbp/Makefile.in 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fconnection%2Frbp%2FMakefile.in
rgc/include/connection/rbp/rgc_protocol_rbp_client.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fconnection%2Frbp%2Frgc_protocol_rbp_client.h
rgc/include/connection/rbp/rgc_protocol_rbp_server.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fconnection%2Frbp%2Frgc_protocol_rbp_server.h
rgc/include/connection/rgc_connection_client.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fconnection%2Frgc_connection_client.h
rgc/include/server/Makefile.in 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fserver%2FMakefile.in
rgc/include/server/rgc_class.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fserver%2Frgc_class.h
rgc/include/server/rgc_method.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fserver%2Frgc_method.h
rgc/include/server/rgc_server.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fserver%2Frgc_server.h
rgc/include/server/rgc_signal.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fserver%2Frgc_signal.h
rgc/m4/gettext.m4 gettext.m4-20090204203640-wm1v6vdu4b9fpq5d-1
rgc/m4/iconv.m4 iconv.m4-20090204203640-wm1v6vdu4b9fpq5d-2
rgc/m4/intlmacosx.m4 intlmacosx.m4-20090204203640-wm1v6vdu4b9fpq5d-3
rgc/m4/lib-ld.m4 libld.m4-20090204203640-wm1v6vdu4b9fpq5d-4
rgc/m4/lib-link.m4 liblink.m4-20090204203640-wm1v6vdu4b9fpq5d-5
rgc/m4/lib-prefix.m4 libprefix.m4-20090204203640-wm1v6vdu4b9fpq5d-6
rgc/m4/libtool.m4 libtool.m4-20090107122845-jrcu8jgd4l6uescz-1
rgc/m4/ltoptions.m4 ltoptions.m4-20090107122845-jrcu8jgd4l6uescz-2
rgc/m4/ltsugar.m4 ltsugar.m4-20090107122845-jrcu8jgd4l6uescz-3
rgc/m4/ltversion.m4 ltversion.m4-20090107122845-jrcu8jgd4l6uescz-4
rgc/m4/lt%7Eobsolete.m4 ltobsolete.m4-20090107122845-jrcu8jgd4l6uescz-5
rgc/m4/nls.m4 nls.m4-20090204203640-wm1v6vdu4b9fpq5d-7
rgc/m4/pkg.m4 pkg.m4-20090204203640-wm1v6vdu4b9fpq5d-8
rgc/m4/po.m4 po.m4-20090204203640-wm1v6vdu4b9fpq5d-9
rgc/m4/progtest.m4 progtest.m4-20090204203640-wm1v6vdu4b9fpq5d-10
rgc/src/Makefile.am 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2FMakefile.am
rgc/src/Makefile.in 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2FMakefile.in
rgc/src/client/Makefile.in 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fclient%2FMakefile.in
rgc/src/client/rgc_client.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fclient%2Frgc_client.c
rgc/src/common/Makefile.in 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fcommon%2FMakefile.in
rgc/src/connection/Makefile.am 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2FMakefile.am
rgc/src/connection/Makefile.in 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2FMakefile.in
rgc/src/connection/rbp/Makefile.am 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frbp%2FMakefile.am
rgc/src/connection/rbp/Makefile.in 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frbp%2FMakefile.in
rgc/src/connection/rbp/rbp_message_execute_client.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frbp%2Frbp_message_execute_client.c
rgc/src/connection/rbp/rbp_message_execute_server.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frbp%2Frbp_message_execute_server.c
rgc/src/connection/rbp/rgc_protocol_rbp_client.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frbp%2Frgc_protocol_rbp_client.c
rgc/src/connection/rbp/rgc_protocol_rbp_common.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frbp%2Frgc_protocol_rbp_common.c
rgc/src/connection/rbp/rgc_protocol_rbp_common.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frbp%2Frgc_protocol_rbp_common.h
rgc/src/connection/rbp/rgc_protocol_rbp_server.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frbp%2Frgc_protocol_rbp_server.c
rgc/src/connection/rgc_connection_client.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frgc_connection_client.c
rgc/src/connection/rgc_connection_client.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frgc_connection_client.h
rgc/src/connection/rgc_connection_server.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frgc_connection_server.c
rgc/src/connection/rgc_connection_server.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frgc_connection_server.h
rgc/src/server/Makefile.in 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2FMakefile.in
rgc/src/server/rgc_class.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2Frgc_class.c
rgc/src/server/rgc_class.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2Frgc_class.h
rgc/src/server/rgc_method.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2Frgc_method.c
rgc/src/server/rgc_method.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2Frgc_method.h
rgc/src/server/rgc_object.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2Frgc_object.c
rgc/src/server/rgc_object.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2Frgc_object.h
rgc/src/server/rgc_server.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2Frgc_server.c
rgc/src/server/rgc_signal.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2Frgc_signal.c
rgc/src/server/rgc_signal.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2Frgc_signal.h
rgc/src/server/rgc_signal_rt.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2Frgc_signal_rt.c
rgc/src/server/rgc_signal_rt.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2Frgc_signal_rt.h
rgc/test/Makefile.am 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Ftest%2FMakefile.am
rgc/test/Makefile.in 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Ftest%2FMakefile.in
rgc/test/check_init.c check_init.c-20090204203613-m3ngse0c6gqkaqk9-1
rgc/test/new_client_async.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Ftest%2Fnew_client_async.c
rgc/test/new_server.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Ftest%2Fnew_server.c
rgc/test/object1.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Ftest%2Fobject1.c
rgc/test/object1.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Ftest%2Fobject1.h
rgc/test/perf_test.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Ftest%2Fperf_test.c
rgc/tools/rgc_genmarshal.py 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Ftools%2Frgc_genmarshal.py
bzr:merge:

alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
bzr:revno:
75
bzr:revprop:branch-nick:
trunk
bzr:root:
trunk
bzr:text-parents:

rgc/Makefile.in alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/aclocal.m4 alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/configure alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/configure.ac alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/doc/messaggi.txt alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/doc/refactoring.txt alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/include/Makefile.in alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/include/client/Makefile.in alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/include/client/rgc_client.h alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/include/common/Makefile.in alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/include/connection/Makefile.in alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/include/connection/rbp/Makefile.in alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/include/connection/rbp/rgc_protocol_rbp_client.h alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/include/connection/rbp/rgc_protocol_rbp_server.h alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/include/connection/rgc_connection_client.h alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/include/server/Makefile.in alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/include/server/rgc_class.h alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/include/server/rgc_method.h alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/include/server/rgc_server.h alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/include/server/rgc_signal.h alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/m4/gettext.m4 alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/m4/iconv.m4 alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/m4/intlmacosx.m4 alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/m4/lib-ld.m4 alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/m4/lib-link.m4 alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/m4/lib-prefix.m4 alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/m4/libtool.m4 alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/m4/ltoptions.m4 alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/m4/ltsugar.m4 alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/m4/ltversion.m4 alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/m4/lt%7Eobsolete.m4 alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/m4/nls.m4 alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/m4/pkg.m4 alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/m4/po.m4 alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/m4/progtest.m4 alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/src/Makefile.am alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/src/Makefile.in alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/src/client/Makefile.in alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/src/client/rgc_client.c alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/src/common/Makefile.in alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/src/connection/Makefile.am alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/src/connection/Makefile.in alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/src/connection/rbp/Makefile.am alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/src/connection/rbp/Makefile.in alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/src/connection/rbp/rbp_message_execute_client.c alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/src/connection/rbp/rbp_message_execute_server.c alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/src/connection/rbp/rgc_protocol_rbp_client.c alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/src/connection/rbp/rgc_protocol_rbp_common.c alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/src/connection/rbp/rgc_protocol_rbp_common.h alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/src/connection/rbp/rgc_protocol_rbp_server.c alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/src/connection/rgc_connection_client.c alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/src/connection/rgc_connection_client.h alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/src/connection/rgc_connection_server.c alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/src/connection/rgc_connection_server.h alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/src/server/Makefile.in alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/src/server/rgc_class.c alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/src/server/rgc_class.h alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/src/server/rgc_method.c alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/src/server/rgc_method.h alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/src/server/rgc_object.c alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/src/server/rgc_object.h alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/src/server/rgc_server.c alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/src/server/rgc_signal.c alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/src/server/rgc_signal.h alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/src/server/rgc_signal_rt.c alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/src/server/rgc_signal_rt.h alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/test/Makefile.am alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/test/Makefile.in alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/test/check_init.c alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/test/new_client_async.c alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/test/new_server.c alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/test/object1.c alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/test/object1.h alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/test/perf_test.c alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
rgc/tools/rgc_genmarshal.py alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr
bzr:timestamp:
2009-02-04 21:39:22.614000082 +0100
Message:

First rework of RGC (and a dependency on GNet).

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk

    • Property bzr:ancestry:v3-trunk0
      •  

        old new  
        11alberto.botti@gmail.com-20090107123524-0qkwjfwz3rthe01q 
        22alberto.botti@gmail.com-20090112160735-4gn3z63hezacfu23 
         3alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
    • Property bzr:file-ids
      •  

        old new  
        1 fm_gui/src/marlin-window-menu.c 255@45ad373b-3914-0410-8193-a61cc481f39f:trunk:fm_gui%2Fsrc%2Fmarlin-window-menu.c 
        2 fm_server/src/fm_input_buffer/Makefile.am       276@45ad373b-3914-0410-8193-a61cc481f39f:trunk:fm_server%2Fsrc%2Ffm_input_buffer%2FMakefile.am 
        3 fm_server/src/fm_input_buffer/Makefile.in       276@45ad373b-3914-0410-8193-a61cc481f39f:trunk:fm_server%2Fsrc%2Ffm_input_buffer%2FMakefile.in 
        4 fm_server/src/fm_input_cdj.c    210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:fm_server%2Fsrc%2Ffm_input_cdj.c 
        5 rgc/include/server/rgc_marshal.h        210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fserver%2Frgc_marshal.h 
        6 rgc/src/server/rgc_marshal.c    210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2Frgc_marshal.c 
         1rgc/Makefile.in 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2FMakefile.in 
         2rgc/aclocal.m4  210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Faclocal.m4 
         3rgc/configure   210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fconfigure 
         4rgc/configure.ac        215@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fconfigure.ac 
         5rgc/doc/messaggi.txt    210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fdoc%2Fmessaggi.txt 
         6rgc/doc/refactoring.txt refactoring.txt-20090204203632-iwepfqfrbh3s6fvi-1 
         7rgc/include/Makefile.in 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2FMakefile.in 
         8rgc/include/client/Makefile.in  210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fclient%2FMakefile.in 
         9rgc/include/client/rgc_client.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fclient%2Frgc_client.h 
         10rgc/include/common/Makefile.in  210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fcommon%2FMakefile.in 
         11rgc/include/connection/Makefile.in      210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fconnection%2FMakefile.in 
         12rgc/include/connection/rbp/Makefile.in  210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fconnection%2Frbp%2FMakefile.in 
         13rgc/include/connection/rbp/rgc_protocol_rbp_client.h    210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fconnection%2Frbp%2Frgc_protocol_rbp_client.h 
         14rgc/include/connection/rbp/rgc_protocol_rbp_server.h    210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fconnection%2Frbp%2Frgc_protocol_rbp_server.h 
         15rgc/include/connection/rgc_connection_client.h  210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fconnection%2Frgc_connection_client.h 
         16rgc/include/server/Makefile.in  210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fserver%2FMakefile.in 
         17rgc/include/server/rgc_class.h  210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fserver%2Frgc_class.h 
         18rgc/include/server/rgc_method.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fserver%2Frgc_method.h 
         19rgc/include/server/rgc_server.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fserver%2Frgc_server.h 
         20rgc/include/server/rgc_signal.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fserver%2Frgc_signal.h 
         21rgc/m4/gettext.m4       gettext.m4-20090204203640-wm1v6vdu4b9fpq5d-1 
         22rgc/m4/iconv.m4 iconv.m4-20090204203640-wm1v6vdu4b9fpq5d-2 
         23rgc/m4/intlmacosx.m4    intlmacosx.m4-20090204203640-wm1v6vdu4b9fpq5d-3 
         24rgc/m4/lib-ld.m4        libld.m4-20090204203640-wm1v6vdu4b9fpq5d-4 
         25rgc/m4/lib-link.m4      liblink.m4-20090204203640-wm1v6vdu4b9fpq5d-5 
         26rgc/m4/lib-prefix.m4    libprefix.m4-20090204203640-wm1v6vdu4b9fpq5d-6 
         27rgc/m4/libtool.m4       libtool.m4-20090107122845-jrcu8jgd4l6uescz-1 
         28rgc/m4/ltoptions.m4     ltoptions.m4-20090107122845-jrcu8jgd4l6uescz-2 
         29rgc/m4/ltsugar.m4       ltsugar.m4-20090107122845-jrcu8jgd4l6uescz-3 
         30rgc/m4/ltversion.m4     ltversion.m4-20090107122845-jrcu8jgd4l6uescz-4 
         31rgc/m4/lt%7Eobsolete.m4 ltobsolete.m4-20090107122845-jrcu8jgd4l6uescz-5 
         32rgc/m4/nls.m4   nls.m4-20090204203640-wm1v6vdu4b9fpq5d-7 
         33rgc/m4/pkg.m4   pkg.m4-20090204203640-wm1v6vdu4b9fpq5d-8 
         34rgc/m4/po.m4    po.m4-20090204203640-wm1v6vdu4b9fpq5d-9 
         35rgc/m4/progtest.m4      progtest.m4-20090204203640-wm1v6vdu4b9fpq5d-10 
         36rgc/src/Makefile.am     210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2FMakefile.am 
         37rgc/src/Makefile.in     210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2FMakefile.in 
         38rgc/src/client/Makefile.in      210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fclient%2FMakefile.in 
         39rgc/src/client/rgc_client.c     210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fclient%2Frgc_client.c 
         40rgc/src/common/Makefile.in      210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fcommon%2FMakefile.in 
         41rgc/src/connection/Makefile.am  210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2FMakefile.am 
         42rgc/src/connection/Makefile.in  210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2FMakefile.in 
         43rgc/src/connection/rbp/Makefile.am      210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frbp%2FMakefile.am 
         44rgc/src/connection/rbp/Makefile.in      210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frbp%2FMakefile.in 
         45rgc/src/connection/rbp/rbp_message_execute_client.c     210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frbp%2Frbp_message_execute_client.c 
         46rgc/src/connection/rbp/rbp_message_execute_server.c     210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frbp%2Frbp_message_execute_server.c 
         47rgc/src/connection/rbp/rgc_protocol_rbp_client.c        210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frbp%2Frgc_protocol_rbp_client.c 
         48rgc/src/connection/rbp/rgc_protocol_rbp_common.c        210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frbp%2Frgc_protocol_rbp_common.c 
         49rgc/src/connection/rbp/rgc_protocol_rbp_common.h        210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frbp%2Frgc_protocol_rbp_common.h 
         50rgc/src/connection/rbp/rgc_protocol_rbp_server.c        210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frbp%2Frgc_protocol_rbp_server.c 
         51rgc/src/connection/rgc_connection_client.c      210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frgc_connection_client.c 
         52rgc/src/connection/rgc_connection_client.h      210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frgc_connection_client.h 
         53rgc/src/connection/rgc_connection_server.c      210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frgc_connection_server.c 
         54rgc/src/connection/rgc_connection_server.h      210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frgc_connection_server.h 
         55rgc/src/server/Makefile.in      210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2FMakefile.in 
         56rgc/src/server/rgc_class.c      210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2Frgc_class.c 
         57rgc/src/server/rgc_class.h      210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2Frgc_class.h 
         58rgc/src/server/rgc_method.c     210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2Frgc_method.c 
         59rgc/src/server/rgc_method.h     210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2Frgc_method.h 
         60rgc/src/server/rgc_object.c     210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2Frgc_object.c 
         61rgc/src/server/rgc_object.h     210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2Frgc_object.h 
         62rgc/src/server/rgc_server.c     210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2Frgc_server.c 
         63rgc/src/server/rgc_signal.c     210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2Frgc_signal.c 
         64rgc/src/server/rgc_signal.h     210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2Frgc_signal.h 
         65rgc/src/server/rgc_signal_rt.c  210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2Frgc_signal_rt.c 
         66rgc/src/server/rgc_signal_rt.h  210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2Frgc_signal_rt.h 
         67rgc/test/Makefile.am    210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Ftest%2FMakefile.am 
         68rgc/test/Makefile.in    210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Ftest%2FMakefile.in 
         69rgc/test/check_init.c   check_init.c-20090204203613-m3ngse0c6gqkaqk9-1 
         70rgc/test/new_client_async.c     210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Ftest%2Fnew_client_async.c 
         71rgc/test/new_server.c   210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Ftest%2Fnew_server.c 
         72rgc/test/object1.c      210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Ftest%2Fobject1.c 
         73rgc/test/object1.h      210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Ftest%2Fobject1.h 
         74rgc/test/perf_test.c    210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Ftest%2Fperf_test.c 
         75rgc/tools/rgc_genmarshal.py     210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Ftools%2Frgc_genmarshal.py 
    • Property bzr:revision-id:v3-trunk0
      •  

        old new  
        1162 alberto.botti@gmail.com-20090107124157-8nwd4wy07jd1aey6 
        2274 alberto.botti@gmail.com-20090112160851-guz0xqojvyl7xvbf 
         375 alberto.botti@gmail.com-20090204203922-ivrlinsay1r403b9 
    • Property bzr:revision-info
      •  

        old new  
        1 timestamp: 2009-01-12 17:08:51.351999998 +0100 
         1timestamp: 2009-02-04 21:39:22.614000082 +0100 
        22committer: Alberto Botti <alberto.botti@gmail.com> 
        33properties:  
    • Property bzr:text-parents
      •  

        old new  
        1 fm_gui/src/marlin-window-menu.c alberto.botti@gmail.com-20090112160735-4gn3z63hezacfu23 
        2 fm_server/src/fm_input_buffer/Makefile.am       alberto.botti@gmail.com-20090112160735-4gn3z63hezacfu23 
        3 fm_server/src/fm_input_buffer/Makefile.in       alberto.botti@gmail.com-20090112160735-4gn3z63hezacfu23 
        4 fm_server/src/fm_input_cdj.c    alberto.botti@gmail.com-20090112160735-4gn3z63hezacfu23 
        5 rgc/include/server/rgc_marshal.h        alberto.botti@gmail.com-20090112160735-4gn3z63hezacfu23 
        6 rgc/src/server/rgc_marshal.c    alberto.botti@gmail.com-20090112160735-4gn3z63hezacfu23 
         1rgc/Makefile.in alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         2rgc/aclocal.m4  alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         3rgc/configure   alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         4rgc/configure.ac        alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         5rgc/doc/messaggi.txt    alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         6rgc/doc/refactoring.txt alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         7rgc/include/Makefile.in alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         8rgc/include/client/Makefile.in  alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         9rgc/include/client/rgc_client.h alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         10rgc/include/common/Makefile.in  alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         11rgc/include/connection/Makefile.in      alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         12rgc/include/connection/rbp/Makefile.in  alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         13rgc/include/connection/rbp/rgc_protocol_rbp_client.h    alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         14rgc/include/connection/rbp/rgc_protocol_rbp_server.h    alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         15rgc/include/connection/rgc_connection_client.h  alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         16rgc/include/server/Makefile.in  alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         17rgc/include/server/rgc_class.h  alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         18rgc/include/server/rgc_method.h alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         19rgc/include/server/rgc_server.h alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         20rgc/include/server/rgc_signal.h alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         21rgc/m4/gettext.m4       alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         22rgc/m4/iconv.m4 alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         23rgc/m4/intlmacosx.m4    alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         24rgc/m4/lib-ld.m4        alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         25rgc/m4/lib-link.m4      alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         26rgc/m4/lib-prefix.m4    alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         27rgc/m4/libtool.m4       alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         28rgc/m4/ltoptions.m4     alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         29rgc/m4/ltsugar.m4       alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         30rgc/m4/ltversion.m4     alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         31rgc/m4/lt%7Eobsolete.m4 alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         32rgc/m4/nls.m4   alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         33rgc/m4/pkg.m4   alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         34rgc/m4/po.m4    alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         35rgc/m4/progtest.m4      alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         36rgc/src/Makefile.am     alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         37rgc/src/Makefile.in     alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         38rgc/src/client/Makefile.in      alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         39rgc/src/client/rgc_client.c     alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         40rgc/src/common/Makefile.in      alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         41rgc/src/connection/Makefile.am  alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         42rgc/src/connection/Makefile.in  alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         43rgc/src/connection/rbp/Makefile.am      alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         44rgc/src/connection/rbp/Makefile.in      alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         45rgc/src/connection/rbp/rbp_message_execute_client.c     alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         46rgc/src/connection/rbp/rbp_message_execute_server.c     alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         47rgc/src/connection/rbp/rgc_protocol_rbp_client.c        alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         48rgc/src/connection/rbp/rgc_protocol_rbp_common.c        alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         49rgc/src/connection/rbp/rgc_protocol_rbp_common.h        alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         50rgc/src/connection/rbp/rgc_protocol_rbp_server.c        alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         51rgc/src/connection/rgc_connection_client.c      alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         52rgc/src/connection/rgc_connection_client.h      alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         53rgc/src/connection/rgc_connection_server.c      alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         54rgc/src/connection/rgc_connection_server.h      alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         55rgc/src/server/Makefile.in      alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         56rgc/src/server/rgc_class.c      alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         57rgc/src/server/rgc_class.h      alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         58rgc/src/server/rgc_method.c     alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         59rgc/src/server/rgc_method.h     alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         60rgc/src/server/rgc_object.c     alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         61rgc/src/server/rgc_object.h     alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         62rgc/src/server/rgc_server.c     alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         63rgc/src/server/rgc_signal.c     alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         64rgc/src/server/rgc_signal.h     alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         65rgc/src/server/rgc_signal_rt.c  alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         66rgc/src/server/rgc_signal_rt.h  alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         67rgc/test/Makefile.am    alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         68rgc/test/Makefile.in    alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         69rgc/test/check_init.c   alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         70rgc/test/new_client_async.c     alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         71rgc/test/new_server.c   alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         72rgc/test/object1.c      alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         73rgc/test/object1.h      alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         74rgc/test/perf_test.c    alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
         75rgc/tools/rgc_genmarshal.py     alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 
  • trunk/rgc/aclocal.m4

    r270 r283  
    1919If you have problems, you may need to regenerate the build system entirely. 
    2020To do so, use the procedure documented by the package, typically `autoreconf'.])]) 
    21  
    22 # gettext.m4 serial 60 (gettext-0.17) 
    23 dnl Copyright (C) 1995-2007 Free Software Foundation, Inc. 
    24 dnl This file is free software; the Free Software Foundation 
    25 dnl gives unlimited permission to copy and/or distribute it, 
    26 dnl with or without modifications, as long as this notice is preserved. 
    27 dnl 
    28 dnl This file can can be used in projects which are not available under 
    29 dnl the GNU General Public License or the GNU Library General Public 
    30 dnl License but which still want to provide support for the GNU gettext 
    31 dnl functionality. 
    32 dnl Please note that the actual code of the GNU gettext library is covered 
    33 dnl by the GNU Library General Public License, and the rest of the GNU 
    34 dnl gettext package package is covered by the GNU General Public License. 
    35 dnl They are *not* in the public domain. 
    36  
    37 dnl Authors: 
    38 dnl   Ulrich Drepper <drepper@cygnus.com>, 1995-2000. 
    39 dnl   Bruno Haible <haible@clisp.cons.org>, 2000-2006. 
    40  
    41 dnl Macro to add for using GNU gettext. 
    42  
    43 dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]). 
    44 dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The 
    45 dnl    default (if it is not specified or empty) is 'no-libtool'. 
    46 dnl    INTLSYMBOL should be 'external' for packages with no intl directory, 
    47 dnl    and 'no-libtool' or 'use-libtool' for packages with an intl directory. 
    48 dnl    If INTLSYMBOL is 'use-libtool', then a libtool library 
    49 dnl    $(top_builddir)/intl/libintl.la will be created (shared and/or static, 
    50 dnl    depending on --{enable,disable}-{shared,static} and on the presence of 
    51 dnl    AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library 
    52 dnl    $(top_builddir)/intl/libintl.a will be created. 
    53 dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext 
    54 dnl    implementations (in libc or libintl) without the ngettext() function 
    55 dnl    will be ignored.  If NEEDSYMBOL is specified and is 
    56 dnl    'need-formatstring-macros', then GNU gettext implementations that don't 
    57 dnl    support the ISO C 99 <inttypes.h> formatstring macros will be ignored. 
    58 dnl INTLDIR is used to find the intl libraries.  If empty, 
    59 dnl    the value `$(top_builddir)/intl/' is used. 
    60 dnl 
    61 dnl The result of the configuration is one of three cases: 
    62 dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled 
    63 dnl    and used. 
    64 dnl    Catalog format: GNU --> install in $(datadir) 
    65 dnl    Catalog extension: .mo after installation, .gmo in source tree 
    66 dnl 2) GNU gettext has been found in the system's C library. 
    67 dnl    Catalog format: GNU --> install in $(datadir) 
    68 dnl    Catalog extension: .mo after installation, .gmo in source tree 
    69 dnl 3) No internationalization, always use English msgid. 
    70 dnl    Catalog format: none 
    71 dnl    Catalog extension: none 
    72 dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur. 
    73 dnl The use of .gmo is historical (it was needed to avoid overwriting the 
    74 dnl GNU format catalogs when building on a platform with an X/Open gettext), 
    75 dnl but we keep it in order not to force irrelevant filename changes on the 
    76 dnl maintainers. 
    77 dnl 
    78 AC_DEFUN([AM_GNU_GETTEXT], 
    79 [ 
    80   dnl Argument checking. 
    81   ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], , 
    82     [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT 
    83 ])])])])]) 
    84   ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], , 
    85     [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT 
    86 ])])])]) 
    87   define([gt_included_intl], 
    88     ifelse([$1], [external], 
    89       ifdef([AM_GNU_GETTEXT_][INTL_SUBDIR], [yes], [no]), 
    90       [yes])) 
    91   define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], [])) 
    92   gt_NEEDS_INIT 
    93   AM_GNU_GETTEXT_NEED([$2]) 
    94  
    95   AC_REQUIRE([AM_PO_SUBDIRS])dnl 
    96   ifelse(gt_included_intl, yes, [ 
    97     AC_REQUIRE([AM_INTL_SUBDIR])dnl 
    98   ]) 
    99  
    100   dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. 
    101   AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) 
    102   AC_REQUIRE([AC_LIB_RPATH]) 
    103  
    104   dnl Sometimes libintl requires libiconv, so first search for libiconv. 
    105   dnl Ideally we would do this search only after the 
    106   dnl      if test "$USE_NLS" = "yes"; then 
    107   dnl        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then 
    108   dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT 
    109   dnl the configure script would need to contain the same shell code 
    110   dnl again, outside any 'if'. There are two solutions: 
    111   dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'. 
    112   dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE. 
    113   dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not 
    114   dnl documented, we avoid it. 
    115   ifelse(gt_included_intl, yes, , [ 
    116     AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) 
    117   ]) 
    118  
    119   dnl Sometimes, on MacOS X, libintl requires linking with CoreFoundation. 
    120   gt_INTL_MACOSX 
    121  
    122   dnl Set USE_NLS. 
    123   AC_REQUIRE([AM_NLS]) 
    124  
    125   ifelse(gt_included_intl, yes, [ 
    126     BUILD_INCLUDED_LIBINTL=no 
    127     USE_INCLUDED_LIBINTL=no 
    128   ]) 
    129   LIBINTL= 
    130   LTLIBINTL= 
    131   POSUB= 
    132  
    133   dnl Add a version number to the cache macros. 
    134   case " $gt_needs " in 
    135     *" need-formatstring-macros "*) gt_api_version=3 ;; 
    136     *" need-ngettext "*) gt_api_version=2 ;; 
    137     *) gt_api_version=1 ;; 
    138   esac 
    139   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" 
    140   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" 
    141  
    142   dnl If we use NLS figure out what method 
    143   if test "$USE_NLS" = "yes"; then 
    144     gt_use_preinstalled_gnugettext=no 
    145     ifelse(gt_included_intl, yes, [ 
    146       AC_MSG_CHECKING([whether included gettext is requested]) 
    147       AC_ARG_WITH(included-gettext, 
    148         [  --with-included-gettext use the GNU gettext library included here], 
    149         nls_cv_force_use_gnu_gettext=$withval, 
    150         nls_cv_force_use_gnu_gettext=no) 
    151       AC_MSG_RESULT($nls_cv_force_use_gnu_gettext) 
    152  
    153       nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" 
    154       if test "$nls_cv_force_use_gnu_gettext" != "yes"; then 
    155     ]) 
    156         dnl User does not insist on using GNU NLS library.  Figure out what 
    157         dnl to use.  If GNU gettext is available we use this.  Else we have 
    158         dnl to fall back to GNU NLS library. 
    159  
    160         if test $gt_api_version -ge 3; then 
    161           gt_revision_test_code=' 
    162 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION 
    163 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) 
    164 #endif 
    165 changequote(,)dnl 
    166 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; 
    167 changequote([,])dnl 
    168 ' 
    169         else 
    170           gt_revision_test_code= 
    171         fi 
    172         if test $gt_api_version -ge 2; then 
    173           gt_expression_test_code=' + * ngettext ("", "", 0)' 
    174         else 
    175           gt_expression_test_code= 
    176         fi 
    177  
    178         AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc], 
    179          [AC_TRY_LINK([#include <libintl.h> 
    180 $gt_revision_test_code 
    181 extern int _nl_msg_cat_cntr; 
    182 extern int *_nl_domain_bindings;], 
    183             [bindtextdomain ("", ""); 
    184 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings], 
    185             [eval "$gt_func_gnugettext_libc=yes"], 
    186             [eval "$gt_func_gnugettext_libc=no"])]) 
    187  
    188         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then 
    189           dnl Sometimes libintl requires libiconv, so first search for libiconv. 
    190           ifelse(gt_included_intl, yes, , [ 
    191             AM_ICONV_LINK 
    192           ]) 
    193           dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL 
    194           dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv]) 
    195           dnl because that would add "-liconv" to LIBINTL and LTLIBINTL 
    196           dnl even if libiconv doesn't exist. 
    197           AC_LIB_LINKFLAGS_BODY([intl]) 
    198           AC_CACHE_CHECK([for GNU gettext in libintl], 
    199             [$gt_func_gnugettext_libintl], 
    200            [gt_save_CPPFLAGS="$CPPFLAGS" 
    201             CPPFLAGS="$CPPFLAGS $INCINTL" 
    202             gt_save_LIBS="$LIBS" 
    203             LIBS="$LIBS $LIBINTL" 
    204             dnl Now see whether libintl exists and does not depend on libiconv. 
    205             AC_TRY_LINK([#include <libintl.h> 
    206 $gt_revision_test_code 
    207 extern int _nl_msg_cat_cntr; 
    208 extern 
    209 #ifdef __cplusplus 
    210 "C" 
    211 #endif 
    212 const char *_nl_expand_alias (const char *);], 
    213               [bindtextdomain ("", ""); 
    214 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")], 
    215               [eval "$gt_func_gnugettext_libintl=yes"], 
    216               [eval "$gt_func_gnugettext_libintl=no"]) 
    217             dnl Now see whether libintl exists and depends on libiconv. 
    218             if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then 
    219               LIBS="$LIBS $LIBICONV" 
    220               AC_TRY_LINK([#include <libintl.h> 
    221 $gt_revision_test_code 
    222 extern int _nl_msg_cat_cntr; 
    223 extern 
    224 #ifdef __cplusplus 
    225 "C" 
    226 #endif 
    227 const char *_nl_expand_alias (const char *);], 
    228                 [bindtextdomain ("", ""); 
    229 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")], 
    230                [LIBINTL="$LIBINTL $LIBICONV" 
    231                 LTLIBINTL="$LTLIBINTL $LTLIBICONV" 
    232                 eval "$gt_func_gnugettext_libintl=yes" 
    233                ]) 
    234             fi 
    235             CPPFLAGS="$gt_save_CPPFLAGS" 
    236             LIBS="$gt_save_LIBS"]) 
    237         fi 
    238  
    239         dnl If an already present or preinstalled GNU gettext() is found, 
    240         dnl use it.  But if this macro is used in GNU gettext, and GNU 
    241         dnl gettext is already preinstalled in libintl, we update this 
    242         dnl libintl.  (Cf. the install rule in intl/Makefile.in.) 
    243         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ 
    244            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ 
    245                 && test "$PACKAGE" != gettext-runtime \ 
    246                 && test "$PACKAGE" != gettext-tools; }; then 
    247           gt_use_preinstalled_gnugettext=yes 
    248         else 
    249           dnl Reset the values set by searching for libintl. 
    250           LIBINTL= 
    251           LTLIBINTL= 
    252           INCINTL= 
    253         fi 
    254  
    255     ifelse(gt_included_intl, yes, [ 
    256         if test "$gt_use_preinstalled_gnugettext" != "yes"; then 
    257           dnl GNU gettext is not found in the C library. 
    258           dnl Fall back on included GNU gettext library. 
    259           nls_cv_use_gnu_gettext=yes 
    260         fi 
    261       fi 
    262  
    263       if test "$nls_cv_use_gnu_gettext" = "yes"; then 
    264         dnl Mark actions used to generate GNU NLS library. 
    265         BUILD_INCLUDED_LIBINTL=yes 
    266         USE_INCLUDED_LIBINTL=yes 
    267         LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV $LIBTHREAD" 
    268         LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV $LTLIBTHREAD" 
    269         LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` 
    270       fi 
    271  
    272       CATOBJEXT= 
    273       if test "$gt_use_preinstalled_gnugettext" = "yes" \ 
    274          || test "$nls_cv_use_gnu_gettext" = "yes"; then 
    275         dnl Mark actions to use GNU gettext tools. 
    276         CATOBJEXT=.gmo 
    277       fi 
    278     ]) 
    279  
    280     if test -n "$INTL_MACOSX_LIBS"; then 
    281       if test "$gt_use_preinstalled_gnugettext" = "yes" \ 
    282          || test "$nls_cv_use_gnu_gettext" = "yes"; then 
    283         dnl Some extra flags are needed during linking. 
    284         LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" 
    285         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" 
    286       fi 
    287     fi 
    288  
    289     if test "$gt_use_preinstalled_gnugettext" = "yes" \ 
    290        || test "$nls_cv_use_gnu_gettext" = "yes"; then 
    291       AC_DEFINE(ENABLE_NLS, 1, 
    292         [Define to 1 if translation of program messages to the user's native language 
    293    is requested.]) 
    294     else 
    295       USE_NLS=no 
    296     fi 
    297   fi 
    298  
    299   AC_MSG_CHECKING([whether to use NLS]) 
    300   AC_MSG_RESULT([$USE_NLS]) 
    301   if test "$USE_NLS" = "yes"; then 
    302     AC_MSG_CHECKING([where the gettext function comes from]) 
    303     if test "$gt_use_preinstalled_gnugettext" = "yes"; then 
    304       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 
    305         gt_source="external libintl" 
    306       else 
    307         gt_source="libc" 
    308       fi 
    309     else 
    310       gt_source="included intl directory" 
    311     fi 
    312     AC_MSG_RESULT([$gt_source]) 
    313   fi 
    314  
    315   if test "$USE_NLS" = "yes"; then 
    316  
    317     if test "$gt_use_preinstalled_gnugettext" = "yes"; then 
    318       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 
    319         AC_MSG_CHECKING([how to link with libintl]) 
    320         AC_MSG_RESULT([$LIBINTL]) 
    321         AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL]) 
    322       fi 
    323  
    324       dnl For backward compatibility. Some packages may be using this. 
    325       AC_DEFINE(HAVE_GETTEXT, 1, 
    326        [Define if the GNU gettext() function is already present or preinstalled.]) 
    327       AC_DEFINE(HAVE_DCGETTEXT, 1, 
    328        [Define if the GNU dcgettext() function is already present or preinstalled.]) 
    329     fi 
    330  
    331     dnl We need to process the po/ directory. 
    332     POSUB=po 
    333   fi 
    334  
    335   ifelse(gt_included_intl, yes, [ 
    336     dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL 
    337     dnl to 'yes' because some of the testsuite requires it. 
    338     if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then 
    339       BUILD_INCLUDED_LIBINTL=yes 
    340     fi 
    341  
    342     dnl Make all variables we use known to autoconf. 
    343     AC_SUBST(BUILD_INCLUDED_LIBINTL) 
    344     AC_SUBST(USE_INCLUDED_LIBINTL) 
    345     AC_SUBST(CATOBJEXT) 
    346  
    347     dnl For backward compatibility. Some configure.ins may be using this. 
    348     nls_cv_header_intl= 
    349     nls_cv_header_libgt= 
    350  
    351     dnl For backward compatibility. Some Makefiles may be using this. 
    352     DATADIRNAME=share 
    353     AC_SUBST(DATADIRNAME) 
    354  
    355     dnl For backward compatibility. Some Makefiles may be using this. 
    356     INSTOBJEXT=.mo 
    357     AC_SUBST(INSTOBJEXT) 
    358  
    359     dnl For backward compatibility. Some Makefiles may be using this. 
    360     GENCAT=gencat 
    361     AC_SUBST(GENCAT) 
    362  
    363     dnl For backward compatibility. Some Makefiles may be using this. 
    364     INTLOBJS= 
    365     if test "$USE_INCLUDED_LIBINTL" = yes; then 
    366       INTLOBJS="\$(GETTOBJS)" 
    367     fi 
    368     AC_SUBST(INTLOBJS) 
    369  
    370     dnl Enable libtool support if the surrounding package wishes it. 
    371     INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix 
    372     AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX) 
    373   ]) 
    374  
    375   dnl For backward compatibility. Some Makefiles may be using this. 
    376   INTLLIBS="$LIBINTL" 
    377   AC_SUBST(INTLLIBS) 
    378  
    379   dnl Make all documented variables known to autoconf. 
    380   AC_SUBST(LIBINTL) 
    381   AC_SUBST(LTLIBINTL) 
    382   AC_SUBST(POSUB) 
    383 ]) 
    384  
    385  
    386 dnl gt_NEEDS_INIT ensures that the gt_needs variable is initialized. 
    387 m4_define([gt_NEEDS_INIT], 
    388 [ 
    389   m4_divert_text([DEFAULTS], [gt_needs=]) 
    390   m4_define([gt_NEEDS_INIT], []) 
    391 ]) 
    392  
    393  
    394 dnl Usage: AM_GNU_GETTEXT_NEED([NEEDSYMBOL]) 
    395 AC_DEFUN([AM_GNU_GETTEXT_NEED], 
    396 [ 
    397   m4_divert_text([INIT_PREPARE], [gt_needs="$gt_needs $1"]) 
    398 ]) 
    399  
    400  
    401 dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version]) 
    402 AC_DEFUN([AM_GNU_GETTEXT_VERSION], []) 
    403  
    404 # iconv.m4 serial AM6 (gettext-0.17) 
    405 dnl Copyright (C) 2000-2002, 2007 Free Software Foundation, Inc. 
    406 dnl This file is free software; the Free Software Foundation 
    407 dnl gives unlimited permission to copy and/or distribute it, 
    408 dnl with or without modifications, as long as this notice is preserved. 
    409  
    410 dnl From Bruno Haible. 
    411  
    412 AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], 
    413 [ 
    414   dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. 
    415   AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) 
    416   AC_REQUIRE([AC_LIB_RPATH]) 
    417  
    418   dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV 
    419   dnl accordingly. 
    420   AC_LIB_LINKFLAGS_BODY([iconv]) 
    421 ]) 
    422  
    423 AC_DEFUN([AM_ICONV_LINK], 
    424 [ 
    425   dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and 
    426   dnl those with the standalone portable GNU libiconv installed). 
    427   AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles 
    428  
    429   dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV 
    430   dnl accordingly. 
    431   AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) 
    432  
    433   dnl Add $INCICONV to CPPFLAGS before performing the following checks, 
    434   dnl because if the user has installed libiconv and not disabled its use 
    435   dnl via --without-libiconv-prefix, he wants to use it. The first 
    436   dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed. 
    437   am_save_CPPFLAGS="$CPPFLAGS" 
    438   AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) 
    439  
    440   AC_CACHE_CHECK([for iconv], am_cv_func_iconv, [ 
    441     am_cv_func_iconv="no, consider installing GNU libiconv" 
    442     am_cv_lib_iconv=no 
    443     AC_TRY_LINK([#include <stdlib.h> 
    444 #include <iconv.h>], 
    445       [iconv_t cd = iconv_open("",""); 
    446        iconv(cd,NULL,NULL,NULL,NULL); 
    447        iconv_close(cd);], 
    448       am_cv_func_iconv=yes) 
    449     if test "$am_cv_func_iconv" != yes; then 
    450       am_save_LIBS="$LIBS" 
    451       LIBS="$LIBS $LIBICONV" 
    452       AC_TRY_LINK([#include <stdlib.h> 
    453 #include <iconv.h>], 
    454         [iconv_t cd = iconv_open("",""); 
    455          iconv(cd,NULL,NULL,NULL,NULL); 
    456          iconv_close(cd);], 
    457         am_cv_lib_iconv=yes 
    458         am_cv_func_iconv=yes) 
    459       LIBS="$am_save_LIBS" 
    460     fi 
    461   ]) 
    462   if test "$am_cv_func_iconv" = yes; then 
    463     AC_CACHE_CHECK([for working iconv], am_cv_func_iconv_works, [ 
    464       dnl This tests against bugs in AIX 5.1 and HP-UX 11.11. 
    465       am_save_LIBS="$LIBS" 
    466       if test $am_cv_lib_iconv = yes; then 
    467         LIBS="$LIBS $LIBICONV" 
    468       fi 
    469       AC_TRY_RUN([ 
    470 #include <iconv.h> 
    471 #include <string.h> 
    472 int main () 
    473 { 
    474   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful 
    475      returns.  */ 
    476   { 
    477     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); 
    478     if (cd_utf8_to_88591 != (iconv_t)(-1)) 
    479       { 
    480         static const char input[] = "\342\202\254"; /* EURO SIGN */ 
    481         char buf[10]; 
    482         const char *inptr = input; 
    483         size_t inbytesleft = strlen (input); 
    484         char *outptr = buf; 
    485         size_t outbytesleft = sizeof (buf); 
    486         size_t res = iconv (cd_utf8_to_88591, 
    487                             (char **) &inptr, &inbytesleft, 
    488                             &outptr, &outbytesleft); 
    489         if (res == 0) 
    490           return 1; 
    491       } 
    492   } 
    493 #if 0 /* This bug could be worked around by the caller.  */ 
    494   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */ 
    495   { 
    496     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); 
    497     if (cd_88591_to_utf8 != (iconv_t)(-1)) 
    498       { 
    499         static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; 
    500         char buf[50]; 
    501         const char *inptr = input; 
    502         size_t inbytesleft = strlen (input); 
    503         char *outptr = buf; 
    504         size_t outbytesleft = sizeof (buf); 
    505         size_t res = iconv (cd_88591_to_utf8, 
    506                             (char **) &inptr, &inbytesleft, 
    507                             &outptr, &outbytesleft); 
    508         if ((int)res > 0) 
    509           return 1; 
    510       } 
    511   } 
    512 #endif 
    513   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is 
    514      provided.  */ 
    515   if (/* Try standardized names.  */ 
    516       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) 
    517       /* Try IRIX, OSF/1 names.  */ 
    518       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) 
    519       /* Try AIX names.  */ 
    520       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) 
    521       /* Try HP-UX names.  */ 
    522       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) 
    523     return 1; 
    524   return 0; 
    525 }], [am_cv_func_iconv_works=yes], [am_cv_func_iconv_works=no], 
    526         [case "$host_os" in 
    527            aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; 
    528            *)            am_cv_func_iconv_works="guessing yes" ;; 
    529          esac]) 
    530       LIBS="$am_save_LIBS" 
    531     ]) 
    532     case "$am_cv_func_iconv_works" in 
    533       *no) am_func_iconv=no am_cv_lib_iconv=no ;; 
    534       *)   am_func_iconv=yes ;; 
    535     esac 
    536   else 
    537     am_func_iconv=no am_cv_lib_iconv=no 
    538   fi 
    539   if test "$am_func_iconv" = yes; then 
    540     AC_DEFINE(HAVE_ICONV, 1, 
    541       [Define if you have the iconv() function and it works.]) 
    542   fi 
    543   if test "$am_cv_lib_iconv" = yes; then 
    544     AC_MSG_CHECKING([how to link with libiconv]) 
    545     AC_MSG_RESULT([$LIBICONV]) 
    546   else 
    547     dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV 
    548     dnl either. 
    549     CPPFLAGS="$am_save_CPPFLAGS" 
    550     LIBICONV= 
    551     LTLIBICONV= 
    552   fi 
    553   AC_SUBST(LIBICONV) 
    554   AC_SUBST(LTLIBICONV) 
    555 ]) 
    556  
    557 AC_DEFUN([AM_ICONV], 
    558 [ 
    559   AM_ICONV_LINK 
    560   if test "$am_cv_func_iconv" = yes; then 
    561     AC_MSG_CHECKING([for iconv declaration]) 
    562     AC_CACHE_VAL(am_cv_proto_iconv, [ 
    563       AC_TRY_COMPILE([ 
    564 #include <stdlib.h> 
    565 #include <iconv.h> 
    566 extern 
    567 #ifdef __cplusplus 
    568 "C" 
    569 #endif 
    570 #if defined(__STDC__) || defined(__cplusplus) 
    571 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); 
    572 #else 
    573 size_t iconv(); 
    574 #endif 
    575 ], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const") 
    576       am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"]) 
    577     am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` 
    578     AC_MSG_RESULT([$]{ac_t:- 
    579          }[$]am_cv_proto_iconv) 
    580     AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1, 
    581       [Define as const if the declaration of iconv() needs const.]) 
    582   fi 
    583 ]) 
    584  
    585 # intlmacosx.m4 serial 1 (gettext-0.17) 
    586 dnl Copyright (C) 2004-2007 Free Software Foundation, Inc. 
    587 dnl This file is free software; the Free Software Foundation 
    588 dnl gives unlimited permission to copy and/or distribute it, 
    589 dnl with or without modifications, as long as this notice is preserved. 
    590 dnl 
    591 dnl This file can can be used in projects which are not available under 
    592 dnl the GNU General Public License or the GNU Library General Public 
    593 dnl License but which still want to provide support for the GNU gettext 
    594 dnl functionality. 
    595 dnl Please note that the actual code of the GNU gettext library is covered 
    596 dnl by the GNU Library General Public License, and the rest of the GNU 
    597 dnl gettext package package is covered by the GNU General Public License. 
    598 dnl They are *not* in the public domain. 
    599  
    600 dnl Checks for special options needed on MacOS X. 
    601 dnl Defines INTL_MACOSX_LIBS. 
    602 AC_DEFUN([gt_INTL_MACOSX], 
    603 [ 
    604   dnl Check for API introduced in MacOS X 10.2. 
    605   AC_CACHE_CHECK([for CFPreferencesCopyAppValue], 
    606     gt_cv_func_CFPreferencesCopyAppValue, 
    607     [gt_save_LIBS="$LIBS" 
    608      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 
    609      AC_TRY_LINK([#include <CoreFoundation/CFPreferences.h>], 
    610        [CFPreferencesCopyAppValue(NULL, NULL)], 
    611        [gt_cv_func_CFPreferencesCopyAppValue=yes], 
    612        [gt_cv_func_CFPreferencesCopyAppValue=no]) 
    613      LIBS="$gt_save_LIBS"]) 
    614   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 
    615     AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], 1, 
    616       [Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.]) 
    617   fi 
    618   dnl Check for API introduced in MacOS X 10.3. 
    619   AC_CACHE_CHECK([for CFLocaleCopyCurrent], gt_cv_func_CFLocaleCopyCurrent, 
    620     [gt_save_LIBS="$LIBS" 
    621      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 
    622      AC_TRY_LINK([#include <CoreFoundation/CFLocale.h>], [CFLocaleCopyCurrent();], 
    623        [gt_cv_func_CFLocaleCopyCurrent=yes], 
    624        [gt_cv_func_CFLocaleCopyCurrent=no]) 
    625      LIBS="$gt_save_LIBS"]) 
    626   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 
    627     AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], 1, 
    628       [Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.]) 
    629   fi 
    630   INTL_MACOSX_LIBS= 
    631   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 
    632     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 
    633   fi 
    634   AC_SUBST([INTL_MACOSX_LIBS]) 
    635 ]) 
    636  
    637 # lib-ld.m4 serial 3 (gettext-0.13) 
    638 dnl Copyright (C) 1996-2003 Free Software Foundation, Inc. 
    639 dnl This file is free software; the Free Software Foundation 
    640 dnl gives unlimited permission to copy and/or distribute it, 
    641 dnl with or without modifications, as long as this notice is preserved. 
    642  
    643 dnl Subroutines of libtool.m4, 
    644 dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision 
    645 dnl with libtool.m4. 
    646  
    647 dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no. 
    648 AC_DEFUN([AC_LIB_PROG_LD_GNU], 
    649 [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld, 
    650 [# I'd rather use --version here, but apparently some GNU ld's only accept -v. 
    651 case `$LD -v 2>&1 </dev/null` in 
    652 *GNU* | *'with BFD'*) 
    653   acl_cv_prog_gnu_ld=yes ;; 
    654 *) 
    655   acl_cv_prog_gnu_ld=no ;; 
    656 esac]) 
    657 with_gnu_ld=$acl_cv_prog_gnu_ld 
    658 ]) 
    659  
    660 dnl From libtool-1.4. Sets the variable LD. 
    661 AC_DEFUN([AC_LIB_PROG_LD], 
    662 [AC_ARG_WITH(gnu-ld, 
    663 [  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]], 
    664 test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no) 
    665 AC_REQUIRE([AC_PROG_CC])dnl 
    666 AC_REQUIRE([AC_CANONICAL_HOST])dnl 
    667 # Prepare PATH_SEPARATOR. 
    668 # The user is always right. 
    669 if test "${PATH_SEPARATOR+set}" != set; then 
    670   echo "#! /bin/sh" >conf$$.sh 
    671   echo  "exit 0"   >>conf$$.sh 
    672   chmod +x conf$$.sh 
    673   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 
    674     PATH_SEPARATOR=';' 
    675   else 
    676     PATH_SEPARATOR=: 
    677   fi 
    678   rm -f conf$$.sh 
    679 fi 
    680 ac_prog=ld 
    681 if test "$GCC" = yes; then 
    682   # Check if gcc -print-prog-name=ld gives a path. 
    683   AC_MSG_CHECKING([for ld used by GCC]) 
    684   case $host in 
    685   *-*-mingw*) 
    686     # gcc leaves a trailing carriage return which upsets mingw 
    687     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 
    688   *) 
    689     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 
    690   esac 
    691   case $ac_prog in 
    692     # Accept absolute paths. 
    693     [[\\/]* | [A-Za-z]:[\\/]*)] 
    694       [re_direlt='/[^/][^/]*/\.\./'] 
    695       # Canonicalize the path of ld 
    696       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` 
    697       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do 
    698         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 
    699       done 
    700       test -z "$LD" && LD="$ac_prog" 
    701       ;; 
    702   "") 
    703     # If it fails, then pretend we aren't using GCC. 
    704     ac_prog=ld 
    705     ;; 
    706   *) 
    707     # If it is relative, then search for the first ld in PATH. 
    708     with_gnu_ld=unknown 
    709     ;; 
    710   esac 
    711 elif test "$with_gnu_ld" = yes; then 
    712   AC_MSG_CHECKING([for GNU ld]) 
    713 else 
    714   AC_MSG_CHECKING([for non-GNU ld]) 
    715 fi 
    716 AC_CACHE_VAL(acl_cv_path_LD, 
    717 [if test -z "$LD"; then 
    718   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 
    719   for ac_dir in $PATH; do 
    720     test -z "$ac_dir" && ac_dir=. 
    721     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 
    722       acl_cv_path_LD="$ac_dir/$ac_prog" 
    723       # Check to see if the program is GNU ld.  I'd rather use --version, 
    724       # but apparently some GNU ld's only accept -v. 
    725       # Break only if it was the GNU/non-GNU ld that we prefer. 
    726       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in 
    727       *GNU* | *'with BFD'*) 
    728         test "$with_gnu_ld" != no && break ;; 
    729       *) 
    730         test "$with_gnu_ld" != yes && break ;; 
    731       esac 
    732     fi 
    733   done 
    734   IFS="$ac_save_ifs" 
    735 else 
    736   acl_cv_path_LD="$LD" # Let the user override the test with a path. 
    737 fi]) 
    738 LD="$acl_cv_path_LD" 
    739 if test -n "$LD"; then 
    740   AC_MSG_RESULT($LD) 
    741 else 
    742   AC_MSG_RESULT(no) 
    743 fi 
    744 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) 
    745 AC_LIB_PROG_LD_GNU 
    746 ]) 
    747  
    748 # lib-link.m4 serial 13 (gettext-0.17) 
    749 dnl Copyright (C) 2001-2007 Free Software Foundation, Inc. 
    750 dnl This file is free software; the Free Software Foundation 
    751 dnl gives unlimited permission to copy and/or distribute it, 
    752 dnl with or without modifications, as long as this notice is preserved. 
    753  
    754 dnl From Bruno Haible. 
    755  
    756 AC_PREREQ(2.54) 
    757  
    758 dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and 
    759 dnl the libraries corresponding to explicit and implicit dependencies. 
    760 dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and 
    761 dnl augments the CPPFLAGS variable. 
    762 dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname 
    763 dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem. 
    764 AC_DEFUN([AC_LIB_LINKFLAGS], 
    765 [ 
    766   AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) 
    767   AC_REQUIRE([AC_LIB_RPATH]) 
    768   define([Name],[translit([$1],[./-], [___])]) 
    769   define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], 
    770                                [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) 
    771   AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ 
    772     AC_LIB_LINKFLAGS_BODY([$1], [$2]) 
    773     ac_cv_lib[]Name[]_libs="$LIB[]NAME" 
    774     ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" 
    775     ac_cv_lib[]Name[]_cppflags="$INC[]NAME" 
    776     ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX" 
    777   ]) 
    778   LIB[]NAME="$ac_cv_lib[]Name[]_libs" 
    779   LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" 
    780   INC[]NAME="$ac_cv_lib[]Name[]_cppflags" 
    781   LIB[]NAME[]_PREFIX="$ac_cv_lib[]Name[]_prefix" 
    782   AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) 
    783   AC_SUBST([LIB]NAME) 
    784   AC_SUBST([LTLIB]NAME) 
    785   AC_SUBST([LIB]NAME[_PREFIX]) 
    786   dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the 
    787   dnl results of this search when this library appears as a dependency. 
    788   HAVE_LIB[]NAME=yes 
    789   undefine([Name]) 
    790   undefine([NAME]) 
    791 ]) 
    792  
    793 dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode) 
    794 dnl searches for libname and the libraries corresponding to explicit and 
    795 dnl implicit dependencies, together with the specified include files and 
    796 dnl the ability to compile and link the specified testcode. If found, it 
    797 dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and 
    798 dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and 
    799 dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs 
    800 dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty. 
    801 dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname 
    802 dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem. 
    803 AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], 
    804 [ 
    805   AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) 
    806   AC_REQUIRE([AC_LIB_RPATH]) 
    807   define([Name],[translit([$1],[./-], [___])]) 
    808   define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], 
    809                                [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) 
    810  
    811   dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME 
    812   dnl accordingly. 
    813   AC_LIB_LINKFLAGS_BODY([$1], [$2]) 
    814  
    815   dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, 
    816   dnl because if the user has installed lib[]Name and not disabled its use 
    817   dnl via --without-lib[]Name-prefix, he wants to use it. 
    818   ac_save_CPPFLAGS="$CPPFLAGS" 
    819   AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) 
    820  
    821   AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ 
    822     ac_save_LIBS="$LIBS" 
    823     LIBS="$LIBS $LIB[]NAME" 
    824     AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no]) 
    825     LIBS="$ac_save_LIBS" 
    826   ]) 
    827   if test "$ac_cv_lib[]Name" = yes; then 
    828     HAVE_LIB[]NAME=yes 
    829     AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.]) 
    830     AC_MSG_CHECKING([how to link with lib[]$1]) 
    831     AC_MSG_RESULT([$LIB[]NAME]) 
    832   else 
    833     HAVE_LIB[]NAME=no 
    834     dnl If $LIB[]NAME didn't lead to a usable library, we don't need 
    835     dnl $INC[]NAME either. 
    836     CPPFLAGS="$ac_save_CPPFLAGS" 
    837     LIB[]NAME= 
    838     LTLIB[]NAME= 
    839     LIB[]NAME[]_PREFIX= 
    840   fi 
    841   AC_SUBST([HAVE_LIB]NAME) 
    842   AC_SUBST([LIB]NAME) 
    843   AC_SUBST([LTLIB]NAME) 
    844   AC_SUBST([LIB]NAME[_PREFIX]) 
    845   undefine([Name]) 
    846   undefine([NAME]) 
    847 ]) 
    848  
    849 dnl Determine the platform dependent parameters needed to use rpath: 
    850 dnl   acl_libext, 
    851 dnl   acl_shlibext, 
    852 dnl   acl_hardcode_libdir_flag_spec, 
    853 dnl   acl_hardcode_libdir_separator, 
    854 dnl   acl_hardcode_direct, 
    855 dnl   acl_hardcode_minus_L. 
    856 AC_DEFUN([AC_LIB_RPATH], 
    857 [ 
    858   dnl Tell automake >= 1.10 to complain if config.rpath is missing. 
    859   m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])]) 
    860   AC_REQUIRE([AC_PROG_CC])                dnl we use $CC, $GCC, $LDFLAGS 
    861   AC_REQUIRE([AC_LIB_PROG_LD])            dnl we use $LD, $with_gnu_ld 
    862   AC_REQUIRE([AC_CANONICAL_HOST])         dnl we use $host 
    863   AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir 
    864   AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [ 
    865     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 
    866     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 
    867     . ./conftest.sh 
    868     rm -f ./conftest.sh 
    869     acl_cv_rpath=done 
    870   ]) 
    871   wl="$acl_cv_wl" 
    872   acl_libext="$acl_cv_libext" 
    873   acl_shlibext="$acl_cv_shlibext" 
    874   acl_libname_spec="$acl_cv_libname_spec" 
    875   acl_library_names_spec="$acl_cv_library_names_spec" 
    876   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 
    877   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 
    878   acl_hardcode_direct="$acl_cv_hardcode_direct" 
    879   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" 
    880   dnl Determine whether the user wants rpath handling at all. 
    881   AC_ARG_ENABLE(rpath, 
    882     [  --disable-rpath         do not hardcode runtime library paths], 
    883     :, enable_rpath=yes) 
    884 ]) 
    885  
    886 dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and 
    887 dnl the libraries corresponding to explicit and implicit dependencies. 
    888 dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. 
    889 dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found 
    890 dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem. 
    891 AC_DEFUN([AC_LIB_LINKFLAGS_BODY], 
    892 [ 
    893   AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) 
    894   define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], 
    895                                [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) 
    896   dnl Autoconf >= 2.61 supports dots in --with options. 
    897   define([N_A_M_E],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[translit([$1],[.],[_])],[$1])]) 
    898   dnl By default, look in $includedir and $libdir. 
    899   use_additional=yes 
    900   AC_LIB_WITH_FINAL_PREFIX([ 
    901     eval additional_includedir=\"$includedir\" 
    902     eval additional_libdir=\"$libdir\" 
    903   ]) 
    904   AC_LIB_ARG_WITH([lib]N_A_M_E[-prefix], 
    905 [  --with-lib]N_A_M_E[-prefix[=DIR]  search for lib$1 in DIR/include and DIR/lib 
    906   --without-lib]N_A_M_E[-prefix     don't search for lib$1 in includedir and libdir], 
    907 [ 
    908     if test "X$withval" = "Xno"; then 
    909       use_additional=no 
    910     else 
    911       if test "X$withval" = "X"; then 
    912         AC_LIB_WITH_FINAL_PREFIX([ 
    913           eval additional_includedir=\"$includedir\" 
    914           eval additional_libdir=\"$libdir\" 
    915         ]) 
    916       else 
    917         additional_includedir="$withval/include" 
    918         additional_libdir="$withval/$acl_libdirstem" 
    919       fi 
    920     fi 
    921 ]) 
    922   dnl Search the library and its dependencies in $additional_libdir and 
    923   dnl $LDFLAGS. Using breadth-first-seach. 
    924   LIB[]NAME= 
    925   LTLIB[]NAME= 
    926   INC[]NAME= 
    927   LIB[]NAME[]_PREFIX= 
    928   rpathdirs= 
    929   ltrpathdirs= 
    930   names_already_handled= 
    931   names_next_round='$1 $2' 
    932   while test -n "$names_next_round"; do 
    933     names_this_round="$names_next_round" 
    934     names_next_round= 
    935     for name in $names_this_round; do 
    936       already_handled= 
    937       for n in $names_already_handled; do 
    938         if test "$n" = "$name"; then 
    939           already_handled=yes 
    940           break 
    941         fi 
    942       done 
    943       if test -z "$already_handled"; then 
    944         names_already_handled="$names_already_handled $name" 
    945         dnl See if it was already located by an earlier AC_LIB_LINKFLAGS 
    946         dnl or AC_LIB_HAVE_LINKFLAGS call. 
    947         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 
    948         eval value=\"\$HAVE_LIB$uppername\" 
    949         if test -n "$value"; then 
    950           if test "$value" = yes; then 
    951             eval value=\"\$LIB$uppername\" 
    952             test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" 
    953             eval value=\"\$LTLIB$uppername\" 
    954             test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" 
    955           else 
    956             dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined 
    957             dnl that this library doesn't exist. So just drop it. 
    958             : 
    959           fi 
    960         else 
    961           dnl Search the library lib$name in $additional_libdir and $LDFLAGS 
    962           dnl and the already constructed $LIBNAME/$LTLIBNAME. 
    963           found_dir= 
    964           found_la= 
    965           found_so= 
    966           found_a= 
    967           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name 
    968           if test -n "$acl_shlibext"; then 
    969             shrext=".$acl_shlibext"             # typically: shrext=.so 
    970           else 
    971             shrext= 
    972           fi 
    973           if test $use_additional = yes; then 
    974             dir="$additional_libdir" 
    975             dnl The same code as in the loop below: 
    976             dnl First look for a shared library. 
    977             if test -n "$acl_shlibext"; then 
    978               if test -f "$dir/$libname$shrext"; then 
    979                 found_dir="$dir" 
    980                 found_so="$dir/$libname$shrext" 
    981               else 
    982                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 
    983                   ver=`(cd "$dir" && \ 
    984                         for f in "$libname$shrext".*; do echo "$f"; done \ 
    985                         | sed -e "s,^$libname$shrext\\\\.,," \ 
    986                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 
    987                         | sed 1q ) 2>/dev/null` 
    988                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 
    989                     found_dir="$dir" 
    990                     found_so="$dir/$libname$shrext.$ver" 
    991                   fi 
    992                 else 
    993                   eval library_names=\"$acl_library_names_spec\" 
    994                   for f in $library_names; do 
    995                     if test -f "$dir/$f"; then 
    996                       found_dir="$dir" 
    997                       found_so="$dir/$f" 
    998                       break 
    999                     fi 
    1000                   done 
    1001                 fi 
    1002               fi 
    1003             fi 
    1004             dnl Then look for a static library. 
    1005             if test "X$found_dir" = "X"; then 
    1006               if test -f "$dir/$libname.$acl_libext"; then 
    1007                 found_dir="$dir" 
    1008                 found_a="$dir/$libname.$acl_libext" 
    1009               fi 
    1010             fi 
    1011             if test "X$found_dir" != "X"; then 
    1012               if test -f "$dir/$libname.la"; then 
    1013                 found_la="$dir/$libname.la" 
    1014               fi 
    1015             fi 
    1016           fi 
    1017           if test "X$found_dir" = "X"; then 
    1018             for x in $LDFLAGS $LTLIB[]NAME; do 
    1019               AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 
    1020               case "$x" in 
    1021                 -L*) 
    1022                   dir=`echo "X$x" | sed -e 's/^X-L//'` 
    1023                   dnl First look for a shared library. 
    1024                   if test -n "$acl_shlibext"; then 
    1025                     if test -f "$dir/$libname$shrext"; then 
    1026                       found_dir="$dir" 
    1027                       found_so="$dir/$libname$shrext" 
    1028                     else 
    1029                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 
    1030                         ver=`(cd "$dir" && \ 
    1031                               for f in "$libname$shrext".*; do echo "$f"; done \ 
    1032                               | sed -e "s,^$libname$shrext\\\\.,," \ 
    1033                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 
    1034                               | sed 1q ) 2>/dev/null` 
    1035                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 
    1036                           found_dir="$dir" 
    1037                           found_so="$dir/$libname$shrext.$ver" 
    1038                         fi 
    1039                       else 
    1040                         eval library_names=\"$acl_library_names_spec\" 
    1041                         for f in $library_names; do 
    1042                           if test -f "$dir/$f"; then 
    1043                             found_dir="$dir" 
    1044                             found_so="$dir/$f" 
    1045                             break 
    1046                           fi 
    1047                         done 
    1048                       fi 
    1049                     fi 
    1050                   fi 
    1051                   dnl Then look for a static library. 
    1052                   if test "X$found_dir" = "X"; then 
    1053                     if test -f "$dir/$libname.$acl_libext"; then 
    1054                       found_dir="$dir" 
    1055                       found_a="$dir/$libname.$acl_libext" 
    1056                     fi 
    1057                   fi 
    1058                   if test "X$found_dir" != "X"; then 
    1059                     if test -f "$dir/$libname.la"; then 
    1060                       found_la="$dir/$libname.la" 
    1061                     fi 
    1062                   fi 
    1063                   ;; 
    1064               esac 
    1065               if test "X$found_dir" != "X"; then 
    1066                 break 
    1067               fi 
    1068             done 
    1069           fi 
    1070           if test "X$found_dir" != "X"; then 
    1071             dnl Found the library. 
    1072             LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" 
    1073             if test "X$found_so" != "X"; then 
    1074               dnl Linking with a shared library. We attempt to hardcode its 
    1075               dnl directory into the executable's runpath, unless it's the 
    1076               dnl standard /usr/lib. 
    1077               if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then 
    1078                 dnl No hardcoding is needed. 
    1079                 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" 
    1080               else 
    1081                 dnl Use an explicit option to hardcode DIR into the resulting 
    1082                 dnl binary. 
    1083                 dnl Potentially add DIR to ltrpathdirs. 
    1084                 dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. 
    1085                 haveit= 
    1086                 for x in $ltrpathdirs; do 
    1087                   if test "X$x" = "X$found_dir"; then 
    1088                     haveit=yes 
    1089                     break 
    1090                   fi 
    1091                 done 
    1092                 if test -z "$haveit"; then 
    1093                   ltrpathdirs="$ltrpathdirs $found_dir" 
    1094                 fi 
    1095                 dnl The hardcoding into $LIBNAME is system dependent. 
    1096                 if test "$acl_hardcode_direct" = yes; then 
    1097                   dnl Using DIR/libNAME.so during linking hardcodes DIR into the 
    1098                   dnl resulting binary. 
    1099                   LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" 
    1100                 else 
    1101                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 
    1102                     dnl Use an explicit option to hardcode DIR into the resulting 
    1103                     dnl binary. 
    1104                     LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" 
    1105                     dnl Potentially add DIR to rpathdirs. 
    1106                     dnl The rpathdirs will be appended to $LIBNAME at the end. 
    1107                     haveit= 
    1108                     for x in $rpathdirs; do 
    1109                       if test "X$x" = "X$found_dir"; then 
    1110                         haveit=yes 
    1111                         break 
    1112                       fi 
    1113                     done 
    1114                     if test -z "$haveit"; then 
    1115                       rpathdirs="$rpathdirs $found_dir" 
    1116                     fi 
    1117                   else 
    1118                     dnl Rely on "-L$found_dir". 
    1119                     dnl But don't add it if it's already contained in the LDFLAGS 
    1120                     dnl or the already constructed $LIBNAME 
    1121                     haveit= 
    1122                     for x in $LDFLAGS $LIB[]NAME; do 
    1123                       AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 
    1124                       if test "X$x" = "X-L$found_dir"; then 
    1125                         haveit=yes 
    1126                         break 
    1127                       fi 
    1128                     done 
    1129                     if test -z "$haveit"; then 
    1130                       LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir" 
    1131                     fi 
    1132                     if test "$acl_hardcode_minus_L" != no; then 
    1133                       dnl FIXME: Not sure whether we should use 
    1134                       dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" 
    1135                       dnl here. 
    1136                       LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" 
    1137                     else 
    1138                       dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH 
    1139                       dnl here, because this doesn't fit in flags passed to the 
    1140                       dnl compiler. So give up. No hardcoding. This affects only 
    1141                       dnl very old systems. 
    1142                       dnl FIXME: Not sure whether we should use 
    1143                       dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" 
    1144                       dnl here. 
    1145                       LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" 
    1146                     fi 
    1147                   fi 
    1148                 fi 
    1149               fi 
    1150             else 
    1151               if test "X$found_a" != "X"; then 
    1152                 dnl Linking with a static library. 
    1153                 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a" 
    1154               else 
    1155                 dnl We shouldn't come here, but anyway it's good to have a 
    1156                 dnl fallback. 
    1157                 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name" 
    1158               fi 
    1159             fi 
    1160             dnl Assume the include files are nearby. 
    1161             additional_includedir= 
    1162             case "$found_dir" in 
    1163               */$acl_libdirstem | */$acl_libdirstem/) 
    1164                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 
    1165                 LIB[]NAME[]_PREFIX="$basedir" 
    1166                 additional_includedir="$basedir/include" 
    1167                 ;; 
    1168             esac 
    1169             if test "X$additional_includedir" != "X"; then 
    1170               dnl Potentially add $additional_includedir to $INCNAME. 
    1171               dnl But don't add it 
    1172               dnl   1. if it's the standard /usr/include, 
    1173               dnl   2. if it's /usr/local/include and we are using GCC on Linux, 
    1174               dnl   3. if it's already present in $CPPFLAGS or the already 
    1175               dnl      constructed $INCNAME, 
    1176               dnl   4. if it doesn't exist as a directory. 
    1177               if test "X$additional_includedir" != "X/usr/include"; then 
    1178                 haveit= 
    1179                 if test "X$additional_includedir" = "X/usr/local/include"; then 
    1180                   if test -n "$GCC"; then 
    1181                     case $host_os in 
    1182                       linux* | gnu* | k*bsd*-gnu) haveit=yes;; 
    1183                     esac 
    1184                   fi 
    1185                 fi 
    1186                 if test -z "$haveit"; then 
    1187                   for x in $CPPFLAGS $INC[]NAME; do 
    1188                     AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 
    1189                     if test "X$x" = "X-I$additional_includedir"; then 
    1190                       haveit=yes 
    1191                       break 
    1192                     fi 
    1193                   done 
    1194                   if test -z "$haveit"; then 
    1195                     if test -d "$additional_includedir"; then 
    1196                       dnl Really add $additional_includedir to $INCNAME. 
    1197                       INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir" 
    1198                     fi 
    1199                   fi 
    1200                 fi 
    1201               fi 
    1202             fi 
    1203             dnl Look for dependencies. 
    1204             if test -n "$found_la"; then 
    1205               dnl Read the .la file. It defines the variables 
    1206               dnl dlname, library_names, old_library, dependency_libs, current, 
    1207               dnl age, revision, installed, dlopen, dlpreopen, libdir. 
    1208               save_libdir="$libdir" 
    1209               case "$found_la" in 
    1210                 */* | *\\*) . "$found_la" ;; 
    1211                 *) . "./$found_la" ;; 
    1212               esac 
    1213               libdir="$save_libdir" 
    1214               dnl We use only dependency_libs. 
    1215               for dep in $dependency_libs; do 
    1216                 case "$dep" in 
    1217                   -L*) 
    1218                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 
    1219                     dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME. 
    1220                     dnl But don't add it 
    1221                     dnl   1. if it's the standard /usr/lib, 
    1222                     dnl   2. if it's /usr/local/lib and we are using GCC on Linux, 
    1223                     dnl   3. if it's already present in $LDFLAGS or the already 
    1224                     dnl      constructed $LIBNAME, 
    1225                     dnl   4. if it doesn't exist as a directory. 
    1226                     if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then 
    1227                       haveit= 
    1228                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then 
    1229                         if test -n "$GCC"; then 
    1230                           case $host_os in 
    1231                             linux* | gnu* | k*bsd*-gnu) haveit=yes;; 
    1232                           esac 
    1233                         fi 
    1234                       fi 
    1235                       if test -z "$haveit"; then 
    1236                         haveit= 
    1237                         for x in $LDFLAGS $LIB[]NAME; do 
    1238                           AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 
    1239                           if test "X$x" = "X-L$additional_libdir"; then 
    1240                             haveit=yes 
    1241                             break 
    1242                           fi 
    1243                         done 
    1244                         if test -z "$haveit"; then 
    1245                           if test -d "$additional_libdir"; then 
    1246                             dnl Really add $additional_libdir to $LIBNAME. 
    1247                             LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir" 
    1248                           fi 
    1249                         fi 
    1250                         haveit= 
    1251                         for x in $LDFLAGS $LTLIB[]NAME; do 
    1252                           AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 
    1253                           if test "X$x" = "X-L$additional_libdir"; then 
    1254                             haveit=yes 
    1255                             break 
    1256                           fi 
    1257                         done 
    1258                         if test -z "$haveit"; then 
    1259                           if test -d "$additional_libdir"; then 
    1260                             dnl Really add $additional_libdir to $LTLIBNAME. 
    1261                             LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir" 
    1262                           fi 
    1263                         fi 
    1264                       fi 
    1265                     fi 
    1266                     ;; 
    1267                   -R*) 
    1268                     dir=`echo "X$dep" | sed -e 's/^X-R//'` 
    1269                     if test "$enable_rpath" != no; then 
    1270                       dnl Potentially add DIR to rpathdirs. 
    1271                       dnl The rpathdirs will be appended to $LIBNAME at the end. 
    1272                       haveit= 
    1273                       for x in $rpathdirs; do 
    1274                         if test "X$x" = "X$dir"; then 
    1275                           haveit=yes 
    1276                           break 
    1277                         fi 
    1278                       done 
    1279                       if test -z "$haveit"; then 
    1280                         rpathdirs="$rpathdirs $dir" 
    1281                       fi 
    1282                       dnl Potentially add DIR to ltrpathdirs. 
    1283                       dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. 
    1284                       haveit= 
    1285                       for x in $ltrpathdirs; do 
    1286                         if test "X$x" = "X$dir"; then 
    1287                           haveit=yes 
    1288                           break 
    1289                         fi 
    1290                       done 
    1291                       if test -z "$haveit"; then 
    1292                         ltrpathdirs="$ltrpathdirs $dir" 
    1293                       fi 
    1294                     fi 
    1295                     ;; 
    1296                   -l*) 
    1297                     dnl Handle this in the next round. 
    1298                     names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 
    1299                     ;; 
    1300                   *.la) 
    1301                     dnl Handle this in the next round. Throw away the .la's 
    1302                     dnl directory; it is already contained in a preceding -L 
    1303                     dnl option. 
    1304                     names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 
    1305                     ;; 
    1306                   *) 
    1307                     dnl Most likely an immediate library name. 
    1308                     LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep" 
    1309                     LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep" 
    1310                     ;; 
    1311                 esac 
    1312               done 
    1313             fi 
    1314           else 
    1315             dnl Didn't find the library; assume it is in the system directories 
    1316             dnl known to the linker and runtime loader. (All the system 
    1317             dnl directories known to the linker should also be known to the 
    1318             dnl runtime loader, otherwise the system is severely misconfigured.) 
    1319             LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" 
    1320             LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name" 
    1321           fi 
    1322         fi 
    1323       fi 
    1324     done 
    1325   done 
    1326   if test "X$rpathdirs" != "X"; then 
    1327     if test -n "$acl_hardcode_libdir_separator"; then 
    1328       dnl Weird platform: only the last -rpath option counts, the user must 
    1329       dnl pass all path elements in one option. We can arrange that for a 
    1330       dnl single library, but not when more than one $LIBNAMEs are used. 
    1331       alldirs= 
    1332       for found_dir in $rpathdirs; do 
    1333         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 
    1334       done 
    1335       dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl. 
    1336       acl_save_libdir="$libdir" 
    1337       libdir="$alldirs" 
    1338       eval flag=\"$acl_hardcode_libdir_flag_spec\" 
    1339       libdir="$acl_save_libdir" 
    1340       LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" 
    1341     else 
    1342       dnl The -rpath options are cumulative. 
    1343       for found_dir in $rpathdirs; do 
    1344         acl_save_libdir="$libdir" 
    1345         libdir="$found_dir" 
    1346         eval flag=\"$acl_hardcode_libdir_flag_spec\" 
    1347         libdir="$acl_save_libdir" 
    1348         LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" 
    1349       done 
    1350     fi 
    1351   fi 
    1352   if test "X$ltrpathdirs" != "X"; then 
    1353     dnl When using libtool, the option that works for both libraries and 
    1354     dnl executables is -R. The -R options are cumulative. 
    1355     for found_dir in $ltrpathdirs; do 
    1356       LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" 
    1357     done 
    1358   fi 
    1359 ]) 
    1360  
    1361 dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR, 
    1362 dnl unless already present in VAR. 
    1363 dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes 
    1364 dnl contains two or three consecutive elements that belong together. 
    1365 AC_DEFUN([AC_LIB_APPENDTOVAR], 
    1366 [ 
    1367   for element in [$2]; do 
    1368     haveit= 
    1369     for x in $[$1]; do 
    1370       AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 
    1371       if test "X$x" = "X$element"; then 
    1372         haveit=yes 
    1373         break 
    1374       fi 
    1375     done 
    1376     if test -z "$haveit"; then 
    1377       [$1]="${[$1]}${[$1]:+ }$element" 
    1378     fi 
    1379   done 
    1380 ]) 
    1381  
    1382 dnl For those cases where a variable contains several -L and -l options 
    1383 dnl referring to unknown libraries and directories, this macro determines the 
    1384 dnl necessary additional linker options for the runtime path. 
    1385 dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL]) 
    1386 dnl sets LDADDVAR to linker options needed together with LIBSVALUE. 
    1387 dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed, 
    1388 dnl otherwise linking without libtool is assumed. 
    1389 AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS], 
    1390 [ 
    1391   AC_REQUIRE([AC_LIB_RPATH]) 
    1392   AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) 
    1393   $1= 
    1394   if test "$enable_rpath" != no; then 
    1395     if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 
    1396       dnl Use an explicit option to hardcode directories into the resulting 
    1397       dnl binary. 
    1398       rpathdirs= 
    1399       next= 
    1400       for opt in $2; do 
    1401         if test -n "$next"; then 
    1402           dir="$next" 
    1403           dnl No need to hardcode the standard /usr/lib. 
    1404           if test "X$dir" != "X/usr/$acl_libdirstem"; then 
    1405             rpathdirs="$rpathdirs $dir" 
    1406           fi 
    1407           next= 
    1408         else 
    1409           case $opt in 
    1410             -L) next=yes ;; 
    1411             -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'` 
    1412                  dnl No need to hardcode the standard /usr/lib. 
    1413                  if test "X$dir" != "X/usr/$acl_libdirstem"; then 
    1414                    rpathdirs="$rpathdirs $dir" 
    1415                  fi 
    1416                  next= ;; 
    1417             *) next= ;; 
    1418           esac 
    1419         fi 
    1420       done 
    1421       if test "X$rpathdirs" != "X"; then 
    1422         if test -n ""$3""; then 
    1423           dnl libtool is used for linking. Use -R options. 
    1424           for dir in $rpathdirs; do 
    1425             $1="${$1}${$1:+ }-R$dir" 
    1426           done 
    1427         else 
    1428           dnl The linker is used for linking directly. 
    1429           if test -n "$acl_hardcode_libdir_separator"; then 
    1430             dnl Weird platform: only the last -rpath option counts, the user 
    1431             dnl must pass all path elements in one option. 
    1432             alldirs= 
    1433             for dir in $rpathdirs; do 
    1434               alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir" 
    1435             done 
    1436             acl_save_libdir="$libdir" 
    1437             libdir="$alldirs" 
    1438             eval flag=\"$acl_hardcode_libdir_flag_spec\" 
    1439             libdir="$acl_save_libdir" 
    1440             $1="$flag" 
    1441           else 
    1442             dnl The -rpath options are cumulative. 
    1443             for dir in $rpathdirs; do 
    1444               acl_save_libdir="$libdir" 
    1445               libdir="$dir" 
    1446               eval flag=\"$acl_hardcode_libdir_flag_spec\" 
    1447               libdir="$acl_save_libdir" 
    1448               $1="${$1}${$1:+ }$flag" 
    1449             done 
    1450           fi 
    1451         fi 
    1452       fi 
    1453     fi 
    1454   fi 
    1455   AC_SUBST([$1]) 
    1456 ]) 
    1457  
    1458 # lib-prefix.m4 serial 5 (gettext-0.15) 
    1459 dnl Copyright (C) 2001-2005 Free Software Foundation, Inc. 
    1460 dnl This file is free software; the Free Software Foundation 
    1461 dnl gives unlimited permission to copy and/or distribute it, 
    1462 dnl with or without modifications, as long as this notice is preserved. 
    1463  
    1464 dnl From Bruno Haible. 
    1465  
    1466 dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and 
    1467 dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't 
    1468 dnl require excessive bracketing. 
    1469 ifdef([AC_HELP_STRING], 
    1470 [AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])], 
    1471 [AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])]) 
    1472  
    1473 dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed 
    1474 dnl to access previously installed libraries. The basic assumption is that 
    1475 dnl a user will want packages to use other packages he previously installed 
    1476 dnl with the same --prefix option. 
    1477 dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate 
    1478 dnl libraries, but is otherwise very convenient. 
    1479 AC_DEFUN([AC_LIB_PREFIX], 
    1480 [ 
    1481   AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) 
    1482   AC_REQUIRE([AC_PROG_CC]) 
    1483   AC_REQUIRE([AC_CANONICAL_HOST]) 
    1484   AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) 
    1485   AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) 
    1486   dnl By default, look in $includedir and $libdir. 
    1487   use_additional=yes 
    1488   AC_LIB_WITH_FINAL_PREFIX([ 
    1489     eval additional_includedir=\"$includedir\" 
    1490     eval additional_libdir=\"$libdir\" 
    1491   ]) 
    1492   AC_LIB_ARG_WITH([lib-prefix], 
    1493 [  --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib 
    1494   --without-lib-prefix    don't search for libraries in includedir and libdir], 
    1495 [ 
    1496     if test "X$withval" = "Xno"; then 
    1497       use_additional=no 
    1498     else 
    1499       if test "X$withval" = "X"; then 
    1500         AC_LIB_WITH_FINAL_PREFIX([ 
    1501           eval additional_includedir=\"$includedir\" 
    1502           eval additional_libdir=\"$libdir\" 
    1503         ]) 
    1504       else 
    1505         additional_includedir="$withval/include" 
    1506         additional_libdir="$withval/$acl_libdirstem" 
    1507       fi 
    1508     fi 
    1509 ]) 
    1510   if test $use_additional = yes; then 
    1511     dnl Potentially add $additional_includedir to $CPPFLAGS. 
    1512     dnl But don't add it 
    1513     dnl   1. if it's the standard /usr/include, 
    1514     dnl   2. if it's already present in $CPPFLAGS, 
    1515     dnl   3. if it's /usr/local/include and we are using GCC on Linux, 
    1516     dnl   4. if it doesn't exist as a directory. 
    1517     if test "X$additional_includedir" != "X/usr/include"; then 
    1518       haveit= 
    1519       for x in $CPPFLAGS; do 
    1520         AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 
    1521         if test "X$x" = "X-I$additional_includedir"; then 
    1522           haveit=yes 
    1523           break 
    1524         fi 
    1525       done 
    1526       if test -z "$haveit"; then 
    1527         if test "X$additional_includedir" = "X/usr/local/include"; then 
    1528           if test -n "$GCC"; then 
    1529             case $host_os in 
    1530               linux* | gnu* | k*bsd*-gnu) haveit=yes;; 
    1531             esac 
    1532           fi 
    1533         fi 
    1534         if test -z "$haveit"; then 
    1535           if test -d "$additional_includedir"; then 
    1536             dnl Really add $additional_includedir to $CPPFLAGS. 
    1537             CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" 
    1538           fi 
    1539         fi 
    1540       fi 
    1541     fi 
    1542     dnl Potentially add $additional_libdir to $LDFLAGS. 
    1543     dnl But don't add it 
    1544     dnl   1. if it's the standard /usr/lib, 
    1545     dnl   2. if it's already present in $LDFLAGS, 
    1546     dnl   3. if it's /usr/local/lib and we are using GCC on Linux, 
    1547     dnl   4. if it doesn't exist as a directory. 
    1548     if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then 
    1549       haveit= 
    1550       for x in $LDFLAGS; do 
    1551         AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 
    1552         if test "X$x" = "X-L$additional_libdir"; then 
    1553           haveit=yes 
    1554           break 
    1555         fi 
    1556       done 
    1557       if test -z "$haveit"; then 
    1558         if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then 
    1559           if test -n "$GCC"; then 
    1560             case $host_os in 
    1561               linux*) haveit=yes;; 
    1562             esac 
    1563           fi 
    1564         fi 
    1565         if test -z "$haveit"; then 
    1566           if test -d "$additional_libdir"; then 
    1567             dnl Really add $additional_libdir to $LDFLAGS. 
    1568             LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" 
    1569           fi 
    1570         fi 
    1571       fi 
    1572     fi 
    1573   fi 
    1574 ]) 
    1575  
    1576 dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix, 
    1577 dnl acl_final_exec_prefix, containing the values to which $prefix and 
    1578 dnl $exec_prefix will expand at the end of the configure script. 
    1579 AC_DEFUN([AC_LIB_PREPARE_PREFIX], 
    1580 [ 
    1581   dnl Unfortunately, prefix and exec_prefix get only finally determined 
    1582   dnl at the end of configure. 
    1583   if test "X$prefix" = "XNONE"; then 
    1584     acl_final_prefix="$ac_default_prefix" 
    1585   else 
    1586     acl_final_prefix="$prefix" 
    1587   fi 
    1588   if test "X$exec_prefix" = "XNONE"; then 
    1589     acl_final_exec_prefix='${prefix}' 
    1590   else 
    1591     acl_final_exec_prefix="$exec_prefix" 
    1592   fi 
    1593   acl_save_prefix="$prefix" 
    1594   prefix="$acl_final_prefix" 
    1595   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 
    1596   prefix="$acl_save_prefix" 
    1597 ]) 
    1598  
    1599 dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the 
    1600 dnl variables prefix and exec_prefix bound to the values they will have 
    1601 dnl at the end of the configure script. 
    1602 AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], 
    1603 [ 
    1604   acl_save_prefix="$prefix" 
    1605   prefix="$acl_final_prefix" 
    1606   acl_save_exec_prefix="$exec_prefix" 
    1607   exec_prefix="$acl_final_exec_prefix" 
    1608   $1 
    1609   exec_prefix="$acl_save_exec_prefix" 
    1610   prefix="$acl_save_prefix" 
    1611 ]) 
    1612  
    1613 dnl AC_LIB_PREPARE_MULTILIB creates a variable acl_libdirstem, containing 
    1614 dnl the basename of the libdir, either "lib" or "lib64". 
    1615 AC_DEFUN([AC_LIB_PREPARE_MULTILIB], 
    1616 [ 
    1617   dnl There is no formal standard regarding lib and lib64. The current 
    1618   dnl practice is that on a system supporting 32-bit and 64-bit instruction 
    1619   dnl sets or ABIs, 64-bit libraries go under $prefix/lib64 and 32-bit 
    1620   dnl libraries go under $prefix/lib. We determine the compiler's default 
    1621   dnl mode by looking at the compiler's library search path. If at least 
    1622   dnl of its elements ends in /lib64 or points to a directory whose absolute 
    1623   dnl pathname ends in /lib64, we assume a 64-bit ABI. Otherwise we use the 
    1624   dnl default, namely "lib". 
    1625   acl_libdirstem=lib 
    1626   searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` 
    1627   if test -n "$searchpath"; then 
    1628     acl_save_IFS="${IFS=        }"; IFS=":" 
    1629     for searchdir in $searchpath; do 
    1630       if test -d "$searchdir"; then 
    1631         case "$searchdir" in 
    1632           */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; 
    1633           *) searchdir=`cd "$searchdir" && pwd` 
    1634              case "$searchdir" in 
    1635                */lib64 ) acl_libdirstem=lib64 ;; 
    1636              esac ;; 
    1637         esac 
    1638       fi 
    1639     done 
    1640     IFS="$acl_save_IFS" 
    1641   fi 
    1642 ]) 
    1643  
    1644 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- 
    1645 # 
    1646 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 
    1647 #                 2006, 2007, 2008 Free Software Foundation, Inc. 
    1648 #   Written by Gordon Matzigkeit, 1996 
    1649 # 
    1650 # This file is free software; the Free Software Foundation gives 
    1651 # unlimited permission to copy and/or distribute it, with or without 
    1652 # modifications, as long as this notice is preserved. 
    1653  
    1654 m4_define([_LT_COPYING], [dnl 
    1655 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 
    1656 #                 2006, 2007, 2008 Free Software Foundation, Inc. 
    1657 #   Written by Gordon Matzigkeit, 1996 
    1658 # 
    1659 #   This file is part of GNU Libtool. 
    1660 # 
    1661 # GNU Libtool is free software; you can redistribute it and/or 
    1662 # modify it under the terms of the GNU General Public License as 
    1663 # published by the Free Software Foundation; either version 2 of 
    1664 # the License, or (at your option) any later version. 
    1665 # 
    1666 # As a special exception to the GNU General Public License, 
    1667 # if you distribute this file as part of a program or library that 
    1668 # is built using GNU Libtool, you may include this file under the 
    1669 # same distribution terms that you use for the rest of that program. 
    1670 # 
    1671 # GNU Libtool is distributed in the hope that it will be useful, 
    1672 # but WITHOUT ANY WARRANTY; without even the implied warranty of 
    1673 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    1674 # GNU General Public License for more details. 
    1675 # 
    1676 # You should have received a copy of the GNU General Public License 
    1677 # along with GNU Libtool; see the file COPYING.  If not, a copy 
    1678 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or 
    1679 # obtained by writing to the Free Software Foundation, Inc., 
    1680 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 
    1681 ]) 
    1682  
    1683 # serial 56 LT_INIT 
    1684  
    1685  
    1686 # LT_PREREQ(VERSION) 
    1687 # ------------------ 
    1688 # Complain and exit if this libtool version is less that VERSION. 
    1689 m4_defun([LT_PREREQ], 
    1690 [m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1, 
    1691        [m4_default([$3], 
    1692                    [m4_fatal([Libtool version $1 or higher is required], 
    1693                              63)])], 
    1694        [$2])]) 
    1695  
    1696  
    1697 # _LT_CHECK_BUILDDIR 
    1698 # ------------------ 
    1699 # Complain if the absolute build directory name contains unusual characters 
    1700 m4_defun([_LT_CHECK_BUILDDIR], 
    1701 [case `pwd` in 
    1702   *\ * | *\     *) 
    1703     AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;; 
    1704 esac 
    1705 ]) 
    1706  
    1707  
    1708 # LT_INIT([OPTIONS]) 
    1709 # ------------------ 
    1710 AC_DEFUN([LT_INIT], 
    1711 [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT 
    1712 AC_BEFORE([$0], [LT_LANG])dnl 
    1713 AC_BEFORE([$0], [LT_OUTPUT])dnl 
    1714 AC_BEFORE([$0], [LTDL_INIT])dnl 
    1715 m4_require([_LT_CHECK_BUILDDIR])dnl 
    1716  
    1717 dnl Autoconf doesn't catch unexpanded LT_ macros by default: 
    1718 m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl 
    1719 m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl 
    1720 dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 
    1721 dnl unless we require an AC_DEFUNed macro: 
    1722 AC_REQUIRE([LTOPTIONS_VERSION])dnl 
    1723 AC_REQUIRE([LTSUGAR_VERSION])dnl 
    1724 AC_REQUIRE([LTVERSION_VERSION])dnl 
    1725 AC_REQUIRE([LTOBSOLETE_VERSION])dnl 
    1726 m4_require([_LT_PROG_LTMAIN])dnl 
    1727  
    1728 dnl Parse OPTIONS 
    1729 _LT_SET_OPTIONS([$0], [$1]) 
    1730  
    1731 # This can be used to rebuild libtool when needed 
    1732 LIBTOOL_DEPS="$ltmain" 
    1733  
    1734 # Always use our own libtool. 
    1735 LIBTOOL='$(SHELL) $(top_builddir)/libtool' 
    1736 AC_SUBST(LIBTOOL)dnl 
    1737  
    1738 _LT_SETUP 
    1739  
    1740 # Only expand once: 
    1741 m4_define([LT_INIT]) 
    1742 ])# LT_INIT 
    1743  
    1744 # Old names: 
    1745 AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) 
    1746 AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) 
    1747 dnl aclocal-1.4 backwards compatibility: 
    1748 dnl AC_DEFUN([AC_PROG_LIBTOOL], []) 
    1749 dnl AC_DEFUN([AM_PROG_LIBTOOL], []) 
    1750  
    1751  
    1752 # _LT_CC_BASENAME(CC) 
    1753 # ------------------- 
    1754 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix. 
    1755 m4_defun([_LT_CC_BASENAME], 
    1756 [for cc_temp in $1""; do 
    1757   case $cc_temp in 
    1758     compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; 
    1759     distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; 
    1760     \-*) ;; 
    1761     *) break;; 
    1762   esac 
    1763 done 
    1764 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 
    1765 ]) 
    1766  
    1767  
    1768 # _LT_FILEUTILS_DEFAULTS 
    1769 # ---------------------- 
    1770 # It is okay to use these file commands and assume they have been set 
    1771 # sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'. 
    1772 m4_defun([_LT_FILEUTILS_DEFAULTS], 
    1773 [: ${CP="cp -f"} 
    1774 : ${MV="mv -f"} 
    1775 : ${RM="rm -f"} 
    1776 ])# _LT_FILEUTILS_DEFAULTS 
    1777  
    1778  
    1779 # _LT_SETUP 
    1780 # --------- 
    1781 m4_defun([_LT_SETUP], 
    1782 [AC_REQUIRE([AC_CANONICAL_HOST])dnl 
    1783 AC_REQUIRE([AC_CANONICAL_BUILD])dnl 
    1784 _LT_DECL([], [host_alias], [0], [The host system])dnl 
    1785 _LT_DECL([], [host], [0])dnl 
    1786 _LT_DECL([], [host_os], [0])dnl 
    1787 dnl 
    1788 _LT_DECL([], [build_alias], [0], [The build system])dnl 
    1789 _LT_DECL([], [build], [0])dnl 
    1790 _LT_DECL([], [build_os], [0])dnl 
    1791 dnl 
    1792 AC_REQUIRE([AC_PROG_CC])dnl 
    1793 AC_REQUIRE([LT_PATH_LD])dnl 
    1794 AC_REQUIRE([LT_PATH_NM])dnl 
    1795 dnl 
    1796 AC_REQUIRE([AC_PROG_LN_S])dnl 
    1797 test -z "$LN_S" && LN_S="ln -s" 
    1798 _LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl 
    1799 dnl 
    1800 AC_REQUIRE([LT_CMD_MAX_LEN])dnl 
    1801 _LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl 
    1802 _LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl 
    1803 dnl 
    1804 m4_require([_LT_FILEUTILS_DEFAULTS])dnl 
    1805 m4_require([_LT_CHECK_SHELL_FEATURES])dnl 
    1806 m4_require([_LT_CMD_RELOAD])dnl 
    1807 m4_require([_LT_CHECK_MAGIC_METHOD])dnl 
    1808 m4_require([_LT_CMD_OLD_ARCHIVE])dnl 
    1809 m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl 
    1810  
    1811 _LT_CONFIG_LIBTOOL_INIT([ 
    1812 # See if we are running on zsh, and set the options which allow our 
    1813 # commands through without removal of \ escapes INIT. 
    1814 if test -n "\${ZSH_VERSION+set}" ; then 
    1815    setopt NO_GLOB_SUBST 
    1816 fi 
    1817 ]) 
    1818 if test -n "${ZSH_VERSION+set}" ; then 
    1819    setopt NO_GLOB_SUBST 
    1820 fi 
    1821  
    1822 _LT_CHECK_OBJDIR 
    1823  
    1824 m4_require([_LT_TAG_COMPILER])dnl 
    1825 _LT_PROG_ECHO_BACKSLASH 
    1826  
    1827 case $host_os in 
    1828 aix3*) 
    1829   # AIX sometimes has problems with the GCC collect2 program.  For some 
    1830   # reason, if we set the COLLECT_NAMES environment variable, the problems 
    1831   # vanish in a puff of smoke. 
    1832   if test "X${COLLECT_NAMES+set}" != Xset; then 
    1833     COLLECT_NAMES= 
    1834     export COLLECT_NAMES 
    1835   fi 
    1836   ;; 
    1837 esac 
    1838  
    1839 # Sed substitution that helps us do robust quoting.  It backslashifies 
    1840 # metacharacters that are still active within double-quoted strings. 
    1841 sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' 
    1842  
    1843 # Same as above, but do not quote variable references. 
    1844 double_quote_subst='s/\([["`\\]]\)/\\\1/g' 
    1845  
    1846 # Sed substitution to delay expansion of an escaped shell variable in a 
    1847 # double_quote_subst'ed string. 
    1848 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 
    1849  
    1850 # Sed substitution to delay expansion of an escaped single quote. 
    1851 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 
    1852  
    1853 # Sed substitution to avoid accidental globbing in evaled expressions 
    1854 no_glob_subst='s/\*/\\\*/g' 
    1855  
    1856 # Global variables: 
    1857 ofile=libtool 
    1858 can_build_shared=yes 
    1859  
    1860 # All known linkers require a `.a' archive for static linking (except MSVC, 
    1861 # which needs '.lib'). 
    1862 libext=a 
    1863  
    1864 with_gnu_ld="$lt_cv_prog_gnu_ld" 
    1865  
    1866 old_CC="$CC" 
    1867 old_CFLAGS="$CFLAGS" 
    1868  
    1869 # Set sane defaults for various variables 
    1870 test -z "$CC" && CC=cc 
    1871 test -z "$LTCC" && LTCC=$CC 
    1872 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 
    1873 test -z "$LD" && LD=ld 
    1874 test -z "$ac_objext" && ac_objext=o 
    1875  
    1876 _LT_CC_BASENAME([$compiler]) 
    1877  
    1878 # Only perform the check for file, if the check method requires it 
    1879 test -z "$MAGIC_CMD" && MAGIC_CMD=file 
    1880 case $deplibs_check_method in 
    1881 file_magic*) 
    1882   if test "$file_magic_cmd" = '$MAGIC_CMD'; then 
    1883     _LT_PATH_MAGIC 
    1884   fi 
    1885   ;; 
    1886 esac 
    1887  
    1888 # Use C for the default configuration in the libtool script 
    1889 LT_SUPPORTED_TAG([CC]) 
    1890 _LT_LANG_C_CONFIG 
    1891 _LT_LANG_DEFAULT_CONFIG 
    1892 _LT_CONFIG_COMMANDS 
    1893 ])# _LT_SETUP 
    1894  
    1895  
    1896 # _LT_PROG_LTMAIN 
    1897 # --------------- 
    1898 # Note that this code is called both from `configure', and `config.status' 
    1899 # now that we use AC_CONFIG_COMMANDS to generate libtool.  Notably, 
    1900 # `config.status' has no value for ac_aux_dir unless we are using Automake, 
    1901 # so we pass a copy along to make sure it has a sensible value anyway. 
    1902 m4_defun([_LT_PROG_LTMAIN], 
    1903 [m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl 
    1904 _LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir']) 
    1905 ltmain="$ac_aux_dir/ltmain.sh" 
    1906 ])# _LT_PROG_LTMAIN 
    1907  
    1908  
    1909  
    1910 # So that we can recreate a full libtool script including additional 
    1911 # tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS 
    1912 # in macros and then make a single call at the end using the `libtool' 
    1913 # label. 
    1914  
    1915  
    1916 # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS]) 
    1917 # ---------------------------------------- 
    1918 # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later. 
    1919 m4_define([_LT_CONFIG_LIBTOOL_INIT], 
    1920 [m4_ifval([$1], 
    1921           [m4_append([_LT_OUTPUT_LIBTOOL_INIT], 
    1922                      [$1 
    1923 ])])]) 
    1924  
    1925 # Initialize. 
    1926 m4_define([_LT_OUTPUT_LIBTOOL_INIT]) 
    1927  
    1928  
    1929 # _LT_CONFIG_LIBTOOL([COMMANDS]) 
    1930 # ------------------------------ 
    1931 # Register COMMANDS to be passed to AC_CONFIG_COMMANDS later. 
    1932 m4_define([_LT_CONFIG_LIBTOOL], 
    1933 [m4_ifval([$1], 
    1934           [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS], 
    1935                      [$1 
    1936 ])])]) 
    1937  
    1938 # Initialize. 
    1939 m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS]) 
    1940  
    1941  
    1942 # _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS]) 
    1943 # ----------------------------------------------------- 
    1944 m4_defun([_LT_CONFIG_SAVE_COMMANDS], 
    1945 [_LT_CONFIG_LIBTOOL([$1]) 
    1946 _LT_CONFIG_LIBTOOL_INIT([$2]) 
    1947 ]) 
    1948  
    1949  
    1950 # _LT_FORMAT_COMMENT([COMMENT]) 
    1951 # ----------------------------- 
    1952 # Add leading comment marks to the start of each line, and a trailing 
    1953 # full-stop to the whole comment if one is not present already. 
    1954 m4_define([_LT_FORMAT_COMMENT], 
    1955 [m4_ifval([$1], [ 
    1956 m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])], 
    1957               [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.]) 
    1958 )]) 
    1959  
    1960  
    1961  
    1962  
    1963  
    1964 # _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?]) 
    1965 # ------------------------------------------------------------------- 
    1966 # CONFIGNAME is the name given to the value in the libtool script. 
    1967 # VARNAME is the (base) name used in the configure script. 
    1968 # VALUE may be 0, 1 or 2 for a computed quote escaped value based on 
    1969 # VARNAME.  Any other value will be used directly. 
    1970 m4_define([_LT_DECL], 
    1971 [lt_if_append_uniq([lt_decl_varnames], [$2], [, ], 
    1972     [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name], 
    1973         [m4_ifval([$1], [$1], [$2])]) 
    1974     lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3]) 
    1975     m4_ifval([$4], 
    1976         [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])]) 
    1977     lt_dict_add_subkey([lt_decl_dict], [$2], 
    1978         [tagged?], [m4_ifval([$5], [yes], [no])])]) 
    1979 ]) 
    1980  
    1981  
    1982 # _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION]) 
    1983 # -------------------------------------------------------- 
    1984 m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])]) 
    1985  
    1986  
    1987 # lt_decl_tag_varnames([SEPARATOR], [VARNAME1...]) 
    1988 # ------------------------------------------------ 
    1989 m4_define([lt_decl_tag_varnames], 
    1990 [_lt_decl_filter([tagged?], [yes], $@)]) 
    1991  
    1992  
    1993 # _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..]) 
    1994 # --------------------------------------------------------- 
    1995 m4_define([_lt_decl_filter], 
    1996 [m4_case([$#], 
    1997   [0], [m4_fatal([$0: too few arguments: $#])], 
    1998   [1], [m4_fatal([$0: too few arguments: $#: $1])], 
    1999   [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)], 
    2000   [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)], 
    2001   [lt_dict_filter([lt_decl_dict], $@)])[]dnl 
    2002 ]) 
    2003  
    2004  
    2005 # lt_decl_quote_varnames([SEPARATOR], [VARNAME1...]) 
    2006 # -------------------------------------------------- 
    2007 m4_define([lt_decl_quote_varnames], 
    2008 [_lt_decl_filter([value], [1], $@)]) 
    2009  
    2010  
    2011 # lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...]) 
    2012 # --------------------------------------------------- 
    2013 m4_define([lt_decl_dquote_varnames], 
    2014 [_lt_decl_filter([value], [2], $@)]) 
    2015  
    2016  
    2017 # lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...]) 
    2018 # --------------------------------------------------- 
    2019 m4_define([lt_decl_varnames_tagged], 
    2020 [_$0(m4_quote(m4_default([$1], [[, ]])), 
    2021      m4_quote(m4_if([$2], [], 
    2022                      m4_quote(lt_decl_tag_varnames), 
    2023                   m4_quote(m4_shift($@)))), 
    2024      m4_split(m4_normalize(m4_quote(_LT_TAGS))))]) 
    2025 m4_define([_lt_decl_varnames_tagged], [lt_combine([$1], [$2], [_], $3)]) 
    2026  
    2027  
    2028 # lt_decl_all_varnames([SEPARATOR], [VARNAME1...]) 
    2029 # ------------------------------------------------ 
    2030 m4_define([lt_decl_all_varnames], 
    2031 [_$0(m4_quote(m4_default([$1], [[, ]])), 
    2032      m4_if([$2], [], 
    2033            m4_quote(lt_decl_varnames), 
    2034         m4_quote(m4_shift($@))))[]dnl 
    2035 ]) 
    2036 m4_define([_lt_decl_all_varnames], 
    2037 [lt_join($@, lt_decl_varnames_tagged([$1], 
    2038                         lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl 
    2039 ]) 
    2040  
    2041  
    2042 # _LT_CONFIG_STATUS_DECLARE([VARNAME]) 
    2043 # ------------------------------------ 
    2044 # Quote a variable value, and forward it to `config.status' so that its 
    2045 # declaration there will have the same value as in `configure'.  VARNAME 
    2046 # must have a single quote delimited value for this to work. 
    2047 m4_define([_LT_CONFIG_STATUS_DECLARE], 
    2048 [$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`']) 
    2049  
    2050  
    2051 # _LT_CONFIG_STATUS_DECLARATIONS 
    2052 # ------------------------------ 
    2053 # We delimit libtool config variables with single quotes, so when 
    2054 # we write them to config.status, we have to be sure to quote all 
    2055 # embedded single quotes properly.  In configure, this macro expands 
    2056 # each variable declared with _LT_DECL (and _LT_TAGDECL) into: 
    2057 # 
    2058 #    <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`' 
    2059 m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], 
    2060 [m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), 
    2061     [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) 
    2062  
    2063  
    2064 # _LT_LIBTOOL_TAGS 
    2065 # ---------------- 
    2066 # Output comment and list of tags supported by the script 
    2067 m4_defun([_LT_LIBTOOL_TAGS], 
    2068 [_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl 
    2069 available_tags="_LT_TAGS"dnl 
    2070 ]) 
    2071  
    2072  
    2073 # _LT_LIBTOOL_DECLARE(VARNAME, [TAG]) 
    2074 # ----------------------------------- 
    2075 # Extract the dictionary values for VARNAME (optionally with TAG) and 
    2076 # expand to a commented shell variable setting: 
    2077 # 
    2078 #    # Some comment about what VAR is for. 
    2079 #    visible_name=$lt_internal_name 
    2080 m4_define([_LT_LIBTOOL_DECLARE], 
    2081 [_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], 
    2082                                            [description])))[]dnl 
    2083 m4_pushdef([_libtool_name], 
    2084     m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl 
    2085 m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])), 
    2086     [0], [_libtool_name=[$]$1], 
    2087     [1], [_libtool_name=$lt_[]$1], 
    2088     [2], [_libtool_name=$lt_[]$1], 
    2089     [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl 
    2090 m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl 
    2091 ]) 
    2092  
    2093  
    2094 # _LT_LIBTOOL_CONFIG_VARS 
    2095 # ----------------------- 
    2096 # Produce commented declarations of non-tagged libtool config variables 
    2097 # suitable for insertion in the LIBTOOL CONFIG section of the `libtool' 
    2098 # script.  Tagged libtool config variables (even for the LIBTOOL CONFIG 
    2099 # section) are produced by _LT_LIBTOOL_TAG_VARS. 
    2100 m4_defun([_LT_LIBTOOL_CONFIG_VARS], 
    2101 [m4_foreach([_lt_var], 
    2102     m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)), 
    2103     [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])]) 
    2104  
    2105  
    2106 # _LT_LIBTOOL_TAG_VARS(TAG) 
    2107 # ------------------------- 
    2108 m4_define([_LT_LIBTOOL_TAG_VARS], 
    2109 [m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames), 
    2110     [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])]) 
    2111  
    2112  
    2113 # _LT_TAGVAR(VARNAME, [TAGNAME]) 
    2114 # ------------------------------ 
    2115 m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])]) 
    2116  
    2117  
    2118 # _LT_CONFIG_COMMANDS 
    2119 # ------------------- 
    2120 # Send accumulated output to $CONFIG_STATUS.  Thanks to the lists of 
    2121 # variables for single and double quote escaping we saved from calls 
    2122 # to _LT_DECL, we can put quote escaped variables declarations 
    2123 # into `config.status', and then the shell code to quote escape them in 
    2124 # for loops in `config.status'.  Finally, any additional code accumulated 
    2125 # from calls to _LT_CONFIG_LIBTOOL_INIT is expanded. 
    2126 m4_defun([_LT_CONFIG_COMMANDS], 
    2127 [AC_PROVIDE_IFELSE([LT_OUTPUT], 
    2128         dnl If the libtool generation code has been placed in $CONFIG_LT, 
    2129         dnl instead of duplicating it all over again into config.status, 
    2130         dnl then we will have config.status run $CONFIG_LT later, so it 
    2131         dnl needs to know what name is stored there: 
    2132         [AC_CONFIG_COMMANDS([libtool], 
    2133             [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])], 
    2134     dnl If the libtool generation code is destined for config.status, 
    2135     dnl expand the accumulated commands and init code now: 
    2136     [AC_CONFIG_COMMANDS([libtool], 
    2137         [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])]) 
    2138 ])#_LT_CONFIG_COMMANDS 
    2139  
    2140  
    2141 # Initialize. 
    2142 m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT], 
    2143 [ 
    2144  
    2145 # The HP-UX ksh and POSIX shell print the target directory to stdout 
    2146 # if CDPATH is set. 
    2147 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
    2148  
    2149 sed_quote_subst='$sed_quote_subst' 
    2150 double_quote_subst='$double_quote_subst' 
    2151 delay_variable_subst='$delay_variable_subst' 
    2152 _LT_CONFIG_STATUS_DECLARATIONS 
    2153 LTCC='$LTCC' 
    2154 LTCFLAGS='$LTCFLAGS' 
    2155 compiler='$compiler_DEFAULT' 
    2156  
    2157 # Quote evaled strings. 
    2158 for var in lt_decl_all_varnames([[ \ 
    2159 ]], lt_decl_quote_varnames); do 
    2160     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 
    2161     *[[\\\\\\\`\\"\\\$]]*) 
    2162       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 
    2163       ;; 
    2164     *) 
    2165       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 
    2166       ;; 
    2167     esac 
    2168 done 
    2169  
    2170 # Double-quote double-evaled strings. 
    2171 for var in lt_decl_all_varnames([[ \ 
    2172 ]], lt_decl_dquote_varnames); do 
    2173     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 
    2174     *[[\\\\\\\`\\"\\\$]]*) 
    2175       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 
    2176       ;; 
    2177     *) 
    2178       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 
    2179       ;; 
    2180     esac 
    2181 done 
    2182  
    2183 # Fix-up fallback echo if it was mangled by the above quoting rules. 
    2184 case \$lt_ECHO in 
    2185 *'\\\[$]0 --fallback-echo"')dnl " 
    2186   lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\` 
    2187   ;; 
    2188 esac 
    2189  
    2190 _LT_OUTPUT_LIBTOOL_INIT 
    2191 ]) 
    2192  
    2193  
    2194 # LT_OUTPUT 
    2195 # --------- 
    2196 # This macro allows early generation of the libtool script (before 
    2197 # AC_OUTPUT is called), incase it is used in configure for compilation 
    2198 # tests. 
    2199 AC_DEFUN([LT_OUTPUT], 
    2200 [: ${CONFIG_LT=./config.lt} 
    2201 AC_MSG_NOTICE([creating $CONFIG_LT]) 
    2202 cat >"$CONFIG_LT" <<_LTEOF 
    2203 #! $SHELL 
    2204 # Generated by $as_me. 
    2205 # Run this file to recreate a libtool stub with the current configuration. 
    2206  
    2207 lt_cl_silent=false 
    2208 SHELL=\${CONFIG_SHELL-$SHELL} 
    2209 _LTEOF 
    2210  
    2211 cat >>"$CONFIG_LT" <<\_LTEOF 
    2212 AS_SHELL_SANITIZE 
    2213 _AS_PREPARE 
    2214  
    2215 exec AS_MESSAGE_FD>&1 
    2216 exec AS_MESSAGE_LOG_FD>>config.log 
    2217 { 
    2218   echo 
    2219   AS_BOX([Running $as_me.]) 
    2220 } >&AS_MESSAGE_LOG_FD 
    2221  
    2222 lt_cl_help="\ 
    2223 \`$as_me' creates a local libtool stub from the current configuration, 
    2224 for use in further configure time tests before the real libtool is 
    2225 generated. 
    2226  
    2227 Usage: $[0] [[OPTIONS]] 
    2228  
    2229   -h, --help      print this help, then exit 
    2230   -V, --version   print version number, then exit 
    2231   -q, --quiet     do not print progress messages 
    2232   -d, --debug     don't remove temporary files 
    2233  
    2234 Report bugs to <bug-libtool@gnu.org>." 
    2235  
    2236 lt_cl_version="\ 
    2237 m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl 
    2238 m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) 
    2239 configured by $[0], generated by m4_PACKAGE_STRING. 
    2240  
    2241 Copyright (C) 2008 Free Software Foundation, Inc. 
    2242 This config.lt script is free software; the Free Software Foundation 
    2243 gives unlimited permision to copy, distribute and modify it." 
    2244  
    2245 while test $[#] != 0 
    2246 do 
    2247   case $[1] in 
    2248     --version | --v* | -V ) 
    2249       echo "$lt_cl_version"; exit 0 ;; 
    2250     --help | --h* | -h ) 
    2251       echo "$lt_cl_help"; exit 0 ;; 
    2252     --debug | --d* | -d ) 
    2253       debug=: ;; 
    2254     --quiet | --q* | --silent | --s* | -q ) 
    2255       lt_cl_silent=: ;; 
    2256  
    2257     -*) AC_MSG_ERROR([unrecognized option: $[1] 
    2258 Try \`$[0] --help' for more information.]) ;; 
    2259  
    2260     *) AC_MSG_ERROR([unrecognized argument: $[1] 
    2261 Try \`$[0] --help' for more information.]) ;; 
    2262   esac 
    2263   shift 
    2264 done 
    2265  
    2266 if $lt_cl_silent; then 
    2267   exec AS_MESSAGE_FD>/dev/null 
    2268 fi 
    2269 _LTEOF 
    2270  
    2271 cat >>"$CONFIG_LT" <<_LTEOF 
    2272 _LT_OUTPUT_LIBTOOL_COMMANDS_INIT 
    2273 _LTEOF 
    2274  
    2275 cat >>"$CONFIG_LT" <<\_LTEOF 
    2276 AC_MSG_NOTICE([creating $ofile]) 
    2277 _LT_OUTPUT_LIBTOOL_COMMANDS 
    2278 AS_EXIT(0) 
    2279 _LTEOF 
    2280 chmod +x "$CONFIG_LT" 
    2281  
    2282 # configure is writing to config.log, but config.lt does its own redirection, 
    2283 # appending to config.log, which fails on DOS, as config.log is still kept 
    2284 # open by configure.  Here we exec the FD to /dev/null, effectively closing 
    2285 # config.log, so it can be properly (re)opened and appended to by config.lt. 
    2286 if test "$no_create" != yes; then 
    2287   lt_cl_success=: 
    2288   test "$silent" = yes && 
    2289     lt_config_lt_args="$lt_config_lt_args --quiet" 
    2290   exec AS_MESSAGE_LOG_FD>/dev/null 
    2291   $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false 
    2292   exec AS_MESSAGE_LOG_FD>>config.log 
    2293   $lt_cl_success || AS_EXIT(1) 
    2294 fi 
    2295 ])# LT_OUTPUT 
    2296  
    2297  
    2298 # _LT_CONFIG(TAG) 
    2299 # --------------- 
    2300 # If TAG is the built-in tag, create an initial libtool script with a 
    2301 # default configuration from the untagged config vars.  Otherwise add code 
    2302 # to config.status for appending the configuration named by TAG from the 
    2303 # matching tagged config vars. 
    2304 m4_defun([_LT_CONFIG], 
    2305 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl 
    2306 _LT_CONFIG_SAVE_COMMANDS([ 
    2307   m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl 
    2308   m4_if(_LT_TAG, [C], [ 
    2309     # See if we are running on zsh, and set the options which allow our 
    2310     # commands through without removal of \ escapes. 
    2311     if test -n "${ZSH_VERSION+set}" ; then 
    2312       setopt NO_GLOB_SUBST 
    2313     fi 
    2314  
    2315     cfgfile="${ofile}T" 
    2316     trap "$RM \"$cfgfile\"; exit 1" 1 2 15 
    2317     $RM "$cfgfile" 
    2318  
    2319     cat <<_LT_EOF >> "$cfgfile" 
    2320 #! $SHELL 
    2321  
    2322 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 
    2323 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 
    2324 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 
    2325 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 
    2326 # 
    2327 _LT_COPYING 
    2328 _LT_LIBTOOL_TAGS 
    2329  
    2330 # ### BEGIN LIBTOOL CONFIG 
    2331 _LT_LIBTOOL_CONFIG_VARS 
    2332 _LT_LIBTOOL_TAG_VARS 
    2333 # ### END LIBTOOL CONFIG 
    2334  
    2335 _LT_EOF 
    2336  
    2337   case $host_os in 
    2338   aix3*) 
    2339     cat <<\_LT_EOF >> "$cfgfile" 
    2340 # AIX sometimes has problems with the GCC collect2 program.  For some 
    2341 # reason, if we set the COLLECT_NAMES environment variable, the problems 
    2342 # vanish in a puff of smoke. 
    2343 if test "X${COLLECT_NAMES+set}" != Xset; then 
    2344   COLLECT_NAMES= 
    2345   export COLLECT_NAMES 
    2346 fi 
    2347 _LT_EOF 
    2348     ;; 
    2349   esac 
    2350  
    2351   _LT_PROG_LTMAIN 
    2352  
    2353   # We use sed instead of cat because bash on DJGPP gets confused if 
    2354   # if finds mixed CR/LF and LF-only lines.  Since sed operates in 
    2355   # text mode, it properly converts lines to CR/LF.  This bash problem 
    2356   # is reportedly fixed, but why not run on old versions too? 
    2357   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ 
    2358     || (rm -f "$cfgfile"; exit 1) 
    2359  
    2360   _LT_PROG_XSI_SHELLFNS 
    2361  
    2362   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ 
    2363     || (rm -f "$cfgfile"; exit 1) 
    2364  
    2365   mv -f "$cfgfile" "$ofile" || 
    2366     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 
    2367   chmod +x "$ofile" 
    2368 ], 
    2369 [cat <<_LT_EOF >> "$ofile" 
    2370  
    2371 dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded 
    2372 dnl in a comment (ie after a #). 
    2373 # ### BEGIN LIBTOOL TAG CONFIG: $1 
    2374 _LT_LIBTOOL_TAG_VARS(_LT_TAG) 
    2375 # ### END LIBTOOL TAG CONFIG: $1 
    2376 _LT_EOF 
    2377 ])dnl /m4_if 
    2378 ], 
    2379 [m4_if([$1], [], [ 
    2380     PACKAGE='$PACKAGE' 
    2381     VERSION='$VERSION' 
    2382     TIMESTAMP='$TIMESTAMP' 
    2383     RM='$RM' 
    2384     ofile='$ofile'], []) 
    2385 ])dnl /_LT_CONFIG_SAVE_COMMANDS 
    2386 ])# _LT_CONFIG 
    2387  
    2388  
    2389 # LT_SUPPORTED_TAG(TAG) 
    2390 # --------------------- 
    2391 # Trace this macro to discover what tags are supported by the libtool 
    2392 # --tag option, using: 
    2393 #    autoconf --trace 'LT_SUPPORTED_TAG:$1' 
    2394 AC_DEFUN([LT_SUPPORTED_TAG], []) 
    2395  
    2396  
    2397 # C support is built-in for now 
    2398 m4_define([_LT_LANG_C_enabled], []) 
    2399 m4_define([_LT_TAGS], []) 
    2400  
    2401  
    2402 # LT_LANG(LANG) 
    2403 # ------------- 
    2404 # Enable libtool support for the given language if not already enabled. 
    2405 AC_DEFUN([LT_LANG], 
    2406 [AC_BEFORE([$0], [LT_OUTPUT])dnl 
    2407 m4_case([$1], 
    2408   [C],                  [_LT_LANG(C)], 
    2409   [C++],                [_LT_LANG(CXX)], 
    2410   [Java],               [_LT_LANG(GCJ)], 
    2411   [Fortran 77],         [_LT_LANG(F77)], 
    2412   [Fortran],            [_LT_LANG(FC)], 
    2413   [Windows Resource],   [_LT_LANG(RC)], 
    2414   [m4_ifdef([_LT_LANG_]$1[_CONFIG], 
    2415     [_LT_LANG($1)], 
    2416     [m4_fatal([$0: unsupported language: "$1"])])])dnl 
    2417 ])# LT_LANG 
    2418  
    2419  
    2420 # _LT_LANG(LANGNAME) 
    2421 # ------------------ 
    2422 m4_defun([_LT_LANG], 
    2423 [m4_ifdef([_LT_LANG_]$1[_enabled], [], 
    2424   [LT_SUPPORTED_TAG([$1])dnl 
    2425   m4_append([_LT_TAGS], [$1 ])dnl 
    2426   m4_define([_LT_LANG_]$1[_enabled], [])dnl 
    2427   _LT_LANG_$1_CONFIG($1)])dnl 
    2428 ])# _LT_LANG 
    2429  
    2430  
    2431 # _LT_LANG_DEFAULT_CONFIG 
    2432 # ----------------------- 
    2433 m4_defun([_LT_LANG_DEFAULT_CONFIG], 
    2434 [AC_PROVIDE_IFELSE([AC_PROG_CXX], 
    2435   [LT_LANG(CXX)], 
    2436   [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])]) 
    2437  
    2438 AC_PROVIDE_IFELSE([AC_PROG_F77], 
    2439   [LT_LANG(F77)], 
    2440   [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])]) 
    2441  
    2442 AC_PROVIDE_IFELSE([AC_PROG_FC], 
    2443   [LT_LANG(FC)], 
    2444   [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])]) 
    2445  
    2446 dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal 
    2447 dnl pulling things in needlessly. 
    2448 AC_PROVIDE_IFELSE([AC_PROG_GCJ], 
    2449   [LT_LANG(GCJ)], 
    2450   [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], 
    2451     [LT_LANG(GCJ)], 
    2452     [AC_PROVIDE_IFELSE([LT_PROG_GCJ], 
    2453       [LT_LANG(GCJ)], 
    2454       [m4_ifdef([AC_PROG_GCJ], 
    2455         [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])]) 
    2456        m4_ifdef([A][M_PROG_GCJ], 
    2457         [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])]) 
    2458        m4_ifdef([LT_PROG_GCJ], 
    2459         [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])]) 
    2460  
    2461 AC_PROVIDE_IFELSE([LT_PROG_RC], 
    2462   [LT_LANG(RC)], 
    2463   [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])]) 
    2464 ])# _LT_LANG_DEFAULT_CONFIG 
    2465  
    2466 # Obsolete macros: 
    2467 AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) 
    2468 AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) 
    2469 AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) 
    2470 AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) 
    2471 dnl aclocal-1.4 backwards compatibility: 
    2472 dnl AC_DEFUN([AC_LIBTOOL_CXX], []) 
    2473 dnl AC_DEFUN([AC_LIBTOOL_F77], []) 
    2474 dnl AC_DEFUN([AC_LIBTOOL_FC], []) 
    2475 dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) 
    2476  
    2477  
    2478 # _LT_TAG_COMPILER 
    2479 # ---------------- 
    2480 m4_defun([_LT_TAG_COMPILER], 
    2481 [AC_REQUIRE([AC_PROG_CC])dnl 
    2482  
    2483 _LT_DECL([LTCC], [CC], [1], [A C compiler])dnl 
    2484 _LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl 
    2485 _LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl 
    2486 _LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl 
    2487  
    2488 # If no C compiler was specified, use CC. 
    2489 LTCC=${LTCC-"$CC"} 
    2490  
    2491 # If no C compiler flags were specified, use CFLAGS. 
    2492 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 
    2493  
    2494 # Allow CC to be a program name with arguments. 
    2495 compiler=$CC 
    2496 ])# _LT_TAG_COMPILER 
    2497  
    2498  
    2499 # _LT_COMPILER_BOILERPLATE 
    2500 # ------------------------ 
    2501 # Check for compiler boilerplate output or warnings with 
    2502 # the simple compiler test code. 
    2503 m4_defun([_LT_COMPILER_BOILERPLATE], 
    2504 [m4_require([_LT_DECL_SED])dnl 
    2505 ac_outfile=conftest.$ac_objext 
    2506 echo "$lt_simple_compile_test_code" >conftest.$ac_ext 
    2507 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 
    2508 _lt_compiler_boilerplate=`cat conftest.err` 
    2509 $RM conftest* 
    2510 ])# _LT_COMPILER_BOILERPLATE 
    2511  
    2512  
    2513 # _LT_LINKER_BOILERPLATE 
    2514 # ---------------------- 
    2515 # Check for linker boilerplate output or warnings with 
    2516 # the simple link test code. 
    2517 m4_defun([_LT_LINKER_BOILERPLATE], 
    2518 [m4_require([_LT_DECL_SED])dnl 
    2519 ac_outfile=conftest.$ac_objext 
    2520 echo "$lt_simple_link_test_code" >conftest.$ac_ext 
    2521 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 
    2522 _lt_linker_boilerplate=`cat conftest.err` 
    2523 $RM -r conftest* 
    2524 ])# _LT_LINKER_BOILERPLATE 
    2525  
    2526 # _LT_REQUIRED_DARWIN_CHECKS 
    2527 # ------------------------- 
    2528 m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ 
    2529   case $host_os in 
    2530     rhapsody* | darwin*) 
    2531     AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) 
    2532     AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) 
    2533     AC_CHECK_TOOL([LIPO], [lipo], [:]) 
    2534     AC_CHECK_TOOL([OTOOL], [otool], [:]) 
    2535     AC_CHECK_TOOL([OTOOL64], [otool64], [:]) 
    2536     _LT_DECL([], [DSYMUTIL], [1], 
    2537       [Tool to manipulate archived DWARF debug symbol files on Mac OS X]) 
    2538     _LT_DECL([], [NMEDIT], [1], 
    2539       [Tool to change global to local symbols on Mac OS X]) 
    2540     _LT_DECL([], [LIPO], [1], 
    2541       [Tool to manipulate fat objects and archives on Mac OS X]) 
    2542     _LT_DECL([], [OTOOL], [1], 
    2543       [ldd/readelf like tool for Mach-O binaries on Mac OS X]) 
    2544     _LT_DECL([], [OTOOL64], [1], 
    2545       [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4]) 
    2546  
    2547     AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], 
    2548       [lt_cv_apple_cc_single_mod=no 
    2549       if test -z "${LT_MULTI_MODULE}"; then 
    2550         # By default we will add the -single_module flag. You can override 
    2551         # by either setting the environment variable LT_MULTI_MODULE 
    2552         # non-empty at configure time, or by adding -multi_module to the 
    2553         # link flags. 
    2554         rm -rf libconftest.dylib* 
    2555         echo "int foo(void){return 1;}" > conftest.c 
    2556         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 
    2557 -dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD 
    2558         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 
    2559           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 
    2560         _lt_result=$? 
    2561         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then 
    2562           lt_cv_apple_cc_single_mod=yes 
    2563         else 
    2564           cat conftest.err >&AS_MESSAGE_LOG_FD 
    2565         fi 
    2566         rm -rf libconftest.dylib* 
    2567         rm -f conftest.* 
    2568       fi]) 
    2569     AC_CACHE_CHECK([for -exported_symbols_list linker flag], 
    2570       [lt_cv_ld_exported_symbols_list], 
    2571       [lt_cv_ld_exported_symbols_list=no 
    2572       save_LDFLAGS=$LDFLAGS 
    2573       echo "_main" > conftest.sym 
    2574       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 
    2575       AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], 
    2576         [lt_cv_ld_exported_symbols_list=yes], 
    2577         [lt_cv_ld_exported_symbols_list=no]) 
    2578         LDFLAGS="$save_LDFLAGS" 
    2579     ]) 
    2580     case $host_os in 
    2581     rhapsody* | darwin1.[[012]]) 
    2582       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 
    2583     darwin1.*) 
    2584       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 
    2585     darwin*) # darwin 5.x on  
    2586       # if running on 10.5 or later, the deployment target defaults 
    2587       # to the OS version, if on x86, and 10.4, the deployment 
    2588       # target defaults to 10.4. Don't you love it?  
    2589       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 
    2590         10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) 
    2591           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 
    2592         10.[[012]]*) 
    2593           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 
    2594         10.*) 
    2595           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 
    2596       esac 
    2597     ;; 
    2598   esac 
    2599     if test "$lt_cv_apple_cc_single_mod" = "yes"; then 
    2600       _lt_dar_single_mod='$single_module' 
    2601     fi 
    2602     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 
    2603       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 
    2604     else 
    2605       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 
    2606     fi 
    2607     if test "$DSYMUTIL" != ":"; then 
    2608       _lt_dsymutil='~$DSYMUTIL $lib || :' 
    2609     else 
    2610       _lt_dsymutil= 
    2611     fi 
    2612     ;; 
    2613   esac 
    2614 ]) 
    2615  
    2616  
    2617 # _LT_DARWIN_LINKER_FEATURES 
    2618 # -------------------------- 
    2619 # Checks for linker and compiler features on darwin 
    2620 m4_defun([_LT_DARWIN_LINKER_FEATURES], 
    2621 [ 
    2622   m4_require([_LT_REQUIRED_DARWIN_CHECKS]) 
    2623   _LT_TAGVAR(archive_cmds_need_lc, $1)=no 
    2624   _LT_TAGVAR(hardcode_direct, $1)=no 
    2625   _LT_TAGVAR(hardcode_automatic, $1)=yes 
    2626   _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported 
    2627   _LT_TAGVAR(whole_archive_flag_spec, $1)='' 
    2628   _LT_TAGVAR(link_all_deplibs, $1)=yes 
    2629   _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" 
    2630   if test "$GCC" = "yes"; then 
    2631     output_verbose_link_cmd=echo 
    2632     _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 
    2633     _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 
    2634     _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" 
    2635     _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" 
    2636     m4_if([$1], [CXX], 
    2637 [   if test "$lt_cv_apple_cc_single_mod" != "yes"; then 
    2638       _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" 
    2639       _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" 
    2640     fi 
    2641 ],[]) 
    2642   else 
    2643   _LT_TAGVAR(ld_shlibs, $1)=no 
    2644   fi 
    2645 ]) 
    2646  
    2647 # _LT_SYS_MODULE_PATH_AIX 
    2648 # ----------------------- 
    2649 # Links a minimal program and checks the executable 
    2650 # for the system default hardcoded library path. In most cases, 
    2651 # this is /usr/lib:/lib, but when the MPI compilers are used 
    2652 # the location of the communication and MPI libs are included too. 
    2653 # If we don't find anything, use the default library path according 
    2654 # to the aix ld manual. 
    2655 m4_defun([_LT_SYS_MODULE_PATH_AIX], 
    2656 [m4_require([_LT_DECL_SED])dnl 
    2657 AC_LINK_IFELSE(AC_LANG_PROGRAM,[ 
    2658 lt_aix_libpath_sed=' 
    2659     /Import File Strings/,/^$/ { 
    2660         /^0/ { 
    2661             s/^0  *\(.*\)$/\1/ 
    2662             p 
    2663         } 
    2664     }' 
    2665 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 
    2666 # Check for a 64-bit object if we didn't find anything. 
    2667 if test -z "$aix_libpath"; then 
    2668   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 
    2669 fi],[]) 
    2670 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 
    2671 ])# _LT_SYS_MODULE_PATH_AIX 
    2672  
    2673  
    2674 # _LT_SHELL_INIT(ARG) 
    2675 # ------------------- 
    2676 m4_define([_LT_SHELL_INIT], 
    2677 [ifdef([AC_DIVERSION_NOTICE], 
    2678              [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], 
    2679          [AC_DIVERT_PUSH(NOTICE)]) 
    2680 $1 
    2681 AC_DIVERT_POP 
    2682 ])# _LT_SHELL_INIT 
    2683  
    2684  
    2685 # _LT_PROG_ECHO_BACKSLASH 
    2686 # ----------------------- 
    2687 # Add some code to the start of the generated configure script which 
    2688 # will find an echo command which doesn't interpret backslashes. 
    2689 m4_defun([_LT_PROG_ECHO_BACKSLASH], 
    2690 [_LT_SHELL_INIT([ 
    2691 # Check that we are running under the correct shell. 
    2692 SHELL=${CONFIG_SHELL-/bin/sh} 
    2693  
    2694 case X$lt_ECHO in 
    2695 X*--fallback-echo) 
    2696   # Remove one level of quotation (which was required for Make). 
    2697   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` 
    2698   ;; 
    2699 esac 
    2700  
    2701 ECHO=${lt_ECHO-echo} 
    2702 if test "X[$]1" = X--no-reexec; then 
    2703   # Discard the --no-reexec flag, and continue. 
    2704   shift 
    2705 elif test "X[$]1" = X--fallback-echo; then 
    2706   # Avoid inline document here, it may be left over 
    2707   : 
    2708 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then 
    2709   # Yippee, $ECHO works! 
    2710   : 
    2711 else 
    2712   # Restart under the correct shell. 
    2713   exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} 
    2714 fi 
    2715  
    2716 if test "X[$]1" = X--fallback-echo; then 
    2717   # used as fallback echo 
    2718   shift 
    2719   cat <<_LT_EOF 
    2720 [$]* 
    2721 _LT_EOF 
    2722   exit 0 
    2723 fi 
    2724  
    2725 # The HP-UX ksh and POSIX shell print the target directory to stdout 
    2726 # if CDPATH is set. 
    2727 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
    2728  
    2729 if test -z "$lt_ECHO"; then 
    2730   if test "X${echo_test_string+set}" != Xset; then 
    2731     # find a string as large as possible, as long as the shell can cope with it 
    2732     for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do 
    2733       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 
    2734       if { echo_test_string=`eval $cmd`; } 2>/dev/null && 
    2735          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null 
    2736       then 
    2737         break 
    2738       fi 
    2739     done 
    2740   fi 
    2741  
    2742   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 
    2743      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 
    2744      test "X$echo_testing_string" = "X$echo_test_string"; then 
    2745     : 
    2746   else 
    2747     # The Solaris, AIX, and Digital Unix default echo programs unquote 
    2748     # backslashes.  This makes it impossible to quote backslashes using 
    2749     #   echo "$something" | sed 's/\\/\\\\/g' 
    2750     # 
    2751     # So, first we look for a working echo in the user's PATH. 
    2752  
    2753     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 
    2754     for dir in $PATH /usr/ucb; do 
    2755       IFS="$lt_save_ifs" 
    2756       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && 
    2757          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && 
    2758          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && 
    2759          test "X$echo_testing_string" = "X$echo_test_string"; then 
    2760         ECHO="$dir/echo" 
    2761         break 
    2762       fi 
    2763     done 
    2764     IFS="$lt_save_ifs" 
    2765  
    2766     if test "X$ECHO" = Xecho; then 
    2767       # We didn't find a better echo, so look for alternatives. 
    2768       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && 
    2769          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && 
    2770          test "X$echo_testing_string" = "X$echo_test_string"; then 
    2771         # This shell has a builtin print -r that does the trick. 
    2772         ECHO='print -r' 
    2773       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && 
    2774            test "X$CONFIG_SHELL" != X/bin/ksh; then 
    2775         # If we have ksh, try running configure again with it. 
    2776         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 
    2777         export ORIGINAL_CONFIG_SHELL 
    2778         CONFIG_SHELL=/bin/ksh 
    2779         export CONFIG_SHELL 
    2780         exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} 
    2781       else 
    2782         # Try using printf. 
    2783         ECHO='printf %s\n' 
    2784         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 
    2785            echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 
    2786            test "X$echo_testing_string" = "X$echo_test_string"; then 
    2787           # Cool, printf works 
    2788           : 
    2789         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && 
    2790              test "X$echo_testing_string" = 'X\t' && 
    2791              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && 
    2792              test "X$echo_testing_string" = "X$echo_test_string"; then 
    2793           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL 
    2794           export CONFIG_SHELL 
    2795           SHELL="$CONFIG_SHELL" 
    2796           export SHELL 
    2797           ECHO="$CONFIG_SHELL [$]0 --fallback-echo" 
    2798         elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && 
    2799              test "X$echo_testing_string" = 'X\t' && 
    2800              echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && 
    2801              test "X$echo_testing_string" = "X$echo_test_string"; then 
    2802           ECHO="$CONFIG_SHELL [$]0 --fallback-echo" 
    2803         else 
    2804           # maybe with a smaller string... 
    2805           prev=: 
    2806  
    2807           for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do 
    2808             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null 
    2809             then 
    2810               break 
    2811             fi 
    2812             prev="$cmd" 
    2813           done 
    2814  
    2815           if test "$prev" != 'sed 50q "[$]0"'; then 
    2816             echo_test_string=`eval $prev` 
    2817             export echo_test_string 
    2818             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} 
    2819           else 
    2820             # Oops.  We lost completely, so just stick with echo. 
    2821             ECHO=echo 
    2822           fi 
    2823         fi 
    2824       fi 
    2825     fi 
    2826   fi 
    2827 fi 
    2828  
    2829 # Copy echo and quote the copy suitably for passing to libtool from 
    2830 # the Makefile, instead of quoting the original, which is used later. 
    2831 lt_ECHO=$ECHO 
    2832 if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then 
    2833    lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" 
    2834 fi 
    2835  
    2836 AC_SUBST(lt_ECHO) 
    2837 ]) 
    2838 _LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) 
    2839 _LT_DECL([], [ECHO], [1], 
    2840     [An echo program that does not interpret backslashes]) 
    2841 ])# _LT_PROG_ECHO_BACKSLASH 
    2842  
    2843  
    2844 # _LT_ENABLE_LOCK 
    2845 # --------------- 
    2846 m4_defun([_LT_ENABLE_LOCK], 
    2847 [AC_ARG_ENABLE([libtool-lock], 
    2848   [AS_HELP_STRING([--disable-libtool-lock], 
    2849     [avoid locking (might break parallel builds)])]) 
    2850 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 
    2851  
    2852 # Some flags need to be propagated to the compiler or linker for good 
    2853 # libtool support. 
    2854 case $host in 
    2855 ia64-*-hpux*) 
    2856   # Find out which ABI we are using. 
    2857   echo 'int i;' > conftest.$ac_ext 
    2858   if AC_TRY_EVAL(ac_compile); then 
    2859     case `/usr/bin/file conftest.$ac_objext` in 
    2860       *ELF-32*) 
    2861         HPUX_IA64_MODE="32" 
    2862         ;; 
    2863       *ELF-64*) 
    2864         HPUX_IA64_MODE="64" 
    2865         ;; 
    2866     esac 
    2867   fi 
    2868   rm -rf conftest* 
    2869   ;; 
    2870 *-*-irix6*) 
    2871   # Find out which ABI we are using. 
    2872   echo '[#]line __oline__ "configure"' > conftest.$ac_ext 
    2873   if AC_TRY_EVAL(ac_compile); then 
    2874     if test "$lt_cv_prog_gnu_ld" = yes; then 
    2875       case `/usr/bin/file conftest.$ac_objext` in 
    2876         *32-bit*) 
    2877           LD="${LD-ld} -melf32bsmip" 
    2878           ;; 
    2879         *N32*) 
    2880           LD="${LD-ld} -melf32bmipn32" 
    2881           ;; 
    2882         *64-bit*) 
    2883           LD="${LD-ld} -melf64bmip" 
    2884         ;; 
    2885       esac 
    2886     else 
    2887       case `/usr/bin/file conftest.$ac_objext` in 
    2888         *32-bit*) 
    2889           LD="${LD-ld} -32" 
    2890           ;; 
    2891         *N32*) 
    2892           LD="${LD-ld} -n32" 
    2893           ;; 
    2894         *64-bit*) 
    2895           LD="${LD-ld} -64" 
    2896           ;; 
    2897       esac 
    2898     fi 
    2899   fi 
    2900   rm -rf conftest* 
    2901   ;; 
    2902  
    2903 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 
    2904 s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 
    2905   # Find out which ABI we are using. 
    2906   echo 'int i;' > conftest.$ac_ext 
    2907   if AC_TRY_EVAL(ac_compile); then 
    2908     case `/usr/bin/file conftest.o` in 
    2909       *32-bit*) 
    2910         case $host in 
    2911           x86_64-*kfreebsd*-gnu) 
    2912             LD="${LD-ld} -m elf_i386_fbsd" 
    2913             ;; 
    2914           x86_64-*linux*) 
    2915             LD="${LD-ld} -m elf_i386" 
    2916             ;; 
    2917           ppc64-*linux*|powerpc64-*linux*) 
    2918             LD="${LD-ld} -m elf32ppclinux" 
    2919             ;; 
    2920           s390x-*linux*) 
    2921             LD="${LD-ld} -m elf_s390" 
    2922             ;; 
    2923           sparc64-*linux*) 
    2924             LD="${LD-ld} -m elf32_sparc" 
    2925             ;; 
    2926         esac 
    2927         ;; 
    2928       *64-bit*) 
    2929         case $host in 
    2930           x86_64-*kfreebsd*-gnu) 
    2931             LD="${LD-ld} -m elf_x86_64_fbsd" 
    2932             ;; 
    2933           x86_64-*linux*) 
    2934             LD="${LD-ld} -m elf_x86_64" 
    2935             ;; 
    2936           ppc*-*linux*|powerpc*-*linux*) 
    2937             LD="${LD-ld} -m elf64ppc" 
    2938             ;; 
    2939           s390*-*linux*|s390*-*tpf*) 
    2940             LD="${LD-ld} -m elf64_s390" 
    2941             ;; 
    2942           sparc*-*linux*) 
    2943             LD="${LD-ld} -m elf64_sparc" 
    2944             ;; 
    2945         esac 
    2946         ;; 
    2947     esac 
    2948   fi 
    2949   rm -rf conftest* 
    2950   ;; 
    2951  
    2952 *-*-sco3.2v5*) 
    2953   # On SCO OpenServer 5, we need -belf to get full-featured binaries. 
    2954   SAVE_CFLAGS="$CFLAGS" 
    2955   CFLAGS="$CFLAGS -belf" 
    2956   AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, 
    2957     [AC_LANG_PUSH(C) 
    2958      AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) 
    2959      AC_LANG_POP]) 
    2960   if test x"$lt_cv_cc_needs_belf" != x"yes"; then 
    2961     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 
    2962     CFLAGS="$SAVE_CFLAGS" 
    2963   fi 
    2964   ;; 
    2965 sparc*-*solaris*) 
    2966   # Find out which ABI we are using. 
    2967   echo 'int i;' > conftest.$ac_ext 
    2968   if AC_TRY_EVAL(ac_compile); then 
    2969     case `/usr/bin/file conftest.o` in 
    2970     *64-bit*) 
    2971       case $lt_cv_prog_gnu_ld in 
    2972       yes*) LD="${LD-ld} -m elf64_sparc" ;; 
    2973       *) 
    2974         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 
    2975           LD="${LD-ld} -64" 
    2976         fi 
    2977         ;; 
    2978       esac 
    2979       ;; 
    2980     esac 
    2981   fi 
    2982   rm -rf conftest* 
    2983   ;; 
    2984 esac 
    2985  
    2986 need_locks="$enable_libtool_lock" 
    2987 ])# _LT_ENABLE_LOCK 
    2988  
    2989  
    2990 # _LT_CMD_OLD_ARCHIVE 
    2991 # ------------------- 
    2992 m4_defun([_LT_CMD_OLD_ARCHIVE], 
    2993 [AC_CHECK_TOOL(AR, ar, false) 
    2994 test -z "$AR" && AR=ar 
    2995 test -z "$AR_FLAGS" && AR_FLAGS=cru 
    2996 _LT_DECL([], [AR], [1], [The archiver]) 
    2997 _LT_DECL([], [AR_FLAGS], [1]) 
    2998  
    2999 AC_CHECK_TOOL(STRIP, strip, :) 
    3000 test -z "$STRIP" && STRIP=: 
    3001 _LT_DECL([], [STRIP], [1], [A symbol stripping program]) 
    3002  
    3003 AC_CHECK_TOOL(RANLIB, ranlib, :) 
    3004 test -z "$RANLIB" && RANLIB=: 
    3005 _LT_DECL([], [RANLIB], [1], 
    3006     [Commands used to install an old-style archive]) 
    3007  
    3008 # Determine commands to create old-style static archives. 
    3009 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 
    3010 old_postinstall_cmds='chmod 644 $oldlib' 
    3011 old_postuninstall_cmds= 
    3012  
    3013 if test -n "$RANLIB"; then 
    3014   case $host_os in 
    3015   openbsd*) 
    3016     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 
    3017     ;; 
    3018   *) 
    3019     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 
    3020     ;; 
    3021   esac 
    3022   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 
    3023 fi 
    3024 _LT_DECL([], [old_postinstall_cmds], [2]) 
    3025 _LT_DECL([], [old_postuninstall_cmds], [2]) 
    3026 _LT_TAGDECL([], [old_archive_cmds], [2], 
    3027     [Commands used to build an old-style archive]) 
    3028 ])# _LT_CMD_OLD_ARCHIVE 
    3029  
    3030  
    3031 # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, 
    3032 #               [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) 
    3033 # ---------------------------------------------------------------- 
    3034 # Check whether the given compiler option works 
    3035 AC_DEFUN([_LT_COMPILER_OPTION], 
    3036 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl 
    3037 m4_require([_LT_DECL_SED])dnl 
    3038 AC_CACHE_CHECK([$1], [$2], 
    3039   [$2=no 
    3040    m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) 
    3041    echo "$lt_simple_compile_test_code" > conftest.$ac_ext 
    3042    lt_compiler_flag="$3" 
    3043    # Insert the option either (1) after the last *FLAGS variable, or 
    3044    # (2) before a word containing "conftest.", or (3) at the end. 
    3045    # Note that $ac_compile itself does not contain backslashes and begins 
    3046    # with a dollar sign (not a hyphen), so the echo should work correctly. 
    3047    # The option is referenced via a variable to avoid confusing sed. 
    3048    lt_compile=`echo "$ac_compile" | $SED \ 
    3049    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 
    3050    -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ 
    3051    -e 's:$: $lt_compiler_flag:'` 
    3052    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) 
    3053    (eval "$lt_compile" 2>conftest.err) 
    3054    ac_status=$? 
    3055    cat conftest.err >&AS_MESSAGE_LOG_FD 
    3056    echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD 
    3057    if (exit $ac_status) && test -s "$ac_outfile"; then 
    3058      # The compiler can only warn and ignore the option if not recognized 
    3059      # So say no if there are warnings other than the usual output. 
    3060      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 
    3061      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 
    3062      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 
    3063        $2=yes 
    3064      fi 
    3065    fi 
    3066    $RM conftest* 
    3067 ]) 
    3068  
    3069 if test x"[$]$2" = xyes; then 
    3070     m4_if([$5], , :, [$5]) 
    3071 else 
    3072     m4_if([$6], , :, [$6]) 
    3073 fi 
    3074 ])# _LT_COMPILER_OPTION 
    3075  
    3076 # Old name: 
    3077 AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION]) 
    3078 dnl aclocal-1.4 backwards compatibility: 
    3079 dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], []) 
    3080  
    3081  
    3082 # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, 
    3083 #                  [ACTION-SUCCESS], [ACTION-FAILURE]) 
    3084 # ---------------------------------------------------- 
    3085 # Check whether the given linker option works 
    3086 AC_DEFUN([_LT_LINKER_OPTION], 
    3087 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl 
    3088 m4_require([_LT_DECL_SED])dnl 
    3089 AC_CACHE_CHECK([$1], [$2], 
    3090   [$2=no 
    3091    save_LDFLAGS="$LDFLAGS" 
    3092    LDFLAGS="$LDFLAGS $3" 
    3093    echo "$lt_simple_link_test_code" > conftest.$ac_ext 
    3094    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 
    3095      # The linker can only warn and ignore the option if not recognized 
    3096      # So say no if there are warnings 
    3097      if test -s conftest.err; then 
    3098        # Append any errors to the config.log. 
    3099        cat conftest.err 1>&AS_MESSAGE_LOG_FD 
    3100        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 
    3101        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 
    3102        if diff conftest.exp conftest.er2 >/dev/null; then 
    3103          $2=yes 
    3104        fi 
    3105      else 
    3106        $2=yes 
    3107      fi 
    3108    fi 
    3109    $RM -r conftest* 
    3110    LDFLAGS="$save_LDFLAGS" 
    3111 ]) 
    3112  
    3113 if test x"[$]$2" = xyes; then 
    3114     m4_if([$4], , :, [$4]) 
    3115 else 
    3116     m4_if([$5], , :, [$5]) 
    3117 fi 
    3118 ])# _LT_LINKER_OPTION 
    3119  
    3120 # Old name: 
    3121 AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION]) 
    3122 dnl aclocal-1.4 backwards compatibility: 
    3123 dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], []) 
    3124  
    3125  
    3126 # LT_CMD_MAX_LEN 
    3127 #--------------- 
    3128 AC_DEFUN([LT_CMD_MAX_LEN], 
    3129 [AC_REQUIRE([AC_CANONICAL_HOST])dnl 
    3130 # find the maximum length of command line arguments 
    3131 AC_MSG_CHECKING([the maximum length of command line arguments]) 
    3132 AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl 
    3133   i=0 
    3134   teststring="ABCD" 
    3135  
    3136   case $build_os in 
    3137   msdosdjgpp*) 
    3138     # On DJGPP, this test can blow up pretty badly due to problems in libc 
    3139     # (any single argument exceeding 2000 bytes causes a buffer overrun 
    3140     # during glob expansion).  Even if it were fixed, the result of this 
    3141     # check would be larger than it should be. 
    3142     lt_cv_sys_max_cmd_len=12288;    # 12K is about right 
    3143     ;; 
    3144  
    3145   gnu*) 
    3146     # Under GNU Hurd, this test is not required because there is 
    3147     # no limit to the length of command line arguments. 
    3148     # Libtool will interpret -1 as no limit whatsoever 
    3149     lt_cv_sys_max_cmd_len=-1; 
    3150     ;; 
    3151  
    3152   cygwin* | mingw*) 
    3153     # On Win9x/ME, this test blows up -- it succeeds, but takes 
    3154     # about 5 minutes as the teststring grows exponentially. 
    3155     # Worse, since 9x/ME are not pre-emptively multitasking, 
    3156     # you end up with a "frozen" computer, even though with patience 
    3157     # the test eventually succeeds (with a max line length of 256k). 
    3158     # Instead, let's just punt: use the minimum linelength reported by 
    3159     # all of the supported platforms: 8192 (on NT/2K/XP). 
    3160     lt_cv_sys_max_cmd_len=8192; 
    3161     ;; 
    3162  
    3163   amigaos*) 
    3164     # On AmigaOS with pdksh, this test takes hours, literally. 
    3165     # So we just punt and use a minimum line length of 8192. 
    3166     lt_cv_sys_max_cmd_len=8192; 
    3167     ;; 
    3168  
    3169   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 
    3170     # This has been around since 386BSD, at least.  Likely further. 
    3171     if test -x /sbin/sysctl; then 
    3172       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 
    3173     elif test -x /usr/sbin/sysctl; then 
    3174       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 
    3175     else 
    3176       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs 
    3177     fi 
    3178     # And add a safety zone 
    3179     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 
    3180     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 
    3181     ;; 
    3182  
    3183   interix*) 
    3184     # We know the value 262144 and hardcode it with a safety zone (like BSD) 
    3185     lt_cv_sys_max_cmd_len=196608 
    3186     ;; 
    3187  
    3188   osf*) 
    3189     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 
    3190     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 
    3191     # nice to cause kernel panics so lets avoid the loop below. 
    3192     # First set a reasonable default. 
    3193     lt_cv_sys_max_cmd_len=16384 
    3194     # 
    3195     if test -x /sbin/sysconfig; then 
    3196       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 
    3197         *1*) lt_cv_sys_max_cmd_len=-1 ;; 
    3198       esac 
    3199     fi 
    3200     ;; 
    3201   sco3.2v5*) 
    3202     lt_cv_sys_max_cmd_len=102400 
    3203     ;; 
    3204   sysv5* | sco5v6* | sysv4.2uw2*) 
    3205     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 
    3206     if test -n "$kargmax"; then 
    3207       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[         ]]//'` 
    3208     else 
    3209       lt_cv_sys_max_cmd_len=32768 
    3210     fi 
    3211     ;; 
    3212   *) 
    3213     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 
    3214     if test -n "$lt_cv_sys_max_cmd_len"; then 
    3215       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 
    3216       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 
    3217     else 
    3218       # Make teststring a little bigger before we do anything with it. 
    3219       # a 1K string should be a reasonable start. 
    3220       for i in 1 2 3 4 5 6 7 8 ; do 
    3221         teststring=$teststring$teststring 
    3222       done 
    3223       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 
    3224       # If test is not a shell built-in, we'll probably end up computing a 
    3225       # maximum length that is only half of the actual maximum length, but 
    3226       # we can't tell. 
    3227       while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ 
    3228                  = "XX$teststring$teststring"; } >/dev/null 2>&1 && 
    3229               test $i != 17 # 1/2 MB should be enough 
    3230       do 
    3231         i=`expr $i + 1` 
    3232         teststring=$teststring$teststring 
    3233       done 
    3234       # Only check the string length outside the loop. 
    3235       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 
    3236       teststring= 
    3237       # Add a significant safety factor because C++ compilers can tack on 
    3238       # massive amounts of additional arguments before passing them to the 
    3239       # linker.  It appears as though 1/2 is a usable value. 
    3240       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 
    3241     fi 
    3242     ;; 
    3243   esac 
    3244 ]) 
    3245 if test -n $lt_cv_sys_max_cmd_len ; then 
    3246   AC_MSG_RESULT($lt_cv_sys_max_cmd_len) 
    3247 else 
    3248   AC_MSG_RESULT(none) 
    3249 fi 
    3250 max_cmd_len=$lt_cv_sys_max_cmd_len 
    3251 _LT_DECL([], [max_cmd_len], [0], 
    3252     [What is the maximum length of a command?]) 
    3253 ])# LT_CMD_MAX_LEN 
    3254  
    3255 # Old name: 
    3256 AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN]) 
    3257 dnl aclocal-1.4 backwards compatibility: 
    3258 dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], []) 
    3259  
    3260  
    3261 # _LT_HEADER_DLFCN 
    3262 # ---------------- 
    3263 m4_defun([_LT_HEADER_DLFCN], 
    3264 [AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl 
    3265 ])# _LT_HEADER_DLFCN 
    3266  
    3267  
    3268 # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, 
    3269 #                      ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) 
    3270 # ---------------------------------------------------------------- 
    3271 m4_defun([_LT_TRY_DLOPEN_SELF], 
    3272 [m4_require([_LT_HEADER_DLFCN])dnl 
    3273 if test "$cross_compiling" = yes; then : 
    3274   [$4] 
    3275 else 
    3276   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 
    3277   lt_status=$lt_dlunknown 
    3278   cat > conftest.$ac_ext <<_LT_EOF 
    3279 [#line __oline__ "configure" 
    3280 #include "confdefs.h" 
    3281  
    3282 #if HAVE_DLFCN_H 
    3283 #include <dlfcn.h> 
    3284 #endif 
    3285  
    3286 #include <stdio.h> 
    3287  
    3288 #ifdef RTLD_GLOBAL 
    3289 #  define LT_DLGLOBAL           RTLD_GLOBAL 
    3290 #else 
    3291 #  ifdef DL_GLOBAL 
    3292 #    define LT_DLGLOBAL         DL_GLOBAL 
    3293 #  else 
    3294 #    define LT_DLGLOBAL         0 
    3295 #  endif 
    3296 #endif 
    3297  
    3298 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we 
    3299    find out it does not work in some platform. */ 
    3300 #ifndef LT_DLLAZY_OR_NOW 
    3301 #  ifdef RTLD_LAZY 
    3302 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY 
    3303 #  else 
    3304 #    ifdef DL_LAZY 
    3305 #      define LT_DLLAZY_OR_NOW          DL_LAZY 
    3306 #    else 
    3307 #      ifdef RTLD_NOW 
    3308 #        define LT_DLLAZY_OR_NOW        RTLD_NOW 
    3309 #      else 
    3310 #        ifdef DL_NOW 
    3311 #          define LT_DLLAZY_OR_NOW      DL_NOW 
    3312 #        else 
    3313 #          define LT_DLLAZY_OR_NOW      0 
    3314 #        endif 
    3315 #      endif 
    3316 #    endif 
    3317 #  endif 
    3318 #endif 
    3319  
    3320 #ifdef __cplusplus 
    3321 extern "C" void exit (int); 
    3322 #endif 
    3323  
    3324 void fnord() { int i=42;} 
    3325 int main () 
    3326 { 
    3327   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 
    3328   int status = $lt_dlunknown; 
    3329  
    3330   if (self) 
    3331     { 
    3332       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; 
    3333       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 
    3334       /* dlclose (self); */ 
    3335     } 
    3336   else 
    3337     puts (dlerror ()); 
    3338  
    3339     exit (status); 
    3340 }] 
    3341 _LT_EOF 
    3342   if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then 
    3343     (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null 
    3344     lt_status=$? 
    3345     case x$lt_status in 
    3346       x$lt_dlno_uscore) $1 ;; 
    3347       x$lt_dlneed_uscore) $2 ;; 
    3348       x$lt_dlunknown|x*) $3 ;; 
    3349     esac 
    3350   else : 
    3351     # compilation failed 
    3352     $3 
    3353   fi 
    3354 fi 
    3355 rm -fr conftest* 
    3356 ])# _LT_TRY_DLOPEN_SELF 
    3357  
    3358  
    3359 # LT_SYS_DLOPEN_SELF 
    3360 # ------------------ 
    3361 AC_DEFUN([LT_SYS_DLOPEN_SELF], 
    3362 [m4_require([_LT_HEADER_DLFCN])dnl 
    3363 if test "x$enable_dlopen" != xyes; then 
    3364   enable_dlopen=unknown 
    3365   enable_dlopen_self=unknown 
    3366   enable_dlopen_self_static=unknown 
    3367 else 
    3368   lt_cv_dlopen=no 
    3369   lt_cv_dlopen_libs= 
    3370  
    3371   case $host_os in 
    3372   beos*) 
    3373     lt_cv_dlopen="load_add_on" 
    3374     lt_cv_dlopen_libs= 
    3375     lt_cv_dlopen_self=yes 
    3376     ;; 
    3377  
    3378   mingw* | pw32*) 
    3379     lt_cv_dlopen="LoadLibrary" 
    3380     lt_cv_dlopen_libs= 
    3381     ;; 
    3382  
    3383   cygwin*) 
    3384     lt_cv_dlopen="dlopen" 
    3385     lt_cv_dlopen_libs= 
    3386     ;; 
    3387  
    3388   darwin*) 
    3389   # if libdl is installed we need to link against it 
    3390     AC_CHECK_LIB([dl], [dlopen], 
    3391                 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ 
    3392     lt_cv_dlopen="dyld" 
    3393     lt_cv_dlopen_libs= 
    3394     lt_cv_dlopen_self=yes 
    3395     ]) 
    3396     ;; 
    3397  
    3398   *) 
    3399     AC_CHECK_FUNC([shl_load], 
    3400           [lt_cv_dlopen="shl_load"], 
    3401       [AC_CHECK_LIB([dld], [shl_load], 
    3402             [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"], 
    3403         [AC_CHECK_FUNC([dlopen], 
    3404               [lt_cv_dlopen="dlopen"], 
    3405           [AC_CHECK_LIB([dl], [dlopen], 
    3406                 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], 
    3407             [AC_CHECK_LIB([svld], [dlopen], 
    3408                   [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], 
    3409               [AC_CHECK_LIB([dld], [dld_link], 
    3410                     [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"]) 
    3411               ]) 
    3412             ]) 
    3413           ]) 
    3414         ]) 
    3415       ]) 
    3416     ;; 
    3417   esac 
    3418  
    3419   if test "x$lt_cv_dlopen" != xno; then 
    3420     enable_dlopen=yes 
    3421   else 
    3422     enable_dlopen=no 
    3423   fi 
    3424  
    3425   case $lt_cv_dlopen in 
    3426   dlopen) 
    3427     save_CPPFLAGS="$CPPFLAGS" 
    3428     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 
    3429  
    3430     save_LDFLAGS="$LDFLAGS" 
    3431     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 
    3432  
    3433     save_LIBS="$LIBS" 
    3434     LIBS="$lt_cv_dlopen_libs $LIBS" 
    3435  
    3436     AC_CACHE_CHECK([whether a program can dlopen itself], 
    3437           lt_cv_dlopen_self, [dnl 
    3438           _LT_TRY_DLOPEN_SELF( 
    3439             lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, 
    3440             lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) 
    3441     ]) 
    3442  
    3443     if test "x$lt_cv_dlopen_self" = xyes; then 
    3444       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 
    3445       AC_CACHE_CHECK([whether a statically linked program can dlopen itself], 
    3446           lt_cv_dlopen_self_static, [dnl 
    3447           _LT_TRY_DLOPEN_SELF( 
    3448             lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, 
    3449             lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross) 
    3450       ]) 
    3451     fi 
    3452  
    3453     CPPFLAGS="$save_CPPFLAGS" 
    3454     LDFLAGS="$save_LDFLAGS" 
    3455     LIBS="$save_LIBS" 
    3456     ;; 
    3457   esac 
    3458  
    3459   case $lt_cv_dlopen_self in 
    3460   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 
    3461   *) enable_dlopen_self=unknown ;; 
    3462   esac 
    3463  
    3464   case $lt_cv_dlopen_self_static in 
    3465   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 
    3466   *) enable_dlopen_self_static=unknown ;; 
    3467   esac 
    3468 fi 
    3469 _LT_DECL([dlopen_support], [enable_dlopen], [0], 
    3470          [Whether dlopen is supported]) 
    3471 _LT_DECL([dlopen_self], [enable_dlopen_self], [0], 
    3472          [Whether dlopen of programs is supported]) 
    3473 _LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0], 
    3474          [Whether dlopen of statically linked programs is supported]) 
    3475 ])# LT_SYS_DLOPEN_SELF 
    3476  
    3477 # Old name: 
    3478 AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF]) 
    3479 dnl aclocal-1.4 backwards compatibility: 
    3480 dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], []) 
    3481  
    3482  
    3483 # _LT_COMPILER_C_O([TAGNAME]) 
    3484 # --------------------------- 
    3485 # Check to see if options -c and -o are simultaneously supported by compiler. 
    3486 # This macro does not hard code the compiler like AC_PROG_CC_C_O. 
    3487 m4_defun([_LT_COMPILER_C_O], 
    3488 [m4_require([_LT_DECL_SED])dnl 
    3489 m4_require([_LT_FILEUTILS_DEFAULTS])dnl 
    3490 m4_require([_LT_TAG_COMPILER])dnl 
    3491 AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], 
    3492   [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)], 
    3493   [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no 
    3494    $RM -r conftest 2>/dev/null 
    3495    mkdir conftest 
    3496    cd conftest 
    3497    mkdir out 
    3498    echo "$lt_simple_compile_test_code" > conftest.$ac_ext 
    3499  
    3500    lt_compiler_flag="-o out/conftest2.$ac_objext" 
    3501    # Insert the option either (1) after the last *FLAGS variable, or 
    3502    # (2) before a word containing "conftest.", or (3) at the end. 
    3503    # Note that $ac_compile itself does not contain backslashes and begins 
    3504    # with a dollar sign (not a hyphen), so the echo should work correctly. 
    3505    lt_compile=`echo "$ac_compile" | $SED \ 
    3506    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 
    3507    -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ 
    3508    -e 's:$: $lt_compiler_flag:'` 
    3509    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) 
    3510    (eval "$lt_compile" 2>out/conftest.err) 
    3511    ac_status=$? 
    3512    cat out/conftest.err >&AS_MESSAGE_LOG_FD 
    3513    echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD 
    3514    if (exit $ac_status) && test -s out/conftest2.$ac_objext 
    3515    then 
    3516      # The compiler can only warn and ignore the option if not recognized 
    3517      # So say no if there are warnings 
    3518      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 
    3519      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 
    3520      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 
    3521        _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes 
    3522      fi 
    3523    fi 
    3524    chmod u+w . 2>&AS_MESSAGE_LOG_FD 
    3525    $RM conftest* 
    3526    # SGI C++ compiler will create directory out/ii_files/ for 
    3527    # template instantiation 
    3528    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 
    3529    $RM out/* && rmdir out 
    3530    cd .. 
    3531    $RM -r conftest 
    3532    $RM conftest* 
    3533 ]) 
    3534 _LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1], 
    3535         [Does compiler simultaneously support -c and -o options?]) 
    3536 ])# _LT_COMPILER_C_O 
    3537  
    3538  
    3539 # _LT_COMPILER_FILE_LOCKS([TAGNAME]) 
    3540 # ---------------------------------- 
    3541 # Check to see if we can do hard links to lock some files if needed 
    3542 m4_defun([_LT_COMPILER_FILE_LOCKS], 
    3543 [m4_require([_LT_ENABLE_LOCK])dnl 
    3544 m4_require([_LT_FILEUTILS_DEFAULTS])dnl 
    3545 _LT_COMPILER_C_O([$1]) 
    3546  
    3547 hard_links="nottested" 
    3548 if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then 
    3549   # do not overwrite the value of need_locks provided by the user 
    3550   AC_MSG_CHECKING([if we can lock with hard links]) 
    3551   hard_links=yes 
    3552   $RM conftest* 
    3553   ln conftest.a conftest.b 2>/dev/null && hard_links=no 
    3554   touch conftest.a 
    3555   ln conftest.a conftest.b 2>&5 || hard_links=no 
    3556   ln conftest.a conftest.b 2>/dev/null && hard_links=no 
    3557   AC_MSG_RESULT([$hard_links]) 
    3558   if test "$hard_links" = no; then 
    3559     AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) 
    3560     need_locks=warn 
    3561   fi 
    3562 else 
    3563   need_locks=no 
    3564 fi 
    3565 _LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?]) 
    3566 ])# _LT_COMPILER_FILE_LOCKS 
    3567  
    3568  
    3569 # _LT_CHECK_OBJDIR 
    3570 # ---------------- 
    3571 m4_defun([_LT_CHECK_OBJDIR], 
    3572 [AC_CACHE_CHECK([for objdir], [lt_cv_objdir], 
    3573 [rm -f .libs 2>/dev/null 
    3574 mkdir .libs 2>/dev/null 
    3575 if test -d .libs; then 
    3576   lt_cv_objdir=.libs 
    3577 else 
    3578   # MS-DOS does not allow filenames that begin with a dot. 
    3579   lt_cv_objdir=_libs 
    3580 fi 
    3581 rmdir .libs 2>/dev/null]) 
    3582 objdir=$lt_cv_objdir 
    3583 _LT_DECL([], [objdir], [0], 
    3584          [The name of the directory that contains temporary libtool files])dnl 
    3585 m4_pattern_allow([LT_OBJDIR])dnl 
    3586 AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/", 
    3587   [Define to the sub-directory in which libtool stores uninstalled libraries.]) 
    3588 ])# _LT_CHECK_OBJDIR 
    3589  
    3590  
    3591 # _LT_LINKER_HARDCODE_LIBPATH([TAGNAME]) 
    3592 # -------------------------------------- 
    3593 # Check hardcoding attributes. 
    3594 m4_defun([_LT_LINKER_HARDCODE_LIBPATH], 
    3595 [AC_MSG_CHECKING([how to hardcode library paths into programs]) 
    3596 _LT_TAGVAR(hardcode_action, $1)= 
    3597 if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" || 
    3598    test -n "$_LT_TAGVAR(runpath_var, $1)" || 
    3599    test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then 
    3600  
    3601   # We can hardcode non-existent directories. 
    3602   if test "$_LT_TAGVAR(hardcode_direct, $1)" != no && 
    3603      # If the only mechanism to avoid hardcoding is shlibpath_var, we 
    3604      # have to relink, otherwise we might link with an installed library 
    3605      # when we should be linking with a yet-to-be-installed one 
    3606      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no && 
    3607      test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then 
    3608     # Linking always hardcodes the temporary library directory. 
    3609     _LT_TAGVAR(hardcode_action, $1)=relink 
    3610   else 
    3611     # We can link without hardcoding, and we can hardcode nonexisting dirs. 
    3612     _LT_TAGVAR(hardcode_action, $1)=immediate 
    3613   fi 
    3614 else 
    3615   # We cannot hardcode anything, or else we can only hardcode existing 
    3616   # directories. 
    3617   _LT_TAGVAR(hardcode_action, $1)=unsupported 
    3618 fi 
    3619 AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)]) 
    3620  
    3621 if test "$_LT_TAGVAR(hardcode_action, $1)" = relink || 
    3622    test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then 
    3623   # Fast installation is not supported 
    3624   enable_fast_install=no 
    3625 elif test "$shlibpath_overrides_runpath" = yes || 
    3626      test "$enable_shared" = no; then 
    3627   # Fast installation is not necessary 
    3628   enable_fast_install=needless 
    3629 fi 
    3630 _LT_TAGDECL([], [hardcode_action], [0], 
    3631     [How to hardcode a shared library path into an executable]) 
    3632 ])# _LT_LINKER_HARDCODE_LIBPATH 
    3633  
    3634  
    3635 # _LT_CMD_STRIPLIB 
    3636 # ---------------- 
    3637 m4_defun([_LT_CMD_STRIPLIB], 
    3638 [m4_require([_LT_DECL_EGREP]) 
    3639 striplib= 
    3640 old_striplib= 
    3641 AC_MSG_CHECKING([whether stripping libraries is possible]) 
    3642 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 
    3643   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 
    3644   test -z "$striplib" && striplib="$STRIP --strip-unneeded" 
    3645   AC_MSG_RESULT([yes]) 
    3646 else 
    3647 # FIXME - insert some real tests, host_os isn't really good enough 
    3648   case $host_os in 
    3649   darwin*) 
    3650     if test -n "$STRIP" ; then 
    3651       striplib="$STRIP -x" 
    3652       old_striplib="$STRIP -S" 
    3653       AC_MSG_RESULT([yes]) 
    3654     else 
    3655       AC_MSG_RESULT([no]) 
    3656     fi 
    3657     ;; 
    3658   *) 
    3659     AC_MSG_RESULT([no]) 
    3660     ;; 
    3661   esac 
    3662 fi 
    3663 _LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) 
    3664 _LT_DECL([], [striplib], [1]) 
    3665 ])# _LT_CMD_STRIPLIB 
    3666  
    3667  
    3668 # _LT_SYS_DYNAMIC_LINKER([TAG]) 
    3669 # ----------------------------- 
    3670 # PORTME Fill in your ld.so characteristics 
    3671 m4_defun([_LT_SYS_DYNAMIC_LINKER], 
    3672 [AC_REQUIRE([AC_CANONICAL_HOST])dnl 
    3673 m4_require([_LT_DECL_EGREP])dnl 
    3674 m4_require([_LT_FILEUTILS_DEFAULTS])dnl 
    3675 m4_require([_LT_DECL_SED])dnl 
    3676 AC_MSG_CHECKING([dynamic linker characteristics]) 
    3677 m4_if([$1], 
    3678         [], [ 
    3679 if test "$GCC" = yes; then 
    3680   case $host_os in 
    3681     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 
    3682     *) lt_awk_arg="/^libraries:/" ;; 
    3683   esac 
    3684   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` 
    3685   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then 
    3686     # if the path contains ";" then we assume it to be the separator 
    3687     # otherwise default to the standard path separator (i.e. ":") - it is 
    3688     # assumed that no part of a normal pathname contains ";" but that should 
    3689     # okay in the real world where ";" in dirpaths is itself problematic. 
    3690     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` 
    3691   else 
    3692     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` 
    3693   fi 
    3694   # Ok, now we have the path, separated by spaces, we can step through it 
    3695   # and add multilib dir if necessary. 
    3696   lt_tmp_lt_search_path_spec= 
    3697   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 
    3698   for lt_sys_path in $lt_search_path_spec; do 
    3699     if test -d "$lt_sys_path/$lt_multi_os_dir"; then 
    3700       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 
    3701     else 
    3702       test -d "$lt_sys_path" && \ 
    3703         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 
    3704     fi 
    3705   done 
    3706   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' 
    3707 BEGIN {RS=" "; FS="/|\n";} { 
    3708   lt_foo=""; 
    3709   lt_count=0; 
    3710   for (lt_i = NF; lt_i > 0; lt_i--) { 
    3711     if ($lt_i != "" && $lt_i != ".") { 
    3712       if ($lt_i == "..") { 
    3713         lt_count++; 
    3714       } else { 
    3715         if (lt_count == 0) { 
    3716           lt_foo="/" $lt_i lt_foo; 
    3717         } else { 
    3718           lt_count--; 
    3719         } 
    3720       } 
    3721     } 
    3722   } 
    3723   if (lt_foo != "") { lt_freq[[lt_foo]]++; } 
    3724   if (lt_freq[[lt_foo]] == 1) { print lt_foo; } 
    3725 }'` 
    3726   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` 
    3727 else 
    3728   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 
    3729 fi]) 
    3730 library_names_spec= 
    3731 libname_spec='lib$name' 
    3732 soname_spec= 
    3733 shrext_cmds=".so" 
    3734 postinstall_cmds= 
    3735 postuninstall_cmds= 
    3736 finish_cmds= 
    3737 finish_eval= 
    3738 shlibpath_var= 
    3739 shlibpath_overrides_runpath=unknown 
    3740 version_type=none 
    3741 dynamic_linker="$host_os ld.so" 
    3742 sys_lib_dlsearch_path_spec="/lib /usr/lib" 
    3743 need_lib_prefix=unknown 
    3744 hardcode_into_libs=no 
    3745  
    3746 # when you set need_version to no, make sure it does not cause -set_version 
    3747 # flags to be left without arguments 
    3748 need_version=unknown 
    3749  
    3750 case $host_os in 
    3751 aix3*) 
    3752   version_type=linux 
    3753   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 
    3754   shlibpath_var=LIBPATH 
    3755  
    3756   # AIX 3 has no versioning support, so we append a major version to the name. 
    3757   soname_spec='${libname}${release}${shared_ext}$major' 
    3758   ;; 
    3759  
    3760 aix[[4-9]]*) 
    3761   version_type=linux 
    3762   need_lib_prefix=no 
    3763   need_version=no 
    3764   hardcode_into_libs=yes 
    3765   if test "$host_cpu" = ia64; then 
    3766     # AIX 5 supports IA64 
    3767     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 
    3768     shlibpath_var=LD_LIBRARY_PATH 
    3769   else 
    3770     # With GCC up to 2.95.x, collect2 would create an import file 
    3771     # for dependence libraries.  The import file would start with 
    3772     # the line `#! .'.  This would cause the generated library to 
    3773     # depend on `.', always an invalid library.  This was fixed in 
    3774     # development snapshots of GCC prior to 3.0. 
    3775     case $host_os in 
    3776       aix4 | aix4.[[01]] | aix4.[[01]].*) 
    3777       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 
    3778            echo ' yes ' 
    3779            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 
    3780         : 
    3781       else 
    3782         can_build_shared=no 
    3783       fi 
    3784       ;; 
    3785     esac 
    3786     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 
    3787     # soname into executable. Probably we can add versioning support to 
    3788     # collect2, so additional links can be useful in future. 
    3789     if test "$aix_use_runtimelinking" = yes; then 
    3790       # If using run time linking (on AIX 4.2 or later) use lib<name>.so 
    3791       # instead of lib<name>.a to let people know that these are not 
    3792       # typical AIX shared libraries. 
    3793       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    3794     else 
    3795       # We preserve .a as extension for shared libraries through AIX4.2 
    3796       # and later when we are not doing run time linking. 
    3797       library_names_spec='${libname}${release}.a $libname.a' 
    3798       soname_spec='${libname}${release}${shared_ext}$major' 
    3799     fi 
    3800     shlibpath_var=LIBPATH 
    3801   fi 
    3802   ;; 
    3803  
    3804 amigaos*) 
    3805   case $host_cpu in 
    3806   powerpc) 
    3807     # Since July 2007 AmigaOS4 officially supports .so libraries. 
    3808     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 
    3809     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    3810     ;; 
    3811   m68k) 
    3812     library_names_spec='$libname.ixlibrary $libname.a' 
    3813     # Create ${libname}_ixlibrary.a entries in /sys/libs. 
    3814     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 
    3815     ;; 
    3816   esac 
    3817   ;; 
    3818  
    3819 beos*) 
    3820   library_names_spec='${libname}${shared_ext}' 
    3821   dynamic_linker="$host_os ld.so" 
    3822   shlibpath_var=LIBRARY_PATH 
    3823   ;; 
    3824  
    3825 bsdi[[45]]*) 
    3826   version_type=linux 
    3827   need_version=no 
    3828   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    3829   soname_spec='${libname}${release}${shared_ext}$major' 
    3830   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 
    3831   shlibpath_var=LD_LIBRARY_PATH 
    3832   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 
    3833   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 
    3834   # the default ld.so.conf also contains /usr/contrib/lib and 
    3835   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 
    3836   # libtool to hard-code these into programs 
    3837   ;; 
    3838  
    3839 cygwin* | mingw* | pw32*) 
    3840   version_type=windows 
    3841   shrext_cmds=".dll" 
    3842   need_version=no 
    3843   need_lib_prefix=no 
    3844  
    3845   case $GCC,$host_os in 
    3846   yes,cygwin* | yes,mingw* | yes,pw32*) 
    3847     library_names_spec='$libname.dll.a' 
    3848     # DLL is installed to $(libdir)/../bin by postinstall_cmds 
    3849     postinstall_cmds='base_file=`basename \${file}`~ 
    3850       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 
    3851       dldir=$destdir/`dirname \$dlpath`~ 
    3852       test -d \$dldir || mkdir -p \$dldir~ 
    3853       $install_prog $dir/$dlname \$dldir/$dlname~ 
    3854       chmod a+x \$dldir/$dlname~ 
    3855       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 
    3856         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 
    3857       fi' 
    3858     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 
    3859       dlpath=$dir/\$dldll~ 
    3860        $RM \$dlpath' 
    3861     shlibpath_overrides_runpath=yes 
    3862  
    3863     case $host_os in 
    3864     cygwin*) 
    3865       # Cygwin DLLs use 'cyg' prefix rather than 'lib' 
    3866       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' 
    3867       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 
    3868       ;; 
    3869     mingw*) 
    3870       # MinGW DLLs use traditional 'lib' prefix 
    3871       soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' 
    3872       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 
    3873       if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then 
    3874         # It is most probably a Windows format PATH printed by 
    3875         # mingw gcc, but we are running on Cygwin. Gcc prints its search 
    3876         # path with ; separators, and with drive letters. We can handle the 
    3877         # drive letters (cygwin fileutils understands them), so leave them, 
    3878         # especially as we might pass files found there to a mingw objdump, 
    3879         # which wouldn't understand a cygwinified path. Ahh. 
    3880         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 
    3881       else 
    3882         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` 
    3883       fi 
    3884       ;; 
    3885     pw32*) 
    3886       # pw32 DLLs use 'pw' prefix rather than 'lib' 
    3887       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' 
    3888       ;; 
    3889     esac 
    3890     ;; 
    3891  
    3892   *) 
    3893     library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' 
    3894     ;; 
    3895   esac 
    3896   dynamic_linker='Win32 ld.exe' 
    3897   # FIXME: first we should search . and the directory the executable is in 
    3898   shlibpath_var=PATH 
    3899   ;; 
    3900  
    3901 darwin* | rhapsody*) 
    3902   dynamic_linker="$host_os dyld" 
    3903   version_type=darwin 
    3904   need_lib_prefix=no 
    3905   need_version=no 
    3906   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 
    3907   soname_spec='${libname}${release}${major}$shared_ext' 
    3908   shlibpath_overrides_runpath=yes 
    3909   shlibpath_var=DYLD_LIBRARY_PATH 
    3910   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 
    3911 m4_if([$1], [],[ 
    3912   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) 
    3913   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 
    3914   ;; 
    3915  
    3916 dgux*) 
    3917   version_type=linux 
    3918   need_lib_prefix=no 
    3919   need_version=no 
    3920   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 
    3921   soname_spec='${libname}${release}${shared_ext}$major' 
    3922   shlibpath_var=LD_LIBRARY_PATH 
    3923   ;; 
    3924  
    3925 freebsd1*) 
    3926   dynamic_linker=no 
    3927   ;; 
    3928  
    3929 freebsd* | dragonfly*) 
    3930   # DragonFly does not have aout.  When/if they implement a new 
    3931   # versioning mechanism, adjust this. 
    3932   if test -x /usr/bin/objformat; then 
    3933     objformat=`/usr/bin/objformat` 
    3934   else 
    3935     case $host_os in 
    3936     freebsd[[123]]*) objformat=aout ;; 
    3937     *) objformat=elf ;; 
    3938     esac 
    3939   fi 
    3940   version_type=freebsd-$objformat 
    3941   case $version_type in 
    3942     freebsd-elf*) 
    3943       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 
    3944       need_version=no 
    3945       need_lib_prefix=no 
    3946       ;; 
    3947     freebsd-*) 
    3948       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 
    3949       need_version=yes 
    3950       ;; 
    3951   esac 
    3952   shlibpath_var=LD_LIBRARY_PATH 
    3953   case $host_os in 
    3954   freebsd2*) 
    3955     shlibpath_overrides_runpath=yes 
    3956     ;; 
    3957   freebsd3.[[01]]* | freebsdelf3.[[01]]*) 
    3958     shlibpath_overrides_runpath=yes 
    3959     hardcode_into_libs=yes 
    3960     ;; 
    3961   freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ 
    3962   freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) 
    3963     shlibpath_overrides_runpath=no 
    3964     hardcode_into_libs=yes 
    3965     ;; 
    3966   *) # from 4.6 on, and DragonFly 
    3967     shlibpath_overrides_runpath=yes 
    3968     hardcode_into_libs=yes 
    3969     ;; 
    3970   esac 
    3971   ;; 
    3972  
    3973 gnu*) 
    3974   version_type=linux 
    3975   need_lib_prefix=no 
    3976   need_version=no 
    3977   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 
    3978   soname_spec='${libname}${release}${shared_ext}$major' 
    3979   shlibpath_var=LD_LIBRARY_PATH 
    3980   hardcode_into_libs=yes 
    3981   ;; 
    3982  
    3983 hpux9* | hpux10* | hpux11*) 
    3984   # Give a soname corresponding to the major version so that dld.sl refuses to 
    3985   # link against other versions. 
    3986   version_type=sunos 
    3987   need_lib_prefix=no 
    3988   need_version=no 
    3989   case $host_cpu in 
    3990   ia64*) 
    3991     shrext_cmds='.so' 
    3992     hardcode_into_libs=yes 
    3993     dynamic_linker="$host_os dld.so" 
    3994     shlibpath_var=LD_LIBRARY_PATH 
    3995     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 
    3996     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    3997     soname_spec='${libname}${release}${shared_ext}$major' 
    3998     if test "X$HPUX_IA64_MODE" = X32; then 
    3999       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 
    4000     else 
    4001       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 
    4002     fi 
    4003     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 
    4004     ;; 
    4005   hppa*64*) 
    4006     shrext_cmds='.sl' 
    4007     hardcode_into_libs=yes 
    4008     dynamic_linker="$host_os dld.sl" 
    4009     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 
    4010     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 
    4011     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    4012     soname_spec='${libname}${release}${shared_ext}$major' 
    4013     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 
    4014     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 
    4015     ;; 
    4016   *) 
    4017     shrext_cmds='.sl' 
    4018     dynamic_linker="$host_os dld.sl" 
    4019     shlibpath_var=SHLIB_PATH 
    4020     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 
    4021     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    4022     soname_spec='${libname}${release}${shared_ext}$major' 
    4023     ;; 
    4024   esac 
    4025   # HP-UX runs *really* slowly unless shared libraries are mode 555. 
    4026   postinstall_cmds='chmod 555 $lib' 
    4027   ;; 
    4028  
    4029 interix[[3-9]]*) 
    4030   version_type=linux 
    4031   need_lib_prefix=no 
    4032   need_version=no 
    4033   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
    4034   soname_spec='${libname}${release}${shared_ext}$major' 
    4035   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 
    4036   shlibpath_var=LD_LIBRARY_PATH 
    4037   shlibpath_overrides_runpath=no 
    4038   hardcode_into_libs=yes 
    4039   ;; 
    4040  
    4041 irix5* | irix6* | nonstopux*) 
    4042   case $host_os in 
    4043     nonstopux*) version_type=nonstopux ;; 
    4044     *) 
    4045         if test "$lt_cv_prog_gnu_ld" = yes; then 
    4046                 version_type=linux 
    4047         else 
    4048                 version_type=irix 
    4049         fi ;; 
    4050   esac 
    4051   need_lib_prefix=no 
    4052   need_version=no 
    4053   soname_spec='${libname}${release}${shared_ext}$major' 
    4054   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 
    4055   case $host_os in 
    4056   irix5* | nonstopux*) 
    4057     libsuff= shlibsuff= 
    4058     ;; 
    4059   *) 
    4060     case $LD in # libtool.m4 will add one of these switches to LD 
    4061     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 
    4062       libsuff= shlibsuff= libmagic=32-bit;; 
    4063     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 
    4064       libsuff=32 shlibsuff=N32 libmagic=N32;; 
    4065     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 
    4066       libsuff=64 shlibsuff=64 libmagic=64-bit;; 
    4067     *) libsuff= shlibsuff= libmagic=never-match;; 
    4068     esac 
    4069     ;; 
    4070   esac 
    4071   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 
    4072   shlibpath_overrides_runpath=no 
    4073   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 
    4074   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 
    4075   hardcode_into_libs=yes 
    4076   ;; 
    4077  
    4078 # No shared lib support for Linux oldld, aout, or coff. 
    4079 linux*oldld* | linux*aout* | linux*coff*) 
    4080   dynamic_linker=no 
    4081   ;; 
    4082  
    4083 # This must be Linux ELF. 
    4084 linux* | k*bsd*-gnu) 
    4085   version_type=linux 
    4086   need_lib_prefix=no 
    4087   need_version=no 
    4088   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    4089   soname_spec='${libname}${release}${shared_ext}$major' 
    4090   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 
    4091   shlibpath_var=LD_LIBRARY_PATH 
    4092   shlibpath_overrides_runpath=no 
    4093   # Some binutils ld are patched to set DT_RUNPATH 
    4094   save_LDFLAGS=$LDFLAGS 
    4095   save_libdir=$libdir 
    4096   eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ 
    4097        LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" 
    4098   AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], 
    4099     [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null], 
    4100        [shlibpath_overrides_runpath=yes])]) 
    4101   LDFLAGS=$save_LDFLAGS 
    4102   libdir=$save_libdir 
    4103  
    4104   # This implies no fast_install, which is unacceptable. 
    4105   # Some rework will be needed to allow for fast_install 
    4106   # before this can be enabled. 
    4107   hardcode_into_libs=yes 
    4108  
    4109   # Append ld.so.conf contents to the search path 
    4110   if test -f /etc/ld.so.conf; then 
    4111     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[   ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` 
    4112     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 
    4113   fi 
    4114  
    4115   # We used to test for /lib/ld.so.1 and disable shared libraries on 
    4116   # powerpc, because MkLinux only supported shared libraries with the 
    4117   # GNU dynamic linker.  Since this was broken with cross compilers, 
    4118   # most powerpc-linux boxes support dynamic linking these days and 
    4119   # people can always --disable-shared, the test was removed, and we 
    4120   # assume the GNU/Linux dynamic linker is in use. 
    4121   dynamic_linker='GNU/Linux ld.so' 
    4122   ;; 
    4123  
    4124 netbsdelf*-gnu) 
    4125   version_type=linux 
    4126   need_lib_prefix=no 
    4127   need_version=no 
    4128   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
    4129   soname_spec='${libname}${release}${shared_ext}$major' 
    4130   shlibpath_var=LD_LIBRARY_PATH 
    4131   shlibpath_overrides_runpath=no 
    4132   hardcode_into_libs=yes 
    4133   dynamic_linker='NetBSD ld.elf_so' 
    4134   ;; 
    4135  
    4136 netbsd*) 
    4137   version_type=sunos 
    4138   need_lib_prefix=no 
    4139   need_version=no 
    4140   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 
    4141     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 
    4142     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 
    4143     dynamic_linker='NetBSD (a.out) ld.so' 
    4144   else 
    4145     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
    4146     soname_spec='${libname}${release}${shared_ext}$major' 
    4147     dynamic_linker='NetBSD ld.elf_so' 
    4148   fi 
    4149   shlibpath_var=LD_LIBRARY_PATH 
    4150   shlibpath_overrides_runpath=yes 
    4151   hardcode_into_libs=yes 
    4152   ;; 
    4153  
    4154 newsos6) 
    4155   version_type=linux 
    4156   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    4157   shlibpath_var=LD_LIBRARY_PATH 
    4158   shlibpath_overrides_runpath=yes 
    4159   ;; 
    4160  
    4161 *nto* | *qnx*) 
    4162   version_type=qnx 
    4163   need_lib_prefix=no 
    4164   need_version=no 
    4165   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    4166   soname_spec='${libname}${release}${shared_ext}$major' 
    4167   shlibpath_var=LD_LIBRARY_PATH 
    4168   shlibpath_overrides_runpath=no 
    4169   hardcode_into_libs=yes 
    4170   dynamic_linker='ldqnx.so' 
    4171   ;; 
    4172  
    4173 openbsd*) 
    4174   version_type=sunos 
    4175   sys_lib_dlsearch_path_spec="/usr/lib" 
    4176   need_lib_prefix=no 
    4177   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 
    4178   case $host_os in 
    4179     openbsd3.3 | openbsd3.3.*)  need_version=yes ;; 
    4180     *)                          need_version=no  ;; 
    4181   esac 
    4182   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 
    4183   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 
    4184   shlibpath_var=LD_LIBRARY_PATH 
    4185   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
    4186     case $host_os in 
    4187       openbsd2.[[89]] | openbsd2.[[89]].*) 
    4188         shlibpath_overrides_runpath=no 
    4189         ;; 
    4190       *) 
    4191         shlibpath_overrides_runpath=yes 
    4192         ;; 
    4193       esac 
    4194   else 
    4195     shlibpath_overrides_runpath=yes 
    4196   fi 
    4197   ;; 
    4198  
    4199 os2*) 
    4200   libname_spec='$name' 
    4201   shrext_cmds=".dll" 
    4202   need_lib_prefix=no 
    4203   library_names_spec='$libname${shared_ext} $libname.a' 
    4204   dynamic_linker='OS/2 ld.exe' 
    4205   shlibpath_var=LIBPATH 
    4206   ;; 
    4207  
    4208 osf3* | osf4* | osf5*) 
    4209   version_type=osf 
    4210   need_lib_prefix=no 
    4211   need_version=no 
    4212   soname_spec='${libname}${release}${shared_ext}$major' 
    4213   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    4214   shlibpath_var=LD_LIBRARY_PATH 
    4215   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 
    4216   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 
    4217   ;; 
    4218  
    4219 rdos*) 
    4220   dynamic_linker=no 
    4221   ;; 
    4222  
    4223 solaris*) 
    4224   version_type=linux 
    4225   need_lib_prefix=no 
    4226   need_version=no 
    4227   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    4228   soname_spec='${libname}${release}${shared_ext}$major' 
    4229   shlibpath_var=LD_LIBRARY_PATH 
    4230   shlibpath_overrides_runpath=yes 
    4231   hardcode_into_libs=yes 
    4232   # ldd complains unless libraries are executable 
    4233   postinstall_cmds='chmod +x $lib' 
    4234   ;; 
    4235  
    4236 sunos4*) 
    4237   version_type=sunos 
    4238   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 
    4239   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 
    4240   shlibpath_var=LD_LIBRARY_PATH 
    4241   shlibpath_overrides_runpath=yes 
    4242   if test "$with_gnu_ld" = yes; then 
    4243     need_lib_prefix=no 
    4244   fi 
    4245   need_version=yes 
    4246   ;; 
    4247  
    4248 sysv4 | sysv4.3*) 
    4249   version_type=linux 
    4250   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    4251   soname_spec='${libname}${release}${shared_ext}$major' 
    4252   shlibpath_var=LD_LIBRARY_PATH 
    4253   case $host_vendor in 
    4254     sni) 
    4255       shlibpath_overrides_runpath=no 
    4256       need_lib_prefix=no 
    4257       runpath_var=LD_RUN_PATH 
    4258       ;; 
    4259     siemens) 
    4260       need_lib_prefix=no 
    4261       ;; 
    4262     motorola) 
    4263       need_lib_prefix=no 
    4264       need_version=no 
    4265       shlibpath_overrides_runpath=no 
    4266       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 
    4267       ;; 
    4268   esac 
    4269   ;; 
    4270  
    4271 sysv4*MP*) 
    4272   if test -d /usr/nec ;then 
    4273     version_type=linux 
    4274     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 
    4275     soname_spec='$libname${shared_ext}.$major' 
    4276     shlibpath_var=LD_LIBRARY_PATH 
    4277   fi 
    4278   ;; 
    4279  
    4280 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 
    4281   version_type=freebsd-elf 
    4282   need_lib_prefix=no 
    4283   need_version=no 
    4284   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 
    4285   soname_spec='${libname}${release}${shared_ext}$major' 
    4286   shlibpath_var=LD_LIBRARY_PATH 
    4287   shlibpath_overrides_runpath=yes 
    4288   hardcode_into_libs=yes 
    4289   if test "$with_gnu_ld" = yes; then 
    4290     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 
    4291   else 
    4292     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 
    4293     case $host_os in 
    4294       sco3.2v5*) 
    4295         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 
    4296         ;; 
    4297     esac 
    4298   fi 
    4299   sys_lib_dlsearch_path_spec='/usr/lib' 
    4300   ;; 
    4301  
    4302 tpf*) 
    4303   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux. 
    4304   version_type=linux 
    4305   need_lib_prefix=no 
    4306   need_version=no 
    4307   library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    4308   shlibpath_var=LD_LIBRARY_PATH 
    4309   shlibpath_overrides_runpath=no 
    4310   hardcode_into_libs=yes 
    4311   ;; 
    4312  
    4313 uts4*) 
    4314   version_type=linux 
    4315   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    4316   soname_spec='${libname}${release}${shared_ext}$major' 
    4317   shlibpath_var=LD_LIBRARY_PATH 
    4318   ;; 
    4319  
    4320 *) 
    4321   dynamic_linker=no 
    4322   ;; 
    4323 esac 
    4324 AC_MSG_RESULT([$dynamic_linker]) 
    4325 test "$dynamic_linker" = no && can_build_shared=no 
    4326  
    4327 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 
    4328 if test "$GCC" = yes; then 
    4329   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 
    4330 fi 
    4331   
    4332 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 
    4333   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 
    4334 fi 
    4335 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 
    4336   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 
    4337 fi 
    4338  
    4339 _LT_DECL([], [variables_saved_for_relink], [1], 
    4340     [Variables whose values should be saved in libtool wrapper scripts and 
    4341     restored at link time]) 
    4342 _LT_DECL([], [need_lib_prefix], [0], 
    4343     [Do we need the "lib" prefix for modules?]) 
    4344 _LT_DECL([], [need_version], [0], [Do we need a version for libraries?]) 
    4345 _LT_DECL([], [version_type], [0], [Library versioning type]) 
    4346 _LT_DECL([], [runpath_var], [0],  [Shared library runtime path variable]) 
    4347 _LT_DECL([], [shlibpath_var], [0],[Shared library path variable]) 
    4348 _LT_DECL([], [shlibpath_overrides_runpath], [0], 
    4349     [Is shlibpath searched before the hard-coded library search path?]) 
    4350 _LT_DECL([], [libname_spec], [1], [Format of library name prefix]) 
    4351 _LT_DECL([], [library_names_spec], [1], 
    4352     [[List of archive names.  First name is the real one, the rest are links. 
    4353     The last name is the one that the linker finds with -lNAME]]) 
    4354 _LT_DECL([], [soname_spec], [1], 
    4355     [[The coded name of the library, if different from the real name]]) 
    4356 _LT_DECL([], [postinstall_cmds], [2], 
    4357     [Command to use after installation of a shared archive]) 
    4358 _LT_DECL([], [postuninstall_cmds], [2], 
    4359     [Command to use after uninstallation of a shared archive]) 
    4360 _LT_DECL([], [finish_cmds], [2], 
    4361     [Commands used to finish a libtool library installation in a directory]) 
    4362 _LT_DECL([], [finish_eval], [1], 
    4363     [[As "finish_cmds", except a single script fragment to be evaled but 
    4364     not shown]]) 
    4365 _LT_DECL([], [hardcode_into_libs], [0], 
    4366     [Whether we should hardcode library paths into libraries]) 
    4367 _LT_DECL([], [sys_lib_search_path_spec], [2], 
    4368     [Compile-time system search path for libraries]) 
    4369 _LT_DECL([], [sys_lib_dlsearch_path_spec], [2], 
    4370     [Run-time system search path for libraries]) 
    4371 ])# _LT_SYS_DYNAMIC_LINKER 
    4372  
    4373  
    4374 # _LT_PATH_TOOL_PREFIX(TOOL) 
    4375 # -------------------------- 
    4376 # find a file program which can recognize shared library 
    4377 AC_DEFUN([_LT_PATH_TOOL_PREFIX], 
    4378 [m4_require([_LT_DECL_EGREP])dnl 
    4379 AC_MSG_CHECKING([for $1]) 
    4380 AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, 
    4381 [case $MAGIC_CMD in 
    4382 [[\\/*] |  ?:[\\/]*]) 
    4383   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 
    4384   ;; 
    4385 *) 
    4386   lt_save_MAGIC_CMD="$MAGIC_CMD" 
    4387   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 
    4388 dnl $ac_dummy forces splitting on constant user-supplied paths. 
    4389 dnl POSIX.2 word splitting is done only on the output of word expansions, 
    4390 dnl not every word.  This closes a longstanding sh security hole. 
    4391   ac_dummy="m4_if([$2], , $PATH, [$2])" 
    4392   for ac_dir in $ac_dummy; do 
    4393     IFS="$lt_save_ifs" 
    4394     test -z "$ac_dir" && ac_dir=. 
    4395     if test -f $ac_dir/$1; then 
    4396       lt_cv_path_MAGIC_CMD="$ac_dir/$1" 
    4397       if test -n "$file_magic_test_file"; then 
    4398         case $deplibs_check_method in 
    4399         "file_magic "*) 
    4400           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 
    4401           MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 
    4402           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 
    4403             $EGREP "$file_magic_regex" > /dev/null; then 
    4404             : 
    4405           else 
    4406             cat <<_LT_EOF 1>&2 
    4407  
    4408 *** Warning: the command libtool uses to detect shared libraries, 
    4409 *** $file_magic_cmd, produces output that libtool cannot recognize. 
    4410 *** The result is that libtool may fail to recognize shared libraries 
    4411 *** as such.  This will affect the creation of libtool libraries that 
    4412 *** depend on shared libraries, but programs linked with such libtool 
    4413 *** libraries will work regardless of this problem.  Nevertheless, you 
    4414 *** may want to report the problem to your system manager and/or to 
    4415 *** bug-libtool@gnu.org 
    4416  
    4417 _LT_EOF 
    4418           fi ;; 
    4419         esac 
    4420       fi 
    4421       break 
    4422     fi 
    4423   done 
    4424   IFS="$lt_save_ifs" 
    4425   MAGIC_CMD="$lt_save_MAGIC_CMD" 
    4426   ;; 
    4427 esac]) 
    4428 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 
    4429 if test -n "$MAGIC_CMD"; then 
    4430   AC_MSG_RESULT($MAGIC_CMD) 
    4431 else 
    4432   AC_MSG_RESULT(no) 
    4433 fi 
    4434 _LT_DECL([], [MAGIC_CMD], [0], 
    4435          [Used to examine libraries when file_magic_cmd begins with "file"])dnl 
    4436 ])# _LT_PATH_TOOL_PREFIX 
    4437  
    4438 # Old name: 
    4439 AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX]) 
    4440 dnl aclocal-1.4 backwards compatibility: 
    4441 dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], []) 
    4442  
    4443  
    4444 # _LT_PATH_MAGIC 
    4445 # -------------- 
    4446 # find a file program which can recognize a shared library 
    4447 m4_defun([_LT_PATH_MAGIC], 
    4448 [_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) 
    4449 if test -z "$lt_cv_path_MAGIC_CMD"; then 
    4450   if test -n "$ac_tool_prefix"; then 
    4451     _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) 
    4452   else 
    4453     MAGIC_CMD=: 
    4454   fi 
    4455 fi 
    4456 ])# _LT_PATH_MAGIC 
    4457  
    4458  
    4459 # LT_PATH_LD 
    4460 # ---------- 
    4461 # find the pathname to the GNU or non-GNU linker 
    4462 AC_DEFUN([LT_PATH_LD], 
    4463 [AC_REQUIRE([AC_PROG_CC])dnl 
    4464 AC_REQUIRE([AC_CANONICAL_HOST])dnl 
    4465 AC_REQUIRE([AC_CANONICAL_BUILD])dnl 
    4466 m4_require([_LT_DECL_SED])dnl 
    4467 m4_require([_LT_DECL_EGREP])dnl 
    4468  
    4469 AC_ARG_WITH([gnu-ld], 
    4470     [AS_HELP_STRING([--with-gnu-ld], 
    4471         [assume the C compiler uses GNU ld @<:@default=no@:>@])], 
    4472     [test "$withval" = no || with_gnu_ld=yes], 
    4473     [with_gnu_ld=no])dnl 
    4474  
    4475 ac_prog=ld 
    4476 if test "$GCC" = yes; then 
    4477   # Check if gcc -print-prog-name=ld gives a path. 
    4478   AC_MSG_CHECKING([for ld used by $CC]) 
    4479   case $host in 
    4480   *-*-mingw*) 
    4481     # gcc leaves a trailing carriage return which upsets mingw 
    4482     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 
    4483   *) 
    4484     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 
    4485   esac 
    4486   case $ac_prog in 
    4487     # Accept absolute paths. 
    4488     [[\\/]]* | ?:[[\\/]]*) 
    4489       re_direlt='/[[^/]][[^/]]*/\.\./' 
    4490       # Canonicalize the pathname of ld 
    4491       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 
    4492       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 
    4493         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 
    4494       done 
    4495       test -z "$LD" && LD="$ac_prog" 
    4496       ;; 
    4497   "") 
    4498     # If it fails, then pretend we aren't using GCC. 
    4499     ac_prog=ld 
    4500     ;; 
    4501   *) 
    4502     # If it is relative, then search for the first ld in PATH. 
    4503     with_gnu_ld=unknown 
    4504     ;; 
    4505   esac 
    4506 elif test "$with_gnu_ld" = yes; then 
    4507   AC_MSG_CHECKING([for GNU ld]) 
    4508 else 
    4509   AC_MSG_CHECKING([for non-GNU ld]) 
    4510 fi 
    4511 AC_CACHE_VAL(lt_cv_path_LD, 
    4512 [if test -z "$LD"; then 
    4513   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 
    4514   for ac_dir in $PATH; do 
    4515     IFS="$lt_save_ifs" 
    4516     test -z "$ac_dir" && ac_dir=. 
    4517     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 
    4518       lt_cv_path_LD="$ac_dir/$ac_prog" 
    4519       # Check to see if the program is GNU ld.  I'd rather use --version, 
    4520       # but apparently some variants of GNU ld only accept -v. 
    4521       # Break only if it was the GNU/non-GNU ld that we prefer. 
    4522       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 
    4523       *GNU* | *'with BFD'*) 
    4524         test "$with_gnu_ld" != no && break 
    4525         ;; 
    4526       *) 
    4527         test "$with_gnu_ld" != yes && break 
    4528         ;; 
    4529       esac 
    4530     fi 
    4531   done 
    4532   IFS="$lt_save_ifs" 
    4533 else 
    4534   lt_cv_path_LD="$LD" # Let the user override the test with a path. 
    4535 fi]) 
    4536 LD="$lt_cv_path_LD" 
    4537 if test -n "$LD"; then 
    4538   AC_MSG_RESULT($LD) 
    4539 else 
    4540   AC_MSG_RESULT(no) 
    4541 fi 
    4542 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) 
    4543 _LT_PATH_LD_GNU 
    4544 AC_SUBST([LD]) 
    4545  
    4546 _LT_TAGDECL([], [LD], [1], [The linker used to build libraries]) 
    4547 ])# LT_PATH_LD 
    4548  
    4549 # Old names: 
    4550 AU_ALIAS([AM_PROG_LD], [LT_PATH_LD]) 
    4551 AU_ALIAS([AC_PROG_LD], [LT_PATH_LD]) 
    4552 dnl aclocal-1.4 backwards compatibility: 
    4553 dnl AC_DEFUN([AM_PROG_LD], []) 
    4554 dnl AC_DEFUN([AC_PROG_LD], []) 
    4555  
    4556  
    4557 # _LT_PATH_LD_GNU 
    4558 #- -------------- 
    4559 m4_defun([_LT_PATH_LD_GNU], 
    4560 [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld, 
    4561 [# I'd rather use --version here, but apparently some GNU lds only accept -v. 
    4562 case `$LD -v 2>&1 </dev/null` in 
    4563 *GNU* | *'with BFD'*) 
    4564   lt_cv_prog_gnu_ld=yes 
    4565   ;; 
    4566 *) 
    4567   lt_cv_prog_gnu_ld=no 
    4568   ;; 
    4569 esac]) 
    4570 with_gnu_ld=$lt_cv_prog_gnu_ld 
    4571 ])# _LT_PATH_LD_GNU 
    4572  
    4573  
    4574 # _LT_CMD_RELOAD 
    4575 # -------------- 
    4576 # find reload flag for linker 
    4577 #   -- PORTME Some linkers may need a different reload flag. 
    4578 m4_defun([_LT_CMD_RELOAD], 
    4579 [AC_CACHE_CHECK([for $LD option to reload object files], 
    4580   lt_cv_ld_reload_flag, 
    4581   [lt_cv_ld_reload_flag='-r']) 
    4582 reload_flag=$lt_cv_ld_reload_flag 
    4583 case $reload_flag in 
    4584 "" | " "*) ;; 
    4585 *) reload_flag=" $reload_flag" ;; 
    4586 esac 
    4587 reload_cmds='$LD$reload_flag -o $output$reload_objs' 
    4588 case $host_os in 
    4589   darwin*) 
    4590     if test "$GCC" = yes; then 
    4591       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 
    4592     else 
    4593       reload_cmds='$LD$reload_flag -o $output$reload_objs' 
    4594     fi 
    4595     ;; 
    4596 esac 
    4597 _LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl 
    4598 _LT_DECL([], [reload_cmds], [2])dnl 
    4599 ])# _LT_CMD_RELOAD 
    4600  
    4601  
    4602 # _LT_CHECK_MAGIC_METHOD 
    4603 # ---------------------- 
    4604 # how to check for library dependencies 
    4605 #  -- PORTME fill in with the dynamic library characteristics 
    4606 m4_defun([_LT_CHECK_MAGIC_METHOD], 
    4607 [m4_require([_LT_DECL_EGREP]) 
    4608 AC_CACHE_CHECK([how to recognize dependent libraries], 
    4609 lt_cv_deplibs_check_method, 
    4610 [lt_cv_file_magic_cmd='$MAGIC_CMD' 
    4611 lt_cv_file_magic_test_file= 
    4612 lt_cv_deplibs_check_method='unknown' 
    4613 # Need to set the preceding variable on all platforms that support 
    4614 # interlibrary dependencies. 
    4615 # 'none' -- dependencies not supported. 
    4616 # `unknown' -- same as none, but documents that we really don't know. 
    4617 # 'pass_all' -- all dependencies passed with no checks. 
    4618 # 'test_compile' -- check by making test program. 
    4619 # 'file_magic [[regex]]' -- check by looking for files in library path 
    4620 # which responds to the $file_magic_cmd with a given extended regex. 
    4621 # If you have `file' or equivalent on your system and you're not sure 
    4622 # whether `pass_all' will *always* work, you probably want this one. 
    4623  
    4624 case $host_os in 
    4625 aix[[4-9]]*) 
    4626   lt_cv_deplibs_check_method=pass_all 
    4627   ;; 
    4628  
    4629 beos*) 
    4630   lt_cv_deplibs_check_method=pass_all 
    4631   ;; 
    4632  
    4633 bsdi[[45]]*) 
    4634   lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' 
    4635   lt_cv_file_magic_cmd='/usr/bin/file -L' 
    4636   lt_cv_file_magic_test_file=/shlib/libc.so 
    4637   ;; 
    4638  
    4639 cygwin*) 
    4640   # func_win32_libid is a shell function defined in ltmain.sh 
    4641   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 
    4642   lt_cv_file_magic_cmd='func_win32_libid' 
    4643   ;; 
    4644  
    4645 mingw* | pw32*) 
    4646   # Base MSYS/MinGW do not provide the 'file' command needed by 
    4647   # func_win32_libid shell function, so use a weaker test based on 'objdump', 
    4648   # unless we find 'file', for example because we are cross-compiling. 
    4649   if ( file / ) >/dev/null 2>&1; then 
    4650     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 
    4651     lt_cv_file_magic_cmd='func_win32_libid' 
    4652   else 
    4653     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 
    4654     lt_cv_file_magic_cmd='$OBJDUMP -f' 
    4655   fi 
    4656   ;; 
    4657  
    4658 darwin* | rhapsody*) 
    4659   lt_cv_deplibs_check_method=pass_all 
    4660   ;; 
    4661  
    4662 freebsd* | dragonfly*) 
    4663   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 
    4664     case $host_cpu in 
    4665     i*86 ) 
    4666       # Not sure whether the presence of OpenBSD here was a mistake. 
    4667       # Let's accept both of them until this is cleared up. 
    4668       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' 
    4669       lt_cv_file_magic_cmd=/usr/bin/file 
    4670       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 
    4671       ;; 
    4672     esac 
    4673   else 
    4674     lt_cv_deplibs_check_method=pass_all 
    4675   fi 
    4676   ;; 
    4677  
    4678 gnu*) 
    4679   lt_cv_deplibs_check_method=pass_all 
    4680   ;; 
    4681  
    4682 hpux10.20* | hpux11*) 
    4683   lt_cv_file_magic_cmd=/usr/bin/file 
    4684   case $host_cpu in 
    4685   ia64*) 
    4686     lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' 
    4687     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 
    4688     ;; 
    4689   hppa*64*) 
    4690     [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] 
    4691     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 
    4692     ;; 
    4693   *) 
    4694     lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' 
    4695     lt_cv_file_magic_test_file=/usr/lib/libc.sl 
    4696     ;; 
    4697   esac 
    4698   ;; 
    4699  
    4700 interix[[3-9]]*) 
    4701   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 
    4702   lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' 
    4703   ;; 
    4704  
    4705 irix5* | irix6* | nonstopux*) 
    4706   case $LD in 
    4707   *-32|*"-32 ") libmagic=32-bit;; 
    4708   *-n32|*"-n32 ") libmagic=N32;; 
    4709   *-64|*"-64 ") libmagic=64-bit;; 
    4710   *) libmagic=never-match;; 
    4711   esac 
    4712   lt_cv_deplibs_check_method=pass_all 
    4713   ;; 
    4714  
    4715 # This must be Linux ELF. 
    4716 linux* | k*bsd*-gnu) 
    4717   lt_cv_deplibs_check_method=pass_all 
    4718   ;; 
    4719  
    4720 netbsd* | netbsdelf*-gnu) 
    4721   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 
    4722     lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' 
    4723   else 
    4724     lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' 
    4725   fi 
    4726   ;; 
    4727  
    4728 newos6*) 
    4729   lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' 
    4730   lt_cv_file_magic_cmd=/usr/bin/file 
    4731   lt_cv_file_magic_test_file=/usr/lib/libnls.so 
    4732   ;; 
    4733  
    4734 *nto* | *qnx*) 
    4735   lt_cv_deplibs_check_method=pass_all 
    4736   ;; 
    4737  
    4738 openbsd*) 
    4739   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
    4740     lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' 
    4741   else 
    4742     lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' 
    4743   fi 
    4744   ;; 
    4745  
    4746 osf3* | osf4* | osf5*) 
    4747   lt_cv_deplibs_check_method=pass_all 
    4748   ;; 
    4749  
    4750 rdos*) 
    4751   lt_cv_deplibs_check_method=pass_all 
    4752   ;; 
    4753  
    4754 solaris*) 
    4755   lt_cv_deplibs_check_method=pass_all 
    4756   ;; 
    4757  
    4758 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 
    4759   lt_cv_deplibs_check_method=pass_all 
    4760   ;; 
    4761  
    4762 sysv4 | sysv4.3*) 
    4763   case $host_vendor in 
    4764   motorola) 
    4765     lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' 
    4766     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 
    4767     ;; 
    4768   ncr) 
    4769     lt_cv_deplibs_check_method=pass_all 
    4770     ;; 
    4771   sequent) 
    4772     lt_cv_file_magic_cmd='/bin/file' 
    4773     lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' 
    4774     ;; 
    4775   sni) 
    4776     lt_cv_file_magic_cmd='/bin/file' 
    4777     lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" 
    4778     lt_cv_file_magic_test_file=/lib/libc.so 
    4779     ;; 
    4780   siemens) 
    4781     lt_cv_deplibs_check_method=pass_all 
    4782     ;; 
    4783   pc) 
    4784     lt_cv_deplibs_check_method=pass_all 
    4785     ;; 
    4786   esac 
    4787   ;; 
    4788  
    4789 tpf*) 
    4790   lt_cv_deplibs_check_method=pass_all 
    4791   ;; 
    4792 esac 
    4793 ]) 
    4794 file_magic_cmd=$lt_cv_file_magic_cmd 
    4795 deplibs_check_method=$lt_cv_deplibs_check_method 
    4796 test -z "$deplibs_check_method" && deplibs_check_method=unknown 
    4797  
    4798 _LT_DECL([], [deplibs_check_method], [1], 
    4799     [Method to check whether dependent libraries are shared objects]) 
    4800 _LT_DECL([], [file_magic_cmd], [1], 
    4801     [Command to use when deplibs_check_method == "file_magic"]) 
    4802 ])# _LT_CHECK_MAGIC_METHOD 
    4803  
    4804  
    4805 # LT_PATH_NM 
    4806 # ---------- 
    4807 # find the pathname to a BSD- or MS-compatible name lister 
    4808 AC_DEFUN([LT_PATH_NM], 
    4809 [AC_REQUIRE([AC_PROG_CC])dnl 
    4810 AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM, 
    4811 [if test -n "$NM"; then 
    4812   # Let the user override the test. 
    4813   lt_cv_path_NM="$NM" 
    4814 else 
    4815   lt_nm_to_check="${ac_tool_prefix}nm" 
    4816   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 
    4817     lt_nm_to_check="$lt_nm_to_check nm" 
    4818   fi 
    4819   for lt_tmp_nm in $lt_nm_to_check; do 
    4820     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 
    4821     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 
    4822       IFS="$lt_save_ifs" 
    4823       test -z "$ac_dir" && ac_dir=. 
    4824       tmp_nm="$ac_dir/$lt_tmp_nm" 
    4825       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 
    4826         # Check to see if the nm accepts a BSD-compat flag. 
    4827         # Adding the `sed 1q' prevents false positives on HP-UX, which says: 
    4828         #   nm: unknown option "B" ignored 
    4829         # Tru64's nm complains that /dev/null is an invalid object file 
    4830         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 
    4831         */dev/null* | *'Invalid file or object type'*) 
    4832           lt_cv_path_NM="$tmp_nm -B" 
    4833           break 
    4834           ;; 
    4835         *) 
    4836           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 
    4837           */dev/null*) 
    4838             lt_cv_path_NM="$tmp_nm -p" 
    4839             break 
    4840             ;; 
    4841           *) 
    4842             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 
    4843             continue # so that we can try to find one that supports BSD flags 
    4844             ;; 
    4845           esac 
    4846           ;; 
    4847         esac 
    4848       fi 
    4849     done 
    4850     IFS="$lt_save_ifs" 
    4851   done 
    4852   : ${lt_cv_path_NM=no} 
    4853 fi]) 
    4854 if test "$lt_cv_path_NM" != "no"; then 
    4855   NM="$lt_cv_path_NM" 
    4856 else 
    4857   # Didn't find any BSD compatible name lister, look for dumpbin. 
    4858   AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :) 
    4859   AC_SUBST([DUMPBIN]) 
    4860   if test "$DUMPBIN" != ":"; then 
    4861     NM="$DUMPBIN" 
    4862   fi 
    4863 fi 
    4864 test -z "$NM" && NM=nm 
    4865 AC_SUBST([NM]) 
    4866 _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl 
    4867  
    4868 AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], 
    4869   [lt_cv_nm_interface="BSD nm" 
    4870   echo "int some_variable = 0;" > conftest.$ac_ext 
    4871   (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD) 
    4872   (eval "$ac_compile" 2>conftest.err) 
    4873   cat conftest.err >&AS_MESSAGE_LOG_FD 
    4874   (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) 
    4875   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 
    4876   cat conftest.err >&AS_MESSAGE_LOG_FD 
    4877   (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD) 
    4878   cat conftest.out >&AS_MESSAGE_LOG_FD 
    4879   if $GREP 'External.*some_variable' conftest.out > /dev/null; then 
    4880     lt_cv_nm_interface="MS dumpbin" 
    4881   fi 
    4882   rm -f conftest*]) 
    4883 ])# LT_PATH_NM 
    4884  
    4885 # Old names: 
    4886 AU_ALIAS([AM_PROG_NM], [LT_PATH_NM]) 
    4887 AU_ALIAS([AC_PROG_NM], [LT_PATH_NM]) 
    4888 dnl aclocal-1.4 backwards compatibility: 
    4889 dnl AC_DEFUN([AM_PROG_NM], []) 
    4890 dnl AC_DEFUN([AC_PROG_NM], []) 
    4891  
    4892  
    4893 # LT_LIB_M 
    4894 # -------- 
    4895 # check for math library 
    4896 AC_DEFUN([LT_LIB_M], 
    4897 [AC_REQUIRE([AC_CANONICAL_HOST])dnl 
    4898 LIBM= 
    4899 case $host in 
    4900 *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) 
    4901   # These system don't have libm, or don't need it 
    4902   ;; 
    4903 *-ncr-sysv4.3*) 
    4904   AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") 
    4905   AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") 
    4906   ;; 
    4907 *) 
    4908   AC_CHECK_LIB(m, cos, LIBM="-lm") 
    4909   ;; 
    4910 esac 
    4911 AC_SUBST([LIBM]) 
    4912 ])# LT_LIB_M 
    4913  
    4914 # Old name: 
    4915 AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M]) 
    4916 dnl aclocal-1.4 backwards compatibility: 
    4917 dnl AC_DEFUN([AC_CHECK_LIBM], []) 
    4918  
    4919  
    4920 # _LT_COMPILER_NO_RTTI([TAGNAME]) 
    4921 # ------------------------------- 
    4922 m4_defun([_LT_COMPILER_NO_RTTI], 
    4923 [m4_require([_LT_TAG_COMPILER])dnl 
    4924  
    4925 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= 
    4926  
    4927 if test "$GCC" = yes; then 
    4928   _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' 
    4929  
    4930   _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], 
    4931     lt_cv_prog_compiler_rtti_exceptions, 
    4932     [-fno-rtti -fno-exceptions], [], 
    4933     [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) 
    4934 fi 
    4935 _LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1], 
    4936         [Compiler flag to turn off builtin functions]) 
    4937 ])# _LT_COMPILER_NO_RTTI 
    4938  
    4939  
    4940 # _LT_CMD_GLOBAL_SYMBOLS 
    4941 # ---------------------- 
    4942 m4_defun([_LT_CMD_GLOBAL_SYMBOLS], 
    4943 [AC_REQUIRE([AC_CANONICAL_HOST])dnl 
    4944 AC_REQUIRE([AC_PROG_CC])dnl 
    4945 AC_REQUIRE([LT_PATH_NM])dnl 
    4946 AC_REQUIRE([LT_PATH_LD])dnl 
    4947 m4_require([_LT_DECL_SED])dnl 
    4948 m4_require([_LT_DECL_EGREP])dnl 
    4949 m4_require([_LT_TAG_COMPILER])dnl 
    4950  
    4951 # Check for command to grab the raw symbol name followed by C symbol from nm. 
    4952 AC_MSG_CHECKING([command to parse $NM output from $compiler object]) 
    4953 AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], 
    4954 [ 
    4955 # These are sane defaults that work on at least a few old systems. 
    4956 # [They come from Ultrix.  What could be older than Ultrix?!! ;)] 
    4957  
    4958 # Character class describing NM global symbol codes. 
    4959 symcode='[[BCDEGRST]]' 
    4960  
    4961 # Regexp to match symbols that can be accessed directly from C. 
    4962 sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' 
    4963  
    4964 # Define system-specific variables. 
    4965 case $host_os in 
    4966 aix*) 
    4967   symcode='[[BCDT]]' 
    4968   ;; 
    4969 cygwin* | mingw* | pw32*) 
    4970   symcode='[[ABCDGISTW]]' 
    4971   ;; 
    4972 hpux*) 
    4973   if test "$host_cpu" = ia64; then 
    4974     symcode='[[ABCDEGRST]]' 
    4975   fi 
    4976   ;; 
    4977 irix* | nonstopux*) 
    4978   symcode='[[BCDEGRST]]' 
    4979   ;; 
    4980 osf*) 
    4981   symcode='[[BCDEGQRST]]' 
    4982   ;; 
    4983 solaris*) 
    4984   symcode='[[BDRT]]' 
    4985   ;; 
    4986 sco3.2v5*) 
    4987   symcode='[[DT]]' 
    4988   ;; 
    4989 sysv4.2uw2*) 
    4990   symcode='[[DT]]' 
    4991   ;; 
    4992 sysv5* | sco5v6* | unixware* | OpenUNIX*) 
    4993   symcode='[[ABDT]]' 
    4994   ;; 
    4995 sysv4) 
    4996   symcode='[[DFNSTU]]' 
    4997   ;; 
    4998 esac 
    4999  
    5000 # If we're using GNU nm, then use its standard symbol codes. 
    5001 case `$NM -V 2>&1` in 
    5002 *GNU* | *'with BFD'*) 
    5003   symcode='[[ABCDGIRSTW]]' ;; 
    5004 esac 
    5005  
    5006 # Transform an extracted symbol line into a proper C declaration. 
    5007 # Some systems (esp. on ia64) link data and code symbols differently, 
    5008 # so use this general approach. 
    5009 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 
    5010  
    5011 # Transform an extracted symbol line into symbol name and symbol address 
    5012 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p'" 
    5013 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"lib\2\", (void *) \&\2},/p'" 
    5014  
    5015 # Handle CRLF in mingw tool chain 
    5016 opt_cr= 
    5017 case $build_os in 
    5018 mingw*) 
    5019   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 
    5020   ;; 
    5021 esac 
    5022  
    5023 # Try without a prefix underscore, then with it. 
    5024 for ac_symprfx in "" "_"; do 
    5025  
    5026   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 
    5027   symxfrm="\\1 $ac_symprfx\\2 \\2" 
    5028  
    5029   # Write the raw and C identifiers. 
    5030   if test "$lt_cv_nm_interface" = "MS dumpbin"; then 
    5031     # Fake it for dumpbin and say T for any non-static function 
    5032     # and D for any global variable. 
    5033     # Also find C++ and __fastcall symbols from MSVC++, 
    5034     # which start with @ or ?. 
    5035     lt_cv_sys_global_symbol_pipe="$AWK ['"\ 
    5036 "     {last_section=section; section=\$ 3};"\ 
    5037 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 
    5038 "     \$ 0!~/External *\|/{next};"\ 
    5039 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 
    5040 "     {if(hide[section]) next};"\ 
    5041 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 
    5042 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 
    5043 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\ 
    5044 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 
    5045 "     ' prfx=^$ac_symprfx]" 
    5046   else 
    5047     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[     ]]\($symcode$symcode*\)[[       ]][[    ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 
    5048   fi 
    5049  
    5050   # Check to see that the pipe works correctly. 
    5051   pipe_works=no 
    5052  
    5053   rm -f conftest* 
    5054   cat > conftest.$ac_ext <<_LT_EOF 
    5055 #ifdef __cplusplus 
    5056 extern "C" { 
    5057 #endif 
    5058 char nm_test_var; 
    5059 void nm_test_func(void); 
    5060 void nm_test_func(void){} 
    5061 #ifdef __cplusplus 
    5062 } 
    5063 #endif 
    5064 int main(){nm_test_var='a';nm_test_func();return(0);} 
    5065 _LT_EOF 
    5066  
    5067   if AC_TRY_EVAL(ac_compile); then 
    5068     # Now try to grab the symbols. 
    5069     nlist=conftest.nm 
    5070     if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then 
    5071       # Try sorting and uniquifying the output. 
    5072       if sort "$nlist" | uniq > "$nlist"T; then 
    5073         mv -f "$nlist"T "$nlist" 
    5074       else 
    5075         rm -f "$nlist"T 
    5076       fi 
    5077  
    5078       # Make sure that we snagged all the symbols we need. 
    5079       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 
    5080         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 
    5081           cat <<_LT_EOF > conftest.$ac_ext 
    5082 #ifdef __cplusplus 
    5083 extern "C" { 
    5084 #endif 
    5085  
    5086 _LT_EOF 
    5087           # Now generate the symbol file. 
    5088           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 
    5089  
    5090           cat <<_LT_EOF >> conftest.$ac_ext 
    5091  
    5092 /* The mapping between symbol names and symbols.  */ 
    5093 const struct { 
    5094   const char *name; 
    5095   void       *address; 
    5096 } 
    5097 lt__PROGRAM__LTX_preloaded_symbols[[]] = 
    5098 { 
    5099   { "@PROGRAM@", (void *) 0 }, 
    5100 _LT_EOF 
    5101           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 
    5102           cat <<\_LT_EOF >> conftest.$ac_ext 
    5103   {0, (void *) 0} 
    5104 }; 
    5105  
    5106 /* This works around a problem in FreeBSD linker */ 
    5107 #ifdef FREEBSD_WORKAROUND 
    5108 static const void *lt_preloaded_setup() { 
    5109   return lt__PROGRAM__LTX_preloaded_symbols; 
    5110 } 
    5111 #endif 
    5112  
    5113 #ifdef __cplusplus 
    5114 } 
    5115 #endif 
    5116 _LT_EOF 
    5117           # Now try linking the two files. 
    5118           mv conftest.$ac_objext conftstm.$ac_objext 
    5119           lt_save_LIBS="$LIBS" 
    5120           lt_save_CFLAGS="$CFLAGS" 
    5121           LIBS="conftstm.$ac_objext" 
    5122           CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" 
    5123           if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then 
    5124             pipe_works=yes 
    5125           fi 
    5126           LIBS="$lt_save_LIBS" 
    5127           CFLAGS="$lt_save_CFLAGS" 
    5128         else 
    5129           echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD 
    5130         fi 
    5131       else 
    5132         echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD 
    5133       fi 
    5134     else 
    5135       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD 
    5136     fi 
    5137   else 
    5138     echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD 
    5139     cat conftest.$ac_ext >&5 
    5140   fi 
    5141   rm -rf conftest* conftst* 
    5142  
    5143   # Do not use the global_symbol_pipe unless it works. 
    5144   if test "$pipe_works" = yes; then 
    5145     break 
    5146   else 
    5147     lt_cv_sys_global_symbol_pipe= 
    5148   fi 
    5149 done 
    5150 ]) 
    5151 if test -z "$lt_cv_sys_global_symbol_pipe"; then 
    5152   lt_cv_sys_global_symbol_to_cdecl= 
    5153 fi 
    5154 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 
    5155   AC_MSG_RESULT(failed) 
    5156 else 
    5157   AC_MSG_RESULT(ok) 
    5158 fi 
    5159  
    5160 _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1], 
    5161     [Take the output of nm and produce a listing of raw symbols and C names]) 
    5162 _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1], 
    5163     [Transform the output of nm in a proper C declaration]) 
    5164 _LT_DECL([global_symbol_to_c_name_address], 
    5165     [lt_cv_sys_global_symbol_to_c_name_address], [1], 
    5166     [Transform the output of nm in a C name address pair]) 
    5167 _LT_DECL([global_symbol_to_c_name_address_lib_prefix], 
    5168     [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1], 
    5169     [Transform the output of nm in a C name address pair when lib prefix is needed]) 
    5170 ]) # _LT_CMD_GLOBAL_SYMBOLS 
    5171  
    5172  
    5173 # _LT_COMPILER_PIC([TAGNAME]) 
    5174 # --------------------------- 
    5175 m4_defun([_LT_COMPILER_PIC], 
    5176 [m4_require([_LT_TAG_COMPILER])dnl 
    5177 _LT_TAGVAR(lt_prog_compiler_wl, $1)= 
    5178 _LT_TAGVAR(lt_prog_compiler_pic, $1)= 
    5179 _LT_TAGVAR(lt_prog_compiler_static, $1)= 
    5180  
    5181 AC_MSG_CHECKING([for $compiler option to produce PIC]) 
    5182 m4_if([$1], [CXX], [ 
    5183   # C++ specific cases for pic, static, wl, etc. 
    5184   if test "$GXX" = yes; then 
    5185     _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    5186     _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' 
    5187  
    5188     case $host_os in 
    5189     aix*) 
    5190       # All AIX code is PIC. 
    5191       if test "$host_cpu" = ia64; then 
    5192         # AIX 5 now supports IA64 processor 
    5193         _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    5194       fi 
    5195       ;; 
    5196  
    5197     amigaos*) 
    5198       case $host_cpu in 
    5199       powerpc) 
    5200             # see comment about AmigaOS4 .so support 
    5201             _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' 
    5202         ;; 
    5203       m68k) 
    5204             # FIXME: we need at least 68020 code to build shared libraries, but 
    5205             # adding the `-m68020' flag to GCC prevents building anything better, 
    5206             # like `-m68040'. 
    5207             _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' 
    5208         ;; 
    5209       esac 
    5210       ;; 
    5211  
    5212     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 
    5213       # PIC is the default for these OSes. 
    5214       ;; 
    5215     mingw* | cygwin* | os2* | pw32*) 
    5216       # This hack is so that the source file can tell whether it is being 
    5217       # built for inclusion in a dll (and should export symbols for example). 
    5218       # Although the cygwin gcc ignores -fPIC, still need this for old-style 
    5219       # (--disable-auto-import) libraries 
    5220       m4_if([$1], [GCJ], [], 
    5221         [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) 
    5222       ;; 
    5223     darwin* | rhapsody*) 
    5224       # PIC is the default on this platform 
    5225       # Common symbols not allowed in MH_DYLIB files 
    5226       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' 
    5227       ;; 
    5228     *djgpp*) 
    5229       # DJGPP does not support shared libraries at all 
    5230       _LT_TAGVAR(lt_prog_compiler_pic, $1)= 
    5231       ;; 
    5232     interix[[3-9]]*) 
    5233       # Interix 3.x gcc -fpic/-fPIC options generate broken code. 
    5234       # Instead, we relocate shared libraries at runtime. 
    5235       ;; 
    5236     sysv4*MP*) 
    5237       if test -d /usr/nec; then 
    5238         _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic 
    5239       fi 
    5240       ;; 
    5241     hpux*) 
    5242       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 
    5243       # not for PA HP-UX. 
    5244       case $host_cpu in 
    5245       hppa*64*|ia64*) 
    5246         ;; 
    5247       *) 
    5248         _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' 
    5249         ;; 
    5250       esac 
    5251       ;; 
    5252     *qnx* | *nto*) 
    5253       # QNX uses GNU C++, but need to define -shared option too, otherwise 
    5254       # it will coredump. 
    5255       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' 
    5256       ;; 
    5257     *) 
    5258       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' 
    5259       ;; 
    5260     esac 
    5261   else 
    5262     case $host_os in 
    5263       aix[[4-9]]*) 
    5264         # All AIX code is PIC. 
    5265         if test "$host_cpu" = ia64; then 
    5266           # AIX 5 now supports IA64 processor 
    5267           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    5268         else 
    5269           _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' 
    5270         fi 
    5271         ;; 
    5272       chorus*) 
    5273         case $cc_basename in 
    5274         cxch68*) 
    5275           # Green Hills C++ Compiler 
    5276           # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" 
    5277           ;; 
    5278         esac 
    5279         ;; 
    5280       dgux*) 
    5281         case $cc_basename in 
    5282           ec++*) 
    5283             _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 
    5284             ;; 
    5285           ghcx*) 
    5286             # Green Hills C++ Compiler 
    5287             _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' 
    5288             ;; 
    5289           *) 
    5290             ;; 
    5291         esac 
    5292         ;; 
    5293       freebsd* | dragonfly*) 
    5294         # FreeBSD uses GNU C++ 
    5295         ;; 
    5296       hpux9* | hpux10* | hpux11*) 
    5297         case $cc_basename in 
    5298           CC*) 
    5299             _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    5300             _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' 
    5301             if test "$host_cpu" != ia64; then 
    5302               _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' 
    5303             fi 
    5304             ;; 
    5305           aCC*) 
    5306             _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    5307             _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' 
    5308             case $host_cpu in 
    5309             hppa*64*|ia64*) 
    5310               # +Z the default 
    5311               ;; 
    5312             *) 
    5313               _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' 
    5314               ;; 
    5315             esac 
    5316             ;; 
    5317           *) 
    5318             ;; 
    5319         esac 
    5320         ;; 
    5321       interix*) 
    5322         # This is c89, which is MS Visual C++ (no shared libs) 
    5323         # Anyone wants to do a port? 
    5324         ;; 
    5325       irix5* | irix6* | nonstopux*) 
    5326         case $cc_basename in 
    5327           CC*) 
    5328             _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    5329             _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' 
    5330             # CC pic flag -KPIC is the default. 
    5331             ;; 
    5332           *) 
    5333             ;; 
    5334         esac 
    5335         ;; 
    5336       linux* | k*bsd*-gnu) 
    5337         case $cc_basename in 
    5338           KCC*) 
    5339             # KAI C++ Compiler 
    5340             _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' 
    5341             _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' 
    5342             ;; 
    5343           icpc* | ecpc* ) 
    5344             # Intel C++ 
    5345             _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    5346             _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 
    5347             _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' 
    5348             ;; 
    5349           pgCC* | pgcpp*) 
    5350             # Portland Group C++ compiler 
    5351             _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    5352             _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' 
    5353             _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    5354             ;; 
    5355           cxx*) 
    5356             # Compaq C++ 
    5357             # Make sure the PIC flag is empty.  It appears that all Alpha 
    5358             # Linux and Compaq Tru64 Unix objects are PIC. 
    5359             _LT_TAGVAR(lt_prog_compiler_pic, $1)= 
    5360             _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' 
    5361             ;; 
    5362           xlc* | xlC*) 
    5363             # IBM XL 8.0 on PPC 
    5364             _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    5365             _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' 
    5366             _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' 
    5367             ;; 
    5368           *) 
    5369             case `$CC -V 2>&1 | sed 5q` in 
    5370             *Sun\ C*) 
    5371               # Sun C++ 5.9 
    5372               _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 
    5373               _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    5374               _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' 
    5375               ;; 
    5376             esac 
    5377             ;; 
    5378         esac 
    5379         ;; 
    5380       lynxos*) 
    5381         ;; 
    5382       m88k*) 
    5383         ;; 
    5384       mvs*) 
    5385         case $cc_basename in 
    5386           cxx*) 
    5387             _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' 
    5388             ;; 
    5389           *) 
    5390             ;; 
    5391         esac 
    5392         ;; 
    5393       netbsd* | netbsdelf*-gnu) 
    5394         ;; 
    5395       *qnx* | *nto*) 
    5396         # QNX uses GNU C++, but need to define -shared option too, otherwise 
    5397         # it will coredump. 
    5398         _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' 
    5399         ;; 
    5400       osf3* | osf4* | osf5*) 
    5401         case $cc_basename in 
    5402           KCC*) 
    5403             _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' 
    5404             ;; 
    5405           RCC*) 
    5406             # Rational C++ 2.4.1 
    5407             _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' 
    5408             ;; 
    5409           cxx*) 
    5410             # Digital/Compaq C++ 
    5411             _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    5412             # Make sure the PIC flag is empty.  It appears that all Alpha 
    5413             # Linux and Compaq Tru64 Unix objects are PIC. 
    5414             _LT_TAGVAR(lt_prog_compiler_pic, $1)= 
    5415             _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' 
    5416             ;; 
    5417           *) 
    5418             ;; 
    5419         esac 
    5420         ;; 
    5421       psos*) 
    5422         ;; 
    5423       solaris*) 
    5424         case $cc_basename in 
    5425           CC*) 
    5426             # Sun C++ 4.2, 5.x and Centerline C++ 
    5427             _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 
    5428             _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    5429             _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' 
    5430             ;; 
    5431           gcx*) 
    5432             # Green Hills C++ Compiler 
    5433             _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' 
    5434             ;; 
    5435           *) 
    5436             ;; 
    5437         esac 
    5438         ;; 
    5439       sunos4*) 
    5440         case $cc_basename in 
    5441           CC*) 
    5442             # Sun C++ 4.x 
    5443             _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' 
    5444             _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    5445             ;; 
    5446           lcc*) 
    5447             # Lucid 
    5448             _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' 
    5449             ;; 
    5450           *) 
    5451             ;; 
    5452         esac 
    5453         ;; 
    5454       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 
    5455         case $cc_basename in 
    5456           CC*) 
    5457             _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    5458             _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 
    5459             _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    5460             ;; 
    5461         esac 
    5462         ;; 
    5463       tandem*) 
    5464         case $cc_basename in 
    5465           NCC*) 
    5466             # NonStop-UX NCC 3.20 
    5467             _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 
    5468             ;; 
    5469           *) 
    5470             ;; 
    5471         esac 
    5472         ;; 
    5473       vxworks*) 
    5474         ;; 
    5475       *) 
    5476         _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no 
    5477         ;; 
    5478     esac 
    5479   fi 
    5480 ], 
    5481 [ 
    5482   if test "$GCC" = yes; then 
    5483     _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    5484     _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' 
    5485  
    5486     case $host_os in 
    5487       aix*) 
    5488       # All AIX code is PIC. 
    5489       if test "$host_cpu" = ia64; then 
    5490         # AIX 5 now supports IA64 processor 
    5491         _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    5492       fi 
    5493       ;; 
    5494  
    5495     amigaos*) 
    5496       case $host_cpu in 
    5497       powerpc) 
    5498             # see comment about AmigaOS4 .so support 
    5499             _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' 
    5500         ;; 
    5501       m68k) 
    5502             # FIXME: we need at least 68020 code to build shared libraries, but 
    5503             # adding the `-m68020' flag to GCC prevents building anything better, 
    5504             # like `-m68040'. 
    5505             _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' 
    5506         ;; 
    5507       esac 
    5508       ;; 
    5509  
    5510     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 
    5511       # PIC is the default for these OSes. 
    5512       ;; 
    5513  
    5514     mingw* | cygwin* | pw32* | os2*) 
    5515       # This hack is so that the source file can tell whether it is being 
    5516       # built for inclusion in a dll (and should export symbols for example). 
    5517       # Although the cygwin gcc ignores -fPIC, still need this for old-style 
    5518       # (--disable-auto-import) libraries 
    5519       m4_if([$1], [GCJ], [], 
    5520         [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) 
    5521       ;; 
    5522  
    5523     darwin* | rhapsody*) 
    5524       # PIC is the default on this platform 
    5525       # Common symbols not allowed in MH_DYLIB files 
    5526       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' 
    5527       ;; 
    5528  
    5529     hpux*) 
    5530       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 
    5531       # not for PA HP-UX. 
    5532       case $host_cpu in 
    5533       hppa*64*|ia64*) 
    5534         # +Z the default 
    5535         ;; 
    5536       *) 
    5537         _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' 
    5538         ;; 
    5539       esac 
    5540       ;; 
    5541  
    5542     interix[[3-9]]*) 
    5543       # Interix 3.x gcc -fpic/-fPIC options generate broken code. 
    5544       # Instead, we relocate shared libraries at runtime. 
    5545       ;; 
    5546  
    5547     msdosdjgpp*) 
    5548       # Just because we use GCC doesn't mean we suddenly get shared libraries 
    5549       # on systems that don't support them. 
    5550       _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no 
    5551       enable_shared=no 
    5552       ;; 
    5553  
    5554     *nto* | *qnx*) 
    5555       # QNX uses GNU C++, but need to define -shared option too, otherwise 
    5556       # it will coredump. 
    5557       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' 
    5558       ;; 
    5559  
    5560     sysv4*MP*) 
    5561       if test -d /usr/nec; then 
    5562         _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic 
    5563       fi 
    5564       ;; 
    5565  
    5566     *) 
    5567       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' 
    5568       ;; 
    5569     esac 
    5570   else 
    5571     # PORTME Check for flag to pass linker flags through the system compiler. 
    5572     case $host_os in 
    5573     aix*) 
    5574       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    5575       if test "$host_cpu" = ia64; then 
    5576         # AIX 5 now supports IA64 processor 
    5577         _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    5578       else 
    5579         _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' 
    5580       fi 
    5581       ;; 
    5582  
    5583     mingw* | cygwin* | pw32* | os2*) 
    5584       # This hack is so that the source file can tell whether it is being 
    5585       # built for inclusion in a dll (and should export symbols for example). 
    5586       m4_if([$1], [GCJ], [], 
    5587         [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) 
    5588       ;; 
    5589  
    5590     hpux9* | hpux10* | hpux11*) 
    5591       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    5592       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 
    5593       # not for PA HP-UX. 
    5594       case $host_cpu in 
    5595       hppa*64*|ia64*) 
    5596         # +Z the default 
    5597         ;; 
    5598       *) 
    5599         _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' 
    5600         ;; 
    5601       esac 
    5602       # Is there a better lt_prog_compiler_static that works with the bundled CC? 
    5603       _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' 
    5604       ;; 
    5605  
    5606     irix5* | irix6* | nonstopux*) 
    5607       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    5608       # PIC (with -KPIC) is the default. 
    5609       _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' 
    5610       ;; 
    5611  
    5612     linux* | k*bsd*-gnu) 
    5613       case $cc_basename in 
    5614       icc* | ecc* | ifort*) 
    5615         _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    5616         _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 
    5617         _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' 
    5618         ;; 
    5619       pgcc* | pgf77* | pgf90* | pgf95*) 
    5620         # Portland Group compilers (*not* the Pentium gcc compiler, 
    5621         # which looks to be a dead project) 
    5622         _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    5623         _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' 
    5624         _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    5625         ;; 
    5626       ccc*) 
    5627         _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    5628         # All Alpha code is PIC. 
    5629         _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' 
    5630         ;; 
    5631       xl*) 
    5632         # IBM XL C 8.0/Fortran 10.1 on PPC 
    5633         _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    5634         _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' 
    5635         _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' 
    5636         ;; 
    5637       *) 
    5638         case `$CC -V 2>&1 | sed 5q` in 
    5639         *Sun\ C*) 
    5640           # Sun C 5.9 
    5641           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 
    5642           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    5643           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    5644           ;; 
    5645         *Sun\ F*) 
    5646           # Sun Fortran 8.3 passes all unrecognized flags to the linker 
    5647           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 
    5648           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    5649           _LT_TAGVAR(lt_prog_compiler_wl, $1)='' 
    5650           ;; 
    5651         esac 
    5652         ;; 
    5653       esac 
    5654       ;; 
    5655  
    5656     newsos6) 
    5657       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 
    5658       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    5659       ;; 
    5660  
    5661     *nto* | *qnx*) 
    5662       # QNX uses GNU C++, but need to define -shared option too, otherwise 
    5663       # it will coredump. 
    5664       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' 
    5665       ;; 
    5666  
    5667     osf3* | osf4* | osf5*) 
    5668       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    5669       # All OSF/1 code is PIC. 
    5670       _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' 
    5671       ;; 
    5672  
    5673     rdos*) 
    5674       _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' 
    5675       ;; 
    5676  
    5677     solaris*) 
    5678       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 
    5679       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    5680       case $cc_basename in 
    5681       f77* | f90* | f95*) 
    5682         _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; 
    5683       *) 
    5684         _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; 
    5685       esac 
    5686       ;; 
    5687  
    5688     sunos4*) 
    5689       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' 
    5690       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' 
    5691       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    5692       ;; 
    5693  
    5694     sysv4 | sysv4.2uw2* | sysv4.3*) 
    5695       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    5696       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 
    5697       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    5698       ;; 
    5699  
    5700     sysv4*MP*) 
    5701       if test -d /usr/nec ;then 
    5702         _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' 
    5703         _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    5704       fi 
    5705       ;; 
    5706  
    5707     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 
    5708       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    5709       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 
    5710       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    5711       ;; 
    5712  
    5713     unicos*) 
    5714       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    5715       _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no 
    5716       ;; 
    5717  
    5718     uts4*) 
    5719       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' 
    5720       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    5721       ;; 
    5722  
    5723     *) 
    5724       _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no 
    5725       ;; 
    5726     esac 
    5727   fi 
    5728 ]) 
    5729 case $host_os in 
    5730   # For platforms which do not support PIC, -DPIC is meaningless: 
    5731   *djgpp*) 
    5732     _LT_TAGVAR(lt_prog_compiler_pic, $1)= 
    5733     ;; 
    5734   *) 
    5735     _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])" 
    5736     ;; 
    5737 esac 
    5738 AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)]) 
    5739 _LT_TAGDECL([wl], [lt_prog_compiler_wl], [1], 
    5740         [How to pass a linker flag through the compiler]) 
    5741  
    5742 # 
    5743 # Check to make sure the PIC flag actually works. 
    5744 # 
    5745 if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then 
    5746   _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works], 
    5747     [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)], 
    5748     [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [], 
    5749     [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in 
    5750      "" | " "*) ;; 
    5751      *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;; 
    5752      esac], 
    5753     [_LT_TAGVAR(lt_prog_compiler_pic, $1)= 
    5754      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) 
    5755 fi 
    5756 _LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1], 
    5757         [Additional compiler flags for building library objects]) 
    5758  
    5759 # 
    5760 # Check to make sure the static flag actually works. 
    5761 # 
    5762 wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\" 
    5763 _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], 
    5764   _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1), 
    5765   $lt_tmp_static_flag, 
    5766   [], 
    5767   [_LT_TAGVAR(lt_prog_compiler_static, $1)=]) 
    5768 _LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1], 
    5769         [Compiler flag to prevent dynamic linking]) 
    5770 ])# _LT_COMPILER_PIC 
    5771  
    5772  
    5773 # _LT_LINKER_SHLIBS([TAGNAME]) 
    5774 # ---------------------------- 
    5775 # See if the linker supports building shared libraries. 
    5776 m4_defun([_LT_LINKER_SHLIBS], 
    5777 [AC_REQUIRE([LT_PATH_LD])dnl 
    5778 AC_REQUIRE([LT_PATH_NM])dnl 
    5779 m4_require([_LT_FILEUTILS_DEFAULTS])dnl 
    5780 m4_require([_LT_DECL_EGREP])dnl 
    5781 m4_require([_LT_DECL_SED])dnl 
    5782 m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl 
    5783 m4_require([_LT_TAG_COMPILER])dnl 
    5784 AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) 
    5785 m4_if([$1], [CXX], [ 
    5786   _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 
    5787   case $host_os in 
    5788   aix[[4-9]]*) 
    5789     # If we're using GNU nm, then we don't want the "-C" option. 
    5790     # -C means demangle to AIX nm, but means don't demangle with GNU nm 
    5791     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 
    5792       _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 
    5793     else 
    5794       _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 
    5795     fi 
    5796     ;; 
    5797   pw32*) 
    5798     _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" 
    5799   ;; 
    5800   cygwin* | mingw*) 
    5801     _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' 
    5802   ;; 
    5803   linux* | k*bsd*-gnu) 
    5804     _LT_TAGVAR(link_all_deplibs, $1)=no 
    5805   ;; 
    5806   *) 
    5807     _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 
    5808   ;; 
    5809   esac 
    5810   _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] 
    5811 ], [ 
    5812   runpath_var= 
    5813   _LT_TAGVAR(allow_undefined_flag, $1)= 
    5814   _LT_TAGVAR(always_export_symbols, $1)=no 
    5815   _LT_TAGVAR(archive_cmds, $1)= 
    5816   _LT_TAGVAR(archive_expsym_cmds, $1)= 
    5817   _LT_TAGVAR(compiler_needs_object, $1)=no 
    5818   _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no 
    5819   _LT_TAGVAR(export_dynamic_flag_spec, $1)= 
    5820   _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 
    5821   _LT_TAGVAR(hardcode_automatic, $1)=no 
    5822   _LT_TAGVAR(hardcode_direct, $1)=no 
    5823   _LT_TAGVAR(hardcode_direct_absolute, $1)=no 
    5824   _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= 
    5825   _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= 
    5826   _LT_TAGVAR(hardcode_libdir_separator, $1)= 
    5827   _LT_TAGVAR(hardcode_minus_L, $1)=no 
    5828   _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported 
    5829   _LT_TAGVAR(inherit_rpath, $1)=no 
    5830   _LT_TAGVAR(link_all_deplibs, $1)=unknown 
    5831   _LT_TAGVAR(module_cmds, $1)= 
    5832   _LT_TAGVAR(module_expsym_cmds, $1)= 
    5833   _LT_TAGVAR(old_archive_from_new_cmds, $1)= 
    5834   _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)= 
    5835   _LT_TAGVAR(thread_safe_flag_spec, $1)= 
    5836   _LT_TAGVAR(whole_archive_flag_spec, $1)= 
    5837   # include_expsyms should be a list of space-separated symbols to be *always* 
    5838   # included in the symbol list 
    5839   _LT_TAGVAR(include_expsyms, $1)= 
    5840   # exclude_expsyms can be an extended regexp of symbols to exclude 
    5841   # it will be wrapped by ` (' and `)$', so one must not match beginning or 
    5842   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 
    5843   # as well as any symbol that contains `d'. 
    5844   _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] 
    5845   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 
    5846   # platforms (ab)use it in PIC code, but their linkers get confused if 
    5847   # the symbol is explicitly referenced.  Since portable code cannot 
    5848   # rely on this symbol name, it's probably fine to never include it in 
    5849   # preloaded symbol tables. 
    5850   # Exclude shared library initialization/finalization symbols. 
    5851 dnl Note also adjust exclude_expsyms for C++ above. 
    5852   extract_expsyms_cmds= 
    5853  
    5854   case $host_os in 
    5855   cygwin* | mingw* | pw32*) 
    5856     # FIXME: the MSVC++ port hasn't been tested in a loooong time 
    5857     # When not using gcc, we currently assume that we are using 
    5858     # Microsoft Visual C++. 
    5859     if test "$GCC" != yes; then 
    5860       with_gnu_ld=no 
    5861     fi 
    5862     ;; 
    5863   interix*) 
    5864     # we just hope/assume this is gcc and not c89 (= MSVC++) 
    5865     with_gnu_ld=yes 
    5866     ;; 
    5867   openbsd*) 
    5868     with_gnu_ld=no 
    5869     ;; 
    5870   esac 
    5871  
    5872   _LT_TAGVAR(ld_shlibs, $1)=yes 
    5873   if test "$with_gnu_ld" = yes; then 
    5874     # If archive_cmds runs LD, not CC, wlarc should be empty 
    5875     wlarc='${wl}' 
    5876  
    5877     # Set some defaults for GNU ld with shared library support. These 
    5878     # are reset later if shared libraries are not supported. Putting them 
    5879     # here allows them to be overridden if necessary. 
    5880     runpath_var=LD_RUN_PATH 
    5881     _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 
    5882     _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' 
    5883     # ancient GNU ld didn't support --whole-archive et. al. 
    5884     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 
    5885       _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 
    5886     else 
    5887       _LT_TAGVAR(whole_archive_flag_spec, $1)= 
    5888     fi 
    5889     supports_anon_versioning=no 
    5890     case `$LD -v 2>&1` in 
    5891       *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 
    5892       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 
    5893       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 
    5894       *\ 2.11.*) ;; # other 2.11 versions 
    5895       *) supports_anon_versioning=yes ;; 
    5896     esac 
    5897  
    5898     # See if GNU ld supports shared libraries. 
    5899     case $host_os in 
    5900     aix[[3-9]]*) 
    5901       # On AIX/PPC, the GNU linker is very broken 
    5902       if test "$host_cpu" != ia64; then 
    5903         _LT_TAGVAR(ld_shlibs, $1)=no 
    5904         cat <<_LT_EOF 1>&2 
    5905  
    5906 *** Warning: the GNU linker, at least up to release 2.9.1, is reported 
    5907 *** to be unable to reliably create shared libraries on AIX. 
    5908 *** Therefore, libtool is disabling shared libraries support.  If you 
    5909 *** really care for shared libraries, you may want to modify your PATH 
    5910 *** so that a non-GNU linker is found, and then restart. 
    5911  
    5912 _LT_EOF 
    5913       fi 
    5914       ;; 
    5915  
    5916     amigaos*) 
    5917       case $host_cpu in 
    5918       powerpc) 
    5919             # see comment about AmigaOS4 .so support 
    5920             _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
    5921             _LT_TAGVAR(archive_expsym_cmds, $1)='' 
    5922         ;; 
    5923       m68k) 
    5924             _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 
    5925             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' 
    5926             _LT_TAGVAR(hardcode_minus_L, $1)=yes 
    5927         ;; 
    5928       esac 
    5929       ;; 
    5930  
    5931     beos*) 
    5932       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 
    5933         _LT_TAGVAR(allow_undefined_flag, $1)=unsupported 
    5934         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 
    5935         # support --undefined.  This deserves some investigation.  FIXME 
    5936         _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
    5937       else 
    5938         _LT_TAGVAR(ld_shlibs, $1)=no 
    5939       fi 
    5940       ;; 
    5941  
    5942     cygwin* | mingw* | pw32*) 
    5943       # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, 
    5944       # as there is no search path for DLLs. 
    5945       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' 
    5946       _LT_TAGVAR(allow_undefined_flag, $1)=unsupported 
    5947       _LT_TAGVAR(always_export_symbols, $1)=no 
    5948       _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes 
    5949       _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' 
    5950  
    5951       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 
    5952         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 
    5953         # If the export-symbols file already is a .def file (1st line 
    5954         # is EXPORTS), use it as is; otherwise, prepend... 
    5955         _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 
    5956           cp $export_symbols $output_objdir/$soname.def; 
    5957         else 
    5958           echo EXPORTS > $output_objdir/$soname.def; 
    5959           cat $export_symbols >> $output_objdir/$soname.def; 
    5960         fi~ 
    5961         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 
    5962       else 
    5963         _LT_TAGVAR(ld_shlibs, $1)=no 
    5964       fi 
    5965       ;; 
    5966  
    5967     interix[[3-9]]*) 
    5968       _LT_TAGVAR(hardcode_direct, $1)=no 
    5969       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no 
    5970       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 
    5971       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 
    5972       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 
    5973       # Instead, shared libraries are loaded at an image base (0x10000000 by 
    5974       # default) and relocated if they conflict, which is a slow very memory 
    5975       # consuming and fragmenting process.  To avoid this, we pick a random, 
    5976       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 
    5977       # time.  Moving up from 0x10000000 also allows more sbrk(2) space. 
    5978       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 
    5979       _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 
    5980       ;; 
    5981  
    5982     gnu* | linux* | tpf* | k*bsd*-gnu) 
    5983       tmp_diet=no 
    5984       if test "$host_os" = linux-dietlibc; then 
    5985         case $cc_basename in 
    5986           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn) 
    5987         esac 
    5988       fi 
    5989       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 
    5990          && test "$tmp_diet" = no 
    5991       then 
    5992         tmp_addflag= 
    5993         tmp_sharedflag='-shared' 
    5994         case $cc_basename,$host_cpu in 
    5995         pgcc*)                          # Portland Group C compiler 
    5996           _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' 
    5997           tmp_addflag=' $pic_flag' 
    5998           ;; 
    5999         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers 
    6000           _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' 
    6001           tmp_addflag=' $pic_flag -Mnomain' ;; 
    6002         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64 
    6003           tmp_addflag=' -i_dynamic' ;; 
    6004         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64 
    6005           tmp_addflag=' -i_dynamic -nofor_main' ;; 
    6006         ifc* | ifort*)                  # Intel Fortran compiler 
    6007           tmp_addflag=' -nofor_main' ;; 
    6008         xl[[cC]]*)                      # IBM XL C 8.0 on PPC (deal with xlf below) 
    6009           tmp_sharedflag='-qmkshrobj' 
    6010           tmp_addflag= ;; 
    6011         esac 
    6012         case `$CC -V 2>&1 | sed 5q` in 
    6013         *Sun\ C*)                       # Sun C 5.9 
    6014           _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' 
    6015           _LT_TAGVAR(compiler_needs_object, $1)=yes 
    6016           tmp_sharedflag='-G' ;; 
    6017         *Sun\ F*)                       # Sun Fortran 8.3 
    6018           tmp_sharedflag='-G' ;; 
    6019         esac 
    6020         _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
    6021  
    6022         if test "x$supports_anon_versioning" = xyes; then 
    6023           _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ 
    6024             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 
    6025             echo "local: *; };" >> $output_objdir/$libname.ver~ 
    6026             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 
    6027         fi 
    6028  
    6029         case $cc_basename in 
    6030         xlf*) 
    6031           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 
    6032           _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' 
    6033           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= 
    6034           _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' 
    6035           _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' 
    6036           if test "x$supports_anon_versioning" = xyes; then 
    6037             _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ 
    6038               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 
    6039               echo "local: *; };" >> $output_objdir/$libname.ver~ 
    6040               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 
    6041           fi 
    6042           ;; 
    6043         esac 
    6044       else 
    6045         _LT_TAGVAR(ld_shlibs, $1)=no 
    6046       fi 
    6047       ;; 
    6048  
    6049     netbsd* | netbsdelf*-gnu) 
    6050       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 
    6051         _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 
    6052         wlarc= 
    6053       else 
    6054         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
    6055         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 
    6056       fi 
    6057       ;; 
    6058  
    6059     solaris*) 
    6060       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 
    6061         _LT_TAGVAR(ld_shlibs, $1)=no 
    6062         cat <<_LT_EOF 1>&2 
    6063  
    6064 *** Warning: The releases 2.8.* of the GNU linker cannot reliably 
    6065 *** create shared libraries on Solaris systems.  Therefore, libtool 
    6066 *** is disabling shared libraries support.  We urge you to upgrade GNU 
    6067 *** binutils to release 2.9.1 or newer.  Another option is to modify 
    6068 *** your PATH or compiler configuration so that the native linker is 
    6069 *** used, and then restart. 
    6070  
    6071 _LT_EOF 
    6072       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 
    6073         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
    6074         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 
    6075       else 
    6076         _LT_TAGVAR(ld_shlibs, $1)=no 
    6077       fi 
    6078       ;; 
    6079  
    6080     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 
    6081       case `$LD -v 2>&1` in 
    6082         *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) 
    6083         _LT_TAGVAR(ld_shlibs, $1)=no 
    6084         cat <<_LT_EOF 1>&2 
    6085  
    6086 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 
    6087 *** reliably create shared libraries on SCO systems.  Therefore, libtool 
    6088 *** is disabling shared libraries support.  We urge you to upgrade GNU 
    6089 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify 
    6090 *** your PATH or compiler configuration so that the native linker is 
    6091 *** used, and then restart. 
    6092  
    6093 _LT_EOF 
    6094         ;; 
    6095         *) 
    6096           # For security reasons, it is highly recommended that you always 
    6097           # use absolute paths for naming shared libraries, and exclude the 
    6098           # DT_RUNPATH tag from executables and libraries.  But doing so 
    6099           # requires that you compile everything twice, which is a pain. 
    6100           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 
    6101             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 
    6102             _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
    6103             _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 
    6104           else 
    6105             _LT_TAGVAR(ld_shlibs, $1)=no 
    6106           fi 
    6107         ;; 
    6108       esac 
    6109       ;; 
    6110  
    6111     sunos4*) 
    6112       _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 
    6113       wlarc= 
    6114       _LT_TAGVAR(hardcode_direct, $1)=yes 
    6115       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no 
    6116       ;; 
    6117  
    6118     *) 
    6119       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 
    6120         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
    6121         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 
    6122       else 
    6123         _LT_TAGVAR(ld_shlibs, $1)=no 
    6124       fi 
    6125       ;; 
    6126     esac 
    6127  
    6128     if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then 
    6129       runpath_var= 
    6130       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= 
    6131       _LT_TAGVAR(export_dynamic_flag_spec, $1)= 
    6132       _LT_TAGVAR(whole_archive_flag_spec, $1)= 
    6133     fi 
    6134   else 
    6135     # PORTME fill in a description of your system's linker (not GNU ld) 
    6136     case $host_os in 
    6137     aix3*) 
    6138       _LT_TAGVAR(allow_undefined_flag, $1)=unsupported 
    6139       _LT_TAGVAR(always_export_symbols, $1)=yes 
    6140       _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' 
    6141       # Note: this linker hardcodes the directories in LIBPATH if there 
    6142       # are no directories specified by -L. 
    6143       _LT_TAGVAR(hardcode_minus_L, $1)=yes 
    6144       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 
    6145         # Neither direct hardcoding nor static linking is supported with a 
    6146         # broken collect2. 
    6147         _LT_TAGVAR(hardcode_direct, $1)=unsupported 
    6148       fi 
    6149       ;; 
    6150  
    6151     aix[[4-9]]*) 
    6152       if test "$host_cpu" = ia64; then 
    6153         # On IA64, the linker does run time linking by default, so we don't 
    6154         # have to do anything special. 
    6155         aix_use_runtimelinking=no 
    6156         exp_sym_flag='-Bexport' 
    6157         no_entry_flag="" 
    6158       else 
    6159         # If we're using GNU nm, then we don't want the "-C" option. 
    6160         # -C means demangle to AIX nm, but means don't demangle with GNU nm 
    6161         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 
    6162           _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 
    6163         else 
    6164           _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 
    6165         fi 
    6166         aix_use_runtimelinking=no 
    6167  
    6168         # Test if we are trying to use run time linking or normal 
    6169         # AIX style linking. If -brtl is somewhere in LDFLAGS, we 
    6170         # need to do runtime linking. 
    6171         case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) 
    6172           for ld_flag in $LDFLAGS; do 
    6173           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 
    6174             aix_use_runtimelinking=yes 
    6175             break 
    6176           fi 
    6177           done 
    6178           ;; 
    6179         esac 
    6180  
    6181         exp_sym_flag='-bexport' 
    6182         no_entry_flag='-bnoentry' 
    6183       fi 
    6184  
    6185       # When large executables or shared objects are built, AIX ld can 
    6186       # have problems creating the table of contents.  If linking a library 
    6187       # or program results in "error TOC overflow" add -mminimal-toc to 
    6188       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not 
    6189       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 
    6190  
    6191       _LT_TAGVAR(archive_cmds, $1)='' 
    6192       _LT_TAGVAR(hardcode_direct, $1)=yes 
    6193       _LT_TAGVAR(hardcode_direct_absolute, $1)=yes 
    6194       _LT_TAGVAR(hardcode_libdir_separator, $1)=':' 
    6195       _LT_TAGVAR(link_all_deplibs, $1)=yes 
    6196       _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' 
    6197  
    6198       if test "$GCC" = yes; then 
    6199         case $host_os in aix4.[[012]]|aix4.[[012]].*) 
    6200         # We only want to do this on AIX 4.2 and lower, the check 
    6201         # below for broken collect2 doesn't work under 4.3+ 
    6202           collect2name=`${CC} -print-prog-name=collect2` 
    6203           if test -f "$collect2name" && 
    6204            strings "$collect2name" | $GREP resolve_lib_name >/dev/null 
    6205           then 
    6206           # We have reworked collect2 
    6207           : 
    6208           else 
    6209           # We have old collect2 
    6210           _LT_TAGVAR(hardcode_direct, $1)=unsupported 
    6211           # It fails to find uninstalled libraries when the uninstalled 
    6212           # path is not listed in the libpath.  Setting hardcode_minus_L 
    6213           # to unsupported forces relinking 
    6214           _LT_TAGVAR(hardcode_minus_L, $1)=yes 
    6215           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' 
    6216           _LT_TAGVAR(hardcode_libdir_separator, $1)= 
    6217           fi 
    6218           ;; 
    6219         esac 
    6220         shared_flag='-shared' 
    6221         if test "$aix_use_runtimelinking" = yes; then 
    6222           shared_flag="$shared_flag "'${wl}-G' 
    6223         fi 
    6224         _LT_TAGVAR(link_all_deplibs, $1)=no 
    6225       else 
    6226         # not using gcc 
    6227         if test "$host_cpu" = ia64; then 
    6228         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 
    6229         # chokes on -Wl,-G. The following line is correct: 
    6230           shared_flag='-G' 
    6231         else 
    6232           if test "$aix_use_runtimelinking" = yes; then 
    6233             shared_flag='${wl}-G' 
    6234           else 
    6235             shared_flag='${wl}-bM:SRE' 
    6236           fi 
    6237         fi 
    6238       fi 
    6239  
    6240       # It seems that -bexpall does not export symbols beginning with 
    6241       # underscore (_), so it is better to generate a list of symbols to export. 
    6242       _LT_TAGVAR(always_export_symbols, $1)=yes 
    6243       if test "$aix_use_runtimelinking" = yes; then 
    6244         # Warning - without using the other runtime loading flags (-brtl), 
    6245         # -berok will link without error, but may produce a broken library. 
    6246         _LT_TAGVAR(allow_undefined_flag, $1)='-berok' 
    6247         # Determine the default libpath from the value encoded in an 
    6248         # empty executable. 
    6249         _LT_SYS_MODULE_PATH_AIX 
    6250         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" 
    6251         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 
    6252       else 
    6253         if test "$host_cpu" = ia64; then 
    6254           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' 
    6255           _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" 
    6256           _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" 
    6257         else 
    6258          # Determine the default libpath from the value encoded in an 
    6259          # empty executable. 
    6260          _LT_SYS_MODULE_PATH_AIX 
    6261          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" 
    6262           # Warning - without using the other run time loading flags, 
    6263           # -berok will link without error, but may produce a broken library. 
    6264           _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' 
    6265           _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' 
    6266           # Exported symbols can be pulled into shared objects from archives 
    6267           _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' 
    6268           _LT_TAGVAR(archive_cmds_need_lc, $1)=yes 
    6269           # This is similar to how AIX traditionally builds its shared libraries. 
    6270           _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 
    6271         fi 
    6272       fi 
    6273       ;; 
    6274  
    6275     amigaos*) 
    6276       case $host_cpu in 
    6277       powerpc) 
    6278             # see comment about AmigaOS4 .so support 
    6279             _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
    6280             _LT_TAGVAR(archive_expsym_cmds, $1)='' 
    6281         ;; 
    6282       m68k) 
    6283             _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 
    6284             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' 
    6285             _LT_TAGVAR(hardcode_minus_L, $1)=yes 
    6286         ;; 
    6287       esac 
    6288       ;; 
    6289  
    6290     bsdi[[45]]*) 
    6291       _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic 
    6292       ;; 
    6293  
    6294     cygwin* | mingw* | pw32*) 
    6295       # When not using gcc, we currently assume that we are using 
    6296       # Microsoft Visual C++. 
    6297       # hardcode_libdir_flag_spec is actually meaningless, as there is 
    6298       # no search path for DLLs. 
    6299       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' 
    6300       _LT_TAGVAR(allow_undefined_flag, $1)=unsupported 
    6301       # Tell ltmain to make .lib files, not .a files. 
    6302       libext=lib 
    6303       # Tell ltmain to make .dll files, not .so files. 
    6304       shrext_cmds=".dll" 
    6305       # FIXME: Setting linknames here is a bad hack. 
    6306       _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' 
    6307       # The linker will automatically build a .lib file if we build a DLL. 
    6308       _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' 
    6309       # FIXME: Should let the user specify the lib program. 
    6310       _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' 
    6311       _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`' 
    6312       _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes 
    6313       ;; 
    6314  
    6315     darwin* | rhapsody*) 
    6316       _LT_DARWIN_LINKER_FEATURES($1) 
    6317       ;; 
    6318  
    6319     dgux*) 
    6320       _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
    6321       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' 
    6322       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no 
    6323       ;; 
    6324  
    6325     freebsd1*) 
    6326       _LT_TAGVAR(ld_shlibs, $1)=no 
    6327       ;; 
    6328  
    6329     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 
    6330     # support.  Future versions do this automatically, but an explicit c++rt0.o 
    6331     # does not break anything, and helps significantly (at the cost of a little 
    6332     # extra space). 
    6333     freebsd2.2*) 
    6334       _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 
    6335       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' 
    6336       _LT_TAGVAR(hardcode_direct, $1)=yes 
    6337       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no 
    6338       ;; 
    6339  
    6340     # Unfortunately, older versions of FreeBSD 2 do not have this feature. 
    6341     freebsd2*) 
    6342       _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 
    6343       _LT_TAGVAR(hardcode_direct, $1)=yes 
    6344       _LT_TAGVAR(hardcode_minus_L, $1)=yes 
    6345       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no 
    6346       ;; 
    6347  
    6348     # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 
    6349     freebsd* | dragonfly*) 
    6350       _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 
    6351       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' 
    6352       _LT_TAGVAR(hardcode_direct, $1)=yes 
    6353       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no 
    6354       ;; 
    6355  
    6356     hpux9*) 
    6357       if test "$GCC" = yes; then 
    6358         _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 
    6359       else 
    6360         _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 
    6361       fi 
    6362       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' 
    6363       _LT_TAGVAR(hardcode_libdir_separator, $1)=: 
    6364       _LT_TAGVAR(hardcode_direct, $1)=yes 
    6365  
    6366       # hardcode_minus_L: Not really in the search PATH, 
    6367       # but as the default location of the library. 
    6368       _LT_TAGVAR(hardcode_minus_L, $1)=yes 
    6369       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 
    6370       ;; 
    6371  
    6372     hpux10*) 
    6373       if test "$GCC" = yes -a "$with_gnu_ld" = no; then 
    6374         _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 
    6375       else 
    6376         _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 
    6377       fi 
    6378       if test "$with_gnu_ld" = no; then 
    6379         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' 
    6380         _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' 
    6381         _LT_TAGVAR(hardcode_libdir_separator, $1)=: 
    6382         _LT_TAGVAR(hardcode_direct, $1)=yes 
    6383         _LT_TAGVAR(hardcode_direct_absolute, $1)=yes 
    6384         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 
    6385         # hardcode_minus_L: Not really in the search PATH, 
    6386         # but as the default location of the library. 
    6387         _LT_TAGVAR(hardcode_minus_L, $1)=yes 
    6388       fi 
    6389       ;; 
    6390  
    6391     hpux11*) 
    6392       if test "$GCC" = yes -a "$with_gnu_ld" = no; then 
    6393         case $host_cpu in 
    6394         hppa*64*) 
    6395           _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 
    6396           ;; 
    6397         ia64*) 
    6398           _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 
    6399           ;; 
    6400         *) 
    6401           _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 
    6402           ;; 
    6403         esac 
    6404       else 
    6405         case $host_cpu in 
    6406         hppa*64*) 
    6407           _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 
    6408           ;; 
    6409         ia64*) 
    6410           _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 
    6411           ;; 
    6412         *) 
    6413           _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 
    6414           ;; 
    6415         esac 
    6416       fi 
    6417       if test "$with_gnu_ld" = no; then 
    6418         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' 
    6419         _LT_TAGVAR(hardcode_libdir_separator, $1)=: 
    6420  
    6421         case $host_cpu in 
    6422         hppa*64*|ia64*) 
    6423           _LT_TAGVAR(hardcode_direct, $1)=no 
    6424           _LT_TAGVAR(hardcode_shlibpath_var, $1)=no 
    6425           ;; 
    6426         *) 
    6427           _LT_TAGVAR(hardcode_direct, $1)=yes 
    6428           _LT_TAGVAR(hardcode_direct_absolute, $1)=yes 
    6429           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 
    6430  
    6431           # hardcode_minus_L: Not really in the search PATH, 
    6432           # but as the default location of the library. 
    6433           _LT_TAGVAR(hardcode_minus_L, $1)=yes 
    6434           ;; 
    6435         esac 
    6436       fi 
    6437       ;; 
    6438  
    6439     irix5* | irix6* | nonstopux*) 
    6440       if test "$GCC" = yes; then 
    6441         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 
    6442         # Try to use the -exported_symbol ld option, if it does not 
    6443         # work, assume that -exports_file does not work either and 
    6444         # implicitly export all symbols. 
    6445         save_LDFLAGS="$LDFLAGS" 
    6446         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 
    6447         AC_LINK_IFELSE(int foo(void) {}, 
    6448           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' 
    6449         ) 
    6450         LDFLAGS="$save_LDFLAGS" 
    6451       else 
    6452         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 
    6453         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' 
    6454       fi 
    6455       _LT_TAGVAR(archive_cmds_need_lc, $1)='no' 
    6456       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 
    6457       _LT_TAGVAR(hardcode_libdir_separator, $1)=: 
    6458       _LT_TAGVAR(inherit_rpath, $1)=yes 
    6459       _LT_TAGVAR(link_all_deplibs, $1)=yes 
    6460       ;; 
    6461  
    6462     netbsd* | netbsdelf*-gnu) 
    6463       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 
    6464         _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out 
    6465       else 
    6466         _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF 
    6467       fi 
    6468       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' 
    6469       _LT_TAGVAR(hardcode_direct, $1)=yes 
    6470       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no 
    6471       ;; 
    6472  
    6473     newsos6) 
    6474       _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
    6475       _LT_TAGVAR(hardcode_direct, $1)=yes 
    6476       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 
    6477       _LT_TAGVAR(hardcode_libdir_separator, $1)=: 
    6478       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no 
    6479       ;; 
    6480  
    6481     *nto* | *qnx*) 
    6482       ;; 
    6483  
    6484     openbsd*) 
    6485       if test -f /usr/libexec/ld.so; then 
    6486         _LT_TAGVAR(hardcode_direct, $1)=yes 
    6487         _LT_TAGVAR(hardcode_shlibpath_var, $1)=no 
    6488         _LT_TAGVAR(hardcode_direct_absolute, $1)=yes 
    6489         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
    6490           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 
    6491           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 
    6492           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 
    6493           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 
    6494         else 
    6495           case $host_os in 
    6496            openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) 
    6497              _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 
    6498              _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' 
    6499              ;; 
    6500            *) 
    6501              _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 
    6502              _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 
    6503              ;; 
    6504           esac 
    6505         fi 
    6506       else 
    6507         _LT_TAGVAR(ld_shlibs, $1)=no 
    6508       fi 
    6509       ;; 
    6510  
    6511     os2*) 
    6512       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' 
    6513       _LT_TAGVAR(hardcode_minus_L, $1)=yes 
    6514       _LT_TAGVAR(allow_undefined_flag, $1)=unsupported 
    6515       _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' 
    6516       _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 
    6517       ;; 
    6518  
    6519     osf3*) 
    6520       if test "$GCC" = yes; then 
    6521         _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' 
    6522         _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 
    6523       else 
    6524         _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' 
    6525         _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 
    6526       fi 
    6527       _LT_TAGVAR(archive_cmds_need_lc, $1)='no' 
    6528       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 
    6529       _LT_TAGVAR(hardcode_libdir_separator, $1)=: 
    6530       ;; 
    6531  
    6532     osf4* | osf5*)      # as osf3* with the addition of -msym flag 
    6533       if test "$GCC" = yes; then 
    6534         _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' 
    6535         _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 
    6536         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 
    6537       else 
    6538         _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' 
    6539         _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 
    6540         _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ 
    6541         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' 
    6542  
    6543         # Both c and cxx compiler support -rpath directly 
    6544         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' 
    6545       fi 
    6546       _LT_TAGVAR(archive_cmds_need_lc, $1)='no' 
    6547       _LT_TAGVAR(hardcode_libdir_separator, $1)=: 
    6548       ;; 
    6549  
    6550     solaris*) 
    6551       _LT_TAGVAR(no_undefined_flag, $1)=' -z defs' 
    6552       if test "$GCC" = yes; then 
    6553         wlarc='${wl}' 
    6554         _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 
    6555         _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 
    6556           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 
    6557       else 
    6558         case `$CC -V 2>&1` in 
    6559         *"Compilers 5.0"*) 
    6560           wlarc='' 
    6561           _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 
    6562           _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 
    6563           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 
    6564           ;; 
    6565         *) 
    6566           wlarc='${wl}' 
    6567           _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 
    6568           _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 
    6569           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 
    6570           ;; 
    6571         esac 
    6572       fi 
    6573       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' 
    6574       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no 
    6575       case $host_os in 
    6576       solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; 
    6577       *) 
    6578         # The compiler driver will combine and reorder linker options, 
    6579         # but understands `-z linker_flag'.  GCC discards it without `$wl', 
    6580         # but is careful enough not to reorder. 
    6581         # Supported since Solaris 2.6 (maybe 2.5.1?) 
    6582         if test "$GCC" = yes; then 
    6583           _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 
    6584         else 
    6585           _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' 
    6586         fi 
    6587         ;; 
    6588       esac 
    6589       _LT_TAGVAR(link_all_deplibs, $1)=yes 
    6590       ;; 
    6591  
    6592     sunos4*) 
    6593       if test "x$host_vendor" = xsequent; then 
    6594         # Use $CC to link under sequent, because it throws in some extra .o 
    6595         # files that make .init and .fini sections work. 
    6596         _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 
    6597       else 
    6598         _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 
    6599       fi 
    6600       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' 
    6601       _LT_TAGVAR(hardcode_direct, $1)=yes 
    6602       _LT_TAGVAR(hardcode_minus_L, $1)=yes 
    6603       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no 
    6604       ;; 
    6605  
    6606     sysv4) 
    6607       case $host_vendor in 
    6608         sni) 
    6609           _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
    6610           _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true??? 
    6611         ;; 
    6612         siemens) 
    6613           ## LD is ld it makes a PLAMLIB 
    6614           ## CC just makes a GrossModule. 
    6615           _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' 
    6616           _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' 
    6617           _LT_TAGVAR(hardcode_direct, $1)=no 
    6618         ;; 
    6619         motorola) 
    6620           _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
    6621           _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie 
    6622         ;; 
    6623       esac 
    6624       runpath_var='LD_RUN_PATH' 
    6625       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no 
    6626       ;; 
    6627  
    6628     sysv4.3*) 
    6629       _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
    6630       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no 
    6631       _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' 
    6632       ;; 
    6633  
    6634     sysv4*MP*) 
    6635       if test -d /usr/nec; then 
    6636         _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
    6637         _LT_TAGVAR(hardcode_shlibpath_var, $1)=no 
    6638         runpath_var=LD_RUN_PATH 
    6639         hardcode_runpath_var=yes 
    6640         _LT_TAGVAR(ld_shlibs, $1)=yes 
    6641       fi 
    6642       ;; 
    6643  
    6644     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) 
    6645       _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' 
    6646       _LT_TAGVAR(archive_cmds_need_lc, $1)=no 
    6647       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no 
    6648       runpath_var='LD_RUN_PATH' 
    6649  
    6650       if test "$GCC" = yes; then 
    6651         _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
    6652         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
    6653       else 
    6654         _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
    6655         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
    6656       fi 
    6657       ;; 
    6658  
    6659     sysv5* | sco3.2v5* | sco5v6*) 
    6660       # Note: We can NOT use -z defs as we might desire, because we do not 
    6661       # link with -lc, and that would cause any symbols used from libc to 
    6662       # always be unresolved, which means just about no library would 
    6663       # ever link correctly.  If we're not using GNU ld we use -z text 
    6664       # though, which does catch some bad symbols but isn't as heavy-handed 
    6665       # as -z defs. 
    6666       _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' 
    6667       _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' 
    6668       _LT_TAGVAR(archive_cmds_need_lc, $1)=no 
    6669       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no 
    6670       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' 
    6671       _LT_TAGVAR(hardcode_libdir_separator, $1)=':' 
    6672       _LT_TAGVAR(link_all_deplibs, $1)=yes 
    6673       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' 
    6674       runpath_var='LD_RUN_PATH' 
    6675  
    6676       if test "$GCC" = yes; then 
    6677         _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
    6678         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
    6679       else 
    6680         _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
    6681         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
    6682       fi 
    6683       ;; 
    6684  
    6685     uts4*) 
    6686       _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
    6687       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' 
    6688       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no 
    6689       ;; 
    6690  
    6691     *) 
    6692       _LT_TAGVAR(ld_shlibs, $1)=no 
    6693       ;; 
    6694     esac 
    6695  
    6696     if test x$host_vendor = xsni; then 
    6697       case $host in 
    6698       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 
    6699         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym' 
    6700         ;; 
    6701       esac 
    6702     fi 
    6703   fi 
    6704 ]) 
    6705 AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) 
    6706 test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no 
    6707  
    6708 _LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld 
    6709  
    6710 _LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl 
    6711 _LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl 
    6712 _LT_DECL([], [extract_expsyms_cmds], [2], 
    6713     [The commands to extract the exported symbol list from a shared archive]) 
    6714  
    6715 # 
    6716 # Do we need to explicitly link libc? 
    6717 # 
    6718 case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in 
    6719 x|xyes) 
    6720   # Assume -lc should be added 
    6721   _LT_TAGVAR(archive_cmds_need_lc, $1)=yes 
    6722  
    6723   if test "$enable_shared" = yes && test "$GCC" = yes; then 
    6724     case $_LT_TAGVAR(archive_cmds, $1) in 
    6725     *'~'*) 
    6726       # FIXME: we may have to deal with multi-command sequences. 
    6727       ;; 
    6728     '$CC '*) 
    6729       # Test whether the compiler implicitly links with -lc since on some 
    6730       # systems, -lgcc has to come before -lc. If gcc already passes -lc 
    6731       # to ld, don't add -lc before -lgcc. 
    6732       AC_MSG_CHECKING([whether -lc should be explicitly linked in]) 
    6733       $RM conftest* 
    6734       echo "$lt_simple_compile_test_code" > conftest.$ac_ext 
    6735  
    6736       if AC_TRY_EVAL(ac_compile) 2>conftest.err; then 
    6737         soname=conftest 
    6738         lib=conftest 
    6739         libobjs=conftest.$ac_objext 
    6740         deplibs= 
    6741         wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) 
    6742         pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1) 
    6743         compiler_flags=-v 
    6744         linker_flags=-v 
    6745         verstring= 
    6746         output_objdir=. 
    6747         libname=conftest 
    6748         lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1) 
    6749         _LT_TAGVAR(allow_undefined_flag, $1)= 
    6750         if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 
    6751         then 
    6752           _LT_TAGVAR(archive_cmds_need_lc, $1)=no 
    6753         else 
    6754           _LT_TAGVAR(archive_cmds_need_lc, $1)=yes 
    6755         fi 
    6756         _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag 
    6757       else 
    6758         cat conftest.err 1>&5 
    6759       fi 
    6760       $RM conftest* 
    6761       AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)]) 
    6762       ;; 
    6763     esac 
    6764   fi 
    6765   ;; 
    6766 esac 
    6767  
    6768 _LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0], 
    6769     [Whether or not to add -lc for building shared libraries]) 
    6770 _LT_TAGDECL([allow_libtool_libs_with_static_runtimes], 
    6771     [enable_shared_with_static_runtimes], [0], 
    6772     [Whether or not to disallow shared libs when runtime libs are static]) 
    6773 _LT_TAGDECL([], [export_dynamic_flag_spec], [1], 
    6774     [Compiler flag to allow reflexive dlopens]) 
    6775 _LT_TAGDECL([], [whole_archive_flag_spec], [1], 
    6776     [Compiler flag to generate shared objects directly from archives]) 
    6777 _LT_TAGDECL([], [compiler_needs_object], [1], 
    6778     [Whether the compiler copes with passing no objects directly]) 
    6779 _LT_TAGDECL([], [old_archive_from_new_cmds], [2], 
    6780     [Create an old-style archive from a shared archive]) 
    6781 _LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2], 
    6782     [Create a temporary old-style archive to link instead of a shared archive]) 
    6783 _LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive]) 
    6784 _LT_TAGDECL([], [archive_expsym_cmds], [2]) 
    6785 _LT_TAGDECL([], [module_cmds], [2], 
    6786     [Commands used to build a loadable module if different from building 
    6787     a shared archive.]) 
    6788 _LT_TAGDECL([], [module_expsym_cmds], [2]) 
    6789 _LT_TAGDECL([], [with_gnu_ld], [1], 
    6790     [Whether we are building with GNU ld or not]) 
    6791 _LT_TAGDECL([], [allow_undefined_flag], [1], 
    6792     [Flag that allows shared libraries with undefined symbols to be built]) 
    6793 _LT_TAGDECL([], [no_undefined_flag], [1], 
    6794     [Flag that enforces no undefined symbols]) 
    6795 _LT_TAGDECL([], [hardcode_libdir_flag_spec], [1], 
    6796     [Flag to hardcode $libdir into a binary during linking. 
    6797     This must work even if $libdir does not exist]) 
    6798 _LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1], 
    6799     [[If ld is used when linking, flag to hardcode $libdir into a binary 
    6800     during linking.  This must work even if $libdir does not exist]]) 
    6801 _LT_TAGDECL([], [hardcode_libdir_separator], [1], 
    6802     [Whether we need a single "-rpath" flag with a separated argument]) 
    6803 _LT_TAGDECL([], [hardcode_direct], [0], 
    6804     [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes 
    6805     DIR into the resulting binary]) 
    6806 _LT_TAGDECL([], [hardcode_direct_absolute], [0], 
    6807     [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes 
    6808     DIR into the resulting binary and the resulting library dependency is 
    6809     "absolute", i.e impossible to change by setting ${shlibpath_var} if the 
    6810     library is relocated]) 
    6811 _LT_TAGDECL([], [hardcode_minus_L], [0], 
    6812     [Set to "yes" if using the -LDIR flag during linking hardcodes DIR 
    6813     into the resulting binary]) 
    6814 _LT_TAGDECL([], [hardcode_shlibpath_var], [0], 
    6815     [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 
    6816     into the resulting binary]) 
    6817 _LT_TAGDECL([], [hardcode_automatic], [0], 
    6818     [Set to "yes" if building a shared library automatically hardcodes DIR 
    6819     into the library and all subsequent libraries and executables linked 
    6820     against it]) 
    6821 _LT_TAGDECL([], [inherit_rpath], [0], 
    6822     [Set to yes if linker adds runtime paths of dependent libraries 
    6823     to runtime path list]) 
    6824 _LT_TAGDECL([], [link_all_deplibs], [0], 
    6825     [Whether libtool must link a program against all its dependency libraries]) 
    6826 _LT_TAGDECL([], [fix_srcfile_path], [1], 
    6827     [Fix the shell variable $srcfile for the compiler]) 
    6828 _LT_TAGDECL([], [always_export_symbols], [0], 
    6829     [Set to "yes" if exported symbols are required]) 
    6830 _LT_TAGDECL([], [export_symbols_cmds], [2], 
    6831     [The commands to list exported symbols]) 
    6832 _LT_TAGDECL([], [exclude_expsyms], [1], 
    6833     [Symbols that should not be listed in the preloaded symbols]) 
    6834 _LT_TAGDECL([], [include_expsyms], [1], 
    6835     [Symbols that must always be exported]) 
    6836 _LT_TAGDECL([], [prelink_cmds], [2], 
    6837     [Commands necessary for linking programs (against libraries) with templates]) 
    6838 _LT_TAGDECL([], [file_list_spec], [1], 
    6839     [Specify filename containing input files]) 
    6840 dnl FIXME: Not yet implemented 
    6841 dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1], 
    6842 dnl    [Compiler flag to generate thread safe objects]) 
    6843 ])# _LT_LINKER_SHLIBS 
    6844  
    6845  
    6846 # _LT_LANG_C_CONFIG([TAG]) 
    6847 # ------------------------ 
    6848 # Ensure that the configuration variables for a C compiler are suitably 
    6849 # defined.  These variables are subsequently used by _LT_CONFIG to write 
    6850 # the compiler configuration to `libtool'. 
    6851 m4_defun([_LT_LANG_C_CONFIG], 
    6852 [m4_require([_LT_DECL_EGREP])dnl 
    6853 lt_save_CC="$CC" 
    6854 AC_LANG_PUSH(C) 
    6855  
    6856 # Source file extension for C test sources. 
    6857 ac_ext=c 
    6858  
    6859 # Object file extension for compiled C test sources. 
    6860 objext=o 
    6861 _LT_TAGVAR(objext, $1)=$objext 
    6862  
    6863 # Code to be used in simple compile tests 
    6864 lt_simple_compile_test_code="int some_variable = 0;" 
    6865  
    6866 # Code to be used in simple link tests 
    6867 lt_simple_link_test_code='int main(){return(0);}' 
    6868  
    6869 _LT_TAG_COMPILER 
    6870 # Save the default compiler, since it gets overwritten when the other 
    6871 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 
    6872 compiler_DEFAULT=$CC 
    6873  
    6874 # save warnings/boilerplate of simple test code 
    6875 _LT_COMPILER_BOILERPLATE 
    6876 _LT_LINKER_BOILERPLATE 
    6877  
    6878 if test -n "$compiler"; then 
    6879   _LT_COMPILER_NO_RTTI($1) 
    6880   _LT_COMPILER_PIC($1) 
    6881   _LT_COMPILER_C_O($1) 
    6882   _LT_COMPILER_FILE_LOCKS($1) 
    6883   _LT_LINKER_SHLIBS($1) 
    6884   _LT_SYS_DYNAMIC_LINKER($1) 
    6885   _LT_LINKER_HARDCODE_LIBPATH($1) 
    6886   LT_SYS_DLOPEN_SELF 
    6887   _LT_CMD_STRIPLIB 
    6888  
    6889   # Report which library types will actually be built 
    6890   AC_MSG_CHECKING([if libtool supports shared libraries]) 
    6891   AC_MSG_RESULT([$can_build_shared]) 
    6892  
    6893   AC_MSG_CHECKING([whether to build shared libraries]) 
    6894   test "$can_build_shared" = "no" && enable_shared=no 
    6895  
    6896   # On AIX, shared libraries and static libraries use the same namespace, and 
    6897   # are all built from PIC. 
    6898   case $host_os in 
    6899   aix3*) 
    6900     test "$enable_shared" = yes && enable_static=no 
    6901     if test -n "$RANLIB"; then 
    6902       archive_cmds="$archive_cmds~\$RANLIB \$lib" 
    6903       postinstall_cmds='$RANLIB $lib' 
    6904     fi 
    6905     ;; 
    6906  
    6907   aix[[4-9]]*) 
    6908     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 
    6909       test "$enable_shared" = yes && enable_static=no 
    6910     fi 
    6911     ;; 
    6912   esac 
    6913   AC_MSG_RESULT([$enable_shared]) 
    6914  
    6915   AC_MSG_CHECKING([whether to build static libraries]) 
    6916   # Make sure either enable_shared or enable_static is yes. 
    6917   test "$enable_shared" = yes || enable_static=yes 
    6918   AC_MSG_RESULT([$enable_static]) 
    6919  
    6920   _LT_CONFIG($1) 
    6921 fi 
    6922 AC_LANG_POP 
    6923 CC="$lt_save_CC" 
    6924 ])# _LT_LANG_C_CONFIG 
    6925  
    6926  
    6927 # _LT_PROG_CXX 
    6928 # ------------ 
    6929 # Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++ 
    6930 # compiler, we have our own version here. 
    6931 m4_defun([_LT_PROG_CXX], 
    6932 [ 
    6933 pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes]) 
    6934 AC_PROG_CXX 
    6935 if test -n "$CXX" && ( test "X$CXX" != "Xno" && 
    6936     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 
    6937     (test "X$CXX" != "Xg++"))) ; then 
    6938   AC_PROG_CXXCPP 
    6939 else 
    6940   _lt_caught_CXX_error=yes 
    6941 fi 
    6942 popdef([AC_MSG_ERROR]) 
    6943 ])# _LT_PROG_CXX 
    6944  
    6945 dnl aclocal-1.4 backwards compatibility: 
    6946 dnl AC_DEFUN([_LT_PROG_CXX], []) 
    6947  
    6948  
    6949 # _LT_LANG_CXX_CONFIG([TAG]) 
    6950 # -------------------------- 
    6951 # Ensure that the configuration variables for a C++ compiler are suitably 
    6952 # defined.  These variables are subsequently used by _LT_CONFIG to write 
    6953 # the compiler configuration to `libtool'. 
    6954 m4_defun([_LT_LANG_CXX_CONFIG], 
    6955 [AC_REQUIRE([_LT_PROG_CXX])dnl 
    6956 m4_require([_LT_FILEUTILS_DEFAULTS])dnl 
    6957 m4_require([_LT_DECL_EGREP])dnl 
    6958  
    6959 AC_LANG_PUSH(C++) 
    6960 _LT_TAGVAR(archive_cmds_need_lc, $1)=no 
    6961 _LT_TAGVAR(allow_undefined_flag, $1)= 
    6962 _LT_TAGVAR(always_export_symbols, $1)=no 
    6963 _LT_TAGVAR(archive_expsym_cmds, $1)= 
    6964 _LT_TAGVAR(compiler_needs_object, $1)=no 
    6965 _LT_TAGVAR(export_dynamic_flag_spec, $1)= 
    6966 _LT_TAGVAR(hardcode_direct, $1)=no 
    6967 _LT_TAGVAR(hardcode_direct_absolute, $1)=no 
    6968 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= 
    6969 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= 
    6970 _LT_TAGVAR(hardcode_libdir_separator, $1)= 
    6971 _LT_TAGVAR(hardcode_minus_L, $1)=no 
    6972 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported 
    6973 _LT_TAGVAR(hardcode_automatic, $1)=no 
    6974 _LT_TAGVAR(inherit_rpath, $1)=no 
    6975 _LT_TAGVAR(module_cmds, $1)= 
    6976 _LT_TAGVAR(module_expsym_cmds, $1)= 
    6977 _LT_TAGVAR(link_all_deplibs, $1)=unknown 
    6978 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds 
    6979 _LT_TAGVAR(no_undefined_flag, $1)= 
    6980 _LT_TAGVAR(whole_archive_flag_spec, $1)= 
    6981 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no 
    6982  
    6983 # Source file extension for C++ test sources. 
    6984 ac_ext=cpp 
    6985  
    6986 # Object file extension for compiled C++ test sources. 
    6987 objext=o 
    6988 _LT_TAGVAR(objext, $1)=$objext 
    6989  
    6990 # No sense in running all these tests if we already determined that 
    6991 # the CXX compiler isn't working.  Some variables (like enable_shared) 
    6992 # are currently assumed to apply to all compilers on this platform, 
    6993 # and will be corrupted by setting them based on a non-working compiler. 
    6994 if test "$_lt_caught_CXX_error" != yes; then 
    6995   # Code to be used in simple compile tests 
    6996   lt_simple_compile_test_code="int some_variable = 0;" 
    6997  
    6998   # Code to be used in simple link tests 
    6999   lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' 
    7000  
    7001   # ltmain only uses $CC for tagged configurations so make sure $CC is set. 
    7002   _LT_TAG_COMPILER 
    7003  
    7004   # save warnings/boilerplate of simple test code 
    7005   _LT_COMPILER_BOILERPLATE 
    7006   _LT_LINKER_BOILERPLATE 
    7007  
    7008   # Allow CC to be a program name with arguments. 
    7009   lt_save_CC=$CC 
    7010   lt_save_LD=$LD 
    7011   lt_save_GCC=$GCC 
    7012   GCC=$GXX 
    7013   lt_save_with_gnu_ld=$with_gnu_ld 
    7014   lt_save_path_LD=$lt_cv_path_LD 
    7015   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 
    7016     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 
    7017   else 
    7018     $as_unset lt_cv_prog_gnu_ld 
    7019   fi 
    7020   if test -n "${lt_cv_path_LDCXX+set}"; then 
    7021     lt_cv_path_LD=$lt_cv_path_LDCXX 
    7022   else 
    7023     $as_unset lt_cv_path_LD 
    7024   fi 
    7025   test -z "${LDCXX+set}" || LD=$LDCXX 
    7026   CC=${CXX-"c++"} 
    7027   compiler=$CC 
    7028   _LT_TAGVAR(compiler, $1)=$CC 
    7029   _LT_CC_BASENAME([$compiler]) 
    7030  
    7031   if test -n "$compiler"; then 
    7032     # We don't want -fno-exception when compiling C++ code, so set the 
    7033     # no_builtin_flag separately 
    7034     if test "$GXX" = yes; then 
    7035       _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' 
    7036     else 
    7037       _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= 
    7038     fi 
    7039  
    7040     if test "$GXX" = yes; then 
    7041       # Set up default GNU C++ configuration 
    7042  
    7043       LT_PATH_LD 
    7044  
    7045       # Check if GNU C++ uses GNU ld as the underlying linker, since the 
    7046       # archiving commands below assume that GNU ld is being used. 
    7047       if test "$with_gnu_ld" = yes; then 
    7048         _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 
    7049         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 
    7050  
    7051         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 
    7052         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' 
    7053  
    7054         # If archive_cmds runs LD, not CC, wlarc should be empty 
    7055         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 
    7056         #     investigate it a little bit more. (MM) 
    7057         wlarc='${wl}' 
    7058  
    7059         # ancient GNU ld didn't support --whole-archive et. al. 
    7060         if eval "`$CC -print-prog-name=ld` --help 2>&1" | 
    7061           $GREP 'no-whole-archive' > /dev/null; then 
    7062           _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 
    7063         else 
    7064           _LT_TAGVAR(whole_archive_flag_spec, $1)= 
    7065         fi 
    7066       else 
    7067         with_gnu_ld=no 
    7068         wlarc= 
    7069  
    7070         # A generic and very simple default shared library creation 
    7071         # command for GNU C++ for the case where it uses the native 
    7072         # linker, instead of GNU ld.  If possible, this setting should 
    7073         # overridden to take advantage of the native linker features on 
    7074         # the platform it is being used on. 
    7075         _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 
    7076       fi 
    7077  
    7078       # Commands to make compiler produce verbose output that lists 
    7079       # what "hidden" libraries, object files and flags are used when 
    7080       # linking a shared library. 
    7081       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 
    7082  
    7083     else 
    7084       GXX=no 
    7085       with_gnu_ld=no 
    7086       wlarc= 
    7087     fi 
    7088  
    7089     # PORTME: fill in a description of your system's C++ link characteristics 
    7090     AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) 
    7091     _LT_TAGVAR(ld_shlibs, $1)=yes 
    7092     case $host_os in 
    7093       aix3*) 
    7094         # FIXME: insert proper C++ library support 
    7095         _LT_TAGVAR(ld_shlibs, $1)=no 
    7096         ;; 
    7097       aix[[4-9]]*) 
    7098         if test "$host_cpu" = ia64; then 
    7099           # On IA64, the linker does run time linking by default, so we don't 
    7100           # have to do anything special. 
    7101           aix_use_runtimelinking=no 
    7102           exp_sym_flag='-Bexport' 
    7103           no_entry_flag="" 
    7104         else 
    7105           aix_use_runtimelinking=no 
    7106  
    7107           # Test if we are trying to use run time linking or normal 
    7108           # AIX style linking. If -brtl is somewhere in LDFLAGS, we 
    7109           # need to do runtime linking. 
    7110           case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) 
    7111             for ld_flag in $LDFLAGS; do 
    7112               case $ld_flag in 
    7113               *-brtl*) 
    7114                 aix_use_runtimelinking=yes 
    7115                 break 
    7116                 ;; 
    7117               esac 
    7118             done 
    7119             ;; 
    7120           esac 
    7121  
    7122           exp_sym_flag='-bexport' 
    7123           no_entry_flag='-bnoentry' 
    7124         fi 
    7125  
    7126         # When large executables or shared objects are built, AIX ld can 
    7127         # have problems creating the table of contents.  If linking a library 
    7128         # or program results in "error TOC overflow" add -mminimal-toc to 
    7129         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not 
    7130         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 
    7131  
    7132         _LT_TAGVAR(archive_cmds, $1)='' 
    7133         _LT_TAGVAR(hardcode_direct, $1)=yes 
    7134         _LT_TAGVAR(hardcode_direct_absolute, $1)=yes 
    7135         _LT_TAGVAR(hardcode_libdir_separator, $1)=':' 
    7136         _LT_TAGVAR(link_all_deplibs, $1)=yes 
    7137         _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' 
    7138  
    7139         if test "$GXX" = yes; then 
    7140           case $host_os in aix4.[[012]]|aix4.[[012]].*) 
    7141           # We only want to do this on AIX 4.2 and lower, the check 
    7142           # below for broken collect2 doesn't work under 4.3+ 
    7143           collect2name=`${CC} -print-prog-name=collect2` 
    7144           if test -f "$collect2name" && 
    7145              strings "$collect2name" | $GREP resolve_lib_name >/dev/null 
    7146           then 
    7147             # We have reworked collect2 
    7148             : 
    7149           else 
    7150             # We have old collect2 
    7151             _LT_TAGVAR(hardcode_direct, $1)=unsupported 
    7152             # It fails to find uninstalled libraries when the uninstalled 
    7153             # path is not listed in the libpath.  Setting hardcode_minus_L 
    7154             # to unsupported forces relinking 
    7155             _LT_TAGVAR(hardcode_minus_L, $1)=yes 
    7156             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' 
    7157             _LT_TAGVAR(hardcode_libdir_separator, $1)= 
    7158           fi 
    7159           esac 
    7160           shared_flag='-shared' 
    7161           if test "$aix_use_runtimelinking" = yes; then 
    7162             shared_flag="$shared_flag "'${wl}-G' 
    7163           fi 
    7164         else 
    7165           # not using gcc 
    7166           if test "$host_cpu" = ia64; then 
    7167           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 
    7168           # chokes on -Wl,-G. The following line is correct: 
    7169           shared_flag='-G' 
    7170           else 
    7171             if test "$aix_use_runtimelinking" = yes; then 
    7172               shared_flag='${wl}-G' 
    7173             else 
    7174               shared_flag='${wl}-bM:SRE' 
    7175             fi 
    7176           fi 
    7177         fi 
    7178  
    7179         # It seems that -bexpall does not export symbols beginning with 
    7180         # underscore (_), so it is better to generate a list of symbols to 
    7181         # export. 
    7182         _LT_TAGVAR(always_export_symbols, $1)=yes 
    7183         if test "$aix_use_runtimelinking" = yes; then 
    7184           # Warning - without using the other runtime loading flags (-brtl), 
    7185           # -berok will link without error, but may produce a broken library. 
    7186           _LT_TAGVAR(allow_undefined_flag, $1)='-berok' 
    7187           # Determine the default libpath from the value encoded in an empty 
    7188           # executable. 
    7189           _LT_SYS_MODULE_PATH_AIX 
    7190           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" 
    7191  
    7192           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 
    7193         else 
    7194           if test "$host_cpu" = ia64; then 
    7195             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' 
    7196             _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" 
    7197             _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" 
    7198           else 
    7199             # Determine the default libpath from the value encoded in an 
    7200             # empty executable. 
    7201             _LT_SYS_MODULE_PATH_AIX 
    7202             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" 
    7203             # Warning - without using the other run time loading flags, 
    7204             # -berok will link without error, but may produce a broken library. 
    7205             _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' 
    7206             _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' 
    7207             # Exported symbols can be pulled into shared objects from archives 
    7208             _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' 
    7209             _LT_TAGVAR(archive_cmds_need_lc, $1)=yes 
    7210             # This is similar to how AIX traditionally builds its shared 
    7211             # libraries. 
    7212             _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 
    7213           fi 
    7214         fi 
    7215         ;; 
    7216  
    7217       beos*) 
    7218         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 
    7219           _LT_TAGVAR(allow_undefined_flag, $1)=unsupported 
    7220           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 
    7221           # support --undefined.  This deserves some investigation.  FIXME 
    7222           _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
    7223         else 
    7224           _LT_TAGVAR(ld_shlibs, $1)=no 
    7225         fi 
    7226         ;; 
    7227  
    7228       chorus*) 
    7229         case $cc_basename in 
    7230           *) 
    7231           # FIXME: insert proper C++ library support 
    7232           _LT_TAGVAR(ld_shlibs, $1)=no 
    7233           ;; 
    7234         esac 
    7235         ;; 
    7236  
    7237       cygwin* | mingw* | pw32*) 
    7238         # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, 
    7239         # as there is no search path for DLLs. 
    7240         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' 
    7241         _LT_TAGVAR(allow_undefined_flag, $1)=unsupported 
    7242         _LT_TAGVAR(always_export_symbols, $1)=no 
    7243         _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes 
    7244  
    7245         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 
    7246           _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 
    7247           # If the export-symbols file already is a .def file (1st line 
    7248           # is EXPORTS), use it as is; otherwise, prepend... 
    7249           _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 
    7250             cp $export_symbols $output_objdir/$soname.def; 
    7251           else 
    7252             echo EXPORTS > $output_objdir/$soname.def; 
    7253             cat $export_symbols >> $output_objdir/$soname.def; 
    7254           fi~ 
    7255           $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 
    7256         else 
    7257           _LT_TAGVAR(ld_shlibs, $1)=no 
    7258         fi 
    7259         ;; 
    7260       darwin* | rhapsody*) 
    7261         _LT_DARWIN_LINKER_FEATURES($1) 
    7262         ;; 
    7263  
    7264       dgux*) 
    7265         case $cc_basename in 
    7266           ec++*) 
    7267             # FIXME: insert proper C++ library support 
    7268             _LT_TAGVAR(ld_shlibs, $1)=no 
    7269             ;; 
    7270           ghcx*) 
    7271             # Green Hills C++ Compiler 
    7272             # FIXME: insert proper C++ library support 
    7273             _LT_TAGVAR(ld_shlibs, $1)=no 
    7274             ;; 
    7275           *) 
    7276             # FIXME: insert proper C++ library support 
    7277             _LT_TAGVAR(ld_shlibs, $1)=no 
    7278             ;; 
    7279         esac 
    7280         ;; 
    7281  
    7282       freebsd[[12]]*) 
    7283         # C++ shared libraries reported to be fairly broken before 
    7284         # switch to ELF 
    7285         _LT_TAGVAR(ld_shlibs, $1)=no 
    7286         ;; 
    7287  
    7288       freebsd-elf*) 
    7289         _LT_TAGVAR(archive_cmds_need_lc, $1)=no 
    7290         ;; 
    7291  
    7292       freebsd* | dragonfly*) 
    7293         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 
    7294         # conventions 
    7295         _LT_TAGVAR(ld_shlibs, $1)=yes 
    7296         ;; 
    7297  
    7298       gnu*) 
    7299         ;; 
    7300  
    7301       hpux9*) 
    7302         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' 
    7303         _LT_TAGVAR(hardcode_libdir_separator, $1)=: 
    7304         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 
    7305         _LT_TAGVAR(hardcode_direct, $1)=yes 
    7306         _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, 
    7307                                              # but as the default 
    7308                                              # location of the library. 
    7309  
    7310         case $cc_basename in 
    7311           CC*) 
    7312             # FIXME: insert proper C++ library support 
    7313             _LT_TAGVAR(ld_shlibs, $1)=no 
    7314             ;; 
    7315           aCC*) 
    7316             _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 
    7317             # Commands to make compiler produce verbose output that lists 
    7318             # what "hidden" libraries, object files and flags are used when 
    7319             # linking a shared library. 
    7320             # 
    7321             # There doesn't appear to be a way to prevent this compiler from 
    7322             # explicitly linking system object files so we need to strip them 
    7323             # from the output so that they don't get included in the library 
    7324             # dependencies. 
    7325             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' 
    7326             ;; 
    7327           *) 
    7328             if test "$GXX" = yes; then 
    7329               _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 
    7330             else 
    7331               # FIXME: insert proper C++ library support 
    7332               _LT_TAGVAR(ld_shlibs, $1)=no 
    7333             fi 
    7334             ;; 
    7335         esac 
    7336         ;; 
    7337  
    7338       hpux10*|hpux11*) 
    7339         if test $with_gnu_ld = no; then 
    7340           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' 
    7341           _LT_TAGVAR(hardcode_libdir_separator, $1)=: 
    7342  
    7343           case $host_cpu in 
    7344             hppa*64*|ia64*) 
    7345               ;; 
    7346             *) 
    7347               _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 
    7348               ;; 
    7349           esac 
    7350         fi 
    7351         case $host_cpu in 
    7352           hppa*64*|ia64*) 
    7353             _LT_TAGVAR(hardcode_direct, $1)=no 
    7354             _LT_TAGVAR(hardcode_shlibpath_var, $1)=no 
    7355             ;; 
    7356           *) 
    7357             _LT_TAGVAR(hardcode_direct, $1)=yes 
    7358             _LT_TAGVAR(hardcode_direct_absolute, $1)=yes 
    7359             _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, 
    7360                                                  # but as the default 
    7361                                                  # location of the library. 
    7362             ;; 
    7363         esac 
    7364  
    7365         case $cc_basename in 
    7366           CC*) 
    7367             # FIXME: insert proper C++ library support 
    7368             _LT_TAGVAR(ld_shlibs, $1)=no 
    7369             ;; 
    7370           aCC*) 
    7371             case $host_cpu in 
    7372               hppa*64*) 
    7373                 _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 
    7374                 ;; 
    7375               ia64*) 
    7376                 _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 
    7377                 ;; 
    7378               *) 
    7379                 _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 
    7380                 ;; 
    7381             esac 
    7382             # Commands to make compiler produce verbose output that lists 
    7383             # what "hidden" libraries, object files and flags are used when 
    7384             # linking a shared library. 
    7385             # 
    7386             # There doesn't appear to be a way to prevent this compiler from 
    7387             # explicitly linking system object files so we need to strip them 
    7388             # from the output so that they don't get included in the library 
    7389             # dependencies. 
    7390             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' 
    7391             ;; 
    7392           *) 
    7393             if test "$GXX" = yes; then 
    7394               if test $with_gnu_ld = no; then 
    7395                 case $host_cpu in 
    7396                   hppa*64*) 
    7397                     _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 
    7398                     ;; 
    7399                   ia64*) 
    7400                     _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 
    7401                     ;; 
    7402                   *) 
    7403                     _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 
    7404                     ;; 
    7405                 esac 
    7406               fi 
    7407             else 
    7408               # FIXME: insert proper C++ library support 
    7409               _LT_TAGVAR(ld_shlibs, $1)=no 
    7410             fi 
    7411             ;; 
    7412         esac 
    7413         ;; 
    7414  
    7415       interix[[3-9]]*) 
    7416         _LT_TAGVAR(hardcode_direct, $1)=no 
    7417         _LT_TAGVAR(hardcode_shlibpath_var, $1)=no 
    7418         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 
    7419         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 
    7420         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 
    7421         # Instead, shared libraries are loaded at an image base (0x10000000 by 
    7422         # default) and relocated if they conflict, which is a slow very memory 
    7423         # consuming and fragmenting process.  To avoid this, we pick a random, 
    7424         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 
    7425         # time.  Moving up from 0x10000000 also allows more sbrk(2) space. 
    7426         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 
    7427         _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 
    7428         ;; 
    7429       irix5* | irix6*) 
    7430         case $cc_basename in 
    7431           CC*) 
    7432             # SGI C++ 
    7433             _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 
    7434  
    7435             # Archives containing C++ object files must be created using 
    7436             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is 
    7437             # necessary to make sure instantiated templates are included 
    7438             # in the archive. 
    7439             _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' 
    7440             ;; 
    7441           *) 
    7442             if test "$GXX" = yes; then 
    7443               if test "$with_gnu_ld" = no; then 
    7444                 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 
    7445               else 
    7446                 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib' 
    7447               fi 
    7448             fi 
    7449             _LT_TAGVAR(link_all_deplibs, $1)=yes 
    7450             ;; 
    7451         esac 
    7452         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 
    7453         _LT_TAGVAR(hardcode_libdir_separator, $1)=: 
    7454         _LT_TAGVAR(inherit_rpath, $1)=yes 
    7455         ;; 
    7456  
    7457       linux* | k*bsd*-gnu) 
    7458         case $cc_basename in 
    7459           KCC*) 
    7460             # Kuck and Associates, Inc. (KAI) C++ Compiler 
    7461  
    7462             # KCC will only create a shared library if the output file 
    7463             # ends with ".so" (or ".sl" for HP-UX), so rename the library 
    7464             # to its proper name (with version) after linking. 
    7465             _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 
    7466             _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' 
    7467             # Commands to make compiler produce verbose output that lists 
    7468             # what "hidden" libraries, object files and flags are used when 
    7469             # linking a shared library. 
    7470             # 
    7471             # There doesn't appear to be a way to prevent this compiler from 
    7472             # explicitly linking system object files so we need to strip them 
    7473             # from the output so that they don't get included in the library 
    7474             # dependencies. 
    7475             output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' 
    7476  
    7477             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 
    7478             _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' 
    7479  
    7480             # Archives containing C++ object files must be created using 
    7481             # "CC -Bstatic", where "CC" is the KAI C++ compiler. 
    7482             _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' 
    7483             ;; 
    7484           icpc* | ecpc* ) 
    7485             # Intel C++ 
    7486             with_gnu_ld=yes 
    7487             # version 8.0 and above of icpc choke on multiply defined symbols 
    7488             # if we add $predep_objects and $postdep_objects, however 7.1 and 
    7489             # earlier do not add the objects themselves. 
    7490             case `$CC -V 2>&1` in 
    7491               *"Version 7."*) 
    7492                 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 
    7493                 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 
    7494                 ;; 
    7495               *)  # Version 8.0 or newer 
    7496                 tmp_idyn= 
    7497                 case $host_cpu in 
    7498                   ia64*) tmp_idyn=' -i_dynamic';; 
    7499                 esac 
    7500                 _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
    7501                 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 
    7502                 ;; 
    7503             esac 
    7504             _LT_TAGVAR(archive_cmds_need_lc, $1)=no 
    7505             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 
    7506             _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' 
    7507             _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 
    7508             ;; 
    7509           pgCC* | pgcpp*) 
    7510             # Portland Group C++ compiler 
    7511             case `$CC -V` in 
    7512             *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*) 
    7513               _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~ 
    7514                 rm -rf $tpldir~ 
    7515                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 
    7516                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"' 
    7517               _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~ 
    7518                 rm -rf $tpldir~ 
    7519                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 
    7520                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~ 
    7521                 $RANLIB $oldlib' 
    7522               _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~ 
    7523                 rm -rf $tpldir~ 
    7524                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 
    7525                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 
    7526               _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~ 
    7527                 rm -rf $tpldir~ 
    7528                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 
    7529                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 
    7530               ;; 
    7531             *) # Version 6 will use weak symbols 
    7532               _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 
    7533               _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 
    7534               ;; 
    7535             esac 
    7536  
    7537             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' 
    7538             _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' 
    7539             _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' 
    7540             ;; 
    7541           cxx*) 
    7542             # Compaq C++ 
    7543             _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 
    7544             _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols' 
    7545  
    7546             runpath_var=LD_RUN_PATH 
    7547             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' 
    7548             _LT_TAGVAR(hardcode_libdir_separator, $1)=: 
    7549  
    7550             # Commands to make compiler produce verbose output that lists 
    7551             # what "hidden" libraries, object files and flags are used when 
    7552             # linking a shared library. 
    7553             # 
    7554             # There doesn't appear to be a way to prevent this compiler from 
    7555             # explicitly linking system object files so we need to strip them 
    7556             # from the output so that they don't get included in the library 
    7557             # dependencies. 
    7558             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' 
    7559             ;; 
    7560           xl*) 
    7561             # IBM XL 8.0 on PPC, with GNU ld 
    7562             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 
    7563             _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' 
    7564             _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
    7565             if test "x$supports_anon_versioning" = xyes; then 
    7566               _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ 
    7567                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 
    7568                 echo "local: *; };" >> $output_objdir/$libname.ver~ 
    7569                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 
    7570             fi 
    7571             ;; 
    7572           *) 
    7573             case `$CC -V 2>&1 | sed 5q` in 
    7574             *Sun\ C*) 
    7575               # Sun C++ 5.9 
    7576               _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' 
    7577               _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 
    7578               _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' 
    7579               _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' 
    7580               _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' 
    7581               _LT_TAGVAR(compiler_needs_object, $1)=yes 
    7582  
    7583               # Not sure whether something based on 
    7584               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 
    7585               # would be better. 
    7586               output_verbose_link_cmd='echo' 
    7587  
    7588               # Archives containing C++ object files must be created using 
    7589               # "CC -xar", where "CC" is the Sun C++ compiler.  This is 
    7590               # necessary to make sure instantiated templates are included 
    7591               # in the archive. 
    7592               _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' 
    7593               ;; 
    7594             esac 
    7595             ;; 
    7596         esac 
    7597         ;; 
    7598  
    7599       lynxos*) 
    7600         # FIXME: insert proper C++ library support 
    7601         _LT_TAGVAR(ld_shlibs, $1)=no 
    7602         ;; 
    7603  
    7604       m88k*) 
    7605         # FIXME: insert proper C++ library support 
    7606         _LT_TAGVAR(ld_shlibs, $1)=no 
    7607         ;; 
    7608  
    7609       mvs*) 
    7610         case $cc_basename in 
    7611           cxx*) 
    7612             # FIXME: insert proper C++ library support 
    7613             _LT_TAGVAR(ld_shlibs, $1)=no 
    7614             ;; 
    7615           *) 
    7616             # FIXME: insert proper C++ library support 
    7617             _LT_TAGVAR(ld_shlibs, $1)=no 
    7618             ;; 
    7619         esac 
    7620         ;; 
    7621  
    7622       netbsd*) 
    7623         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 
    7624           _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 
    7625           wlarc= 
    7626           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' 
    7627           _LT_TAGVAR(hardcode_direct, $1)=yes 
    7628           _LT_TAGVAR(hardcode_shlibpath_var, $1)=no 
    7629         fi 
    7630         # Workaround some broken pre-1.5 toolchains 
    7631         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 
    7632         ;; 
    7633  
    7634       *nto* | *qnx*) 
    7635         _LT_TAGVAR(ld_shlibs, $1)=yes 
    7636         ;; 
    7637  
    7638       openbsd2*) 
    7639         # C++ shared libraries are fairly broken 
    7640         _LT_TAGVAR(ld_shlibs, $1)=no 
    7641         ;; 
    7642  
    7643       openbsd*) 
    7644         if test -f /usr/libexec/ld.so; then 
    7645           _LT_TAGVAR(hardcode_direct, $1)=yes 
    7646           _LT_TAGVAR(hardcode_shlibpath_var, $1)=no 
    7647           _LT_TAGVAR(hardcode_direct_absolute, $1)=yes 
    7648           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 
    7649           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 
    7650           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
    7651             _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' 
    7652             _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 
    7653             _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 
    7654           fi 
    7655           output_verbose_link_cmd=echo 
    7656         else 
    7657           _LT_TAGVAR(ld_shlibs, $1)=no 
    7658         fi 
    7659         ;; 
    7660  
    7661       osf3* | osf4* | osf5*) 
    7662         case $cc_basename in 
    7663           KCC*) 
    7664             # Kuck and Associates, Inc. (KAI) C++ Compiler 
    7665  
    7666             # KCC will only create a shared library if the output file 
    7667             # ends with ".so" (or ".sl" for HP-UX), so rename the library 
    7668             # to its proper name (with version) after linking. 
    7669             _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 
    7670  
    7671             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 
    7672             _LT_TAGVAR(hardcode_libdir_separator, $1)=: 
    7673  
    7674             # Archives containing C++ object files must be created using 
    7675             # the KAI C++ compiler. 
    7676             case $host in 
    7677               osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; 
    7678               *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;; 
    7679             esac 
    7680             ;; 
    7681           RCC*) 
    7682             # Rational C++ 2.4.1 
    7683             # FIXME: insert proper C++ library support 
    7684             _LT_TAGVAR(ld_shlibs, $1)=no 
    7685             ;; 
    7686           cxx*) 
    7687             case $host in 
    7688               osf3*) 
    7689                 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' 
    7690                 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 
    7691                 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 
    7692                 ;; 
    7693               *) 
    7694                 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' 
    7695                 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 
    7696                 _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 
    7697                   echo "-hidden">> $lib.exp~ 
    7698                   $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~ 
    7699                   $RM $lib.exp' 
    7700                 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' 
    7701                 ;; 
    7702             esac 
    7703  
    7704             _LT_TAGVAR(hardcode_libdir_separator, $1)=: 
    7705  
    7706             # Commands to make compiler produce verbose output that lists 
    7707             # what "hidden" libraries, object files and flags are used when 
    7708             # linking a shared library. 
    7709             # 
    7710             # There doesn't appear to be a way to prevent this compiler from 
    7711             # explicitly linking system object files so we need to strip them 
    7712             # from the output so that they don't get included in the library 
    7713             # dependencies. 
    7714             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' 
    7715             ;; 
    7716           *) 
    7717             if test "$GXX" = yes && test "$with_gnu_ld" = no; then 
    7718               _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' 
    7719               case $host in 
    7720                 osf3*) 
    7721                   _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 
    7722                   ;; 
    7723                 *) 
    7724                   _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 
    7725                   ;; 
    7726               esac 
    7727  
    7728               _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 
    7729               _LT_TAGVAR(hardcode_libdir_separator, $1)=: 
    7730  
    7731               # Commands to make compiler produce verbose output that lists 
    7732               # what "hidden" libraries, object files and flags are used when 
    7733               # linking a shared library. 
    7734               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 
    7735  
    7736             else 
    7737               # FIXME: insert proper C++ library support 
    7738               _LT_TAGVAR(ld_shlibs, $1)=no 
    7739             fi 
    7740             ;; 
    7741         esac 
    7742         ;; 
    7743  
    7744       psos*) 
    7745         # FIXME: insert proper C++ library support 
    7746         _LT_TAGVAR(ld_shlibs, $1)=no 
    7747         ;; 
    7748  
    7749       sunos4*) 
    7750         case $cc_basename in 
    7751           CC*) 
    7752             # Sun C++ 4.x 
    7753             # FIXME: insert proper C++ library support 
    7754             _LT_TAGVAR(ld_shlibs, $1)=no 
    7755             ;; 
    7756           lcc*) 
    7757             # Lucid 
    7758             # FIXME: insert proper C++ library support 
    7759             _LT_TAGVAR(ld_shlibs, $1)=no 
    7760             ;; 
    7761           *) 
    7762             # FIXME: insert proper C++ library support 
    7763             _LT_TAGVAR(ld_shlibs, $1)=no 
    7764             ;; 
    7765         esac 
    7766         ;; 
    7767  
    7768       solaris*) 
    7769         case $cc_basename in 
    7770           CC*) 
    7771             # Sun C++ 4.2, 5.x and Centerline C++ 
    7772             _LT_TAGVAR(archive_cmds_need_lc,$1)=yes 
    7773             _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' 
    7774             _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 
    7775             _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 
    7776               $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 
    7777  
    7778             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' 
    7779             _LT_TAGVAR(hardcode_shlibpath_var, $1)=no 
    7780             case $host_os in 
    7781               solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; 
    7782               *) 
    7783                 # The compiler driver will combine and reorder linker options, 
    7784                 # but understands `-z linker_flag'. 
    7785                 # Supported since Solaris 2.6 (maybe 2.5.1?) 
    7786                 _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' 
    7787                 ;; 
    7788             esac 
    7789             _LT_TAGVAR(link_all_deplibs, $1)=yes 
    7790  
    7791             output_verbose_link_cmd='echo' 
    7792  
    7793             # Archives containing C++ object files must be created using 
    7794             # "CC -xar", where "CC" is the Sun C++ compiler.  This is 
    7795             # necessary to make sure instantiated templates are included 
    7796             # in the archive. 
    7797             _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' 
    7798             ;; 
    7799           gcx*) 
    7800             # Green Hills C++ Compiler 
    7801             _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 
    7802  
    7803             # The C++ compiler must be used to create the archive. 
    7804             _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 
    7805             ;; 
    7806           *) 
    7807             # GNU C++ compiler with Solaris linker 
    7808             if test "$GXX" = yes && test "$with_gnu_ld" = no; then 
    7809               _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' 
    7810               if $CC --version | $GREP -v '^2\.7' > /dev/null; then 
    7811                 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 
    7812                 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 
    7813                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 
    7814  
    7815                 # Commands to make compiler produce verbose output that lists 
    7816                 # what "hidden" libraries, object files and flags are used when 
    7817                 # linking a shared library. 
    7818                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 
    7819               else 
    7820                 # g++ 2.7 appears to require `-G' NOT `-shared' on this 
    7821                 # platform. 
    7822                 _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 
    7823                 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 
    7824                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 
    7825  
    7826                 # Commands to make compiler produce verbose output that lists 
    7827                 # what "hidden" libraries, object files and flags are used when 
    7828                 # linking a shared library. 
    7829                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 
    7830               fi 
    7831  
    7832               _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' 
    7833               case $host_os in 
    7834                 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; 
    7835                 *) 
    7836                   _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 
    7837                   ;; 
    7838               esac 
    7839             fi 
    7840             ;; 
    7841         esac 
    7842         ;; 
    7843  
    7844     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) 
    7845       _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' 
    7846       _LT_TAGVAR(archive_cmds_need_lc, $1)=no 
    7847       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no 
    7848       runpath_var='LD_RUN_PATH' 
    7849  
    7850       case $cc_basename in 
    7851         CC*) 
    7852           _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
    7853           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
    7854           ;; 
    7855         *) 
    7856           _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
    7857           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
    7858           ;; 
    7859       esac 
    7860       ;; 
    7861  
    7862       sysv5* | sco3.2v5* | sco5v6*) 
    7863         # Note: We can NOT use -z defs as we might desire, because we do not 
    7864         # link with -lc, and that would cause any symbols used from libc to 
    7865         # always be unresolved, which means just about no library would 
    7866         # ever link correctly.  If we're not using GNU ld we use -z text 
    7867         # though, which does catch some bad symbols but isn't as heavy-handed 
    7868         # as -z defs. 
    7869         _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' 
    7870         _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' 
    7871         _LT_TAGVAR(archive_cmds_need_lc, $1)=no 
    7872         _LT_TAGVAR(hardcode_shlibpath_var, $1)=no 
    7873         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' 
    7874         _LT_TAGVAR(hardcode_libdir_separator, $1)=':' 
    7875         _LT_TAGVAR(link_all_deplibs, $1)=yes 
    7876         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' 
    7877         runpath_var='LD_RUN_PATH' 
    7878  
    7879         case $cc_basename in 
    7880           CC*) 
    7881             _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
    7882             _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
    7883             ;; 
    7884           *) 
    7885             _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
    7886             _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
    7887             ;; 
    7888         esac 
    7889       ;; 
    7890  
    7891       tandem*) 
    7892         case $cc_basename in 
    7893           NCC*) 
    7894             # NonStop-UX NCC 3.20 
    7895             # FIXME: insert proper C++ library support 
    7896             _LT_TAGVAR(ld_shlibs, $1)=no 
    7897             ;; 
    7898           *) 
    7899             # FIXME: insert proper C++ library support 
    7900             _LT_TAGVAR(ld_shlibs, $1)=no 
    7901             ;; 
    7902         esac 
    7903         ;; 
    7904  
    7905       vxworks*) 
    7906         # FIXME: insert proper C++ library support 
    7907         _LT_TAGVAR(ld_shlibs, $1)=no 
    7908         ;; 
    7909  
    7910       *) 
    7911         # FIXME: insert proper C++ library support 
    7912         _LT_TAGVAR(ld_shlibs, $1)=no 
    7913         ;; 
    7914     esac 
    7915  
    7916     AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) 
    7917     test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no 
    7918  
    7919     _LT_TAGVAR(GCC, $1)="$GXX" 
    7920     _LT_TAGVAR(LD, $1)="$LD" 
    7921  
    7922     ## CAVEAT EMPTOR: 
    7923     ## There is no encapsulation within the following macros, do not change 
    7924     ## the running order or otherwise move them around unless you know exactly 
    7925     ## what you are doing... 
    7926     _LT_SYS_HIDDEN_LIBDEPS($1) 
    7927     _LT_COMPILER_PIC($1) 
    7928     _LT_COMPILER_C_O($1) 
    7929     _LT_COMPILER_FILE_LOCKS($1) 
    7930     _LT_LINKER_SHLIBS($1) 
    7931     _LT_SYS_DYNAMIC_LINKER($1) 
    7932     _LT_LINKER_HARDCODE_LIBPATH($1) 
    7933  
    7934     _LT_CONFIG($1) 
    7935   fi # test -n "$compiler" 
    7936  
    7937   CC=$lt_save_CC 
    7938   LDCXX=$LD 
    7939   LD=$lt_save_LD 
    7940   GCC=$lt_save_GCC 
    7941   with_gnu_ld=$lt_save_with_gnu_ld 
    7942   lt_cv_path_LDCXX=$lt_cv_path_LD 
    7943   lt_cv_path_LD=$lt_save_path_LD 
    7944   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 
    7945   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 
    7946 fi # test "$_lt_caught_CXX_error" != yes 
    7947  
    7948 AC_LANG_POP 
    7949 ])# _LT_LANG_CXX_CONFIG 
    7950  
    7951  
    7952 # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME]) 
    7953 # --------------------------------- 
    7954 # Figure out "hidden" library dependencies from verbose 
    7955 # compiler output when linking a shared library. 
    7956 # Parse the compiler output and extract the necessary 
    7957 # objects, libraries and library flags. 
    7958 m4_defun([_LT_SYS_HIDDEN_LIBDEPS], 
    7959 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl 
    7960 # Dependencies to place before and after the object being linked: 
    7961 _LT_TAGVAR(predep_objects, $1)= 
    7962 _LT_TAGVAR(postdep_objects, $1)= 
    7963 _LT_TAGVAR(predeps, $1)= 
    7964 _LT_TAGVAR(postdeps, $1)= 
    7965 _LT_TAGVAR(compiler_lib_search_path, $1)= 
    7966  
    7967 dnl we can't use the lt_simple_compile_test_code here, 
    7968 dnl because it contains code intended for an executable, 
    7969 dnl not a library.  It's possible we should let each 
    7970 dnl tag define a new lt_????_link_test_code variable, 
    7971 dnl but it's only used here... 
    7972 m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF 
    7973 int a; 
    7974 void foo (void) { a = 0; } 
    7975 _LT_EOF 
    7976 ], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF 
    7977 class Foo 
    7978 { 
    7979 public: 
    7980   Foo (void) { a = 0; } 
    7981 private: 
    7982   int a; 
    7983 }; 
    7984 _LT_EOF 
    7985 ], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF 
    7986       subroutine foo 
    7987       implicit none 
    7988       integer*4 a 
    7989       a=0 
    7990       return 
    7991       end 
    7992 _LT_EOF 
    7993 ], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF 
    7994       subroutine foo 
    7995       implicit none 
    7996       integer a 
    7997       a=0 
    7998       return 
    7999       end 
    8000 _LT_EOF 
    8001 ], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF 
    8002 public class foo { 
    8003   private int a; 
    8004   public void bar (void) { 
    8005     a = 0; 
    8006   } 
    8007 }; 
    8008 _LT_EOF 
    8009 ]) 
    8010 dnl Parse the compiler output and extract the necessary 
    8011 dnl objects, libraries and library flags. 
    8012 if AC_TRY_EVAL(ac_compile); then 
    8013   # Parse the compiler output and extract the necessary 
    8014   # objects, libraries and library flags. 
    8015  
    8016   # Sentinel used to keep track of whether or not we are before 
    8017   # the conftest object file. 
    8018   pre_test_object_deps_done=no 
    8019  
    8020   for p in `eval "$output_verbose_link_cmd"`; do 
    8021     case $p in 
    8022  
    8023     -L* | -R* | -l*) 
    8024        # Some compilers place space between "-{L,R}" and the path. 
    8025        # Remove the space. 
    8026        if test $p = "-L" || 
    8027           test $p = "-R"; then 
    8028          prev=$p 
    8029          continue 
    8030        else 
    8031          prev= 
    8032        fi 
    8033  
    8034        if test "$pre_test_object_deps_done" = no; then 
    8035          case $p in 
    8036          -L* | -R*) 
    8037            # Internal compiler library paths should come after those 
    8038            # provided the user.  The postdeps already come after the 
    8039            # user supplied libs so there is no need to process them. 
    8040            if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then 
    8041              _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}" 
    8042            else 
    8043              _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}" 
    8044            fi 
    8045            ;; 
    8046          # The "-l" case would never come before the object being 
    8047          # linked, so don't bother handling this case. 
    8048          esac 
    8049        else 
    8050          if test -z "$_LT_TAGVAR(postdeps, $1)"; then 
    8051            _LT_TAGVAR(postdeps, $1)="${prev}${p}" 
    8052          else 
    8053            _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}" 
    8054          fi 
    8055        fi 
    8056        ;; 
    8057  
    8058     *.$objext) 
    8059        # This assumes that the test object file only shows up 
    8060        # once in the compiler output. 
    8061        if test "$p" = "conftest.$objext"; then 
    8062          pre_test_object_deps_done=yes 
    8063          continue 
    8064        fi 
    8065  
    8066        if test "$pre_test_object_deps_done" = no; then 
    8067          if test -z "$_LT_TAGVAR(predep_objects, $1)"; then 
    8068            _LT_TAGVAR(predep_objects, $1)="$p" 
    8069          else 
    8070            _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p" 
    8071          fi 
    8072        else 
    8073          if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then 
    8074            _LT_TAGVAR(postdep_objects, $1)="$p" 
    8075          else 
    8076            _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p" 
    8077          fi 
    8078        fi 
    8079        ;; 
    8080  
    8081     *) ;; # Ignore the rest. 
    8082  
    8083     esac 
    8084   done 
    8085  
    8086   # Clean up. 
    8087   rm -f a.out a.exe 
    8088 else 
    8089   echo "libtool.m4: error: problem compiling $1 test program" 
    8090 fi 
    8091  
    8092 $RM -f confest.$objext 
    8093  
    8094 # PORTME: override above test on systems where it is broken 
    8095 m4_if([$1], [CXX], 
    8096 [case $host_os in 
    8097 interix[[3-9]]*) 
    8098   # Interix 3.5 installs completely hosed .la files for C++, so rather than 
    8099   # hack all around it, let's just trust "g++" to DTRT. 
    8100   _LT_TAGVAR(predep_objects,$1)= 
    8101   _LT_TAGVAR(postdep_objects,$1)= 
    8102   _LT_TAGVAR(postdeps,$1)= 
    8103   ;; 
    8104  
    8105 linux*) 
    8106   case `$CC -V 2>&1 | sed 5q` in 
    8107   *Sun\ C*) 
    8108     # Sun C++ 5.9 
    8109  
    8110     # The more standards-conforming stlport4 library is 
    8111     # incompatible with the Cstd library. Avoid specifying 
    8112     # it if it's in CXXFLAGS. Ignore libCrun as 
    8113     # -library=stlport4 depends on it. 
    8114     case " $CXX $CXXFLAGS " in 
    8115     *" -library=stlport4 "*) 
    8116       solaris_use_stlport4=yes 
    8117       ;; 
    8118     esac 
    8119  
    8120     if test "$solaris_use_stlport4" != yes; then 
    8121       _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' 
    8122     fi 
    8123     ;; 
    8124   esac 
    8125   ;; 
    8126  
    8127 solaris*) 
    8128   case $cc_basename in 
    8129   CC*) 
    8130     # The more standards-conforming stlport4 library is 
    8131     # incompatible with the Cstd library. Avoid specifying 
    8132     # it if it's in CXXFLAGS. Ignore libCrun as 
    8133     # -library=stlport4 depends on it. 
    8134     case " $CXX $CXXFLAGS " in 
    8135     *" -library=stlport4 "*) 
    8136       solaris_use_stlport4=yes 
    8137       ;; 
    8138     esac 
    8139  
    8140     # Adding this requires a known-good setup of shared libraries for 
    8141     # Sun compiler versions before 5.6, else PIC objects from an old 
    8142     # archive will be linked into the output, leading to subtle bugs. 
    8143     if test "$solaris_use_stlport4" != yes; then 
    8144       _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' 
    8145     fi 
    8146     ;; 
    8147   esac 
    8148   ;; 
    8149 esac 
    8150 ]) 
    8151  
    8152 case " $_LT_TAGVAR(postdeps, $1) " in 
    8153 *" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; 
    8154 esac 
    8155  _LT_TAGVAR(compiler_lib_search_dirs, $1)= 
    8156 if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then 
    8157  _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` 
    8158 fi 
    8159 _LT_TAGDECL([], [compiler_lib_search_dirs], [1], 
    8160     [The directories searched by this compiler when creating a shared library]) 
    8161 _LT_TAGDECL([], [predep_objects], [1], 
    8162     [Dependencies to place before and after the objects being linked to 
    8163     create a shared library]) 
    8164 _LT_TAGDECL([], [postdep_objects], [1]) 
    8165 _LT_TAGDECL([], [predeps], [1]) 
    8166 _LT_TAGDECL([], [postdeps], [1]) 
    8167 _LT_TAGDECL([], [compiler_lib_search_path], [1], 
    8168     [The library search path used internally by the compiler when linking 
    8169     a shared library]) 
    8170 ])# _LT_SYS_HIDDEN_LIBDEPS 
    8171  
    8172  
    8173 # _LT_PROG_F77 
    8174 # ------------ 
    8175 # Since AC_PROG_F77 is broken, in that it returns the empty string 
    8176 # if there is no fortran compiler, we have our own version here. 
    8177 m4_defun([_LT_PROG_F77], 
    8178 [ 
    8179 pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes]) 
    8180 AC_PROG_F77 
    8181 if test -z "$F77" || test "X$F77" = "Xno"; then 
    8182   _lt_disable_F77=yes 
    8183 fi 
    8184 popdef([AC_MSG_ERROR]) 
    8185 ])# _LT_PROG_F77 
    8186  
    8187 dnl aclocal-1.4 backwards compatibility: 
    8188 dnl AC_DEFUN([_LT_PROG_F77], []) 
    8189  
    8190  
    8191 # _LT_LANG_F77_CONFIG([TAG]) 
    8192 # -------------------------- 
    8193 # Ensure that the configuration variables for a Fortran 77 compiler are 
    8194 # suitably defined.  These variables are subsequently used by _LT_CONFIG 
    8195 # to write the compiler configuration to `libtool'. 
    8196 m4_defun([_LT_LANG_F77_CONFIG], 
    8197 [AC_REQUIRE([_LT_PROG_F77])dnl 
    8198 AC_LANG_PUSH(Fortran 77) 
    8199  
    8200 _LT_TAGVAR(archive_cmds_need_lc, $1)=no 
    8201 _LT_TAGVAR(allow_undefined_flag, $1)= 
    8202 _LT_TAGVAR(always_export_symbols, $1)=no 
    8203 _LT_TAGVAR(archive_expsym_cmds, $1)= 
    8204 _LT_TAGVAR(export_dynamic_flag_spec, $1)= 
    8205 _LT_TAGVAR(hardcode_direct, $1)=no 
    8206 _LT_TAGVAR(hardcode_direct_absolute, $1)=no 
    8207 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= 
    8208 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= 
    8209 _LT_TAGVAR(hardcode_libdir_separator, $1)= 
    8210 _LT_TAGVAR(hardcode_minus_L, $1)=no 
    8211 _LT_TAGVAR(hardcode_automatic, $1)=no 
    8212 _LT_TAGVAR(inherit_rpath, $1)=no 
    8213 _LT_TAGVAR(module_cmds, $1)= 
    8214 _LT_TAGVAR(module_expsym_cmds, $1)= 
    8215 _LT_TAGVAR(link_all_deplibs, $1)=unknown 
    8216 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds 
    8217 _LT_TAGVAR(no_undefined_flag, $1)= 
    8218 _LT_TAGVAR(whole_archive_flag_spec, $1)= 
    8219 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no 
    8220  
    8221 # Source file extension for f77 test sources. 
    8222 ac_ext=f 
    8223  
    8224 # Object file extension for compiled f77 test sources. 
    8225 objext=o 
    8226 _LT_TAGVAR(objext, $1)=$objext 
    8227  
    8228 # No sense in running all these tests if we already determined that 
    8229 # the F77 compiler isn't working.  Some variables (like enable_shared) 
    8230 # are currently assumed to apply to all compilers on this platform, 
    8231 # and will be corrupted by setting them based on a non-working compiler. 
    8232 if test "$_lt_disable_F77" != yes; then 
    8233   # Code to be used in simple compile tests 
    8234   lt_simple_compile_test_code="\ 
    8235       subroutine t 
    8236       return 
    8237       end 
    8238 " 
    8239  
    8240   # Code to be used in simple link tests 
    8241   lt_simple_link_test_code="\ 
    8242       program t 
    8243       end 
    8244 " 
    8245  
    8246   # ltmain only uses $CC for tagged configurations so make sure $CC is set. 
    8247   _LT_TAG_COMPILER 
    8248  
    8249   # save warnings/boilerplate of simple test code 
    8250   _LT_COMPILER_BOILERPLATE 
    8251   _LT_LINKER_BOILERPLATE 
    8252  
    8253   # Allow CC to be a program name with arguments. 
    8254   lt_save_CC="$CC" 
    8255   lt_save_GCC=$GCC 
    8256   CC=${F77-"f77"} 
    8257   compiler=$CC 
    8258   _LT_TAGVAR(compiler, $1)=$CC 
    8259   _LT_CC_BASENAME([$compiler]) 
    8260   GCC=$G77 
    8261   if test -n "$compiler"; then 
    8262     AC_MSG_CHECKING([if libtool supports shared libraries]) 
    8263     AC_MSG_RESULT([$can_build_shared]) 
    8264  
    8265     AC_MSG_CHECKING([whether to build shared libraries]) 
    8266     test "$can_build_shared" = "no" && enable_shared=no 
    8267  
    8268     # On AIX, shared libraries and static libraries use the same namespace, and 
    8269     # are all built from PIC. 
    8270     case $host_os in 
    8271       aix3*) 
    8272         test "$enable_shared" = yes && enable_static=no 
    8273         if test -n "$RANLIB"; then 
    8274           archive_cmds="$archive_cmds~\$RANLIB \$lib" 
    8275           postinstall_cmds='$RANLIB $lib' 
    8276         fi 
    8277         ;; 
    8278       aix[[4-9]]*) 
    8279         if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 
    8280           test "$enable_shared" = yes && enable_static=no 
    8281         fi 
    8282         ;; 
    8283     esac 
    8284     AC_MSG_RESULT([$enable_shared]) 
    8285  
    8286     AC_MSG_CHECKING([whether to build static libraries]) 
    8287     # Make sure either enable_shared or enable_static is yes. 
    8288     test "$enable_shared" = yes || enable_static=yes 
    8289     AC_MSG_RESULT([$enable_static]) 
    8290  
    8291     _LT_TAGVAR(GCC, $1)="$G77" 
    8292     _LT_TAGVAR(LD, $1)="$LD" 
    8293  
    8294     ## CAVEAT EMPTOR: 
    8295     ## There is no encapsulation within the following macros, do not change 
    8296     ## the running order or otherwise move them around unless you know exactly 
    8297     ## what you are doing... 
    8298     _LT_COMPILER_PIC($1) 
    8299     _LT_COMPILER_C_O($1) 
    8300     _LT_COMPILER_FILE_LOCKS($1) 
    8301     _LT_LINKER_SHLIBS($1) 
    8302     _LT_SYS_DYNAMIC_LINKER($1) 
    8303     _LT_LINKER_HARDCODE_LIBPATH($1) 
    8304  
    8305     _LT_CONFIG($1) 
    8306   fi # test -n "$compiler" 
    8307  
    8308   GCC=$lt_save_GCC 
    8309   CC="$lt_save_CC" 
    8310 fi # test "$_lt_disable_F77" != yes 
    8311  
    8312 AC_LANG_POP 
    8313 ])# _LT_LANG_F77_CONFIG 
    8314  
    8315  
    8316 # _LT_PROG_FC 
    8317 # ----------- 
    8318 # Since AC_PROG_FC is broken, in that it returns the empty string 
    8319 # if there is no fortran compiler, we have our own version here. 
    8320 m4_defun([_LT_PROG_FC], 
    8321 [ 
    8322 pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes]) 
    8323 AC_PROG_FC 
    8324 if test -z "$FC" || test "X$FC" = "Xno"; then 
    8325   _lt_disable_FC=yes 
    8326 fi 
    8327 popdef([AC_MSG_ERROR]) 
    8328 ])# _LT_PROG_FC 
    8329  
    8330 dnl aclocal-1.4 backwards compatibility: 
    8331 dnl AC_DEFUN([_LT_PROG_FC], []) 
    8332  
    8333  
    8334 # _LT_LANG_FC_CONFIG([TAG]) 
    8335 # ------------------------- 
    8336 # Ensure that the configuration variables for a Fortran compiler are 
    8337 # suitably defined.  These variables are subsequently used by _LT_CONFIG 
    8338 # to write the compiler configuration to `libtool'. 
    8339 m4_defun([_LT_LANG_FC_CONFIG], 
    8340 [AC_REQUIRE([_LT_PROG_FC])dnl 
    8341 AC_LANG_PUSH(Fortran) 
    8342  
    8343 _LT_TAGVAR(archive_cmds_need_lc, $1)=no 
    8344 _LT_TAGVAR(allow_undefined_flag, $1)= 
    8345 _LT_TAGVAR(always_export_symbols, $1)=no 
    8346 _LT_TAGVAR(archive_expsym_cmds, $1)= 
    8347 _LT_TAGVAR(export_dynamic_flag_spec, $1)= 
    8348 _LT_TAGVAR(hardcode_direct, $1)=no 
    8349 _LT_TAGVAR(hardcode_direct_absolute, $1)=no 
    8350 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= 
    8351 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= 
    8352 _LT_TAGVAR(hardcode_libdir_separator, $1)= 
    8353 _LT_TAGVAR(hardcode_minus_L, $1)=no 
    8354 _LT_TAGVAR(hardcode_automatic, $1)=no 
    8355 _LT_TAGVAR(inherit_rpath, $1)=no 
    8356 _LT_TAGVAR(module_cmds, $1)= 
    8357 _LT_TAGVAR(module_expsym_cmds, $1)= 
    8358 _LT_TAGVAR(link_all_deplibs, $1)=unknown 
    8359 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds 
    8360 _LT_TAGVAR(no_undefined_flag, $1)= 
    8361 _LT_TAGVAR(whole_archive_flag_spec, $1)= 
    8362 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no 
    8363  
    8364 # Source file extension for fc test sources. 
    8365 ac_ext=${ac_fc_srcext-f} 
    8366  
    8367 # Object file extension for compiled fc test sources. 
    8368 objext=o 
    8369 _LT_TAGVAR(objext, $1)=$objext 
    8370  
    8371 # No sense in running all these tests if we already determined that 
    8372 # the FC compiler isn't working.  Some variables (like enable_shared) 
    8373 # are currently assumed to apply to all compilers on this platform, 
    8374 # and will be corrupted by setting them based on a non-working compiler. 
    8375 if test "$_lt_disable_FC" != yes; then 
    8376   # Code to be used in simple compile tests 
    8377   lt_simple_compile_test_code="\ 
    8378       subroutine t 
    8379       return 
    8380       end 
    8381 " 
    8382  
    8383   # Code to be used in simple link tests 
    8384   lt_simple_link_test_code="\ 
    8385       program t 
    8386       end 
    8387 " 
    8388  
    8389   # ltmain only uses $CC for tagged configurations so make sure $CC is set. 
    8390   _LT_TAG_COMPILER 
    8391  
    8392   # save warnings/boilerplate of simple test code 
    8393   _LT_COMPILER_BOILERPLATE 
    8394   _LT_LINKER_BOILERPLATE 
    8395  
    8396   # Allow CC to be a program name with arguments. 
    8397   lt_save_CC="$CC" 
    8398   lt_save_GCC=$GCC 
    8399   CC=${FC-"f95"} 
    8400   compiler=$CC 
    8401   GCC=$ac_cv_fc_compiler_gnu 
    8402  
    8403   _LT_TAGVAR(compiler, $1)=$CC 
    8404   _LT_CC_BASENAME([$compiler]) 
    8405  
    8406   if test -n "$compiler"; then 
    8407     AC_MSG_CHECKING([if libtool supports shared libraries]) 
    8408     AC_MSG_RESULT([$can_build_shared]) 
    8409  
    8410     AC_MSG_CHECKING([whether to build shared libraries]) 
    8411     test "$can_build_shared" = "no" && enable_shared=no 
    8412  
    8413     # On AIX, shared libraries and static libraries use the same namespace, and 
    8414     # are all built from PIC. 
    8415     case $host_os in 
    8416       aix3*) 
    8417         test "$enable_shared" = yes && enable_static=no 
    8418         if test -n "$RANLIB"; then 
    8419           archive_cmds="$archive_cmds~\$RANLIB \$lib" 
    8420           postinstall_cmds='$RANLIB $lib' 
    8421         fi 
    8422         ;; 
    8423       aix[[4-9]]*) 
    8424         if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 
    8425           test "$enable_shared" = yes && enable_static=no 
    8426         fi 
    8427         ;; 
    8428     esac 
    8429     AC_MSG_RESULT([$enable_shared]) 
    8430  
    8431     AC_MSG_CHECKING([whether to build static libraries]) 
    8432     # Make sure either enable_shared or enable_static is yes. 
    8433     test "$enable_shared" = yes || enable_static=yes 
    8434     AC_MSG_RESULT([$enable_static]) 
    8435  
    8436     _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu" 
    8437     _LT_TAGVAR(LD, $1)="$LD" 
    8438  
    8439     ## CAVEAT EMPTOR: 
    8440     ## There is no encapsulation within the following macros, do not change 
    8441     ## the running order or otherwise move them around unless you know exactly 
    8442     ## what you are doing... 
    8443     _LT_SYS_HIDDEN_LIBDEPS($1) 
    8444     _LT_COMPILER_PIC($1) 
    8445     _LT_COMPILER_C_O($1) 
    8446     _LT_COMPILER_FILE_LOCKS($1) 
    8447     _LT_LINKER_SHLIBS($1) 
    8448     _LT_SYS_DYNAMIC_LINKER($1) 
    8449     _LT_LINKER_HARDCODE_LIBPATH($1) 
    8450  
    8451     _LT_CONFIG($1) 
    8452   fi # test -n "$compiler" 
    8453  
    8454   GCC=$lt_save_GCC 
    8455   CC="$lt_save_CC" 
    8456 fi # test "$_lt_disable_FC" != yes 
    8457  
    8458 AC_LANG_POP 
    8459 ])# _LT_LANG_FC_CONFIG 
    8460  
    8461  
    8462 # _LT_LANG_GCJ_CONFIG([TAG]) 
    8463 # -------------------------- 
    8464 # Ensure that the configuration variables for the GNU Java Compiler compiler 
    8465 # are suitably defined.  These variables are subsequently used by _LT_CONFIG 
    8466 # to write the compiler configuration to `libtool'. 
    8467 m4_defun([_LT_LANG_GCJ_CONFIG], 
    8468 [AC_REQUIRE([LT_PROG_GCJ])dnl 
    8469 AC_LANG_SAVE 
    8470  
    8471 # Source file extension for Java test sources. 
    8472 ac_ext=java 
    8473  
    8474 # Object file extension for compiled Java test sources. 
    8475 objext=o 
    8476 _LT_TAGVAR(objext, $1)=$objext 
    8477  
    8478 # Code to be used in simple compile tests 
    8479 lt_simple_compile_test_code="class foo {}" 
    8480  
    8481 # Code to be used in simple link tests 
    8482 lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }' 
    8483  
    8484 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 
    8485 _LT_TAG_COMPILER 
    8486  
    8487 # save warnings/boilerplate of simple test code 
    8488 _LT_COMPILER_BOILERPLATE 
    8489 _LT_LINKER_BOILERPLATE 
    8490  
    8491 # Allow CC to be a program name with arguments. 
    8492 lt_save_CC="$CC" 
    8493 lt_save_GCC=$GCC 
    8494 GCC=yes 
    8495 CC=${GCJ-"gcj"} 
    8496 compiler=$CC 
    8497 _LT_TAGVAR(compiler, $1)=$CC 
    8498 _LT_TAGVAR(LD, $1)="$LD" 
    8499 _LT_CC_BASENAME([$compiler]) 
    8500  
    8501 # GCJ did not exist at the time GCC didn't implicitly link libc in. 
    8502 _LT_TAGVAR(archive_cmds_need_lc, $1)=no 
    8503  
    8504 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds 
    8505  
    8506 if test -n "$compiler"; then 
    8507   _LT_COMPILER_NO_RTTI($1) 
    8508   _LT_COMPILER_PIC($1) 
    8509   _LT_COMPILER_C_O($1) 
    8510   _LT_COMPILER_FILE_LOCKS($1) 
    8511   _LT_LINKER_SHLIBS($1) 
    8512   _LT_LINKER_HARDCODE_LIBPATH($1) 
    8513  
    8514   _LT_CONFIG($1) 
    8515 fi 
    8516  
    8517 AC_LANG_RESTORE 
    8518  
    8519 GCC=$lt_save_GCC 
    8520 CC="$lt_save_CC" 
    8521 ])# _LT_LANG_GCJ_CONFIG 
    8522  
    8523  
    8524 # _LT_LANG_RC_CONFIG([TAG]) 
    8525 # ------------------------- 
    8526 # Ensure that the configuration variables for the Windows resource compiler 
    8527 # are suitably defined.  These variables are subsequently used by _LT_CONFIG 
    8528 # to write the compiler configuration to `libtool'. 
    8529 m4_defun([_LT_LANG_RC_CONFIG], 
    8530 [AC_REQUIRE([LT_PROG_RC])dnl 
    8531 AC_LANG_SAVE 
    8532  
    8533 # Source file extension for RC test sources. 
    8534 ac_ext=rc 
    8535  
    8536 # Object file extension for compiled RC test sources. 
    8537 objext=o 
    8538 _LT_TAGVAR(objext, $1)=$objext 
    8539  
    8540 # Code to be used in simple compile tests 
    8541 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' 
    8542  
    8543 # Code to be used in simple link tests 
    8544 lt_simple_link_test_code="$lt_simple_compile_test_code" 
    8545  
    8546 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 
    8547 _LT_TAG_COMPILER 
    8548  
    8549 # save warnings/boilerplate of simple test code 
    8550 _LT_COMPILER_BOILERPLATE 
    8551 _LT_LINKER_BOILERPLATE 
    8552  
    8553 # Allow CC to be a program name with arguments. 
    8554 lt_save_CC="$CC" 
    8555 lt_save_GCC=$GCC 
    8556 GCC= 
    8557 CC=${RC-"windres"} 
    8558 compiler=$CC 
    8559 _LT_TAGVAR(compiler, $1)=$CC 
    8560 _LT_CC_BASENAME([$compiler]) 
    8561 _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes 
    8562  
    8563 if test -n "$compiler"; then 
    8564   : 
    8565   _LT_CONFIG($1) 
    8566 fi 
    8567  
    8568 GCC=$lt_save_GCC 
    8569 AC_LANG_RESTORE 
    8570 CC="$lt_save_CC" 
    8571 ])# _LT_LANG_RC_CONFIG 
    8572  
    8573  
    8574 # LT_PROG_GCJ 
    8575 # ----------- 
    8576 AC_DEFUN([LT_PROG_GCJ], 
    8577 [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ], 
    8578   [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ], 
    8579     [AC_CHECK_TOOL(GCJ, gcj,) 
    8580       test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" 
    8581       AC_SUBST(GCJFLAGS)])])[]dnl 
    8582 ]) 
    8583  
    8584 # Old name: 
    8585 AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ]) 
    8586 dnl aclocal-1.4 backwards compatibility: 
    8587 dnl AC_DEFUN([LT_AC_PROG_GCJ], []) 
    8588  
    8589  
    8590 # LT_PROG_RC 
    8591 # ---------- 
    8592 AC_DEFUN([LT_PROG_RC], 
    8593 [AC_CHECK_TOOL(RC, windres,) 
    8594 ]) 
    8595  
    8596 # Old name: 
    8597 AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC]) 
    8598 dnl aclocal-1.4 backwards compatibility: 
    8599 dnl AC_DEFUN([LT_AC_PROG_RC], []) 
    8600  
    8601  
    8602 # _LT_DECL_EGREP 
    8603 # -------------- 
    8604 # If we don't have a new enough Autoconf to choose the best grep 
    8605 # available, choose the one first in the user's PATH. 
    8606 m4_defun([_LT_DECL_EGREP], 
    8607 [AC_REQUIRE([AC_PROG_EGREP])dnl 
    8608 AC_REQUIRE([AC_PROG_FGREP])dnl 
    8609 test -z "$GREP" && GREP=grep 
    8610 _LT_DECL([], [GREP], [1], [A grep program that handles long lines]) 
    8611 _LT_DECL([], [EGREP], [1], [An ERE matcher]) 
    8612 _LT_DECL([], [FGREP], [1], [A literal string matcher]) 
    8613 dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too 
    8614 AC_SUBST([GREP]) 
    8615 ]) 
    8616  
    8617  
    8618 # _LT_DECL_SED 
    8619 # ------------ 
    8620 # Check for a fully-functional sed program, that truncates 
    8621 # as few characters as possible.  Prefer GNU sed if found. 
    8622 m4_defun([_LT_DECL_SED], 
    8623 [AC_PROG_SED 
    8624 test -z "$SED" && SED=sed 
    8625 Xsed="$SED -e 1s/^X//" 
    8626 _LT_DECL([], [SED], [1], [A sed program that does not truncate output]) 
    8627 _LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"], 
    8628     [Sed that helps us avoid accidentally triggering echo(1) options like -n]) 
    8629 ])# _LT_DECL_SED 
    8630  
    8631 m4_ifndef([AC_PROG_SED], [ 
    8632 # NOTE: This macro has been submitted for inclusion into   # 
    8633 #  GNU Autoconf as AC_PROG_SED.  When it is available in   # 
    8634 #  a released version of Autoconf we should remove this    # 
    8635 #  macro and use it instead.                               # 
    8636  
    8637 m4_defun([AC_PROG_SED], 
    8638 [AC_MSG_CHECKING([for a sed that does not truncate output]) 
    8639 AC_CACHE_VAL(lt_cv_path_SED, 
    8640 [# Loop through the user's path and test for sed and gsed. 
    8641 # Then use that list of sed's as ones to test for truncation. 
    8642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    8643 for as_dir in $PATH 
    8644 do 
    8645   IFS=$as_save_IFS 
    8646   test -z "$as_dir" && as_dir=. 
    8647   for lt_ac_prog in sed gsed; do 
    8648     for ac_exec_ext in '' $ac_executable_extensions; do 
    8649       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then 
    8650         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" 
    8651       fi 
    8652     done 
    8653   done 
    8654 done 
    8655 IFS=$as_save_IFS 
    8656 lt_ac_max=0 
    8657 lt_ac_count=0 
    8658 # Add /usr/xpg4/bin/sed as it is typically found on Solaris 
    8659 # along with /bin/sed that truncates output. 
    8660 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do 
    8661   test ! -f $lt_ac_sed && continue 
    8662   cat /dev/null > conftest.in 
    8663   lt_ac_count=0 
    8664   echo $ECHO_N "0123456789$ECHO_C" >conftest.in 
    8665   # Check for GNU sed and select it if it is found. 
    8666   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then 
    8667     lt_cv_path_SED=$lt_ac_sed 
    8668     break 
    8669   fi 
    8670   while true; do 
    8671     cat conftest.in conftest.in >conftest.tmp 
    8672     mv conftest.tmp conftest.in 
    8673     cp conftest.in conftest.nl 
    8674     echo >>conftest.nl 
    8675     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break 
    8676     cmp -s conftest.out conftest.nl || break 
    8677     # 10000 chars as input seems more than enough 
    8678     test $lt_ac_count -gt 10 && break 
    8679     lt_ac_count=`expr $lt_ac_count + 1` 
    8680     if test $lt_ac_count -gt $lt_ac_max; then 
    8681       lt_ac_max=$lt_ac_count 
    8682       lt_cv_path_SED=$lt_ac_sed 
    8683     fi 
    8684   done 
    8685 done 
    8686 ]) 
    8687 SED=$lt_cv_path_SED 
    8688 AC_SUBST([SED]) 
    8689 AC_MSG_RESULT([$SED]) 
    8690 ])#AC_PROG_SED 
    8691 ])#m4_ifndef 
    8692  
    8693 # Old name: 
    8694 AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED]) 
    8695 dnl aclocal-1.4 backwards compatibility: 
    8696 dnl AC_DEFUN([LT_AC_PROG_SED], []) 
    8697  
    8698  
    8699 # _LT_CHECK_SHELL_FEATURES 
    8700 # ------------------------ 
    8701 # Find out whether the shell is Bourne or XSI compatible, 
    8702 # or has some other useful features. 
    8703 m4_defun([_LT_CHECK_SHELL_FEATURES], 
    8704 [AC_MSG_CHECKING([whether the shell understands some XSI constructs]) 
    8705 # Try some XSI features 
    8706 xsi_shell=no 
    8707 ( _lt_dummy="a/b/c" 
    8708   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ 
    8709       = c,a/b,, \ 
    8710     && eval 'test $(( 1 + 1 )) -eq 2 \ 
    8711     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 
    8712   && xsi_shell=yes 
    8713 AC_MSG_RESULT([$xsi_shell]) 
    8714 _LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell']) 
    8715  
    8716 AC_MSG_CHECKING([whether the shell understands "+="]) 
    8717 lt_shell_append=no 
    8718 ( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \ 
    8719     >/dev/null 2>&1 \ 
    8720   && lt_shell_append=yes 
    8721 AC_MSG_RESULT([$lt_shell_append]) 
    8722 _LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append']) 
    8723  
    8724 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 
    8725   lt_unset=unset 
    8726 else 
    8727   lt_unset=false 
    8728 fi 
    8729 _LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl 
    8730  
    8731 # test EBCDIC or ASCII 
    8732 case `echo X|tr X '\101'` in 
    8733  A) # ASCII based system 
    8734     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 
    8735   lt_SP2NL='tr \040 \012' 
    8736   lt_NL2SP='tr \015\012 \040\040' 
    8737   ;; 
    8738  *) # EBCDIC based system 
    8739   lt_SP2NL='tr \100 \n' 
    8740   lt_NL2SP='tr \r\n \100\100' 
    8741   ;; 
    8742 esac 
    8743 _LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl 
    8744 _LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl 
    8745 ])# _LT_CHECK_SHELL_FEATURES 
    8746  
    8747  
    8748 # _LT_PROG_XSI_SHELLFNS 
    8749 # --------------------- 
    8750 # Bourne and XSI compatible variants of some useful shell functions. 
    8751 m4_defun([_LT_PROG_XSI_SHELLFNS], 
    8752 [case $xsi_shell in 
    8753   yes) 
    8754     cat << \_LT_EOF >> "$cfgfile" 
    8755  
    8756 # func_dirname file append nondir_replacement 
    8757 # Compute the dirname of FILE.  If nonempty, add APPEND to the result, 
    8758 # otherwise set result to NONDIR_REPLACEMENT. 
    8759 func_dirname () 
    8760 { 
    8761   case ${1} in 
    8762     */*) func_dirname_result="${1%/*}${2}" ;; 
    8763     *  ) func_dirname_result="${3}" ;; 
    8764   esac 
    8765 } 
    8766  
    8767 # func_basename file 
    8768 func_basename () 
    8769 { 
    8770   func_basename_result="${1##*/}" 
    8771 } 
    8772  
    8773 # func_dirname_and_basename file append nondir_replacement 
    8774 # perform func_basename and func_dirname in a single function 
    8775 # call: 
    8776 #   dirname:  Compute the dirname of FILE.  If nonempty, 
    8777 #             add APPEND to the result, otherwise set result 
    8778 #             to NONDIR_REPLACEMENT. 
    8779 #             value returned in "$func_dirname_result" 
    8780 #   basename: Compute filename of FILE. 
    8781 #             value retuned in "$func_basename_result" 
    8782 # Implementation must be kept synchronized with func_dirname 
    8783 # and func_basename. For efficiency, we do not delegate to 
    8784 # those functions but instead duplicate the functionality here. 
    8785 func_dirname_and_basename () 
    8786 { 
    8787   case ${1} in 
    8788     */*) func_dirname_result="${1%/*}${2}" ;; 
    8789     *  ) func_dirname_result="${3}" ;; 
    8790   esac 
    8791   func_basename_result="${1##*/}" 
    8792 } 
    8793  
    8794 # func_stripname prefix suffix name 
    8795 # strip PREFIX and SUFFIX off of NAME. 
    8796 # PREFIX and SUFFIX must not contain globbing or regex special 
    8797 # characters, hashes, percent signs, but SUFFIX may contain a leading 
    8798 # dot (in which case that matches only a dot). 
    8799 func_stripname () 
    8800 { 
    8801   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 
    8802   # positional parameters, so assign one to ordinary parameter first. 
    8803   func_stripname_result=${3} 
    8804   func_stripname_result=${func_stripname_result#"${1}"} 
    8805   func_stripname_result=${func_stripname_result%"${2}"} 
    8806 } 
    8807  
    8808 # func_opt_split 
    8809 func_opt_split () 
    8810 { 
    8811   func_opt_split_opt=${1%%=*} 
    8812   func_opt_split_arg=${1#*=} 
    8813 } 
    8814  
    8815 # func_lo2o object 
    8816 func_lo2o () 
    8817 { 
    8818   case ${1} in 
    8819     *.lo) func_lo2o_result=${1%.lo}.${objext} ;; 
    8820     *)    func_lo2o_result=${1} ;; 
    8821   esac 
    8822 } 
    8823  
    8824 # func_xform libobj-or-source 
    8825 func_xform () 
    8826 { 
    8827   func_xform_result=${1%.*}.lo 
    8828 } 
    8829  
    8830 # func_arith arithmetic-term... 
    8831 func_arith () 
    8832 { 
    8833   func_arith_result=$(( $[*] )) 
    8834 } 
    8835  
    8836 # func_len string 
    8837 # STRING may not start with a hyphen. 
    8838 func_len () 
    8839 { 
    8840   func_len_result=${#1} 
    8841 } 
    8842  
    8843 _LT_EOF 
    8844     ;; 
    8845   *) # Bourne compatible functions. 
    8846     cat << \_LT_EOF >> "$cfgfile" 
    8847  
    8848 # func_dirname file append nondir_replacement 
    8849 # Compute the dirname of FILE.  If nonempty, add APPEND to the result, 
    8850 # otherwise set result to NONDIR_REPLACEMENT. 
    8851 func_dirname () 
    8852 { 
    8853   # Extract subdirectory from the argument. 
    8854   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` 
    8855   if test "X$func_dirname_result" = "X${1}"; then 
    8856     func_dirname_result="${3}" 
    8857   else 
    8858     func_dirname_result="$func_dirname_result${2}" 
    8859   fi 
    8860 } 
    8861  
    8862 # func_basename file 
    8863 func_basename () 
    8864 { 
    8865   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` 
    8866 } 
    8867  
    8868 dnl func_dirname_and_basename 
    8869 dnl A portable version of this function is already defined in general.m4sh 
    8870 dnl so there is no need for it here. 
    8871  
    8872 # func_stripname prefix suffix name 
    8873 # strip PREFIX and SUFFIX off of NAME. 
    8874 # PREFIX and SUFFIX must not contain globbing or regex special 
    8875 # characters, hashes, percent signs, but SUFFIX may contain a leading 
    8876 # dot (in which case that matches only a dot). 
    8877 # func_strip_suffix prefix name 
    8878 func_stripname () 
    8879 { 
    8880   case ${2} in 
    8881     .*) func_stripname_result=`$ECHO "X${3}" \ 
    8882            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; 
    8883     *)  func_stripname_result=`$ECHO "X${3}" \ 
    8884            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; 
    8885   esac 
    8886 } 
    8887  
    8888 # sed scripts: 
    8889 my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q' 
    8890 my_sed_long_arg='1s/^-[[^=]]*=//' 
    8891  
    8892 # func_opt_split 
    8893 func_opt_split () 
    8894 { 
    8895   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` 
    8896   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` 
    8897 } 
    8898  
    8899 # func_lo2o object 
    8900 func_lo2o () 
    8901 { 
    8902   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` 
    8903 } 
    8904  
    8905 # func_xform libobj-or-source 
    8906 func_xform () 
    8907 { 
    8908   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'` 
    8909 } 
    8910  
    8911 # func_arith arithmetic-term... 
    8912 func_arith () 
    8913 { 
    8914   func_arith_result=`expr "$[@]"` 
    8915 } 
    8916  
    8917 # func_len string 
    8918 # STRING may not start with a hyphen. 
    8919 func_len () 
    8920 { 
    8921   func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len` 
    8922 } 
    8923  
    8924 _LT_EOF 
    8925 esac 
    8926  
    8927 case $lt_shell_append in 
    8928   yes) 
    8929     cat << \_LT_EOF >> "$cfgfile" 
    8930  
    8931 # func_append var value 
    8932 # Append VALUE to the end of shell variable VAR. 
    8933 func_append () 
    8934 { 
    8935   eval "$[1]+=\$[2]" 
    8936 } 
    8937 _LT_EOF 
    8938     ;; 
    8939   *) 
    8940     cat << \_LT_EOF >> "$cfgfile" 
    8941  
    8942 # func_append var value 
    8943 # Append VALUE to the end of shell variable VAR. 
    8944 func_append () 
    8945 { 
    8946   eval "$[1]=\$$[1]\$[2]" 
    8947 } 
    8948  
    8949 _LT_EOF 
    8950     ;; 
    8951   esac 
    8952 ]) 
    8953  
    8954 # Helper functions for option handling.                    -*- Autoconf -*- 
    8955 # 
    8956 #   Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. 
    8957 #   Written by Gary V. Vaughan, 2004 
    8958 # 
    8959 # This file is free software; the Free Software Foundation gives 
    8960 # unlimited permission to copy and/or distribute it, with or without 
    8961 # modifications, as long as this notice is preserved. 
    8962  
    8963 # serial 6 ltoptions.m4 
    8964  
    8965 # This is to help aclocal find these macros, as it can't see m4_define. 
    8966 AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) 
    8967  
    8968  
    8969 # _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) 
    8970 # ------------------------------------------ 
    8971 m4_define([_LT_MANGLE_OPTION], 
    8972 [[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])]) 
    8973  
    8974  
    8975 # _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) 
    8976 # --------------------------------------- 
    8977 # Set option OPTION-NAME for macro MACRO-NAME, and if there is a 
    8978 # matching handler defined, dispatch to it.  Other OPTION-NAMEs are 
    8979 # saved as a flag. 
    8980 m4_define([_LT_SET_OPTION], 
    8981 [m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl 
    8982 m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]), 
    8983         _LT_MANGLE_DEFUN([$1], [$2]), 
    8984     [m4_warning([Unknown $1 option `$2'])])[]dnl 
    8985 ]) 
    8986  
    8987  
    8988 # _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) 
    8989 # ------------------------------------------------------------ 
    8990 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. 
    8991 m4_define([_LT_IF_OPTION], 
    8992 [m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])]) 
    8993  
    8994  
    8995 # _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) 
    8996 # ------------------------------------------------------- 
    8997 # Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME 
    8998 # are set. 
    8999 m4_define([_LT_UNLESS_OPTIONS], 
    9000 [m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), 
    9001             [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option), 
    9002                       [m4_define([$0_found])])])[]dnl 
    9003 m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3 
    9004 ])[]dnl 
    9005 ]) 
    9006  
    9007  
    9008 # _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) 
    9009 # ---------------------------------------- 
    9010 # OPTION-LIST is a space-separated list of Libtool options associated 
    9011 # with MACRO-NAME.  If any OPTION has a matching handler declared with 
    9012 # LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about 
    9013 # the unknown option and exit. 
    9014 m4_defun([_LT_SET_OPTIONS], 
    9015 [# Set options 
    9016 m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), 
    9017     [_LT_SET_OPTION([$1], _LT_Option)]) 
    9018  
    9019 m4_if([$1],[LT_INIT],[ 
    9020   dnl 
    9021   dnl Simply set some default values (i.e off) if boolean options were not 
    9022   dnl specified: 
    9023   _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no 
    9024   ]) 
    9025   _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no 
    9026   ]) 
    9027   dnl 
    9028   dnl If no reference was made to various pairs of opposing options, then 
    9029   dnl we run the default mode handler for the pair.  For example, if neither 
    9030   dnl `shared' nor `disable-shared' was passed, we enable building of shared 
    9031   dnl archives by default: 
    9032   _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) 
    9033   _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC]) 
    9034   _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) 
    9035   _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install], 
    9036                    [_LT_ENABLE_FAST_INSTALL]) 
    9037   ]) 
    9038 ])# _LT_SET_OPTIONS 
    9039  
    9040  
    9041  
    9042 # _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) 
    9043 # ----------------------------------------- 
    9044 m4_define([_LT_MANGLE_DEFUN], 
    9045 [[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])]) 
    9046  
    9047  
    9048 # LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) 
    9049 # ----------------------------------------------- 
    9050 m4_define([LT_OPTION_DEFINE], 
    9051 [m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl 
    9052 ])# LT_OPTION_DEFINE 
    9053  
    9054  
    9055 # dlopen 
    9056 # ------ 
    9057 LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes 
    9058 ]) 
    9059  
    9060 AU_DEFUN([AC_LIBTOOL_DLOPEN], 
    9061 [_LT_SET_OPTION([LT_INIT], [dlopen]) 
    9062 AC_DIAGNOSE([obsolete], 
    9063 [$0: Remove this warning and the call to _LT_SET_OPTION when you 
    9064 put the `dlopen' option into LT_INIT's first parameter.]) 
    9065 ]) 
    9066  
    9067 dnl aclocal-1.4 backwards compatibility: 
    9068 dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], []) 
    9069  
    9070  
    9071 # win32-dll 
    9072 # --------- 
    9073 # Declare package support for building win32 dll's. 
    9074 LT_OPTION_DEFINE([LT_INIT], [win32-dll], 
    9075 [enable_win32_dll=yes 
    9076  
    9077 case $host in 
    9078 *-*-cygwin* | *-*-mingw* | *-*-pw32*) 
    9079   AC_CHECK_TOOL(AS, as, false) 
    9080   AC_CHECK_TOOL(DLLTOOL, dlltool, false) 
    9081   AC_CHECK_TOOL(OBJDUMP, objdump, false) 
    9082   ;; 
    9083 esac 
    9084  
    9085 test -z "$AS" && AS=as 
    9086 _LT_DECL([], [AS],      [0], [Assembler program])dnl 
    9087  
    9088 test -z "$DLLTOOL" && DLLTOOL=dlltool 
    9089 _LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl 
    9090  
    9091 test -z "$OBJDUMP" && OBJDUMP=objdump 
    9092 _LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl 
    9093 ])# win32-dll 
    9094  
    9095 AU_DEFUN([AC_LIBTOOL_WIN32_DLL], 
    9096 [AC_REQUIRE([AC_CANONICAL_HOST])dnl 
    9097 _LT_SET_OPTION([LT_INIT], [win32-dll]) 
    9098 AC_DIAGNOSE([obsolete], 
    9099 [$0: Remove this warning and the call to _LT_SET_OPTION when you 
    9100 put the `win32-dll' option into LT_INIT's first parameter.]) 
    9101 ]) 
    9102  
    9103 dnl aclocal-1.4 backwards compatibility: 
    9104 dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], []) 
    9105  
    9106  
    9107 # _LT_ENABLE_SHARED([DEFAULT]) 
    9108 # ---------------------------- 
    9109 # implement the --enable-shared flag, and supports the `shared' and 
    9110 # `disable-shared' LT_INIT options. 
    9111 # DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'. 
    9112 m4_define([_LT_ENABLE_SHARED], 
    9113 [m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl 
    9114 AC_ARG_ENABLE([shared], 
    9115     [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@], 
    9116         [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])], 
    9117     [p=${PACKAGE-default} 
    9118     case $enableval in 
    9119     yes) enable_shared=yes ;; 
    9120     no) enable_shared=no ;; 
    9121     *) 
    9122       enable_shared=no 
    9123       # Look at the argument we got.  We use all the common list separators. 
    9124       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 
    9125       for pkg in $enableval; do 
    9126         IFS="$lt_save_ifs" 
    9127         if test "X$pkg" = "X$p"; then 
    9128           enable_shared=yes 
    9129         fi 
    9130       done 
    9131       IFS="$lt_save_ifs" 
    9132       ;; 
    9133     esac], 
    9134     [enable_shared=]_LT_ENABLE_SHARED_DEFAULT) 
    9135  
    9136     _LT_DECL([build_libtool_libs], [enable_shared], [0], 
    9137         [Whether or not to build shared libraries]) 
    9138 ])# _LT_ENABLE_SHARED 
    9139  
    9140 LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])]) 
    9141 LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])]) 
    9142  
    9143 # Old names: 
    9144 AC_DEFUN([AC_ENABLE_SHARED], 
    9145 [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) 
    9146 ]) 
    9147  
    9148 AC_DEFUN([AC_DISABLE_SHARED], 
    9149 [_LT_SET_OPTION([LT_INIT], [disable-shared]) 
    9150 ]) 
    9151  
    9152 AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) 
    9153 AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) 
    9154  
    9155 dnl aclocal-1.4 backwards compatibility: 
    9156 dnl AC_DEFUN([AM_ENABLE_SHARED], []) 
    9157 dnl AC_DEFUN([AM_DISABLE_SHARED], []) 
    9158  
    9159  
    9160  
    9161 # _LT_ENABLE_STATIC([DEFAULT]) 
    9162 # ---------------------------- 
    9163 # implement the --enable-static flag, and support the `static' and 
    9164 # `disable-static' LT_INIT options. 
    9165 # DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'. 
    9166 m4_define([_LT_ENABLE_STATIC], 
    9167 [m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl 
    9168 AC_ARG_ENABLE([static], 
    9169     [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@], 
    9170         [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])], 
    9171     [p=${PACKAGE-default} 
    9172     case $enableval in 
    9173     yes) enable_static=yes ;; 
    9174     no) enable_static=no ;; 
    9175     *) 
    9176      enable_static=no 
    9177       # Look at the argument we got.  We use all the common list separators. 
    9178       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 
    9179       for pkg in $enableval; do 
    9180         IFS="$lt_save_ifs" 
    9181         if test "X$pkg" = "X$p"; then 
    9182           enable_static=yes 
    9183         fi 
    9184       done 
    9185       IFS="$lt_save_ifs" 
    9186       ;; 
    9187     esac], 
    9188     [enable_static=]_LT_ENABLE_STATIC_DEFAULT) 
    9189  
    9190     _LT_DECL([build_old_libs], [enable_static], [0], 
    9191         [Whether or not to build static libraries]) 
    9192 ])# _LT_ENABLE_STATIC 
    9193  
    9194 LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])]) 
    9195 LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])]) 
    9196  
    9197 # Old names: 
    9198 AC_DEFUN([AC_ENABLE_STATIC], 
    9199 [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) 
    9200 ]) 
    9201  
    9202 AC_DEFUN([AC_DISABLE_STATIC], 
    9203 [_LT_SET_OPTION([LT_INIT], [disable-static]) 
    9204 ]) 
    9205  
    9206 AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) 
    9207 AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) 
    9208  
    9209 dnl aclocal-1.4 backwards compatibility: 
    9210 dnl AC_DEFUN([AM_ENABLE_STATIC], []) 
    9211 dnl AC_DEFUN([AM_DISABLE_STATIC], []) 
    9212  
    9213  
    9214  
    9215 # _LT_ENABLE_FAST_INSTALL([DEFAULT]) 
    9216 # ---------------------------------- 
    9217 # implement the --enable-fast-install flag, and support the `fast-install' 
    9218 # and `disable-fast-install' LT_INIT options. 
    9219 # DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'. 
    9220 m4_define([_LT_ENABLE_FAST_INSTALL], 
    9221 [m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl 
    9222 AC_ARG_ENABLE([fast-install], 
    9223     [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], 
    9224     [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], 
    9225     [p=${PACKAGE-default} 
    9226     case $enableval in 
    9227     yes) enable_fast_install=yes ;; 
    9228     no) enable_fast_install=no ;; 
    9229     *) 
    9230       enable_fast_install=no 
    9231       # Look at the argument we got.  We use all the common list separators. 
    9232       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 
    9233       for pkg in $enableval; do 
    9234         IFS="$lt_save_ifs" 
    9235         if test "X$pkg" = "X$p"; then 
    9236           enable_fast_install=yes 
    9237         fi 
    9238       done 
    9239       IFS="$lt_save_ifs" 
    9240       ;; 
    9241     esac], 
    9242     [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT) 
    9243  
    9244 _LT_DECL([fast_install], [enable_fast_install], [0], 
    9245          [Whether or not to optimize for fast installation])dnl 
    9246 ])# _LT_ENABLE_FAST_INSTALL 
    9247  
    9248 LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])]) 
    9249 LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])]) 
    9250  
    9251 # Old names: 
    9252 AU_DEFUN([AC_ENABLE_FAST_INSTALL], 
    9253 [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) 
    9254 AC_DIAGNOSE([obsolete], 
    9255 [$0: Remove this warning and the call to _LT_SET_OPTION when you put 
    9256 the `fast-install' option into LT_INIT's first parameter.]) 
    9257 ]) 
    9258  
    9259 AU_DEFUN([AC_DISABLE_FAST_INSTALL], 
    9260 [_LT_SET_OPTION([LT_INIT], [disable-fast-install]) 
    9261 AC_DIAGNOSE([obsolete], 
    9262 [$0: Remove this warning and the call to _LT_SET_OPTION when you put 
    9263 the `disable-fast-install' option into LT_INIT's first parameter.]) 
    9264 ]) 
    9265  
    9266 dnl aclocal-1.4 backwards compatibility: 
    9267 dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) 
    9268 dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) 
    9269  
    9270  
    9271 # _LT_WITH_PIC([MODE]) 
    9272 # -------------------- 
    9273 # implement the --with-pic flag, and support the `pic-only' and `no-pic' 
    9274 # LT_INIT options. 
    9275 # MODE is either `yes' or `no'.  If omitted, it defaults to `both'. 
    9276 m4_define([_LT_WITH_PIC], 
    9277 [AC_ARG_WITH([pic], 
    9278     [AS_HELP_STRING([--with-pic], 
    9279         [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], 
    9280     [pic_mode="$withval"], 
    9281     [pic_mode=default]) 
    9282  
    9283 test -z "$pic_mode" && pic_mode=m4_default([$1], [default]) 
    9284  
    9285 _LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl 
    9286 ])# _LT_WITH_PIC 
    9287  
    9288 LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) 
    9289 LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) 
    9290  
    9291 # Old name: 
    9292 AU_DEFUN([AC_LIBTOOL_PICMODE], 
    9293 [_LT_SET_OPTION([LT_INIT], [pic-only]) 
    9294 AC_DIAGNOSE([obsolete], 
    9295 [$0: Remove this warning and the call to _LT_SET_OPTION when you 
    9296 put the `pic-only' option into LT_INIT's first parameter.]) 
    9297 ]) 
    9298  
    9299 dnl aclocal-1.4 backwards compatibility: 
    9300 dnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) 
    9301  
    9302  
    9303 m4_define([_LTDL_MODE], []) 
    9304 LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive], 
    9305                  [m4_define([_LTDL_MODE], [nonrecursive])]) 
    9306 LT_OPTION_DEFINE([LTDL_INIT], [recursive], 
    9307                  [m4_define([_LTDL_MODE], [recursive])]) 
    9308 LT_OPTION_DEFINE([LTDL_INIT], [subproject], 
    9309                  [m4_define([_LTDL_MODE], [subproject])]) 
    9310  
    9311 m4_define([_LTDL_TYPE], []) 
    9312 LT_OPTION_DEFINE([LTDL_INIT], [installable], 
    9313                  [m4_define([_LTDL_TYPE], [installable])]) 
    9314 LT_OPTION_DEFINE([LTDL_INIT], [convenience], 
    9315                  [m4_define([_LTDL_TYPE], [convenience])]) 
    9316  
    9317 # ltsugar.m4 -- libtool m4 base layer.                         -*-Autoconf-*- 
    9318 # 
    9319 #   Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc. 
    9320 #   Written by Gary V. Vaughan, 2004 
    9321 # 
    9322 # This file is free software; the Free Software Foundation gives 
    9323 # unlimited permission to copy and/or distribute it, with or without 
    9324 # modifications, as long as this notice is preserved. 
    9325  
    9326 # serial 5 ltsugar.m4 
    9327  
    9328 # This is to help aclocal find these macros, as it can't see m4_define. 
    9329 AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) 
    9330  
    9331  
    9332 # lt_join(SEP, ARG1, [ARG2...]) 
    9333 # ----------------------------- 
    9334 # Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their 
    9335 # associated separator. 
    9336 # Needed until we can rely on m4_join from Autoconf 2.62, since all earlier 
    9337 # versions in m4sugar had bugs. 
    9338 m4_define([lt_join], 
    9339 [m4_if([$#], [1], [], 
    9340        [$#], [2], [[$2]], 
    9341        [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])]) 
    9342 m4_define([_lt_join], 
    9343 [m4_if([$#$2], [2], [], 
    9344        [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])]) 
    9345  
    9346  
    9347 # lt_car(LIST) 
    9348 # lt_cdr(LIST) 
    9349 # ------------ 
    9350 # Manipulate m4 lists. 
    9351 # These macros are necessary as long as will still need to support 
    9352 # Autoconf-2.59 which quotes differently. 
    9353 m4_define([lt_car], [[$1]]) 
    9354 m4_define([lt_cdr], 
    9355 [m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])], 
    9356        [$#], 1, [], 
    9357        [m4_dquote(m4_shift($@))])]) 
    9358 m4_define([lt_unquote], $1) 
    9359  
    9360  
    9361 # lt_append(MACRO-NAME, STRING, [SEPARATOR]) 
    9362 # ------------------------------------------ 
    9363 # Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'. 
    9364 # Note that neither SEPARATOR nor STRING are expanded; they are appended 
    9365 # to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). 
    9366 # No SEPARATOR is output if MACRO-NAME was previously undefined (different 
    9367 # than defined and empty). 
    9368 # 
    9369 # This macro is needed until we can rely on Autoconf 2.62, since earlier 
    9370 # versions of m4sugar mistakenly expanded SEPARATOR but not STRING. 
    9371 m4_define([lt_append], 
    9372 [m4_define([$1], 
    9373            m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])]) 
    9374  
    9375  
    9376  
    9377 # lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...]) 
    9378 # ---------------------------------------------------------- 
    9379 # Produce a SEP delimited list of all paired combinations of elements of 
    9380 # PREFIX-LIST with SUFFIX1 through SUFFIXn.  Each element of the list 
    9381 # has the form PREFIXmINFIXSUFFIXn. 
    9382 m4_define([lt_combine], 
    9383 [m4_if([$2], [], [], 
    9384   [m4_if([$4], [], [], 
    9385     [lt_join(m4_quote(m4_default([$1], [[, ]])), 
    9386       lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_prefix, [$2], 
    9387                    [m4_foreach(_Lt_suffix, lt_car([m4_shiftn(3, $@)]), 
    9388                                [_Lt_prefix[]$3[]_Lt_suffix ])])))))])])dnl 
    9389 ]) 
    9390  
    9391  
    9392 # lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ]) 
    9393 # ----------------------------------------------------------------------- 
    9394 # Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited 
    9395 # by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ. 
    9396 m4_define([lt_if_append_uniq], 
    9397 [m4_ifdef([$1], 
    9398           [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1], 
    9399                  [lt_append([$1], [$2], [$3])$4], 
    9400                  [$5])], 
    9401           [lt_append([$1], [$2], [$3])$4])]) 
    9402  
    9403  
    9404 # lt_dict_add(DICT, KEY, VALUE) 
    9405 # ----------------------------- 
    9406 m4_define([lt_dict_add], 
    9407 [m4_define([$1($2)], [$3])]) 
    9408  
    9409  
    9410 # lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE) 
    9411 # -------------------------------------------- 
    9412 m4_define([lt_dict_add_subkey], 
    9413 [m4_define([$1($2:$3)], [$4])]) 
    9414  
    9415  
    9416 # lt_dict_fetch(DICT, KEY, [SUBKEY]) 
    9417 # ---------------------------------- 
    9418 m4_define([lt_dict_fetch], 
    9419 [m4_ifval([$3], 
    9420         m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]), 
    9421     m4_ifdef([$1($2)], [m4_defn([$1($2)])]))]) 
    9422  
    9423  
    9424 # lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE]) 
    9425 # ----------------------------------------------------------------- 
    9426 m4_define([lt_if_dict_fetch], 
    9427 [m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4], 
    9428         [$5], 
    9429     [$6])]) 
    9430  
    9431  
    9432 # lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...]) 
    9433 # -------------------------------------------------------------- 
    9434 m4_define([lt_dict_filter], 
    9435 [m4_if([$5], [], [], 
    9436   [lt_join(m4_quote(m4_default([$4], [[, ]])), 
    9437            lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]), 
    9438                       [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl 
    9439 ]) 
    9440  
    9441 # ltversion.m4 -- version numbers                       -*- Autoconf -*- 
    9442 # 
    9443 #   Copyright (C) 2004 Free Software Foundation, Inc. 
    9444 #   Written by Scott James Remnant, 2004 
    9445 # 
    9446 # This file is free software; the Free Software Foundation gives 
    9447 # unlimited permission to copy and/or distribute it, with or without 
    9448 # modifications, as long as this notice is preserved. 
    9449  
    9450 # Generated from ltversion.in. 
    9451  
    9452 # serial 2976 ltversion.m4 
    9453 # This file is part of GNU Libtool 
    9454  
    9455 m4_define([LT_PACKAGE_VERSION], [2.2.4]) 
    9456 m4_define([LT_PACKAGE_REVISION], [1.2976]) 
    9457  
    9458 AC_DEFUN([LTVERSION_VERSION], 
    9459 [macro_version='2.2.4' 
    9460 macro_revision='1.2976' 
    9461 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) 
    9462 _LT_DECL(, macro_revision, 0) 
    9463 ]) 
    9464  
    9465 # lt~obsolete.m4 -- aclocal satisfying obsolete definitions.    -*-Autoconf-*- 
    9466 # 
    9467 #   Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc. 
    9468 #   Written by Scott James Remnant, 2004. 
    9469 # 
    9470 # This file is free software; the Free Software Foundation gives 
    9471 # unlimited permission to copy and/or distribute it, with or without 
    9472 # modifications, as long as this notice is preserved. 
    9473  
    9474 # serial 4 lt~obsolete.m4 
    9475  
    9476 # These exist entirely to fool aclocal when bootstrapping libtool. 
    9477 # 
    9478 # In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN) 
    9479 # which have later been changed to m4_define as they aren't part of the 
    9480 # exported API, or moved to Autoconf or Automake where they belong. 
    9481 # 
    9482 # The trouble is, aclocal is a bit thick.  It'll see the old AC_DEFUN 
    9483 # in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us 
    9484 # using a macro with the same name in our local m4/libtool.m4 it'll 
    9485 # pull the old libtool.m4 in (it doesn't see our shiny new m4_define 
    9486 # and doesn't know about Autoconf macros at all.) 
    9487 # 
    9488 # So we provide this file, which has a silly filename so it's always 
    9489 # included after everything else.  This provides aclocal with the 
    9490 # AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything 
    9491 # because those macros already exist, or will be overwritten later. 
    9492 # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.  
    9493 # 
    9494 # Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. 
    9495 # Yes, that means every name once taken will need to remain here until 
    9496 # we give up compatibility with versions before 1.7, at which point 
    9497 # we need to keep only those names which we still refer to. 
    9498  
    9499 # This is to help aclocal find these macros, as it can't see m4_define. 
    9500 AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) 
    9501  
    9502 m4_ifndef([AC_LIBTOOL_LINKER_OPTION],   [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])]) 
    9503 m4_ifndef([AC_PROG_EGREP],              [AC_DEFUN([AC_PROG_EGREP])]) 
    9504 m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])]) 
    9505 m4_ifndef([_LT_AC_SHELL_INIT],          [AC_DEFUN([_LT_AC_SHELL_INIT])]) 
    9506 m4_ifndef([_LT_AC_SYS_LIBPATH_AIX],     [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])]) 
    9507 m4_ifndef([_LT_PROG_LTMAIN],            [AC_DEFUN([_LT_PROG_LTMAIN])]) 
    9508 m4_ifndef([_LT_AC_TAGVAR],              [AC_DEFUN([_LT_AC_TAGVAR])]) 
    9509 m4_ifndef([AC_LTDL_ENABLE_INSTALL],     [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])]) 
    9510 m4_ifndef([AC_LTDL_PREOPEN],            [AC_DEFUN([AC_LTDL_PREOPEN])]) 
    9511 m4_ifndef([_LT_AC_SYS_COMPILER],        [AC_DEFUN([_LT_AC_SYS_COMPILER])]) 
    9512 m4_ifndef([_LT_AC_LOCK],                [AC_DEFUN([_LT_AC_LOCK])]) 
    9513 m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])]) 
    9514 m4_ifndef([_LT_AC_TRY_DLOPEN_SELF],     [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])]) 
    9515 m4_ifndef([AC_LIBTOOL_PROG_CC_C_O],     [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])]) 
    9516 m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])]) 
    9517 m4_ifndef([AC_LIBTOOL_OBJDIR],          [AC_DEFUN([AC_LIBTOOL_OBJDIR])]) 
    9518 m4_ifndef([AC_LTDL_OBJDIR],             [AC_DEFUN([AC_LTDL_OBJDIR])]) 
    9519 m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])]) 
    9520 m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP],   [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])]) 
    9521 m4_ifndef([AC_PATH_MAGIC],              [AC_DEFUN([AC_PATH_MAGIC])]) 
    9522 m4_ifndef([AC_PROG_LD_GNU],             [AC_DEFUN([AC_PROG_LD_GNU])]) 
    9523 m4_ifndef([AC_PROG_LD_RELOAD_FLAG],     [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])]) 
    9524 m4_ifndef([AC_DEPLIBS_CHECK_METHOD],    [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])]) 
    9525 m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])]) 
    9526 m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])]) 
    9527 m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])]) 
    9528 m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS],  [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])]) 
    9529 m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP],  [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])]) 
    9530 m4_ifndef([LT_AC_PROG_EGREP],           [AC_DEFUN([LT_AC_PROG_EGREP])]) 
    9531 m4_ifndef([LT_AC_PROG_SED],             [AC_DEFUN([LT_AC_PROG_SED])]) 
    9532 m4_ifndef([_LT_CC_BASENAME],            [AC_DEFUN([_LT_CC_BASENAME])]) 
    9533 m4_ifndef([_LT_COMPILER_BOILERPLATE],   [AC_DEFUN([_LT_COMPILER_BOILERPLATE])]) 
    9534 m4_ifndef([_LT_LINKER_BOILERPLATE],     [AC_DEFUN([_LT_LINKER_BOILERPLATE])]) 
    9535 m4_ifndef([_AC_PROG_LIBTOOL],           [AC_DEFUN([_AC_PROG_LIBTOOL])]) 
    9536 m4_ifndef([AC_LIBTOOL_SETUP],           [AC_DEFUN([AC_LIBTOOL_SETUP])]) 
    9537 m4_ifndef([_LT_AC_CHECK_DLFCN],         [AC_DEFUN([_LT_AC_CHECK_DLFCN])]) 
    9538 m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER],      [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])]) 
    9539 m4_ifndef([_LT_AC_TAGCONFIG],           [AC_DEFUN([_LT_AC_TAGCONFIG])]) 
    9540 m4_ifndef([AC_DISABLE_FAST_INSTALL],    [AC_DEFUN([AC_DISABLE_FAST_INSTALL])]) 
    9541 m4_ifndef([_LT_AC_LANG_CXX],            [AC_DEFUN([_LT_AC_LANG_CXX])]) 
    9542 m4_ifndef([_LT_AC_LANG_F77],            [AC_DEFUN([_LT_AC_LANG_F77])]) 
    9543 m4_ifndef([_LT_AC_LANG_GCJ],            [AC_DEFUN([_LT_AC_LANG_GCJ])]) 
    9544 m4_ifndef([AC_LIBTOOL_RC],              [AC_DEFUN([AC_LIBTOOL_RC])]) 
    9545 m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG],   [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) 
    9546 m4_ifndef([_LT_AC_LANG_C_CONFIG],       [AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) 
    9547 m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) 
    9548 m4_ifndef([_LT_AC_LANG_CXX_CONFIG],     [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])]) 
    9549 m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])]) 
    9550 m4_ifndef([_LT_AC_LANG_F77_CONFIG],     [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])]) 
    9551 m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])]) 
    9552 m4_ifndef([_LT_AC_LANG_GCJ_CONFIG],     [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])]) 
    9553 m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG],  [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])]) 
    9554 m4_ifndef([_LT_AC_LANG_RC_CONFIG],      [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) 
    9555 m4_ifndef([AC_LIBTOOL_CONFIG],          [AC_DEFUN([AC_LIBTOOL_CONFIG])]) 
    9556 m4_ifndef([_LT_AC_FILE_LTDLL_C],        [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) 
    9557  
    9558 # nls.m4 serial 3 (gettext-0.15) 
    9559 dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc. 
    9560 dnl This file is free software; the Free Software Foundation 
    9561 dnl gives unlimited permission to copy and/or distribute it, 
    9562 dnl with or without modifications, as long as this notice is preserved. 
    9563 dnl 
    9564 dnl This file can can be used in projects which are not available under 
    9565 dnl the GNU General Public License or the GNU Library General Public 
    9566 dnl License but which still want to provide support for the GNU gettext 
    9567 dnl functionality. 
    9568 dnl Please note that the actual code of the GNU gettext library is covered 
    9569 dnl by the GNU Library General Public License, and the rest of the GNU 
    9570 dnl gettext package package is covered by the GNU General Public License. 
    9571 dnl They are *not* in the public domain. 
    9572  
    9573 dnl Authors: 
    9574 dnl   Ulrich Drepper <drepper@cygnus.com>, 1995-2000. 
    9575 dnl   Bruno Haible <haible@clisp.cons.org>, 2000-2003. 
    9576  
    9577 AC_PREREQ(2.50) 
    9578  
    9579 AC_DEFUN([AM_NLS], 
    9580 [ 
    9581   AC_MSG_CHECKING([whether NLS is requested]) 
    9582   dnl Default is enabled NLS 
    9583   AC_ARG_ENABLE(nls, 
    9584     [  --disable-nls           do not use Native Language Support], 
    9585     USE_NLS=$enableval, USE_NLS=yes) 
    9586   AC_MSG_RESULT($USE_NLS) 
    9587   AC_SUBST(USE_NLS) 
    9588 ]) 
    9589  
    9590 # pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*- 
    9591 #  
    9592 # Copyright © 2004 Scott James Remnant <scott@netsplit.com>. 
    9593 # 
    9594 # This program is free software; you can redistribute it and/or modify 
    9595 # it under the terms of the GNU General Public License as published by 
    9596 # the Free Software Foundation; either version 2 of the License, or 
    9597 # (at your option) any later version. 
    9598 # 
    9599 # This program is distributed in the hope that it will be useful, but 
    9600 # WITHOUT ANY WARRANTY; without even the implied warranty of 
    9601 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    9602 # General Public License for more details. 
    9603 # 
    9604 # You should have received a copy of the GNU General Public License 
    9605 # along with this program; if not, write to the Free Software 
    9606 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 
    9607 # 
    9608 # As a special exception to the GNU General Public License, if you 
    9609 # distribute this file as part of a program that contains a 
    9610 # configuration script generated by Autoconf, you may include it under 
    9611 # the same distribution terms that you use for the rest of that program. 
    9612  
    9613 # PKG_PROG_PKG_CONFIG([MIN-VERSION]) 
    9614 # ---------------------------------- 
    9615 AC_DEFUN([PKG_PROG_PKG_CONFIG], 
    9616 [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) 
    9617 m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) 
    9618 AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl 
    9619 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 
    9620         AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) 
    9621 fi 
    9622 if test -n "$PKG_CONFIG"; then 
    9623         _pkg_min_version=m4_default([$1], [0.9.0]) 
    9624         AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) 
    9625         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 
    9626                 AC_MSG_RESULT([yes]) 
    9627         else 
    9628                 AC_MSG_RESULT([no]) 
    9629                 PKG_CONFIG="" 
    9630         fi 
    9631                  
    9632 fi[]dnl 
    9633 ])# PKG_PROG_PKG_CONFIG 
    9634  
    9635 # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) 
    9636 # 
    9637 # Check to see whether a particular set of modules exists.  Similar 
    9638 # to PKG_CHECK_MODULES(), but does not set variables or print errors. 
    9639 # 
    9640 # 
    9641 # Similar to PKG_CHECK_MODULES, make sure that the first instance of 
    9642 # this or PKG_CHECK_MODULES is called, or make sure to call 
    9643 # PKG_CHECK_EXISTS manually 
    9644 # -------------------------------------------------------------- 
    9645 AC_DEFUN([PKG_CHECK_EXISTS], 
    9646 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl 
    9647 if test -n "$PKG_CONFIG" && \ 
    9648     AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then 
    9649   m4_ifval([$2], [$2], [:]) 
    9650 m4_ifvaln([$3], [else 
    9651   $3])dnl 
    9652 fi]) 
    9653  
    9654  
    9655 # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) 
    9656 # --------------------------------------------- 
    9657 m4_define([_PKG_CONFIG], 
    9658 [if test -n "$PKG_CONFIG"; then 
    9659     if test -n "$$1"; then 
    9660         pkg_cv_[]$1="$$1" 
    9661     else 
    9662         PKG_CHECK_EXISTS([$3], 
    9663                          [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], 
    9664                          [pkg_failed=yes]) 
    9665     fi 
    9666 else 
    9667         pkg_failed=untried 
    9668 fi[]dnl 
    9669 ])# _PKG_CONFIG 
    9670  
    9671 # _PKG_SHORT_ERRORS_SUPPORTED 
    9672 # ----------------------------- 
    9673 AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], 
    9674 [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) 
    9675 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 
    9676         _pkg_short_errors_supported=yes 
    9677 else 
    9678         _pkg_short_errors_supported=no 
    9679 fi[]dnl 
    9680 ])# _PKG_SHORT_ERRORS_SUPPORTED 
    9681  
    9682  
    9683 # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], 
    9684 # [ACTION-IF-NOT-FOUND]) 
    9685 # 
    9686 # 
    9687 # Note that if there is a possibility the first call to 
    9688 # PKG_CHECK_MODULES might not happen, you should be sure to include an 
    9689 # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac 
    9690 # 
    9691 # 
    9692 # -------------------------------------------------------------- 
    9693 AC_DEFUN([PKG_CHECK_MODULES], 
    9694 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl 
    9695 AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl 
    9696 AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl 
    9697  
    9698 pkg_failed=no 
    9699 AC_MSG_CHECKING([for $1]) 
    9700  
    9701 _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) 
    9702 _PKG_CONFIG([$1][_LIBS], [libs], [$2]) 
    9703  
    9704 m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS 
    9705 and $1[]_LIBS to avoid the need to call pkg-config. 
    9706 See the pkg-config man page for more details.]) 
    9707  
    9708 if test $pkg_failed = yes; then 
    9709         _PKG_SHORT_ERRORS_SUPPORTED 
    9710         if test $_pkg_short_errors_supported = yes; then 
    9711                 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` 
    9712         else  
    9713                 $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` 
    9714         fi 
    9715         # Put the nasty error message in config.log where it belongs 
    9716         echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD 
    9717  
    9718         ifelse([$4], , [AC_MSG_ERROR(dnl 
    9719 [Package requirements ($2) were not met: 
    9720  
    9721 $$1_PKG_ERRORS 
    9722  
    9723 Consider adjusting the PKG_CONFIG_PATH environment variable if you 
    9724 installed software in a non-standard prefix. 
    9725  
    9726 _PKG_TEXT 
    9727 ])], 
    9728                 [AC_MSG_RESULT([no]) 
    9729                 $4]) 
    9730 elif test $pkg_failed = untried; then 
    9731         ifelse([$4], , [AC_MSG_FAILURE(dnl 
    9732 [The pkg-config script could not be found or is too old.  Make sure it 
    9733 is in your PATH or set the PKG_CONFIG environment variable to the full 
    9734 path to pkg-config. 
    9735  
    9736 _PKG_TEXT 
    9737  
    9738 To get pkg-config, see <http://pkg-config.freedesktop.org/>.])], 
    9739                 [$4]) 
    9740 else 
    9741         $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS 
    9742         $1[]_LIBS=$pkg_cv_[]$1[]_LIBS 
    9743         AC_MSG_RESULT([yes]) 
    9744         ifelse([$3], , :, [$3]) 
    9745 fi[]dnl 
    9746 ])# PKG_CHECK_MODULES 
    9747  
    9748 # po.m4 serial 15 (gettext-0.17) 
    9749 dnl Copyright (C) 1995-2007 Free Software Foundation, Inc. 
    9750 dnl This file is free software; the Free Software Foundation 
    9751 dnl gives unlimited permission to copy and/or distribute it, 
    9752 dnl with or without modifications, as long as this notice is preserved. 
    9753 dnl 
    9754 dnl This file can can be used in projects which are not available under 
    9755 dnl the GNU General Public License or the GNU Library General Public 
    9756 dnl License but which still want to provide support for the GNU gettext 
    9757 dnl functionality. 
    9758 dnl Please note that the actual code of the GNU gettext library is covered 
    9759 dnl by the GNU Library General Public License, and the rest of the GNU 
    9760 dnl gettext package package is covered by the GNU General Public License. 
    9761 dnl They are *not* in the public domain. 
    9762  
    9763 dnl Authors: 
    9764 dnl   Ulrich Drepper <drepper@cygnus.com>, 1995-2000. 
    9765 dnl   Bruno Haible <haible@clisp.cons.org>, 2000-2003. 
    9766  
    9767 AC_PREREQ(2.50) 
    9768  
    9769 dnl Checks for all prerequisites of the po subdirectory. 
    9770 AC_DEFUN([AM_PO_SUBDIRS], 
    9771 [ 
    9772   AC_REQUIRE([AC_PROG_MAKE_SET])dnl 
    9773   AC_REQUIRE([AC_PROG_INSTALL])dnl 
    9774   AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake 
    9775   AC_REQUIRE([AM_NLS])dnl 
    9776  
    9777   dnl Release version of the gettext macros. This is used to ensure that 
    9778   dnl the gettext macros and po/Makefile.in.in are in sync. 
    9779   AC_SUBST([GETTEXT_MACRO_VERSION], [0.17]) 
    9780  
    9781   dnl Perform the following tests also if --disable-nls has been given, 
    9782   dnl because they are needed for "make dist" to work. 
    9783  
    9784   dnl Search for GNU msgfmt in the PATH. 
    9785   dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions. 
    9786   dnl The second test excludes FreeBSD msgfmt. 
    9787   AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, 
    9788     [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && 
    9789      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], 
    9790     :) 
    9791   AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) 
    9792  
    9793   dnl Test whether it is GNU msgfmt >= 0.15. 
    9794 changequote(,)dnl 
    9795   case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 
    9796     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; 
    9797     *) MSGFMT_015=$MSGFMT ;; 
    9798   esac 
    9799 changequote([,])dnl 
    9800   AC_SUBST([MSGFMT_015]) 
    9801 changequote(,)dnl 
    9802   case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 
    9803     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; 
    9804     *) GMSGFMT_015=$GMSGFMT ;; 
    9805   esac 
    9806 changequote([,])dnl 
    9807   AC_SUBST([GMSGFMT_015]) 
    9808  
    9809   dnl Search for GNU xgettext 0.12 or newer in the PATH. 
    9810   dnl The first test excludes Solaris xgettext and early GNU xgettext versions. 
    9811   dnl The second test excludes FreeBSD xgettext. 
    9812   AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, 
    9813     [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && 
    9814      (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], 
    9815     :) 
    9816   dnl Remove leftover from FreeBSD xgettext call. 
    9817   rm -f messages.po 
    9818  
    9819   dnl Test whether it is GNU xgettext >= 0.15. 
    9820 changequote(,)dnl 
    9821   case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 
    9822     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; 
    9823     *) XGETTEXT_015=$XGETTEXT ;; 
    9824   esac 
    9825 changequote([,])dnl 
    9826   AC_SUBST([XGETTEXT_015]) 
    9827  
    9828   dnl Search for GNU msgmerge 0.11 or newer in the PATH. 
    9829   AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge, 
    9830     [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :) 
    9831  
    9832   dnl Installation directories. 
    9833   dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we 
    9834   dnl have to define it here, so that it can be used in po/Makefile. 
    9835   test -n "$localedir" || localedir='${datadir}/locale' 
    9836   AC_SUBST([localedir]) 
    9837  
    9838   dnl Support for AM_XGETTEXT_OPTION. 
    9839   test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= 
    9840   AC_SUBST([XGETTEXT_EXTRA_OPTIONS]) 
    9841  
    9842   AC_CONFIG_COMMANDS([po-directories], [[ 
    9843     for ac_file in $CONFIG_FILES; do 
    9844       # Support "outfile[:infile[:infile...]]" 
    9845       case "$ac_file" in 
    9846         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 
    9847       esac 
    9848       # PO directories have a Makefile.in generated from Makefile.in.in. 
    9849       case "$ac_file" in */Makefile.in) 
    9850         # Adjust a relative srcdir. 
    9851         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 
    9852         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" 
    9853         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 
    9854         # In autoconf-2.13 it is called $ac_given_srcdir. 
    9855         # In autoconf-2.50 it is called $srcdir. 
    9856         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 
    9857         case "$ac_given_srcdir" in 
    9858           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 
    9859           /*) top_srcdir="$ac_given_srcdir" ;; 
    9860           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;; 
    9861         esac 
    9862         # Treat a directory as a PO directory if and only if it has a 
    9863         # POTFILES.in file. This allows packages to have multiple PO 
    9864         # directories under different names or in different locations. 
    9865         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 
    9866           rm -f "$ac_dir/POTFILES" 
    9867           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 
    9868           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 
    9869           POMAKEFILEDEPS="POTFILES.in" 
    9870           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 
    9871           # on $ac_dir but don't depend on user-specified configuration 
    9872           # parameters. 
    9873           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 
    9874             # The LINGUAS file contains the set of available languages. 
    9875             if test -n "$OBSOLETE_ALL_LINGUAS"; then 
    9876               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 
    9877             fi 
    9878             ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 
    9879             # Hide the ALL_LINGUAS assigment from automake < 1.5. 
    9880             eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 
    9881             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 
    9882           else 
    9883             # The set of available languages was given in configure.in. 
    9884             # Hide the ALL_LINGUAS assigment from automake < 1.5. 
    9885             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 
    9886           fi 
    9887           # Compute POFILES 
    9888           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 
    9889           # Compute UPDATEPOFILES 
    9890           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 
    9891           # Compute DUMMYPOFILES 
    9892           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 
    9893           # Compute GMOFILES 
    9894           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 
    9895           case "$ac_given_srcdir" in 
    9896             .) srcdirpre= ;; 
    9897             *) srcdirpre='$(srcdir)/' ;; 
    9898           esac 
    9899           POFILES= 
    9900           UPDATEPOFILES= 
    9901           DUMMYPOFILES= 
    9902           GMOFILES= 
    9903           for lang in $ALL_LINGUAS; do 
    9904             POFILES="$POFILES $srcdirpre$lang.po" 
    9905             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 
    9906             DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 
    9907             GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 
    9908           done 
    9909           # CATALOGS depends on both $ac_dir and the user's LINGUAS 
    9910           # environment variable. 
    9911           INST_LINGUAS= 
    9912           if test -n "$ALL_LINGUAS"; then 
    9913             for presentlang in $ALL_LINGUAS; do 
    9914               useit=no 
    9915               if test "%UNSET%" != "$LINGUAS"; then 
    9916                 desiredlanguages="$LINGUAS" 
    9917               else 
    9918                 desiredlanguages="$ALL_LINGUAS" 
    9919               fi 
    9920               for desiredlang in $desiredlanguages; do 
    9921                 # Use the presentlang catalog if desiredlang is 
    9922                 #   a. equal to presentlang, or 
    9923                 #   b. a variant of presentlang (because in this case, 
    9924                 #      presentlang can be used as a fallback for messages 
    9925                 #      which are not translated in the desiredlang catalog). 
    9926                 case "$desiredlang" in 
    9927                   "$presentlang"*) useit=yes;; 
    9928                 esac 
    9929               done 
    9930               if test $useit = yes; then 
    9931                 INST_LINGUAS="$INST_LINGUAS $presentlang" 
    9932               fi 
    9933             done 
    9934           fi 
    9935           CATALOGS= 
    9936           if test -n "$INST_LINGUAS"; then 
    9937             for lang in $INST_LINGUAS; do 
    9938               CATALOGS="$CATALOGS $lang.gmo" 
    9939             done 
    9940           fi 
    9941           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 
    9942           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" 
    9943           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 
    9944             if test -f "$f"; then 
    9945               case "$f" in 
    9946                 *.orig | *.bak | *~) ;; 
    9947                 *) cat "$f" >> "$ac_dir/Makefile" ;; 
    9948               esac 
    9949             fi 
    9950           done 
    9951         fi 
    9952         ;; 
    9953       esac 
    9954     done]], 
    9955    [# Capture the value of obsolete ALL_LINGUAS because we need it to compute 
    9956     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it 
    9957     # from automake < 1.5. 
    9958     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' 
    9959     # Capture the value of LINGUAS because we need it to compute CATALOGS. 
    9960     LINGUAS="${LINGUAS-%UNSET%}" 
    9961    ]) 
    9962 ]) 
    9963  
    9964 dnl Postprocesses a Makefile in a directory containing PO files. 
    9965 AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], 
    9966 [ 
    9967   # When this code is run, in config.status, two variables have already been 
    9968   # set: 
    9969   # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in, 
    9970   # - LINGUAS is the value of the environment variable LINGUAS at configure 
    9971   #   time. 
    9972  
    9973 changequote(,)dnl 
    9974   # Adjust a relative srcdir. 
    9975   ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 
    9976   ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" 
    9977   ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 
    9978   # In autoconf-2.13 it is called $ac_given_srcdir. 
    9979   # In autoconf-2.50 it is called $srcdir. 
    9980   test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 
    9981   case "$ac_given_srcdir" in 
    9982     .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 
    9983     /*) top_srcdir="$ac_given_srcdir" ;; 
    9984     *)  top_srcdir="$ac_dots$ac_given_srcdir" ;; 
    9985   esac 
    9986  
    9987   # Find a way to echo strings without interpreting backslash. 
    9988   if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then 
    9989     gt_echo='echo' 
    9990   else 
    9991     if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then 
    9992       gt_echo='printf %s\n' 
    9993     else 
    9994       echo_func () { 
    9995         cat <<EOT 
    9996 $* 
    9997 EOT 
    9998       } 
    9999       gt_echo='echo_func' 
    10000     fi 
    10001   fi 
    10002  
    10003   # A sed script that extracts the value of VARIABLE from a Makefile. 
    10004   sed_x_variable=' 
    10005 # Test if the hold space is empty. 
    10006 x 
    10007 s/P/P/ 
    10008 x 
    10009 ta 
    10010 # Yes it was empty. Look if we have the expected variable definition. 
    10011 /^[      ]*VARIABLE[     ]*=/{ 
    10012   # Seen the first line of the variable definition. 
    10013   s/^[   ]*VARIABLE[     ]*=// 
    10014   ba 
    10015 } 
    10016 bd 
    10017 :a 
    10018 # Here we are processing a line from the variable definition. 
    10019 # Remove comment, more precisely replace it with a space. 
    10020 s/#.*$/ / 
    10021 # See if the line ends in a backslash. 
    10022 tb 
    10023 :b 
    10024 s/\\$// 
    10025 # Print the line, without the trailing backslash. 
    10026 p 
    10027 tc 
    10028 # There was no trailing backslash. The end of the variable definition is 
    10029 # reached. Clear the hold space. 
    10030 s/^.*$// 
    10031 x 
    10032 bd 
    10033 :c 
    10034 # A trailing backslash means that the variable definition continues in the 
    10035 # next line. Put a nonempty string into the hold space to indicate this. 
    10036 s/^.*$/P/ 
    10037 x 
    10038 :d 
    10039 ' 
    10040 changequote([,])dnl 
    10041  
    10042   # Set POTFILES to the value of the Makefile variable POTFILES. 
    10043   sed_x_POTFILES=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'` 
    10044   POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"` 
    10045   # Compute POTFILES_DEPS as 
    10046   #   $(foreach file, $(POTFILES), $(top_srcdir)/$(file)) 
    10047   POTFILES_DEPS= 
    10048   for file in $POTFILES; do 
    10049     POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file" 
    10050   done 
    10051   POMAKEFILEDEPS="" 
    10052  
    10053   if test -n "$OBSOLETE_ALL_LINGUAS"; then 
    10054     test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 
    10055   fi 
    10056   if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 
    10057     # The LINGUAS file contains the set of available languages. 
    10058     ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 
    10059     POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 
    10060   else 
    10061     # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS. 
    10062     sed_x_LINGUAS=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'` 
    10063     ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"` 
    10064   fi 
    10065   # Hide the ALL_LINGUAS assigment from automake < 1.5. 
    10066   eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 
    10067   # Compute POFILES 
    10068   # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 
    10069   # Compute UPDATEPOFILES 
    10070   # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 
    10071   # Compute DUMMYPOFILES 
    10072   # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 
    10073   # Compute GMOFILES 
    10074   # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 
    10075   # Compute PROPERTIESFILES 
    10076   # as      $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties) 
    10077   # Compute CLASSFILES 
    10078   # as      $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class) 
    10079   # Compute QMFILES 
    10080   # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm) 
    10081   # Compute MSGFILES 
    10082   # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg) 
    10083   # Compute RESOURCESDLLFILES 
    10084   # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll) 
    10085   case "$ac_given_srcdir" in 
    10086     .) srcdirpre= ;; 
    10087     *) srcdirpre='$(srcdir)/' ;; 
    10088   esac 
    10089   POFILES= 
    10090   UPDATEPOFILES= 
    10091   DUMMYPOFILES= 
    10092   GMOFILES= 
    10093   PROPERTIESFILES= 
    10094   CLASSFILES= 
    10095   QMFILES= 
    10096   MSGFILES= 
    10097   RESOURCESDLLFILES= 
    10098   for lang in $ALL_LINGUAS; do 
    10099     POFILES="$POFILES $srcdirpre$lang.po" 
    10100     UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 
    10101     DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 
    10102     GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 
    10103     PROPERTIESFILES="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties" 
    10104     CLASSFILES="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class" 
    10105     QMFILES="$QMFILES $srcdirpre$lang.qm" 
    10106     frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` 
    10107     MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg" 
    10108     frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` 
    10109     RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll" 
    10110   done 
    10111   # CATALOGS depends on both $ac_dir and the user's LINGUAS 
    10112   # environment variable. 
    10113   INST_LINGUAS= 
    10114   if test -n "$ALL_LINGUAS"; then 
    10115     for presentlang in $ALL_LINGUAS; do 
    10116       useit=no 
    10117       if test "%UNSET%" != "$LINGUAS"; then 
    10118         desiredlanguages="$LINGUAS" 
    10119       else 
    10120         desiredlanguages="$ALL_LINGUAS" 
    10121       fi 
    10122       for desiredlang in $desiredlanguages; do 
    10123         # Use the presentlang catalog if desiredlang is 
    10124         #   a. equal to presentlang, or 
    10125         #   b. a variant of presentlang (because in this case, 
    10126         #      presentlang can be used as a fallback for messages 
    10127         #      which are not translated in the desiredlang catalog). 
    10128         case "$desiredlang" in 
    10129           "$presentlang"*) useit=yes;; 
    10130         esac 
    10131       done 
    10132       if test $useit = yes; then 
    10133         INST_LINGUAS="$INST_LINGUAS $presentlang" 
    10134       fi 
    10135     done 
    10136   fi 
    10137   CATALOGS= 
    10138   JAVACATALOGS= 
    10139   QTCATALOGS= 
    10140   TCLCATALOGS= 
    10141   CSHARPCATALOGS= 
    10142   if test -n "$INST_LINGUAS"; then 
    10143     for lang in $INST_LINGUAS; do 
    10144       CATALOGS="$CATALOGS $lang.gmo" 
    10145       JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties" 
    10146       QTCATALOGS="$QTCATALOGS $lang.qm" 
    10147       frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` 
    10148       TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg" 
    10149       frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` 
    10150       CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll" 
    10151     done 
    10152   fi 
    10153  
    10154   sed -e "s|@POTFILES_DEPS@|$POTFILES_DEPS|g" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@PROPERTIESFILES@|$PROPERTIESFILES|g" -e "s|@CLASSFILES@|$CLASSFILES|g" -e "s|@QMFILES@|$QMFILES|g" -e "s|@MSGFILES@|$MSGFILES|g" -e "s|@RESOURCESDLLFILES@|$RESOURCESDLLFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@JAVACATALOGS@|$JAVACATALOGS|g" -e "s|@QTCATALOGS@|$QTCATALOGS|g" -e "s|@TCLCATALOGS@|$TCLCATALOGS|g" -e "s|@CSHARPCATALOGS@|$CSHARPCATALOGS|g" -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp" 
    10155   if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then 
    10156     # Add dependencies that cannot be formulated as a simple suffix rule. 
    10157     for lang in $ALL_LINGUAS; do 
    10158       frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` 
    10159       cat >> "$ac_file.tmp" <<EOF 
    10160 $frobbedlang.msg: $lang.po 
    10161         @echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \ 
    10162         \$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; } 
    10163 EOF 
    10164     done 
    10165   fi 
    10166   if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then 
    10167     # Add dependencies that cannot be formulated as a simple suffix rule. 
    10168     for lang in $ALL_LINGUAS; do 
    10169       frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` 
    10170       cat >> "$ac_file.tmp" <<EOF 
    10171 $frobbedlang/\$(DOMAIN).resources.dll: $lang.po 
    10172         @echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \ 
    10173         \$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; } 
    10174 EOF 
    10175     done 
    10176   fi 
    10177   if test -n "$POMAKEFILEDEPS"; then 
    10178     cat >> "$ac_file.tmp" <<EOF 
    10179 Makefile: $POMAKEFILEDEPS 
    10180 EOF 
    10181   fi 
    10182   mv "$ac_file.tmp" "$ac_file" 
    10183 ]) 
    10184  
    10185 dnl Initializes the accumulator used by AM_XGETTEXT_OPTION. 
    10186 AC_DEFUN([AM_XGETTEXT_OPTION_INIT], 
    10187 [ 
    10188   XGETTEXT_EXTRA_OPTIONS= 
    10189 ]) 
    10190  
    10191 dnl Registers an option to be passed to xgettext in the po subdirectory. 
    10192 AC_DEFUN([AM_XGETTEXT_OPTION], 
    10193 [ 
    10194   AC_REQUIRE([AM_XGETTEXT_OPTION_INIT]) 
    10195   XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS $1" 
    10196 ]) 
    10197  
    10198 # progtest.m4 serial 4 (gettext-0.14.2) 
    10199 dnl Copyright (C) 1996-2003, 2005 Free Software Foundation, Inc. 
    10200 dnl This file is free software; the Free Software Foundation 
    10201 dnl gives unlimited permission to copy and/or distribute it, 
    10202 dnl with or without modifications, as long as this notice is preserved. 
    10203 dnl 
    10204 dnl This file can can be used in projects which are not available under 
    10205 dnl the GNU General Public License or the GNU Library General Public 
    10206 dnl License but which still want to provide support for the GNU gettext 
    10207 dnl functionality. 
    10208 dnl Please note that the actual code of the GNU gettext library is covered 
    10209 dnl by the GNU Library General Public License, and the rest of the GNU 
    10210 dnl gettext package package is covered by the GNU General Public License. 
    10211 dnl They are *not* in the public domain. 
    10212  
    10213 dnl Authors: 
    10214 dnl   Ulrich Drepper <drepper@cygnus.com>, 1996. 
    10215  
    10216 AC_PREREQ(2.50) 
    10217  
    10218 # Search path for a program which passes the given test. 
    10219  
    10220 dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, 
    10221 dnl   TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) 
    10222 AC_DEFUN([AM_PATH_PROG_WITH_TEST], 
    10223 [ 
    10224 # Prepare PATH_SEPARATOR. 
    10225 # The user is always right. 
    10226 if test "${PATH_SEPARATOR+set}" != set; then 
    10227   echo "#! /bin/sh" >conf$$.sh 
    10228   echo  "exit 0"   >>conf$$.sh 
    10229   chmod +x conf$$.sh 
    10230   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 
    10231     PATH_SEPARATOR=';' 
    10232   else 
    10233     PATH_SEPARATOR=: 
    10234   fi 
    10235   rm -f conf$$.sh 
    10236 fi 
    10237  
    10238 # Find out how to test for executable files. Don't use a zero-byte file, 
    10239 # as systems may use methods other than mode bits to determine executability. 
    10240 cat >conf$$.file <<_ASEOF 
    10241 #! /bin/sh 
    10242 exit 0 
    10243 _ASEOF 
    10244 chmod +x conf$$.file 
    10245 if test -x conf$$.file >/dev/null 2>&1; then 
    10246   ac_executable_p="test -x" 
    10247 else 
    10248   ac_executable_p="test -f" 
    10249 fi 
    10250 rm -f conf$$.file 
    10251  
    10252 # Extract the first word of "$2", so it can be a program name with args. 
    10253 set dummy $2; ac_word=[$]2 
    10254 AC_MSG_CHECKING([for $ac_word]) 
    10255 AC_CACHE_VAL(ac_cv_path_$1, 
    10256 [case "[$]$1" in 
    10257   [[\\/]]* | ?:[[\\/]]*) 
    10258     ac_cv_path_$1="[$]$1" # Let the user override the test with a path. 
    10259     ;; 
    10260   *) 
    10261     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 
    10262     for ac_dir in ifelse([$5], , $PATH, [$5]); do 
    10263       IFS="$ac_save_IFS" 
    10264       test -z "$ac_dir" && ac_dir=. 
    10265       for ac_exec_ext in '' $ac_executable_extensions; do 
    10266         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 
    10267           echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD 
    10268           if [$3]; then 
    10269             ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext" 
    10270             break 2 
    10271           fi 
    10272         fi 
    10273       done 
    10274     done 
    10275     IFS="$ac_save_IFS" 
    10276 dnl If no 4th arg is given, leave the cache variable unset, 
    10277 dnl so AC_PATH_PROGS will keep looking. 
    10278 ifelse([$4], , , [  test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" 
    10279 ])dnl 
    10280     ;; 
    10281 esac])dnl 
    10282 $1="$ac_cv_path_$1" 
    10283 if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then 
    10284   AC_MSG_RESULT([$]$1) 
    10285 else 
    10286   AC_MSG_RESULT(no) 
    10287 fi 
    10288 AC_SUBST($1)dnl 
    10289 ]) 
    1029021 
    1029122# Copyright (C) 2002, 2003, 2005, 2006, 2007  Free Software Foundation, Inc. 
     
    11136867]) # _AM_PROG_TAR 
    11137868 
     869m4_include([m4/gettext.m4]) 
     870m4_include([m4/iconv.m4]) 
     871m4_include([m4/intlmacosx.m4]) 
     872m4_include([m4/lib-ld.m4]) 
     873m4_include([m4/lib-link.m4]) 
     874m4_include([m4/lib-prefix.m4]) 
     875m4_include([m4/libtool.m4]) 
     876m4_include([m4/ltoptions.m4]) 
     877m4_include([m4/ltsugar.m4]) 
     878m4_include([m4/ltversion.m4]) 
     879m4_include([m4/lt~obsolete.m4]) 
     880m4_include([m4/nls.m4]) 
     881m4_include([m4/pkg.m4]) 
     882m4_include([m4/po.m4]) 
     883m4_include([m4/progtest.m4]) 
    11138884m4_include([acinclude.m4])