iiiNote that it is possible for a library to be covered by the ordinary General PublicLicense rather than by this special one.GNU LIBRARY GENERAL PUBLIC LICENSETERMS AND CONDITIONS FOR COPYING, DISTRIBUTION ANDMODIFICATION0. This License Agreement applies to any software library which contains a noticeplaced by the copyright holder or other authorized party saying it may bedistributed under the terms of this Library General Public License (also called “thisLicense”). Each licensee is addressed as “you”.A “library” means a collection of software functions and/or data prepared so as tobe conveniently linked with application programs (which use some of thosefunctions and data) to form executables.The “Library”, below, refers to any such software library or work which has beendistributed under these terms. A “work based on the Library” means either theLibrary or any derivative work under copyright law: that is to say, a workcontaining the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation isincluded without limitation in the term “modification”.)“Source code” for a work means the preferred form of the work for makingmodifications to it. For a library, complete source code means all the source codefor all modules it contains, plus any associated interface definition files, plus thescripts used to control compilation and installation of the library.Activities other than copying, distribution and modification are not covered by thisLicense; they are outside its scope. The act of running a program using the Libraryis not restricted, and output from such a program is covered only if its contentsconstitute a work based on the Library (independent of the use of the Library in atool for writing it). Whether that is true depends on what the Library does and whatthe program that uses the Library does.1. You may copy and distribute verbatim copies of the Library’s complete sourcecode as you receive it, in any medium, provided that you conspicuously andappropriately publish on each copy an appropriate copyright notice and disclaimerof warranty; keep intact all the notices that refer to this License and to the absenceof any warranty; and distribute a copy of this License along with the Library.You may charge a fee for the physical act of transferring a copy, and you may atyour option offer warranty protection in exchange for a fee.2. You may modify your copy or copies of the Library or any portion of it, thusforming a work based on the Library, and copy and distribute such modifications orwork under the terms of Section 1 above, provided that you also meet all of theseconditions:a) The modified work must itself be a software library.b) You must cause the files modified to carry prominent notices stating that youchanged the files and the date of any change.c) You must cause the whole of the work to be licensed at no charge to all thirdparties under the terms of this License.d) If a facility in the modified Library refers to a function or a table of data to besupplied by an application program that uses the facility, other than as anargument passed when the facility is invoked, then you must make a good faitheffort to ensure that, in the event an application does not supply such functionor table, the facility still operates, and performs whatever part of its purposeremains meaningful.(For example, a function in a library to compute square roots has a purpose thatis entirely well-defined independent of the application. Therefore, Subsection2d requires that any application-supplied function or table used by this functionmust be optional: if the application does not supply it, the square root functionmust still compute square roots.)These requirements apply to the modified work as a whole. If identifiable sections ofthat work are not derived from the Library, and can be reasonably consideredindependent and separate works in themselves, then this License, and its terms, do notapply to those sections when you distribute them as separate works. But when youdistribute the same sections as part of a whole which is a work based on the Library, thedistribution of the whole must be on the terms of this License, whose permissions forother licensees extend to the entire whole, and thus to each and every part regardless ofwho wrote it.Thus, it is not the intent of this section to claim rights or contest your rights to workwritten entirely by you; rather, the intent is to exercise the right to control thedistribution of derivative or collective works based on the Library.In addition, mere aggregation of another work not based on the Library with the Library(or with a work based on the Library) on a volume of a storage or distribution mediumdoes not bring the other work under the scope of this License.3. You may opt to apply the terms of the ordinary GNU General Public Licenseinstead of this License to a given copy of the Library. To do this, you must alter allthe notices that refer to this License, so that they refer to the ordinary GNU GeneralPublic License, version 2, instead of to this License. (If a newer version thanversion 2 of the ordinary GNU General Public License has appeared, then you canspecify that version instead if you wish.) Do not make any other change in thesenotices.Once this change is made in a given copy, it is irreversible for that copy, so the ordinaryGNU General Public License applies to all subsequent copies and derivative worksmade from that copy.This option is useful when you wish to copy part of the code of the Library into aprogram that is not a library.4. You may copy and distribute the Library (or a portion or derivative of it, underSection 2) in object code or executable form under the terms of Sections 1 and 2above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2above on a medium customarily used for software interchange.If distribution of object code is made by offering access to copy from a designatedplace, then offering equivalent access to copy the source code from the same placesatisfies the requirement to distribute the source code, even though third parties are notcompelled to copy the source along with the object code.5. A program that contains no derivative of any portion of the Library, but is designedto work with the Library by being compiled or linked with it, is called a “work thatuses the Library”. Such a work, in isolation, is not a derivative work of the Library,and therefore falls outside the scope of this License.However, linking a “work that uses the Library” with the Library creates an executablethat is a derivative of the Library (because it contains portions of the Library), ratherthan a “work that uses the library”. The executable is therefore covered by this License.Section 6 states terms for distribution of such executables.When a “work that uses the Library” uses material from a header file that is part of theLibrary, the object code for the work may be a derivative work of the Library eventhough the source code is not. Whether this is true is especially significant if the workcan be linked without the Library, or if the work is itself a library. The threshold forthis to be true is not precisely defined by law.If such an object file uses only numerical parameters, data structure layouts andaccessors, and small macros and small inline functions (ten lines or less in length), thenthe use of the object file is unrestricted, regardless of whether it is legally a derivativework. (Executables containing this object code plus portions of the Library will stillfall under Section 6.)Otherwise, if the work is a derivative of the Library, you may distribute the object codefor the work under the terms of Section 6. Any executables containing that work alsofall under Section 6, whether or not they are linked directly with the Library itself.6. As an exception to the Sections above, you may also compile or link a “work thatuses the Library” with the Library to produce a work containing portions of theLibrary, and distribute that work under terms of your choice, provided that theterms permit modification of the work for the customer’s own use and reverseengineering for debugging such modifications.You must give prominent notice with each copy of the work that the Library is used init and that the Library and its use are covered by this License. You must supply a copyof this License. If the work during execution displays copyright notices, you mustinclude the copyright notice for the Library among them, as well as a referencedirecting the user to the copy of this License. Also, you must do one of these things:a) Accompany the work with the complete corresponding machine-readablesource code for the Library including whatever changes were used in the work(which must be distributed under Sections 1 and 2 above); and, if the work is anexecutable linked with the Library, with the complete machine-readable “workthat uses the Library”, as object code and/or source code, so that the user canmodify the Library and then relink to produce a modified executable containingthe modified Library. (It is understood that the user who changes the contentsof definitions files in the Library will not necessarily be able to recompile theapplication to use the modified definitions.)b) Accompany the work with a written offer, valid for at least three years, to givethe same user the materials specified in Subsection 6a, above, for a charge nomore than the cost of performing this distribution.c) If distribution of the work is made by offering access to copy from a designatedplace, offer equivalent access to copy the above specified materials from thesame place.d) Verify that the user has already received a copy of these materials or that youhave already sent this user a copy.For an executable, the required form of the “work that uses the Library” must includeany data and utility programs needed for reproducing the executable from it. However,as a special exception, the source code distributed need not include anything that isnormally distributed (in either source or binary form) with the major components(compiler, kernel, and so on) of the operating system on which the executable runs,unless that component itself accompanies the executable.It may happen that this requirement contradicts the license restrictions of otherproprietary libraries that do not normally accompany the operating system. Such acontradiction means you cannot use both them and the Library together in an executablethat you distribute.7. You may place library facilities that are a work based on the Library side-by-side ina single library together with other library facilities not covered by this License,and distribute such a combined library, provided that the separate distribution of thework based on the Library and of the other library facilities is otherwise permitted,and provided that you do these two things:a) Accompany the combined library with a copy of the same work based on theLibrary, uncombined with any other library facilities. This must be distributedunder the terms of the Sections above.b) Give prominent notice with the combined library of the fact that part of it is awork based on the Library, and explaining where to find the accompanyinguncombined form of the same work.8. You may not copy, modify, sublicense, link with, or distribute the Library except asexpressly provided under this License. Any attempt otherwise to copy, modify,sublicense, link with, or distribute the Library is void, and will automaticallyterminate your rights under this License. However, parties who have receivedcopies, or rights, from you under this License will not have their licensesterminated so long as such parties remain in full compliance.9. You are not required to accept this License, since you have not signed it. However,nothing else grants you permission to modify or distribute the Library or itsderivative works. These actions are prohibited by law if you do not accept thisLicense. Therefore, by modifying or distributing the Library (or any work based onthe Library), you indicate your acceptance of this License to do so, and all its termsand conditions for copying, distributing or modifying the Library or works basedon it.