TERMSANDCONDITIONSFORCOPYING,DISTRIBUTIONANDMODIFICATION0.ThisLicenseAgreementappliestoanysoftwarelibraryorotherprogramwhichcontainsanoticeplacedbythecopyrightholderorotherauthorizedpartysayingitmaybedistributedunderthetermsofthisLesserGeneralPubJicLicense(alsocalled"thisLicense").Eachlicenseeisaddressedas"you".A"library"meansacollectionofsoftwarefunctionsand/ordatapreparedsoastobeconvenientlylinkedwithapplicationprograms(whichusesomeofthosefunctionsanddata)toformexecutables.The"Library",below,referstoanysuchsoftwarelibraryorworkwhichhasbeendistributedundertheseterms.A"workbasedontheLibrary"meanseithertheLibraryoranyderivativeworkundercopyrightlaw:thatistosay,aworkcontainingtheLibraryoraportionofit,eitherverbatimorwithmodificationsand/ortranslatedstraightforwardlyintoanotherlanguage.(Hereinafter,translationisincludedwithoutlimitationintheterm"modification".)"Sourcecode"foraworkmeansthepreferredformoftheworkformakingmodificationstoit.Foralibrary,completesourcecodemeansallthesourcecodeforallmodulesitcontains,plusanyassociatedinterfacedefinitionfiles,plusthescriptsusedtocontrolcompilationandinstallationofthelibrary.Activitiesotherthancopying,distributionandmodificationarenotcoveredbythisLicense;theyareoutsideitsscope.TheactofrunningaprogramusingtheLibraryisnotrestricted,andoutputfromsuchaprogramiscoveredonlyifitscontentsconstituteaworkbasedontheLibrary(independentoftheuseoftheLibraryinatoolforwritingit).WhetherthatistruedependsonwhattheLibrarydoesandwhattheprogramthatusestheLibrarydoes.1.YoumaycopyanddistributeverbatimcopiesoftheLibrary'scompletesourcecodeasyoureceiveit,inanymedium,providedthatyouconspicuouslyandappropriatelypublishoneachcopyanappropriatecopyrightnoticeanddisclaimerofwarranty;keepintactallthenoticesthatrefertothisLicenseandtotheabsenceofanywarranty;anddistributeacopyofthisLicensealongwiththeLibrary.Youmaychargeafeeforthephysicalactoftransferringacopy,andyoumayatyouroptionofferwarrantyprotectioninexchangeforafee.2.YoumaymodifyyourcopyorcopiesoftheLibraryoranyportionofit,thusformingaworkbasedontheLibrary,andcopyanddistributesuchmodificationsorworkunderthetermsofSection1above,providedthatyoualsomeetalloftheseconditions:a)Themodifiedworkmustitselfbeasoftwarelibrary.b)Youmustcausethefilesmodifiedtocarryprominentnoticesstatingthatyouchangedthefilesandthedateofanychange.c)YoumustcausethewholeoftheworktobelicensedatnochargetoallthirdpartiesunderthetermsofthisLicense.d)IfafacilityinthemodifiedLibraryreferstoafunctionoratableofdatatobesuppliedbyanapplicationprogramthatusesthefacility,otherthanasanargumentpassedwhenthefacilityisinvoked,thenyoumustmakeagoodfaithefforttoensurethat,intheeventanapplicationdoesnotsupplysuchfunctionortable,thefacilitystilloperates,andperformswhateverpartofitspurposeremainsmeaningful.(Forexample,afunctioninalibrarytocomputesquarerootshasapurposethatisentirelywell-definedindependentoftheapplication.Therefore,Subsection2drequiresthatanyapplication-suppliedfunctionortableusedbythisfunctionmustbeoptional:iftheapplicationdoesnotsupplyit,thesquarerootfunctionmuststillcomputesquareroots.)Theserequirementsapplytothemodifiedworkasawhole.IfidentifiablesectionsofthatworkarenotderivedfromtheLibrary,andcanbereasonablyconsideredindependentandseparateworksinthemselves,thenthisLicense,anditsterms,donotapplytothosesectionswhenyoudistributethemasseparateworks.ButwhenyoudistributethesamesectionsaspartofawholewhichisaworkbasedontheLibrary,thedistributionofthewholemustbeonthetermsofthisLicense,whosepermissionsforotherlicenseesextendtotheentirewhole,andthustoeachandeverypartregardlessofwhowroteit.Thus,itisnottheintentofthissectiontoclaimrightsorcontestyourrightstoworkwrittenentirelybyyou;rather,theintentistoexercisetherighttocontrolthedistributionofderivativeorcollectiveworksbasedontheLibrary.Inaddition,mereaggregationofanotherworknotbasedontheLibrarywiththeLibrary(orwithaworkbasedontheLibrary)onavolumeofastorageordistributionmediumdoesnotbringtheotherworkunderthescopeofthisLicense.3.YoumayopttoapplythetermsoftheordinaryGNUGeneralPublicLicenseinsteadofthisLicensetoagivencopyoftheLibrary.Todothis,youmustalterallthenoticesthatrefertothisLicense,sothattheyrefertotheordinaryGNUGeneralPublicLicense,version2,insteadoftothisLicense.(Ifanewerversionthanversion2oftheordinaryGNUGeneralPublicLicensehasappeared,thenyoucanspecifythatversioninsteadifyouwish.)Donotmakeanyotherchangeinthesenotices.Oncethischangeismadeinagivencopy,itisirreversibleforthatcopy,sotheordinaryGNUGeneralPublicLicenseappliestoallsubsequentcopiesandderivativeworksmadefromthatcopy.ThisoptionisusefulwhenyouwishtocopypartofthecodeoftheLibraryintoaprogramthatisnotalibrary.4.YoumaycopyanddistributetheLibrary(oraportionorderivativeofit,underSection2)inobjectcodeorexecutableformunderthetermsofSections1and2aboveprovidedthatyouaccompanyitwiththecompletecorrespondingmachine-readablesourcecode,whichmustbedistributedunderthetermsofSections1and2aboveonamediumcustomarilyusedforsoftwareinterchange.Ifdistributionofobjectcodeismadebyofferingaccesstocopyfromadesignatedplace,thenofferingequivalentaccesstocopythesourcecodefromthesameplacesatisfiestherequirementtodistributethesourcecode,eventhoughthirdpartiesarenotcompelledtocopythesourcealongwiththeobjectcode.