Commit a29b1fc2691c49125ae196abe76ae29f09a806d5

Authored by oliverhaag
1 parent f97d4667

dsoextractfw: Fixed permission-problem when starting OpenHantek as user

dsoextractfw/90-hantek-dso.rules 0 โ†’ 100644
  1 +# Hantek DSO-2090
  2 +SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="4b4/2090/*", RUN+="/sbin/fxload -t fx2 -I /usr/local/share/hantekdso/DSO2090_firmware.hex -s /usr/local/share/hantekdso/DSO2090_loader.hex -D $env{DEVNAME}"
  3 +SYSFS{idVendor}=="04b5", SYSFS{idProduct}=="2090", MODE="0660", GROUP="plugdev"
  4 +
  5 +# Hantek DSO-2100
  6 +SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="4b4/2100/*", RUN+="/sbin/fxload -t fx2 -I /usr/local/share/hantekdso/DSO2100_firmware.hex -s /usr/local/share/hantekdso/DSO2100_loader.hex -D $env{DEVNAME}"
  7 +SYSFS{idVendor}=="04b5", SYSFS{idProduct}=="2100", MODE="0660", GROUP="plugdev"
  8 +
  9 +# Hantek DSO-2150
  10 +SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="4b4/2150/*", RUN+="/sbin/fxload -t fx2 -I /usr/local/share/hantekdso/DSO2150_firmware.hex -s /usr/local/share/hantekdso/DSO2150_loader.hex -D $env{DEVNAME}"
  11 +SYSFS{idVendor}=="04b5", SYSFS{idProduct}=="2150", MODE="0660", GROUP="plugdev"
  12 +
  13 +# Hantek DSO-2250
  14 +SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="4b4/2250/*", RUN+="/sbin/fxload -t fx2 -I /usr/local/share/hantekdso/DSO2250_firmware.hex -s /usr/local/share/hantekdso/DSO2250_loader.hex -D $env{DEVNAME}"
  15 +SYSFS{idVendor}=="04b5", SYSFS{idProduct}=="2250", MODE="0660", GROUP="plugdev"
  16 +
  17 +# Hantek DSO-5200
  18 +SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="4b4/5200/*", RUN+="/sbin/fxload -t fx2 -I /usr/local/share/hantekdso/DSO5200_firmware.hex -s /usr/local/share/hantekdso/DSO5200_loader.hex -D $env{DEVNAME}"
  19 +SYSFS{idVendor}=="04b5", SYSFS{idProduct}=="5200", MODE="0660", GROUP="plugdev"
  20 +
  21 +# Hantek DSO-5200A
  22 +SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="4b4/520A/*", RUN+="/sbin/fxload -t fx2 -I /usr/local/share/hantekdso/DSO520A_firmware.hex -s /usr/local/share/hantekdso/DSO520A_loader.hex -D $env{DEVNAME}"
  23 +SYSFS{idVendor}=="04b5", SYSFS{idProduct}=="520A", MODE="0660", GROUP="plugdev"
dsoextractfw/AUTHORS 0 โ†’ 100644
  1 +Oleg Khudyakov <prcoder@potrebitel.ru>
  2 +Oliver Haag <oliver.haag@gmail.com>
0 \ No newline at end of file 3 \ No newline at end of file
dsoextractfw/COPYING 0 โ†’ 100644
  1 + GNU GENERAL PUBLIC LICENSE
  2 + Version 3, 29 June 2007
  3 +
  4 + Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
  5 + Everyone is permitted to copy and distribute verbatim copies
  6 + of this license document, but changing it is not allowed.
  7 +
  8 + Preamble
  9 +
  10 + The GNU General Public License is a free, copyleft license for
  11 +software and other kinds of works.
  12 +
  13 + The licenses for most software and other practical works are designed
  14 +to take away your freedom to share and change the works. By contrast,
  15 +the GNU General Public License is intended to guarantee your freedom to
  16 +share and change all versions of a program--to make sure it remains free
  17 +software for all its users. We, the Free Software Foundation, use the
  18 +GNU General Public License for most of our software; it applies also to
  19 +any other work released this way by its authors. You can apply it to
  20 +your programs, too.
  21 +
  22 + When we speak of free software, we are referring to freedom, not
  23 +price. Our General Public Licenses are designed to make sure that you
  24 +have the freedom to distribute copies of free software (and charge for
  25 +them if you wish), that you receive source code or can get it if you
  26 +want it, that you can change the software or use pieces of it in new
  27 +free programs, and that you know you can do these things.
  28 +
  29 + To protect your rights, we need to prevent others from denying you
  30 +these rights or asking you to surrender the rights. Therefore, you have
  31 +certain responsibilities if you distribute copies of the software, or if
  32 +you modify it: responsibilities to respect the freedom of others.
  33 +
  34 + For example, if you distribute copies of such a program, whether
  35 +gratis or for a fee, you must pass on to the recipients the same
  36 +freedoms that you received. You must make sure that they, too, receive
  37 +or can get the source code. And you must show them these terms so they
  38 +know their rights.
  39 +
  40 + Developers that use the GNU GPL protect your rights with two steps:
  41 +(1) assert copyright on the software, and (2) offer you this License
  42 +giving you legal permission to copy, distribute and/or modify it.
  43 +
  44 + For the developers' and authors' protection, the GPL clearly explains
  45 +that there is no warranty for this free software. For both users' and
  46 +authors' sake, the GPL requires that modified versions be marked as
  47 +changed, so that their problems will not be attributed erroneously to
  48 +authors of previous versions.
  49 +
  50 + Some devices are designed to deny users access to install or run
  51 +modified versions of the software inside them, although the manufacturer
  52 +can do so. This is fundamentally incompatible with the aim of
  53 +protecting users' freedom to change the software. The systematic
  54 +pattern of such abuse occurs in the area of products for individuals to
  55 +use, which is precisely where it is most unacceptable. Therefore, we
  56 +have designed this version of the GPL to prohibit the practice for those
  57 +products. If such problems arise substantially in other domains, we
  58 +stand ready to extend this provision to those domains in future versions
  59 +of the GPL, as needed to protect the freedom of users.
  60 +
  61 + Finally, every program is threatened constantly by software patents.
  62 +States should not allow patents to restrict development and use of
  63 +software on general-purpose computers, but in those that do, we wish to
  64 +avoid the special danger that patents applied to a free program could
  65 +make it effectively proprietary. To prevent this, the GPL assures that
  66 +patents cannot be used to render the program non-free.
  67 +
  68 + The precise terms and conditions for copying, distribution and
  69 +modification follow.
  70 +
  71 + TERMS AND CONDITIONS
  72 +
  73 + 0. Definitions.
  74 +
  75 + "This License" refers to version 3 of the GNU General Public License.
  76 +
  77 + "Copyright" also means copyright-like laws that apply to other kinds of
  78 +works, such as semiconductor masks.
  79 +
  80 + "The Program" refers to any copyrightable work licensed under this
  81 +License. Each licensee is addressed as "you". "Licensees" and
  82 +"recipients" may be individuals or organizations.
  83 +
  84 + To "modify" a work means to copy from or adapt all or part of the work
  85 +in a fashion requiring copyright permission, other than the making of an
  86 +exact copy. The resulting work is called a "modified version" of the
  87 +earlier work or a work "based on" the earlier work.
  88 +
  89 + A "covered work" means either the unmodified Program or a work based
  90 +on the Program.
  91 +
  92 + To "propagate" a work means to do anything with it that, without
  93 +permission, would make you directly or secondarily liable for
  94 +infringement under applicable copyright law, except executing it on a
  95 +computer or modifying a private copy. Propagation includes copying,
  96 +distribution (with or without modification), making available to the
  97 +public, and in some countries other activities as well.
  98 +
  99 + To "convey" a work means any kind of propagation that enables other
  100 +parties to make or receive copies. Mere interaction with a user through
  101 +a computer network, with no transfer of a copy, is not conveying.
  102 +
  103 + An interactive user interface displays "Appropriate Legal Notices"
  104 +to the extent that it includes a convenient and prominently visible
  105 +feature that (1) displays an appropriate copyright notice, and (2)
  106 +tells the user that there is no warranty for the work (except to the
  107 +extent that warranties are provided), that licensees may convey the
  108 +work under this License, and how to view a copy of this License. If
  109 +the interface presents a list of user commands or options, such as a
  110 +menu, a prominent item in the list meets this criterion.
  111 +
  112 + 1. Source Code.
  113 +
  114 + The "source code" for a work means the preferred form of the work
  115 +for making modifications to it. "Object code" means any non-source
  116 +form of a work.
  117 +
  118 + A "Standard Interface" means an interface that either is an official
  119 +standard defined by a recognized standards body, or, in the case of
  120 +interfaces specified for a particular programming language, one that
  121 +is widely used among developers working in that language.
  122 +
  123 + The "System Libraries" of an executable work include anything, other
  124 +than the work as a whole, that (a) is included in the normal form of
  125 +packaging a Major Component, but which is not part of that Major
  126 +Component, and (b) serves only to enable use of the work with that
  127 +Major Component, or to implement a Standard Interface for which an
  128 +implementation is available to the public in source code form. A
  129 +"Major Component", in this context, means a major essential component
  130 +(kernel, window system, and so on) of the specific operating system
  131 +(if any) on which the executable work runs, or a compiler used to
  132 +produce the work, or an object code interpreter used to run it.
  133 +
  134 + The "Corresponding Source" for a work in object code form means all
  135 +the source code needed to generate, install, and (for an executable
  136 +work) run the object code and to modify the work, including scripts to
  137 +control those activities. However, it does not include the work's
  138 +System Libraries, or general-purpose tools or generally available free
  139 +programs which are used unmodified in performing those activities but
  140 +which are not part of the work. For example, Corresponding Source
  141 +includes interface definition files associated with source files for
  142 +the work, and the source code for shared libraries and dynamically
  143 +linked subprograms that the work is specifically designed to require,
  144 +such as by intimate data communication or control flow between those
  145 +subprograms and other parts of the work.
  146 +
  147 + The Corresponding Source need not include anything that users
  148 +can regenerate automatically from other parts of the Corresponding
  149 +Source.
  150 +
  151 + The Corresponding Source for a work in source code form is that
  152 +same work.
  153 +
  154 + 2. Basic Permissions.
  155 +
  156 + All rights granted under this License are granted for the term of
  157 +copyright on the Program, and are irrevocable provided the stated
  158 +conditions are met. This License explicitly affirms your unlimited
  159 +permission to run the unmodified Program. The output from running a
  160 +covered work is covered by this License only if the output, given its
  161 +content, constitutes a covered work. This License acknowledges your
  162 +rights of fair use or other equivalent, as provided by copyright law.
  163 +
  164 + You may make, run and propagate covered works that you do not
  165 +convey, without conditions so long as your license otherwise remains
  166 +in force. You may convey covered works to others for the sole purpose
  167 +of having them make modifications exclusively for you, or provide you
  168 +with facilities for running those works, provided that you comply with
  169 +the terms of this License in conveying all material for which you do
  170 +not control copyright. Those thus making or running the covered works
  171 +for you must do so exclusively on your behalf, under your direction
  172 +and control, on terms that prohibit them from making any copies of
  173 +your copyrighted material outside their relationship with you.
  174 +
  175 + Conveying under any other circumstances is permitted solely under
  176 +the conditions stated below. Sublicensing is not allowed; section 10
  177 +makes it unnecessary.
  178 +
  179 + 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
  180 +
  181 + No covered work shall be deemed part of an effective technological
  182 +measure under any applicable law fulfilling obligations under article
  183 +11 of the WIPO copyright treaty adopted on 20 December 1996, or
  184 +similar laws prohibiting or restricting circumvention of such
  185 +measures.
  186 +
  187 + When you convey a covered work, you waive any legal power to forbid
  188 +circumvention of technological measures to the extent such circumvention
  189 +is effected by exercising rights under this License with respect to
  190 +the covered work, and you disclaim any intention to limit operation or
  191 +modification of the work as a means of enforcing, against the work's
  192 +users, your or third parties' legal rights to forbid circumvention of
  193 +technological measures.
  194 +
  195 + 4. Conveying Verbatim Copies.
  196 +
  197 + You may convey verbatim copies of the Program's source code as you
  198 +receive it, in any medium, provided that you conspicuously and
  199 +appropriately publish on each copy an appropriate copyright notice;
  200 +keep intact all notices stating that this License and any
  201 +non-permissive terms added in accord with section 7 apply to the code;
  202 +keep intact all notices of the absence of any warranty; and give all
  203 +recipients a copy of this License along with the Program.
  204 +
  205 + You may charge any price or no price for each copy that you convey,
  206 +and you may offer support or warranty protection for a fee.
  207 +
  208 + 5. Conveying Modified Source Versions.
  209 +
  210 + You may convey a work based on the Program, or the modifications to
  211 +produce it from the Program, in the form of source code under the
  212 +terms of section 4, provided that you also meet all of these conditions:
  213 +
  214 + a) The work must carry prominent notices stating that you modified
  215 + it, and giving a relevant date.
  216 +
  217 + b) The work must carry prominent notices stating that it is
  218 + released under this License and any conditions added under section
  219 + 7. This requirement modifies the requirement in section 4 to
  220 + "keep intact all notices".
  221 +
  222 + c) You must license the entire work, as a whole, under this
  223 + License to anyone who comes into possession of a copy. This
  224 + License will therefore apply, along with any applicable section 7
  225 + additional terms, to the whole of the work, and all its parts,
  226 + regardless of how they are packaged. This License gives no
  227 + permission to license the work in any other way, but it does not
  228 + invalidate such permission if you have separately received it.
  229 +
  230 + d) If the work has interactive user interfaces, each must display
  231 + Appropriate Legal Notices; however, if the Program has interactive
  232 + interfaces that do not display Appropriate Legal Notices, your
  233 + work need not make them do so.
  234 +
  235 + A compilation of a covered work with other separate and independent
  236 +works, which are not by their nature extensions of the covered work,
  237 +and which are not combined with it such as to form a larger program,
  238 +in or on a volume of a storage or distribution medium, is called an
  239 +"aggregate" if the compilation and its resulting copyright are not
  240 +used to limit the access or legal rights of the compilation's users
  241 +beyond what the individual works permit. Inclusion of a covered work
  242 +in an aggregate does not cause this License to apply to the other
  243 +parts of the aggregate.
  244 +
  245 + 6. Conveying Non-Source Forms.
  246 +
  247 + You may convey a covered work in object code form under the terms
  248 +of sections 4 and 5, provided that you also convey the
  249 +machine-readable Corresponding Source under the terms of this License,
  250 +in one of these ways:
  251 +
  252 + a) Convey the object code in, or embodied in, a physical product
  253 + (including a physical distribution medium), accompanied by the
  254 + Corresponding Source fixed on a durable physical medium
  255 + customarily used for software interchange.
  256 +
  257 + b) Convey the object code in, or embodied in, a physical product
  258 + (including a physical distribution medium), accompanied by a
  259 + written offer, valid for at least three years and valid for as
  260 + long as you offer spare parts or customer support for that product
  261 + model, to give anyone who possesses the object code either (1) a
  262 + copy of the Corresponding Source for all the software in the
  263 + product that is covered by this License, on a durable physical
  264 + medium customarily used for software interchange, for a price no
  265 + more than your reasonable cost of physically performing this
  266 + conveying of source, or (2) access to copy the
  267 + Corresponding Source from a network server at no charge.
  268 +
  269 + c) Convey individual copies of the object code with a copy of the
  270 + written offer to provide the Corresponding Source. This
  271 + alternative is allowed only occasionally and noncommercially, and
  272 + only if you received the object code with such an offer, in accord
  273 + with subsection 6b.
  274 +
  275 + d) Convey the object code by offering access from a designated
  276 + place (gratis or for a charge), and offer equivalent access to the
  277 + Corresponding Source in the same way through the same place at no
  278 + further charge. You need not require recipients to copy the
  279 + Corresponding Source along with the object code. If the place to
  280 + copy the object code is a network server, the Corresponding Source
  281 + may be on a different server (operated by you or a third party)
  282 + that supports equivalent copying facilities, provided you maintain
  283 + clear directions next to the object code saying where to find the
  284 + Corresponding Source. Regardless of what server hosts the
  285 + Corresponding Source, you remain obligated to ensure that it is
  286 + available for as long as needed to satisfy these requirements.
  287 +
  288 + e) Convey the object code using peer-to-peer transmission, provided
  289 + you inform other peers where the object code and Corresponding
  290 + Source of the work are being offered to the general public at no
  291 + charge under subsection 6d.
  292 +
  293 + A separable portion of the object code, whose source code is excluded
  294 +from the Corresponding Source as a System Library, need not be
  295 +included in conveying the object code work.
  296 +
  297 + A "User Product" is either (1) a "consumer product", which means any
  298 +tangible personal property which is normally used for personal, family,
  299 +or household purposes, or (2) anything designed or sold for incorporation
  300 +into a dwelling. In determining whether a product is a consumer product,
  301 +doubtful cases shall be resolved in favor of coverage. For a particular
  302 +product received by a particular user, "normally used" refers to a
  303 +typical or common use of that class of product, regardless of the status
  304 +of the particular user or of the way in which the particular user
  305 +actually uses, or expects or is expected to use, the product. A product
  306 +is a consumer product regardless of whether the product has substantial
  307 +commercial, industrial or non-consumer uses, unless such uses represent
  308 +the only significant mode of use of the product.
  309 +
  310 + "Installation Information" for a User Product means any methods,
  311 +procedures, authorization keys, or other information required to install
  312 +and execute modified versions of a covered work in that User Product from
  313 +a modified version of its Corresponding Source. The information must
  314 +suffice to ensure that the continued functioning of the modified object
  315 +code is in no case prevented or interfered with solely because
  316 +modification has been made.
  317 +
  318 + If you convey an object code work under this section in, or with, or
  319 +specifically for use in, a User Product, and the conveying occurs as
  320 +part of a transaction in which the right of possession and use of the
  321 +User Product is transferred to the recipient in perpetuity or for a
  322 +fixed term (regardless of how the transaction is characterized), the
  323 +Corresponding Source conveyed under this section must be accompanied
  324 +by the Installation Information. But this requirement does not apply
  325 +if neither you nor any third party retains the ability to install
  326 +modified object code on the User Product (for example, the work has
  327 +been installed in ROM).
  328 +
  329 + The requirement to provide Installation Information does not include a
  330 +requirement to continue to provide support service, warranty, or updates
  331 +for a work that has been modified or installed by the recipient, or for
  332 +the User Product in which it has been modified or installed. Access to a
  333 +network may be denied when the modification itself materially and
  334 +adversely affects the operation of the network or violates the rules and
  335 +protocols for communication across the network.
  336 +
  337 + Corresponding Source conveyed, and Installation Information provided,
  338 +in accord with this section must be in a format that is publicly
  339 +documented (and with an implementation available to the public in
  340 +source code form), and must require no special password or key for
  341 +unpacking, reading or copying.
  342 +
  343 + 7. Additional Terms.
  344 +
  345 + "Additional permissions" are terms that supplement the terms of this
  346 +License by making exceptions from one or more of its conditions.
  347 +Additional permissions that are applicable to the entire Program shall
  348 +be treated as though they were included in this License, to the extent
  349 +that they are valid under applicable law. If additional permissions
  350 +apply only to part of the Program, that part may be used separately
  351 +under those permissions, but the entire Program remains governed by
  352 +this License without regard to the additional permissions.
  353 +
  354 + When you convey a copy of a covered work, you may at your option
  355 +remove any additional permissions from that copy, or from any part of
  356 +it. (Additional permissions may be written to require their own
  357 +removal in certain cases when you modify the work.) You may place
  358 +additional permissions on material, added by you to a covered work,
  359 +for which you have or can give appropriate copyright permission.
  360 +
  361 + Notwithstanding any other provision of this License, for material you
  362 +add to a covered work, you may (if authorized by the copyright holders of
  363 +that material) supplement the terms of this License with terms:
  364 +
  365 + a) Disclaiming warranty or limiting liability differently from the
  366 + terms of sections 15 and 16 of this License; or
  367 +
  368 + b) Requiring preservation of specified reasonable legal notices or
  369 + author attributions in that material or in the Appropriate Legal
  370 + Notices displayed by works containing it; or
  371 +
  372 + c) Prohibiting misrepresentation of the origin of that material, or
  373 + requiring that modified versions of such material be marked in
  374 + reasonable ways as different from the original version; or
  375 +
  376 + d) Limiting the use for publicity purposes of names of licensors or
  377 + authors of the material; or
  378 +
  379 + e) Declining to grant rights under trademark law for use of some
  380 + trade names, trademarks, or service marks; or
  381 +
  382 + f) Requiring indemnification of licensors and authors of that
  383 + material by anyone who conveys the material (or modified versions of
  384 + it) with contractual assumptions of liability to the recipient, for
  385 + any liability that these contractual assumptions directly impose on
  386 + those licensors and authors.
  387 +
  388 + All other non-permissive additional terms are considered "further
  389 +restrictions" within the meaning of section 10. If the Program as you
  390 +received it, or any part of it, contains a notice stating that it is
  391 +governed by this License along with a term that is a further
  392 +restriction, you may remove that term. If a license document contains
  393 +a further restriction but permits relicensing or conveying under this
  394 +License, you may add to a covered work material governed by the terms
  395 +of that license document, provided that the further restriction does
  396 +not survive such relicensing or conveying.
  397 +
  398 + If you add terms to a covered work in accord with this section, you
  399 +must place, in the relevant source files, a statement of the
  400 +additional terms that apply to those files, or a notice indicating
  401 +where to find the applicable terms.
  402 +
  403 + Additional terms, permissive or non-permissive, may be stated in the
  404 +form of a separately written license, or stated as exceptions;
  405 +the above requirements apply either way.
  406 +
  407 + 8. Termination.
  408 +
  409 + You may not propagate or modify a covered work except as expressly
  410 +provided under this License. Any attempt otherwise to propagate or
  411 +modify it is void, and will automatically terminate your rights under
  412 +this License (including any patent licenses granted under the third
  413 +paragraph of section 11).
  414 +
  415 + However, if you cease all violation of this License, then your
  416 +license from a particular copyright holder is reinstated (a)
  417 +provisionally, unless and until the copyright holder explicitly and
  418 +finally terminates your license, and (b) permanently, if the copyright
  419 +holder fails to notify you of the violation by some reasonable means
  420 +prior to 60 days after the cessation.
  421 +
  422 + Moreover, your license from a particular copyright holder is
  423 +reinstated permanently if the copyright holder notifies you of the
  424 +violation by some reasonable means, this is the first time you have
  425 +received notice of violation of this License (for any work) from that
  426 +copyright holder, and you cure the violation prior to 30 days after
  427 +your receipt of the notice.
  428 +
  429 + Termination of your rights under this section does not terminate the
  430 +licenses of parties who have received copies or rights from you under
  431 +this License. If your rights have been terminated and not permanently
  432 +reinstated, you do not qualify to receive new licenses for the same
  433 +material under section 10.
  434 +
  435 + 9. Acceptance Not Required for Having Copies.
  436 +
  437 + You are not required to accept this License in order to receive or
  438 +run a copy of the Program. Ancillary propagation of a covered work
  439 +occurring solely as a consequence of using peer-to-peer transmission
  440 +to receive a copy likewise does not require acceptance. However,
  441 +nothing other than this License grants you permission to propagate or
  442 +modify any covered work. These actions infringe copyright if you do
  443 +not accept this License. Therefore, by modifying or propagating a
  444 +covered work, you indicate your acceptance of this License to do so.
  445 +
  446 + 10. Automatic Licensing of Downstream Recipients.
  447 +
  448 + Each time you convey a covered work, the recipient automatically
  449 +receives a license from the original licensors, to run, modify and
  450 +propagate that work, subject to this License. You are not responsible
  451 +for enforcing compliance by third parties with this License.
  452 +
  453 + An "entity transaction" is a transaction transferring control of an
  454 +organization, or substantially all assets of one, or subdividing an
  455 +organization, or merging organizations. If propagation of a covered
  456 +work results from an entity transaction, each party to that
  457 +transaction who receives a copy of the work also receives whatever
  458 +licenses to the work the party's predecessor in interest had or could
  459 +give under the previous paragraph, plus a right to possession of the
  460 +Corresponding Source of the work from the predecessor in interest, if
  461 +the predecessor has it or can get it with reasonable efforts.
  462 +
  463 + You may not impose any further restrictions on the exercise of the
  464 +rights granted or affirmed under this License. For example, you may
  465 +not impose a license fee, royalty, or other charge for exercise of
  466 +rights granted under this License, and you may not initiate litigation
  467 +(including a cross-claim or counterclaim in a lawsuit) alleging that
  468 +any patent claim is infringed by making, using, selling, offering for
  469 +sale, or importing the Program or any portion of it.
  470 +
  471 + 11. Patents.
  472 +
  473 + A "contributor" is a copyright holder who authorizes use under this
  474 +License of the Program or a work on which the Program is based. The
  475 +work thus licensed is called the contributor's "contributor version".
  476 +
  477 + A contributor's "essential patent claims" are all patent claims
  478 +owned or controlled by the contributor, whether already acquired or
  479 +hereafter acquired, that would be infringed by some manner, permitted
  480 +by this License, of making, using, or selling its contributor version,
  481 +but do not include claims that would be infringed only as a
  482 +consequence of further modification of the contributor version. For
  483 +purposes of this definition, "control" includes the right to grant
  484 +patent sublicenses in a manner consistent with the requirements of
  485 +this License.
  486 +
  487 + Each contributor grants you a non-exclusive, worldwide, royalty-free
  488 +patent license under the contributor's essential patent claims, to
  489 +make, use, sell, offer for sale, import and otherwise run, modify and
  490 +propagate the contents of its contributor version.
  491 +
  492 + In the following three paragraphs, a "patent license" is any express
  493 +agreement or commitment, however denominated, not to enforce a patent
  494 +(such as an express permission to practice a patent or covenant not to
  495 +sue for patent infringement). To "grant" such a patent license to a
  496 +party means to make such an agreement or commitment not to enforce a
  497 +patent against the party.
  498 +
  499 + If you convey a covered work, knowingly relying on a patent license,
  500 +and the Corresponding Source of the work is not available for anyone
  501 +to copy, free of charge and under the terms of this License, through a
  502 +publicly available network server or other readily accessible means,
  503 +then you must either (1) cause the Corresponding Source to be so
  504 +available, or (2) arrange to deprive yourself of the benefit of the
  505 +patent license for this particular work, or (3) arrange, in a manner
  506 +consistent with the requirements of this License, to extend the patent
  507 +license to downstream recipients. "Knowingly relying" means you have
  508 +actual knowledge that, but for the patent license, your conveying the
  509 +covered work in a country, or your recipient's use of the covered work
  510 +in a country, would infringe one or more identifiable patents in that
  511 +country that you have reason to believe are valid.
  512 +
  513 + If, pursuant to or in connection with a single transaction or
  514 +arrangement, you convey, or propagate by procuring conveyance of, a
  515 +covered work, and grant a patent license to some of the parties
  516 +receiving the covered work authorizing them to use, propagate, modify
  517 +or convey a specific copy of the covered work, then the patent license
  518 +you grant is automatically extended to all recipients of the covered
  519 +work and works based on it.
  520 +
  521 + A patent license is "discriminatory" if it does not include within
  522 +the scope of its coverage, prohibits the exercise of, or is
  523 +conditioned on the non-exercise of one or more of the rights that are
  524 +specifically granted under this License. You may not convey a covered
  525 +work if you are a party to an arrangement with a third party that is
  526 +in the business of distributing software, under which you make payment
  527 +to the third party based on the extent of your activity of conveying
  528 +the work, and under which the third party grants, to any of the
  529 +parties who would receive the covered work from you, a discriminatory
  530 +patent license (a) in connection with copies of the covered work
  531 +conveyed by you (or copies made from those copies), or (b) primarily
  532 +for and in connection with specific products or compilations that
  533 +contain the covered work, unless you entered into that arrangement,
  534 +or that patent license was granted, prior to 28 March 2007.
  535 +
  536 + Nothing in this License shall be construed as excluding or limiting
  537 +any implied license or other defenses to infringement that may
  538 +otherwise be available to you under applicable patent law.
  539 +
  540 + 12. No Surrender of Others' Freedom.
  541 +
  542 + If conditions are imposed on you (whether by court order, agreement or
  543 +otherwise) that contradict the conditions of this License, they do not
  544 +excuse you from the conditions of this License. If you cannot convey a
  545 +covered work so as to satisfy simultaneously your obligations under this
  546 +License and any other pertinent obligations, then as a consequence you may
  547 +not convey it at all. For example, if you agree to terms that obligate you
  548 +to collect a royalty for further conveying from those to whom you convey
  549 +the Program, the only way you could satisfy both those terms and this
  550 +License would be to refrain entirely from conveying the Program.
  551 +
  552 + 13. Use with the GNU Affero General Public License.
  553 +
  554 + Notwithstanding any other provision of this License, you have
  555 +permission to link or combine any covered work with a work licensed
  556 +under version 3 of the GNU Affero General Public License into a single
  557 +combined work, and to convey the resulting work. The terms of this
  558 +License will continue to apply to the part which is the covered work,
  559 +but the special requirements of the GNU Affero General Public License,
  560 +section 13, concerning interaction through a network will apply to the
  561 +combination as such.
  562 +
  563 + 14. Revised Versions of this License.
  564 +
  565 + The Free Software Foundation may publish revised and/or new versions of
  566 +the GNU General Public License from time to time. Such new versions will
  567 +be similar in spirit to the present version, but may differ in detail to
  568 +address new problems or concerns.
  569 +
  570 + Each version is given a distinguishing version number. If the
  571 +Program specifies that a certain numbered version of the GNU General
  572 +Public License "or any later version" applies to it, you have the
  573 +option of following the terms and conditions either of that numbered
  574 +version or of any later version published by the Free Software
  575 +Foundation. If the Program does not specify a version number of the
  576 +GNU General Public License, you may choose any version ever published
  577 +by the Free Software Foundation.
  578 +
  579 + If the Program specifies that a proxy can decide which future
  580 +versions of the GNU General Public License can be used, that proxy's
  581 +public statement of acceptance of a version permanently authorizes you
  582 +to choose that version for the Program.
  583 +
  584 + Later license versions may give you additional or different
  585 +permissions. However, no additional obligations are imposed on any
  586 +author or copyright holder as a result of your choosing to follow a
  587 +later version.
  588 +
  589 + 15. Disclaimer of Warranty.
  590 +
  591 + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
  592 +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
  593 +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
  594 +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
  595 +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  596 +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
  597 +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
  598 +ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  599 +
  600 + 16. Limitation of Liability.
  601 +
  602 + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
  603 +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
  604 +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
  605 +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
  606 +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
  607 +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
  608 +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
  609 +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
  610 +SUCH DAMAGES.
  611 +
  612 + 17. Interpretation of Sections 15 and 16.
  613 +
  614 + If the disclaimer of warranty and limitation of liability provided
  615 +above cannot be given local legal effect according to their terms,
  616 +reviewing courts shall apply local law that most closely approximates
  617 +an absolute waiver of all civil liability in connection with the
  618 +Program, unless a warranty or assumption of liability accompanies a
  619 +copy of the Program in return for a fee.
  620 +
  621 + END OF TERMS AND CONDITIONS
  622 +
  623 + How to Apply These Terms to Your New Programs
  624 +
  625 + If you develop a new program, and you want it to be of the greatest
  626 +possible use to the public, the best way to achieve this is to make it
  627 +free software which everyone can redistribute and change under these terms.
  628 +
  629 + To do so, attach the following notices to the program. It is safest
  630 +to attach them to the start of each source file to most effectively
  631 +state the exclusion of warranty; and each file should have at least
  632 +the "copyright" line and a pointer to where the full notice is found.
  633 +
  634 + <one line to give the program's name and a brief idea of what it does.>
  635 + Copyright (C) <year> <name of author>
  636 +
  637 + This program is free software: you can redistribute it and/or modify
  638 + it under the terms of the GNU General Public License as published by
  639 + the Free Software Foundation, either version 3 of the License, or
  640 + (at your option) any later version.
  641 +
  642 + This program is distributed in the hope that it will be useful,
  643 + but WITHOUT ANY WARRANTY; without even the implied warranty of
  644 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  645 + GNU General Public License for more details.
  646 +
  647 + You should have received a copy of the GNU General Public License
  648 + along with this program. If not, see <http://www.gnu.org/licenses/>.
  649 +
  650 +Also add information on how to contact you by electronic and paper mail.
  651 +
  652 + If the program does terminal interaction, make it output a short
  653 +notice like this when it starts in an interactive mode:
  654 +
  655 + <program> Copyright (C) <year> <name of author>
  656 + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
  657 + This is free software, and you are welcome to redistribute it
  658 + under certain conditions; type `show c' for details.
  659 +
  660 +The hypothetical commands `show w' and `show c' should show the appropriate
  661 +parts of the General Public License. Of course, your program's commands
  662 +might be different; for a GUI interface, you would use an "about box".
  663 +
  664 + You should also get your employer (if you work as a programmer) or school,
  665 +if any, to sign a "copyright disclaimer" for the program, if necessary.
  666 +For more information on this, and how to apply and follow the GNU GPL, see
  667 +<http://www.gnu.org/licenses/>.
  668 +
  669 + The GNU General Public License does not permit incorporating your program
  670 +into proprietary programs. If your program is a subroutine library, you
  671 +may consider it more useful to permit linking proprietary applications with
  672 +the library. If this is what you want to do, use the GNU Lesser General
  673 +Public License instead of this License. But first, please read
  674 +<http://www.gnu.org/philosophy/why-not-lgpl.html>.
dsoextractfw/ChangeLog 0 โ†’ 100644
  1 +2010-05-29 Oliver Haag <oliver.haag@gmail.com>
  2 +* Version 0.6.0:
  3 +* Fixed bug on 64-bit architectures
  4 +* Added files needed for building
  5 +
  6 +2010-08-16 Oliver Haag <oliver.haag@gmail.com>
  7 +* Version 0.6.1:
  8 +* USB-devices can be used by any user in the plugdev group now
0 \ No newline at end of file 9 \ No newline at end of file
dsoextractfw/INSTALL 0 โ†’ 100644
  1 +To build dsoextractfw from source, you need bfd. Under Debian or Ubuntu you can just install the package libbfd-dev. I don't know the package names for other distributions but they may be similar.
  2 +
  3 +After you've installed the requirements run the following commands inside the directory of this package:
  4 +$ ./configure
  5 +$ make
  6 +
  7 +Now place the DSO*1.SYS file that came with the windows driver for your oscilloscope into the same directory and run:
  8 +$ ./dsoextractfw
  9 +
  10 +This should create two .hex files. Copy them to /usr/local/share/hantekdso/ and copy the 90-hantek-dso.rules file to /etc/udev/rules.d/. To load the firmware you have to install fxload.
  11 +After restarting udev your oscilloscope should be initialized automatically after connecting it to the computer (You have to reconnect it after installing this package).
  12 +
  13 +If you can't run OpenHantek as normal user, you have too add your user to the plugdev group.
0 \ No newline at end of file 14 \ No newline at end of file
dsoextractfw/Makefile.am 0 โ†’ 100644
  1 +METASOURCES = AUTO
  2 +dsoextractfw_LDFLAGS = $(all_libraries)
  3 +bin_PROGRAMS = dsoextractfw
  4 +dsoextractfw_LDADD = -lbfd
  5 +dsoextractfw_SOURCES = dsoextractfw.c
  6 +noinst_DATA = 90-hantek-dso.rules
dsoextractfw/Makefile.in 0 โ†’ 100644
  1 +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  2 +# @configure_input@
  3 +
  4 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  5 +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  6 +# Inc.
  7 +# This Makefile.in is free software; the Free Software Foundation
  8 +# gives unlimited permission to copy and/or distribute it,
  9 +# with or without modifications, as long as this notice is preserved.
  10 +
  11 +# This program is distributed in the hope that it will be useful,
  12 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  13 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  14 +# PARTICULAR PURPOSE.
  15 +
  16 +@SET_MAKE@
  17 +
  18 +
  19 +VPATH = @srcdir@
  20 +pkgdatadir = $(datadir)/@PACKAGE@
  21 +pkgincludedir = $(includedir)/@PACKAGE@
  22 +pkglibdir = $(libdir)/@PACKAGE@
  23 +pkglibexecdir = $(libexecdir)/@PACKAGE@
  24 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  25 +install_sh_DATA = $(install_sh) -c -m 644
  26 +install_sh_PROGRAM = $(install_sh) -c
  27 +install_sh_SCRIPT = $(install_sh) -c
  28 +INSTALL_HEADER = $(INSTALL_DATA)
  29 +transform = $(program_transform_name)
  30 +NORMAL_INSTALL = :
  31 +PRE_INSTALL = :
  32 +POST_INSTALL = :
  33 +NORMAL_UNINSTALL = :
  34 +PRE_UNINSTALL = :
  35 +POST_UNINSTALL = :
  36 +bin_PROGRAMS = dsoextractfw$(EXEEXT)
  37 +subdir = .
  38 +DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
  39 + $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \
  40 + ChangeLog INSTALL NEWS depcomp install-sh missing
  41 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  42 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
  43 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  44 + $(ACLOCAL_M4)
  45 +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
  46 + configure.lineno config.status.lineno
  47 +mkinstalldirs = $(install_sh) -d
  48 +CONFIG_CLEAN_FILES =
  49 +CONFIG_CLEAN_VPATH_FILES =
  50 +am__installdirs = "$(DESTDIR)$(bindir)"
  51 +PROGRAMS = $(bin_PROGRAMS)
  52 +am_dsoextractfw_OBJECTS = dsoextractfw.$(OBJEXT)
  53 +dsoextractfw_OBJECTS = $(am_dsoextractfw_OBJECTS)
  54 +dsoextractfw_DEPENDENCIES =
  55 +dsoextractfw_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  56 + $(dsoextractfw_LDFLAGS) $(LDFLAGS) -o $@
  57 +DEFAULT_INCLUDES = -I.@am__isrc@
  58 +depcomp = $(SHELL) $(top_srcdir)/depcomp
  59 +am__depfiles_maybe = depfiles
  60 +am__mv = mv -f
  61 +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  62 + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  63 +CCLD = $(CC)
  64 +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
  65 +SOURCES = $(dsoextractfw_SOURCES)
  66 +DIST_SOURCES = $(dsoextractfw_SOURCES)
  67 +DATA = $(noinst_DATA)
  68 +ETAGS = etags
  69 +CTAGS = ctags
  70 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  71 +distdir = $(PACKAGE)-$(VERSION)
  72 +top_distdir = $(distdir)
  73 +am__remove_distdir = \
  74 + { test ! -d "$(distdir)" \
  75 + || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
  76 + && rm -fr "$(distdir)"; }; }
  77 +DIST_ARCHIVES = $(distdir).tar.gz
  78 +GZIP_ENV = --best
  79 +distuninstallcheck_listfiles = find . -type f -print
  80 +distcleancheck_listfiles = find . -type f -print
  81 +ACLOCAL = @ACLOCAL@
  82 +AMTAR = @AMTAR@
  83 +AUTOCONF = @AUTOCONF@
  84 +AUTOHEADER = @AUTOHEADER@
  85 +AUTOMAKE = @AUTOMAKE@
  86 +AWK = @AWK@
  87 +CC = @CC@
  88 +CCDEPMODE = @CCDEPMODE@
  89 +CFLAGS = @CFLAGS@
  90 +CPP = @CPP@
  91 +CPPFLAGS = @CPPFLAGS@
  92 +CYGPATH_W = @CYGPATH_W@
  93 +DEFS = @DEFS@
  94 +DEPDIR = @DEPDIR@
  95 +ECHO_C = @ECHO_C@
  96 +ECHO_N = @ECHO_N@
  97 +ECHO_T = @ECHO_T@
  98 +EGREP = @EGREP@
  99 +EXEEXT = @EXEEXT@
  100 +GREP = @GREP@
  101 +INSTALL = @INSTALL@
  102 +INSTALL_DATA = @INSTALL_DATA@
  103 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
  104 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
  105 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  106 +LDFLAGS = @LDFLAGS@
  107 +LIBOBJS = @LIBOBJS@
  108 +LIBS = @LIBS@
  109 +LTLIBOBJS = @LTLIBOBJS@
  110 +MAKEINFO = @MAKEINFO@
  111 +MKDIR_P = @MKDIR_P@
  112 +OBJEXT = @OBJEXT@
  113 +PACKAGE = @PACKAGE@
  114 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  115 +PACKAGE_NAME = @PACKAGE_NAME@
  116 +PACKAGE_STRING = @PACKAGE_STRING@
  117 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
  118 +PACKAGE_URL = @PACKAGE_URL@
  119 +PACKAGE_VERSION = @PACKAGE_VERSION@
  120 +PATH_SEPARATOR = @PATH_SEPARATOR@
  121 +SET_MAKE = @SET_MAKE@
  122 +SHELL = @SHELL@
  123 +STRIP = @STRIP@
  124 +VERSION = @VERSION@
  125 +abs_builddir = @abs_builddir@
  126 +abs_srcdir = @abs_srcdir@
  127 +abs_top_builddir = @abs_top_builddir@
  128 +abs_top_srcdir = @abs_top_srcdir@
  129 +ac_ct_CC = @ac_ct_CC@
  130 +am__include = @am__include@
  131 +am__leading_dot = @am__leading_dot@
  132 +am__quote = @am__quote@
  133 +am__tar = @am__tar@
  134 +am__untar = @am__untar@
  135 +bindir = @bindir@
  136 +build_alias = @build_alias@
  137 +builddir = @builddir@
  138 +datadir = @datadir@
  139 +datarootdir = @datarootdir@
  140 +docdir = @docdir@
  141 +dvidir = @dvidir@
  142 +exec_prefix = @exec_prefix@
  143 +host_alias = @host_alias@
  144 +htmldir = @htmldir@
  145 +includedir = @includedir@
  146 +infodir = @infodir@
  147 +install_sh = @install_sh@
  148 +libdir = @libdir@
  149 +libexecdir = @libexecdir@
  150 +localedir = @localedir@
  151 +localstatedir = @localstatedir@
  152 +mandir = @mandir@
  153 +mkdir_p = @mkdir_p@
  154 +oldincludedir = @oldincludedir@
  155 +pdfdir = @pdfdir@
  156 +prefix = @prefix@
  157 +program_transform_name = @program_transform_name@
  158 +psdir = @psdir@
  159 +sbindir = @sbindir@
  160 +sharedstatedir = @sharedstatedir@
  161 +srcdir = @srcdir@
  162 +sysconfdir = @sysconfdir@
  163 +target_alias = @target_alias@
  164 +top_build_prefix = @top_build_prefix@
  165 +top_builddir = @top_builddir@
  166 +top_srcdir = @top_srcdir@
  167 +METASOURCES = AUTO
  168 +dsoextractfw_LDFLAGS = $(all_libraries)
  169 +dsoextractfw_LDADD = -lbfd
  170 +dsoextractfw_SOURCES = dsoextractfw.c
  171 +noinst_DATA = 90-hantek-dso.rules
  172 +all: all-am
  173 +
  174 +.SUFFIXES:
  175 +.SUFFIXES: .c .o .obj
  176 +am--refresh:
  177 + @:
  178 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
  179 + @for dep in $?; do \
  180 + case '$(am__configure_deps)' in \
  181 + *$$dep*) \
  182 + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
  183 + $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
  184 + && exit 0; \
  185 + exit 1;; \
  186 + esac; \
  187 + done; \
  188 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
  189 + $(am__cd) $(top_srcdir) && \
  190 + $(AUTOMAKE) --gnu Makefile
  191 +.PRECIOUS: Makefile
  192 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  193 + @case '$?' in \
  194 + *config.status*) \
  195 + echo ' $(SHELL) ./config.status'; \
  196 + $(SHELL) ./config.status;; \
  197 + *) \
  198 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
  199 + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
  200 + esac;
  201 +
  202 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  203 + $(SHELL) ./config.status --recheck
  204 +
  205 +$(top_srcdir)/configure: $(am__configure_deps)
  206 + $(am__cd) $(srcdir) && $(AUTOCONF)
  207 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
  208 + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  209 +$(am__aclocal_m4_deps):
  210 +install-binPROGRAMS: $(bin_PROGRAMS)
  211 + @$(NORMAL_INSTALL)
  212 + test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
  213 + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  214 + for p in $$list; do echo "$$p $$p"; done | \
  215 + sed 's/$(EXEEXT)$$//' | \
  216 + while read p p1; do if test -f $$p; \
  217 + then echo "$$p"; echo "$$p"; else :; fi; \
  218 + done | \
  219 + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  220 + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  221 + sed 'N;N;N;s,\n, ,g' | \
  222 + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  223 + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  224 + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  225 + else { print "f", $$3 "/" $$4, $$1; } } \
  226 + END { for (d in files) print "f", d, files[d] }' | \
  227 + while read type dir files; do \
  228 + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  229 + test -z "$$files" || { \
  230 + echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
  231 + $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
  232 + } \
  233 + ; done
  234 +
  235 +uninstall-binPROGRAMS:
  236 + @$(NORMAL_UNINSTALL)
  237 + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  238 + files=`for p in $$list; do echo "$$p"; done | \
  239 + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  240 + -e 's/$$/$(EXEEXT)/' `; \
  241 + test -n "$$list" || exit 0; \
  242 + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
  243 + cd "$(DESTDIR)$(bindir)" && rm -f $$files
  244 +
  245 +clean-binPROGRAMS:
  246 + -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
  247 +dsoextractfw$(EXEEXT): $(dsoextractfw_OBJECTS) $(dsoextractfw_DEPENDENCIES)
  248 + @rm -f dsoextractfw$(EXEEXT)
  249 + $(dsoextractfw_LINK) $(dsoextractfw_OBJECTS) $(dsoextractfw_LDADD) $(LIBS)
  250 +
  251 +mostlyclean-compile:
  252 + -rm -f *.$(OBJEXT)
  253 +
  254 +distclean-compile:
  255 + -rm -f *.tab.c
  256 +
  257 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dsoextractfw.Po@am__quote@
  258 +
  259 +.c.o:
  260 +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  261 +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  262 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  263 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  264 +@am__fastdepCC_FALSE@ $(COMPILE) -c $<
  265 +
  266 +.c.obj:
  267 +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  268 +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  269 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  270 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  271 +@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  272 +
  273 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  274 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  275 + unique=`for i in $$list; do \
  276 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  277 + done | \
  278 + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  279 + END { if (nonempty) { for (i in files) print i; }; }'`; \
  280 + mkid -fID $$unique
  281 +tags: TAGS
  282 +
  283 +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  284 + $(TAGS_FILES) $(LISP)
  285 + set x; \
  286 + here=`pwd`; \
  287 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  288 + unique=`for i in $$list; do \
  289 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  290 + done | \
  291 + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  292 + END { if (nonempty) { for (i in files) print i; }; }'`; \
  293 + shift; \
  294 + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  295 + test -n "$$unique" || unique=$$empty_fix; \
  296 + if test $$# -gt 0; then \
  297 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  298 + "$$@" $$unique; \
  299 + else \
  300 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  301 + $$unique; \
  302 + fi; \
  303 + fi
  304 +ctags: CTAGS
  305 +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  306 + $(TAGS_FILES) $(LISP)
  307 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  308 + unique=`for i in $$list; do \
  309 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  310 + done | \
  311 + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  312 + END { if (nonempty) { for (i in files) print i; }; }'`; \
  313 + test -z "$(CTAGS_ARGS)$$unique" \
  314 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  315 + $$unique
  316 +
  317 +GTAGS:
  318 + here=`$(am__cd) $(top_builddir) && pwd` \
  319 + && $(am__cd) $(top_srcdir) \
  320 + && gtags -i $(GTAGS_ARGS) "$$here"
  321 +
  322 +distclean-tags:
  323 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  324 +
  325 +distdir: $(DISTFILES)
  326 + $(am__remove_distdir)
  327 + test -d "$(distdir)" || mkdir "$(distdir)"
  328 + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  329 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  330 + list='$(DISTFILES)'; \
  331 + dist_files=`for file in $$list; do echo $$file; done | \
  332 + sed -e "s|^$$srcdirstrip/||;t" \
  333 + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  334 + case $$dist_files in \
  335 + */*) $(MKDIR_P) `echo "$$dist_files" | \
  336 + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  337 + sort -u` ;; \
  338 + esac; \
  339 + for file in $$dist_files; do \
  340 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  341 + if test -d $$d/$$file; then \
  342 + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  343 + if test -d "$(distdir)/$$file"; then \
  344 + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  345 + fi; \
  346 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  347 + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  348 + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  349 + fi; \
  350 + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  351 + else \
  352 + test -f "$(distdir)/$$file" \
  353 + || cp -p $$d/$$file "$(distdir)/$$file" \
  354 + || exit 1; \
  355 + fi; \
  356 + done
  357 + -test -n "$(am__skip_mode_fix)" \
  358 + || find "$(distdir)" -type d ! -perm -755 \
  359 + -exec chmod u+rwx,go+rx {} \; -o \
  360 + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
  361 + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
  362 + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
  363 + || chmod -R a+r "$(distdir)"
  364 +dist-gzip: distdir
  365 + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  366 + $(am__remove_distdir)
  367 +
  368 +dist-bzip2: distdir
  369 + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
  370 + $(am__remove_distdir)
  371 +
  372 +dist-lzma: distdir
  373 + tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
  374 + $(am__remove_distdir)
  375 +
  376 +dist-xz: distdir
  377 + tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
  378 + $(am__remove_distdir)
  379 +
  380 +dist-tarZ: distdir
  381 + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
  382 + $(am__remove_distdir)
  383 +
  384 +dist-shar: distdir
  385 + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
  386 + $(am__remove_distdir)
  387 +
  388 +dist-zip: distdir
  389 + -rm -f $(distdir).zip
  390 + zip -rq $(distdir).zip $(distdir)
  391 + $(am__remove_distdir)
  392 +
  393 +dist dist-all: distdir
  394 + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  395 + $(am__remove_distdir)
  396 +
  397 +# This target untars the dist file and tries a VPATH configuration. Then
  398 +# it guarantees that the distribution is self-contained by making another
  399 +# tarfile.
  400 +distcheck: dist
  401 + case '$(DIST_ARCHIVES)' in \
  402 + *.tar.gz*) \
  403 + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
  404 + *.tar.bz2*) \
  405 + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
  406 + *.tar.lzma*) \
  407 + lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
  408 + *.tar.xz*) \
  409 + xz -dc $(distdir).tar.xz | $(am__untar) ;;\
  410 + *.tar.Z*) \
  411 + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
  412 + *.shar.gz*) \
  413 + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
  414 + *.zip*) \
  415 + unzip $(distdir).zip ;;\
  416 + esac
  417 + chmod -R a-w $(distdir); chmod a+w $(distdir)
  418 + mkdir $(distdir)/_build
  419 + mkdir $(distdir)/_inst
  420 + chmod a-w $(distdir)
  421 + test -d $(distdir)/_build || exit 0; \
  422 + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
  423 + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
  424 + && am__cwd=`pwd` \
  425 + && $(am__cd) $(distdir)/_build \
  426 + && ../configure --srcdir=.. --prefix="$$dc_install_base" \
  427 + $(DISTCHECK_CONFIGURE_FLAGS) \
  428 + && $(MAKE) $(AM_MAKEFLAGS) \
  429 + && $(MAKE) $(AM_MAKEFLAGS) dvi \
  430 + && $(MAKE) $(AM_MAKEFLAGS) check \
  431 + && $(MAKE) $(AM_MAKEFLAGS) install \
  432 + && $(MAKE) $(AM_MAKEFLAGS) installcheck \
  433 + && $(MAKE) $(AM_MAKEFLAGS) uninstall \
  434 + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
  435 + distuninstallcheck \
  436 + && chmod -R a-w "$$dc_install_base" \
  437 + && ({ \
  438 + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
  439 + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
  440 + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
  441 + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
  442 + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
  443 + } || { rm -rf "$$dc_destdir"; exit 1; }) \
  444 + && rm -rf "$$dc_destdir" \
  445 + && $(MAKE) $(AM_MAKEFLAGS) dist \
  446 + && rm -rf $(DIST_ARCHIVES) \
  447 + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
  448 + && cd "$$am__cwd" \
  449 + || exit 1
  450 + $(am__remove_distdir)
  451 + @(echo "$(distdir) archives ready for distribution: "; \
  452 + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
  453 + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
  454 +distuninstallcheck:
  455 + @$(am__cd) '$(distuninstallcheck_dir)' \
  456 + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
  457 + || { echo "ERROR: files left after uninstall:" ; \
  458 + if test -n "$(DESTDIR)"; then \
  459 + echo " (check DESTDIR support)"; \
  460 + fi ; \
  461 + $(distuninstallcheck_listfiles) ; \
  462 + exit 1; } >&2
  463 +distcleancheck: distclean
  464 + @if test '$(srcdir)' = . ; then \
  465 + echo "ERROR: distcleancheck can only run from a VPATH build" ; \
  466 + exit 1 ; \
  467 + fi
  468 + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
  469 + || { echo "ERROR: files left in build directory after distclean:" ; \
  470 + $(distcleancheck_listfiles) ; \
  471 + exit 1; } >&2
  472 +check-am: all-am
  473 +check: check-am
  474 +all-am: Makefile $(PROGRAMS) $(DATA)
  475 +installdirs:
  476 + for dir in "$(DESTDIR)$(bindir)"; do \
  477 + test -z "$$dir" || $(MKDIR_P) "$$dir"; \
  478 + done
  479 +install: install-am
  480 +install-exec: install-exec-am
  481 +install-data: install-data-am
  482 +uninstall: uninstall-am
  483 +
  484 +install-am: all-am
  485 + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  486 +
  487 +installcheck: installcheck-am
  488 +install-strip:
  489 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  490 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  491 + `test -z '$(STRIP)' || \
  492 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
  493 +mostlyclean-generic:
  494 +
  495 +clean-generic:
  496 +
  497 +distclean-generic:
  498 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  499 + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  500 +
  501 +maintainer-clean-generic:
  502 + @echo "This command is intended for maintainers to use"
  503 + @echo "it deletes files that may require special tools to rebuild."
  504 +clean: clean-am
  505 +
  506 +clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
  507 +
  508 +distclean: distclean-am
  509 + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
  510 + -rm -rf ./$(DEPDIR)
  511 + -rm -f Makefile
  512 +distclean-am: clean-am distclean-compile distclean-generic \
  513 + distclean-tags
  514 +
  515 +dvi: dvi-am
  516 +
  517 +dvi-am:
  518 +
  519 +html: html-am
  520 +
  521 +html-am:
  522 +
  523 +info: info-am
  524 +
  525 +info-am:
  526 +
  527 +install-data-am:
  528 +
  529 +install-dvi: install-dvi-am
  530 +
  531 +install-dvi-am:
  532 +
  533 +install-exec-am: install-binPROGRAMS
  534 +
  535 +install-html: install-html-am
  536 +
  537 +install-html-am:
  538 +
  539 +install-info: install-info-am
  540 +
  541 +install-info-am:
  542 +
  543 +install-man:
  544 +
  545 +install-pdf: install-pdf-am
  546 +
  547 +install-pdf-am:
  548 +
  549 +install-ps: install-ps-am
  550 +
  551 +install-ps-am:
  552 +
  553 +installcheck-am:
  554 +
  555 +maintainer-clean: maintainer-clean-am
  556 + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
  557 + -rm -rf $(top_srcdir)/autom4te.cache
  558 + -rm -rf ./$(DEPDIR)
  559 + -rm -f Makefile
  560 +maintainer-clean-am: distclean-am maintainer-clean-generic
  561 +
  562 +mostlyclean: mostlyclean-am
  563 +
  564 +mostlyclean-am: mostlyclean-compile mostlyclean-generic
  565 +
  566 +pdf: pdf-am
  567 +
  568 +pdf-am:
  569 +
  570 +ps: ps-am
  571 +
  572 +ps-am:
  573 +
  574 +uninstall-am: uninstall-binPROGRAMS
  575 +
  576 +.MAKE: install-am install-strip
  577 +
  578 +.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
  579 + clean-binPROGRAMS clean-generic ctags dist dist-all dist-bzip2 \
  580 + dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
  581 + distcheck distclean distclean-compile distclean-generic \
  582 + distclean-tags distcleancheck distdir distuninstallcheck dvi \
  583 + dvi-am html html-am info info-am install install-am \
  584 + install-binPROGRAMS install-data install-data-am install-dvi \
  585 + install-dvi-am install-exec install-exec-am install-html \
  586 + install-html-am install-info install-info-am install-man \
  587 + install-pdf install-pdf-am install-ps install-ps-am \
  588 + install-strip installcheck installcheck-am installdirs \
  589 + maintainer-clean maintainer-clean-generic mostlyclean \
  590 + mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
  591 + tags uninstall uninstall-am uninstall-binPROGRAMS
  592 +
  593 +
  594 +# Tell versions [3.59,3.63) of GNU make to not export all variables.
  595 +# Otherwise a system limit (for SysV at least) may be exceeded.
  596 +.NOEXPORT:
dsoextractfw/NEWS 0 โ†’ 100644
dsoextractfw/README 0 โ†’ 100644
  1 +This utility allows the extraction of the firmware for Hantek USB DSOs from the .SYS-file that comes with the windows-driver.
0 \ No newline at end of file 2 \ No newline at end of file
dsoextractfw/aclocal.m4 0 โ†’ 100644
  1 +# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
  2 +
  3 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
  4 +# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
  5 +# This file is free software; the Free Software Foundation
  6 +# gives unlimited permission to copy and/or distribute it,
  7 +# with or without modifications, as long as this notice is preserved.
  8 +
  9 +# This program is distributed in the hope that it will be useful,
  10 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  11 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  12 +# PARTICULAR PURPOSE.
  13 +
  14 +m4_ifndef([AC_AUTOCONF_VERSION],
  15 + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  16 +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
  17 +[m4_warning([this file was generated for autoconf 2.65.
  18 +You have another version of autoconf. It may work, but is not guaranteed to.
  19 +If you have problems, you may need to regenerate the build system entirely.
  20 +To do so, use the procedure documented by the package, typically `autoreconf'.])])
  21 +
  22 +# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  23 +#
  24 +# This file is free software; the Free Software Foundation
  25 +# gives unlimited permission to copy and/or distribute it,
  26 +# with or without modifications, as long as this notice is preserved.
  27 +
  28 +# AM_AUTOMAKE_VERSION(VERSION)
  29 +# ----------------------------
  30 +# Automake X.Y traces this macro to ensure aclocal.m4 has been
  31 +# generated from the m4 files accompanying Automake X.Y.
  32 +# (This private macro should not be called outside this file.)
  33 +AC_DEFUN([AM_AUTOMAKE_VERSION],
  34 +[am__api_version='1.11'
  35 +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
  36 +dnl require some minimum version. Point them to the right macro.
  37 +m4_if([$1], [1.11.1], [],
  38 + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
  39 +])
  40 +
  41 +# _AM_AUTOCONF_VERSION(VERSION)
  42 +# -----------------------------
  43 +# aclocal traces this macro to find the Autoconf version.
  44 +# This is a private macro too. Using m4_define simplifies
  45 +# the logic in aclocal, which can simply ignore this definition.
  46 +m4_define([_AM_AUTOCONF_VERSION], [])
  47 +
  48 +# AM_SET_CURRENT_AUTOMAKE_VERSION
  49 +# -------------------------------
  50 +# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
  51 +# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
  52 +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
  53 +[AM_AUTOMAKE_VERSION([1.11.1])dnl
  54 +m4_ifndef([AC_AUTOCONF_VERSION],
  55 + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  56 +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
  57 +
  58 +# AM_AUX_DIR_EXPAND -*- Autoconf -*-
  59 +
  60 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
  61 +#
  62 +# This file is free software; the Free Software Foundation
  63 +# gives unlimited permission to copy and/or distribute it,
  64 +# with or without modifications, as long as this notice is preserved.
  65 +
  66 +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
  67 +# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
  68 +# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
  69 +#
  70 +# Of course, Automake must honor this variable whenever it calls a
  71 +# tool from the auxiliary directory. The problem is that $srcdir (and
  72 +# therefore $ac_aux_dir as well) can be either absolute or relative,
  73 +# depending on how configure is run. This is pretty annoying, since
  74 +# it makes $ac_aux_dir quite unusable in subdirectories: in the top
  75 +# source directory, any form will work fine, but in subdirectories a
  76 +# relative path needs to be adjusted first.
  77 +#
  78 +# $ac_aux_dir/missing
  79 +# fails when called from a subdirectory if $ac_aux_dir is relative
  80 +# $top_srcdir/$ac_aux_dir/missing
  81 +# fails if $ac_aux_dir is absolute,
  82 +# fails when called from a subdirectory in a VPATH build with
  83 +# a relative $ac_aux_dir
  84 +#
  85 +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
  86 +# are both prefixed by $srcdir. In an in-source build this is usually
  87 +# harmless because $srcdir is `.', but things will broke when you
  88 +# start a VPATH build or use an absolute $srcdir.
  89 +#
  90 +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
  91 +# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
  92 +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
  93 +# and then we would define $MISSING as
  94 +# MISSING="\${SHELL} $am_aux_dir/missing"
  95 +# This will work as long as MISSING is not called from configure, because
  96 +# unfortunately $(top_srcdir) has no meaning in configure.
  97 +# However there are other variables, like CC, which are often used in
  98 +# configure, and could therefore not use this "fixed" $ac_aux_dir.
  99 +#
  100 +# Another solution, used here, is to always expand $ac_aux_dir to an
  101 +# absolute PATH. The drawback is that using absolute paths prevent a
  102 +# configured tree to be moved without reconfiguration.
  103 +
  104 +AC_DEFUN([AM_AUX_DIR_EXPAND],
  105 +[dnl Rely on autoconf to set up CDPATH properly.
  106 +AC_PREREQ([2.50])dnl
  107 +# expand $ac_aux_dir to an absolute path
  108 +am_aux_dir=`cd $ac_aux_dir && pwd`
  109 +])
  110 +
  111 +# AM_CONDITIONAL -*- Autoconf -*-
  112 +
  113 +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
  114 +# Free Software Foundation, Inc.
  115 +#
  116 +# This file is free software; the Free Software Foundation
  117 +# gives unlimited permission to copy and/or distribute it,
  118 +# with or without modifications, as long as this notice is preserved.
  119 +
  120 +# serial 9
  121 +
  122 +# AM_CONDITIONAL(NAME, SHELL-CONDITION)
  123 +# -------------------------------------
  124 +# Define a conditional.
  125 +AC_DEFUN([AM_CONDITIONAL],
  126 +[AC_PREREQ(2.52)dnl
  127 + ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
  128 + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
  129 +AC_SUBST([$1_TRUE])dnl
  130 +AC_SUBST([$1_FALSE])dnl
  131 +_AM_SUBST_NOTMAKE([$1_TRUE])dnl
  132 +_AM_SUBST_NOTMAKE([$1_FALSE])dnl
  133 +m4_define([_AM_COND_VALUE_$1], [$2])dnl
  134 +if $2; then
  135 + $1_TRUE=
  136 + $1_FALSE='#'
  137 +else
  138 + $1_TRUE='#'
  139 + $1_FALSE=
  140 +fi
  141 +AC_CONFIG_COMMANDS_PRE(
  142 +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
  143 + AC_MSG_ERROR([[conditional "$1" was never defined.
  144 +Usually this means the macro was only invoked conditionally.]])
  145 +fi])])
  146 +
  147 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
  148 +# Free Software Foundation, Inc.
  149 +#
  150 +# This file is free software; the Free Software Foundation
  151 +# gives unlimited permission to copy and/or distribute it,
  152 +# with or without modifications, as long as this notice is preserved.
  153 +
  154 +# serial 10
  155 +
  156 +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
  157 +# written in clear, in which case automake, when reading aclocal.m4,
  158 +# will think it sees a *use*, and therefore will trigger all it's
  159 +# C support machinery. Also note that it means that autoscan, seeing
  160 +# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
  161 +
  162 +
  163 +# _AM_DEPENDENCIES(NAME)
  164 +# ----------------------
  165 +# See how the compiler implements dependency checking.
  166 +# NAME is "CC", "CXX", "GCJ", or "OBJC".
  167 +# We try a few techniques and use that to set a single cache variable.
  168 +#
  169 +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
  170 +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
  171 +# dependency, and given that the user is not expected to run this macro,
  172 +# just rely on AC_PROG_CC.
  173 +AC_DEFUN([_AM_DEPENDENCIES],
  174 +[AC_REQUIRE([AM_SET_DEPDIR])dnl
  175 +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
  176 +AC_REQUIRE([AM_MAKE_INCLUDE])dnl
  177 +AC_REQUIRE([AM_DEP_TRACK])dnl
  178 +
  179 +ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
  180 + [$1], CXX, [depcc="$CXX" am_compiler_list=],
  181 + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
  182 + [$1], UPC, [depcc="$UPC" am_compiler_list=],
  183 + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
  184 + [depcc="$$1" am_compiler_list=])
  185 +
  186 +AC_CACHE_CHECK([dependency style of $depcc],
  187 + [am_cv_$1_dependencies_compiler_type],
  188 +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  189 + # We make a subdir and do the tests there. Otherwise we can end up
  190 + # making bogus files that we don't know about and never remove. For
  191 + # instance it was reported that on HP-UX the gcc test will end up
  192 + # making a dummy file named `D' -- because `-MD' means `put the output
  193 + # in D'.
  194 + mkdir conftest.dir
  195 + # Copy depcomp to subdir because otherwise we won't find it if we're
  196 + # using a relative directory.
  197 + cp "$am_depcomp" conftest.dir
  198 + cd conftest.dir
  199 + # We will build objects and dependencies in a subdirectory because
  200 + # it helps to detect inapplicable dependency modes. For instance
  201 + # both Tru64's cc and ICC support -MD to output dependencies as a
  202 + # side effect of compilation, but ICC will put the dependencies in
  203 + # the current directory while Tru64 will put them in the object
  204 + # directory.
  205 + mkdir sub
  206 +
  207 + am_cv_$1_dependencies_compiler_type=none
  208 + if test "$am_compiler_list" = ""; then
  209 + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
  210 + fi
  211 + am__universal=false
  212 + m4_case([$1], [CC],
  213 + [case " $depcc " in #(
  214 + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  215 + esac],
  216 + [CXX],
  217 + [case " $depcc " in #(
  218 + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  219 + esac])
  220 +
  221 + for depmode in $am_compiler_list; do
  222 + # Setup a source with many dependencies, because some compilers
  223 + # like to wrap large dependency lists on column 80 (with \), and
  224 + # we should not choose a depcomp mode which is confused by this.
  225 + #
  226 + # We need to recreate these files for each test, as the compiler may
  227 + # overwrite some of them when testing with obscure command lines.
  228 + # This happens at least with the AIX C compiler.
  229 + : > sub/conftest.c
  230 + for i in 1 2 3 4 5 6; do
  231 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  232 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  233 + # Solaris 8's {/usr,}/bin/sh.
  234 + touch sub/conftst$i.h
  235 + done
  236 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  237 +
  238 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  239 + # mode. It turns out that the SunPro C++ compiler does not properly
  240 + # handle `-M -o', and we need to detect this. Also, some Intel
  241 + # versions had trouble with output in subdirs
  242 + am__obj=sub/conftest.${OBJEXT-o}
  243 + am__minus_obj="-o $am__obj"
  244 + case $depmode in
  245 + gcc)
  246 + # This depmode causes a compiler race in universal mode.
  247 + test "$am__universal" = false || continue
  248 + ;;
  249 + nosideeffect)
  250 + # after this tag, mechanisms are not by side-effect, so they'll
  251 + # only be used when explicitly requested
  252 + if test "x$enable_dependency_tracking" = xyes; then
  253 + continue
  254 + else
  255 + break
  256 + fi
  257 + ;;
  258 + msvisualcpp | msvcmsys)
  259 + # This compiler won't grok `-c -o', but also, the minuso test has
  260 + # not run yet. These depmodes are late enough in the game, and
  261 + # so weak that their functioning should not be impacted.
  262 + am__obj=conftest.${OBJEXT-o}
  263 + am__minus_obj=
  264 + ;;
  265 + none) break ;;
  266 + esac
  267 + if depmode=$depmode \
  268 + source=sub/conftest.c object=$am__obj \
  269 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  270 + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  271 + >/dev/null 2>conftest.err &&
  272 + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  273 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  274 + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  275 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  276 + # icc doesn't choke on unknown options, it will just issue warnings
  277 + # or remarks (even with -Werror). So we grep stderr for any message
  278 + # that says an option was ignored or not supported.
  279 + # When given -MP, icc 7.0 and 7.1 complain thusly:
  280 + # icc: Command line warning: ignoring option '-M'; no argument required
  281 + # The diagnosis changed in icc 8.0:
  282 + # icc: Command line remark: option '-MP' not supported
  283 + if (grep 'ignoring option' conftest.err ||
  284 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  285 + am_cv_$1_dependencies_compiler_type=$depmode
  286 + break
  287 + fi
  288 + fi
  289 + done
  290 +
  291 + cd ..
  292 + rm -rf conftest.dir
  293 +else
  294 + am_cv_$1_dependencies_compiler_type=none
  295 +fi
  296 +])
  297 +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
  298 +AM_CONDITIONAL([am__fastdep$1], [
  299 + test "x$enable_dependency_tracking" != xno \
  300 + && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
  301 +])
  302 +
  303 +
  304 +# AM_SET_DEPDIR
  305 +# -------------
  306 +# Choose a directory name for dependency files.
  307 +# This macro is AC_REQUIREd in _AM_DEPENDENCIES
  308 +AC_DEFUN([AM_SET_DEPDIR],
  309 +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  310 +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
  311 +])
  312 +
  313 +
  314 +# AM_DEP_TRACK
  315 +# ------------
  316 +AC_DEFUN([AM_DEP_TRACK],
  317 +[AC_ARG_ENABLE(dependency-tracking,
  318 +[ --disable-dependency-tracking speeds up one-time build
  319 + --enable-dependency-tracking do not reject slow dependency extractors])
  320 +if test "x$enable_dependency_tracking" != xno; then
  321 + am_depcomp="$ac_aux_dir/depcomp"
  322 + AMDEPBACKSLASH='\'
  323 +fi
  324 +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  325 +AC_SUBST([AMDEPBACKSLASH])dnl
  326 +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
  327 +])
  328 +
  329 +# Generate code to set up dependency tracking. -*- Autoconf -*-
  330 +
  331 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
  332 +# Free Software Foundation, Inc.
  333 +#
  334 +# This file is free software; the Free Software Foundation
  335 +# gives unlimited permission to copy and/or distribute it,
  336 +# with or without modifications, as long as this notice is preserved.
  337 +
  338 +#serial 5
  339 +
  340 +# _AM_OUTPUT_DEPENDENCY_COMMANDS
  341 +# ------------------------------
  342 +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
  343 +[{
  344 + # Autoconf 2.62 quotes --file arguments for eval, but not when files
  345 + # are listed without --file. Let's play safe and only enable the eval
  346 + # if we detect the quoting.
  347 + case $CONFIG_FILES in
  348 + *\'*) eval set x "$CONFIG_FILES" ;;
  349 + *) set x $CONFIG_FILES ;;
  350 + esac
  351 + shift
  352 + for mf
  353 + do
  354 + # Strip MF so we end up with the name of the file.
  355 + mf=`echo "$mf" | sed -e 's/:.*$//'`
  356 + # Check whether this is an Automake generated Makefile or not.
  357 + # We used to match only the files named `Makefile.in', but
  358 + # some people rename them; so instead we look at the file content.
  359 + # Grep'ing the first line is not enough: some people post-process
  360 + # each Makefile.in and add a new line on top of each file to say so.
  361 + # Grep'ing the whole file is not good either: AIX grep has a line
  362 + # limit of 2048, but all sed's we know have understand at least 4000.
  363 + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  364 + dirpart=`AS_DIRNAME("$mf")`
  365 + else
  366 + continue
  367 + fi
  368 + # Extract the definition of DEPDIR, am__include, and am__quote
  369 + # from the Makefile without running `make'.
  370 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  371 + test -z "$DEPDIR" && continue
  372 + am__include=`sed -n 's/^am__include = //p' < "$mf"`
  373 + test -z "am__include" && continue
  374 + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  375 + # When using ansi2knr, U may be empty or an underscore; expand it
  376 + U=`sed -n 's/^U = //p' < "$mf"`
  377 + # Find all dependency output files, they are included files with
  378 + # $(DEPDIR) in their names. We invoke sed twice because it is the
  379 + # simplest approach to changing $(DEPDIR) to its actual value in the
  380 + # expansion.
  381 + for file in `sed -n "
  382 + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  383 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  384 + # Make sure the directory exists.
  385 + test -f "$dirpart/$file" && continue
  386 + fdir=`AS_DIRNAME(["$file"])`
  387 + AS_MKDIR_P([$dirpart/$fdir])
  388 + # echo "creating $dirpart/$file"
  389 + echo '# dummy' > "$dirpart/$file"
  390 + done
  391 + done
  392 +}
  393 +])# _AM_OUTPUT_DEPENDENCY_COMMANDS
  394 +
  395 +
  396 +# AM_OUTPUT_DEPENDENCY_COMMANDS
  397 +# -----------------------------
  398 +# This macro should only be invoked once -- use via AC_REQUIRE.
  399 +#
  400 +# This code is only required when automatic dependency tracking
  401 +# is enabled. FIXME. This creates each `.P' file that we will
  402 +# need in order to bootstrap the dependency handling code.
  403 +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
  404 +[AC_CONFIG_COMMANDS([depfiles],
  405 + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
  406 + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
  407 +])
  408 +
  409 +# Do all the work for Automake. -*- Autoconf -*-
  410 +
  411 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
  412 +# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
  413 +#
  414 +# This file is free software; the Free Software Foundation
  415 +# gives unlimited permission to copy and/or distribute it,
  416 +# with or without modifications, as long as this notice is preserved.
  417 +
  418 +# serial 16
  419 +
  420 +# This macro actually does too much. Some checks are only needed if
  421 +# your package does certain things. But this isn't really a big deal.
  422 +
  423 +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
  424 +# AM_INIT_AUTOMAKE([OPTIONS])
  425 +# -----------------------------------------------
  426 +# The call with PACKAGE and VERSION arguments is the old style
  427 +# call (pre autoconf-2.50), which is being phased out. PACKAGE
  428 +# and VERSION should now be passed to AC_INIT and removed from
  429 +# the call to AM_INIT_AUTOMAKE.
  430 +# We support both call styles for the transition. After
  431 +# the next Automake release, Autoconf can make the AC_INIT
  432 +# arguments mandatory, and then we can depend on a new Autoconf
  433 +# release and drop the old call support.
  434 +AC_DEFUN([AM_INIT_AUTOMAKE],
  435 +[AC_PREREQ([2.62])dnl
  436 +dnl Autoconf wants to disallow AM_ names. We explicitly allow
  437 +dnl the ones we care about.
  438 +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
  439 +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
  440 +AC_REQUIRE([AC_PROG_INSTALL])dnl
  441 +if test "`cd $srcdir && pwd`" != "`pwd`"; then
  442 + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  443 + # is not polluted with repeated "-I."
  444 + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
  445 + # test to see if srcdir already configured
  446 + if test -f $srcdir/config.status; then
  447 + AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
  448 + fi
  449 +fi
  450 +
  451 +# test whether we have cygpath
  452 +if test -z "$CYGPATH_W"; then
  453 + if (cygpath --version) >/dev/null 2>/dev/null; then
  454 + CYGPATH_W='cygpath -w'
  455 + else
  456 + CYGPATH_W=echo
  457 + fi
  458 +fi
  459 +AC_SUBST([CYGPATH_W])
  460 +
  461 +# Define the identity of the package.
  462 +dnl Distinguish between old-style and new-style calls.
  463 +m4_ifval([$2],
  464 +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
  465 + AC_SUBST([PACKAGE], [$1])dnl
  466 + AC_SUBST([VERSION], [$2])],
  467 +[_AM_SET_OPTIONS([$1])dnl
  468 +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
  469 +m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
  470 + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
  471 + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
  472 + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
  473 +
  474 +_AM_IF_OPTION([no-define],,
  475 +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
  476 + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
  477 +
  478 +# Some tools Automake needs.
  479 +AC_REQUIRE([AM_SANITY_CHECK])dnl
  480 +AC_REQUIRE([AC_ARG_PROGRAM])dnl
  481 +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
  482 +AM_MISSING_PROG(AUTOCONF, autoconf)
  483 +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
  484 +AM_MISSING_PROG(AUTOHEADER, autoheader)
  485 +AM_MISSING_PROG(MAKEINFO, makeinfo)
  486 +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  487 +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
  488 +AC_REQUIRE([AM_PROG_MKDIR_P])dnl
  489 +# We need awk for the "check" target. The system "awk" is bad on
  490 +# some platforms.
  491 +AC_REQUIRE([AC_PROG_AWK])dnl
  492 +AC_REQUIRE([AC_PROG_MAKE_SET])dnl
  493 +AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  494 +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
  495 + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  496 + [_AM_PROG_TAR([v7])])])
  497 +_AM_IF_OPTION([no-dependencies],,
  498 +[AC_PROVIDE_IFELSE([AC_PROG_CC],
  499 + [_AM_DEPENDENCIES(CC)],
  500 + [define([AC_PROG_CC],
  501 + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
  502 +AC_PROVIDE_IFELSE([AC_PROG_CXX],
  503 + [_AM_DEPENDENCIES(CXX)],
  504 + [define([AC_PROG_CXX],
  505 + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
  506 +AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  507 + [_AM_DEPENDENCIES(OBJC)],
  508 + [define([AC_PROG_OBJC],
  509 + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
  510 +])
  511 +_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
  512 +dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
  513 +dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
  514 +dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
  515 +AC_CONFIG_COMMANDS_PRE(dnl
  516 +[m4_provide_if([_AM_COMPILER_EXEEXT],
  517 + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
  518 +])
  519 +
  520 +dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
  521 +dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
  522 +dnl mangled by Autoconf and run in a shell conditional statement.
  523 +m4_define([_AC_COMPILER_EXEEXT],
  524 +m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
  525 +
  526 +
  527 +# When config.status generates a header, we must update the stamp-h file.
  528 +# This file resides in the same directory as the config header
  529 +# that is generated. The stamp files are numbered to have different names.
  530 +
  531 +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
  532 +# loop where config.status creates the headers, so we can generate
  533 +# our stamp files there.
  534 +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
  535 +[# Compute $1's index in $config_headers.
  536 +_am_arg=$1
  537 +_am_stamp_count=1
  538 +for _am_header in $config_headers :; do
  539 + case $_am_header in
  540 + $_am_arg | $_am_arg:* )
  541 + break ;;
  542 + * )
  543 + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  544 + esac
  545 +done
  546 +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
  547 +
  548 +# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
  549 +#
  550 +# This file is free software; the Free Software Foundation
  551 +# gives unlimited permission to copy and/or distribute it,
  552 +# with or without modifications, as long as this notice is preserved.
  553 +
  554 +# AM_PROG_INSTALL_SH
  555 +# ------------------
  556 +# Define $install_sh.
  557 +AC_DEFUN([AM_PROG_INSTALL_SH],
  558 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  559 +if test x"${install_sh}" != xset; then
  560 + case $am_aux_dir in
  561 + *\ * | *\ *)
  562 + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  563 + *)
  564 + install_sh="\${SHELL} $am_aux_dir/install-sh"
  565 + esac
  566 +fi
  567 +AC_SUBST(install_sh)])
  568 +
  569 +# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
  570 +#
  571 +# This file is free software; the Free Software Foundation
  572 +# gives unlimited permission to copy and/or distribute it,
  573 +# with or without modifications, as long as this notice is preserved.
  574 +
  575 +# serial 2
  576 +
  577 +# Check whether the underlying file-system supports filenames
  578 +# with a leading dot. For instance MS-DOS doesn't.
  579 +AC_DEFUN([AM_SET_LEADING_DOT],
  580 +[rm -rf .tst 2>/dev/null
  581 +mkdir .tst 2>/dev/null
  582 +if test -d .tst; then
  583 + am__leading_dot=.
  584 +else
  585 + am__leading_dot=_
  586 +fi
  587 +rmdir .tst 2>/dev/null
  588 +AC_SUBST([am__leading_dot])])
  589 +
  590 +# Check to see how 'make' treats includes. -*- Autoconf -*-
  591 +
  592 +# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
  593 +#
  594 +# This file is free software; the Free Software Foundation
  595 +# gives unlimited permission to copy and/or distribute it,
  596 +# with or without modifications, as long as this notice is preserved.
  597 +
  598 +# serial 4
  599 +
  600 +# AM_MAKE_INCLUDE()
  601 +# -----------------
  602 +# Check to see how make treats includes.
  603 +AC_DEFUN([AM_MAKE_INCLUDE],
  604 +[am_make=${MAKE-make}
  605 +cat > confinc << 'END'
  606 +am__doit:
  607 + @echo this is the am__doit target
  608 +.PHONY: am__doit
  609 +END
  610 +# If we don't find an include directive, just comment out the code.
  611 +AC_MSG_CHECKING([for style of include used by $am_make])
  612 +am__include="#"
  613 +am__quote=
  614 +_am_result=none
  615 +# First try GNU make style include.
  616 +echo "include confinc" > confmf
  617 +# Ignore all kinds of additional output from `make'.
  618 +case `$am_make -s -f confmf 2> /dev/null` in #(
  619 +*the\ am__doit\ target*)
  620 + am__include=include
  621 + am__quote=
  622 + _am_result=GNU
  623 + ;;
  624 +esac
  625 +# Now try BSD make style include.
  626 +if test "$am__include" = "#"; then
  627 + echo '.include "confinc"' > confmf
  628 + case `$am_make -s -f confmf 2> /dev/null` in #(
  629 + *the\ am__doit\ target*)
  630 + am__include=.include
  631 + am__quote="\""
  632 + _am_result=BSD
  633 + ;;
  634 + esac
  635 +fi
  636 +AC_SUBST([am__include])
  637 +AC_SUBST([am__quote])
  638 +AC_MSG_RESULT([$_am_result])
  639 +rm -f confinc confmf
  640 +])
  641 +
  642 +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
  643 +
  644 +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
  645 +# Free Software Foundation, Inc.
  646 +#
  647 +# This file is free software; the Free Software Foundation
  648 +# gives unlimited permission to copy and/or distribute it,
  649 +# with or without modifications, as long as this notice is preserved.
  650 +
  651 +# serial 6
  652 +
  653 +# AM_MISSING_PROG(NAME, PROGRAM)
  654 +# ------------------------------
  655 +AC_DEFUN([AM_MISSING_PROG],
  656 +[AC_REQUIRE([AM_MISSING_HAS_RUN])
  657 +$1=${$1-"${am_missing_run}$2"}
  658 +AC_SUBST($1)])
  659 +
  660 +
  661 +# AM_MISSING_HAS_RUN
  662 +# ------------------
  663 +# Define MISSING if not defined so far and test if it supports --run.
  664 +# If it does, set am_missing_run to use it, otherwise, to nothing.
  665 +AC_DEFUN([AM_MISSING_HAS_RUN],
  666 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  667 +AC_REQUIRE_AUX_FILE([missing])dnl
  668 +if test x"${MISSING+set}" != xset; then
  669 + case $am_aux_dir in
  670 + *\ * | *\ *)
  671 + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  672 + *)
  673 + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  674 + esac
  675 +fi
  676 +# Use eval to expand $SHELL
  677 +if eval "$MISSING --run true"; then
  678 + am_missing_run="$MISSING --run "
  679 +else
  680 + am_missing_run=
  681 + AC_MSG_WARN([`missing' script is too old or missing])
  682 +fi
  683 +])
  684 +
  685 +# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  686 +#
  687 +# This file is free software; the Free Software Foundation
  688 +# gives unlimited permission to copy and/or distribute it,
  689 +# with or without modifications, as long as this notice is preserved.
  690 +
  691 +# AM_PROG_MKDIR_P
  692 +# ---------------
  693 +# Check for `mkdir -p'.
  694 +AC_DEFUN([AM_PROG_MKDIR_P],
  695 +[AC_PREREQ([2.60])dnl
  696 +AC_REQUIRE([AC_PROG_MKDIR_P])dnl
  697 +dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
  698 +dnl while keeping a definition of mkdir_p for backward compatibility.
  699 +dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
  700 +dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
  701 +dnl Makefile.ins that do not define MKDIR_P, so we do our own
  702 +dnl adjustment using top_builddir (which is defined more often than
  703 +dnl MKDIR_P).
  704 +AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
  705 +case $mkdir_p in
  706 + [[\\/$]]* | ?:[[\\/]]*) ;;
  707 + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  708 +esac
  709 +])
  710 +
  711 +# Helper functions for option handling. -*- Autoconf -*-
  712 +
  713 +# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
  714 +#
  715 +# This file is free software; the Free Software Foundation
  716 +# gives unlimited permission to copy and/or distribute it,
  717 +# with or without modifications, as long as this notice is preserved.
  718 +
  719 +# serial 4
  720 +
  721 +# _AM_MANGLE_OPTION(NAME)
  722 +# -----------------------
  723 +AC_DEFUN([_AM_MANGLE_OPTION],
  724 +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
  725 +
  726 +# _AM_SET_OPTION(NAME)
  727 +# ------------------------------
  728 +# Set option NAME. Presently that only means defining a flag for this option.
  729 +AC_DEFUN([_AM_SET_OPTION],
  730 +[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
  731 +
  732 +# _AM_SET_OPTIONS(OPTIONS)
  733 +# ----------------------------------
  734 +# OPTIONS is a space-separated list of Automake options.
  735 +AC_DEFUN([_AM_SET_OPTIONS],
  736 +[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
  737 +
  738 +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
  739 +# -------------------------------------------
  740 +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
  741 +AC_DEFUN([_AM_IF_OPTION],
  742 +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
  743 +
  744 +# Check to make sure that the build environment is sane. -*- Autoconf -*-
  745 +
  746 +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
  747 +# Free Software Foundation, Inc.
  748 +#
  749 +# This file is free software; the Free Software Foundation
  750 +# gives unlimited permission to copy and/or distribute it,
  751 +# with or without modifications, as long as this notice is preserved.
  752 +
  753 +# serial 5
  754 +
  755 +# AM_SANITY_CHECK
  756 +# ---------------
  757 +AC_DEFUN([AM_SANITY_CHECK],
  758 +[AC_MSG_CHECKING([whether build environment is sane])
  759 +# Just in case
  760 +sleep 1
  761 +echo timestamp > conftest.file
  762 +# Reject unsafe characters in $srcdir or the absolute working directory
  763 +# name. Accept space and tab only in the latter.
  764 +am_lf='
  765 +'
  766 +case `pwd` in
  767 + *[[\\\"\#\$\&\'\`$am_lf]]*)
  768 + AC_MSG_ERROR([unsafe absolute working directory name]);;
  769 +esac
  770 +case $srcdir in
  771 + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
  772 + AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
  773 +esac
  774 +
  775 +# Do `set' in a subshell so we don't clobber the current shell's
  776 +# arguments. Must try -L first in case configure is actually a
  777 +# symlink; some systems play weird games with the mod time of symlinks
  778 +# (eg FreeBSD returns the mod time of the symlink's containing
  779 +# directory).
  780 +if (
  781 + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  782 + if test "$[*]" = "X"; then
  783 + # -L didn't work.
  784 + set X `ls -t "$srcdir/configure" conftest.file`
  785 + fi
  786 + rm -f conftest.file
  787 + if test "$[*]" != "X $srcdir/configure conftest.file" \
  788 + && test "$[*]" != "X conftest.file $srcdir/configure"; then
  789 +
  790 + # If neither matched, then we have a broken ls. This can happen
  791 + # if, for instance, CONFIG_SHELL is bash and it inherits a
  792 + # broken ls alias from the environment. This has actually
  793 + # happened. Such a system could not be considered "sane".
  794 + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
  795 +alias in your environment])
  796 + fi
  797 +
  798 + test "$[2]" = conftest.file
  799 + )
  800 +then
  801 + # Ok.
  802 + :
  803 +else
  804 + AC_MSG_ERROR([newly created file is older than distributed files!
  805 +Check your system clock])
  806 +fi
  807 +AC_MSG_RESULT(yes)])
  808 +
  809 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
  810 +#
  811 +# This file is free software; the Free Software Foundation
  812 +# gives unlimited permission to copy and/or distribute it,
  813 +# with or without modifications, as long as this notice is preserved.
  814 +
  815 +# AM_PROG_INSTALL_STRIP
  816 +# ---------------------
  817 +# One issue with vendor `install' (even GNU) is that you can't
  818 +# specify the program used to strip binaries. This is especially
  819 +# annoying in cross-compiling environments, where the build's strip
  820 +# is unlikely to handle the host's binaries.
  821 +# Fortunately install-sh will honor a STRIPPROG variable, so we
  822 +# always use install-sh in `make install-strip', and initialize
  823 +# STRIPPROG with the value of the STRIP variable (set by the user).
  824 +AC_DEFUN([AM_PROG_INSTALL_STRIP],
  825 +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  826 +# Installed binaries are usually stripped using `strip' when the user
  827 +# run `make install-strip'. However `strip' might not be the right
  828 +# tool to use in cross-compilation environments, therefore Automake
  829 +# will honor the `STRIP' environment variable to overrule this program.
  830 +dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
  831 +if test "$cross_compiling" != no; then
  832 + AC_CHECK_TOOL([STRIP], [strip], :)
  833 +fi
  834 +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  835 +AC_SUBST([INSTALL_STRIP_PROGRAM])])
  836 +
  837 +# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
  838 +#
  839 +# This file is free software; the Free Software Foundation
  840 +# gives unlimited permission to copy and/or distribute it,
  841 +# with or without modifications, as long as this notice is preserved.
  842 +
  843 +# serial 2
  844 +
  845 +# _AM_SUBST_NOTMAKE(VARIABLE)
  846 +# ---------------------------
  847 +# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
  848 +# This macro is traced by Automake.
  849 +AC_DEFUN([_AM_SUBST_NOTMAKE])
  850 +
  851 +# AM_SUBST_NOTMAKE(VARIABLE)
  852 +# ---------------------------
  853 +# Public sister of _AM_SUBST_NOTMAKE.
  854 +AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
  855 +
  856 +# Check how to create a tarball. -*- Autoconf -*-
  857 +
  858 +# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
  859 +#
  860 +# This file is free software; the Free Software Foundation
  861 +# gives unlimited permission to copy and/or distribute it,
  862 +# with or without modifications, as long as this notice is preserved.
  863 +
  864 +# serial 2
  865 +
  866 +# _AM_PROG_TAR(FORMAT)
  867 +# --------------------
  868 +# Check how to create a tarball in format FORMAT.
  869 +# FORMAT should be one of `v7', `ustar', or `pax'.
  870 +#
  871 +# Substitute a variable $(am__tar) that is a command
  872 +# writing to stdout a FORMAT-tarball containing the directory
  873 +# $tardir.
  874 +# tardir=directory && $(am__tar) > result.tar
  875 +#
  876 +# Substitute a variable $(am__untar) that extract such
  877 +# a tarball read from stdin.
  878 +# $(am__untar) < result.tar
  879 +AC_DEFUN([_AM_PROG_TAR],
  880 +[# Always define AMTAR for backward compatibility.
  881 +AM_MISSING_PROG([AMTAR], [tar])
  882 +m4_if([$1], [v7],
  883 + [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
  884 + [m4_case([$1], [ustar],, [pax],,
  885 + [m4_fatal([Unknown tar format])])
  886 +AC_MSG_CHECKING([how to create a $1 tar archive])
  887 +# Loop over all known methods to create a tar archive until one works.
  888 +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
  889 +_am_tools=${am_cv_prog_tar_$1-$_am_tools}
  890 +# Do not fold the above two line into one, because Tru64 sh and
  891 +# Solaris sh will not grok spaces in the rhs of `-'.
  892 +for _am_tool in $_am_tools
  893 +do
  894 + case $_am_tool in
  895 + gnutar)
  896 + for _am_tar in tar gnutar gtar;
  897 + do
  898 + AM_RUN_LOG([$_am_tar --version]) && break
  899 + done
  900 + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
  901 + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
  902 + am__untar="$_am_tar -xf -"
  903 + ;;
  904 + plaintar)
  905 + # Must skip GNU tar: if it does not support --format= it doesn't create
  906 + # ustar tarball either.
  907 + (tar --version) >/dev/null 2>&1 && continue
  908 + am__tar='tar chf - "$$tardir"'
  909 + am__tar_='tar chf - "$tardir"'
  910 + am__untar='tar xf -'
  911 + ;;
  912 + pax)
  913 + am__tar='pax -L -x $1 -w "$$tardir"'
  914 + am__tar_='pax -L -x $1 -w "$tardir"'
  915 + am__untar='pax -r'
  916 + ;;
  917 + cpio)
  918 + am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
  919 + am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
  920 + am__untar='cpio -i -H $1 -d'
  921 + ;;
  922 + none)
  923 + am__tar=false
  924 + am__tar_=false
  925 + am__untar=false
  926 + ;;
  927 + esac
  928 +
  929 + # If the value was cached, stop now. We just wanted to have am__tar
  930 + # and am__untar set.
  931 + test -n "${am_cv_prog_tar_$1}" && break
  932 +
  933 + # tar/untar a dummy directory, and stop if the command works
  934 + rm -rf conftest.dir
  935 + mkdir conftest.dir
  936 + echo GrepMe > conftest.dir/file
  937 + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
  938 + rm -rf conftest.dir
  939 + if test -s conftest.tar; then
  940 + AM_RUN_LOG([$am__untar <conftest.tar])
  941 + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
  942 + fi
  943 +done
  944 +rm -rf conftest.dir
  945 +
  946 +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
  947 +AC_MSG_RESULT([$am_cv_prog_tar_$1])])
  948 +AC_SUBST([am__tar])
  949 +AC_SUBST([am__untar])
  950 +]) # _AM_PROG_TAR
  951 +
dsoextractfw/configure 0 โ†’ 100755
  1 +#! /bin/sh
  2 +# Guess values for system-dependent variables and create Makefiles.
  3 +# Generated by GNU Autoconf 2.65.
  4 +#
  5 +#
  6 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  7 +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  8 +# Inc.
  9 +#
  10 +#
  11 +# This configure script is free software; the Free Software Foundation
  12 +# gives unlimited permission to copy, distribute and modify it.
  13 +## -------------------- ##
  14 +## M4sh Initialization. ##
  15 +## -------------------- ##
  16 +
  17 +# Be more Bourne compatible
  18 +DUALCASE=1; export DUALCASE # for MKS sh
  19 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  20 + emulate sh
  21 + NULLCMD=:
  22 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  23 + # is contrary to our usage. Disable this feature.
  24 + alias -g '${1+"$@"}'='"$@"'
  25 + setopt NO_GLOB_SUBST
  26 +else
  27 + case `(set -o) 2>/dev/null` in #(
  28 + *posix*) :
  29 + set -o posix ;; #(
  30 + *) :
  31 + ;;
  32 +esac
  33 +fi
  34 +
  35 +
  36 +as_nl='
  37 +'
  38 +export as_nl
  39 +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  40 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  41 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  42 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  43 +# Prefer a ksh shell builtin over an external printf program on Solaris,
  44 +# but without wasting forks for bash or zsh.
  45 +if test -z "$BASH_VERSION$ZSH_VERSION" \
  46 + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  47 + as_echo='print -r --'
  48 + as_echo_n='print -rn --'
  49 +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  50 + as_echo='printf %s\n'
  51 + as_echo_n='printf %s'
  52 +else
  53 + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  54 + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  55 + as_echo_n='/usr/ucb/echo -n'
  56 + else
  57 + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  58 + as_echo_n_body='eval
  59 + arg=$1;
  60 + case $arg in #(
  61 + *"$as_nl"*)
  62 + expr "X$arg" : "X\\(.*\\)$as_nl";
  63 + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  64 + esac;
  65 + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  66 + '
  67 + export as_echo_n_body
  68 + as_echo_n='sh -c $as_echo_n_body as_echo'
  69 + fi
  70 + export as_echo_body
  71 + as_echo='sh -c $as_echo_body as_echo'
  72 +fi
  73 +
  74 +# The user is always right.
  75 +if test "${PATH_SEPARATOR+set}" != set; then
  76 + PATH_SEPARATOR=:
  77 + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  78 + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  79 + PATH_SEPARATOR=';'
  80 + }
  81 +fi
  82 +
  83 +
  84 +# IFS
  85 +# We need space, tab and new line, in precisely that order. Quoting is
  86 +# there to prevent editors from complaining about space-tab.
  87 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  88 +# splitting by setting IFS to empty value.)
  89 +IFS=" "" $as_nl"
  90 +
  91 +# Find who we are. Look in the path if we contain no directory separator.
  92 +case $0 in #((
  93 + *[\\/]* ) as_myself=$0 ;;
  94 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  95 +for as_dir in $PATH
  96 +do
  97 + IFS=$as_save_IFS
  98 + test -z "$as_dir" && as_dir=.
  99 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  100 + done
  101 +IFS=$as_save_IFS
  102 +
  103 + ;;
  104 +esac
  105 +# We did not find ourselves, most probably we were run as `sh COMMAND'
  106 +# in which case we are not to be found in the path.
  107 +if test "x$as_myself" = x; then
  108 + as_myself=$0
  109 +fi
  110 +if test ! -f "$as_myself"; then
  111 + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  112 + exit 1
  113 +fi
  114 +
  115 +# Unset variables that we do not need and which cause bugs (e.g. in
  116 +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  117 +# suppresses any "Segmentation fault" message there. '((' could
  118 +# trigger a bug in pdksh 5.2.14.
  119 +for as_var in BASH_ENV ENV MAIL MAILPATH
  120 +do eval test x\${$as_var+set} = xset \
  121 + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  122 +done
  123 +PS1='$ '
  124 +PS2='> '
  125 +PS4='+ '
  126 +
  127 +# NLS nuisances.
  128 +LC_ALL=C
  129 +export LC_ALL
  130 +LANGUAGE=C
  131 +export LANGUAGE
  132 +
  133 +# CDPATH.
  134 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  135 +
  136 +if test "x$CONFIG_SHELL" = x; then
  137 + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  138 + emulate sh
  139 + NULLCMD=:
  140 + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  141 + # is contrary to our usage. Disable this feature.
  142 + alias -g '\${1+\"\$@\"}'='\"\$@\"'
  143 + setopt NO_GLOB_SUBST
  144 +else
  145 + case \`(set -o) 2>/dev/null\` in #(
  146 + *posix*) :
  147 + set -o posix ;; #(
  148 + *) :
  149 + ;;
  150 +esac
  151 +fi
  152 +"
  153 + as_required="as_fn_return () { (exit \$1); }
  154 +as_fn_success () { as_fn_return 0; }
  155 +as_fn_failure () { as_fn_return 1; }
  156 +as_fn_ret_success () { return 0; }
  157 +as_fn_ret_failure () { return 1; }
  158 +
  159 +exitcode=0
  160 +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  161 +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  162 +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  163 +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  164 +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  165 +
  166 +else
  167 + exitcode=1; echo positional parameters were not saved.
  168 +fi
  169 +test x\$exitcode = x0 || exit 1"
  170 + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  171 + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  172 + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  173 + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  174 +test \$(( 1 + 1 )) = 2 || exit 1"
  175 + if (eval "$as_required") 2>/dev/null; then :
  176 + as_have_required=yes
  177 +else
  178 + as_have_required=no
  179 +fi
  180 + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  181 +
  182 +else
  183 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  184 +as_found=false
  185 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  186 +do
  187 + IFS=$as_save_IFS
  188 + test -z "$as_dir" && as_dir=.
  189 + as_found=:
  190 + case $as_dir in #(
  191 + /*)
  192 + for as_base in sh bash ksh sh5; do
  193 + # Try only shells that exist, to save several forks.
  194 + as_shell=$as_dir/$as_base
  195 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  196 + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  197 + CONFIG_SHELL=$as_shell as_have_required=yes
  198 + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  199 + break 2
  200 +fi
  201 +fi
  202 + done;;
  203 + esac
  204 + as_found=false
  205 +done
  206 +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  207 + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  208 + CONFIG_SHELL=$SHELL as_have_required=yes
  209 +fi; }
  210 +IFS=$as_save_IFS
  211 +
  212 +
  213 + if test "x$CONFIG_SHELL" != x; then :
  214 + # We cannot yet assume a decent shell, so we have to provide a
  215 + # neutralization value for shells without unset; and this also
  216 + # works around shells that cannot unset nonexistent variables.
  217 + BASH_ENV=/dev/null
  218 + ENV=/dev/null
  219 + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  220 + export CONFIG_SHELL
  221 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  222 +fi
  223 +
  224 + if test x$as_have_required = xno; then :
  225 + $as_echo "$0: This script requires a shell more modern than all"
  226 + $as_echo "$0: the shells that I found on your system."
  227 + if test x${ZSH_VERSION+set} = xset ; then
  228 + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  229 + $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  230 + else
  231 + $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  232 +$0: including any error possibly output before this
  233 +$0: message. Then install a modern shell, or manually run
  234 +$0: the script under such a shell if you do have one."
  235 + fi
  236 + exit 1
  237 +fi
  238 +fi
  239 +fi
  240 +SHELL=${CONFIG_SHELL-/bin/sh}
  241 +export SHELL
  242 +# Unset more variables known to interfere with behavior of common tools.
  243 +CLICOLOR_FORCE= GREP_OPTIONS=
  244 +unset CLICOLOR_FORCE GREP_OPTIONS
  245 +
  246 +## --------------------- ##
  247 +## M4sh Shell Functions. ##
  248 +## --------------------- ##
  249 +# as_fn_unset VAR
  250 +# ---------------
  251 +# Portably unset VAR.
  252 +as_fn_unset ()
  253 +{
  254 + { eval $1=; unset $1;}
  255 +}
  256 +as_unset=as_fn_unset
  257 +
  258 +# as_fn_set_status STATUS
  259 +# -----------------------
  260 +# Set $? to STATUS, without forking.
  261 +as_fn_set_status ()
  262 +{
  263 + return $1
  264 +} # as_fn_set_status
  265 +
  266 +# as_fn_exit STATUS
  267 +# -----------------
  268 +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  269 +as_fn_exit ()
  270 +{
  271 + set +e
  272 + as_fn_set_status $1
  273 + exit $1
  274 +} # as_fn_exit
  275 +
  276 +# as_fn_mkdir_p
  277 +# -------------
  278 +# Create "$as_dir" as a directory, including parents if necessary.
  279 +as_fn_mkdir_p ()
  280 +{
  281 +
  282 + case $as_dir in #(
  283 + -*) as_dir=./$as_dir;;
  284 + esac
  285 + test -d "$as_dir" || eval $as_mkdir_p || {
  286 + as_dirs=
  287 + while :; do
  288 + case $as_dir in #(
  289 + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  290 + *) as_qdir=$as_dir;;
  291 + esac
  292 + as_dirs="'$as_qdir' $as_dirs"
  293 + as_dir=`$as_dirname -- "$as_dir" ||
  294 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  295 + X"$as_dir" : 'X\(//\)[^/]' \| \
  296 + X"$as_dir" : 'X\(//\)$' \| \
  297 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  298 +$as_echo X"$as_dir" |
  299 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  300 + s//\1/
  301 + q
  302 + }
  303 + /^X\(\/\/\)[^/].*/{
  304 + s//\1/
  305 + q
  306 + }
  307 + /^X\(\/\/\)$/{
  308 + s//\1/
  309 + q
  310 + }
  311 + /^X\(\/\).*/{
  312 + s//\1/
  313 + q
  314 + }
  315 + s/.*/./; q'`
  316 + test -d "$as_dir" && break
  317 + done
  318 + test -z "$as_dirs" || eval "mkdir $as_dirs"
  319 + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  320 +
  321 +
  322 +} # as_fn_mkdir_p
  323 +# as_fn_append VAR VALUE
  324 +# ----------------------
  325 +# Append the text in VALUE to the end of the definition contained in VAR. Take
  326 +# advantage of any shell optimizations that allow amortized linear growth over
  327 +# repeated appends, instead of the typical quadratic growth present in naive
  328 +# implementations.
  329 +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  330 + eval 'as_fn_append ()
  331 + {
  332 + eval $1+=\$2
  333 + }'
  334 +else
  335 + as_fn_append ()
  336 + {
  337 + eval $1=\$$1\$2
  338 + }
  339 +fi # as_fn_append
  340 +
  341 +# as_fn_arith ARG...
  342 +# ------------------
  343 +# Perform arithmetic evaluation on the ARGs, and store the result in the
  344 +# global $as_val. Take advantage of shells that can avoid forks. The arguments
  345 +# must be portable across $(()) and expr.
  346 +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  347 + eval 'as_fn_arith ()
  348 + {
  349 + as_val=$(( $* ))
  350 + }'
  351 +else
  352 + as_fn_arith ()
  353 + {
  354 + as_val=`expr "$@" || test $? -eq 1`
  355 + }
  356 +fi # as_fn_arith
  357 +
  358 +
  359 +# as_fn_error ERROR [LINENO LOG_FD]
  360 +# ---------------------------------
  361 +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  362 +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  363 +# script with status $?, using 1 if that was 0.
  364 +as_fn_error ()
  365 +{
  366 + as_status=$?; test $as_status -eq 0 && as_status=1
  367 + if test "$3"; then
  368 + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  369 + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  370 + fi
  371 + $as_echo "$as_me: error: $1" >&2
  372 + as_fn_exit $as_status
  373 +} # as_fn_error
  374 +
  375 +if expr a : '\(a\)' >/dev/null 2>&1 &&
  376 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  377 + as_expr=expr
  378 +else
  379 + as_expr=false
  380 +fi
  381 +
  382 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  383 + as_basename=basename
  384 +else
  385 + as_basename=false
  386 +fi
  387 +
  388 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  389 + as_dirname=dirname
  390 +else
  391 + as_dirname=false
  392 +fi
  393 +
  394 +as_me=`$as_basename -- "$0" ||
  395 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  396 + X"$0" : 'X\(//\)$' \| \
  397 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  398 +$as_echo X/"$0" |
  399 + sed '/^.*\/\([^/][^/]*\)\/*$/{
  400 + s//\1/
  401 + q
  402 + }
  403 + /^X\/\(\/\/\)$/{
  404 + s//\1/
  405 + q
  406 + }
  407 + /^X\/\(\/\).*/{
  408 + s//\1/
  409 + q
  410 + }
  411 + s/.*/./; q'`
  412 +
  413 +# Avoid depending upon Character Ranges.
  414 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  415 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  416 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  417 +as_cr_digits='0123456789'
  418 +as_cr_alnum=$as_cr_Letters$as_cr_digits
  419 +
  420 +
  421 + as_lineno_1=$LINENO as_lineno_1a=$LINENO
  422 + as_lineno_2=$LINENO as_lineno_2a=$LINENO
  423 + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  424 + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  425 + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  426 + sed -n '
  427 + p
  428 + /[$]LINENO/=
  429 + ' <$as_myself |
  430 + sed '
  431 + s/[$]LINENO.*/&-/
  432 + t lineno
  433 + b
  434 + :lineno
  435 + N
  436 + :loop
  437 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  438 + t loop
  439 + s/-\n.*//
  440 + ' >$as_me.lineno &&
  441 + chmod +x "$as_me.lineno" ||
  442 + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  443 +
  444 + # Don't try to exec as it changes $[0], causing all sort of problems
  445 + # (the dirname of $[0] is not the place where we might find the
  446 + # original and so on. Autoconf is especially sensitive to this).
  447 + . "./$as_me.lineno"
  448 + # Exit status is that of the last command.
  449 + exit
  450 +}
  451 +
  452 +ECHO_C= ECHO_N= ECHO_T=
  453 +case `echo -n x` in #(((((
  454 +-n*)
  455 + case `echo 'xy\c'` in
  456 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  457 + xy) ECHO_C='\c';;
  458 + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  459 + ECHO_T=' ';;
  460 + esac;;
  461 +*)
  462 + ECHO_N='-n';;
  463 +esac
  464 +
  465 +rm -f conf$$ conf$$.exe conf$$.file
  466 +if test -d conf$$.dir; then
  467 + rm -f conf$$.dir/conf$$.file
  468 +else
  469 + rm -f conf$$.dir
  470 + mkdir conf$$.dir 2>/dev/null
  471 +fi
  472 +if (echo >conf$$.file) 2>/dev/null; then
  473 + if ln -s conf$$.file conf$$ 2>/dev/null; then
  474 + as_ln_s='ln -s'
  475 + # ... but there are two gotchas:
  476 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  477 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  478 + # In both cases, we have to default to `cp -p'.
  479 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  480 + as_ln_s='cp -p'
  481 + elif ln conf$$.file conf$$ 2>/dev/null; then
  482 + as_ln_s=ln
  483 + else
  484 + as_ln_s='cp -p'
  485 + fi
  486 +else
  487 + as_ln_s='cp -p'
  488 +fi
  489 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  490 +rmdir conf$$.dir 2>/dev/null
  491 +
  492 +if mkdir -p . 2>/dev/null; then
  493 + as_mkdir_p='mkdir -p "$as_dir"'
  494 +else
  495 + test -d ./-p && rmdir ./-p
  496 + as_mkdir_p=false
  497 +fi
  498 +
  499 +if test -x / >/dev/null 2>&1; then
  500 + as_test_x='test -x'
  501 +else
  502 + if ls -dL / >/dev/null 2>&1; then
  503 + as_ls_L_option=L
  504 + else
  505 + as_ls_L_option=
  506 + fi
  507 + as_test_x='
  508 + eval sh -c '\''
  509 + if test -d "$1"; then
  510 + test -d "$1/.";
  511 + else
  512 + case $1 in #(
  513 + -*)set "./$1";;
  514 + esac;
  515 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  516 + ???[sx]*):;;*)false;;esac;fi
  517 + '\'' sh
  518 + '
  519 +fi
  520 +as_executable_p=$as_test_x
  521 +
  522 +# Sed expression to map a string onto a valid CPP name.
  523 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  524 +
  525 +# Sed expression to map a string onto a valid variable name.
  526 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  527 +
  528 +
  529 +test -n "$DJDIR" || exec 7<&0 </dev/null
  530 +exec 6>&1
  531 +
  532 +# Name of the host.
  533 +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  534 +# so uname gets run too.
  535 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  536 +
  537 +#
  538 +# Initializations.
  539 +#
  540 +ac_default_prefix=/usr/local
  541 +ac_clean_files=
  542 +ac_config_libobj_dir=.
  543 +LIBOBJS=
  544 +cross_compiling=no
  545 +subdirs=
  546 +MFLAGS=
  547 +MAKEFLAGS=
  548 +
  549 +# Identity of this package.
  550 +PACKAGE_NAME=
  551 +PACKAGE_TARNAME=
  552 +PACKAGE_VERSION=
  553 +PACKAGE_STRING=
  554 +PACKAGE_BUGREPORT=
  555 +PACKAGE_URL=
  556 +
  557 +ac_unique_file="dsoextractfw.c"
  558 +# Factoring default headers for most tests.
  559 +ac_includes_default="\
  560 +#include <stdio.h>
  561 +#ifdef HAVE_SYS_TYPES_H
  562 +# include <sys/types.h>
  563 +#endif
  564 +#ifdef HAVE_SYS_STAT_H
  565 +# include <sys/stat.h>
  566 +#endif
  567 +#ifdef STDC_HEADERS
  568 +# include <stdlib.h>
  569 +# include <stddef.h>
  570 +#else
  571 +# ifdef HAVE_STDLIB_H
  572 +# include <stdlib.h>
  573 +# endif
  574 +#endif
  575 +#ifdef HAVE_STRING_H
  576 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  577 +# include <memory.h>
  578 +# endif
  579 +# include <string.h>
  580 +#endif
  581 +#ifdef HAVE_STRINGS_H
  582 +# include <strings.h>
  583 +#endif
  584 +#ifdef HAVE_INTTYPES_H
  585 +# include <inttypes.h>
  586 +#endif
  587 +#ifdef HAVE_STDINT_H
  588 +# include <stdint.h>
  589 +#endif
  590 +#ifdef HAVE_UNISTD_H
  591 +# include <unistd.h>
  592 +#endif"
  593 +
  594 +ac_subst_vars='am__EXEEXT_FALSE
  595 +am__EXEEXT_TRUE
  596 +LTLIBOBJS
  597 +LIBOBJS
  598 +EGREP
  599 +GREP
  600 +CPP
  601 +am__fastdepCC_FALSE
  602 +am__fastdepCC_TRUE
  603 +CCDEPMODE
  604 +AMDEPBACKSLASH
  605 +AMDEP_FALSE
  606 +AMDEP_TRUE
  607 +am__quote
  608 +am__include
  609 +DEPDIR
  610 +OBJEXT
  611 +EXEEXT
  612 +ac_ct_CC
  613 +CPPFLAGS
  614 +LDFLAGS
  615 +CFLAGS
  616 +CC
  617 +am__untar
  618 +am__tar
  619 +AMTAR
  620 +am__leading_dot
  621 +SET_MAKE
  622 +AWK
  623 +mkdir_p
  624 +MKDIR_P
  625 +INSTALL_STRIP_PROGRAM
  626 +STRIP
  627 +install_sh
  628 +MAKEINFO
  629 +AUTOHEADER
  630 +AUTOMAKE
  631 +AUTOCONF
  632 +ACLOCAL
  633 +VERSION
  634 +PACKAGE
  635 +CYGPATH_W
  636 +am__isrc
  637 +INSTALL_DATA
  638 +INSTALL_SCRIPT
  639 +INSTALL_PROGRAM
  640 +target_alias
  641 +host_alias
  642 +build_alias
  643 +LIBS
  644 +ECHO_T
  645 +ECHO_N
  646 +ECHO_C
  647 +DEFS
  648 +mandir
  649 +localedir
  650 +libdir
  651 +psdir
  652 +pdfdir
  653 +dvidir
  654 +htmldir
  655 +infodir
  656 +docdir
  657 +oldincludedir
  658 +includedir
  659 +localstatedir
  660 +sharedstatedir
  661 +sysconfdir
  662 +datadir
  663 +datarootdir
  664 +libexecdir
  665 +sbindir
  666 +bindir
  667 +program_transform_name
  668 +prefix
  669 +exec_prefix
  670 +PACKAGE_URL
  671 +PACKAGE_BUGREPORT
  672 +PACKAGE_STRING
  673 +PACKAGE_VERSION
  674 +PACKAGE_TARNAME
  675 +PACKAGE_NAME
  676 +PATH_SEPARATOR
  677 +SHELL'
  678 +ac_subst_files=''
  679 +ac_user_opts='
  680 +enable_option_checking
  681 +enable_dependency_tracking
  682 +'
  683 + ac_precious_vars='build_alias
  684 +host_alias
  685 +target_alias
  686 +CC
  687 +CFLAGS
  688 +LDFLAGS
  689 +LIBS
  690 +CPPFLAGS
  691 +CPP'
  692 +
  693 +
  694 +# Initialize some variables set by options.
  695 +ac_init_help=
  696 +ac_init_version=false
  697 +ac_unrecognized_opts=
  698 +ac_unrecognized_sep=
  699 +# The variables have the same names as the options, with
  700 +# dashes changed to underlines.
  701 +cache_file=/dev/null
  702 +exec_prefix=NONE
  703 +no_create=
  704 +no_recursion=
  705 +prefix=NONE
  706 +program_prefix=NONE
  707 +program_suffix=NONE
  708 +program_transform_name=s,x,x,
  709 +silent=
  710 +site=
  711 +srcdir=
  712 +verbose=
  713 +x_includes=NONE
  714 +x_libraries=NONE
  715 +
  716 +# Installation directory options.
  717 +# These are left unexpanded so users can "make install exec_prefix=/foo"
  718 +# and all the variables that are supposed to be based on exec_prefix
  719 +# by default will actually change.
  720 +# Use braces instead of parens because sh, perl, etc. also accept them.
  721 +# (The list follows the same order as the GNU Coding Standards.)
  722 +bindir='${exec_prefix}/bin'
  723 +sbindir='${exec_prefix}/sbin'
  724 +libexecdir='${exec_prefix}/libexec'
  725 +datarootdir='${prefix}/share'
  726 +datadir='${datarootdir}'
  727 +sysconfdir='${prefix}/etc'
  728 +sharedstatedir='${prefix}/com'
  729 +localstatedir='${prefix}/var'
  730 +includedir='${prefix}/include'
  731 +oldincludedir='/usr/include'
  732 +docdir='${datarootdir}/doc/${PACKAGE}'
  733 +infodir='${datarootdir}/info'
  734 +htmldir='${docdir}'
  735 +dvidir='${docdir}'
  736 +pdfdir='${docdir}'
  737 +psdir='${docdir}'
  738 +libdir='${exec_prefix}/lib'
  739 +localedir='${datarootdir}/locale'
  740 +mandir='${datarootdir}/man'
  741 +
  742 +ac_prev=
  743 +ac_dashdash=
  744 +for ac_option
  745 +do
  746 + # If the previous option needs an argument, assign it.
  747 + if test -n "$ac_prev"; then
  748 + eval $ac_prev=\$ac_option
  749 + ac_prev=
  750 + continue
  751 + fi
  752 +
  753 + case $ac_option in
  754 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  755 + *) ac_optarg=yes ;;
  756 + esac
  757 +
  758 + # Accept the important Cygnus configure options, so we can diagnose typos.
  759 +
  760 + case $ac_dashdash$ac_option in
  761 + --)
  762 + ac_dashdash=yes ;;
  763 +
  764 + -bindir | --bindir | --bindi | --bind | --bin | --bi)
  765 + ac_prev=bindir ;;
  766 + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  767 + bindir=$ac_optarg ;;
  768 +
  769 + -build | --build | --buil | --bui | --bu)
  770 + ac_prev=build_alias ;;
  771 + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  772 + build_alias=$ac_optarg ;;
  773 +
  774 + -cache-file | --cache-file | --cache-fil | --cache-fi \
  775 + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  776 + ac_prev=cache_file ;;
  777 + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  778 + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  779 + cache_file=$ac_optarg ;;
  780 +
  781 + --config-cache | -C)
  782 + cache_file=config.cache ;;
  783 +
  784 + -datadir | --datadir | --datadi | --datad)
  785 + ac_prev=datadir ;;
  786 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
  787 + datadir=$ac_optarg ;;
  788 +
  789 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  790 + | --dataroo | --dataro | --datar)
  791 + ac_prev=datarootdir ;;
  792 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  793 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  794 + datarootdir=$ac_optarg ;;
  795 +
  796 + -disable-* | --disable-*)
  797 + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  798 + # Reject names that are not valid shell variable names.
  799 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  800 + as_fn_error "invalid feature name: $ac_useropt"
  801 + ac_useropt_orig=$ac_useropt
  802 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  803 + case $ac_user_opts in
  804 + *"
  805 +"enable_$ac_useropt"
  806 +"*) ;;
  807 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  808 + ac_unrecognized_sep=', ';;
  809 + esac
  810 + eval enable_$ac_useropt=no ;;
  811 +
  812 + -docdir | --docdir | --docdi | --doc | --do)
  813 + ac_prev=docdir ;;
  814 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  815 + docdir=$ac_optarg ;;
  816 +
  817 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  818 + ac_prev=dvidir ;;
  819 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  820 + dvidir=$ac_optarg ;;
  821 +
  822 + -enable-* | --enable-*)
  823 + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  824 + # Reject names that are not valid shell variable names.
  825 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  826 + as_fn_error "invalid feature name: $ac_useropt"
  827 + ac_useropt_orig=$ac_useropt
  828 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  829 + case $ac_user_opts in
  830 + *"
  831 +"enable_$ac_useropt"
  832 +"*) ;;
  833 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  834 + ac_unrecognized_sep=', ';;
  835 + esac
  836 + eval enable_$ac_useropt=\$ac_optarg ;;
  837 +
  838 + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  839 + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  840 + | --exec | --exe | --ex)
  841 + ac_prev=exec_prefix ;;
  842 + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  843 + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  844 + | --exec=* | --exe=* | --ex=*)
  845 + exec_prefix=$ac_optarg ;;
  846 +
  847 + -gas | --gas | --ga | --g)
  848 + # Obsolete; use --with-gas.
  849 + with_gas=yes ;;
  850 +
  851 + -help | --help | --hel | --he | -h)
  852 + ac_init_help=long ;;
  853 + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  854 + ac_init_help=recursive ;;
  855 + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  856 + ac_init_help=short ;;
  857 +
  858 + -host | --host | --hos | --ho)
  859 + ac_prev=host_alias ;;
  860 + -host=* | --host=* | --hos=* | --ho=*)
  861 + host_alias=$ac_optarg ;;
  862 +
  863 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  864 + ac_prev=htmldir ;;
  865 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  866 + | --ht=*)
  867 + htmldir=$ac_optarg ;;
  868 +
  869 + -includedir | --includedir | --includedi | --included | --include \
  870 + | --includ | --inclu | --incl | --inc)
  871 + ac_prev=includedir ;;
  872 + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  873 + | --includ=* | --inclu=* | --incl=* | --inc=*)
  874 + includedir=$ac_optarg ;;
  875 +
  876 + -infodir | --infodir | --infodi | --infod | --info | --inf)
  877 + ac_prev=infodir ;;
  878 + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  879 + infodir=$ac_optarg ;;
  880 +
  881 + -libdir | --libdir | --libdi | --libd)
  882 + ac_prev=libdir ;;
  883 + -libdir=* | --libdir=* | --libdi=* | --libd=*)
  884 + libdir=$ac_optarg ;;
  885 +
  886 + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  887 + | --libexe | --libex | --libe)
  888 + ac_prev=libexecdir ;;
  889 + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  890 + | --libexe=* | --libex=* | --libe=*)
  891 + libexecdir=$ac_optarg ;;
  892 +
  893 + -localedir | --localedir | --localedi | --localed | --locale)
  894 + ac_prev=localedir ;;
  895 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  896 + localedir=$ac_optarg ;;
  897 +
  898 + -localstatedir | --localstatedir | --localstatedi | --localstated \
  899 + | --localstate | --localstat | --localsta | --localst | --locals)
  900 + ac_prev=localstatedir ;;
  901 + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  902 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  903 + localstatedir=$ac_optarg ;;
  904 +
  905 + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  906 + ac_prev=mandir ;;
  907 + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  908 + mandir=$ac_optarg ;;
  909 +
  910 + -nfp | --nfp | --nf)
  911 + # Obsolete; use --without-fp.
  912 + with_fp=no ;;
  913 +
  914 + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  915 + | --no-cr | --no-c | -n)
  916 + no_create=yes ;;
  917 +
  918 + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  919 + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  920 + no_recursion=yes ;;
  921 +
  922 + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  923 + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  924 + | --oldin | --oldi | --old | --ol | --o)
  925 + ac_prev=oldincludedir ;;
  926 + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  927 + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  928 + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  929 + oldincludedir=$ac_optarg ;;
  930 +
  931 + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  932 + ac_prev=prefix ;;
  933 + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  934 + prefix=$ac_optarg ;;
  935 +
  936 + -program-prefix | --program-prefix | --program-prefi | --program-pref \
  937 + | --program-pre | --program-pr | --program-p)
  938 + ac_prev=program_prefix ;;
  939 + -program-prefix=* | --program-prefix=* | --program-prefi=* \
  940 + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  941 + program_prefix=$ac_optarg ;;
  942 +
  943 + -program-suffix | --program-suffix | --program-suffi | --program-suff \
  944 + | --program-suf | --program-su | --program-s)
  945 + ac_prev=program_suffix ;;
  946 + -program-suffix=* | --program-suffix=* | --program-suffi=* \
  947 + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  948 + program_suffix=$ac_optarg ;;
  949 +
  950 + -program-transform-name | --program-transform-name \
  951 + | --program-transform-nam | --program-transform-na \
  952 + | --program-transform-n | --program-transform- \
  953 + | --program-transform | --program-transfor \
  954 + | --program-transfo | --program-transf \
  955 + | --program-trans | --program-tran \
  956 + | --progr-tra | --program-tr | --program-t)
  957 + ac_prev=program_transform_name ;;
  958 + -program-transform-name=* | --program-transform-name=* \
  959 + | --program-transform-nam=* | --program-transform-na=* \
  960 + | --program-transform-n=* | --program-transform-=* \
  961 + | --program-transform=* | --program-transfor=* \
  962 + | --program-transfo=* | --program-transf=* \
  963 + | --program-trans=* | --program-tran=* \
  964 + | --progr-tra=* | --program-tr=* | --program-t=*)
  965 + program_transform_name=$ac_optarg ;;
  966 +
  967 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  968 + ac_prev=pdfdir ;;
  969 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  970 + pdfdir=$ac_optarg ;;
  971 +
  972 + -psdir | --psdir | --psdi | --psd | --ps)
  973 + ac_prev=psdir ;;
  974 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  975 + psdir=$ac_optarg ;;
  976 +
  977 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  978 + | -silent | --silent | --silen | --sile | --sil)
  979 + silent=yes ;;
  980 +
  981 + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  982 + ac_prev=sbindir ;;
  983 + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  984 + | --sbi=* | --sb=*)
  985 + sbindir=$ac_optarg ;;
  986 +
  987 + -sharedstatedir | --sharedstatedir | --sharedstatedi \
  988 + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  989 + | --sharedst | --shareds | --shared | --share | --shar \
  990 + | --sha | --sh)
  991 + ac_prev=sharedstatedir ;;
  992 + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  993 + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  994 + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  995 + | --sha=* | --sh=*)
  996 + sharedstatedir=$ac_optarg ;;
  997 +
  998 + -site | --site | --sit)
  999 + ac_prev=site ;;
  1000 + -site=* | --site=* | --sit=*)
  1001 + site=$ac_optarg ;;
  1002 +
  1003 + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1004 + ac_prev=srcdir ;;
  1005 + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1006 + srcdir=$ac_optarg ;;
  1007 +
  1008 + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1009 + | --syscon | --sysco | --sysc | --sys | --sy)
  1010 + ac_prev=sysconfdir ;;
  1011 + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1012 + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1013 + sysconfdir=$ac_optarg ;;
  1014 +
  1015 + -target | --target | --targe | --targ | --tar | --ta | --t)
  1016 + ac_prev=target_alias ;;
  1017 + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1018 + target_alias=$ac_optarg ;;
  1019 +
  1020 + -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1021 + verbose=yes ;;
  1022 +
  1023 + -version | --version | --versio | --versi | --vers | -V)
  1024 + ac_init_version=: ;;
  1025 +
  1026 + -with-* | --with-*)
  1027 + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1028 + # Reject names that are not valid shell variable names.
  1029 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1030 + as_fn_error "invalid package name: $ac_useropt"
  1031 + ac_useropt_orig=$ac_useropt
  1032 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1033 + case $ac_user_opts in
  1034 + *"
  1035 +"with_$ac_useropt"
  1036 +"*) ;;
  1037 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1038 + ac_unrecognized_sep=', ';;
  1039 + esac
  1040 + eval with_$ac_useropt=\$ac_optarg ;;
  1041 +
  1042 + -without-* | --without-*)
  1043 + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1044 + # Reject names that are not valid shell variable names.
  1045 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1046 + as_fn_error "invalid package name: $ac_useropt"
  1047 + ac_useropt_orig=$ac_useropt
  1048 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1049 + case $ac_user_opts in
  1050 + *"
  1051 +"with_$ac_useropt"
  1052 +"*) ;;
  1053 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1054 + ac_unrecognized_sep=', ';;
  1055 + esac
  1056 + eval with_$ac_useropt=no ;;
  1057 +
  1058 + --x)
  1059 + # Obsolete; use --with-x.
  1060 + with_x=yes ;;
  1061 +
  1062 + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1063 + | --x-incl | --x-inc | --x-in | --x-i)
  1064 + ac_prev=x_includes ;;
  1065 + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1066 + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1067 + x_includes=$ac_optarg ;;
  1068 +
  1069 + -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1070 + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1071 + ac_prev=x_libraries ;;
  1072 + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1073 + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1074 + x_libraries=$ac_optarg ;;
  1075 +
  1076 + -*) as_fn_error "unrecognized option: \`$ac_option'
  1077 +Try \`$0 --help' for more information."
  1078 + ;;
  1079 +
  1080 + *=*)
  1081 + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1082 + # Reject names that are not valid shell variable names.
  1083 + case $ac_envvar in #(
  1084 + '' | [0-9]* | *[!_$as_cr_alnum]* )
  1085 + as_fn_error "invalid variable name: \`$ac_envvar'" ;;
  1086 + esac
  1087 + eval $ac_envvar=\$ac_optarg
  1088 + export $ac_envvar ;;
  1089 +
  1090 + *)
  1091 + # FIXME: should be removed in autoconf 3.0.
  1092 + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1093 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1094 + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1095 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1096 + ;;
  1097 +
  1098 + esac
  1099 +done
  1100 +
  1101 +if test -n "$ac_prev"; then
  1102 + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1103 + as_fn_error "missing argument to $ac_option"
  1104 +fi
  1105 +
  1106 +if test -n "$ac_unrecognized_opts"; then
  1107 + case $enable_option_checking in
  1108 + no) ;;
  1109 + fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
  1110 + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1111 + esac
  1112 +fi
  1113 +
  1114 +# Check all directory arguments for consistency.
  1115 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1116 + datadir sysconfdir sharedstatedir localstatedir includedir \
  1117 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1118 + libdir localedir mandir
  1119 +do
  1120 + eval ac_val=\$$ac_var
  1121 + # Remove trailing slashes.
  1122 + case $ac_val in
  1123 + */ )
  1124 + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1125 + eval $ac_var=\$ac_val;;
  1126 + esac
  1127 + # Be sure to have absolute directory names.
  1128 + case $ac_val in
  1129 + [\\/$]* | ?:[\\/]* ) continue;;
  1130 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1131 + esac
  1132 + as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
  1133 +done
  1134 +
  1135 +# There might be people who depend on the old broken behavior: `$host'
  1136 +# used to hold the argument of --host etc.
  1137 +# FIXME: To remove some day.
  1138 +build=$build_alias
  1139 +host=$host_alias
  1140 +target=$target_alias
  1141 +
  1142 +# FIXME: To remove some day.
  1143 +if test "x$host_alias" != x; then
  1144 + if test "x$build_alias" = x; then
  1145 + cross_compiling=maybe
  1146 + $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1147 + If a cross compiler is detected then cross compile mode will be used." >&2
  1148 + elif test "x$build_alias" != "x$host_alias"; then
  1149 + cross_compiling=yes
  1150 + fi
  1151 +fi
  1152 +
  1153 +ac_tool_prefix=
  1154 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1155 +
  1156 +test "$silent" = yes && exec 6>/dev/null
  1157 +
  1158 +
  1159 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1160 +ac_ls_di=`ls -di .` &&
  1161 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1162 + as_fn_error "working directory cannot be determined"
  1163 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1164 + as_fn_error "pwd does not report name of working directory"
  1165 +
  1166 +
  1167 +# Find the source files, if location was not specified.
  1168 +if test -z "$srcdir"; then
  1169 + ac_srcdir_defaulted=yes
  1170 + # Try the directory containing this script, then the parent directory.
  1171 + ac_confdir=`$as_dirname -- "$as_myself" ||
  1172 +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1173 + X"$as_myself" : 'X\(//\)[^/]' \| \
  1174 + X"$as_myself" : 'X\(//\)$' \| \
  1175 + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1176 +$as_echo X"$as_myself" |
  1177 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1178 + s//\1/
  1179 + q
  1180 + }
  1181 + /^X\(\/\/\)[^/].*/{
  1182 + s//\1/
  1183 + q
  1184 + }
  1185 + /^X\(\/\/\)$/{
  1186 + s//\1/
  1187 + q
  1188 + }
  1189 + /^X\(\/\).*/{
  1190 + s//\1/
  1191 + q
  1192 + }
  1193 + s/.*/./; q'`
  1194 + srcdir=$ac_confdir
  1195 + if test ! -r "$srcdir/$ac_unique_file"; then
  1196 + srcdir=..
  1197 + fi
  1198 +else
  1199 + ac_srcdir_defaulted=no
  1200 +fi
  1201 +if test ! -r "$srcdir/$ac_unique_file"; then
  1202 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1203 + as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
  1204 +fi
  1205 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1206 +ac_abs_confdir=`(
  1207 + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
  1208 + pwd)`
  1209 +# When building in place, set srcdir=.
  1210 +if test "$ac_abs_confdir" = "$ac_pwd"; then
  1211 + srcdir=.
  1212 +fi
  1213 +# Remove unnecessary trailing slashes from srcdir.
  1214 +# Double slashes in file names in object file debugging info
  1215 +# mess up M-x gdb in Emacs.
  1216 +case $srcdir in
  1217 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1218 +esac
  1219 +for ac_var in $ac_precious_vars; do
  1220 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1221 + eval ac_env_${ac_var}_value=\$${ac_var}
  1222 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1223 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1224 +done
  1225 +
  1226 +#
  1227 +# Report the --help message.
  1228 +#
  1229 +if test "$ac_init_help" = "long"; then
  1230 + # Omit some internal or obsolete options to make the list less imposing.
  1231 + # This message is too long to be a string in the A/UX 3.1 sh.
  1232 + cat <<_ACEOF
  1233 +\`configure' configures this package to adapt to many kinds of systems.
  1234 +
  1235 +Usage: $0 [OPTION]... [VAR=VALUE]...
  1236 +
  1237 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1238 +VAR=VALUE. See below for descriptions of some of the useful variables.
  1239 +
  1240 +Defaults for the options are specified in brackets.
  1241 +
  1242 +Configuration:
  1243 + -h, --help display this help and exit
  1244 + --help=short display options specific to this package
  1245 + --help=recursive display the short help of all the included packages
  1246 + -V, --version display version information and exit
  1247 + -q, --quiet, --silent do not print \`checking...' messages
  1248 + --cache-file=FILE cache test results in FILE [disabled]
  1249 + -C, --config-cache alias for \`--cache-file=config.cache'
  1250 + -n, --no-create do not create output files
  1251 + --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1252 +
  1253 +Installation directories:
  1254 + --prefix=PREFIX install architecture-independent files in PREFIX
  1255 + [$ac_default_prefix]
  1256 + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1257 + [PREFIX]
  1258 +
  1259 +By default, \`make install' will install all the files in
  1260 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1261 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1262 +for instance \`--prefix=\$HOME'.
  1263 +
  1264 +For better control, use the options below.
  1265 +
  1266 +Fine tuning of the installation directories:
  1267 + --bindir=DIR user executables [EPREFIX/bin]
  1268 + --sbindir=DIR system admin executables [EPREFIX/sbin]
  1269 + --libexecdir=DIR program executables [EPREFIX/libexec]
  1270 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1271 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1272 + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1273 + --libdir=DIR object code libraries [EPREFIX/lib]
  1274 + --includedir=DIR C header files [PREFIX/include]
  1275 + --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1276 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1277 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1278 + --infodir=DIR info documentation [DATAROOTDIR/info]
  1279 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1280 + --mandir=DIR man documentation [DATAROOTDIR/man]
  1281 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
  1282 + --htmldir=DIR html documentation [DOCDIR]
  1283 + --dvidir=DIR dvi documentation [DOCDIR]
  1284 + --pdfdir=DIR pdf documentation [DOCDIR]
  1285 + --psdir=DIR ps documentation [DOCDIR]
  1286 +_ACEOF
  1287 +
  1288 + cat <<\_ACEOF
  1289 +
  1290 +Program names:
  1291 + --program-prefix=PREFIX prepend PREFIX to installed program names
  1292 + --program-suffix=SUFFIX append SUFFIX to installed program names
  1293 + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  1294 +_ACEOF
  1295 +fi
  1296 +
  1297 +if test -n "$ac_init_help"; then
  1298 +
  1299 + cat <<\_ACEOF
  1300 +
  1301 +Optional Features:
  1302 + --disable-option-checking ignore unrecognized --enable/--with options
  1303 + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1304 + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1305 + --disable-dependency-tracking speeds up one-time build
  1306 + --enable-dependency-tracking do not reject slow dependency extractors
  1307 +
  1308 +Some influential environment variables:
  1309 + CC C compiler command
  1310 + CFLAGS C compiler flags
  1311 + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1312 + nonstandard directory <lib dir>
  1313 + LIBS libraries to pass to the linker, e.g. -l<library>
  1314 + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1315 + you have headers in a nonstandard directory <include dir>
  1316 + CPP C preprocessor
  1317 +
  1318 +Use these variables to override the choices made by `configure' or to help
  1319 +it to find libraries and programs with nonstandard names/locations.
  1320 +
  1321 +Report bugs to the package provider.
  1322 +_ACEOF
  1323 +ac_status=$?
  1324 +fi
  1325 +
  1326 +if test "$ac_init_help" = "recursive"; then
  1327 + # If there are subdirs, report their specific --help.
  1328 + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1329 + test -d "$ac_dir" ||
  1330 + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1331 + continue
  1332 + ac_builddir=.
  1333 +
  1334 +case "$ac_dir" in
  1335 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1336 +*)
  1337 + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1338 + # A ".." for each directory in $ac_dir_suffix.
  1339 + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1340 + case $ac_top_builddir_sub in
  1341 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1342 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1343 + esac ;;
  1344 +esac
  1345 +ac_abs_top_builddir=$ac_pwd
  1346 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1347 +# for backward compatibility:
  1348 +ac_top_builddir=$ac_top_build_prefix
  1349 +
  1350 +case $srcdir in
  1351 + .) # We are building in place.
  1352 + ac_srcdir=.
  1353 + ac_top_srcdir=$ac_top_builddir_sub
  1354 + ac_abs_top_srcdir=$ac_pwd ;;
  1355 + [\\/]* | ?:[\\/]* ) # Absolute name.
  1356 + ac_srcdir=$srcdir$ac_dir_suffix;
  1357 + ac_top_srcdir=$srcdir
  1358 + ac_abs_top_srcdir=$srcdir ;;
  1359 + *) # Relative name.
  1360 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1361 + ac_top_srcdir=$ac_top_build_prefix$srcdir
  1362 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1363 +esac
  1364 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1365 +
  1366 + cd "$ac_dir" || { ac_status=$?; continue; }
  1367 + # Check for guested configure.
  1368 + if test -f "$ac_srcdir/configure.gnu"; then
  1369 + echo &&
  1370 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1371 + elif test -f "$ac_srcdir/configure"; then
  1372 + echo &&
  1373 + $SHELL "$ac_srcdir/configure" --help=recursive
  1374 + else
  1375 + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1376 + fi || ac_status=$?
  1377 + cd "$ac_pwd" || { ac_status=$?; break; }
  1378 + done
  1379 +fi
  1380 +
  1381 +test -n "$ac_init_help" && exit $ac_status
  1382 +if $ac_init_version; then
  1383 + cat <<\_ACEOF
  1384 +configure
  1385 +generated by GNU Autoconf 2.65
  1386 +
  1387 +Copyright (C) 2009 Free Software Foundation, Inc.
  1388 +This configure script is free software; the Free Software Foundation
  1389 +gives unlimited permission to copy, distribute and modify it.
  1390 +_ACEOF
  1391 + exit
  1392 +fi
  1393 +
  1394 +## ------------------------ ##
  1395 +## Autoconf initialization. ##
  1396 +## ------------------------ ##
  1397 +
  1398 +# ac_fn_c_try_compile LINENO
  1399 +# --------------------------
  1400 +# Try to compile conftest.$ac_ext, and return whether this succeeded.
  1401 +ac_fn_c_try_compile ()
  1402 +{
  1403 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1404 + rm -f conftest.$ac_objext
  1405 + if { { ac_try="$ac_compile"
  1406 +case "(($ac_try" in
  1407 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1408 + *) ac_try_echo=$ac_try;;
  1409 +esac
  1410 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1411 +$as_echo "$ac_try_echo"; } >&5
  1412 + (eval "$ac_compile") 2>conftest.err
  1413 + ac_status=$?
  1414 + if test -s conftest.err; then
  1415 + grep -v '^ *+' conftest.err >conftest.er1
  1416 + cat conftest.er1 >&5
  1417 + mv -f conftest.er1 conftest.err
  1418 + fi
  1419 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1420 + test $ac_status = 0; } && {
  1421 + test -z "$ac_c_werror_flag" ||
  1422 + test ! -s conftest.err
  1423 + } && test -s conftest.$ac_objext; then :
  1424 + ac_retval=0
  1425 +else
  1426 + $as_echo "$as_me: failed program was:" >&5
  1427 +sed 's/^/| /' conftest.$ac_ext >&5
  1428 +
  1429 + ac_retval=1
  1430 +fi
  1431 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1432 + as_fn_set_status $ac_retval
  1433 +
  1434 +} # ac_fn_c_try_compile
  1435 +
  1436 +# ac_fn_c_try_cpp LINENO
  1437 +# ----------------------
  1438 +# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1439 +ac_fn_c_try_cpp ()
  1440 +{
  1441 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1442 + if { { ac_try="$ac_cpp conftest.$ac_ext"
  1443 +case "(($ac_try" in
  1444 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1445 + *) ac_try_echo=$ac_try;;
  1446 +esac
  1447 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1448 +$as_echo "$ac_try_echo"; } >&5
  1449 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1450 + ac_status=$?
  1451 + if test -s conftest.err; then
  1452 + grep -v '^ *+' conftest.err >conftest.er1
  1453 + cat conftest.er1 >&5
  1454 + mv -f conftest.er1 conftest.err
  1455 + fi
  1456 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1457 + test $ac_status = 0; } >/dev/null && {
  1458 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1459 + test ! -s conftest.err
  1460 + }; then :
  1461 + ac_retval=0
  1462 +else
  1463 + $as_echo "$as_me: failed program was:" >&5
  1464 +sed 's/^/| /' conftest.$ac_ext >&5
  1465 +
  1466 + ac_retval=1
  1467 +fi
  1468 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1469 + as_fn_set_status $ac_retval
  1470 +
  1471 +} # ac_fn_c_try_cpp
  1472 +
  1473 +# ac_fn_c_try_run LINENO
  1474 +# ----------------------
  1475 +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1476 +# that executables *can* be run.
  1477 +ac_fn_c_try_run ()
  1478 +{
  1479 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1480 + if { { ac_try="$ac_link"
  1481 +case "(($ac_try" in
  1482 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1483 + *) ac_try_echo=$ac_try;;
  1484 +esac
  1485 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1486 +$as_echo "$ac_try_echo"; } >&5
  1487 + (eval "$ac_link") 2>&5
  1488 + ac_status=$?
  1489 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1490 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1491 + { { case "(($ac_try" in
  1492 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1493 + *) ac_try_echo=$ac_try;;
  1494 +esac
  1495 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1496 +$as_echo "$ac_try_echo"; } >&5
  1497 + (eval "$ac_try") 2>&5
  1498 + ac_status=$?
  1499 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1500 + test $ac_status = 0; }; }; then :
  1501 + ac_retval=0
  1502 +else
  1503 + $as_echo "$as_me: program exited with status $ac_status" >&5
  1504 + $as_echo "$as_me: failed program was:" >&5
  1505 +sed 's/^/| /' conftest.$ac_ext >&5
  1506 +
  1507 + ac_retval=$ac_status
  1508 +fi
  1509 + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1510 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1511 + as_fn_set_status $ac_retval
  1512 +
  1513 +} # ac_fn_c_try_run
  1514 +
  1515 +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  1516 +# -------------------------------------------------------
  1517 +# Tests whether HEADER exists, giving a warning if it cannot be compiled using
  1518 +# the include files in INCLUDES and setting the cache variable VAR
  1519 +# accordingly.
  1520 +ac_fn_c_check_header_mongrel ()
  1521 +{
  1522 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1523 + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  1524 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1525 +$as_echo_n "checking for $2... " >&6; }
  1526 +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  1527 + $as_echo_n "(cached) " >&6
  1528 +fi
  1529 +eval ac_res=\$$3
  1530 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1531 +$as_echo "$ac_res" >&6; }
  1532 +else
  1533 + # Is the header compilable?
  1534 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  1535 +$as_echo_n "checking $2 usability... " >&6; }
  1536 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1537 +/* end confdefs.h. */
  1538 +$4
  1539 +#include <$2>
  1540 +_ACEOF
  1541 +if ac_fn_c_try_compile "$LINENO"; then :
  1542 + ac_header_compiler=yes
  1543 +else
  1544 + ac_header_compiler=no
  1545 +fi
  1546 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1547 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  1548 +$as_echo "$ac_header_compiler" >&6; }
  1549 +
  1550 +# Is the header present?
  1551 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  1552 +$as_echo_n "checking $2 presence... " >&6; }
  1553 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1554 +/* end confdefs.h. */
  1555 +#include <$2>
  1556 +_ACEOF
  1557 +if ac_fn_c_try_cpp "$LINENO"; then :
  1558 + ac_header_preproc=yes
  1559 +else
  1560 + ac_header_preproc=no
  1561 +fi
  1562 +rm -f conftest.err conftest.$ac_ext
  1563 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  1564 +$as_echo "$ac_header_preproc" >&6; }
  1565 +
  1566 +# So? What about this header?
  1567 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  1568 + yes:no: )
  1569 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  1570 +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  1571 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1572 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1573 + ;;
  1574 + no:yes:* )
  1575 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  1576 +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  1577 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  1578 +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  1579 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  1580 +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  1581 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  1582 +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  1583 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1584 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1585 + ;;
  1586 +esac
  1587 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1588 +$as_echo_n "checking for $2... " >&6; }
  1589 +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  1590 + $as_echo_n "(cached) " >&6
  1591 +else
  1592 + eval "$3=\$ac_header_compiler"
  1593 +fi
  1594 +eval ac_res=\$$3
  1595 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1596 +$as_echo "$ac_res" >&6; }
  1597 +fi
  1598 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1599 +
  1600 +} # ac_fn_c_check_header_mongrel
  1601 +
  1602 +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1603 +# -------------------------------------------------------
  1604 +# Tests whether HEADER exists and can be compiled using the include files in
  1605 +# INCLUDES, setting the cache variable VAR accordingly.
  1606 +ac_fn_c_check_header_compile ()
  1607 +{
  1608 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1609 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1610 +$as_echo_n "checking for $2... " >&6; }
  1611 +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  1612 + $as_echo_n "(cached) " >&6
  1613 +else
  1614 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1615 +/* end confdefs.h. */
  1616 +$4
  1617 +#include <$2>
  1618 +_ACEOF
  1619 +if ac_fn_c_try_compile "$LINENO"; then :
  1620 + eval "$3=yes"
  1621 +else
  1622 + eval "$3=no"
  1623 +fi
  1624 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1625 +fi
  1626 +eval ac_res=\$$3
  1627 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1628 +$as_echo "$ac_res" >&6; }
  1629 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1630 +
  1631 +} # ac_fn_c_check_header_compile
  1632 +cat >config.log <<_ACEOF
  1633 +This file contains any messages produced by compilers while
  1634 +running configure, to aid debugging if configure makes a mistake.
  1635 +
  1636 +It was created by $as_me, which was
  1637 +generated by GNU Autoconf 2.65. Invocation command line was
  1638 +
  1639 + $ $0 $@
  1640 +
  1641 +_ACEOF
  1642 +exec 5>>config.log
  1643 +{
  1644 +cat <<_ASUNAME
  1645 +## --------- ##
  1646 +## Platform. ##
  1647 +## --------- ##
  1648 +
  1649 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1650 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1651 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1652 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1653 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1654 +
  1655 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1656 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1657 +
  1658 +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1659 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1660 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1661 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1662 +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1663 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1664 +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1665 +
  1666 +_ASUNAME
  1667 +
  1668 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1669 +for as_dir in $PATH
  1670 +do
  1671 + IFS=$as_save_IFS
  1672 + test -z "$as_dir" && as_dir=.
  1673 + $as_echo "PATH: $as_dir"
  1674 + done
  1675 +IFS=$as_save_IFS
  1676 +
  1677 +} >&5
  1678 +
  1679 +cat >&5 <<_ACEOF
  1680 +
  1681 +
  1682 +## ----------- ##
  1683 +## Core tests. ##
  1684 +## ----------- ##
  1685 +
  1686 +_ACEOF
  1687 +
  1688 +
  1689 +# Keep a trace of the command line.
  1690 +# Strip out --no-create and --no-recursion so they do not pile up.
  1691 +# Strip out --silent because we don't want to record it for future runs.
  1692 +# Also quote any args containing shell meta-characters.
  1693 +# Make two passes to allow for proper duplicate-argument suppression.
  1694 +ac_configure_args=
  1695 +ac_configure_args0=
  1696 +ac_configure_args1=
  1697 +ac_must_keep_next=false
  1698 +for ac_pass in 1 2
  1699 +do
  1700 + for ac_arg
  1701 + do
  1702 + case $ac_arg in
  1703 + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1704 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1705 + | -silent | --silent | --silen | --sile | --sil)
  1706 + continue ;;
  1707 + *\'*)
  1708 + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1709 + esac
  1710 + case $ac_pass in
  1711 + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  1712 + 2)
  1713 + as_fn_append ac_configure_args1 " '$ac_arg'"
  1714 + if test $ac_must_keep_next = true; then
  1715 + ac_must_keep_next=false # Got value, back to normal.
  1716 + else
  1717 + case $ac_arg in
  1718 + *=* | --config-cache | -C | -disable-* | --disable-* \
  1719 + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1720 + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1721 + | -with-* | --with-* | -without-* | --without-* | --x)
  1722 + case "$ac_configure_args0 " in
  1723 + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1724 + esac
  1725 + ;;
  1726 + -* ) ac_must_keep_next=true ;;
  1727 + esac
  1728 + fi
  1729 + as_fn_append ac_configure_args " '$ac_arg'"
  1730 + ;;
  1731 + esac
  1732 + done
  1733 +done
  1734 +{ ac_configure_args0=; unset ac_configure_args0;}
  1735 +{ ac_configure_args1=; unset ac_configure_args1;}
  1736 +
  1737 +# When interrupted or exit'd, cleanup temporary files, and complete
  1738 +# config.log. We remove comments because anyway the quotes in there
  1739 +# would cause problems or look ugly.
  1740 +# WARNING: Use '\'' to represent an apostrophe within the trap.
  1741 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1742 +trap 'exit_status=$?
  1743 + # Save into config.log some information that might help in debugging.
  1744 + {
  1745 + echo
  1746 +
  1747 + cat <<\_ASBOX
  1748 +## ---------------- ##
  1749 +## Cache variables. ##
  1750 +## ---------------- ##
  1751 +_ASBOX
  1752 + echo
  1753 + # The following way of writing the cache mishandles newlines in values,
  1754 +(
  1755 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1756 + eval ac_val=\$$ac_var
  1757 + case $ac_val in #(
  1758 + *${as_nl}*)
  1759 + case $ac_var in #(
  1760 + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  1761 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1762 + esac
  1763 + case $ac_var in #(
  1764 + _ | IFS | as_nl) ;; #(
  1765 + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1766 + *) { eval $ac_var=; unset $ac_var;} ;;
  1767 + esac ;;
  1768 + esac
  1769 + done
  1770 + (set) 2>&1 |
  1771 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1772 + *${as_nl}ac_space=\ *)
  1773 + sed -n \
  1774 + "s/'\''/'\''\\\\'\'''\''/g;
  1775 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1776 + ;; #(
  1777 + *)
  1778 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1779 + ;;
  1780 + esac |
  1781 + sort
  1782 +)
  1783 + echo
  1784 +
  1785 + cat <<\_ASBOX
  1786 +## ----------------- ##
  1787 +## Output variables. ##
  1788 +## ----------------- ##
  1789 +_ASBOX
  1790 + echo
  1791 + for ac_var in $ac_subst_vars
  1792 + do
  1793 + eval ac_val=\$$ac_var
  1794 + case $ac_val in
  1795 + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1796 + esac
  1797 + $as_echo "$ac_var='\''$ac_val'\''"
  1798 + done | sort
  1799 + echo
  1800 +
  1801 + if test -n "$ac_subst_files"; then
  1802 + cat <<\_ASBOX
  1803 +## ------------------- ##
  1804 +## File substitutions. ##
  1805 +## ------------------- ##
  1806 +_ASBOX
  1807 + echo
  1808 + for ac_var in $ac_subst_files
  1809 + do
  1810 + eval ac_val=\$$ac_var
  1811 + case $ac_val in
  1812 + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1813 + esac
  1814 + $as_echo "$ac_var='\''$ac_val'\''"
  1815 + done | sort
  1816 + echo
  1817 + fi
  1818 +
  1819 + if test -s confdefs.h; then
  1820 + cat <<\_ASBOX
  1821 +## ----------- ##
  1822 +## confdefs.h. ##
  1823 +## ----------- ##
  1824 +_ASBOX
  1825 + echo
  1826 + cat confdefs.h
  1827 + echo
  1828 + fi
  1829 + test "$ac_signal" != 0 &&
  1830 + $as_echo "$as_me: caught signal $ac_signal"
  1831 + $as_echo "$as_me: exit $exit_status"
  1832 + } >&5
  1833 + rm -f core *.core core.conftest.* &&
  1834 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1835 + exit $exit_status
  1836 +' 0
  1837 +for ac_signal in 1 2 13 15; do
  1838 + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  1839 +done
  1840 +ac_signal=0
  1841 +
  1842 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  1843 +rm -f -r conftest* confdefs.h
  1844 +
  1845 +$as_echo "/* confdefs.h */" > confdefs.h
  1846 +
  1847 +# Predefined preprocessor variables.
  1848 +
  1849 +cat >>confdefs.h <<_ACEOF
  1850 +#define PACKAGE_NAME "$PACKAGE_NAME"
  1851 +_ACEOF
  1852 +
  1853 +cat >>confdefs.h <<_ACEOF
  1854 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1855 +_ACEOF
  1856 +
  1857 +cat >>confdefs.h <<_ACEOF
  1858 +#define PACKAGE_VERSION "$PACKAGE_VERSION"
  1859 +_ACEOF
  1860 +
  1861 +cat >>confdefs.h <<_ACEOF
  1862 +#define PACKAGE_STRING "$PACKAGE_STRING"
  1863 +_ACEOF
  1864 +
  1865 +cat >>confdefs.h <<_ACEOF
  1866 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1867 +_ACEOF
  1868 +
  1869 +cat >>confdefs.h <<_ACEOF
  1870 +#define PACKAGE_URL "$PACKAGE_URL"
  1871 +_ACEOF
  1872 +
  1873 +
  1874 +# Let the site file select an alternate cache file if it wants to.
  1875 +# Prefer an explicitly selected file to automatically selected ones.
  1876 +ac_site_file1=NONE
  1877 +ac_site_file2=NONE
  1878 +if test -n "$CONFIG_SITE"; then
  1879 + ac_site_file1=$CONFIG_SITE
  1880 +elif test "x$prefix" != xNONE; then
  1881 + ac_site_file1=$prefix/share/config.site
  1882 + ac_site_file2=$prefix/etc/config.site
  1883 +else
  1884 + ac_site_file1=$ac_default_prefix/share/config.site
  1885 + ac_site_file2=$ac_default_prefix/etc/config.site
  1886 +fi
  1887 +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  1888 +do
  1889 + test "x$ac_site_file" = xNONE && continue
  1890 + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  1891 + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  1892 +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
  1893 + sed 's/^/| /' "$ac_site_file" >&5
  1894 + . "$ac_site_file"
  1895 + fi
  1896 +done
  1897 +
  1898 +if test -r "$cache_file"; then
  1899 + # Some versions of bash will fail to source /dev/null (special files
  1900 + # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  1901 + if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  1902 + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  1903 +$as_echo "$as_me: loading cache $cache_file" >&6;}
  1904 + case $cache_file in
  1905 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1906 + *) . "./$cache_file";;
  1907 + esac
  1908 + fi
  1909 +else
  1910 + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  1911 +$as_echo "$as_me: creating cache $cache_file" >&6;}
  1912 + >$cache_file
  1913 +fi
  1914 +
  1915 +# Check that the precious variables saved in the cache have kept the same
  1916 +# value.
  1917 +ac_cache_corrupted=false
  1918 +for ac_var in $ac_precious_vars; do
  1919 + eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1920 + eval ac_new_set=\$ac_env_${ac_var}_set
  1921 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1922 + eval ac_new_val=\$ac_env_${ac_var}_value
  1923 + case $ac_old_set,$ac_new_set in
  1924 + set,)
  1925 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1926 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1927 + ac_cache_corrupted=: ;;
  1928 + ,set)
  1929 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  1930 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1931 + ac_cache_corrupted=: ;;
  1932 + ,);;
  1933 + *)
  1934 + if test "x$ac_old_val" != "x$ac_new_val"; then
  1935 + # differences in whitespace do not lead to failure.
  1936 + ac_old_val_w=`echo x $ac_old_val`
  1937 + ac_new_val_w=`echo x $ac_new_val`
  1938 + if test "$ac_old_val_w" != "$ac_new_val_w"; then
  1939 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  1940 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1941 + ac_cache_corrupted=:
  1942 + else
  1943 + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  1944 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  1945 + eval $ac_var=\$ac_old_val
  1946 + fi
  1947 + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  1948 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  1949 + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  1950 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  1951 + fi;;
  1952 + esac
  1953 + # Pass precious variables to config.status.
  1954 + if test "$ac_new_set" = set; then
  1955 + case $ac_new_val in
  1956 + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1957 + *) ac_arg=$ac_var=$ac_new_val ;;
  1958 + esac
  1959 + case " $ac_configure_args " in
  1960 + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  1961 + *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  1962 + esac
  1963 + fi
  1964 +done
  1965 +if $ac_cache_corrupted; then
  1966 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1967 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1968 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  1969 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1970 + as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  1971 +fi
  1972 +## -------------------- ##
  1973 +## Main body of script. ##
  1974 +## -------------------- ##
  1975 +
  1976 +ac_ext=c
  1977 +ac_cpp='$CPP $CPPFLAGS'
  1978 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1979 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1980 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1981 +
  1982 +
  1983 +am__api_version='1.11'
  1984 +
  1985 +ac_aux_dir=
  1986 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1987 + for ac_t in install-sh install.sh shtool; do
  1988 + if test -f "$ac_dir/$ac_t"; then
  1989 + ac_aux_dir=$ac_dir
  1990 + ac_install_sh="$ac_aux_dir/$ac_t -c"
  1991 + break 2
  1992 + fi
  1993 + done
  1994 +done
  1995 +if test -z "$ac_aux_dir"; then
  1996 + as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  1997 +fi
  1998 +
  1999 +# These three variables are undocumented and unsupported,
  2000 +# and are intended to be withdrawn in a future Autoconf release.
  2001 +# They can cause serious problems if a builder's source tree is in a directory
  2002 +# whose full name contains unusual characters.
  2003 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  2004 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  2005 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  2006 +
  2007 +
  2008 +# Find a good install program. We prefer a C program (faster),
  2009 +# so one script is as good as another. But avoid the broken or
  2010 +# incompatible versions:
  2011 +# SysV /etc/install, /usr/sbin/install
  2012 +# SunOS /usr/etc/install
  2013 +# IRIX /sbin/install
  2014 +# AIX /bin/install
  2015 +# AmigaOS /C/install, which installs bootblocks on floppy discs
  2016 +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2017 +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2018 +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2019 +# OS/2's system install, which has a completely different semantic
  2020 +# ./install, which can be erroneously created by make from ./install.sh.
  2021 +# Reject install programs that cannot install multiple files.
  2022 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  2023 +$as_echo_n "checking for a BSD-compatible install... " >&6; }
  2024 +if test -z "$INSTALL"; then
  2025 +if test "${ac_cv_path_install+set}" = set; then :
  2026 + $as_echo_n "(cached) " >&6
  2027 +else
  2028 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2029 +for as_dir in $PATH
  2030 +do
  2031 + IFS=$as_save_IFS
  2032 + test -z "$as_dir" && as_dir=.
  2033 + # Account for people who put trailing slashes in PATH elements.
  2034 +case $as_dir/ in #((
  2035 + ./ | .// | /[cC]/* | \
  2036 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2037 + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  2038 + /usr/ucb/* ) ;;
  2039 + *)
  2040 + # OSF1 and SCO ODT 3.0 have their own names for install.
  2041 + # Don't use installbsd from OSF since it installs stuff as root
  2042 + # by default.
  2043 + for ac_prog in ginstall scoinst install; do
  2044 + for ac_exec_ext in '' $ac_executable_extensions; do
  2045 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  2046 + if test $ac_prog = install &&
  2047 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2048 + # AIX install. It has an incompatible calling convention.
  2049 + :
  2050 + elif test $ac_prog = install &&
  2051 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2052 + # program-specific install script used by HP pwplus--don't use.
  2053 + :
  2054 + else
  2055 + rm -rf conftest.one conftest.two conftest.dir
  2056 + echo one > conftest.one
  2057 + echo two > conftest.two
  2058 + mkdir conftest.dir
  2059 + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2060 + test -s conftest.one && test -s conftest.two &&
  2061 + test -s conftest.dir/conftest.one &&
  2062 + test -s conftest.dir/conftest.two
  2063 + then
  2064 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2065 + break 3
  2066 + fi
  2067 + fi
  2068 + fi
  2069 + done
  2070 + done
  2071 + ;;
  2072 +esac
  2073 +
  2074 + done
  2075 +IFS=$as_save_IFS
  2076 +
  2077 +rm -rf conftest.one conftest.two conftest.dir
  2078 +
  2079 +fi
  2080 + if test "${ac_cv_path_install+set}" = set; then
  2081 + INSTALL=$ac_cv_path_install
  2082 + else
  2083 + # As a last resort, use the slow shell script. Don't cache a
  2084 + # value for INSTALL within a source directory, because that will
  2085 + # break other packages using the cache if that directory is
  2086 + # removed, or if the value is a relative name.
  2087 + INSTALL=$ac_install_sh
  2088 + fi
  2089 +fi
  2090 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  2091 +$as_echo "$INSTALL" >&6; }
  2092 +
  2093 +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2094 +# It thinks the first close brace ends the variable substitution.
  2095 +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2096 +
  2097 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2098 +
  2099 +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2100 +
  2101 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  2102 +$as_echo_n "checking whether build environment is sane... " >&6; }
  2103 +# Just in case
  2104 +sleep 1
  2105 +echo timestamp > conftest.file
  2106 +# Reject unsafe characters in $srcdir or the absolute working directory
  2107 +# name. Accept space and tab only in the latter.
  2108 +am_lf='
  2109 +'
  2110 +case `pwd` in
  2111 + *[\\\"\#\$\&\'\`$am_lf]*)
  2112 + as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
  2113 +esac
  2114 +case $srcdir in
  2115 + *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  2116 + as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
  2117 +esac
  2118 +
  2119 +# Do `set' in a subshell so we don't clobber the current shell's
  2120 +# arguments. Must try -L first in case configure is actually a
  2121 +# symlink; some systems play weird games with the mod time of symlinks
  2122 +# (eg FreeBSD returns the mod time of the symlink's containing
  2123 +# directory).
  2124 +if (
  2125 + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  2126 + if test "$*" = "X"; then
  2127 + # -L didn't work.
  2128 + set X `ls -t "$srcdir/configure" conftest.file`
  2129 + fi
  2130 + rm -f conftest.file
  2131 + if test "$*" != "X $srcdir/configure conftest.file" \
  2132 + && test "$*" != "X conftest.file $srcdir/configure"; then
  2133 +
  2134 + # If neither matched, then we have a broken ls. This can happen
  2135 + # if, for instance, CONFIG_SHELL is bash and it inherits a
  2136 + # broken ls alias from the environment. This has actually
  2137 + # happened. Such a system could not be considered "sane".
  2138 + as_fn_error "ls -t appears to fail. Make sure there is not a broken
  2139 +alias in your environment" "$LINENO" 5
  2140 + fi
  2141 +
  2142 + test "$2" = conftest.file
  2143 + )
  2144 +then
  2145 + # Ok.
  2146 + :
  2147 +else
  2148 + as_fn_error "newly created file is older than distributed files!
  2149 +Check your system clock" "$LINENO" 5
  2150 +fi
  2151 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2152 +$as_echo "yes" >&6; }
  2153 +test "$program_prefix" != NONE &&
  2154 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2155 +# Use a double $ so make ignores it.
  2156 +test "$program_suffix" != NONE &&
  2157 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2158 +# Double any \ or $.
  2159 +# By default was `s,x,x', remove it if useless.
  2160 +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2161 +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2162 +
  2163 +# expand $ac_aux_dir to an absolute path
  2164 +am_aux_dir=`cd $ac_aux_dir && pwd`
  2165 +
  2166 +if test x"${MISSING+set}" != xset; then
  2167 + case $am_aux_dir in
  2168 + *\ * | *\ *)
  2169 + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  2170 + *)
  2171 + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  2172 + esac
  2173 +fi
  2174 +# Use eval to expand $SHELL
  2175 +if eval "$MISSING --run true"; then
  2176 + am_missing_run="$MISSING --run "
  2177 +else
  2178 + am_missing_run=
  2179 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
  2180 +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  2181 +fi
  2182 +
  2183 +if test x"${install_sh}" != xset; then
  2184 + case $am_aux_dir in
  2185 + *\ * | *\ *)
  2186 + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  2187 + *)
  2188 + install_sh="\${SHELL} $am_aux_dir/install-sh"
  2189 + esac
  2190 +fi
  2191 +
  2192 +# Installed binaries are usually stripped using `strip' when the user
  2193 +# run `make install-strip'. However `strip' might not be the right
  2194 +# tool to use in cross-compilation environments, therefore Automake
  2195 +# will honor the `STRIP' environment variable to overrule this program.
  2196 +if test "$cross_compiling" != no; then
  2197 + if test -n "$ac_tool_prefix"; then
  2198 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2199 +set dummy ${ac_tool_prefix}strip; ac_word=$2
  2200 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2201 +$as_echo_n "checking for $ac_word... " >&6; }
  2202 +if test "${ac_cv_prog_STRIP+set}" = set; then :
  2203 + $as_echo_n "(cached) " >&6
  2204 +else
  2205 + if test -n "$STRIP"; then
  2206 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2207 +else
  2208 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2209 +for as_dir in $PATH
  2210 +do
  2211 + IFS=$as_save_IFS
  2212 + test -z "$as_dir" && as_dir=.
  2213 + for ac_exec_ext in '' $ac_executable_extensions; do
  2214 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2215 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2216 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2217 + break 2
  2218 + fi
  2219 +done
  2220 + done
  2221 +IFS=$as_save_IFS
  2222 +
  2223 +fi
  2224 +fi
  2225 +STRIP=$ac_cv_prog_STRIP
  2226 +if test -n "$STRIP"; then
  2227 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  2228 +$as_echo "$STRIP" >&6; }
  2229 +else
  2230 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2231 +$as_echo "no" >&6; }
  2232 +fi
  2233 +
  2234 +
  2235 +fi
  2236 +if test -z "$ac_cv_prog_STRIP"; then
  2237 + ac_ct_STRIP=$STRIP
  2238 + # Extract the first word of "strip", so it can be a program name with args.
  2239 +set dummy strip; ac_word=$2
  2240 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2241 +$as_echo_n "checking for $ac_word... " >&6; }
  2242 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  2243 + $as_echo_n "(cached) " >&6
  2244 +else
  2245 + if test -n "$ac_ct_STRIP"; then
  2246 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2247 +else
  2248 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2249 +for as_dir in $PATH
  2250 +do
  2251 + IFS=$as_save_IFS
  2252 + test -z "$as_dir" && as_dir=.
  2253 + for ac_exec_ext in '' $ac_executable_extensions; do
  2254 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2255 + ac_cv_prog_ac_ct_STRIP="strip"
  2256 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2257 + break 2
  2258 + fi
  2259 +done
  2260 + done
  2261 +IFS=$as_save_IFS
  2262 +
  2263 +fi
  2264 +fi
  2265 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2266 +if test -n "$ac_ct_STRIP"; then
  2267 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  2268 +$as_echo "$ac_ct_STRIP" >&6; }
  2269 +else
  2270 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2271 +$as_echo "no" >&6; }
  2272 +fi
  2273 +
  2274 + if test "x$ac_ct_STRIP" = x; then
  2275 + STRIP=":"
  2276 + else
  2277 + case $cross_compiling:$ac_tool_warned in
  2278 +yes:)
  2279 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2280 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2281 +ac_tool_warned=yes ;;
  2282 +esac
  2283 + STRIP=$ac_ct_STRIP
  2284 + fi
  2285 +else
  2286 + STRIP="$ac_cv_prog_STRIP"
  2287 +fi
  2288 +
  2289 +fi
  2290 +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  2291 +
  2292 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  2293 +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  2294 +if test -z "$MKDIR_P"; then
  2295 + if test "${ac_cv_path_mkdir+set}" = set; then :
  2296 + $as_echo_n "(cached) " >&6
  2297 +else
  2298 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2299 +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  2300 +do
  2301 + IFS=$as_save_IFS
  2302 + test -z "$as_dir" && as_dir=.
  2303 + for ac_prog in mkdir gmkdir; do
  2304 + for ac_exec_ext in '' $ac_executable_extensions; do
  2305 + { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  2306 + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  2307 + 'mkdir (GNU coreutils) '* | \
  2308 + 'mkdir (coreutils) '* | \
  2309 + 'mkdir (fileutils) '4.1*)
  2310 + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  2311 + break 3;;
  2312 + esac
  2313 + done
  2314 + done
  2315 + done
  2316 +IFS=$as_save_IFS
  2317 +
  2318 +fi
  2319 +
  2320 + test -d ./--version && rmdir ./--version
  2321 + if test "${ac_cv_path_mkdir+set}" = set; then
  2322 + MKDIR_P="$ac_cv_path_mkdir -p"
  2323 + else
  2324 + # As a last resort, use the slow shell script. Don't cache a
  2325 + # value for MKDIR_P within a source directory, because that will
  2326 + # break other packages using the cache if that directory is
  2327 + # removed, or if the value is a relative name.
  2328 + MKDIR_P="$ac_install_sh -d"
  2329 + fi
  2330 +fi
  2331 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  2332 +$as_echo "$MKDIR_P" >&6; }
  2333 +
  2334 +mkdir_p="$MKDIR_P"
  2335 +case $mkdir_p in
  2336 + [\\/$]* | ?:[\\/]*) ;;
  2337 + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  2338 +esac
  2339 +
  2340 +for ac_prog in gawk mawk nawk awk
  2341 +do
  2342 + # Extract the first word of "$ac_prog", so it can be a program name with args.
  2343 +set dummy $ac_prog; ac_word=$2
  2344 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2345 +$as_echo_n "checking for $ac_word... " >&6; }
  2346 +if test "${ac_cv_prog_AWK+set}" = set; then :
  2347 + $as_echo_n "(cached) " >&6
  2348 +else
  2349 + if test -n "$AWK"; then
  2350 + ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2351 +else
  2352 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2353 +for as_dir in $PATH
  2354 +do
  2355 + IFS=$as_save_IFS
  2356 + test -z "$as_dir" && as_dir=.
  2357 + for ac_exec_ext in '' $ac_executable_extensions; do
  2358 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2359 + ac_cv_prog_AWK="$ac_prog"
  2360 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2361 + break 2
  2362 + fi
  2363 +done
  2364 + done
  2365 +IFS=$as_save_IFS
  2366 +
  2367 +fi
  2368 +fi
  2369 +AWK=$ac_cv_prog_AWK
  2370 +if test -n "$AWK"; then
  2371 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  2372 +$as_echo "$AWK" >&6; }
  2373 +else
  2374 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2375 +$as_echo "no" >&6; }
  2376 +fi
  2377 +
  2378 +
  2379 + test -n "$AWK" && break
  2380 +done
  2381 +
  2382 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2383 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2384 +set x ${MAKE-make}
  2385 +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2386 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
  2387 + $as_echo_n "(cached) " >&6
  2388 +else
  2389 + cat >conftest.make <<\_ACEOF
  2390 +SHELL = /bin/sh
  2391 +all:
  2392 + @echo '@@@%%%=$(MAKE)=@@@%%%'
  2393 +_ACEOF
  2394 +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  2395 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2396 + *@@@%%%=?*=@@@%%%*)
  2397 + eval ac_cv_prog_make_${ac_make}_set=yes;;
  2398 + *)
  2399 + eval ac_cv_prog_make_${ac_make}_set=no;;
  2400 +esac
  2401 +rm -f conftest.make
  2402 +fi
  2403 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2404 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2405 +$as_echo "yes" >&6; }
  2406 + SET_MAKE=
  2407 +else
  2408 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2409 +$as_echo "no" >&6; }
  2410 + SET_MAKE="MAKE=${MAKE-make}"
  2411 +fi
  2412 +
  2413 +rm -rf .tst 2>/dev/null
  2414 +mkdir .tst 2>/dev/null
  2415 +if test -d .tst; then
  2416 + am__leading_dot=.
  2417 +else
  2418 + am__leading_dot=_
  2419 +fi
  2420 +rmdir .tst 2>/dev/null
  2421 +
  2422 +if test "`cd $srcdir && pwd`" != "`pwd`"; then
  2423 + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  2424 + # is not polluted with repeated "-I."
  2425 + am__isrc=' -I$(srcdir)'
  2426 + # test to see if srcdir already configured
  2427 + if test -f $srcdir/config.status; then
  2428 + as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  2429 + fi
  2430 +fi
  2431 +
  2432 +# test whether we have cygpath
  2433 +if test -z "$CYGPATH_W"; then
  2434 + if (cygpath --version) >/dev/null 2>/dev/null; then
  2435 + CYGPATH_W='cygpath -w'
  2436 + else
  2437 + CYGPATH_W=echo
  2438 + fi
  2439 +fi
  2440 +
  2441 +
  2442 +# Define the identity of the package.
  2443 + PACKAGE=dsoextractfw
  2444 + VERSION=0.6.0
  2445 +
  2446 +
  2447 +cat >>confdefs.h <<_ACEOF
  2448 +#define PACKAGE "$PACKAGE"
  2449 +_ACEOF
  2450 +
  2451 +
  2452 +cat >>confdefs.h <<_ACEOF
  2453 +#define VERSION "$VERSION"
  2454 +_ACEOF
  2455 +
  2456 +# Some tools Automake needs.
  2457 +
  2458 +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2459 +
  2460 +
  2461 +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2462 +
  2463 +
  2464 +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2465 +
  2466 +
  2467 +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2468 +
  2469 +
  2470 +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2471 +
  2472 +# We need awk for the "check" target. The system "awk" is bad on
  2473 +# some platforms.
  2474 +# Always define AMTAR for backward compatibility.
  2475 +
  2476 +AMTAR=${AMTAR-"${am_missing_run}tar"}
  2477 +
  2478 +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  2479 +
  2480 +
  2481 +
  2482 +
  2483 +
  2484 +ac_ext=c
  2485 +ac_cpp='$CPP $CPPFLAGS'
  2486 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2487 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2488 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2489 +if test -n "$ac_tool_prefix"; then
  2490 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2491 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2492 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2493 +$as_echo_n "checking for $ac_word... " >&6; }
  2494 +if test "${ac_cv_prog_CC+set}" = set; then :
  2495 + $as_echo_n "(cached) " >&6
  2496 +else
  2497 + if test -n "$CC"; then
  2498 + ac_cv_prog_CC="$CC" # Let the user override the test.
  2499 +else
  2500 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2501 +for as_dir in $PATH
  2502 +do
  2503 + IFS=$as_save_IFS
  2504 + test -z "$as_dir" && as_dir=.
  2505 + for ac_exec_ext in '' $ac_executable_extensions; do
  2506 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2507 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2508 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2509 + break 2
  2510 + fi
  2511 +done
  2512 + done
  2513 +IFS=$as_save_IFS
  2514 +
  2515 +fi
  2516 +fi
  2517 +CC=$ac_cv_prog_CC
  2518 +if test -n "$CC"; then
  2519 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2520 +$as_echo "$CC" >&6; }
  2521 +else
  2522 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2523 +$as_echo "no" >&6; }
  2524 +fi
  2525 +
  2526 +
  2527 +fi
  2528 +if test -z "$ac_cv_prog_CC"; then
  2529 + ac_ct_CC=$CC
  2530 + # Extract the first word of "gcc", so it can be a program name with args.
  2531 +set dummy gcc; ac_word=$2
  2532 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2533 +$as_echo_n "checking for $ac_word... " >&6; }
  2534 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  2535 + $as_echo_n "(cached) " >&6
  2536 +else
  2537 + if test -n "$ac_ct_CC"; then
  2538 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2539 +else
  2540 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2541 +for as_dir in $PATH
  2542 +do
  2543 + IFS=$as_save_IFS
  2544 + test -z "$as_dir" && as_dir=.
  2545 + for ac_exec_ext in '' $ac_executable_extensions; do
  2546 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2547 + ac_cv_prog_ac_ct_CC="gcc"
  2548 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2549 + break 2
  2550 + fi
  2551 +done
  2552 + done
  2553 +IFS=$as_save_IFS
  2554 +
  2555 +fi
  2556 +fi
  2557 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2558 +if test -n "$ac_ct_CC"; then
  2559 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2560 +$as_echo "$ac_ct_CC" >&6; }
  2561 +else
  2562 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2563 +$as_echo "no" >&6; }
  2564 +fi
  2565 +
  2566 + if test "x$ac_ct_CC" = x; then
  2567 + CC=""
  2568 + else
  2569 + case $cross_compiling:$ac_tool_warned in
  2570 +yes:)
  2571 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2572 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2573 +ac_tool_warned=yes ;;
  2574 +esac
  2575 + CC=$ac_ct_CC
  2576 + fi
  2577 +else
  2578 + CC="$ac_cv_prog_CC"
  2579 +fi
  2580 +
  2581 +if test -z "$CC"; then
  2582 + if test -n "$ac_tool_prefix"; then
  2583 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2584 +set dummy ${ac_tool_prefix}cc; ac_word=$2
  2585 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2586 +$as_echo_n "checking for $ac_word... " >&6; }
  2587 +if test "${ac_cv_prog_CC+set}" = set; then :
  2588 + $as_echo_n "(cached) " >&6
  2589 +else
  2590 + if test -n "$CC"; then
  2591 + ac_cv_prog_CC="$CC" # Let the user override the test.
  2592 +else
  2593 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2594 +for as_dir in $PATH
  2595 +do
  2596 + IFS=$as_save_IFS
  2597 + test -z "$as_dir" && as_dir=.
  2598 + for ac_exec_ext in '' $ac_executable_extensions; do
  2599 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2600 + ac_cv_prog_CC="${ac_tool_prefix}cc"
  2601 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2602 + break 2
  2603 + fi
  2604 +done
  2605 + done
  2606 +IFS=$as_save_IFS
  2607 +
  2608 +fi
  2609 +fi
  2610 +CC=$ac_cv_prog_CC
  2611 +if test -n "$CC"; then
  2612 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2613 +$as_echo "$CC" >&6; }
  2614 +else
  2615 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2616 +$as_echo "no" >&6; }
  2617 +fi
  2618 +
  2619 +
  2620 + fi
  2621 +fi
  2622 +if test -z "$CC"; then
  2623 + # Extract the first word of "cc", so it can be a program name with args.
  2624 +set dummy cc; ac_word=$2
  2625 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2626 +$as_echo_n "checking for $ac_word... " >&6; }
  2627 +if test "${ac_cv_prog_CC+set}" = set; then :
  2628 + $as_echo_n "(cached) " >&6
  2629 +else
  2630 + if test -n "$CC"; then
  2631 + ac_cv_prog_CC="$CC" # Let the user override the test.
  2632 +else
  2633 + ac_prog_rejected=no
  2634 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2635 +for as_dir in $PATH
  2636 +do
  2637 + IFS=$as_save_IFS
  2638 + test -z "$as_dir" && as_dir=.
  2639 + for ac_exec_ext in '' $ac_executable_extensions; do
  2640 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2641 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2642 + ac_prog_rejected=yes
  2643 + continue
  2644 + fi
  2645 + ac_cv_prog_CC="cc"
  2646 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2647 + break 2
  2648 + fi
  2649 +done
  2650 + done
  2651 +IFS=$as_save_IFS
  2652 +
  2653 +if test $ac_prog_rejected = yes; then
  2654 + # We found a bogon in the path, so make sure we never use it.
  2655 + set dummy $ac_cv_prog_CC
  2656 + shift
  2657 + if test $# != 0; then
  2658 + # We chose a different compiler from the bogus one.
  2659 + # However, it has the same basename, so the bogon will be chosen
  2660 + # first if we set CC to just the basename; use the full file name.
  2661 + shift
  2662 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2663 + fi
  2664 +fi
  2665 +fi
  2666 +fi
  2667 +CC=$ac_cv_prog_CC
  2668 +if test -n "$CC"; then
  2669 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2670 +$as_echo "$CC" >&6; }
  2671 +else
  2672 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2673 +$as_echo "no" >&6; }
  2674 +fi
  2675 +
  2676 +
  2677 +fi
  2678 +if test -z "$CC"; then
  2679 + if test -n "$ac_tool_prefix"; then
  2680 + for ac_prog in cl.exe
  2681 + do
  2682 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2683 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2684 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2685 +$as_echo_n "checking for $ac_word... " >&6; }
  2686 +if test "${ac_cv_prog_CC+set}" = set; then :
  2687 + $as_echo_n "(cached) " >&6
  2688 +else
  2689 + if test -n "$CC"; then
  2690 + ac_cv_prog_CC="$CC" # Let the user override the test.
  2691 +else
  2692 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2693 +for as_dir in $PATH
  2694 +do
  2695 + IFS=$as_save_IFS
  2696 + test -z "$as_dir" && as_dir=.
  2697 + for ac_exec_ext in '' $ac_executable_extensions; do
  2698 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2699 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2700 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2701 + break 2
  2702 + fi
  2703 +done
  2704 + done
  2705 +IFS=$as_save_IFS
  2706 +
  2707 +fi
  2708 +fi
  2709 +CC=$ac_cv_prog_CC
  2710 +if test -n "$CC"; then
  2711 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2712 +$as_echo "$CC" >&6; }
  2713 +else
  2714 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2715 +$as_echo "no" >&6; }
  2716 +fi
  2717 +
  2718 +
  2719 + test -n "$CC" && break
  2720 + done
  2721 +fi
  2722 +if test -z "$CC"; then
  2723 + ac_ct_CC=$CC
  2724 + for ac_prog in cl.exe
  2725 +do
  2726 + # Extract the first word of "$ac_prog", so it can be a program name with args.
  2727 +set dummy $ac_prog; ac_word=$2
  2728 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2729 +$as_echo_n "checking for $ac_word... " >&6; }
  2730 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  2731 + $as_echo_n "(cached) " >&6
  2732 +else
  2733 + if test -n "$ac_ct_CC"; then
  2734 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2735 +else
  2736 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2737 +for as_dir in $PATH
  2738 +do
  2739 + IFS=$as_save_IFS
  2740 + test -z "$as_dir" && as_dir=.
  2741 + for ac_exec_ext in '' $ac_executable_extensions; do
  2742 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2743 + ac_cv_prog_ac_ct_CC="$ac_prog"
  2744 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2745 + break 2
  2746 + fi
  2747 +done
  2748 + done
  2749 +IFS=$as_save_IFS
  2750 +
  2751 +fi
  2752 +fi
  2753 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2754 +if test -n "$ac_ct_CC"; then
  2755 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2756 +$as_echo "$ac_ct_CC" >&6; }
  2757 +else
  2758 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2759 +$as_echo "no" >&6; }
  2760 +fi
  2761 +
  2762 +
  2763 + test -n "$ac_ct_CC" && break
  2764 +done
  2765 +
  2766 + if test "x$ac_ct_CC" = x; then
  2767 + CC=""
  2768 + else
  2769 + case $cross_compiling:$ac_tool_warned in
  2770 +yes:)
  2771 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2772 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2773 +ac_tool_warned=yes ;;
  2774 +esac
  2775 + CC=$ac_ct_CC
  2776 + fi
  2777 +fi
  2778 +
  2779 +fi
  2780 +
  2781 +
  2782 +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2783 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2784 +as_fn_error "no acceptable C compiler found in \$PATH
  2785 +See \`config.log' for more details." "$LINENO" 5; }
  2786 +
  2787 +# Provide some information about the compiler.
  2788 +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  2789 +set X $ac_compile
  2790 +ac_compiler=$2
  2791 +for ac_option in --version -v -V -qversion; do
  2792 + { { ac_try="$ac_compiler $ac_option >&5"
  2793 +case "(($ac_try" in
  2794 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2795 + *) ac_try_echo=$ac_try;;
  2796 +esac
  2797 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2798 +$as_echo "$ac_try_echo"; } >&5
  2799 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  2800 + ac_status=$?
  2801 + if test -s conftest.err; then
  2802 + sed '10a\
  2803 +... rest of stderr output deleted ...
  2804 + 10q' conftest.err >conftest.er1
  2805 + cat conftest.er1 >&5
  2806 + fi
  2807 + rm -f conftest.er1 conftest.err
  2808 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2809 + test $ac_status = 0; }
  2810 +done
  2811 +
  2812 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2813 +/* end confdefs.h. */
  2814 +
  2815 +int
  2816 +main ()
  2817 +{
  2818 +
  2819 + ;
  2820 + return 0;
  2821 +}
  2822 +_ACEOF
  2823 +ac_clean_files_save=$ac_clean_files
  2824 +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  2825 +# Try to create an executable without -o first, disregard a.out.
  2826 +# It will help us diagnose broken compilers, and finding out an intuition
  2827 +# of exeext.
  2828 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  2829 +$as_echo_n "checking whether the C compiler works... " >&6; }
  2830 +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2831 +
  2832 +# The possible output files:
  2833 +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  2834 +
  2835 +ac_rmfiles=
  2836 +for ac_file in $ac_files
  2837 +do
  2838 + case $ac_file in
  2839 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2840 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2841 + esac
  2842 +done
  2843 +rm -f $ac_rmfiles
  2844 +
  2845 +if { { ac_try="$ac_link_default"
  2846 +case "(($ac_try" in
  2847 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2848 + *) ac_try_echo=$ac_try;;
  2849 +esac
  2850 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2851 +$as_echo "$ac_try_echo"; } >&5
  2852 + (eval "$ac_link_default") 2>&5
  2853 + ac_status=$?
  2854 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2855 + test $ac_status = 0; }; then :
  2856 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2857 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2858 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
  2859 +# so that the user can short-circuit this test for compilers unknown to
  2860 +# Autoconf.
  2861 +for ac_file in $ac_files ''
  2862 +do
  2863 + test -f "$ac_file" || continue
  2864 + case $ac_file in
  2865 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  2866 + ;;
  2867 + [ab].out )
  2868 + # We found the default executable, but exeext='' is most
  2869 + # certainly right.
  2870 + break;;
  2871 + *.* )
  2872 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2873 + then :; else
  2874 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2875 + fi
  2876 + # We set ac_cv_exeext here because the later test for it is not
  2877 + # safe: cross compilers may not add the suffix if given an `-o'
  2878 + # argument, so we may need to know it at that point already.
  2879 + # Even if this section looks crufty: it has the advantage of
  2880 + # actually working.
  2881 + break;;
  2882 + * )
  2883 + break;;
  2884 + esac
  2885 +done
  2886 +test "$ac_cv_exeext" = no && ac_cv_exeext=
  2887 +
  2888 +else
  2889 + ac_file=''
  2890 +fi
  2891 +if test -z "$ac_file"; then :
  2892 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2893 +$as_echo "no" >&6; }
  2894 +$as_echo "$as_me: failed program was:" >&5
  2895 +sed 's/^/| /' conftest.$ac_ext >&5
  2896 +
  2897 +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2898 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2899 +{ as_fn_set_status 77
  2900 +as_fn_error "C compiler cannot create executables
  2901 +See \`config.log' for more details." "$LINENO" 5; }; }
  2902 +else
  2903 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2904 +$as_echo "yes" >&6; }
  2905 +fi
  2906 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  2907 +$as_echo_n "checking for C compiler default output file name... " >&6; }
  2908 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  2909 +$as_echo "$ac_file" >&6; }
  2910 +ac_exeext=$ac_cv_exeext
  2911 +
  2912 +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  2913 +ac_clean_files=$ac_clean_files_save
  2914 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  2915 +$as_echo_n "checking for suffix of executables... " >&6; }
  2916 +if { { ac_try="$ac_link"
  2917 +case "(($ac_try" in
  2918 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2919 + *) ac_try_echo=$ac_try;;
  2920 +esac
  2921 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2922 +$as_echo "$ac_try_echo"; } >&5
  2923 + (eval "$ac_link") 2>&5
  2924 + ac_status=$?
  2925 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2926 + test $ac_status = 0; }; then :
  2927 + # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2928 +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  2929 +# work properly (i.e., refer to `conftest.exe'), while it won't with
  2930 +# `rm'.
  2931 +for ac_file in conftest.exe conftest conftest.*; do
  2932 + test -f "$ac_file" || continue
  2933 + case $ac_file in
  2934 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2935 + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2936 + break;;
  2937 + * ) break;;
  2938 + esac
  2939 +done
  2940 +else
  2941 + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2942 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2943 +as_fn_error "cannot compute suffix of executables: cannot compile and link
  2944 +See \`config.log' for more details." "$LINENO" 5; }
  2945 +fi
  2946 +rm -f conftest conftest$ac_cv_exeext
  2947 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  2948 +$as_echo "$ac_cv_exeext" >&6; }
  2949 +
  2950 +rm -f conftest.$ac_ext
  2951 +EXEEXT=$ac_cv_exeext
  2952 +ac_exeext=$EXEEXT
  2953 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2954 +/* end confdefs.h. */
  2955 +#include <stdio.h>
  2956 +int
  2957 +main ()
  2958 +{
  2959 +FILE *f = fopen ("conftest.out", "w");
  2960 + return ferror (f) || fclose (f) != 0;
  2961 +
  2962 + ;
  2963 + return 0;
  2964 +}
  2965 +_ACEOF
  2966 +ac_clean_files="$ac_clean_files conftest.out"
  2967 +# Check that the compiler produces executables we can run. If not, either
  2968 +# the compiler is broken, or we cross compile.
  2969 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  2970 +$as_echo_n "checking whether we are cross compiling... " >&6; }
  2971 +if test "$cross_compiling" != yes; then
  2972 + { { ac_try="$ac_link"
  2973 +case "(($ac_try" in
  2974 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2975 + *) ac_try_echo=$ac_try;;
  2976 +esac
  2977 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2978 +$as_echo "$ac_try_echo"; } >&5
  2979 + (eval "$ac_link") 2>&5
  2980 + ac_status=$?
  2981 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2982 + test $ac_status = 0; }
  2983 + if { ac_try='./conftest$ac_cv_exeext'
  2984 + { { case "(($ac_try" in
  2985 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2986 + *) ac_try_echo=$ac_try;;
  2987 +esac
  2988 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2989 +$as_echo "$ac_try_echo"; } >&5
  2990 + (eval "$ac_try") 2>&5
  2991 + ac_status=$?
  2992 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2993 + test $ac_status = 0; }; }; then
  2994 + cross_compiling=no
  2995 + else
  2996 + if test "$cross_compiling" = maybe; then
  2997 + cross_compiling=yes
  2998 + else
  2999 + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3000 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3001 +as_fn_error "cannot run C compiled programs.
  3002 +If you meant to cross compile, use \`--host'.
  3003 +See \`config.log' for more details." "$LINENO" 5; }
  3004 + fi
  3005 + fi
  3006 +fi
  3007 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  3008 +$as_echo "$cross_compiling" >&6; }
  3009 +
  3010 +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  3011 +ac_clean_files=$ac_clean_files_save
  3012 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  3013 +$as_echo_n "checking for suffix of object files... " >&6; }
  3014 +if test "${ac_cv_objext+set}" = set; then :
  3015 + $as_echo_n "(cached) " >&6
  3016 +else
  3017 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3018 +/* end confdefs.h. */
  3019 +
  3020 +int
  3021 +main ()
  3022 +{
  3023 +
  3024 + ;
  3025 + return 0;
  3026 +}
  3027 +_ACEOF
  3028 +rm -f conftest.o conftest.obj
  3029 +if { { ac_try="$ac_compile"
  3030 +case "(($ac_try" in
  3031 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3032 + *) ac_try_echo=$ac_try;;
  3033 +esac
  3034 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3035 +$as_echo "$ac_try_echo"; } >&5
  3036 + (eval "$ac_compile") 2>&5
  3037 + ac_status=$?
  3038 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3039 + test $ac_status = 0; }; then :
  3040 + for ac_file in conftest.o conftest.obj conftest.*; do
  3041 + test -f "$ac_file" || continue;
  3042 + case $ac_file in
  3043 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3044 + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3045 + break;;
  3046 + esac
  3047 +done
  3048 +else
  3049 + $as_echo "$as_me: failed program was:" >&5
  3050 +sed 's/^/| /' conftest.$ac_ext >&5
  3051 +
  3052 +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3053 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3054 +as_fn_error "cannot compute suffix of object files: cannot compile
  3055 +See \`config.log' for more details." "$LINENO" 5; }
  3056 +fi
  3057 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3058 +fi
  3059 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  3060 +$as_echo "$ac_cv_objext" >&6; }
  3061 +OBJEXT=$ac_cv_objext
  3062 +ac_objext=$OBJEXT
  3063 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  3064 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3065 +if test "${ac_cv_c_compiler_gnu+set}" = set; then :
  3066 + $as_echo_n "(cached) " >&6
  3067 +else
  3068 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3069 +/* end confdefs.h. */
  3070 +
  3071 +int
  3072 +main ()
  3073 +{
  3074 +#ifndef __GNUC__
  3075 + choke me
  3076 +#endif
  3077 +
  3078 + ;
  3079 + return 0;
  3080 +}
  3081 +_ACEOF
  3082 +if ac_fn_c_try_compile "$LINENO"; then :
  3083 + ac_compiler_gnu=yes
  3084 +else
  3085 + ac_compiler_gnu=no
  3086 +fi
  3087 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3088 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3089 +
  3090 +fi
  3091 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  3092 +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3093 +if test $ac_compiler_gnu = yes; then
  3094 + GCC=yes
  3095 +else
  3096 + GCC=
  3097 +fi
  3098 +ac_test_CFLAGS=${CFLAGS+set}
  3099 +ac_save_CFLAGS=$CFLAGS
  3100 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  3101 +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  3102 +if test "${ac_cv_prog_cc_g+set}" = set; then :
  3103 + $as_echo_n "(cached) " >&6
  3104 +else
  3105 + ac_save_c_werror_flag=$ac_c_werror_flag
  3106 + ac_c_werror_flag=yes
  3107 + ac_cv_prog_cc_g=no
  3108 + CFLAGS="-g"
  3109 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3110 +/* end confdefs.h. */
  3111 +
  3112 +int
  3113 +main ()
  3114 +{
  3115 +
  3116 + ;
  3117 + return 0;
  3118 +}
  3119 +_ACEOF
  3120 +if ac_fn_c_try_compile "$LINENO"; then :
  3121 + ac_cv_prog_cc_g=yes
  3122 +else
  3123 + CFLAGS=""
  3124 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3125 +/* end confdefs.h. */
  3126 +
  3127 +int
  3128 +main ()
  3129 +{
  3130 +
  3131 + ;
  3132 + return 0;
  3133 +}
  3134 +_ACEOF
  3135 +if ac_fn_c_try_compile "$LINENO"; then :
  3136 +
  3137 +else
  3138 + ac_c_werror_flag=$ac_save_c_werror_flag
  3139 + CFLAGS="-g"
  3140 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3141 +/* end confdefs.h. */
  3142 +
  3143 +int
  3144 +main ()
  3145 +{
  3146 +
  3147 + ;
  3148 + return 0;
  3149 +}
  3150 +_ACEOF
  3151 +if ac_fn_c_try_compile "$LINENO"; then :
  3152 + ac_cv_prog_cc_g=yes
  3153 +fi
  3154 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3155 +fi
  3156 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3157 +fi
  3158 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3159 + ac_c_werror_flag=$ac_save_c_werror_flag
  3160 +fi
  3161 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  3162 +$as_echo "$ac_cv_prog_cc_g" >&6; }
  3163 +if test "$ac_test_CFLAGS" = set; then
  3164 + CFLAGS=$ac_save_CFLAGS
  3165 +elif test $ac_cv_prog_cc_g = yes; then
  3166 + if test "$GCC" = yes; then
  3167 + CFLAGS="-g -O2"
  3168 + else
  3169 + CFLAGS="-g"
  3170 + fi
  3171 +else
  3172 + if test "$GCC" = yes; then
  3173 + CFLAGS="-O2"
  3174 + else
  3175 + CFLAGS=
  3176 + fi
  3177 +fi
  3178 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  3179 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3180 +if test "${ac_cv_prog_cc_c89+set}" = set; then :
  3181 + $as_echo_n "(cached) " >&6
  3182 +else
  3183 + ac_cv_prog_cc_c89=no
  3184 +ac_save_CC=$CC
  3185 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3186 +/* end confdefs.h. */
  3187 +#include <stdarg.h>
  3188 +#include <stdio.h>
  3189 +#include <sys/types.h>
  3190 +#include <sys/stat.h>
  3191 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  3192 +struct buf { int x; };
  3193 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3194 +static char *e (p, i)
  3195 + char **p;
  3196 + int i;
  3197 +{
  3198 + return p[i];
  3199 +}
  3200 +static char *f (char * (*g) (char **, int), char **p, ...)
  3201 +{
  3202 + char *s;
  3203 + va_list v;
  3204 + va_start (v,p);
  3205 + s = g (p, va_arg (v,int));
  3206 + va_end (v);
  3207 + return s;
  3208 +}
  3209 +
  3210 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  3211 + function prototypes and stuff, but not '\xHH' hex character constants.
  3212 + These don't provoke an error unfortunately, instead are silently treated
  3213 + as 'x'. The following induces an error, until -std is added to get
  3214 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  3215 + array size at least. It's necessary to write '\x00'==0 to get something
  3216 + that's true only with -std. */
  3217 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3218 +
  3219 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3220 + inside strings and character constants. */
  3221 +#define FOO(x) 'x'
  3222 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3223 +
  3224 +int test (int i, double x);
  3225 +struct s1 {int (*f) (int a);};
  3226 +struct s2 {int (*f) (double a);};
  3227 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3228 +int argc;
  3229 +char **argv;
  3230 +int
  3231 +main ()
  3232 +{
  3233 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  3234 + ;
  3235 + return 0;
  3236 +}
  3237 +_ACEOF
  3238 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3239 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3240 +do
  3241 + CC="$ac_save_CC $ac_arg"
  3242 + if ac_fn_c_try_compile "$LINENO"; then :
  3243 + ac_cv_prog_cc_c89=$ac_arg
  3244 +fi
  3245 +rm -f core conftest.err conftest.$ac_objext
  3246 + test "x$ac_cv_prog_cc_c89" != "xno" && break
  3247 +done
  3248 +rm -f conftest.$ac_ext
  3249 +CC=$ac_save_CC
  3250 +
  3251 +fi
  3252 +# AC_CACHE_VAL
  3253 +case "x$ac_cv_prog_cc_c89" in
  3254 + x)
  3255 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  3256 +$as_echo "none needed" >&6; } ;;
  3257 + xno)
  3258 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  3259 +$as_echo "unsupported" >&6; } ;;
  3260 + *)
  3261 + CC="$CC $ac_cv_prog_cc_c89"
  3262 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  3263 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3264 +esac
  3265 +if test "x$ac_cv_prog_cc_c89" != xno; then :
  3266 +
  3267 +fi
  3268 +
  3269 +ac_ext=c
  3270 +ac_cpp='$CPP $CPPFLAGS'
  3271 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3272 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3273 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3274 +DEPDIR="${am__leading_dot}deps"
  3275 +
  3276 +ac_config_commands="$ac_config_commands depfiles"
  3277 +
  3278 +
  3279 +am_make=${MAKE-make}
  3280 +cat > confinc << 'END'
  3281 +am__doit:
  3282 + @echo this is the am__doit target
  3283 +.PHONY: am__doit
  3284 +END
  3285 +# If we don't find an include directive, just comment out the code.
  3286 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  3287 +$as_echo_n "checking for style of include used by $am_make... " >&6; }
  3288 +am__include="#"
  3289 +am__quote=
  3290 +_am_result=none
  3291 +# First try GNU make style include.
  3292 +echo "include confinc" > confmf
  3293 +# Ignore all kinds of additional output from `make'.
  3294 +case `$am_make -s -f confmf 2> /dev/null` in #(
  3295 +*the\ am__doit\ target*)
  3296 + am__include=include
  3297 + am__quote=
  3298 + _am_result=GNU
  3299 + ;;
  3300 +esac
  3301 +# Now try BSD make style include.
  3302 +if test "$am__include" = "#"; then
  3303 + echo '.include "confinc"' > confmf
  3304 + case `$am_make -s -f confmf 2> /dev/null` in #(
  3305 + *the\ am__doit\ target*)
  3306 + am__include=.include
  3307 + am__quote="\""
  3308 + _am_result=BSD
  3309 + ;;
  3310 + esac
  3311 +fi
  3312 +
  3313 +
  3314 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  3315 +$as_echo "$_am_result" >&6; }
  3316 +rm -f confinc confmf
  3317 +
  3318 +# Check whether --enable-dependency-tracking was given.
  3319 +if test "${enable_dependency_tracking+set}" = set; then :
  3320 + enableval=$enable_dependency_tracking;
  3321 +fi
  3322 +
  3323 +if test "x$enable_dependency_tracking" != xno; then
  3324 + am_depcomp="$ac_aux_dir/depcomp"
  3325 + AMDEPBACKSLASH='\'
  3326 +fi
  3327 + if test "x$enable_dependency_tracking" != xno; then
  3328 + AMDEP_TRUE=
  3329 + AMDEP_FALSE='#'
  3330 +else
  3331 + AMDEP_TRUE='#'
  3332 + AMDEP_FALSE=
  3333 +fi
  3334 +
  3335 +
  3336 +
  3337 +depcc="$CC" am_compiler_list=
  3338 +
  3339 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  3340 +$as_echo_n "checking dependency style of $depcc... " >&6; }
  3341 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
  3342 + $as_echo_n "(cached) " >&6
  3343 +else
  3344 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3345 + # We make a subdir and do the tests there. Otherwise we can end up
  3346 + # making bogus files that we don't know about and never remove. For
  3347 + # instance it was reported that on HP-UX the gcc test will end up
  3348 + # making a dummy file named `D' -- because `-MD' means `put the output
  3349 + # in D'.
  3350 + mkdir conftest.dir
  3351 + # Copy depcomp to subdir because otherwise we won't find it if we're
  3352 + # using a relative directory.
  3353 + cp "$am_depcomp" conftest.dir
  3354 + cd conftest.dir
  3355 + # We will build objects and dependencies in a subdirectory because
  3356 + # it helps to detect inapplicable dependency modes. For instance
  3357 + # both Tru64's cc and ICC support -MD to output dependencies as a
  3358 + # side effect of compilation, but ICC will put the dependencies in
  3359 + # the current directory while Tru64 will put them in the object
  3360 + # directory.
  3361 + mkdir sub
  3362 +
  3363 + am_cv_CC_dependencies_compiler_type=none
  3364 + if test "$am_compiler_list" = ""; then
  3365 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3366 + fi
  3367 + am__universal=false
  3368 + case " $depcc " in #(
  3369 + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  3370 + esac
  3371 +
  3372 + for depmode in $am_compiler_list; do
  3373 + # Setup a source with many dependencies, because some compilers
  3374 + # like to wrap large dependency lists on column 80 (with \), and
  3375 + # we should not choose a depcomp mode which is confused by this.
  3376 + #
  3377 + # We need to recreate these files for each test, as the compiler may
  3378 + # overwrite some of them when testing with obscure command lines.
  3379 + # This happens at least with the AIX C compiler.
  3380 + : > sub/conftest.c
  3381 + for i in 1 2 3 4 5 6; do
  3382 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3383 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  3384 + # Solaris 8's {/usr,}/bin/sh.
  3385 + touch sub/conftst$i.h
  3386 + done
  3387 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3388 +
  3389 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3390 + # mode. It turns out that the SunPro C++ compiler does not properly
  3391 + # handle `-M -o', and we need to detect this. Also, some Intel
  3392 + # versions had trouble with output in subdirs
  3393 + am__obj=sub/conftest.${OBJEXT-o}
  3394 + am__minus_obj="-o $am__obj"
  3395 + case $depmode in
  3396 + gcc)
  3397 + # This depmode causes a compiler race in universal mode.
  3398 + test "$am__universal" = false || continue
  3399 + ;;
  3400 + nosideeffect)
  3401 + # after this tag, mechanisms are not by side-effect, so they'll
  3402 + # only be used when explicitly requested
  3403 + if test "x$enable_dependency_tracking" = xyes; then
  3404 + continue
  3405 + else
  3406 + break
  3407 + fi
  3408 + ;;
  3409 + msvisualcpp | msvcmsys)
  3410 + # This compiler won't grok `-c -o', but also, the minuso test has
  3411 + # not run yet. These depmodes are late enough in the game, and
  3412 + # so weak that their functioning should not be impacted.
  3413 + am__obj=conftest.${OBJEXT-o}
  3414 + am__minus_obj=
  3415 + ;;
  3416 + none) break ;;
  3417 + esac
  3418 + if depmode=$depmode \
  3419 + source=sub/conftest.c object=$am__obj \
  3420 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3421 + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  3422 + >/dev/null 2>conftest.err &&
  3423 + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  3424 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3425 + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  3426 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3427 + # icc doesn't choke on unknown options, it will just issue warnings
  3428 + # or remarks (even with -Werror). So we grep stderr for any message
  3429 + # that says an option was ignored or not supported.
  3430 + # When given -MP, icc 7.0 and 7.1 complain thusly:
  3431 + # icc: Command line warning: ignoring option '-M'; no argument required
  3432 + # The diagnosis changed in icc 8.0:
  3433 + # icc: Command line remark: option '-MP' not supported
  3434 + if (grep 'ignoring option' conftest.err ||
  3435 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3436 + am_cv_CC_dependencies_compiler_type=$depmode
  3437 + break
  3438 + fi
  3439 + fi
  3440 + done
  3441 +
  3442 + cd ..
  3443 + rm -rf conftest.dir
  3444 +else
  3445 + am_cv_CC_dependencies_compiler_type=none
  3446 +fi
  3447 +
  3448 +fi
  3449 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  3450 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  3451 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3452 +
  3453 + if
  3454 + test "x$enable_dependency_tracking" != xno \
  3455 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3456 + am__fastdepCC_TRUE=
  3457 + am__fastdepCC_FALSE='#'
  3458 +else
  3459 + am__fastdepCC_TRUE='#'
  3460 + am__fastdepCC_FALSE=
  3461 +fi
  3462 +
  3463 +
  3464 +
  3465 +
  3466 +ac_ext=c
  3467 +ac_cpp='$CPP $CPPFLAGS'
  3468 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3469 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3470 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3471 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  3472 +$as_echo_n "checking how to run the C preprocessor... " >&6; }
  3473 +# On Suns, sometimes $CPP names a directory.
  3474 +if test -n "$CPP" && test -d "$CPP"; then
  3475 + CPP=
  3476 +fi
  3477 +if test -z "$CPP"; then
  3478 + if test "${ac_cv_prog_CPP+set}" = set; then :
  3479 + $as_echo_n "(cached) " >&6
  3480 +else
  3481 + # Double quotes because CPP needs to be expanded
  3482 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  3483 + do
  3484 + ac_preproc_ok=false
  3485 +for ac_c_preproc_warn_flag in '' yes
  3486 +do
  3487 + # Use a header file that comes with gcc, so configuring glibc
  3488 + # with a fresh cross-compiler works.
  3489 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3490 + # <limits.h> exists even on freestanding compilers.
  3491 + # On the NeXT, cc -E runs the code through the compiler's parser,
  3492 + # not just through cpp. "Syntax error" is here to catch this case.
  3493 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3494 +/* end confdefs.h. */
  3495 +#ifdef __STDC__
  3496 +# include <limits.h>
  3497 +#else
  3498 +# include <assert.h>
  3499 +#endif
  3500 + Syntax error
  3501 +_ACEOF
  3502 +if ac_fn_c_try_cpp "$LINENO"; then :
  3503 +
  3504 +else
  3505 + # Broken: fails on valid input.
  3506 +continue
  3507 +fi
  3508 +rm -f conftest.err conftest.$ac_ext
  3509 +
  3510 + # OK, works on sane cases. Now check whether nonexistent headers
  3511 + # can be detected and how.
  3512 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3513 +/* end confdefs.h. */
  3514 +#include <ac_nonexistent.h>
  3515 +_ACEOF
  3516 +if ac_fn_c_try_cpp "$LINENO"; then :
  3517 + # Broken: success on invalid input.
  3518 +continue
  3519 +else
  3520 + # Passes both tests.
  3521 +ac_preproc_ok=:
  3522 +break
  3523 +fi
  3524 +rm -f conftest.err conftest.$ac_ext
  3525 +
  3526 +done
  3527 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3528 +rm -f conftest.err conftest.$ac_ext
  3529 +if $ac_preproc_ok; then :
  3530 + break
  3531 +fi
  3532 +
  3533 + done
  3534 + ac_cv_prog_CPP=$CPP
  3535 +
  3536 +fi
  3537 + CPP=$ac_cv_prog_CPP
  3538 +else
  3539 + ac_cv_prog_CPP=$CPP
  3540 +fi
  3541 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  3542 +$as_echo "$CPP" >&6; }
  3543 +ac_preproc_ok=false
  3544 +for ac_c_preproc_warn_flag in '' yes
  3545 +do
  3546 + # Use a header file that comes with gcc, so configuring glibc
  3547 + # with a fresh cross-compiler works.
  3548 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3549 + # <limits.h> exists even on freestanding compilers.
  3550 + # On the NeXT, cc -E runs the code through the compiler's parser,
  3551 + # not just through cpp. "Syntax error" is here to catch this case.
  3552 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3553 +/* end confdefs.h. */
  3554 +#ifdef __STDC__
  3555 +# include <limits.h>
  3556 +#else
  3557 +# include <assert.h>
  3558 +#endif
  3559 + Syntax error
  3560 +_ACEOF
  3561 +if ac_fn_c_try_cpp "$LINENO"; then :
  3562 +
  3563 +else
  3564 + # Broken: fails on valid input.
  3565 +continue
  3566 +fi
  3567 +rm -f conftest.err conftest.$ac_ext
  3568 +
  3569 + # OK, works on sane cases. Now check whether nonexistent headers
  3570 + # can be detected and how.
  3571 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3572 +/* end confdefs.h. */
  3573 +#include <ac_nonexistent.h>
  3574 +_ACEOF
  3575 +if ac_fn_c_try_cpp "$LINENO"; then :
  3576 + # Broken: success on invalid input.
  3577 +continue
  3578 +else
  3579 + # Passes both tests.
  3580 +ac_preproc_ok=:
  3581 +break
  3582 +fi
  3583 +rm -f conftest.err conftest.$ac_ext
  3584 +
  3585 +done
  3586 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3587 +rm -f conftest.err conftest.$ac_ext
  3588 +if $ac_preproc_ok; then :
  3589 +
  3590 +else
  3591 + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3592 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3593 +as_fn_error "C preprocessor \"$CPP\" fails sanity check
  3594 +See \`config.log' for more details." "$LINENO" 5; }
  3595 +fi
  3596 +
  3597 +ac_ext=c
  3598 +ac_cpp='$CPP $CPPFLAGS'
  3599 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3600 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3601 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3602 +
  3603 +
  3604 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  3605 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  3606 +if test "${ac_cv_path_GREP+set}" = set; then :
  3607 + $as_echo_n "(cached) " >&6
  3608 +else
  3609 + if test -z "$GREP"; then
  3610 + ac_path_GREP_found=false
  3611 + # Loop through the user's path and test for each of PROGNAME-LIST
  3612 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3613 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3614 +do
  3615 + IFS=$as_save_IFS
  3616 + test -z "$as_dir" && as_dir=.
  3617 + for ac_prog in grep ggrep; do
  3618 + for ac_exec_ext in '' $ac_executable_extensions; do
  3619 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  3620 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  3621 +# Check for GNU ac_path_GREP and select it if it is found.
  3622 + # Check for GNU $ac_path_GREP
  3623 +case `"$ac_path_GREP" --version 2>&1` in
  3624 +*GNU*)
  3625 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  3626 +*)
  3627 + ac_count=0
  3628 + $as_echo_n 0123456789 >"conftest.in"
  3629 + while :
  3630 + do
  3631 + cat "conftest.in" "conftest.in" >"conftest.tmp"
  3632 + mv "conftest.tmp" "conftest.in"
  3633 + cp "conftest.in" "conftest.nl"
  3634 + $as_echo 'GREP' >> "conftest.nl"
  3635 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3636 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3637 + as_fn_arith $ac_count + 1 && ac_count=$as_val
  3638 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
  3639 + # Best one so far, save it but keep looking for a better one
  3640 + ac_cv_path_GREP="$ac_path_GREP"
  3641 + ac_path_GREP_max=$ac_count
  3642 + fi
  3643 + # 10*(2^10) chars as input seems more than enough
  3644 + test $ac_count -gt 10 && break
  3645 + done
  3646 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3647 +esac
  3648 +
  3649 + $ac_path_GREP_found && break 3
  3650 + done
  3651 + done
  3652 + done
  3653 +IFS=$as_save_IFS
  3654 + if test -z "$ac_cv_path_GREP"; then
  3655 + as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  3656 + fi
  3657 +else
  3658 + ac_cv_path_GREP=$GREP
  3659 +fi
  3660 +
  3661 +fi
  3662 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  3663 +$as_echo "$ac_cv_path_GREP" >&6; }
  3664 + GREP="$ac_cv_path_GREP"
  3665 +
  3666 +
  3667 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  3668 +$as_echo_n "checking for egrep... " >&6; }
  3669 +if test "${ac_cv_path_EGREP+set}" = set; then :
  3670 + $as_echo_n "(cached) " >&6
  3671 +else
  3672 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  3673 + then ac_cv_path_EGREP="$GREP -E"
  3674 + else
  3675 + if test -z "$EGREP"; then
  3676 + ac_path_EGREP_found=false
  3677 + # Loop through the user's path and test for each of PROGNAME-LIST
  3678 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3679 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3680 +do
  3681 + IFS=$as_save_IFS
  3682 + test -z "$as_dir" && as_dir=.
  3683 + for ac_prog in egrep; do
  3684 + for ac_exec_ext in '' $ac_executable_extensions; do
  3685 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  3686 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  3687 +# Check for GNU ac_path_EGREP and select it if it is found.
  3688 + # Check for GNU $ac_path_EGREP
  3689 +case `"$ac_path_EGREP" --version 2>&1` in
  3690 +*GNU*)
  3691 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  3692 +*)
  3693 + ac_count=0
  3694 + $as_echo_n 0123456789 >"conftest.in"
  3695 + while :
  3696 + do
  3697 + cat "conftest.in" "conftest.in" >"conftest.tmp"
  3698 + mv "conftest.tmp" "conftest.in"
  3699 + cp "conftest.in" "conftest.nl"
  3700 + $as_echo 'EGREP' >> "conftest.nl"
  3701 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3702 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3703 + as_fn_arith $ac_count + 1 && ac_count=$as_val
  3704 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  3705 + # Best one so far, save it but keep looking for a better one
  3706 + ac_cv_path_EGREP="$ac_path_EGREP"
  3707 + ac_path_EGREP_max=$ac_count
  3708 + fi
  3709 + # 10*(2^10) chars as input seems more than enough
  3710 + test $ac_count -gt 10 && break
  3711 + done
  3712 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3713 +esac
  3714 +
  3715 + $ac_path_EGREP_found && break 3
  3716 + done
  3717 + done
  3718 + done
  3719 +IFS=$as_save_IFS
  3720 + if test -z "$ac_cv_path_EGREP"; then
  3721 + as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  3722 + fi
  3723 +else
  3724 + ac_cv_path_EGREP=$EGREP
  3725 +fi
  3726 +
  3727 + fi
  3728 +fi
  3729 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  3730 +$as_echo "$ac_cv_path_EGREP" >&6; }
  3731 + EGREP="$ac_cv_path_EGREP"
  3732 +
  3733 +
  3734 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  3735 +$as_echo_n "checking for ANSI C header files... " >&6; }
  3736 +if test "${ac_cv_header_stdc+set}" = set; then :
  3737 + $as_echo_n "(cached) " >&6
  3738 +else
  3739 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3740 +/* end confdefs.h. */
  3741 +#include <stdlib.h>
  3742 +#include <stdarg.h>
  3743 +#include <string.h>
  3744 +#include <float.h>
  3745 +
  3746 +int
  3747 +main ()
  3748 +{
  3749 +
  3750 + ;
  3751 + return 0;
  3752 +}
  3753 +_ACEOF
  3754 +if ac_fn_c_try_compile "$LINENO"; then :
  3755 + ac_cv_header_stdc=yes
  3756 +else
  3757 + ac_cv_header_stdc=no
  3758 +fi
  3759 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3760 +
  3761 +if test $ac_cv_header_stdc = yes; then
  3762 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  3763 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3764 +/* end confdefs.h. */
  3765 +#include <string.h>
  3766 +
  3767 +_ACEOF
  3768 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  3769 + $EGREP "memchr" >/dev/null 2>&1; then :
  3770 +
  3771 +else
  3772 + ac_cv_header_stdc=no
  3773 +fi
  3774 +rm -f conftest*
  3775 +
  3776 +fi
  3777 +
  3778 +if test $ac_cv_header_stdc = yes; then
  3779 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  3780 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3781 +/* end confdefs.h. */
  3782 +#include <stdlib.h>
  3783 +
  3784 +_ACEOF
  3785 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  3786 + $EGREP "free" >/dev/null 2>&1; then :
  3787 +
  3788 +else
  3789 + ac_cv_header_stdc=no
  3790 +fi
  3791 +rm -f conftest*
  3792 +
  3793 +fi
  3794 +
  3795 +if test $ac_cv_header_stdc = yes; then
  3796 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  3797 + if test "$cross_compiling" = yes; then :
  3798 + :
  3799 +else
  3800 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3801 +/* end confdefs.h. */
  3802 +#include <ctype.h>
  3803 +#include <stdlib.h>
  3804 +#if ((' ' & 0x0FF) == 0x020)
  3805 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  3806 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  3807 +#else
  3808 +# define ISLOWER(c) \
  3809 + (('a' <= (c) && (c) <= 'i') \
  3810 + || ('j' <= (c) && (c) <= 'r') \
  3811 + || ('s' <= (c) && (c) <= 'z'))
  3812 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  3813 +#endif
  3814 +
  3815 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  3816 +int
  3817 +main ()
  3818 +{
  3819 + int i;
  3820 + for (i = 0; i < 256; i++)
  3821 + if (XOR (islower (i), ISLOWER (i))
  3822 + || toupper (i) != TOUPPER (i))
  3823 + return 2;
  3824 + return 0;
  3825 +}
  3826 +_ACEOF
  3827 +if ac_fn_c_try_run "$LINENO"; then :
  3828 +
  3829 +else
  3830 + ac_cv_header_stdc=no
  3831 +fi
  3832 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  3833 + conftest.$ac_objext conftest.beam conftest.$ac_ext
  3834 +fi
  3835 +
  3836 +fi
  3837 +fi
  3838 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  3839 +$as_echo "$ac_cv_header_stdc" >&6; }
  3840 +if test $ac_cv_header_stdc = yes; then
  3841 +
  3842 +$as_echo "#define STDC_HEADERS 1" >>confdefs.h
  3843 +
  3844 +fi
  3845 +
  3846 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
  3847 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  3848 + inttypes.h stdint.h unistd.h
  3849 +do :
  3850 + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  3851 +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  3852 +"
  3853 +eval as_val=\$$as_ac_Header
  3854 + if test "x$as_val" = x""yes; then :
  3855 + cat >>confdefs.h <<_ACEOF
  3856 +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  3857 +_ACEOF
  3858 +
  3859 +fi
  3860 +
  3861 +done
  3862 +
  3863 +
  3864 +for ac_header in stdio.h malloc.h string.h bfd.h
  3865 +do :
  3866 + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  3867 +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  3868 +eval as_val=\$$as_ac_Header
  3869 + if test "x$as_val" = x""yes; then :
  3870 + cat >>confdefs.h <<_ACEOF
  3871 +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  3872 +_ACEOF
  3873 +
  3874 +fi
  3875 +
  3876 +done
  3877 +
  3878 +$as_echo "#define PACKAGE_NAME \"dsoextractfw\"" >>confdefs.h
  3879 +
  3880 +ac_config_files="$ac_config_files Makefile"
  3881 +
  3882 +cat >confcache <<\_ACEOF
  3883 +# This file is a shell script that caches the results of configure
  3884 +# tests run on this system so they can be shared between configure
  3885 +# scripts and configure runs, see configure's option --config-cache.
  3886 +# It is not useful on other systems. If it contains results you don't
  3887 +# want to keep, you may remove or edit it.
  3888 +#
  3889 +# config.status only pays attention to the cache file if you give it
  3890 +# the --recheck option to rerun configure.
  3891 +#
  3892 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
  3893 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
  3894 +# following values.
  3895 +
  3896 +_ACEOF
  3897 +
  3898 +# The following way of writing the cache mishandles newlines in values,
  3899 +# but we know of no workaround that is simple, portable, and efficient.
  3900 +# So, we kill variables containing newlines.
  3901 +# Ultrix sh set writes to stderr and can't be redirected directly,
  3902 +# and sets the high bit in the cache file unless we assign to the vars.
  3903 +(
  3904 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  3905 + eval ac_val=\$$ac_var
  3906 + case $ac_val in #(
  3907 + *${as_nl}*)
  3908 + case $ac_var in #(
  3909 + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  3910 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  3911 + esac
  3912 + case $ac_var in #(
  3913 + _ | IFS | as_nl) ;; #(
  3914 + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  3915 + *) { eval $ac_var=; unset $ac_var;} ;;
  3916 + esac ;;
  3917 + esac
  3918 + done
  3919 +
  3920 + (set) 2>&1 |
  3921 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
  3922 + *${as_nl}ac_space=\ *)
  3923 + # `set' does not quote correctly, so add quotes: double-quote
  3924 + # substitution turns \\\\ into \\, and sed turns \\ into \.
  3925 + sed -n \
  3926 + "s/'/'\\\\''/g;
  3927 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  3928 + ;; #(
  3929 + *)
  3930 + # `set' quotes correctly as required by POSIX, so do not add quotes.
  3931 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  3932 + ;;
  3933 + esac |
  3934 + sort
  3935 +) |
  3936 + sed '
  3937 + /^ac_cv_env_/b end
  3938 + t clear
  3939 + :clear
  3940 + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  3941 + t end
  3942 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  3943 + :end' >>confcache
  3944 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  3945 + if test -w "$cache_file"; then
  3946 + test "x$cache_file" != "x/dev/null" &&
  3947 + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  3948 +$as_echo "$as_me: updating cache $cache_file" >&6;}
  3949 + cat confcache >$cache_file
  3950 + else
  3951 + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  3952 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  3953 + fi
  3954 +fi
  3955 +rm -f confcache
  3956 +
  3957 +test "x$prefix" = xNONE && prefix=$ac_default_prefix
  3958 +# Let make expand exec_prefix.
  3959 +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  3960 +
  3961 +# Transform confdefs.h into DEFS.
  3962 +# Protect against shell expansion while executing Makefile rules.
  3963 +# Protect against Makefile macro expansion.
  3964 +#
  3965 +# If the first sed substitution is executed (which looks for macros that
  3966 +# take arguments), then branch to the quote section. Otherwise,
  3967 +# look for a macro that doesn't take arguments.
  3968 +ac_script='
  3969 +:mline
  3970 +/\\$/{
  3971 + N
  3972 + s,\\\n,,
  3973 + b mline
  3974 +}
  3975 +t clear
  3976 +:clear
  3977 +s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
  3978 +t quote
  3979 +s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
  3980 +t quote
  3981 +b any
  3982 +:quote
  3983 +s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
  3984 +s/\[/\\&/g
  3985 +s/\]/\\&/g
  3986 +s/\$/$$/g
  3987 +H
  3988 +:any
  3989 +${
  3990 + g
  3991 + s/^\n//
  3992 + s/\n/ /g
  3993 + p
  3994 +}
  3995 +'
  3996 +DEFS=`sed -n "$ac_script" confdefs.h`
  3997 +
  3998 +
  3999 +ac_libobjs=
  4000 +ac_ltlibobjs=
  4001 +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  4002 + # 1. Remove the extension, and $U if already installed.
  4003 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  4004 + ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  4005 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  4006 + # will be set to the directory where LIBOBJS objects are built.
  4007 + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  4008 + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  4009 +done
  4010 +LIBOBJS=$ac_libobjs
  4011 +
  4012 +LTLIBOBJS=$ac_ltlibobjs
  4013 +
  4014 +
  4015 + if test -n "$EXEEXT"; then
  4016 + am__EXEEXT_TRUE=
  4017 + am__EXEEXT_FALSE='#'
  4018 +else
  4019 + am__EXEEXT_TRUE='#'
  4020 + am__EXEEXT_FALSE=
  4021 +fi
  4022 +
  4023 +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  4024 + as_fn_error "conditional \"AMDEP\" was never defined.
  4025 +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  4026 +fi
  4027 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  4028 + as_fn_error "conditional \"am__fastdepCC\" was never defined.
  4029 +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  4030 +fi
  4031 +
  4032 +: ${CONFIG_STATUS=./config.status}
  4033 +ac_write_fail=0
  4034 +ac_clean_files_save=$ac_clean_files
  4035 +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  4036 +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  4037 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  4038 +as_write_fail=0
  4039 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  4040 +#! $SHELL
  4041 +# Generated by $as_me.
  4042 +# Run this file to recreate the current configuration.
  4043 +# Compiler output produced by configure, useful for debugging
  4044 +# configure, is in config.log if it exists.
  4045 +
  4046 +debug=false
  4047 +ac_cs_recheck=false
  4048 +ac_cs_silent=false
  4049 +
  4050 +SHELL=\${CONFIG_SHELL-$SHELL}
  4051 +export SHELL
  4052 +_ASEOF
  4053 +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  4054 +## -------------------- ##
  4055 +## M4sh Initialization. ##
  4056 +## -------------------- ##
  4057 +
  4058 +# Be more Bourne compatible
  4059 +DUALCASE=1; export DUALCASE # for MKS sh
  4060 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  4061 + emulate sh
  4062 + NULLCMD=:
  4063 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  4064 + # is contrary to our usage. Disable this feature.
  4065 + alias -g '${1+"$@"}'='"$@"'
  4066 + setopt NO_GLOB_SUBST
  4067 +else
  4068 + case `(set -o) 2>/dev/null` in #(
  4069 + *posix*) :
  4070 + set -o posix ;; #(
  4071 + *) :
  4072 + ;;
  4073 +esac
  4074 +fi
  4075 +
  4076 +
  4077 +as_nl='
  4078 +'
  4079 +export as_nl
  4080 +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  4081 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  4082 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  4083 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  4084 +# Prefer a ksh shell builtin over an external printf program on Solaris,
  4085 +# but without wasting forks for bash or zsh.
  4086 +if test -z "$BASH_VERSION$ZSH_VERSION" \
  4087 + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  4088 + as_echo='print -r --'
  4089 + as_echo_n='print -rn --'
  4090 +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  4091 + as_echo='printf %s\n'
  4092 + as_echo_n='printf %s'
  4093 +else
  4094 + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  4095 + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  4096 + as_echo_n='/usr/ucb/echo -n'
  4097 + else
  4098 + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  4099 + as_echo_n_body='eval
  4100 + arg=$1;
  4101 + case $arg in #(
  4102 + *"$as_nl"*)
  4103 + expr "X$arg" : "X\\(.*\\)$as_nl";
  4104 + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  4105 + esac;
  4106 + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  4107 + '
  4108 + export as_echo_n_body
  4109 + as_echo_n='sh -c $as_echo_n_body as_echo'
  4110 + fi
  4111 + export as_echo_body
  4112 + as_echo='sh -c $as_echo_body as_echo'
  4113 +fi
  4114 +
  4115 +# The user is always right.
  4116 +if test "${PATH_SEPARATOR+set}" != set; then
  4117 + PATH_SEPARATOR=:
  4118 + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  4119 + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  4120 + PATH_SEPARATOR=';'
  4121 + }
  4122 +fi
  4123 +
  4124 +
  4125 +# IFS
  4126 +# We need space, tab and new line, in precisely that order. Quoting is
  4127 +# there to prevent editors from complaining about space-tab.
  4128 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  4129 +# splitting by setting IFS to empty value.)
  4130 +IFS=" "" $as_nl"
  4131 +
  4132 +# Find who we are. Look in the path if we contain no directory separator.
  4133 +case $0 in #((
  4134 + *[\\/]* ) as_myself=$0 ;;
  4135 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4136 +for as_dir in $PATH
  4137 +do
  4138 + IFS=$as_save_IFS
  4139 + test -z "$as_dir" && as_dir=.
  4140 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  4141 + done
  4142 +IFS=$as_save_IFS
  4143 +
  4144 + ;;
  4145 +esac
  4146 +# We did not find ourselves, most probably we were run as `sh COMMAND'
  4147 +# in which case we are not to be found in the path.
  4148 +if test "x$as_myself" = x; then
  4149 + as_myself=$0
  4150 +fi
  4151 +if test ! -f "$as_myself"; then
  4152 + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  4153 + exit 1
  4154 +fi
  4155 +
  4156 +# Unset variables that we do not need and which cause bugs (e.g. in
  4157 +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  4158 +# suppresses any "Segmentation fault" message there. '((' could
  4159 +# trigger a bug in pdksh 5.2.14.
  4160 +for as_var in BASH_ENV ENV MAIL MAILPATH
  4161 +do eval test x\${$as_var+set} = xset \
  4162 + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  4163 +done
  4164 +PS1='$ '
  4165 +PS2='> '
  4166 +PS4='+ '
  4167 +
  4168 +# NLS nuisances.
  4169 +LC_ALL=C
  4170 +export LC_ALL
  4171 +LANGUAGE=C
  4172 +export LANGUAGE
  4173 +
  4174 +# CDPATH.
  4175 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  4176 +
  4177 +
  4178 +# as_fn_error ERROR [LINENO LOG_FD]
  4179 +# ---------------------------------
  4180 +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  4181 +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  4182 +# script with status $?, using 1 if that was 0.
  4183 +as_fn_error ()
  4184 +{
  4185 + as_status=$?; test $as_status -eq 0 && as_status=1
  4186 + if test "$3"; then
  4187 + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  4188 + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  4189 + fi
  4190 + $as_echo "$as_me: error: $1" >&2
  4191 + as_fn_exit $as_status
  4192 +} # as_fn_error
  4193 +
  4194 +
  4195 +# as_fn_set_status STATUS
  4196 +# -----------------------
  4197 +# Set $? to STATUS, without forking.
  4198 +as_fn_set_status ()
  4199 +{
  4200 + return $1
  4201 +} # as_fn_set_status
  4202 +
  4203 +# as_fn_exit STATUS
  4204 +# -----------------
  4205 +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  4206 +as_fn_exit ()
  4207 +{
  4208 + set +e
  4209 + as_fn_set_status $1
  4210 + exit $1
  4211 +} # as_fn_exit
  4212 +
  4213 +# as_fn_unset VAR
  4214 +# ---------------
  4215 +# Portably unset VAR.
  4216 +as_fn_unset ()
  4217 +{
  4218 + { eval $1=; unset $1;}
  4219 +}
  4220 +as_unset=as_fn_unset
  4221 +# as_fn_append VAR VALUE
  4222 +# ----------------------
  4223 +# Append the text in VALUE to the end of the definition contained in VAR. Take
  4224 +# advantage of any shell optimizations that allow amortized linear growth over
  4225 +# repeated appends, instead of the typical quadratic growth present in naive
  4226 +# implementations.
  4227 +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  4228 + eval 'as_fn_append ()
  4229 + {
  4230 + eval $1+=\$2
  4231 + }'
  4232 +else
  4233 + as_fn_append ()
  4234 + {
  4235 + eval $1=\$$1\$2
  4236 + }
  4237 +fi # as_fn_append
  4238 +
  4239 +# as_fn_arith ARG...
  4240 +# ------------------
  4241 +# Perform arithmetic evaluation on the ARGs, and store the result in the
  4242 +# global $as_val. Take advantage of shells that can avoid forks. The arguments
  4243 +# must be portable across $(()) and expr.
  4244 +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  4245 + eval 'as_fn_arith ()
  4246 + {
  4247 + as_val=$(( $* ))
  4248 + }'
  4249 +else
  4250 + as_fn_arith ()
  4251 + {
  4252 + as_val=`expr "$@" || test $? -eq 1`
  4253 + }
  4254 +fi # as_fn_arith
  4255 +
  4256 +
  4257 +if expr a : '\(a\)' >/dev/null 2>&1 &&
  4258 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  4259 + as_expr=expr
  4260 +else
  4261 + as_expr=false
  4262 +fi
  4263 +
  4264 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  4265 + as_basename=basename
  4266 +else
  4267 + as_basename=false
  4268 +fi
  4269 +
  4270 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  4271 + as_dirname=dirname
  4272 +else
  4273 + as_dirname=false
  4274 +fi
  4275 +
  4276 +as_me=`$as_basename -- "$0" ||
  4277 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  4278 + X"$0" : 'X\(//\)$' \| \
  4279 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  4280 +$as_echo X/"$0" |
  4281 + sed '/^.*\/\([^/][^/]*\)\/*$/{
  4282 + s//\1/
  4283 + q
  4284 + }
  4285 + /^X\/\(\/\/\)$/{
  4286 + s//\1/
  4287 + q
  4288 + }
  4289 + /^X\/\(\/\).*/{
  4290 + s//\1/
  4291 + q
  4292 + }
  4293 + s/.*/./; q'`
  4294 +
  4295 +# Avoid depending upon Character Ranges.
  4296 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  4297 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  4298 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  4299 +as_cr_digits='0123456789'
  4300 +as_cr_alnum=$as_cr_Letters$as_cr_digits
  4301 +
  4302 +ECHO_C= ECHO_N= ECHO_T=
  4303 +case `echo -n x` in #(((((
  4304 +-n*)
  4305 + case `echo 'xy\c'` in
  4306 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  4307 + xy) ECHO_C='\c';;
  4308 + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  4309 + ECHO_T=' ';;
  4310 + esac;;
  4311 +*)
  4312 + ECHO_N='-n';;
  4313 +esac
  4314 +
  4315 +rm -f conf$$ conf$$.exe conf$$.file
  4316 +if test -d conf$$.dir; then
  4317 + rm -f conf$$.dir/conf$$.file
  4318 +else
  4319 + rm -f conf$$.dir
  4320 + mkdir conf$$.dir 2>/dev/null
  4321 +fi
  4322 +if (echo >conf$$.file) 2>/dev/null; then
  4323 + if ln -s conf$$.file conf$$ 2>/dev/null; then
  4324 + as_ln_s='ln -s'
  4325 + # ... but there are two gotchas:
  4326 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  4327 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  4328 + # In both cases, we have to default to `cp -p'.
  4329 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  4330 + as_ln_s='cp -p'
  4331 + elif ln conf$$.file conf$$ 2>/dev/null; then
  4332 + as_ln_s=ln
  4333 + else
  4334 + as_ln_s='cp -p'
  4335 + fi
  4336 +else
  4337 + as_ln_s='cp -p'
  4338 +fi
  4339 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  4340 +rmdir conf$$.dir 2>/dev/null
  4341 +
  4342 +
  4343 +# as_fn_mkdir_p
  4344 +# -------------
  4345 +# Create "$as_dir" as a directory, including parents if necessary.
  4346 +as_fn_mkdir_p ()
  4347 +{
  4348 +
  4349 + case $as_dir in #(
  4350 + -*) as_dir=./$as_dir;;
  4351 + esac
  4352 + test -d "$as_dir" || eval $as_mkdir_p || {
  4353 + as_dirs=
  4354 + while :; do
  4355 + case $as_dir in #(
  4356 + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  4357 + *) as_qdir=$as_dir;;
  4358 + esac
  4359 + as_dirs="'$as_qdir' $as_dirs"
  4360 + as_dir=`$as_dirname -- "$as_dir" ||
  4361 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  4362 + X"$as_dir" : 'X\(//\)[^/]' \| \
  4363 + X"$as_dir" : 'X\(//\)$' \| \
  4364 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  4365 +$as_echo X"$as_dir" |
  4366 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  4367 + s//\1/
  4368 + q
  4369 + }
  4370 + /^X\(\/\/\)[^/].*/{
  4371 + s//\1/
  4372 + q
  4373 + }
  4374 + /^X\(\/\/\)$/{
  4375 + s//\1/
  4376 + q
  4377 + }
  4378 + /^X\(\/\).*/{
  4379 + s//\1/
  4380 + q
  4381 + }
  4382 + s/.*/./; q'`
  4383 + test -d "$as_dir" && break
  4384 + done
  4385 + test -z "$as_dirs" || eval "mkdir $as_dirs"
  4386 + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  4387 +
  4388 +
  4389 +} # as_fn_mkdir_p
  4390 +if mkdir -p . 2>/dev/null; then
  4391 + as_mkdir_p='mkdir -p "$as_dir"'
  4392 +else
  4393 + test -d ./-p && rmdir ./-p
  4394 + as_mkdir_p=false
  4395 +fi
  4396 +
  4397 +if test -x / >/dev/null 2>&1; then
  4398 + as_test_x='test -x'
  4399 +else
  4400 + if ls -dL / >/dev/null 2>&1; then
  4401 + as_ls_L_option=L
  4402 + else
  4403 + as_ls_L_option=
  4404 + fi
  4405 + as_test_x='
  4406 + eval sh -c '\''
  4407 + if test -d "$1"; then
  4408 + test -d "$1/.";
  4409 + else
  4410 + case $1 in #(
  4411 + -*)set "./$1";;
  4412 + esac;
  4413 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  4414 + ???[sx]*):;;*)false;;esac;fi
  4415 + '\'' sh
  4416 + '
  4417 +fi
  4418 +as_executable_p=$as_test_x
  4419 +
  4420 +# Sed expression to map a string onto a valid CPP name.
  4421 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  4422 +
  4423 +# Sed expression to map a string onto a valid variable name.
  4424 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  4425 +
  4426 +
  4427 +exec 6>&1
  4428 +## ----------------------------------- ##
  4429 +## Main body of $CONFIG_STATUS script. ##
  4430 +## ----------------------------------- ##
  4431 +_ASEOF
  4432 +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  4433 +
  4434 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4435 +# Save the log message, to keep $0 and so on meaningful, and to
  4436 +# report actual input values of CONFIG_FILES etc. instead of their
  4437 +# values after options handling.
  4438 +ac_log="
  4439 +This file was extended by $as_me, which was
  4440 +generated by GNU Autoconf 2.65. Invocation command line was
  4441 +
  4442 + CONFIG_FILES = $CONFIG_FILES
  4443 + CONFIG_HEADERS = $CONFIG_HEADERS
  4444 + CONFIG_LINKS = $CONFIG_LINKS
  4445 + CONFIG_COMMANDS = $CONFIG_COMMANDS
  4446 + $ $0 $@
  4447 +
  4448 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
  4449 +"
  4450 +
  4451 +_ACEOF
  4452 +
  4453 +case $ac_config_files in *"
  4454 +"*) set x $ac_config_files; shift; ac_config_files=$*;;
  4455 +esac
  4456 +
  4457 +
  4458 +
  4459 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4460 +# Files that config.status was made for.
  4461 +config_files="$ac_config_files"
  4462 +config_commands="$ac_config_commands"
  4463 +
  4464 +_ACEOF
  4465 +
  4466 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4467 +ac_cs_usage="\
  4468 +\`$as_me' instantiates files and other configuration actions
  4469 +from templates according to the current configuration. Unless the files
  4470 +and actions are specified as TAGs, all are instantiated by default.
  4471 +
  4472 +Usage: $0 [OPTION]... [TAG]...
  4473 +
  4474 + -h, --help print this help, then exit
  4475 + -V, --version print version number and configuration settings, then exit
  4476 + --config print configuration, then exit
  4477 + -q, --quiet, --silent
  4478 + do not print progress messages
  4479 + -d, --debug don't remove temporary files
  4480 + --recheck update $as_me by reconfiguring in the same conditions
  4481 + --file=FILE[:TEMPLATE]
  4482 + instantiate the configuration file FILE
  4483 +
  4484 +Configuration files:
  4485 +$config_files
  4486 +
  4487 +Configuration commands:
  4488 +$config_commands
  4489 +
  4490 +Report bugs to the package provider."
  4491 +
  4492 +_ACEOF
  4493 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4494 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  4495 +ac_cs_version="\\
  4496 +config.status
  4497 +configured by $0, generated by GNU Autoconf 2.65,
  4498 + with options \\"\$ac_cs_config\\"
  4499 +
  4500 +Copyright (C) 2009 Free Software Foundation, Inc.
  4501 +This config.status script is free software; the Free Software Foundation
  4502 +gives unlimited permission to copy, distribute and modify it."
  4503 +
  4504 +ac_pwd='$ac_pwd'
  4505 +srcdir='$srcdir'
  4506 +INSTALL='$INSTALL'
  4507 +MKDIR_P='$MKDIR_P'
  4508 +AWK='$AWK'
  4509 +test -n "\$AWK" || AWK=awk
  4510 +_ACEOF
  4511 +
  4512 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4513 +# The default lists apply if the user does not specify any file.
  4514 +ac_need_defaults=:
  4515 +while test $# != 0
  4516 +do
  4517 + case $1 in
  4518 + --*=*)
  4519 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  4520 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  4521 + ac_shift=:
  4522 + ;;
  4523 + *)
  4524 + ac_option=$1
  4525 + ac_optarg=$2
  4526 + ac_shift=shift
  4527 + ;;
  4528 + esac
  4529 +
  4530 + case $ac_option in
  4531 + # Handling of the options.
  4532 + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  4533 + ac_cs_recheck=: ;;
  4534 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  4535 + $as_echo "$ac_cs_version"; exit ;;
  4536 + --config | --confi | --conf | --con | --co | --c )
  4537 + $as_echo "$ac_cs_config"; exit ;;
  4538 + --debug | --debu | --deb | --de | --d | -d )
  4539 + debug=: ;;
  4540 + --file | --fil | --fi | --f )
  4541 + $ac_shift
  4542 + case $ac_optarg in
  4543 + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  4544 + esac
  4545 + as_fn_append CONFIG_FILES " '$ac_optarg'"
  4546 + ac_need_defaults=false;;
  4547 + --he | --h | --help | --hel | -h )
  4548 + $as_echo "$ac_cs_usage"; exit ;;
  4549 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  4550 + | -silent | --silent | --silen | --sile | --sil | --si | --s)
  4551 + ac_cs_silent=: ;;
  4552 +
  4553 + # This is an error.
  4554 + -*) as_fn_error "unrecognized option: \`$1'
  4555 +Try \`$0 --help' for more information." ;;
  4556 +
  4557 + *) as_fn_append ac_config_targets " $1"
  4558 + ac_need_defaults=false ;;
  4559 +
  4560 + esac
  4561 + shift
  4562 +done
  4563 +
  4564 +ac_configure_extra_args=
  4565 +
  4566 +if $ac_cs_silent; then
  4567 + exec 6>/dev/null
  4568 + ac_configure_extra_args="$ac_configure_extra_args --silent"
  4569 +fi
  4570 +
  4571 +_ACEOF
  4572 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4573 +if \$ac_cs_recheck; then
  4574 + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  4575 + shift
  4576 + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  4577 + CONFIG_SHELL='$SHELL'
  4578 + export CONFIG_SHELL
  4579 + exec "\$@"
  4580 +fi
  4581 +
  4582 +_ACEOF
  4583 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4584 +exec 5>>config.log
  4585 +{
  4586 + echo
  4587 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  4588 +## Running $as_me. ##
  4589 +_ASBOX
  4590 + $as_echo "$ac_log"
  4591 +} >&5
  4592 +
  4593 +_ACEOF
  4594 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4595 +#
  4596 +# INIT-COMMANDS
  4597 +#
  4598 +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  4599 +
  4600 +_ACEOF
  4601 +
  4602 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4603 +
  4604 +# Handling of arguments.
  4605 +for ac_config_target in $ac_config_targets
  4606 +do
  4607 + case $ac_config_target in
  4608 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  4609 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  4610 +
  4611 + *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  4612 + esac
  4613 +done
  4614 +
  4615 +
  4616 +# If the user did not use the arguments to specify the items to instantiate,
  4617 +# then the envvar interface is used. Set only those that are not.
  4618 +# We use the long form for the default assignment because of an extremely
  4619 +# bizarre bug on SunOS 4.1.3.
  4620 +if $ac_need_defaults; then
  4621 + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  4622 + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  4623 +fi
  4624 +
  4625 +# Have a temporary directory for convenience. Make it in the build tree
  4626 +# simply because there is no reason against having it here, and in addition,
  4627 +# creating and moving files from /tmp can sometimes cause problems.
  4628 +# Hook for its removal unless debugging.
  4629 +# Note that there is a small window in which the directory will not be cleaned:
  4630 +# after its creation but before its name has been assigned to `$tmp'.
  4631 +$debug ||
  4632 +{
  4633 + tmp=
  4634 + trap 'exit_status=$?
  4635 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  4636 +' 0
  4637 + trap 'as_fn_exit 1' 1 2 13 15
  4638 +}
  4639 +# Create a (secure) tmp directory for tmp files.
  4640 +
  4641 +{
  4642 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  4643 + test -n "$tmp" && test -d "$tmp"
  4644 +} ||
  4645 +{
  4646 + tmp=./conf$$-$RANDOM
  4647 + (umask 077 && mkdir "$tmp")
  4648 +} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
  4649 +
  4650 +# Set up the scripts for CONFIG_FILES section.
  4651 +# No need to generate them if there are no CONFIG_FILES.
  4652 +# This happens for instance with `./config.status config.h'.
  4653 +if test -n "$CONFIG_FILES"; then
  4654 +
  4655 +
  4656 +ac_cr=`echo X | tr X '\015'`
  4657 +# On cygwin, bash can eat \r inside `` if the user requested igncr.
  4658 +# But we know of no other shell where ac_cr would be empty at this
  4659 +# point, so we can use a bashism as a fallback.
  4660 +if test "x$ac_cr" = x; then
  4661 + eval ac_cr=\$\'\\r\'
  4662 +fi
  4663 +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  4664 +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  4665 + ac_cs_awk_cr='\r'
  4666 +else
  4667 + ac_cs_awk_cr=$ac_cr
  4668 +fi
  4669 +
  4670 +echo 'BEGIN {' >"$tmp/subs1.awk" &&
  4671 +_ACEOF
  4672 +
  4673 +
  4674 +{
  4675 + echo "cat >conf$$subs.awk <<_ACEOF" &&
  4676 + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  4677 + echo "_ACEOF"
  4678 +} >conf$$subs.sh ||
  4679 + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  4680 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
  4681 +ac_delim='%!_!# '
  4682 +for ac_last_try in false false false false false :; do
  4683 + . ./conf$$subs.sh ||
  4684 + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  4685 +
  4686 + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  4687 + if test $ac_delim_n = $ac_delim_num; then
  4688 + break
  4689 + elif $ac_last_try; then
  4690 + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  4691 + else
  4692 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  4693 + fi
  4694 +done
  4695 +rm -f conf$$subs.sh
  4696 +
  4697 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4698 +cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
  4699 +_ACEOF
  4700 +sed -n '
  4701 +h
  4702 +s/^/S["/; s/!.*/"]=/
  4703 +p
  4704 +g
  4705 +s/^[^!]*!//
  4706 +:repl
  4707 +t repl
  4708 +s/'"$ac_delim"'$//
  4709 +t delim
  4710 +:nl
  4711 +h
  4712 +s/\(.\{148\}\)..*/\1/
  4713 +t more1
  4714 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  4715 +p
  4716 +n
  4717 +b repl
  4718 +:more1
  4719 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  4720 +p
  4721 +g
  4722 +s/.\{148\}//
  4723 +t nl
  4724 +:delim
  4725 +h
  4726 +s/\(.\{148\}\)..*/\1/
  4727 +t more2
  4728 +s/["\\]/\\&/g; s/^/"/; s/$/"/
  4729 +p
  4730 +b
  4731 +:more2
  4732 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  4733 +p
  4734 +g
  4735 +s/.\{148\}//
  4736 +t delim
  4737 +' <conf$$subs.awk | sed '
  4738 +/^[^""]/{
  4739 + N
  4740 + s/\n//
  4741 +}
  4742 +' >>$CONFIG_STATUS || ac_write_fail=1
  4743 +rm -f conf$$subs.awk
  4744 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4745 +_ACAWK
  4746 +cat >>"\$tmp/subs1.awk" <<_ACAWK &&
  4747 + for (key in S) S_is_set[key] = 1
  4748 + FS = ""
  4749 +
  4750 +}
  4751 +{
  4752 + line = $ 0
  4753 + nfields = split(line, field, "@")
  4754 + substed = 0
  4755 + len = length(field[1])
  4756 + for (i = 2; i < nfields; i++) {
  4757 + key = field[i]
  4758 + keylen = length(key)
  4759 + if (S_is_set[key]) {
  4760 + value = S[key]
  4761 + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  4762 + len += length(value) + length(field[++i])
  4763 + substed = 1
  4764 + } else
  4765 + len += 1 + keylen
  4766 + }
  4767 +
  4768 + print line
  4769 +}
  4770 +
  4771 +_ACAWK
  4772 +_ACEOF
  4773 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4774 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  4775 + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  4776 +else
  4777 + cat
  4778 +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  4779 + || as_fn_error "could not setup config files machinery" "$LINENO" 5
  4780 +_ACEOF
  4781 +
  4782 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
  4783 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  4784 +# trailing colons and then remove the whole line if VPATH becomes empty
  4785 +# (actually we leave an empty line to preserve line numbers).
  4786 +if test "x$srcdir" = x.; then
  4787 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
  4788 +s/:*\$(srcdir):*/:/
  4789 +s/:*\${srcdir}:*/:/
  4790 +s/:*@srcdir@:*/:/
  4791 +s/^\([^=]*=[ ]*\):*/\1/
  4792 +s/:*$//
  4793 +s/^[^=]*=[ ]*$//
  4794 +}'
  4795 +fi
  4796 +
  4797 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4798 +fi # test -n "$CONFIG_FILES"
  4799 +
  4800 +
  4801 +eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
  4802 +shift
  4803 +for ac_tag
  4804 +do
  4805 + case $ac_tag in
  4806 + :[FHLC]) ac_mode=$ac_tag; continue;;
  4807 + esac
  4808 + case $ac_mode$ac_tag in
  4809 + :[FHL]*:*);;
  4810 + :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
  4811 + :[FH]-) ac_tag=-:-;;
  4812 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  4813 + esac
  4814 + ac_save_IFS=$IFS
  4815 + IFS=:
  4816 + set x $ac_tag
  4817 + IFS=$ac_save_IFS
  4818 + shift
  4819 + ac_file=$1
  4820 + shift
  4821 +
  4822 + case $ac_mode in
  4823 + :L) ac_source=$1;;
  4824 + :[FH])
  4825 + ac_file_inputs=
  4826 + for ac_f
  4827 + do
  4828 + case $ac_f in
  4829 + -) ac_f="$tmp/stdin";;
  4830 + *) # Look for the file first in the build tree, then in the source tree
  4831 + # (if the path is not absolute). The absolute path cannot be DOS-style,
  4832 + # because $ac_f cannot contain `:'.
  4833 + test -f "$ac_f" ||
  4834 + case $ac_f in
  4835 + [\\/$]*) false;;
  4836 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  4837 + esac ||
  4838 + as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  4839 + esac
  4840 + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  4841 + as_fn_append ac_file_inputs " '$ac_f'"
  4842 + done
  4843 +
  4844 + # Let's still pretend it is `configure' which instantiates (i.e., don't
  4845 + # use $as_me), people would be surprised to read:
  4846 + # /* config.h. Generated by config.status. */
  4847 + configure_input='Generated from '`
  4848 + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  4849 + `' by configure.'
  4850 + if test x"$ac_file" != x-; then
  4851 + configure_input="$ac_file. $configure_input"
  4852 + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  4853 +$as_echo "$as_me: creating $ac_file" >&6;}
  4854 + fi
  4855 + # Neutralize special characters interpreted by sed in replacement strings.
  4856 + case $configure_input in #(
  4857 + *\&* | *\|* | *\\* )
  4858 + ac_sed_conf_input=`$as_echo "$configure_input" |
  4859 + sed 's/[\\\\&|]/\\\\&/g'`;; #(
  4860 + *) ac_sed_conf_input=$configure_input;;
  4861 + esac
  4862 +
  4863 + case $ac_tag in
  4864 + *:-:* | *:-) cat >"$tmp/stdin" \
  4865 + || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
  4866 + esac
  4867 + ;;
  4868 + esac
  4869 +
  4870 + ac_dir=`$as_dirname -- "$ac_file" ||
  4871 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  4872 + X"$ac_file" : 'X\(//\)[^/]' \| \
  4873 + X"$ac_file" : 'X\(//\)$' \| \
  4874 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  4875 +$as_echo X"$ac_file" |
  4876 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  4877 + s//\1/
  4878 + q
  4879 + }
  4880 + /^X\(\/\/\)[^/].*/{
  4881 + s//\1/
  4882 + q
  4883 + }
  4884 + /^X\(\/\/\)$/{
  4885 + s//\1/
  4886 + q
  4887 + }
  4888 + /^X\(\/\).*/{
  4889 + s//\1/
  4890 + q
  4891 + }
  4892 + s/.*/./; q'`
  4893 + as_dir="$ac_dir"; as_fn_mkdir_p
  4894 + ac_builddir=.
  4895 +
  4896 +case "$ac_dir" in
  4897 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  4898 +*)
  4899 + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  4900 + # A ".." for each directory in $ac_dir_suffix.
  4901 + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  4902 + case $ac_top_builddir_sub in
  4903 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  4904 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  4905 + esac ;;
  4906 +esac
  4907 +ac_abs_top_builddir=$ac_pwd
  4908 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  4909 +# for backward compatibility:
  4910 +ac_top_builddir=$ac_top_build_prefix
  4911 +
  4912 +case $srcdir in
  4913 + .) # We are building in place.
  4914 + ac_srcdir=.
  4915 + ac_top_srcdir=$ac_top_builddir_sub
  4916 + ac_abs_top_srcdir=$ac_pwd ;;
  4917 + [\\/]* | ?:[\\/]* ) # Absolute name.
  4918 + ac_srcdir=$srcdir$ac_dir_suffix;
  4919 + ac_top_srcdir=$srcdir
  4920 + ac_abs_top_srcdir=$srcdir ;;
  4921 + *) # Relative name.
  4922 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  4923 + ac_top_srcdir=$ac_top_build_prefix$srcdir
  4924 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  4925 +esac
  4926 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  4927 +
  4928 +
  4929 + case $ac_mode in
  4930 + :F)
  4931 + #
  4932 + # CONFIG_FILE
  4933 + #
  4934 +
  4935 + case $INSTALL in
  4936 + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  4937 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  4938 + esac
  4939 + ac_MKDIR_P=$MKDIR_P
  4940 + case $MKDIR_P in
  4941 + [\\/$]* | ?:[\\/]* ) ;;
  4942 + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  4943 + esac
  4944 +_ACEOF
  4945 +
  4946 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4947 +# If the template does not know about datarootdir, expand it.
  4948 +# FIXME: This hack should be removed a few years after 2.60.
  4949 +ac_datarootdir_hack=; ac_datarootdir_seen=
  4950 +ac_sed_dataroot='
  4951 +/datarootdir/ {
  4952 + p
  4953 + q
  4954 +}
  4955 +/@datadir@/p
  4956 +/@docdir@/p
  4957 +/@infodir@/p
  4958 +/@localedir@/p
  4959 +/@mandir@/p'
  4960 +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  4961 +*datarootdir*) ac_datarootdir_seen=yes;;
  4962 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  4963 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  4964 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  4965 +_ACEOF
  4966 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4967 + ac_datarootdir_hack='
  4968 + s&@datadir@&$datadir&g
  4969 + s&@docdir@&$docdir&g
  4970 + s&@infodir@&$infodir&g
  4971 + s&@localedir@&$localedir&g
  4972 + s&@mandir@&$mandir&g
  4973 + s&\\\${datarootdir}&$datarootdir&g' ;;
  4974 +esac
  4975 +_ACEOF
  4976 +
  4977 +# Neutralize VPATH when `$srcdir' = `.'.
  4978 +# Shell code in configure.ac might set extrasub.
  4979 +# FIXME: do we really want to maintain this feature?
  4980 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4981 +ac_sed_extra="$ac_vpsub
  4982 +$extrasub
  4983 +_ACEOF
  4984 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4985 +:t
  4986 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  4987 +s|@configure_input@|$ac_sed_conf_input|;t t
  4988 +s&@top_builddir@&$ac_top_builddir_sub&;t t
  4989 +s&@top_build_prefix@&$ac_top_build_prefix&;t t
  4990 +s&@srcdir@&$ac_srcdir&;t t
  4991 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
  4992 +s&@top_srcdir@&$ac_top_srcdir&;t t
  4993 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  4994 +s&@builddir@&$ac_builddir&;t t
  4995 +s&@abs_builddir@&$ac_abs_builddir&;t t
  4996 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  4997 +s&@INSTALL@&$ac_INSTALL&;t t
  4998 +s&@MKDIR_P@&$ac_MKDIR_P&;t t
  4999 +$ac_datarootdir_hack
  5000 +"
  5001 +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  5002 + || as_fn_error "could not create $ac_file" "$LINENO" 5
  5003 +
  5004 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  5005 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  5006 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  5007 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  5008 +which seems to be undefined. Please make sure it is defined." >&5
  5009 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  5010 +which seems to be undefined. Please make sure it is defined." >&2;}
  5011 +
  5012 + rm -f "$tmp/stdin"
  5013 + case $ac_file in
  5014 + -) cat "$tmp/out" && rm -f "$tmp/out";;
  5015 + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  5016 + esac \
  5017 + || as_fn_error "could not create $ac_file" "$LINENO" 5
  5018 + ;;
  5019 +
  5020 +
  5021 + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  5022 +$as_echo "$as_me: executing $ac_file commands" >&6;}
  5023 + ;;
  5024 + esac
  5025 +
  5026 +
  5027 + case $ac_file$ac_mode in
  5028 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  5029 + # Autoconf 2.62 quotes --file arguments for eval, but not when files
  5030 + # are listed without --file. Let's play safe and only enable the eval
  5031 + # if we detect the quoting.
  5032 + case $CONFIG_FILES in
  5033 + *\'*) eval set x "$CONFIG_FILES" ;;
  5034 + *) set x $CONFIG_FILES ;;
  5035 + esac
  5036 + shift
  5037 + for mf
  5038 + do
  5039 + # Strip MF so we end up with the name of the file.
  5040 + mf=`echo "$mf" | sed -e 's/:.*$//'`
  5041 + # Check whether this is an Automake generated Makefile or not.
  5042 + # We used to match only the files named `Makefile.in', but
  5043 + # some people rename them; so instead we look at the file content.
  5044 + # Grep'ing the first line is not enough: some people post-process
  5045 + # each Makefile.in and add a new line on top of each file to say so.
  5046 + # Grep'ing the whole file is not good either: AIX grep has a line
  5047 + # limit of 2048, but all sed's we know have understand at least 4000.
  5048 + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  5049 + dirpart=`$as_dirname -- "$mf" ||
  5050 +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  5051 + X"$mf" : 'X\(//\)[^/]' \| \
  5052 + X"$mf" : 'X\(//\)$' \| \
  5053 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  5054 +$as_echo X"$mf" |
  5055 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  5056 + s//\1/
  5057 + q
  5058 + }
  5059 + /^X\(\/\/\)[^/].*/{
  5060 + s//\1/
  5061 + q
  5062 + }
  5063 + /^X\(\/\/\)$/{
  5064 + s//\1/
  5065 + q
  5066 + }
  5067 + /^X\(\/\).*/{
  5068 + s//\1/
  5069 + q
  5070 + }
  5071 + s/.*/./; q'`
  5072 + else
  5073 + continue
  5074 + fi
  5075 + # Extract the definition of DEPDIR, am__include, and am__quote
  5076 + # from the Makefile without running `make'.
  5077 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  5078 + test -z "$DEPDIR" && continue
  5079 + am__include=`sed -n 's/^am__include = //p' < "$mf"`
  5080 + test -z "am__include" && continue
  5081 + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  5082 + # When using ansi2knr, U may be empty or an underscore; expand it
  5083 + U=`sed -n 's/^U = //p' < "$mf"`
  5084 + # Find all dependency output files, they are included files with
  5085 + # $(DEPDIR) in their names. We invoke sed twice because it is the
  5086 + # simplest approach to changing $(DEPDIR) to its actual value in the
  5087 + # expansion.
  5088 + for file in `sed -n "
  5089 + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  5090 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  5091 + # Make sure the directory exists.
  5092 + test -f "$dirpart/$file" && continue
  5093 + fdir=`$as_dirname -- "$file" ||
  5094 +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  5095 + X"$file" : 'X\(//\)[^/]' \| \
  5096 + X"$file" : 'X\(//\)$' \| \
  5097 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  5098 +$as_echo X"$file" |
  5099 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  5100 + s//\1/
  5101 + q
  5102 + }
  5103 + /^X\(\/\/\)[^/].*/{
  5104 + s//\1/
  5105 + q
  5106 + }
  5107 + /^X\(\/\/\)$/{
  5108 + s//\1/
  5109 + q
  5110 + }
  5111 + /^X\(\/\).*/{
  5112 + s//\1/
  5113 + q
  5114 + }
  5115 + s/.*/./; q'`
  5116 + as_dir=$dirpart/$fdir; as_fn_mkdir_p
  5117 + # echo "creating $dirpart/$file"
  5118 + echo '# dummy' > "$dirpart/$file"
  5119 + done
  5120 + done
  5121 +}
  5122 + ;;
  5123 +
  5124 + esac
  5125 +done # for ac_tag
  5126 +
  5127 +
  5128 +as_fn_exit 0
  5129 +_ACEOF
  5130 +ac_clean_files=$ac_clean_files_save
  5131 +
  5132 +test $ac_write_fail = 0 ||
  5133 + as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
  5134 +
  5135 +
  5136 +# configure is writing to config.log, and then calls config.status.
  5137 +# config.status does its own redirection, appending to config.log.
  5138 +# Unfortunately, on DOS this fails, as config.log is still kept open
  5139 +# by configure, so config.status won't be able to write to it; its
  5140 +# output is simply discarded. So we exec the FD to /dev/null,
  5141 +# effectively closing config.log, so it can be properly (re)opened and
  5142 +# appended to by config.status. When coming back to configure, we
  5143 +# need to make the FD available again.
  5144 +if test "$no_create" != yes; then
  5145 + ac_cs_success=:
  5146 + ac_config_status_args=
  5147 + test "$silent" = yes &&
  5148 + ac_config_status_args="$ac_config_status_args --quiet"
  5149 + exec 5>/dev/null
  5150 + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  5151 + exec 5>>config.log
  5152 + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  5153 + # would make configure fail if this is the last instruction.
  5154 + $ac_cs_success || as_fn_exit $?
  5155 +fi
  5156 +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  5157 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  5158 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  5159 +fi
  5160 +
dsoextractfw/configure.in 0 โ†’ 100644
  1 +AC_INIT(dsoextractfw.c)
  2 +AM_INIT_AUTOMAKE([dsoextractfw], [0.6.0])
  3 +AC_PROG_CC
  4 +AC_PROG_INSTALL
  5 +AC_HEADER_STDC
  6 +AC_CHECK_HEADERS([stdio.h malloc.h string.h bfd.h])
  7 +AC_DEFINE([PACKAGE_NAME], ["dsoextractfw"])
  8 +AC_OUTPUT(Makefile)
dsoextractfw/depcomp 0 โ†’ 100755
  1 +#! /bin/sh
  2 +# depcomp - compile a program generating dependencies as side-effects
  3 +
  4 +scriptversion=2009-04-28.21; # UTC
  5 +
  6 +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
  7 +# Software Foundation, Inc.
  8 +
  9 +# This program is free software; you can redistribute it and/or modify
  10 +# it under the terms of the GNU General Public License as published by
  11 +# the Free Software Foundation; either version 2, or (at your option)
  12 +# any later version.
  13 +
  14 +# This program is distributed in the hope that it will be useful,
  15 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  16 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17 +# GNU General Public License for more details.
  18 +
  19 +# You should have received a copy of the GNU General Public License
  20 +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  21 +
  22 +# As a special exception to the GNU General Public License, if you
  23 +# distribute this file as part of a program that contains a
  24 +# configuration script generated by Autoconf, you may include it under
  25 +# the same distribution terms that you use for the rest of that program.
  26 +
  27 +# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
  28 +
  29 +case $1 in
  30 + '')
  31 + echo "$0: No command. Try \`$0 --help' for more information." 1>&2
  32 + exit 1;
  33 + ;;
  34 + -h | --h*)
  35 + cat <<\EOF
  36 +Usage: depcomp [--help] [--version] PROGRAM [ARGS]
  37 +
  38 +Run PROGRAMS ARGS to compile a file, generating dependencies
  39 +as side-effects.
  40 +
  41 +Environment variables:
  42 + depmode Dependency tracking mode.
  43 + source Source file read by `PROGRAMS ARGS'.
  44 + object Object file output by `PROGRAMS ARGS'.
  45 + DEPDIR directory where to store dependencies.
  46 + depfile Dependency file to output.
  47 + tmpdepfile Temporary file to use when outputing dependencies.
  48 + libtool Whether libtool is used (yes/no).
  49 +
  50 +Report bugs to <bug-automake@gnu.org>.
  51 +EOF
  52 + exit $?
  53 + ;;
  54 + -v | --v*)
  55 + echo "depcomp $scriptversion"
  56 + exit $?
  57 + ;;
  58 +esac
  59 +
  60 +if test -z "$depmode" || test -z "$source" || test -z "$object"; then
  61 + echo "depcomp: Variables source, object and depmode must be set" 1>&2
  62 + exit 1
  63 +fi
  64 +
  65 +# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
  66 +depfile=${depfile-`echo "$object" |
  67 + sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
  68 +tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
  69 +
  70 +rm -f "$tmpdepfile"
  71 +
  72 +# Some modes work just like other modes, but use different flags. We
  73 +# parameterize here, but still list the modes in the big case below,
  74 +# to make depend.m4 easier to write. Note that we *cannot* use a case
  75 +# here, because this file can only contain one case statement.
  76 +if test "$depmode" = hp; then
  77 + # HP compiler uses -M and no extra arg.
  78 + gccflag=-M
  79 + depmode=gcc
  80 +fi
  81 +
  82 +if test "$depmode" = dashXmstdout; then
  83 + # This is just like dashmstdout with a different argument.
  84 + dashmflag=-xM
  85 + depmode=dashmstdout
  86 +fi
  87 +
  88 +cygpath_u="cygpath -u -f -"
  89 +if test "$depmode" = msvcmsys; then
  90 + # This is just like msvisualcpp but w/o cygpath translation.
  91 + # Just convert the backslash-escaped backslashes to single forward
  92 + # slashes to satisfy depend.m4
  93 + cygpath_u="sed s,\\\\\\\\,/,g"
  94 + depmode=msvisualcpp
  95 +fi
  96 +
  97 +case "$depmode" in
  98 +gcc3)
  99 +## gcc 3 implements dependency tracking that does exactly what
  100 +## we want. Yay! Note: for some reason libtool 1.4 doesn't like
  101 +## it if -MD -MP comes after the -MF stuff. Hmm.
  102 +## Unfortunately, FreeBSD c89 acceptance of flags depends upon
  103 +## the command line argument order; so add the flags where they
  104 +## appear in depend2.am. Note that the slowdown incurred here
  105 +## affects only configure: in makefiles, %FASTDEP% shortcuts this.
  106 + for arg
  107 + do
  108 + case $arg in
  109 + -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
  110 + *) set fnord "$@" "$arg" ;;
  111 + esac
  112 + shift # fnord
  113 + shift # $arg
  114 + done
  115 + "$@"
  116 + stat=$?
  117 + if test $stat -eq 0; then :
  118 + else
  119 + rm -f "$tmpdepfile"
  120 + exit $stat
  121 + fi
  122 + mv "$tmpdepfile" "$depfile"
  123 + ;;
  124 +
  125 +gcc)
  126 +## There are various ways to get dependency output from gcc. Here's
  127 +## why we pick this rather obscure method:
  128 +## - Don't want to use -MD because we'd like the dependencies to end
  129 +## up in a subdir. Having to rename by hand is ugly.
  130 +## (We might end up doing this anyway to support other compilers.)
  131 +## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
  132 +## -MM, not -M (despite what the docs say).
  133 +## - Using -M directly means running the compiler twice (even worse
  134 +## than renaming).
  135 + if test -z "$gccflag"; then
  136 + gccflag=-MD,
  137 + fi
  138 + "$@" -Wp,"$gccflag$tmpdepfile"
  139 + stat=$?
  140 + if test $stat -eq 0; then :
  141 + else
  142 + rm -f "$tmpdepfile"
  143 + exit $stat
  144 + fi
  145 + rm -f "$depfile"
  146 + echo "$object : \\" > "$depfile"
  147 + alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
  148 +## The second -e expression handles DOS-style file names with drive letters.
  149 + sed -e 's/^[^:]*: / /' \
  150 + -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
  151 +## This next piece of magic avoids the `deleted header file' problem.
  152 +## The problem is that when a header file which appears in a .P file
  153 +## is deleted, the dependency causes make to die (because there is
  154 +## typically no way to rebuild the header). We avoid this by adding
  155 +## dummy dependencies for each header file. Too bad gcc doesn't do
  156 +## this for us directly.
  157 + tr ' ' '
  158 +' < "$tmpdepfile" |
  159 +## Some versions of gcc put a space before the `:'. On the theory
  160 +## that the space means something, we add a space to the output as
  161 +## well.
  162 +## Some versions of the HPUX 10.20 sed can't process this invocation
  163 +## correctly. Breaking it into two sed invocations is a workaround.
  164 + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
  165 + rm -f "$tmpdepfile"
  166 + ;;
  167 +
  168 +hp)
  169 + # This case exists only to let depend.m4 do its work. It works by
  170 + # looking at the text of this script. This case will never be run,
  171 + # since it is checked for above.
  172 + exit 1
  173 + ;;
  174 +
  175 +sgi)
  176 + if test "$libtool" = yes; then
  177 + "$@" "-Wp,-MDupdate,$tmpdepfile"
  178 + else
  179 + "$@" -MDupdate "$tmpdepfile"
  180 + fi
  181 + stat=$?
  182 + if test $stat -eq 0; then :
  183 + else
  184 + rm -f "$tmpdepfile"
  185 + exit $stat
  186 + fi
  187 + rm -f "$depfile"
  188 +
  189 + if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
  190 + echo "$object : \\" > "$depfile"
  191 +
  192 + # Clip off the initial element (the dependent). Don't try to be
  193 + # clever and replace this with sed code, as IRIX sed won't handle
  194 + # lines with more than a fixed number of characters (4096 in
  195 + # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
  196 + # the IRIX cc adds comments like `#:fec' to the end of the
  197 + # dependency line.
  198 + tr ' ' '
  199 +' < "$tmpdepfile" \
  200 + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
  201 + tr '
  202 +' ' ' >> "$depfile"
  203 + echo >> "$depfile"
  204 +
  205 + # The second pass generates a dummy entry for each header file.
  206 + tr ' ' '
  207 +' < "$tmpdepfile" \
  208 + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
  209 + >> "$depfile"
  210 + else
  211 + # The sourcefile does not contain any dependencies, so just
  212 + # store a dummy comment line, to avoid errors with the Makefile
  213 + # "include basename.Plo" scheme.
  214 + echo "#dummy" > "$depfile"
  215 + fi
  216 + rm -f "$tmpdepfile"
  217 + ;;
  218 +
  219 +aix)
  220 + # The C for AIX Compiler uses -M and outputs the dependencies
  221 + # in a .u file. In older versions, this file always lives in the
  222 + # current directory. Also, the AIX compiler puts `$object:' at the
  223 + # start of each line; $object doesn't have directory information.
  224 + # Version 6 uses the directory in both cases.
  225 + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
  226 + test "x$dir" = "x$object" && dir=
  227 + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
  228 + if test "$libtool" = yes; then
  229 + tmpdepfile1=$dir$base.u
  230 + tmpdepfile2=$base.u
  231 + tmpdepfile3=$dir.libs/$base.u
  232 + "$@" -Wc,-M
  233 + else
  234 + tmpdepfile1=$dir$base.u
  235 + tmpdepfile2=$dir$base.u
  236 + tmpdepfile3=$dir$base.u
  237 + "$@" -M
  238 + fi
  239 + stat=$?
  240 +
  241 + if test $stat -eq 0; then :
  242 + else
  243 + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
  244 + exit $stat
  245 + fi
  246 +
  247 + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
  248 + do
  249 + test -f "$tmpdepfile" && break
  250 + done
  251 + if test -f "$tmpdepfile"; then
  252 + # Each line is of the form `foo.o: dependent.h'.
  253 + # Do two passes, one to just change these to
  254 + # `$object: dependent.h' and one to simply `dependent.h:'.
  255 + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
  256 + # That's a tab and a space in the [].
  257 + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
  258 + else
  259 + # The sourcefile does not contain any dependencies, so just
  260 + # store a dummy comment line, to avoid errors with the Makefile
  261 + # "include basename.Plo" scheme.
  262 + echo "#dummy" > "$depfile"
  263 + fi
  264 + rm -f "$tmpdepfile"
  265 + ;;
  266 +
  267 +icc)
  268 + # Intel's C compiler understands `-MD -MF file'. However on
  269 + # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
  270 + # ICC 7.0 will fill foo.d with something like
  271 + # foo.o: sub/foo.c
  272 + # foo.o: sub/foo.h
  273 + # which is wrong. We want:
  274 + # sub/foo.o: sub/foo.c
  275 + # sub/foo.o: sub/foo.h
  276 + # sub/foo.c:
  277 + # sub/foo.h:
  278 + # ICC 7.1 will output
  279 + # foo.o: sub/foo.c sub/foo.h
  280 + # and will wrap long lines using \ :
  281 + # foo.o: sub/foo.c ... \
  282 + # sub/foo.h ... \
  283 + # ...
  284 +
  285 + "$@" -MD -MF "$tmpdepfile"
  286 + stat=$?
  287 + if test $stat -eq 0; then :
  288 + else
  289 + rm -f "$tmpdepfile"
  290 + exit $stat
  291 + fi
  292 + rm -f "$depfile"
  293 + # Each line is of the form `foo.o: dependent.h',
  294 + # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
  295 + # Do two passes, one to just change these to
  296 + # `$object: dependent.h' and one to simply `dependent.h:'.
  297 + sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
  298 + # Some versions of the HPUX 10.20 sed can't process this invocation
  299 + # correctly. Breaking it into two sed invocations is a workaround.
  300 + sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
  301 + sed -e 's/$/ :/' >> "$depfile"
  302 + rm -f "$tmpdepfile"
  303 + ;;
  304 +
  305 +hp2)
  306 + # The "hp" stanza above does not work with aCC (C++) and HP's ia64
  307 + # compilers, which have integrated preprocessors. The correct option
  308 + # to use with these is +Maked; it writes dependencies to a file named
  309 + # 'foo.d', which lands next to the object file, wherever that
  310 + # happens to be.
  311 + # Much of this is similar to the tru64 case; see comments there.
  312 + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
  313 + test "x$dir" = "x$object" && dir=
  314 + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
  315 + if test "$libtool" = yes; then
  316 + tmpdepfile1=$dir$base.d
  317 + tmpdepfile2=$dir.libs/$base.d
  318 + "$@" -Wc,+Maked
  319 + else
  320 + tmpdepfile1=$dir$base.d
  321 + tmpdepfile2=$dir$base.d
  322 + "$@" +Maked
  323 + fi
  324 + stat=$?
  325 + if test $stat -eq 0; then :
  326 + else
  327 + rm -f "$tmpdepfile1" "$tmpdepfile2"
  328 + exit $stat
  329 + fi
  330 +
  331 + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
  332 + do
  333 + test -f "$tmpdepfile" && break
  334 + done
  335 + if test -f "$tmpdepfile"; then
  336 + sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
  337 + # Add `dependent.h:' lines.
  338 + sed -ne '2,${
  339 + s/^ *//
  340 + s/ \\*$//
  341 + s/$/:/
  342 + p
  343 + }' "$tmpdepfile" >> "$depfile"
  344 + else
  345 + echo "#dummy" > "$depfile"
  346 + fi
  347 + rm -f "$tmpdepfile" "$tmpdepfile2"
  348 + ;;
  349 +
  350 +tru64)
  351 + # The Tru64 compiler uses -MD to generate dependencies as a side
  352 + # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
  353 + # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
  354 + # dependencies in `foo.d' instead, so we check for that too.
  355 + # Subdirectories are respected.
  356 + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
  357 + test "x$dir" = "x$object" && dir=
  358 + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
  359 +
  360 + if test "$libtool" = yes; then
  361 + # With Tru64 cc, shared objects can also be used to make a
  362 + # static library. This mechanism is used in libtool 1.4 series to
  363 + # handle both shared and static libraries in a single compilation.
  364 + # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
  365 + #
  366 + # With libtool 1.5 this exception was removed, and libtool now
  367 + # generates 2 separate objects for the 2 libraries. These two
  368 + # compilations output dependencies in $dir.libs/$base.o.d and
  369 + # in $dir$base.o.d. We have to check for both files, because
  370 + # one of the two compilations can be disabled. We should prefer
  371 + # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
  372 + # automatically cleaned when .libs/ is deleted, while ignoring
  373 + # the former would cause a distcleancheck panic.
  374 + tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4
  375 + tmpdepfile2=$dir$base.o.d # libtool 1.5
  376 + tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5
  377 + tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504
  378 + "$@" -Wc,-MD
  379 + else
  380 + tmpdepfile1=$dir$base.o.d
  381 + tmpdepfile2=$dir$base.d
  382 + tmpdepfile3=$dir$base.d
  383 + tmpdepfile4=$dir$base.d
  384 + "$@" -MD
  385 + fi
  386 +
  387 + stat=$?
  388 + if test $stat -eq 0; then :
  389 + else
  390 + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
  391 + exit $stat
  392 + fi
  393 +
  394 + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
  395 + do
  396 + test -f "$tmpdepfile" && break
  397 + done
  398 + if test -f "$tmpdepfile"; then
  399 + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
  400 + # That's a tab and a space in the [].
  401 + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
  402 + else
  403 + echo "#dummy" > "$depfile"
  404 + fi
  405 + rm -f "$tmpdepfile"
  406 + ;;
  407 +
  408 +#nosideeffect)
  409 + # This comment above is used by automake to tell side-effect
  410 + # dependency tracking mechanisms from slower ones.
  411 +
  412 +dashmstdout)
  413 + # Important note: in order to support this mode, a compiler *must*
  414 + # always write the preprocessed file to stdout, regardless of -o.
  415 + "$@" || exit $?
  416 +
  417 + # Remove the call to Libtool.
  418 + if test "$libtool" = yes; then
  419 + while test "X$1" != 'X--mode=compile'; do
  420 + shift
  421 + done
  422 + shift
  423 + fi
  424 +
  425 + # Remove `-o $object'.
  426 + IFS=" "
  427 + for arg
  428 + do
  429 + case $arg in
  430 + -o)
  431 + shift
  432 + ;;
  433 + $object)
  434 + shift
  435 + ;;
  436 + *)
  437 + set fnord "$@" "$arg"
  438 + shift # fnord
  439 + shift # $arg
  440 + ;;
  441 + esac
  442 + done
  443 +
  444 + test -z "$dashmflag" && dashmflag=-M
  445 + # Require at least two characters before searching for `:'
  446 + # in the target name. This is to cope with DOS-style filenames:
  447 + # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
  448 + "$@" $dashmflag |
  449 + sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
  450 + rm -f "$depfile"
  451 + cat < "$tmpdepfile" > "$depfile"
  452 + tr ' ' '
  453 +' < "$tmpdepfile" | \
  454 +## Some versions of the HPUX 10.20 sed can't process this invocation
  455 +## correctly. Breaking it into two sed invocations is a workaround.
  456 + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
  457 + rm -f "$tmpdepfile"
  458 + ;;
  459 +
  460 +dashXmstdout)
  461 + # This case only exists to satisfy depend.m4. It is never actually
  462 + # run, as this mode is specially recognized in the preamble.
  463 + exit 1
  464 + ;;
  465 +
  466 +makedepend)
  467 + "$@" || exit $?
  468 + # Remove any Libtool call
  469 + if test "$libtool" = yes; then
  470 + while test "X$1" != 'X--mode=compile'; do
  471 + shift
  472 + done
  473 + shift
  474 + fi
  475 + # X makedepend
  476 + shift
  477 + cleared=no eat=no
  478 + for arg
  479 + do
  480 + case $cleared in
  481 + no)
  482 + set ""; shift
  483 + cleared=yes ;;
  484 + esac
  485 + if test $eat = yes; then
  486 + eat=no
  487 + continue
  488 + fi
  489 + case "$arg" in
  490 + -D*|-I*)
  491 + set fnord "$@" "$arg"; shift ;;
  492 + # Strip any option that makedepend may not understand. Remove
  493 + # the object too, otherwise makedepend will parse it as a source file.
  494 + -arch)
  495 + eat=yes ;;
  496 + -*|$object)
  497 + ;;
  498 + *)
  499 + set fnord "$@" "$arg"; shift ;;
  500 + esac
  501 + done
  502 + obj_suffix=`echo "$object" | sed 's/^.*\././'`
  503 + touch "$tmpdepfile"
  504 + ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
  505 + rm -f "$depfile"
  506 + cat < "$tmpdepfile" > "$depfile"
  507 + sed '1,2d' "$tmpdepfile" | tr ' ' '
  508 +' | \
  509 +## Some versions of the HPUX 10.20 sed can't process this invocation
  510 +## correctly. Breaking it into two sed invocations is a workaround.
  511 + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
  512 + rm -f "$tmpdepfile" "$tmpdepfile".bak
  513 + ;;
  514 +
  515 +cpp)
  516 + # Important note: in order to support this mode, a compiler *must*
  517 + # always write the preprocessed file to stdout.
  518 + "$@" || exit $?
  519 +
  520 + # Remove the call to Libtool.
  521 + if test "$libtool" = yes; then
  522 + while test "X$1" != 'X--mode=compile'; do
  523 + shift
  524 + done
  525 + shift
  526 + fi
  527 +
  528 + # Remove `-o $object'.
  529 + IFS=" "
  530 + for arg
  531 + do
  532 + case $arg in
  533 + -o)
  534 + shift
  535 + ;;
  536 + $object)
  537 + shift
  538 + ;;
  539 + *)
  540 + set fnord "$@" "$arg"
  541 + shift # fnord
  542 + shift # $arg
  543 + ;;
  544 + esac
  545 + done
  546 +
  547 + "$@" -E |
  548 + sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
  549 + -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
  550 + sed '$ s: \\$::' > "$tmpdepfile"
  551 + rm -f "$depfile"
  552 + echo "$object : \\" > "$depfile"
  553 + cat < "$tmpdepfile" >> "$depfile"
  554 + sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
  555 + rm -f "$tmpdepfile"
  556 + ;;
  557 +
  558 +msvisualcpp)
  559 + # Important note: in order to support this mode, a compiler *must*
  560 + # always write the preprocessed file to stdout.
  561 + "$@" || exit $?
  562 +
  563 + # Remove the call to Libtool.
  564 + if test "$libtool" = yes; then
  565 + while test "X$1" != 'X--mode=compile'; do
  566 + shift
  567 + done
  568 + shift
  569 + fi
  570 +
  571 + IFS=" "
  572 + for arg
  573 + do
  574 + case "$arg" in
  575 + -o)
  576 + shift
  577 + ;;
  578 + $object)
  579 + shift
  580 + ;;
  581 + "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
  582 + set fnord "$@"
  583 + shift
  584 + shift
  585 + ;;
  586 + *)
  587 + set fnord "$@" "$arg"
  588 + shift
  589 + shift
  590 + ;;
  591 + esac
  592 + done
  593 + "$@" -E 2>/dev/null |
  594 + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
  595 + rm -f "$depfile"
  596 + echo "$object : \\" > "$depfile"
  597 + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
  598 + echo " " >> "$depfile"
  599 + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
  600 + rm -f "$tmpdepfile"
  601 + ;;
  602 +
  603 +msvcmsys)
  604 + # This case exists only to let depend.m4 do its work. It works by
  605 + # looking at the text of this script. This case will never be run,
  606 + # since it is checked for above.
  607 + exit 1
  608 + ;;
  609 +
  610 +none)
  611 + exec "$@"
  612 + ;;
  613 +
  614 +*)
  615 + echo "Unknown depmode $depmode" 1>&2
  616 + exit 1
  617 + ;;
  618 +esac
  619 +
  620 +exit 0
  621 +
  622 +# Local Variables:
  623 +# mode: shell-script
  624 +# sh-indentation: 2
  625 +# eval: (add-hook 'write-file-hooks 'time-stamp)
  626 +# time-stamp-start: "scriptversion="
  627 +# time-stamp-format: "%:y-%02m-%02d.%02H"
  628 +# time-stamp-time-zone: "UTC"
  629 +# time-stamp-end: "; # UTC"
  630 +# End:
dsoextractfw/dsoextractfw.c 0 โ†’ 100644
  1 +////////////////////////////////////////////////////////////////////////////////
  2 +//
  3 +// OpenHantek
  4 +// dsoextractfw.c
  5 +// Copyright (C) 2008, 2009 Oleg Khudyakov
  6 +// prcoder@potrebitel.ru
  7 +// Copyright (C) 2010 Oliver Haag
  8 +// oliver.haag@gmail.com
  9 +//
  10 +// This program is free software: you can redistribute it and/or modify it
  11 +// under the terms of the GNU General Public License as published by the Free
  12 +// Software Foundation, either version 3 of the License, or (at your option)
  13 +// any later version.
  14 +//
  15 +// This program is distributed in the hope that it will be useful, but WITHOUT
  16 +// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  17 +// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  18 +// more details.
  19 +//
  20 +// You should have received a copy of the GNU General Public License along with
  21 +// this program. If not, see <http://www.gnu.org/licenses/>.
  22 +//
  23 +////////////////////////////////////////////////////////////////////////////////
  24 +
  25 +
  26 +#include <stdio.h>
  27 +#include <malloc.h>
  28 +#include <string.h>
  29 +#include <bfd.h>
  30 +
  31 +static const char *strFirmware = "_firmware";
  32 +static const char *strLoader = "_loader";
  33 +static const char *strHex = ".hex";
  34 +static const char *strDriver = "1.SYS";
  35 +static const char *strModels[] = { "DSO2090", "DSO2100", "DSO2150", "DSO2250", "DSO5200", "DSO520A", NULL };
  36 +
  37 +int writeSRecords(const char *filename, unsigned char *ptr, bfd_size_type len);
  38 +int extractFirmware(const char* model);
  39 +
  40 +int writeSRecords(const char *filename, unsigned char *ptr, bfd_size_type len)
  41 +{
  42 + unsigned char n, *p, crc=0;
  43 + bfd_size_type i, t;
  44 + FILE *f;
  45 +
  46 + if ((f=fopen(filename, "wt")) == NULL)
  47 + {
  48 + perror("Cant' open file for writing");
  49 + fclose(f);
  50 + return -1;
  51 + }
  52 +
  53 + for(t=0; t <len; t+=22)
  54 + {
  55 + p = ptr + t;
  56 + n = *p;
  57 + fprintf(f, ":%02X", n);
  58 + crc = *p++;
  59 + p++;
  60 + fprintf(f, "%04X", *(unsigned short *)p);
  61 + crc += *p++;
  62 + crc += *p++;
  63 + fprintf(f, "%02X", *p);
  64 + crc += *p++;
  65 + for(i=0; i<n; i++)
  66 + {
  67 + fprintf(f,"%02X", *p);
  68 + crc += *p++;
  69 + }
  70 + crc = 1 + ~crc;
  71 + fprintf(f, "%02X\n", crc);
  72 + }
  73 + fclose(f);
  74 +
  75 + return 0;
  76 +}
  77 +
  78 +int extractFirmware(const char* model)
  79 +{
  80 + bfd *file;
  81 + asection *section;
  82 + unsigned storage;
  83 + asymbol **syms = NULL;
  84 + asymbol *asym;
  85 + unsigned nsyms, i;
  86 + const char *sname;
  87 + bfd_size_type offsetData = 0, lenData = 0;
  88 + bfd_size_type offsetFirmware = 0, offsetLoader = 0;
  89 + bfd_size_type lenFirmware = 0, lenLoader = 0;
  90 + unsigned char *ptrFirmware, *ptrLoader;
  91 + char filename[256];
  92 +
  93 + strcpy(filename, model);
  94 + strcat(filename, strDriver);
  95 + printf("Searching %s\n", filename);
  96 +
  97 + bfd_init();
  98 + file = bfd_openr(filename, 0);//"efi-app-ia32");
  99 + if (!file)
  100 + {
  101 + bfd_perror("Error opening file");
  102 + return -1;
  103 + }
  104 +
  105 + if (!bfd_check_format(file, bfd_object))
  106 + {
  107 + bfd_perror("bfd_check_format");
  108 + bfd_close (file);
  109 + return -1;
  110 + }
  111 +
  112 + section = bfd_get_section_by_name(file, ".data");
  113 + if (section != NULL)
  114 + {
  115 + lenData = section->size;
  116 + offsetData = section->filepos;
  117 + printf(".data section found at %p, length %li bytes\n", (void*)offsetData, lenData);
  118 +
  119 + storage = bfd_get_symtab_upper_bound(file);
  120 + syms = malloc(storage);
  121 + nsyms = bfd_canonicalize_symtab(file, syms);
  122 + for(i=0; i<nsyms; i++)
  123 + {
  124 + asym = syms[i];
  125 + sname = bfd_asymbol_name(asym);
  126 + if (strcmp(sname, strFirmware) == 0)
  127 + offsetFirmware = asym->value;
  128 + if (strcmp(sname, strLoader) == 0)
  129 + offsetLoader = asym->value;
  130 + }
  131 + free(syms);
  132 +
  133 + offsetFirmware -= offsetData;
  134 + offsetLoader -= offsetData;
  135 + lenFirmware = offsetLoader - offsetFirmware;
  136 + lenLoader = lenData - lenFirmware;
  137 + printf("Firmware found at offset 0x%lX, length %li bytes\n", offsetFirmware, lenFirmware);
  138 + printf("Loader found at offset 0x%lX, length %li bytes\n", offsetLoader, lenLoader);
  139 +
  140 + ptrFirmware = malloc(lenFirmware);
  141 + ptrLoader = malloc(lenLoader);
  142 + if (ptrFirmware == NULL || ptrLoader == NULL)
  143 + {
  144 + perror("Can't allocate memory");
  145 + bfd_close(file);
  146 + return -1;
  147 + }
  148 +
  149 + if (!bfd_get_section_contents(file, section, ptrFirmware, offsetFirmware, lenFirmware))
  150 + {
  151 + bfd_perror("Can't get firmware contents");
  152 + bfd_close(file);
  153 + return -1;
  154 + }
  155 +
  156 + if (!bfd_get_section_contents(file, section, ptrLoader, offsetLoader, lenLoader))
  157 + {
  158 + bfd_perror("Can't get loader contents");
  159 + bfd_close(file);
  160 + return -1;
  161 + }
  162 +
  163 + strcpy(filename, model);
  164 + strcat(filename, strFirmware);
  165 + strcat(filename, strHex);
  166 + printf("Writing %s\n", filename);
  167 + writeSRecords(filename, ptrFirmware, lenFirmware);
  168 +
  169 + strcpy(filename, model);
  170 + strcat(filename, strLoader);
  171 + strcat(filename, strHex);
  172 + printf("Writing %s\n", filename);
  173 + writeSRecords(filename, ptrLoader, lenLoader);
  174 +
  175 + free(ptrFirmware);
  176 + free(ptrLoader);
  177 + }
  178 + else
  179 + {
  180 + fprintf(stderr, "Section .data not found\n");
  181 + }
  182 +
  183 + bfd_close(file);
  184 +
  185 + return 0;
  186 +}
  187 +
  188 +int main()
  189 +{
  190 + int i;
  191 +
  192 + for(i=0; strModels[i]!=NULL; i++)
  193 + extractFirmware(strModels[i]);
  194 +
  195 + return 0;
  196 +}
dsoextractfw/install-sh 0 โ†’ 100755
  1 +#!/bin/sh
  2 +# install - install a program, script, or datafile
  3 +
  4 +scriptversion=2009-04-28.21; # UTC
  5 +
  6 +# This originates from X11R5 (mit/util/scripts/install.sh), which was
  7 +# later released in X11R6 (xc/config/util/install.sh) with the
  8 +# following copyright and license.
  9 +#
  10 +# Copyright (C) 1994 X Consortium
  11 +#
  12 +# Permission is hereby granted, free of charge, to any person obtaining a copy
  13 +# of this software and associated documentation files (the "Software"), to
  14 +# deal in the Software without restriction, including without limitation the
  15 +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
  16 +# sell copies of the Software, and to permit persons to whom the Software is
  17 +# furnished to do so, subject to the following conditions:
  18 +#
  19 +# The above copyright notice and this permission notice shall be included in
  20 +# all copies or substantial portions of the Software.
  21 +#
  22 +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  23 +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  24 +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  25 +# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  26 +# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
  27 +# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  28 +#
  29 +# Except as contained in this notice, the name of the X Consortium shall not
  30 +# be used in advertising or otherwise to promote the sale, use or other deal-
  31 +# ings in this Software without prior written authorization from the X Consor-
  32 +# tium.
  33 +#
  34 +#
  35 +# FSF changes to this file are in the public domain.
  36 +#
  37 +# Calling this script install-sh is preferred over install.sh, to prevent
  38 +# `make' implicit rules from creating a file called install from it
  39 +# when there is no Makefile.
  40 +#
  41 +# This script is compatible with the BSD install script, but was written
  42 +# from scratch.
  43 +
  44 +nl='
  45 +'
  46 +IFS=" "" $nl"
  47 +
  48 +# set DOITPROG to echo to test this script
  49 +
  50 +# Don't use :- since 4.3BSD and earlier shells don't like it.
  51 +doit=${DOITPROG-}
  52 +if test -z "$doit"; then
  53 + doit_exec=exec
  54 +else
  55 + doit_exec=$doit
  56 +fi
  57 +
  58 +# Put in absolute file names if you don't have them in your path;
  59 +# or use environment vars.
  60 +
  61 +chgrpprog=${CHGRPPROG-chgrp}
  62 +chmodprog=${CHMODPROG-chmod}
  63 +chownprog=${CHOWNPROG-chown}
  64 +cmpprog=${CMPPROG-cmp}
  65 +cpprog=${CPPROG-cp}
  66 +mkdirprog=${MKDIRPROG-mkdir}
  67 +mvprog=${MVPROG-mv}
  68 +rmprog=${RMPROG-rm}
  69 +stripprog=${STRIPPROG-strip}
  70 +
  71 +posix_glob='?'
  72 +initialize_posix_glob='
  73 + test "$posix_glob" != "?" || {
  74 + if (set -f) 2>/dev/null; then
  75 + posix_glob=
  76 + else
  77 + posix_glob=:
  78 + fi
  79 + }
  80 +'
  81 +
  82 +posix_mkdir=
  83 +
  84 +# Desired mode of installed file.
  85 +mode=0755
  86 +
  87 +chgrpcmd=
  88 +chmodcmd=$chmodprog
  89 +chowncmd=
  90 +mvcmd=$mvprog
  91 +rmcmd="$rmprog -f"
  92 +stripcmd=
  93 +
  94 +src=
  95 +dst=
  96 +dir_arg=
  97 +dst_arg=
  98 +
  99 +copy_on_change=false
  100 +no_target_directory=
  101 +
  102 +usage="\
  103 +Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
  104 + or: $0 [OPTION]... SRCFILES... DIRECTORY
  105 + or: $0 [OPTION]... -t DIRECTORY SRCFILES...
  106 + or: $0 [OPTION]... -d DIRECTORIES...
  107 +
  108 +In the 1st form, copy SRCFILE to DSTFILE.
  109 +In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
  110 +In the 4th, create DIRECTORIES.
  111 +
  112 +Options:
  113 + --help display this help and exit.
  114 + --version display version info and exit.
  115 +
  116 + -c (ignored)
  117 + -C install only if different (preserve the last data modification time)
  118 + -d create directories instead of installing files.
  119 + -g GROUP $chgrpprog installed files to GROUP.
  120 + -m MODE $chmodprog installed files to MODE.
  121 + -o USER $chownprog installed files to USER.
  122 + -s $stripprog installed files.
  123 + -t DIRECTORY install into DIRECTORY.
  124 + -T report an error if DSTFILE is a directory.
  125 +
  126 +Environment variables override the default commands:
  127 + CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
  128 + RMPROG STRIPPROG
  129 +"
  130 +
  131 +while test $# -ne 0; do
  132 + case $1 in
  133 + -c) ;;
  134 +
  135 + -C) copy_on_change=true;;
  136 +
  137 + -d) dir_arg=true;;
  138 +
  139 + -g) chgrpcmd="$chgrpprog $2"
  140 + shift;;
  141 +
  142 + --help) echo "$usage"; exit $?;;
  143 +
  144 + -m) mode=$2
  145 + case $mode in
  146 + *' '* | *' '* | *'
  147 +'* | *'*'* | *'?'* | *'['*)
  148 + echo "$0: invalid mode: $mode" >&2
  149 + exit 1;;
  150 + esac
  151 + shift;;
  152 +
  153 + -o) chowncmd="$chownprog $2"
  154 + shift;;
  155 +
  156 + -s) stripcmd=$stripprog;;
  157 +
  158 + -t) dst_arg=$2
  159 + shift;;
  160 +
  161 + -T) no_target_directory=true;;
  162 +
  163 + --version) echo "$0 $scriptversion"; exit $?;;
  164 +
  165 + --) shift
  166 + break;;
  167 +
  168 + -*) echo "$0: invalid option: $1" >&2
  169 + exit 1;;
  170 +
  171 + *) break;;
  172 + esac
  173 + shift
  174 +done
  175 +
  176 +if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
  177 + # When -d is used, all remaining arguments are directories to create.
  178 + # When -t is used, the destination is already specified.
  179 + # Otherwise, the last argument is the destination. Remove it from $@.
  180 + for arg
  181 + do
  182 + if test -n "$dst_arg"; then
  183 + # $@ is not empty: it contains at least $arg.
  184 + set fnord "$@" "$dst_arg"
  185 + shift # fnord
  186 + fi
  187 + shift # arg
  188 + dst_arg=$arg
  189 + done
  190 +fi
  191 +
  192 +if test $# -eq 0; then
  193 + if test -z "$dir_arg"; then
  194 + echo "$0: no input file specified." >&2
  195 + exit 1
  196 + fi
  197 + # It's OK to call `install-sh -d' without argument.
  198 + # This can happen when creating conditional directories.
  199 + exit 0
  200 +fi
  201 +
  202 +if test -z "$dir_arg"; then
  203 + trap '(exit $?); exit' 1 2 13 15
  204 +
  205 + # Set umask so as not to create temps with too-generous modes.
  206 + # However, 'strip' requires both read and write access to temps.
  207 + case $mode in
  208 + # Optimize common cases.
  209 + *644) cp_umask=133;;
  210 + *755) cp_umask=22;;
  211 +
  212 + *[0-7])
  213 + if test -z "$stripcmd"; then
  214 + u_plus_rw=
  215 + else
  216 + u_plus_rw='% 200'
  217 + fi
  218 + cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
  219 + *)
  220 + if test -z "$stripcmd"; then
  221 + u_plus_rw=
  222 + else
  223 + u_plus_rw=,u+rw
  224 + fi
  225 + cp_umask=$mode$u_plus_rw;;
  226 + esac
  227 +fi
  228 +
  229 +for src
  230 +do
  231 + # Protect names starting with `-'.
  232 + case $src in
  233 + -*) src=./$src;;
  234 + esac
  235 +
  236 + if test -n "$dir_arg"; then
  237 + dst=$src
  238 + dstdir=$dst
  239 + test -d "$dstdir"
  240 + dstdir_status=$?
  241 + else
  242 +
  243 + # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
  244 + # might cause directories to be created, which would be especially bad
  245 + # if $src (and thus $dsttmp) contains '*'.
  246 + if test ! -f "$src" && test ! -d "$src"; then
  247 + echo "$0: $src does not exist." >&2
  248 + exit 1
  249 + fi
  250 +
  251 + if test -z "$dst_arg"; then
  252 + echo "$0: no destination specified." >&2
  253 + exit 1
  254 + fi
  255 +
  256 + dst=$dst_arg
  257 + # Protect names starting with `-'.
  258 + case $dst in
  259 + -*) dst=./$dst;;
  260 + esac
  261 +
  262 + # If destination is a directory, append the input filename; won't work
  263 + # if double slashes aren't ignored.
  264 + if test -d "$dst"; then
  265 + if test -n "$no_target_directory"; then
  266 + echo "$0: $dst_arg: Is a directory" >&2
  267 + exit 1
  268 + fi
  269 + dstdir=$dst
  270 + dst=$dstdir/`basename "$src"`
  271 + dstdir_status=0
  272 + else
  273 + # Prefer dirname, but fall back on a substitute if dirname fails.
  274 + dstdir=`
  275 + (dirname "$dst") 2>/dev/null ||
  276 + expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  277 + X"$dst" : 'X\(//\)[^/]' \| \
  278 + X"$dst" : 'X\(//\)$' \| \
  279 + X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
  280 + echo X"$dst" |
  281 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  282 + s//\1/
  283 + q
  284 + }
  285 + /^X\(\/\/\)[^/].*/{
  286 + s//\1/
  287 + q
  288 + }
  289 + /^X\(\/\/\)$/{
  290 + s//\1/
  291 + q
  292 + }
  293 + /^X\(\/\).*/{
  294 + s//\1/
  295 + q
  296 + }
  297 + s/.*/./; q'
  298 + `
  299 +
  300 + test -d "$dstdir"
  301 + dstdir_status=$?
  302 + fi
  303 + fi
  304 +
  305 + obsolete_mkdir_used=false
  306 +
  307 + if test $dstdir_status != 0; then
  308 + case $posix_mkdir in
  309 + '')
  310 + # Create intermediate dirs using mode 755 as modified by the umask.
  311 + # This is like FreeBSD 'install' as of 1997-10-28.
  312 + umask=`umask`
  313 + case $stripcmd.$umask in
  314 + # Optimize common cases.
  315 + *[2367][2367]) mkdir_umask=$umask;;
  316 + .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
  317 +
  318 + *[0-7])
  319 + mkdir_umask=`expr $umask + 22 \
  320 + - $umask % 100 % 40 + $umask % 20 \
  321 + - $umask % 10 % 4 + $umask % 2
  322 + `;;
  323 + *) mkdir_umask=$umask,go-w;;
  324 + esac
  325 +
  326 + # With -d, create the new directory with the user-specified mode.
  327 + # Otherwise, rely on $mkdir_umask.
  328 + if test -n "$dir_arg"; then
  329 + mkdir_mode=-m$mode
  330 + else
  331 + mkdir_mode=
  332 + fi
  333 +
  334 + posix_mkdir=false
  335 + case $umask in
  336 + *[123567][0-7][0-7])
  337 + # POSIX mkdir -p sets u+wx bits regardless of umask, which
  338 + # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
  339 + ;;
  340 + *)
  341 + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
  342 + trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
  343 +
  344 + if (umask $mkdir_umask &&
  345 + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
  346 + then
  347 + if test -z "$dir_arg" || {
  348 + # Check for POSIX incompatibilities with -m.
  349 + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
  350 + # other-writeable bit of parent directory when it shouldn't.
  351 + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
  352 + ls_ld_tmpdir=`ls -ld "$tmpdir"`
  353 + case $ls_ld_tmpdir in
  354 + d????-?r-*) different_mode=700;;
  355 + d????-?--*) different_mode=755;;
  356 + *) false;;
  357 + esac &&
  358 + $mkdirprog -m$different_mode -p -- "$tmpdir" && {
  359 + ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
  360 + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
  361 + }
  362 + }
  363 + then posix_mkdir=:
  364 + fi
  365 + rmdir "$tmpdir/d" "$tmpdir"
  366 + else
  367 + # Remove any dirs left behind by ancient mkdir implementations.
  368 + rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
  369 + fi
  370 + trap '' 0;;
  371 + esac;;
  372 + esac
  373 +
  374 + if
  375 + $posix_mkdir && (
  376 + umask $mkdir_umask &&
  377 + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
  378 + )
  379 + then :
  380 + else
  381 +
  382 + # The umask is ridiculous, or mkdir does not conform to POSIX,
  383 + # or it failed possibly due to a race condition. Create the
  384 + # directory the slow way, step by step, checking for races as we go.
  385 +
  386 + case $dstdir in
  387 + /*) prefix='/';;
  388 + -*) prefix='./';;
  389 + *) prefix='';;
  390 + esac
  391 +
  392 + eval "$initialize_posix_glob"
  393 +
  394 + oIFS=$IFS
  395 + IFS=/
  396 + $posix_glob set -f
  397 + set fnord $dstdir
  398 + shift
  399 + $posix_glob set +f
  400 + IFS=$oIFS
  401 +
  402 + prefixes=
  403 +
  404 + for d
  405 + do
  406 + test -z "$d" && continue
  407 +
  408 + prefix=$prefix$d
  409 + if test -d "$prefix"; then
  410 + prefixes=
  411 + else
  412 + if $posix_mkdir; then
  413 + (umask=$mkdir_umask &&
  414 + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
  415 + # Don't fail if two instances are running concurrently.
  416 + test -d "$prefix" || exit 1
  417 + else
  418 + case $prefix in
  419 + *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
  420 + *) qprefix=$prefix;;
  421 + esac
  422 + prefixes="$prefixes '$qprefix'"
  423 + fi
  424 + fi
  425 + prefix=$prefix/
  426 + done
  427 +
  428 + if test -n "$prefixes"; then
  429 + # Don't fail if two instances are running concurrently.
  430 + (umask $mkdir_umask &&
  431 + eval "\$doit_exec \$mkdirprog $prefixes") ||
  432 + test -d "$dstdir" || exit 1
  433 + obsolete_mkdir_used=true
  434 + fi
  435 + fi
  436 + fi
  437 +
  438 + if test -n "$dir_arg"; then
  439 + { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
  440 + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
  441 + { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
  442 + test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
  443 + else
  444 +
  445 + # Make a couple of temp file names in the proper directory.
  446 + dsttmp=$dstdir/_inst.$$_
  447 + rmtmp=$dstdir/_rm.$$_
  448 +
  449 + # Trap to clean up those temp files at exit.
  450 + trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
  451 +
  452 + # Copy the file name to the temp name.
  453 + (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
  454 +
  455 + # and set any options; do chmod last to preserve setuid bits.
  456 + #
  457 + # If any of these fail, we abort the whole thing. If we want to
  458 + # ignore errors from any of these, just make sure not to ignore
  459 + # errors from the above "$doit $cpprog $src $dsttmp" command.
  460 + #
  461 + { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
  462 + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
  463 + { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
  464 + { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
  465 +
  466 + # If -C, don't bother to copy if it wouldn't change the file.
  467 + if $copy_on_change &&
  468 + old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
  469 + new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
  470 +
  471 + eval "$initialize_posix_glob" &&
  472 + $posix_glob set -f &&
  473 + set X $old && old=:$2:$4:$5:$6 &&
  474 + set X $new && new=:$2:$4:$5:$6 &&
  475 + $posix_glob set +f &&
  476 +
  477 + test "$old" = "$new" &&
  478 + $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
  479 + then
  480 + rm -f "$dsttmp"
  481 + else
  482 + # Rename the file to the real destination.
  483 + $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
  484 +
  485 + # The rename failed, perhaps because mv can't rename something else
  486 + # to itself, or perhaps because mv is so ancient that it does not
  487 + # support -f.
  488 + {
  489 + # Now remove or move aside any old file at destination location.
  490 + # We try this two ways since rm can't unlink itself on some
  491 + # systems and the destination file might be busy for other
  492 + # reasons. In this case, the final cleanup might fail but the new
  493 + # file should still install successfully.
  494 + {
  495 + test ! -f "$dst" ||
  496 + $doit $rmcmd -f "$dst" 2>/dev/null ||
  497 + { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
  498 + { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
  499 + } ||
  500 + { echo "$0: cannot unlink or rename $dst" >&2
  501 + (exit 1); exit 1
  502 + }
  503 + } &&
  504 +
  505 + # Now rename the file to the real destination.
  506 + $doit $mvcmd "$dsttmp" "$dst"
  507 + }
  508 + fi || exit 1
  509 +
  510 + trap '' 0
  511 + fi
  512 +done
  513 +
  514 +# Local variables:
  515 +# eval: (add-hook 'write-file-hooks 'time-stamp)
  516 +# time-stamp-start: "scriptversion="
  517 +# time-stamp-format: "%:y-%02m-%02d.%02H"
  518 +# time-stamp-time-zone: "UTC"
  519 +# time-stamp-end: "; # UTC"
  520 +# End:
dsoextractfw/missing 0 โ†’ 100755
  1 +#! /bin/sh
  2 +# Common stub for a few missing GNU programs while installing.
  3 +
  4 +scriptversion=2009-04-28.21; # UTC
  5 +
  6 +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
  7 +# 2008, 2009 Free Software Foundation, Inc.
  8 +# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
  9 +
  10 +# This program is free software; you can redistribute it and/or modify
  11 +# it under the terms of the GNU General Public License as published by
  12 +# the Free Software Foundation; either version 2, or (at your option)
  13 +# any later version.
  14 +
  15 +# This program is distributed in the hope that it will be useful,
  16 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  17 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18 +# GNU General Public License for more details.
  19 +
  20 +# You should have received a copy of the GNU General Public License
  21 +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  22 +
  23 +# As a special exception to the GNU General Public License, if you
  24 +# distribute this file as part of a program that contains a
  25 +# configuration script generated by Autoconf, you may include it under
  26 +# the same distribution terms that you use for the rest of that program.
  27 +
  28 +if test $# -eq 0; then
  29 + echo 1>&2 "Try \`$0 --help' for more information"
  30 + exit 1
  31 +fi
  32 +
  33 +run=:
  34 +sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
  35 +sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
  36 +
  37 +# In the cases where this matters, `missing' is being run in the
  38 +# srcdir already.
  39 +if test -f configure.ac; then
  40 + configure_ac=configure.ac
  41 +else
  42 + configure_ac=configure.in
  43 +fi
  44 +
  45 +msg="missing on your system"
  46 +
  47 +case $1 in
  48 +--run)
  49 + # Try to run requested program, and just exit if it succeeds.
  50 + run=
  51 + shift
  52 + "$@" && exit 0
  53 + # Exit code 63 means version mismatch. This often happens
  54 + # when the user try to use an ancient version of a tool on
  55 + # a file that requires a minimum version. In this case we
  56 + # we should proceed has if the program had been absent, or
  57 + # if --run hadn't been passed.
  58 + if test $? = 63; then
  59 + run=:
  60 + msg="probably too old"
  61 + fi
  62 + ;;
  63 +
  64 + -h|--h|--he|--hel|--help)
  65 + echo "\
  66 +$0 [OPTION]... PROGRAM [ARGUMENT]...
  67 +
  68 +Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
  69 +error status if there is no known handling for PROGRAM.
  70 +
  71 +Options:
  72 + -h, --help display this help and exit
  73 + -v, --version output version information and exit
  74 + --run try to run the given command, and emulate it if it fails
  75 +
  76 +Supported PROGRAM values:
  77 + aclocal touch file \`aclocal.m4'
  78 + autoconf touch file \`configure'
  79 + autoheader touch file \`config.h.in'
  80 + autom4te touch the output file, or create a stub one
  81 + automake touch all \`Makefile.in' files
  82 + bison create \`y.tab.[ch]', if possible, from existing .[ch]
  83 + flex create \`lex.yy.c', if possible, from existing .c
  84 + help2man touch the output file
  85 + lex create \`lex.yy.c', if possible, from existing .c
  86 + makeinfo touch the output file
  87 + tar try tar, gnutar, gtar, then tar without non-portable flags
  88 + yacc create \`y.tab.[ch]', if possible, from existing .[ch]
  89 +
  90 +Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
  91 +\`g' are ignored when checking the name.
  92 +
  93 +Send bug reports to <bug-automake@gnu.org>."
  94 + exit $?
  95 + ;;
  96 +
  97 + -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
  98 + echo "missing $scriptversion (GNU Automake)"
  99 + exit $?
  100 + ;;
  101 +
  102 + -*)
  103 + echo 1>&2 "$0: Unknown \`$1' option"
  104 + echo 1>&2 "Try \`$0 --help' for more information"
  105 + exit 1
  106 + ;;
  107 +
  108 +esac
  109 +
  110 +# normalize program name to check for.
  111 +program=`echo "$1" | sed '
  112 + s/^gnu-//; t
  113 + s/^gnu//; t
  114 + s/^g//; t'`
  115 +
  116 +# Now exit if we have it, but it failed. Also exit now if we
  117 +# don't have it and --version was passed (most likely to detect
  118 +# the program). This is about non-GNU programs, so use $1 not
  119 +# $program.
  120 +case $1 in
  121 + lex*|yacc*)
  122 + # Not GNU programs, they don't have --version.
  123 + ;;
  124 +
  125 + tar*)
  126 + if test -n "$run"; then
  127 + echo 1>&2 "ERROR: \`tar' requires --run"
  128 + exit 1
  129 + elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
  130 + exit 1
  131 + fi
  132 + ;;
  133 +
  134 + *)
  135 + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
  136 + # We have it, but it failed.
  137 + exit 1
  138 + elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
  139 + # Could not run --version or --help. This is probably someone
  140 + # running `$TOOL --version' or `$TOOL --help' to check whether
  141 + # $TOOL exists and not knowing $TOOL uses missing.
  142 + exit 1
  143 + fi
  144 + ;;
  145 +esac
  146 +
  147 +# If it does not exist, or fails to run (possibly an outdated version),
  148 +# try to emulate it.
  149 +case $program in
  150 + aclocal*)
  151 + echo 1>&2 "\
  152 +WARNING: \`$1' is $msg. You should only need it if
  153 + you modified \`acinclude.m4' or \`${configure_ac}'. You might want
  154 + to install the \`Automake' and \`Perl' packages. Grab them from
  155 + any GNU archive site."
  156 + touch aclocal.m4
  157 + ;;
  158 +
  159 + autoconf*)
  160 + echo 1>&2 "\
  161 +WARNING: \`$1' is $msg. You should only need it if
  162 + you modified \`${configure_ac}'. You might want to install the
  163 + \`Autoconf' and \`GNU m4' packages. Grab them from any GNU
  164 + archive site."
  165 + touch configure
  166 + ;;
  167 +
  168 + autoheader*)
  169 + echo 1>&2 "\
  170 +WARNING: \`$1' is $msg. You should only need it if
  171 + you modified \`acconfig.h' or \`${configure_ac}'. You might want
  172 + to install the \`Autoconf' and \`GNU m4' packages. Grab them
  173 + from any GNU archive site."
  174 + files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
  175 + test -z "$files" && files="config.h"
  176 + touch_files=
  177 + for f in $files; do
  178 + case $f in
  179 + *:*) touch_files="$touch_files "`echo "$f" |
  180 + sed -e 's/^[^:]*://' -e 's/:.*//'`;;
  181 + *) touch_files="$touch_files $f.in";;
  182 + esac
  183 + done
  184 + touch $touch_files
  185 + ;;
  186 +
  187 + automake*)
  188 + echo 1>&2 "\
  189 +WARNING: \`$1' is $msg. You should only need it if
  190 + you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
  191 + You might want to install the \`Automake' and \`Perl' packages.
  192 + Grab them from any GNU archive site."
  193 + find . -type f -name Makefile.am -print |
  194 + sed 's/\.am$/.in/' |
  195 + while read f; do touch "$f"; done
  196 + ;;
  197 +
  198 + autom4te*)
  199 + echo 1>&2 "\
  200 +WARNING: \`$1' is needed, but is $msg.
  201 + You might have modified some files without having the
  202 + proper tools for further handling them.
  203 + You can get \`$1' as part of \`Autoconf' from any GNU
  204 + archive site."
  205 +
  206 + file=`echo "$*" | sed -n "$sed_output"`
  207 + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
  208 + if test -f "$file"; then
  209 + touch $file
  210 + else
  211 + test -z "$file" || exec >$file
  212 + echo "#! /bin/sh"
  213 + echo "# Created by GNU Automake missing as a replacement of"
  214 + echo "# $ $@"
  215 + echo "exit 0"
  216 + chmod +x $file
  217 + exit 1
  218 + fi
  219 + ;;
  220 +
  221 + bison*|yacc*)
  222 + echo 1>&2 "\
  223 +WARNING: \`$1' $msg. You should only need it if
  224 + you modified a \`.y' file. You may need the \`Bison' package
  225 + in order for those modifications to take effect. You can get
  226 + \`Bison' from any GNU archive site."
  227 + rm -f y.tab.c y.tab.h
  228 + if test $# -ne 1; then
  229 + eval LASTARG="\${$#}"
  230 + case $LASTARG in
  231 + *.y)
  232 + SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
  233 + if test -f "$SRCFILE"; then
  234 + cp "$SRCFILE" y.tab.c
  235 + fi
  236 + SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
  237 + if test -f "$SRCFILE"; then
  238 + cp "$SRCFILE" y.tab.h
  239 + fi
  240 + ;;
  241 + esac
  242 + fi
  243 + if test ! -f y.tab.h; then
  244 + echo >y.tab.h
  245 + fi
  246 + if test ! -f y.tab.c; then
  247 + echo 'main() { return 0; }' >y.tab.c
  248 + fi
  249 + ;;
  250 +
  251 + lex*|flex*)
  252 + echo 1>&2 "\
  253 +WARNING: \`$1' is $msg. You should only need it if
  254 + you modified a \`.l' file. You may need the \`Flex' package
  255 + in order for those modifications to take effect. You can get
  256 + \`Flex' from any GNU archive site."
  257 + rm -f lex.yy.c
  258 + if test $# -ne 1; then
  259 + eval LASTARG="\${$#}"
  260 + case $LASTARG in
  261 + *.l)
  262 + SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
  263 + if test -f "$SRCFILE"; then
  264 + cp "$SRCFILE" lex.yy.c
  265 + fi
  266 + ;;
  267 + esac
  268 + fi
  269 + if test ! -f lex.yy.c; then
  270 + echo 'main() { return 0; }' >lex.yy.c
  271 + fi
  272 + ;;
  273 +
  274 + help2man*)
  275 + echo 1>&2 "\
  276 +WARNING: \`$1' is $msg. You should only need it if
  277 + you modified a dependency of a manual page. You may need the
  278 + \`Help2man' package in order for those modifications to take
  279 + effect. You can get \`Help2man' from any GNU archive site."
  280 +
  281 + file=`echo "$*" | sed -n "$sed_output"`
  282 + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
  283 + if test -f "$file"; then
  284 + touch $file
  285 + else
  286 + test -z "$file" || exec >$file
  287 + echo ".ab help2man is required to generate this page"
  288 + exit $?
  289 + fi
  290 + ;;
  291 +
  292 + makeinfo*)
  293 + echo 1>&2 "\
  294 +WARNING: \`$1' is $msg. You should only need it if
  295 + you modified a \`.texi' or \`.texinfo' file, or any other file
  296 + indirectly affecting the aspect of the manual. The spurious
  297 + call might also be the consequence of using a buggy \`make' (AIX,
  298 + DU, IRIX). You might want to install the \`Texinfo' package or
  299 + the \`GNU make' package. Grab either from any GNU archive site."
  300 + # The file to touch is that specified with -o ...
  301 + file=`echo "$*" | sed -n "$sed_output"`
  302 + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
  303 + if test -z "$file"; then
  304 + # ... or it is the one specified with @setfilename ...
  305 + infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
  306 + file=`sed -n '
  307 + /^@setfilename/{
  308 + s/.* \([^ ]*\) *$/\1/
  309 + p
  310 + q
  311 + }' $infile`
  312 + # ... or it is derived from the source name (dir/f.texi becomes f.info)
  313 + test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
  314 + fi
  315 + # If the file does not exist, the user really needs makeinfo;
  316 + # let's fail without touching anything.
  317 + test -f $file || exit 1
  318 + touch $file
  319 + ;;
  320 +
  321 + tar*)
  322 + shift
  323 +
  324 + # We have already tried tar in the generic part.
  325 + # Look for gnutar/gtar before invocation to avoid ugly error
  326 + # messages.
  327 + if (gnutar --version > /dev/null 2>&1); then
  328 + gnutar "$@" && exit 0
  329 + fi
  330 + if (gtar --version > /dev/null 2>&1); then
  331 + gtar "$@" && exit 0
  332 + fi
  333 + firstarg="$1"
  334 + if shift; then
  335 + case $firstarg in
  336 + *o*)
  337 + firstarg=`echo "$firstarg" | sed s/o//`
  338 + tar "$firstarg" "$@" && exit 0
  339 + ;;
  340 + esac
  341 + case $firstarg in
  342 + *h*)
  343 + firstarg=`echo "$firstarg" | sed s/h//`
  344 + tar "$firstarg" "$@" && exit 0
  345 + ;;
  346 + esac
  347 + fi
  348 +
  349 + echo 1>&2 "\
  350 +WARNING: I can't seem to be able to run \`tar' with the given arguments.
  351 + You may want to install GNU tar or Free paxutils, or check the
  352 + command line arguments."
  353 + exit 1
  354 + ;;
  355 +
  356 + *)
  357 + echo 1>&2 "\
  358 +WARNING: \`$1' is needed, and is $msg.
  359 + You might have modified some files without having the
  360 + proper tools for further handling them. Check the \`README' file,
  361 + it often tells you about the needed prerequisites for installing
  362 + this package. You may also peek at any GNU archive site, in case
  363 + some other package would contain this missing \`$1' program."
  364 + exit 1
  365 + ;;
  366 +esac
  367 +
  368 +exit 0
  369 +
  370 +# Local variables:
  371 +# eval: (add-hook 'write-file-hooks 'time-stamp)
  372 +# time-stamp-start: "scriptversion="
  373 +# time-stamp-format: "%:y-%02m-%02d.%02H"
  374 +# time-stamp-time-zone: "UTC"
  375 +# time-stamp-end: "; # UTC"
  376 +# End: