Merge lp:~benoitg/ubuntu/natty/libofx/libofx.new-upstream-fix-661809-629996 into lp:ubuntu/natty/libofx

Proposed by Benoit Grégoire
Status: Merged
Merge reported by: Colin Watson
Merged at revision: not available
Proposed branch: lp:~benoitg/ubuntu/natty/libofx/libofx.new-upstream-fix-661809-629996
Merge into: lp:ubuntu/natty/libofx
Diff against target: 222669 lines (+98627/-103117)
571 files modified
AUTHORS (+1/-1)
ChangeLog (+89/-51)
INSTALL (+189/-60)
Makefile.am (+4/-2)
Makefile.in (+279/-166)
NEWS (+26/-0)
README (+4/-4)
aclocal.m4 (+5565/-4108)
config.h.in (+21/-3)
config/config.guess (+139/-153)
config/config.sub (+113/-25)
config/depcomp (+136/-36)
config/install-sh (+369/-172)
config/ltmain.sh (+5054/-3579)
config/missing (+60/-44)
configure (+10738/-15591)
configure.in (+7/-6)
debian/applied-patches/libofx-utf8-rev1.patch (+0/-31)
debian/changelog (+14/-0)
debian/compat (+1/-1)
debian/control (+5/-5)
debian/copyright (+1/-1)
debian/rules (+7/-6)
debian/source/format (+1/-0)
debian/watch (+3/-0)
doc/Makefile.in (+185/-116)
doc/doxygen.cfg (+1002/-617)
doc/html/annotated.html (+78/-30)
doc/html/classLibofxContext.html (+143/-158)
doc/html/classNodeParser.html (+102/-58)
doc/html/classOFCApplication.html (+334/-447)
doc/html/classOFXApplication.html (+334/-456)
doc/html/classOfxAccountContainer.html (+293/-353)
doc/html/classOfxAccountInfoRequest.html (+156/-138)
doc/html/classOfxAggregate.html (+344/-454)
doc/html/classOfxBalanceContainer.html (+234/-233)
doc/html/classOfxBankTransactionContainer.html (+192/-189)
doc/html/classOfxDummyContainer.html (+188/-180)
doc/html/classOfxGenericContainer.html (+366/-477)
doc/html/classOfxInvestmentTransactionContainer.html (+192/-189)
doc/html/classOfxMainContainer.html (+180/-194)
doc/html/classOfxPaymentRequest.html (+201/-208)
doc/html/classOfxPushUpContainer.html (+188/-180)
doc/html/classOfxRequest.html (+302/-365)
doc/html/classOfxSecurityContainer.html (+292/-351)
doc/html/classOfxStatementContainer.html (+301/-371)
doc/html/classOfxStatementRequest.html (+328/-419)
doc/html/classOfxStatusContainer.html (+192/-185)
doc/html/classOfxTransactionContainer.html (+304/-374)
doc/html/classes.html (+89/-0)
doc/html/classtree.html (+499/-831)
doc/html/classtree_1_1fixed__depth__iterator.html (+152/-165)
doc/html/classtree_1_1iterator__base.html (+176/-197)
doc/html/classtree_1_1iterator__base__less.html (+95/-44)
doc/html/classtree_1_1post__order__iterator.html (+149/-158)
doc/html/classtree_1_1pre__order__iterator.html (+143/-146)
doc/html/classtree_1_1sibling__iterator.html (+156/-174)
doc/html/classtree__node__.html (+102/-81)
doc/html/config_8h-source.html (+0/-194)
doc/html/config_8h_source.html (+267/-0)
doc/html/context_8cpp-source.html (+0/-227)
doc/html/context_8cpp_source.html (+303/-0)
doc/html/context_8hh-source.html (+0/-88)
doc/html/context_8hh_source.html (+150/-0)
doc/html/doxygen.css (+782/-340)
doc/html/file__preproc_8cpp-source.html (+0/-178)
doc/html/file__preproc_8cpp.html (+225/-173)
doc/html/file__preproc_8cpp_source.html (+238/-0)
doc/html/file__preproc_8hh-source.html (+0/-40)
doc/html/file__preproc_8hh.html (+106/-51)
doc/html/file__preproc_8hh_source.html (+95/-0)
doc/html/files.html (+160/-147)
doc/html/functions.html (+181/-173)
doc/html/functions_0x62.html (+143/-93)
doc/html/functions_0x63.html (+129/-89)
doc/html/functions_0x64.html (+130/-111)
doc/html/functions_0x65.html (+132/-82)
doc/html/functions_0x66.html (+133/-100)
doc/html/functions_0x67.html (+118/-81)
doc/html/functions_0x68.html (+107/-70)
doc/html/functions_0x69.html (+137/-87)
doc/html/functions_0x6c.html (+111/-76)
doc/html/functions_0x6d.html (+154/-96)
doc/html/functions_0x6e.html (+116/-91)
doc/html/functions_0x6f.html (+145/-166)
doc/html/functions_0x70.html (+137/-101)
doc/html/functions_0x72.html (+111/-74)
doc/html/functions_0x73.html (+138/-124)
doc/html/functions_0x74.html (+127/-86)
doc/html/functions_0x75.html (+130/-94)
doc/html/functions_0x76.html (+109/-70)
doc/html/functions_0x77.html (+105/-63)
doc/html/functions_0x7e.html (+0/-90)
doc/html/functions_enum.html (+82/-38)
doc/html/functions_eval.html (+98/-46)
doc/html/functions_func.html (+382/-117)
doc/html/functions_func_0x62.html (+0/-73)
doc/html/functions_func_0x63.html (+0/-72)
doc/html/functions_func_0x64.html (+0/-75)
doc/html/functions_func_0x65.html (+0/-94)
doc/html/functions_func_0x66.html (+0/-70)
doc/html/functions_func_0x67.html (+0/-85)
doc/html/functions_func_0x69.html (+0/-80)
doc/html/functions_func_0x6c.html (+0/-66)
doc/html/functions_func_0x6d.html (+0/-72)
doc/html/functions_func_0x6e.html (+0/-77)
doc/html/functions_func_0x6f.html (+0/-152)
doc/html/functions_func_0x70.html (+0/-74)
doc/html/functions_func_0x72.html (+0/-74)
doc/html/functions_func_0x73.html (+0/-108)
doc/html/functions_func_0x74.html (+0/-70)
doc/html/functions_func_0x7e.html (+0/-86)
doc/html/functions_type.html (+82/-55)
doc/html/functions_vars.html (+632/-110)
doc/html/functions_vars_0x62.html (+0/-107)
doc/html/functions_vars_0x63.html (+0/-95)
doc/html/functions_vars_0x64.html (+0/-111)
doc/html/functions_vars_0x65.html (+0/-67)
doc/html/functions_vars_0x66.html (+0/-112)
doc/html/functions_vars_0x68.html (+0/-75)
doc/html/functions_vars_0x69.html (+0/-85)
doc/html/functions_vars_0x6c.html (+0/-81)
doc/html/functions_vars_0x6d.html (+0/-116)
doc/html/functions_vars_0x6e.html (+0/-87)
doc/html/functions_vars_0x6f.html (+0/-86)
doc/html/functions_vars_0x70.html (+0/-105)
doc/html/functions_vars_0x72.html (+0/-69)
doc/html/functions_vars_0x73.html (+0/-99)
doc/html/functions_vars_0x74.html (+0/-93)
doc/html/functions_vars_0x75.html (+0/-109)
doc/html/functions_vars_0x76.html (+0/-71)
doc/html/fx-0_88_82_2lib_2context_8cpp-source.html (+0/-218)
doc/html/fx-0_88_82_2lib_2context_8hh-source.html (+0/-80)
doc/html/fx-0_88_82_2lib_2file__preproc_8cpp-source.html (+0/-178)
doc/html/fx-0_88_82_2lib_2file__preproc_8cpp.html (+0/-187)
doc/html/fx-0_88_82_2lib_2file__preproc_8hh-source.html (+0/-40)
doc/html/fx-0_88_82_2lib_2file__preproc_8hh.html (+0/-67)
doc/html/fx-0_88_82_2lib_2getopt1_8c-source.html (+0/-208)
doc/html/fx-0_88_82_2lib_2getopt_8c-source.html (+0/-1075)
doc/html/fx-0_88_82_2lib_2gnugetopt_8h-source.html (+0/-200)
doc/html/fx-0_88_82_2lib_2messages_8cpp-source.html (+0/-148)
doc/html/fx-0_88_82_2lib_2messages_8cpp.html (+0/-341)
doc/html/fx-0_88_82_2lib_2messages_8hh-source.html (+0/-54)
doc/html/fx-0_88_82_2lib_2messages_8hh.html (+0/-204)
doc/html/fx-0_88_82_2lib_2ofc__sgml_8cpp-source.html (+0/-350)
doc/html/fx-0_88_82_2lib_2ofc__sgml_8cpp.html (+0/-123)
doc/html/fx-0_88_82_2lib_2ofc__sgml_8hh-source.html (+0/-42)
doc/html/fx-0_88_82_2lib_2ofc__sgml_8hh.html (+0/-76)
doc/html/fx-0_88_82_2lib_2ofx__aggregate_8hh-source.html (+0/-69)
doc/html/fx-0_88_82_2lib_2ofx__aggregate_8hh.html (+0/-36)
doc/html/fx-0_88_82_2lib_2ofx__container__account_8cpp-source.html (+0/-196)
doc/html/fx-0_88_82_2lib_2ofx__container__account_8cpp.html (+0/-36)
doc/html/fx-0_88_82_2lib_2ofx__container__generic_8cpp-source.html (+0/-100)
doc/html/fx-0_88_82_2lib_2ofx__container__generic_8cpp.html (+0/-36)
doc/html/fx-0_88_82_2lib_2ofx__container__main_8cpp-source.html (+0/-215)
doc/html/fx-0_88_82_2lib_2ofx__container__main_8cpp.html (+0/-32)
doc/html/fx-0_88_82_2lib_2ofx__container__security_8cpp-source.html (+0/-117)
doc/html/fx-0_88_82_2lib_2ofx__container__security_8cpp.html (+0/-36)
doc/html/fx-0_88_82_2lib_2ofx__container__statement_8cpp-source.html (+0/-136)
doc/html/fx-0_88_82_2lib_2ofx__container__statement_8cpp.html (+0/-36)
doc/html/fx-0_88_82_2lib_2ofx__container__transaction_8cpp-source.html (+0/-403)
doc/html/fx-0_88_82_2lib_2ofx__container__transaction_8cpp.html (+0/-36)
doc/html/fx-0_88_82_2lib_2ofx__containers_8hh-source.html (+0/-209)
doc/html/fx-0_88_82_2lib_2ofx__containers_8hh.html (+0/-70)
doc/html/fx-0_88_82_2lib_2ofx__containers__misc_8cpp-source.html (+0/-184)
doc/html/fx-0_88_82_2lib_2ofx__containers__misc_8cpp.html (+0/-37)
doc/html/fx-0_88_82_2lib_2ofx__error__msg_8hh-source.html (+0/-153)
doc/html/fx-0_88_82_2lib_2ofx__error__msg_8hh.html (+0/-89)
doc/html/fx-0_88_82_2lib_2ofx__preproc_8cpp-source.html (+0/-529)
doc/html/fx-0_88_82_2lib_2ofx__preproc_8cpp.html (+0/-210)
doc/html/fx-0_88_82_2lib_2ofx__preproc_8hh-source.html (+0/-48)
doc/html/fx-0_88_82_2lib_2ofx__preproc_8hh.html (+0/-137)
doc/html/fx-0_88_82_2lib_2ofx__request_8cpp-source.html (+0/-115)
doc/html/fx-0_88_82_2lib_2ofx__request_8cpp.html (+0/-42)
doc/html/fx-0_88_82_2lib_2ofx__request_8hh-source.html (+0/-66)
doc/html/fx-0_88_82_2lib_2ofx__request_8hh.html (+0/-47)
doc/html/fx-0_88_82_2lib_2ofx__request__accountinfo_8cpp-source.html (+0/-98)
doc/html/fx-0_88_82_2lib_2ofx__request__accountinfo_8cpp.html (+0/-36)
doc/html/fx-0_88_82_2lib_2ofx__request__accountinfo_8hh-source.html (+0/-51)
doc/html/fx-0_88_82_2lib_2ofx__request__accountinfo_8hh.html (+0/-36)
doc/html/fx-0_88_82_2lib_2ofx__request__statement_8cpp-source.html (+0/-249)
doc/html/fx-0_88_82_2lib_2ofx__request__statement_8cpp.html (+0/-42)
doc/html/fx-0_88_82_2lib_2ofx__request__statement_8hh-source.html (+0/-74)
doc/html/fx-0_88_82_2lib_2ofx__request__statement_8hh.html (+0/-38)
doc/html/fx-0_88_82_2lib_2ofx__sgml_8cpp-source.html (+0/-357)
doc/html/fx-0_88_82_2lib_2ofx__sgml_8cpp.html (+0/-123)
doc/html/fx-0_88_82_2lib_2ofx__sgml_8hh-source.html (+0/-41)
doc/html/fx-0_88_82_2lib_2ofx__sgml_8hh.html (+0/-76)
doc/html/fx-0_88_82_2lib_2ofx__utilities_8cpp-source.html (+0/-199)
doc/html/fx-0_88_82_2lib_2ofx__utilities_8cpp.html (+0/-176)
doc/html/fx-0_88_82_2lib_2ofx__utilities_8hh-source.html (+0/-58)
doc/html/fx-0_88_82_2lib_2ofx__utilities_8hh.html (+0/-184)
doc/html/fx-0_88_82_2lib_2tree_8hh-source.html (+0/-2026)
doc/html/fx-0_89_80_2lib_2context_8cpp-source.html (+0/-227)
doc/html/fx-0_89_80_2lib_2context_8hh-source.html (+0/-88)
doc/html/fx-0_89_80_2lib_2file__preproc_8cpp-source.html (+0/-178)
doc/html/fx-0_89_80_2lib_2file__preproc_8cpp.html (+0/-187)
doc/html/fx-0_89_80_2lib_2file__preproc_8hh-source.html (+0/-40)
doc/html/fx-0_89_80_2lib_2file__preproc_8hh.html (+0/-67)
doc/html/fx-0_89_80_2lib_2getopt1_8c-source.html (+0/-208)
doc/html/fx-0_89_80_2lib_2getopt_8c-source.html (+0/-1075)
doc/html/fx-0_89_80_2lib_2gnugetopt_8h-source.html (+0/-200)
doc/html/fx-0_89_80_2lib_2messages_8cpp-source.html (+0/-148)
doc/html/fx-0_89_80_2lib_2messages_8cpp.html (+0/-341)
doc/html/fx-0_89_80_2lib_2messages_8hh-source.html (+0/-54)
doc/html/fx-0_89_80_2lib_2messages_8hh.html (+0/-204)
doc/html/fx-0_89_80_2lib_2ofc__sgml_8cpp-source.html (+0/-350)
doc/html/fx-0_89_80_2lib_2ofc__sgml_8cpp.html (+0/-123)
doc/html/fx-0_89_80_2lib_2ofc__sgml_8hh-source.html (+0/-42)
doc/html/fx-0_89_80_2lib_2ofc__sgml_8hh.html (+0/-76)
doc/html/fx-0_89_80_2lib_2ofx__aggregate_8hh-source.html (+0/-69)
doc/html/fx-0_89_80_2lib_2ofx__aggregate_8hh.html (+0/-36)
doc/html/fx-0_89_80_2lib_2ofx__container__account_8cpp-source.html (+0/-196)
doc/html/fx-0_89_80_2lib_2ofx__container__account_8cpp.html (+0/-36)
doc/html/fx-0_89_80_2lib_2ofx__container__generic_8cpp-source.html (+0/-100)
doc/html/fx-0_89_80_2lib_2ofx__container__generic_8cpp.html (+0/-36)
doc/html/fx-0_89_80_2lib_2ofx__container__main_8cpp-source.html (+0/-215)
doc/html/fx-0_89_80_2lib_2ofx__container__main_8cpp.html (+0/-32)
doc/html/fx-0_89_80_2lib_2ofx__container__security_8cpp-source.html (+0/-117)
doc/html/fx-0_89_80_2lib_2ofx__container__security_8cpp.html (+0/-36)
doc/html/fx-0_89_80_2lib_2ofx__container__statement_8cpp-source.html (+0/-136)
doc/html/fx-0_89_80_2lib_2ofx__container__statement_8cpp.html (+0/-36)
doc/html/fx-0_89_80_2lib_2ofx__container__transaction_8cpp-source.html (+0/-403)
doc/html/fx-0_89_80_2lib_2ofx__container__transaction_8cpp.html (+0/-36)
doc/html/fx-0_89_80_2lib_2ofx__containers_8hh-source.html (+0/-209)
doc/html/fx-0_89_80_2lib_2ofx__containers_8hh.html (+0/-70)
doc/html/fx-0_89_80_2lib_2ofx__containers__misc_8cpp-source.html (+0/-184)
doc/html/fx-0_89_80_2lib_2ofx__containers__misc_8cpp.html (+0/-37)
doc/html/fx-0_89_80_2lib_2ofx__error__msg_8hh-source.html (+0/-153)
doc/html/fx-0_89_80_2lib_2ofx__error__msg_8hh.html (+0/-89)
doc/html/fx-0_89_80_2lib_2ofx__preproc_8cpp-source.html (+0/-553)
doc/html/fx-0_89_80_2lib_2ofx__preproc_8cpp.html (+0/-219)
doc/html/fx-0_89_80_2lib_2ofx__preproc_8hh-source.html (+0/-48)
doc/html/fx-0_89_80_2lib_2ofx__preproc_8hh.html (+0/-146)
doc/html/fx-0_89_80_2lib_2ofx__request_8cpp-source.html (+0/-137)
doc/html/fx-0_89_80_2lib_2ofx__request_8cpp.html (+0/-42)
doc/html/fx-0_89_80_2lib_2ofx__request_8hh-source.html (+0/-66)
doc/html/fx-0_89_80_2lib_2ofx__request_8hh.html (+0/-47)
doc/html/fx-0_89_80_2lib_2ofx__request__accountinfo_8cpp-source.html (+0/-98)
doc/html/fx-0_89_80_2lib_2ofx__request__accountinfo_8cpp.html (+0/-36)
doc/html/fx-0_89_80_2lib_2ofx__request__accountinfo_8hh-source.html (+0/-51)
doc/html/fx-0_89_80_2lib_2ofx__request__accountinfo_8hh.html (+0/-36)
doc/html/fx-0_89_80_2lib_2ofx__request__statement_8cpp-source.html (+0/-249)
doc/html/fx-0_89_80_2lib_2ofx__request__statement_8cpp.html (+0/-42)
doc/html/fx-0_89_80_2lib_2ofx__request__statement_8hh-source.html (+0/-74)
doc/html/fx-0_89_80_2lib_2ofx__request__statement_8hh.html (+0/-38)
doc/html/fx-0_89_80_2lib_2ofx__sgml_8cpp-source.html (+0/-357)
doc/html/fx-0_89_80_2lib_2ofx__sgml_8cpp.html (+0/-123)
doc/html/fx-0_89_80_2lib_2ofx__sgml_8hh-source.html (+0/-41)
doc/html/fx-0_89_80_2lib_2ofx__sgml_8hh.html (+0/-76)
doc/html/fx-0_89_80_2lib_2ofx__utilities_8cpp-source.html (+0/-237)
doc/html/fx-0_89_80_2lib_2ofx__utilities_8cpp.html (+0/-183)
doc/html/fx-0_89_80_2lib_2ofx__utilities_8hh-source.html (+0/-61)
doc/html/fx-0_89_80_2lib_2ofx__utilities_8hh.html (+0/-187)
doc/html/fx-0_89_80_2lib_2tree_8hh-source.html (+0/-2026)
doc/html/fx-0_89_80_2lib_2win32_8cpp-source.html (+0/-92)
doc/html/fx-0_89_80_2lib_2win32_8hh-source.html (+0/-53)
doc/html/fx-0_89_84_2lib_2context_8cpp_source.html (+303/-0)
doc/html/fx-0_89_84_2lib_2context_8hh_source.html (+150/-0)
doc/html/fx-0_89_84_2lib_2file__preproc_8cpp.html (+245/-0)
doc/html/fx-0_89_84_2lib_2file__preproc_8cpp_source.html (+238/-0)
doc/html/fx-0_89_84_2lib_2file__preproc_8hh.html (+124/-0)
doc/html/fx-0_89_84_2lib_2file__preproc_8hh_source.html (+95/-0)
doc/html/fx-0_89_84_2lib_2getopt1_8c_source.html (+263/-0)
doc/html/fx-0_89_84_2lib_2getopt_8c_source.html (+1130/-0)
doc/html/fx-0_89_84_2lib_2gnugetopt_8h_source.html (+255/-0)
doc/html/fx-0_89_84_2lib_2messages_8cpp.html (+369/-0)
doc/html/fx-0_89_84_2lib_2messages_8cpp_source.html (+215/-0)
doc/html/fx-0_89_84_2lib_2messages_8hh.html (+247/-0)
doc/html/fx-0_89_84_2lib_2messages_8hh_source.html (+110/-0)
doc/html/fx-0_89_84_2lib_2ofc__sgml_8cpp.html (+177/-0)
doc/html/fx-0_89_84_2lib_2ofc__sgml_8cpp_source.html (+412/-0)
doc/html/fx-0_89_84_2lib_2ofc__sgml_8hh.html (+133/-0)
doc/html/fx-0_89_84_2lib_2ofc__sgml_8hh_source.html (+97/-0)
doc/html/fx-0_89_84_2lib_2ofx__aggregate_8hh.html (+92/-0)
doc/html/fx-0_89_84_2lib_2ofx__aggregate_8hh_source.html (+124/-0)
doc/html/fx-0_89_84_2lib_2ofx__container__account_8cpp.html (+92/-0)
doc/html/fx-0_89_84_2lib_2ofx__container__account_8cpp_source.html (+269/-0)
doc/html/fx-0_89_84_2lib_2ofx__container__generic_8cpp.html (+92/-0)
doc/html/fx-0_89_84_2lib_2ofx__container__generic_8cpp_source.html (+157/-0)
doc/html/fx-0_89_84_2lib_2ofx__container__main_8cpp.html (+86/-0)
doc/html/fx-0_89_84_2lib_2ofx__container__main_8cpp_source.html (+271/-0)
doc/html/fx-0_89_84_2lib_2ofx__container__security_8cpp.html (+92/-0)
doc/html/fx-0_89_84_2lib_2ofx__container__security_8cpp_source.html (+181/-0)
doc/html/fx-0_89_84_2lib_2ofx__container__statement_8cpp.html (+92/-0)
doc/html/fx-0_89_84_2lib_2ofx__container__statement_8cpp_source.html (+199/-0)
doc/html/fx-0_89_84_2lib_2ofx__container__transaction_8cpp.html (+92/-0)
doc/html/fx-0_89_84_2lib_2ofx__container__transaction_8cpp_source.html (+534/-0)
doc/html/fx-0_89_84_2lib_2ofx__containers_8hh.html (+116/-0)
doc/html/fx-0_89_84_2lib_2ofx__containers_8hh_source.html (+276/-0)
doc/html/fx-0_89_84_2lib_2ofx__containers__misc_8cpp.html (+94/-0)
doc/html/fx-0_89_84_2lib_2ofx__containers__misc_8cpp_source.html (+251/-0)
doc/html/fx-0_89_84_2lib_2ofx__error__msg_8hh.html (+144/-0)
doc/html/fx-0_89_84_2lib_2ofx__error__msg_8hh_source.html (+212/-0)
doc/html/fx-0_89_84_2lib_2ofx__preproc_8cpp.html (+271/-0)
doc/html/fx-0_89_84_2lib_2ofx__preproc_8cpp_source.html (+751/-0)
doc/html/fx-0_89_84_2lib_2ofx__preproc_8hh.html (+204/-0)
doc/html/fx-0_89_84_2lib_2ofx__preproc_8hh_source.html (+103/-0)
doc/html/fx-0_89_84_2lib_2ofx__request_8cpp.html (+96/-0)
doc/html/fx-0_89_84_2lib_2ofx__request_8cpp_source.html (+194/-0)
doc/html/fx-0_89_84_2lib_2ofx__request_8hh.html (+101/-0)
doc/html/fx-0_89_84_2lib_2ofx__request_8hh_source.html (+121/-0)
doc/html/fx-0_89_84_2lib_2ofx__request__accountinfo_8cpp.html (+92/-0)
doc/html/fx-0_89_84_2lib_2ofx__request__accountinfo_8cpp_source.html (+154/-0)
doc/html/fx-0_89_84_2lib_2ofx__request__accountinfo_8hh.html (+92/-0)
doc/html/fx-0_89_84_2lib_2ofx__request__accountinfo_8hh_source.html (+106/-0)
doc/html/fx-0_89_84_2lib_2ofx__request__statement_8cpp.html (+96/-0)
doc/html/fx-0_89_84_2lib_2ofx__request__statement_8cpp_source.html (+306/-0)
doc/html/fx-0_89_84_2lib_2ofx__request__statement_8hh.html (+93/-0)
doc/html/fx-0_89_84_2lib_2ofx__request__statement_8hh_source.html (+129/-0)
doc/html/fx-0_89_84_2lib_2ofx__sgml_8cpp.html (+181/-0)
doc/html/fx-0_89_84_2lib_2ofx__sgml_8cpp_source.html (+428/-0)
doc/html/fx-0_89_84_2lib_2ofx__sgml_8hh.html (+133/-0)
doc/html/fx-0_89_84_2lib_2ofx__sgml_8hh_source.html (+96/-0)
doc/html/fx-0_89_84_2lib_2ofx__utilities_8cpp.html (+232/-0)
doc/html/fx-0_89_84_2lib_2ofx__utilities_8cpp_source.html (+329/-0)
doc/html/fx-0_89_84_2lib_2ofx__utilities_8hh.html (+239/-0)
doc/html/fx-0_89_84_2lib_2ofx__utilities_8hh_source.html (+116/-0)
doc/html/fx-0_89_84_2lib_2tree_8hh_source.html (+2206/-0)
doc/html/fx-0_89_84_2lib_2win32_8cpp_source.html (+152/-0)
doc/html/fx-0_89_84_2lib_2win32_8hh_source.html (+108/-0)
doc/html/getopt1_8c-source.html (+0/-208)
doc/html/getopt1_8c_source.html (+263/-0)
doc/html/getopt_8c-source.html (+0/-1075)
doc/html/getopt_8c_source.html (+1130/-0)
doc/html/globals.html (+107/-67)
doc/html/globals_0x63.html (+107/-71)
doc/html/globals_0x64.html (+126/-88)
doc/html/globals_0x65.html (+112/-73)
doc/html/globals_0x66.html (+110/-74)
doc/html/globals_0x69.html (+105/-64)
doc/html/globals_0x6c.html (+157/-176)
doc/html/globals_0x6d.html (+106/-96)
doc/html/globals_0x6f.html (+298/-439)
doc/html/globals_0x70.html (+109/-70)
doc/html/globals_0x71.html (+102/-63)
doc/html/globals_0x72.html (+102/-68)
doc/html/globals_0x73.html (+112/-77)
doc/html/globals_0x74.html (+102/-79)
doc/html/globals_0x75.html (+102/-61)
doc/html/globals_0x77.html (+102/-61)
doc/html/globals_defs.html (+0/-263)
doc/html/globals_enum.html (+93/-52)
doc/html/globals_eval.html (+296/-233)
doc/html/globals_func.html (+227/-256)
doc/html/globals_type.html (+98/-41)
doc/html/globals_vars.html (+157/-183)
doc/html/gnugetopt_8h-source.html (+0/-200)
doc/html/gnugetopt_8h_source.html (+255/-0)
doc/html/hierarchy.html (+147/-118)
doc/html/inc_2libofx_8h-source.html (+0/-451)
doc/html/inc_2libofx_8h.html (+1356/-1462)
doc/html/inc_2libofx_8h_source.html (+564/-0)
doc/html/index.html (+91/-10)
doc/html/jquery.js (+54/-0)
doc/html/libofx-0_88_82_2inc_2libofx_8h-source.html (+0/-434)
doc/html/libofx-0_88_82_2inc_2libofx_8h.html (+0/-1417)
doc/html/libofx-0_89_80_2inc_2libofx_8h-source.html (+0/-451)
doc/html/libofx-0_89_80_2inc_2libofx_8h.html (+0/-1444)
doc/html/libofx-0_89_84_2inc_2libofx_8h.html (+1340/-0)
doc/html/libofx-0_89_84_2inc_2libofx_8h_source.html (+564/-0)
doc/html/main.html (+0/-39)
doc/html/main__doc_8c-source.html (+0/-21)
doc/html/main__doc_8c_source.html (+76/-0)
doc/html/messages_8cpp-source.html (+0/-148)
doc/html/messages_8cpp.html (+380/-354)
doc/html/messages_8cpp_source.html (+215/-0)
doc/html/messages_8hh-source.html (+0/-54)
doc/html/messages_8hh.html (+208/-167)
doc/html/messages_8hh_source.html (+110/-0)
doc/html/namespaceOfxPartner.html (+0/-63)
doc/html/namespacekp.html (+86/-43)
doc/html/namespacemembers.html (+0/-57)
doc/html/namespacemembers_func.html (+0/-51)
doc/html/namespacemembers_vars.html (+0/-43)
doc/html/namespaces.html (+71/-25)
doc/html/navtree.css (+123/-0)
doc/html/navtree.js (+463/-0)
doc/html/nodeparser_8cpp-source.html (+0/-156)
doc/html/nodeparser_8cpp.html (+82/-28)
doc/html/nodeparser_8cpp_source.html (+211/-0)
doc/html/nodeparser_8h-source.html (+0/-60)
doc/html/nodeparser_8h.html (+87/-31)
doc/html/nodeparser_8h_source.html (+115/-0)
doc/html/ofc__sgml_8cpp-source.html (+0/-350)
doc/html/ofc__sgml_8cpp.html (+166/-112)
doc/html/ofc__sgml_8cpp_source.html (+412/-0)
doc/html/ofc__sgml_8hh-source.html (+0/-42)
doc/html/ofc__sgml_8hh.html (+113/-58)
doc/html/ofc__sgml_8hh_source.html (+97/-0)
doc/html/ofx2qif_8c-source.html (+0/-226)
doc/html/ofx2qif_8c.html (+103/-48)
doc/html/ofx2qif_8c_source.html (+281/-0)
doc/html/ofx__aggregate_8hh-source.html (+0/-69)
doc/html/ofx__aggregate_8hh.html (+88/-32)
doc/html/ofx__aggregate_8hh_source.html (+124/-0)
doc/html/ofx__container__account_8cpp-source.html (+0/-196)
doc/html/ofx__container__account_8cpp.html (+88/-32)
doc/html/ofx__container__account_8cpp_source.html (+269/-0)
doc/html/ofx__container__generic_8cpp-source.html (+0/-100)
doc/html/ofx__container__generic_8cpp.html (+88/-32)
doc/html/ofx__container__generic_8cpp_source.html (+157/-0)
doc/html/ofx__container__main_8cpp-source.html (+0/-215)
doc/html/ofx__container__main_8cpp.html (+82/-28)
doc/html/ofx__container__main_8cpp_source.html (+271/-0)
doc/html/ofx__container__security_8cpp-source.html (+0/-117)
doc/html/ofx__container__security_8cpp.html (+88/-32)
doc/html/ofx__container__security_8cpp_source.html (+181/-0)
doc/html/ofx__container__statement_8cpp-source.html (+0/-136)
doc/html/ofx__container__statement_8cpp.html (+88/-32)
doc/html/ofx__container__statement_8cpp_source.html (+199/-0)
doc/html/ofx__container__transaction_8cpp-source.html (+0/-403)
doc/html/ofx__container__transaction_8cpp.html (+88/-32)
doc/html/ofx__container__transaction_8cpp_source.html (+534/-0)
doc/html/ofx__containers_8hh-source.html (+0/-209)
doc/html/ofx__containers_8hh.html (+112/-66)
doc/html/ofx__containers_8hh_source.html (+276/-0)
doc/html/ofx__containers__misc_8cpp-source.html (+0/-184)
doc/html/ofx__containers__misc_8cpp.html (+90/-33)
doc/html/ofx__containers__misc_8cpp_source.html (+251/-0)
doc/html/ofx__error__msg_8hh-source.html (+0/-153)
doc/html/ofx__error__msg_8hh.html (+123/-68)
doc/html/ofx__error__msg_8hh_source.html (+212/-0)
doc/html/ofx__preproc_8cpp-source.html (+0/-553)
doc/html/ofx__preproc_8cpp.html (+275/-223)
doc/html/ofx__preproc_8cpp_source.html (+751/-0)
doc/html/ofx__preproc_8hh-source.html (+0/-48)
doc/html/ofx__preproc_8hh.html (+194/-142)
doc/html/ofx__preproc_8hh_source.html (+103/-0)
doc/html/ofx__request_8cpp-source.html (+0/-137)
doc/html/ofx__request_8cpp.html (+92/-38)
doc/html/ofx__request_8cpp_source.html (+194/-0)
doc/html/ofx__request_8hh-source.html (+0/-66)
doc/html/ofx__request_8hh.html (+95/-41)
doc/html/ofx__request_8hh_source.html (+121/-0)
doc/html/ofx__request__accountinfo_8cpp-source.html (+0/-98)
doc/html/ofx__request__accountinfo_8cpp.html (+88/-32)
doc/html/ofx__request__accountinfo_8cpp_source.html (+154/-0)
doc/html/ofx__request__accountinfo_8hh-source.html (+0/-51)
doc/html/ofx__request__accountinfo_8hh.html (+88/-32)
doc/html/ofx__request__accountinfo_8hh_source.html (+106/-0)
doc/html/ofx__request__statement_8cpp-source.html (+0/-249)
doc/html/ofx__request__statement_8cpp.html (+92/-38)
doc/html/ofx__request__statement_8cpp_source.html (+306/-0)
doc/html/ofx__request__statement_8hh-source.html (+0/-74)
doc/html/ofx__request__statement_8hh.html (+89/-34)
doc/html/ofx__request__statement_8hh_source.html (+129/-0)
doc/html/ofx__sgml_8cpp-source.html (+0/-357)
doc/html/ofx__sgml_8cpp.html (+166/-112)
doc/html/ofx__sgml_8cpp_source.html (+428/-0)
doc/html/ofx__sgml_8hh-source.html (+0/-41)
doc/html/ofx__sgml_8hh.html (+113/-58)
doc/html/ofx__sgml_8hh_source.html (+96/-0)
doc/html/ofx__utilities_8cpp-source.html (+0/-237)
doc/html/ofx__utilities_8cpp.html (+206/-157)
doc/html/ofx__utilities_8cpp_source.html (+329/-0)
doc/html/ofx__utilities_8hh-source.html (+0/-61)
doc/html/ofx__utilities_8hh.html (+195/-151)
doc/html/ofx__utilities_8hh_source.html (+116/-0)
doc/html/ofxconnect_2cmdline_8c-source.html (+0/-1065)
doc/html/ofxconnect_2cmdline_8c_source.html (+1063/-0)
doc/html/ofxconnect_2cmdline_8h-source.html (+0/-160)
doc/html/ofxconnect_2cmdline_8h_source.html (+232/-0)
doc/html/ofxconnect_8cpp-source.html (+0/-500)
doc/html/ofxconnect_8cpp.html (+96/-31)
doc/html/ofxconnect_8cpp_source.html (+557/-0)
doc/html/ofxdump_2cmdline_8c-source.html (+0/-560)
doc/html/ofxdump_2cmdline_8c_source.html (+726/-0)
doc/html/ofxdump_2cmdline_8h-source.html (+0/-119)
doc/html/ofxdump_2cmdline_8h_source.html (+191/-0)
doc/html/ofxdump_8cpp-source.html (+0/-445)
doc/html/ofxdump_8cpp.html (+115/-64)
doc/html/ofxdump_8cpp_source.html (+502/-0)
doc/html/ofxpartner_8cpp-source.html (+0/-243)
doc/html/ofxpartner_8cpp.html (+105/-57)
doc/html/ofxpartner_8cpp_source.html (+300/-0)
doc/html/ofxpartner_8h-source.html (+0/-51)
doc/html/ofxpartner_8h.html (+94/-45)
doc/html/ofxpartner_8h_source.html (+106/-0)
doc/html/resize.js (+81/-0)
doc/html/structErrorMsg.html (+143/-168)
doc/html/structLibofxFileFormatInfo.html (+141/-170)
doc/html/structOfxAccountData.html (+365/-509)
doc/html/structOfxCurrency.html (+141/-90)
doc/html/structOfxFiLogin.html (+104/-55)
doc/html/structOfxFiServiceInfo.html (+164/-126)
doc/html/structOfxPayee.html (+97/-50)
doc/html/structOfxPayment.html (+93/-44)
doc/html/structOfxSecurityData.html (+260/-228)
doc/html/structOfxStatementData.html (+290/-317)
doc/html/structOfxStatusData.html (+315/-517)
doc/html/structOfxTransactionData.html (+608/-684)
doc/html/structcmdline__parser__params.html (+104/-48)
doc/html/structgengetopt__args__info.html (+374/-424)
doc/html/structoption.html (+93/-56)
doc/html/tabs.css (+58/-101)
doc/html/tree.html (+0/-345)
doc/html/tree_8hh-source.html (+0/-2026)
doc/html/tree_8hh_source.html (+2206/-0)
doc/html/win32_8cpp-source.html (+0/-92)
doc/html/win32_8cpp_source.html (+152/-0)
doc/html/win32_8hh-source.html (+0/-53)
doc/html/win32_8hh_source.html (+108/-0)
doc/ofx_sample_files/CVS/Entries (+0/-3)
doc/ofx_sample_files/CVS/Repository (+0/-1)
doc/ofx_sample_files/CVS/Root (+0/-1)
dtd/Makefile.in (+124/-81)
dtd/ofc.dtd (+623/-623)
dtd/ofx160.dtd (+3497/-3497)
dtd/ofx201.dtd (+4789/-4789)
inc/Makefile.in (+144/-99)
inc/libofx.h (+697/-619)
inc/libofx.h.in (+695/-617)
lib/Makefile.am (+3/-3)
lib/Makefile.in (+167/-116)
lib/context.cpp (+76/-55)
lib/context.hh (+10/-3)
lib/file_preproc.cpp (+96/-91)
lib/file_preproc.hh (+4/-4)
lib/messages.cpp (+44/-32)
lib/messages.hh (+5/-4)
lib/ofc_sgml.cpp (+202/-195)
lib/ofc_sgml.hh (+2/-2)
lib/ofx_aggregate.hh (+27/-27)
lib/ofx_container_account.cpp (+116/-98)
lib/ofx_container_generic.cpp (+22/-20)
lib/ofx_container_main.cpp (+109/-108)
lib/ofx_container_security.cpp (+40/-31)
lib/ofx_container_statement.cpp (+52/-44)
lib/ofx_container_transaction.cpp (+299/-224)
lib/ofx_containers.hh (+59/-47)
lib/ofx_containers_misc.cpp (+60/-48)
lib/ofx_error_msg.hh (+15/-11)
lib/ofx_preproc.cpp (+528/-381)
lib/ofx_preproc.hh (+5/-5)
lib/ofx_request.cpp (+36/-35)
lib/ofx_request.hh (+3/-3)
lib/ofx_request_accountinfo.cpp (+4/-4)
lib/ofx_request_accountinfo.hh (+1/-1)
lib/ofx_request_statement.cpp (+39/-38)
lib/ofx_request_statement.hh (+5/-5)
lib/ofx_sgml.cpp (+209/-193)
lib/ofx_sgml.hh (+2/-2)
lib/ofx_utilities.cpp (+123/-88)
lib/ofx_utilities.hh (+5/-5)
lib/tree.hh (+1643/-1518)
lib/win32.cpp (+21/-16)
lib/win32.hh (+1/-1)
libofx.lsm (+6/-6)
libofx.lsm.in (+14/-0)
libofx.pc (+2/-2)
libofx.spec (+2/-2)
libofx.spec.in (+1/-1)
m4/Makefile.in (+94/-69)
m4/os.m4 (+1/-1)
ofx2qif/Makefile.am (+1/-1)
ofx2qif/Makefile.in (+167/-121)
ofx2qif/ofx2qif.c (+2/-2)
ofxconnect/Makefile.am (+4/-0)
ofxconnect/Makefile.in (+303/-152)
ofxconnect/cmdline.c (+494/-532)
ofxconnect/cmdline.h (+60/-32)
ofxconnect/ofxconnect.1 (+95/-0)
ofxconnect/ofxconnect.cpp (+3/-2)
ofxconnect/ofxpartner.cpp (+1/-1)
ofxdump/Makefile.am (+9/-2)
ofxdump/Makefile.in (+273/-142)
ofxdump/cmdline.c (+298/-168)
ofxdump/cmdline.h (+48/-20)
ofxdump/ofxdump.1 (+61/-0)
ofxdump/ofxdump.cpp (+3/-3)
To merge this branch: bzr merge lp:~benoitg/ubuntu/natty/libofx/libofx.new-upstream-fix-661809-629996
Reviewer Review Type Date Requested Status
Michael Terry Needs Fixing
Ubuntu branches Pending
Review via email: mp+58207@code.launchpad.net

Description of the change

Rationale for merging is that the previous patch for 629996 causes regressions, that it fixes a segfault 661809, and that the upstream has only bug fixes since 0.9.0, but none were picked-up by ubuntu.

libofx (1:0.9.4-0ubuntu1) natty; urgency=low

  * New upstream release. Since 0.9.4, all changes were bugfixes and
    changes requested by packagers
  * Add debian/watch
  * Add debian/source/format
  * Fix various lintian reported problems
  * Remove previous patch for 629996 which causes regressions.
    A better patch was integrated upstream.
  * Fixes (LP: #661809)
  * Add man pages for ofxdump and ofxconnect

To post a comment you must log in.
Revision history for this message
Michael Terry (mterry) wrote :

Hello! Thanks for the attention to libofx, looks like good stuff.

However, we're too close to natty's release to squeeze this in. And the changes are too invasive (changing source format, etc) to use as an SRU.

If the specific patches are very important, you can file an SRU for them that includes just the bug fix patches. See https://wiki.ubuntu.com/StableReleaseUpdates

Otherwise, these changes would be able to go into oneiric.

However! Even then, your packaging changes (source format, watch, etc) add quite a bit of a delta with Debian. It would be better to send those patches upstream to Debian than introduce them only in Ubuntu.

Lastly, I don't actually see any changes in this merge to the debian/ directory. Where are the packaging changes?

review: Needs Fixing
Revision history for this message
Benoit Grégoire (benoitg) wrote :
Download full text (4.5 KiB)

> Hello! Thanks for the attention to libofx, looks like good stuff.
>
> However, we're too close to natty's release to squeeze this in. And the
> changes are too invasive (changing source format, etc) to use as an SRU.

I tried following: https://wiki.ubuntu.com/PackagingGuide/Complete#Updating%20an%20Ubuntu%20Package, as scrupulously as possible, including the "Bonus points" section (Adding watch, etc.). I even created build recipes and automated builds on launchpad for the branch. I thought it would make it easier to get in, apparently that wasn't the case.

Would it make it more acceptable if I remove all the lintian warning removing packaging fixes?

> If the specific patches are very important, you can file an SRU for them that
> includes just the bug fix patches. See
> https://wiki.ubuntu.com/StableReleaseUpdates

Ok, according to this I should get on IRC and yell !regression-alert for bug #629996. That seems silly months later. Then presumably I'd be asked to propose an alternative patch for this bug, cherry-picked from upstream commits. Is that so? If so it's silly, but I'll do it, libofx having been broken by a ubuntu patch for most non-english and non japanese speaking users...

But I DO have 4 years of fixes for upstream reported bugs, ubuntu reported bugs, and debian reported bugs. Some of them are segfaults, which is a problem considering the number of packages that link with libofx. Am I expected to open a SRU for every one of them, then generate and regression an individual patch for each of them individually? Sorry, I have enough trouble as it is finding the time to actually fix the bugs.

The patch looks very invasive, because bzr contains the entire package uncompressed upstream tarball including generated files. But if we forget the (not so big) debian/ changes to follow https://wiki.ubuntu.com/PackagingGuide/Complete#Updating%20an%20Ubuntu%20Package and trying to get it back into debian (such as adding ma pages) this would be a simple patch:

-Remove all Ubuntu applied patches
-Update to upstream release 0.9.4
-Remove a dependency on an orphaned package (libxml++1.0) in debian/control
-Add man pages in debian/rules

Would that be considered?

If not, people will have to make do with ppas, and I'll push for integrating this branch in oneiric as is. I think I respected the entire procedure, including doing my best to try to get it into Debian.

> Otherwise, these changes would be able to go into oneiric.
>
> However! Even then, your packaging changes (source format, watch, etc) add
> quite a bit of a delta with Debian. It would be better to send those patches
> upstream to Debian than introduce them only in Ubuntu.

I did, and I am not the first: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=551057

Here is the situation (http://packages.debian.org/changelogs/pool/main/libo/libofx/libofx_0.9.0-3/changelog):

- Debian last updated to upstream in 2007, Ubuntu last updated to that package.

- Debian did various local patches in 2008, and haven't touched the package since.

- Upstream kept fixing bugs from 2009-2011, released 4 times, and ultimately superseded every Debian and Ubuntu patch, plus fix every de...

Read more...

Revision history for this message
Michael Terry (mterry) wrote :

Hi! Sorry; I didn't mean to be discouraging. I'm here to help this get in, not to stop it. It's just that we're a couple days away from release, so this couldn't go in as-is. If this had come in a few weeks ago, I could have rubber stamped it.

The fact that Debian has all but ignored this package for years makes it easier to just say, "We'll update in Ubuntu and deal with the delta if and when Debian decides to come along with us."

You're right about the debian/ directory, I didn't notice the little comment at the bottom of this LP page: "The diff has been truncated for viewing." Actually checking out the branch shows them.

So now we can just prepare an SRU and push it. I can handle that aspect for you, now that I see the debian/ changes. It's mostly paperwork, dropping the few changes that weren't strictly bug fixes (e.g. source format 3.0, watch file), then pushing to natty-proposed. Then when oneiric opens, we can push the full changeset there.

Revision history for this message
Benoit Grégoire (benoitg) wrote :

Ok, if I can do anything to help you, just say so.

Revision history for this message
Michael Terry (mterry) wrote :

Do you have an test case file for the latin1 problem?

Revision history for this message
Michael Terry (mterry) wrote :

nm, made one. OK, SRUs are filed!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'AUTHORS'
--- AUTHORS 2008-08-08 05:14:15 +0000
+++ AUTHORS 2011-04-19 18:04:29 +0000
@@ -1,4 +1,4 @@
1Benoit Grégoire <bock@step.polymtl.ca>1Benoit Gr�goire <benoitg@coeus.ca>
2Peter O'Gorman <peter@pogma.com>2Peter O'Gorman <peter@pogma.com>
3Ace Jones <acejones@users.sf.net>3Ace Jones <acejones@users.sf.net>
4Martin Preuss<martin@aquamaniac.de>4Martin Preuss<martin@aquamaniac.de>
55
=== modified file 'ChangeLog'
--- ChangeLog 2008-08-08 05:14:15 +0000
+++ ChangeLog 2011-04-19 18:04:29 +0000
@@ -1,3 +1,41 @@
12011-01-12 Christian Stimming <stimming@tuhh.de>
2
3 * configure.in: Release 0.9.2 with the previous bugfixes.
4
5 * lib/ofx_preproc.cpp: Win32: Add gnucash patch that looks up the
6 dtd installation directory from the current executable's location.
7
82010-10-26 Benoit Grégoire <benoitg@coeus.ca>
9 * Apply patch by Geert Janssens to fix crash on invalid date format
10
112010-04-27 Benoit Grégoire <benoitg@coeus.ca>
12 * Patch by ajseward with some additional fixes to allow wraping the library in python.
13
142010-02-04 Benoit Grégoire <benoitg@coeus.ca>
15 * Applied a patch provided by Thomas Baumgart which fixes bug #5 (Transaction posting date off by one)
16
172009-05-15 Benoit Grégoire <benoitg@coeus.ca>
18 * Various C++ include fixes for building with recent compilers. Patch by Bill Nottingham <notting@redhat.com>
19
202009-02-09 Christian Stimming <stimming@tuhh.de>
21
22 * configure.in: Release 0.9.1 with the bugfix for gnucash
23
242008-12-06 Christian Stimming <stimming@tuhh.de>
25
26 * lib/ofx_preproc.cpp: Add more sanity checks on string length. I
27 forgot the bug which required those to be fixed, but I fixed them
28 anyway.
29
30 * lib/ofx_preproc.cpp: Fix gnucash crash on OFX files with
31 non-ascii characters and very long lines. See
32 http://bugzilla.gnome.org/show_bug.cgi?id=528306 and
33 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493597. Patch was
34 copied from the latter. Patch by Jerome Vouillon.
35
3620/11/2007 Martin Preuss <martin@aquamaniac.de>
37 * updated specfile
38
139
219/11/2007 Martin Preuss <martin@aquamaniac.de>4019/11/2007 Martin Preuss <martin@aquamaniac.de>
3 * Release 0.9.041 * Release 0.9.0
@@ -36,14 +74,14 @@
36 * ofx_utilities.{cpp,h}: added a function to generate a temp file name74 * ofx_utilities.{cpp,h}: added a function to generate a temp file name
37 (works on WIN32 and Linux)75 (works on WIN32 and Linux)
3876
3924/1/2007: Benoit Grégoire <bock@step.polymtl.ca>7724/1/2007: Benoit Grégoire <benoitg@coeus.ca>
40 * ofx_preproc.cpp: Now parses the OFX headers to determine the input charset and 78 * ofx_preproc.cpp: Now parses the OFX headers to determine the input charset and
41 encoding, and uses libiconv (if available) to convert the encoding since OpenSP 79 encoding, and uses libiconv (if available) to convert the encoding since OpenSP
42 can't do it. The default output is now UTF-8. This will "do the right thing" 80 can't do it. The default output is now UTF-8. This will "do the right thing"
43 for Gnucash 2 and any client that uses UTF-8 strings, but we should add an interface 81 for Gnucash 2 and any client that uses UTF-8 strings, but we should add an interface
44 to let the client chose his prefered output encoding.82 to let the client chose his prefered output encoding.
4583
469/1/2007: Benoit Grégoire <bock@step.polymtl.ca>849/1/2007: Benoit Grégoire <benoitg@coeus.ca>
47 * Adapted patch by Christian Lupien <lupien @at@ physique.usherbrooke.ca> to add 85 * Adapted patch by Christian Lupien <lupien @at@ physique.usherbrooke.ca> to add
48 processing of the different bank account types in OfxPaymentRequest. Took this86 processing of the different bank account types in OfxPaymentRequest. Took this
49 oportunity to correct an API duplication problem before it get's even more 87 oportunity to correct an API duplication problem before it get's even more
@@ -52,7 +90,7 @@
52 Both of these changes will require source code change in aqbanking.90 Both of these changes will require source code change in aqbanking.
53 * Bump the version and soname right now so aqbanking can detect it.91 * Bump the version and soname right now so aqbanking can detect it.
5492
558/1/2007: Benoit Grégoire <bock@step.polymtl.ca>938/1/2007: Benoit Grégoire <benoitg@coeus.ca>
56 * Release 0.8.394 * Release 0.8.3
5795
5827/9/2006 Martin Preuss <martin@aquamaniac.de>9627/9/2006 Martin Preuss <martin@aquamaniac.de>
@@ -62,7 +100,7 @@
62 Fixes crash http://bugzilla.gnome.org/show_bug.cgi?id=353986100 Fixes crash http://bugzilla.gnome.org/show_bug.cgi?id=353986
63 Patch supplied by Christian Stimming from GnuCash101 Patch supplied by Christian Stimming from GnuCash
64102
6525/8/2006: Benoit Grégoire <bock@step.polymtl.ca>10325/8/2006: Benoit Grégoire <benoitg@coeus.ca>
66 * Fix datatype mismatch in ofx_preproc.cpp104 * Fix datatype mismatch in ofx_preproc.cpp
67 * Fix gengetopt related build problems on debian based distribution.105 * Fix gengetopt related build problems on debian based distribution.
68 * Remove massage about dependency on Qt, qhich is no longuer true106 * Remove massage about dependency on Qt, qhich is no longuer true
@@ -77,7 +115,7 @@
7728/7/2006 Ace Jones <acejones@users.sf.net>11528/7/2006 Ace Jones <acejones@users.sf.net>
78 * Fixed a compilation bug on GCC 4.1116 * Fixed a compilation bug on GCC 4.1
79117
8020/7/2006: Benoit Grégoire <bock@step.polymtl.ca>11820/7/2006: Benoit Grégoire <benoitg@coeus.ca>
81 * Revert last change to ofxdump, as it requires a system-dependent header (plus it didn't compile on my system)119 * Revert last change to ofxdump, as it requires a system-dependent header (plus it didn't compile on my system)
82 * Make both curl and libxml++ optional for compilation.120 * Make both curl and libxml++ optional for compilation.
83 * Add some debug output.121 * Add some debug output.
@@ -144,7 +182,7 @@
14427/8/2005 Ace Jones <acejones@users.sf.net>18227/8/2005 Ace Jones <acejones@users.sf.net>
145 * Added fees and commission fields to transaction structure (and fill them in)183 * Added fees and commission fields to transaction structure (and fill them in)
146184
14731/7/2005: Benoit Grégoire <bock@step.polymtl.ca>18531/7/2005: Benoit Grégoire <benoitg@coeus.ca>
148 * Release 0.8.0186 * Release 0.8.0
149 * configure.in: Update libtool version number. Make curl check fatal untill there is code to conditionally not compile ofxconnect when CURL is unavailable.187 * configure.in: Update libtool version number. Make curl check fatal untill there is code to conditionally not compile ofxconnect when CURL is unavailable.
150 * Fix the build system so that discheck will finally run properly.188 * Fix the build system so that discheck will finally run properly.
@@ -173,19 +211,19 @@
173 * Added libofx_request_accountinfo API to create an OFX account into request211 * Added libofx_request_accountinfo API to create an OFX account into request
174 * Added ofxconnect sample app to demonstrate & test new API's (try "make check" in the ofxconnect folder). Read README.privateserver first.212 * Added ofxconnect sample app to demonstrate & test new API's (try "make check" in the ofxconnect folder). Read README.privateserver first.
175213
17624/11/2004: Benoit Grégoire <bock@step.polymtl.ca>21424/11/2004: Benoit Grégoire <benoitg@coeus.ca>
177 * Apply Christian Stimming's patch for rpm building. Also adds a make rpm target.215 * Apply Christian Stimming's patch for rpm building. Also adds a make rpm target.
178 216
17908/10/2004: Benoit Grégoire <bock@step.polymtl.ca>21708/10/2004: Benoit Grégoire <benoitg@coeus.ca>
180 * Release 0.7.0218 * Release 0.7.0
181 * configure.in: Update libtool version number.219 * configure.in: Update libtool version number.
182220
18321/9/2004 Benoit Grégoire <bock@step.polymtl.ca>22121/9/2004 Benoit Grégoire <benoitg@coeus.ca>
184 * Really remove callback.hh and callback.cpp222 * Really remove callback.hh and callback.cpp
185 * Fix compile with gcc 3.4. This also needs to be applied to the stable branch.223 * Fix compile with gcc 3.4. This also needs to be applied to the stable branch.
186 * Fix tree handling for securities, which caused the callbacks never to be called. 224 * Fix tree handling for securities, which caused the callbacks never to be called.
187225
18831/8/2004 Benoit Grégoire <bock@step.polymtl.ca>22631/8/2004 Benoit Grégoire <benoitg@coeus.ca>
189 * Remove obsolete files callback.hh and callback.cpp227 * Remove obsolete files callback.hh and callback.cpp
190 * More makefile fixes in lib228 * More makefile fixes in lib
191 229
@@ -200,11 +238,11 @@
200 * a few Makefile fixes in lib238 * a few Makefile fixes in lib
201 * adjusted ofxdump and ofx2qif to these changes239 * adjusted ofxdump and ofx2qif to these changes
202240
20331/8/2004 Benoit Grégoire <bock@step.polymtl.ca>24131/8/2004 Benoit Grégoire <benoitg@coeus.ca>
204 * Revamp the callback architecture according to discussion with Martin Preuss. This is much cleaner and extensible, although a long way from perfect.242 * Revamp the callback architecture according to discussion with Martin Preuss. This is much cleaner and extensible, although a long way from perfect.
205 * Autoconf fixes from Martin Preuss243 * Autoconf fixes from Martin Preuss
206244
20723/4/2004 Benoit Grégoire <bock@step.polymtl.ca>24523/4/2004 Benoit Grégoire <benoitg@coeus.ca>
208 * At long last, a flexible and extendable command line parser is used in ofxdump. This was essential for debuging, and even more essential for developing Direct Connect. Immediate benefits are that you can set the desired debug output without recompiling. Check ofxdump --help for options.246 * At long last, a flexible and extendable command line parser is used in ofxdump. This was essential for debuging, and even more essential for developing Direct Connect. Immediate benefits are that you can set the desired debug output without recompiling. Check ofxdump --help for options.
209 * configure.in: gengetopt will be used if available. 247 * configure.in: gengetopt will be used if available.
210 * lib/Makefile.am:248 * lib/Makefile.am:
@@ -220,23 +258,23 @@
220 * lib/file_preproc.cpp 258 * lib/file_preproc.cpp
221 * lib/file_preproc.hh 259 * lib/file_preproc.hh
222 260
2238/4/2004 Benoit Grégoire <bock@step.polymtl.ca>2618/4/2004 Benoit Grégoire <benoitg@coeus.ca>
224 * Multiple files: Working (but incomplete) OFC import. Still need cleanup. Pass context everywhere. Begin cleaning up tree handling.262 * Multiple files: Working (but incomplete) OFC import. Still need cleanup. Pass context everywhere. Begin cleaning up tree handling.
225 * lib/tree.hh: Upgrade to latest version263 * lib/tree.hh: Upgrade to latest version
226264
22731/3/2004 Benoit Grégoire <bock@step.polymtl.ca>26531/3/2004 Benoit Grégoire <benoitg@coeus.ca>
228 * lib/context.cpp,hh: New files. Create a global libofx object to allow the library to cleanly keep state. This will allow much cleanup, and is needed for the move to a DOM style interface. Other files ajusted to match.266 * lib/context.cpp,hh: New files. Create a global libofx object to allow the library to cleanly keep state. This will allow much cleanup, and is needed for the move to a DOM style interface. Other files ajusted to match.
229267
2307/3/2004 Benoit Grégoire <bock@step.polymtl.ca>2687/3/2004 Benoit Grégoire <benoitg@coeus.ca>
231 * lib/ofc_sgml.cpp/hh: New files. Splits code path for OFC and OFX to keep things understandeable. Some more OFC parsing. Now waiting to implement global libofx context object passed everywhere to make further progress.269 * lib/ofc_sgml.cpp/hh: New files. Splits code path for OFC and OFX to keep things understandeable. Some more OFC parsing. Now waiting to implement global libofx context object passed everywhere to make further progress.
232 * lib/messages.cpp: Move the definition of the required globals for displaying line numbers there, as it's the only place they are read.270 * lib/messages.cpp: Move the definition of the required globals for displaying line numbers there, as it's the only place they are read.
233271
2343/3/2004 Benoit Grégoire <bock@step.polymtl.ca>2723/3/2004 Benoit Grégoire <benoitg@coeus.ca>
235 * Many...273 * Many...
236 * lib/file_preproc.cpp, lib/file_preproc.hh: Add file format autodetection architecture, can currently distinguish between OFX and OFC files. Note that because of this change, the main entry point of the library is now in file_preproc.cpp.274 * lib/file_preproc.cpp, lib/file_preproc.hh: Add file format autodetection architecture, can currently distinguish between OFX and OFC files. Note that because of this change, the main entry point of the library is now in file_preproc.cpp.
237 * dtd/ofc.dtd, lib/ofx_sgml.cpp, lib/ofx_preproc.cpp: Add embryo of OFC (Microsoft Open Financial Connectivity) to LibOFX. The SGML parses succesfully, but LibOFX does not yet know what to do with it. Big thanks to Jeremy Jongsma jeremy at jongsma.org for finally finding the required DTD. I haven't yet decided if its better to to add this support to ofx_proc_sgml.cpp (easier to maintain, less code duplication), or to create a ofc_proc_sgml.cpp (easier to understand, cleaner code).275 * dtd/ofc.dtd, lib/ofx_sgml.cpp, lib/ofx_preproc.cpp: Add embryo of OFC (Microsoft Open Financial Connectivity) to LibOFX. The SGML parses succesfully, but LibOFX does not yet know what to do with it. Big thanks to Jeremy Jongsma jeremy at jongsma.org for finally finding the required DTD. I haven't yet decided if its better to to add this support to ofx_proc_sgml.cpp (easier to maintain, less code duplication), or to create a ofc_proc_sgml.cpp (easier to understand, cleaner code).
238276
2393/2/2004 Benoit Grégoire <bock@step.polymtl.ca>2773/2/2004 Benoit Grégoire <benoitg@coeus.ca>
240 * inc/libofx.h lib/ofx_preproc.cpp lib/tree.hh ofx2qif/ofx2qif.c ofxdump/ofxdump.cpp: Make it compile. I may have misunderstood what Ryan wanted to do with the prototypes in libofx.h. If so, sorry. Note: I don't think that the void * passed as arguments are saved in the registry yet.278 * inc/libofx.h lib/ofx_preproc.cpp lib/tree.hh ofx2qif/ofx2qif.c ofxdump/ofxdump.cpp: Make it compile. I may have misunderstood what Ryan wanted to do with the prototypes in libofx.h. If so, sorry. Note: I don't think that the void * passed as arguments are saved in the registry yet.
241279
24218/1/2004 Ryan P Bobko <ryan@ostrich-emulators.com>28018/1/2004 Ryan P Bobko <ryan@ostrich-emulators.com>
@@ -250,25 +288,25 @@
250 * ofx2qif/ofx2qif.c: all these files: improved callback registry by including a void pointer to arbitrary data (which can be set by the client in ofx_prep_cb). The pointer gets passed to the callback function as the second argument.288 * ofx2qif/ofx2qif.c: all these files: improved callback registry by including a void pointer to arbitrary data (which can be set by the client in ofx_prep_cb). The pointer gets passed to the callback function as the second argument.
251 289
252 290
25314/1/2004 Benoit Grégoire <bock@step.polymtl.ca>29114/1/2004 Benoit Grégoire <benoitg@coeus.ca>
254 * Merge initial Callback registration patch by Ryan P Bobko. Touches most files.292 * Merge initial Callback registration patch by Ryan P Bobko. Touches most files.
255 293
25614/1/2004 Benoit Grégoire <bock@step.polymtl.ca>29414/1/2004 Benoit Grégoire <benoitg@coeus.ca>
257 RELEASE LibOfx 0.6.6295 RELEASE LibOfx 0.6.6
258 * configure.in: Change version number296 * configure.in: Change version number
259 * NEWS: Update for release297 * NEWS: Update for release
260 * Makefile.am: Add version number to docdir name298 * Makefile.am: Add version number to docdir name
261 * libofx.spec.in: Remove known_bugs.txt299 * libofx.spec.in: Remove known_bugs.txt
262300
26314/1/2004 Benoit Grégoire <bock@step.polymtl.ca>30114/1/2004 Benoit Grégoire <benoitg@coeus.ca>
264 * dtd/Makefile.am, dtd/opensp.dcl, * lib/ofx_preproc.[cpp,hh],: Add SGML declaration to be parsed before the DTD. Makes us immune to changes to default settings. Should get rid of "end tag for "MEMO" omitted, but OMITTAG NO was specified" type of messages and greatly help the parser.302 * dtd/Makefile.am, dtd/opensp.dcl, * lib/ofx_preproc.[cpp,hh],: Add SGML declaration to be parsed before the DTD. Makes us immune to changes to default settings. Should get rid of "end tag for "MEMO" omitted, but OMITTAG NO was specified" type of messages and greatly help the parser.
265 * lib/ofx_sgml.cpp: Get rid of OpenSP 1.3.1 compatibility code, which makes the code much easier to understand and debug. Combined with the change obove, it should practically eliminate the parsing ambiguity that made libofx so verbose and ocasionally miss data. More defensive coding to warn of malformed files. This probably means that compatibility with OpenSP 1.3.1 cannot come back. However with the change above it may work after all. Somebody please test this...303 * lib/ofx_sgml.cpp: Get rid of OpenSP 1.3.1 compatibility code, which makes the code much easier to understand and debug. Combined with the change obove, it should practically eliminate the parsing ambiguity that made libofx so verbose and ocasionally miss data. More defensive coding to warn of malformed files. This probably means that compatibility with OpenSP 1.3.1 cannot come back. However with the change above it may work after all. Somebody please test this...
266 * lib/messages.cpp: Finally implement displaying line numbers in the error output. This can be turned off by the clients by setting the ofx_show_position global. These should all get setter functions in the API re-write.304 * lib/messages.cpp: Finally implement displaying line numbers in the error output. This can be turned off by the clients by setting the ofx_show_position global. These should all get setter functions in the API re-write.
267305
2686/12/2003 Benoit Grégoire <bock@step.polymtl.ca>3066/12/2003 Benoit Grégoire <benoitg@coeus.ca>
269 * lib/ofx_container_transaction.cpp: Fix an infinite loop when searching for a parent statement for a transaction if it isn't the immediate parent. Thanks to stephen.a.prior A T ntlworld.ie for the catch.307 * lib/ofx_container_transaction.cpp: Fix an infinite loop when searching for a parent statement for a transaction if it isn't the immediate parent. Thanks to stephen.a.prior A T ntlworld.ie for the catch.
270308
27112/9/2003 Benoit Grégoire <bock@step.polymtl.ca>30912/9/2003 Benoit Grégoire <benoitg@coeus.ca>
272 RELEASE LibOfx 0.6.5310 RELEASE LibOfx 0.6.5
273 * configure.in: Change version number311 * configure.in: Change version number
274 * NEWS: Update for release312 * NEWS: Update for release
@@ -276,70 +314,70 @@
276 * doc/implementation_notes.txt: Moved contents in the doxygen docs.314 * doc/implementation_notes.txt: Moved contents in the doxygen docs.
277 * doc/Makefile.am: Fix the path for the html docs.315 * doc/Makefile.am: Fix the path for the html docs.
278 316
2792/5/2003 Benoit Grégoire <bock@step.polymtl.ca>3172/5/2003 Benoit Grégoire <benoitg@coeus.ca>
280 * lib/ofx_utilities.cpp: Add #include <locale.h> to fix compile error on freebsd and possibly all gcc2 based distro.318 * lib/ofx_utilities.cpp: Add #include <locale.h> to fix compile error on freebsd and possibly all gcc2 based distro.
281319
28215/4/2003 Benoit Grégoire <bock@step.polymtl.ca>32015/4/2003 Benoit Grégoire <benoitg@coeus.ca>
283 * lib/ofx_preproc.cpp: Fix for really broken files that do not have a newline after the ofx header. Fixes bug #721732321 * lib/ofx_preproc.cpp: Fix for really broken files that do not have a newline after the ofx header. Fixes bug #721732
284 322
28512/4/2003 Benoit Grégoire <bock@step.polymtl.ca>32312/4/2003 Benoit Grégoire <benoitg@coeus.ca>
286 RELEASE LibOfx 0.6.4324 RELEASE LibOfx 0.6.4
287 * configure.in: Change version number325 * configure.in: Change version number
288 * NEWS: Update for release326 * NEWS: Update for release
289 * lib/ofx_utilities.cpp: Fix bug in ofxamount_to_double() triggered by the client setting the locale. If the locale used ',' as decimal separator, it would get normalised to '.' and atof() would fail. Now normalises to (localeconv())->decimal_point. Closes gnucash bug 105481327 * lib/ofx_utilities.cpp: Fix bug in ofxamount_to_double() triggered by the client setting the locale. If the locale used ',' as decimal separator, it would get normalised to '.' and atof() would fail. Now normalises to (localeconv())->decimal_point. Closes gnucash bug 105481
290328
29118/3/2003 Benoit Grégoire <bock@step.polymtl.ca>32918/3/2003 Benoit Grégoire <benoitg@coeus.ca>
292 RELEASE LibOfx 0.6.3330 RELEASE LibOfx 0.6.3
293 * NEWS: Update for release331 * NEWS: Update for release
294 * Makefile.am: Remove references to known_bugx.txt332 * Makefile.am: Remove references to known_bugx.txt
295333
29616/3/2003 Benoit Grégoire <bock@step.polymtl.ca>33416/3/2003 Benoit Grégoire <benoitg@coeus.ca>
297 * configure.in: Remove --with-opensp-multibyte configure option (it is now the default). There is now a --with-no-opensp-multibyte instead, to force libofx to assume that OpenSP was NOT compiled with SP_MULTI_BYTE defined.335 * configure.in: Remove --with-opensp-multibyte configure option (it is now the default). There is now a --with-no-opensp-multibyte instead, to force libofx to assume that OpenSP was NOT compiled with SP_MULTI_BYTE defined.
298 * doc/doxygen.cfg: Remove, this file is now generated from doc/doxygen.cfg.in336 * doc/doxygen.cfg: Remove, this file is now generated from doc/doxygen.cfg.in
299 * known_bugx.txt: Remove file, since we now have a bugtracker.337 * known_bugx.txt: Remove file, since we now have a bugtracker.
300 * README: Update338 * README: Update
301 * INSTALL: Delete and replace by FAQ, update content.339 * INSTALL: Delete and replace by FAQ, update content.
302 340
30311/3/2003 Benoit Grégoire <bock@step.polymtl.ca>34111/3/2003 Benoit Grégoire <benoitg@coeus.ca>
304 * ofxdump/ofxdump.cpp: Remove comand line arguments debug output.342 * ofxdump/ofxdump.cpp: Remove comand line arguments debug output.
305 * lib/ofx_container_main.cpp: Fix compiler warnings reported by Derek Atkins343 * lib/ofx_container_main.cpp: Fix compiler warnings reported by Derek Atkins
306 * Misc build system cleanup344 * Misc build system cleanup
307345
30824/2/2003 Benoit Grégoire <bock@step.polymtl.ca>34624/2/2003 Benoit Grégoire <benoitg@coeus.ca>
309 * ofx2qif/ofx2qif.c: Apply patch by Scott Gifford <sgifford@suspectclass.com> to fix ofx2qif crash.347 * ofx2qif/ofx2qif.c: Apply patch by Scott Gifford <sgifford@suspectclass.com> to fix ofx2qif crash.
310 * Add a bunch of .cvsignore files348 * Add a bunch of .cvsignore files
311349
3123/2/2003 Benoit Grégoire <bock@step.polymtl.ca>3503/2/2003 Benoit Grégoire <benoitg@coeus.ca>
313 * dtd/ofx160.dtd: Correct the dtd to fix the "content model is ambiguous" errors reported by opensp.351 * dtd/ofx160.dtd: Correct the dtd to fix the "content model is ambiguous" errors reported by opensp.
314 352
31527/1/2003 Thomas Frayne <TomF@sjpc.org>35327/1/2003 Thomas Frayne <TomF@sjpc.org>
316 * ofxdump/ofxdump.cpp: Add command options: --version, -V, --help354 * ofxdump/ofxdump.cpp: Add command options: --version, -V, --help
317355
3183/2/2003 Benoit Grégoire <bock@step.polymtl.ca>3563/2/2003 Benoit Grégoire <benoitg@coeus.ca>
319 * lib/ofx_utilities.cpp: Fix ofxdate_to_time_t() that wouldn't compile on sun.357 * lib/ofx_utilities.cpp: Fix ofxdate_to_time_t() that wouldn't compile on sun.
320358
32123/1/2003 Benoit Grégoire <bock@step.polymtl.ca>35923/1/2003 Benoit Grégoire <benoitg@coeus.ca>
322 * lib/ofx_container_transaction.cpp: Explicitely ignore <MKTVAL> since it should always be equal to UNITS*UNITPRICE, and using it may lead to rounding errors.360 * lib/ofx_container_transaction.cpp: Explicitely ignore <MKTVAL> since it should always be equal to UNITS*UNITPRICE, and using it may lead to rounding errors.
323361
32422/1/2003 Benoit Grégoire <bock@step.polymtl.ca>36222/1/2003 Benoit Grégoire <benoitg@coeus.ca>
325 * autogen.sh: Run libtoolize, and reorder the commands. The order is now: libtoolize,aclocal, autoheader, automake, autoconf and configure363 * autogen.sh: Run libtoolize, and reorder the commands. The order is now: libtoolize,aclocal, autoheader, automake, autoconf and configure
326364
32711/1/2003 Benoit Grégoire <bock@step.polymtl.ca>36511/1/2003 Benoit Grégoire <benoitg@coeus.ca>
328 * lib/ofx_utilities.cpp: Really fix problems for big endian machines.366 * lib/ofx_utilities.cpp: Really fix problems for big endian machines.
329 * INSTALL: Document the --with-opensp-multibyte workaround for when headers in package lie about the compile option of OpenSP (usually because they were not compiled at the same time). This is the case with the OpenJade package distributed in Mandrake cooker, and perhaps others. 367 * INSTALL: Document the --with-opensp-multibyte workaround for when headers in package lie about the compile option of OpenSP (usually because they were not compiled at the same time). This is the case with the OpenJade package distributed in Mandrake cooker, and perhaps others.
330 * configure.in: add --with-opensp-multibyte option368 * configure.in: add --with-opensp-multibyte option
331 369
33210/1/2003 Benoit Grégoire <bock@step.polymtl.ca>37010/1/2003 Benoit Grégoire <benoitg@coeus.ca>
333 * lib/ofx_utilities.cpp: Try to fix problems for big endian machines.371 * lib/ofx_utilities.cpp: Try to fix problems for big endian machines.
334372
3359/1/2003 Benoit Grégoire <bock@step.polymtl.ca>3739/1/2003 Benoit Grégoire <benoitg@coeus.ca>
336 * configure.in: Add /usr/local/include to OpenSP's include search path.374 * configure.in: Add /usr/local/include to OpenSP's include search path.
337 * INSTALL: Add FAQ for "bug" http://sourceforge.net/tracker/index.php?func=detail&aid=654591&group_id=61170&atid=496353375 * INSTALL: Add FAQ for "bug" http://sourceforge.net/tracker/index.php?func=detail&aid=654591&group_id=61170&atid=496353
338376
3399/1/2003 Benoit Grégoire <bock@step.polymtl.ca>3779/1/2003 Benoit Grégoire <benoitg@coeus.ca>
340 * lib/ofx_utilities.cpp: Remove the ugly get_sp_char_size() hack and use SP_MULTI_BYTE in config.h instead. This probably fixes the "libofx not working on big endian machines" bug.378 * lib/ofx_utilities.cpp: Remove the ugly get_sp_char_size() hack and use SP_MULTI_BYTE in config.h instead. This probably fixes the "libofx not working on big endian machines" bug.
341379
3429/1/2003 Benoit Grégoire <bock@step.polymtl.ca>3809/1/2003 Benoit Grégoire <benoitg@coeus.ca>
343 * configure.in: Now detect if OpenSP was compiled with SP_MULTI_BYTE, and put the result in config.381 * configure.in: Now detect if OpenSP was compiled with SP_MULTI_BYTE, and put the result in config.
344 * INSTALL: Update for GNU build system.382 * INSTALL: Update for GNU build system.
345383
@@ -350,10 +388,10 @@
35024/11/2002 Chris Lyttle <chris@wilddev.net>38824/11/2002 Chris Lyttle <chris@wilddev.net>
351 * libofx.spec.in: updated for new docs389 * libofx.spec.in: updated for new docs
352390
35324/11/2002 Benoit Grégoire <bock@step.polymtl.ca>39124/11/2002 Benoit Grégoire <benoitg@coeus.ca>
354 * configure.in, doc/Makefile.am: Improve doxygen doc generation, and enable make install without the doc.392 * configure.in, doc/Makefile.am: Improve doxygen doc generation, and enable make install without the doc.
355393
35624/11/2002 Benoit Grégoire <bock@step.polymtl.ca>39424/11/2002 Benoit Grégoire <benoitg@coeus.ca>
357 * ofx_sgml.cpp: Hopefully fix incompatibilities with BOTH OpenSP 1.3.x and OpenSP >= 1.4395 * ofx_sgml.cpp: Hopefully fix incompatibilities with BOTH OpenSP 1.3.x and OpenSP >= 1.4
358 * Makefile.am, doc/Makefile.am: Doxygen API and internal doc now integrated in the build system. It will be distributed and install with the tarballs, and can be build in libofx-cvs using make doc.396 * Makefile.am, doc/Makefile.am: Doxygen API and internal doc now integrated in the build system. It will be distributed and install with the tarballs, and can be build in libofx-cvs using make doc.
359 * autogen.sh: Re-enable maintainer-mode. 397 * autogen.sh: Re-enable maintainer-mode.
@@ -366,43 +404,43 @@
366 * configure.in: added spec.in line404 * configure.in: added spec.in line
367 * autogen.sh: changed configure line to see arguments405 * autogen.sh: changed configure line to see arguments
368 406
36918/11/2002 Benoit Grégoire <bock@step.polymtl.ca>40718/11/2002 Benoit Grégoire <benoitg@coeus.ca>
370 * ofx_sgml.cpp: Fix critical bug. Parsing of a file would fail and hang for users of OpenSP 1.5pre5 (and possibly others). Simplify workaround of OpenSP 1.3 bugs, more code is now shared.408 * ofx_sgml.cpp: Fix critical bug. Parsing of a file would fail and hang for users of OpenSP 1.5pre5 (and possibly others). Simplify workaround of OpenSP 1.3 bugs, more code is now shared.
371 * configure.in: Update for release 0.6.1409 * configure.in: Update for release 0.6.1
372410
37318/11/2002 Benoit Grégoire <bock@step.polymtl.ca>41118/11/2002 Benoit Grégoire <benoitg@coeus.ca>
374 * Update build files for release of libofx 0.6.0412 * Update build files for release of libofx 0.6.0
375413
37630/10/2002 Benoit Grégoire <bock@step.polymtl.ca>41430/10/2002 Benoit Grégoire <benoitg@coeus.ca>
377 * inc/libofx.h lib/ofx_container_transaction.cpp ofxdump/ofxdump.cpp: Created a new invtransactiontype enum to replace the invtranstype string415 * inc/libofx.h lib/ofx_container_transaction.cpp ofxdump/ofxdump.cpp: Created a new invtransactiontype enum to replace the invtranstype string
378416
37930/10/2002 Benoit Grégoire <bock@step.polymtl.ca>41730/10/2002 Benoit Grégoire <benoitg@coeus.ca>
380 * lib/ofx_sgml.cpp: Added yet more spagetti code and global variables to improve the work around for OpenSP 1.3 bugs. I beg of you, please convince your distro to make openjade and the OpenSP library independently upgradable.418 * lib/ofx_sgml.cpp: Added yet more spagetti code and global variables to improve the work around for OpenSP 1.3 bugs. I beg of you, please convince your distro to make openjade and the OpenSP library independently upgradable.
381419
38230/10/2002 Benoit Grégoire <bock@step.polymtl.ca>42030/10/2002 Benoit Grégoire <benoitg@coeus.ca>
383 * configure.in: 421 * configure.in:
384 Apply Derek Atkins <warlord@MIT.EDU> patch needed to build on422 Apply Derek Atkins <warlord@MIT.EDU> patch needed to build on
385> RH7.3 using the "distributed" version of openjade.423> RH7.3 using the "distributed" version of openjade.
386424
38729/10/2002 Benoit Grégoire <bock@step.polymtl.ca>42529/10/2002 Benoit Grégoire <benoitg@coeus.ca>
388 * lib/ofx_preproc.cpp doc/tag_striper_test.txt: 426 * lib/ofx_preproc.cpp doc/tag_striper_test.txt:
389 Proprietary tag striper is now much smarter and read routines have been fixed. Importing a file written on a single line should now be possible. 427 Proprietary tag striper is now much smarter and read routines have been fixed. Importing a file written on a single line should now be possible.
390 Added a test file for the proprietary tag striper .428 Added a test file for the proprietary tag striper .
391429
39229/10/2002 Benoit Grégoire <bock@step.polymtl.ca>43029/10/2002 Benoit Grégoire <benoitg@coeus.ca>
393 * configure.in: Work around autoconf 2.1 not supporting AC_LANG()431 * configure.in: Work around autoconf 2.1 not supporting AC_LANG()
394432
39521/10/2002 Benoit Grégoire <bock@step.polymtl.ca>43321/10/2002 Benoit Grégoire <benoitg@coeus.ca>
396 * ofxdump/ofxdump.cpp: Add support for invtranstype in ofx_proc_transaction_cb()434 * ofxdump/ofxdump.cpp: Add support for invtranstype in ofx_proc_transaction_cb()
397435
39821/10/2002 Benoit Grégoire <bock@step.polymtl.ca>43621/10/2002 Benoit Grégoire <benoitg@coeus.ca>
399 * lib/ofx_preproc.cpp: Abort if DTD was not found437 * lib/ofx_preproc.cpp: Abort if DTD was not found
400 438
40120/10/2002 Benoit Grégoire <bock@step.polymtl.ca>43920/10/2002 Benoit Grégoire <benoitg@coeus.ca>
402 * Fix debug output440 * Fix debug output
403 * Begin fixing ofx2qif for the new transaction ordering code441 * Begin fixing ofx2qif for the new transaction ordering code
404 442
40517/10/2002 Benoit Grégoire <bock@step.polymtl.ca>44317/10/2002 Benoit Grégoire <benoitg@coeus.ca>
406 * Implemented internal container trees, allowing transaction reordering and security lookups444 * Implemented internal container trees, allowing transaction reordering and security lookups
407 * Complete investment transaction support445 * Complete investment transaction support
408 * Converted the build system to automake/autoconf, mostly contributed by "Peter O'Gorman" <peter@pogma.com>446 * Converted the build system to automake/autoconf, mostly contributed by "Peter O'Gorman" <peter@pogma.com>
409447
=== modified file 'INSTALL'
--- INSTALL 2008-08-08 05:14:15 +0000
+++ INSTALL 2011-04-19 18:04:29 +0000
@@ -1,16 +1,25 @@
1Installation Instructions1Installation Instructions
2*************************2*************************
33
4Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free4Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
5Software Foundation, Inc.52006, 2007, 2008, 2009 Free Software Foundation, Inc.
66
7This file is free documentation; the Free Software Foundation gives7 Copying and distribution of this file, with or without modification,
8unlimited permission to copy, distribute and modify it.8are permitted in any medium without royalty provided the copyright
9notice and this notice are preserved. This file is offered as-is,
10without warranty of any kind.
911
10Basic Installation12Basic Installation
11==================13==================
1214
13These are generic installation instructions.15 Briefly, the shell commands `./configure; make; make install' should
16configure, build, and install this package. The following
17more-detailed instructions are generic; see the `README' file for
18instructions specific to this package. Some packages provide this
19`INSTALL' file but do not implement all of the features documented
20below. The lack of an optional feature in a given package is not
21necessarily a bug. More recommendations for GNU packages can be found
22in *note Makefile Conventions: (standards)Makefile Conventions.
1423
15 The `configure' shell script attempts to guess correct values for24 The `configure' shell script attempts to guess correct values for
16various system-dependent variables used during compilation. It uses25various system-dependent variables used during compilation. It uses
@@ -23,9 +32,9 @@
2332
24 It can also use an optional file (typically called `config.cache'33 It can also use an optional file (typically called `config.cache'
25and enabled with `--cache-file=config.cache' or simply `-C') that saves34and enabled with `--cache-file=config.cache' or simply `-C') that saves
26the results of its tests to speed up reconfiguring. (Caching is35the results of its tests to speed up reconfiguring. Caching is
27disabled by default to prevent problems with accidental use of stale36disabled by default to prevent problems with accidental use of stale
28cache files.)37cache files.
2938
30 If you need to do unusual things to compile the package, please try39 If you need to do unusual things to compile the package, please try
31to figure out how `configure' could check whether to do them, and mail40to figure out how `configure' could check whether to do them, and mail
@@ -35,30 +44,37 @@
35may remove or edit it.44may remove or edit it.
3645
37 The file `configure.ac' (or `configure.in') is used to create46 The file `configure.ac' (or `configure.in') is used to create
38`configure' by a program called `autoconf'. You only need47`configure' by a program called `autoconf'. You need `configure.ac' if
39`configure.ac' if you want to change it or regenerate `configure' using48you want to change it or regenerate `configure' using a newer version
40a newer version of `autoconf'.49of `autoconf'.
4150
42The simplest way to compile this package is:51 The simplest way to compile this package is:
4352
44 1. `cd' to the directory containing the package's source code and type53 1. `cd' to the directory containing the package's source code and type
45 `./configure' to configure the package for your system. If you're54 `./configure' to configure the package for your system.
46 using `csh' on an old version of System V, you might need to type
47 `sh ./configure' instead to prevent `csh' from trying to execute
48 `configure' itself.
4955
50 Running `configure' takes awhile. While running, it prints some56 Running `configure' might take a while. While running, it prints
51 messages telling which features it is checking for.57 some messages telling which features it is checking for.
5258
53 2. Type `make' to compile the package.59 2. Type `make' to compile the package.
5460
55 3. Optionally, type `make check' to run any self-tests that come with61 3. Optionally, type `make check' to run any self-tests that come with
56 the package.62 the package, generally using the just-built uninstalled binaries.
5763
58 4. Type `make install' to install the programs and any data files and64 4. Type `make install' to install the programs and any data files and
59 documentation.65 documentation. When installing into a prefix owned by root, it is
6066 recommended that the package be configured and built as a regular
61 5. You can remove the program binaries and object files from the67 user, and only the `make install' phase executed with root
68 privileges.
69
70 5. Optionally, type `make installcheck' to repeat any self-tests, but
71 this time using the binaries in their final installed location.
72 This target does not install anything. Running this target as a
73 regular user, particularly if the prior `make install' required
74 root privileges, verifies that the installation completed
75 correctly.
76
77 6. You can remove the program binaries and object files from the
62 source code directory by typing `make clean'. To also remove the78 source code directory by typing `make clean'. To also remove the
63 files that `configure' created (so you can compile the package for79 files that `configure' created (so you can compile the package for
64 a different kind of computer), type `make distclean'. There is80 a different kind of computer), type `make distclean'. There is
@@ -67,45 +83,69 @@
67 all sorts of other programs in order to regenerate files that came83 all sorts of other programs in order to regenerate files that came
68 with the distribution.84 with the distribution.
6985
86 7. Often, you can also type `make uninstall' to remove the installed
87 files again. In practice, not all packages have tested that
88 uninstallation works correctly, even though it is required by the
89 GNU Coding Standards.
90
91 8. Some packages, particularly those that use Automake, provide `make
92 distcheck', which can by used by developers to test that all other
93 targets like `make install' and `make uninstall' work correctly.
94 This target is generally not run by end users.
95
70Compilers and Options96Compilers and Options
71=====================97=====================
7298
73Some systems require unusual options for compilation or linking that the99 Some systems require unusual options for compilation or linking that
74`configure' script does not know about. Run `./configure --help' for100the `configure' script does not know about. Run `./configure --help'
75details on some of the pertinent environment variables.101for details on some of the pertinent environment variables.
76102
77 You can give `configure' initial values for configuration parameters103 You can give `configure' initial values for configuration parameters
78by setting variables in the command line or in the environment. Here104by setting variables in the command line or in the environment. Here
79is an example:105is an example:
80106
81 ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix107 ./configure CC=c99 CFLAGS=-g LIBS=-lposix
82108
83 *Note Defining Variables::, for more details.109 *Note Defining Variables::, for more details.
84110
85Compiling For Multiple Architectures111Compiling For Multiple Architectures
86====================================112====================================
87113
88You can compile the package for more than one kind of computer at the114 You can compile the package for more than one kind of computer at the
89same time, by placing the object files for each architecture in their115same time, by placing the object files for each architecture in their
90own directory. To do this, you must use a version of `make' that116own directory. To do this, you can use GNU `make'. `cd' to the
91supports the `VPATH' variable, such as GNU `make'. `cd' to the
92directory where you want the object files and executables to go and run117directory where you want the object files and executables to go and run
93the `configure' script. `configure' automatically checks for the118the `configure' script. `configure' automatically checks for the
94source code in the directory that `configure' is in and in `..'.119source code in the directory that `configure' is in and in `..'. This
95120is known as a "VPATH" build.
96 If you have to use a `make' that does not support the `VPATH'121
97variable, you have to compile the package for one architecture at a122 With a non-GNU `make', it is safer to compile the package for one
98time in the source code directory. After you have installed the123architecture at a time in the source code directory. After you have
99package for one architecture, use `make distclean' before reconfiguring124installed the package for one architecture, use `make distclean' before
100for another architecture.125reconfiguring for another architecture.
126
127 On MacOS X 10.5 and later systems, you can create libraries and
128executables that work on multiple system types--known as "fat" or
129"universal" binaries--by specifying multiple `-arch' options to the
130compiler but only a single `-arch' option to the preprocessor. Like
131this:
132
133 ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
134 CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
135 CPP="gcc -E" CXXCPP="g++ -E"
136
137 This is not guaranteed to produce working output in all cases, you
138may have to build one architecture at a time and combine the results
139using the `lipo' tool if you have problems.
101140
102Installation Names141Installation Names
103==================142==================
104143
105By default, `make install' installs the package's commands under144 By default, `make install' installs the package's commands under
106`/usr/local/bin', include files under `/usr/local/include', etc. You145`/usr/local/bin', include files under `/usr/local/include', etc. You
107can specify an installation prefix other than `/usr/local' by giving146can specify an installation prefix other than `/usr/local' by giving
108`configure' the option `--prefix=PREFIX'.147`configure' the option `--prefix=PREFIX', where PREFIX must be an
148absolute file name.
109149
110 You can specify separate installation prefixes for150 You can specify separate installation prefixes for
111architecture-specific files and architecture-independent files. If you151architecture-specific files and architecture-independent files. If you
@@ -116,16 +156,47 @@
116 In addition, if you use an unusual directory layout you can give156 In addition, if you use an unusual directory layout you can give
117options like `--bindir=DIR' to specify different values for particular157options like `--bindir=DIR' to specify different values for particular
118kinds of files. Run `configure --help' for a list of the directories158kinds of files. Run `configure --help' for a list of the directories
119you can set and what kinds of files go in them.159you can set and what kinds of files go in them. In general, the
160default for these options is expressed in terms of `${prefix}', so that
161specifying just `--prefix' will affect all of the other directory
162specifications that were not explicitly provided.
163
164 The most portable way to affect installation locations is to pass the
165correct locations to `configure'; however, many packages provide one or
166both of the following shortcuts of passing variable assignments to the
167`make install' command line to change installation locations without
168having to reconfigure or recompile.
169
170 The first method involves providing an override variable for each
171affected directory. For example, `make install
172prefix=/alternate/directory' will choose an alternate location for all
173directory configuration variables that were expressed in terms of
174`${prefix}'. Any directories that were specified during `configure',
175but not in terms of `${prefix}', must each be overridden at install
176time for the entire installation to be relocated. The approach of
177makefile variable overrides for each directory variable is required by
178the GNU Coding Standards, and ideally causes no recompilation.
179However, some platforms have known limitations with the semantics of
180shared libraries that end up requiring recompilation when using this
181method, particularly noticeable in packages that use GNU Libtool.
182
183 The second method involves providing the `DESTDIR' variable. For
184example, `make install DESTDIR=/alternate/directory' will prepend
185`/alternate/directory' before all installation names. The approach of
186`DESTDIR' overrides is not required by the GNU Coding Standards, and
187does not work on platforms that have drive letters. On the other hand,
188it does better at avoiding recompilation issues, and works well even
189when some directory options were not specified in terms of `${prefix}'
190at `configure' time.
191
192Optional Features
193=================
120194
121 If the package supports it, you can cause programs to be installed195 If the package supports it, you can cause programs to be installed
122with an extra prefix or suffix on their names by giving `configure' the196with an extra prefix or suffix on their names by giving `configure' the
123option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.197option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
124198
125Optional Features199 Some packages pay attention to `--enable-FEATURE' options to
126=================
127
128Some packages pay attention to `--enable-FEATURE' options to
129`configure', where FEATURE indicates an optional part of the package.200`configure', where FEATURE indicates an optional part of the package.
130They may also pay attention to `--with-PACKAGE' options, where PACKAGE201They may also pay attention to `--with-PACKAGE' options, where PACKAGE
131is something like `gnu-as' or `x' (for the X Window System). The202is something like `gnu-as' or `x' (for the X Window System). The
@@ -137,14 +208,53 @@
137you can use the `configure' options `--x-includes=DIR' and208you can use the `configure' options `--x-includes=DIR' and
138`--x-libraries=DIR' to specify their locations.209`--x-libraries=DIR' to specify their locations.
139210
211 Some packages offer the ability to configure how verbose the
212execution of `make' will be. For these packages, running `./configure
213--enable-silent-rules' sets the default to minimal output, which can be
214overridden with `make V=1'; while running `./configure
215--disable-silent-rules' sets the default to verbose, which can be
216overridden with `make V=0'.
217
218Particular systems
219==================
220
221 On HP-UX, the default C compiler is not ANSI C compatible. If GNU
222CC is not installed, it is recommended to use the following options in
223order to use an ANSI C compiler:
224
225 ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
226
227and if that doesn't work, install pre-built binaries of GCC for HP-UX.
228
229 On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
230parse its `<wchar.h>' header file. The option `-nodtk' can be used as
231a workaround. If GNU CC is not installed, it is therefore recommended
232to try
233
234 ./configure CC="cc"
235
236and if that doesn't work, try
237
238 ./configure CC="cc -nodtk"
239
240 On Solaris, don't put `/usr/ucb' early in your `PATH'. This
241directory contains several dysfunctional programs; working variants of
242these programs are available in `/usr/bin'. So, if you need `/usr/ucb'
243in your `PATH', put it _after_ `/usr/bin'.
244
245 On Haiku, software installed for all users goes in `/boot/common',
246not `/usr/local'. It is recommended to use the following options:
247
248 ./configure --prefix=/boot/common
249
140Specifying the System Type250Specifying the System Type
141==========================251==========================
142252
143There may be some features `configure' cannot figure out automatically,253 There may be some features `configure' cannot figure out
144but needs to determine by the type of machine the package will run on.254automatically, but needs to determine by the type of machine the package
145Usually, assuming the package is built to be run on the _same_255will run on. Usually, assuming the package is built to be run on the
146architectures, `configure' can figure that out, but if it prints a256_same_ architectures, `configure' can figure that out, but if it prints
147message saying it cannot guess the machine type, give it the257a message saying it cannot guess the machine type, give it the
148`--build=TYPE' option. TYPE can either be a short name for the system258`--build=TYPE' option. TYPE can either be a short name for the system
149type, such as `sun4', or a canonical name which has the form:259type, such as `sun4', or a canonical name which has the form:
150260
@@ -152,7 +262,8 @@
152262
153where SYSTEM can have one of these forms:263where SYSTEM can have one of these forms:
154264
155 OS KERNEL-OS265 OS
266 KERNEL-OS
156267
157 See the file `config.sub' for the possible values of each field. If268 See the file `config.sub' for the possible values of each field. If
158`config.sub' isn't included in this package, then this package doesn't269`config.sub' isn't included in this package, then this package doesn't
@@ -170,9 +281,9 @@
170Sharing Defaults281Sharing Defaults
171================282================
172283
173If you want to set default values for `configure' scripts to share, you284 If you want to set default values for `configure' scripts to share,
174can create a site shell script called `config.site' that gives default285you can create a site shell script called `config.site' that gives
175values for variables like `CC', `cache_file', and `prefix'.286default values for variables like `CC', `cache_file', and `prefix'.
176`configure' looks for `PREFIX/share/config.site' if it exists, then287`configure' looks for `PREFIX/share/config.site' if it exists, then
177`PREFIX/etc/config.site' if it exists. Or, you can set the288`PREFIX/etc/config.site' if it exists. Or, you can set the
178`CONFIG_SITE' environment variable to the location of the site script.289`CONFIG_SITE' environment variable to the location of the site script.
@@ -181,7 +292,7 @@
181Defining Variables292Defining Variables
182==================293==================
183294
184Variables not defined in a site shell script can be set in the295 Variables not defined in a site shell script can be set in the
185environment passed to `configure'. However, some packages may run296environment passed to `configure'. However, some packages may run
186configure again during the build, and the customized values of these297configure again during the build, and the customized values of these
187variables may be lost. In order to avoid this problem, you should set298variables may be lost. In order to avoid this problem, you should set
@@ -190,21 +301,29 @@
190 ./configure CC=/usr/local2/bin/gcc301 ./configure CC=/usr/local2/bin/gcc
191302
192causes the specified `gcc' to be used as the C compiler (unless it is303causes the specified `gcc' to be used as the C compiler (unless it is
193overridden in the site shell script). Here is a another example:304overridden in the site shell script).
194305
195 /bin/bash ./configure CONFIG_SHELL=/bin/bash306Unfortunately, this technique does not work for `CONFIG_SHELL' due to
196307an Autoconf bug. Until the bug is fixed you can use this workaround:
197Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent308
198configuration-related scripts to be executed by `/bin/bash'.309 CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
199310
200`configure' Invocation311`configure' Invocation
201======================312======================
202313
203`configure' recognizes the following options to control how it operates.314 `configure' recognizes the following options to control how it
315operates.
204316
205`--help'317`--help'
206`-h'318`-h'
207 Print a summary of the options to `configure', and exit.319 Print a summary of all of the options to `configure', and exit.
320
321`--help=short'
322`--help=recursive'
323 Print a summary of the options unique to this package's
324 `configure', and exit. The `short' variant lists options used
325 only in the top level, while the `recursive' variant lists options
326 also present in any nested packages.
208327
209`--version'328`--version'
210`-V'329`-V'
@@ -231,6 +350,16 @@
231 Look for the package's source code in directory DIR. Usually350 Look for the package's source code in directory DIR. Usually
232 `configure' can determine that directory automatically.351 `configure' can determine that directory automatically.
233352
353`--prefix=DIR'
354 Use DIR as the installation prefix. *note Installation Names::
355 for more details, including other options available for fine-tuning
356 the installation locations.
357
358`--no-create'
359`-n'
360 Run the configure checks, but stop before creating any output
361 files.
362
234`configure' also accepts some other, not widely useful, options. Run363`configure' also accepts some other, not widely useful, options. Run
235`configure --help' for more details.364`configure --help' for more details.
236365
237366
=== modified file 'Makefile.am'
--- Makefile.am 2008-08-08 05:14:15 +0000
+++ Makefile.am 2011-04-19 18:04:29 +0000
@@ -1,9 +1,10 @@
1if BUILD_OFXCONNECT1if BUILD_OFXCONNECT
2 MAYBE_OFXCONNECT = ofxconnect2 MAYBE_OFXCONNECT = ofxconnect
3endif3endif
4DIST_SUBDIRS = m4 inc dtd lib doc . ofx2qif ofxdump ofxconnect
4SUBDIRS = m4 inc dtd lib doc . ofx2qif ofxdump $(MAYBE_OFXCONNECT)5SUBDIRS = m4 inc dtd lib doc . ofx2qif ofxdump $(MAYBE_OFXCONNECT)
56
6docdir = ${prefix}/share/doc/libofx7docdir = $(datadir)/doc/libofx
78
8doc_DATA = \9doc_DATA = \
9 AUTHORS \10 AUTHORS \
@@ -19,6 +20,7 @@
19 libofx.spec \20 libofx.spec \
20 libofx.pc \21 libofx.pc \
21 totest.txt \22 totest.txt \
23 libofx.lsm.in \
22 libofx.lsm24 libofx.lsm
2325
24pkgconfigdir=$(libdir)/pkgconfig26pkgconfigdir=$(libdir)/pkgconfig
2527
=== modified file 'Makefile.in'
--- Makefile.in 2008-08-08 05:14:15 +0000
+++ Makefile.in 2011-04-19 18:04:29 +0000
@@ -1,8 +1,9 @@
1# Makefile.in generated by automake 1.9.6 from Makefile.am.1# Makefile.in generated by automake 1.11.1 from Makefile.am.
2# @configure_input@2# @configure_input@
33
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005 Free Software Foundation, Inc.5# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
6# Inc.
6# This Makefile.in is free software; the Free Software Foundation7# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,8# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.9# with or without modifications, as long as this notice is preserved.
@@ -14,15 +15,12 @@
1415
15@SET_MAKE@16@SET_MAKE@
1617
17srcdir = @srcdir@
18top_srcdir = @top_srcdir@
19VPATH = @srcdir@18VPATH = @srcdir@
20pkgdatadir = $(datadir)/@PACKAGE@19pkgdatadir = $(datadir)/@PACKAGE@
20pkgincludedir = $(includedir)/@PACKAGE@
21pkglibdir = $(libdir)/@PACKAGE@21pkglibdir = $(libdir)/@PACKAGE@
22pkgincludedir = $(includedir)/@PACKAGE@22pkglibexecdir = $(libexecdir)/@PACKAGE@
23top_builddir = .
24am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd23am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25INSTALL = @INSTALL@
26install_sh_DATA = $(install_sh) -c -m 64424install_sh_DATA = $(install_sh) -c -m 644
27install_sh_PROGRAM = $(install_sh) -c25install_sh_PROGRAM = $(install_sh) -c
28install_sh_SCRIPT = $(install_sh) -c26install_sh_SCRIPT = $(install_sh) -c
@@ -36,58 +34,101 @@
36POST_UNINSTALL = :34POST_UNINSTALL = :
37build_triplet = @build@35build_triplet = @build@
38host_triplet = @host@36host_triplet = @host@
37subdir = .
39DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \38DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
40 $(srcdir)/Makefile.in $(srcdir)/config.h.in \39 $(srcdir)/Makefile.in $(srcdir)/config.h.in \
41 $(srcdir)/libofx.pc.in $(srcdir)/libofx.spec.in \40 $(srcdir)/libofx.lsm.in $(srcdir)/libofx.pc.in \
42 $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \41 $(srcdir)/libofx.spec.in $(top_srcdir)/configure AUTHORS \
43 config/config.guess config/config.sub config/depcomp \42 COPYING ChangeLog INSTALL NEWS config/config.guess \
44 config/install-sh config/ltmain.sh config/missing43 config/config.sub config/depcomp config/install-sh \
45subdir = .44 config/ltmain.sh config/missing
46ACLOCAL_M4 = $(top_srcdir)/aclocal.m445ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
47am__aclocal_m4_deps = $(top_srcdir)/m4/os.m4 $(top_srcdir)/libcurl.m4 \46am__aclocal_m4_deps = $(top_srcdir)/m4/os.m4 $(top_srcdir)/libcurl.m4 \
48 $(top_srcdir)/configure.in47 $(top_srcdir)/configure.in
49am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \48am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
50 $(ACLOCAL_M4)49 $(ACLOCAL_M4)
51am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \50am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
52 configure.lineno configure.status.lineno51 configure.lineno config.status.lineno
53mkinstalldirs = $(install_sh) -d52mkinstalldirs = $(install_sh) -d
54CONFIG_HEADER = config.h53CONFIG_HEADER = config.h
55CONFIG_CLEAN_FILES = libofx.spec libofx.pc54CONFIG_CLEAN_FILES = libofx.spec libofx.pc libofx.lsm
55CONFIG_CLEAN_VPATH_FILES =
56SOURCES =56SOURCES =
57DIST_SOURCES =57DIST_SOURCES =
58RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \58RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
59 html-recursive info-recursive install-data-recursive \59 html-recursive info-recursive install-data-recursive \
60 install-exec-recursive install-info-recursive \60 install-dvi-recursive install-exec-recursive \
61 install-recursive installcheck-recursive installdirs-recursive \61 install-html-recursive install-info-recursive \
62 pdf-recursive ps-recursive uninstall-info-recursive \62 install-pdf-recursive install-ps-recursive install-recursive \
63 uninstall-recursive63 installcheck-recursive installdirs-recursive pdf-recursive \
64 ps-recursive uninstall-recursive
64am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;65am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
65am__vpath_adj = case $$p in \66am__vpath_adj = case $$p in \
66 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \67 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
67 *) f=$$p;; \68 *) f=$$p;; \
68 esac;69 esac;
69am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;70am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
71am__install_max = 40
72am__nobase_strip_setup = \
73 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
74am__nobase_strip = \
75 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
76am__nobase_list = $(am__nobase_strip_setup); \
77 for p in $$list; do echo "$$p $$p"; done | \
78 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
79 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
80 if (++n[$$2] == $(am__install_max)) \
81 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
82 END { for (dir in files) print dir, files[dir] }'
83am__base_list = \
84 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
85 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
70am__installdirs = "$(DESTDIR)$(docdir)" "$(DESTDIR)$(pkgconfigdir)"86am__installdirs = "$(DESTDIR)$(docdir)" "$(DESTDIR)$(pkgconfigdir)"
71docDATA_INSTALL = $(INSTALL_DATA)
72pkgconfigDATA_INSTALL = $(INSTALL_DATA)
73DATA = $(doc_DATA) $(pkgconfig_DATA)87DATA = $(doc_DATA) $(pkgconfig_DATA)
88RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
89 distclean-recursive maintainer-clean-recursive
90AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
91 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
92 distdir dist dist-all distcheck
74ETAGS = etags93ETAGS = etags
75CTAGS = ctags94CTAGS = ctags
76DIST_SUBDIRS = m4 inc dtd lib doc . ofx2qif ofxdump ofxconnect
77DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)95DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
78distdir = $(PACKAGE)-$(VERSION)96distdir = $(PACKAGE)-$(VERSION)
79top_distdir = $(distdir)97top_distdir = $(distdir)
80am__remove_distdir = \98am__remove_distdir = \
81 { test ! -d $(distdir) \99 { test ! -d "$(distdir)" \
82 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \100 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
83 && rm -fr $(distdir); }; }101 && rm -fr "$(distdir)"; }; }
102am__relativize = \
103 dir0=`pwd`; \
104 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
105 sed_rest='s,^[^/]*/*,,'; \
106 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
107 sed_butlast='s,/*[^/]*$$,,'; \
108 while test -n "$$dir1"; do \
109 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
110 if test "$$first" != "."; then \
111 if test "$$first" = ".."; then \
112 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
113 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
114 else \
115 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
116 if test "$$first2" = "$$first"; then \
117 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
118 else \
119 dir2="../$$dir2"; \
120 fi; \
121 dir0="$$dir0"/"$$first"; \
122 fi; \
123 fi; \
124 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
125 done; \
126 reldir="$$dir2"
84DIST_ARCHIVES = $(distdir).tar.gz127DIST_ARCHIVES = $(distdir).tar.gz
85GZIP_ENV = --best128GZIP_ENV = --best
86distuninstallcheck_listfiles = find . -type f -print129distuninstallcheck_listfiles = find . -type f -print
87distcleancheck_listfiles = find . -type f -print130distcleancheck_listfiles = find . -type f -print
88ACLOCAL = @ACLOCAL@131ACLOCAL = @ACLOCAL@
89AMDEP_FALSE = @AMDEP_FALSE@
90AMDEP_TRUE = @AMDEP_TRUE@
91AMTAR = @AMTAR@132AMTAR = @AMTAR@
92AR = @AR@133AR = @AR@
93AS = @AS@134AS = @AS@
@@ -95,8 +136,6 @@
95AUTOHEADER = @AUTOHEADER@136AUTOHEADER = @AUTOHEADER@
96AUTOMAKE = @AUTOMAKE@137AUTOMAKE = @AUTOMAKE@
97AWK = @AWK@138AWK = @AWK@
98BUILD_OFXCONNECT_FALSE = @BUILD_OFXCONNECT_FALSE@
99BUILD_OFXCONNECT_TRUE = @BUILD_OFXCONNECT_TRUE@
100CC = @CC@139CC = @CC@
101CCDEPMODE = @CCDEPMODE@140CCDEPMODE = @CCDEPMODE@
102CFLAGS = @CFLAGS@141CFLAGS = @CFLAGS@
@@ -110,27 +149,25 @@
110DEFS = @DEFS@149DEFS = @DEFS@
111DEPDIR = @DEPDIR@150DEPDIR = @DEPDIR@
112DLLTOOL = @DLLTOOL@151DLLTOOL = @DLLTOOL@
113DOC_FALSE = @DOC_FALSE@
114DOC_TRUE = @DOC_TRUE@
115DOT = @DOT@152DOT = @DOT@
116DOXYGEN = @DOXYGEN@153DOXYGEN = @DOXYGEN@
117ECHO = @ECHO@154DSYMUTIL = @DSYMUTIL@
155DUMPBIN = @DUMPBIN@
118ECHO_C = @ECHO_C@156ECHO_C = @ECHO_C@
119ECHO_N = @ECHO_N@157ECHO_N = @ECHO_N@
120ECHO_T = @ECHO_T@158ECHO_T = @ECHO_T@
121EGREP = @EGREP@159EGREP = @EGREP@
122ENABLE_DOXYGEN_FALSE = @ENABLE_DOXYGEN_FALSE@
123ENABLE_DOXYGEN_TRUE = @ENABLE_DOXYGEN_TRUE@
124EXEEXT = @EXEEXT@160EXEEXT = @EXEEXT@
125F77 = @F77@161FGREP = @FGREP@
126FFLAGS = @FFLAGS@
127GREP = @GREP@162GREP = @GREP@
128ICONV_LIBS = @ICONV_LIBS@163ICONV_LIBS = @ICONV_LIBS@
164INSTALL = @INSTALL@
129INSTALL_DATA = @INSTALL_DATA@165INSTALL_DATA = @INSTALL_DATA@
130INSTALL_DLL_TARGET = @INSTALL_DLL_TARGET@166INSTALL_DLL_TARGET = @INSTALL_DLL_TARGET@
131INSTALL_PROGRAM = @INSTALL_PROGRAM@167INSTALL_PROGRAM = @INSTALL_PROGRAM@
132INSTALL_SCRIPT = @INSTALL_SCRIPT@168INSTALL_SCRIPT = @INSTALL_SCRIPT@
133INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@169INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
170LD = @LD@
134LDFLAGS = @LDFLAGS@171LDFLAGS = @LDFLAGS@
135LIBCURL = @LIBCURL@172LIBCURL = @LIBCURL@
136LIBCURL_CPPFLAGS = @LIBCURL_CPPFLAGS@173LIBCURL_CPPFLAGS = @LIBCURL_CPPFLAGS@
@@ -149,48 +186,49 @@
149LIBTOOL = @LIBTOOL@186LIBTOOL = @LIBTOOL@
150LIBXMLPP_CFLAGS = @LIBXMLPP_CFLAGS@187LIBXMLPP_CFLAGS = @LIBXMLPP_CFLAGS@
151LIBXMLPP_LIBS = @LIBXMLPP_LIBS@188LIBXMLPP_LIBS = @LIBXMLPP_LIBS@
189LIPO = @LIPO@
152LN_S = @LN_S@190LN_S = @LN_S@
153LTLIBOBJS = @LTLIBOBJS@191LTLIBOBJS = @LTLIBOBJS@
154MAINT = @MAINT@
155MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
156MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
157MAKEINFO = @MAKEINFO@192MAKEINFO = @MAKEINFO@
158MAKE_DLL_TARGET = @MAKE_DLL_TARGET@193MAKE_DLL_TARGET = @MAKE_DLL_TARGET@
159NO_GETOPTLONG_FALSE = @NO_GETOPTLONG_FALSE@194MKDIR_P = @MKDIR_P@
160NO_GETOPTLONG_TRUE = @NO_GETOPTLONG_TRUE@195NM = @NM@
196NMEDIT = @NMEDIT@
161OBJDUMP = @OBJDUMP@197OBJDUMP = @OBJDUMP@
162OBJEXT = @OBJEXT@198OBJEXT = @OBJEXT@
163OPENSPINCLUDES = @OPENSPINCLUDES@199OPENSPINCLUDES = @OPENSPINCLUDES@
164OPENSPLIBS = @OPENSPLIBS@200OPENSPLIBS = @OPENSPLIBS@
165OSYSTEM = @OSYSTEM@201OSYSTEM = @OSYSTEM@
166OS_TYPE = @OS_TYPE@202OS_TYPE = @OS_TYPE@
203OTOOL = @OTOOL@
204OTOOL64 = @OTOOL64@
167PACKAGE = @PACKAGE@205PACKAGE = @PACKAGE@
168PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@206PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
169PACKAGE_NAME = @PACKAGE_NAME@207PACKAGE_NAME = @PACKAGE_NAME@
170PACKAGE_STRING = @PACKAGE_STRING@208PACKAGE_STRING = @PACKAGE_STRING@
171PACKAGE_TARNAME = @PACKAGE_TARNAME@209PACKAGE_TARNAME = @PACKAGE_TARNAME@
210PACKAGE_URL = @PACKAGE_URL@
172PACKAGE_VERSION = @PACKAGE_VERSION@211PACKAGE_VERSION = @PACKAGE_VERSION@
173PATH_SEPARATOR = @PATH_SEPARATOR@212PATH_SEPARATOR = @PATH_SEPARATOR@
174PKG_CONFIG = @PKG_CONFIG@213PKG_CONFIG = @PKG_CONFIG@
214PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
215PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
175QT_CFLAGS = @QT_CFLAGS@216QT_CFLAGS = @QT_CFLAGS@
176RANLIB = @RANLIB@217RANLIB = @RANLIB@
177RC = @RC@
178SED = @SED@218SED = @SED@
179SET_MAKE = @SET_MAKE@219SET_MAKE = @SET_MAKE@
180SHELL = @SHELL@220SHELL = @SHELL@
181STRIP = @STRIP@221STRIP = @STRIP@
182USE_GENGETOPT_FALSE = @USE_GENGETOPT_FALSE@
183USE_GENGETOPT_TRUE = @USE_GENGETOPT_TRUE@
184VERSION = @VERSION@222VERSION = @VERSION@
185WITH_ICONV = @WITH_ICONV@223WITH_ICONV = @WITH_ICONV@
186_libcurl_config = @_libcurl_config@224_libcurl_config = @_libcurl_config@
225abs_builddir = @abs_builddir@
226abs_srcdir = @abs_srcdir@
227abs_top_builddir = @abs_top_builddir@
228abs_top_srcdir = @abs_top_srcdir@
187ac_ct_CC = @ac_ct_CC@229ac_ct_CC = @ac_ct_CC@
188ac_ct_CXX = @ac_ct_CXX@230ac_ct_CXX = @ac_ct_CXX@
189ac_ct_F77 = @ac_ct_F77@231ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
190am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
191am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
192am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
193am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
194am__include = @am__include@232am__include = @am__include@
195am__leading_dot = @am__leading_dot@233am__leading_dot = @am__leading_dot@
196am__quote = @am__quote@234am__quote = @am__quote@
@@ -202,9 +240,10 @@
202build_cpu = @build_cpu@240build_cpu = @build_cpu@
203build_os = @build_os@241build_os = @build_os@
204build_vendor = @build_vendor@242build_vendor = @build_vendor@
243builddir = @builddir@
205datadir = @datadir@244datadir = @datadir@
206datarootdir = @datarootdir@245datarootdir = @datarootdir@
207docdir = ${prefix}/share/doc/libofx246docdir = $(datadir)/doc/libofx
208dvidir = @dvidir@247dvidir = @dvidir@
209enable_dot = @enable_dot@248enable_dot = @enable_dot@
210enable_html_docs = @enable_html_docs@249enable_html_docs = @enable_html_docs@
@@ -224,6 +263,7 @@
224libexecdir = @libexecdir@263libexecdir = @libexecdir@
225localedir = @localedir@264localedir = @localedir@
226localstatedir = @localstatedir@265localstatedir = @localstatedir@
266lt_ECHO = @lt_ECHO@
227mandir = @mandir@267mandir = @mandir@
228mkdir_p = @mkdir_p@268mkdir_p = @mkdir_p@
229ofxconnect = @ofxconnect@269ofxconnect = @ofxconnect@
@@ -234,9 +274,14 @@
234psdir = @psdir@274psdir = @psdir@
235sbindir = @sbindir@275sbindir = @sbindir@
236sharedstatedir = @sharedstatedir@276sharedstatedir = @sharedstatedir@
277srcdir = @srcdir@
237sysconfdir = @sysconfdir@278sysconfdir = @sysconfdir@
238target_alias = @target_alias@279target_alias = @target_alias@
280top_build_prefix = @top_build_prefix@
281top_builddir = @top_builddir@
282top_srcdir = @top_srcdir@
239@BUILD_OFXCONNECT_TRUE@MAYBE_OFXCONNECT = ofxconnect283@BUILD_OFXCONNECT_TRUE@MAYBE_OFXCONNECT = ofxconnect
284DIST_SUBDIRS = m4 inc dtd lib doc . ofx2qif ofxdump ofxconnect
240SUBDIRS = m4 inc dtd lib doc . ofx2qif ofxdump $(MAYBE_OFXCONNECT)285SUBDIRS = m4 inc dtd lib doc . ofx2qif ofxdump $(MAYBE_OFXCONNECT)
241doc_DATA = \286doc_DATA = \
242 AUTHORS \287 AUTHORS \
@@ -252,6 +297,7 @@
252 libofx.spec \297 libofx.spec \
253 libofx.pc \298 libofx.pc \
254 totest.txt \299 totest.txt \
300 libofx.lsm.in \
255 libofx.lsm301 libofx.lsm
256302
257pkgconfigdir = $(libdir)/pkgconfig303pkgconfigdir = $(libdir)/pkgconfig
@@ -262,19 +308,19 @@
262.SUFFIXES:308.SUFFIXES:
263am--refresh:309am--refresh:
264 @:310 @:
265$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)311$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
266 @for dep in $?; do \312 @for dep in $?; do \
267 case '$(am__configure_deps)' in \313 case '$(am__configure_deps)' in \
268 *$$dep*) \314 *$$dep*) \
269 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \315 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
270 cd $(srcdir) && $(AUTOMAKE) --gnu \316 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
271 && exit 0; \317 && exit 0; \
272 exit 1;; \318 exit 1;; \
273 esac; \319 esac; \
274 done; \320 done; \
275 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \321 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
276 cd $(top_srcdir) && \322 $(am__cd) $(top_srcdir) && \
277 $(AUTOMAKE) --gnu Makefile323 $(AUTOMAKE) --gnu Makefile
278.PRECIOUS: Makefile324.PRECIOUS: Makefile
279Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status325Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
280 @case '$?' in \326 @case '$?' in \
@@ -289,22 +335,23 @@
289$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)335$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
290 $(SHELL) ./config.status --recheck336 $(SHELL) ./config.status --recheck
291337
292$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)338$(top_srcdir)/configure: $(am__configure_deps)
293 cd $(srcdir) && $(AUTOCONF)339 $(am__cd) $(srcdir) && $(AUTOCONF)
294$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)340$(ACLOCAL_M4): $(am__aclocal_m4_deps)
295 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)341 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
342$(am__aclocal_m4_deps):
296343
297config.h: stamp-h1344config.h: stamp-h1
298 @if test ! -f $@; then \345 @if test ! -f $@; then \
299 rm -f stamp-h1; \346 rm -f stamp-h1; \
300 $(MAKE) stamp-h1; \347 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
301 else :; fi348 else :; fi
302349
303stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status350stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
304 @rm -f stamp-h1351 @rm -f stamp-h1
305 cd $(top_builddir) && $(SHELL) ./config.status config.h352 cd $(top_builddir) && $(SHELL) ./config.status config.h
306$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 353$(srcdir)/config.h.in: $(am__configure_deps)
307 cd $(top_srcdir) && $(AUTOHEADER)354 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
308 rm -f stamp-h1355 rm -f stamp-h1
309 touch $@356 touch $@
310357
@@ -314,6 +361,8 @@
314 cd $(top_builddir) && $(SHELL) ./config.status $@361 cd $(top_builddir) && $(SHELL) ./config.status $@
315libofx.pc: $(top_builddir)/config.status $(srcdir)/libofx.pc.in362libofx.pc: $(top_builddir)/config.status $(srcdir)/libofx.pc.in
316 cd $(top_builddir) && $(SHELL) ./config.status $@363 cd $(top_builddir) && $(SHELL) ./config.status $@
364libofx.lsm: $(top_builddir)/config.status $(srcdir)/libofx.lsm.in
365 cd $(top_builddir) && $(SHELL) ./config.status $@
317366
318mostlyclean-libtool:367mostlyclean-libtool:
319 -rm -f *.lo368 -rm -f *.lo
@@ -322,42 +371,47 @@
322 -rm -rf .libs _libs371 -rm -rf .libs _libs
323372
324distclean-libtool:373distclean-libtool:
325 -rm -f libtool374 -rm -f libtool config.lt
326uninstall-info-am:
327install-docDATA: $(doc_DATA)375install-docDATA: $(doc_DATA)
328 @$(NORMAL_INSTALL)376 @$(NORMAL_INSTALL)
329 test -z "$(docdir)" || $(mkdir_p) "$(DESTDIR)$(docdir)"377 test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)"
330 @list='$(doc_DATA)'; for p in $$list; do \378 @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \
379 for p in $$list; do \
331 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \380 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
332 f=$(am__strip_dir) \381 echo "$$d$$p"; \
333 echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \382 done | $(am__base_list) | \
334 $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \383 while read files; do \
384 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \
385 $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \
335 done386 done
336387
337uninstall-docDATA:388uninstall-docDATA:
338 @$(NORMAL_UNINSTALL)389 @$(NORMAL_UNINSTALL)
339 @list='$(doc_DATA)'; for p in $$list; do \390 @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \
340 f=$(am__strip_dir) \391 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
341 echo " rm -f '$(DESTDIR)$(docdir)/$$f'"; \392 test -n "$$files" || exit 0; \
342 rm -f "$(DESTDIR)$(docdir)/$$f"; \393 echo " ( cd '$(DESTDIR)$(docdir)' && rm -f" $$files ")"; \
343 done394 cd "$(DESTDIR)$(docdir)" && rm -f $$files
344install-pkgconfigDATA: $(pkgconfig_DATA)395install-pkgconfigDATA: $(pkgconfig_DATA)
345 @$(NORMAL_INSTALL)396 @$(NORMAL_INSTALL)
346 test -z "$(pkgconfigdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfigdir)"397 test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
347 @list='$(pkgconfig_DATA)'; for p in $$list; do \398 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
399 for p in $$list; do \
348 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \400 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
349 f=$(am__strip_dir) \401 echo "$$d$$p"; \
350 echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \402 done | $(am__base_list) | \
351 $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \403 while read files; do \
404 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
405 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
352 done406 done
353407
354uninstall-pkgconfigDATA:408uninstall-pkgconfigDATA:
355 @$(NORMAL_UNINSTALL)409 @$(NORMAL_UNINSTALL)
356 @list='$(pkgconfig_DATA)'; for p in $$list; do \410 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
357 f=$(am__strip_dir) \411 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
358 echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \412 test -n "$$files" || exit 0; \
359 rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \413 echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \
360 done414 cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files
361415
362# This directory's subdirectories are mostly independent; you can cd416# This directory's subdirectories are mostly independent; you can cd
363# into them and run `make' without going through this Makefile.417# into them and run `make' without going through this Makefile.
@@ -366,7 +420,7 @@
366# (which will cause the Makefiles to be regenerated when you run `make');420# (which will cause the Makefiles to be regenerated when you run `make');
367# (2) otherwise, pass the desired values on the `make' command line.421# (2) otherwise, pass the desired values on the `make' command line.
368$(RECURSIVE_TARGETS):422$(RECURSIVE_TARGETS):
369 @failcom='exit 1'; \423 @fail= failcom='exit 1'; \
370 for f in x $$MAKEFLAGS; do \424 for f in x $$MAKEFLAGS; do \
371 case $$f in \425 case $$f in \
372 *=* | --[!k]*);; \426 *=* | --[!k]*);; \
@@ -383,16 +437,15 @@
383 else \437 else \
384 local_target="$$target"; \438 local_target="$$target"; \
385 fi; \439 fi; \
386 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \440 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
387 || eval $$failcom; \441 || eval $$failcom; \
388 done; \442 done; \
389 if test "$$dot_seen" = "no"; then \443 if test "$$dot_seen" = "no"; then \
390 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \444 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
391 fi; test -z "$$fail"445 fi; test -z "$$fail"
392446
393mostlyclean-recursive clean-recursive distclean-recursive \447$(RECURSIVE_CLEAN_TARGETS):
394maintainer-clean-recursive:448 @fail= failcom='exit 1'; \
395 @failcom='exit 1'; \
396 for f in x $$MAKEFLAGS; do \449 for f in x $$MAKEFLAGS; do \
397 case $$f in \450 case $$f in \
398 *=* | --[!k]*);; \451 *=* | --[!k]*);; \
@@ -418,16 +471,16 @@
418 else \471 else \
419 local_target="$$target"; \472 local_target="$$target"; \
420 fi; \473 fi; \
421 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \474 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
422 || eval $$failcom; \475 || eval $$failcom; \
423 done && test -z "$$fail"476 done && test -z "$$fail"
424tags-recursive:477tags-recursive:
425 list='$(SUBDIRS)'; for subdir in $$list; do \478 list='$(SUBDIRS)'; for subdir in $$list; do \
426 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \479 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
427 done480 done
428ctags-recursive:481ctags-recursive:
429 list='$(SUBDIRS)'; for subdir in $$list; do \482 list='$(SUBDIRS)'; for subdir in $$list; do \
430 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \483 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
431 done484 done
432485
433ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)486ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
@@ -435,14 +488,14 @@
435 unique=`for i in $$list; do \488 unique=`for i in $$list; do \
436 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \489 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
437 done | \490 done | \
438 $(AWK) ' { files[$$0] = 1; } \491 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
439 END { for (i in files) print i; }'`; \492 END { if (nonempty) { for (i in files) print i; }; }'`; \
440 mkid -fID $$unique493 mkid -fID $$unique
441tags: TAGS494tags: TAGS
442495
443TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \496TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
444 $(TAGS_FILES) $(LISP)497 $(TAGS_FILES) $(LISP)
445 tags=; \498 set x; \
446 here=`pwd`; \499 here=`pwd`; \
447 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \500 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
448 include_option=--etags-include; \501 include_option=--etags-include; \
@@ -454,93 +507,114 @@
454 list='$(SUBDIRS)'; for subdir in $$list; do \507 list='$(SUBDIRS)'; for subdir in $$list; do \
455 if test "$$subdir" = .; then :; else \508 if test "$$subdir" = .; then :; else \
456 test ! -f $$subdir/TAGS || \509 test ! -f $$subdir/TAGS || \
457 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \510 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
458 fi; \511 fi; \
459 done; \512 done; \
460 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \513 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
461 unique=`for i in $$list; do \514 unique=`for i in $$list; do \
462 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \515 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
463 done | \516 done | \
464 $(AWK) ' { files[$$0] = 1; } \517 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
465 END { for (i in files) print i; }'`; \518 END { if (nonempty) { for (i in files) print i; }; }'`; \
466 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \519 shift; \
520 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
467 test -n "$$unique" || unique=$$empty_fix; \521 test -n "$$unique" || unique=$$empty_fix; \
468 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \522 if test $$# -gt 0; then \
469 $$tags $$unique; \523 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
524 "$$@" $$unique; \
525 else \
526 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
527 $$unique; \
528 fi; \
470 fi529 fi
471ctags: CTAGS530ctags: CTAGS
472CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \531CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
473 $(TAGS_FILES) $(LISP)532 $(TAGS_FILES) $(LISP)
474 tags=; \
475 here=`pwd`; \
476 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \533 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
477 unique=`for i in $$list; do \534 unique=`for i in $$list; do \
478 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \535 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
479 done | \536 done | \
480 $(AWK) ' { files[$$0] = 1; } \537 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
481 END { for (i in files) print i; }'`; \538 END { if (nonempty) { for (i in files) print i; }; }'`; \
482 test -z "$(CTAGS_ARGS)$$tags$$unique" \539 test -z "$(CTAGS_ARGS)$$unique" \
483 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \540 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
484 $$tags $$unique541 $$unique
485542
486GTAGS:543GTAGS:
487 here=`$(am__cd) $(top_builddir) && pwd` \544 here=`$(am__cd) $(top_builddir) && pwd` \
488 && cd $(top_srcdir) \545 && $(am__cd) $(top_srcdir) \
489 && gtags -i $(GTAGS_ARGS) $$here546 && gtags -i $(GTAGS_ARGS) "$$here"
490547
491distclean-tags:548distclean-tags:
492 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags549 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
493550
494distdir: $(DISTFILES)551distdir: $(DISTFILES)
495 $(am__remove_distdir)552 $(am__remove_distdir)
496 mkdir $(distdir)553 test -d "$(distdir)" || mkdir "$(distdir)"
497 $(mkdir_p) $(distdir)/. $(distdir)/config $(distdir)/inc $(distdir)/lib $(distdir)/m4554 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
498 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \555 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
499 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \556 list='$(DISTFILES)'; \
500 list='$(DISTFILES)'; for file in $$list; do \557 dist_files=`for file in $$list; do echo $$file; done | \
501 case $$file in \558 sed -e "s|^$$srcdirstrip/||;t" \
502 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \559 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
503 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \560 case $$dist_files in \
504 esac; \561 */*) $(MKDIR_P) `echo "$$dist_files" | \
562 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
563 sort -u` ;; \
564 esac; \
565 for file in $$dist_files; do \
505 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \566 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
506 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
507 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
508 dir="/$$dir"; \
509 $(mkdir_p) "$(distdir)$$dir"; \
510 else \
511 dir=''; \
512 fi; \
513 if test -d $$d/$$file; then \567 if test -d $$d/$$file; then \
568 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
569 if test -d "$(distdir)/$$file"; then \
570 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
571 fi; \
514 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \572 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
515 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \573 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
574 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
516 fi; \575 fi; \
517 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \576 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
518 else \577 else \
519 test -f $(distdir)/$$file \578 test -f "$(distdir)/$$file" \
520 || cp -p $$d/$$file $(distdir)/$$file \579 || cp -p $$d/$$file "$(distdir)/$$file" \
521 || exit 1; \580 || exit 1; \
522 fi; \581 fi; \
523 done582 done
524 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \583 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
525 if test "$$subdir" = .; then :; else \584 if test "$$subdir" = .; then :; else \
526 test -d "$(distdir)/$$subdir" \585 test -d "$(distdir)/$$subdir" \
527 || $(mkdir_p) "$(distdir)/$$subdir" \586 || $(MKDIR_P) "$(distdir)/$$subdir" \
528 || exit 1; \587 || exit 1; \
529 distdir=`$(am__cd) $(distdir) && pwd`; \588 fi; \
530 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \589 done
531 (cd $$subdir && \590 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
591 if test "$$subdir" = .; then :; else \
592 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
593 $(am__relativize); \
594 new_distdir=$$reldir; \
595 dir1=$$subdir; dir2="$(top_distdir)"; \
596 $(am__relativize); \
597 new_top_distdir=$$reldir; \
598 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
599 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
600 ($(am__cd) $$subdir && \
532 $(MAKE) $(AM_MAKEFLAGS) \601 $(MAKE) $(AM_MAKEFLAGS) \
533 top_distdir="$$top_distdir" \602 top_distdir="$$new_top_distdir" \
534 distdir="$$distdir/$$subdir" \603 distdir="$$new_distdir" \
604 am__remove_distdir=: \
605 am__skip_length_check=: \
606 am__skip_mode_fix=: \
535 distdir) \607 distdir) \
536 || exit 1; \608 || exit 1; \
537 fi; \609 fi; \
538 done610 done
539 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \611 -test -n "$(am__skip_mode_fix)" \
612 || find "$(distdir)" -type d ! -perm -755 \
613 -exec chmod u+rwx,go+rx {} \; -o \
540 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \614 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
541 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \615 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
542 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \616 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
543 || chmod -R a+r $(distdir)617 || chmod -R a+r "$(distdir)"
544dist-gzip: distdir618dist-gzip: distdir
545 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz619 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
546 $(am__remove_distdir)620 $(am__remove_distdir)
@@ -549,6 +623,14 @@
549 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2623 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
550 $(am__remove_distdir)624 $(am__remove_distdir)
551625
626dist-lzma: distdir
627 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
628 $(am__remove_distdir)
629
630dist-xz: distdir
631 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
632 $(am__remove_distdir)
633
552dist-tarZ: distdir634dist-tarZ: distdir
553 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z635 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
554 $(am__remove_distdir)636 $(am__remove_distdir)
@@ -572,13 +654,17 @@
572distcheck: dist654distcheck: dist
573 case '$(DIST_ARCHIVES)' in \655 case '$(DIST_ARCHIVES)' in \
574 *.tar.gz*) \656 *.tar.gz*) \
575 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\657 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
576 *.tar.bz2*) \658 *.tar.bz2*) \
577 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\659 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
660 *.tar.lzma*) \
661 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
662 *.tar.xz*) \
663 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
578 *.tar.Z*) \664 *.tar.Z*) \
579 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\665 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
580 *.shar.gz*) \666 *.shar.gz*) \
581 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\667 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
582 *.zip*) \668 *.zip*) \
583 unzip $(distdir).zip ;;\669 unzip $(distdir).zip ;;\
584 esac670 esac
@@ -586,9 +672,11 @@
586 mkdir $(distdir)/_build672 mkdir $(distdir)/_build
587 mkdir $(distdir)/_inst673 mkdir $(distdir)/_inst
588 chmod a-w $(distdir)674 chmod a-w $(distdir)
675 test -d $(distdir)/_build || exit 0; \
589 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \676 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
590 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \677 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
591 && cd $(distdir)/_build \678 && am__cwd=`pwd` \
679 && $(am__cd) $(distdir)/_build \
592 && ../configure --srcdir=.. --prefix="$$dc_install_base" \680 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
593 $(DISTCHECK_CONFIGURE_FLAGS) \681 $(DISTCHECK_CONFIGURE_FLAGS) \
594 && $(MAKE) $(AM_MAKEFLAGS) \682 && $(MAKE) $(AM_MAKEFLAGS) \
@@ -610,13 +698,15 @@
610 && rm -rf "$$dc_destdir" \698 && rm -rf "$$dc_destdir" \
611 && $(MAKE) $(AM_MAKEFLAGS) dist \699 && $(MAKE) $(AM_MAKEFLAGS) dist \
612 && rm -rf $(DIST_ARCHIVES) \700 && rm -rf $(DIST_ARCHIVES) \
613 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck701 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
702 && cd "$$am__cwd" \
703 || exit 1
614 $(am__remove_distdir)704 $(am__remove_distdir)
615 @(echo "$(distdir) archives ready for distribution: "; \705 @(echo "$(distdir) archives ready for distribution: "; \
616 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \706 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
617 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'707 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
618distuninstallcheck:708distuninstallcheck:
619 @cd $(distuninstallcheck_dir) \709 @$(am__cd) '$(distuninstallcheck_dir)' \
620 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \710 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
621 || { echo "ERROR: files left after uninstall:" ; \711 || { echo "ERROR: files left after uninstall:" ; \
622 if test -n "$(DESTDIR)"; then \712 if test -n "$(DESTDIR)"; then \
@@ -639,7 +729,7 @@
639installdirs: installdirs-recursive729installdirs: installdirs-recursive
640installdirs-am:730installdirs-am:
641 for dir in "$(DESTDIR)$(docdir)" "$(DESTDIR)$(pkgconfigdir)"; do \731 for dir in "$(DESTDIR)$(docdir)" "$(DESTDIR)$(pkgconfigdir)"; do \
642 test -z "$$dir" || $(mkdir_p) "$$dir"; \732 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
643 done733 done
644install: install-recursive734install: install-recursive
645install-exec: install-exec-recursive735install-exec: install-exec-recursive
@@ -661,6 +751,7 @@
661751
662distclean-generic:752distclean-generic:
663 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)753 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
754 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
664755
665maintainer-clean-generic:756maintainer-clean-generic:
666 @echo "This command is intended for maintainers to use"757 @echo "This command is intended for maintainers to use"
@@ -681,18 +772,38 @@
681772
682html: html-recursive773html: html-recursive
683774
775html-am:
776
684info: info-recursive777info: info-recursive
685778
686info-am:779info-am:
687780
688install-data-am: install-docDATA install-pkgconfigDATA781install-data-am: install-docDATA install-pkgconfigDATA
689782
783install-dvi: install-dvi-recursive
784
785install-dvi-am:
786
690install-exec-am:787install-exec-am:
691788
789install-html: install-html-recursive
790
791install-html-am:
792
692install-info: install-info-recursive793install-info: install-info-recursive
693794
795install-info-am:
796
694install-man:797install-man:
695798
799install-pdf: install-pdf-recursive
800
801install-pdf-am:
802
803install-ps: install-ps-recursive
804
805install-ps-am:
806
696installcheck-am:807installcheck-am:
697808
698maintainer-clean: maintainer-clean-recursive809maintainer-clean: maintainer-clean-recursive
@@ -713,27 +824,28 @@
713824
714ps-am:825ps-am:
715826
716uninstall-am: uninstall-docDATA uninstall-info-am \827uninstall-am: uninstall-docDATA uninstall-pkgconfigDATA
717 uninstall-pkgconfigDATA828
718829.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
719uninstall-info: uninstall-info-recursive830 ctags-recursive install-am install-strip tags-recursive
720831
721.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \832.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
722 check-am clean clean-generic clean-libtool clean-recursive \833 all all-am am--refresh check check-am clean clean-generic \
723 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \834 clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
724 dist-shar dist-tarZ dist-zip distcheck distclean \835 dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
725 distclean-generic distclean-hdr distclean-libtool \836 distcheck distclean distclean-generic distclean-hdr \
726 distclean-recursive distclean-tags distcleancheck distdir \837 distclean-libtool distclean-tags distcleancheck distdir \
727 distuninstallcheck dvi dvi-am html html-am info info-am \838 distuninstallcheck dvi dvi-am html html-am info info-am \
728 install install-am install-data install-data-am \839 install install-am install-data install-data-am \
729 install-docDATA install-exec install-exec-am install-info \840 install-docDATA install-dvi install-dvi-am install-exec \
730 install-info-am install-man install-pkgconfigDATA \841 install-exec-am install-html install-html-am install-info \
731 install-strip installcheck installcheck-am installdirs \842 install-info-am install-man install-pdf install-pdf-am \
732 installdirs-am maintainer-clean maintainer-clean-generic \843 install-pkgconfigDATA install-ps install-ps-am install-strip \
733 maintainer-clean-recursive mostlyclean mostlyclean-generic \844 installcheck installcheck-am installdirs installdirs-am \
734 mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \845 maintainer-clean maintainer-clean-generic mostlyclean \
846 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
735 tags tags-recursive uninstall uninstall-am uninstall-docDATA \847 tags tags-recursive uninstall uninstall-am uninstall-docDATA \
736 uninstall-info-am uninstall-pkgconfigDATA848 uninstall-pkgconfigDATA
737849
738850
739.PHONY: doc851.PHONY: doc
@@ -744,6 +856,7 @@
744 rpmbuild="rpm" && \856 rpmbuild="rpm" && \
745 if [ `rpm --version | awk '{ print $$3 }'` > /dev/null ]; then rpmbuild="rpmbuild"; fi && \857 if [ `rpm --version | awk '{ print $$3 }'` > /dev/null ]; then rpmbuild="rpmbuild"; fi && \
746 $$rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz858 $$rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz
859
747# Tell versions [3.59,3.63) of GNU make to not export all variables.860# Tell versions [3.59,3.63) of GNU make to not export all variables.
748# Otherwise a system limit (for SysV at least) may be exceeded.861# Otherwise a system limit (for SysV at least) may be exceeded.
749.NOEXPORT:862.NOEXPORT:
750863
=== modified file 'NEWS'
--- NEWS 2008-08-08 05:14:15 +0000
+++ NEWS 2011-04-19 18:04:29 +0000
@@ -1,3 +1,29 @@
1LibOFX 0.9.4:
2 - Patch to fix segfault on some malformed date formats. Inspired by Zach's patch on launchpad.
3 - Packages-oriented changes:
4 - LibOFX will now look for DTDs in env variable OFX_DTD_PATH (if present).
5 - Better handling of paths (tolerates trailing path separator, or lack thereof)
6 - No longer ignore return value of mkstemp()
7 - Integrate all changes in Ubuntu's package that weren't already upstream
8 - Move to LibXML++ 2.6, as 1.0 is deprecated
9 - Add generated man pages with html2man
10
11LibOFX 0.9.3:
12 - Fix segfault on some files containing missing closing tags (bug #2969817)
13
14LibOFX 0.9.2:
15 - Win32: Add gnucash patch that looks up the dtd installation directory from the current executable's location.
16 - Apply patch by Geert Janssens to fix a crash on invalid date format
17 - Apply patch by ajseward with some additional fixes to allow wraping the library in python.
18 - Apply patch by Thomas Baumgart which fixes bug #5 (Transaction posting date off by one)
19 - Apply patch by Bill Nottingham <notting@redhat.com> with various C++ include fixes for building with recent compilers.
20
21LibOFX 0.9.1:
22 - Add more sanity checks on string length.
23 - Fix gnucash crash on OFX files with non-ascii characters and very long lines. See
24 http://bugzilla.gnome.org/show_bug.cgi?id=528306 and
25 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493597. Patch by Jerome Vouillon copied from the latter.
26
1LibOFX 0.9.0:27LibOFX 0.9.0:
2 - this release now exports version information thus allowing depending applications28 - this release now exports version information thus allowing depending applications
3 to determine the version of LibOFX to compile against29 to determine the version of LibOFX to compile against
430
=== modified file 'README'
--- README 2008-08-08 05:14:15 +0000
+++ README 2011-04-19 18:04:29 +0000
@@ -1,10 +1,10 @@
1Copyright (c) 2002-2003 Benoit Grégoire1Copyright (c) 2002-2010 Benoit Grégoire
22
3This is the LibOFX library. It is a API designed to allow applications to very easily support OFX command responses, usually provided by financial institutions. See http://www.ofx.net/ofx/default.asp for details and specification. This project was first started as my end of degree project, with the objective to add OFX support to GnuCash http://www.gnucash.org/ If you can read French, the original project presentation is included in the doc directory. I finally decided to make it into a generic library, so all OpenSource financial software can benefit.3This is the LibOFX library. It is a API designed to allow applications to very easily support OFX command responses, usually provided by financial institutions. See http://www.ofx.net/ofx/default.asp for details and specification. This project was first started as my end of degree project, with the objective to add OFX support to GnuCash http://www.gnucash.org/ If you can read French, the original project presentation is included in the doc directory. I finally decided to make it into a generic library, so all OpenSource financial software can benefit.
44
5LibOFX is based on the excellent OpenSP library written by James Clark, and now part of the OpenJADE http://openjade.sourceforge.net/ project. OpenSP by itself is not widely distributed. OpenJADE 1.3.1 includes a version on OpenSP that will link, however, it has some major problems with LibOFX and isn't recommended. Since LibOFX uses the generic interface to OpenSP, it should be compatible with all recent versions of OpenSP (It has been developed with OpenSP-1.5pre5). LibOFX is written in C++, but provides a C style interface usable transparently from both C and C++ using a single include file.5LibOFX is based on the excellent OpenSP library written by James Clark, and now part of the OpenJADE http://openjade.sourceforge.net/ project. OpenSP by itself is not widely distributed. OpenJADE 1.3.1 includes a version on OpenSP that will link, however, it has some major problems with LibOFX and isn't recommended. Since LibOFX uses the generic interface to OpenSP, it should be compatible with all recent versions of OpenSP (It has been developed with OpenSP-1.5pre5). LibOFX is written in C++, but provides a C style interface usable transparently from both C and C++ using a single include file.
66
7In addition to the library, two utilities are included with libofx7In addition to the library, three utilities are included with libofx
88
9ofxdump:9ofxdump:
10ofxdump prints to stdout, in human readable form, everything the library understands about a particular ofx response file, and sends errors to stderr. It is as C++ code example and demo of the library (it uses every functions and every structures of LibOFX)10ofxdump prints to stdout, in human readable form, everything the library understands about a particular ofx response file, and sends errors to stderr. It is as C++ code example and demo of the library (it uses every functions and every structures of LibOFX)
@@ -47,6 +47,6 @@
47my own bank (Desjardins). But I need people to run as many ofx files from different banks as they can thru libofx, and report the result.47my own bank (Desjardins). But I need people to run as many ofx files from different banks as they can thru libofx, and report the result.
48-This is my first attempt at writing an API. I need comments from financial software writers about inc/libofx.h What do YOU need?48-This is my first attempt at writing an API. I need comments from financial software writers about inc/libofx.h What do YOU need?
4949
50Benoit Grégoire50Benoit Grégoire
51bock@step.polymtl.ca51benoitg@coeus.ca
5252
5353
=== modified file 'aclocal.m4'
--- aclocal.m4 2008-08-08 05:14:15 +0000
+++ aclocal.m4 2011-04-19 18:04:29 +0000
@@ -1,7 +1,7 @@
1# generated automatically by aclocal 1.9.6 -*- Autoconf -*-1# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
22
3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4# 2005 Free Software Foundation, Inc.4# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
5# This file is free software; the Free Software Foundation5# This file is free software; the Free Software Foundation
6# gives unlimited permission to copy and/or distribute it,6# gives unlimited permission to copy and/or distribute it,
7# with or without modifications, as long as this notice is preserved.7# with or without modifications, as long as this notice is preserved.
@@ -11,103 +11,196 @@
11# even the implied warranty of MERCHANTABILITY or FITNESS FOR A11# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12# PARTICULAR PURPOSE.12# PARTICULAR PURPOSE.
1313
14m4_ifndef([AC_AUTOCONF_VERSION],
15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],,
17[m4_warning([this file was generated for autoconf 2.67.
18You have another version of autoconf. It may work, but is not guaranteed to.
19If you have problems, you may need to regenerate the build system entirely.
20To do so, use the procedure documented by the package, typically `autoreconf'.])])
21
14# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-22# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
1523#
16# serial 51 Debian 1.5.24-1 AC_PROG_LIBTOOL24# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
1725# 2006, 2007, 2008 Free Software Foundation, Inc.
1826# Written by Gordon Matzigkeit, 1996
19# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)27#
20# -----------------------------------------------------------28# This file is free software; the Free Software Foundation gives
21# If this macro is not defined by Autoconf, define it here.29# unlimited permission to copy and/or distribute it, with or without
22m4_ifdef([AC_PROVIDE_IFELSE],30# modifications, as long as this notice is preserved.
23 [],31
24 [m4_define([AC_PROVIDE_IFELSE],32m4_define([_LT_COPYING], [dnl
25 [m4_ifdef([AC_PROVIDE_$1],33# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
26 [$2], [$3])])])34# 2006, 2007, 2008 Free Software Foundation, Inc.
2735# Written by Gordon Matzigkeit, 1996
2836#
29# AC_PROG_LIBTOOL37# This file is part of GNU Libtool.
30# ---------------38#
31AC_DEFUN([AC_PROG_LIBTOOL],39# GNU Libtool is free software; you can redistribute it and/or
32[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl40# modify it under the terms of the GNU General Public License as
33dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX41# published by the Free Software Foundation; either version 2 of
34dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.42# the License, or (at your option) any later version.
35 AC_PROVIDE_IFELSE([AC_PROG_CXX],43#
36 [AC_LIBTOOL_CXX],44# As a special exception to the GNU General Public License,
37 [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX45# if you distribute this file as part of a program or library that
38 ])])46# is built using GNU Libtool, you may include this file under the
39dnl And a similar setup for Fortran 77 support47# same distribution terms that you use for the rest of that program.
40 AC_PROVIDE_IFELSE([AC_PROG_F77],48#
41 [AC_LIBTOOL_F77],49# GNU Libtool is distributed in the hope that it will be useful,
42 [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F7750# but WITHOUT ANY WARRANTY; without even the implied warranty of
43])])51# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4452# GNU General Public License for more details.
45dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.53#
46dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run54# You should have received a copy of the GNU General Public License
47dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.55# along with GNU Libtool; see the file COPYING. If not, a copy
48 AC_PROVIDE_IFELSE([AC_PROG_GCJ],56# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
49 [AC_LIBTOOL_GCJ],57# obtained by writing to the Free Software Foundation, Inc.,
50 [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],58# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
51 [AC_LIBTOOL_GCJ],59])
52 [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],60
53 [AC_LIBTOOL_GCJ],61# serial 56 LT_INIT
54 [ifdef([AC_PROG_GCJ],62
55 [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])63
56 ifdef([A][M_PROG_GCJ],64# LT_PREREQ(VERSION)
57 [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])65# ------------------
58 ifdef([LT_AC_PROG_GCJ],66# Complain and exit if this libtool version is less that VERSION.
59 [define([LT_AC_PROG_GCJ],67m4_defun([LT_PREREQ],
60 defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])68[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
61])])# AC_PROG_LIBTOOL69 [m4_default([$3],
6270 [m4_fatal([Libtool version $1 or higher is required],
6371 63)])],
64# _AC_PROG_LIBTOOL72 [$2])])
65# ----------------73
66AC_DEFUN([_AC_PROG_LIBTOOL],74
67[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl75# _LT_CHECK_BUILDDIR
68AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl76# ------------------
69AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl77# Complain if the absolute build directory name contains unusual characters
70AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl78m4_defun([_LT_CHECK_BUILDDIR],
79[case `pwd` in
80 *\ * | *\ *)
81 AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
82esac
83])
84
85
86# LT_INIT([OPTIONS])
87# ------------------
88AC_DEFUN([LT_INIT],
89[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
90AC_BEFORE([$0], [LT_LANG])dnl
91AC_BEFORE([$0], [LT_OUTPUT])dnl
92AC_BEFORE([$0], [LTDL_INIT])dnl
93m4_require([_LT_CHECK_BUILDDIR])dnl
94
95dnl Autoconf doesn't catch unexpanded LT_ macros by default:
96m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
97m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
98dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
99dnl unless we require an AC_DEFUNed macro:
100AC_REQUIRE([LTOPTIONS_VERSION])dnl
101AC_REQUIRE([LTSUGAR_VERSION])dnl
102AC_REQUIRE([LTVERSION_VERSION])dnl
103AC_REQUIRE([LTOBSOLETE_VERSION])dnl
104m4_require([_LT_PROG_LTMAIN])dnl
105
106dnl Parse OPTIONS
107_LT_SET_OPTIONS([$0], [$1])
71108
72# This can be used to rebuild libtool when needed109# This can be used to rebuild libtool when needed
73LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"110LIBTOOL_DEPS="$ltmain"
74111
75# Always use our own libtool.112# Always use our own libtool.
76LIBTOOL='$(SHELL) $(top_builddir)/libtool'113LIBTOOL='$(SHELL) $(top_builddir)/libtool'
77AC_SUBST(LIBTOOL)dnl114AC_SUBST(LIBTOOL)dnl
78115
79# Prevent multiple expansion116_LT_SETUP
80define([AC_PROG_LIBTOOL], [])117
81])# _AC_PROG_LIBTOOL118# Only expand once:
82119m4_define([LT_INIT])
83120])# LT_INIT
84# AC_LIBTOOL_SETUP121
85# ----------------122# Old names:
86AC_DEFUN([AC_LIBTOOL_SETUP],123AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
87[AC_PREREQ(2.50)dnl124AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
88AC_REQUIRE([AC_ENABLE_SHARED])dnl125dnl aclocal-1.4 backwards compatibility:
89AC_REQUIRE([AC_ENABLE_STATIC])dnl126dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
90AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl127dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
91AC_REQUIRE([AC_CANONICAL_HOST])dnl128
129
130# _LT_CC_BASENAME(CC)
131# -------------------
132# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
133m4_defun([_LT_CC_BASENAME],
134[for cc_temp in $1""; do
135 case $cc_temp in
136 compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
137 distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
138 \-*) ;;
139 *) break;;
140 esac
141done
142cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
143])
144
145
146# _LT_FILEUTILS_DEFAULTS
147# ----------------------
148# It is okay to use these file commands and assume they have been set
149# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
150m4_defun([_LT_FILEUTILS_DEFAULTS],
151[: ${CP="cp -f"}
152: ${MV="mv -f"}
153: ${RM="rm -f"}
154])# _LT_FILEUTILS_DEFAULTS
155
156
157# _LT_SETUP
158# ---------
159m4_defun([_LT_SETUP],
160[AC_REQUIRE([AC_CANONICAL_HOST])dnl
92AC_REQUIRE([AC_CANONICAL_BUILD])dnl161AC_REQUIRE([AC_CANONICAL_BUILD])dnl
162_LT_DECL([], [host_alias], [0], [The host system])dnl
163_LT_DECL([], [host], [0])dnl
164_LT_DECL([], [host_os], [0])dnl
165dnl
166_LT_DECL([], [build_alias], [0], [The build system])dnl
167_LT_DECL([], [build], [0])dnl
168_LT_DECL([], [build_os], [0])dnl
169dnl
93AC_REQUIRE([AC_PROG_CC])dnl170AC_REQUIRE([AC_PROG_CC])dnl
94AC_REQUIRE([AC_PROG_LD])dnl171AC_REQUIRE([LT_PATH_LD])dnl
95AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl172AC_REQUIRE([LT_PATH_NM])dnl
96AC_REQUIRE([AC_PROG_NM])dnl173dnl
97
98AC_REQUIRE([AC_PROG_LN_S])dnl174AC_REQUIRE([AC_PROG_LN_S])dnl
99AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl175test -z "$LN_S" && LN_S="ln -s"
100# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!176_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
101AC_REQUIRE([AC_OBJEXT])dnl177dnl
102AC_REQUIRE([AC_EXEEXT])dnl178AC_REQUIRE([LT_CMD_MAX_LEN])dnl
103dnl179_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
104180_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
105AC_LIBTOOL_SYS_MAX_CMD_LEN181dnl
106AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE182m4_require([_LT_FILEUTILS_DEFAULTS])dnl
107AC_LIBTOOL_OBJDIR183m4_require([_LT_CHECK_SHELL_FEATURES])dnl
108184m4_require([_LT_CMD_RELOAD])dnl
109AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl185m4_require([_LT_CHECK_MAGIC_METHOD])dnl
110_LT_AC_PROG_ECHO_BACKSLASH186m4_require([_LT_CMD_OLD_ARCHIVE])dnl
187m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
188
189_LT_CONFIG_LIBTOOL_INIT([
190# See if we are running on zsh, and set the options which allow our
191# commands through without removal of \ escapes INIT.
192if test -n "\${ZSH_VERSION+set}" ; then
193 setopt NO_GLOB_SUBST
194fi
195])
196if test -n "${ZSH_VERSION+set}" ; then
197 setopt NO_GLOB_SUBST
198fi
199
200_LT_CHECK_OBJDIR
201
202m4_require([_LT_TAG_COMPILER])dnl
203_LT_PROG_ECHO_BACKSLASH
111204
112case $host_os in205case $host_os in
113aix3*)206aix3*)
@@ -123,114 +216,653 @@
123216
124# Sed substitution that helps us do robust quoting. It backslashifies217# Sed substitution that helps us do robust quoting. It backslashifies
125# metacharacters that are still active within double-quoted strings.218# metacharacters that are still active within double-quoted strings.
126Xsed='sed -e 1s/^X//'219sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
127[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
128220
129# Same as above, but do not quote variable references.221# Same as above, but do not quote variable references.
130[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']222double_quote_subst='s/\([["`\\]]\)/\\\1/g'
131223
132# Sed substitution to delay expansion of an escaped shell variable in a224# Sed substitution to delay expansion of an escaped shell variable in a
133# double_quote_subst'ed string.225# double_quote_subst'ed string.
134delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'226delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
135227
228# Sed substitution to delay expansion of an escaped single quote.
229delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
230
136# Sed substitution to avoid accidental globbing in evaled expressions231# Sed substitution to avoid accidental globbing in evaled expressions
137no_glob_subst='s/\*/\\\*/g'232no_glob_subst='s/\*/\\\*/g'
138233
139# Constants:
140rm="rm -f"
141
142# Global variables:234# Global variables:
143default_ofile=libtool235ofile=libtool
144can_build_shared=yes236can_build_shared=yes
145237
146# All known linkers require a `.a' archive for static linking (except MSVC,238# All known linkers require a `.a' archive for static linking (except MSVC,
147# which needs '.lib').239# which needs '.lib').
148libext=a240libext=a
149ltmain="$ac_aux_dir/ltmain.sh"241
150ofile="$default_ofile"
151with_gnu_ld="$lt_cv_prog_gnu_ld"242with_gnu_ld="$lt_cv_prog_gnu_ld"
152243
153AC_CHECK_TOOL(AR, ar, false)
154AC_CHECK_TOOL(RANLIB, ranlib, :)
155AC_CHECK_TOOL(STRIP, strip, :)
156
157old_CC="$CC"244old_CC="$CC"
158old_CFLAGS="$CFLAGS"245old_CFLAGS="$CFLAGS"
159246
160# Set sane defaults for various variables247# Set sane defaults for various variables
161test -z "$AR" && AR=ar
162test -z "$AR_FLAGS" && AR_FLAGS=cru
163test -z "$AS" && AS=as
164test -z "$CC" && CC=cc248test -z "$CC" && CC=cc
165test -z "$LTCC" && LTCC=$CC249test -z "$LTCC" && LTCC=$CC
166test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS250test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
167test -z "$DLLTOOL" && DLLTOOL=dlltool
168test -z "$LD" && LD=ld251test -z "$LD" && LD=ld
169test -z "$LN_S" && LN_S="ln -s"
170test -z "$MAGIC_CMD" && MAGIC_CMD=file
171test -z "$NM" && NM=nm
172test -z "$SED" && SED=sed
173test -z "$OBJDUMP" && OBJDUMP=objdump
174test -z "$RANLIB" && RANLIB=:
175test -z "$STRIP" && STRIP=:
176test -z "$ac_objext" && ac_objext=o252test -z "$ac_objext" && ac_objext=o
177253
178# Determine commands to create old-style static archives.
179old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
180old_postinstall_cmds='chmod 644 $oldlib'
181old_postuninstall_cmds=
182
183if test -n "$RANLIB"; then
184 case $host_os in
185 openbsd*)
186 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
187 ;;
188 *)
189 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
190 ;;
191 esac
192 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
193fi
194
195_LT_CC_BASENAME([$compiler])254_LT_CC_BASENAME([$compiler])
196255
197# Only perform the check for file, if the check method requires it256# Only perform the check for file, if the check method requires it
257test -z "$MAGIC_CMD" && MAGIC_CMD=file
198case $deplibs_check_method in258case $deplibs_check_method in
199file_magic*)259file_magic*)
200 if test "$file_magic_cmd" = '$MAGIC_CMD'; then260 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
201 AC_PATH_MAGIC261 _LT_PATH_MAGIC
202 fi262 fi
203 ;;263 ;;
204esac264esac
205265
206AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
207AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
208enable_win32_dll=yes, enable_win32_dll=no)
209
210AC_ARG_ENABLE([libtool-lock],
211 [AC_HELP_STRING([--disable-libtool-lock],
212 [avoid locking (might break parallel builds)])])
213test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
214
215AC_ARG_WITH([pic],
216 [AC_HELP_STRING([--with-pic],
217 [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
218 [pic_mode="$withval"],
219 [pic_mode=default])
220test -z "$pic_mode" && pic_mode=default
221
222# Use C for the default configuration in the libtool script266# Use C for the default configuration in the libtool script
223tagname=267LT_SUPPORTED_TAG([CC])
224AC_LIBTOOL_LANG_C_CONFIG268_LT_LANG_C_CONFIG
225_LT_AC_TAGCONFIG269_LT_LANG_DEFAULT_CONFIG
226])# AC_LIBTOOL_SETUP270_LT_CONFIG_COMMANDS
227271])# _LT_SETUP
228272
229# _LT_AC_SYS_COMPILER273
274# _LT_PROG_LTMAIN
275# ---------------
276# Note that this code is called both from `configure', and `config.status'
277# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
278# `config.status' has no value for ac_aux_dir unless we are using Automake,
279# so we pass a copy along to make sure it has a sensible value anyway.
280m4_defun([_LT_PROG_LTMAIN],
281[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
282_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
283ltmain="$ac_aux_dir/ltmain.sh"
284])# _LT_PROG_LTMAIN
285
286
287
288# So that we can recreate a full libtool script including additional
289# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
290# in macros and then make a single call at the end using the `libtool'
291# label.
292
293
294# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
295# ----------------------------------------
296# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
297m4_define([_LT_CONFIG_LIBTOOL_INIT],
298[m4_ifval([$1],
299 [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
300 [$1
301])])])
302
303# Initialize.
304m4_define([_LT_OUTPUT_LIBTOOL_INIT])
305
306
307# _LT_CONFIG_LIBTOOL([COMMANDS])
308# ------------------------------
309# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
310m4_define([_LT_CONFIG_LIBTOOL],
311[m4_ifval([$1],
312 [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
313 [$1
314])])])
315
316# Initialize.
317m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
318
319
320# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
321# -----------------------------------------------------
322m4_defun([_LT_CONFIG_SAVE_COMMANDS],
323[_LT_CONFIG_LIBTOOL([$1])
324_LT_CONFIG_LIBTOOL_INIT([$2])
325])
326
327
328# _LT_FORMAT_COMMENT([COMMENT])
329# -----------------------------
330# Add leading comment marks to the start of each line, and a trailing
331# full-stop to the whole comment if one is not present already.
332m4_define([_LT_FORMAT_COMMENT],
333[m4_ifval([$1], [
334m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
335 [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
336)])
337
338
339
340
341
342# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
343# -------------------------------------------------------------------
344# CONFIGNAME is the name given to the value in the libtool script.
345# VARNAME is the (base) name used in the configure script.
346# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
347# VARNAME. Any other value will be used directly.
348m4_define([_LT_DECL],
349[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
350 [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
351 [m4_ifval([$1], [$1], [$2])])
352 lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
353 m4_ifval([$4],
354 [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
355 lt_dict_add_subkey([lt_decl_dict], [$2],
356 [tagged?], [m4_ifval([$5], [yes], [no])])])
357])
358
359
360# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
361# --------------------------------------------------------
362m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
363
364
365# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
366# ------------------------------------------------
367m4_define([lt_decl_tag_varnames],
368[_lt_decl_filter([tagged?], [yes], $@)])
369
370
371# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
372# ---------------------------------------------------------
373m4_define([_lt_decl_filter],
374[m4_case([$#],
375 [0], [m4_fatal([$0: too few arguments: $#])],
376 [1], [m4_fatal([$0: too few arguments: $#: $1])],
377 [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
378 [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
379 [lt_dict_filter([lt_decl_dict], $@)])[]dnl
380])
381
382
383# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
384# --------------------------------------------------
385m4_define([lt_decl_quote_varnames],
386[_lt_decl_filter([value], [1], $@)])
387
388
389# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
390# ---------------------------------------------------
391m4_define([lt_decl_dquote_varnames],
392[_lt_decl_filter([value], [2], $@)])
393
394
395# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
396# ---------------------------------------------------
397m4_define([lt_decl_varnames_tagged],
398[m4_assert([$# <= 2])dnl
399_$0(m4_quote(m4_default([$1], [[, ]])),
400 m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
401 m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
402m4_define([_lt_decl_varnames_tagged],
403[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
404
405
406# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
407# ------------------------------------------------
408m4_define([lt_decl_all_varnames],
409[_$0(m4_quote(m4_default([$1], [[, ]])),
410 m4_if([$2], [],
411 m4_quote(lt_decl_varnames),
412 m4_quote(m4_shift($@))))[]dnl
413])
414m4_define([_lt_decl_all_varnames],
415[lt_join($@, lt_decl_varnames_tagged([$1],
416 lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
417])
418
419
420# _LT_CONFIG_STATUS_DECLARE([VARNAME])
421# ------------------------------------
422# Quote a variable value, and forward it to `config.status' so that its
423# declaration there will have the same value as in `configure'. VARNAME
424# must have a single quote delimited value for this to work.
425m4_define([_LT_CONFIG_STATUS_DECLARE],
426[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
427
428
429# _LT_CONFIG_STATUS_DECLARATIONS
430# ------------------------------
431# We delimit libtool config variables with single quotes, so when
432# we write them to config.status, we have to be sure to quote all
433# embedded single quotes properly. In configure, this macro expands
434# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
435#
436# <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
437m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
438[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
439 [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
440
441
442# _LT_LIBTOOL_TAGS
443# ----------------
444# Output comment and list of tags supported by the script
445m4_defun([_LT_LIBTOOL_TAGS],
446[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
447available_tags="_LT_TAGS"dnl
448])
449
450
451# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
452# -----------------------------------
453# Extract the dictionary values for VARNAME (optionally with TAG) and
454# expand to a commented shell variable setting:
455#
456# # Some comment about what VAR is for.
457# visible_name=$lt_internal_name
458m4_define([_LT_LIBTOOL_DECLARE],
459[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
460 [description])))[]dnl
461m4_pushdef([_libtool_name],
462 m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
463m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
464 [0], [_libtool_name=[$]$1],
465 [1], [_libtool_name=$lt_[]$1],
466 [2], [_libtool_name=$lt_[]$1],
467 [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
468m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
469])
470
471
472# _LT_LIBTOOL_CONFIG_VARS
473# -----------------------
474# Produce commented declarations of non-tagged libtool config variables
475# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
476# script. Tagged libtool config variables (even for the LIBTOOL CONFIG
477# section) are produced by _LT_LIBTOOL_TAG_VARS.
478m4_defun([_LT_LIBTOOL_CONFIG_VARS],
479[m4_foreach([_lt_var],
480 m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
481 [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
482
483
484# _LT_LIBTOOL_TAG_VARS(TAG)
485# -------------------------
486m4_define([_LT_LIBTOOL_TAG_VARS],
487[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
488 [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
489
490
491# _LT_TAGVAR(VARNAME, [TAGNAME])
492# ------------------------------
493m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
494
495
496# _LT_CONFIG_COMMANDS
230# -------------------497# -------------------
231AC_DEFUN([_LT_AC_SYS_COMPILER],498# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
499# variables for single and double quote escaping we saved from calls
500# to _LT_DECL, we can put quote escaped variables declarations
501# into `config.status', and then the shell code to quote escape them in
502# for loops in `config.status'. Finally, any additional code accumulated
503# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
504m4_defun([_LT_CONFIG_COMMANDS],
505[AC_PROVIDE_IFELSE([LT_OUTPUT],
506 dnl If the libtool generation code has been placed in $CONFIG_LT,
507 dnl instead of duplicating it all over again into config.status,
508 dnl then we will have config.status run $CONFIG_LT later, so it
509 dnl needs to know what name is stored there:
510 [AC_CONFIG_COMMANDS([libtool],
511 [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
512 dnl If the libtool generation code is destined for config.status,
513 dnl expand the accumulated commands and init code now:
514 [AC_CONFIG_COMMANDS([libtool],
515 [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
516])#_LT_CONFIG_COMMANDS
517
518
519# Initialize.
520m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
521[
522
523# The HP-UX ksh and POSIX shell print the target directory to stdout
524# if CDPATH is set.
525(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
526
527sed_quote_subst='$sed_quote_subst'
528double_quote_subst='$double_quote_subst'
529delay_variable_subst='$delay_variable_subst'
530_LT_CONFIG_STATUS_DECLARATIONS
531LTCC='$LTCC'
532LTCFLAGS='$LTCFLAGS'
533compiler='$compiler_DEFAULT'
534
535# Quote evaled strings.
536for var in lt_decl_all_varnames([[ \
537]], lt_decl_quote_varnames); do
538 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
539 *[[\\\\\\\`\\"\\\$]]*)
540 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
541 ;;
542 *)
543 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
544 ;;
545 esac
546done
547
548# Double-quote double-evaled strings.
549for var in lt_decl_all_varnames([[ \
550]], lt_decl_dquote_varnames); do
551 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
552 *[[\\\\\\\`\\"\\\$]]*)
553 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
554 ;;
555 *)
556 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
557 ;;
558 esac
559done
560
561# Fix-up fallback echo if it was mangled by the above quoting rules.
562case \$lt_ECHO in
563*'\\\[$]0 --fallback-echo"')dnl "
564 lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
565 ;;
566esac
567
568_LT_OUTPUT_LIBTOOL_INIT
569])
570
571
572# LT_OUTPUT
573# ---------
574# This macro allows early generation of the libtool script (before
575# AC_OUTPUT is called), incase it is used in configure for compilation
576# tests.
577AC_DEFUN([LT_OUTPUT],
578[: ${CONFIG_LT=./config.lt}
579AC_MSG_NOTICE([creating $CONFIG_LT])
580cat >"$CONFIG_LT" <<_LTEOF
581#! $SHELL
582# Generated by $as_me.
583# Run this file to recreate a libtool stub with the current configuration.
584
585lt_cl_silent=false
586SHELL=\${CONFIG_SHELL-$SHELL}
587_LTEOF
588
589cat >>"$CONFIG_LT" <<\_LTEOF
590AS_SHELL_SANITIZE
591_AS_PREPARE
592
593exec AS_MESSAGE_FD>&1
594exec AS_MESSAGE_LOG_FD>>config.log
595{
596 echo
597 AS_BOX([Running $as_me.])
598} >&AS_MESSAGE_LOG_FD
599
600lt_cl_help="\
601\`$as_me' creates a local libtool stub from the current configuration,
602for use in further configure time tests before the real libtool is
603generated.
604
605Usage: $[0] [[OPTIONS]]
606
607 -h, --help print this help, then exit
608 -V, --version print version number, then exit
609 -q, --quiet do not print progress messages
610 -d, --debug don't remove temporary files
611
612Report bugs to <bug-libtool@gnu.org>."
613
614lt_cl_version="\
615m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
616m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
617configured by $[0], generated by m4_PACKAGE_STRING.
618
619Copyright (C) 2008 Free Software Foundation, Inc.
620This config.lt script is free software; the Free Software Foundation
621gives unlimited permision to copy, distribute and modify it."
622
623while test $[#] != 0
624do
625 case $[1] in
626 --version | --v* | -V )
627 echo "$lt_cl_version"; exit 0 ;;
628 --help | --h* | -h )
629 echo "$lt_cl_help"; exit 0 ;;
630 --debug | --d* | -d )
631 debug=: ;;
632 --quiet | --q* | --silent | --s* | -q )
633 lt_cl_silent=: ;;
634
635 -*) AC_MSG_ERROR([unrecognized option: $[1]
636Try \`$[0] --help' for more information.]) ;;
637
638 *) AC_MSG_ERROR([unrecognized argument: $[1]
639Try \`$[0] --help' for more information.]) ;;
640 esac
641 shift
642done
643
644if $lt_cl_silent; then
645 exec AS_MESSAGE_FD>/dev/null
646fi
647_LTEOF
648
649cat >>"$CONFIG_LT" <<_LTEOF
650_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
651_LTEOF
652
653cat >>"$CONFIG_LT" <<\_LTEOF
654AC_MSG_NOTICE([creating $ofile])
655_LT_OUTPUT_LIBTOOL_COMMANDS
656AS_EXIT(0)
657_LTEOF
658chmod +x "$CONFIG_LT"
659
660# configure is writing to config.log, but config.lt does its own redirection,
661# appending to config.log, which fails on DOS, as config.log is still kept
662# open by configure. Here we exec the FD to /dev/null, effectively closing
663# config.log, so it can be properly (re)opened and appended to by config.lt.
664if test "$no_create" != yes; then
665 lt_cl_success=:
666 test "$silent" = yes &&
667 lt_config_lt_args="$lt_config_lt_args --quiet"
668 exec AS_MESSAGE_LOG_FD>/dev/null
669 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
670 exec AS_MESSAGE_LOG_FD>>config.log
671 $lt_cl_success || AS_EXIT(1)
672fi
673])# LT_OUTPUT
674
675
676# _LT_CONFIG(TAG)
677# ---------------
678# If TAG is the built-in tag, create an initial libtool script with a
679# default configuration from the untagged config vars. Otherwise add code
680# to config.status for appending the configuration named by TAG from the
681# matching tagged config vars.
682m4_defun([_LT_CONFIG],
683[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
684_LT_CONFIG_SAVE_COMMANDS([
685 m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
686 m4_if(_LT_TAG, [C], [
687 # See if we are running on zsh, and set the options which allow our
688 # commands through without removal of \ escapes.
689 if test -n "${ZSH_VERSION+set}" ; then
690 setopt NO_GLOB_SUBST
691 fi
692
693 cfgfile="${ofile}T"
694 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
695 $RM "$cfgfile"
696
697 cat <<_LT_EOF >> "$cfgfile"
698#! $SHELL
699
700# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
701# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
702# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
703# NOTE: Changes made to this file will be lost: look at ltmain.sh.
704#
705_LT_COPYING
706_LT_LIBTOOL_TAGS
707
708# ### BEGIN LIBTOOL CONFIG
709_LT_LIBTOOL_CONFIG_VARS
710_LT_LIBTOOL_TAG_VARS
711# ### END LIBTOOL CONFIG
712
713_LT_EOF
714
715 case $host_os in
716 aix3*)
717 cat <<\_LT_EOF >> "$cfgfile"
718# AIX sometimes has problems with the GCC collect2 program. For some
719# reason, if we set the COLLECT_NAMES environment variable, the problems
720# vanish in a puff of smoke.
721if test "X${COLLECT_NAMES+set}" != Xset; then
722 COLLECT_NAMES=
723 export COLLECT_NAMES
724fi
725_LT_EOF
726 ;;
727 esac
728
729 _LT_PROG_LTMAIN
730
731 # We use sed instead of cat because bash on DJGPP gets confused if
732 # if finds mixed CR/LF and LF-only lines. Since sed operates in
733 # text mode, it properly converts lines to CR/LF. This bash problem
734 # is reportedly fixed, but why not run on old versions too?
735 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
736 || (rm -f "$cfgfile"; exit 1)
737
738 _LT_PROG_XSI_SHELLFNS
739
740 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
741 || (rm -f "$cfgfile"; exit 1)
742
743 mv -f "$cfgfile" "$ofile" ||
744 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
745 chmod +x "$ofile"
746],
747[cat <<_LT_EOF >> "$ofile"
748
749dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
750dnl in a comment (ie after a #).
751# ### BEGIN LIBTOOL TAG CONFIG: $1
752_LT_LIBTOOL_TAG_VARS(_LT_TAG)
753# ### END LIBTOOL TAG CONFIG: $1
754_LT_EOF
755])dnl /m4_if
756],
757[m4_if([$1], [], [
758 PACKAGE='$PACKAGE'
759 VERSION='$VERSION'
760 TIMESTAMP='$TIMESTAMP'
761 RM='$RM'
762 ofile='$ofile'], [])
763])dnl /_LT_CONFIG_SAVE_COMMANDS
764])# _LT_CONFIG
765
766
767# LT_SUPPORTED_TAG(TAG)
768# ---------------------
769# Trace this macro to discover what tags are supported by the libtool
770# --tag option, using:
771# autoconf --trace 'LT_SUPPORTED_TAG:$1'
772AC_DEFUN([LT_SUPPORTED_TAG], [])
773
774
775# C support is built-in for now
776m4_define([_LT_LANG_C_enabled], [])
777m4_define([_LT_TAGS], [])
778
779
780# LT_LANG(LANG)
781# -------------
782# Enable libtool support for the given language if not already enabled.
783AC_DEFUN([LT_LANG],
784[AC_BEFORE([$0], [LT_OUTPUT])dnl
785m4_case([$1],
786 [C], [_LT_LANG(C)],
787 [C++], [_LT_LANG(CXX)],
788 [Java], [_LT_LANG(GCJ)],
789 [Fortran 77], [_LT_LANG(F77)],
790 [Fortran], [_LT_LANG(FC)],
791 [Windows Resource], [_LT_LANG(RC)],
792 [m4_ifdef([_LT_LANG_]$1[_CONFIG],
793 [_LT_LANG($1)],
794 [m4_fatal([$0: unsupported language: "$1"])])])dnl
795])# LT_LANG
796
797
798# _LT_LANG(LANGNAME)
799# ------------------
800m4_defun([_LT_LANG],
801[m4_ifdef([_LT_LANG_]$1[_enabled], [],
802 [LT_SUPPORTED_TAG([$1])dnl
803 m4_append([_LT_TAGS], [$1 ])dnl
804 m4_define([_LT_LANG_]$1[_enabled], [])dnl
805 _LT_LANG_$1_CONFIG($1)])dnl
806])# _LT_LANG
807
808
809# _LT_LANG_DEFAULT_CONFIG
810# -----------------------
811m4_defun([_LT_LANG_DEFAULT_CONFIG],
812[AC_PROVIDE_IFELSE([AC_PROG_CXX],
813 [LT_LANG(CXX)],
814 [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
815
816AC_PROVIDE_IFELSE([AC_PROG_F77],
817 [LT_LANG(F77)],
818 [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
819
820AC_PROVIDE_IFELSE([AC_PROG_FC],
821 [LT_LANG(FC)],
822 [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
823
824dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
825dnl pulling things in needlessly.
826AC_PROVIDE_IFELSE([AC_PROG_GCJ],
827 [LT_LANG(GCJ)],
828 [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
829 [LT_LANG(GCJ)],
830 [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
831 [LT_LANG(GCJ)],
832 [m4_ifdef([AC_PROG_GCJ],
833 [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
834 m4_ifdef([A][M_PROG_GCJ],
835 [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
836 m4_ifdef([LT_PROG_GCJ],
837 [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
838
839AC_PROVIDE_IFELSE([LT_PROG_RC],
840 [LT_LANG(RC)],
841 [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
842])# _LT_LANG_DEFAULT_CONFIG
843
844# Obsolete macros:
845AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
846AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
847AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
848AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
849dnl aclocal-1.4 backwards compatibility:
850dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
851dnl AC_DEFUN([AC_LIBTOOL_F77], [])
852dnl AC_DEFUN([AC_LIBTOOL_FC], [])
853dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
854
855
856# _LT_TAG_COMPILER
857# ----------------
858m4_defun([_LT_TAG_COMPILER],
232[AC_REQUIRE([AC_PROG_CC])dnl859[AC_REQUIRE([AC_PROG_CC])dnl
233860
861_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
862_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
863_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
864_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
865
234# If no C compiler was specified, use CC.866# If no C compiler was specified, use CC.
235LTCC=${LTCC-"$CC"}867LTCC=${LTCC-"$CC"}
236868
@@ -239,36 +871,20 @@
239871
240# Allow CC to be a program name with arguments.872# Allow CC to be a program name with arguments.
241compiler=$CC873compiler=$CC
242])# _LT_AC_SYS_COMPILER874])# _LT_TAG_COMPILER
243
244
245# _LT_CC_BASENAME(CC)
246# -------------------
247# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
248AC_DEFUN([_LT_CC_BASENAME],
249[for cc_temp in $1""; do
250 case $cc_temp in
251 compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
252 distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
253 \-*) ;;
254 *) break;;
255 esac
256done
257cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
258])
259875
260876
261# _LT_COMPILER_BOILERPLATE877# _LT_COMPILER_BOILERPLATE
262# ------------------------878# ------------------------
263# Check for compiler boilerplate output or warnings with879# Check for compiler boilerplate output or warnings with
264# the simple compiler test code.880# the simple compiler test code.
265AC_DEFUN([_LT_COMPILER_BOILERPLATE],881m4_defun([_LT_COMPILER_BOILERPLATE],
266[AC_REQUIRE([LT_AC_PROG_SED])dnl882[m4_require([_LT_DECL_SED])dnl
267ac_outfile=conftest.$ac_objext883ac_outfile=conftest.$ac_objext
268echo "$lt_simple_compile_test_code" >conftest.$ac_ext884echo "$lt_simple_compile_test_code" >conftest.$ac_ext
269eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err885eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
270_lt_compiler_boilerplate=`cat conftest.err`886_lt_compiler_boilerplate=`cat conftest.err`
271$rm conftest*887$RM conftest*
272])# _LT_COMPILER_BOILERPLATE888])# _LT_COMPILER_BOILERPLATE
273889
274890
@@ -276,26 +892,150 @@
276# ----------------------892# ----------------------
277# Check for linker boilerplate output or warnings with893# Check for linker boilerplate output or warnings with
278# the simple link test code.894# the simple link test code.
279AC_DEFUN([_LT_LINKER_BOILERPLATE],895m4_defun([_LT_LINKER_BOILERPLATE],
280[AC_REQUIRE([LT_AC_PROG_SED])dnl896[m4_require([_LT_DECL_SED])dnl
281ac_outfile=conftest.$ac_objext897ac_outfile=conftest.$ac_objext
282echo "$lt_simple_link_test_code" >conftest.$ac_ext898echo "$lt_simple_link_test_code" >conftest.$ac_ext
283eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err899eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
284_lt_linker_boilerplate=`cat conftest.err`900_lt_linker_boilerplate=`cat conftest.err`
285$rm conftest*901$RM -r conftest*
286])# _LT_LINKER_BOILERPLATE902])# _LT_LINKER_BOILERPLATE
287903
288904# _LT_REQUIRED_DARWIN_CHECKS
289# _LT_AC_SYS_LIBPATH_AIX905# -------------------------
290# ----------------------906m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
907 case $host_os in
908 rhapsody* | darwin*)
909 AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
910 AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
911 AC_CHECK_TOOL([LIPO], [lipo], [:])
912 AC_CHECK_TOOL([OTOOL], [otool], [:])
913 AC_CHECK_TOOL([OTOOL64], [otool64], [:])
914 _LT_DECL([], [DSYMUTIL], [1],
915 [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
916 _LT_DECL([], [NMEDIT], [1],
917 [Tool to change global to local symbols on Mac OS X])
918 _LT_DECL([], [LIPO], [1],
919 [Tool to manipulate fat objects and archives on Mac OS X])
920 _LT_DECL([], [OTOOL], [1],
921 [ldd/readelf like tool for Mach-O binaries on Mac OS X])
922 _LT_DECL([], [OTOOL64], [1],
923 [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
924
925 AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
926 [lt_cv_apple_cc_single_mod=no
927 if test -z "${LT_MULTI_MODULE}"; then
928 # By default we will add the -single_module flag. You can override
929 # by either setting the environment variable LT_MULTI_MODULE
930 # non-empty at configure time, or by adding -multi_module to the
931 # link flags.
932 rm -rf libconftest.dylib*
933 echo "int foo(void){return 1;}" > conftest.c
934 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
935-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
936 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
937 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
938 _lt_result=$?
939 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
940 lt_cv_apple_cc_single_mod=yes
941 else
942 cat conftest.err >&AS_MESSAGE_LOG_FD
943 fi
944 rm -rf libconftest.dylib*
945 rm -f conftest.*
946 fi])
947 AC_CACHE_CHECK([for -exported_symbols_list linker flag],
948 [lt_cv_ld_exported_symbols_list],
949 [lt_cv_ld_exported_symbols_list=no
950 save_LDFLAGS=$LDFLAGS
951 echo "_main" > conftest.sym
952 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
953 AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
954 [lt_cv_ld_exported_symbols_list=yes],
955 [lt_cv_ld_exported_symbols_list=no])
956 LDFLAGS="$save_LDFLAGS"
957 ])
958 case $host_os in
959 rhapsody* | darwin1.[[012]])
960 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
961 darwin1.*)
962 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
963 darwin*) # darwin 5.x on
964 # if running on 10.5 or later, the deployment target defaults
965 # to the OS version, if on x86, and 10.4, the deployment
966 # target defaults to 10.4. Don't you love it?
967 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
968 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
969 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
970 10.[[012]]*)
971 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
972 10.*)
973 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
974 esac
975 ;;
976 esac
977 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
978 _lt_dar_single_mod='$single_module'
979 fi
980 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
981 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
982 else
983 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
984 fi
985 if test "$DSYMUTIL" != ":"; then
986 _lt_dsymutil='~$DSYMUTIL $lib || :'
987 else
988 _lt_dsymutil=
989 fi
990 ;;
991 esac
992])
993
994
995# _LT_DARWIN_LINKER_FEATURES
996# --------------------------
997# Checks for linker and compiler features on darwin
998m4_defun([_LT_DARWIN_LINKER_FEATURES],
999[
1000 m4_require([_LT_REQUIRED_DARWIN_CHECKS])
1001 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
1002 _LT_TAGVAR(hardcode_direct, $1)=no
1003 _LT_TAGVAR(hardcode_automatic, $1)=yes
1004 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1005 _LT_TAGVAR(whole_archive_flag_spec, $1)=''
1006 _LT_TAGVAR(link_all_deplibs, $1)=yes
1007 _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
1008 case $cc_basename in
1009 ifort*) _lt_dar_can_shared=yes ;;
1010 *) _lt_dar_can_shared=$GCC ;;
1011 esac
1012 if test "$_lt_dar_can_shared" = "yes"; then
1013 output_verbose_link_cmd=echo
1014 _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}"
1015 _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
1016 _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}"
1017 _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}"
1018 m4_if([$1], [CXX],
1019[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then
1020 _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}"
1021 _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}"
1022 fi
1023],[])
1024 else
1025 _LT_TAGVAR(ld_shlibs, $1)=no
1026 fi
1027])
1028
1029# _LT_SYS_MODULE_PATH_AIX
1030# -----------------------
291# Links a minimal program and checks the executable1031# Links a minimal program and checks the executable
292# for the system default hardcoded library path. In most cases,1032# for the system default hardcoded library path. In most cases,
293# this is /usr/lib:/lib, but when the MPI compilers are used1033# this is /usr/lib:/lib, but when the MPI compilers are used
294# the location of the communication and MPI libs are included too.1034# the location of the communication and MPI libs are included too.
295# If we don't find anything, use the default library path according1035# If we don't find anything, use the default library path according
296# to the aix ld manual.1036# to the aix ld manual.
297AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],1037m4_defun([_LT_SYS_MODULE_PATH_AIX],
298[AC_REQUIRE([LT_AC_PROG_SED])dnl1038[m4_require([_LT_DECL_SED])dnl
299AC_LINK_IFELSE(AC_LANG_PROGRAM,[1039AC_LINK_IFELSE(AC_LANG_PROGRAM,[
300lt_aix_libpath_sed='1040lt_aix_libpath_sed='
301 /Import File Strings/,/^$/ {1041 /Import File Strings/,/^$/ {
@@ -310,45 +1050,45 @@
310 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`1050 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
311fi],[])1051fi],[])
312if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi1052if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
313])# _LT_AC_SYS_LIBPATH_AIX1053])# _LT_SYS_MODULE_PATH_AIX
3141054
3151055
316# _LT_AC_SHELL_INIT(ARG)1056# _LT_SHELL_INIT(ARG)
317# ----------------------1057# -------------------
318AC_DEFUN([_LT_AC_SHELL_INIT],1058m4_define([_LT_SHELL_INIT],
319[ifdef([AC_DIVERSION_NOTICE],1059[ifdef([AC_DIVERSION_NOTICE],
320 [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],1060 [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
321 [AC_DIVERT_PUSH(NOTICE)])1061 [AC_DIVERT_PUSH(NOTICE)])
322$11062$1
323AC_DIVERT_POP1063AC_DIVERT_POP
324])# _LT_AC_SHELL_INIT1064])# _LT_SHELL_INIT
3251065
3261066
327# _LT_AC_PROG_ECHO_BACKSLASH1067# _LT_PROG_ECHO_BACKSLASH
328# --------------------------1068# -----------------------
329# Add some code to the start of the generated configure script which1069# Add some code to the start of the generated configure script which
330# will find an echo command which doesn't interpret backslashes.1070# will find an echo command which doesn't interpret backslashes.
331AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],1071m4_defun([_LT_PROG_ECHO_BACKSLASH],
332[_LT_AC_SHELL_INIT([1072[_LT_SHELL_INIT([
333# Check that we are running under the correct shell.1073# Check that we are running under the correct shell.
334SHELL=${CONFIG_SHELL-/bin/sh}1074SHELL=${CONFIG_SHELL-/bin/sh}
3351075
336case X$ECHO in1076case X$lt_ECHO in
337X*--fallback-echo)1077X*--fallback-echo)
338 # Remove one level of quotation (which was required for Make).1078 # Remove one level of quotation (which was required for Make).
339 ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`1079 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
340 ;;1080 ;;
341esac1081esac
3421082
343echo=${ECHO-echo}1083ECHO=${lt_ECHO-echo}
344if test "X[$]1" = X--no-reexec; then1084if test "X[$]1" = X--no-reexec; then
345 # Discard the --no-reexec flag, and continue.1085 # Discard the --no-reexec flag, and continue.
346 shift1086 shift
347elif test "X[$]1" = X--fallback-echo; then1087elif test "X[$]1" = X--fallback-echo; then
348 # Avoid inline document here, it may be left over1088 # Avoid inline document here, it may be left over
349 :1089 :
350elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then1090elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
351 # Yippee, $echo works!1091 # Yippee, $ECHO works!
352 :1092 :
353else1093else
354 # Restart under the correct shell.1094 # Restart under the correct shell.
@@ -358,9 +1098,9 @@
358if test "X[$]1" = X--fallback-echo; then1098if test "X[$]1" = X--fallback-echo; then
359 # used as fallback echo1099 # used as fallback echo
360 shift1100 shift
361 cat <<EOF1101 cat <<_LT_EOF
362[$]*1102[$]*
363EOF1103_LT_EOF
364 exit 01104 exit 0
365fi1105fi
3661106
@@ -368,124 +1108,127 @@
368# if CDPATH is set.1108# if CDPATH is set.
369(unset CDPATH) >/dev/null 2>&1 && unset CDPATH1109(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3701110
371if test -z "$ECHO"; then1111if test -z "$lt_ECHO"; then
372if test "X${echo_test_string+set}" != Xset; then1112 if test "X${echo_test_string+set}" != Xset; then
373# find a string as large as possible, as long as the shell can cope with it1113 # find a string as large as possible, as long as the shell can cope with it
374 for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do1114 for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
375 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...1115 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
376 if (echo_test_string=`eval $cmd`) 2>/dev/null &&1116 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
377 echo_test_string=`eval $cmd` &&1117 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
378 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null1118 then
379 then1119 break
380 break1120 fi
381 fi1121 done
382 done1122 fi
383fi1123
3841124 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
385if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&1125 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
386 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&1126 test "X$echo_testing_string" = "X$echo_test_string"; then
387 test "X$echo_testing_string" = "X$echo_test_string"; then1127 :
388 :1128 else
389else1129 # The Solaris, AIX, and Digital Unix default echo programs unquote
390 # The Solaris, AIX, and Digital Unix default echo programs unquote1130 # backslashes. This makes it impossible to quote backslashes using
391 # backslashes. This makes it impossible to quote backslashes using1131 # echo "$something" | sed 's/\\/\\\\/g'
392 # echo "$something" | sed 's/\\/\\\\/g'1132 #
393 #1133 # So, first we look for a working echo in the user's PATH.
394 # So, first we look for a working echo in the user's PATH.1134
3951135 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
396 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR1136 for dir in $PATH /usr/ucb; do
397 for dir in $PATH /usr/ucb; do1137 IFS="$lt_save_ifs"
1138 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
1139 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
1140 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
1141 test "X$echo_testing_string" = "X$echo_test_string"; then
1142 ECHO="$dir/echo"
1143 break
1144 fi
1145 done
398 IFS="$lt_save_ifs"1146 IFS="$lt_save_ifs"
399 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
400 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
401 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
402 test "X$echo_testing_string" = "X$echo_test_string"; then
403 echo="$dir/echo"
404 break
405 fi
406 done
407 IFS="$lt_save_ifs"
4081147
409 if test "X$echo" = Xecho; then1148 if test "X$ECHO" = Xecho; then
410 # We didn't find a better echo, so look for alternatives.1149 # We didn't find a better echo, so look for alternatives.
411 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&1150 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
412 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&1151 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
413 test "X$echo_testing_string" = "X$echo_test_string"; then1152 test "X$echo_testing_string" = "X$echo_test_string"; then
414 # This shell has a builtin print -r that does the trick.1153 # This shell has a builtin print -r that does the trick.
415 echo='print -r'1154 ECHO='print -r'
416 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&1155 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
417 test "X$CONFIG_SHELL" != X/bin/ksh; then1156 test "X$CONFIG_SHELL" != X/bin/ksh; then
418 # If we have ksh, try running configure again with it.1157 # If we have ksh, try running configure again with it.
419 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}1158 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
420 export ORIGINAL_CONFIG_SHELL1159 export ORIGINAL_CONFIG_SHELL
421 CONFIG_SHELL=/bin/ksh1160 CONFIG_SHELL=/bin/ksh
422 export CONFIG_SHELL1161 export CONFIG_SHELL
423 exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}1162 exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
424 else
425 # Try using printf.
426 echo='printf %s\n'
427 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
428 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
429 test "X$echo_testing_string" = "X$echo_test_string"; then
430 # Cool, printf works
431 :
432 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
433 test "X$echo_testing_string" = 'X\t' &&
434 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
435 test "X$echo_testing_string" = "X$echo_test_string"; then
436 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
437 export CONFIG_SHELL
438 SHELL="$CONFIG_SHELL"
439 export SHELL
440 echo="$CONFIG_SHELL [$]0 --fallback-echo"
441 elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
442 test "X$echo_testing_string" = 'X\t' &&
443 echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
444 test "X$echo_testing_string" = "X$echo_test_string"; then
445 echo="$CONFIG_SHELL [$]0 --fallback-echo"
446 else1163 else
447 # maybe with a smaller string...1164 # Try using printf.
448 prev=:1165 ECHO='printf %s\n'
4491166 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
450 for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do1167 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
451 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null1168 test "X$echo_testing_string" = "X$echo_test_string"; then
452 then1169 # Cool, printf works
453 break1170 :
1171 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
1172 test "X$echo_testing_string" = 'X\t' &&
1173 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1174 test "X$echo_testing_string" = "X$echo_test_string"; then
1175 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
1176 export CONFIG_SHELL
1177 SHELL="$CONFIG_SHELL"
1178 export SHELL
1179 ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
1180 elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
1181 test "X$echo_testing_string" = 'X\t' &&
1182 echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1183 test "X$echo_testing_string" = "X$echo_test_string"; then
1184 ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
1185 else
1186 # maybe with a smaller string...
1187 prev=:
1188
1189 for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
1190 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
1191 then
1192 break
1193 fi
1194 prev="$cmd"
1195 done
1196
1197 if test "$prev" != 'sed 50q "[$]0"'; then
1198 echo_test_string=`eval $prev`
1199 export echo_test_string
1200 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
1201 else
1202 # Oops. We lost completely, so just stick with echo.
1203 ECHO=echo
454 fi1204 fi
455 prev="$cmd"1205 fi
456 done
457
458 if test "$prev" != 'sed 50q "[$]0"'; then
459 echo_test_string=`eval $prev`
460 export echo_test_string
461 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
462 else
463 # Oops. We lost completely, so just stick with echo.
464 echo=echo
465 fi
466 fi1206 fi
467 fi1207 fi
468 fi1208 fi
469fi1209fi
470fi
4711210
472# Copy echo and quote the copy suitably for passing to libtool from1211# Copy echo and quote the copy suitably for passing to libtool from
473# the Makefile, instead of quoting the original, which is used later.1212# the Makefile, instead of quoting the original, which is used later.
474ECHO=$echo1213lt_ECHO=$ECHO
475if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then1214if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
476 ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"1215 lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
477fi1216fi
4781217
479AC_SUBST(ECHO)1218AC_SUBST(lt_ECHO)
480])])# _LT_AC_PROG_ECHO_BACKSLASH1219])
4811220_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
4821221_LT_DECL([], [ECHO], [1],
483# _LT_AC_LOCK1222 [An echo program that does not interpret backslashes])
484# -----------1223])# _LT_PROG_ECHO_BACKSLASH
485AC_DEFUN([_LT_AC_LOCK],1224
1225
1226# _LT_ENABLE_LOCK
1227# ---------------
1228m4_defun([_LT_ENABLE_LOCK],
486[AC_ARG_ENABLE([libtool-lock],1229[AC_ARG_ENABLE([libtool-lock],
487 [AC_HELP_STRING([--disable-libtool-lock],1230 [AS_HELP_STRING([--disable-libtool-lock],
488 [avoid locking (might break parallel builds)])])1231 [avoid locking (might break parallel builds)])])
489test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes1232test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4901233
491# Some flags need to be propagated to the compiler or linker for good1234# Some flags need to be propagated to the compiler or linker for good
@@ -496,12 +1239,12 @@
496 echo 'int i;' > conftest.$ac_ext1239 echo 'int i;' > conftest.$ac_ext
497 if AC_TRY_EVAL(ac_compile); then1240 if AC_TRY_EVAL(ac_compile); then
498 case `/usr/bin/file conftest.$ac_objext` in1241 case `/usr/bin/file conftest.$ac_objext` in
499 *ELF-32*)1242 *ELF-32*)
500 HPUX_IA64_MODE="32"1243 HPUX_IA64_MODE="32"
501 ;;1244 ;;
502 *ELF-64*)1245 *ELF-64*)
503 HPUX_IA64_MODE="64"1246 HPUX_IA64_MODE="64"
504 ;;1247 ;;
505 esac1248 esac
506 fi1249 fi
507 rm -rf conftest*1250 rm -rf conftest*
@@ -510,79 +1253,79 @@
510 # Find out which ABI we are using.1253 # Find out which ABI we are using.
511 echo '[#]line __oline__ "configure"' > conftest.$ac_ext1254 echo '[#]line __oline__ "configure"' > conftest.$ac_ext
512 if AC_TRY_EVAL(ac_compile); then1255 if AC_TRY_EVAL(ac_compile); then
513 if test "$lt_cv_prog_gnu_ld" = yes; then1256 if test "$lt_cv_prog_gnu_ld" = yes; then
514 case `/usr/bin/file conftest.$ac_objext` in1257 case `/usr/bin/file conftest.$ac_objext` in
515 *32-bit*)1258 *32-bit*)
516 LD="${LD-ld} -melf32bsmip"1259 LD="${LD-ld} -melf32bsmip"
517 ;;1260 ;;
518 *N32*)1261 *N32*)
519 LD="${LD-ld} -melf32bmipn32"1262 LD="${LD-ld} -melf32bmipn32"
520 ;;1263 ;;
521 *64-bit*)1264 *64-bit*)
522 LD="${LD-ld} -melf64bmip"1265 LD="${LD-ld} -melf64bmip"
523 ;;1266 ;;
524 esac1267 esac
525 else1268 else
526 case `/usr/bin/file conftest.$ac_objext` in1269 case `/usr/bin/file conftest.$ac_objext` in
527 *32-bit*)1270 *32-bit*)
528 LD="${LD-ld} -32"1271 LD="${LD-ld} -32"
529 ;;1272 ;;
530 *N32*)1273 *N32*)
531 LD="${LD-ld} -n32"1274 LD="${LD-ld} -n32"
532 ;;1275 ;;
533 *64-bit*)1276 *64-bit*)
534 LD="${LD-ld} -64"1277 LD="${LD-ld} -64"
535 ;;1278 ;;
536 esac1279 esac
537 fi1280 fi
538 fi1281 fi
539 rm -rf conftest*1282 rm -rf conftest*
540 ;;1283 ;;
5411284
542x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \1285x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
543s390*-*linux*|sparc*-*linux*)1286s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
544 # Find out which ABI we are using.1287 # Find out which ABI we are using.
545 echo 'int i;' > conftest.$ac_ext1288 echo 'int i;' > conftest.$ac_ext
546 if AC_TRY_EVAL(ac_compile); then1289 if AC_TRY_EVAL(ac_compile); then
547 case `/usr/bin/file conftest.o` in1290 case `/usr/bin/file conftest.o` in
548 *32-bit*)1291 *32-bit*)
549 case $host in1292 case $host in
550 x86_64-*kfreebsd*-gnu)1293 x86_64-*kfreebsd*-gnu)
551 LD="${LD-ld} -m elf_i386_fbsd"1294 LD="${LD-ld} -m elf_i386_fbsd"
552 ;;1295 ;;
553 x86_64-*linux*)1296 x86_64-*linux*)
554 LD="${LD-ld} -m elf_i386"1297 LD="${LD-ld} -m elf_i386"
555 ;;1298 ;;
556 ppc64-*linux*|powerpc64-*linux*)1299 ppc64-*linux*|powerpc64-*linux*)
557 LD="${LD-ld} -m elf32ppclinux"1300 LD="${LD-ld} -m elf32ppclinux"
558 ;;1301 ;;
559 s390x-*linux*)1302 s390x-*linux*)
560 LD="${LD-ld} -m elf_s390"1303 LD="${LD-ld} -m elf_s390"
561 ;;1304 ;;
562 sparc64-*linux*)1305 sparc64-*linux*)
563 LD="${LD-ld} -m elf32_sparc"1306 LD="${LD-ld} -m elf32_sparc"
564 ;;1307 ;;
565 esac1308 esac
566 ;;1309 ;;
567 *64-bit*)1310 *64-bit*)
568 case $host in1311 case $host in
569 x86_64-*kfreebsd*-gnu)1312 x86_64-*kfreebsd*-gnu)
570 LD="${LD-ld} -m elf_x86_64_fbsd"1313 LD="${LD-ld} -m elf_x86_64_fbsd"
571 ;;1314 ;;
572 x86_64-*linux*)1315 x86_64-*linux*)
573 LD="${LD-ld} -m elf_x86_64"1316 LD="${LD-ld} -m elf_x86_64"
574 ;;1317 ;;
575 ppc*-*linux*|powerpc*-*linux*)1318 ppc*-*linux*|powerpc*-*linux*)
576 LD="${LD-ld} -m elf64ppc"1319 LD="${LD-ld} -m elf64ppc"
577 ;;1320 ;;
578 s390*-*linux*)1321 s390*-*linux*|s390*-*tpf*)
579 LD="${LD-ld} -m elf64_s390"1322 LD="${LD-ld} -m elf64_s390"
580 ;;1323 ;;
581 sparc*-*linux*)1324 sparc*-*linux*)
582 LD="${LD-ld} -m elf64_sparc"1325 LD="${LD-ld} -m elf64_sparc"
583 ;;1326 ;;
584 esac1327 esac
585 ;;1328 ;;
586 esac1329 esac
587 fi1330 fi
588 rm -rf conftest*1331 rm -rf conftest*
@@ -594,7 +1337,7 @@
594 CFLAGS="$CFLAGS -belf"1337 CFLAGS="$CFLAGS -belf"
595 AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,1338 AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
596 [AC_LANG_PUSH(C)1339 [AC_LANG_PUSH(C)
597 AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])1340 AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
598 AC_LANG_POP])1341 AC_LANG_POP])
599 if test x"$lt_cv_cc_needs_belf" != x"yes"; then1342 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
600 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf1343 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
@@ -609,37 +1352,74 @@
609 *64-bit*)1352 *64-bit*)
610 case $lt_cv_prog_gnu_ld in1353 case $lt_cv_prog_gnu_ld in
611 yes*) LD="${LD-ld} -m elf64_sparc" ;;1354 yes*) LD="${LD-ld} -m elf64_sparc" ;;
612 *) LD="${LD-ld} -64" ;;1355 *)
1356 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
1357 LD="${LD-ld} -64"
1358 fi
1359 ;;
613 esac1360 esac
614 ;;1361 ;;
615 esac1362 esac
616 fi1363 fi
617 rm -rf conftest*1364 rm -rf conftest*
618 ;;1365 ;;
619
620AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
621[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
622 AC_CHECK_TOOL(DLLTOOL, dlltool, false)
623 AC_CHECK_TOOL(AS, as, false)
624 AC_CHECK_TOOL(OBJDUMP, objdump, false)
625 ;;
626 ])
627esac1366esac
6281367
629need_locks="$enable_libtool_lock"1368need_locks="$enable_libtool_lock"
6301369])# _LT_ENABLE_LOCK
631])# _LT_AC_LOCK1370
6321371
6331372# _LT_CMD_OLD_ARCHIVE
634# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,1373# -------------------
1374m4_defun([_LT_CMD_OLD_ARCHIVE],
1375[AC_CHECK_TOOL(AR, ar, false)
1376test -z "$AR" && AR=ar
1377test -z "$AR_FLAGS" && AR_FLAGS=cru
1378_LT_DECL([], [AR], [1], [The archiver])
1379_LT_DECL([], [AR_FLAGS], [1])
1380
1381AC_CHECK_TOOL(STRIP, strip, :)
1382test -z "$STRIP" && STRIP=:
1383_LT_DECL([], [STRIP], [1], [A symbol stripping program])
1384
1385AC_CHECK_TOOL(RANLIB, ranlib, :)
1386test -z "$RANLIB" && RANLIB=:
1387_LT_DECL([], [RANLIB], [1],
1388 [Commands used to install an old-style archive])
1389
1390# Determine commands to create old-style static archives.
1391old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
1392old_postinstall_cmds='chmod 644 $oldlib'
1393old_postuninstall_cmds=
1394
1395if test -n "$RANLIB"; then
1396 case $host_os in
1397 openbsd*)
1398 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
1399 ;;
1400 *)
1401 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
1402 ;;
1403 esac
1404 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
1405fi
1406_LT_DECL([], [old_postinstall_cmds], [2])
1407_LT_DECL([], [old_postuninstall_cmds], [2])
1408_LT_TAGDECL([], [old_archive_cmds], [2],
1409 [Commands used to build an old-style archive])
1410])# _LT_CMD_OLD_ARCHIVE
1411
1412
1413# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
635# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])1414# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
636# ----------------------------------------------------------------1415# ----------------------------------------------------------------
637# Check whether the given compiler option works1416# Check whether the given compiler option works
638AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],1417AC_DEFUN([_LT_COMPILER_OPTION],
639[AC_REQUIRE([LT_AC_PROG_SED])1418[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
1419m4_require([_LT_DECL_SED])dnl
640AC_CACHE_CHECK([$1], [$2],1420AC_CACHE_CHECK([$1], [$2],
641 [$2=no1421 [$2=no
642 ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])1422 m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
643 echo "$lt_simple_compile_test_code" > conftest.$ac_ext1423 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
644 lt_compiler_flag="$3"1424 lt_compiler_flag="$3"
645 # Insert the option either (1) after the last *FLAGS variable, or1425 # Insert the option either (1) after the last *FLAGS variable, or
@@ -659,29 +1439,35 @@
659 if (exit $ac_status) && test -s "$ac_outfile"; then1439 if (exit $ac_status) && test -s "$ac_outfile"; then
660 # The compiler can only warn and ignore the option if not recognized1440 # The compiler can only warn and ignore the option if not recognized
661 # So say no if there are warnings other than the usual output.1441 # So say no if there are warnings other than the usual output.
662 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp1442 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
663 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er21443 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
664 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then1444 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
665 $2=yes1445 $2=yes
666 fi1446 fi
667 fi1447 fi
668 $rm conftest*1448 $RM conftest*
669])1449])
6701450
671if test x"[$]$2" = xyes; then1451if test x"[$]$2" = xyes; then
672 ifelse([$5], , :, [$5])1452 m4_if([$5], , :, [$5])
673else1453else
674 ifelse([$6], , :, [$6])1454 m4_if([$6], , :, [$6])
675fi1455fi
676])# AC_LIBTOOL_COMPILER_OPTION1456])# _LT_COMPILER_OPTION
6771457
6781458# Old name:
679# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,1459AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
680# [ACTION-SUCCESS], [ACTION-FAILURE])1460dnl aclocal-1.4 backwards compatibility:
681# ------------------------------------------------------------1461dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
682# Check whether the given compiler option works1462
683AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],1463
684[AC_REQUIRE([LT_AC_PROG_SED])dnl1464# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1465# [ACTION-SUCCESS], [ACTION-FAILURE])
1466# ----------------------------------------------------
1467# Check whether the given linker option works
1468AC_DEFUN([_LT_LINKER_OPTION],
1469[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
1470m4_require([_LT_DECL_SED])dnl
685AC_CACHE_CHECK([$1], [$2],1471AC_CACHE_CHECK([$1], [$2],
686 [$2=no1472 [$2=no
687 save_LDFLAGS="$LDFLAGS"1473 save_LDFLAGS="$LDFLAGS"
@@ -693,7 +1479,7 @@
693 if test -s conftest.err; then1479 if test -s conftest.err; then
694 # Append any errors to the config.log.1480 # Append any errors to the config.log.
695 cat conftest.err 1>&AS_MESSAGE_LOG_FD1481 cat conftest.err 1>&AS_MESSAGE_LOG_FD
696 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp1482 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
697 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er21483 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
698 if diff conftest.exp conftest.er2 >/dev/null; then1484 if diff conftest.exp conftest.er2 >/dev/null; then
699 $2=yes1485 $2=yes
@@ -702,22 +1488,28 @@
702 $2=yes1488 $2=yes
703 fi1489 fi
704 fi1490 fi
705 $rm conftest*1491 $RM -r conftest*
706 LDFLAGS="$save_LDFLAGS"1492 LDFLAGS="$save_LDFLAGS"
707])1493])
7081494
709if test x"[$]$2" = xyes; then1495if test x"[$]$2" = xyes; then
710 ifelse([$4], , :, [$4])1496 m4_if([$4], , :, [$4])
711else1497else
712 ifelse([$5], , :, [$5])1498 m4_if([$5], , :, [$5])
713fi1499fi
714])# AC_LIBTOOL_LINKER_OPTION1500])# _LT_LINKER_OPTION
7151501
7161502# Old name:
717# AC_LIBTOOL_SYS_MAX_CMD_LEN1503AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
718# --------------------------1504dnl aclocal-1.4 backwards compatibility:
719AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],1505dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
720[# find the maximum length of command line arguments1506
1507
1508# LT_CMD_MAX_LEN
1509#---------------
1510AC_DEFUN([LT_CMD_MAX_LEN],
1511[AC_REQUIRE([AC_CANONICAL_HOST])dnl
1512# find the maximum length of command line arguments
721AC_MSG_CHECKING([the maximum length of command line arguments])1513AC_MSG_CHECKING([the maximum length of command line arguments])
722AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl1514AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
723 i=01515 i=0
@@ -739,7 +1531,7 @@
739 lt_cv_sys_max_cmd_len=-1;1531 lt_cv_sys_max_cmd_len=-1;
740 ;;1532 ;;
7411533
742 cygwin* | mingw*)1534 cygwin* | mingw* | cegcc*)
743 # On Win9x/ME, this test blows up -- it succeeds, but takes1535 # On Win9x/ME, this test blows up -- it succeeds, but takes
744 # about 5 minutes as the teststring grows exponentially.1536 # about 5 minutes as the teststring grows exponentially.
745 # Worse, since 9x/ME are not pre-emptively multitasking,1537 # Worse, since 9x/ME are not pre-emptively multitasking,
@@ -794,7 +1586,7 @@
794 sysv5* | sco5v6* | sysv4.2uw2*)1586 sysv5* | sco5v6* | sysv4.2uw2*)
795 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`1587 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
796 if test -n "$kargmax"; then1588 if test -n "$kargmax"; then
797 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`1589 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
798 else1590 else
799 lt_cv_sys_max_cmd_len=327681591 lt_cv_sys_max_cmd_len=32768
800 fi1592 fi
@@ -805,20 +1597,28 @@
805 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`1597 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
806 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`1598 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
807 else1599 else
1600 # Make teststring a little bigger before we do anything with it.
1601 # a 1K string should be a reasonable start.
1602 for i in 1 2 3 4 5 6 7 8 ; do
1603 teststring=$teststring$teststring
1604 done
808 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}1605 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
809 while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \1606 # If test is not a shell built-in, we'll probably end up computing a
810 = "XX$teststring") >/dev/null 2>&1 &&1607 # maximum length that is only half of the actual maximum length, but
811 new_result=`expr "X$teststring" : ".*" 2>&1` &&1608 # we can't tell.
812 lt_cv_sys_max_cmd_len=$new_result &&1609 while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
1610 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
813 test $i != 17 # 1/2 MB should be enough1611 test $i != 17 # 1/2 MB should be enough
814 do1612 do
815 i=`expr $i + 1`1613 i=`expr $i + 1`
816 teststring=$teststring$teststring1614 teststring=$teststring$teststring
817 done1615 done
1616 # Only check the string length outside the loop.
1617 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
818 teststring=1618 teststring=
819 # Add a significant safety factor because C++ compilers can tack on massive1619 # Add a significant safety factor because C++ compilers can tack on
820 # amounts of additional arguments before passing them to the linker.1620 # massive amounts of additional arguments before passing them to the
821 # It appears as though 1/2 is a usable value.1621 # linker. It appears as though 1/2 is a usable value.
822 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`1622 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
823 fi1623 fi
824 ;;1624 ;;
@@ -829,27 +1629,35 @@
829else1629else
830 AC_MSG_RESULT(none)1630 AC_MSG_RESULT(none)
831fi1631fi
832])# AC_LIBTOOL_SYS_MAX_CMD_LEN1632max_cmd_len=$lt_cv_sys_max_cmd_len
8331633_LT_DECL([], [max_cmd_len], [0],
8341634 [What is the maximum length of a command?])
835# _LT_AC_CHECK_DLFCN1635])# LT_CMD_MAX_LEN
836# ------------------1636
837AC_DEFUN([_LT_AC_CHECK_DLFCN],1637# Old name:
838[AC_CHECK_HEADERS(dlfcn.h)dnl1638AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
839])# _LT_AC_CHECK_DLFCN1639dnl aclocal-1.4 backwards compatibility:
8401640dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
8411641
842# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,1642
843# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)1643# _LT_HEADER_DLFCN
844# ---------------------------------------------------------------------1644# ----------------
845AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],1645m4_defun([_LT_HEADER_DLFCN],
846[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl1646[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
1647])# _LT_HEADER_DLFCN
1648
1649
1650# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
1651# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
1652# ----------------------------------------------------------------
1653m4_defun([_LT_TRY_DLOPEN_SELF],
1654[m4_require([_LT_HEADER_DLFCN])dnl
847if test "$cross_compiling" = yes; then :1655if test "$cross_compiling" = yes; then :
848 [$4]1656 [$4]
849else1657else
850 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=21658 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
851 lt_status=$lt_dlunknown1659 lt_status=$lt_dlunknown
852 cat > conftest.$ac_ext <<EOF1660 cat > conftest.$ac_ext <<_LT_EOF
853[#line __oline__ "configure"1661[#line __oline__ "configure"
854#include "confdefs.h"1662#include "confdefs.h"
8551663
@@ -891,10 +1699,6 @@
891# endif1699# endif
892#endif1700#endif
8931701
894#ifdef __cplusplus
895extern "C" void exit (int);
896#endif
897
898void fnord() { int i=42;}1702void fnord() { int i=42;}
899int main ()1703int main ()
900{1704{
@@ -910,9 +1714,9 @@
910 else1714 else
911 puts (dlerror ());1715 puts (dlerror ());
9121716
913 exit (status);1717 return status;
914}]1718}]
915EOF1719_LT_EOF
916 if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then1720 if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
917 (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null1721 (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
918 lt_status=$?1722 lt_status=$?
@@ -927,13 +1731,13 @@
927 fi1731 fi
928fi1732fi
929rm -fr conftest*1733rm -fr conftest*
930])# _LT_AC_TRY_DLOPEN_SELF1734])# _LT_TRY_DLOPEN_SELF
9311735
9321736
933# AC_LIBTOOL_DLOPEN_SELF1737# LT_SYS_DLOPEN_SELF
934# ----------------------1738# ------------------
935AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],1739AC_DEFUN([LT_SYS_DLOPEN_SELF],
936[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl1740[m4_require([_LT_HEADER_DLFCN])dnl
937if test "x$enable_dlopen" != xyes; then1741if test "x$enable_dlopen" != xyes; then
938 enable_dlopen=unknown1742 enable_dlopen=unknown
939 enable_dlopen_self=unknown1743 enable_dlopen_self=unknown
@@ -949,15 +1753,15 @@
949 lt_cv_dlopen_self=yes1753 lt_cv_dlopen_self=yes
950 ;;1754 ;;
9511755
952 mingw* | pw32*)1756 mingw* | pw32* | cegcc*)
953 lt_cv_dlopen="LoadLibrary"1757 lt_cv_dlopen="LoadLibrary"
954 lt_cv_dlopen_libs=1758 lt_cv_dlopen_libs=
955 ;;1759 ;;
9561760
957 cygwin*)1761 cygwin*)
958 lt_cv_dlopen="dlopen"1762 lt_cv_dlopen="dlopen"
959 lt_cv_dlopen_libs=1763 lt_cv_dlopen_libs=
960 ;;1764 ;;
9611765
962 darwin*)1766 darwin*)
963 # if libdl is installed we need to link against it1767 # if libdl is installed we need to link against it
@@ -967,13 +1771,13 @@
967 lt_cv_dlopen_libs=1771 lt_cv_dlopen_libs=
968 lt_cv_dlopen_self=yes1772 lt_cv_dlopen_self=yes
969 ])1773 ])
970 ;;1774 ;;
9711775
972 *)1776 *)
973 AC_CHECK_FUNC([shl_load],1777 AC_CHECK_FUNC([shl_load],
974 [lt_cv_dlopen="shl_load"],1778 [lt_cv_dlopen="shl_load"],
975 [AC_CHECK_LIB([dld], [shl_load],1779 [AC_CHECK_LIB([dld], [shl_load],
976 [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],1780 [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
977 [AC_CHECK_FUNC([dlopen],1781 [AC_CHECK_FUNC([dlopen],
978 [lt_cv_dlopen="dlopen"],1782 [lt_cv_dlopen="dlopen"],
979 [AC_CHECK_LIB([dl], [dlopen],1783 [AC_CHECK_LIB([dl], [dlopen],
@@ -981,7 +1785,7 @@
981 [AC_CHECK_LIB([svld], [dlopen],1785 [AC_CHECK_LIB([svld], [dlopen],
982 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],1786 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
983 [AC_CHECK_LIB([dld], [dld_link],1787 [AC_CHECK_LIB([dld], [dld_link],
984 [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])1788 [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
985 ])1789 ])
986 ])1790 ])
987 ])1791 ])
@@ -1009,7 +1813,7 @@
10091813
1010 AC_CACHE_CHECK([whether a program can dlopen itself],1814 AC_CACHE_CHECK([whether a program can dlopen itself],
1011 lt_cv_dlopen_self, [dnl1815 lt_cv_dlopen_self, [dnl
1012 _LT_AC_TRY_DLOPEN_SELF(1816 _LT_TRY_DLOPEN_SELF(
1013 lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,1817 lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
1014 lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)1818 lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
1015 ])1819 ])
@@ -1017,8 +1821,8 @@
1017 if test "x$lt_cv_dlopen_self" = xyes; then1821 if test "x$lt_cv_dlopen_self" = xyes; then
1018 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"1822 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1019 AC_CACHE_CHECK([whether a statically linked program can dlopen itself],1823 AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
1020 lt_cv_dlopen_self_static, [dnl1824 lt_cv_dlopen_self_static, [dnl
1021 _LT_AC_TRY_DLOPEN_SELF(1825 _LT_TRY_DLOPEN_SELF(
1022 lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,1826 lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
1023 lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)1827 lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
1024 ])1828 ])
@@ -1040,19 +1844,32 @@
1040 *) enable_dlopen_self_static=unknown ;;1844 *) enable_dlopen_self_static=unknown ;;
1041 esac1845 esac
1042fi1846fi
1043])# AC_LIBTOOL_DLOPEN_SELF1847_LT_DECL([dlopen_support], [enable_dlopen], [0],
10441848 [Whether dlopen is supported])
10451849_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
1046# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])1850 [Whether dlopen of programs is supported])
1047# ---------------------------------1851_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
1048# Check to see if options -c and -o are simultaneously supported by compiler1852 [Whether dlopen of statically linked programs is supported])
1049AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],1853])# LT_SYS_DLOPEN_SELF
1050[AC_REQUIRE([LT_AC_PROG_SED])dnl1854
1051AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl1855# Old name:
1856AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
1857dnl aclocal-1.4 backwards compatibility:
1858dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
1859
1860
1861# _LT_COMPILER_C_O([TAGNAME])
1862# ---------------------------
1863# Check to see if options -c and -o are simultaneously supported by compiler.
1864# This macro does not hard code the compiler like AC_PROG_CC_C_O.
1865m4_defun([_LT_COMPILER_C_O],
1866[m4_require([_LT_DECL_SED])dnl
1867m4_require([_LT_FILEUTILS_DEFAULTS])dnl
1868m4_require([_LT_TAG_COMPILER])dnl
1052AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],1869AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
1053 [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],1870 [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
1054 [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no1871 [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
1055 $rm -r conftest 2>/dev/null1872 $RM -r conftest 2>/dev/null
1056 mkdir conftest1873 mkdir conftest
1057 cd conftest1874 cd conftest
1058 mkdir out1875 mkdir out
@@ -1076,37 +1893,41 @@
1076 then1893 then
1077 # The compiler can only warn and ignore the option if not recognized1894 # The compiler can only warn and ignore the option if not recognized
1078 # So say no if there are warnings1895 # So say no if there are warnings
1079 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp1896 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
1080 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er21897 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
1081 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then1898 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
1082 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes1899 _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
1083 fi1900 fi
1084 fi1901 fi
1085 chmod u+w . 2>&AS_MESSAGE_LOG_FD1902 chmod u+w . 2>&AS_MESSAGE_LOG_FD
1086 $rm conftest*1903 $RM conftest*
1087 # SGI C++ compiler will create directory out/ii_files/ for1904 # SGI C++ compiler will create directory out/ii_files/ for
1088 # template instantiation1905 # template instantiation
1089 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files1906 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
1090 $rm out/* && rmdir out1907 $RM out/* && rmdir out
1091 cd ..1908 cd ..
1092 rmdir conftest1909 $RM -r conftest
1093 $rm conftest*1910 $RM conftest*
1094])1911])
1095])# AC_LIBTOOL_PROG_CC_C_O1912_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
10961913 [Does compiler simultaneously support -c and -o options?])
10971914])# _LT_COMPILER_C_O
1098# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])1915
1099# -----------------------------------------1916
1917# _LT_COMPILER_FILE_LOCKS([TAGNAME])
1918# ----------------------------------
1100# Check to see if we can do hard links to lock some files if needed1919# Check to see if we can do hard links to lock some files if needed
1101AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],1920m4_defun([_LT_COMPILER_FILE_LOCKS],
1102[AC_REQUIRE([_LT_AC_LOCK])dnl1921[m4_require([_LT_ENABLE_LOCK])dnl
1922m4_require([_LT_FILEUTILS_DEFAULTS])dnl
1923_LT_COMPILER_C_O([$1])
11031924
1104hard_links="nottested"1925hard_links="nottested"
1105if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then1926if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
1106 # do not overwrite the value of need_locks provided by the user1927 # do not overwrite the value of need_locks provided by the user
1107 AC_MSG_CHECKING([if we can lock with hard links])1928 AC_MSG_CHECKING([if we can lock with hard links])
1108 hard_links=yes1929 hard_links=yes
1109 $rm conftest*1930 $RM conftest*
1110 ln conftest.a conftest.b 2>/dev/null && hard_links=no1931 ln conftest.a conftest.b 2>/dev/null && hard_links=no
1111 touch conftest.a1932 touch conftest.a
1112 ln conftest.a conftest.b 2>&5 || hard_links=no1933 ln conftest.a conftest.b 2>&5 || hard_links=no
@@ -1119,12 +1940,13 @@
1119else1940else
1120 need_locks=no1941 need_locks=no
1121fi1942fi
1122])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS1943_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
11231944])# _LT_COMPILER_FILE_LOCKS
11241945
1125# AC_LIBTOOL_OBJDIR1946
1126# -----------------1947# _LT_CHECK_OBJDIR
1127AC_DEFUN([AC_LIBTOOL_OBJDIR],1948# ----------------
1949m4_defun([_LT_CHECK_OBJDIR],
1128[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],1950[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
1129[rm -f .libs 2>/dev/null1951[rm -f .libs 2>/dev/null
1130mkdir .libs 2>/dev/null1952mkdir .libs 2>/dev/null
@@ -1136,40 +1958,46 @@
1136fi1958fi
1137rmdir .libs 2>/dev/null])1959rmdir .libs 2>/dev/null])
1138objdir=$lt_cv_objdir1960objdir=$lt_cv_objdir
1139])# AC_LIBTOOL_OBJDIR1961_LT_DECL([], [objdir], [0],
11401962 [The name of the directory that contains temporary libtool files])dnl
11411963m4_pattern_allow([LT_OBJDIR])dnl
1142# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])1964AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
1143# ----------------------------------------------1965 [Define to the sub-directory in which libtool stores uninstalled libraries.])
1966])# _LT_CHECK_OBJDIR
1967
1968
1969# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
1970# --------------------------------------
1144# Check hardcoding attributes.1971# Check hardcoding attributes.
1145AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],1972m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
1146[AC_MSG_CHECKING([how to hardcode library paths into programs])1973[AC_MSG_CHECKING([how to hardcode library paths into programs])
1147_LT_AC_TAGVAR(hardcode_action, $1)=1974_LT_TAGVAR(hardcode_action, $1)=
1148if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \1975if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
1149 test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \1976 test -n "$_LT_TAGVAR(runpath_var, $1)" ||
1150 test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then1977 test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
11511978
1152 # We can hardcode non-existant directories.1979 # We can hardcode non-existent directories.
1153 if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&1980 if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
1154 # If the only mechanism to avoid hardcoding is shlibpath_var, we1981 # If the only mechanism to avoid hardcoding is shlibpath_var, we
1155 # have to relink, otherwise we might link with an installed library1982 # have to relink, otherwise we might link with an installed library
1156 # when we should be linking with a yet-to-be-installed one1983 # when we should be linking with a yet-to-be-installed one
1157 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&1984 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
1158 test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then1985 test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
1159 # Linking always hardcodes the temporary library directory.1986 # Linking always hardcodes the temporary library directory.
1160 _LT_AC_TAGVAR(hardcode_action, $1)=relink1987 _LT_TAGVAR(hardcode_action, $1)=relink
1161 else1988 else
1162 # We can link without hardcoding, and we can hardcode nonexisting dirs.1989 # We can link without hardcoding, and we can hardcode nonexisting dirs.
1163 _LT_AC_TAGVAR(hardcode_action, $1)=immediate1990 _LT_TAGVAR(hardcode_action, $1)=immediate
1164 fi1991 fi
1165else1992else
1166 # We cannot hardcode anything, or else we can only hardcode existing1993 # We cannot hardcode anything, or else we can only hardcode existing
1167 # directories.1994 # directories.
1168 _LT_AC_TAGVAR(hardcode_action, $1)=unsupported1995 _LT_TAGVAR(hardcode_action, $1)=unsupported
1169fi1996fi
1170AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])1997AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
11711998
1172if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then1999if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
2000 test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
1173 # Fast installation is not supported2001 # Fast installation is not supported
1174 enable_fast_install=no2002 enable_fast_install=no
1175elif test "$shlibpath_overrides_runpath" = yes ||2003elif test "$shlibpath_overrides_runpath" = yes ||
@@ -1177,73 +2005,70 @@
1177 # Fast installation is not necessary2005 # Fast installation is not necessary
1178 enable_fast_install=needless2006 enable_fast_install=needless
1179fi2007fi
1180])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH2008_LT_TAGDECL([], [hardcode_action], [0],
11812009 [How to hardcode a shared library path into an executable])
11822010])# _LT_LINKER_HARDCODE_LIBPATH
1183# AC_LIBTOOL_SYS_LIB_STRIP2011
1184# ------------------------2012
1185AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],2013# _LT_CMD_STRIPLIB
1186[striplib=2014# ----------------
2015m4_defun([_LT_CMD_STRIPLIB],
2016[m4_require([_LT_DECL_EGREP])
2017striplib=
1187old_striplib=2018old_striplib=
1188AC_MSG_CHECKING([whether stripping libraries is possible])2019AC_MSG_CHECKING([whether stripping libraries is possible])
1189if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then2020if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
1190 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"2021 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
1191 test -z "$striplib" && striplib="$STRIP --strip-unneeded"2022 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1192 AC_MSG_RESULT([yes])2023 AC_MSG_RESULT([yes])
1193else2024else
1194# FIXME - insert some real tests, host_os isn't really good enough2025# FIXME - insert some real tests, host_os isn't really good enough
1195 case $host_os in2026 case $host_os in
1196 darwin*)2027 darwin*)
1197 if test -n "$STRIP" ; then2028 if test -n "$STRIP" ; then
1198 striplib="$STRIP -x"2029 striplib="$STRIP -x"
1199 old_striplib="$STRIP -S"2030 old_striplib="$STRIP -S"
1200 AC_MSG_RESULT([yes])2031 AC_MSG_RESULT([yes])
1201 else2032 else
1202 AC_MSG_RESULT([no])2033 AC_MSG_RESULT([no])
1203fi2034 fi
1204 ;;2035 ;;
1205 *)2036 *)
1206 AC_MSG_RESULT([no])2037 AC_MSG_RESULT([no])
1207 ;;2038 ;;
1208 esac2039 esac
1209fi2040fi
1210])# AC_LIBTOOL_SYS_LIB_STRIP2041_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
12112042_LT_DECL([], [striplib], [1])
12122043])# _LT_CMD_STRIPLIB
1213# AC_LIBTOOL_SYS_DYNAMIC_LINKER2044
2045
2046# _LT_SYS_DYNAMIC_LINKER([TAG])
1214# -----------------------------2047# -----------------------------
1215# PORTME Fill in your ld.so characteristics2048# PORTME Fill in your ld.so characteristics
1216AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],2049m4_defun([_LT_SYS_DYNAMIC_LINKER],
1217[AC_REQUIRE([LT_AC_PROG_SED])dnl2050[AC_REQUIRE([AC_CANONICAL_HOST])dnl
2051m4_require([_LT_DECL_EGREP])dnl
2052m4_require([_LT_FILEUTILS_DEFAULTS])dnl
2053m4_require([_LT_DECL_OBJDUMP])dnl
2054m4_require([_LT_DECL_SED])dnl
1218AC_MSG_CHECKING([dynamic linker characteristics])2055AC_MSG_CHECKING([dynamic linker characteristics])
1219library_names_spec=2056m4_if([$1],
1220libname_spec='lib$name'2057 [], [
1221soname_spec=
1222shrext_cmds=".so"
1223postinstall_cmds=
1224postuninstall_cmds=
1225finish_cmds=
1226finish_eval=
1227shlibpath_var=
1228shlibpath_overrides_runpath=unknown
1229version_type=none
1230dynamic_linker="$host_os ld.so"
1231sys_lib_dlsearch_path_spec="/lib /usr/lib"
1232m4_if($1,[],[
1233if test "$GCC" = yes; then2058if test "$GCC" = yes; then
1234 case $host_os in2059 case $host_os in
1235 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;2060 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
1236 *) lt_awk_arg="/^libraries:/" ;;2061 *) lt_awk_arg="/^libraries:/" ;;
1237 esac2062 esac
1238 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`2063 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1239 if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then2064 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
1240 # if the path contains ";" then we assume it to be the separator2065 # if the path contains ";" then we assume it to be the separator
1241 # otherwise default to the standard path separator (i.e. ":") - it is2066 # otherwise default to the standard path separator (i.e. ":") - it is
1242 # assumed that no part of a normal pathname contains ";" but that should2067 # assumed that no part of a normal pathname contains ";" but that should
1243 # okay in the real world where ";" in dirpaths is itself problematic.2068 # okay in the real world where ";" in dirpaths is itself problematic.
1244 lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`2069 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
1245 else2070 else
1246 lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`2071 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1247 fi2072 fi
1248 # Ok, now we have the path, separated by spaces, we can step through it2073 # Ok, now we have the path, separated by spaces, we can step through it
1249 # and add multilib dir if necessary.2074 # and add multilib dir if necessary.
@@ -1257,7 +2082,7 @@
1257 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"2082 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
1258 fi2083 fi
1259 done2084 done
1260 lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '2085 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
1261BEGIN {RS=" "; FS="/|\n";} {2086BEGIN {RS=" "; FS="/|\n";} {
1262 lt_foo="";2087 lt_foo="";
1263 lt_count=0;2088 lt_count=0;
@@ -1277,10 +2102,23 @@
1277 if (lt_foo != "") { lt_freq[[lt_foo]]++; }2102 if (lt_foo != "") { lt_freq[[lt_foo]]++; }
1278 if (lt_freq[[lt_foo]] == 1) { print lt_foo; }2103 if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
1279}'`2104}'`
1280 sys_lib_search_path_spec=`echo $lt_search_path_spec`2105 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
1281else2106else
1282 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"2107 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
1283fi])2108fi])
2109library_names_spec=
2110libname_spec='lib$name'
2111soname_spec=
2112shrext_cmds=".so"
2113postinstall_cmds=
2114postuninstall_cmds=
2115finish_cmds=
2116finish_eval=
2117shlibpath_var=
2118shlibpath_overrides_runpath=unknown
2119version_type=none
2120dynamic_linker="$host_os ld.so"
2121sys_lib_dlsearch_path_spec="/lib /usr/lib"
1284need_lib_prefix=unknown2122need_lib_prefix=unknown
1285hardcode_into_libs=no2123hardcode_into_libs=no
12862124
@@ -1298,7 +2136,7 @@
1298 soname_spec='${libname}${release}${shared_ext}$major'2136 soname_spec='${libname}${release}${shared_ext}$major'
1299 ;;2137 ;;
13002138
1301aix4* | aix5*)2139aix[[4-9]]*)
1302 version_type=linux2140 version_type=linux
1303 need_lib_prefix=no2141 need_lib_prefix=no
1304 need_version=no2142 need_version=no
@@ -1317,7 +2155,7 @@
1317 aix4 | aix4.[[01]] | aix4.[[01]].*)2155 aix4 | aix4.[[01]] | aix4.[[01]].*)
1318 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'2156 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
1319 echo ' yes '2157 echo ' yes '
1320 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then2158 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
1321 :2159 :
1322 else2160 else
1323 can_build_shared=no2161 can_build_shared=no
@@ -1343,9 +2181,18 @@
1343 ;;2181 ;;
13442182
1345amigaos*)2183amigaos*)
1346 library_names_spec='$libname.ixlibrary $libname.a'2184 case $host_cpu in
1347 # Create ${libname}_ixlibrary.a entries in /sys/libs.2185 powerpc)
1348 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'2186 # Since July 2007 AmigaOS4 officially supports .so libraries.
2187 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
2188 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2189 ;;
2190 m68k)
2191 library_names_spec='$libname.ixlibrary $libname.a'
2192 # Create ${libname}_ixlibrary.a entries in /sys/libs.
2193 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'
2194 ;;
2195 esac
1349 ;;2196 ;;
13502197
1351beos*)2198beos*)
@@ -1368,25 +2215,28 @@
1368 # libtool to hard-code these into programs2215 # libtool to hard-code these into programs
1369 ;;2216 ;;
13702217
1371cygwin* | mingw* | pw32*)2218cygwin* | mingw* | pw32* | cegcc*)
1372 version_type=windows2219 version_type=windows
1373 shrext_cmds=".dll"2220 shrext_cmds=".dll"
1374 need_version=no2221 need_version=no
1375 need_lib_prefix=no2222 need_lib_prefix=no
13762223
1377 case $GCC,$host_os in2224 case $GCC,$host_os in
1378 yes,cygwin* | yes,mingw* | yes,pw32*)2225 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
1379 library_names_spec='$libname.dll.a'2226 library_names_spec='$libname.dll.a'
1380 # DLL is installed to $(libdir)/../bin by postinstall_cmds2227 # DLL is installed to $(libdir)/../bin by postinstall_cmds
1381 postinstall_cmds='base_file=`basename \${file}`~2228 postinstall_cmds='base_file=`basename \${file}`~
1382 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~2229 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
1383 dldir=$destdir/`dirname \$dlpath`~2230 dldir=$destdir/`dirname \$dlpath`~
1384 test -d \$dldir || mkdir -p \$dldir~2231 test -d \$dldir || mkdir -p \$dldir~
1385 $install_prog $dir/$dlname \$dldir/$dlname~2232 $install_prog $dir/$dlname \$dldir/$dlname~
1386 chmod a+x \$dldir/$dlname'2233 chmod a+x \$dldir/$dlname~
2234 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
2235 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
2236 fi'
1387 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~2237 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
1388 dlpath=$dir/\$dldll~2238 dlpath=$dir/\$dldll~
1389 $rm \$dlpath'2239 $RM \$dlpath'
1390 shlibpath_overrides_runpath=yes2240 shlibpath_overrides_runpath=yes
13912241
1392 case $host_os in2242 case $host_os in
@@ -1395,20 +2245,20 @@
1395 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'2245 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
1396 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"2246 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
1397 ;;2247 ;;
1398 mingw*)2248 mingw* | cegcc*)
1399 # MinGW DLLs use traditional 'lib' prefix2249 # MinGW DLLs use traditional 'lib' prefix
1400 soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'2250 soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
1401 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`2251 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1402 if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then2252 if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
1403 # It is most probably a Windows format PATH printed by2253 # It is most probably a Windows format PATH printed by
1404 # mingw gcc, but we are running on Cygwin. Gcc prints its search2254 # mingw gcc, but we are running on Cygwin. Gcc prints its search
1405 # path with ; separators, and with drive letters. We can handle the2255 # path with ; separators, and with drive letters. We can handle the
1406 # drive letters (cygwin fileutils understands them), so leave them,2256 # drive letters (cygwin fileutils understands them), so leave them,
1407 # especially as we might pass files found there to a mingw objdump,2257 # especially as we might pass files found there to a mingw objdump,
1408 # which wouldn't understand a cygwinified path. Ahh.2258 # which wouldn't understand a cygwinified path. Ahh.
1409 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`2259 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1410 else2260 else
1411 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`2261 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1412 fi2262 fi
1413 ;;2263 ;;
1414 pw32*)2264 pw32*)
@@ -1432,13 +2282,13 @@
1432 version_type=darwin2282 version_type=darwin
1433 need_lib_prefix=no2283 need_lib_prefix=no
1434 need_version=no2284 need_version=no
1435 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'2285 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
1436 soname_spec='${libname}${release}${major}$shared_ext'2286 soname_spec='${libname}${release}${major}$shared_ext'
1437 shlibpath_overrides_runpath=yes2287 shlibpath_overrides_runpath=yes
1438 shlibpath_var=DYLD_LIBRARY_PATH2288 shlibpath_var=DYLD_LIBRARY_PATH
1439 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'2289 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
1440 m4_if([$1], [],[2290m4_if([$1], [],[
1441 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) 2291 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
1442 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'2292 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
1443 ;;2293 ;;
14442294
@@ -1531,18 +2381,18 @@
1531 fi2381 fi
1532 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec2382 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1533 ;;2383 ;;
1534 hppa*64*)2384 hppa*64*)
1535 shrext_cmds='.sl'2385 shrext_cmds='.sl'
1536 hardcode_into_libs=yes2386 hardcode_into_libs=yes
1537 dynamic_linker="$host_os dld.sl"2387 dynamic_linker="$host_os dld.sl"
1538 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH2388 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
1539 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.2389 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'2390 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1541 soname_spec='${libname}${release}${shared_ext}$major'2391 soname_spec='${libname}${release}${shared_ext}$major'
1542 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"2392 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
1543 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec2393 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1544 ;;2394 ;;
1545 *)2395 *)
1546 shrext_cmds='.sl'2396 shrext_cmds='.sl'
1547 dynamic_linker="$host_os dld.sl"2397 dynamic_linker="$host_os dld.sl"
1548 shlibpath_var=SHLIB_PATH2398 shlibpath_var=SHLIB_PATH
@@ -1610,7 +2460,7 @@
1610 ;;2460 ;;
16112461
1612# This must be Linux ELF.2462# This must be Linux ELF.
1613linux* | k*bsd*-gnu)2463linux* | k*bsd*-gnu | kopensolaris*-gnu)
1614 version_type=linux2464 version_type=linux
1615 need_lib_prefix=no2465 need_lib_prefix=no
1616 need_version=no2466 need_version=no
@@ -1619,6 +2469,17 @@
1619 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'2469 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
1620 shlibpath_var=LD_LIBRARY_PATH2470 shlibpath_var=LD_LIBRARY_PATH
1621 shlibpath_overrides_runpath=no2471 shlibpath_overrides_runpath=no
2472 # Some binutils ld are patched to set DT_RUNPATH
2473 save_LDFLAGS=$LDFLAGS
2474 save_libdir=$libdir
2475 eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
2476 LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
2477 AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
2478 [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
2479 [shlibpath_overrides_runpath=yes])])
2480 LDFLAGS=$save_LDFLAGS
2481 libdir=$save_libdir
2482
1622 # This implies no fast_install, which is unacceptable.2483 # This implies no fast_install, which is unacceptable.
1623 # Some rework will be needed to allow for fast_install2484 # Some rework will be needed to allow for fast_install
1624 # before this can be enabled.2485 # before this can be enabled.
@@ -1626,7 +2487,7 @@
16262487
1627 # Append ld.so.conf contents to the search path2488 # Append ld.so.conf contents to the search path
1628 if test -f /etc/ld.so.conf; then2489 if test -f /etc/ld.so.conf; then
1629 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' ' '`2490 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' ' '`
1630 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"2491 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1631 fi2492 fi
16322493
@@ -1655,7 +2516,7 @@
1655 version_type=sunos2516 version_type=sunos
1656 need_lib_prefix=no2517 need_lib_prefix=no
1657 need_version=no2518 need_version=no
1658 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then2519 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
1659 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'2520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1660 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'2521 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1661 dynamic_linker='NetBSD (a.out) ld.so'2522 dynamic_linker='NetBSD (a.out) ld.so'
@@ -1676,14 +2537,16 @@
1676 shlibpath_overrides_runpath=yes2537 shlibpath_overrides_runpath=yes
1677 ;;2538 ;;
16782539
1679nto-qnx*)2540*nto* | *qnx*)
1680 version_type=linux2541 version_type=qnx
1681 need_lib_prefix=no2542 need_lib_prefix=no
1682 need_version=no2543 need_version=no
1683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'2544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1684 soname_spec='${libname}${release}${shared_ext}$major'2545 soname_spec='${libname}${release}${shared_ext}$major'
1685 shlibpath_var=LD_LIBRARY_PATH2546 shlibpath_var=LD_LIBRARY_PATH
1686 shlibpath_overrides_runpath=yes2547 shlibpath_overrides_runpath=no
2548 hardcode_into_libs=yes
2549 dynamic_linker='ldqnx.so'
1687 ;;2550 ;;
16882551
1689openbsd*)2552openbsd*)
@@ -1692,13 +2555,13 @@
1692 need_lib_prefix=no2555 need_lib_prefix=no
1693 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.2556 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
1694 case $host_os in2557 case $host_os in
1695 openbsd3.3 | openbsd3.3.*) need_version=yes ;;2558 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
1696 *) need_version=no ;;2559 *) need_version=no ;;
1697 esac2560 esac
1698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'2561 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1699 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'2562 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1700 shlibpath_var=LD_LIBRARY_PATH2563 shlibpath_var=LD_LIBRARY_PATH
1701 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then2564 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1702 case $host_os in2565 case $host_os in
1703 openbsd2.[[89]] | openbsd2.[[89]].*)2566 openbsd2.[[89]] | openbsd2.[[89]].*)
1704 shlibpath_overrides_runpath=no2567 shlibpath_overrides_runpath=no
@@ -1770,7 +2633,6 @@
1770 sni)2633 sni)
1771 shlibpath_overrides_runpath=no2634 shlibpath_overrides_runpath=no
1772 need_lib_prefix=no2635 need_lib_prefix=no
1773 export_dynamic_flag_spec='${wl}-Blargedynsym'
1774 runpath_var=LD_RUN_PATH2636 runpath_var=LD_RUN_PATH
1775 ;;2637 ;;
1776 siemens)2638 siemens)
@@ -1801,13 +2663,12 @@
1801 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'2663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1802 soname_spec='${libname}${release}${shared_ext}$major'2664 soname_spec='${libname}${release}${shared_ext}$major'
1803 shlibpath_var=LD_LIBRARY_PATH2665 shlibpath_var=LD_LIBRARY_PATH
2666 shlibpath_overrides_runpath=yes
1804 hardcode_into_libs=yes2667 hardcode_into_libs=yes
1805 if test "$with_gnu_ld" = yes; then2668 if test "$with_gnu_ld" = yes; then
1806 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'2669 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
1807 shlibpath_overrides_runpath=no
1808 else2670 else
1809 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'2671 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
1810 shlibpath_overrides_runpath=yes
1811 case $host_os in2672 case $host_os in
1812 sco3.2v5*)2673 sco3.2v5*)
1813 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"2674 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
@@ -1817,6 +2678,17 @@
1817 sys_lib_dlsearch_path_spec='/usr/lib'2678 sys_lib_dlsearch_path_spec='/usr/lib'
1818 ;;2679 ;;
18192680
2681tpf*)
2682 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
2683 version_type=linux
2684 need_lib_prefix=no
2685 need_version=no
2686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2687 shlibpath_var=LD_LIBRARY_PATH
2688 shlibpath_overrides_runpath=no
2689 hardcode_into_libs=yes
2690 ;;
2691
1820uts4*)2692uts4*)
1821 version_type=linux2693 version_type=linux
1822 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'2694 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -1835,277 +2707,54 @@
1835if test "$GCC" = yes; then2707if test "$GCC" = yes; then
1836 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"2708 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1837fi2709fi
1838])# AC_LIBTOOL_SYS_DYNAMIC_LINKER2710
18392711if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
18402712 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
1841# _LT_AC_TAGCONFIG2713fi
1842# ----------------2714if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
1843AC_DEFUN([_LT_AC_TAGCONFIG],2715 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
1844[AC_REQUIRE([LT_AC_PROG_SED])dnl2716fi
1845AC_ARG_WITH([tags],2717
1846 [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],2718_LT_DECL([], [variables_saved_for_relink], [1],
1847 [include additional configurations @<:@automatic@:>@])],2719 [Variables whose values should be saved in libtool wrapper scripts and
1848 [tagnames="$withval"])2720 restored at link time])
18492721_LT_DECL([], [need_lib_prefix], [0],
1850if test -f "$ltmain" && test -n "$tagnames"; then2722 [Do we need the "lib" prefix for modules?])
1851 if test ! -f "${ofile}"; then2723_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
1852 AC_MSG_WARN([output file `$ofile' does not exist])2724_LT_DECL([], [version_type], [0], [Library versioning type])
1853 fi2725_LT_DECL([], [runpath_var], [0], [Shared library runtime path variable])
18542726_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
1855 if test -z "$LTCC"; then2727_LT_DECL([], [shlibpath_overrides_runpath], [0],
1856 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"2728 [Is shlibpath searched before the hard-coded library search path?])
1857 if test -z "$LTCC"; then2729_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
1858 AC_MSG_WARN([output file `$ofile' does not look like a libtool script])2730_LT_DECL([], [library_names_spec], [1],
1859 else2731 [[List of archive names. First name is the real one, the rest are links.
1860 AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])2732 The last name is the one that the linker finds with -lNAME]])
1861 fi2733_LT_DECL([], [soname_spec], [1],
1862 fi2734 [[The coded name of the library, if different from the real name]])
1863 if test -z "$LTCFLAGS"; then2735_LT_DECL([], [postinstall_cmds], [2],
1864 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"2736 [Command to use after installation of a shared archive])
1865 fi2737_LT_DECL([], [postuninstall_cmds], [2],
18662738 [Command to use after uninstallation of a shared archive])
1867 # Extract list of available tagged configurations in $ofile.2739_LT_DECL([], [finish_cmds], [2],
1868 # Note that this assumes the entire list is on one line.2740 [Commands used to finish a libtool library installation in a directory])
1869 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`2741_LT_DECL([], [finish_eval], [1],
18702742 [[As "finish_cmds", except a single script fragment to be evaled but
1871 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"2743 not shown]])
1872 for tagname in $tagnames; do2744_LT_DECL([], [hardcode_into_libs], [0],
1873 IFS="$lt_save_ifs"2745 [Whether we should hardcode library paths into libraries])
1874 # Check whether tagname contains only valid characters2746_LT_DECL([], [sys_lib_search_path_spec], [2],
1875 case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in2747 [Compile-time system search path for libraries])
1876 "") ;;2748_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
1877 *) AC_MSG_ERROR([invalid tag name: $tagname])2749 [Run-time system search path for libraries])
1878 ;;2750])# _LT_SYS_DYNAMIC_LINKER
1879 esac2751
18802752
1881 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null2753# _LT_PATH_TOOL_PREFIX(TOOL)
1882 then
1883 AC_MSG_ERROR([tag name \"$tagname\" already exists])
1884 fi
1885
1886 # Update the list of available tags.
1887 if test -n "$tagname"; then
1888 echo appending configuration tag \"$tagname\" to $ofile
1889
1890 case $tagname in
1891 CXX)
1892 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
1893 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
1894 (test "X$CXX" != "Xg++"))) ; then
1895 AC_LIBTOOL_LANG_CXX_CONFIG
1896 else
1897 tagname=""
1898 fi
1899 ;;
1900
1901 F77)
1902 if test -n "$F77" && test "X$F77" != "Xno"; then
1903 AC_LIBTOOL_LANG_F77_CONFIG
1904 else
1905 tagname=""
1906 fi
1907 ;;
1908
1909 GCJ)
1910 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
1911 AC_LIBTOOL_LANG_GCJ_CONFIG
1912 else
1913 tagname=""
1914 fi
1915 ;;
1916
1917 RC)
1918 AC_LIBTOOL_LANG_RC_CONFIG
1919 ;;
1920
1921 *)
1922 AC_MSG_ERROR([Unsupported tag name: $tagname])
1923 ;;
1924 esac
1925
1926 # Append the new tag name to the list of available tags.
1927 if test -n "$tagname" ; then
1928 available_tags="$available_tags $tagname"
1929 fi
1930 fi
1931 done
1932 IFS="$lt_save_ifs"
1933
1934 # Now substitute the updated list of available tags.
1935 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
1936 mv "${ofile}T" "$ofile"
1937 chmod +x "$ofile"
1938 else
1939 rm -f "${ofile}T"
1940 AC_MSG_ERROR([unable to update list of available tagged configurations.])
1941 fi
1942fi
1943])# _LT_AC_TAGCONFIG
1944
1945
1946# AC_LIBTOOL_DLOPEN
1947# -----------------
1948# enable checks for dlopen support
1949AC_DEFUN([AC_LIBTOOL_DLOPEN],
1950 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
1951])# AC_LIBTOOL_DLOPEN
1952
1953
1954# AC_LIBTOOL_WIN32_DLL
1955# --------------------
1956# declare package support for building win32 DLLs
1957AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
1958[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
1959])# AC_LIBTOOL_WIN32_DLL
1960
1961
1962# AC_ENABLE_SHARED([DEFAULT])
1963# ---------------------------
1964# implement the --enable-shared flag
1965# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
1966AC_DEFUN([AC_ENABLE_SHARED],
1967[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
1968AC_ARG_ENABLE([shared],
1969 [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
1970 [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
1971 [p=${PACKAGE-default}
1972 case $enableval in
1973 yes) enable_shared=yes ;;
1974 no) enable_shared=no ;;
1975 *)
1976 enable_shared=no
1977 # Look at the argument we got. We use all the common list separators.
1978 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
1979 for pkg in $enableval; do
1980 IFS="$lt_save_ifs"
1981 if test "X$pkg" = "X$p"; then
1982 enable_shared=yes
1983 fi
1984 done
1985 IFS="$lt_save_ifs"
1986 ;;
1987 esac],
1988 [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
1989])# AC_ENABLE_SHARED
1990
1991
1992# AC_DISABLE_SHARED
1993# -----------------
1994# set the default shared flag to --disable-shared
1995AC_DEFUN([AC_DISABLE_SHARED],
1996[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
1997AC_ENABLE_SHARED(no)
1998])# AC_DISABLE_SHARED
1999
2000
2001# AC_ENABLE_STATIC([DEFAULT])
2002# ---------------------------
2003# implement the --enable-static flag
2004# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
2005AC_DEFUN([AC_ENABLE_STATIC],
2006[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
2007AC_ARG_ENABLE([static],
2008 [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
2009 [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
2010 [p=${PACKAGE-default}
2011 case $enableval in
2012 yes) enable_static=yes ;;
2013 no) enable_static=no ;;
2014 *)
2015 enable_static=no
2016 # Look at the argument we got. We use all the common list separators.
2017 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2018 for pkg in $enableval; do
2019 IFS="$lt_save_ifs"
2020 if test "X$pkg" = "X$p"; then
2021 enable_static=yes
2022 fi
2023 done
2024 IFS="$lt_save_ifs"
2025 ;;
2026 esac],
2027 [enable_static=]AC_ENABLE_STATIC_DEFAULT)
2028])# AC_ENABLE_STATIC
2029
2030
2031# AC_DISABLE_STATIC
2032# -----------------
2033# set the default static flag to --disable-static
2034AC_DEFUN([AC_DISABLE_STATIC],
2035[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2036AC_ENABLE_STATIC(no)
2037])# AC_DISABLE_STATIC
2038
2039
2040# AC_ENABLE_FAST_INSTALL([DEFAULT])
2041# ---------------------------------
2042# implement the --enable-fast-install flag
2043# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
2044AC_DEFUN([AC_ENABLE_FAST_INSTALL],
2045[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
2046AC_ARG_ENABLE([fast-install],
2047 [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
2048 [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
2049 [p=${PACKAGE-default}
2050 case $enableval in
2051 yes) enable_fast_install=yes ;;
2052 no) enable_fast_install=no ;;
2053 *)
2054 enable_fast_install=no
2055 # Look at the argument we got. We use all the common list separators.
2056 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2057 for pkg in $enableval; do
2058 IFS="$lt_save_ifs"
2059 if test "X$pkg" = "X$p"; then
2060 enable_fast_install=yes
2061 fi
2062 done
2063 IFS="$lt_save_ifs"
2064 ;;
2065 esac],
2066 [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
2067])# AC_ENABLE_FAST_INSTALL
2068
2069
2070# AC_DISABLE_FAST_INSTALL
2071# -----------------------
2072# set the default to --disable-fast-install
2073AC_DEFUN([AC_DISABLE_FAST_INSTALL],
2074[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2075AC_ENABLE_FAST_INSTALL(no)
2076])# AC_DISABLE_FAST_INSTALL
2077
2078
2079# AC_LIBTOOL_PICMODE([MODE])
2080# --------------------------2754# --------------------------
2081# implement the --with-pic flag
2082# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
2083AC_DEFUN([AC_LIBTOOL_PICMODE],
2084[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2085pic_mode=ifelse($#,1,$1,default)
2086])# AC_LIBTOOL_PICMODE
2087
2088
2089# AC_PROG_EGREP
2090# -------------
2091# This is predefined starting with Autoconf 2.54, so this conditional
2092# definition can be removed once we require Autoconf 2.54 or later.
2093m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
2094[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
2095 [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2096 then ac_cv_prog_egrep='grep -E'
2097 else ac_cv_prog_egrep='egrep'
2098 fi])
2099 EGREP=$ac_cv_prog_egrep
2100 AC_SUBST([EGREP])
2101])])
2102
2103
2104# AC_PATH_TOOL_PREFIX
2105# -------------------
2106# find a file program which can recognize shared library2755# find a file program which can recognize shared library
2107AC_DEFUN([AC_PATH_TOOL_PREFIX],2756AC_DEFUN([_LT_PATH_TOOL_PREFIX],
2108[AC_REQUIRE([AC_PROG_EGREP])dnl2757[m4_require([_LT_DECL_EGREP])dnl
2109AC_MSG_CHECKING([for $1])2758AC_MSG_CHECKING([for $1])
2110AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,2759AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
2111[case $MAGIC_CMD in2760[case $MAGIC_CMD in
@@ -2118,7 +2767,7 @@
2118dnl $ac_dummy forces splitting on constant user-supplied paths.2767dnl $ac_dummy forces splitting on constant user-supplied paths.
2119dnl POSIX.2 word splitting is done only on the output of word expansions,2768dnl POSIX.2 word splitting is done only on the output of word expansions,
2120dnl not every word. This closes a longstanding sh security hole.2769dnl not every word. This closes a longstanding sh security hole.
2121 ac_dummy="ifelse([$2], , $PATH, [$2])"2770 ac_dummy="m4_if([$2], , $PATH, [$2])"
2122 for ac_dir in $ac_dummy; do2771 for ac_dir in $ac_dummy; do
2123 IFS="$lt_save_ifs"2772 IFS="$lt_save_ifs"
2124 test -z "$ac_dir" && ac_dir=.2773 test -z "$ac_dir" && ac_dir=.
@@ -2133,7 +2782,7 @@
2133 $EGREP "$file_magic_regex" > /dev/null; then2782 $EGREP "$file_magic_regex" > /dev/null; then
2134 :2783 :
2135 else2784 else
2136 cat <<EOF 1>&22785 cat <<_LT_EOF 1>&2
21372786
2138*** Warning: the command libtool uses to detect shared libraries,2787*** Warning: the command libtool uses to detect shared libraries,
2139*** $file_magic_cmd, produces output that libtool cannot recognize.2788*** $file_magic_cmd, produces output that libtool cannot recognize.
@@ -2144,7 +2793,7 @@
2144*** may want to report the problem to your system manager and/or to2793*** may want to report the problem to your system manager and/or to
2145*** bug-libtool@gnu.org2794*** bug-libtool@gnu.org
21462795
2147EOF2796_LT_EOF
2148 fi ;;2797 fi ;;
2149 esac2798 esac
2150 fi2799 fi
@@ -2161,37 +2810,47 @@
2161else2810else
2162 AC_MSG_RESULT(no)2811 AC_MSG_RESULT(no)
2163fi2812fi
2164])# AC_PATH_TOOL_PREFIX2813_LT_DECL([], [MAGIC_CMD], [0],
21652814 [Used to examine libraries when file_magic_cmd begins with "file"])dnl
21662815])# _LT_PATH_TOOL_PREFIX
2167# AC_PATH_MAGIC2816
2168# -------------2817# Old name:
2818AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
2819dnl aclocal-1.4 backwards compatibility:
2820dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
2821
2822
2823# _LT_PATH_MAGIC
2824# --------------
2169# find a file program which can recognize a shared library2825# find a file program which can recognize a shared library
2170AC_DEFUN([AC_PATH_MAGIC],2826m4_defun([_LT_PATH_MAGIC],
2171[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)2827[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
2172if test -z "$lt_cv_path_MAGIC_CMD"; then2828if test -z "$lt_cv_path_MAGIC_CMD"; then
2173 if test -n "$ac_tool_prefix"; then2829 if test -n "$ac_tool_prefix"; then
2174 AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)2830 _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
2175 else2831 else
2176 MAGIC_CMD=:2832 MAGIC_CMD=:
2177 fi2833 fi
2178fi2834fi
2179])# AC_PATH_MAGIC2835])# _LT_PATH_MAGIC
21802836
21812837
2182# AC_PROG_LD2838# LT_PATH_LD
2183# ----------2839# ----------
2184# find the pathname to the GNU or non-GNU linker2840# find the pathname to the GNU or non-GNU linker
2185AC_DEFUN([AC_PROG_LD],2841AC_DEFUN([LT_PATH_LD],
2186[AC_ARG_WITH([gnu-ld],2842[AC_REQUIRE([AC_PROG_CC])dnl
2187 [AC_HELP_STRING([--with-gnu-ld],2843AC_REQUIRE([AC_CANONICAL_HOST])dnl
2844AC_REQUIRE([AC_CANONICAL_BUILD])dnl
2845m4_require([_LT_DECL_SED])dnl
2846m4_require([_LT_DECL_EGREP])dnl
2847
2848AC_ARG_WITH([gnu-ld],
2849 [AS_HELP_STRING([--with-gnu-ld],
2188 [assume the C compiler uses GNU ld @<:@default=no@:>@])],2850 [assume the C compiler uses GNU ld @<:@default=no@:>@])],
2189 [test "$withval" = no || with_gnu_ld=yes],2851 [test "$withval" = no || with_gnu_ld=yes],
2190 [with_gnu_ld=no])2852 [with_gnu_ld=no])dnl
2191AC_REQUIRE([LT_AC_PROG_SED])dnl2853
2192AC_REQUIRE([AC_PROG_CC])dnl
2193AC_REQUIRE([AC_CANONICAL_HOST])dnl
2194AC_REQUIRE([AC_CANONICAL_BUILD])dnl
2195ac_prog=ld2854ac_prog=ld
2196if test "$GCC" = yes; then2855if test "$GCC" = yes; then
2197 # Check if gcc -print-prog-name=ld gives a path.2856 # Check if gcc -print-prog-name=ld gives a path.
@@ -2208,9 +2867,9 @@
2208 [[\\/]]* | ?:[[\\/]]*)2867 [[\\/]]* | ?:[[\\/]]*)
2209 re_direlt='/[[^/]][[^/]]*/\.\./'2868 re_direlt='/[[^/]][[^/]]*/\.\./'
2210 # Canonicalize the pathname of ld2869 # Canonicalize the pathname of ld
2211 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`2870 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
2212 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do2871 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
2213 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`2872 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
2214 done2873 done
2215 test -z "$LD" && LD="$ac_prog"2874 test -z "$LD" && LD="$ac_prog"
2216 ;;2875 ;;
@@ -2260,15 +2919,24 @@
2260 AC_MSG_RESULT(no)2919 AC_MSG_RESULT(no)
2261fi2920fi
2262test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])2921test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
2263AC_PROG_LD_GNU2922_LT_PATH_LD_GNU
2264])# AC_PROG_LD2923AC_SUBST([LD])
22652924
22662925_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
2267# AC_PROG_LD_GNU2926])# LT_PATH_LD
2268# --------------2927
2269AC_DEFUN([AC_PROG_LD_GNU],2928# Old names:
2270[AC_REQUIRE([AC_PROG_EGREP])dnl2929AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
2271AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,2930AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
2931dnl aclocal-1.4 backwards compatibility:
2932dnl AC_DEFUN([AM_PROG_LD], [])
2933dnl AC_DEFUN([AC_PROG_LD], [])
2934
2935
2936# _LT_PATH_LD_GNU
2937#- --------------
2938m4_defun([_LT_PATH_LD_GNU],
2939[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
2272[# I'd rather use --version here, but apparently some GNU lds only accept -v.2940[# I'd rather use --version here, but apparently some GNU lds only accept -v.
2273case `$LD -v 2>&1 </dev/null` in2941case `$LD -v 2>&1 </dev/null` in
2274*GNU* | *'with BFD'*)2942*GNU* | *'with BFD'*)
@@ -2279,14 +2947,14 @@
2279 ;;2947 ;;
2280esac])2948esac])
2281with_gnu_ld=$lt_cv_prog_gnu_ld2949with_gnu_ld=$lt_cv_prog_gnu_ld
2282])# AC_PROG_LD_GNU2950])# _LT_PATH_LD_GNU
22832951
22842952
2285# AC_PROG_LD_RELOAD_FLAG2953# _LT_CMD_RELOAD
2286# ----------------------2954# --------------
2287# find reload flag for linker2955# find reload flag for linker
2288# -- PORTME Some linkers may need a different reload flag.2956# -- PORTME Some linkers may need a different reload flag.
2289AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],2957m4_defun([_LT_CMD_RELOAD],
2290[AC_CACHE_CHECK([for $LD option to reload object files],2958[AC_CACHE_CHECK([for $LD option to reload object files],
2291 lt_cv_ld_reload_flag,2959 lt_cv_ld_reload_flag,
2292 [lt_cv_ld_reload_flag='-r'])2960 [lt_cv_ld_reload_flag='-r'])
@@ -2305,15 +2973,19 @@
2305 fi2973 fi
2306 ;;2974 ;;
2307esac2975esac
2308])# AC_PROG_LD_RELOAD_FLAG2976_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
23092977_LT_DECL([], [reload_cmds], [2])dnl
23102978])# _LT_CMD_RELOAD
2311# AC_DEPLIBS_CHECK_METHOD2979
2312# -----------------------2980
2981# _LT_CHECK_MAGIC_METHOD
2982# ----------------------
2313# how to check for library dependencies2983# how to check for library dependencies
2314# -- PORTME fill in with the dynamic library characteristics2984# -- PORTME fill in with the dynamic library characteristics
2315AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],2985m4_defun([_LT_CHECK_MAGIC_METHOD],
2316[AC_CACHE_CHECK([how to recognize dependent libraries],2986[m4_require([_LT_DECL_EGREP])
2987m4_require([_LT_DECL_OBJDUMP])
2988AC_CACHE_CHECK([how to recognize dependent libraries],
2317lt_cv_deplibs_check_method,2989lt_cv_deplibs_check_method,
2318[lt_cv_file_magic_cmd='$MAGIC_CMD'2990[lt_cv_file_magic_cmd='$MAGIC_CMD'
2319lt_cv_file_magic_test_file=2991lt_cv_file_magic_test_file=
@@ -2330,7 +3002,7 @@
2330# whether `pass_all' will *always* work, you probably want this one.3002# whether `pass_all' will *always* work, you probably want this one.
23313003
2332case $host_os in3004case $host_os in
2333aix4* | aix5*)3005aix[[4-9]]*)
2334 lt_cv_deplibs_check_method=pass_all3006 lt_cv_deplibs_check_method=pass_all
2335 ;;3007 ;;
23363008
@@ -2363,12 +3035,18 @@
2363 fi3035 fi
2364 ;;3036 ;;
23653037
3038cegcc)
3039 # use the weaker test based on 'objdump'. See mingw*.
3040 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
3041 lt_cv_file_magic_cmd='$OBJDUMP -f'
3042 ;;
3043
2366darwin* | rhapsody*)3044darwin* | rhapsody*)
2367 lt_cv_deplibs_check_method=pass_all3045 lt_cv_deplibs_check_method=pass_all
2368 ;;3046 ;;
23693047
2370freebsd* | dragonfly*)3048freebsd* | dragonfly*)
2371 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then3049 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
2372 case $host_cpu in3050 case $host_cpu in
2373 i*86 )3051 i*86 )
2374 # Not sure whether the presence of OpenBSD here was a mistake.3052 # Not sure whether the presence of OpenBSD here was a mistake.
@@ -2421,12 +3099,12 @@
2421 ;;3099 ;;
24223100
2423# This must be Linux ELF.3101# This must be Linux ELF.
2424linux* | k*bsd*-gnu)3102linux* | k*bsd*-gnu | kopensolaris*-gnu)
2425 lt_cv_deplibs_check_method=pass_all3103 lt_cv_deplibs_check_method=pass_all
2426 ;;3104 ;;
24273105
2428netbsd* | netbsdelf*-gnu)3106netbsd* | netbsdelf*-gnu)
2429 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then3107 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
2430 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'3108 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
2431 else3109 else
2432 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'3110 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
@@ -2439,12 +3117,12 @@
2439 lt_cv_file_magic_test_file=/usr/lib/libnls.so3117 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2440 ;;3118 ;;
24413119
2442nto-qnx*)3120*nto* | *qnx*)
2443 lt_cv_deplibs_check_method=unknown3121 lt_cv_deplibs_check_method=pass_all
2444 ;;3122 ;;
24453123
2446openbsd*)3124openbsd*)
2447 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then3125 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
2448 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'3126 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
2449 else3127 else
2450 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'3128 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
@@ -2463,6 +3141,10 @@
2463 lt_cv_deplibs_check_method=pass_all3141 lt_cv_deplibs_check_method=pass_all
2464 ;;3142 ;;
24653143
3144sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
3145 lt_cv_deplibs_check_method=pass_all
3146 ;;
3147
2466sysv4 | sysv4.3*)3148sysv4 | sysv4.3*)
2467 case $host_vendor in3149 case $host_vendor in
2468 motorola)3150 motorola)
@@ -2490,7 +3172,7 @@
2490 esac3172 esac
2491 ;;3173 ;;
24923174
2493sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)3175tpf*)
2494 lt_cv_deplibs_check_method=pass_all3176 lt_cv_deplibs_check_method=pass_all
2495 ;;3177 ;;
2496esac3178esac
@@ -2498,14 +3180,20 @@
2498file_magic_cmd=$lt_cv_file_magic_cmd3180file_magic_cmd=$lt_cv_file_magic_cmd
2499deplibs_check_method=$lt_cv_deplibs_check_method3181deplibs_check_method=$lt_cv_deplibs_check_method
2500test -z "$deplibs_check_method" && deplibs_check_method=unknown3182test -z "$deplibs_check_method" && deplibs_check_method=unknown
2501])# AC_DEPLIBS_CHECK_METHOD3183
25023184_LT_DECL([], [deplibs_check_method], [1],
25033185 [Method to check whether dependent libraries are shared objects])
2504# AC_PROG_NM3186_LT_DECL([], [file_magic_cmd], [1],
3187 [Command to use when deplibs_check_method == "file_magic"])
3188])# _LT_CHECK_MAGIC_METHOD
3189
3190
3191# LT_PATH_NM
2505# ----------3192# ----------
2506# find the pathname to a BSD-compatible name lister3193# find the pathname to a BSD- or MS-compatible name lister
2507AC_DEFUN([AC_PROG_NM],3194AC_DEFUN([LT_PATH_NM],
2508[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,3195[AC_REQUIRE([AC_PROG_CC])dnl
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches